HNHacker News
TopNewBestAskShowJobs

julenx

188 karma · joined February 22, 2013

submissionscomments
julenx··on It's Never a Bicycle Accident
If roads are busy, it's worth noting traffic is created by motorized vehicles in the first place... plus, if slowing down is required to make roads safer, what? why is that a problem attributed to cyclists if usually (depending on which part of the world you live) cyclists don't have alternatives?
julenx··on Migrating a JavaScript Library from JavaScript to WebAssembly
Nicely written article and very interesting read!

> To be sure that there was as little background noise as possible, I ran all tests after a fresh reboot, making sure no unnecessary background processes, such as Windows Update, were running.

This made me laugh =)

In a more relevant note, probably worth pointing out to use production builds and running the browser in safe mode or with a clean profile (i.e. without any interfering extensions).

julenx··on I don't want to do front-end anymore
> It's not only million different tools, it also to me seems like every React codebase has a huge learning curve on its own because everyone does it differently.

I've been writing React code on and off since 2014 and I can relate to the pain: component creation and API changes in React (especially hooks) have meant quite a different way to do things, and in my experience this resulted in making things harder to understand across the board.

Life was simpler when `React.createClass()` was the only way to create components :)

julenx··on WhatsApp gives users an ultimatum: Share data with Facebook or stop using app
Easier to remember: https://wa.me/<number>

Where `<number>` contains the international prefix without the `+` sign. Has worked for me in Firefox and everywhere else I've tried. This is a fb-owned domain btw.

julenx··on A half-hour to learn Rust
For those who are curious, here's the source code of the original compiler written in OCaml (rustboot) https://github.com/rust-lang/rust/tree/ef75860a0a72f79f97216...
julenx··on Why Jira Sucks
I haven't used JIRA recently, but as far as I remember the difference existed because they were rolling out a "new" editor, which was active when editing tickets, but wasn't available when creating new ones.

I remember this caused me some data corruption when editing a comment created with the old version of the editor using the new editor. It was a mess.

julenx··on Firefox Was Always Enough
Out of curiosity, which post is that? I cannot find it.
julenx··on Lessons learned from creating a real-time collaborative rich-text editor
Sometimes you cannot avoid postponing merging, e.g. when the user is loses connectivity. It'd be interesting to read more on know how you handle longer periods of being offline, and how conflict resolution is done in that case.
julenx··on Why I love Go
In a memory constrained environment, we recently noticed the throughput/latency tradeoff being made by the GC, but having to say that this behavior was not obvious in the first place and we had to dive into the source code to understand things better (which is a good benefit of go being open source, as already stated in the article).

The bottom line is that the scavenger will allow the OS to claim free memory only at least 5 minutes after it was GC'ed. For us the solution was to "force" releasing the free memory to the OS [1], and even since then things have been much smoother in the context of our particular app.

On this topic, there's an open issue [2] to look at making the scavenger more prompt and aggressive.

[1] https://medium.com/samsara-engineering/running-go-on-low-mem... [2] https://github.com/golang/go/issues/16930

julenx··on The FastMail Security Mindset
Thanks for the info, that's great to hear :)
julenx··on The FastMail Security Mindset
I've thought about switching many times, and would see myself using the web client, however I wonder if they support the "undo send" feature as GMail does. I cannot see it listed in their features page [1] at least. Can someone shed some light, please? TIA.

[1] https://www.fastmail.com/help/ourservice/features.html

julenx··on A Map Showing How Much Time It Takes English-Speakers to Learn Foreign Languages
The region where Basque is spoken is not gray because of its difficulty, but because there's no data [1].

[1] https://www.reddit.com/r/MapPorn/comments/7dith2/language_di...

julenx··on Firefox Quantum Isn’t Just “Copying” Chrome: It’s Much More Powerful
There's an ongoing experiment that would allow extensions to hide the tabstrip: https://wiki.mozilla.org/WebExtensions/TabHiding
julenx··on Where we're going, we don't need headphones
The company I work for has open plan offices — it's a US company with multiple offices worldwide. The specific one I work from is small, and devs and non-devs are _mixed_ together.

Whenever I tried to bring up noise-related issues and made specific proposals, I felt I was ignored because of a) clash of cultures (non-devs might not understand/value "being in the zone" [1]), b) spending money in sound-proofing is seen as a cost, not an investment.

What worries me the most is that in the course of a few years I haven't heard any internal voices putting open plan offices in doubt. This office layout looks to be seen as a good default with problems that are either ignored or that people have to learn to live with.

So I wonder if the situation is similar in other companies with open plan offices, and whether people see there's any trend to question the given default or not.

[1] https://www.joelonsoftware.com/2000/04/19/where-do-these-peo...

