skysight-inc/HackerNews huggingface dataset:
Hm I wouldn't call it bottom up -- I would say it's top down, but you consult a table of integers to decide where to recurse.

I would even call it a variant of recursive descent, which is top-down. In plain recursive descent, you often choose where to recurse based on the first token (e.g. if while for). In Pratt, you choose based on a table indexed by the second operater token.

You can have an an entire arbitrary length subexpression before the "second token", but it is still resolved "eagerly".

e.g. consulting the loop here - https://github.com/andychu/pratt-parsing-demo/blob/master/td...

I skimmed over your post, but I don't really see the bottom-up argument.

I guess I could concede that it's neither top down nor bottom up, but I don't see the argument for being bottom up.

And maybe this is just a taxonomy thing, which doesn't matter in practice. It could be understood both ways -- I don't think Vaughan Pratt was mistaken when he understood it a certain way :)

---

"where to recurse" is basically choosing the parent's production before its children -- that's most similar to top down

If you choose the child's production before its parent, then that's LR / bottom-up

(using Haberman's explanation - https://blog.reverberate.org/2013/07/ll-and-lr-parsing-demys...)

May also be relevant:

https://www.oilshell.org/blog/2017/03/31.html

https://www.oilshell.org/blog/2017/04/22.html

https://matklad.github.io/2020/04/15/from-pratt-to-dijkstra....

I believe some people claimed that Dijikstra is bottom-up and Pratt is top down. That has a certain nice symmetry to it, but I'm not sure it's true :) Dijikstra does use an explicit stack and Pratt uses the call stack -- maybe that is how I'd put it.
In traditional programming languages the origin of such problems is the straightjacket of the ASCII character set.

When a programming language is designed now, the right way is to use distinct Unicode characters wherever necessary, easily avoiding all ambiguities.
Yes, I was trying it on a device with a touchscreen (an iPhone) and found that it was possible to pan with the usual touch gesture (moving two fingers together).
You seem to have rose-tinted spectacles for an earlier time, in which there is no 'infringement of property rights'. Yet, no such time really existed since the Norman Conquest at the latest. Contemporary to when the first building regulations were invented in the middle ages, we had everything from socage to slavery: so yes, property rights were rather strong if you were lucky to be one of the 0.1% with some aristocratic background.

I would posit that the real tragedy is the inclosure Acts, which in a couple of decades undid centuries of social progress away from feudalism towards community-focused common land use, which was not only an efficient system but also a fair one.
Since when does calling a piece of music or artist mediocre indicate 'upset'?

It seems perfectly normal for a large portion of passing readers to simply not care that much either way.
Specs are fickle, vague things. Well written code can accommodate the whims of users and execs alike.

I also tend to find that folks who write quick and dirty code “to spec” leave it riddled with bugs and unhandled corner cases.
Nobody cares about those middleboxes, those are only relevant in corporate networks.
There’s no way even 10% of this is due to JS. It’s probably mostly images and videos which make up this data usage.
"I’m genuinely curious how people have time to do this."

Let's say you work 8 hours per day, 1 hour commuting. That's 15 hours left, you need to eat and sleep and bath and whatever. That leaves 15 hours because who cares about eating or sleeping or taking a bath. More than enough time to do this in 3 years.

Alright, enough time there, I need to finish my raycaster on 6502.
JShelter
[Copy/paste from their web site]

What is JShelter?

JShelter is a browser extension to give back control over what your browser is doing. A JavaScript-enabled web page can access much of the browser's functionality, with little control over this process available to the user: malicious websites can uniquely identify you through fingerprinting and use other tactics for tracking your activity. JShelter aims to improve the privacy and security of your web browsing.

How does it work?

Like a firewall that controls network connections, JShelter controls the APIs provided by the browser, restricting the data that they gather and send out to websites. JShelter adds a safety layer that allows the user to choose if a certain action should be forbidden on a site, or if it should be allowed with restrictions, such as reducing the precision of geolocation to the city area. This layer can also aid as a countermeasure against attacks targeting the browser, operating system or hardware.

