skysight-inc/HackerNews huggingface dataset:
I think for terser expressions to be more readable, the reader has to be more context-aware and generally more immersed in the paradigm. There's an understanding of the language that needs to be acquired.

Less terse language relies less on shared context, and thus is easier on newbies. There is less assumed knowledge, more things made explicit.

> And concise notation expands the kind of expressions that can be grokked by pattern recognition rather than unpacking.

I have this totally the other way. After years of coding in Go, I can parse "if err != nil" subconsciously and only ever deal with it if it's not that (e.g. if err == nil). It's not concise, but it is very, very easy to read.
Really cool thing! When it will be ready for production use?
Very sus
> in the US it is 90-100

In a science or engineering class, it might be everything above 40%.
Probably a silly question, but how exactly does the refresh token help here? If your app is keeping the tokens accessible from javascript, then an attacker who (through XSS for example) can steal the short-lived access token could also steal the long-lived refresh token an "trade it" for a new access token, no?
Hi HN !

I am happy to showcase tk-cyberpunk-theme.

I created Pyrustic Framework [1] [2] to make it easy to develop Python desktop applications.

Pyrustic has a mechanism that allows you to create a theme separately like a library.

My goal is to empower people to produce themes that others will want to consume.

Theme creation doesn't require learning a new language, it's just plain old Python code.

This project is a work in progress, I will write a guide on how to create a theme later.

I look forward to reading your feedback [3].

[1] https://github.com/pyrustic/pyrustic

[2] https://news.ycombinator.com/item?id=23930255

[3] http://sl4.org/crocker.html
I'd love to hear from devs and designers who have experience with Playroom https://github.com/seek-oss/playroom ...

also, where does Storybook fit into tbe picture?
Sweet, sweet karma. And then you go sell the account.
Please call me back when you can prove those Amazon employees signed their work contracts with a gun to their temples.
Even so, there's a limit to how much the consumer can do, given how interconnected supply chains are. Your TV may ultimately be assembled in SK, but it will definitely be sending revenue to China for myriad internal components. A boycott is a challenging thing to implement at the consumer level with modern supply chains. It's unclear what the best mechanism to apply moral shame should be, especially when political action is only interpreted cynically as economic competition.

(...And I'm being silently downvoted just as you are.)
yes, this. Completely.

Is that more readable or less?
Not sure I'd trust companies with a vested interest in denial to communicate objective truth.
Even fresh mozzarella has very little lactose in it, something like 1 g per 100 grams. Any cheese made from curd basically, because the sugar mostly stays in the whey.

(I am lactose intolerant, and I realize the level of discomfort that people experience varies)
Inflation in different countries goes at different rates. You can't use dollar inflation for these conditions, as prices rise much faster in those countries.

As for Chinese people, it is amazing that they came out of poverty. But clearly it's not thanks to free market capitalism.
It is probably not coincidental that the Unitarians are associated with this area as well...
Probably a dumb question, but why can’t we just blast nuclear waste out into space with a rocket? Seems like a rather small payload in the grand scheme of things.
Strange how these billion dollar companies keep getting tricked into innocently profiting from slave labor.

It seems to me like the only way for a company to know if forced labor is used in the production of the goods they sell is for someone else to catch them red-handed.
Yeah, but because there is a giant hole in the ground, but that's not specific to uranium mining. Luckily 1) uranium is extremely energy dense so we don't have to mine as much of it and 2) people usually don't live where mines open up in the first place. If we're talking about uranium mining you may notice that Canada isn't particularly habitable to begin with. Though in situ mining is pretty popular with uranium because it is cheap and results in less contaminants.
I often think that maths could use the same slap around the chops. Less arcane operators and symbols, more explicit function names please!
Usually the refresh token would be kept server side only
Latest updates are being tracked on Twitter.

https://twitter.com/feedly/status/1375927323787071489

> The data has been replicated. The team is running some diagnostic tests to make sure that all the nodes of the system are green. As soon as this operation is complete, we should have an ETA. Next update in 60-90min. Thanks for your patience.
You should reach a conclusion based on your beliefs. I don't see what point you prove by starting from beliefs you don't hold if that's what you mean.

Do you genuinely not care if people are killing dolphins and whales and eating dogs though? I've no doubt some people exist that don't but I'm sure they're in the vast minority.
> You don't get to decide what counts as "decadence".

I don't, but the accounting does.

