HNHacker News
TopNewBestAskShowJobs

oelmekki

1,547 karma · joined June 15, 2011

submissionscomments
oelmekki··on Go gets preliminary WebAssembly support
Yeah indeed, and if web development prefigure anything for wasm, we can expect apps to quickly have a lot of dependencies built in. I guess we'll get used again to "please wait, loading" screens :)
oelmekki··on Go gets preliminary WebAssembly support
I didn't know go compiler allowed to build without those, thanks.

I've just tried on a go binary that was 2.4MO. After building it with `go build -ldflags=-s .`, it's 1.6MO. After stripping with upx, it's 480ko (and still works, and has panic stack traces).

oelmekki··on Go gets preliminary WebAssembly support
Will the binaries be compiled for size optimization, or will they be the same size as usual golang bins?

Go binaries, being static and embedding the whole go runtime, tend to be quite big. Now, I don't care about it because 5 or 10MO on my server filesystem is nothing. If I ask every visitor to download 10MO before running my webpage, that will be a problem, though.

Is this something we will have to deal with? Or will this be a lesser featured go implementation?

oelmekki··on DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS
Well, you're describing exactly how to do it with bind9 :) What make you say Unbound is better?
oelmekki··on DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS
If you want to do it on your local linux system, it's pretty easy: you just need to install bind9 and use `nameserver 127.0.0.1` in your /etc/resolv.conf

Bind9 has a poor reputation because of how difficult it is to use it to define zones (manage a domain name), but if you want to use it as a resolver, it's basically plug'n'play.

Huge bonus included : if you want to flush the cache, you just need to run `sudo rndc flush`, so you don't have to wait for TTL timeout to test your newly configured domain name when you setup a website (you still have to restart your browser, because most of them do their own dns caching).

oelmekki··on It's time to head back to RSS?
Are you logged in your google account while using google search? Also, do you often search using your phone?

It's been really accurate for me, providing news about things that are not especially "mainstream", like word embeddings, anything related to KDE or updates on games I'm currently playing. I do a lot of searches on my phone, maybe that's the reason.

oelmekki··on Who and what is Coinhive?
Nice, thanks for letting me know - I haven't check it for ages. There is definitely a proper use possible of this, then :)
oelmekki··on Who and what is Coinhive?
Agreed, I initially felt good about coinhive too. I just wanted it to allow to rate limit cpu consumption, it would have been a great alternative to advertisement.

Maybe someone will come later with a idea to make this while preventing abuses (maybe browsers could built it in as a mean of payment?).

oelmekki··on Tiny, Perfect Staircases Made by French Woodworkers
Actually, the world have inherited something well known from compagnons : the word "chef d'oeuvre". It's translated as "masterwork" in this article, but it's something a bit more specific for compagnons : any compagnon is supposed, at the end of their "compagnonage" (companionhood) to realize their chef-d'oeuvre, the piece that should be the best thing they'll ever do in their live and that will be used as a rite to end their education. It's their thesis, on some sort.
oelmekki··on Using Prettier to format your JavaScript code
Why would developer style cause merge conflicts? We did just fine, thanks.
oelmekki··on Using Prettier to format your JavaScript code
Great tool, thanks for this.

I've been massively annoyed with the obsession of making the code look exactly the same in every of its parts. Ten years ago, I could tell which of my coworkers wrote a piece of code based on its style only. It was not especially needed, given we had git (and svn before that) to tell who authored a piece of code, but it was pleasant to recognize this or that developer's style. It was not radically different styles, we were still agreeing on tabs vs spaces and how many spaces, it was more subtle. We were authors.

But now that we psychorigidly don't want to see two pieces of individuality in the same codebase, be it as syntax or sometimes even as methods preferences to achieve a task, such tool as prettier or gofmt are incredibly useful. At least, we don't waste time on that.

oelmekki··on Keybase is now supported by the Stellar Development Foundation
Indeed, I don't think it's a deal breaker as well. There is a huge potential for scams, here, though (people buying invalid tokens for near than nothing on ethereum classic, then luring unawared people to buy them at full price misrepresenting them as the real thing). In this case, forks basically create counterfeits.
oelmekki··on Keybase is now supported by the Stellar Development Foundation
The thing I love the most about Stellar is how its founders want it to become "the SMTP of payment". It's kind of amazing we still haven't such kind of protocol widely available, and have to rely on private companies like Paypal, Stripe or any bank's IPN to send money on the internet, decades after its creation.
oelmekki··on PhantomJS: Archiving the project, suspending development
For those who may struggle with using chrome headless on server, here is a dockerfile example to get your started : https://github.com/oelmekki/chromessr/blob/master/Dockerfile

