skysight-inc/HackerNews huggingface dataset:
Send a Sample from amazon and other eBook suppliers is usually 10% of the book. Another unfortunate metric for modern authors as they now have to make something interesting happen in the first 10% rather than a slow character and plot build up.
What does it mean for a thing to be hard to do in the context of different programming languages?

Hard and easy here are extremely deep and complex subject matters. Is goto hard or easy, for example?

The person is going to give up (or you are,) because you are not going to be able to just have this conversation for any meaningful length of time. This is a (bad) fantasy, and one that books sometimes attempt (that I hate) and some people fantasise this way.

They are not going to Ask The Next Question because if they could do that, it would come from a position of already understanding in a sort of anachronistic way. (In that they already have your answer, yet still want it.)

They lack intuition for all the new concepts, they have a bunch of false friends (to borrow from linguistics, in that they think they understand some of the concepts - but they are different concepts with the same or simliar names).

If you are a good teacher, then I am sure you will be very successful in explaining, but it's just not happening quickly nor with just anyone.
With falling costs for NPUs in SBCs and AI PCs, there will be ubiquitous human-activity-sensing cameras and WiFi radios in buildings and desks.

https://www.pcmag.com/news/how-qualcomms-always-on-camera-be...

> The “Always-On Camera” option that debuted with last year’s Snapdragon 8 Gen 1 is now the “Always-Sensing Camera.” This feature keeps a phone’s front camera on, in a low-power and low-resolution mode and available only to the chipset’s Qualcomm Sensing Hub secure enclave, to do basic checks of presence. For example, blanking the display if a second face appears in the background in a possible case of shoulder surfing.

https://www.pcgamer.com/intel-wifi-sensing-raptor-lake/

> 13th Gen Raptor Lake processors. The technology is called Wi-Fi Proximity Sensing (or just Wi-Fi Sensing), and since I'm over at Intel's lab in Haifa, Israel, I've been able to give it a go for myself. It really is as simple as it sounds. You just walk up to the PC and it will wake from sleep to your desktop or lock screen. Then, if you walk away, it'll go back to sleep again 30 seconds after you abandon it.

Upcoming activity detections include breathing rate, which can be a proxy for emotion. Who will own/secure the data?
> Some Autel drone are made in the USA

You mean are assembled in USA. Most soft and hardware is still made in China.
People who love Angular really love it, so I trust that there's a legitimate place for it. I think one of the main things people love is that the convention and tooling eliminates a ton of the noise and redundancy that the other tools tend to lead to as teams slap applications together without sufficient guard rails.

Essentially a lot of the tools we use are only meant to be view layers, and we constantly cobble together supporting layers (models and controllers for example) ad-hoc. Angular handles that off the shelf. I suspect a lot of people are put off by this because it feels imposing and they might not realize they're implementing the same stuff manually, and likely doing it worse.

I used to think it's plain old garbage but realized that's ridiculous. There are reasons people prefer it in some scenarios.

SolidJS is my favourite by a long shot, but I find myself using React because I know so many people I write for and work with are more comfortable with it. I'd be glad to use it more often if it made sense.
> All of those can be done online with minimal effort or upfront investment in many EU countries. Do you mean Belarus?

Each of them can be done online in most countries. All, very few. I think only Estonia comes to mind. (At least one form in that process requires visiting a notary in most of Western Europe.)

The cost of terminating an employee is also a unique risk that European firms have to capitalise for which American start-ups do not. Again, I understand why one would choose this stability. But it comes with a cost.

> It's impossible to remove that boundary

It's absolutely possible by mandating a lingua franca. But it would cause irreparable damage to those cultures, which is why the EU--sensibly, in my opinoin--has chosen to preserve them. But this is a choice and it comes with costs.
It does: the favourite feature.
Review here - https://analoguewonderland.co.uk/blogs/film-photography-blog...
This is the way. Easy solution when forced to do business with actors with dark cancellation patterns.