> Nor are cities subsidizing suburban and rural areas; in most cases it's the other way around, it's the cities that continually get themselves into financial trouble and have to be bailed out, and the suburban and rural areas that are fiscally responsible.

This is completely false.

It seems that way because of cities offering extra services get hit with austerity first, but the base line is is not no net subsidization. You are just observing cities being unable to fund those services and subsidize the suburbs at the same time.

Google "cities subsidize suburbs" and find things all across the political spectrum. For example, on the more right:

https://www.strongtowns.org/journal/2020/4/16/when-apartment...

https://www.theamericanconservative.com/urbs/we-have-always-...

in addition to the original article on the left.

> And when there are significant sub-populations with widely different preferences, the right collective choice is to separate the sub-populations so each can have their own areas where they can implement their preferences, not for one sub-population to force its preferences on everyone else.

If suburbs can function without my money and without leaking their pollution in my air water, sure. But that is not possible.
> Nuclear is only competitive with lavish subsidies beyond those it already has.

Guess which energy source in France receive most subsidies? If the answer was fossil fuels you would be right. If you ask Germany with its massive subsidies for renewable, it is actually renewable followed by fossil fuels. Then its fossil fuels again. The story repeats itself in practically every country in EU. Even Sweden with its very public facing pro-renewable stance spends millions on subsidizes for fossil fuels. In total for 2018, 50 billions euro wast given as subsidies for fossil fuels in EU.

Inquisitive people might ask why all those countries are spending so much subsidizes on fossil fuels, and the answer is pretty simple. Do you want a stable energy grid? You either pay the oil, gas and coal companies to keep the engines warm in case there is a demand spike, or there won't be enough supply when demands go up. Now lets discuss why the need to pay for "reserve energy" has spiked in the last few decades. It has something to do with intermittent energy production.

Here is a suggestion. Lets cut that 50 billions for fossil fuel subsidies to 0. Either pay for nuclear/storage or accept an unstable grid. I am very tired of oil, coal and gas being paid to just keep the engines warm.
I don’t think that’s true. Sure the petrodollar might be a small boost but it’s hardly what’s propping up the super power status. The US has a ton of soft and hard power still.

Military, internal market, businesses, banks, the justice system, etc are all orders of magnitude more important for the hegemony
Does anyone know how to effectively read such a long form / document? What are the most important pieces of information for a layperson and where / how to find them?
Could it be that the US is the one with vested interest?
I use Google groups. It's not a great solution, but it works ok.
I remember reading an article about the difficulties of extracting AST from clang [1]. Even when there are less politics involved, seems like a hard problem. With GCC, the problem becomes an Stallman order of magnitude harder :-)

1: https://foonathan.net/2017/04/cppast/
You don't have to be pretty smart to realize that it's a hell of a lot more expensive and requires a significant amount more work to create a dirty bomb vs a conventional bomb. Or rather you don't have to have any intelligence because both those things are physical limits.
Ora et labora.
Don't quite need to do that.

Follow https://themes.vscode.one/faq/publishing-theme to step 4. Then use VSCE to make a package file as shown on https://code.visualstudio.com/api/working-with-extensions/pu...

You can then distribute the VSIX file that you create any way you please and also do a VSIX file installation of the theme on your local copy of VSC.
I'm so happy to see this on HN. I've used Ohm for several projects. If you want a tutorial for building a simple programming language using Ohm, check out this series I put on GitHub.

https://github.com/joshmarinacci/meowlang
The World Fact Check Act of 2023.
VW group has twice the EVs in pipeline than Tesla. Sales are probably gonna overtake Tesla this or next year. They are not as fun as Teslas but they are solid products that people seem to prefer over fart mode that cost them extra $10k.
Can Quantum Computers Hack Bitcoin?!?

https://www.youtube.com/watch?v=IaoTtkuY7jM
I keep waiting for someone to find a plagiarism checker retained a copy of their work and sue for copyright infringement.
The best way to get that info nowadays likely is through libclang, but other options are clang plugins, lib tooling, or Clang tools.

See https://clang.llvm.org/docs/Tooling.html for considerations on what approach to pick.
All it takes is one sea to sea missile (maybe of Iranian origin but not necessarily so) into a ship that just passed that $80B canal, for the other ships to stop using it and $80B go to waste.
Your impressions have no basis in fact.

