skysight-inc/HackerNews huggingface dataset:
My own, lol. Which just means I need to work on more codebases.

I’m making a tool to convert data schemas to SQL via a UI for lay-users. Just like https://react-querybuilder.js.org/ which is basically a UI based SQL generator. For work.

Except my version extends the idea much further, blending Excel like functionality with functions that can act on Fields and Rules.

What makes it good?

For one, it’s a from scratch project with almost no third party libraries.

For two, I fortunately chose a recursive data structure to represent the data schema, and that has really worked out well. Early on I tried 4 other approaches to represent the data, but went back to recursive feeling it was the best choice.

Furthermore I’m using React, but it’s heavily leveraging reducers. Specifically Groups have a reduced, Rules have a reducer, and Fields have a reducer. The reducers are linked in a chain top to bottom, where changes on a Field change a Rule, and changes on a Rule change a Group. It’s been extremely clean to work with.

Because the base data schema is recursive (Groups contain groups contain groups), most of the functions that manipulate the schema are recursive. There is a real elegance to the code, each recursive function has a very obvious base case, and a very obvious recursive path.

And for the final outcome, walking the query data structure and spitting out the equivalent SQL is also recursive, and feels elegant, coming in at under 40 lines.

Literally as I’ve been writing this codebase, everything somehow perfectly fell into place. I was marvelling near the end that it felt like I chose all the best possible logic paths to build this somehow.

I’m hoping to get the okay from work to open source it (fully open source). The only cruft of the project is the types I’m using, the interface of the code could be improved with generics
I honestly don't understand why did you feel the need to write this advertisement post for your Mac. I like mine, but I still don't get where some of you get this deep wish to write ad copies.

No, it's not "fair" to come here and bloviate about your Mac in a topic about Framework laptops built for a different crowd. We get enough ads all across the web, keep them off HN at least.
It would be tremendously helpful if young people were told that next to stories and fairytales, there is entropy, randomness and incompetence.

It took me a few years of life experience to understand that the latter three typically explain life better than the first two.

I suppose that for every individual there are things that they overtrained early on in life, for which it then takes a lot of time to unlearn them. In that respect, keeping an "open mind" can be helpful, but having it opened a bit too much makes one an annoying person as well.

Now where exactly was I going with this rant?
Mystery tax defaulter settles debt by handing in 200 Goya artworks
At this rate the only young Ukrainian men left will be the ones who fled.
GPT 6 can write software directly (as assembly) instead of writing c first.

Lots of training data for binary, and it can train itself by seeing if the program does what it expects it to do.
It isn't just science fiction, the Schwarzschild radius of the universe is massively larger than the universe itself, we are living in a black hole according to current math.

And in theory a black hole whose density gets lower than the density of the universe will grows its event horizon to fill the entire universe. Such a large black hole doesn't have strong tidal forces, so you wouldn't even notice as you entered it, from the outside it would look like the black hole disappeared and the internals popped out rather than you entering it.

At least that is what the math says. Likely there are some more strangeness as you enter the event horizon, since at that point you effectively pass the speed of light barrier, creating infinite time dilation (a gravitational difference is equivalent to a speed difference in relativity, and the anent horizon is when that becomes the speed of light). That means we have no math to explain how time inside the black hole is related to time outside.

So while the space tidal forces wont rip you apart space wise, the time dilation difference between your different parts would be infinite, since at the event horizon one part of you will see the other part as having infinite time dilation, I'm not sure how you could get through that unscathed. The particles might still be next to each other, but you might turn to dust from infinite time passing resulting in infinite particle decay, basically resetting the state of your matter.

I did study all this math in a masters degree, I am not a working physicist but I think this is a much more reasonable interpretation and also more testable than the prevailing ones about black holes. All the math of the testable parts adds up, while the prevailing theories are wrong since the universe isn't a singularity.

Edit; Note that extremely few physicists are even researching GR seriously, barely any work has been done on it since the Einstein days, quantum field theory is where all the useful applications and hence money is at, it also has way more testable results, so almost all physicists are approaching the problem from that angle. The few who do study GR are mostly focusing on the raw math and not interpretations, since math is publishable and interpretations are not, also since GR requires so high level math that basically only those who love math over nature even wants to study it.

Case in point, Einstein himself didn't understand GR math, today he wouldn't be able to publish any GR research even though he invented the theory.
Impressive breakdown, but this is six months old.
If .NET is an option (since you mentioned MAUI) I would have gone with Avalonia.

