DevKini
265 subscribers
40 photos
5 files
559 links
Info and Updates on software development and general computing.

Info dan maklumat terkini berkaitan pembangunan perisian, programming serta IT/Komputer secara umum.

Untuk sebarang maklum balas, boleh hubungi @devkiniadmin.
Download Telegram
PHP: Headers already sent and HTTP basic

If there’s one error that must be encountered by all PHP developers, this:-

Warning: Cannot modify header information - headers already sent by ...


probably one of it.

https://medium.com/@k4ml/php-headers-already-sent-and-http-basic-6e04a36eb312#.4v8p4mopp
Contoh resume untuk fresh graduate
Lebih 200 penyelidik di seluruh dunia cuba menganalisa setiap kenyataan yang dibuat oleh Mark Zuckerberg untuk menjangkakan apa perancangan masa depannya.

http://zuckerbergfiles.org/
Red Hat reported its third quarter fiscal 2017 revenue on December 21, showing growing strength in the company's OpenShift product line.
...
OpenShift has undergone a dramatic shift over the last two years, moving from a platform-as-a-service (PaaS) approach to becoming a Kubernetes distribution that enables containers-as-a-service (CaaS), starting with the OpenShift 3.0 release in 2015.

http://www.serverwatch.com/server-news/red-hat-wins-big-with-openshift-in-3q17.html
AWS Lightsail: Masih ada extra cost nampaknya.

DNS queries in excess of 3 million per month are charged at $0.40/million. Static IP addresses cost $0.005/hour when not attached to an instance for more than 1 hour. And there are other potential charges, particularly for those using other AWS services.

https://media-glass.es/thoughts-on-amazon-lightsail-fc37ca50d626#.j91k6evqg
Software Developers Should Have Sysadmin Experience

Admittedly, I hate doing sysadmin work ... But I do it anyway. I do it because the context helps me write better code. I do it because code that works on my computer is useless. The code that matters is the code that works on web servers that are live in front of everyone else. Just writing code is only doing half of the job a software developer needs to do.

http://blog.professorbeekums.com/2017/01/software-developers-should-have.html
Antara kelebihan menggunakan gettext utk translation adalah "readability" berbanding menggunakan kaedah lain seperti menggunakan array.

Contoh menggunakan array:-

<h1><?=$TRANS['welcome_message']?></h1>


Dan dalam fail terjemahan:-

$TRANS['welcome_message'] = "Welcome to our website  ...";


$TRANS['welcome_message'] = "Selamat datang ke laman web kami ....";


Kita dapat lihat ketiadaan konteks pada kedua-dua bahagian yang menyukar proses koding dan juga terjemahan.

Ini pula contoh menggunakan gettext:-

<h1><?=sprintf(gettext('Welcome to our website %s!'), $name)?></h1>


Dan utk translation:-

msgid "Welcome to our website %s !"
msgstr "Selamat datang ke laman web kami %s !"


Developer dapat melihat kesemua text (bukan hanya key) dalam code, dan translator juga dapat melihat keseluruhan teks bagaimana ia digunakan dalam code.

Komen/Feedback ? Hantarkan ke @devkiniadmin !
1) Charging by the hour is a good option for short-term projects with specific goals.

2) When you're offered a long-term project with clearly defined goals, you should charge by the project.

So should you charge by the hour or by the project?

There's no one-size-fits-all answer. They're both legitimate strategies that work well in different situations.

When you're presented with a new project, consider them both, figure out which is the better option, and present your decision to the client.

Then it's time to get down to business and start wowing them with your work.

http://1099.com/c/ar/ta/HowToCharge_t042.html