skysight-inc/HackerNews huggingface dataset:
This is just an anecdote, but I had to write a SQL DDL and DML parser during my last semester. I wrote the DDL parser by hand, and it wasn't as bad as I expected, but it was time consuming. I managed to convince the professor to give us the option of using a parser generator for the next phase (DML) since the point of the class wasn't parsing context free grammars and more focused on executing the SQL.

I used Flex and Bison since the project was in C. Getting up and running and understanding how the tools have to be set up with different options was a bit tricky, but after that, my parser was up and running in about two hours, compared to probably four times that for the hand written DDL. Our DML subset was also much larger and more complex than our DDL, so I was very happy with the development speed increase.

I had this idea that using a parser generator was slow and wasteful since many modern tutorials online write them by hand and speak against parser generators (possibly because there isn't a catch all for all languages). Turns out dev speed is way more important to me up front, because in the case that I notice parsing speed actually being an issue I should be happy that my MVP has gotten enough use.

It's also nice because a lexer and parser can be pretty easily black-boxed and swapped out for your hand written, just keep the AST and API the same and you should be good.

All that said, that's personal preferences and writing the parser by hand is definitely good experience and more extensible, especially for error handling. Nice work!
Writing Go with GitHub Copilot
Tiled | Fullstack Engineer (Support) | Full-time / Remote (Headquartered in San Diego, CA)
https://tiled.bamboohr.com/jobs/view.php?id=59

Tiled is an interactive content platform built for the new age of communication. Our no-code story builder lets teams create, share, and edit their content anywhere, anytime with actionable analytics to scale their impact.
I don't see much (if any) value in this article.

The code was very unidiomatic to start with, and the issues are not just a matter of style - they're very substantial, and the code is still unidiomatic.

At least one of the conclusions through the article is wrong - the author uses a vector of String references, concluding that the logic can't be easily simplified (because lifetimes are required). This data type is wrong, as owned String's should be used, which don't require any maintenance.

This wrong conclusion has actually the side effect of describing a language complexity that doesn't exist (I'm certainly not arguing that Rust is complex, but credit should be due to cases where such complexity doesn't apply).

Reconnecting to the beginning, I'm not sure what the value is supposed to be. Benchmark unidiomatically implemented updated to still unidiomatic implementation and flawed algorithm, with at least one improper conclusion, gives results that are not meaningful?
when you live through enough you know that nothing in life is 100% other than death and taxes. it's all probabilities. If you want to think the government is injecting nanites then go ahead. Fed government has a decent history the past 40 years or so. I trust them more than I do most people other than my close friends and family. I've seen people die from covid, it's not a hoax and I don't believe the vaccine is either.
> racists, misogynists, holocaust deniers, nazi's, flat earthers, qanon nutjobs, 3%ers, proud boy losers, bigots and other obtuse miscreants

free speech includes opinions that are slightly more conservative than you. name-calling does not change that.
Most of Europe has enough unemployment benefits to get you by for more than a few months, though, sometimes years. It better stay invested.
I cede that I'm not sure it kills the point. Does dull it, though. Amazon becoming a thing was very much a business investment from the beginning.

There is also the very inconvenient fact that the value at the margin will, almost by definition, be lower than the majority. The only way to turn that, is by capturing the full margin.

You can see this with starlink. Getting some rural coverage for internet is not a large value proposition. Capturing all rural internet is.
I don't care if the energy is useful, I just want it gone.
My problem with this is that if you can learn to use excel you can certainly learn to code. It's no harder. A given article for a given task in either is going to be like a 5 minute read.

=SUM(A1:A10) is no easier to do than sum(data$column). Why are we educating generations of excel users instead of generations of R and python users in undergraduate business programs? It seems so wasteful of young educated talent to learn how to do the same thing with such limited software, if its no harder to learn a general purpose software like python or R and do that same thing plus infinite more things.
I think people who are "brilliant" at interviewing will job hop frequently, while people who are "brilliant" at actual job performance will tend to be promoted and incentivized to stay internally.
Except it's not, if you look at the broader Ethereum & smart contract ecosystem. It's also for decentralized organizations (Aragon), incentivizing distributed storage (Filecoin/IPFS), pricing ad markets (Brave/BAT), supply chain management (VeChain), managing ownership (NFTs), and project governance and voting (many tokens).

This is like saying "The Internet is for porn" because that's your only exposure to it. Yes, it's the most common early use - but it's very far from the only use.
Extrapolating current trends to infinity always predicts some kind of disaster.

But current trends never continue forever. In large part because we like to avoid disasters.
I worked with someone who was working 2 full time 9-5 jobs simultaneously for a few months before being found out. When the company did realize what was going on, they quietly parted ways with him without any punishment, because they didn't want it to get around that he got away with it for so long. I think if you're not at a big organization with a proper legal department, that's the most likely outcome.
PalmOS had a few apps like this—SplashNotes is the only one I can find—and I’m still surprised that something like that hasn’t been carried forward to newer platforms. The best one can do is use MS Word in “Outline View”, and then you can indent items based on the heading style. That has served me well for a long time.
> I applaud your efforts; it sounds like you're building a nice project for [power users].

Thank you! If by power users you mean users who want to have their privacy on the web respected, then yes, we are building Orion for them.

> I obviously disagree here. The problem is not _requests_, but rather the nature of the requests.

But the problem _is_ requests, because each request at the very least carries IP, and IP is PII as ruled in multiple court rulings. I respect your decision to disagree with that, but that is the state of things.

> I don't think this is a legal question, but rather an engineering one.

There is no debate with court rulings.

It is also reasonable to assume that each court ruling involving this question involved dozens of engineers on both sides, probably more knowleadagable than you or me in this matter. And each ruling was made after careful consideration of evidence and with a lot at stake.

> It sounds like you're targeting power users who are okay with elevated risk.

I do not think you made a case that there is an elevated risk assigned with choosing to respect user's privacy in a browser. And if there is, and Brave has chosen not to respect user's privacy to include what it perceives as security features, I think you owe your users at least an explanation on your home page about that choice that you made for them.

Brave is a formidable competitor with devoted following and relevant and increasing market share. I enjoy the opportunity to discuss these important issues with you in a public forum.
Yep! I personally like Airtable as well, slightly better UX (but expensive for large teams)
A small and non-relevant repair: Wayne Westerman didn't built FingerWorks for his mom. He did it for himself, he has difficulty using keyboards for a long time. A designer at Apple had a temporary injury and used it. The rest of the team loved and used it to build a touch interface for the Mac, long before they even considered a phone.

Source: The One Device, the secret history of the iPhone by Brian Merchant

There is also the OXO vegetable peeler. It was designed for the creator's wife, she had arthritis. Then the whole company grew from that.
The examples are older and from authoritarian countries, but china and iran had state sponsored baby booms. China was started by mao, iran was also started by the revolutionaries shortly after the revolution.

https://slate.com/news-and-politics/2009/06/why-does-iran-ha...
I like when people drop assertions about aliens to win some rhetorical debate. "Well of course science is real because an alien would also discover the Charm quark." "To a Martian observer, there's no difference between Catholic and Protestant Irish." etc. My dude, we have no evidence that there are aliens, but you're just going to assert that they agree with whatever it is you already think! And yet people don't just laugh it off for the silly move that is.
Hey HN,

A while ago I was exploring the boundless realm of file sharing (https://xkcd.com/949) and I was a bit bothered by how it was, roughly speaking, either accept questionable privacy policies and hope the person on the other end can determine you were /not/ sharing singles in their area, or get your own domain name. Both of those are pretty awkward.

How about OnionShare? It is a good solution and I do not want to detract from it, but depending on python and flask felt unnecessary. How about implement it from the ground up? (Again, keeping away from the root user for the same reasons.)

A little digging through the tor manual pages, and a lot of support from Justine's amazing HTTP server redbean, I got my own file server on the Tor network!

The biggest hurdle was redirecting port 8080 on redbean to serve HTTP on the standard port; I'm not entirely sure how tor does this without root priviliges. I would love to know if someone has better insight into what tor does under the hood in this circumstance.

Happy self-hosting!
Games have changed vastly more than gamers. Nobody actually wants micro transactions or paid DLC.

My 8 year old nephew spends vastly more time on very old and Indy games not because their “popular” but simply because their more fun.
Decorators are still a pending proposal in ECMAScript, so they would only be available to transpilers. That makes them non-standard until the proposal is approved, where the implementation could change.
Each company has to decide which departments will run which parts of the company.

In a company where HR or Finance runs tech, you’ll get one set of outcomes. Those outcomes are likely different than if tech runs tech. It’s not shocking to me that Google and Netflix get the results that they do; in those companies, HR/Finance isn’t running tech.
the gpl install argument is a scary tatic that laywers tell their clients something like "if you use linux on your proprietary CD/CI build system that uses a GPLed zlib, now all your source code will have to be open"

it's utter nonsense and pure FUD.

the article everyone is talking about is about valid cases where the build is used a extra step to try to work around the GPL (akin to saying "the developer used gloves to make the code changes to the GPL'd code so it doesn't count as change", it's stupid). but as the author argee, even pointing that stupidity out is bad because it is used as fuel for the actual FUD where people using GPL correctly are mislead about what they must share
That would be useful energy, which thermodynamics says is impossible to extract from heat.
I think it's a cool idea, but it's one of many that start with a lattice model of space.
You realize that an autocracy and a dictatorship are so similar as to be basically the same thing, right?
Why is immigration the answer? All you need is workers, not immigrants. SK will probably do what the gulf states do. They will bring in foreign labor but with a clear separation between expat workers and potential "immigrants". These people will work finite contracts and then be literally sent home once the contract is over, mooting any concept of naturalization. Gulf states have done this relatively successfully for decades.
Or maybe the premoderns were correct that there are trickster gods, and we have been tricked (!) into believing in aliens instead.
I like the bit about building the best performing team at the expense of the individual. Seems like something you could say to let down a report in a 1 on 1. Im going to use that from now on, whenever it serves my purpose. Thanks!
Ask HN: How do you get through the day?
I don’t get how everyone around me seems so content. Is there something I’m missing, is there something I should be taking, something I’m not seeing? I feel like I’ve tried it all. Therapy, working out, drugs, not doing drugs, trying new things, trying nothing at all. Half the time it feels like I’m the only person in the world that doesn’t know fire is hot. I’m just growing angrier and angrier with each day and each failure to the point where it has to be me, I must be missing something right? So how do you get through the day?
IMO higher-level services like Usenet, email hosting, and Web hosting don't belong in ISPs (which has mostly already happened). Non-binary Usenet seems so small by today's standards that the old federated model should no longer be needed and one big free public server should be enough.
Surveillance Capitalism: Exposed Before Digital Omniscience
Summary of plausible bad reasons to appoint two "co-leaders" where one would suffice:

- Both candidates had such strong claims on the #1 spot, and so much influence, that the company was forced to promote both to avoid losing one of them. Hiring an outsider, like a sensible and earnest company would have done, would have alienated both rather than only one. Is Activision known as a fractious organization?

- They really wanted Oneal, but they added Ybarra to avoid looking like they had undergone a feminist coup. Because they care about what their users think of them, and this is what they think of their users.

- They really wanted Ybarra, but they added Oneal to give an impression of greater change, just because she is a woman.

- Both candidates weren't considered really qualified as a sole "leader", but there was hope that they could handle the crisis together instead. Which implies personal conflicts, poor personnel quality (not necessarily Oneal and Ybarra, of course) or both.

Even worse theories would be easy to think of, but since Blizzard executives can be expected to read HN discussions about them speculation about what they are doing would be pointlessly cruel.
AWS's console UI is a pretty good sign of "coding the area" as well. So many subtle inconsistencies in the UI with navigation structure, pagination, filtering/search with all of their different services.
IMHO, Apple would be wise to be more like Microsoft, Facebook, and Google and release some Android apps.

Apple Wallet should be one of the first. Nobody is buying Apple devices for Apple Pay alone. They already realize the benefit having Apple Music be cross platform.
Glad to see integration with Hammerspoon. I still think Hammerspoon is massively underrated in terms of productivity software.
> Somebody is on the wrong side of this trade in a big way.

The reason why European yields are so low is because financial institutions are forced to own govt bonds. That is it.

Europe is one of the only markets where you really see this, yields in the US could certainly move higher or lower but they trade at a rational level. In Europe, the price is just wrong (because no-one is doing the trade to be right or wrong, they are doing the trade because of regulations).

Also, making some kind of linear prediction for rates based on the drop over the last 40 years makes no sense. Rates are actually stationary, but the reason they have trended strongly over the past four decades is because of changes in inflation expectations and aging of society which has brought down the natural rate of interest significantly. Outside of this, the underlying properties of rates are stationary...the same as every other valuation measure.
I’ve heard the argument that it’s not worth spending the time to get all aspects of your build environment into version control for 100% reproducible builds, but the saying “I shouldn’t be bothered to know what my upstream deps are” that’s pretty sad (hopefully rare).

Even with the continuous deploy stuff, I think you’re giving too much benefit of the doubt. If an upstream non-pinned change brings down something critical (e.g. payments), you’ll revert the change in source, rebuild, release, the site is still broken. If you keep old artifacts you can push one of those, now you’re not really doing continuous deployment, and you won’t be again until you finish root cause analysis, and since you’ll never see the relevant change in your source code, it could take a while.
Xi's thinking behind cracking down the after-school education sector started from 2018, he published an essay on this issue. From 2018, the ministry of education has been issuing orders to reduce the study pressure of school kids [1]. Chinese government set an objective, a few policies will lay out to achieve it, the current crackdown is just a follow-up when ministry of education's policy didn't work out, now four ministries are working together on this objective.

[1] http://www.moe.gov.cn/srcsite/A06/s3321/201802/t20180226_327...
Okay. How about companies that create book keeping software? Should they be required to KYC their customers.
Low interest rates and high inflation will pump those numbers up even more. I don't see a way to stop the increase without the debt imploding on itself which the government would never let happen (I'm personally in favor)
In comparison to Russia, or China, America is a paradise for late marriage.

The higher up you are on the social ladder, the quicker are the spouses taken from the marriage market.

I was fortunate to go into somewhat prestigious highschool back in Russia. The last 3 bachelors from my class are all the people who managed to get it abroad.

Everybody else was gone by mid-twenties, anybody with higher education by 23 at most.

Seeing an unmarried woman with PhD level education, job, own roof over her head, and no skeletons in the closet over 30 in Russia is likely a hallucination. In Canada, I met new such almost monthly, and I grew rather rather complacent.
My first thought were in game assets.
The lost productivity and general _stress_ due to well-intentioned but ultimately counterproductive software being introduced by IT after a ransomware attack was the last straw for at least two highly qualified engineers I know personally. They left their employer after that. Being blocked from doing your job is highly stressful for people who are motivated by the utility of their work to society, a description which I believe fit these engineers. This is an example of direct human cost - the transformation of a desirable, fulfilling job to one less so.

Now, sure, the IT dept in question could have handled this a little better. Maybe. But the presence of these advanced threats forced IT's hand here.
Wow, you're terrible!
For me in non-leadership senior+ engineering positions I've previously accepted an offer with everything finalized except start date. I then notify my employer I'm leaving and discuss how to do a good transition. I then come back to my new employer, tell them how much time I need to leave well. So far new employers have been understanding, particularly when I imply I'll do my best to handle things the same way when I leave them. I haven't had problems doing this in the past and it seems to have a lot of upside. I think it's easy to destroy a good reference by giving two weeks notice in a situation where two weeks isn't adequate. I've never given longer than four weeks notice, although I have negotiated for an extra week on a start date with a new employer because the best vacations are between jobs.
The biggest simplification that I disagree with in this post is that impact rises monotonically.

It's true that long-tenured engineers (if they're good) can do amazing things. Things that other engineers don't have the implicit knowledge or political capital to do. The problem is that once that project is over, it's not guaranteed that the next project will be as impactful.

So ... do you pay them for their impact? And promote them? Knowing you're guaranteed nothing the next quarter?

Or do you put up barriers to promotion? "Sustained performance" or "multiple successful projects?"

I'd love to see an approach to IC comp that's variable. Land a huge project; get a bonus. Everything past Senior Engineer is temporary; if you want to be paid like Senior Staff or Principal, do the work in that year. I suspect orgs could justify being more generous with bonuses because it's not recurring.

It's at odds to a lot of the way engineers look at comp, but it would align money with what individual businesses need in a more interesting way than the current "plan on your RSUs going up by 50% next year" comp plans at FAANG.
I liked that plot point in Girl Ghostbusters: they post their videos of ghosts to YouTube and the comments section says "FAAAKKKEEEE."
There are many cities that seem more child friendly than others although. Like berlin, or even new york compared to SF.
This is the kind of half assed solution that could be called procrastination.

Its obvious the only solution is to slow Earth rotation down so we have no need for leap seconds while maintaining high noon precision for millenia
Why Do People Think React Teaches You More JavaScript?
Things like ENS/HNS domains will be some of that grey area for assets IMO. Right now I think a normal domain is a bit of a grey area (asset vs expense), but at least there’s no reporting requirement for them.

Will my (hypothetical) .eth domain be considered a digital asset?
I don't think pay increase will help stagnation. Maybe picking projects will if the company has enough variety.

The best cure for stagnation I've found is to take long breaks and get into something else.
"Is continuous partial attention the new normal?"

Yes, and I hate it.

I'm expected to be a full stack dev in multiple stacks. Everytime they talk to me they want me to "focus" on something new while doing 10 other things. Today I just heard they want me to focus on becoming more of a DB2/COBOL resource...
I think it's specifically a disease of the frontend community to believe that nothing you knew about programming 3 years ago is relevant anymore.
> (...) that comes to an end after about 24-36 months of working at the same company. After that the vast majority of people just stagnate, get complacent, the job stops being interesting to them and they move on.

Or, another explanation, you are mistaking cause and effect.

Maybe the people figure out they could be earning so much more somewhere else but they are unlikely to get the kind of raise at their current place, so they get disillusioned and demotivated?

And then they change the job getting the significant raise, further reinforcing the behavior. Now they join another company fully expecting the same thing to happen in 2 years.
They're still made in China. Volkswagen to Nike clothes.