skysight-inc/HackerNews huggingface dataset:
This looks great! Thank you for building it. I'm looking forward to learning to use it.

I'm just starting to learn about tree-sitter but my understanding is that it can also handle nested syntax, for example code in documentation html pages. Does grit support this a well?

What I would like to do is use grit to update my project's code samples with new releases or syntax changes. Is that possible? What part of the docs should I look at for this?
The beef I have here is that Redis also takes credit for community work. Most of the heavy lifting came from antirez, who created and ran the project up until 2020. (It's worth conceding that Redis did compensate antirez). At that time Redis created an open governing board that took over, with a majority of contributions coming from the community during this time (~25% of contributions came from Redis engineers, ~75% from the community, including ~3% that came from me personally). They own the trademark and the repository, so they can do what they want, but I take issue with the optics that this is really AWS or GCPs or some other vendors fault that Redis decided to blind side it's development community. Redis gave some of us a heads up this was happening, but most people are finding out by a blog post that Redis dissolved the previous open-governance (a fact they barely address in the blog post). We had to drop weeks of work on the floor because we could not longer finish it.
It’ll be interesting to see how the various cults adopt this technology. They certainly have plenty of money to acquire the hardware. The Vatican has fairly advanced computing infrastructure from what I understand as well: https://cerncourier.com/a/quantum-gravity-in-the-vatican/
WFH is not for everyone. With kids around, no matter where I isolate myself in the house it's impossible to do it. Leaving home, going to work, interacting with coworkers, telling jokes, eating at the same table, I realized 90% of the problems are solved at cigarette brake, brunch, launch, etc. Meetings are the only thing I would WFH... god burn them with fire.
The author kind of glosses over the "balance" bit, but I don't think it's a coincidence that the creation of 2 wheeled vehicles coincides with the creation of the first gyroscopes:

https://en.wikipedia.org/wiki/Gyroscope
Your comment reminds me of "Rocket Ship Galileo" by Robert Heinlein.

Which is to say, crazy reductive.
It's also amazing how stable a bicycle is, that it allows you to steer with one hand or even "look ma, no hands". I only came to appreciate that after I started riding e-scooters - those are very hard to control if you don't keep both hands on the handlebars, and taking both hands off will probably throw you off instantly.
I have not read them (yet).

This is a summary of one of those I think: https://www.ans.org/news/article-1592/caught-in-the-leadersh...

That page itself references: The Never-Ending Challenge of Engineering: Admiral H.G. Rickover in His Own Words which appears to be on kindle.

"Admiral Hyman Rickover" is another book that doesn't appear in your list.

https://rickover.com/ is a site that recommends a couple of books.

There is a PBS documentary-ish thing that can be rented on a couple streaming services: https://shop.pbs.org/WC1852.html

Google is surprisingly sparse on him, so combing over his Wikipedia references was my plan. I've also found it hard to find a list of his congressional testimonies, but I am pretty interested in that.

You can also watch some interviews on YouTube. Rickover was a person who successfully spoke truth to power, which made him enemies. I have a hard time telling how much influence the power he spoke truth to has had over his legacy. Watching some of his interviews that can be found on youtube are a very "never meet your heroes" kind of experience.

The greatest criticism of Rickover is that he did not create a system that produced more Rickover's, which created a sort of "succession" problem and "bus factor" problem. On the flip side it is very hard to argue with his results and legacy.

These are some other non-exhaustive HN discussions of him: https://news.ycombinator.com/item?id=28574622 https://news.ycombinator.com/item?id=36080015 https://news.ycombinator.com/item?id=38383206 https://news.ycombinator.com/item?id=38178207

> He claims "this is our fault, we'll fix it"

That is exactly the opposite of Rickover's idea of ownership. This is "our" fault means that everyone is responsible, which paradoxically means no one is responsible. In tech "this is owned by everyone" means it is completely neglected except by "heroes" who are on the path to burning out because they have leadership that has no idea what is going on because if they did, then someone would be directly responsible for the state of whatever is communally "owned".

Rickover's philosophy (from what I gather) is as simple as the difference between "our" and "my." Rickover would have definitely said "my" fault. "This is my fault, I am responsible, I will fix it." A CEO has the most power and therefore the most responsibility, so a CEO who diffuses responsibility will find that no one else wants responsibility either. It is debatable whether Rickvoer was properly responsible since there is rumor that during the USS thresher incident he distanced himself from responsibility, but I think his philosophy is very very clear about the distinction between "our fault" and "my fault" and how important that difference is.
So far all responses to articles about to wfh or not wfh have been far more nuanced; it’s good for some, not good for others to wfh. Some people love the office and do their best work to waste half a day or more of the day commuting and talking about the weather in ‘meetings’ while others (and I guess you feel in what camp I am) get far more done at home.

Forcing everyone into offices is only about control and bad managers not being sure how to show their job is actually worth anything at all. Hint; it very often isn’t. Their jobs can often be replaced by a trivial piece of saas software.

> Like many HNers

Show of hands please as I don’t know if this is the case; I haven’t seen it. Like said; it’s mostly more nuanced and almost no one here I have seen claiming that ‘everyone RTO’ is a good plan, at all.
> But Grit should be able to handle translating a PHP dialect like Hacklang to a modern version of PHP?

Yeah, that should be doable (though GritQL doesn't have PHP support yet).

> In your opinion, what tools would be ideal for general purpose transpilation between languages?

Writing a transpiler is quite complicated and requires a lot of development to get right. I don't know of any high-quality generalized transpilers—you're best looking for tools specific to the language pair you're targeting.
You're answering the wrong question. The question is not "how does the rider initiate a lean" which is usually through countersteering.

The actual question is "Why, when you give a bicycle a good shove, does it stay upright on its own, continually changing its direction to balance itself?"
I'm a dev, I wrote the damn import already twice and would do it a third time yet won't pay 90€ just to hold my data.
My requirements are web/mobile/api access plus monthly budgeting.

Does such service exist in the FOSS world?
It's critical for many scientific simulations: fluid dynamics, finite-element analysis, that sort of thing. A few years back I was helping try to track down and buy "outdated" K80s (or were they K40s?) to run a big FEA project because they still had the best FP64 performance reasonably available despite being otherwise outclassed.
A heuristic could be written like 'protect the latest version of each node, plus 2 prior versions, but anything older you find, treat it as free apace'.
You originally described it as "an extra yearly salary each year from his real estate increasing in value" though, which I think is greatly overstating its utility.

It's really more useful for those occasional things that are too big for the liquid assets you have available right now, but that aren't so big that it will take you too long to pay off.

For example you need a new HVAC system, but to pay for it would have to take some money from an IRA. You are close enough to the next tax bracket that half of that IRA withdrawal will be taxed at that higher marginal rate.

It may then be cheaper to only take 1/2 of what you need from the IRA and the other half from your home equity line of credit. Then at the start of next year make another withdrawal from the IRA to pay back the home equity loan. That way none of the IRA withdrawals end up in a higher bracket.

A similar scenario would be if you are getting ACA tax credits and taking all the money at once from your IRA would push your income over the maximum income for ACA tax credit eligibility.

For most of us I think such situations will be rare enough that what we can gain by doing them won't be as much as what we lose from the increased property taxes from our home values going up.
I never owned a car, never felt the need to. I have learned to drive as a young adult, but unlike swimming, I never found that skill actually useful. If I had to drive a car today I would rather take some lessons first anyway, as there's no way I could actually drive safely otherwise. It's very easy for me to imagine much better ways to spend the money used to learn how to drive and much more useful "life skills" to acquire.
I believe, most of the companies that we hear instituting an RTO mandate have distributed teams, so that in-person interaction wouldn't manifest in these cases. Also, I live in a country with very meaningful transportation infrastructure, I still wouldn't want to spend 1.5-2 hours every day crammed into said infrastructure at rush hour for no good reason. Buying a car would have saved me 30 minutes tops and I find it irresponsible when public transport is available.

Thankfully, I no longer work for a company that mandates in-office work and even the telco (!) I used to work for had unlimited home office even before the pandemic, which worked beautifully and saved them lots of money.

Having an office to go to helps the more socially inclined employees, but doesn't boost productivity uniformly, especially when everyone is on calls all day anyway.

Just like home office, full in-office work needs a very special setup to be truly effective and given global hiring, may be harder to achieve that a remote culture.
Well all the people at the top were machiavellian bastards on their rise. But they need underlings to not be machiavellian to get the best operating business and stock performance.

So they need to be visibly watched.

Of course ascending the hierarchy means visibly larger and larger numbers of underlings. Zoom phantoms don't count in that swinging duck contest.
Violence can also be automated though, we'll see how we fare against autonomous police and drones
https://archive.is/es3u9
The situation with Russia is well past escalation by accusation of civil aircraft jamming. After all, they've pretty much stolen all planes they had under lease from Western owners.

Appeasement of someone like Putin is always a mistake.

So far every time the West calls his bluff he cowardly pretends nothing happened, be it HIMARS, Storm Shadow and HARM missile shipments, tank shipments, AWACS support, you name it.

He only attacked Ukraine because he hoped to win in a week, and this wouldn't have happened if the West armed Ukraine earlier. The desire not to escalate with Putin cost Europe a war.
Yes, Grit does support embedded languages. Right now we support Vue syntax: https://github.com/getgrit/gritql/blob/4ff989e8d665cc9ffa2cb...

We don't have support for HTML yet, but if you open an issue we're happy to explore it.
> EV's and large batteries inside buildings are not yet forbidden but probably will be soon.

Really? That would more than inconvenience millions of people who already have such things. Seems most unlikely to me. Here in Norway we have about half a million EVs many of which are parked in private garages overnight and in multistorey car parks during the day. I can't recall a single incident where the battery either caused or exacerbated a problem.
So? Isn't losing medicaid an ACA qualifying event? Your income goes up, you lose the medicaid but now qualify for ACA.

That said, in my secondhand experience across multiple states I won't name, the medicaid office probably won't actually find out or do anything before 12 months are up.

Also, a few states are starting to officially enact "continuous eligibility" and intentionally not check your income for 12 months -- mostly for children[1] right now, but some states for adults[2] too.

[1] https://www.medicaid.gov/medicaid/enrollment-strategies/cont...

[2] https://www.commonwealthfund.org/publications/issue-briefs/2...
>AI won’t beat physical violence in case of a revolution.

On a long enough time scale it beats everything.
> is just so outrageously wasteful, not to mention self-centered and selfish, that's it's literally a crime against humanity.

You're "not wrong", but you're taking a rather negatively biased view on the matter...it is also hilarious, simultaneously.
To serve and protect
Only available? You mean that you can still buy baby powder that contains actual talc?
Mattermost supports voice calls now.
PlantUML predates mermaid and is an excellent tool.

A big issue was PlantUML being developed in Java. If it was coded in JavaScript, you could put it in any web app, and the story might have been different.
I have the same question. I'm particularly interested in the SQL dialects case.

Does the rewrite code also have to be syntactically correct or is that a simple text replacement because that's what I see as the main impediment; if I'm using the sqlite grammar to parse and produce postgresql output, the output won't conform to the grammar.

Also how do I dynamically load custom tree-sitter grammars like in ast-grep?
The exact same way it's supposed to help sort fact from fiction more generally.
> the latest hype cycle
I see what you did there
Small towns have set up speed traps on highways passing nearby so much that many states have enacted laws to restrict the ability of such towns to annex land for this purpose. Since EV chargers aren't a natural monopoly, local governments could use their power of zoning and other regulations to create an artificial monopoly for themselves over EV charging. State enterprises also have a history of being inefficient when they can lock out non-state competitors or drive those competitors out of business through state power.

State ownership of utilities are a mixed bag but at least they're generally answerable to those in their service area. Due to the transient nature of vehicles needing charging, it's not difficult to see some small towns that happen to be near road junctions setting themselves up as the only charging choice in the area. Maybe you have enough charge left to bypass pass the chargers that are 25% more expensive than the state average. Or maybe you just stop and pay it.
I didn't.

That some people having a car could do without is a certitude but I can't know who.

You know, when writing this paragraph, I had a friend in mind for who I think it would be hard. Especially when this friend would prefer not to have one.
This is a thoroughly beaten horse.

The conditions for successful work from home are: hire well experienced back office employees, have relaxed yet firm deadlines, conduct daily meetings, keep your middle management busy with more important work than helicoptering over their team, use your office space for more than just a place to sit, etc.

Businesses with multiple offices have been doing "remote" work for decades. This is more about company scale than policy. Too small or too large and you'll struggle keeping people organized. Mid-sized businesses are the majority and few have required returning to the office.
According to CBS News, in a normal year, half of forest fires in Canada are started by lightening and the other half are human-caused.

https://www.cbsnews.com/news/how-did-wildfires-in-canada-sta...
Cahier looks great! Any plans to add backup/sync?

Also, is the data store encrypted at rest even when the app is actively being used?
You have to.... pay... for soda... at Apple? What the hell?
People are not identical and you can't apply the same policy for a labor force of 3 billion. If you think your policy is so right, stop calling people names who disagree with you. Go run your company as you think is right. If your employees are happy, you're doing something right, ignore the stupid people on the internet.
I don't see how removing buttons from your keyboard is helping with those issues. I do see how making people aware about the use of tracking cookies will help with raising awareness about the use of tracking cookies.

I understand you see it as an inconvenience, making the UX worse. But it's not about that, the cookie banners actually provide you information about what they use the cookies for. Which 3rd parties they share it with. It is about raising awareness.

And yeah, you have to start somewhere. If you don't do anything, nothing will change, and deterioration continues.

You do understand that the ones in control of this data have a lot of power. Do you wish to change it or are you satisfied with the situation? If you have a better idea on how to deal with this issue, that could be a helpful contribution.
It's more expensive for my employer to hire people in my country than to hire people in other countries, because the salaries in other countries are lower. As an effect, they basically don't hire new employees in my country because eastern Europe, India, Vietnam etc is cheaper.

With your reasoning I should definitively support immigration policies which bring more people to my country, since that will make the hiring pool smaller and my leverage will go up. Is that what you meant?
Nice!

Took Unshorts a step further: remove all shorts from a page:

javascript:(function(){document.querySelectorAll("a").forEach((a)=>{if(a.href.includes('/shorts/')){a.remove();}});})();
I got a few hundred words into a product review the other day before I encountered "as of my knowledge cut off..."

Shame on me for not noticing earlier, but I did expect a review site listed on page 1 of google to host actual reviews
Plenty of opensource projects are built on closed source tooling/dependencies. For example, opensource projects that only work on Windows.

Sure, it isn't ideal, but I'd still by far have these projects open source than not.
If things ever came to that then the AI side isn't without their own potential options:

https://en.wikipedia.org/wiki/Drone_warfare
They had enough of their own worries. “There is but a plank between a sailor and eternity.”
Also, horses self-drive you home after a long night drinking beers in the tavern.
Because developer productivity doesn't matter that much to big companies regardless of what they say. Their margins are high, and it's why google can have an entire team making sure their AI can't generate images of white people and still rake in more cash than god from their search monopoly.
The cynicism if red hat is involved is that red hat wants more control of Linux.

Christ could they just make Wayland usable first?
It looks like another commentor posted the Fdroid link.
Regularly? That means that some nontrivial fraction are guaranteed to burn. I think you mean that it happens at low probability but is eagerly covered by media.

In any case, the fault is almost certainly either physical abuse (which has nothing to do with accessibility/modularity) or simply bad chargers (which better access would actually mitigate).
A productive, optimistic zeitgeist doesn't have:

- mass shootings

- a negative total fertility rate

- an epidemic of drug overdoses

- pervasive loneliness

- ridiculous homelessness

- malignant neglect

- oppressive lack of bodily autonomy

- lack of healthcare and mental healthcare

- rampant depression

- crimes and deaths of despair

- suicide

The root causes are a lack of functional political system and leadership, achievements, and economic equality. Without these, love and sex become impossible unless you're one of the special few rich or popular.
I half-expect some sub-branch of the abrahamic religions to issue an edict against AI, arguing that it's a false idol. (Not that I am arguing for this.)
>I don't see how socialism is any different. It is still the state taking from one person to give to another.

Socialism is when workplaces are owned and managed by the people who work there, rather than private investors. It has nothing to do with taxes, or welfare, or "the state" doing one thing or another -- that is a uniquely American conflation.
> "a prisoner's dilemma scenario with astoundingly low defection rates"

That could be the official slogan of any successful ruling class.
Yes imagine how well a cast iron bike would handle. Or a wooden one. There is a reason why even steel is not used any more in bike frames.
I've heard that the gyroscopic effect in bicycles is rather small. The balance instead comes from the positive angle of the front wheel, creating feedback. If the bike leans one direction, the wheel rotates to counteract it.
A lot of painted film posters are like this, e.g. Back to the Future posters are all actual posed photographs used for the painting. (probably all the Star Wars ones too as the artist is the same) p.s. BTTFIII poster has Mary Steenburgen cut out and glued onto it later as she wasn't on the original poster that was painted.

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

https://www.reddit.com/r/OldSchoolCool/comments/ejsb22/micha...
Putting aside the weird beliefs, the principles themselves are actually pretty decent and widely applicable. Strange place for principled thought leadership to come from :-/
Well, you can get it from https://f-droid.org/en/packages/com.shatteredpixel.shattered... if you don't mind the vulnerability scanner having a false positive occasionally.
> Does the rewrite code also have to be syntactically correct or is that a simple text replacement because that's what I see as the main impediment; if I'm using the sqlite grammar to parse and produce postgresql output, the output won't conform to the grammar.

No, we don't require the output code to be syntactically correct. You can use the raw`code` modified to indicate a raw text replacement: https://docs.grit.io/language/patterns#raw-output

> Also how do I dynamically load custom tree-sitter grammars like in ast-grep?

We don't currently support dynamically loading grammars, mainly because our metavariable approach requires some modifications to the grammar.
My initial thought was recording the position in each frame.

Obviously after reading it, it seems obvious. And if I were implementing it, I am pretty sure I would have came to the same solution.

But it was not immediately obvious to me from the title.
I’ll go out on a limb and guess: not in a way that can be measured by repeatable experiments.
Its about 190B which is about on par so I was wrong. From my experience with friends who are LEO they get about 1 week of training a year which isn't enough.
Jobs-era Apple had its share of failures too, we just ignore them because the successes were so successful.
I'm curious - Where are you getting your numbers from?
This is a great article, and there's definitely a need for discovery for these agents.

While I am skeptical about personal AI agents, I instead believe in personalized experiences through a network of agents. We are building this search engine just for this purpose. It's named index.network and functions as a discovery protocol for these agents to hear each other, respond, and produce knowledge. We enable them to use natural language to discover their identities, reputations, and knowledge, all with complete data ownership.