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 2y ago · link · parent

There are many hacks to uncensor LLMs, the surprising thing is that this is fairly simple but works really well.

comment 2y ago · link · parent

Reminds me of https://vgel.me/posts/representation-engineering/. There they were adding a control vector, w' = cvec + w, here they are "ablating" it, w' = w - dot(w,cvec)*cvec. There is an interesting field of learning how to "brain chip" LLMs into doing what you want.

comment 2y ago · link · parent

Maybe this will be an unpopular opinion, but hear me out: it is the video platforms like YouTube, TikTok, etc. Before these platforms, it was relatively difficult to find videos of "ordinary" people in everyday situations. Sure there was funniest home videos and other carefully curated channels, but now it is easy. And with consumption of these videos comes the desire for a vocabulary to classify and describe them. Like how food is spicy or sweet and has different ethnic styles, or music has a tangled mess of genres and substyles, the teenagers of today are developing a classification of (videos of) human behavior. And part of this is non-neurotypical behavior - I don't know why, I haven't really investigated this, but it is clear that some (a lot?) of people enjoy watching content from autistic people, ADHD people, etc. For them, or at least the ML algorithms that feed them content, it is a genre like any other, and in the incestuous cycle of hunting for views, whether the origin was man or machine, at this point it has become branding.

What I'm not clear on is whether this translates to better real-world interactions. Certainly, it raises awareness of the conditions, but just watching a video does not necessarily lead to smooth conversation. Generally meetings with famous actors are pretty awkward and it is even less clear to me that someone who watches ADHD videos would necessarily enjoy meeting an ADHD person irl, particularly one that doesn't make engaging videos with millions of views.

comment 2y ago · link · parent

Reminds me of the venerable https://arithmetic.zetamac.com/ (disclosure: I know the author)

comment 2y ago · link · parent

$400/year is a new laptop or something, if you spend the money then the creditors can't take it.

comment 2y ago · link · parent

There are unlimited umbrella policies, but practically past 1 million or <net worth> it is probably cheaper to declare bankruptcy than pay the additional premiums.

comment 2y ago · link · parent

As far as the book, there is a Nature review https://www.nature.com/articles/d41586-024-00902-2 and a Polish review https://e-psycholog.eu/clanek/498 that say his book has no basis in science and is just cherry-picked studies and graphs. It seems Haidt has doubled down and is like "I reviewed all the studies myself" - but he didn't publish a systematic review, only these non-peer-reviewed "collaborative reviews" https://www.anxiousgeneration.com/research/collaborative-rev.... Whereas his detractors have done peer-reviewed SR's: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4053961. I have seen this pattern before, in other areas of science, and pretty uniformly if it is one man (or woman) vs. the literature then the literature is right and the "lone genius" is a crackpot. But that's just scientifically, in society you can be popular even if your theories are as nutty as they come.

Now there are patterns in the studies, I am sure there are interesting conclusions to be drawn, I just don't trust Haidt to do that kind of analysis.

comment 2y ago · link · parent

For me it is just searching and searching with Google Scholar. Maybe someone in the AI space has figured out how to connect papers to replications based on abstracts and references, but I haven't seen any such tool.

comment 2y ago · link · parent

> Smartphone use undermines enjoyment of face-to-face social interactions

> those without smartphones had higher recall accuracy compared to those with smartphones.

These seem reasonable. But they have little to do with this study, they are explained by competing attention and that smartphones also substitute for rote memorization.

> the mere presence of a smartphone results in lower performance on a concentration and attention test

This is more interesting. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10249922/ It was conducted via videoconference though, so I wonder how much attention was devoted simply to the videoconference. And there was no effect of smartphone dependence.

comment 2y ago · link · parent

https://www.sciencedirect.com/science/article/pii/S000169182....

> Using the same tasks and conditions as in Ward et al.'s (2017) second experiment, the present study found that the “brain drain” effect did not replicate: there was no difference between smartphone location conditions on performance on either the o-span task or the go/no-go task.