Also good when forced to do archaic practices like writing credit card numbers on a form or saying them over the phone.
> This often happens with an in-memory database, which is compatible to your main database you do use in production, but is faster.

Not sure how this will solve edge cases problems described at the beginning of the article
See. These crypto bounties pay as much or even more than big tech bug bounties.

This bounty prize is the equivalent of finding a Chrome zero day bug or an iPhone zero day RCE jailbreak. There are lots of >$1M bug bounties in crypto.

The question is, would you rather target Chrome/Safari or iPhones and find and chain-up 5 - 10 zero days for $1M+ or target crypto projects instead for $2M per project?

You're really missing out.
That's a very solid point, as sad as it is.

I suppose the argument for OS makers to raise their rates might be that they are paying 10x below market rates, and the rates were set by the actual freaking market that exists.

If I was a congressional aide, I would definitely write something up about this when my boss was going to drag a Microsoft exec across the coals in public. I would imagine that billions in gov contracts are at risk for MS right now due to lax security. A $2M bug bounty could have prevented that.
Do the docs https://htmx.org/docs/ reflect 2.0 or 1.x?
The Factorization Curse: Which Tokens You Predict Underlie the Reversal Curse
I'm pretty sure you just described iMessage + iCloud backup (among other setups)
I guess in a way?

They learned from XP/7 that they'll never recoup it though licenses so now its ads and subscription upsells for everybody.
Htmx users, can you please share your backend stacks and approaches? Me specifically interested in templaters for node (+ts) and your thoughts on endpoint management, but all ideas are welcome I guess.
Do Different Back-Ends Have Differences in Hosting Price?
I am building a web app and I am thinking of using ASP.Net or NodeJS.
Is one going to cost more to host than the other?
I run a replicated copy of the production database on top of zfs and snapshot it before starting tests. PostgreSQL takes a few seconds to start on the snapshot and then you're off to the races with real production data. When the test suite finishes, the snapshot is discarded. This also ensures that migrations apply correctly to the production db before an actual prod is used.
$8,333 monthly on a 5% return. Congrats!
I really wanted to like F#, and I kinda do, but it has a number of quirks, compiler issues and cracks in the design that are getting worse:

First off, the compiler is single-pass. All your definitions have to be in order. This even extends to type hints - it can't use clues to the right to deduce the type of an expression on the left. This is supposedly for perf reasons, but the compiler can become extremely slow because the inference engine has to work so hard - slower than GHC for sure.

Speaking of slowness, Haskell is surprisingly fast. Idiomatic Haskell can be within 50% the perf of C, since its laziness and purity unlock powerful optimizations. F# is eager and the compiler doesn't do anything fancy. Perf often makes you reach for mutable state and imperative structure, which is disappointing.

The OOP paradigm feels bolted on. Should you use classes or modules? Pure functions or members? It depends, what mood are you in? Unfortunately only member functions support overloads, and overloads are useful for some SFINAE-type patterns with `inline` functions, so they get a bit overused.

`ref` struct support, which is vital for zero-copy and efficient immutable data, have very primitive support. even C# is ahead on this.

Very limited support for implicit conversions, no support for type classes and no function overloading leaves F# with nothing like a numeric tower you'd have in Lisp, and makes building something like Numpy clunky.

I use C# at work, and I love Haskell, so I really wanted to love F#. But it just doesn't get the love it needs from MS, and some design decisions aren't aging well - particularly as C# itself evolves in directions that are tricky for F#'s aging compiler to support.
I'm wondering if this proposal is enforced, and you opt out, how would it be known whether you're sending someone a URL? How would a URL even be distinguished from other text when you have opted out?

I suppose you could detect some patterns, and it definitely wouldn't be clickable. But is the text google.com considered a URL for example? I guess it isn't?

