skysight-inc/HackerNews huggingface dataset:
>Native look and feel is vastly overrated imo.

Case in point: Blender has an outstanding GUI toolkit, non-native.
Can you elaborate for us newer OCaml users? My first reaction to this critique/point is the author must want mli, right?
Yet huawei is being banned in suspicion while Qualcomm with active spying (oops, telemetry) is fine. Cool
Last time I checked, a private company can’t stop me because “I look suspicious”. They can’t take away my property via civil forfeiture and imminent domain. They don’t take 1/3 of my check. With part of that being a forced retirement plan that I can’t opt out of etc.

Only the government has “a monopoly on violence” and qualified immunity.
AMD announces Ryzen Z1 and Z1 Extreme chips for handheld gaming PCs
The standard C functions are enough of a mess mentally for me that I try to use them only for simple things.

If I'm dealing with lots of string manipulations I usually create a struct with a count and an alloc size and a char* pointer and write init, cleanup, extend, and append functions specific for it and use that as a string type. It's less of a mental load for me to deal with reallocating an array and keeping count and alloc updated correctly once than it is knowing that character arrays are being recounted all the time and worrying about exactly where the '\0' is going to end up and if my buffer is large enough for every string I'm dealing with.
A Critique of Alan Turing's Conclusions on Thinking Machines
Striking Discovery: Unique Image Reveals How Lightning Rods Work
You definitely can do quantum mechanics fine without complex numbers. A good article would explain why it becomes much simpler/elegant with them, but apparently this isn't one. Clickbait title.
Shameless plug:
Gamma Pay [0] enables accepting Apple Pay on Chrome and other non-Safari desktop browsers.

[0] https://gamma-pay.com/
Show HN: rpgGPT, RPG with LLM-Powered NPCs
This weekend at the NYC GPT/LLM Hackathon, we built rpgGPT, a text-based RPG set in the world of Occidaria (think fall of the Western Roman Empire, with a slightly magical twist).
System hooks allow the LLM to set persistant game state, and every NPC is powered by the LLM. As you discover other NPCs in the world they are created on the the fly along with an avatar image.
We've seen interesting emergent game play. My favorite experience to date was a character, after living through a particularly dicey adventure, decided they deserved the moniker "the Brave". Because the game engine has a rename character hook, that was persisted to the game state.
Hope you can try it you!
Can you explain how the halting problem applies here?
Yup, bought an old, used point-and-shoot last year, and the low stakes of it have me using it more than my DSLR. Much easier to slip small P&S is my pocket for a vacation or hike. It's got the CHDK firmware on it as well, so it still outputs RAW, and I can keep my development process.
QuiLLMan: Voice chat with Vicuna-13B
It does appear smaller, but single digit megabytes on a table with millions of rows. Not a major difference for most use cases I think. But good to know for the few that it would make a difference.
Web Scraping with GPT
3M announces mass layoffs as manufacturing slows
I really don't think I trust this approach, despite it being vouched for by so many responders to this thread. When I run this:

sudo lsof -t -i :22

I expected to get sshd and nothing else, but it actually includes outgoing ssh connections too - which I don't want to kill. Likewise :443 gives clients like the pids of firefox and signal. I'm gonna stick with `fuser`.
Yeah, I have so little energy and motivation to do stuff. I need to spend the little I have actually doing stuff rather than planning to do stuff
Bedbugs have no correlation with filth. They're not flies or cockroaches, they don't live off your waste. They live off you.

All it takes to start a bedbug infestation is for a female bedbug to crawl on someone, in their clothes or bag, and then fall off in a new place and start laying eggs. It can happen in the cleanest spaces in the world. They're highly resistant to insecticides and they hide in cracks barely wide enough to slide a strip of paper, so even a thorough washing and vacuuming won't remove them.
I use Trello for car restoration projects, and I’ll admit I lost basically an entire day just trying to get this automated workflow to happen. But after having figured it out, it made things like cataloguing new parts that I need a 0 second automated process vs a 1 minute manual process. Like basically infinite time gotten back.

