HNHacker News
TopNewBestAskShowJobs

scambier

596 karma · joined March 11, 2015

submissionscomments
scambier··on Monty Hall Problem
The point of opening the 98 doors is to make the math - and the fact that switching doors is safer - more obvious.
scambier··on CodeMirror 6.0 Stable Release
For a good portion of its users, an important feature of Obsidian is the use of flat Markdown files.
scambier··on Almost all searches on my independent search engine are now from SEO spam bots
> doesn't have any ability to monitor my actions after I have left the presence of the physical store

What a coincidence, Plausible doesn't either.

scambier··on Almost all searches on my independent search engine are now from SEO spam bots
Also notice how I said "analytics package" and not "tracking" in my comment, because there is no tracking. I mean, unless you're the only visitor from a specific country, there is literally 0 identifying data in Plausible.
scambier··on Almost all searches on my independent search engine are now from SEO spam bots
If you self-host Plausible, it's also possible to bundle the analytics package with the website, so that there's isn't an "ad-blockable" lone request for the .js file.

https://github.com/plausible/plausible-tracker

scambier··on The Beautiful Diablo 2 Resurrected Machine
Roguelikes, in the traditional sense, are definitely turn-based games.
scambier··on I saw a cool truck today
The issue being discussed is the lack of price tags. If I'm a foreigner and don't speak the language, at least I know how much I'll pay beforehand.
scambier··on Elon Musk makes $43B unsolicited bid to take Twitter private
> This is one case where an equivalence argument is actually valid

Yes, absolutely, banning Nazism is 100% equivalent to killing Jews. Freedom of speech definitely depends on letting nazis spread their views. Declaring that nazis are bad for society is a dangerous view.

Totally normal things to say.

scambier··on The New York Times has requested that I shut the archive down
I think there's a little more work involved into writing a book than into randomly shuffling a list of words.
scambier··on pnpm: Fast, disk space efficient package manager for JavaScript
Good to know, thanks!
scambier··on 25+ years of personal knowledge management
I spent some time to build my own web-based markdown editor, and was using minisearch[0] to index and do fuzzy search on my notes. I've recently switched to Obsidian and plan to make a similar extension in the next weeks.

[0]: https://www.npmjs.com/package/minisearch

scambier··on pnpm: Fast, disk space efficient package manager for JavaScript
I was unable to use pnpm with a project that used Electron (~2 years ago), IIRC because some spawned process was incompatible with symlinks. It's the only time it caused me trouble though, it's indeed much faster than npm. I'd love to use it at work too.
scambier··on pnpm: Fast, disk space efficient package manager for JavaScript
pnpm uses its own lock file (pnpm-lock.yaml), while npm uses package-lock.json

You definitely should use the same manager (npm, yarn, pnpm, whatever) as your teammates' or you're going to run into problems, either with them or with your CI workflow.

scambier··on Tell HN: My kid's school installed spyware and I can't remove it
I did that for convenience (though now I removed it), but the work profile seemed to be well compartmentalized from the personal part, and there was a strong emphasis on this fact before the installation process. If they were to wipe it, only the work profile would be affected. I fortunately never had to try it...
scambier··on 25+ years of personal knowledge management
+1 for "use search instead of organization".

I've been taking notes for 2 years, zettelkasten-style, and 90% of them are just dumped in the same directory, without links or tags. If I'm looking for something and remember that I might have that in my notes, I just search for it.

That also implies that, when writing a note, I sometimes add a line with a few related keywords and synonyms.

scambier··on Chrome 0day is being exploited now for CVE-2022-1096; update immediately
If your Electron app executes third party, remote code. But if it does, you should definitely not use it.
scambier··on Wordle is pretty damn smart in many subtle ways
For you words list, you can look here: http://www.3zsoftware.com/fr/listes.php
scambier··on Wordle is pretty damn smart in many subtle ways
I'd say it's 50% luck and 50% strategy. I have written my own clone, and my colleagues play it everyday and share their result. I can tell that some people are consistently _really_ good at it and never lost a single game, while some are average at best.

Of course, if you pick the right word in 3 tries or less, it's mostly luck. But beyond that, you have to plan a little bit ahead, recognize there are more possibilities than available lines, and act accordingly. That's when the game becomes interesting, and gives a little bit of dopamine. Finding the word in <= 3 tries is nice if you want to brag a bit, but not really satisfying. It's when you finally find it at your 5th or 6th try that it's pleasing.

scambier··on Wordle is pretty damn smart in many subtle ways
If you like the code-golfing aspect of it, I suggest you take a look at the #tweetcart hashtag on Twitter, there are some incredible demos in 280 chars or less.
scambier··on What Fortran does better than C-like languages
The contempt is justified. `goto`s break the flow and make the code harder to read and reason about, and thus make it easier to introduce bugs. It's an instruction that's almost never _needed_ today, because there is always a better structure to use instead.

I only use it in Lua, to compensate for a lack of `continue` in loops.

scambier··on Discord is a black hole for information
> I've been in programming IRC channels since the late 90s. People asking the same questions as someone else asked the day before was the norm back then too.

With the huge difference that IRC did not have chat history, unless you used a bouncer

scambier··on Wordle Now Redirects to NYT
There are - literally, and at the moment of this post - 473 referenced Wordle clones in 118 languages. Among those 473 clones, very few derive from the original Wordle rules or layout.

https://rwmpelstilzchen.gitlab.io/wordles/

scambier··on Web hacking techniques of 2021
quick unrelated question: do you use a tool to draw the indent levels?
scambier··on State of the Web: Static Site Generators
> Static sites are nice from a deployment perspective, but CMS's make a lot of things easier than static site generators do. Seems like there's room to have the best of both worlds.

A few years ago I wrote a static generator for Ghost. The workflow was the following:

- A Ghost instance runs on my raspberry pi

- I log into it to write content, and save

- A hook is triggered by the content update (this is a native Ghost feature), that sends an HTTP request to a local ExpressJS instance

- A script downloads the whole dynamic Ghost site as static files, fixes the links, and then publish them somewhere

It was _very_ brittle but it worked for my use case.

scambier··on Windows urges users to use Bing same way as urgent security warnings
We're not talking about rootkits or malware, but about a default browser application, and a default search engine.
scambier··on Aaron Swartz Rememberance Day This Monday
And the following paragraph begins with "Eight years later, as we emerge from the global pandemic"

So definitely a copy-paste error on the date.

scambier··on Syncthing – a continuous file synchronization program
I really like Syncthing, I have it installed on my computer, phone, and VPS, but it's definitely not made for non-technical users. I have a "family" folder with a few important documents that are also shared on my girlfriend's computer and phone, but I use Resilio Sync for those.

While Resilio is slightly less secure (debatable) than Syncthing, their UI and UX are vastly better, and virtually no different than something like Dropbox or Google Drive. I fully understand that Syncthing's developers have different priorities than UI and UX, but I'd love to see it become more mainstream.

scambier··on Why video game doors are so hard to get right [video]
Relevant Twitter threads:

https://twitter.com/ZenOfDesign/status/1369336758211608583

https://twitter.com/kurtmargenau/status/1369342602177220609

scambier··on I Have Decided to Stop Supporting My Family's Non-Linux Devices
Just like the parent said then,

> If you do not want to support your family, fine - no need to announce it to the world

scambier··on The complicated reality of doing what you love
> If you can find a job you love, certainly do that, but don't hold the expectation that if you can't find a job that you love, something is wrong with your life

Thanks for clarifying, that's indeed what I didn't get from your original message

← PreviousPage 3 of 6Next →