skysight-inc/HackerNews huggingface dataset:
Maybe, maybe not. Data classes are meant to feel like Scala's case classes, or Haskell's record syntax.

The point is to stop passing around dicts/hashmaps/tables and tuples, and to start passing around containers with a known and fixed set of keys/names, and known types for the values/elements.

I don't know of any language where the compiler automatically infers field names and types, and I don't know if I would ever want such a thing.
I’ll get some btc again if it reaches 7K or less
> What’s obvious is that 10, and 2 are not something you know in advance.

They don't have to be. The principle holds generally, as long as there's some choice out there you'd like.
I like the look of this, and it seems we're seeing more of these type devices. But after looking at their twitter and such, I don't believe this is a real product, no matter how "nice" the VT-69 is.

For real products, there is also the clockworkpi devterm. But the one I'm really interested in is the ready! 100. I think both have been on HN recently. The Ready is really just a case that you can put most any SBC into: from a raspberry pi to an Intel NUC. The screen hooks up via hdmi and the (mechanical) keyboard via usb. I'm planning to put a ryzen board (or maybe a nuc) into mine, along with an SDR. I also do some programming of '80s era commercial radios, which require an RS-232 and software running in DOS (known issues running under dosbox/vm, though freedos is fine). So I'd be making a triple-boot machine. I know one person mentioned planning to put two different SBCs inside the case, a low-power RPi4 and a higher powered ryzen board. Then they can switch between depending on their need.

DISCLAIMER: I am a backer of the ready100 (neo pledge) and I do hope it meets its funding goal. But I have no financial interest. In fact, if it doesn't reach its funding goal, I get my money back.

ready100: https://www.kickstarter.com/projects/jlafleur/ready-model-10...
I'm blessed to be an older programmer who started my career back when we were selling products to people who had to make a business case for the purchase of our software systems. We were helping businesses achieve more. Most of the businesses my previous employers were helping were public utilities, communication companies, and manufacturers. You could feel good about your work and that you were contributing to a better world.

Today I'm blessed to work for an electric utility. Whenever I'm having a bad day I remind myself that I'm helping to provide the foundation of modern civilization. It's much better for your soul than knowing that in the end you're just working for a drug dealer and contributing to the destruction of people's lives. I'm glad I'm close to retirement and don't have to do that kind of work just so I can put food on the table.
Some tokens distribute usage fees to token owners.
It’s nice to see even pg goes through phases of “I have no idea what to do next.”

By the way, bel is underrated, and I say that not as a pg fan. The ideas in it are novel, because of its simplicity. The scheduler in particular is elegant.

I suppose I should have taken some notes on what surprised me the most. But, basically, the idea of using a stack as the source of truth for all computation was both ... strange, and obvious afterwards.

The main annoyance is that I can’t flippin’ find a working version of it anywhere. I’ve asked him on Twitter to no avail. The code clearly works; it’s correct in every detail, as far as I’ve found. I implemented most of it, but there was a distinct feeling of “there must be a version he never put out.”

But of course, that’s how you’d feel if you’d been yelled at every time you release things, so I understand why he might not want to show something that isn’t perfect.
But programming language types are different than SQLite types so that's already a mismatch that could introduce errors.

Also, there is much more boilerplate in man-in-the-middle-ing each database query to validate data rather than have a single entry point which validate the data types which is the database.

Also, using any in-database feature like functions or triggers should also have this security baked in but won't due to SQLite's missing validation.
switched to KeepassXC around 2 years ago when LastPass got bought. works great! there is no company that tries to brainwash me into thinking moving secrets[1] over a network is a a good strategy for managing them.

[1] it doesn't matter scerets are technically encrypted. the threat-model for managing and storing secrets is different. I also don't want people to guess how they were created, when they were last modified, where they will be used, what other devices use them etc.
Findings like this are great.

Performance-bugs cost thousands of kilowatts-hours.