The biggest win imo is it took a rote and tedious task (inventory management) associated with my fun task (working on a car) and removed it from my fun task which allows me to enjoy my fun task more and gives me greater odds of completing it.
> (keeping change between arund 30% and 80%, never fuly charging up) which is a bit impractical I think?

If you have a reliable place to charge (i.e. home and/or work) then it’s actually a complete non issue. For most people, you aren’t going to be driving hundreds of miles in a day and you can just plug in every day or every other day and be fine. A battery isn’t a gas tank, you don’t have to fill it all the way up, and you don’t have to make a trip to a special station to charge.
It is upsetting, but I am not sure how it can be countered. I am genuinely asking what is the alternative here. We go back to the lack of trust. You basically have to assume everything is trying to communicate with mothership. You mention RISC-V, but was it ever really tested against the same proposition?

I miss the dumb everything days, where the manufacturer simply could not spare compute power on additional features like telemetry.
> It's not possible for me to believe it is anything else.

you should try to work on your limitations..
I'm actually starting to do this but with Obsidian. I love notion but one of my issues with it (and this is purely on principle) is that you don't "own" your data. This got me thinking, what would happen to my data in 5-10-15 or 20 years down the road? My solution to this is to have a bunch of markdown files in a git repository and use obsidian to manage it. I assume that in the next 5 years something better than Obsidian will come out though the idea is that is really doesn't matter in the end because the data stays the same.

/end soapbox.
I'm not Cory Doctorow, and I don't read him enough to know his arguments, but my artist acquaintances all say that Spotify is a terrible deal. This article is a collection of such anecdotes: https://pitchfork.com/thepitch/how-much-more-money-artists-e...

> Documenting the group’s last show before the coronavirus hit, the pay-what-you-want release generated $4,200 from nearly 700 buyers in just two days. That’s more than 75 Dollar Bill have made through streaming services like Spotify, Apple Music, and YouTube over the last six years. “Streaming is a joke,” Chen tells me. “We might make $100 a year from streaming. On a recent statement of mine, the royalties for one track that had 580 plays on Spotify was zero dollars and 20 cents.”

This article goes into some detail about reasons: https://pirate.com/en/blog/can-bandcamp-compete-with-spotify...

> Unlike Bandcamp, Spotify’s royalty rate is difficult to ascertain, using a model which pays royalties based on the number of artist streams as a proportion of total songs streamed – which benefits the Ed Sheerans and Taylor Swifts of the world far more than it does any struggling artist or independent creator.

> Per stream royalty rates on the platform have been gradually declining for years. One recent estimate suggested the figure averaged around $.00348 per stream, or $3,300 – $3,500 per million plays.

If anyone can explain that "the pricing model disproportionately rewards established artists" claim to me, I'd appreciate it. I've heard that claim a lot, but I don't really understand how the pricing model is bad. (It feels like the kind of pricing model that admits sleight-of-hand, but that's all.)
I don't feel gross at all. They are stealing.
Blazor is a promising technology that provides significant benefits for product owners who want to build secure, high-performance products on the .Net stack, but to do so as quickly and cost-effectively as possible. Even though the technology is not new, finding developers with experience in Blazor can be a challenging task because it’s still a niche market.
>Individual investors who continued to back Bed Bath & Beyond during its final months, when it was flooding the market with shares, will likely be wiped out in chapter 11, which prioritizes the repayment of debt over shareholder recoveries.

Source:https://www.wsj.com/articles/bed-bath-beyond-files-for-bankr...

https://archive.ph/tSjT1
In what sense is immutability better? What changed?
I know it's controversial during this incredible AI hype cycle on this site, but as a AI skeptic and increasingly neo-Luddite, I've reduced the amount I spend on this site by 90% since the start of the year.

If only I could add my userscript on my iOS Firefox to just hide any post containing the words "GPT", "AI" or "LLM", but alas, I guess I will have to be productive instead of slacking off reading HN.

I honestly miss the Bitcoin hype era, or the short lived Erlang circlejerk that had pg himself put a stop to it. This one does not seem to die down anytime soon, and I'd like to read more criticism of the technology, rather than starry eyed engineers excited to add ChatGPT to their smart fridge and bird feeder.

