3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions
In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.
comment 2y ago · link · parent
The common refrain of a teenager... https://www.npr.org/2016/04/15/474348291/why-teens-are-impul... honestly at that age I never went out of my room, and I still got in trouble. If you do develop some self-control, you could look at https://blog.benjojo.co.uk/post/dive-into-the-world-of-dos-v... or https://www.sciencedirect.com/science/article/abs/pii/B97801... (c.f. also https://hackmd.io/@_01X9rimQmWH33Djf8QhoA/SkygF9WdP which is based on that book)
comment 2y ago · link · parent
Does this really help people learn the material? I am doing a presentation on networking in a week or two for a high school group. Certainly I could include stuff like this, but to me it seems more like a distraction. If I was writing this I would rather include something like a sample table of how IDT's were used by old DOS video games. (Disclaimer: I'm 30)
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
At least in the US, I think children are perceived as a nuisance right now, and adding special rules for them for airlines doesn't really change that. If anything it makes it worse. Some campaign like "don't get a dog, get a child" might have more appeal. E.g. one could point out how you can't bring a dog on a plane except in a carrier but a child gets their own seat.
comment 2y ago · link · parent
comment 2y ago · link · parent
But regarding diagnosis, there are symptom checkers where you feed stuff in. I get the impression that multiple companies are in the process of building such tools based on crawling research papers to diagnose even very rare conditions. IIRC IBM Watson had such functionality.
comment 2y ago · link · parent
comment 2y ago · link · parent
I think that's the crux, does anyone have an argument for why l should be (1 2 3) instead of (23 2 3)? It breaks referential transparency that you have to substitute the value of h into setf to get it to work.
comment 2y ago · link · parent
comment 2y ago · link · parent
Going by performance (https://krausest.github.io/js-framework-benchmark/), Svelte 4 is essentially vdom, Svelte 5 is ultra-efficient based on the direct-DOM approach pioneered by Solid. Svelte 5 is currently a release candidate, API stable but also not necessarily production ready. https://svelte.dev/blog/svelte-5-release-candidate
Disclaimer: I haven't actually looked at Svelte 4 to see why it is so much slower than Svelte 5
comment 2y ago · link · parent
So if your app was for Android, it would not be installable on new devices.
For iOS I am not sure, I think they are better about leaving old apps alone.
comment 2y ago · link · parent
comment 2y ago · link · parent
What I was saying is I don't think N_51 is the right way to model a dose. I would model it as a real number in the interval [0,50]. I would still round whatever the model gave to what I could actually measure out decently, but within the model I would not use discrete numbers.
comment 2y ago · link · parent
> Especially, a diabetic patient is warned that unauthorized use of this software may result into severe injury, including death.
I like the idea of the post - I have actually been thinking about including some biophysical models for medications in my app - but I do think that if you don't understand what a system of differential equations is, maybe trying to use a software library as a black box is a bad idea. For example... genetic algorithms... really? Like use a shooting method or bisection or something. If you have 3 doses you have 3 variables and it is all continuous so searching the space of inputs should be much easier than examining 51^4 discrete possibilities.
comment 2y ago · link · parent
comment 2y ago · link · parent
... or do they just need ChatGPT? Because the rubber duck effect is real, but I think people have the capability to succeed by themselves.
comment 2y ago · link · parent
I think so, because you can use the income on consumables. Like say you got a no-limit credit card. You go on exotic vacations at tropical resorts. All you have are some (economically worthless) photos of yourself having a great time. When the credit card company comes calling, you turn out your pockets and say "sorry, I'm broke", and walk away to your next plane flight. Definitely seems like a good deal to me, not so much for the credit card company.
The simple fact is that most people are wealth-neutral or even wealth-destroying in that e.g. they wreck their car and just buy another.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Ellie Phillips is a big fan of xylitol though. The science on that is a lot less clear, e.g. how much xylitol is necessary in gum (she of course advocates huge amounts), and then she also sells mints which have little effect on plaque. (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8791908/) I sort of ignore that, just because she has to make money doesn't mean the rest of her advice is not evidence-based.
comment 2y ago · link · parent
comment 2y ago · link · parent
They mention Nix but I guess they are referring to the use_nix integration built-in to direnv? There is a fairly detailed (but old) comparison in https://github.com/direnv/direnv/wiki/Nix#some-factors-to-co... and in the meantime lorri and nix-direnv are the only ones still maintained. But you aren't limited to Nix when using direnv, for example there is nvm. https://github.com/direnv/direnv/wiki/Node#using-nvm
Actually, the post's solution, besides being built on top of direnv, uses Devbox, which itself is built on top of Nix... https://www.jetify.com/devbox/docs/faq/#how-does-devbox-work So they are saying they are outside the Nix ecosystem when in fact they are in it. It is yet another set of nice scripts on top of Nix.