skysight-inc/HackerNews huggingface dataset:
I agree. What I personally would love is a WYSIWYG front end to a static site generator that uses eex or erb. If the tool is sufficiently open source and works well with some hand tweaking of generated HTML, then eex/erb isn't strictly necessary.

I'm optimistic about this though, because my suspicion is that since this tool just exports React, you could relatively easily achieve this using Next.js SSG building. As long as you aren't doing any build time or runtime dynamic data loading, by adding one more step you can use this for that, with the bonus that if complexity goes up to the point where you would want to componentize, your tool is ready for that.
I would ask how often making that distinction actually matters. I grew up in a rather conservative household, so went into the world with a pre-disposition to be against welfare programs and the like, stemming from an attribution error that most people on said programs would if not at first, then later on behave in ways intentionally designed to retain the benefits. In this way I was ascribing motivational intent to what could almost always be a circumstantial behavior. As a result felt that such programs or ignoring that potential when building such programs would be irresponsible.

Yet over the years I have had encounters with many people on such programs in many different places and walks of life. And some of those people have indeed confirmed that belief that people would act in that way. But many more have not, and even those that have in many circumstances have done so in response to the nature of the benefit programs that encourage such behavior by implementing policies that ironically are intended to discourage that behavior.

By overweighting the necessity to distinguish the “good” intentions from the “bad” intentions, we’ve designed programs that not only encourage more bad behavior, but equally do harm to those that need the help of those programs.

If instead such programs were designed to assume good intent / circumstantial behavior rather than nefarious intent, yes we might waste some money and effort on people we otherwise shouldn’t. But is that irresponsible or just the cost of doing maximal good with the resources we have?
Hah, as a child I fractured my skull on a 7'th grade school trip to Brodie Mountain. Maybe somewhere around 1988? A quick check on Google Maps will show that Brodie Mountain is only 2600 feet high and very near Albany NY, therefore is unlikely to produce good skiing conditions. It turns out that a 15 minute lesson from your math teacher is insufficient to develop the skills necessary to stop on a completely iced over intermediate trail, so I did the snowplow directly into a rack of ski equipment going 30mph or so and wrecked myself.
No plans for now, this seems to be the best form to support the features we need.

It was initially a Chrome extension [1] but there were limitations with local file access and UX from jumping around to multiple pages. Very early on I developed this as a web app but it was also difficult to inject styles into iframe, especially for ones that we didn't own directly.

Electron ships Chromium by default so it was easy to leverage into an editable browser plus allowing us to do an infinite canvas style editor. If you know of ways around these limitations please let me know. I'm always trying to figure out a way to turn this into a web app instead.

[1] https://chromewebstore.google.com/detail/onlook/icbcddooibfg...
Yeah, I'll add a reference to it. Are you watching the repo ?
I think they're just farming human data.
I mean "parent pointer" in a generic sense. There’s more parent direction pointers available in addition to parentNode: parentElement, ownerDocument, offsetParent. There’s just loads and loads of ways to navigate around the DOM. You can fire a custom event and watch as it bubbles out of the “sandbox” with `myEvent.currentTarget`. You could build a new script to eval bit-by-bit and then attach it with a <script> tag (can disable that with CSP though).

I wouldn't trust security based on a deny-list approach, especially when it comes to an API surface area as complex as the DOM, where the platform can roll out new APIs before you can update your deny-list.
Boards run corporations on behalf of investors through vague and soft guidance so as not to directly be considered officers

CEOs are appointed based on their ability to do what the board wants while shielding the board - this is why they get paid the most

Until investors and the board significantly hurt, to the point where their investment is either a total loss, or they are liable for additional financial inputs then nothing will change
> however the brain thinks must be describable by math
Roger Penrose believes that some portion of the work brains are doing is making use of quantum processes. The claim isn't too far-fetched - similar claims have been made about photosynthesis.