EDIT: Funny. 1 hour ago when I wrote this comment, this post was in 3rd position. Now, with 82 votes and 103 comments, it's nowhere to be found in the first 10 pages. @dang, what's going on?
Why Elections Are Bad for Democracy (Against Elections)
I wonder how much extra work this has created for moderation.
I've concluded that women are weak candidates for president based on the fact that no woman has ever won the presidency in over two centuries.

And I really don't think Trump is all that weak a candidate. He might have faced a bit of reluctance in 2016, but didn't he get the 2nd most votes of any presidential candidate ever in 2020? 1st ever being Biden? And now he's cruising to presumably his third major party nomination. He might not be exactly conventionally popular, but I would not call whatever he is weak.
There's one of these posts every month, and predictably the author dunks on Mastodon for not having a monetisation strategy.

That is a good thing. Keep your VC-powered enshittification[0] away from us, please.

> All of the 3rd party integrations are happening with ActivityPub, not Mastodon

That's like saying the web is doomed because all of the integrations are happening with HTTP and not Google Chrome. Yeah, that's the point. That's where integrations are supposed to happen, using the standardised protocol.

[0] https://pluralistic.net/2023/01/21/potemkin-ai/#hey-guys
Microsoft was never forced to unbundle Microsoft or Teams.

> They're a monopoly on their platform and their platform is the only option many users have (for a variety of reasons).

This is prima facie a horrible nonsensical argument that a judge just said was false yesterday.
The store in my local mall closed last year and another one I occasionally visit had been looking pretty forlorn. Sure signs things were looking grim. Too bad. It was a good place to pick up kitchen things.
Yeah, not going to happen.

Banks don't make risky loans like that, investors do.

And who owns the banks? Investors?
Self cleansing notes. That is a great idea.
How Regret Minimization Made Me Leave California Tech Job for Toronto Startup
An AI Scraping Tool Is Overwhelming Websites with Traffic
People are kinda stupid when it comes to eating meat. The current scale of meat consumption [1] is just mind boggling. Yet even this comment has to be a throwaway because people can't handle someone telling them they shouldn't eat meat 2x a day.

It's bad for the environment, it's bad for individual health, it's bad for collective health (breeding drug resistance and causing pandemics), and all that is before we even talk about the mass scale of needless suffering inflicted on other sentient beings.

I don't know what the solution is, because as soon as you mention eating less meat people laugh at you or get super defensive. "What, do you care about the animals?" is something I've had people say to me in all seriousness.

When I gave it up it felt similar to giving up cigarettes, you get depressed and feel exiled from a joy you used to share with others. But that's what addiction does to you and once you get to the other side you wonder how you even participated in such negative behavior in the first place.

My fantasy solution is everyone needs to go get a meat consumption license by going to a farm and killing an animal with a knife in their hands every, say, 10 years. If you can't do it, then you have no business participating in consuming it. Bonus points if you're a regular hunter.

[1] https://ourworldindata.org/grapher/animals-slaughtered-for-m...
But Google has competing app stored, Apple hasn't.
> Glaser had noticed that a satellite in geosynchronous Earth orbit (GEO), 35,786 kilometers above the equator, would pass through Earth's shadow for only a few minutes each year.

The article addresses this. To my mind 4 minutes per year is equivalent to the parent’s layspeak “no night” comment.
> Ocaml's module system means that you can describe the async runtime as a signature and make your entire library generic to the async runtime it runs on top of

So
... can you ELI5 to me how that is different from how you can for instance compile a C program against different libc implementations?
Its a precaution for when you turn the bed into a safe zone, they don't re-infest the bed (provided you are being super careful about what you're putting on your bed).
Are you suggesting that GPL licenses should be invalidated and everyone should be able to use GPL code broadly, because it's free anyway? Is this some kind of modern reversed version of Robin Hood: steal from the poor and give to the rich? Is this what you're standing for?
A non-technical explanation of deep learning
CHATGPT: As a creative congressman, I propose a new law that grants copyright protection to AI-generated works. This law will acknowledge that AI systems can produce unique and creative works that deserve legal protection. The law will also ensure that such protection does not infringe on the rights of human authors and creators.