godet is the lib I use for chrome piloting, replace with your favorite one.

oelmekki··on Los Angeles’ homelessness crisis
Well, I don't know much about Lithuania, maybe it's paradise on earth, but I assure you that here in France and in most of the world, stealing, begging and dealing drugs also happens in "integrated" populations :) But I hear you, Rromas are often linked to that, and it doesn't help.

Regarding the "way of life", I find it funny it's considered a problem while I know so many friends, who nobody would say they are not integrated, who live just the same. They do seasonal winter work in tourism in mountains, seasonal summer work at beaches, and travel in between with their home/truck to visit friends and family, or just visit new places. I know three of them who have been living that way for 15 years, and nobody finds anything to say about it (except parents, of course, who would like to see them have "a real job").

Are you sure, deep inside, there is absolutely no problem of racism implied in your problems with rromas? (no need to answer this question, that's more something to ask to yourself)

oelmekki··on Los Angeles’ homelessness crisis
That's a good point, there's indeed a problem with mafia-like behavior in Rroma groups. Don't just assume they all rely on begging, though, we see a lot of them in seasonal agriculture, and they make good money there.

Regarding difference between rights and expectations, there are two layers, there. There is the laws that apply to anyone with the rights that apply to anyone, and the laws that apply to citizen and the rights that apply to citizen (which rromas are not, most of the time). I'm not a lawyer, but I would tend to think the laws most often apply to everyone and the rights most often apply to citizen, except for basic decency. There's an exception regarding the laws : when a law makes mandatory for a child to go to school, it is usually only about citizens' children.

Now, we could certainly ask more of those people to disband mafias and enforce human rights. But I'm not under the impression it's what we try to do, in europe. What I see most of the time is attempts to push them away and to hell with them.

oelmekki··on Los Angeles’ homelessness crisis
What you describe is pure fascism. And for the elders, maybe we should build camps to hold them?

I hear a lot about how this or that part of the population "doesn't integrate". What I never hear about is why it's so important they integrate.

oelmekki··on Days Since a Cryptocurrency Exchange Has Lost More Than $100M
Stellar already has a decentralized exchange built in, I've used it a bit and it's really a change to be able to use it directly from wallet, instead of sending coins to an exchange and basically giving them to it, hoping it will allow withdrawal.

But please note it's not a complete fix either. You still have third parties you must trust (presuming others decentralized exchanges are built like stellar's one). Instead of having one third party for all markets, you have one third party per asset.

When you buy xrp for xlm, for example, you don't actually own xrp, you own credits for the xrp anchor, with the promise you can withdraw them. So it's exactly like current exchanges, except if one anchor gets hacked, it does not affects all assets, just the one it manages. That's still better than current situation, and decentralized markets have many other advantages.

oelmekki··on Stimulus: A modest JavaScript framework for the HTML you already have
I've never written any java code, but I really love the module systems inspired by it. I've been using this kind of packaging in both javascript and golang, and it actually feels way simpler than in ruby where I'll always end up with `Namespace1::Namespace2::Namespace3::klass` to deal with the global scope of everything.
oelmekki··on Vim Anywhere
I see. thanks for sharing!
oelmekki··on Vim Anywhere
This sounds plausible, but I have really no idea of why it works :) I found it by doing a mistype (like it often happens in vim), and didn't see it mentioned in any article that would try to get to the bottom of it yet.
oelmekki··on Vim Anywhere
yep, it does a 'A' in normal mode, after leaving the insert mode (thanks to alt). The different thing is that you do it (alt+shift+a) in insert mode. So the equivalent would be `ESC, A`.
oelmekki··on Vim Anywhere
On linux, I don't use ESC at all anymore, I just press alt + [a normal mode key], while in insert mode. Like `alt + j`, which will leave insert mode and move one line down.

Some alt based sequences are really useful:

* alt + e, a : leave current parenthesis and continue inserting (eg, while typing parameters for a function)

* alt + shift + a : insert mode at the end of current line

* alt + shift + i : insert mode at the beginning of current line, with indentation

* alt + p, a : paste before current position, and continue inserting

Maybe there's a modifier key with a similar behavior on macosx?

oelmekki··on The Long, Slow Decline of BitTorrent (2017)
It may depends on the country. I'm in France, and I almost always have english subtitles. On the rare occasions there is no english subtitles, I always have french subtitles. I never had to watch anything without subtitles on netflix (which btw, is one of the clear wins of netflix to me compared to pirate streaming).
oelmekki··on A Eulogy for the Headphone Jack
I see the point from both side, here. I guess both tech could live together as alternatives.