Fake study, move along

comment 2y ago · link · parent

(2017). E.g. https://news.ycombinator.com/item?id=24519684

comment 2y ago · link · parent

I had some luck with ChatGPT. The model numbers are out of date but the general descriptions and capabilities of each brand aren't. And in general ChatGPT is good with prompts like "I want to do X, tell me all the things I should consider" - it has been trained on Q&A sites after all.

comment 2y ago · link · parent

> "the author must build the model from scratch and so must see all the details"

This is not true. With any complex framework, the author first learns how to use it, then when they build the model they are drawing on their learned knowledge. And when they are experienced, they don't see all the details, they just write them out without thinking about it (chunking). This is essentially what an LLM does, it short-circuits the learning process so you can write more "natural", short thoughts and have the LLM translate them into working code without learning and chunking the irrelevant details associated with the framework.

I would say that whether it is good or not depends on how clunky the framework is. If it is a clunky framework, then using an LLM is very reasonable, like how using IDEs with templating etc. for Java is almost a necessity. If it is a "fluent", natural framework, then maybe an LLM is not necessary, but I would argue no framework is at this level currently and using an LLM is still warranted. Probably the only way to achieve true fluency is to integrate the LLM - there have been various experiments posted here on HN. But absent this level of natural-language-style programming, there will be a mismatch between thoughts and code, and an LLM reduces this mismatch.

comment 2y ago · link · parent

Wikipedia splits induced demand into "latent demand" and "generated demand". I think Elon has no trouble with the idea of latent demand and that by lowering the costs of space travel more will do it. The issue is generated demand, it is a bit irrational to think that a person with no desire for space travel in the first place will say "oh look, space travel is cheap, let's make a satellite". The general story is startups find market fit or they die. You have to find the customers, it is not like you make a product and everyone changes their desires to conform.

comment 2y ago · link · parent

They repeat over and over that this is a simple task, but then they explain that they developed it by looking at math olympiad problems for young children ages 7-10. So it would be very interesting to know the performance of these elementary school children on the problem. My guess is that if it was on a math test they would also get confused and try to do random arithmetic.

comment 2y ago · link · parent

I think at some point it is worth admitting that there are variables you can't account for. Like the precise geography - the models model an area 1 mile square as a single vector, maybe even more coarse. They don't model every tree, rock, and bush. In a neural net you can just have "weight goop" which accounts for the net effect of these unmodeled features, but in a traditional model adding "fudge factors" and extrapolating back from the model to points of interest is tricky.

comment 2y ago · link · parent

I've sort of worked out a workflow. Like say I had to write an essay and take a side for/against something. Then I would ask GPT to write the strongest argument for, and the strongest argument against, telling it to make up whatever sources it wants. Then after reading those, I would have some idea of my own opinions. I would write from scratch but with the GPT for/against pulled up alongside as reference for how to structure the arguments. Then I would put it through GPT again for proofreading and grammar (or just spelling, if there is AI detection software).

It is a bit tricky though, there are definitely points that come up with GPT that people would not think of normally. So in that sense it is still distinguishable from writing solely by oneself, but I would argue the GPT-assisted essays are just better writing and more well-rounded.

comment 2y ago · link · parent

> But he said no, I was the lone genius.

I think that's the issue? Haskell was designed by and for geniuses (Larry Wall). But Python... certainly Guido likes compliments but for the most part he was an average programmer, designing for other average programmers. And now Python is #1 while Haskell is only #28. Like if you just skipped the "monad" terminology and called them "promises" or "futures" everybody would be less confused.

comment 2y ago · link · parent

> the gaming brands push the marketing numbers up and up.