The law will recognize that AI systems do not have a personality or consciousness to imprint on what they produce, but they can produce works that are original and creative. Some countries like the United Kingdom, Ireland, and New Zealand already grant copyright-like protection to computer-generated works. The UK Copyright Designs and Patents Act 1988 creates a legal fiction for computer-generated works where there is no human author. Section 9(3) states that “the author shall be taken to be the person by whom the arrangements necessary for the creation of the work are undertaken.” This provision assumes some form of creative intervention by a human and not autonomous, human-less generation by a computer program alone. Therefore, this new law will ensure that AI-generated works that require human intervention will be protected under copyright law.

The law will also recognize the importance of originality in copyright protection. Common law jurisdictions generally have a low threshold for originality, requiring only a minimal level of creativity or intellectual labor and independent creation for a work to be protectable. Some other countries, like Brazil, approach originality from the negative, and state that all works of the (human) mind that do not fall within the list of works that are expressly defined as “unprotected works” can be protected. Therefore, this new law will ensure that AI-generated works that meet the threshold for originality will be protected under copyright law.

Furthermore, the law will recognize the importance of fictional characters in creative works. Copyright law protects creative expression, and the legal theory is based on derivation copyrights. Derivative works become separate copyright-protected work independent from the original as long as the transformation, modification, or adaptation of the original work is substantial and original. This new law will ensure that AI-generated fictional characters that meet the threshold for originality will be protected under copyright law.

In conclusion, this new law will protect the creative works generated by AI systems that meet the threshold for originality and require human intervention. The law will also ensure that such protection does not infringe on the rights of human authors and creators. This law will acknowledge the importance of AI-generated works and provide a legal framework for their protection.
Bro just trust youtube kkek
> This doesn't seem like a bad thing. Many people treat Ikea furniture as disposable and this seems more environmentally friendly. If people are happy with a cardboard coffee table, seems like a win.

Disposable furniture is the antithesis of "environmentally friendly."

> If people are happy with a cardboard coffee table, seems like a win.

I had one once, and I was not happy with it (a Lack). It literally disintegrated after about a year. People often push against a coffee table when sitting on a sofa, and it was not designed for those forces and came apart at the seams.
egui even has decent accessibility support on Windows and macOS via AccessKit [1]. AFAIK it's the first immediate-mode GUI to implement platform accessibility APIs. The key to that, of course, is that AccessKit creates and updates a retained accessibility tree. I'd like to thank Google for funding most of my work on AccessKit so far, including the egui integration, and Emil (the primary egui developer) for being so receptive to my PRs.

[1]: https://github.com/AccessKit/accesskit
Show HN: Generic Lightweight Handler framework GLHF generics
GLHF is an experimental HTTP handler framework that leverages generics to reduce duplicate marshaling code.
GB-T
From the Colophon in the footer, here it is on GitHub:

https://github.com/MaggieAppleton/maggieappleton.com-V2
Who believes in that anymore? We're in the information age and people can see where their tax money actually goes. Merchants refusing taxes are just as legit as those who chose to pay taxes. Why should the customer spend his life worrying about if the government gets more money? If that is the case, he should first pay all of his money to the government.

But to the point: Many merchants just want to skip the fees, it usually has nothing to do with taxes. Small business owners get riled up about CC fees sometimes.
Perhaps they're the time traveller in https://en.m.wikipedia.org/wiki/To_Say_Nothing_of_the_Dog?
I had friends that did bootcamps and this mirrors my experience. They know how to use Express a little bit, but not how the middleware works or what HTTP status codes mean.

They can write code if I translate it to requirements and show them something similar already in the code. They tend to flail around when handed a more open ended problem like "we need an endpoint that will return the last 5 purchases made by a particular user". They don't yet grok the kind of questions to ask like where should the data come from and what format should I return it in?

