Here a very nice list of different ways docker being used in application development. It's a slide from a talk but unfortunately there's no recording found for the talk. //@devkini
https://l0rd.github.io/containerspatterns/
https://snowcamp2018.sched.com/event/D2ny/containers-patterns
https://l0rd.github.io/containerspatterns/
https://snowcamp2018.sched.com/event/D2ny/containers-patterns
Sched
SnowCamp 2018: Containers Patterns
View more about this event at SnowCamp 2018
Martin Fowler - Software developer can make the profession more respected other than just being a code monkey by mastering knowledge in the domain they're working on and having a sense of responsibility that the things they build will have impact to the world. Speak up and say NO if you're being asked to build something that can harm user.
https://www.youtube.com/watch?v=4E3xfR6IBII
https://www.youtube.com/watch?v=4E3xfR6IBII
YouTube
Not Just Code Monkeys • Martin Fowler • GOTO 2014
This presentation was recorded at GOTO Berlin 2014. #gotocon #gotober
http://gotober.com
Martin Fowler - Author, Speaker, Consultant & General Loud-mouth on Software Development
ABSTRACT
In the last decade or so we've seen a number of new ideas added to…
http://gotober.com
Martin Fowler - Author, Speaker, Consultant & General Loud-mouth on Software Development
ABSTRACT
In the last decade or so we've seen a number of new ideas added to…
... In short, all three solve problems using code. Programmer is the umbrella term which means problem solver, a Hacker is the creator/tinkerer, and a Developer is a formally trained programmer who doesn’t just solve problems but does so in a structured and disciplined way likely learned as part of a formal education.
https://danielmiessler.com/study/programmer_hacker_developer/
https://danielmiessler.com/study/programmer_hacker_developer/
Daniel Miessler
The Difference Between a Programmer, Developer, and a Hacker
The clearest definitons (and differences) between a developer, a programmer, an engineer, and a hacker, with a visualization to illustrate…
Let's Encrypt wildcard support finally out ! https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579
Let's Encrypt Community Support
ACME v2 and Wildcard Certificate Support is Live
We’re pleased to announce that ACMEv2 and wildcard certificate support is live! With today’s new features we’re continuing to break down barriers for HTTPS adoption across the Web by making it even easier for every website to get and manage certificates.…
Conteng-conteng ...
Rough.js is a light weight (~8k), Canvas based library that lets you draw in a sketchy, hand-drawn-like, style.
http://roughjs.com/
Rough.js is a light weight (~8k), Canvas based library that lets you draw in a sketchy, hand-drawn-like, style.
http://roughjs.com/
Roughjs
Rough.js
Rough.js is a light weight javascript library that lets you draw graphics with a hand-drawn, sketchy, appearance.
Apa yang unik tentang Flutter ?
Ia tidak menggunakan webview dan juga tidak menggunakan native widget. Sebaliknya ia menggunakan rendering engine sendiri untuk menghasilkan UI.
Bagaimana dgn saiz app ?
Oleh kerana ia didatangkan dengan UI engine sendiri, saiznya menjadi sedikit lebih besar daripada native app. Secara asasnya, saiz apk utk app skeleton sekitar 7MB.
Apa beza flutter dengan reactnative ?
ReactNative menggunakan native widget di mana kod user dalam JavaScript berkomunikasi dengan native widget melalui JavaScript bridge. Manakala dalam flutter, kod utk core engine dalam C/C++ dikompil ke native code melalui NDK (android) dan kod user dalam Dart melalui Ahead of Time (AOT) compilation ke native code. Dalam IOS, kod C/C++ dikompil ke native code menggunakan LLVM. //@devkini
https://flutter.io/faq/#what-makes-flutter-unique
Ia tidak menggunakan webview dan juga tidak menggunakan native widget. Sebaliknya ia menggunakan rendering engine sendiri untuk menghasilkan UI.
Bagaimana dgn saiz app ?
Oleh kerana ia didatangkan dengan UI engine sendiri, saiznya menjadi sedikit lebih besar daripada native app. Secara asasnya, saiz apk utk app skeleton sekitar 7MB.
Apa beza flutter dengan reactnative ?
ReactNative menggunakan native widget di mana kod user dalam JavaScript berkomunikasi dengan native widget melalui JavaScript bridge. Manakala dalam flutter, kod utk core engine dalam C/C++ dikompil ke native code melalui NDK (android) dan kod user dalam Dart melalui Ahead of Time (AOT) compilation ke native code. Dalam IOS, kod C/C++ dikompil ke native code menggunakan LLVM. //@devkini
https://flutter.io/faq/#what-makes-flutter-unique
Forwarded from Kamal
Twitter
Mario Fusco
Things you should NOT do when reporting a bug: 1. Using a stack trace as only issue description, without any clue of how to reproduce it 2. Saying how urgent your problem is and that the human civilization as we know it will be destroyed if it won't be solved…
#javascript tips - Use
https://twitter.com/ChromeDevTools/status/975683845608607744
$_ to show result of last evaluated expression in Chrome Dev console.https://twitter.com/ChromeDevTools/status/975683845608607744
Twitter
Chrome DevTools
Tip: Type $_ in the Console to return the value of the last evaluated expression.
So two of our fellows take a look into Dartlang and here are their comments:-
* Dang. Futures and streams are literally everywhere in dartlang.
* What I like about Dart core libraries is that async/await is built into the libs from the start. So all the API seems very natural.
* In .NET, when async/await was introduce, there would be 2 version of methods, like ToList() and ToListAsync(). It was just so not pretty. And some library do not play well with async/await, then we need to wrap some async code as sync etc.
* I'm looking at dart:HTML, dart:io, the builder code, etc. Everything has async/wait, futures.
* And asynch behaviour is very consistent. I got tripped a bit when I found out dartlang has two event queues.
* The wrapping seems to be very straightforward (referring to wrapping async code as sync above).
FYI, Dart also the primary language being used in Google Flutter mobile framework.
Join this channel @devkini for more insight on programming and software development tools by our experienced fellows.
https://www.dartlang.org/
* Dang. Futures and streams are literally everywhere in dartlang.
* What I like about Dart core libraries is that async/await is built into the libs from the start. So all the API seems very natural.
* In .NET, when async/await was introduce, there would be 2 version of methods, like ToList() and ToListAsync(). It was just so not pretty. And some library do not play well with async/await, then we need to wrap some async code as sync etc.
* I'm looking at dart:HTML, dart:io, the builder code, etc. Everything has async/wait, futures.
* And asynch behaviour is very consistent. I got tripped a bit when I found out dartlang has two event queues.
* The wrapping seems to be very straightforward (referring to wrapping async code as sync above).
FYI, Dart also the primary language being used in Google Flutter mobile framework.
Join this channel @devkini for more insight on programming and software development tools by our experienced fellows.
https://www.dartlang.org/
dart.dev
Dart programming language
Dart is an approachable, portable, and productive language for high-quality apps on any platform.
Tech meetup this week:-
* Golang Malaysia - 27/03 (Tuesday) - Tuxuri's office, Unit 09, Level 12, Tower 3, UOA Business Park (https://web.facebook.com/events/951134985051141/).
* FreeBSD Meetup - 29/03 (Thursday) - Level 26-27, Menara 3 Petronas, Persiaran KLCC (https://wwcodekl-freebsd.peatix.com/)
* Startup/Developer Meetup - 31/03 - Bitspace, Cyber Jaya (https://www.startupdeveloper.my/).
//@devkini
* Golang Malaysia - 27/03 (Tuesday) - Tuxuri's office, Unit 09, Level 12, Tower 3, UOA Business Park (https://web.facebook.com/events/951134985051141/).
* FreeBSD Meetup - 29/03 (Thursday) - Level 26-27, Menara 3 Petronas, Persiaran KLCC (https://wwcodekl-freebsd.peatix.com/)
* Startup/Developer Meetup - 31/03 - Bitspace, Cyber Jaya (https://www.startupdeveloper.my/).
//@devkini
Facebook
Golang Meetup March 2018
Hello fellow gophers, it's very last minute but we'll be having a meetup this Tuesday.
The talk will be
Embedding Lua VM into Go.
How to get there,...
The talk will be
Embedding Lua VM into Go.
How to get there,...
Safia Abdalla berkongsi pengalaman beliau menyoroti dengan lebih dekat bagaimana git berfungsi dengan menjejak apa yang berlaku apabila kita menaip
https://blog.safia.rocks/post/172273926295/a-complete-story-of-what-happens-when-you-run-git
git commit. //@devkinihttps://blog.safia.rocks/post/172273926295/a-complete-story-of-what-happens-when-you-run-git
The Web Log of Safia Abdalla
A complete story of what happens when you run `git commit`
So, in my last blog post, I looked into the data structures used to represent commits in the Git code base. In this blog post, I’d like to look a little bit more into what actually happens when you run git commit inside a Git repository.
As mentioned…
As mentioned…
Now this make real use of the container rather than just separate browser profile:-
... If you click on a non-Facebook link or navigate to a non-Facebook website in the URL bar, these pages will load outside of the container.
Time to start using firefox ! ;) //@devkini
https://blog.mozilla.org/firefox/facebook-container-extension/
... If you click on a non-Facebook link or navigate to a non-Facebook website in the URL bar, these pages will load outside of the container.
Time to start using firefox ! ;) //@devkini
https://blog.mozilla.org/firefox/facebook-container-extension/
The Firefox Frontier
Facebook Container Extension: Take control of how you’re being tracked
The Facebook container extension helps you control more of your web activity from Facebook by isolating your identity into a separate container. This makes it harder for Facebook to track your activity on other websites via third-party cookies.
How docker is useful to me ? I'm not doing any serious work in PHP anymore but now and then, we have customers or friends asking about problem in their PHP app. Since I don't have proper PHP environment setup anymore, having docker is super useful to quickly test issue with these PHP code. //@devkini
http://metak4ml.blogspot.my/2018/03/php-with-docker.html
http://metak4ml.blogspot.my/2018/03/php-with-docker.html
metak4ml.blogspot.co.uk
PHP with docker
Notes and thought on programming, linux and tech stuff.
One good lesson here. Never serve user generated content at the same domain of your main website. This is very common practice actually.
Let your website is www.easyphone.com, and you allow user to upload a profile picture, probably you'll serve the profile picture from something like www.easyphone.com/images/user/xyz/profile.jpg. That's wrong.
Always serve the uploaded files from different domain like www.ep-content.com/images/user/xyz/profile.jpg. //@devkini
https://blog.hartleybrody.com/startup-security/
Let your website is www.easyphone.com, and you allow user to upload a profile picture, probably you'll serve the profile picture from something like www.easyphone.com/images/user/xyz/profile.jpg. That's wrong.
If users can upload HTML documents and have them hosted on your application’s primary domain, that’s an excellent way to setup phisihing opportunities for attackers. Serving user content from your domain can also fool users into thinking malicious content is actually legitimate content from your company, as the FCC found out last fall.
Users could upload malicious javascript that would be run by the browser with the same trust level as your application’s javsacript code, allowing it to tamper with your site’s cookies and potentially steal user’s credentials, sessions or other data.
Always serve the uploaded files from different domain like www.ep-content.com/images/user/xyz/profile.jpg. //@devkini
https://blog.hartleybrody.com/startup-security/
Few days ago my friend released new golang library, called gubrak. A weird name isn't it?
This library is useful for solving common programming task, very similar like lodash or underscorejs but for golang, I think you might find this library useful.
Currently there are around 46 available functions. I'll keep adding more functions during spare time.
One thing special from gubrak, it has very detailed api documentation.
Creating modular functions that accept various type of data is pretty hard in golang, since this language is statically-typed. but it's still possible using interface{} and reflect. And that's the first reason that triggers gubrak creation.
While working on this library, he learned 3 things:
1. laws of reflection; read more about it at https://blog.golang.org/laws-of-reflection
2. Vue JS; he use this library to build the landing & documentation page from scratch. vuex, vue-router, He started to fell in love with it haha
3. TDD; He did follow TTD paradigm, and it's fun! He can say this library has the most intensive test compared to other libraries created (around 2600 line of codes just for the tests!)
Please, have a look :D https://gubrak.github.io
This library is useful for solving common programming task, very similar like lodash or underscorejs but for golang, I think you might find this library useful.
Currently there are around 46 available functions. I'll keep adding more functions during spare time.
One thing special from gubrak, it has very detailed api documentation.
Creating modular functions that accept various type of data is pretty hard in golang, since this language is statically-typed. but it's still possible using interface{} and reflect. And that's the first reason that triggers gubrak creation.
While working on this library, he learned 3 things:
1. laws of reflection; read more about it at https://blog.golang.org/laws-of-reflection
2. Vue JS; he use this library to build the landing & documentation page from scratch. vuex, vue-router, He started to fell in love with it haha
3. TDD; He did follow TTD paradigm, and it's fun! He can say this library has the most intensive test compared to other libraries created (around 2600 line of codes just for the tests!)
Please, have a look :D https://gubrak.github.io
gubrak.github.io
GUBRAK - Golang utility library with syntactic sugar
Some notes about Startup/Developer meetup last Saturday.
https://blog.xoxzo.com/2018/03/31/startup-developer-2018/
https://blog.xoxzo.com/2018/03/31/startup-developer-2018/
Xoxzo Official Blog: Empowerment
Startup/Developer Meetup 2018
StartupDeveloper is the largest independent tech community, actively educating, inspiring, and connecting 1,800+ programmers all over Malaysia.
Daily git command - show all changes to a single file:-
git log --color=always --follow -p -- filename | less -r
Flutter beta 2 released.
https://medium.com/flutter-io/https-medium-com-flutter-io-announcing-flutters-beta-2-c85ba1557d5e
Boleh rujuk post sebelum ini untuk maklumat ringkas berkaitan Flutter - https://t.me/devkini/558.
https://medium.com/flutter-io/https-medium-com-flutter-io-announcing-flutters-beta-2-c85ba1557d5e
Boleh rujuk post sebelum ini untuk maklumat ringkas berkaitan Flutter - https://t.me/devkini/558.
Medium
Announcing Flutter’s beta 2 release
We have a second beta build available of Flutter, Google’s new mobile UI framework that helps developers craft high-quality apps.