skysight-inc/HackerNews huggingface dataset:
I feel he was just unusually stupid enough to explicitly put in writing what many academics subtly and implicitly do. People cite their friends, others in the field (with an implicit quid pro quo), etc... even if the research cited has only a tenuous connection to the current paper.

The whole practice of citations is very strange. Many times, I have seen researchers search for works to cite at the time of writing! The top Google result gets cited, without the person having even read the paper before, as all they were looking for was a cite for a pretty generic claim (e.g., machine learning has been applied to health care). I'm not sure that such citations are even bad practice as statements should be evidenced by cites. But as a result, a paper getting cited (e.g., the top ranked Google search for ML and Cancer) doesn't actually mean that the cited paper truly means anything, is credible, or a meaningful scientific contribution.
Took me several days to realize why some cars in the UK have white license plates, some have yellow ones. (They don't: one colour is on the front, one on the back). I no longer call myself a 10x engineers, now it's 9x only (that's a joke, I'm hardly 1x).
I actually think they are talking about induced demand.
So, what's an example saner solution? Or is this one of those "just" sentences?
One of the things that I can't help but notice as I read the comments here on HN is the extent to which we _want_ AI to be, if not a deity, than at least a grand new chapter for humanity; we want this even more than we want the new chapter to be _good_.

The desire has a narratival, almost religious quality -- I'm reminded of _Palo Alto_ https://www.nytimes.com/2023/02/14/books/malcolm-harris-palo... (Malcolm Harris, 2023)

What I wish Alang had explored more was just this phenomenon; it worries me far more than paperclip maximization. Yet he does a good job characterizing the underlying social context, i.e. the Anderseenian view that all problems are soluble in sufficient technology (a position which, of course, is vacuously true -- the _real_ issue is what the cost is. For example, a universe-sized machine of infinite complexity could do absolutely anything; the cost, of course, is absolutely everything.)

A machine that makes art and does taxes is one thing. A machine that _is tendentiously presented by its creators as divine_ is a theohazard.
Follow up to Part I. Discussion: https://news.ycombinator.com/item?id=40534293
Haskell started using them because it allows a pure language to express side effects.

Beyond that, they're a pretty general and reusable way of looking at data structures that nest.
Yes! I'm using a similar technique to write to Google sheets in https://github.com/bbkane/starghaze/

Account setup instructions at https://github.com/bbkane/starghaze/blob/master/dev_notes.md...
I guess I don't take it for granted like in the article that replacing something is necessarily bad. What specifically is the metric that is bad here? Landfill space? Material waste? Ikea furniture is less dense so sort of wins here. Cost to the consumer? His original sofa is $5,000 in today's dollars. Will it last longer than multiple consecutive Ikea sofas? Recall that because of the time value of money, an Ikea sofa today is maybe $1,000 but a replacement 5 years from now is likely only to be "worth" $700 in today's money, and then one 5 years from then will be $500, and so on? So for $5,000 today you could have a "lifetime supply" of Ikea couches. Maybe the problem is carbon released in the manufacturing? I'm not sure an artisan making trips to a lumber supply store and making a couch a day wins out vs. an Ikea factory producing hundreds an hour supplied by ships and trains and trucks.

To the extent this raises a problem about capitalism, it's that increasingly price discovery doesn't work anymore. Competition has been the driver of efficiencies and progress for centuries, but it doesn't really work if every purchase you also have to go "but what about the carbon?" "what about the workers' conditions?" "what about the animal welfare?" "what about the landfills?". In other words, there are so many externalities conscientious consumers have to search the history of the company and rely on branding and marketing to make a decision. Many, like Mr Bray here, just throw their hands up and say the whole system is flawed.

Cheap things should be the goal. If we had a carbon tax, appropriate labor laws combined with tariffs or trade agreements, costs for landfill space or whatever, then you just need to buy the cheapest thing and that will be the most efficient!

I know I personally tried to live this philosophy 10 years ago when I purchased a $400 pair of handcrafted boots (trying to follow Vimes's philosophy), and I regret it. They've not held up well, though at least I was able to re-sole them at a cobbler here in town.
Fighting an anti-doping finding
One of the best executed statements of the sort was "I've been murdered" from an old movie D.O.A.

https://www.youtube.com/watch?v=qwzjpwdqay0
Darwin has a solution.
Had an employee poach on of my customers. And had another do the same ten years later.

I apparently have trouble learning life lessons.
Again, without stating something more substantive about why the syntax is "incomprehensible" to them, my best assessment is always going to be "skill issue".
Burritos have side effects?
Your windows open differently too. Instead of angling inward/outward along either of two axes, ours usually just slide up-down or left-right, remaining firmly attached to the window sill.
Next week: making a tic-tac-toe game look decent using JavaScript.
> it doesn't solve the problems I listed. Those things are still difficult.

No they’re not. These things are very popular here, especially among parents: https://urbanarrow.com/family-bikes/family/

You can fit a ton of groceries in one of those, transport kids, etc.

Bikes are way more convenient for day to day use than cars.
> I'm working on a project where I'm experimenting with pretty obvious things like removing the annoying markdown syntax all the LLMs show you for a split second and smoothing out how it renders the characters to match your frame rate.

> https://llm-ui.com/

I have a suggestion for the page you linked. The sample on the top page that shows it doing its thing, while it is useful seeing it in action, as a result of looping the example output it was a bit difficult to read. I would suggest extending the amount of time the loop lasts to give slow readers a little more time. An extra 3-5 seconds after it finishes output would be helpful from a mobile UX viewpoint.
Notice that "unsafe" isn't a magic "off" switch, it's just super powers, things you would otherwise be forbidden from doing are now legal, but things you could have done before have the same behaviour - and if everything in an unsafe block doesn't need super powers you'll get a compiler warning saying the unsafe block you wrote was futile.

So, this only does anything interesting if r1 was a raw pointer so that dereferencing it would be prohibited without the unsafe block. If it's just a reference or some smart pointer type then that's fine anyway.
Writing a JSON parser is a good way to teach yourself better programming practices. I attribute my understanding of pointer arithmetic and i/o streams to my own efforts in parsing/generating JSON.
You can frequently avoid this by running at a lower voltage - SPI chips are often rated to run down to under 3V, and associated components will tend not to run with that much power
I don’t know how many times I’ve read things like this but it doesn’t seem to click. It’s like a burrito with map and bind functions? Well, alrighty!
Monads embody the concept of "chaining" functions. Every monad implements the chaining in a different way, but the user of the monad doesn't have to know how it's done. It's just "call this function on foo, take the result and pass it to the next" and so on. Plain old functions do it with plain old function composition (functions are monads!) but something like Maybe will return None if it gets a None, and only otherwise pass the data on. The Future monad will await completion then pass it on (async/await is a monad!), the List monad will merge together zero or more list results from mapping over each of its items, and so on.

Again, the cool thing is that it's the same syntax no matter what kind of Monad you're in, so you can totally change the behavior of a monadic function by just using it with a more specific return type (at least in Haskell, other languages might make you pass around an implementation)
Monads are a neat tool of composition, but composing monads themselves is fiddly and cumbersome, involving monad transformer "stacks" of deeply nested generic types. Monad transformers are really just not fun.

I'd give specific examples, but I'm kind of lethargic from the burrito I had for lunch. If you're familiar with flatMap(), a Monad is anything that's "flatmappable" (which in JS is just arrays, but languages like Scala take it much further). In C#, it's IQueryable (LINQ is a monad!)
As mentioned video I saw was newer than the news article. In the video I think doctor was talking about events like https://www.lowcarbusa.org/pioneering-ketogenic-management-f...
Glad I wasn't the only one
First off, I don't think that SV swung hard right, and not every VC firm is inherently far-right. Now, some partners at specific funds are quite loud about their political leanings, but I don't think that's large enough a sample size to say that the entire sector is far right.

However, there's always been a libertarian streak amongst that crowd (but that's not left or right, it's a bastardization of a mix of both). Always has been always will be. A lot of people got wealthy quickly, and adopted the new-age version of "might makes right", which is now "obscene capital makes right". Amplified by social media (and adored by people with dreams of also making generational fuck-you money), some of these folks figured "hey, i'm probably pretty smart because i made a billion dollars, so perhaps my political beliefs have more legitimacy than those of others, so let me shout them from the rooftops".

Since some of these people have obscene amounts of money, they are naturally resistant to any and all forms of losing it, such as taxation (even though their own existence was massively subsidized - from tax credits, to university & public education subsidies, business tax exemptions, low taxes on capital gains, having a stable government, etc). The current right-wing political apparatus has found support amongst people that don't like to be taxed, so those who don't want to be taxed vote for the right.

We call those people hypocrites, not far right.
This was actually a great explanation. Still delivering 15 years later. I wonder what other mathematical constructions are abstractions of burritos.
We've spent a lot of the past 6 months cleaning out my inlaw's home. Her mom was a bit of a hoarder, mostly food. But half the garage and one bedroom were full of stuff from her father who passed away 15 years ago and her grandparents who have been gone for 40 and 25 years. Now we have almost an entire bedroom's space worth of that stuff in our home :(

I'm personally trying to get mine down to a single carload other than furniture or boardgames. Boardgames can be a single carload on their own.
Also, virtually any train system that is good enough to be comparable to driving time-wise will also be busy enough to require standing through the trip during commuting hours.
3DS (Three Domains Secure) means that when you try to buy something online, the merchant sends you to your bank, who then authenticates you in some way. It's usually an SMS code, which means it's technically "MFA for credit cards".

Though keep in mind that 3DS was also rolled out with a liability shift; banks sold it to merchants as "if you 3DS validate a transaction it's never fraudulent and the customer can't chargeback". Which is obviously untrue if you're using SMS 2FA, which can be defeated. Good thing most American merchants forget to turn on 3D Secure...
A lot of people seem immune the first time. My mom thought she was immune to poison ivy, but after years of contact she became increasingly sensitized. Now she gets a rash of the cat has been walking through it.
Headline: « Colleen Hoover Is a Wildly Successful Author. Why Did She Stop Writing? »
But that seems to belong to the category "text transformation" (e.g. translating, converting unstructed notes into structured data, etc.), which I acknowledge LLMs are good at; instead of category "I'll magically debug your SQL wish!".
It's an abstraction - a very high level abstraction.

Like all abstractions, if you squint hard enough, different things can look the same. Monads can make optionals, lists, error handling, i/o, continuations, state manipulation, reading values, writing values and many other things look the same.
It’s not just the poor people. Even the non-poor people in New York are gross from the sweating and grit.
How will you add rules? For example a doctor can only have 100 active patients
> not convinced even the US is actually capable of that

Then you haven’t been paying attention to American aerospace over the past decade and a half. It is far more capable today than it was in the 60s, particularly in robotics.

Where we lag is in human space flight, in part due to bureaucracy and complacence among the majors, in part because we have ridiculously-high safety standards.
> I don't need to study astrology for years, to know it's nonsense in about 10 minutes.

Copernicus deniers didn't need years of study either as their source material said differently.

I'm not saying anything either way on philosophy, I'm simply pointing out that your presented logic there is flawed
I think there's a middle ground between taking a job that pays almost nothing and taking a high paying job that kills you. You can just take less money to do something you can tolerate more.

Unfortunately, the European economy has been stagnating for the 16 years since the financial crisis and median salaries are FAR below American ones. I would not gamble on the EU economy holding up as demographic pressures and regulation push productivity and GDP into negative territories. I also wouldn't bet on the healthcare systems getting any better from this point on. Europe is in for some rough decades coming up
You caught me in a senior’s moment. Whoops.
I found this [0] a very accessible explanation as well.

[0] https://blog.acolyer.org/2015/04/22/distributed-snapshots-de...
If you have OpenWrt, or other firmware that gives you root access, you can randomize the BSSID, which is actually what they collect.
How to make a great government website
People say it's "not worth reading" or "shallow" but will happily gulp down what's essentially PR articles or marketing material for AI companies...
Rust's incremental compilation does this. Unfortunately, it doesn't help with linking, but it speeds up compilation by reusing everything that didn't change.
My Fight for Fair Access
Other thread here: https://news.ycombinator.com/item?id=40553438
I got one of the soft, ball-like chumbys when they came out. Really, really amazing design and packaging :) I tried to love it as much as it radiated good vibes but sadly from the very beginning it was kind of janky and at the time the usefulness was not that clear to me. Too bad the cheerfulness of such hardware got lost along the way.
They are interesting in purely functional languages like Haskell because they allow for side effects without sacficicing purity and referential transparency. Rather than allowing side effects, you describe the program as, say, specs for the instruction to run, plus the function that decides what the next instruction is after the first instruction completes and yields a result. Kind of like a linked list of functions that return imperative instructions.

I don't think the general concept is that interesting, at least in programming. Monoids, though simpler, are probably way more interesting (mapreduce, caching, etc)
My understanding is that if you want a high level of semantic compatibility with C++, a certain degree of UB is quite hard to avoid. But at least unlike C++, they prefer not to leave 100s of different possibilities on the table.
In fairness to the commenter, I don’t know either of the projects but htmx’s _page_ is way less marketing focused that hotwire’s page. The hotwire page’s marketing is crazy: ‘turbo’, ‘stimulus’, ‘strada’…
Crazy but yet commendable.
You are setting different goals: a client (non-web) app running on a different computer would not have access to local storage for another computer where that same app was running locally. FWIW, even on the same computer, you can frequently run the same client using a different profile, user account or similar, and it wouldn't have access to another instance of that same client.

Browser does have local storage and you can assume it keeps the local storage.

The main difference is that browsers tend to be "OSes" for multiple apps.
you can buy high foam density replacement cushions for relatively cheap online if you want to replace them
Savings are included in disposable income
This implementation has horrible and unmarked mutability problems, which really should (and can) be avoided. I think it's also leaking some memory unnecessarily. The underlying approach is sound though.

The `str{}` can be avoided by adding a second template argument and SFINAE'ing that it can be converted to the first one. Or just overloading as for integers.

Some microoptimizations jumped out but those are premature.
Afaik, this technique is called threading (https://en.wikipedia.org/wiki/Threaded_code) and has been used in most bootstrap compilers for decades.
> I'm not sure exactly what all it taught me

Time to get into woodworking!
Sometimes people on the left are concerned about nepo babies and the outsized influence of the wealthy and powerful, sometimes people on the left are not concerned.
That isn't the question that matters. What matter is what do we do with that knowledge? Because right now, the answer isn't a whole heck of a lot.

Systematically comparing schools on any metric accomplishes nothing. And every year for decades we act like we just need to identify the good schools and replicate their success, with literally actual regard given to what makes schools successful in the first place: functioning administration, involved parents, good and stable teachers. After that, curriculum and resources.

And a functioning administration is generally what gets sacrified first in pursuit of some across the board improvement in some flavor of the week metric.
> EU plays a two-faced game, antagonizing China to please the US while cooperating with China for benefits

America is China’s largest net importer [1], tied with the EU as a whole for total exports. Everyone besides Xi is trying to play for long-term gains.

[1] https://en.m.wikipedia.org/wiki/List_of_the_largest_trading_...
Right, but now I’m basically running a huge performance hit, need to parallelize my queries etc.

I was parsing a document recently, 10-ish questions for 1 document, would make things expensive.

Might be what’s needed but not ideal.
> "degrowth" is one of those things you don't actually need to believe in, the world will do it for us if we don't do it first. I just want to minimize the collateral damage.

Worked in OT a long time, an old saying is that you either schedule downtime to perform maintenance or the hardware will gladly do that for you.

It's the same with climate, we either suck the cost of rearranging how we live now or we are going to hit a wall with the foot still down on the gas, expecting constant growth.
One of those life experience moments:

I "knew" this and a had a really good friend who did not. Both of us grew up in the same area, and we met in school, so you'd expect we should agree on this, right?

While "arguing" about it one day, it turns out the suburb they'd grown up in had several private subdivisions where the builders could do whatever they wanted. Houses were numbered sequentially following one direction of the private street, then the other. So the house nearest the entrance of the subdivision would be "100 Maple Street" and across the street would be "143 Maple Street".

Because they'd grown up mainly going to other friends' houses in the private subdivisions, my house address was the odd one and theirs were normal to them.
I was going to read The High Cost of Free Parking, until I saw that it's 800 pages long. Did you read the whole thing, skim, or entirely skip parts? I am familiar with the general argument and feel like 800 pages is too much for a book on the subject (at least for my taste).
They made a second one? That's a blast from the past.
A TUI for Varnishlog
There are similarities commensurate with the fact that Cutler and other former DEC engineers designed NT. Overall, they are quite different operating systems. The idea that NT is some kind of rewrite of VMS is seriously overstated.
Two over 10 years doesn't seem like that much, but I guess even one is too many. What do you see as your life lesson here though?
Walkable Neighborhoods Finder
The easiest examples from mainstream languages are things like Result<T>, Future<T>, or Option<T>. Its honestly a very broad and vague way to say "some data with context". The advantage is that instead of using things like exceptions or panic/crash, your code must handle every case in order to get at the value unlike the normal case.

For example, an Option<T> could force you to unwrap the value and deal with errors. In true functional languages and/or where pattern matching is used, you must handle both cases, presumably creating a chain of "monads" all the way down (as most of your functions will return Option<T> or Result<T, Err> type patterns, since you can't throw an exception, and any value might be empty/error, so you have to propagate it upwards).

Honestly its a fancy term that functional programmers use to cow the laity. Its a bit like calling an if statement "probative procedural data query with indeterminate flow control."
More than the syntax, it's the verbosity. The more you have to read the more you have to process. Did anyone in the creators of Rust have a look at the syntax of Crystal, Kotlin, Julia, or Elixir ? They're simple, you really don't have to put a lot of effort into reading.
Rust looks like C took the verbosity of Java as a mandatory requirement and borrowed some cool concepts of Haskell (but not the simplicity of its syntax though).
```

One day a student came to Moon and said: “I understand how to make a better garbage collector. We must keep a reference count of the pointers to each cons.”

Moon patiently told the student the following story:

“One day a student came to Moon and said: ‘I understand how to make a better garbage collector...

```
I have also added tags, better search and visibility to help community discover tools even faster! Thanks for all the feedback
That’s really interesting. Surely the crewing roster stuff is actually using linear algebra rather than AI though?
Wow, this is just doubling down condescension again, while insinuating laziness baselessly. I resent that, especially when it is about a language that has parts that were intentionally designed to yield hard to read code.
The thought was - if I have a long piece of code repeated, and I want it to be shorter, I can

- Use a language that minimizes the code to write

- Use a helper function, maybe at some runtime cost

- Use a macro, turning a short piece of code into a longer one, at a compile-time cost

Having a DTI (debt-to-income ratio) macro and a very short definition of DTI that looks similar everywhere in code sort of do the same thing.