skysight-inc/HackerNews huggingface dataset:
But even here you’re testing the same code twice. One directly with the tests for the class the static methods live in and once accidentally when you test the class that includes the util class as a dependency. This situation can be fixed by replacing the static methods with Functions.
I would steel man the argument against that the "lunch program funding law" is almost always connected with various other funding that is perceived as worthless, $50 billion for school pork and administrators, $5 million for lunches type of thing.
Could just run their CLI through a Docker container
I can hear Shepard tones [1] in songs now. I remember the first time I heard it in a song, I was blown away, confused as to what I was hearing.

Later when it was pointed out to me that is is "a thing" I started to recognize them in other songs. I sort of miss being naive.

There's a line from one of Feynman's books where he is arguing with an artist friend who dislikes how Feynman (science generally) dissect a rose rather than just admiring its beauty. Feynman is incredulous as to how knowing more about a thing can take away from its beauty. (I may be slightly mis-remembering this exchange.)

That always bothered me because I felt that naïveté is a thing you lose with knowledge and that is not always a good thing.

Walt Whitman's "When I Heard the Learn’d Astronomer" [2] instead resonated with me.

[1] https://en.wikipedia.org/wiki/Shepard_tone

[2] https://www.poetryfoundation.org/poems/45479/when-i-heard-th...
How Two Biological Mental Models Can Help Us Understand the World
"starts"?
That's what happens when you don't have the skills in house.
I live at a Germany/Belgium border, and have no mobile service sometimes for days. So yeah, whatever…
> If the truth behind those claims changes in the mean time, you have to be able to invalidate the token, or accept the fact that it serves stale information.

Isn't that obvious? I mean, if we were talking about sessions and you put in the session set information that can change outside the session, wouldn't the same problem exist?

I just don't see this as a fundamentally unique problem for JWTs.
"I think that just breaks down to people don't want to pay to educate other peoples kids."

It might be that they don't agree with how the money is currently spent. I see a lot of waste in my area. There are also some odd or overly restrictive policies. One can agree with the goal of funding of education while disagreeing on whether the current money is promoting that goal or being wasted.
Books. Christ.
I can't imagine us not pushing electronics to the limit: if we can get a particular level with passive cooling, you can eke out more performance with more power and active cooling. Surely we can move more towards water/liquid cooling, but there's sounds there as well.

And when you are not after performance, you'll be after small size.
I don't understand why the default meals being of arbitrarily minimum quality should mean that no default meals should be provided at all. I'm asking why can't meals be offered regardless of parental ability to provide. SNAP, WIC, food banks all depend on parents. I am asking why can't the schools provide regardless of parents. If the kids don't need it they can simply not take it.
I've often been prevented from improving existing pieces of code.

Usually with a variety of reasons, but it boils down to not prioritizing keeping the code clean. Invariably that's led to a higher carrying cost and decreasing ability to meet business goals.

But you're right, it's a rare developer that's interested in doing the unsung work of keeping a codebase clean.
You would really like sqldelight[1] then. It takes the concept of an ORM and flips it on its head. Instead of mapping function calls to SQL statements, it lets you write SQL statements and then generates classes for you that have methods for those statements.

For instance, you could have a SQL statement like getCardsForFight: select * from fights where cardId = ? and titleFight = ?, and it would generate a class that has a method getCardsForFight(cardId: number, titleFight: number).

[1]: https://github.com/cashapp/sqldelight
Extensions and Souvenirs
"Now" is actually reasonable. "In the future", not.
I looked up some weights. Helicopters (other than ultra-light) are measured in tons, and that's indeed something you don't want on a roof that's not designed for it. But this kind of VTOLs will most likely be equivalent to ultra light helicopters, so I can imagine building a metal platform on top of the HVAC machinery.
The 8.3 filename structure has a long half-life.
Not to invalidate the conversation here, but it just occurred to me that reading through a conversation about doom scrolling is in a sense itself doom scrolling.
Recently took on the challenge on learning Hugo, its quick but his learning curve is high (compared against Jekyll and Gatsby), specially because the docs seems to be more curated towards content management and how to deal with markdown limitations rather than web/front-end design, therefore there is no tutorial hell for "how to design your own theme", you have to look at how others solve it to give you and idea and once you get a glimpse on how they do it, you can go fast without using shortcodes, partials and other "weird things hugo have".

Only thing i will change in Hugo is how unopiniated tries to be, it always has at least 3 to 4 ways to the same thing and configurate the same thing with json, toml, yaml, etc...
buildkit has a way to cache images in the GitHub Actions cache, making this full circle: https://github.com/moby/buildkit/blob/47e953b2/README.md#git...
Some day I'd like to find out why people are so terrified of socialism.
JPMorgan Chase Kicks Off First-Ever Software Engineering Conference
Polyglot Releases Korean GPT Models
> which is like the provider with the worst reputation in terms of reliability and service