It's like WPF, which was used for Visual Studio, except it's cross-platform and can target Windows, macOS, Linux, web, iOS, Android (and from what I can tell, even TV). Personally I've had nothing but a great time with it.
The atomization of families and living far from parents has something to do with this. Was easier when you could dump 'em on grandma for a few hours on friday.
Yeah, definitely. I expect I'll have to pay something to keep fit, and the chain and gears are probably cheaper than a gym subscription. They're also not very good components, which puts them in the bottom end of the price range, so that's good too.
Microsoft doesn't have astronomically low price points.
We've seen the CEO of a CA arguing in a public forum that their 3 month trial is better than Let's Encrypt. Yes, those can be dysfunctional and can be led by people who have little idea about the business.
Neither on SE nor here I could find a mention of dead keys.

https://en.wikipedia.org/wiki/Dead_key

I can't claim I know how they relate exactly to the accented characters being
encoded in character sets but they seem to be at least historically an influence. Pressing a dead key which doesn't advance the cursor and then overwrite the basic character over it is certainly faster than using backspace (also cheaper if you think about character pricing).

That the ECMA specs only talk about using BACKSPACE is surprising. At least those OS I used only supported the dead key approach but of course that was decades after the specs were written.
He is not literally terrified. Reading his post there is no actual terror there. He's impressed with them and how much they've learned, and appreciating the amount of change and growth that happens over a lifetime.
What an odd title to read !
I don't know about that.

Cohesive is important but what's also important is playing nice with the respective OS's design guidelines. For example, take dialog boxes and the order and positioning of "OK, Cancel" buttons.
Intellij, Resharper et al are Java IDEs and they're the best in the business
> we'll be all out of cash

Cash is not coal. We're not burning it to get AGI. People will be getting paid to build and run the hardware.

This is a cash grab from the infrastructure players. Always been.
It is an apples to oranges comparison. You could just as easily say that if planes are so bad why do people use the subway. Different modes of transport are optimal for different things. The miracle of modern transport is that it allows you to drastically change the trade-off between different things in your life. You can live in a different neighborhood, take another job, visit family etc. But as usage grows the negative effects on individuals and community starts to grow and eventually effects the trade-off. The only solution is to invoke more magic transport. Build even more lanes, bike paths, rail roads etc. And hope that one day they will build the Colorado -> Tokyo starship link so you can finally commute between the ranch and the office. Great!
Those are the main parts of the browser.
lets talk in 10 years!
Semantics and scheduling for machine knitting compilers (2023)
Not to be a hater but what exactly is the point of posts like this

Nothing factual presented. Not a unique, stimulating, or even really coherent viewpoint. Just a self-confident stream of consciousness with no real takeaway.

Eye-catching title though
> I’m 26 years old now, I (hope that I) got a tiny bit wiser but I’m pretty sure I have no idea what I’m doing.

> Which makes me think: I have like 5 years of experience of real life.

My experience is that it takes on average 5-7 years for a person to realize this, so kudos to this guy for ticking this off early.

The outlier on the long side is hard to work with in a team.
Yes. Also, one of the pearls of wisdom gained with age is that young people will inevitably overestimate themselves. So all OP’s cleverness was at the time probably received with a mixture of annoyance and sympathetic chuckling. I know that’s how I feel when the next 25 year old tries to sell me some profound insight that’s been repackaged by consultants and gurus for 40 years. But it’s fine, enjoy your youth and make your discoveries. We all have to, it’s what makes life fun.
I don’t know about Hunger Games, but older people’s interest in maintaining their socioeconomic position in society explains a ton of politics around the world, and the struggles young people find themselves in.

There are a greater and greater proportion of people that need to be able to get labor from a smaller and smaller proportion of younger people, which basically means a need to make rents go up either via taxes or investments. The investments portion is seen as devaluation of currency.

Although, that is not what the linked article is talking about.
> Portugal

Portugal is not the ringing endorsement that it is sometimes touted as. Some indicators have improved, some have worsened substantially:

https://en.wikipedia.org/wiki/Drug_policy_of_Portugal#Observ...

Causality is hard to tease out here, but more importantly, all they're doing is decriminalizing it and offering methadone/buprenorphine maintenance treatments. And the effect on number of addicts has not been good:

https://www.washingtonpost.com/world/2023/07/07/portugal-dru...

> Coca in Bolivia (I am on thin ice, I know too little, but they elected a coca grower as president)

Coca is really not anything. If you've ever chewed coca leaves, they're mildly stimulating. They're nothing like cocaine.

> I think there is plenty of evidence that a considered thoughtful approach to drugs is better

Considered, thoughtful approaches are always better! The question is, what are you considering and being thoughtful about. And the fact of the matter is that the most drug-liberal cities in the US have the worst drug problems, and so do the most drug liberal countries (like Portugal).