(yeah I know, it's a stupid law anyway, but just wondering)
Will it be as good. I mean control, video recording and signal. Compatible with some HD goggles? I really doubt, but if you can explain...
Rubber ducking is the most powerful tool I have ever encountered, and I still frequently notice how I utterly failed at doing it on my own.
> The only reason why animal consciousness has been controversial historically is a religious one

Fundamentally it's really "practical" issue. We want to use, abuse and kill animals and we make up justifications.

It won't change until the material conditions we live under change.
It is pretty hard to build anything that can compete with decent LLMs, so indeed. The section you quote is the only argument in favor of allowing release of LLMs, and it rests on the assumption that LLMs will be like "all these technologies have been, on net, highly beneficial to society." This is a purely hypothetical extrapolation from cherry-picked examples. It is intellectually dishonest.

Releasing the actual models without deploying them (in terms of the article) still allows bad actors to generate large amounts of spam and disinformation, to mimic voices and generate revenge porn, to mention but a few risks.

And the author had better not reply that that's FUD:

> A restriction on Californian AI would mean that Americans would have to increasingly rely on Chinese software if they wanted full access to models.
Laptop battery size has historically been limited in high performance machines by the FAA with 100Wh. I guess you could build a MacBook Air type device with insane battery life nowadays though.
> These kinds of technologies, like AI models, are fundamentally “dual use”.

It is certainly true that technologies can be used for good and evil. But that doesn’t mean that in practice good and evil benefit equally. “Dual use” implies a more or less equal split, but what about a good/bad 10/90 or 1/99 split? Technology, at its core, makes accomplishing certain tasks easier or harder, and besides the assertion of dual use, the article doesn’t really justify AI models being equally good and bad.

In the Soviet Union, a large percentage of the population was used for surveillance. The U.S. had surveillance too, but less. Technological limitations made surveilling every person prohibitively expensive. Police couldn’t just surveil everyone.

Today, surveillance is not only ubiquitous but better. It is possible to track millions of people in near real time. So this technology has caused a decrease in the cost and scalability of mass surveillance, which in conjunction with the third party doctrine (read: loophole) has the emergent effect of neutering the 4th amendment.

What makes this hard/impossible is anticipating likely applications, which is why I lean towards not regulating. However, we should recognize the possibility of a moral hazard here: by shielding industry from certain consequences of their actions, we may make those consequences more likely in the future.

> The general purpose computation capabilities of AI models, like these other technologies, is not amenable to control.

Sure. And we can’t stop people from posting copyrighted material online, but we can hold people accountable for distributing it. The question in my mind is whether we will have something like Section 230 for these models, which shields large distributors from first-pass liability. I don’t know how that would work though.
Sorry, why is this even a research? It's uh... pretty obvious they are conscious.
Sam Altman is a pathological liar

https://www.theregister.com/2024/05/29/ex_openai_board_membe...

https://www.wheresyoured.at/sam-altman-is-full-of-shit/
And the above attitude is why the US is a joke with people who can't afford education, healthcare, or a home, 70+ yo still working their ass off in McJobs, crumbling public infrastructure, homeless and billionaires laughing all the way to the bank...

Then you're comparing countries with better distributed quality of life based on GDP or the presence of billionaires and unicorns, as if between you, Zuck, and Musk you have an average wealth of $500B. There are much poorer GDP-wise countries where people live better and are happier than the US :)
So everyone can see that you are neither accurate nor entertaining -- thanks for confirming!
GDP and wealth are hard to compare because China does so much stuff for cheaper. They can build massive infrastructure projects like high speed trains, huge bridges and dams all for way cheaper than we do, so their money actually goes farther. That means even for the same GDP they have more productive capability.

Military is not the only way to exercise power - look at the Belt and Road initiative.

Demographics - how many PhDs are coming out of each country.

And obviously we’re banning DJI because they are the dominant player - we couldn’t compete economically so we’re using legal power instead. If the US was just better at building consumer drones this never would have happened.
I have too: on books that are not part of their controlled lending programme.
One of the happiest days of coding in the last 10 years for me happened in September last year when I added htmx to an internal self serve web app I develop for our company. With the addition of maybe 5 htmx attributes I was able to delete about 500 lines of client side JS.

The app is now chock full of htmx interactions and has very little client side JS for the size of the app and it’s a joy to work on.

Without htmx I would not be able to turn around features as quickly as I do for the wider team so thank you, thank you, thank you.

I’ve been in web dev for 20 years and this feels like what we should have made all along.

The one area I would like to see some development is the file upload experience, I’ve had to do something a bit weird to get htmx and dropzone playing nice.
Surely Apple bears a ton of responsibility for killing Flash. That was the beginning of their mobile walled garden.
The problem isn't energy density, nor competitive cost. Multiple manufacturers make EVs that are price-competitive with ICEs and in some cases the same vehicle model with an ICE.

The problem is mostly driver mindset.

You just can't convince them that

a)most of their charging will happen at home while the car sits in their garage / driveway

