HNHacker News
TopNewBestAskShowJobs

notresidenter

274 karma · joined October 16, 2022

submissionscomments
notresidenter··on PHP 8.4
This has existed for so long though, through `__get`, `__set` and other methods, the ArrayAccess interface, the `__call` and `__callStatic` methods.

This way, at least, it's much more explicit. And this should probably only be used inside frameworks anyway, and not in "user-land" code.

notresidenter··on New textbook teaches students about matrix methods and their real world apps
In France, matrices are taught in an optional mathematics class for students that want to go further.
notresidenter··on Upcoming Hardening in PHP
You should look at `func_get_args()` usage in the wild. This is sometimes used for (mostly outdated) good-enough reasons and doing this might break it?
notresidenter··on Tinfoil.com – Dedicated to the preservation of early recorded sounds
For anyone interested, the earliest sound recorded is from 1860, and isn't from Edison, but from a Frenchman Édouard-Léon Scott de Martinville, on a machine he called the "Phonoautograph". The machine recorded "traces" which a team at Stanford managed to convert back into sounds in 2008: https://www.archeophone.com/artists/s/edouard-leon-scott-de-...
notresidenter··on Cryptographic Right Answers: Post Quantum Edition
Quantum cryptography, not post-quantum cryptography, would allow schemes in which the store now, decrypt later attack is impossible.
notresidenter··on Ryanair wins screen scraping case against Booking.com in US court ruling
rome2rio.com comes closest to that experience compared to the other services (not affiliated)
notresidenter··on My daughter (7 years old) used HTML to make a website
> Cats are about 2 feet that means six times there height would be about 12 feet. That would be a very terrifying cat

Yes it would. There's something wonderful about the paths that a mind that hasn't been fully toned the way society wants it to explores.

Well done.

notresidenter··on Proton launches its own version of Google Docs
It's a great product, but I don't need it from them. I bought a protonmail subscription, not a Proton subscription.
notresidenter··on Proton launches its own version of Google Docs
(Paying customer) I wish they would focus more on their existing product(s). There's a huge synergy between Calendar and Mail, but Drive, Pass, VPN, are useless (but the VPN is well-done). There's still no Caldav support or scheduling, and a lot of things are annoying in Mail, of course some of these are hard to solve with E2E, but at this point, their E2E claim is also half-baked and mostly for marketing, why not fix all of things?

What's the rationale behind releasing yet another half-baked product?

notresidenter··on Safe Superintelligence Inc.
His latest project (https://pioneer.app/) recently (this year I think) got shutdown. I guess he's pivoting.
notresidenter··on Chat Control: Incompatible with Fundamental Rights (2022)
It's a really nasty feeling to live in a society influenced by politicians in power with ideas so far away from my own, while also having little influence over their decisions, unless I give up what I like doing and go into lobbying (or politics, which seems to me like the poor man's lobbying)

I've sent an e-mail to the permanent representative in the country I live in, but I feel particularly blindsided knowing about such a decision on the same day it is voted. And angry for all the people, especially journalist friends, that are out there and unaware of what's going on.

I'm not sure this is what democracy is supposed to feel like, but if it is, it feels like shit.

notresidenter··on PyPy has been working for me for several years now
It took me 5 minutes to realize that this isn't PyPi the package manager but PyPy, an interpreter for python.

This was very confusing, especially because they mentionned pipx, which seems related to PyPi, so it was plausible this was about PyPi.

notresidenter··on Western Music Isn't What You Think
There are a lot of arguments of authority and _0_ empirical evidence, apart from "I've spent 30 years of my life on it"... There are no sources!?

And then, there are things that jump out to me as false, that could be true, but because the author cites ZERO sources, it's unclear if he's ignorant after 30?! years of research or has an interesting insight.

It's so unscientific, and it's sloppy useless writing like that that makes some people say that the social sciences aren't sciences.

notresidenter··on What contributing to Open-source is, and what it isn't
I'm not saying 'all bootcamps are bad' here, I'm saying 'this particular bootcamp is bad'.

I think there's a clear distinction between CS and Software Dev.

The latter _can_ be self-taught, or learned with a bootcamp, if it's good. It's essentially a trade which means practice is everything. And also includes a good bit of project management.

The former is a scientific field, much like physics, sociology, etc. and having a CS degree is useful for doing research (which in CS could mean coding, and could mean writing software, e.g a new type of database/algorithm/other) hence the confusion between the two. And some/most Software Devs need to understand/improve/adapt artifacts from the field of CS, so a CS degree is often beneficial for software devs, but not needed.

So, I don't think it's fair to say that it's a 'fake programming vocational qualification', it's not what it's for, and people that say the contrary misunderstand what a CS degree is.

notresidenter··on Court upholds New York law that says ISPs must offer $15 broadband
Thank you so much for such a detailed response, I'll go read more on the German system.
notresidenter··on Court upholds New York law that says ISPs must offer $15 broadband
Are the states in Germany similar to the states in the US? I thought they were merely a relic of pre-WW1 unification, after the 1990 reunification, but that the states were just administrative entities with no independent sovereign power.
notresidenter··on What contributing to Open-source is, and what it isn't
GP, There's no need to attack the author?

"42 School" which is the "school" his degree comes from is a glorified boot camp. It's one of the popular ones (in France)

It's an immediate red flag for many French tech companies when hiring.