Every other provider would like a word with you. I don’t even think there’s a good one outside tiny ones.
I remember when first learning Java in 1995, and already being familiar with OOP from C++, I found it curious that such an OOP-focused language didn’t represent a program 1:1 as an object instantiated and initialized at load time, with a main/run method invoked on it to start execution. The choice of having main() be static was made even weirder by its still having to be defined within a class. Then if you’d want to have your application be an object, you’d have to do the extra `new MyApp(args).run()` bit manually, and have run() be the “real” main method. It all seemed very backwards.
The only argument they elaborate on is still easily addressed with a validation of the token against a database on every request, and it's hardly a drawback compared to other methods if the other methods do the same thing.
I must be missing something here.

> if we follow this strategy we’ll win a little bit less than one-third of the time.

That is not possible. If N players use the same strategy then by symmetry each of them must win on average 1 time in N. So against two other players we should win exactly one third of the time, not "a little bit less" than one third of the time.

Also, if all players use the same strategy then it doesn't matter what the strategy actually is. The only requirement is that it have some probabilistic element, otherwise all players would choose the same number every time.
Support will be continued.

https://github.com/brave/brave-browser/issues/20059
Yes, this is another problem.

You might not need a whole machine, but part of it, and your turn may never come due to limited capacity. We operate on a different model, so our problems are a bit different, however we see other sites which operate with this model, and the researchers’ feelings and anxiety about getting their time and use it to its fullest.

Expiration of compute time or the time window before finishing a research is really crippling in some scenarios.
Because the content is also interesting, provocative, and 100% correct. Why are you attacking the character of the witness instead of the substance of the testimony?
Brown note, actually, not noise.
The fact of the matter is, if all American schoolchildren were white, school lunches wouldn't even be controversial.
I think esbuild is simpler than ts-node. We simply compile everything from TS to JS with esbuild every time we launch node (it takes less than 0.1 seconds)
In France, the talks about the rolling blackouts were acompanied by assurances that private homes wouldn't be affected, only industries.

So they should have some kind of ability to target at least a kind of user. I don't know if cell towers qualify as industry or their own, separate kind.

There's also the fact that there has been a massive rollout of connected meters, so, at least in theory, they could target individual homes for the blackouts (I'm not saying that would be useful in any way).

I don't know if other kinds of endpoints have similar kinds of meters, but they could.
Comment above yours says NFC, so the black ones I think.

Seems they don't send the email deal right away, not for me anyway.
Yes, that part is true. I wanted to get a Sonos Beam Gen2 sound bar for my TV, and realised it support Dolby Atmos Audio. Now, I kinda want to buy the Apple TV 4K just for Dolby Audio support, and replace the Mac mini with it..

But, even for that, I personally would not let my TV connect to the Internet and ruin my teaching experiences with ads.

Like most things in engineer's life, tradeoffs and people choose to trade different things.....
Something that never comes up in these discussions is services with built-in JWT validation, like AWS API Gateway HTTP APIs. If you're already using one of these, you might as well take advantage of JWTs in addition to your scheme of choice, whether that's opaque tokens or something else. Let the service provider worry about unauthenticated people banging on your APIs.

You can even maintain statelessness with opaque tokens if you really need it, e.g. issue both a JWT and a session cookie bound together by some shared value, say Fernet tokens. One goes in the JWT in local storage (anti-CSRF), the other goes in an HttpOnly cookie (anti-XSS), requests still require both to decrypt to the same value after the service passes them through.

Generally this is overkill, though. JWTs for the service and your preference for the app works fine decoupled.
We moved from jwt to opaque tokens and it's been fantastic. We also moved from using redis as our token store to using postgres (aurora).

Querying against over 100M on postgres adds one or two millisecond p99 latency to all requests. That's perfectly fine. In fact, that's about the same performance we saw with Redis. Both were over the network, so I presume the network accounts for most of that delay.

Having them in an rdbms is so convenient. It makes customer facing feature like enumerating current sessions very simple. It makes token expiration and remote logout simple. It makes spotting weird bugs much easier.

I can't recommend it enough.
When we had a 6h power outage a few years ago in my city in Germany, mobile services were completely down as well.
Absolutely, particularly if you see this as simply another tool in the belt, like how Jurassic Park's thirty year old special effects absolutely stand the test of time because of them being a convincing mix of early CGI and puppetry.