Computing energy isn't the largest contributor to climate change, but still: Optimizing for energy-efficiency will get more and more important even for Microsoft.
>Elon Musk is trying to save humanity and colonize Mars

That sweet, delicious, HN kool-aid.
Actually the norm in psychiatry is that patients are absolutely not supposed to know this kind of detail about their psychiatrist: https://blogs.scientificamerican.com/mind-guest-blog/why-psy...
Angular MultiSelect
I want video games in the news! :)
another (better) cached version: https://en.wikipedia.org/wiki/Fear,_uncertainty,_and_doubt
Re the generator, there's the passwordrules proposal: https://github.com/whatwg/html/issues/3518

Some systems are already using it -- e.g. I know that Apple's generate-password helper reads it, and I believe that 1Password also does.
Masks Can Be Detrimental to Babies' Speech and Language Development
You’re not alone. I think it’s strange too. There are a lot of strange things other folks find entertaining though.

Also for the record, I love playing sports. I’ve just never really understood sports spectators, nor those fans that rabidly follow sports stats. The caveat being I can understand parents watching their kids play, just not this whole watching strangers called “professional athletes” play sports.
> In fact, you will see that pretty much all I am doing in this thread is telling people to read the original article.

That is only half the truth - you also called people monarchists and crackpots. You got flagged for doing that, rightly so.

You could bring your point across much better if you were to leave out the name-calling and pejorative language.
Cade Metz would benefit from this advice as well.
Tailwind CSS Components
Type checking doesn't require classes. You can typecheck a funtion.

I am not talking about type checking a function. I am talking about type checking data structures, replacing this:

record = { "a": 1, "b": 2 }

with this:

record = Record(a=1, b=2)

The latter can be statically type checked much more easily than the former.

This is analogous to Scala case classes and Haskell records. And it can be a significant productivity improvement in big codebases, because it reduces your reliance on documentation and working memory. Instead, it lets you depend on the type checker and IDE to provide auto-completion to prevent a whole class of errors.

In fact, it lets you write less runtime code and have shorter, simpler code paths in some cases, because you can mostly skip checks like "if x is an int" (at least in internal/private functions), and even skip the corresponding unit tests, and let the type checker deal with it instead.

