skysight-inc/HackerNews huggingface dataset:
We’re coming at this from different mental models.

The code you linked is what React helped me get away from. There’s multiple files in different folders for one screen. It’s hard to see how it composes, which is a useful boundary as it lets me know in the scope of that part of the UI.

UI is _hard_. There’s complexity that needs to go somewhere, and I’m one of those who prefer to push as much if it that isn’t business logic into a framework.

This becomes exponentially more important for every engineer you add. Go success is along these lines, with typically only one way to do things it’s much easier to share code.

From the code you linked, I could find my way around, but piecing it all together took a lot more work than any of the frameworks.

You mention only needing to know JS, HTML and CSS. But you missed that you still need to know how all that code is put together, what calls what. How it updates. React needs this too, the only difference with it being a framework is that knowledge transfers to a different project.

And to be clear, I’m not saying you need to use react or a framework—going your own way is often how amazing new things are found.

What I am saying is your attitude isn’t helping you here. React is still arguably the most used framework[0]. There’s a reason so many of us like using it and it’s what you described as “other crap”.

Frameworks help with collaboration, in the same way programming languages do. To do anything interesting with a general purpose language, you’re either going to use a framework, create a new one with good documentation and build a community of engineers around it, or build a halfbaked one that few people understand.

I’m open to other ways of doing things. It’s a good way to grow. I learnt SwiftUI a little while ago, and while I don’t use it regularly it improved my understanding of UI building. I learnt imperative UI API ages ago, and know for sure I want to avoid/contain that into a more manageable declarative approach.

