HNHacker News
TopNewBestAskShowJobs

Darkstryder

619 karma · joined October 12, 2018

submissionscomments
Darkstryder··on The iPad Awkwardly Turns 10
I agree with this. My grandmother (who passed away in 2018 at the age of 91) tried to get into computers regularly for a decade, starting in the early 2000. We tried a lot of things, nothing stuck. Every device we would give her would quickly gather dust, unused after a few days.

Then in 2013 she got an iPad 2 and she instantly started using it several hours a day for the next five years.

In particular, I set it up so I could push new family photographs to her iPad remotely through iCloud. That was absolutely life-changing for her: now she was able to see super recent photos of all her children and grandchildren without having to beg for a printed version. That also worked for videos: for the first time since the VHS days she could replay family videos whenever she wanted.

She also liked multiple card games and the iPad was a wonderful device to play them electronically. The biggest self-service I ever gave myself was to only suggest games that had a paying version without ads, and pay a few euros to buy them. The biggest problems with ads for her was that she could sometimes be a bit sloppy with the touchscreen : when an ad was present it would redirect her to a random website and she would get lost. The quality of the iPad touchscreen and that we stuck to ad-free apps allowed her to almost never get lost like this anymore.

While the iPad may not have been a revolution for the general population, it definitely changed the world for my grandmother. For that I will be grateful for this device to exist.

Miss you, grandma.

Darkstryder··on iOS First Impressions (2018)
That is a really hidden feature indeed, as I've been using iOS daily for ten years and was not aware of that. Thanks for the tip!

I wonder how much undiscoverable features like this one I'm still missing.

Darkstryder··on Saving forums from themselves with shared hierarchical whitelists (2009)
A french forum I've been heavily involved with for the last 14 years used to require a proof of ID to join (for both reading and posting) for a decade. However members were still pseudonymous once approved.

In my opinion it had two substantial effects:

- A substantial improvement in the quality of the discussion in the short term. No spam anymore, few low-quality writers, and the fact that users enjoyed privacy but not at the expense of accountability made for lots of interesting discussions.

- Almost no new members because of the reading barrier, which caused a slow but significant decrease in quality in the long term. While this private tight-knit community had a good run for a decade, once in a while an interesting member would leave for life reasons and at some point the lack of a new guard posed an existential threat to the relevance of the forum.

Both of these facts led the staff to reenable enrollment without an ID a couple years ago but still keep a private subsection with ID required. We had an influx of new members (as we expected), a few interesting ones among them (as we hoped).

Personally I think experimenting with anyone-can-read + writing-requires-ID could also be worth exploring.

Darkstryder··on Twitter prepares for cull of inactive users
Reading this news, I remembered I had an old secondary account (for a musical project) that I hadn't used in years but wanted to keep.

I logged in using this old account, and Twitter asked me to prove I was not a bot. It required I would fill a recaptcha but also that I would give them a phone number for SMS verification.

So in order to keep this old account, I have to disclose my phone number to Twitter. I'm furious.

Darkstryder··on My Favourite Git Commit
Sometimes no. For instance a database migration script is not equivalent to the diff between two database creation scripts.

While it should be possible to take a database creation script (state A) and a database migration script (edge A->B) and infer the new resulting database creation script (state B), the reverse is not true.

This is the tables vs events duality described in this great article : https://engineering.linkedin.com/distributed-systems/log-wha...

Darkstryder··on My Favourite Git Commit
In the same vein, I wish there would be a standard workflow for putting code inside commit logs.

The typical use case would be database migration scripts : IMO they are always a pain to version properly because fundamentally Git and all the other software versioning tools let you describe the "nodes" (in the graph theory sense of the word) of a codebase ("at commit A the code was in this state, at commit B it was in the other state"), but severely lack when it comes to describe the edges between nodes ("in order to go from state A to state B, you need to execute this code")

I think the temporal dimension of software engineering is still poorly understood, and severely undertooled.

Darkstryder··on The state of Android updates is still dire
You don't mention a big part of the puzzle : security updates.

Given the current state of infosec, any OS that has not received any security update for a year or two is doomed to become a sitting duck for malware. Device security is a whack-a-mole game where new vulnerabilities are found daily and security updates are the only way we have to keep our computers secure.

In a perfect world, UI-and-features-related updates would be optional while security updates would be seamless. Also in a perfect world, older OS releases would receive long term security support and you should not have to upgrade to a more recent release to be secure.

Alas, we do not live in a perfect world. Apple doesn't provide any easy way to accept security updates but refusing others. Android just doesn't seem to provide a seamless update experience, either for security updates or not.

So you should really apply security updates, and if it takes getting other updates for that, then so be it.