There's one thing I would ask from manufacturers who go the bluetooth-only way, though: please first make sure a bluetooth receiver can handle multiple connections.

I have bluetooth speakers at home that I've put on top of my sofa, so I can watch movies comfortably without annoying neighbors with loud sound. During the day, my phone is my media center, playing music. But I also want sometimes to play sound from my computer, like when I watch a youtube video.

In order to do that, I plug the speakers' jack to the phone, and connect the laptop through bluetooth. This is awesome and is better than jack only speakers: I can easily plug two devices on it. But if everything was bluetooth only, then it would be a regression, as I could only connect one device.

Could bluetooth multiplexing be a thing? (or are there reasons it couldn't happen?).

I would also love to know if I'm an edge case, or if other people here are doing something similar as well.

oelmekki··on Why Did a Billionaire Give $75M to a Philosophy Department?
Oh yeah, totally, I'm not saying thinking on paper is something that can't be achieved without studying philosophy, just that it's something all philosophy students are trained to do. Certainly, a willing and rigorous individual will get there anyway :) You also probably find the same skill in other domains specialized in written rational thinking, like History or law.

A note about debating skills, though: from the second year (at least in my university), we were asked to try to explain why someone is right, rather than why they're wrong. I found this shocking at first, especially because teachers were making us study the authors they loved and then ask us to explain why they were right. It sounded like brainwashing, at first. But later I realized it was actually the best skill I learned there.

When you're discussing an author, a developer's work, almost any kind of work, really, you're basically taking 10 minutes of your attention to refute work that took maybe years, or even a life. Most likely, the objections you'll have will be superficial and author/creator will have figured them for a long time. Starting first by trying to understand the goal and the reasoning of author/creator allows to really take advantage of their creation. You may then refute it if you still have problems with it :) (but you'll almost always have a cool idea or two to take away, so it's not lost time)

oelmekki··on Why Create a New Unix Shell?
I totally love fish, it's the first shell that made me replace bash as my default shell (zsh was "just not enough" to justify losing compatibility, for me).

But is this project really overlapping it? I see mostly fish as "UX" centered, while oilshell - as far as it's stated here - reminds me more of powershell (I found the idea of having a modern language behind it so cool when it was released, too bad it wasn't my ecosystem): looks like oilshell is targetting scripting more than UX.

Anyway, I love the idea of having several shells who try to have a new look on what a shell is.

EDIT: oh, btw, let's not consider no significant scripting can be done with bash, just look at the incredible work from dokku team ;) https://github.com/dokku/dokku

oelmekki··on Why Did a Billionaire Give $75M to a Philosophy Department?
Totally agree. I went to philosophy section of university myself (although, I didn't go up to a degree, it was mostly for my own interest) and later recruited a developer who attended too.

It was a pleasant surprise to realize it was so much easier for us to write specs and discuss issues and possible solutions on github together. We were just more used to think on "paper" and to articulate our ideas by writing them, which allowed us to be really comfortable doing async work and to communicate complex ideas.

It was really appreciated, among all those "hum... I'll call you, it will be easier".

oelmekki··on Tether Is Breaking Its Peg to the Dollar
Yes, this USDTUSD market on kraken is an anomaly: it has very small volume, and nobody is really interested in trading that.

Poloniex has many USDT markets, as they use it to compensate for the fact they do not provide markets against fiat. As such, those markets have way more volume.

The market visualization and analysis tools website tradingview.com offers a computed charts of USDTUSD from poloniex (symbol: POLONIEX:USDTUSD). It tells a whole different story than kraken charts: https://www.tradingview.com/chart/?symbol=POLONIEX:USDTUSD . Basically, usdt is stable there.

There's still a problem here: tradingview does not tell (afaik) how they are computing this price. I would assume they do a mean or average of various BTCUSD markets on several exchanges, then check it against BTCUSDT on poloniex, or something like that. But I don't know any official explainer about it.

oelmekki··on 2018 Stellar roadmap
I get it that it's a major use case for platforms allowing to issue tokens, but I would love not seeing stellar going too far down the ICO road.

Buying in ICOs still doesn't provide any kind of clear value (beside selling them) and issuing tokens could be used to do way cooler things (like issuing state branded cryptocurrencies, or temporary currencies for big events, etc). It's kind of sad that ethereum is mainly seen nowadays as "the cryptocurrency for ICOs", I wouldn't want to see that for stellar too.

← PreviousPage 3 of 25Next →