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 The Unix timestamp will begin with 16 this Sunday
(guenine curiosity)

Why do you wait for these events ? Myself I consider these to be complete non-events.

jrimbault··on Youtube-dlc – Download videos from YouTube or other video platforms
It's not exactly the same category of software. It's a download manager, not a video extractor/scrapper.
jrimbault··on Code Health: Make Interfaces Hard to Misuse (2018)
With explicit enforced lifetimes it's harder to misuse. The first method returns the tuple of (Something, Token) and the second method consumes/takes ownership of the Token plus whatever its arguments. This way each call to function2 has to be preceded by a call to function1 and it's checked by the compiler.
jrimbault··on Clover: An all-in-one notebook
re 1. In my experience, it's often the first vague idea for a school project a teacher will give their students.

Personnally, like many things, I've built a custom script atop git to manage my notes. And another to manage a journal. And another, and another. Just building off of git.

jrimbault··on ‘George Eliot’ joins 24 female authors making debuts under their real names
One of my closest friend is a gender sociologist (and I'm talking with them _now_)... And don't consider Sand as trans. They cite other names as historically trans (Violette Morris, and for fun Jeanne D'Arc). Sand was definitely on the queer spectrum but I (and my friend) don't think she was trans. She had relationship with both women and men, dressed as often in men and women clothes.
jrimbault··on ‘George Eliot’ joins 24 female authors making debuts under their real names
If I remember correctly George Sand had a long relationship with Frederic Chopin. So more of a social provocatrice than anything ?
jrimbault··on The battle to invent the automatic rice cooker
It's basically the same physics involved in this toaster https://youtu.be/1OfxlSG6q5Y same channel.

Thing heats and deforms (change properties), when it reaches temperature n, thing deforms just a bit too much, cuts electrical contact.

jrimbault··on LSD Chemist William Pickard to Be Released from Prison
Google "lsd paper sheet".

It looks like a paper sheet.

jrimbault··on BTFS – mount any .torrent file or magnet link as directory
9d0e6a7ffb5deea2c8c8e555d7bf6bcab6fdc6ac 2014-06-26 Big things have small beginnings.

(I have an alias specifically for finding that out)

Personnally, I don't care about any of the crytpo-mining-coining and I think the two are sufficiently distinct.

jrimbault··on 25 Years of PHP
> Another advantage is that php runs each request with a clean state

PHP apps are almost guaranteed to be "stateless", thus scaling up and down is quasi-painless also.

jrimbault··on A photo is crashing some Android phones
I don't think this is backward of your understanding ?

That's just how I phrased it 18 hours ago. The thing I find bad about it is not that exceptions have to be declared in the interface, that's good, it's that every implementations will have to declare them also, even in the case that a particular implementation has no failure mode.

jrimbault··on A photo is crashing some Android phones
You can't have an interface implementation throw exceptions not declared in the interface, hence all implementations of a given interface have to declare the same failure modes. And then everything is nicely coupled.
jrimbault··on EA will be releasing the C&C Tiberian Dawn and Red Alert source code under GPL3
Many of the community mods have excellent gunplay. I really recommend playing them. The 2005 graphics are offset by the very high framerate we can achieve on modern hardware. Also mods like forgotten hope have fixed many of the original game 's bugs.
jrimbault··on Ask HN: Which hostnames do you choose for your PCs?
Periodic table. Rare gases for mobile devices. Metals for "non-mobile" devices. Most everything else is just random across the table, some of my preferred devices get "special" names like fantasy metals.
jrimbault··on Welcome to C# 9.0
The point is : the C# namespaces, default behaviors and general usage, are only half of a good idea. Effectively importing every symbol in a namespace into the local namespace by default is so obviously bad.

Yes you can do `using Whatever = System.Console;`, fantastic, that's not the common idiom and it is harder to do (longer to write) than the usual idiom.

jrimbault··on EA will be releasing the C&C Tiberian Dawn and Red Alert source code under GPL3
Officially yes. In reality no.

Forgotten Hope 2 has its own workarounds and launcher. Other mods (and vanilla players) use BF2Hub, which wraps around bf2.exe I think to redirect DNS calls to the defunct EA and gamespy servers.

jrimbault··on EA will be releasing the C&C Tiberian Dawn and Red Alert source code under GPL3
Battlefield 2 can't be bought nowadays, but that doesn't stop a small community from working on mods even now. Forgotten Hope 2, one its biggest mods (a complete WW2 overhaul), had a new release last Friday.
jrimbault··on Welcome to C# 9.0
In C# I'd like to able to :

- declare a namespace for the file (no indentation)

- declare that the file is a class and can only contain one (top level) class (still no indentation)

- `using` statements that don't import every symbol into my namespace :

    using System.Console;
    ...
    Console.WriteLine();
instead of :

    using Sytem;
    ...
    Console.WriteLine(); // where does "Console" come from ? god/IDE only knows
But yes, no to top-level programs.

But alreay with these few changes, I've saved 10% of the 80 columns width. I've made it easy to read a file without an IDE. You can start to write actual code at indentation level 0. I've made it easy to have one class per file and hard to have two class per file, in the spirit of making good pratice easy and bad practice hard.

jrimbault··on Welcome to C# 9.0
I think they said it was only a compiler error, it's still a normal setter underneath, so newtonsoft would not see any difference.
jrimbault··on Tiny websites are great
I didn't see myself asking Tom Scott for his sound effects, the ding is also not the same. And my friends and I have our own gimmick, generally more cheese-based (raclette or fondue) than biscuit-based.
jrimbault··on Tiny websites are great
yep, didn't care about it :)

It's tiny, it's fun, it's enough. Keyword : enough. Yes I could add a preventDefault, but I don't care. Really, I only entered the names of my friends once, it has been in my localStorage since, and it's only really meant to be used by me.

Fixed it.

jrimbault··on Tiny websites are great
https://jrimbault.io/citation_needed/

I made that _tiny_ website for evenings with friends. It works great. You enter a few names, hit the save button, you get a list with scores and a +1 button for each players. When you refresh the page the scores are reset. The most important feature is the _ding_. The ding makes it fun.

It's ridiculously small, but it brings lots of fun.

jrimbault··on Five Years of Rust
Just to point out for other readers, nowadays to make a custom error type you just need :

- an enum (or struct)

- its Display implementation

- its Error implementation, now just one function

And a few `impl From<OtherError> for MyError` to make the try? operator work.

For a library it's really not that much work. And even that can be simplified further to a few derive macros with another library : thiserror.

jrimbault··on For cops who kill, special Supreme Court protection
https://en.wikipedia.org/wiki/Definitions_of_fascism#Umberto...

It's my own preferred definition (Eco's definition), the essay itself is very short, highly recommend it. No mention of state or corporation.

jrimbault··on Making Emacs Popular Again
I did not say they are stupid. I'm saying some communities build on pseudo-elitism. It's not stupid to enjoy using a text editor. It's stupid to argue that because it's hard to use (and hard to master) "you're just not getting it".

I think the expirement is over and conclusions can be drawn : emacs represent a tiny proportion of text editor's users, not because of a lack of features (is there's one thing missing it won't be for long), but because of what it is and the people and community around it.

jrimbault··on Making Emacs Popular Again
And yet I could get a few things done in vim in a few minutes, and much more than that in a few weeks. And I choose not to use vim. And yet you said vim has insane key mapping but more people somehow use vim than emacs. Some things are not adding up. Emacs has excellent documentation but somehow very few people are able to use it. Some things are not adding up.

Emacs interface and community mannerisms _are_ user-hostile. As demonstrated by history.

jrimbault··on Making Emacs Popular Again
It's usually the Ctrl key, but most emacs users would rebind that. So it's not the Ctrl key.
jrimbault··on Making Emacs Popular Again
Exactly what I mean. It is insane. I can't get it straight. I really tried years ago. But it is plain and simple stupid.

Words once written don't need to be abbreviated. Abbrevation is only useful when writting for speed. When writting for being read don't use them.

jrimbault··on Making Emacs Popular Again
> "Perhaps we should implement a mode that puts cosmetics on Emacs so it will appeal to those who judge by the surface of things."

I'm sorry to react to first quote, but as I kept reading I kept coming back to it. My thoughts on that : how you present yourself is how you want (and are going) to be judged.

In general I think Emacs has been user-hostile, as said here, just by its terminology. Nobody outside a minority of devs (a minority even among programmers) refers to Ctrl+c as C-c.

> Yes, make Emacs appealing and user friendly. But don't forget that a masterful tool in the end requires mastery, which can't come for free.

And the old "I have suffered therefore the others have to suffer".

jrimbault··on Nintendo has reportedly suffered a significant legacy console leak
Very first season, it's why they leave the girl (played by Mackenzie Davis, and I can't remember the character's name) alone in a closet with a computer terminal and a big binder, the binder had been written by the other two main protagonists beforehand.
← PreviousPage 7 of 18Next →