skysight-inc/HackerNews huggingface dataset:
Everytime I read about this kind of argument against mock is usually due to a misunderstanding on why unit tests with mocking exists in the first place. The underlying assumption is that tests are a quality assurance tool but I think that this is true only for E2E (possibly in production). In outside in TDD unit test are used as a design tool not a QA one, and mocking is a convenient way to quickly do that without the need of implementing the next layer, mock usually don’t replace an implemented service that does IO they implemented a noop that triggers an exception (so they your E2E won’t pass until you implement that)

The problem is in the name, unit test should be called implementation spec or in-code documentation.

Each layer of testing has its roles and serves a different purpose.
Among conventional 4-cycle ICE designs there are some recent generator and marine applications near 50%. F1 designed an amazing hybrid system that achieves 50%. Those are the best figures I've seen.

The F1 hybrid design is pretty amazing. The motor–generator is driven by and drives the turbocharger. This allows the turbo to be optimized: When the turbo wants to spin too fast electricity is generated and when the turbo would otherwise not deliver enough pressure (lag) the motor–generator augments the turbo speed. Excess stored power goes to the drive train.

This effectively solves turbo charging, recovering waste heat through all operation phases, eliminating lag and delivering high efficiency. F1 chose not to field it, and I don't know why. I don't know if it will ever be seen in normal applications.
Not sure that that’s a great alternative considering how slowly pineapples grow…
In practice, maybe not, but Novo Nordisk's current market cap is much bigger. In terms of revenue, I think they are on the same order of magnitude?

Novo Nordisk might return to a more realistic market cap once other GLP-1 agonists enter the market, e.g. Lilly's.
Can you do a column and normalize them?

Too many zeroes for my blind ass making it hard to compare.
Corporations fill their ranks with junior developers, more breaking news at 11.

I remember plenty of multi page applications from big corp that ran like a dead dog too, back in the day. Or ASP sites that wrapped the ENTIRE page in a form, with all of the frustrating complications that entailed.
Probably the single most obnoxious production defect I ever found related to a database would never have made it into production if we had been using a real database instead of a test double. It happened because the test double failed to replicate a key detail in the database's transaction isolation rules.

After figuring it out, I swapped us over to running all the tests that hit the database against the real database, in a testcontainer, with a RAM disk for minimizing query latency. It was about a day's worth of work, and turned up a few other bugs that hadn't bit us in production yet, too. Also sailing past our test suite because the test double failed to accurately replicate the behavior in question.

Total time to run CI went up by about 10 seconds. (For local development you could chop that way down by not starting a fresh server instance for every test run.) Given how many person-hours we spent on diagnosing, resolving, and cleaning up after just that first defect, I estimated the nominally slower non-mocked tests are still a net time saver if amortized over anything less than about 50,000 CI runs, and even then we should probably only count the ones where an engineer is actually blocking on waiting for the tests to complete.

That said, there was a time when I thought test doubles for databases was the most practical option because testing against real databases while maintaining test isolation was an unholy PITA. But that time was 5 or 6 years ago, before I had really learned how to use Docker properly.
The claim was that Germany has now become dependent on carbon based energy sources, the link I posted shows it has always been dependent on carbon based energy sources. The dependence hasn't changed all that much in the last 20 years, it went down a bit but not much.
You do see the words you just pasted which say "that is not to say that running a model can’t be used to do something harmful", don't you?
Yep! Suuper nice though!
Yep, just got this package yesterday and I was pretty amazed at how easy it was to switch over. Their PSD compatibility seems quite good too, although obviously some of the effects are implemented subtly differently.

I've tried to quit Photoshop before with GIMP, Krita and even more obscure alternatives but gladly shelled out the cash for the Affinity Suite.
I love svelte, and is what I reach for personally, but it's still early enough in its lifecycle that there's constant changes / new paradigms being introduced, especially if you include svelte-kit (originally it used sapper).

