skysight-inc/HackerNews huggingface dataset:
I just wrote a parser in TypeScript that parses itself (for fun, and not quite done yet).

Precedence and associativity is a painful aspect of parsing JavaScript… and probably C, Java and many programming languages that look like C. It took me a non negligible part of the time to think about how to handle this. With the presence of infix, suffix and prefix operators, and weird operators like new…(), ? … : …, and a lot of rules and exceptions, it's a lot of fun (for instance, yield is an operator in JavaScript. It takes an optional expression. However, 1 + yield is forbidden…). The grammar of JavaScript expressions is… not simple.

And then, you have Automatic Semicolon Insertion, which forces you to backtrack and snapshot / restore the lexer state when consuming white characters EVERYWHERE (well, not literally everywhere, but still) because things may behave differently if there is a new line. And of course, new lines cannot happen in some constructs (there are a few exceptions to the general behavior of ASI), so you need to take care of this too.

And then you have the comma operator that is allowed in some places taking an expression (especially in older constructs, and disallowed in other places (especially in newer constructs). So you need to handle this too.

Parsing the rest is easy. It's just that there are a lot of things in the language so it's a bit long to write.
In the US it is about 50/50
The US defense department has been saying basically this for over a decade in fact.
Speed is important, but with services like FaunaDB and Fly.io you can have low latency distributed monoliths, so to speak.
And what's their incentive to do that?

These people's success is measured in dollars and little else so of course everything gets thrown under the bus if doing so will make more money.
Blame the people spending that spend.
The point is that windows can break but it provides you tools to undo the break. With Apple, you're SOL.
Every consulting firm pays their employees way less than the hourly rate they bill clients. That's how the firm exists. Good for you that you were in a situation to dictate your compensation.
BPF based live debugging for Go/C++/Rust in prod with no code changes
One thing that is maybe helpful to consider in the modern era is that Moore's law's meaning has unraveled as we have reached smaller scales (hence the basic arguments over what it even means).

Originally the law relates to the transistor density of an IC, but this was strongly correlated with Power Consumption, Clock Speed, and a bunch of other metrics. As we reach smaller scales these parameters are no longer tightly coupled. I recall seeing a plot to the effect that Power Efficiency tapped out at 14 nm. Likewise clock speed has not been increasing at the original clip for the better part of a decade (it went up ~50% in 10 years, which in any other area of engineering would be astounding, but I could sure use a 32GHZ processor).
Anyway, having trade offs makes things more interesting and perhaps we are going to see an era with more cleverness chip architecture soon.
After record IPO, Snowflake’s shares more than double for a valuation of $68B
There are many lessons to be found within Skunk Works by Rich.

Among them is the statement that the SR-71 was not at the edge of the design envelope. If I recall correctly, there were substantial safety margins in most areas, "like a Chevy truck" in order to ensure the speed of development and improve the likelihood that the entire project would succeed.

The HN productivity/self-help crowd will find a lot more in there.

This passage has had the highest personal impact per word as any text I've read: You don't need Harvard to teach you that it's more important to listen than to talk. You can get straight As from all your Harvard profs, but you'll never make the grade unless you're decisive: even a timely wrong decision is better than no decision. The final thing you need to know is don't half-heartedly wound problems - kill them dead. That's all there is to it. Now you can run this goddamn place.

Also: https://www.lockheedmartin.com/en-us/who-we-are/business-are...
Privacy concerns about Google and security updates at the mercy of terrible carriers.

But those reasons are weakening.
Type safety for your serialization/RPC layer.
To be clear if anyone has any doubt, antitrust law talks about firms having "market power". That's all that is required; the ability to move the market in bad ways. A monopoly (strict definition) is not in any way required to violate antitrust law. You could violate antitrust law with a 5% market share.

People wanting to nitpick about the word monopoly should be educated (first offense) or mocked and shunned (repeat intentional offenders).

Google has a 73% share of online advertising, according to a random study from 2019.
The lines get thin once you get into the realms of “Engineering Management”
One downside is that all of those areas, which have been unattractive for new employers for whatever reason, will no longer need to become attractive to new employers in a heavily WFH economy.
stunnel is a more dedicated SSL prox as well.
I didn't mean to throw shade on gaming. I meant to say that my Dune II plays were so satisfying, my gaming void was filled.

I never enjoyed later games as much & eventually moved on from gaming.

sidebar: I ran a Minecraft server for 4 years but that wasn't gaming so much as it was responsibility.
How about because for deterministic output, it suits the problem? Just because you can do it by hand doesn't mean I want to.
It’s not an easy solution. Even if the Govt pays, we pay as taxpayers. My inclination is if the broader “we” decide someone doesn’t have to pay, then “we” have to be willing to pay for it.
Thanks @voisin, this is very helpful.
I tear it apart and mix it with compost instead of using peat moss (which is totally non-renewable).

I still wasn’t putting enough in and the pile smelled like a sewer until I picked up a bag of shred from the street :)
> It took a World War that killed millions of people (and was -- surprise! -- a major artificial government stimulus) to get out of it.