The countries that have the fewest problems with addiction are the harshest: Singapore, China, Japan. These things are not an accident. I'm not necessarily advocating adopting policies that harsh, just pointing out that they do actually work, whereas the liberal policies fail disastrously everywhere they're implemented. I'm in favor of criminalization, but only as a tool to force people into deferral/treatment programs. I don't want to see anyone actually put in jail for using drugs, unless they fail to complete their deferral program.
"When I was a boy of 14, my father was so ignorant I could hardly stand to have the old man around. But when I got to be 21, I was astonished at how much the old man had learned in seven years."
>compilers behaving in a deterministic and predictable way is an important fundamental of pipelines.
LLMs are inherently unpredictable, and so using an LLM for compilation / decompilation -- even an LLM that has 99.99% accuracy

You're confusing different concepts here. An llm is technically not unpredictable by itself (at least the ones we are talking about here, there are different problems with beasts like GPT4 [1]). The "randomness" of llms you are probably experiencing stems from the autoregressive completion, which samples from probabilities for a temperature T>0 (which is very common because it makes sense in chat applications). But there is nothing that prevents you from simply choosing greedy sampling, which would make your output 100% deterministic and reproducible. That is particularly useful for disassembling/decompiling and has the chance to vastly improve over existing tools, because it is common knowledge that they are often not the sharpest tools and humans are much better at piecing together working code.

The other question here is accuracy for compiling. For that it is important whether the llm can follow a specification correctly. Because once you write unspecified behaviour, your code is fair game for other compilers as well. So the real question is how well does it follow the spec how good is it at dealing with situations where normal compilers will flounder.

[1] https://152334h.github.io/blog/non-determinism-in-gpt-4/
I didn't really get that (I only skimmed the article). However, it uses a lot of flowery language, which doesn't seem very WP:NPOV.
Gnome is very well designed and consistent. And yes, they employ UX designers.
Find the graph of GW of solar installed over time
While I agree with most in article but I really fear for the US having the choice between 2 extremely old people to run their country.
I would take a 35 yo over an 80+ year old to run something any day.
When you’ll be 50, do you think you’ll like the 20-year-you who made the major decisions for your life, or do you think you would have preferred the 50-year-you to make those decisions?

This is an argument for traditionalists. Listen to your 50-year-you, aka your parents, your community seniors, etc.

But reversely, if we tilted more towards listening to the elder-you, would there be enough renewal in society? Enough happiness at 20 years old?
> Being terrified of people who are smarter, wiser, more competent that you is not a healthy reaction.

The draft never touched the current generation...

;)
> In this case, an alternative was the city providing a homeless shelter.

No, in this [court] case an entirely different question was brought before the judges. "City policy shoulda been this other thing instead" was never on the menu of potential answers.

The Supreme Court is--fortunately, for now--not some sort of King Solomon dictator that can jump the rails from "whose baby is this" to "all babies must be fingerprinted by midwives."
What about this:

> Which makes me think: I have like 5 years of experience of real life. What kind of tricks under their belts do people in their 50s, 60s, 70s have? What kinds of crazy heuristics and meta-heuristics they’ve got in their minds, hearts, and muscles after decades of poking the world? I have no clue and this is what makes me really worried about them.
Yggdrasil Linux
Perhaps when you're older like me, at 63 you'll understand, or perhaps as a crusty incorrigable 64+ year old you've forgotten the follies of youth?

To say more would be ad hom. So I shall stop with a wise aphorism of my grandmother, born at the end of the 19th century:

if you have nothing nice to add, consider saying nothing.
RealvisXL is much better, probably the best model for photorealism. Example with same prompt: https://gencdn.aieasypic.com/original/ed7c2742-4a76-4e22-9bb...

It’s currently the best open weights model for prompt adherence too: https://imgsys.org/
> Also when we talk about preventative measures, people going to a pill mill doctors to get a refill are already addicted, but what can have a long term impact is putting in the effort to prevent people from becoming addicted in the first place, which means understanding how so many people who did not want to get addicted to opioids ended up that way.

This has changed over time. At first it was the pharmaceutical route, largely due to the shift in medical norms to prescribe opioids for chronic, not just acute, pain. Prescribing them for chronic pain is a near guaranteed recipe for addiction. However, I think things have changed in the past decade or so, with people largely moving straight to fentanyl and/or other illicit opioids. I don't think the pipeline is largely pharmaceutical in nature anymore.
Most Yiddish speakers (or even their ancestors for many generations) didn’t live in Germany, though.
I think you've actually touched on something more interesting than you might realise. Prior to around 2000 we didn't have the internet and there wasn't close to as much transparency in society about how the mechanics functioned.

We've seen a collapse in respectability of politicians, for example. Not because the politicians have changed even slightly, but because we have much better visibility into what they're actually like and how the political sausages are made. Pre-internet I'm not even sure how I'd be supposed to get my hands on things like the Hansard records. Billionaires are under similar pressure, look at the difference in image of Musk vs someone like Gates who was world's wealthiest before the internet got big.