If I had a team that had gone all in on Svelte I'd be bemoaning the need to upgrade recent code already.
Suiteness (YC S16) Is Hiring for TypeScript/Qwik
Yeah but so many people want to believe this idea. Consider all the history of people of "royal blood" as if that endeared them with the knowledge and skills of ruling. There is a whole industry that plays to this desire of people to "know". From palmistry to genetic memory, they are all bonkers.
It's a full feeling.

Like after a big meal at Thanksgiving. Where it just wouldn't be comfortable to continue.
The problem for drones is easily weaponizable models exist off the shelf for people with malicious intentions and no interest in preserving the hobby. To weaponized a rocket requires more intellectual investment.
Comfy seemed to be saying they deliberately manipulated the weights to basically sabotage anything remotely erotic.
Congrats on your skills, enjoy not having to work on things you aren’t passionate about.
Would also like to know what to give to friends and family.

I used to use and recommend Ubiquiti but they seem to have gone down the drain last few years with dark UX, in-app promos and centralized cloud management with dubious security...

Recently had their Dream Router recommended, from someone supposedly knowing their stuff, though - anyone here for experience with it?
JavaScript Needs More Money
After Eich was ousted and formed Brave, Mozilla's C-suite are led by an ex-Kinsey person and are extracting all the wealth from the company in the form of massive executive bonuses.

They are now an "AI company" and Firefox isn't a concern anymore.

I expect Mozilla to die within the next few years and the web to become Chromium only, finally solving my chronic online-ness.
She's got one in the marquee. But not the side art. But it's a lot better than the original Pac Man art.
> If I wanted to do the same thing with a Mac I'd be spending over 3k

Right, "when a consumer can afford to."
sure, it's things like oneapi that have pluggable backends. spir-v/vulkan compute too.

now, for how many of those things does AMD have a pluggable backend that actually works? none of them, unfortunately. Octane implemented on SPIR-V - on NVIDIA and Apple, because those were the runtimes that worked. AMD and Intel couldn't even compile it successfully (intel probably would today, I'd guess). Blender tried to support AMD for a long time, and the runtime was so buggy and defective they eventually pulled support from OpenCL entirely, since the OpenCL only ever ran properly on NVIDIA and Apple, and both of those have alternative interfaces that are cleaner and faster. The only point was supporting AMD, and AMD's OpenCL implementation is so buggy that it ended up being a de-facto AMD-specific codepath anyway.

That's the problem, AMD's software stacks are fractally broken. Not just HIP and their oneAPI adapter, but the ROCm it runs on. Not just ROCm, but the OpenCL it runs on. Not just openCL, but the kernel scheduler it runs on. Everything is broken at every level even on supported hardware.

Saying "it's just software" is a handwave. There are literally entire stacks here that are not fit-for-purpose and need to be substantially rebuilt before you can start building the layers above them. There isn't a stable enough basis to just implement an adapter for these pluggable frameworks, because the runtime and the kernel code are also broken.
Ableton SUCKS. I think that's the thing that many people have decided. I think it sucks.
Totally OT but: Godverdomme, why can't I right click those images of vintage ads :((((.
What are you doing after quitting full stack web dev?
I think bringing in component libraries that include the kitchen sink, the farmhouse and the farm... as well as the neighbors farm are a big issue too.
Along you're lines chargers are commercial parking lots needs to be prioritized.

At least in California there is now often a glut of solar power during the day when presumably a lot of cars are parked at peoples workplaces.
I think in the U.S. the most profitable customers of credit cards are the well to do because they buy so much more than poorer people.
For long-distance, high-power communication, sure! For local communications, one big counterexample is Wi-Fi – it's centralized on a topological level, but decentralized in terms of spectrum assignment.

And even for longer range, that reasoning can't explain the absence of anything at all from Google or Apple in off-the-grid situations. Why can't I text (iMessage, WhatsApp etc.) a friend sitting a couple of rows away in an airplane without Wi-Fi, when I can airdrop them gigabytes of data just fine?
> best dx pre-v5

