HNHacker News
TopNewBestAskShowJobs

xgbi

1,167 karma · joined March 7, 2014

meet.hn/city/45.5432973,3.2502213/Issoire

g u i t r e i z e

g m a i l

submissionscomments
xgbi··on Ask HN: Affordable SMTP / Email Sender
Yep this is the issue: Sendgrid offers "well-seen" ips in their pro tier at 50$/month or so, which is 10 times what we spend on hosting..
xgbi··on Ask HN: Affordable SMTP / Email Sender
Does mailgun have a trusted IP from where I can send emails? Sendgrid is about the same: you get a free slot for 100 mails/day but the IP is blacklisted by spamhaus so it has no use to me :/

If mailgun has the same issue, it might not be worth it. Anybody has an experience with Mailgun's free tier?

I'd be happy to pay on the order of $1 or $2 per month for my usage and be sure to send emails without issues.

xgbi··on Donating Docker Distribution to the CNCF
I think I understand the difficult position that they are in, and I'd rather they do that than fall to sell to some large entity their name recognition and their IP.

It's a sad story, but they have changed the entire industry, and I'm happy that they found a way to make their contribution open and sticky.

xgbi··on Every day at the same time, my internet dies for 1 minute. How do I investigate?
Launch ´mtr google.com’ on one of your devices (preferably connected via Ethernet to your router) a few minutes before the cut off, and watch what happens when the cut occurs. It will show you exactly which equipment on the route starts dropping.

Although I suspect your ISP has a 24h lease and your modem renegociates at 3:40 everyday

xgbi··on Debian 11 “bullseye” freeze started
We have hundreds, if not thousands of vms running Debian in our datacenter, none of them have popcon installed.

So yeah, I think this statistic is orders of magnitude lower than in reality.

What I like about Debian is that they don’t really force you to install this.

xgbi··on GNOME has no thumbnails in the file picker and my toilets are blocked
He IS actually offering a bounty, though..
xgbi··on HN Alternative UIs
My personal favorite is https://hn.premii.com

It has an iOS app which is just a packaging of the web app, but I find the rendering just right.

xgbi··on How Discord Won
THIS.

This morning I left my daughter at home until noon. Not knowing how to stay in touch with her 'just run case', I tried to set up a Google Meet that I could join at work to see what she was up to.

Cue 15 minutes of:

- trying to create a meet without an account => fail.

- use my account to create a meet, take link, pull it up on daughter's computer.

- need to create account for daughter on Google so that she can join.

- creation of children account requires me to login because children not >18.

- create family with my account.

- back to creating account for child.

- strong password entered.

- google requires a payment setup, picks up my credit card (??) from my account to add to daughter's account.

- cannot dismiss payment option, stuck there..

Then I thought about Discord:

- Go to Discordapp.com

- Click on "open app", enter chilren first name, server is created

- copy paste link to my computer and go to children server

- Done

This is just fantastic. I just abhor the user story on anything else now, this is just so easy, and solves so many issues.

xgbi··on Show HN: Deploy to K8s without YAML using ShuttleOps
I created a report for Github, this is a leak on their side.

And contacted ShuttleIO by mail.

This could be ugly, Shuttle asks for broad permissions on Github.

xgbi··on Show HN: Deploy to K8s without YAML using ShuttleOps
Be careful: with Github auth, the redirection directs you to a non-HTTPS version of their app. The Github token might leak at that point...

EDIT: I don't even know how it is possible, this is an Oauth2 Flow and should never redirect to a non HTTP URL from Github.

Also: the fact that shuttleio doesn't have hsts or at least a 301 to HTTPS from HTTP is not brilliant either.

xgbi··on Merge tag 'inclusive-terminology' into Linux kernel
I can get behind your first and second paragraph. I understand the idea that we can do better, and there's no bad in doing this.. but the last is just too much.

Why not use pastel colors for chess and checkers because colors black and white are so effing bad?

Should we review the Yin and Yang color semantics too ? Am I offending people when I print my financial statement on WHITE paper? With BLACK ink?

Will there be forbidden words everywhere soon? Should I be able to pronounce the word "slave" in public or will I get stoned for it? Is there going to be a police dedicated to monitor people's use of "disturbing words" that we collectively decided would hurt the sensibility of communities, and started enforcing?

Am I going to loose my job if I commit a diff with forbidden words by the Great List Of Acceptable Words That Don't Discriminate Any Minority In The World? Will my commits to the linux kernel be refused if I chose one word badly, regardless of the actual VALUE of my code? Are we going to cleanse the Kernel from words like fuck or shit or arab? Will there be a PG rating when opening github's project pages so that we don't expose our children to these subversive tractations?

People are starting to confuse their own sensibilities and the greater good. When people start banning words and ideas, they slowly start communitarism and self-isolating rhetorics. They restric their views by hiding the rest of the things they don't like. This just looks like another puritan American move, and it's spreading like karens around the developer community.