It's not hard to imagine that this kind of thing could end up doing a lot of the heavy lifting for things like background scenes in the future, opening up the kind of stuff we saw in The Mandalorian, Game of Thrones, and the LOTR film trilogy to increasingly lower and lower budget productions.
If you add anything else, you ruin the "off-by-one" part.
As a general rule parents are responsible for their own children that they have in all societies, by default. That’s part of the responsibility of having kids.

Taking too much of that responsibility out of parents hands makes it less consequential for them to have children, and puts the public on the hook for individual choices. Inevitably that will lead to rising costs and I would put money down on someone somewhere coming up with really inane ideas like one-child policies or licensing down the line, either because of the rising costs or using them as a fig leaf to cover up their real political stance against population growth (because we’ve socialized one of the largest costs of having children and made it cheaper for would-be parents who otherwise wouldn’t be able to afford the responsibility to have more children).

I’m still in the camp of holding parents responsible for their choices, and I’ve suffered the consequences of my mother’s choices. Not every child’s upbringing is going to be happy or occur under ideal circumstances but that’s part of life too.

EDIT: I should also add, none of this is commentary on the UK’s political scene. I don’t have a stance on their domestic societal concerns which is what the original story was concerned with. Just addressing the parent’s question.
I really like https://mynoise.net/NoiseMachines/pureBinauralBrainwaveGener...
which I can listen to for hours to mask external sound.
Their video training set is still small (10M + 10M). A lot of the interpolation artifacts seems come from the model haven't acquired enough real-world understanding of "natural" movements (looking at the horse running and the sail-boat examples). I suspect scaling this up to 10x would have much less artifacts.

Reading the paper, it seems to be the "right" approach (separating temporal / spatial for both convolution and attention). Thus, I am optimistic what remains is to scale it up.
> at Lab126 and accidentally inventing the worst thing ever)

Lab126 created some of the first e-ink technology, right? Is the Kindle, or e-ink screens, or e-ink patents, the worst thing ever... or is there something else I should know about in this space?
I’ve always thought that if the AGI singularity was real, it would occur so quickly that no one would really know what happened. The last few years have only strengthened my view on that.
> Yuri Suzuki has joined forces with cult electronics studio Teenage Engineering and Japanese educational toymaker Gakken to launch the PO-80 Record Factory.

https://www.pentagram.com/news/po-80-record-factory
You will find plenty of comments in this very thread that are the most abject type of !Luddism.
There IS a correct way. Check the manual that the manufacturer provided for the roll holding device. Using it incorrectly voids the warranty.
The main alternative is to build packages with all such flags and disable the functionality you don't want at runtime. That's moderately less desirable because:

- Space/performance, to the extent that dead code elimination matters.

- Not all packages support such runtime manipulation.

- Doing so requires additional work from the installer to configure entrypoints or from the user post-installation to set up that config. There's something really clean and easy about being able to enable/disable a feature in one place.
No, you don't understand the dignity of court jestering. Humiliation was invented last thursday on twitter.
Dall-e 1 felt surprisingly similar just a few years ago. It's the first iteration and it will get better before we even know it.
Does anyone know of a library similar to slonik[0] for SQLite in the NodeJS space?

I generally reach for TypeORM and have tried MikroORM lately but didn’t really like it.

But what I really want is something like slonik which is more focused on querying than relational mapping.

[0]: https://github.com/gajus/slonik
"valued at 1M ten years ago". If you add up stuff like GPS, sat phone, camera, video conferencing gear and so on, it gets expensive fast. We've had all of that stuff for decades, it's just nobody could afford it.
I genuinely think this could solve so many ills.

I really love a library near me that has near the door a load of nice paper shopping bags, labelled up - that anyone can take. Each will have different things in but contain stuff like wash kits and deodorant, tampons and sanitary towels, socks, gloves and even warm jumpers in winter. Anyone who needs one can just grab one. It is sad that we have to give out stuff like this, but equally, if we need to provide these things for people, let's do it in the lowest drama way of doing it, and that doesn't cause stigma or shame.
Green is also the most challenging one, since our perception of green is twice as good as with other colours. Blue, btw, is generally perceived darker than the technical brightness of the color would suggest. A general advice may be to dial down saturation: especially when applied to larger areas, colours tend to be more intensive as they may appear in a colour picker.
Also with the implication you're going to end up waking up in a wet sleeping bag!
"Yes but then ... why use jwt at all, you could just save a classic session (with random token) in that cache as well".

JWTs add complexity and have zero benefit. The author never said it can't be made to work, obviously it can. It's just completely pointless in most applications.
"Giving money to parents doesn't necessarily fix the problem of hungry children"

If the parents have the money to feed their children and choose not to, there are bigger problems. Addressing the root of that problem would be better than just providing a meal (likely other abuse exists).
Well, it's a drawback because if you're doing the validation anyway, why bother with the added complexity of the JWT in the first place? You've removed the primary advantage.
your vaccination record does not need to be invalidated, so there is no issue.

