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
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
UrBackup is an easy to setup Open Source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time - via adzmely@blog.nexoprima.com

https://www.urbackup.org/index.html

Komen/Feedback ? Hantarkan ke @devkiniadmin !
Generate simple graph in mysql using rpad() function
In this post, we cover what tools and techniques you have at your disposal when handling Node.js asynchronous operations: async.js,promises, generators and async functions.

After reading this article, you’ll know how to avoid the despised callback hell!

https://blog.risingstack.com/node-js-async-best-practices-avoiding-callback-hell-node-js-at-scale/
GitLab 8.16 Released with auto deploy on Google Container Engine and Prometheus monitoring as part of GitLab

https://about.gitlab.com/2017/01/22/gitlab-8-16-released/
Visualize program execution line by line. Supporting not only Python, but other languages such as javascript, ruby, C and C++.

Komen/feedback ? Send message to @devkiniadmin

http://pythontutor.com/
ReactJS Redux, the Right Way.

This is the online convention and tutorial's e-book for React.JS Developers. Learn the React Redux best practises.

This e-book is 100% online (no emails required, no PDFs to downlad etc.). It contains learning materials for junior and senior front-end devs who want to master React Redux ...

Komen/feedback ? Send message to @devkiniadmin

https://reactjs.co/
Scammer terkena balik

Lessons learned:

- Your privacy settings on facebook are only as good as your friends
- Don't re-use usernames on the web (cred is your enemy)
- Use an escrow service like Transpact if you want to make trades via bitcoin

https://blog.haschek.at/2016/how-a-scammer-stole-500-dollars-from-me
Pencilcode.net, satu lagi programming environment berasaskan block //@devkiniadmin