b)When they do need to fast charge, the 20 minutes it takes for a number of current EVs to get to 80% charge isn't much longer than what you'd spend at a highway service area by the time you get done with fueling the car, going to the bathroom, chasing down everyone who was in the car, maybe buying a drink and snack, etc

c)For the rare occasion they need a vehicle with more range or are going into an area without good charging infrastructure, they can rent a car. This is how things are done in Europe - you take public transit most of the time, but for a trip where public transit isn't convenient, you rent - often times after taking a train to get closer to the area you're going to be in.

Drivers still buy giant 7-passenger SUVs and hulking pickups that spend most of their service life with one, maybe two people in them and little or no cargo.

Making car rentals much less of a hassle would help, as would mandating maximum passenger vehicle heights, and tax penalties on noncommercial vehicles over a certain weight.
Is there data on the reproducibility of papers both pre- and post- the alleged academic shift?
Ok please give a clearer worded version and we can test it. In my experience asking LLM to ignore what is in their context window often does not work. It can take many repeated requests to see it but LLM response distributions change when the ignore request is part of prompt vs not.
> ROCm is only available for the top tier RX 7900 GPUs and you’re expected to run Linux.

Fixed it for you: ROCm is only officially supported for the top tier RX 7900 GPUs and you’re expected to run Linux.

Desktop class cards work if you apply a "HSA version override".
You can make the same argument then for SolidJS. Almost every vanilla JS library works fine with it without a need for wrappers.
There are a lot of coincidences[1] and since congress can legally insider trade it would not surprise me if some involved have stock in some of these companies.

[1] https://www.youtube.com/watch?v=2Cb-Zv783yQ
In what way would be possible assume that animals are not conscious? It's such a bizarre question
Those 40% numbers, if you actually read how they got that, it's almost always that they were running the engine in a fixed point operation with a constant RPM.

You can make it a bit more efficient by optimizing an engine for a specific singular output, sometimes up to 50% I think is what nissan claims. One automaker, I forget who, was researching doing a hybrid drive train like the volt had, but where the engine could run in that one single speed and charge a battery.

Seems a lot more complicated than just electrifying the system, but I'm not a auto researcher.

Nissan's PR about it: https://www.nissan-global.com/EN/INNOVATION/TECHNOLOGY/ARCHI...
https://news.ycombinator.com/item?id=34805229 - Feb 15, 2023, 47 comments

Spells out the "O" in OCaml as "Objective", so it doesn't turn up in the "past" list.
One of the nice things about the .NET ORM EntityFramework is that you can swap a mocked in-memory database for your prod DB with dependency injection, so without modifying your code at all and theoretically without affecting the behavior of the ORM. Which is to say, you're right, it's about using the right tools. Those tools of course vary by ecosystem and so in some cases mocking the database is in fact the correct decision.
Yeah there’s a lot of people in this thread assuming that the role of the Supreme Court is to be as neutral as possible and make informed judgements based on careful reading of the law. But if you take the view that “the purpose of a system is what it does” then that’s not the purpose of the Supreme Court at all. What it actually does and the role it serves is hard to describe for me as a lay person, but it’s clear it’s not there to actually serve justice on the traditional sense.
https://s3.amazonaws.com/theoatmeal-img/comics/idiocy/oatmea...
It depends. The type of project affects the decision too.