This is just like the fake inclusivity where devs are starting to put in their repos what they call "Code of Conduct" where you are now asked to think about the cultural impact of your "Typo FIX" commit over the N communities that would prefer that you call your global variable "allowedList" rather than "whiteList". Oh my.. I don't care. I want my code to be functionally correct, not make BHL happy. Shit, I'm not writing to make a political statement, I'm fixing my SCSI driver implementation.

xgbi··on Merge tag 'inclusive-terminology' into Linux kernel
Are you ready to loose the black and red in red black tree? Because that’s skin color right there... Are you willing to rename all your code variables when you used « whitelist » or « blacklist »?

This has to stop. Slavery was long gone and finished when master/slave began being used in computer science. They were not used as a meaning to reproduce and glorify the past, they are simple words that explain how the protocol works. Would you rather « master » and « servant »? King and serf? Bully and victim?

This is to me just as irrelevant as continuing the superstitions about 13 and 666: a reactionnary behavior that people should tame and focus on something more important, like actual code correctness, fuzzing or something actually useful.

xgbi··on Koenigsegg’s 2.0-liter no-camshaft engine makes 600 horsepower
Just like for motorcycles, 3 cyl is the ideal for both torque and revs. Bi is all torque, 4 is all revs, and the 3 is just in between.
xgbi··on MessagePack: like JSON, but fast and small
And it better not. Timezone information has nothing to do in a timestamp.

A timestamp is a point in time, whatever the time is in Paris or Tokyo. It is an abstract value and it is way better this way.

A timezone is a filter through which you display your timestamp, and it tells you what your local time was when that timestamp occurred.

So yeah, always store and exchange time information as timestamps. Timezone is extra styling information, just like CSS.

xgbi··on A group of ex-NSA and Amazon engineers are building a ‘GitHub for data’
They never got an official, judicial, slap, which certainly means it must be legal, isn't it?
xgbi··on The SpaceX Starship is a big deal
Don't forget that China is launching more rockets into space than the US in 2018, and is close to be the same in 2019: https://en.wikipedia.org/wiki/2019_in_spaceflight#By_country

SpaceX still has about 10 launches officially scheduled in 2019, but I'd be surprised if they launch half of it. And in total, for SpaceX, this represents less launches than in 2018, not to mention some of these are test launches and others serve their own Satellite venture.

Does this mean that the market is contracting? Is there less money in space launches?

