Better HN
topnewbestaskshowjobs
Log inSign up

adaszko

66 karma · joined Dec 4, 2008 (17y ago) · 45 submissions

https://github.com/adaszko/
Submissions

comment 10mo ago · link · parent

How are you going to infer what's harmful if you're only going to research healthy people?

comment 10mo ago · link · parent

Just compare this with actual scientific findings and see for yourself: https://www.nature.com/articles/s41591-025-03570-5

comment 2y ago · link · parent

Check out Proxmox + https://tteck.github.io/Proxmox/ + lxc container snapshots on the NAS and set up Proxmox backup server on the Pi. I find such a setup to be "all benefit, no giving up anything", contrary to NixOS.

comment 2y ago · link · parent

http://pikchr.org/ is great

comment 2y ago · link · parent

Here's [1] how well the references check out for Taube's previous book. Is there any reason I should believe his newer books are any better?

Here's a study funded by Taubes himself (!) That disproves his earlier claims: https://examine.com/articles/low-fat-vs-low-carb-for-weight-...

[1]: https://thescienceofnutrition.wordpress.com/2014/04/05/good-...

6.

Good Calories, Bad Calories: A Critical Review(thescienceofnutrition.wordpress.com ↗)

3 points · by adaszko · 2y ago · discuss

comment 3y ago · link · parent

A new programming language based on "mutable value semantics" has been renamed from Val to Hylo. It was a frequent complaint that the former name was too similar to other existing languages like V, Vala, and Vale. Mutable value semantics is a new way to efficiently pass around data structures without having explicit references/pointers present in the language and complicating semantics. Pointers are basically relegated to a status of a possible optimization that the compiler can perform at the assembly level.

8.

Show HN: Complgen: Generate {bash,fish,zsh} completions from a EBNF-like grammar(github.com ↗)

2 points · by adaszko · 3y ago · discuss

9.

Usenix SREcon APAC 2022: Computing Performance: What's on the Horizon(brendangregg.com ↗)

3 points · by adaszko · 3y ago · discuss

comment 3y ago · link · parent

Oh, interesting. Is v3 just a new API or a new algorithm altogether?

comment 3y ago · link · parent

There’s a Bayesian stats approach to spaced repetition: https://fasiha.github.io/ebisu/

AFAIU, SM2 computes the datetime of a next review, whereas Ebisu models a probability of remembering a given flashcard. It seems it’s a more straightforward representation that’s more amenable to implementing functionalities like “show me 10 least remembered cards”.

comment 4y ago · link · parent

There was a point when this was joke poking fun at emacs users. With time, it makes more and more sense. Foot pedals offload some strain from your hands to your feet which in theory sounds healthier when it comes to joints. They may even improve blood circulation to your feet. Something which is quite desirable given the sedentary nature of computer work.

comment 4y ago · link · parent

This article goes into a little more detail which may be useful: https://www.dannyadam.com/blog/2019/05/debugging-in-vim/

comment 4y ago · link · parent

It's astounding how much quality material and tools exist for learning Japanese, compared to eg Chinese. JPDB looks fantastic.

15.

In Praise of ‘Line Goes Up’(stephendiehl.com ↗)

9 points · by adaszko · 4y ago · discuss

comment 6y ago · link · parent

There's also Falcon[1] Chrome extension which does full text indexing on your browser history so if you read something and can't either Google it or find it in the browser's history, Falcon will broaden the search scope.

[1] https://chrome.google.com/webstore/detail/falcon/mmifbbohghe...

comment 6y ago · link · parent

https://queue.acm.org/detail.cfm?id=1814327 followed by http://varnish-cache.org/docs/trunk/phk/notes.html have completely transformed how I view and architect software. I basically started to strive to leave as much memory management as possible to the kernel thus not only simplifying my code but also making it behave better as citizens in the country that the operating system is, if you will.

comment 6y ago · link · parent

Me too! Any other resources you can share?

comment 7y ago · link · parent

> One of the major reasons behind the superior performance of async/await futures relative to threads/goroutines/etc. is that async/await compiles to a state machine in the manner described in this post, so a stack is not needed.

That's a great optimization but doesn't that mean it also breaks stack traces?

comment 7y ago · link · parent

For my ideal work desktop, I want to have tools assigned per task that I can easily assemble until that task is achieved. As a spitball idea: Cmd-space, type in "research open sourcing my kindle", and get given a browser and some sort of note collector. Collect the various things from the session into my note, refile the entire stack as a project, and move on to the next task. In the future, I can access the actual project and receive a workspace with terminals, an IDE or whatever else I need to Get the Thing Done, archived versions of the sites I opened, etc. Ideally, the environment would be designed to reduce distractability.

I'd willing to donate money, work, or both. Is anyone working on something like that?

comment 7y ago · link · parent

What mental models have you learned from it?

comment 7y ago · link · parent

I wish there was one too, but programmer-oriented types are not the same thing as machine-oriented types. Compiling to fast code requires the latter one: types like u32, not Dict[String, int]. Current Python typing efforts tend to focus on programmer-oriented types.

23.

Multi-OS Engine: Native Feeling Mobile Apps for iOS and Android in Java(multi-os-engine.org ↗)

1 points · by adaszko · 7y ago · discuss

comment 7y ago · link · parent

Tomas Vondra goes over this in the talk. There's a rationale for that behavior: pulling out a USB stick out of the USB socket may have been what's triggered the fsync() failure. In that case, there's no way the kernel will be able to retry reliably.

comment 7y ago · link · parent

With pip for instance, it often happens that a transitive dependency gets updated inadvertently breaking your code. This follows from the assumption that all packages follow semantic versioning perfectly and keep backward compatibility where they should. This is not the case in practice and experience has shown it is unrealistic to have that assumption. A better way is to rely on exact versions of packages (up to a single bit) and not on semantic versioning.

comment 8y ago · link · parent

Even if so, this is an acceptable incentive for people to comment with Amazon links. If find this a problem for services like http://hackernewsbooks.com/ (there are few others). If someone mentions just a title of a book, it doesn't get indexed.

comment 8y ago · link · parent

Does this matter anywhere outside of embedded software nowadays?

28.

Telling Stories About Little's Law(brooker.co.za ↗)

1 points · by adaszko · 8y ago · discuss

comment 8y ago · link · parent

It was a superb piece of software back when I used it. Huge kudos!
12