You are describing the broken window fallacy here. War and destruction doesn't help the economy. What happens in war is that useful resources in the economy are diverted from productive use and mutual beneficial trade to death and destruction.
My family spends about three months a year working remotely from my inlaws' place in Malaysia. Frankly it's the best time of the year for my mental well being. Things run so much more smoothly with more adults in the house.

And maybe it makes sense to start framing the US in those terms too. We had the whole manifest destiny thing, and now it's time to move back to traditional life.
Large-scale Abuse of Contact Discovery in Mobile Messengers [pdf]
In the UK a 90% income is £55k gross.

Net wage on that is £40,543, so that's 26% tax.

Local taxes would be about £1200 a year (council tax - a property based tax), so call is £39k -- 29% total tax.

In the US a 90% income is $117k gross. Take home pay is 88,866, or 24% tax, that's after Federal Income Tax and Social security

On top of that there's local income tax, picking a random state -- New Mexico -- that's $4,856, leaving about $83k -- 29% total tax.

So seems that UK and US taxes are about the same, but in the US you have to fund your own healthcare.
Somehow F# manages to do a pretty good job (although maybe I've just gotten used to any quirks re: error recovery and messages). Anybody know if they're doing anything differently?

https://github.com/fsprojects/FsLexYacc

https://github.com/dotnet/fsharp/blob/main/src/fsharp/lex.fs...
> and all they'd see is encrypted garbage, unless they have encryption keys, if the messages are end-to-end encrypted.

Yep, and they would have the encryption keys, for most channels, if the channels are to remain public, no?
"Do-it-yourself" seems like a not quite appropriate title for an interface that calls a webservice with pre-built vision ML.
That analysis completely fails after WWI. The actual cause of the post war boom was a massive increase in agricultural efficiency. This freed up a large chunk of household budgets to be spent of consumer goods which kicked off a long cycle of economic growth.
It appears they have exactly the same access as the rest of the public, from their own tweet.

https://twitter.com/JuliaHall18/status/1306197900289019904/p...
Show HN: A new forum for startup founders
> how is anyone ok w/ cruise/waymo/whatever cars driving around SF?

California DMV has shown a lot better oversight of self-driving than Arizona. They had deregistered several Uber owned vehicles in 2016 [1], and have some reasonably specific rules. It's much more OK in SF than AZ.

[1] https://www.theregister.com/2016/12/22/uber_selfdriving_cars...
Weapons of Math Destruction: invisible, ubiquitous algorithms ruining lives
You may find that with enough experiences like this, you can perceive the same type (but not degree) of fluctuations when looking at any kind of textured or patterned material, such as asphalt or a woven rug. Try gazing at a surface in a slightly unfocused, highly “relaxed” manner. I expect that to your point, your brain filters or corrects for this type of perception.
And dynamic content isn't broken content. Choosing to only view static content is a personal preference.
Changelog CI
It’s the same in Germany, it’s laid out in the mortgage terms. As a rule of thumb, you can pay up to 5% of the principal in a single lump sum every year on top of your usual payments directly reduces the principal at no extra fee. You can negotiate higher yearly extra payments, but that usually comes at the cost of higher interest.