Did something bad happen to dx in svelte in v5?
It's more like creative commons, licensed binary assets. The source isn't included. And the compilation process is onerous.
Yes, indeed. IKEA's non-profit parent is headquartered in NL, and it is obviously a tax evasion scheme.
Cheap and cutting corners might be better described as externalizing costs. As we know increasing shareholer value trumps all. That being said our civilization would have to roll back to something like the 1800s level of technology. I'm not advocating for this, medicine and transportation can not exist without plastic, but our clothing furniture and rugs and other items don't have to be. And plastic recycling doesn't have to be a joke. But we can't expect shareholders to interalize those costs and not get as rich as fast as possible, can we? After all it will be someone else who will be affected by the wanton distraction of the environment.
Hated ASP.Net WebForms over dialup for sure... massive view state, it was a mess.
Also cool would be to compile and run this emulator on a standard Raspberry Pi under a RTOS.
He pointed out that all the buttons and important controls are right where and how he designed them to be on his MPCs. He said they got the workflow and timing down perfectly. Did you watch the review?

A lot of musicians think Ableton kind of sucks.
i agree, but we shouldn't require all firmware to be open-source and user-replaceable on only chinese devices; we should require it for everything, perhaps with narrow exceptions for things like pos terminals and certain kinds of industrial equipment
Yep, I finally cancelled and didn’t take any of the “two free months” offer because I just don’t trust their billing approach anymore. The “pay monthly but can’t cancel for one year” model ruined it.
Well tests are usually in English and easier to read then code IMH(uman)O
Part of growing up is to understand that other people are unique and can't be blamed for what somebody else has done. A child will not understand this, because to him it is only "me and other people" that exists. Every company has to be blamed for the wrongs that some companies did, even the competitors. Every woman has to be blamed for the wrongs that some woman did in the past. Every person who disagrees with me on the internet is exactly the same person who has mistreated me in the past, they make me sick. And so on.

It's the easiest thing in the world to be distrustful. You're never going to be wrong, because you'll never take that risk and you'll effectively repel all people who don't like to be treated as if they were dishonest or be insulted at random. But what kind of people will you be left with?
What's New in Mojo 24.4
Good, I’ve had such bad experiences with this company. Adobe is the king of dark patterns.
Yeah a Tokens per $1 column would vastly help the readability.
Amazon already has your data. The data that matters to them anyway.

Companies purchase bulk customer data. Your data and my data will be included in these purchases.

Anything else is correlative and immediate ensuring that your data and my data is current.

To pretend otherwise is naive or agenda serving.
I agree with you in principle, but there is one big task where Gimp can't compete: importing PSD files. Kudos to Gimp developers for the level of psd support it has, but it's not perfect (naturally).
> what value does it add?

Efficient updates.
Except depending on model, you get to choose between being stuck on an ancient version with unpatched security vulnerabilities, or having not-properly-working drivers. I own 4 different models from them and currently don't use any of them due to inability to get builds stable or even working. I have poured through their patches and have very low confidence in security of their official firmware. There's some patches that would need backporting for hardware compat with upstream.

I would happily sponsor and help out with dev and infra for whomever sets out for a community upstream OpenWRT build for Glinet E750, FWIW.
Would love it if they started comparing plant based leathers to plastic based leather alternatives and actual leather. When those comparisons are favorable I expect there will be a bigger impact on both sustainability and the market.
Could be interesting to take out all the ecosystem of open source software even remotely targeted by this attack out of that company, members, related companies, judges and so on that may think this is reasonable, and so on. Give them in particular, and all their related people (up to their children), a sample of a world without those technologies. Bricked phones, very outdated desktop OSs, no social networks, no cloud, and so on. And that for a meaningful time (months or years). Eat your own dogfood, or reaping what they sow.