Darkstryder··on Elizabeth Holmes hasn’t paid her attorneys in more than a year
https://outline.com/XkpW3b
Darkstryder··on We decided to go for the big rewrite
I agree completely. But it is a trade-off you need to be aware of, and need to be confident it will still be true in the future.

I've had situations where a client wanted a 99.95% availability SLA for our SaaS service instead of 99.5% as we were providing at the time.

He thought it was a minor change on our side, but it required completely rethinking our architecture from the ground up.

Darkstryder··on We decided to go for the big rewrite
Yeah, I agree. It was more of a general comment, because you seem to have one Postgres instance for every client, which is already a big step against SPOF.

At $previous_job we had a "one service" = "one MySQL instance" policy. Every time a MySQL server would go down all clients would all lose access to that service at the same time. It was stressful and much less robust than your setup.

Darkstryder··on We decided to go for the big rewrite
Yeah. I guess after having been bitten myself a few times with failed MySQL failovers and especially after having read the GitHub October 2018 incident postmortem [1], I stopped considering failover solutions as a reliable availability solution altogether.

However this is just a personal opinion that I might revisit at some point.

[1] https://github.blog/2018-10-30-oct21-post-incident-analysis/

Darkstryder··on We decided to go for the big rewrite
> Prematurely designing systems “for scale” is just another instance of premature optimization

> Examples abound: (...) using a distributed database when Postgres would do

This is the only part of the article that bugged me a little, because in my experience the choice between single-machine and distributed databases is not so much about scale as it is about availability and avoiding a single point of failure.

Even if your database server is fairly stable (a VM in a robust cloud for instance), if you use Postgres or MySQL and you need to upgrade to a newer version of the database (let say for an urgent security update), you have no choice but to completely stop the service for a few seconds / minutes (assuming the service cannot work without its database).

Depending on the service and its users, this mandatory down-time might or might not be acceptable.

Anecdotally I suspect services requiring high SLAs are more common than ones requiring petabyte scale storage.

Darkstryder··on Ask HN: Will getting a PhD lead to a more interesting life?
It's what I'm doing right now: I started a PhD in computer security after 7 years working as a software engineer in the industry. All of that in Europe.

The answer to your questions is -of course- it depends.

As somebody said in the thread, not all PhD are created equals. The "structure, focus and community" you will get from a PhD will vary greatly depending on your topic / lab / team / advisors.

For me, it mainly brought two big positives and two culture shocks.

- First big positive, while a PhD in itself is not super prestigious, a PhD in a topic in hot demand is. I wanted to transition my career from a software engineer with light exposure to security problems to fully-fledged security expert; even if I'm not done yet, this part seems to go as planned.

- Second big positive, if you love the topic you'll deeply enjoy most of the days there, especially if you have had a career before: you probably have a better BS detector and more down-to-earth aspirations than a brand new master student, and be more likely to work as equals with your advisors. I love my typical days: I have a private office and basically have free reign on how to move my research forward in basically any direction I see fit. I should add that writing and speaking publicly is also a big part (40-50%) of doing a PhD, but it is something I happen to love personally. If you hate writing, don't do it!

- First culture shock was how most PhD students are set to work alone, with weekly discussion with their advisors only and next to no collaboration with other PhD students. Coming from hectic teams in the software industry where we would collaborate daily if not hourly, the lonesomeness of the PhD was striking at first, albeit not unappreciated (No urgent emails ? No pagers at 3am ? No manager interrupting my train of thoughts 3 times in the afternoon ?). I do think the best projects are born from collaboration and if you can find a team with exciting research goals collaborating together to reach them, this can be a PhD holy grail. While I love that I can go down a rabbit hole all by myself without asking for permission, when I'm stuck at the bottom, I'm stuck alone, and this was new to me. This requires discipline because when you're given a lot of leeway, your greatest enemy becomes yourself.

- Second culture shock, at times public research feels closer to prestige-based industry (like entertainment) than engineering. There are a few superstars and a lot of nobodies; You compete with everyone worldwide and everybody's CV is public; You'll go from feeling bad because somebody's research is ten times better than yours, then facepalm because somebody else's research is ten times worse than yours. There are not a lot of correlation between the quality of your work, your reputation, and your salary.

