Better HN
topnewbestaskshowjobs
Log inSign up

Mathnerd314

3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions

Making the ultimate programming language https://mathnerd314.github.io/stroscot/

In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.

Submissions

comment 3y ago · link · parent

Clickbait title? The window title is "How Google made the world go viral" which is IMO a much better title.

comment 3y ago · link · parent

I remember learning about hyperbolic and spherical geometry in middle school, and that was cool. Not really because of the axiomatic aspect, but more of the "how many lines can you draw through two points? Up to you!" sort of questioning of mathematical assumptions and the funny diagrams. The Fano projective plane model was interesting, the Poincaré disk model was interesting. I remember some animations and some interactive software you could play with. But yeah, after about a week I got bored of it. I would say one 2-hour session devoted to different geometries and constructions would probably be about right.

The Euclid's Elements approach of axiomatic geometry is interesting, and suitable for maybe a high school course. Before students learn algebra they don't really have an appreciation of deriving equations or proofs from a small starting point. And coordinate geometry is much more practical (some things are simply unconstructible with ruler and compass).

comment 3y ago · link · parent

I think that's the point, the paper is saying "a linear model was a good fit" when P=0.11. It's not at all a strong fit, compared to e.g. physics where p=1e-5 is desired. You'd think with 300k data points the results would at least be "statistically significant", p<0.05. The only data they present is averages over countries so I wouldn't be surprised if there was a huge effect of which site the worker was at, and their analysis deliberately ignores this effect by averaging, instead of including it as an explicit variable that explains most of the variation.

comment 3y ago · link · parent

Well, I've seen the suggestion that you rotate services. Sign up, watch all the good shows, cancel and subscribe to the next. But yeah, one pirate platform with all the content will win any day.

comment 3y ago · link · parent

What exactly were they supposed to replace? Cable? I always saw them billed as alternatives to piracy, and indeed piracy has become much less prominent now that there are streaming services fighting for content.

comment 3y ago · link · parent

Zig has both fixed size types and a native-pointer-sized type. I think it's the right approach, in general you need both.

comment 3y ago · link · parent

It looks like they never replied to him for months so he just published it. This would also fit with the HN title (conclusion in the post). I think if it was patched it would be "I found a bug".

comment 3y ago · link · parent

Per https://en.wikipedia.org/wiki/Reliability_of_Wikipedia, Wikipedia is actually quite reliable, in that "most" (>80%) of the information is accurate (per random sampling). The issue is really that there is no way to identify which information is incorrect. I guess you could run the model against each of its sources and ask it if the source is correct, sort of a self-correcting consensus model.

comment 3y ago · link · parent

He don't seem to use the swear factor anywhere. The actual statistical comparison (Table 3.1) is simply mean SoftWipe score of repos with swears (5.87) vs. mean SoftWipe score of repos with 4+ stars (5.41). The increase is due to 2-3 clusters of swear repos with SoftWipe score ~7.5 and ~20k lines of code. It seems like he deduplicated the repos based on URL, not content, and Github could have biased the results returned in the GitHub search, so I wonder if it is simply sample bias.

paper: https://cme.h-its.org/exelixis/pubs/JanThesis.pdf

comment 3y ago · link · parent

Paper: https://www.researchgate.net/publication/368883391_Ghost_Bus...

comment 3y ago · link · parent

I never really took notes in school. Read the textbook, learn the material, and then forget it after the final exam. Sometimes when there was an open-note exam I'd go back through the textbook and write down the important definitions. But now that I'm doing research I take lots of notes. I organize it like I'm writing some papers: files with abstracts, definitions, comparisons, and a bibliography. The goal eventually is that they'll be published, either in scientific journals or as a book if there's not enough novel material. I'd say, form follows function, so if you don't know what your notes will be usable for in the future they probably will be useless.

comment 3y ago · link · parent

maybe it's not per-person but the total for a small group. 7 6-figure salaries doesn't seem absurd.

comment 3y ago · link · parent

If they ruined it, then a new clone could probably do well. Probably a fun weekend project for someone to reimplement it.

comment 3y ago · link · parent

Well it is reasoning. I asked ChatGPT to sum two large numbers from random.org, 490277348+718085950, and it got the right answer 1208363298. The numbers have no Google results showing such an addition. So ChatGPT at least has learned addition. I'm sure if someone analyzed the network carefully enough they could probably find the digit add/carry neurons. In contrast, Eliza was keyword-based and had much less capability to generalize to novel input.

comment 3y ago · link · parent

That's a contributor to the repo, not someone with commit access.