That doesn't mean it's not possible for a classical computer, running a neural network, to get the same outcome (any more than the observation that birds have feathers means feathers are necessary to flight).

But it does mean that it could be that, yes you can describe what the brain is doing with math ... but you can't copy it with computation.
You can (sort of) do all of that with the Eclipse Modeling Framework[0].

Your AST is what EMF calls a "model".
By default the "backend" and ecosystem surrounding EMF is skewed towards Java for historical reasons, but there have been some prototypes with other languages as well.
You can serialize your AST in any way you like, although by default it relies on XMI files. You can implement your own textual concrete syntax, or rely on a database.
The EMF ecosystem has tools for implementing textual or "graphical" concrete syntaxes. You can combine them (e.g. usually a specific subset of your AST gets edited in a certain way that's best for your targetted end users).
The ecosystem also has tools for performing comparisons and plugging them into your editing means.

Of course all of this tooling requires a lot more work than an LSP server.

[0]: https://eclipse.dev/modeling/emf/
The number shouldn't matter though. We can have an open and big internet regardless of how many people believe in ideas that seem to be batshit crazy to the average person. Who cares what someone else chooses to think or believe?
Having it edit local files might be a difficulty of having it work in a browser instead of electron app. That said though, Electron apps I've worked with in the past usually have a "dev" mode already that just serves locally and you hit it with your browser (i.e npm run dev), and that browser allows using the APIs normally not allowed so long as it's being served from localhost. Might be a good solution.
Is it family or household income? Divorce would be easier if it's the latter.
Seems like a remote desktop solution is always going to be better at this—I'd imagine there's a long tail of weird website behavior trying to sync browser state.

Or just carry a laptop.
Disappointed by the sign up requirement but I understand why.

Are the other people on the leaderboard real? I got the top spot because it wasn't so hard.
This is a common complaint, I'll be sure to take this off
Great feedback, thank you. I've heard this before. I'm thinking of keeping the default but adding an option in settings to "ask before installation" for users who prefer that behaviour (similar to VS Code).
Yep, I'm quoting Trudeau bucks. I think I paid 2,000 cad for a family pass next season.
You could also consider adding a little demo to your readme to showcase the speed and available sounds. Good luck with your project!
Does this work with any llm?
Really it's just validator code instead of feature code. I think this is the only realistic way forward for production level code written by AI, don't ask it to write code - ask it to pass your validation tests.

Essentially, everyone becomes a red team member trying to think of clever ways they can outwit the AI's code which I for one think this is going to be a lot of fun in the future - though we're still quite a way from there yet!
A truly random source will yield independent and identically distributed values.

You can take a collection of those values and convert them to an index in the set of all possible permutations of those values. That index will be uniformly distributed in the range of the number of permutations, regardless of the input distribution so long as it's IID.

Once you have a uniform value on a range you can extract uniform bits from it.

See also: Von Neumann's debiasing algorithm.

In practice RNGs use some kind of debiaser, though often they use ones that leave a lot of entropy on the floor. OTOH, stronger debiasers are more harmed by failures to be completely IID (e.g. some inter-output correlation, or the distribution changing over time with temperature).
> What Boeing really needs is a complete change in management culture, as that was the real root cause for the MAX disasters, but that is impossible to enforce, you can't even really verify that it has happened.

Serious question: why not? Why couldn't we require Boeing to change its culture, and then verify and enforce that change? Verification might involve periodically interviewing employees across all levels of the organization, performing spot checks and audits to make sure that procedures are being followed (no more failing to enter a work item into the system), and so forth.

(I don't mean to imply that this would be feasible under current regulatory law – I have no idea whether that is the case or not. I'm just saying that you could imagine a world where this could be done.)
re: signup, yeah that feedback is valid, it might be worth implementing a signup that doesn't require an email and could be just username/password based. Will look into this.

And yes everyone else on the leaderboard is real! :) you crushed it!
Wait, so this is legal:

fn five() -> i32 {
5
}

and this isn't?

fn five() -> i32 {
5;
}

I can't tell if I'm amazed or terrified.
Nice job.

You can do it in python with python -m http.server also!
The intention is to limit the liability of investors, not those in control of the company.
AMD Is Becoming a Software Company
Well yeah, it's big numbers! These sims (at least the ones I did) can never be compared to earth, because they make assumptions that start from maybe billions of years of simulated time, and then further make tons of ridiculous assumptions about life based on our observations from this one planet, and then they massively compress our physical reality from atomic and sub-atomic interactions to insanely granular abstractions in these sims.

("How much energy would it take to 100% accurately simulate our universe from the big bang to now" is a pretty interesting thought experiment though!)

I like that interesting period on Earth from maybe 4 billion years ago to maybe 500 million years ago, where we went from amoebas learning to duel to arthropods learning advanced dueling techniques. So any given one of my sims assumes a minimum of 10 billion years of priors, and assumes that it can compress millions and millions of generations and population diversity into a much smaller number.

I've had single sims where basic building blocks go from drunken amoeba to the earliest of pretty intelligent arthropods - so that's 3.5b years of evolution. But all sims are a massive tradeoff between fidelity and duration (fast/good/cheap), and the sims I like the most are the ones that cover an era that creates emergence in even a single aspect of the simulation. I guess most of what I'm interested in simulating is vaguely on the order of 100m years of evolution, over vaguely 7 days of real-time simulation?
lovely! perhaps you'll be able to sell this one too and make it a hat trick!

since you had a rare chance to rewrite a whole thing... what did you choose to do differently this time?
Oh interesting! We've definitely seen that its not super easy to just add AI for relevance if you have a super diverse user base. Currently our customers are early stage b2b SaaS and we understand what their goals and use cases are. Therefore, adding something like relevance isn't so straightforward for a big player IMO.

But cool to hear you thought of building something similar! I think its a good sign that there is a need.
Kate comes to mind.
Show HN: Mint your own Debian distroless images
Free ChatGPT for my day-to-day ML and DevOps activities
Agreed. I was worried that it's derivative while trying to communicate what we do succinctly. I know Supabase does the same thing with Firebase but our wording might be more problematic.
Seems feasible: https://news.ycombinator.com/item?id=40702546
I don't love the first example used:

> A 2014 article in Psychology Today titled ‘Why We Don’t Give Each Other a Break’ used the example of someone who cuts into a line in front of you. You might think, “What a jerk,” when in reality this person has never skipped ahead in a line before and is doing so now only because he would otherwise miss a flight to see a dying relative.

That’s certainly possible, but extremely unlikely. The most likely explanation is that they’re in a hurry and selfish enough to ignore the other people in line.

As a side note, I firmly believe that cutting in line (or late merging into a turn lane) is the worst, most selfish thing that people do all the time.
I'm talking about the leaves, cilantro. Coriander, the seeds, are completely different and taste fine.

I think a better description of the taste for me is that it tastes like stink bugs smell (which to me is strongly reminiscent of old dust, which is how I thought of it before I smelled a stink bug).

Reading the other comments, I didn't realize calling the leaves "cilantro" wasn't universal. My apologies for the confusion!
Yeah for sure. Revolutions are messy and its easy to lose sight of that when you're on the winning side. I'm personally very glad to not live under a imperial monarchy, but I do wish the founders could have kept their concerns over voters out of the way.

There are historical examples of why trusting the mob goes poorly, but keeping that on the table fundamentally ruins the point of a democratic society. Its all well and good to say we need an educated populace, but the system should offer the public a chance to live up to the ideal rather than guard against their failure.
web3 metaverse powered by genAI and NFTs?
> We have knowledge of our own circumstances...