- I also should add that if you have a family, a PhD program may strongly encourage or even require you spend a few months abroad in other universities. For me it was not possible (raising a young child) so I made it clear with my advisors upfront and it went well. But overall it is very difficult moving forward in academia (which I don't aim to) without moving a lot geographically, which can be tricky if you have a significant other and / or children.

- Regarding the specific mathematics part of your question, I feel your struggle as my maths were super rusty going in. While a great joy of a PhD is that you can take a few hours / days to dive deep into a mathematical concept you don't understand, you do not have enough time to enroll into a full master in mathematics either. So you still have to pick your battle there.

I hope that helps. Good luck!

Darkstryder··on Looking Back at the Snowden Revelations
Every country's law is a bit different in that regard, but mostly : exactly like how the United States Supreme Court defines obscenity [1].

[1] https://en.wikipedia.org/wiki/I_know_it_when_I_see_it

Darkstryder··on Looking Back at the Snowden Revelations
Of course.

But free speech is not absolute, even in USA (libel laws and all that).

What I find interesting is how the threshold between the freedom of speech and the freedom of others people is set differently between US and most of Europe.

For instance you can be convicted for incitement to ethnic or racial hatred in a lot of European countries [1] while to the best of my knowledge this kind of speech is protected in the US.

Personally I am very happy with how the free speech threshold is set in France or Germany but I have no doubt it is a cultural thing.

https://en.wikipedia.org/wiki/Incitement_to_ethnic_or_racial...

Darkstryder··on Looking Back at the Snowden Revelations
> “Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say.”

I find this sentence interesting because it is very specific to the American public. I am European and personally I care a lot more about privacy than free speech, and America's obsession with free speech boggles my mind.

It might have to do with the last time we in Europe experimented with unadulterated free speech, and got Hitler and WW2 as a result. We might have dialed it back a bit after that. But what do I know ?

There seems to be some a profound divide between America and Europe on this front and I haven't quite put my finger on why yet.

Darkstryder··on Volkswagen unveils the ID.3, its first affordable long-range electric car
Not pedantic, thank you for this info.

I was under the impression this tariff existed because of the trade wars. The bad news is that it is less likely to be removed once Trump is out of office :-(

Darkstryder··on Volkswagen unveils the ID.3, its first affordable long-range electric car
The pricing is more complicated than that. There is no way to buy a Model 3 at 35K$ in Europe. In France for instance, the minimum price is a whopping 48K€. Source : I wanted to buy a Model 3 in France.

- 35K$ is actually 39K$, excluding the off the menu version. You can't buy a Model 3 without Autopilot anymore, even though I don't care about Autopilot. And I'm not even sure you can buy the "off the menu" version of the Model 3 in France. So the base price is 39K$ which is 35.4K€.

- You add the Trump tariffs, eg 10%. Model 3 is now 38.9K€.

- In France (Europe ?) all prices are after VAT, which are again 20%. Model 3 is now 46.7K€.

- Tesla adds a couple grands to the price to move the car overseas. The least expensive price available in France is 48 600 €.

- They pre-deduce the French carbon bonus (6K€) so they can say they sell the Model 3 at 42 600 €, which is a lie.

In France the median price for new cars is around 27K€. In my opinion there is clearly room for electric vehicles priced between 27K€ (median) and 48.6K€ (Model 3 before carbon bonus).

After being very disappointed with the Model 3 French pricing, I'm currently interested in the Nissan Leaf. I will now also follow what Volkswagen is doing with the ID.3.

Darkstryder··on Scooping the Loop Snooper: Proof That the Halting Problem Is Undecidable (2000)
I was actually surprised by your choice of xkcd, even if it is a fun one. For me the most relevant would have been 1266 - 'Halting problem' : https://xkcd.com/1266/ which is one of my all time favorite.
Darkstryder··on Experimenting with same-provider DNS-over-HTTPS upgrade
I agree with you.

However this claim could be true in the future if/when Encrypted SNI (ESNI) for TLS 1.3 is deployed. Although ESNI is at the draft stage [1] and to the best of my knowledge is not at a deployable stage yet.

However it might be finalized and deployed by the time DoH for Chrome is finalized too ?

[1] https://datatracker.ietf.org/doc/draft-ietf-tls-esni/

Darkstryder··on Should small Rust structs be passed by-copy or by-borrow?
Interesting article. I enjoyed it.

I have two thoughts.

====

1. Regarding the benchmark itself, I wonder out loud if CPU caching could have a meaningful alter on the results. The article says :

> I randomly generate 4000 spheres, capsules, segments, and triangles.

It is not clear to me if this is enough to fill CPU L1 cache or not. My guess is that it is not. If all the benchmark indeed happens within the L1 cache, I wonder how a bigger workload would affect the results. Maybe it does not change anything. But maybe it does.

====

2. The author mentioned two criterion for choosing between by-copy and by-borrow : performance and ergonomics. I would add a third, somewhat related to ergonomics : let's call it semantics. When some piece of data naturally belongs somewhere and some others entities are natural "readers" of it, it might make sense to use the ownership / borrowing mechanism of Rust to naturally reflect this relationship, regardless of performance or code ergonomics.

In particular, a borrow guarantees you always work on a read-only, up to date value of the data. Meanwhile, after a pass by-copy the life cycles of the data seen by the caller and the data seen by the callee become independent of each other. This can have consequences, particularly in a multi-threaded environment.

Darkstryder··on A recent paper proposes to bring zeppelins back
A wild dream of mine is to build a 1/4 scale replica of an Imperial Star Destroyer that would actually be a zeppelin in disguise.

Just imagine that thing floating mightily in the sky like the actual starship from Star Wars.

You could even jump with a parachute or a wingsuit from the starfighter hangar bay.

If any zillionaire out there wants to tackle this...

Darkstryder··on A Decade Ago, Suicides Rocked a French Telecom Firm – Now Its Execs Stand Trial
As I said, the trial is not about these suicides, but about a company-wide harassement policy.

I meant it as "alleged side-effect".

Darkstryder··on A Decade Ago, Suicides Rocked a French Telecom Firm – Now Its Execs Stand Trial
The suicide spike at Orange / France Telecom took place from 2007 to 2009. I happened to work there fresh out of school from 2010 until 2012, just in the aftermath of the suicide wave, which we discussed a lot with colleagues at the time.

For this reason, I follow this trial with a particular interest and would like to clear a few things :

- Upper management is not directly accused of provoking the suicides. They are accused of a company-wide harassement policy aimed at pushing 22000 persons out without firing them (because they couldn’t - them being public servants), by making them decide to leave on their own. The suicides are the most spectacular side-effect of this harassement policy but they are not the center of the trial.

- France Telecom / Orange was a strange place at the time. It was divided between two generations : the older one signed up as public servants in a public service, and were deeply attached to France Telecom as a public service. A lot of them considered the recent privatization as a betrayal of their values. On top of that they had to go through a lot of technical evolutions, from phones lines to broadband to fiber. The younger generation were not public servants, were mostly fully on board with Orange being a private company and had skills more suited to current times. It was the older generation that was being pushed out.

- Even given the explosive context, everybody in the trial tries to make it as dispassionate as possible. Accusation is pointing out that the plan was illegal, not immoral. Defense is arguing how Orange was facing an existential crisis at the time.

It will be interesting to know how it all plays out.

Darkstryder··on Who to Sue When a Robot Loses Your Fortune
I fully agree. But I was talking about a (presumably not very tech-enthusiast) lawyer from 1998, not a software developer from that time.
Darkstryder··on Who to Sue When a Robot Loses Your Fortune
"The future is already here — it's just not very evenly distributed."

You're right that open source had been a thing for quite some time in 1998. GNU was started in 1983 after all.

But I respectfully disagree that open source was "obvious" in 1998. Hell, at that time, one could argue it was not obvious for a lot of people how much the Internet and computers would alter our lives. Open source was the least obvious part of quite a few a mind-bending paradigm shifts.

Darkstryder··on Who to Sue When a Robot Loses Your Fortune
One could argue that 20 years ago there was little to no reputation (good or bad) for most open-source software, and that made using open-source software much more dangerous : it was more difficult to separate the good apples from the bad ones.

Therefore his criticism made sense at the time.

While open-source code and open-source maintainers are critical parts of the ecosystem, I think open source users are underrated. If nobody shared their experience about how a piece of open-source software is actually behaving once you put it to use in production, open-source software would have much less value than it currently has.

Darkstryder··on I'm Against Podcasts
I mostly answered your question while answering the sibiling comment : https://news.ycombinator.com/item?id=19738724
Darkstryder··on I'm Against Podcasts
I do these kind of activities, but mostly divided in 5 to 15mn chunks. (Notably, my commute to work is a mere 10mn walk and I have a toddler child at home requiring frequent attention)

I would have trouble dividing a 40mn podcast into five listens divided over 3 days.

For those kind of double-up, I find listening music vastly more enjoyable, but that's just my opinion. Lately I actually prefer not doubling-up and just listen to the silence and letting my mind wander. It feels good too !

Darkstryder··on I'm Against Podcasts
I hate podcasts too. Or to put it more lightly, at the very least they are completely alien to me.

In my opinion the elephant in the room when talking about informational podcasts or video is... text.

As a medium, text is just so much more efficient (at least for me) that I can't begin to imagine why one would want to listen to a piece of content instead of reading it. I scan-read 20 articles faster than I could hear (or watch) a single one of them if they were presented in audio or video. And doing so I still have my ears available (for coworkers at work, for example).

Video can be interesting in a few specific cases : music production is a hobby of mine, and video can be interesting (but not always) as you can simultaneously watch somebody doing something while hearing how it affects the sound.

But most podcasts (and youtube videos) do not exploit the unique properties of audio or video enough to justify the tremendous requirements they ask on my attention span.

In my opinion audio and video emphasize entertainment over information, but most of them are not that entertaining (compared to an actual entertainment media), and not that much informational (compared to a text article).

I think newspapers made a tremendous mistake with the pivot to video and the pivot to podcasts. Vive le texte !

← PreviousPage 3 of 4Next →