comment 3y ago · link · parent

Well if you read https://peterturchin.com/cliodynamica/ he is saying that we are in the "Turbulent Twenties" and compared to the recent past there is significant political and social upheaval. Essentially the US is in a "chaotic period" where a spark could start a civil war or government collapse.

But on an absolute scale, though, I guess this trend is easy to miss. The riots have only involved a few thousand people, and they haven't been incredibly violent or anything, a few people dead but not a lot. If you don't follow the news closely you could probably miss everything but the Capitol riot.

comment 3y ago · link · parent

I think this is the first commit mentioning lazy evaluation: https://github.com/hadley/r4ds/commit/671a21b124d6263436b8fc.... It certainly looks like Hadley was the one working on that section of the book.

comment 3y ago · link · parent

He said it's one of the obvious things to remove if you're trying to make a faster, more static language. And apparently he got Brendan McArdle to implement this list of features, and the resulting language was 10x faster on some toy examples. It reminds me of the hiphop talk where they list why PHP is slow (https://youtu.be/p5S1K60mhQU?t=634). Of course Facebook then went on to release the Hack language.

But it's not clear to me that he'd necessarily remove these features in an R clone. For example, eval is one of the features to remove. Python has eval, and I think many people use it, because it's convenient. Although it's hard to implement in a static language, that isn't a good reason to remove it in a dynamic scripting language. A PEP to remove it would probably get shot down immediately.

comment 3y ago · link · parent

I didn't like how the text wrote itself out one letter at a time. If it was a real "crazy wall", it would be static. Maybe the animation timing was messed up because my computer is slow, but it felt like I spent forever waiting for the text to write and only a little bit actually looking at the content.

comment 3y ago · link · parent

> This all changed yesterday, thanks to the combination of Facebook’s LLaMA model and llama.cpp by Georgi Gerganov.

George Hotz was so confident that he was riding the wave with his Python implementation: https://github.com/geohot/tinygrad/blob/master/examples/llam.... But I guess not, pure C++ seems better.

comment 3y ago · link · parent

Does CGI actually get the subtle shadow details right? Last I checked they were close but a trained person could spot the difference.

comment 3y ago · link · parent

> this includes a $20 note from someone who recognised him.

So he was noticed.

comment 3y ago · link · parent

I read the article and I'm pretty sure the issue was that creators were overemphasizing process, not posture.

comment 3y ago · link · parent

My parents still run Eudora 7, can't convince them to switch to anything else...

comment 3y ago · link · parent

You can add a "not in citation" or "dubious" tag to the reference that's there, or another cleanup tag: https://en.wikipedia.org/wiki/Wikipedia:Template_index/Clean.... A lot of Wikipedia articles are waiting for someone with the right references to come along (or for the right reference to come into existence), and until then the best anyone can do is insert warnings that the article is poorly cited.

comment 3y ago · link · parent

This is a polemic, the chapter he refers to is actually a cogent argument: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&d...

Basically he traces the origin of the "fallacy" back to "a hodgepodge of borrowed working-class slang, middle-class prejudice, and archaic economic doctrine" from David Schloss in 1891, and shows it had nothing to do with the 8-hour day effort at the time. The "lump-of-labor fallacy" is essentially a strawman trotted out by opponents of lower hours as a rhetorical device, similar to how the waterfall model never existed before Agile came along as "the alternative". (See e.g. https://pragtob.wordpress.com/2012/03/02/why-waterfall-was-a...)

Then he uses Chapman's theory of hours and some estimates from Denison to show that most likely the 35 hour work week would result in lower unit labor costs, increased demand, and a net gain in productivity overall from the redistribution of working time.

Then he gets into a discussion of fixed costs, and basically says "the government can subsidize the transition by restructuring taxes".

I'm not saying his arguments are sound, although they don't seem obviously wrong, but the chapter is certainly a lot better than the original link, which just summarizes the strawman conclusion but not the evidence.

comment 3y ago · link · parent

Well if you read that, the one attested computation is said to be mathematically equivalent to Heron's method (https://en.wikipedia.org/wiki/Methods_of_computing_square_ro... ). An iterative Newton's method would be pretty unlikely.

comment 3y ago · link · parent

The substack loaded for me but all it says is that they used (a special case of) Newton-Raphson. No second tablet is mentioned showing that the Babylonians calculated that way. There is a link to https://www.jstor.org/stable/10.4169/j.ctt19b9k86 which just says "this is an excellent approximation"

comment 4y ago · link · parent

I think it's about as cogent as the original article. Which is to say, a ball of mud.
1
121314
45