it's a standard format for transmitting data signed by an entity.
I hope mine is not a political argument, but a rational argument instead. I'm not actually sure what would be the definition of a political argument. Nearly anything involving the government ends up being unreasonable and illogical.

It's not free, someone has to pay for it. The method is taxes, backed up by government violence if you don't pay. The government never pays for anything, in fact. You do. And I do. So if 'government' pays for kids meals, OTHER PEOPLE who may have decided to not even have kids are now partly responsible for your decision to have kids. In what universe is this even remotely ethical OR rational?

Good on you for deciding to 'help others', but not everyone wants to or necessarily can do that, and why should you be the arbiter of what is right wrt someone else's money? Forcefully taking someone's money through government taxation is theft through threat of violence. This kind of program would be incentivizing people who apparently already can't care for the children they have to have more children.
This is peak of audio hipsterism! Audio quality is crap. Better to record on cassette with some boombox.

Also see this DIY project - https://www.youtube.com/watch?v=8y7osjazhLE
Can the $10 keys be used for GPG and SSH key unlocking or just something web authn specific?
You're "amassed"? I don't think the thing you're worried about is that great a threat to humanity.
In my experience not having a design system will produce so much overhead that investing in it early is warranted. It depends on how design-y your product is, though.
Well, that depends on the purpose. Quick dictionary search and quick browsing (and libraries at hand, etc.) can be quite advantageous.
I used to love my nVidia shield.

First it was a Disney+ ad, then it was a Tim Hortons ad.

It's gotten so slow I'm planning to replace it in the near future, probably with something from Apple.
Pretty sure that's "Sexually Transmitted Infection" (presumably the "and" was autocorrected but should be "an").
This is getting more and more impressive by the day.
"Our research takes the following steps to reduce the creation of harmful, biased, or misleading content."

"Our goal is to eventually make this technology available to the public, but for now we will continue to analyze, test, and trial Make-A-Video to ensure that each step of release is safe and intentional."

Are they really going to do a replay of OpenAI and Stable Diffusion? Deja vu coming soon.
RedBeanPHP: The Power ORM
Making it universally accessible is the expensive part.
No, see the announcement from a year ago. https://developer.chrome.com/blog/mv2-transition/

> There are two key dates for the phase-out:

> January 17, 2022: New Manifest V2 extensions will no longer be accepted by the Chrome Web Store. Developers may still push updates to existing Manifest V2 extensions, but no new Manifest V2 items may be submitted.

> January 2023: The Chrome browser will no longer run Manifest V2 extensions. Developers may no longer push updates to existing Manifest V2 extensions.

So V2 would be disabled in the stable channel simultaneously with the end of updates, in January 2023.

Only a special enterprise policy could keep V2 extensions running for a while after that time.
That's just covering a symptom. Truly helping abused children means removing them from the environment of abuse.
> If you feel confident that you have good security practices on the server that hosts your database, then encrypting the tokens might be an unnecessary complication.

This is very bad advice. You should always hash, not encrypt, tokens. Your server "security" be damned.

Tokens are essentially passwords, and should be treated as such.
It looks like the Homebrew channel adds support for a Jellyfin app!

If I were willing to connect my LG TV to the network, I'd be all over this.
> breaks the intended pattern.

Who's intended pattern? Where is this stated as being the "right" way to use JWTs?

I'm seeing a lot of claims about the intent behind JWTs but frankly I think it's because people are skipping over having a fundamental understanding about WHAT JWTs are and instead are cargo culting on what they believe they should be.
How do you handle logouts?
A higher quality version of this could potentially revive dubplate culture

As a producer walking into a set with vinyl of music I've made and cut earlier in the day would be DOPE. Impressive AF
Can you learn to predict the future?
TeX is an intricate web of interrelated actions and processes which present challenges when attempting to discuss isolated aspects of its behaviour

...is the exact reason I quit using TeX/LaTeX. Even the easiest things are hard in this crazy computing context. Even boring imperative programming can quickly become a tangled mess if you don't take care; using TeX means you subscribe to a daily dose of fighting against a hydra of incidental complexity, very little has anything to do with TeX's job (typesetting) and everything with how it mixes 'ingenious' (i.e. not deterministically parsable) syntax with recursively expanding macros (thus constituting self-modifying code).
JWTs can be encrypted and signed, or just signed (or signed alg: none).
Why in the fresh hells would you store a users password in plain text, in order to decrypt that key?

Even if you didn't you still need to retrieve the user and password from some storage to validate the key, which invalidates the reason for JWTs in the first place, since you supposed to be able to validate them without access to an auth service/db