Even trying this kind of joke should have immediate and heavy consequences. Its more related to crime than to law.
It was a tongue in cheek comment that was maybe a wee too subtle. To the extent that Amazon launching Kuiper is tied to (maybe still?) majority owner Bezos' interest in building supportive business for Blue Origin, then Kuiper launching on SpaceX is an irony that cannot go unobserved. One might even say Blue Origin as an orbital launch provider is more "vaporware" than Kuiper itself given the latter's test existence in orbit.
> That’s a link to a route handler (controller) that makes a graphql call (model) and then explicitly updates the DOM with renderComponent (view).

See, we're already not talking about MVC. Under MVC, the model updates the view. But, as you say, in your code the "controller" does the updating. Maybe you could argue that React is serving the role of the model here by actually being the place where the DOM gets updated, but, ultimately, we're always going to struggle with finding such analogies when React isn't designed for the MVC model.
shitty laws in thailand are no excuse for human rights infringements in the other 99% of the world
Nice. Any plans to add calculations for image input for the models that allow that?
Ah yeah that's fair; I was thinking more interest and penalties but I guess taking a percentage on all transactions almost certainly would work out to be more
tell that to avraham eisenberg https://www.axios.com/2024/04/18/avi-eisenberg-convicted-cry...
Love the side and base art. It's got such a cabaret vibe. Like the ghosts were supposed to be carrying her but at the last minute they decided to switch the arms to be neutral.
A very nice book indeed, and i also recommend the following tomes
The government doesn't need to be duped into expanding surveillance. They are desperate for more of it.
Fortunately, microplastics seem to be more like dihydrogen monoxide. Great many studies show how DHMO is toxic and dangerous at both cellular and macro levels. This is a problem, because DHMO is even more ubiquitous in the environment than microplastics. There's kilograms of it in you and me right now!
My favorite variant is probably Pac-Gal [1] (a hack from 1981, sometimes also attributed Uchida, 1982) – it doesn't get more '80s than this.

[1] https://www.gamesdatabase.org/game/arcade/pac-gal
Companies getting into Finance/Lending is common when you sell an expensive consumer good ...

- GM created GMAC Financial to help consumers buy GM automobiles, 100-years ago.

- Apple created Apple Financing LLC, to help consumer purchase expensive phones & laptops.
> After all, this would be like if Nintendo re-released a Super Mario game and swapped out Princess Peach for a Princess Pineapple or Princess Pumpkin and just acted like it wasn’t weird.

Yeah, that'd be weird, but swapping Princess Peach for Princess Toadstool was fine?
This is exciting new indeed! I can't stomach the £499.99 purchase price. I feel like for the feature set that's a bit steep.

Nonetheless I wish them all the good luck and hopefully we'll see a full frame variety of this eventually!
Well, I think that depends upon what is being measured. Is this general intelligence, or is this mastery of a single thing?
"I find it fascinating how MAGA republicans think Trump is there for the small guy, yet his appointment and policies really benefit the big corporate donors."

Not that the democrats are much better but it's fascinating how the republicans are able to unite super rich capitalists and blue collar works into one movement although their interests are directly opposed. I think it's because they don't talk down on people like democrats like to do lately.
I dig it! Kind of related, but I made a comparison of LLM API costs vs their leaderboard performance to gauge which models can be more bang for the buck [0]

[0] https://llmcompare.net
The key has to be on their servers though? If I log into a proton account on a new computer I could see all my emails decrypted. I don't have to store the key somewhere and move it to my new computer.

Second, I am not talking about swiping the key, but the password. When you log in, you send your password to their server. They presumably hash the password and compare the hashes then send you the decryption key if the hash is correct.

The problem with that is they could keep the password you entered (pre hash). If hashes are good then use the password you entered themselves with the key to decrypt your email.