Sometimes you’re able to refinance at no prepayment fee, but that comes down to how hard the bank wants to keep you as a customer etc.
During the Black Death, wages rose dramatically due to a shortage of workers. Economically speaking, depopulation is quite good for the survivors.
Go applications don't use the CLR, just compiled binary. It's a lot more lightweight than C#. I'd use them for different things. Go is replacing Python for me in certain places.
Not a researcher in this area, either. And no need to be, we are probably able to evaluate research. Great article. I will say that some sources (https://www.nytimes.com/2020/09/15/us/dead-birds-new-mexico-...) indicate that migratory bird die off observations started in mid-Aug, which would not jibe with the fire timelines (https://en.wikipedia.org/wiki/August_Complex_fire#Timeline). Also, the linked article submission talks about New Mexico, Texas, and even Nebraska which are hundreds of miles from the fires and generally outside of areas of NWS smoke forecast concern (https://www.arcgis.com/apps/webappviewer/index.html?id=2ff16...)
Any git-based CMS would not have vendor locking (i.e. Forestry or Netlify CMS as two examples) since they are only an editing layer on top of content and data files in your git repo. Netlify CMS is also open source. There are limitations to using a git-based solution (reusability of content within a site or reusing content on a mobile app for example) but no vendor lockin.
I would argue all of you suggested words are just as overused and meaningless as "modern". At the end of the day, I would still need to see the product to understand what it does.
Best sign: The snack closet doesn’t get refilled. That only sounds trivial.
I mean... why even use a coffin at that point? Just bury the body under dirt and pile some extra dirt on top of the hole for when the body decomposes and things settle over time so it is eventually level.
Take Action to Achieve Success
They're not. Over 10 years, our ISPs went from "imminent deployment" to "looking into it" to "what is IPv6?".

In 2030 we won't have native IPv6 and it won't be on the drawing board.
This is great. As someone who spent a great deal of time working on i18n with JS for my own software the current state of the art is not amazing. A lot of half finished and abandoned projects, many of which don't entirely work or conform to pre-existing standards. Most don't play well with newer web frameworks and those that do tend to be very limited.

Finding a good solution for VueJS, which has it's own .vue files was particularly hard. I ended up building on top an existing i18n extract tool and integrating it with the VueJS compiler to extract both HTML and JS translations.

What I'd like to see, that I have not seen anywhere (other than a broken and not currently maintained Webpack module) is a plugin for Babel or Typescript compilers that allows the compiler to compile translations into the final output packages and produce one for each language. I think this is preferable to loading translations at runtime and swapping them in.
3D printing poses a “grave and growing threat” to people’s privacy, experts warn
Sounds like a bunch of science deniers. Weird to have those on a tech forum but I guess it takes all types.

There have been many pans proposed, such as the Green New deal, to combat climate change, create stable jobs, and in many other ways improve the nation. But when 1/3 of the voters don't want change and would rather descend back into the racism and xenophobia of the 50's (except for the taxes) then not much can be done.
But that interpretation of Julia's tweet contradicts the snippet of text she shared (I assume from the judge) that clarifies they are welcome the same as any other public member.

It seems they are not exceptionally welcome. Or unwelcome. First-come, first-serve.

https://twitter.com/JuliaHall18/status/1306197900289019904/p...
> why Linux on the desktop will probably never be mainstream.

It does not need to be mainstream to be useful.
> The whole software industry moved away from waterfall to agile because it's unreasonable to assume that no requirements will emerge.

There's also an insidious side effect that people tend to think of the more common semver of features than strict semver, and they associate versions with progress and effort. You could easily get to version 50.0.0 just sorting out finishing touches on the API with strict semver if you don't have good communication with the customer. Some enterprising middle manager will start asking you've spent 50 major versions worth of effort on this library or app.

As a result of those effects and the unequal application of semver, I usually encourage people at work to choose other versioning schemes. Without strictly enforcing semver, there's really not a huge advantage to semver over a plain incrementing version. Incrementing versions also have the nifty feature of making it trivial to see how many versions behind you are. Or some people go with timestamped versions, which tells you how old your version is.
True, but I can still run my program that I compiled back in 1999.
How do you access the Material Shell settings? I can't find them _anywhere_.
Kanye West is sharing all his contracts
Which search engine? DuckDuckGo had a useful result right at the top https://duckduckgo.com/?q=Ken+Thompson+attacks > https://softwareengineering.stackexchange.com/questions/1848... (although the answer to the linked question https://softwareengineering.stackexchange.com/questions/1947... explained better to me).
SQL Fiddle – Test / Experiment with SQL Queries Online
90%ile now is £55k a year and gives you £40,543.60 net.

£55k today is £32,461 in 2000. In 2000 someone on £32,461 had a take home pay of £24,080 -- the equivalent of £40,800 today.

So not much change.
Yeah agree, and I'd say it's better to hide them away in settings because most users have no idea what those error messages mean.

For example my auntie calling me in tears because windows "had performed an illegal operation" (verbatim error message text) and she was terrified she was going to prison.
For certain websites forcing them into their mobile version can be pretty useful, but it takes a bit of playing around to make everything work nicely together. I have a group of browser windows and a layout defined in stumpwm that includes gmail, spotify, and a few other sites that have good responsive design.
I think the personal attack is why you’re being downvoted, but fwiw, I agree with the first part. From being in Afghanistan, I have first hand experience of some of the shenanigans some people will go through to make a phone call.
Kraken becomes first crypto exchange to become a US bank
Not yet I think. I still see a lot of people trying to use BlockChain to start a company that could totally be done without blockchain and their primary aim is to use blockchain than solving the problem. Personally met 1 guy and see many on reddit etc.
I think we're saying the same thing. My point is that such weak leadership should at least be dis-incentivized. There's plenty of ways to do so from fines, to jail time, to making the individuals industry pariahs. We incentivize what we value; it seems like we may be valuing money over character.
Think of it like returning an item to a store and paying a restocking fee. Stores would prefer all sales be final, but where they allow returns, they prefer to charge for the service when they can. You bought a mortgage from the bank, now you want to return it. They want to charge you for that.

See, the bank is not like your friend that lends you money. When your friend lends you money they are happy to receive payment early because they didn't actually want to lend it at all, it was a favor to you. They probably didn't charge interest, but if they did they did so because they "had to" (meaning they can't afford to lend you money as a flat out favor so they'll take the market rate, like when my friend the mechanic fixes my car but asks me to pay him because he's gotta live).

When the bank lends money they _want_ to lend it, it's the whole point of their business. That's why they exist, to charge interest. When you pay back early you're reneging on the deal, so to speak, and defeating the purpose of the business. They don't want the money back until the agreed upon time, it throws a wrench in their plans, budgets, forecasts, etc. The fee covers the cost of this inconvenience and discourages you from doing so.
On whose orders did we do this and why now? Of course... Israel.

For all the talk about foreign meddling, we never hear anything about israel. You here endless propaganda about russia, china, etc, but never about israel. I'm sure putin and xi wish they had the influence in the US that israel has.

Has part of a presidential election ever kicked off in moscow or beijing like trump did with israel? Can you imagine the lunatic hysteria it would have kicked off in traditional and social media?

Is there any country, other than israel, that you cannot boycott as an american. You can boycott china. You can boycott russia. Heck you can even boycott america as an american. But you can't boycott israel.

https://www.aclu.org/blog/free-speech/rights-protesters/new-...

Trump, Pompeo and his administration openly state that Trump exists to save Israel.

https://www.nbcnews.com/politics/white-house/pompeo-suggests...

Not to save america, but israel. Imagine if they say they exist to save china or russia. We'd call that treason.

Yes, lets investigate russian and chinese foreign meddling. But lets not stop there. Lets go deeper. Saudi meddling and all the way up to israeli meddling.

Edit: Insta downvote. Interesting.
I have to admit that I tried this and it was rather lackluster. Log output:

https://pastebin.com/4FTHRF3f

Not a lot of activity over the time I ran it, and I know that the port gets hit more than that. I had a much better time when I ran a honeypot with Kippo:

https://github.com/desaster/kippo

It was much more useful as it gave me a great list of IP's to block from all my systems ;)
Yeah, that's a really good article, and discloses that what they're doing isn't about a single new airplane. They want to completely change the way the Air Force manages the entire airplane lifecycle:

> The main difference is that the Air Force would flip from spending the majority of fighter program costs upfront instead of at the end of the aircraft’s life. To continuously design new fighter jets, the service would keep multiple vendors constantly under contract for the development of new planes, choosing a new design about every eight years. To make a business case that is profitable for industry, it would then buy batches of about 50-80 aircraft every year.

> The result is a 25 percent increase in development costs and an 18 percent increase in production costs. However, the price of modernizing aircraft would drop by 79 percent while sustainment costs are basically cut in half, Roper wrote in the paper.

> “I can’t make both ends of the life cycle go away; industry has to make a profit somewhere,” Roper said. “And I’m arguing in the paper that if you get to choose what color of money you use for future air superiority, make it research, development and production because it’s the sharp point of the spear, not the geriatric side that consumes so much of our resources today.”
I feel the same. I'm not earning quite as much you are, but still doing better than most of my peers. None of the millennial spending tropes apply to me, either, since I don't buy anything outside of the usual bag of groceries once a week.

What's especially worrying is that if I'm "doing well", and I'm so screwed, what's going to happen to the rest of the population below me?
To paraphrase George Carlin: The planet is fine, but the people are fucked.
our inability to deal with the climate collapse is only a second-order effect, we are completely unable to deal with anything right now. If it wasn't the climate crisis, and if it wasn't the pandemic, it would be something else. Our political system is far too polarized and far too plagued by anti-intellectualism, it simply can't respond to anything.

Russia and conservative media (murdoch media, etc) seeding regressive/anti-intellectual movements has been massively successful, western society is just completely unprepared to deal with freedom of speech being leveraged to spew an unending firehose of bullshit, it's a "copyleft" style trojan approach of using our own democratic values against us.

The firehose of bullshit has led to the rise of anti-intellectual movements, an anti-intellectual president, and a party that just votes absolutely lockstep with him no matter what he does. They don't give a shit about absolutely anything, not fires or hurricanes or plagues, and just let all these problems fester. It has a lot of other negative effects too of course, but we have reached the point where we simply can't respond even to acute crises anymore, our system has long-since lost its higher functioning in terms of setting goals and being able to execute them (what you'd call "self-actualization" in maslow's hierachy) and now is struggling even to maintain basic homeostasis (the "physical needs" tier of the maslow hierarchy).

(I include Brexit, Bolsanaro, Duarte, etc in this as well - western democracy is in deep fucking shit worldwide and if we don’t get our shit together and deal with the firehose of falsehoods we will be supplanted by more authoritarian forms of government that don’t suffer this vulnerability because they don’t tolerate free speech and dissent.)

It is also super depressing to know that even with everything that's gone on, less than 5% of america has even changed its mind. Even with the plague, even with the fires, even with civil unrest and mass arrests, even as the post office is dismantled and we lose the ability even to get a fucking package on time, 40% of america will go in the booth and pull the lever for more of this. It goes beyond just "doesn't affect me, who cares", or "that's 20 years from now me's problem", this has all affected everyone, now, today, and people still want more as long as they get to own the libs. It's maddening.