Rant: I dislike this boot camp for what it does to parents of teenagers who are promised their child will have a career in tech, but then are not taught the skills they need to grow, so they come on the job market with -2 years of experience because they have to relearn everything (but often don't want to put the effort to do so) because they are attracting lost teenagers that like playing video games, not teenagers that actually want to learn CS and/or Software Dev.

So, you get unmotivated people with a bad attitude and no useful skill, as they need babysitting.

Source: I've interviewed many ppl coming from this school and talked with n>10 founders about their experience hiring from there

notresidenter··on Biden signs TikTok bill into law, starting clock for ByteDance to divest
Please don't call me deranged. How much do you know about China?

As vague and imprecise as the term "most capitalist" is, it is a blatant ignorance of the way Chinese people (have to) live, especially in cities, to think that it isn't a consequence of an extreme form of capitalism: enormous gaps between the wealthy and the poor and materialism.

China is as much a communist country as Congo is a republic.

Edit: Reading the other comments, it seems like we might all value different aspects of the country to define whether it is capitalist.

notresidenter··on Biden signs TikTok bill into law, starting clock for ByteDance to divest
China is absolutely not communist, it's probably the most capitalist country nowadays !
notresidenter··on Quill v2 – Rich text editor
Tiptap is a great wrapper around ProseMirror, and if you need to dig deep, TipTap lets you do that but the documentation, for both TipTap and PM isn't as good as it could be and the conceptual model for PM is _hard_ to pick up on the go. I've spent several days on it to get close to what we spec-ed, granted, that's probably a tenth of what I would've spent if I had to build it from scratch, but definitely an investment, because getting all the little interactive details and the way that the custom inline/block elements should work just as the user expects is _hard_.

Overall, it's the only tool I found that makes it as easy as possible to create a good writing/editing experience but it's a hard easy.

notresidenter··on Show HN: An app that takes your money if you don't reach your goals
I'll probably build this eventually. Let me know if this is open source, I'd be down to implement it. It looks like you're using PHP/Symfony, so this is right down my alley.
notresidenter··on Scientists say they have found evidence of an unknown planet in our solar system
You're right, but with Neptune, they were able to empirically verify that: oh, there's a planet there. Here's they've made the calculations because those (afaik) fit in the current model and they've concluded: oh, there's (most likely) a planet there.

They are only half way there (afaik, but I could have misunderstood their point)

notresidenter··on Daniel Dennett has died
Wittgenstein is not "pooh-pooh-able", not by a long shot. First of all, there are two really different philosophies belonging to Wittgenstein, the younger and the older, and the evolution between the two should be of interest to anyone, as it serves as essentially a cautionary tale about concepts and more generally abstractions, detached from empirical evidence.

His philosophy does provide some interesting perspectives on language, even if I don't personally agree with his way of doing philosophy.

notresidenter··on Show HN: An app that takes your money if you don't reach your goals
I literally thought about such an app today, but with a pot that would go to either (1) to a charity I support or (2) some cause I really despise (more evil)

Doing it with friends in probably much better for accountability.

notresidenter··on Scientists say they have found evidence of an unknown planet in our solar system
How is this different than when we pretended there was another planet, Vulcan, to reconcile Newtonian physics with the unexplainable phenomenons physicists noticed until others and eventually Einstein came along to prove that the theory was wrong ?
notresidenter··on I can't use my number pad for 2FA codes
I see more and more website use multiple inputs with JavaScript to handle automatically moving from one to the other for OTP codes, including GitHub. It's always buggy because the devs reimplement basic navigation (focus, deletion, arrow keys, etc.) and it turns out that stuff is hard to get right, so they get it wrong. Often, just typing too fast breaks those inputs (<https://github.com/login/device/> for example).

A simple input is much better, even at the cost of a UI that is slightly more ambigous for the user on desktop (on mobile, there's a bagillion things to make inputting OTP codes easy).

notresidenter··on Show HN: Open Source TailwindCSS UI Components
Yeah, I think the DaisyUI developers miss the point of Tailwind. You should almost never use "semantic class names" with Tailwind (and what even is a semantic class name, honestly? It's all context-, developer-dependent) and instead go for a component (using a js framework, a web component, or other) and write the component with utility classes.
notresidenter··on PHP in 2024
Express is not in the same category as Laravel, what gets closer to Laravel in the NodeJS world would be Adonis (that I know of). Express is essentially a modular router (for people that think that server-side JS is a good idea)

If you run `laravel new my-app`, you got an application with caching, database, queue, views, translations, whatever else you can think of, ready to use with things like Oauth / Payments / E2E Testing / Feature flags / Search... a command away.

You don't get that with Express, you don't get that with Django, from what I've seen (but I'd be very happy to be wrong!)

notresidenter··on PHP in 2024
I've thought about doing a Laravel-like framework in Go, but one of the superpower of PHP/Laravel _is_ the possibility to have very loose / no types, which gives a great DX when used correctly, but in Go, you'd have to interface{} so many things that the resulting code would be non idiomatic / not as performant as go can be.

And then, you'd need to have an ecosystem as strong as Laravel which... wow... would take a _lot_ of investments.

notresidenter··on PHP in 2024
PHP and the ecosystem around it, especially Laravel, makes developers incredibly productive: everything is so damn easy.

Nothing comes close to it in Go, Ruby, JS (Node), Python; from what I've seen. Laravel is one step ahead.

Page 1 of 3Next →