There is a trend in the opposite direction, where people read books and such on low-fps e-ink displays. It's true that people complain they are expensive and the low fps makes it useless for a lot of tasks, but there is still a market because the "like paper" display is so readable. I think that makes it clear that people have a variety of needs. Your logic is something like trickle-down economics - it is certainly important to continue doing research into displays but this doesn't necessarily translate into cheaper panels. I would say the main reason you can get a cheap $100 monitor now that is the equivalent of a $700 CRT from 30 years ago is economy of scale. The manufacturing process is more automated and streamlined with fewer assembly steps, and there are many competing manufacturers.

Meanwhile 240hz is justifiable even for non-gaming, e.g. https://www.tomshardware.com/monitors/gaming-monitors/tcl-de... who says he noticed the benefits of 240hz just browsing and scrolling.

comment 2y ago · link · parent

What I meant is that fps by itself, without other information, is meaningless for judging panels. Like if someone says they got a 500hz panel, it is not necessarily better than a 240hz - LCD vs. OLED for example. But if you are comparing panels from the same manufacturer, same tech etc. then of course it is relevant. And obviously if you have a panel it would be stupid to run it at anything less than max fps, if your system can keep up.

comment 2y ago · link · parent

> Here's a good example with a 540Hz display: https://youtu.be/nqa7QVwfu7s

That doesn't actually contradict my point? Like the response times on that monitor are pretty good, per 4:17 it is generally 0.3ms to go from gray to black. But if for whatever reason you had to go from black to white the response time is 3.5ms - that is 285hz so your "540hz" monitor is not going to keep up with the signal. Talking about frame rates is sort of like talking about your fuel tank size - sure, there are cases where the extra gallons help, but practically most people care about horsepower. And similarly what actually matters for monitors is response time.

Apparently TCL didn't disclose any specs of the panel, just said "an LCD", so I wonder if the panel is actually new tech. They didn't even allow running screen tests. So it could be they just prototyped the controller and used a standard panel. Then the response times are horrible but nobody can tell because it's running a prerecorded demo that avoids showing the glitchy artifacts.

comment 2y ago · link · parent

Ltt has done some videos, probably there are other channels but I haven't looked. The results I remember are that 240hz was significantly better than 144hz, https://www.youtube.com/watch?v=OX31kZbAXsA but past that fps is sort of meaningless as the response time is slower than the refresh rate and you get artifacts. https://www.reddit.com/r/OLED_Gaming/comments/11z0gab/240hz_...

comment 2y ago · link · parent

> most of the best maths students I know are good at arithmetic/mental math even though we have had replacements for that since the 70s (at least).

Well, consider (for example) the SAT. It used to have math sections both with and without a calculator. Then COVID hit, and e.g. MIT discontinued SAT altogether - now the SAT is back, but all digital and the math section is all-calculator. To me this suggests that computers have integrated into society to the point where one's ability without them is seen as irrelevant. This isn't to say that there aren't holdouts who still advocate traditional pen-and-paper testing, just that they are no longer mainstream. Similarly, I would say for programming, if the questions you are asking to determine if they understand "the foundations of programming" can be easily answered with Copilot or ChatGPT, they are probably bad questions.

As far as teaching, there has always been strong evidence that people can learn math effectively just by playing with their calculators. http://ti-researchlibrary.com/Lists/TI%20Education%20Technol... I certainly learned a few things that way. It is the same way with Copilot - you can actually learn a lot of programming just by playing with it and seeing what "real code" looks like. When you mention fluency, I think you forget how it works - first you write things, then you get used to it and become more fluent. Copilot assists greatly with that first step of learning.

Now it is true, some teachers aren't really good with the Socratic method and other techniques of fostering self-guided learning, but if it is a binary "full access / no access" I would argue full access is better, like how students can apparently use their phones to goof off in class all day without any repercussions (https://news.ycombinator.com/item?id=40495673). There are people who will misuse the access but it is not clear if they would learn anything even without access - it could be that they would just find other ways to ignore the teacher. And meanwhile the rest will benefit significantly - they can look up concepts, ask ChatGPT questions, etc.