I don't think the fairytales of entropy, randomness and incompetence exist. But I do think there is an excellent reason for that - up until around 2000 almost nobody knew how big a factor those things were. The discourse was gummed up by propaganda which was mainly myths of competence in the halls of power and it wasn't feasible to pick apart the mess because communication was hard.
I've always believed knitting pattern design is programming.

People who can decompile a jumper into its instruction set amaze me. Some of them can adjust the parameter stack on the fly to fix errors, or tailor the fit, or cope with changes in the wool.
https://shkspr.mobi/blog/2021/01/the-unreasonable-effectiven...
The workplace with out old people is boring, when ever you are in an environment with only one age group you should be careful. The group think among people the same age is terrible, much worse than many ideologies. Be as scared of your own as the old people.
https://youtu.be/XKTfBm0ryUQ?feature=shared
It's about the different ways the language allows you to shoot yourself in the foot.

I worked on large Python, C++, Java & Go services. I have 10y+ of experience with the first 3. C++ allows you to write incomprehensible code (even to the experienced C++ devs) and justify its existence (because of the performance gains). But you need to be a top expert to write a compileable code of that type. I'm comfortable with diving in any C++ codebase except for the libraries like std, boost, abseil, folly, etc. Most of the code there is absurdly difficult to comprehend.

On the other hand Python leads in the ways a junior dev can introduce hell in the code. Especially if the team doesn't rely on the strict type check. I have seen horrors.

I was bewildered when I realized that working with JavaScript with type checks (Closure compiler) was insanely more productive and smooth than working with Python (before the type checks).

That's why Java won the enterprise world. It takes an effort to make a mess in Java (but people still manage). Go is in a similar place.
For me, the more silent a keyboard is, the better.
> Athletes are no fools

A quick search will show you the shockingly high bankruptcy rates for former pro athletes. Plus, most of them do not finish uni and have few marketable skills after their short career ends.
I've used Eclipse, Netbeans and Intellij extensively for Java dev. Eclipse is my least favourite. That said, I haven't used Eclipse in years and Netbeans has been lagging in innovation since going to Apache
also known as the Cosmic Schmuck Principle
Python is only used for build-time tooling (modeling, code generators) and developer tooling. All the on-target code is C and C++, and only that is cross compiled (Linux, QNX, various RTOS and x86+aarch64)
Compressed Air Storage Redux – LightSail and Hydrostor
Tajikistan, with over 10M Muslims, is banning the hijab
I think these links should be labeled with NSFDAPFAW (Not Safe For Doing Anything Productive For A While)
Just wait when he discovers that lots of old people got where they are by just going with the flow.
"That's the future Suleyman anticipates. "The economics of information are about to radically change because we can reduce the cost of production of knowledge to zero marginal cost," he said."

The cynicism is mind-blowing. Artificial Stupidities have created exactly zero knowledge so far, which is why companies like Microsoft now roll out people like Suleyman who openly admits that the DMCA is only for the rich with lawyers.

And steal and repackage "content" from altruistic creators.

This one might bite back Microsoft. If any case goes to the Supreme Court, I'm not sure that they'll be amused by this line of logic.
> Or more likely Prussian, or some other pre-modern political identity

Prussia, let alone Prussian “identity” is not something that existed well into the mid to late modern era.
Blog vs diary/notes. You don't have to publish what you write. Read what you wrote and rewrite. At least wait 1-3 years before publishing.
To add to what to the other poster said, and to help explain, also were you influenced in buying blueberries because of what other people did in your graph?
When I was junior/mid level engineer working in a 5-8 person engineering team, there was this particular senior engineer whom I disdained. It had nothing to do with them as a person, but I always had the feeling that they just did things at work without caring for the impact of it.
The team and company grew in size over a period of 2 years and I went through a lot of first hand experiences of having to deal with unrealistic deadlines, chaotic lines of communication and multiple nights of tailing production logs to fix bugs. It was around this time, that the senior engineer during a company even got drunk and talked to me about their first few jobs.I realized that what they described, was quite similar to what I was facing right now and I came to understand why they cared so little about work they do on a daily basis.It honestly scared me at to think that I might either end up like this person or worse or burning out and quitting the field.

Right now, I am close to age the senior engineer was when I met them and even though I may selectively decide not to involve myself with things that can overstretch me, I am in no way the same as that other person.

The reason I am sharing this tangential story is to highlight my opinion about old age. It does not matter much if you have gained a lot of experience as you grow older, unless you are able to use it effectively.
Custom Electronic Chessboard
Employee of SkyPath here. We are trying to give a solution to this problem dedicated thread here : https://news.ycombinator.com/item?id=40828180