This depends on whether one is using normative/colloquial or strict/"pedantic" epistemology. The latter tends to be inaccessible / disallowed except in a few disciplines like math and physics, where it is revered, otherwise it is condemned (if you push it after an initial warning to stop).

I often wonder if this unfair advantage is a big part of the reason why the hard sciences are so much more successful than the soft sciences.
Public sentiment is very much against Boeing right now, especially their current executives, oddly enough (since the previous ones were overseeing things when MCAS was created). But are there arguments for the other side on any of these incidents, and have they been explored completely?

For example…

Is Boeing really at fault for the MCAS related crashes? Both happened at airlines from the developing world, where the pilot requirements (for hours of experience) is a lot lower than for airlines from the developed world. I recall reading that pilots from airlines in the US had also encountered MCAS in real flights but knew how to deal with the condition just using their basic piloting knowledge, by lowering flaps or turning the stabilizer trim off. MCAS activation is obvious because the trim wheels in the cockpit spin with its activation - so a pilot who doesn’t want trim can just flip the switch for them.

Another possibility: is regulation at fault? Recertification is expensive, and the associated training costs are expensive. I believe it caused Boeing to not seek to classify the 737 Max as a new aircraft and downplay changes like MCAS. Could an easier certification process have caused Boeing to be more transparent about changes with this plane?

MCAS itself activates only at high angles of attack and was put in to meet some of the standards of certification, not because there was a “real” problem, by my understanding. It had to do with the new engines’ cover, which does help with fuel efficiency, but changes the plane’s aerodynamics and so Boeing compensated using this system to automatically trim. Could different standards have caused Boeing to not create this system?

Are unions at fault? Boeing has immense cost pressures from all sides, and I’ve heard many stories of inefficiency, avoidable costs, and painful politics at their plants due to union rules. These pressures indirectly may cause the company to cut corners elsewhere.

I would be curious what HN thinks of these possibilities. There are probably other such theories as well. I’m not saying Boeing did nothing wrong, but that the public and media rarely gets complex stories right. It’s easier to latch onto simpler or more emotional explanations. But what’s actually true and how do you hand out blame?
I care less about prices these days and more about the planes being flown. Near impossible to avoid newer Boeings
Bitcoin rebounds to $57,000 after billions in Mt. Gox refunds fueled a selloff
> It’s even harder to train new people in Old technology

My thought is, that new people are trained on modern technology (how to acquire and set up a secure laptop OS or how to configure a smartphone), and older employees still "run" on the old technology.
There are nuances between jurisdictions, but while a US judge can reject a plea deal they generally cannot reject a guilty plea. A judge cannot force a trial between parties that don't want one. And a trial isn't really possible where the parties agree the facts. The judge can certainly impose a sentence different than that which was agreed between the parties, but any such punishment would have to be based on the agreed facts/charges/pleadings. If the prosecution decides to only charge a lesser offense, the judge's power would be limited to the maximum penalty associated with those reduced charges.
For anyone who sees the title and thinks "what's wrong with using algorithms to price things?" - The problem is not inherently the use of algorithms. The problem is that it's a disguised collusion between market players.

Matt Stoller runs a great blogsite/newsletter focusing on anti-trust issues like this. Here are a few more articles for the interested:

- https://www.thebignewsletter.com/p/the-price-fixing-economy

- https://www.thebignewsletter.com/p/the-banality-of-price-fix...

- https://www.theguardian.com/commentisfree/article/2024/may/2...
Somewhere, a Tamarian is posting shaka-when-the-walls-fell.jpg
I'm sorry to hear about your experiences, but I don't think some huge bureaucratic red tape will be any better. What will happen is that all the toxic assholes who will rant, make creepy remarks, etc. won't be told to buzz off, because doing the whole third party auditing will be too much effort and costly.

And I also think it's fine to exclude people for subjective reasons, even if it's (marginally) "tax-funded". If you go to the JS meetup and keep complaining about how bad JS is then maybe it's best that you stop coming. Generally very contrarian and combative? Maybe it's best those people also stop coming.