And as far as "deep understanding" and the "ability to think and plan abstractly", barely anybody has that, that is not taught in schools. I mean sure there is the watered-down definition of "solve word problems and write essays" or whatever passes for understanding these days, but most of the kids coming out of school are nowhere near the next Einstein, even if they got straight A's. edit: maybe the ability to plan is taught in military training, it's certainly not part of a regular school curriculum.

comment 2y ago · link · parent

The other way to look at it is that 3 out of 4 teachers say AI tools do more good than harm. That's not actually what the survey said, they just have a big 35% "unsure" category, but at this point being unsure is the same as supporting AI. "if you're not against us, you're with us"

comment 2y ago · link · parent

The article cites Hacking but doesn't give a source. I think they are mainly using this old article: https://web.ics.purdue.edu/~drkelly/HackingMakingUpPeople198..., maybe they also gave his work on MPD a brief skim.

It's kind of weird to say that a news article discussing different perspectives should not mention a well-sourced article that has gathered 3888 citations, on the basis of "qualifications". For the pop-sci "new study finds X" pieces the bar is basically "published in a journal", which of course Hacking's paper satisfies. I did a brief search and there aren't any obvious modifications to his work. Sure, there are papers like https://www.frontiersin.org/journals/psychiatry/articles/10.... and https://www.tandfonline.com/doi/full/10.1080/09687599.2020.1..., but nothing with thousands of citations, and these more recent papers build on Hacking's theory rather than attacking it. Uncritically accepting Hacking's theory is not "begging the question", it is more like "if the shoe fits, wear it". And in this case there are not any obviously better shoes.

comment 2y ago · link · parent

> Enough RAM to run a JVM with 36GB of heap space

Are there laptops like that? Maybe an upgraded MacBook, but I have been looking for Windows/Linux laptops and they generally top out at 32GB. I checked Lenovo's website and everything with 64GB and up is not called a laptop but a "mobile workstation".

comment 2y ago · link · parent

For me the recipe sites are pretty usable (with adblock), there is generally a "jump to recipe" button to skip past the text. And sometimes I even read the text, if it is a good recipe the text often has useful information like substitutions and preparation techniques. Certainly a "just the recipe" website format would be worse SEO-wise, but I am not so sure it would be more useful.

comment 2y ago · link · parent

I can recommend the book https://link.springer.com/book/10.1007/978-3-030-71888-6. It is the best compendium of scientific information I know of regarding happiness. Not really light reading, but if you have a question it's answered. For example all the domains mentioned in this post are covered. In reality, happiness is complex - there is well-being, pleasure, pain, satisfaction, and so on. It is not necessarily even a goal to maximize happiness, because being too happy for too long causes problems.

comment 2y ago · link · parent

Regarding trade secrets, inadvertent or accidental disclosure means it is no longer a trade secret - no protection. And regarding copyright, there is Oracle vs. Google that copying APIs is fair use (Google's argument). So even if the copyright license grant in the leak is held to be invalid (the license states it is perpetual, if it is valid it does forever carry that license), it would be fair use anyway. I think the only IP protection is patents, Google has patents on various parts of the system so if you did actually want to build a Google clone by reverse-engineering their documentation you would run into trouble.

comment 2y ago · link · parent

Well that's where Scalia's statement comes in - he argues that the state has no duty to avoid executing innocent people, only that all relevant procedures were followed. To use an example from history, if witchcraft was a crime, and the townspeople found someone guilty of witchcraft, they have no duty to accept a time traveller's defense that witchcraft is scientifically impossible and the person is therefore innocent. The "due process" was the trial and witch tests, not a modern scientific consideration of the facts. I don't know Scalia's actual opinion, but I would be surprised if he did not find these witch executions judicially justifiable. Presumably he would argue that the proper way to avoid burning witches at the stake would be to change the laws supporting such activities.
1
8910
45