I personnally find this fact more disturbing; SpaceX is a very successful venture, but the US is second in terms of launches anyway (of which SpaceX represents only about 50%) behind China, and I feel like 2019 will be a small year. Their last launch was 84 days ago (!! https://spacexnow.com/stats.php#Turn_Arounds ), and the back order sheet is not gigantic either.

xgbi··on A neural net solves the three-body problem 100M times faster
I expect KSP will finally get a real N-body simulator! My mun orbit insertion will be even harder!
xgbi··on Ask HN: Best Linux Laptop Replacing a Macbook Pro?
What is the Linux story on a surface? I admit I like Microsoft’s products form factor a lot, especially the surface book.
xgbi··on Rust, a Raspberry Pi and Addressable LEDs
Unrelated, but how did you draw your curves/charts? They look fantastic.
xgbi··on Why are the username and password on two different pages?
Let me explain why we did it:

We have customers that have accounts on our platform, but are authenticating through their own SAML Identity Provider (I call this authentication delegation). We don't have any password on our platform for these accounts: we redirect the user to the 3rd party authentication when we detect that the email has an authentication delegation.

The issue is that their users come to our platform through our login page, enter their email, and then enter their corporate password in our password field. The login obviously fails (because we cannot verify their password), and we redirect the user to their corporate authentication page, where they can login. This is a security issue because we have to explain to their users that they shouldn't enter their password because they are leaking it to us... which is complicated to justify.

So what we did (and what twilio, microsoft and google did) is separate the email and password in two steps, so that:

- standard users have 2 steps to login, we can verify their passwords, all is good

- delegated users enter their email, we check how to authenticate them, and redirect them to their own login page

I suspect 90% of the split logins like this are due to that "password isn't needed" issue. Twilio dangles the security check in their article, but in reality this is to accomodate big corporate clients.

Also, don't do it like microsoft: you enter the email, type "TAB" to go to the password, and the page disappears under your nose and goes to the IdP page without any hint at what happened.

xgbi··on Otonomo, with nearly $55M in funding, is cloning our product
The API the guy is talking about is a freaking RFC!

The wording of this is found everywhere on the internet. Just search for one of the phrases you find and you'll have plenty of matches: https://www.google.com/search?q=%22The+number+of+seconds+the...

I understand the frustration of the guy, but this is not like they copied the business API, this is just the standard Oauth.

Anyways.. I'm starting to sound like an Otonomo PR guys.. I'm not, it's just that reading this article, I found myself pondering whether my current employer could be sued for this kind of trickery. I wrote the Oauth2 code in our product, and found myself writing the exact same doc (probably with different words).

xgbi··on Otonomo, with nearly $55M in funding, is cloning our product
Come on, this piece is written by someone who obviously doesn't know what he his talking about..

The entirety of his examples are focused on the Oauth API, which is a standard, and all the concepts and var names he shows as a steal of API are present in each and all Oauth authentication servers.

I mean, we have in our own api about 90% of the same verbiage for our own authentication doc, this is bog standard Auth code..

xgbi··on Arts contributed $763B to US economy – more than agriculture or transport (2018)
Can an artist draw 1000 paintings like a farmer can (automatically) milk 1000 cows per day?

I am under the impression that farmers have automated pretty much everything that is automatizeable in their workflow. Artists still have to put pen to (virtual nowadays) paper and spend time on each and every piece of work. Same for other forms of art (be it furnitures or scupltures or animations and video).

So yeah, I don't think you can compare easily.

xgbi··on Google shifted $23B to tax haven Bermuda in 2017
Can I deduce 97,5% of my wage legally?

Because that's what we are talking about there. 100 million gross and 3.5 million taxes is a drop in the sea compared to 22B gross.

xgbi··on How to Design Software Good
Disclosure: small-ish company (~100 employees) in France

You know, I kind of went through the same questioning: at my current company we have an employee that has his niche/historical role on one of the key infrastructure of our product.

The guys works from his home and whatever hours, commits 300+ lines per commit (90% of which is unrelated to the commit name, just commenting things or uncommenting others). The code is a spagetti of if else if else, it has monstruous "client specific" code (like: if the current client is this guy, then do that, otherwise for all other clients do this).

There's even a load of "if the program runs in test, answer what the test expects, otherwise in prod send something else".

Every time I look at the commit tree (a balance of wanting to have fun and wanting to see what is going on), I'm in horror. The guy rewrote the java.lang.string, the java.lang.date, and some other base classe of the language to incorporate his own version of the Date handling.

Fun fact, at one point his date parsing code "wasn't happy with october"... why? because October contains the letter 'T', and he botched his ISO date parsing (format: YYYY-MM-DDTHH:mm:ss) by checking the presense of the letter T..

I have many many stories of him commiting some bad code, only to spend 12h in a row trying frantically to correct the bug by adding ifs and elses.

The last time I looked at his code, he was rewriting a huffman compression algorithm by himself (NIH syndrome) to compress his on disk data. Complete with loads of code to handle per-bit operations that he wrote b y himself instead of relying on a battle-proof library.

Management-wise, they accept his behavior because this guy, working from his own home, often can work at scandalous hours and be on the bridge when he pushes a botched version to production at 2AM. At the time of this comment, his last 4 commits on master are at the following time: 08:57PM, 10:40PM, 12:11PM, 01:02AM

I know I'm venting hard, but this guy is probably be the best paid engineer of the company, he is a huge liability IMO, and is present at all-hands meeting maybe once a month. So yeah, why bother coding great code, making sure that your tests and CI are green, when some other guy with a bit more history in the company can get away with doing shitty work and having poor life balance, as long as he shows "commitment" when he botches his software releases.

This is really some life-long questioning of mine: should I care about things or should I focus on politics and disregard others. Aren't those on top of the pyramid the more "sharky" people that climbed the ladder not by pure skill but by showing the appropriate (bad) behavior when needed and correctly compartimentalized their own questions about ethics and got away ?

xgbi··on The Water Abundance XPrize winner makes water from air
Are you serious? 240gal/day is 900 liters/day!

We are four people living in a house & garden in france and I used 70m3 (70000 liters) last year. That would be about 190L/d or 50gal/day, 5 times less. Where do you dump so much water in the US?

xgbi··on Rave.dj – an artificially intelligent mash-up machine
Tu traines sur HN toi ? :)

Gui13

xgbi··on Introducing Ghost 2.0
With a dedicated server, you can have fantasic results. I'm hosting a Ghost server with docker-compose and Traefik + Let's Encrypt, and the thing is snappy beyon belief.

The server is a 14€/month with 16G/Corei5 2,8Ghz/2To HDD/1GB bandwidth. When you take in account the 15€ annually for the domain name, it comes twice cheaper that ghost. You can also host other things on that, since Ghost takes up maybe 500M of ram.

xgbi··on How to Analyze Billions of Records per Second on a Single Desktop PC
My friend works for $financial_subcontractor and he told me they have an XmX of 1,46TB on their servers so that they can load the data needed for market analysis.

The response time is quite fantastic (less than a minute), but there are drawbacks: - GC takes in the order of minutes to complete - loading the data takes 90 min from spinning rust

So yeah, it's possible, but your bottleneck becomes the storage driver.

xgbi··on Proton Native – React Native for the desktop
Well, then they failed completely at their argument. I count 7 levels of indentation in the react code, when there are only 3 in the PyQt code.

Also, the paradigm is completely different in that react is React is déclarative whereas Qt, in this mode, is procedural. I would argue that QML would be a better comparison, and in this case I’m quite sure that qml wins.

So much for buzz words..!

← PreviousPage 4 of 9Next →