People that go to Sunday mass to proselytize that God doesn't exist (or to an atheist meetup to proselytize that God does exist) are also not welcome. Saying "it's tax-funded, and therefore it should be open to all" would lead to absurdity.

In the end we have to accept that not everything is perfect, and that trying to achieve 100% fairness typically makes things worse.
Most satellites have propulsion systems - both to tweak their orbits, and to help adjust their orientation in space. "Decommissioned" does not mean that all the pressurized tanks for those propulsion system are empty, nor de-pressurized. And as any aerospace materials engineer knows, things degrade over time...

BTW - the chemicals in those propulsion tanks are often quite nasty, and prone to "energetic" reactions.
SF Papers We Love might be interested in a physical space -- we've been meeting online, but IMO we would benefit by face-to-face.
Yes, structure adds more speed than wax does, especially on wet snow and in speed events. Wax makes the ski easier to turn though.
Gig-economy drivers are boosting the need for public EV chargers
> I also have issues with most map apps and using them for navigation. It seems that the UI designers for these things never consider difficulty in seeing the crucial details on a small screen at high velocities with small glances.
>
> I need the remaining KM until that turn, in large numbers, Google.

OsmAnd has a nice design, IMO: https://imgur.com/a/oZJIZst

It also lets you change the widgets and colorschemes, that's the LightRS map style and route line.
While that might be true at the moment, this is a (well designed) electron instance (edit: exists? I only saw install instructions for NPM so maybe it just needs built executables? it says it uses electron) away from being a modern replacement for WYSIWYG editors like Dreamweaver. I could see an easy integration to push your page up to a CDN or GH Pages instance. Even without, there are tons of places for moderately technical people to host static websites, and “upload the code and pictures to a server in this folder” is within many more people’s technical grasp now than it was 20 years ago. Most people don’t need all of the scaffolding most modern dynamic websites have. Online SAAS WYSIWYG web authoring tools— wix, squarespace, Wordpress, et al— have been the only practical option for people without front-end dev skills; beyond that, you’re in SSG land which requires a big jump in knowledge for very little gain in utility until you really start getting some dev knowledge, and most people don’t want or need that knowledge. Being able to stand up a site and tweak the code here and there to do something a little different is a great spot to sit in. Hell it’s what got me started on web stuff with my geocities site nearly 30 years ago.

I think this is a great example of why we need more product people involved with FOSS. Having worked in dev for quite some time before I got into design, I’ve experienced the blind spots inherent to having a purely technical focus. From the dev perspective, user needs often seem straightforward or even intuitive, but that’s heavily skewed by a completely different approach to using and reasoning about software than end users have. Developers are often pessimistic about users that seemingly always fail to grasp something they consider trivial, but developers rarely have to confront the actual complexity of other people’s jobs. Lots of people are smart and can solve problems, even if they don't have a formidable mental model of software development. Tweaking basic HTML/CSS generated by something else is well within their problem-solving capability and doesn’t require much technical know-how.
Additionally, even when they fail spectacularly, they often get golden parachute payments in the 10's of millions of dollars.
DSLs Are Not for Muggles
I am partial to a project to keep the moon from drifting away. Mostly because I like eclipses and want them to stick around for a while longer.

Otherwise I'm happy with the moon staying where it is.
Calling this “modular” is a bit of a stretch. It’s “modular” only for the case. There is nothing else that’s easily replaceable — not even the battery. It is not anything like what Fairphone [1] makes, which is truly modular and focuses on swapping parts as needed.

However, CMF Phone 1 will be available in many countries around the world, unlike Fairphone, which seems to be available only in several European countries.

CMF Phone 1 is also quite cheap, and may be a decent “starter phone” (reviews praise the stock Android plus a few niceties that Nothing OS adds without a full blown skin like other Android OEMs).

[1]: https://www.fairphone.com/