Edit: as for the example in the article... really? This is just single dispatch. What would you write instead, one big if/else statement? A dict of functions to dispatch to? `AstNode` is an interface, and all of these subclasses implement the interface.
No type checking! Declare a column as int in DDL, and
insert a text, SQLite happily stores it without an
error :-(

This is the one that absolutely baffles me. They very explicitly view it as a "feature, not a bug" but I am not sure why -- I've not seen a deeper rationale behind this decision.

https://www.sqlite.org/faq.html#q3

Nonetheless though, SQLite is excellent overall and I'm so, so thankful for it.
“Crashes are just discounts” is one of the more pernicious financial memes around.
Title wrong as it's EU - not Europe, but many confuse and transpose them - even though they are not verbatim.

No different than European publications seeing something happening in a small town in a small county in a rural part of Texas and writing "Look what's happening in America!" headlines.
Honestly, it has more to do with revealing their governing style than about their ability to give you those promises. It tells you who they are and what they want. And the way they talk about it reveals something of how they think and how they'll be able to deal with other leaders (in and out of the country).

We know they'll be able to give you at most one or two, but it's not really their job anyway. Most of those promises are the jobs of legislators, not executives. But people imagine that they're learning how that person will execute, a thing that's a little hard to convey otherwise.
I’d be very curious to know what actual service Agora Inc provides to clubhouse.
Keeweb looks nice. On macOS I use KeePassXC[0] but I'm not a huge fan of it. Will give Keeweb a try.

On iOS I switched to KeePassium[1] for my database a while back and its very nice. It integrates with biometric unlock and iOS password management so I can get at easily from anywhere and it stays in sync with the stored database (via a self-hosted Seafile[2] instance) nicely.

The setup has served us (two users) well with few hiccups and good support for dealing with the rare conflicts that do arise.

[0] https://keepassxc.org/
[1] https://keepassium.com/
[2] https://www.seafile.com/en/home/
Exactly. Just because people are paying 50k a piece doesn’t mean people won’t suddenly wake up and realize that bitcoin is actually inferior to most of the other cryptocurrencies in terms of utility
TV news (at least in the European countries where I've lived) usually have some art/music (small, not regular) section.
Mayo Clinic can be a good resource, too.
Esbuild is certainly fast but I could never figure out how to get it to preserve some symbols during minification (for when I want to expose some class methods or properties publicly to external consumers)
Yes, that’s the one I was thinking of!
it is intrinsically valuable

How? As an intrinsically valuable means of speculation because sound investment opportunities are absent?
One of the more interesting potential answers to this question is quantized spacetime: http://einsteinsintuition.com/what-is-qst/overview/
Indeed. — that Rust warns against unused variables and has language facilities to suppress such warnings if ever they be so intended has no doubt caught many typos that other languages have not.
Can you offer more specific citations -- say, to particular passages?
Video upload may be instant but the video doesn't get indexed without a review.
Sounds like you either have a horrible method of finding projects to approach or, given your comments here, no matter how legit a project was you'd still think it's a scam due to cognitive dissonance.
Bloomberg sells news, it's how they make money. They don't need to tell the truth all the time.
I'd pessimistically imagine the real commit trees of actual SDC companies then are no different, given the "move fast and break things" ethos many of these companies have.

Meanwhile, taking these extra rote precautions (e.g. cut down on global state, throw unit tests on everything, don't use go-to's) has no real effect when the elephant in the room is that even correctly-implemented state-of-the-art machine learning models only have classification accuracies in the mid 90%s at best.

That's (relatively) fine if you're deciding what ad to show to a teenager using TikTok. When we are talking about driving a car, that loosely means having an accident every 100 miles. Based on publicly available disengagement data, this corroborates (only Waymo has surpassed the 1000 mile mark, GM might have recently, too).

Meanwhile, verification in this domain only means replaying actual recorded sensor data in a "simulation" using one-off example scenarios, not doing any kind of formal analysis or exhaustive proofs -- which simply don't exist yet for ML. There's no real way currently to take an arbitrary mis-classified example and determine its root cause -- or even correct it within the existing model without reducing accuracy elsewhere!

It's literally impossible to avoid being unsafe, so code style rules and procedures amount to mere hoop-jumping
> Being good at "leetcode" problems and being good at writing good production algorithms certainly have some overlap... but it's not very large, and they're actively at odds with each other quite often.

Except in this particular example, where someone managed to write a quadratic algorithm for arranging icons.
What about "new laptop smell"?
> I could see it being banned by the US government and others...

It's difficult to imagine this causing the price to go any direction other than up.
I have always promised myself that if I become a billionare, I will simply stop providing services to municipalities or countries that create arbitrary laws that make it hard or difficult to do business in.

So you've decided to limit yourself to not doing business on planet Earth, or becoming a Bond villain. Interesting choice.
They would be valuable news providers if that was all they did, but as is we can be sure that they only give you the news that attracts readers. Doesn't matter if it is important or not, the dumbest shit will get covered as long as it sells. And important news that doesn't sell doesn't get covered for the same reason.
>That said, in order to truly have knowledge of anything we must first be able to assert free will.

This is not a coherent argument. You claim to have better insight than hundreds of years of Epistemology?
I feel like i have a normal palette and preferences for smells, but for some reason diesel exhaust (like from a school bus) has always been in my top 5. Makes me wonder how common this kind of thing is and how much random variation there is among people.
GDPR is not only about the browsers , it is applied outside of tech too, would be weird for the law to define browser standards . desktop apps standards and mobile apps standards.
Developers should do their job, does w3c guys could decide how to handle this and not force politicians to decide for them.

Sure some people will click accept but some of them will know who is the actual bad guy that sends their data to 100+ third parties and what websites are respecting them or at least respect the laws.

I agree that browsers could do a better job, maybe implement a shit list, put all shitty websites there and ask you only once if you want to accept to allow this bastards to track and sell your data or if you want to open the website in a special container. Then if you decide to use the container the browsers should try to do their best to limit the tracking, maybe by blocking requests to the trackers, clearing caches often, disabling some features that could fingerprint you and if it works just disable JS.

But who knows, maybe we will have to pass laws to force the popups to use certain fonts, colors and input types because the majority of websites are evil.
In fairness, ljm was responding to a comment that suggested following the style guide "to the dot".
You've got some deep McD's knowledge going here. What other hacks or tips do you have?
In the US, national TV news is on around 6 or 7, before prime time, and doesn't cover sports. That's left to the local news broadcasts, which devote 5 minutes to it at the end of their early and late 30 minute broadcasts.

Local TV news in the US is fixated on weather, fires, car accidents, gruesome crime stories and so-called "human interest" stories, rarely covers local government. Now that's something I don't understand. Are we that shallow? The iconic local news image is that of a young cub reporter doing a video "standup" late at night in front of, say, a suburban home where a murder took place several hours previously. Why is it so important for everyone within 50 miles to hear about it?
It has a social network effect of people who agree that it's the store of value for the future. Your paper dollar bill has very little intrinsic value. It's just a shared acceptance.
They change the free plan after gaining users, I am not fan of this behavior, I am migrating to bitwarden.
> I wanted not just to build things, but to build things that would last.
then what happened in 2018 and 2013 where it lost 90% of its value?
I hope the price tanks so that BTC will be primarily used for its intended purpose, like it was in the Silk Road days.
Statement on Fat Fritz 2
and the hodl-gang's interpretation: "dips exist only so that coins could go from weak hands to strong hands" :D
Crashes have always been discounts.
Light used to detect quantum information stored in 100k nuclear quantum bits
> This will ensure that these popular services (WhatsApp, Facebook Messenger and Skype) guarantee the same level of confidentiality of communications as traditional telecoms operators.

Sounds very ominous, don't law enforcement agencies have access to the "traditional telecoms operators" data?

On topic, a Do-Not-Track header setting that automatically opts-out of everything and the new "legitimate interest" trend, would be awesome.
Ask HN: Best CAD software for a condo renovation project?
I'm going to point out that McCarthy was a fierce right-winger, and the "punish people for wrongthink" mentality has been almost exclusively a right-wing thing until very recently. "Cancel culture" is what right-wingers complain about when they've realized left-wingers have rifled through their rhetorical toolbox. Personally, I don't think "only we're allowed to cancel people" is a good enough reason to denounce this article.

A better argument would be that Scott isn't the right-winger the article writer thinks they are, and that the article is poorly researched. At worst, I'd say he's probably a little too dismissive of privilege narratives, but that doesn't make him a white supremacist or a neo-fascist. Of course, that doesn't make an article, and we gotta keep the content grill sizzling, so here's some tenuous connections to make an interesting story to meet quotas.
I think it has more to do with Microsoft shifting towards a more Google-like strategy, where more time is spent coming up with ways to extract value from customers, rather than provide value to customers.

Like when they fired all of those quality assurance people a while back, I can't imagine they made that decision to improve Windows 10 for their customers.
so you don't sync your keypass data?
Agreed; this explained things better for me than any of the other articles I've seen on the subject. I got to the "guard clauses" before horking this time.
So about the same as any major fiat currency - sure one day you can wake up and it be gone. Next.
And who draws the line of what is "legitimate" interest?

Because the Gawker type "journalist" will tell you that there's no such line, and clearly leaked dickpics are a "legitimate interest" of their readership.
Have you tried watch[0]? Sounds like it might be a decent solution for what you want.

[0] https://linux.die.net/man/1/watch
Of course. But it's been two years now. There are many civilians that would have such bugged motherboards, and they've had two years now to find out where the flaw is. Including civilian organizations that Bloomberg explicitly said were targeted.

That said, about this : Modified silicon or firmware would be very hard to detect.

This is not compatible with the mechanism Bloomberg is proposing. They are suggesting that some silicon in the motherboard is intercepting memory in real-time, processing it, and modifying it on-the-fly to make the CPU do what is wanted.

That is not something that can be done by merely modifying existing silicon. RAM is directly, physically connected to the CPU. You would need to add an extremely high performance chip that shouldn't be there between the CPU and the RAM, and there is simply no way to hide that.

Firmware attacks are possible, yes, but you can readout the content of firmware chips too.

It's not a mechanism of attack that could be done invisibly. At the easiest, you could detect it by a timing attack, at the worst you can just x-ray the board. But it cannot be invisible.
False flag down votes are real too.
Env: a better way to read environment variables in JavaScript
Screen Time and Headphones Time
What happened to Amazon in the two cases where it has drawn down 90% from a high?
> I thought so too. But it's hard not to notice that this article was supposedly in the work for many months, yet reads as if it took a day's worth of work (being generous). Why did it disappear for months and then come out shortly after Scott Alexander poked his head above the parapet again? That timing is awfully suspicious.

Not really, he made himself relevant again by relaunching his blog.

And it's weird to assume they were continuously slaving away on this story since this kerfuffle started, polishing it to perfection. They probably just shelved it in a draft state and moved on to new things. When it because relevant again, spent a little time dusting it off and updating it, then shipped. My understanding is this story isn't even that long for this kind of thing, and it ran on a Saturday (which IIRC is the least read edition of the week).

This story is BIG NEWS in the Rationalist subculture and adjacent communities, and a small blip pretty much everywhere else.
At least, now you know. Companies can choose better user experience if they want. What's your opinion about Apple vs Facebook?
> I've seen many guys like Tim Cook, most worse off ones. [...] He squeezes suppliers, and know what he is doing. [...] Others squeeze suppliers, and don't know what they are doing. [...] 9 out of 10 companies in the supply chain will just shoot themselves in the foot if they go on doing it like that.

Apple is probably the most cargo-culted company out there, after Google maybe. The number of "Steve Jobs wanabes" that I met who didn't have the billions nor the string of successful products behind them was staggering. I have no doubt Tim Cook is cargo-culted as much as Jobs was.

For anyone attempting this, keep in mind he built a team of world class experts around him.
Don't let the door hit you on your way out.

Sincerely,
EU citizen
You can already, each book has it's own discussion feed at joinpageturner.com/b/isbn13ofthebookhere

You can also find it via joinpageturner.com/search

But as there still aren't too many posts, you probably won't see other people talking about it yet. But you can totally get your friends to join Pageturner and read the book you're reading and have a discussion there.

The filter function is going to include books you've read, saved and genres you're interested in.
Realistically, Staff Engineer is a higher level engineering title given out to Individual Contributors (non-managers) to give them career paths outside of management. This is designed to solve the issue where very senior engineers run out of growth room and are effectively forced into management against their will and with occasional disastrous results. There are often a few titles around “Staff” too, such as principal or architect.

Think of them like an architect who codes a bit more.
I’m far more selfish, I would just like to hear amateur investors stop talking about it. I’d really like for people to stop suggesting a database (blockchain) will fix any problem, even when problems are explicitly not database issues. I think we’re well past either of those things being possibilities though.
Who wants to wager it will down by more than 50% by June this year?

Note: (current value at USD 49K time of post)
Most news is entertainment, in that people watch it to be distracted and entertained and not to be informed. That's why in local TV there'll be a bit about someone doing something horrendous or funny, but the boring and painstaking legislative fight over things that really matter get zero coverage.