HNHacker News
TopNewBestAskShowJobs

notemaker

186 karma · joined February 7, 2018

submissionscomments
notemaker··on Ask HN: Does NixOS live up to its promise?
Basically, albeit a bit more verbose. If you're looking to do this on a per-project basis, then yeah Flakes would be a good choice.

See https://nixos.wiki/wiki/Flakes#Input_schema for some idea on how it would look.

The main obstacle for you here is learning the Nix language and how to use it for nix packages. It's not an easy task, but it does meet your requirements.

https://nix.dev/ is a good resource in addition to https://nixos.org/manual/nixos/stable/ and https://nixos.org/guides/nix-pills/

notemaker··on Tell HN: Udacity dark pattern to cancel a subscription
The Economist uses the same pattern.

It's nice if you're aware of it and willing to use it for discounts (faking that you want to unsubscribe, knowing that you'll get a better deal during the attempt), but if you actually want to cancel the service it's awful.

notemaker··on Ask HN: Does NixOS live up to its promise?
Supporting all older versions of packages would be a nightmare to maintain - not only from a security perspective.

You have three options afaik:

1. Pin your package repository

2. As answered in your last linked issue: specify a package with git

3. Build it yourself

I think this compromise is gold. Update your package registry and get the latest stuff (or even bleeding edge if you point to unstable), pin manually when you care about the version.

notemaker··on Tell HN: Rise in AWS accounts getting hacked and owner being stuck with the bill
aws-vault works too
notemaker··on LastPass Login Attempted Activity Blocked – More Information
Fwiw I also received this email, even though I deleted my account (faced with the now infamous error message "something went wrong: A").

I did not receive a confirmation that my account was deleted, the only evidence of that is that I can't log in anymore.

notemaker··on Ask HN: What Operating System are you running on your main machine?
Nix OS
notemaker··on Ask HN: How did my LastPass master password get leaked?
Same. Looks like the deletion went through tho - can't log in anymore. Knock on wood.
notemaker··on YubiKey Bio Series
Yes, see e.g https://www.zwipe.com/

But would of course depend on the sensor. Zwipe uses a sensor from the Swedish company FPC

notemaker··on My trust in software, an all time low
> (OTOH, you're stuck with a similar driver mess if you want a DualShock or JoyCon on Windows, so w/e)

Recently bought a PS5 controller and while not supported natively on either Linux/Windows, Steam does pick it up without any configuration (on both OS:es).

It's really leveled up my PC gaming experience: I get the same feeling as playing on console with the freedom of PC.

notemaker··on Ask HN: What are some good resources for a programmer to learn UI/UX design?
I legitimately hated the book for bringing badly designed doors to my attention. Ignorance truly is bliss :)
notemaker··on Include-what-you-use: A tool to analyze includes in C and C++ source files
"you need to just look up the documentation of your dependencies and their dependencies"

Exactly, which seems directly opposed to the Ruby ethos of happy developers.

I do appreciate the magic of having stuff like 5.bytes or 8.days, but I don't see the reason for having runtime imports or at least warnings that you're using modules required elsewhere.

notemaker··on Include-what-you-use: A tool to analyze includes in C and C++ source files
I've thought about this too. C libraries usually have sensible prefices though, e.g. curl_, and if not a man-page. So for C specifically I don't have this issue.

Ruby though... I really hate it. Overloading on numbers for example. Which module lets you do 5.some_verb? Where did you import it?

In python and C you have imports local to the file or included headers. In ruby it doesn't matter as long as it's been imported somewhere in the same runtime??

Absolutely bonkers.

PS: I am quite new to ruby so please enlighten me if I have it all wrong :)

notemaker··on Ask HN: What Are You Working On?
Jodel [1] had a good run in Sweden a couple of years ago. Don't think it's as popular as before, but it's still used afaik.

[1]: https://jodel.com/

notemaker··on Are deep neural networks dramatically overfitted? (2019)
Let's remember though that Imagenet is not a good representation of reality.

See e.g. performance on OjectNet, https://objectnet.dev/, when trained on Imagenet. For the same classes, we see _dramatic_ drops in accuracy.

notemaker··on Ask HN: Catching Up with Python – Resources?
https://www.oreilly.com/library/view/fluent-python/978149194...
notemaker··on Ask HN: What are your favorite essays?
His idea sounds similar to the secretary problem [1].

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

