HNHacker News
TopNewBestAskShowJobs

131hn

148 karma · joined August 2, 2014

https://github.com/131

[ my public key: https://keybase.io/131; my proof: https://keybase.io/131/sigs/NzARUvjyMvo7p7TgLApHyaJw99Mw085PTNRHLIjzTT8 ]

submissionscomments
131hn··on France fines Apple €25M for iOS software that slowed down older iPhones
See screenshot here https://imgur.com/1kH0t67

The disclaimer states :

Au cours du mois de décembre 2017, le procureur de la République du tribunal de grande instance de Paris a été destinataire d’une plainte émanant d’une association de consommateurs. Cette plainte vise le groupe Apple, pour des faits qui auraient notamment consisté en la diffusion de mises à jour du système d’exploitation iOS entraînant un ralentissement de certains iPhones, sans en avoir préalablement averti les clients et utilisateurs. Au terme de son enquête, le Service National des Enquêtes de la DGCCRF estime que le groupe Apple a commis le délit de pratique commerciale trompeuse par omission (article L. 121-3 du code de la consommation) en ne révélant pas aux consommateurs et utilisateurs, la présence d’un système de gestion dynamique de l’alimentation inclus dans les mises à jour d’iOS à partir de la version 10.2.1 et pouvant, sous certaines conditions, ralentir le fonctionnement des iPhones des catégories 6, 7 et SE, en particulier ceux équipés de batteries âgées. Un procès-verbal de délit a été adressé au procureur de la République. Avec l’accord du procureur de la République, une amende transactionnelle significative a été proposée à la société Apple Inc. qui l’a acceptée.

131hn··on Verlan: French slang that inverses words
"Je m'en zef" is a more popular way of saying so (even if 'zef' is mostly used for slang on other contexts)
131hn··on IBM object storage leave openstack swift for S3 compliant API
I really do not understand IBM move here. Openstack swift is an opensource standard, interoperable & available through different cloud provider (IBM/OVH & co).

Now, they're putting themself behind AWS and loose a way to differentiate their service (i'm still waiting for hardlink / move object APIs)

131hn··on Javascript Fundamentals: ‘this’ keyword
« this » is « the thing on the left side of the dot ».

(that’s not always true, nor a complete definition - but it helps me a lot in understanding the whole thing)

131hn··on Javascript utility libraries to know in 2018
i strongly suggest JS user to learn and use mout. A lightweight & simple alternative to lodash/underscore (and a spiritual successor of mootools)
131hn··on Ask HN: What's the most productive development environment you've used?
notepad2 gives me the highest ratio betwen my code and the environment around. I tried all others, but i keep coming back here (since always).

As a platform, WSL is a huge productivity boost for me

Also nodejs replace now 10+ y of custom created php helpers (as api wrappers mostly)

131hn··on Ciao, Chrome: Firefox Quantum Is the Browser Built for 2017
I'm all into the "switch firefox on again" and removed my chrome from my quicklaunch. It's fast as a browser should be, and I trust mozilla a lot more than google.

Yet, webkit/blink powers today a lot more than google chrome. I think headless mode & nodejs(v8) integration (e.g. nwjs/electron) is still a major missing feature to call it "a browser build for 2017"