It sounds like the separate decryption password may work around this, but is not the default meaning a large chunk of the users are vulnerable to proton logging passwords.
HTMX for the win!
Impossible, especially for drones, because it would allow people to trivially flash firmware to drones which can bypass restrictions like no-fly zones and reporting requirements which allow the FAA or other LE to answer questions like "who was flying a drone playing chicken with a low-flying Cessna"
true, but would there be a difference if it's ASP.Net Core on Linux vs NodeJS on Linux both using a DB?
I didn't mean people who work at Uber explaining how their load-balancing works.

I meant walking up to a super cool music visualization at an outdoor art festival and they guy there happily explaining to me their entire system built out of a node flow diagram implemented on Max but adapted to visual graphics using a plugin called Vsynth.

Or going over to a friend's house and seeing their modular synth system and they happily explain to you how it works for an hour.

Just this weekend I met an amazing engineer with a street-legal steam-powered motorcycle which he patiently explained for an hour.
> The only reason why animal consciousness has been controversial historically is a religious one—the Bible has typically been read as placing humanity in a category of its own. And yet we see countless secular scientists clinging to that perspective when even a cursory glance at the evidence and a basic application of Occam's razor would suggest the opposite.

It's not just the Bible. It's virtually every religion and it's probably pre-religious. There's also no reason to assume that animals don't think the same way. It's probably the case that crows, for example, place themselves in a separate category than other animals. That's how they recognize each other, mate, etc.

I think most animals are conscious but a qualitative distinction between humans and animals is very reasonable. Animals didn't land on the moon or discover quantum mechanics. Whatever it is that allowed humans to accomplish things like that is a worthy basis of a distinction.

And are all animals conscious? Amoebas? Virions? Bacteria? I reject panpsychism as going against common sense; I think there probably are very simple (read: small) animals that aren't conscious.
I think what OP and others are talking about when they refer to React as being the view part of model-view-controller is that a server might render a React component in the view layer after the controller has decided what data to collect and which layout to use.

I think something other people sometimes talk about are single-page applications, in which case it's not a single component being rendered but an entire application. At that point MVC was simply disregarded by the developers because React is really just trying to be the V in MVC.
React server actions also have this limitation. No way to call two server actions in parallel.
I only skimmed through the beginning but I am not sure what the news is. Looks like they mostly/only? pulled it from some filings that I am sure was being put together by third party agents.
You should not have a router with WiFi. Wifi is a whole separate stack that does not integrate well and causes the device to perform poorly overall.

Always use a non wifi router and an access point with a good stack like ubiquiti. I don't know of any "open" devices because the stack is all black box anyways.
To start: I do not trust the CCP, but my trust in the American legal system has been waning.

What's the legal recourse for a US Citizen served with a dodgy FISA-related subpoena/warrant?

Or if a government agency wants to purchase tracking data that includes my phone from a data collection agency? Say the state of Texas purchases geotracking data for app users who cross state lines.
Ongoing discussion (36 points, 2 hours ago, 18 comments) https://news.ycombinator.com/item?id=40709451
Only when there are interest charges. If there aren't (as is also the case for credit cards paid off immediately in many countries), and merchants don't offer any other incentives for doing so, why should I pay them upfront?

Quite often, I'm not even receiving goods or services at the time my payment method is charged, so in the end it would be me giving the merchant an interest-free loan!

Letting customers try out the merchandise, potentially swap for a different size of clothes etc. can be a win-win.
Regan's "welfare queen" comes to mind. More recent examples were those against stimulus checks (but very much for PPP "loans"). Any politician who believes in means-testing, when the bureaucracy adds an overhead greater than the amount saved is arguably out to hurt the undeserving.

You can't deny the politics of retribution exists, because politicians only give oblique references to it; voters certainly believe it, hence one voter who complained about Covid shutdowns thusly: "He's not hurting the people he needs to be"
Your ideal situation is likely federation.

But Signal doesn't want that, and most people are too cowardly to trust anyone other than the people who absolutely must make a profit running such a system.
I would visit sit-down restaurants a lot more often if they addressed the noise. Glass, concrete and crowds = painful clamor