HNHacker News
TopNewBestAskShowJobs

jrimbault

1,596 karma · joined April 4, 2017

https://github.com/jRimbault

[ my public key: https://keybase.io/jrimbault; my proof: https://keybase.io/jrimbault/sigs/YStRMnahTqv-NqG4y2N0krmu7X--H4cModprRVH05J8 ]

submissionscomments
jrimbault··on An Improved Thread with C++20
In my opinion, when you have an internal boolean flag for two behaviors, the interface you should probably expose isn't the flag in one function, but two different functions.
jrimbault··on We don't need a string type (2013)
I'd arguee Go's string type is "somewhat unusable"* since it doesn't enforce the guarantees it says/implies it does. The byte slice it points to is not guaranteed to be valid utf8.

* of course to a degree, let's be reasonable, it's usable in a _lot_ of contexts, but I like my types to actually mean something.

jrimbault··on Rust Foundation: Hello, World
The "proper" comparison (that would still be horribly misguided) would be against the "core" crate in ripgrep. And that's only 5kloc, a lot of it from the "app.rs" (3kloc) and "args.rs" (1.2kloc) which is almost only declarative usage strings.

The "actual" code of ripgrep is accross its multiple support crates, which the community largely benefits from having since those are general enough to be almost foundational to any software.

imo, op is trolling, the old fashioned way

jrimbault··on How to lower the price of plant-based meat
I learned the political structure of the European Union in school, several times, once in middle school, once in high shool, with many repetitions in between. If you haven't learned you might either be older than me (I'm near thirty) or the education system in your country has worse issues than mine, or just not interested in Wikipedia ?
jrimbault··on Paul Taylor, the engineer who created the TTY machine for the deaf, has died
Both are TeleTYpewriters but they are not the same device.
jrimbault··on Big name corporations more likely to commit fraud: study
Systemic issues/consequences don't need conspiracy to manifest, they're a manifestation of misplaced incentives/causes. I don't think OP implied any conspiracy on any part.

I'm sorry to get the big name out, but. It's really part of the Marxist framework that there's mostly no willful conspiracy against the worker class, the balance of power is a result of a complex but understandable system, with some corrupt actors but they don't need to be, they just have conflicting incentives.

jrimbault··on Datatype99: C99 with Sum Types, v0.1.0
> a metalanguage for preprocessor metaprogramming

That sentence is everything I was taught to avoid. Props to you.

I like the drug/alcohol metaphor for these things, as a child avoid them, as an adult do your thing as long as you remain sensible.