Please see the FAQ (https://jshelter.org/faq/) and our blog (https://jshelter.org/blog/) for more information about the extension.

What is the threat model?

See https://jshelter.org/threatmodel/

Do you have a paper that explains the extension?

Yes, see https://arxiv.org/abs/2204.01392
Building Gnome 1.0 on Debian 12
Russian students can't solve this problem but American students can. Why? (2016)
i was going to comment how i would like to see the reverse, and i am not surprised to find that it already exists. here is a video on someone porting it to run on current linux: https://youtu.be/Pf7rpde49NU

except i'd like to see it somewhat more actually useful as a top replacement: size of the monster should be based on memory usage, and aggressiveness should be based on CPU usage. different rooms can be different users, and threads could also be shown as related somehow as could parent and child processes. sleeping processes should be sleeping obviously and zombie processes be frozen in space, maybe transparent, able to pass through? then a selection of weapons corresponding to the kill signals.

there are more things that could be added but then it gets further away from doom.
>Why do people get so upset

Probably because of the extraordinary reception mentioned in the article and the claim that's being made? This is apparently the highest rating Pitchfork has handed out in half a decade and it's supposed to be an indicator of a major shift in the music industry.

That's quite a lot and after having listened to it I have to agree with the original poster, I don't really get it either. I expected the next Bowie after those reviews.
> "I feel like we're reaching completion with the "integrating doom into things" arc"

Ho you are new to the craft aren't you.
To Help the Allied War Effort, Scientists Got Drunk on Nitrogen
The MBAification of the world man… it’s all suits.

Your farmer’s market stall gets big enough and you eventually get a suit telling you to “run lean” and “net30, we can push that to net60”, etc
> Man, i wish everything was UTF-8 so we iconv would not be needed anymore. Too bad its defined in POSIX.

I wish nothing was in UTF-8 and UTF-8 was relegated to properties files. There are codebases out there with complete i18n and l10n in more languages that most here have ever worked with where there's zero Unicode characters allowed in source code files (with pre-commit hooks preventing committing such source code files).

Bruce Schneier was right all along in 1998 or whatever the date was when he said: "Unicode is too complex to ever be secure".

We've seen countless exploits based on Unicode. The latest (re)posted here on HN was a few days ago: some Unicode parsing but affecting OpenSSL. Why? To allow support for internationalized domain names and/or internationalized emails.

Something that should never have been authorized.

We don't need more of what brings countless security exploits: we need less of it.

Relegated Unicode to translation/properties file, where it belongs.

Sure, Unicode is great for documents, chat, etc.

But everything in UTF-8? emails? domain names? source code? This is madness.

I don't understand how anyone can admire the fact that HANGUL fillers are valid in source code are somehow a great win for our industry.
Considering the quote:"MITRE followed best practices, vendor instructions, and the government’s advice to upgrade, replace, and harden our Ivanti system, but we did not detect the lateral movement into our VMware infrastructure. At the time we believed we took all the necessary actions to mitigate the vulnerability, but these actions were clearly insufficient."

It seems like anything connected to it was fully compromised for quite some time.
In the same spirit, we should once a year spend a day with ourselves blindfolded, or use a wheelchair to understand what is like to be a disabled person.
And isn't the womb an environment already?
Ukrainian hacktivists claim to breach Russian drone developer
I don't think so. Biological nitrogen fixation is far too inefficient for this to make sense. Deceased in yield would be too big tfor this to make sense

To give some numbers, just the fixation takes 5.4 more energy, and photosynthesis is 6 times less efficient than solar panels. Moving to biological fixation would also increase water and pesticide usage
It's funny to think what a conscious species trying to reason about us would do. They can't communicate to us, they are subject to our decisions, and a lot of what we do must seem mindlessly destructive. Often they really are trying to communicate, but there just isn't a way.
Sure but when it was taught in the 2000’s, it was always done with a big caveat about how the theory was still being debated. In hindsight, all previous mentions will seem like substantiated and obvious statements but there’s a reason articles about it are still coming out today.
it’s aspirational. I want to show how much time each prerequisite would take to complete.

This is an mvp I put together in a few hours
This. I've been very happily working in a small company and we recently got a new CTO. In a couple of days we will find out which 6 of us are being terminated. Corporate fat trimmings and all that.
I'd be careful with them, they're not the same same company they used to be.
That's nice, but quite buggy. "Cape town" appears in South Sudan, though the country is not named. Erythrea is also missing its name. And there are 2 Somalia blocks, with different colors.

My own experience is that it's rather easy to draw a light map and deal with i18n. There are several open data sources and libraries. The hard problem is purely administrative. If you have data tied to most countries, there's certainly a mismatch with your source for a map, and you have to build a custom map yourself.

There is no consensus on what a country is. A few examples of divergences: Western Sahara is officially a country, but practically it's always been occupied by Morocco. Somalia is a mess, with Somaliland and Puntland being de facto independant coutries though noone acknoledge them officially. Between these two categories, Greenland, Nue and a few others are not fully independant.
Variety and reduced ambiguity.
The first time I had to deal with this was on Turbo Pascal for Windows, where we got C strings alongside Pascal ones.

Then when 32 bit came to be we had the other variations on top.

Got to love leaky abstractions.
Sometimes, I spend an hour writing a perfect function, and then spend another hour re-reading the beauty of it, just to be pointed out how imperfect the function is in the PR review :))
Right. So talking to you users about a feature, then spending the who time talking about Rust… tells me you have devs needing out and don’t actually care about the feature.

