News for hackers. Stuff that matters.

scope

It's funny how Microsoft conducted the "tests" on Chrome [1] & Firefox [2] and discreetly leave out Safari. Safari is by far a winner when it comes to efficiency. So hats off to MS for their "informative" & "thorough" test(s).

[1] has been known for draining battery, so no surprises there.

[2] which for a couple of releases has become even more unusable. On my MBP (2014, i5, 8GB), takes over 4+ seconds for the bar to activate. Hopefully with the introduction of E10S [3], next releases will be much more perfomant.

[3] https://wiki.mozilla.org/E10s

EDIT: I did not know Safari is no more on Windows. So in that case Edge is the winner for Windows.

Re:JSON Web Tokens vs. Sessions on Saturday June 18, 2016 @04:41PM (#11930506)
Cookies can be/are used for extensive tracking (even when you're not techically on the site). The EU requires websites that use cookies to display conformation message on how cookies will be used to track the user.
Re:Apple announces iOS 10 on Monday June 13, 2016 @08:16PM (#11898850)
Also the SE
Re:Announcing Heroku Free SSL Beta and Flexible Dyno Hours on Wednesday May 18, 2016 @11:26PM (#11727739)
Earlier post https://news.ycombinator.com/item?id=11722329

Seems 550 dyno hours are for ALL, not per app :(

Re:Announcing Heroku Free SSL Beta and Flexible Dyno Hours on Wednesday May 18, 2016 @12:48PM (#11723285)
They have a provided a FAQ page about Free Dyno Hour [1]

Previously you get 540 dyno hours (18 hours/day), now it's 550. If you provide a valid credit card, you'll get 1000 dyno hours (you will NOT be charged unless you EXPLICITLY switch to a paid plan)

https://devcenter.heroku.com/articles/free-dyno-hour-faq

Re:Introducing WhatsApp's Desktop App on Tuesday May 10, 2016 @10:59PM (#11672379)
None in my [Mac]book. If you're running on OSX, open WhatsApp web on Safari, allow notification & pin the tab. Same outcome but resource efficient (compared to an Electron app).
Re:Experienced Programmers Use Google Frequently on Sunday May 01, 2016 @02:48AM (#11605194)
Couldn't agree more. I'm a lead web developer at a company and whenever I'm asked to interview a potential employee I give em' a short coding task. Internet access is allowed. The only restriction I give em' is not to clear their search history.

If the candidate knows the problem he/she is facing and can formulate good query to look for a solution; that's a ++

Re:You probably don't need a JavaScript framework on Friday April 29, 2016 @10:10PM (#11600012)
- shows an example using mutation observer API and fails to mention it only works on IE 11+

- follows the widely accepted format of "rant about some popular framework/library/language by mimicking a tiny portion of it"

- uses shock factor to get the reader's attention

> React, Virtual DOM, Webpack, TypeScript, JSX… HOLD ON! Let’s pause for a second here and think.

YES, you don't always need a framework/library BUT if you want to build something maintainable & scalable, it's better to opt for battle tested approaches (which is especially true when it comes to the web, having browser quirks)

Re:iPhone SE on Monday March 21, 2016 @02:44PM (#11330643)
This seems very interesting / surprising, comparing[1] SE and 6S shows SE doesn't have second generation Touch ID.

I understand the 3D Touch with the space avaliable & all but why not the second generation Touch ID?

[1] http://www.apple.com/iphone/compare/

Re:iPhone SE on Monday March 21, 2016 @02:12PM (#11330295)
> couldn't thumb around...

Double tapping the home button makes the top of the screen reachable

That being said, I too still use iPhone 5S & I don't think I'll make the switch, 4K video & 2nd generation Touch ID are nice but I WANT 3D Touch. I understand why they're not there yet --- they had to shove some of the battery on the 6S to fit in the 3D hardware.

EDIT: seems they stuck with the first generation Touch ID? (6S and SE) [1]

http://www.apple.com/iphone/compare/

1. Vue uses the actual DOM not virtual DOM like react

2. BOTH react and Vue can be learnt in a day

3. BOTH can seem daunting when you're making production app (Vuex, redux, webpack, Vue-router, react-router...)

So, I don't not agree with 'learning curve' that's thrown at React. Both Vue and React are amazing. If you want to use them properly, you as a developer has to spend the time to learn.

As iOS devices are premium, having a Lite version wouldn't serve Facebook any good. I'm pretty sure they get most of their mobile revenue from iOS devices.
Re:Chrome vs. Firefox vs. Safari vs. Servo WebRenderer on Tuesday March 08, 2016 @01:30PM (#11247326)
Do I need to open the link to see who'll win (seeing the recent posts of Servo's BLAZING fast WebRender)?
Re:GitKraken: git GUI Client for Windows Mac and Linux on Tuesday March 01, 2016 @10:54PM (#11207986)
I use gitup as my git client and I'm completely satisfied. It was even made open source since 1.0

It hasn't asked me for email (the only email it has is for `user.email` git config)

Re:Apple Is Said to Be Working on an iPhone Even It Can’t Hack on Thursday February 25, 2016 @12:03AM (#11172491)
> The reason iCloud data will always be accessible by Apple, and thus governments, is not because Apple wants to make it accessible to governments.

Q: Can't I already encrypt my iCloud data via a keychain?

Adding to the list: Pixels

[3] https://www.pexels.com

[4] https://www.pexels.com/photo-license/

They currently have over 5000 photos (~600 new images are added every month)

Re:Enable Node.js to Run with Microsoft's ChakraCore Engine on Tuesday January 19, 2016 @02:32PM (#10933275)
ECMAScript 2015 coverage (even some ECMAScript 2016) by ChkraCore is better than V8 (or SpiderMonkey) [1]

[1] http://kangax.github.io/compat-table/es6/

African here (WE are poor too, "Free Basics" will serve us as well)

> Personally, I believe Zuckerberg is sincere in wanting to connect everyone in the world with each other.

I personally think you're a lobbyist or you just like Mark (I mean who wouldn't, eccentric billionaire who gave MOST of his fortune away to a good cause. How could he possibly want to make MORE money)

> But he is looking from the inside out.

Yeah, EXACTLY, ask US (poor people) what we want! --- WE want our Mellenia to use snapchat (with the effects & everything), Netflix & Chill...oh my bad, I lost my train of thought. What I wanted to say was that, WE want you people (first world) to donate to UNICEF so the starving child with a fly on his eye can eat --- that was my outside-in view.

Edit: to all the poor Indians who fought against "free basics", my upmost respect & gratitude --- I hope someday we can all Netflix & Chill instead of just pocking ;)

Older »