jrimbault··on AirPods Max: An Audiophile Review
https://www.headphones.com/blogs/news/apple-airpods-max-revi... look for the paragraph : "Frequency Response & Tonality", the issue is these headphones change their tuning on the fly.
jrimbault··on The day my voice broke
Since vocalization is the outcome of many muscles and tendons working together (as pointed out in the linked piece), I'd expect that like any muscles they could degrade when not used enough ?
jrimbault··on Why cats are crazy for catnip
Try cutting and sanding a (too big for their mouth) piece of wood (it's a very hard wood), in my experience that's the most "potent" form of the drug. I used to keep a piece of wood, a bit larger than a domino, for my own cat and sanded it more or less regularly.

I don't know about olive species, but I know that not all cats have that weakness.

jrimbault··on Why cats are crazy for catnip
Olive wood too. Many cats will lick a piece of olive wood and seem to get some kind of high from it.

I've seen many cats lounging under (or on top of) olive trees in the Alps around Nice (France).

jrimbault··on Golang's network stack attempts to parse HTTP headers as UTF-8
I'll also play along the role of the pedant :

> In a go a string is an immutable byte slice assumed to be valid utf8, with associated methods and users which all assume that slice of memory is valid utf8.

Which is in my opinion the worst choice you could make when designing a type. If I'm working in a typed language because of so-called "type safety", if I can't trust my types to actually enforce their guarantees, what can I trust ?

jrimbault··on Golang's network stack attempts to parse HTTP headers as UTF-8
This article (/quasi-essay) was a good read : https://fasterthanli.me/articles/aiming-for-correctness-with...
jrimbault··on Sci-Hub Is Now on the ‘Uncensorable Web’
It's not about "patriotism".
jrimbault··on Teamspeak 5 to be based on the Matrix protocol
There were a few months more than 10 years ago when you could use one XMPP client for all your various social/chat accounts. I want to say around 2008 ?
jrimbault··on Facebook senior software engineer interview
This feels like a troll post : comparing a final exam with a job interview. One is the end, total sum, of 10 years of study, the other is just... a job change. It's important, but not worth a month of my lifetime. I've only got a few hundreds of those.
jrimbault··on Pierre Cardin has died
Not cassepipe, but also currently living on (less than) minimum wage, in an expensive part of Paris, France. I'm cooking, coding, reading, watching youtube. This year has been "great" for me. Of course I would have liked more comfort, some foods I can't affort but, but I've got a good bed, a good chair, an excellent desk, good cooking knives, an ereader with a practically infinite supply of free books, computers and hard drives (hidden) everywhere in my 20m². I write the kind of code I like to write, I'm not accountable to anyone. (not anonymous you can try to name search me to cross check)

I estimate I'd need about 30k€/y to be able to not skip on anything I'd want to do. (usual disclaimers apply: young-ish single man living alone, never had health issues, with no desire to live in any other way, etc)

jrimbault··on Cyberpunk 2077: How 2020’s biggest video game launch turned into a shambles
In that vein, keybindings are again a trouble point in CB2077 like it was for Witcher 3. And I wonder that can be ? From a complete ignoramus to VG programming, but not to programming in general, that seems like a really easy already solved problem, and certainly it is compared to the really hard problems VG run into. No hard coded values, swapable config objects, that seems like easy good practices ?

I'd really appreciate some perspective on this from someone who knows ?

jrimbault··on Show HN: An anti-book recommendation tool, to help you escape your echo chamber
Anecdote : I put in the three first books of the Stormlight Archive series and it showed me many fantasy books, comics & BD, and mangas, I already read (I'd say 60 to 70%). I don't know what it should output for things not inherently political.
jrimbault··on Implementing Rust's dbg! in Python
I've written a 3 nested dbg! line for a complex boolean expression... I should have just written a truth table...
jrimbault··on These Modern Programming Languages Will Make You Suffer
There are lots of [little to big] factual errors in this piece.

My favorite error is also rust related :

> Rust has no built-in support for immutable data structures.

This piece is flamebait.

jrimbault··on What is your favorite C programming trick? (2009)
When I understood that it made my hate/love of C hate side stronger.
jrimbault··on CSVs: The Good, the Bad, and the Ugly
That was also my thought getting to this line. First line is a list of the records fields names, then every line is a tuple of a record, convert tuple to struct and done.
jrimbault··on C/C++ vs. Rust Performance
Strong upvote for :

> The authors decry the loss of goto saying it's "good for juniors but too limiting for professionals" - as if professionals aren't humans too! I'm sorry to say that, but whenever I saw that attitude before - it was with programmers that greatly overestimated their skill level.

The "I know how to use goto [replace with any feature] everyone else is just stupid" reasoning upsets me so much.

jrimbault··on Firefox 82
For OVH I tried a lot of things, disabling extensions (one by one, and all of them), using a blank (firefox) profile, the usual cache/cookie invalidation, disabling various privacy protection enhancements (one by one and all of them), etc. Chrome worked.

For other sites yes, often just cache/cookie invalidation is enough.

jrimbault··on Firefox 82
OVH client interface goes into a login loop on anything other than Chrome. There are a few sites like this which are the only reason I have Chrome installed.
jrimbault··on Intel Core I7 1165G7 “Tiger Lake” Linux Performance with Dell XPS 13 9310
Same, XPS 15 9570 (2 years old I believe). It's almost as good as new. A little electrical whining when charging and putting the ear against it, but that's since day one. I've kept a cloth in between the screen and keyboard, kept everything clean just by rubbing a cloth a few times.
jrimbault··on Risk of War Crimes Charges for U.S. Grows over Saudi Strikes in Yemen
dang, I think this has been flagged by error. (I'm being candid)
jrimbault··on Toward a “modern” Emacs
Just to add links to the SO surveys mentionned here :

- 2019: https://insights.stackoverflow.com/survey/2019#development-e...

- 2018: https://insights.stackoverflow.com/survey/2018#development-e...

- 2017: https://insights.stackoverflow.com/survey/2017#technology-_-...

- 2016: https://insights.stackoverflow.com/survey/2016#technology-de...

- 2015: https://insights.stackoverflow.com/survey/2015#tech-editor

What's really amazing is vscode just appearing out of nowhere (7% in 2016, 35% in 2018). Blindsiding everyone. Cross platform, excellent to good enough UI/UX (very much inspired by Sublime Text but free), easily extensible in a widely available (and widely taught) language. For better or for worse.

jrimbault··on Use long flags when scripting (2013)
You must have an alias rm='rm -i' lying around. rm doesn't prompt by default (unless you're the owner of the dir, but not its contents).

    mkdir demodir && touch demodir/{foo,bar} && rm -r demodir
← PreviousPage 6 of 18Next →