131hn··on The Grave Accent and XSS
I do not think this symbol is nor used (in addition with a letter), nor ever called anything but "backtick". it's not an "accent grave" (even if it might be used as it), but a revert appstrophe - backtick or backquote.
131hn··on I cannot continue working on my add-ons
Can someone explain me in a simple way the "xul prevent us to switch to multi process" argument ( when i'll naively think - just use one more dedicated process for xul. ?). Xul design & gecko
131hn··on Time to Dump Time Zones
Having all clocks of the world in sync will be a bless, but there remain a gap in time information, so people will add location offset by themselves (we mostly use time to describe life in our timezone) "yes it's 4 am, and i'm in paris". That location offset will be nothing but current timezones, with an inverted logic. I know we are all on different schedule and rythm, but 7am is a good time for breakfast, everywhere, 12h30 feels fine for lunch, kids go to bed by 8pm, and we should sleep at 2am. I guess timezone make life easier for 80% of the world ( i dont think it's 99% anymore)
131hn··on Cnyks, make any JavaScript es6 class runnable
Looking for feedback/criticism from fellow readers Have a nice day !
131hn··on Ask HN: What cool development languages/tools changed your career?
PHP developper since +10 years, I learned little by little client side Js through Mootools (object programming 5 y ago). I started nodejs 0.10 2y ago and got a serius wow when i realised node 4 & generators & tj/co could efficiently replace line-per-line how i used to work in PHP (async-co, pg-co) with so much more power (browserify, mocha, istanbul, npm, ...). I guess today the switch is complete for me
131hn··on Getting Started with Docker for Windows
Microsoft link https://msdn.microsoft.com/en-us/virtualization/windowsconta...
131hn··on PgAdmin 4 v1.0 released
Try EMS SQL manager for postgresql. We are using it for years now, and releases follow postgresql roadmap (9.5 fully supported). At professional level, we've never been disappointed / found a no-go in it.

There's a commercial license i'm glad to pay for, and the free(lite) edition is just fine for most needs

http://www.sqlmanager.net/en/products/postgresql/manager/mat...

(it might totaly sound like a commercial "happy customer" review, and it actually is)

131hn··on Node.js debugging with Chrome DevTools in parallel with browser JS
I'm refreshing this tracker, maybe a dozen times a day
131hn··on WoSign's secret purchase of StartCom: WoSign threatened legal actions
I do not need to say to my customers "please trust my (own) computer". But "you can give this website sensitive infos without someone eyedropping". My windows 7 dell laptop & internet explorer browser is irrelevant.
131hn··on Essential Electron
I like electron very much, yet, how come i'm feeling to be the only one to like & miss the nw.js mixed context mode ? This is so much more confortable ...
131hn··on Facebook is building its own Steam-style desktop gaming platform with Unity
Seems like an electron/nwjs app, does it sounds plausible ?
131hn··on PowerShell is open sourced and is available on Linux
Powershell is an old tech, so browsing the source tree on github should show some of MS internal practices & guidelines in the old times. Yet the github project start in feb 2015. Where is the source code before that ?
131hn··on HTTP/2 – How did we get here
Iv been upset with HTTP/2 / SPDY since the very first beginning (yet i never used it, nor try). Now, thanks to you, i understand why.

It's not a replacement/ enhancement of HTTP, it's definitively not a Transport layer. It has no use/gain for webservices, and as single page apps tends to optimise resources delivery (webpack, browserify, scss, stylus & co, very few resources are left to deliver) so no urgent "need" for it here.

So, for an _application layer_ it's comming a little late, i guess "block SPA" with intrisected client side & server side (nodejs/ express & spa) apps might gain of it, but it have to be considered as the very first line of the app developpement , the transition/ enhancement cost / gain ratio for existing apps is too hard to plan.

Great writing !

131hn··on The hunger mood
Never eat _any_ snacks, as it's no time (do not eat between lunch) for it. If you skip a meal, you WILL be hungry, and it's fine, you won't die, next time, do not skip meal. Drink water, drink wine at table, it's never time for sodas, so don't. Now, without tv in front of you (focus on cooking and eating) , eat meat, bread, butter, whatever, and you'll be just fine
131hn··on Switzerland bores underground
Am i reading right ? 17b € for a 57km tunnel (on an existing railway, only to flatter trajectory a little) just to save a little time ? That seems expensive..
131hn··on The headless web
Could someone write a tl;dr version for non english readers ? (article sound nice, but hard to grasp)
131hn··on GitLab 8.10 Released with Wildcard Branch Protection and Manual Actions for CI
There's also the "disable clone over http, https, just allow ssh" setting we are so longing for ! Great release !
131hn··on The rectangularness of countries
GPG grey dedicated a __great__ 3"59 video on this subject

https://youtu.be/eE_IUPInEuc

131hn··on New Perspectives on the Active IPv4 Address Space
Please, is it possible for someone to write a tl;dr for non english readers ?
131hn··on Just: A library of dependency-free JS utilities that do just do one thing
Javascript library/toolkit modularisation do not goes this way. Mout, async or lodash are using a proper scheme to require('just/thefuction/youneed') and it's fine (no rollup will ever be needed). Polluting npm with dozen of one-liner is not a good idea (never forget left-pad)

* https://github.com/caolan/async/blob/master/CHANGELOG.md

* http://moutjs.com/

131hn··on Maintainable JavaScript (2014)
This is nice video/article, but strongly outdated / missing "current" javascript maintainability standards.

Not so much "javascript" specific advices here.

No words on ES6 classes, that help keeping a meaningfull syntax, rest parameters, template strings.

No words on nodejs callback as last arg best practice.

No words on generator & promises (nor async await) that totally change callback behavior. No word on synchronious throw / catch vs callback(err) pattern.

No words on code modularisation.

This video is 4 years old, believe we, javascript change, a lot (and the "maintainable" best practice)

No link to mozilla MDN, when it's now a de-factor standard for web & js documentation.

131hn··on Pokemon Go is a huge security risk
kind of a scam, just a bad wording from google "full access" and old oauth workflow - but no real security threat

TLDR: Pokemon Go can't read your gmail - he checked

https://gist.github.com/arirubinstein/fd5453537436a8757266f9...

131hn··on A book series on JavaScript
An entire book is dedicated to "this", when it's only "the stuff on the left side of the dot" (it changed my life when i understood that)
← PreviousPage 2 of 3Next →