julenx··on Ask HN: Is S3 down?
Outage as a Service
julenx··on Webpack 2.2 – Release Candidate
Reading through the Webpack2 release tags I came across the v2.1.0-beta28 changelog, which mentions:

> * add `import()` as Code Splitting construct. It should be used instead of `System.import` when possible. `System.import` will be deprecated in webpack 2 release (removed in webpack 3) as it's behavior is incorrect according to the spec.

I was under the impression `System.import` would be the new way to do code splitting and hence supersede `require.ensure()`. After further checking, now it seems like the function-like `import()` will be used instead [1], which is better accepted in browsers than `System.import()`.

[0] https://github.com/webpack/webpack/releases/tag/v2.1.0-beta.... [1] https://github.com/webpack/webpack/issues/3098

julenx··on Webpack 2.2 – Release Candidate
> I've had a very similar experience in my career so far as a dev. My code used to be full of magic, auto-guessing things based on how methods are named, etc. I've moved away from that, it wastes more time than it saves.

Speaking of magic or trying to be too clever with your code reminds me of the Grep Test [0], which I always try to conform. In the end it's not fun forcing others to deal with your magic. Remember: code is read way more often than it is written, so don't be lazy to type a bit more — help others.

[0] http://jamie-wong.com/2013/07/12/grep-test/

julenx··on Dear Google, Apple, Mozilla, and MS: Please End Auto-Playing Media in Browsers
When you visit a video explicitly, yes. But when you jump into a specific channel you don't want a default video auto-playing all the time, which is pretty annoying.
julenx··on Angular 2 Final Released
Announcement URL http://angularjs.blogspot.ch/2016/09/angular2-final.html
julenx··on Next steps for Gmane
It might not be as complete as Gmane perhaps (I didn't stop to compare them on a feature-by-feature basis), but I have been happily using http://markmail.org/ for a while as a gateway to many mailing lists.
julenx··on Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A
Not only the apps's interface, but in my experience it also installs adware as browser extensions.
julenx··on What's New in Webpack 2
Hm, I'm not sure about having to pull in a Promise polyfill to support code splitting (`require.ensure()`) in IE11... If I'm already using a promises library from X, would it be possible to somehow instruct webpack use that? Does that make sense? Am I missing something?
julenx··on New XPS 13 Developer Edition from Dell
I happened to have a contact from an agent I dealt with in a past order. If you check some specialized forums I'm pretty sure you'll be able to find out some agent working for your area.
julenx··on New XPS 13 Developer Edition from Dell
I had the very same issue as you, but I managed to buy one of the previous versions with en-US keyboard by kindly requesting it to an agent via e-mail. They were able to fulfill the order even if the option didn't show up on their website. Note the delivery might take longer than any of the pre-configured options though.
julenx··on What the Flux?
> So, every component in React has state.

In the context of the article, I know the above text is meant to be a simple explanation for newcomers, but in the broader context it's worth noting that having stateful components is not a requirement. Moreover, the lesser state in a component, the better [1].

[1] http://facebook.github.io/react/docs/interactivity-and-dynam...

julenx··on A Localization Horror Story: It Could Happen to You
> Another pain point is that we have a certain space where text needs to be displayed and everything is fitted using English but after translating to other languages, some strings are much longer than the allotted space.

As a rule of thumb, if you're using English strings to design your UI, you should account for 30% more space so other languages can fit in. Of course, sometimes this might not be enough.

julenx··on Falcon is a high-performance Python Web framework
The website is saying how good the framework is but I really miss seeing right on the homepage how code written using this framework looks like. Flask's website is really good at this, for instance.
julenx··on Why people leave companies
I understand #1 more along the lines of "people will work anytime", be it Tuesday 2am or a sunny Sunday morning, as opposed to all the time, which literally means you never stop working.
julenx··on JavaScript Internationalization API
Just mention that L20N is not being used in Gecko/Firefox yet (if that's what you mean with internal Mozilla browser), even if they have been cooking this for years.

To give more insight: L20N is a localization format plus its backing libraries which adds some "scripting capabilities" [1] thus empowering localizers, who will be able to leverage some logic to make their localizations feel more in par/natural with the grammar rules of their target language.

The post OTOH is an overview through the implementation of the ECMAScript i18n API in Firefox, which has been available to developers since Firefox 29. As it mentions, the browser itself includes general language knowledge (think of it as system locales in a UNIX env., which knows how to format dates, times, currency etc. for a given locale), gathered from Unicode CLDR and the ICU i18n library.

[1] Check out the examples at http://l20n.org/

julenx··on Linus Torvalds on semaphores (1999)
For the sake of completeness: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....
← PreviousPage 2 of 3Next →