If it's a small, standalone CRUD app on a SQLite database, mocks would probably be a bad option, sure.

On the other hand, it could be an integration platform that integrates with many third-party services. Some of them may not have test environments. Or some of the integrations may be written by third-party contractors, and we can't expose service credentials because of poor permissions granularity. Mocks are a good option there.
> V is the visual representation of the model. React does not exist there at all.

Disagree. That's where React exists. Whether you specify V using turtle graphics style API, or DOM style markup, it is all still V.
He would still be leading board meetings even without a board vote perhaps?
I agree that shareholders are owners. I saw "usually", but given the minor overlap it didn't seem sufficient to support a full assertion that MF sides with executives. Given that owners don't have to be executives and executives don't have to be owners.
Europe may be different but in the US most fast charging stations have multiple chargers, usually 2-6, sometimes many more depending on the place.
(I suppose I must be blind)

Where are the APKs?
Skirting regulations
Can someone please explain how the patent covers non-obvious work? This reads to me like tunneling with VPN's, and after we have so many on our hands, that one naturally reaches for sprinkling some conventions and automation on top. We were doing this in the late 90's by hand, and the connections were so expensive we didn't run up enough instances to warrant establishing conventions and writing the code to automate them, but it was obvious that was the direction once bandwidth prices got less insane. Just curious what I'm missing (as they wouldn't have put this suit forward if they didn't feel they had a very good shot at collecting, right?).
Nanoplastics are worse, imho
It feels like the react team has decoupled from the best interests of the community. Much of the appeal of react was in building the SPA. There are so many web apps that are best built in react on the frontend. Instead we now get this Vercel-driven RSC use-client mess which is of little benefit to the SPA crowd.

The fact that the suspense change made it this far shows how the react team has lost focus. Now more than ever, the ecosystem is really primed for a competing framework to dethrone react. I say this as someone that has invested a lot into using react.
It wont be perfect and it will fail in stupid ways, by design.
Show HN: I ported MetaMask to Electron [flagged]
Maybe I am naive about the progress in this space, but we should not use the word "AI" first because it adds to the confusion many people have about DNN based programs. So called AI is not much different from many software we're using in a sense that you give an input to the program, then it spits out the output. When I think about AI, I think of animal intelligence (no pun intended) that dogs or other mammals have.
I was impressed by the fast payouts. I almost couldn't believe how easy the second one was going to be, but it turned out a bit trickier than I thought. No wonder it flew under the radar.
For many substances we consider "obviously" illegal now, yes. Most famously, Coca-Cola used to use cocaine instead of the caffeine it currently has. Even for the "prescription-only" enforcement level, this used to be the purview of the FDA and the people subject to enforcement were the ones operating pharmacies, not their customers, or people who got stuff through side channels. Maybe cops still used the excuse of drug intoxication to deal with people more harshly, but they couldn't stop and search someone merely on the suspicion that they had contraband

Drug enforcement should work like industry regulation and consumer protections, not operate on individuals as criminal penalties
I suspect that A Deepness in the Sky would work best as animation, to emphasise the same plot point that had the spiders using familiar human nouns and only reveal the graphical truth at the same time in the story we find out the literary truth.

(I vaguely remember something like this happening with a monster's POV section in Schlock Mercenary, but that's a long web comic and I can't remember when in it's history to look for).
It surfaces which websites use stronger tactics to track you, and which allow consumer friendly opt-outs.

The problem is I didn't see a single web site that I visited where this was apparent. It was a mess of opt-in pop-ups and settings and whatnot that completely overwhelmed me with actionable things I had to do before I could interact with a site, and often many companies clearly just said F it and blocked anyone from Europe.