notemaker··on Ask HN: How do you manage and store family pictures/videos
Pasting my own answer from [0]:

---

For myself and my family, I wrote my own tool [1] that runs everyday on an "input folder". A quick google on "github photo organizer" shows a lot of others having done the same :)

It organizes all traversed photos by date (extracted from exif or from filename), and puts them in a "failed" folder if it can't parse the date.

If any photos get the same name, they are either deduped because they are exact duplicates, or are marked as conflicts (e.g. A.jpg and A_conflict1.jpg) if they are different.

Last time I used it for a large input it took 3h for 200GB, though I suspect network latency was the main bottleneck.

It's around 300 lines of python - verify the code for yourself if you want to use it! You probably also need to fork it if you don't intend to run it on a Synology NAS.

However, as I mentioned last time I pitched this, elodie [2] might be more suitable for others than my little hack. Haven't used it though!

1: (https://github.com/johan-andersson01/photo_organizer

2: https://github.com/jmathai/elodie

---

0: https://news.ycombinator.com/item?id=24019612

notemaker··on Your Phone Is Your Castle
In Sweden, all users are locked to whatever OS:s our mobile ID verification app BankID [1] supports. Yes you can opt to use a physical 2fa device to log onto your bank, but you're missing out on 99% of the digital banking infrastructure.

So, even if I'd like to order one, I won't. The friction is too great.

[1]: https://www.bankid.com/en/

notemaker··on Attention is your scarcest resource
This is touched upon in [1]. Great book.

[1] https://duckduckgo.com/?q=Vernon%20Vinge+A%20Deepness%20in%2...

notemaker··on Habitica – A gamified habit-building and productivity app
Activitywatch is free and self hosted.
notemaker··on Ask HN: How Belarus can keep connected despite internet blackout?
Maybe scuttlebutt could work, if the gossiping works across mesh wifis.
notemaker··on Ask HN: How do you organise and de-duplicate photos from old storage?
For myself and my family, I wrote my own tool [1] that runs everyday on an "input folder". A quick google on "github photo organizer" shows a lot of others having done the same :)

It organizes all traversed photos by date (extracted from exif or from filename), and puts them in a "failed" folder if it can't parse the date.

If any photos get the same name, they are either deduped because they are exact duplicates, or are marked as conflicts (e.g. A.jpg and A_conflict1.jpg) if they are different.

Last time I used it for a large input it took 3h for 200GB, though I suspect network latency was the main bottleneck.

It's around 300 lines of python - verify the code for yourself if you want to use it! You probably also need to fork it if you don't intend to run it on a Synology NAS.

However, as I mentioned last time I pitched this, elodie [2] might be more suitable for others than my little hack. Haven't used it though!

1: (https://github.com/johan-andersson01/photo_organizer

2: https://github.com/jmathai/elodie

notemaker··on Ask HN: What do you recommend for optimization and profiling?
Anyone have experience with coz? The talk made it seem brilliant, but I haven't been able to make it work.
notemaker··on Ask HN: Non-cloud voice recognition for home use?
https://rhasspy.readthedocs.io

Haven't used it, but seems very nice.

https://youtu.be/ijKTR_GqWwA

notemaker··on Ask HN: How to keep yourself accountable?
Activitywatch is nice
notemaker··on Tell HN: I came up with an interesting way to do decentralized account recovery
> Dark Crystal

Is there any white paper or something similar?

notemaker··on Ask HN: I lost my ability to focus for hours on coding. How to regain?
Mayhaps not as necessary as the first two, but having separate wardrobes for work and free time can help trigger you into a work mindset.

That said, it doesn't need to be a 3 part suit.

notemaker··on Generate Hacker News Comments from Titles
Took a few tries before something fun came up, but this one blew me away (OP title as input).

> Wow, the quality of the comments is impressive. But it also shows the top comments that have appeared from time to time.

notemaker··on Ask HN: How do you organise your hard drive?
An update for the curious:

I reduced the total running time of ~60 hours to ~3 hours by connecting my PC and my server directly with an ethernet cable :)

notemaker··on Ask HN: How do you organise your hard drive?
While I initially avoided looking for any similar project (because I want to build it myself!) I now discovered elodie [1] which seems to serve the same purpose as my script.

For any others than myself, that might be more suitable.

[1]: https://github.com/jmathai/elodie

← PreviousPage 3 of 4Next →