[0] https://trends.builtwith.com/javascript/javascript-library/t...
Oh yeah, your question immediately made me think of "black swan events", the economic parable about things we've never seen or even imagined, until one day someone sees/imagines it. So loosely speaking Einstein's General Theory of Relativity was an improbable idea in this black swan sense.
Canada wide since DUIs are criminal code (ie: federal) offences.
Albino Balcksheep turned 24 this past January and is still going. Newgrounds will turn 28 this July. Feels like yesterday, still.
Most systems (I think -- at least the ones I've seen) let you set it up so video is only recorded when the camera sees movement. Depending on what's in the field of view, that seriously cuts down on the memory requirement. Even inexpensive commercial systems will also allow you to specify areas in the field of view to ignore motion in, so that swaying trees and the like won't constantly trigger recording.

I have three cameras recording at a decent resolution and framerate, and together, about two weeks of video takes up less than 32Gb, because most of the time nothing is moving in the fields of view.
Isn't this problem solved with a chiplet design like AMD does? Just manufacture the SRAM using an older and cheaper node and keep the logic in the most advanced node.
> full algebraic effects in Rust?

Isn't that what the "keyword generics" initiative is all about? The Rust dev team seems to be quite aware that algebraic effects in Rust might be desirable, but coming up with a good design might involve quite a bit of work. It took a long time for even the async MVP to shape up properly, and supporting full effects might be even more complicated.
> I thought banks were able to sell those long maturity assets for cash to another bank or investor to avoid exactly that kind of situation?

Those assets dropped in value by like 20% last year. Check out the stock ticker "TLT", which tracks 20+ year treasuries to see just how bad it was, zoom out to 1-year or 2-years.
We have a few rescue cats that each have... quirks. We have two indoor cameras set up in our basement: one on the feeding area, and one on the potty area.

Sometimes they fight over food (automated feeder) and one doesn't get fed. But it's hard to tell if they're meowing at us because they were bullied out of food, or because they know we are softies and will feed them if they meow enough. We can check the feeder footage and see who got fed.

One of them is potty-shy, and about once every 3-6 months stops using the litter box and starts using obscure corners of the basement until we can coax him back to using the litter box. We check the footage every couple days to make sure he's using litter boxes.

For a software-oriented site, I'm baffled at how obtuse users can be. A lot of the negativity I'm seeing is along the lines of "I have no use for an indoor camera, therefor anyone who uses them is dumb." There are lots of legit uses (if you think about it for more than 2 seconds), and not all of us want provide the police with indoor footage of our cats shitting.
I mean, it seemed objectively great when I heard about it for the first time, but then actually using it feels so icky that I’m deliberately looking for alternatives.
> The cost of vector dynamic reallocation has gone down dramatically since C++11 introduced move constructors

1. It's gone down, but it's still very high.

2. It hasn't gone down for types types like std::string_view, for which moving and copying take about the same amount of effort.
This all looks great on the paper. And then things like this happen: https://theconversation.com/what-europes-exceptionally-low-w...
> Why not just make your points and engage with its replies like everyone else does?

My reply was half made in jest but it's ironic they're crying about freedom of speech while telling me the correct way to discuss my ideas.
Note to silent downvoters, this is what an answer looks like.

(Thanks jjk166)
My recollection is that Google of that time still believed its own "Dont' be Evil" mantra, and so did its users.

DejaNews was going down, and Google with their buckets of money and great technology stepped in to save it. The initial expectation was that it'd just keep going, maybe with better integration of Usenet content with Google's search (which was a desirable thing, because so much history and detail was locked up in Usenet archives).
Basically just told the kid to stop staying up so late reading Harry Potter. He said to try a regular sleep schedule with an early bedtime first, and if that didn’t work to come back and there was some medication we could try. The regular sleep schedule seemed to fix it
There's a cofounder with how visible your wealth is, most people's exposure to wealthy people falls into three categories.

1. People whose source of revenue forces them to be in the public eye

2. Are so fabulously wealthy that it forces them into the public eye

3. People who display their wealth in a garish and opulent manner

The sweet spot for happiness appears to be ~$50-
100mil without any profile while living in a way that is not (surface level) opulent.

At this point your money buys you a few things:

1. You can take care of the people you care about, not just your nuclear family

2. You can free yourself from most daily chores

3. You have freedom to do what you want, most experiences you want are affordable

4. You can finance some causes you care about at a local or societal level (the latter tends to be more rewarding)

5. You can still make friends with regular folks because it's not obvious just how much money you have

6. You are free of most long term financial worries.
Netherlands confirms it will restrict more ASML exports to China
No, android.
No shortage of drugs that can make someone a terrible driver.

Many drivers are worse alcohol-free than a legally drunk good driver.

Focussing on one cause of bad driving (lots of alcohol) is a weak approach to road safety.
I think documentation is the right layer to express what is or is not a goal for the crate. Whether you met the goal is not something you as author can judge reliably.

https://crates.io/crates/misfortunate - is not intended to be used seriously. A redditor pointed out that arguably my Double (a smart pointer where the mutable and immutable references point to separate things and you can swap their places) might actually be useful! But I don't want you to depend on misfortunate::Double in your real software project - if that is useful (and maybe, with careful documentation, it is) you should give it a name suiting its purpose and include it in a crate of stuff that's intended to be used, not as something like a practical joke or thought experiment.
It's not just Google immune system that's making it's search function useless, it's also that Google wants to advertise to it's users regardless of what kind of search is being performed.
Better in what sense? Actually I just want to point out "the US public transportation is just bad thus it is considerably more dangerous than driving if you don't regularly DUI". You can not promote public transportation by just saying car is inefficient, because that's not even the problem here.

You want to walk in downtown Brooklyn at 10pm or drive through? You want to take MARTA or drive in Atlanta after 7pm? Have you tried BART? If you don't even know what I am talking about, you probably have never really lived in a place in US that mass transit even exists.
If they give you a valid subpoena, then yeah, you have to give them the video in a format they can use, you can't give them a bunch of encrypted video files and say "Good luck trying to watch it".

If you refuse to hand it over and they get a warrant and seize your NVR, then I'm not sure if they can compel you to decrypt it, but you may already be in jail for contempt and probably are spending hundreds of thousands of dollars in legal fees at this point, so most people would cave long before this and just hand it over.
Xero announces plan to cut up to 800 jobs
I gave ChatGPT a try - it just tells you to use lsmod and modinfo
I know I know. Basically checks the ARP table. But in my experience phones disconnect the wifi when idle, even when told not to do so.
Given all the economic data + extremely hawkish comments from Powell yesterday/today, it looks like we're going even higher than expected this year.

FFR futures are expecting a +0.50% increase for the March 22nd meeting.
That's fine. I don't mind complying with a warrant.

The likes of Ring (it might have actually been Ring if memory serves) were recently caught sending data to whomever asked nicely.
I don't think real life is the main issue. Instead, it seems like the same issue PGP has: the benefits never outweighed the bad UX for most people.
I think they’re referring to how Reacts mental model is to wipe the page and rerender. The earliest versions basically did that, and then they started diffing and applying the diff.
heh, relevant: https://news.ycombinator.com/item?id=35074633 (Stripe Is Raising $6B to Resolve Employee Tax Issue)
Not at all. Modern war isn't some sort of battle royal with guns and tanks, it's more of a strategy and logistics problem. If you're interested in a window into modern military thinking that's accessible to laymen like you and me, I'd recommend checking out this article: https://warontherocks.com/2023/02/the-war-will-grind-on-refl...
This is classic nerd thinking they're so clever stuff - judges see right through that.

If you've never destroyed a tape before but suddenly start doing it after an incident it won't go well for you. Even if you do get off it'll be a painful process.

The only way to do this safely is good old records management - routinely and boringly destroy records on a regular cadence. Preferably automatically. If you become aware it may be subject to a police investigation then take action to preserve it.

If you don't want to do any of this the best option is to just not keep the record at all - don't make a recording.
Coming from a country in the nordics, it is quite astonishing to see the scale of the homelessness and social issues in American society. Any of these people sleeping on the streets are someone's daughter, son, brother, sister or parent; and yet the culture prohibits a socialized way of living where everyone contributes (via taxes, etc) to pull people upwards as best as possible.
There is nothing readable about JSX, "<" will always mean minus-than and ">" will always be greater-than.
Why - unless you're being sarcastic? Looks to me like the system is working Early warning system pushed the bank to unwind positions before hurting depositors. Regulation appears to be working well, for once.
A great way to resurrect the argument about ideal line length.
Given the Ukraine situation, there should at least be a read-only/no-login Tor service, I think
A clarification…

I’m not saying that they are a CE only that if they were then the data is clearly PHI and had not been de-identified per the standard that you referenced previously.
Matt Levine is a good example of how writing cynically about crypto matters makes you wind up correcting crypto adversaries so much that you wind up coming across as a crypto proponent, simply from being able to opine accurately on what's going on.
Scientists discover how to make electricity ‘out of thin air’
PS:

> wrong sex

You can read the original paper it’s clear in his version the goal for the computer is trying to convince someone communicating with them it’s human even though the form is to convince someone they are male. “The game may perhaps be criticised on the ground that the odds are weighted too heavily against the machine. If the man were to try and pretend to be the machine he would clearly make a very poor showing. He would be given away at once by slowness and inaccuracy in arithmetic.” https://redirect.cs.umbc.edu/courses/471/papers/turing.pdf

It’s also clear he’s referring to the spirit of the game not the specific details: “It might be urged that when playing the "imitation game" the best strategy for the machine may possibly be something other than imitation of the behaviour of a man. This may be, but I think it is unlikely that there is any great effect of this kind. In any case there is no intention to investigate here the theory of the game, and it will be assumed that the best strategy is to try to provide answers that would naturally be given by a man.”

He does give a benchmark of 70% accurate after five minutes of questioning, but that wasn’t success just a benchmark.
What does embracing immigrants have to do with this ?

There are slurs for immigrants too

The last Republican president had a word he liked to use to describe the countries these immigrants come from
I share adam(above)s assessment that bing has (most likely) to be connected to an external chess program. The extra work of getting a language model adhere to the rules seems highly implausible. At the very very least to check if moves are legal.
I'm skeptical but also looking forward to highspeed maglevs for metros and cheaper medical imaging
Triangles in 3D euclidean space have the advantage of being uniquely defined by 3 vertices that have the nice property of always sitting on a single plane. There's no linear transformation you could apply that results in something other than a well-defined, planar triangle. The worst that might happen is collapsing it into a line or a point.

The same cannot be said for quads. If you e.g. have 4 vertices where 3 are sitting on the same plane, but the 4th isn't, there are 2 different, possible ways to subdivide this into triangles. In addition to all the possible non-linear surfaces one might image occupying that space.

Old OpenGL and Direct3D versions did have quad and arbitrary polygon rendering support. IIRC from vague memory, the above scenario was something you were supposed to avoid and results varied between graphics card vendors.

On a side note: If we are talking purely 2D, some old 2D software rendering systems used trapezoids as basic primitives, defined by their top and bottom edges. For instance, the X11 XRender API explicitly supports drawing trapezoids. They are easy to rasterize, interpolate across and quite flexible. Many other 2D shapes can be conveniently composed from them, including screen space triangles, if you were to implement a software rasterizer.
So, I have not used React more than a tutorial here and there. Same with any of the other SPA libraries.

I do not understand why everything needs to be a single page application. Sure, my current employer is behind the times in the technology we use, but honestly, we survive just fine with server side rendering and plain, ol'boring, vanilla Javascript and a little JQuery here and there.

Of course, some things we have written are difficult to maintain at times, but I doubt any other library would have really made it simpler (more of an issue with the requirements than the technology). Abstraction is simple, for us at least.
AI safety and "longtermism" (I feel slightly more stupid just by writing this) is an escape route for the group's realization that (a) they cannot really make a difference and (b) even if they could, it would require a lot of actual work. The person who goes out in the middle of a cold night and cooks soup for homeless people can quite easily count how many mouths he fed; sounds quite effective and quantitative to me. Or maybe the volunteer who is helping fight malaria in a desert somewhere outside of America/Europe; actually, they don't need to count, their exhaustion at the end of a hard day is proof enough of their altruism.

But since the real goals of the EAs are not to do any of that (it's just a bunch of socially-awkward geeks looking to feel accepted in some kind of community and find sexual partners; in other words, trying to feel like normal humans), they fooled themselves into believing that such short term actions are "ineffective"; actually, any actual measurable hard work has to necessarily be ineffective, or else it would actually have to be done. So they keep pushing their agenda to longer and longer term issues, more abstract and less well-defined as possible, which cannot be actually measured, so they can continue to build this weird, meaningless, ridiculous fantasy that they live in (and which supports their social hierarchy) without having to actually do anything concrete.
NVIDIA has an OpenGL extension that does just that [1].

[1] https://registry.khronos.org/OpenGL/extensions/NV/NV_fill_re...
There will be other banks and onramps. There was a time before those two banks. And there are many more institutions open to the business now.
Meta’s powerful AI language model has leaked online – what happens now?
Those big old RCA ribbon mics like the 44 on the main page are way too cool. I’m privileged to own an old 77DX from the 60s and it’s very special. It’s always fun seeing music stuff on HN.
I'm a happy paying user... I almost never have to !g. I tried DDG before kagi, and it just seemed like a worse version of google to me. I definitely prefer the kagi results.
Mastodon is great...I like how all of the wild ass american taliban leftist people are leaving twitter to go join their own boxed in caliphate's. It's a better situation for the world in general. let these maniacs cancel themselves on their own ruby servers vs polluting Twitter with their nonsense.
In case you are curious, the GPU is PowerVR "Rogue" AXE-1-16M. Despite PowerVR generally having been a pain in the ass in the past, they apparently have had a change of heart finally and are trying to push drivers to mainline which is nice. Although it must be also said that afaik the drivers have not been merged yet, so ymmv with these devices
The best part of the piece was the invocation of Hannah Arendt, "The Banality of Evil". Until now, no other writer or article saw it, it took a 94 year-old intellectual to see the forest for the trees.

... That said, I think the weakest part of the argument is that it naturally invites laypeople to counterargue, "Aren't we just pattern matchers after all?" Their essay does not directly debunk this question.
Or a mobile device. Any time of day, I would estimate at least 50% of drivers are glancing down and using phones while driving. Even cops.
The Chinese are people, but are not THE people. (Well, most of them aren't anyway.)
That TLT story is being severely under-reported.
The class action for the WellPoint (Anthem) breach was $115 million.

That smells like real money to me.

The total cost for the biggest healthcare breach was around $500 million give or take.
Marc Andreessen and Steven Sinofsky on AI sentience, ethics, love, jobs and more
I wrote a dystopian post on this technology- I also write on a similar project idea: https://iotmote.substack.com/p/remaking-the-nokia-6110-and-p... https://hackaday.io/project/177716-the-libre-autarkic-laptop
For about 20 years I had the mantra of "Don't bet against Intel". A good example of this was in the early 90's when all the hype from the Apple fans about PowerPC and the end of x86 by the year 2000. The hype was real but Intel was just quietly saying "we have a road map and we will go well beyond what people expect" and then Intel did it - while PPC slowly faded away (for various reasons).

Everytime someone predicted the end of Intel - they just kept knocking out of the park when least expected. Thinking going from Pentuim 4 Prescott to Intel Core series for instance. Side note - At least the Prescott was vaguely ambitious!

But the last decade has not been great for Intel. That engineering prowess has faded a little. Their new GPU stuff is neat and very forward thinking but it is still a wait and see on that. But when it comes to their other elements, it feels like they have just been doing the same thing with very minor tweaks for far too long now.

---

Another aside, it is same theoretical greatness doesn't always translate to market greatness. If it worked like that we would probably all be using PowerPC machines in some degree. A wonderful ISA!
This is the exact topic of Isaac Asimov's "Foundation". (I've watched the series, now digging into the first book.)

Wikipedia provides downloadable data dumps, I guess that's one way to start.

You may also want to check out http://collapseos.org/.
If you actually use consummer CPUs a lot (maybe e.g. you are a kernel maintainer and compile Linux all day) some of them may not last how long as you think.

Or if you put consummer CPUs in embedded equipements that are always (or at least often) under load, Intel will not care much if you have an high failure rate after a few years, even if you buy an high volume. They have dedicated SKUs with better expected durability.
I don't understand.

Why would a publicly and a privately traded company react fundamentally different to the economy? What macro factors are you referring to, that fundamentally influence one but not the other?
My guess is the loss of a crypto on/off-ramp in USA.
I made a software to do actions when devices appear/disappear from the LAN.

https://github.com/ltworf/lapdog

It sends pings and uses the mac addresses.
That NewYorker summarises it nicely. I can’t stand the over-produced stuff on NPR for example. In Our Time has no politics, no hook to get you listening for the next episode. It’s just a lovely small window into academia. Above all it makes things simple without dumbing it down
Disclosure: Supervisor security vulnerability