Which they are telling you in multiple ways by talking about on-prem, EWS, Rust.

Kind of like that was what my post was about.
NCLA Unleashes Lawsuit to Take Down SEC's Illegal Mass Data Collection Machine
What gut feeling? the comment is arguing towards engineering, not towards homeopathy.

If you have to analyze the weighing of costs and benefits, you are showing there is one point were you will consider safety too expensive, or some acceptable accidents (as long as it is not someone you love) in the long term.
My job is mostly designing solutions (figuring out the best code), so I don't think a college graduate can get there in a month. I can teach them the patterns- but understanding the tradeoffs, knowing what is a major vs a minor priority, communicating effectively with other people involved, and knowing what to do when the shit hits the fan are things that I think are mostly garnered form sheer experience.
What Should You Work On? (Assuming You Want to Make a Living at It.)
How much of this due to flight controllers and aircraft crew being overworked. Looks like the FAA is starting to take action

https://www.cnn.com/2024/04/19/us/faa-to-increase-time-off-b...
Boom's XB-1 test plane gets FAA green light for supersonic flight
Fast Reconnaissance Missions to the Outer Solar System (The Grand Tour) (1966) [pdf]
It's always the people who like something that have a persecution complex when someone says their thing sucks. Maybe look inward for your answers.
Just say no to it. I decided to go public and add on my LinkedIn and now on GitHub too a disclaimer (see here https://github.com/mihaitodor) that I refuse to do Leetcode-style interviews or anything like that and I'm happier since. Sure, there are companies which will refuse to talk to me because of this, but that's fine. I never passed one of those interviews anyway and always had to take jobs where I didn't have to live code during the interview.
Sure, Americana is car-focused.

Mapy.cz is also OSM based and more focused on pedestrians: https://en.mapy.cz/zakladni?source=osm&id=1056429822&ds=1&x=...
The one time I link to the About page instead of the landing... sorry! (I only did it because it mentions the bit about being sponsor-free.)
Nice, but please no T-Shirts on train platforms... =;-D
I remember the IE monoculture, and you know what broke it? Choice. Being able to install firefox, opera (and later chrome and safari) on windows, being able to install icab or other browsers on mac os even when apple shipped IE5 as the default.
Britain's problem is cramming everything into the London areas and surrounding counties. There's plenty of space in the midlands and up north. What should happen is that Parliament be relocated from London to Manchester and other city-state services moved to the rest of the country. A huge rebalancing of investment will quickly equalise and normalise the lopsided weighting that this country has.
As a software engineer, your craft is about the breadth of software engineering, and embracing professional pride and dedication in doing that well. Well implies towards the goals of the organization.

Programming is only one piece, and not the most important.

And the nature of the programming you do changes because of the software engineering concerns. (Examples: on a given project, a goal might be that the code be maintainable long-term, or maintainable by others, or not disrupt an interface with another team, or delivered in a certain short timeframe, or work the first time and every time.)

Where it gets much more complicated is that a lot of companies are highly inefficient or dysfunctional internally, and don't really permit doing software engineering well. So, you might find yourself not only not allowed to do programming like you love, but also not able to practice or even recognize the craft of software engineering.

If you love programming, find a job that will let you do some of what you love, or save your love for your own time. If it's your own time, have especial fun with it, and don't turn it into a job without pay (unless you can also turn it into a paying job, like a startup).
I make these talking points because I hate javascript as a developer. I won't ever bother listing all the reasons why, because they are so well known. I'll actively repeat these points ad nauseum in every meeting if you have this attitude with me on the team. To me, JS is a terrible language to work with, but I will make it about the user. You will lose this argument with the boss, because he doesn't care about languages, he cares about more users. So you can fold your arms and pout about it like this, and I will still win. Most of my apps work without JS and when someone tries to introduce a JS only feature, I make their lives miserable with the boss until they give up or quit their job.
Were the intense daily meetings any help? I can imagine that if there's a ticket to be solved, and I can talk about the problem for 40 minutes to more experienced coworkers, that actually speeds up the necessary dev time by quite a lot.

Of course, it will probably just devolve into a disengaged group of people that read emails or Slack in another window, so there's that.
The future of AI gadgets is just phones
Sadly, pitchfork has recently been gutted. Wouldn't be surprised if the new masters are doing this purely for PR...
I'm talking about 2m years of humanity. Responding with "mediaeval" France is missing the point by a very wide mark.
Seeing a lot of agreement here, so I thought I’d post to say that I don’t agree with much of this. I don’t think the problem is “industry”, and I think open source is often similar.

I wrote a short series of blog posts a while ago (in need of revision, but good enough for now…) about decisionmaking in software: https://prog.blog/essays/decisions/

The upshot is that decisions in software are creative products—there isn’t usually a “right answer”, only benefits and drawbacks. And one decision’s consequences become the next decision’s parameters. The reason businesses don’t like it when you start re-litigating old decisions is that the alternatives to what was chosen are typically not strict improvements, and implementing them would require re-making a bunch of other downstream decisions.

It’s fine to feel that your new company’s codebase is ugly, but recognize that it got that way because creative professionals needed to make a decision in their codebase with their own backgrounds and limited information about who would be using their software and how. I think that maybe the only alternative is to set up shop as a solo dev.
Things our research uncovered when we recreated 16th century beer and barrels
3 days ago: https://news.ycombinator.com/item?id=40080861

2 days ago: https://news.ycombinator.com/item?id=40084335

Edit: oh interestingly enough this one is the post from 3 days ago that has been moved again to the front page with a reset on the submission time.
Lua is a good language
If you just browse a site for a little while you can see that it’s a real website, and get a general impression of the place. The set of sites that are both useful, and require JavaScript, is pretty small anyway. So, it isn’t a big loss.

> At that level of paranoia you should use a separate air-gapped device. More secure and, more importantly, more time saving. It will pay off in no time.

This is not a real suggestion, it is an attempt to make my easy middle-ground solution sound ridiculous and impossible by comparing it to something silly like air-gapping my computer. I’m not going for some unattainable perfection. I think the reason people bring this out is that they are uncomfortable with the fact that they are being careless and they want to make even the slightest bit of self-defense sound incomprehensible difficult.
Gedeon
Hi everyone, I just dropped a demo of Gedeon on Framer.

Gedeon is a comprehensive emergency management platform that uses artificial intelligence to automatically analyze and categorize incoming requests for help. This technology allows us to respond to emergencies faster and more accurately, identifying the severity of the situation and directing the necessary resources efficiently.

I would love to get your feedback and suggestions on this project.

I am working on the voice assistant and figuring out how to integrate it into framer, but the chatbot is already functional.
>It may break single sites that were written on naive assumptions;
Google Translate and many other libraries break React based sites if they are using refs.

I don't think that point it falls under "written on naive assumptions"

https://github.com/facebook/react/issues/11538

the issue says closed but you can easily catch it in various sites and use cases.
It’s a language model, not a fact model.

This is far more a question for wolframalpha also I suspect it wouldn’t do well.

Stop using LLMs for objective things, you are only going to be disappointed.
These comments are embarrassing. It’s a landmark album and being recognized as such by critics and us lifelong hardcore music fans. You see it’s not for any of you, or rather very few. It’s a sort of love letter to me and my ilk, aka those of us that started collecting records when we were teens and went on to own indie record stores in the 80/90s and early 2000 before most of them were shuttered. There are hints of Spacemen 3, Velvet Underground, hell even some more obscure nods to forgotten bands like Boo Radley, Crime and The City Solution and many many more. If you are not steeped in musical experience this record will not land with you. But for me and about 6 of my oldest collector friends (all in our 50s now) this is a towering achievement by a single person that wrote nearly every note on the record. On top of all that there is the utterly brilliant GeoCities website with its decidedly Twin Peaks vibe and oh so much fun to blade runner zoom around. Brilliance like this shines only a few times in life and us ex NeptureRecords and Play It Again forgotten staff and friends of those great record stores are having the time of our lives listening to the entries 2+ hours daily.
Can the same outcomes be achieved using C or C++?
Without NoScript you trust your browser's sandbox to handle whatever arbitrary code is thrown into it. Same as with NoScript, really.
Not only fixing the same bug twice, but also fixing bugs that happen because of using the same functionality in different places. For example, possible inconsistency that results from maintaining state in multiple different locations can be a nightmare, esp. in hard-to-debug systems like highly parallelized or distributed architecture.
An NS version of this story would somehow involve the protagonist needing to travel to Kazakhstan, undertaking a multiple-day journey in a convoy of trucks across some mountains, to secure a meeting with an officious local bureaucrat who turns out to be bribable with in-game currency from a Chinese gacha game he’s obsessed with.
$300k robotic micro-factories pump out custom-designed homes
I don’t see any real details shared?
Sounds in almost all nature documentary videos are added later from separate sources.
Giant Rogue Waves Could Happen Much More Often Than We Realized
Elevate your phone experience with UnPhone, a launcher designed to enhance focus and connection to the outdoors.

Features:
Focus Mode: Stay distraction-free.
Home Mode: Access all your apps.
Work Mode: Organize work apps efficiently.
App Usage: Track time spent on each app.

Why UnPhone?

Boost focus with customizable modes.
Stay organized with easy access to apps.
Find balance by connecting with nature.
This really tracks for me. Personally, I have abyssal typing skills and speed. Not only has this never limited my productivity as a software developer, in some ways it has forced me to be a better developer.
Let me guess, English is your native language?
https://archive.ph/uTmRC
Usually around 2x slower execution. Load times would be even worse.
I was going back through Pink Floyd's discography the other day and was reminded that The Wall was a four record album! And yeah I do think that exception proves your rule. They coulda trimmed that up a wee bit.
Definitely (the most obvious illustration of this are alcohol or tobacco use during pregnancy, but there's likely millions of other factor playing a role as well).