I don't mean to disparage them as students, I just think they were sold a lie. New programmers probably can learn the very basics of a language and framework in 8 weeks, but learning to solve open-ended problems takes a fair bit of practice for most people. There isn't really a shortcut through that.
This was an energy generation option in Sim City 2000 with the caveat that occasionally the ray of microwave energy would "miss" and cook some of your city.
What's Matt Levine's take?
>I assume Bed Bath did all the paperwork that is necessary (like calling out risks, that the raised capital will go to creditors first, etc) for such a stock sale.

I'm not clear on why your next sentence is:

>But it is clear they were doing it out of bad-faith to the new investors.

Where is the "bad-faith" in caveat emptor?
Not everyone is in a safe situation to not care what's public. Being LGBT can be unsafe in many parts of the world and can have serious consequences if made public, like losing housing or facing violence.
I don't think you can measure leverage in revenue. Leverage isn't about money: it's about power. https://en.wikipedia.org/wiki/Leverage_(negotiation)

Leverage isn't about "the market", either. It's about the individual people, and their situations. The iOS App Store doesn't give Apple much leverage over iPhone users, but iCloud does – and, to a lesser extent, iMessage¹ and FaceTime do. (The flipside of the iPhone's many planned obsolescence strategies is that you have to choose whether to remain within Apple's ecosystem every three-to-five years, and iPhones are expensive.)

The iOS App Store does give Apple significant power over the authors of apps. Even if the App Store doesn't provide a chokepoint by itself, the iPhone “ecosystem” as a whole does. It's a different thing to antitrust, though the more egregious offenders might also constitute monopolies for antitrust purposes.

---

¹: Perhaps relevant to the Y Combinator gang: https://www.cultofmac.com/743055/why-it-pays-for-startup-fou... https://www.androidauthority.com/google-green-bubble-intervi...

On Cory Doctorow's "competitive compatibility" / "adversarial interoperability" theme, a company called Sunbird Messaging claims to have made an iMessage clone for Android. It's proprietary, and might turn out to be vapourware, but I'm hopeful.
Came here to make this exact point. But I totally agree with all of his other complaints. It’s a good list of the cons, but ignored the many pros
This was a cynical comment and I wish I hadn't written it. Also my math was wrong: 45-15 is 30, so if subjective time passes 3 times faster every 30 years, that would be 9x compression at 75. I'll just stop projecting right there.
Its simple. Start with your circuit and add one ancila qubit. Then in your set of basis gates (universal for quantum computation), replace every phase shifting operation with a controlled X rotation targeted on that ancila.

For example, lets just use the cliffords plus arbitrary phase rotation {X,Y,Z,H,R(theta)}. X,Z and H are all real. Y is real up to an irrelevant global phase (if you really want to implement it anyway, just do X,Z on the target and then flip the ancila with an additional X). All that's left to handle is R(theta). Map R(theta) into a (real) controlled rotation in X (to wit: C-X(theta)). Thus we have a set of gates, universal for quantum computation, using only real numbers.

If you don't believe in arbitrary rotations X(theta) without intermediate imaginary operations, just pretend I used the T gate instead to extend the Cliffords. Either way you can construct a set which is universal for QC with only real numbers.

Why should it work? Simple. In your math, if you replace every i with |i> your equations are still the same. You've just substituted one squiggle on the page for another that works the same way. The Riemann sphere is just like the Bloch sphere. Complex numbers are a qubit the universe gives you for free.
I interned at the US Senate for a year, and it was pretty eye opening. There are quite literally teams available to members to which they basically can go "write me a law that does X," and then they get to work. Staff at the Congressional Research Service has to be sweating bullets now! /s
When killing by port number, you usually want to restrict to the LISTENING server port. Otherwise you will likely kill things connecting to the port. For example, in a local development environment the above command would kill both the web server and the ALL web browsers with an open page to that server

That is the full browser instance not just the specific tab connection to the server

This is the command I would use.

> kill -9 (lsof -nP -t -iTCP:8080 -sTCP:LISTEN)
Supabase functions in dart – Complete Guide