Better HN
topnewbestaskshowjobs
Log inSign up

throwamon

901 karma · joined Nov 21, 2020 (6y ago) · 390 submissions

Submissions

comment 4y ago · link · parent

Have you tried running them with Nix? I believe you can use most things from it without root, but I'm not sure.

comment 4y ago · link · parent

Yeah, but I bet most (western?) people don't know the slightly less obvious concept that not all writing systems are alphabets.

comment 4y ago · link · parent

Might as well link to an open source alternative: https://riju.codes/

Fun fact: Whenever I want to remember the name of this project, I just look for it on the front page of https://hn.algolia.com thanks to one of the most upvoted HN posts of all time, "Replit used legal threats to kill my open-source project": https://news.ycombinator.com/item?id=27424195

comment 4y ago · link · parent

pseudo*

pseudo*

pseudo*

comment 4y ago · link · parent

Don't forget Darcs, which is the original implementation of patch theory. I read somewhere that it used to be dismissed because of quadratic complexity on some operation but that this has been solved quite some time ago.

Edit: Correcting myself (and go do your own research, I'm not even remotely involved in any of these things):

> Darcs 2 recently [2020] solved the exponential merge, but it is now quadratic (which is still exponentially slower than Pijul instead of double-exponentially)

https://news.ycombinator.com/item?id=25473473

comment 4y ago · link · parent

Common misconception. Actually it's a Fibonacci sequence, so the next one really is https://rrr-project.org and then it's https://rrrrr-project.org.

This does also mean that there's https://-project.org, and that https://r-project.org secretly disambiguates into two different projects.

comment 4y ago · link · parent

Aren't benchmarks supposed to be more or less reproducible? So just publish the results and the data?

comment 4y ago · link · parent

I wasn't sure if you were joking, so I googled "oracle north korea". This is the first result:

https://www.upi.com/Top_News/World-News/2020/10/07/North-Kor...

comment 4y ago · link · parent

Sounds like OCaml is exactly what you want. Many of Rust's features are even inspired by it.

comment 4y ago · link · parent

> viola

Oh, the irony...

comment 4y ago · link · parent

I'm a garbage collector, at least when coding in C.

comment 4y ago · link · parent

> most people aren't watching the same thing

I wouldn't say that. YouTube is happy to pick semi-random popular videos from 14 years ago and generic crap and [re]viralize them by shoving them into everyone's recommended feeds, so much so that comments like "the algorithm has brought us together again, see you in 10 years" have become a meme.

comment 4y ago · link · parent

So... This might be a good opportunity for me to clear up some of the doubts I've had for a long time. I don't really work in "teams", I'm an amateur and all projects I've worked on have been just myself, for myself. So please bear with me.

Most of the things I do aren't really that important, but there's this one project where I need everything to work perfectly, or else I need to know about issues as soon as possible.

The whole thing depends on input I get from scraping, which basically means the data model can change at any time and there's a myriad errors that can happen. Besides from this input data, I also have to check that my "big-picture" assumptions about the model are correct before the actual program runs. In particular, the sample data already determines what values should be possible for most database tables; these tables don't change during program execution. I have a(n also immutable) config file that determines what can be queried from the database. This means I can prove that my config is/isn't correct (e.g. the program should never try to query for an inexistent value) before the program runs. And it should then be possible to turn these values into types to further tighten up the code and my workflow. But creating types from database values just feels all sorts of wrong. Or is it not?

All I really want is something that is DRY while also 100% ensuring the consistency of data before I run the program. I guess my idea is: Everything that can be automatically proved about the program before it runs, should be, and it should be stopped on its tracks before running if it's provably incorrect. I don't see how Clojure does that.

From everything I've read about Clojure, it sounds like the perfect fit for this kind of thing, but in the end I always conclude I'm too dumb and undisciplined to rely on myself to use it correctly. I make too many mistakes that boil down to assuming something has a different type than it actually has, or that it has a field it actually doesn't, I forget about checking important conditions, etc. And, to be quite honest, I'm too lazy for my own benefit, so I need the system itself to force me to do it the right way, while Clojure assumes you're responsible enough.

So I guess my question is: If I switch to Clojure for a critical project, how can I sleep at night?

134.

The End of Indie Web Browsers: You Can (Not) Compete (2020)(blog.samuelmaddock.com ↗)

2 points · by throwamon · 4y ago · 1 comment

comment 4y ago · link · parent

Related: "Probably the most complete python dependency database" - https://github.com/DavHau/pypi-deps-db

> This data allows deterministic dependency resolution which is required by mach-nix[1] to generate reproducible python environments.

[1]: https://github.com/DavHau/mach-nix/

136.

Reverse-engineering Pimsleur to enhance short-term memory stability (2012)(supermemoadventures.blogspot.com ↗)

2 points · by throwamon · 4y ago · discuss

137.

Exposing problems in JSON parsers of several programming languages(github.com ↗)

3 points · by throwamon · 4y ago · discuss

comment 4y ago · link · parent

See also: Pyret, a Python-inspired functional language by the creators of Racket - https://www.pyret.org/

comment 4y ago · link · parent

See also: https://news.ycombinator.com/item?id=31478308

And no, I didn't get the URL wrong ;)

(meaning: just read TFA)

comment 4y ago · link · parent

I love what the Internet Archive does and I assume it pisses off many big fish. How do they get away with so much content? What guarantees are there that they're going to be able to preserve digital history in the long term?

comment 4y ago · link · parent

nor*

comment 4y ago · link · parent

I know I'd pay just to never see an ad again because I don't care about them at all. If one slips through the cracks I do whatever I can to suppress it as soon as possible while actively denying any form of sensorial engagement with it. I suppose this is true for many people and paying might be more convenient than using adblockers, installing alternative apps, using PiHoles...

comment 4y ago · link · parent

To anyone looking for a HN-like community with tags, Lobste.rs seems like a pretty good one. It has a few other interesting features, such as an invite tree (so you're more or less responsible for the people you invite) and "hats" ("a formal, verified, way of posting a comment while speaking for a project, organization, or company").

comment 4y ago · link · parent

Any plans to implement something like Phonenix LiveView? I've never used Go, but from what I've read I suppose it should work really well given Go's concurrency model. (The name "Livebud" gave some hope as well.)

comment 4y ago · link · parent

If you haven't already, check out Nix/Guix.

comment 4y ago · link · parent

> Why would the omega 6/3 ratio matter?

You might also ask yourself: Why would the HDL/LDL ratio matter? Why would mineral ratios matter? This pattern is not unique to Omega 3. Search for "micronutrient ratios", also timing the consumption of certain vitamins and minerals, fiber, etc. Nutrition isn't just about putting enough molecules into your body.

comment 4y ago · link · parent

You're right, I was rude, sorry.

comment 4y ago · link · parent

The issue with psychedelics has nothing to do with addiction. Google "psychedelics set and setting" and "psychedelics psychosis risk factors" for a start.

comment 4y ago · link · parent

> I've lived long enough and seen enough synchronicities to know that reality is far more entangled than a cause and effect standpoint would have you believe.

I've no idea what you mean by that.

> This video is the world we live in.

Reality includes komodo dragons, just as it does kindness. You say nature isn't "humanoid" and then ascribe to it qualities like ruthlessness. You're just as biased and delusional as whoever you're criticizing.

comment 4y ago · link · parent

I, for one, have the attention span and knowledge organization skills of a Phineas-Gaged goldfish, so it's good to be externally reminded of the existence of good things from time to time.
1
456
13