https://en.wikipedia.org/wiki/Onkalo_spent_nuclear_fuel_repo...
Scientific Specimens Are Going Online, but Much Remains Hidden in Storage
For most of the 20th & 21st century, the west has consistently shown that it does not give fuck where it's cotton comes from, and that it certainly doesn't give a fuck about muslims in other countries, as along as they are slaughtered periodically.

as such, it would be good to pause and contemplate why our governments and media suddenly have a hard on for the well being of an obscure minority, previously unknown, unheard of and indeed unmentioned anywhere in the last several decades.

if you can consider these thing and reach the conclusion that the modern concerns over cotton & uyghurs is sincere, then more power to you. sadly i have much less faith in the earnest benevolence of our governments.
ironically react is the worst framework to export from figma because its the one framework that doesnt have a built in styling solution
Releasing Container Ship from Suez Canal Could Capsize It
Colour Metric (2019)
Yes it is. You are spreading misinformation.

https://en.wikipedia.org/wiki/Onkalo_spent_nuclear_fuel_repo...
> Or what “free will” is.

I did

poor terms to describe what we already don't have a solid explanation for

> whose language I do not speak would pass and fail exactly the same tests as me if there was a test that didn’t depend on language.

it doesn't matter, cows lack the tools to explain themselves, we don't

namely, in this case, a language (any language!)

> Quick internet search of teaching cows tricks says they can act in a non-predetermined way

can you prove it? :)

And how do you know it won't end up like the Libet experiment?

> And animals copy each other, so it’s not like non-humans in general can’t learn from each other, though I don’t know about bovines in particular

They don't have history books though, and schools and teachers

DNA does not help much if the knowledge dies with its creator

> If you weren’t even trying to change my mind, congratulations

I don't believe in free will the philosophical tool

I think we have machinery that we still do not understand that make us what we are and most of what we are is due superior processing power

It doesn't matter to me ifnI chose to move my arm, when I am driving and see an obstacle I don't have to think to use the brakes and I am thankful that training built up new neuro-paths to react that way

> Why would it involve those things, and why do you believe cows can’t forecast the consequences of actions?

because to forecast the consequences of every action you need to be able to judge the consequences

if you don't have a framework to judge the consequences, you can't forecast them or at best you can simply forecast an action-reaction scenario: this happens and then this happens, but if you cannot give them a score, all scenarios are equal
Do you think part of this failure (in desktop) is due to the lack of good GUI implementation? I've read somewhere that X11 was not good enough for what it was trying to accomplish. Also, I'm curious as to what your thoughts are on a "thinner application wrapper". Could you elaborate on that? Thanks!
Tech Companies Turn to New Technique to Set IPO Prices
> They own the US's debt

Currently the world leader in US debt holding is not china, but japan.

> actually we need that trade to maintain our way of life

Currently the number 1 trading partner with the US is Mexico, not china. The US economy is overwhelmingly domestic, too with something like 10% via foreign trade. And china's labor costs no longer make it competitive in terms of "making the average us resident's prices low".

The place that will get screwed is europe, which DOES do a ton of trade with China, as we will see in the upcoming months with the closure of the suez (most us trade does not use the suez, only about 10% of oil from saudia arabia, and most us oil production has shifted to domestic, IIRC it's like 5% foreign or something like that)
The key is "sufficient capital" obviously. And, of course, it's all about diversification and rate of return. As you correctly note, being a silent partner in a business is riskier than a lot of the alternatives and, if it isn't a commensurately higher expected return, probably not a good idea.

However, given sufficient capital (what's sufficient depends on what sort of income stream you're looking for), largely passive investments in various forms can produce that. After all, that's what many people are looking for when they retire.
Oh boy.. I can already see the bootcamp-style websites popping up to help you excel at Factorio so you can land a lucrative sw dev job
Write a compiler in a strongly typed language, and then remove all the type annotations. This may come as a shock, but this is what a compiler (or any codebase) could look like when developed in a weakly typed language.
> Do you genuinely not care if people are killing dolphins and whales and eating dogs though

No, but I do genuinely not care that people are killing and eating cows and cow products though. I don't really think anything could make me care about that at this point, certainly not enough to give up meat and cheese.

So if we are making these things equivalent (which I don't believe they are), then I suppose I shouldn't care about the dolphins, whales and dogs. In order to be consistent.
Depends on how it's packaged you could trivially end up with an extra GB of libraries. I guess it depends on whether that much storage is meaningful.
I find it crazy they were able to go from 1m to 100m in ARR in 18 months
I think people over-estimate the need to spend lots of money to have good experiences. I spent lots of time taking apart super cheap old electronics from HAM radio meets and thrift stores. When you're a kid it's all new to you anyway so it isn't essential to do projects involving the latest and greatest. While the 20k$ project in the article is super impressive, it kind of has to be when one allocates that much cash to a side project. Seems like alot of pressure.

I dont think more hours worked corresponds monotonically with financial well-being of descendants. Learning to get things done through creative use of limited resources is an important skill for making money too. There can be value in having to do some salvage instead of having everything pre-stocked. There is also no better way to appreciate the value of a tool than to first go without it.
Sketch has a lot of very easy to use and understand documentation about their features that helped me learn it. I’ll say this: start learning about symbols early and use them to their fullest. It’s like working with components and they are very powerful. I find them to Ed e the most intuitive part of you’re coming from a UI engineering background.
Comes up every time - because nuclear waste is heavy, delta-v is expensive, and mostly because nuclear waste was never actually a problem.
I feel like this was an Ed Sheeran music video.
We know the performance targets of the Aurora supercomputer though.

The only way Intel reaches those performance targets is to outdo the current crop of GPUs: MI100 (from AMD) and A100 (NVidia).

Not that that is a guarantee that we got a winner here, but we know the goal for what Intel is shooting for at least.
Sounds quite long, actually. I’ve recently found that external SSDs have become affordable enough for me to use them for backups.

Good on you for digging in and finding the issue, by the way.
Definitely planning on studying Plan 9. I was slightly discouraged after reading through the manual's overview section since the authors just glossed over the problems they perceive in Unix and didn't elaborate on that.
Right place at the right tome perhaps?
This ship should go to the Suez and dredge out the poor ship stuck there
Oooh, I didn’t know PTX was an intermediate representation and explicitly documented as such, I really thought it was the actual assembly ran by the chips…
Those chemical weapons are cheaper, easier to obtain (literally a grocery store), easier to produce, easier to obtain higher yields, etc. They also are extremely terrifying.

But even chemical weapons aren't used that often. We rarely hear about anthrax letters and we never hear about terrorist attacks that used bleach and ammonium even though practically everyone knows about this reaction and the materials are cheap, easy to obtain, and don't raise suspicion. (Side note: we do hear about people accidentally creating this mixture fairly frequently. Enough that almost everyone knows someone that did it)

Chemical/biological/nuclear weapons are just not worth it to terrorists. If they were we'd have seen them and if we're being honest the dirty bomb is the hardest out of all of them.
Well those canals are pretty much the definition of a bottleneck, no?

But yeah, it does put things into perspective.
West had the money and the will, I think that was a dollar well spent.

US irradiated large areas of Pacific Ocean and atmosphere (US) with its testing program, harming people living there and contaminating whole world with radioactive isotopes. UK dumped radioactive waste in barrels into Atlantic ocean, has bad record on nuclear safety (Windscale accidents) and continues to run old nuclear power plant that does not pass old safety tests, so they make the test less and less restrictive [1].

The lax approach to safety has been observed on all sides. It has to improve but it is no reason to stop development of nuclear power.

Soviet-build power plants near cities aren't as bad as people think, if run safely by competent people. Chernobyl was a preventable disaster, not solely due to technology, but mainly due to incompetence and dysfunctional society. Also, the disaster wasn't as bad as people think. Few people died when you compare to other industrial accidents.

The really badly polluted installations in Russia are the military/research ones in restricted areas - Mayak, Lake Karachay.

[1] https://en.wikipedia.org/w/index.php?title=Hunterston_B_nucl...
Why do you think they're getting tricked?
> the token is signed according to the algo and the key that you expect

Important point! Especially with JWT. It must be the algorithm you EXPECT, not the algorithm in the token. Someone flubbed up and made the "none" algorithm mandatory for spec-compliant implementations. Unfortunately, that can result in any JWT being treated as valid.

It's a chicken-and-egg problem that the designers missed: you can't trust the token until you've validated it, but you'd have to believe the value of the algo field before you've validated it in order to check the signature.

There are libraries that will see "none" in the algo field and treat that as "this token doesn't have a signature that needs to be validated, so it's good".
Architecture diagrams should be easy to read and easy to maintain. This is exactly why I'm building https://isoflow.io