skysight-inc/HackerNews huggingface dataset:
You changed your focus from general data structure to containers specifically which have indeed differents (eg more specialized) design constraints. But still...

> If your container is storing N separately allocated elements, holding them by unique_ptr instead of raw pointer will waste N pointers worth of space with commensurate extra cache use. Fine for homework but not production data structures.

Designing a data structure is an exercise in compromise. You lose space/cache efficiency and gain (exception) safety and ease of use. And of course the lost of space/cache efficiency is a function of both the usage pattern and the size of the store elements...
Calling it "fine for home work" is needlessly dismissive.

> If you control the order of destruction, then you're just manually asking for things to be destroyed, and not actually making use of the smart pointers main functionality.

I disagree with the premise that the main functionally of smart pointers is automatic destruction. Exception safety and ease of use seems more important to me. So using smart_pointer and still controlling the order of destruction is a perfectly valid use case.

But an even more important point is that smart_pointer are designed in way that the length of the management can be different from the life time of resource being managed; By using the reset/release/construct_from_pointer methods. And indeed there are multiple designs when a resource is created unmanaged, then attached to a smart_pointer for a while, then returned to an unmanaged state.

This reflects the fact that the same resource can have different management needs depending on where in the program one is.

> Look inside the STL, boost, abseil, etc. You'll very rarely see smart pointers used to implement containers/data structures.

It doesn't imply any fault in the design of smart pointers.
Smart pointers are resource lifetime management tools, STL containers in general have very simple lifetime contracts... There is simply no need to use them.
Related essay: Negatives Stack, Positives Don't
https://danielbmarkham.com/negatives-stack-positives-dont-a-...
No need to be snarky and flash your coding street cred to make yourself big and make me look dumb.

I'm not the smartest tool in the shed, but I was not trying to be snarky and undermine your superiority or downplay your question, I was just saying it doesn't matter as the end goal is to get Windows games playable on Linux, and for that Proton emulation is the way that makes sense financially and practically for both developers and gamers, so no need to dive into the codebases and compare them, just to prove a point that's moot from the get-go.
Valve have funded some good work on the underlying compatibility code, but their big contribution was really fixing a problem they themselves created. Lots of games expect to be able to call back to the Steam client for a license check, and this used to require running the Windows version of Steam which didn't work well (huge compatibility issues and it really didn't like being run at the same time as the Linux version). One of the big things enabling easy Linux gaming was a Valve-approved way to run Windows games under a compatibility layer and have them still connect to the same Linux client used to run native games.
My remark was an observation based on the obvious public resentment, rather than necessarily an exhortation to do so. I promise you, I will not be so cagey and ambiguous when I actually call for someone's head on the chopping block.
Only in the most pedantic sense that tiny amounts of tritium permeate through the heat exchangers. This discharge is negligible in terms of health impact.
I understand why it's a great theoretical solution, but my point is that if hardly anybody is using it, then it hasn't solved the problem, because most people are still experiencing the problem. It doesn't really matter why it isn't being widely used, just that it isn't. Like, if it were the opposite, a very poor theoretical solution to the problem that is very easy to use, but nobody used it because it just didn't solve the core problem well enough, that would also clearly not be a solution. A solution requires both things, it must be both fit for purpose and usable.
The best 1.5 checkpoints are constrained in their output flexibility to achieve the quality they get though, and they don't follow prompts nearly as well as SDXL, so if the model doesn't naturally gravitate towards doing what you want it's very hard to steer it anywhere. SDXL also does a better job with full anatomy, which is the reason shared 1.5 generations tend to be torso up or portrait shots.
I have it installed on my gaming PC. It is fine
Nice! HDR is the one thing that keeps me booting to windows for games, but I am eagerly watching the progress. One day soon!
If your strategy of expediency before correctness was applied to corporate documentation (kept the hard stuff for last but never got to it) good luck with lawyers and authorities. Archiving is a very serious business, particularly when insurance and legalities are involved. Preserving museum pieces is no less so.
Bloomberg blatantly pushing deceptive rentier class propaganda?
Financial industry simps reposting it on HN?
I'm shocked! :-)
The query language doesn't have to English or a complete language.
Wine already supports running 64-bit binaries on Apple Silicon through Rosetta. 32-bit support is being worked on (it's experimental).

So Proton should support it eventually.
> These two points alone, strengthened by many others, have led me to conclude that the world is MUCH better off with AI and that tech companies are ruining the world with their abominations.

Do you mean "world is MUCH better off without AI."

What you wrote doesn't make much sense withing the context of your comment, but I have to ask because there are some software engineers that find abominations appealing for some reason, or just lack the ability to tell the difference between desirable technology and a technological abomination. I think a big component of the latter is many software engineers' overconfidence in their abilities that makes them easy marks, and the willingness of many kinds of hype men to exploit that to con them with propaganda.
Not sure about VTI, but if you invested in the S&P 500 and reinvested dividends, you would have got 130%:

https://dqydj.com/sp-500-return-calculator/
As soon as we solve the whole US-using-a-different-date-format-to-the-rest-of-the-world problem, absolutely.
Having it automatically display the day of the week as you type the date would be a big help though.
> While SD 1.5 is great at generating your typical "anime girl with big boobs" stuff - if you try to generate something a little bit more unusual - it usually doesn't generate exactly what you want and seems to straight up ignore large parts of the prompt.

Pretty much experience with SD 1.5, but I'll give XL a try.
California is #12 in total tax burden in 2023. (https://wallethub.com/edu/states-with-highest-lowest-tax-bur...)

Maine, Vermont, Iowa all havae higher total tax burdens than California. New York, however is #1. On the other hand, New York City is THE place to be to find fame and fortune in any number of professions. Finance, the arts, fashion all come to mind immediately.
No, it's not. If Owain (the PhD who wrote his thesis in Welsh) wanted to be productive and advance his field, he would want his research to have the largest audience possible. Quoting the article:

'In his thesis, ‘Astudiaeth Gyfrifiadurol o Synthesis a Sefydlogrwydd Defnyddiau Mandyllog Anorganig’, Owain used computational science to see how porous materials could be used for green energy processes and sustainable chemistry.

Owain’s PhD was funded through Coleg Cymraeg Cenedlaethol’s Ysgoloriaeth Ymchwil scheme, which aims to support PhD students in conducting research and writing a thesis through the medium of Welsh.

As part of his study, Owain identified gaps in Welsh scientific terminology.

He worked with terminologists in Bangor to create new terms, and with help from the wider Welsh-speaking chemistry community, Owain added new scientific terms to the Welsh dictionary.

These include:

“damcaniaeth dwysedd ffwythianolion” meaning “density functional theory”'
Speaking of X...
I'm curious. When do you think music became portable?

The transistor radio was invented in the 1950s. And quickly became used as background music as life progressed.

Also incidental music is not a new thing. Tavern musicians as background music have been around for centuries. It is hard to prove, but likely for thousands of years.
Think about it terms of throwing bananas into the water
This guy overthought it... use Plex, so you can stream it. Don't be syncing large folders of files everywhere with git. And if you don't like Plex, there's a half dozen other comparable software titles that will stream audio.

As for "smaller files" fuck that shit. For the longest time, I went with 320kbps mp3s. I was limited in the space I could dedicate to music (a few hundred gigabytes). But now? Storage is only cheaper. Get FLAC for everything. And the cloud? I think that's called "someone else's computer" or so I've heard. Stream/sync it from home.
Chinese and British scientists create highest-resolution superlens
Wild stuff, I had fun
The old extended-ASCII line drawing characters are still there in Unicode.
>Windows is the opposite: the only stable ABI is the dynamically linked user space ABI.

... to the kernel. So not the opposite at all. In fact exactly the same.
Dirt cheap in which measure?

I was at Microcenter and some 1TB (rather questionable) NVMe drivers were $30 on special. Going to be difficult to get cheaper than that.

Now, lets turn your equation around. What is the cost per IOPS of your HDD versus SSD? HDDs start to get expensive very fast in that measure.
My understanding is the ruling actually says the copyright cannot be granted to the AI. But that might not mean a human cannot claim copyright for AI art.

Assuming the AI has a vast number of outputs, many which are uninteresting; a human can select a few outputs as being worthy of being called art or suitable for their purposes.

So an AI can create an image, but the process of selection constitutes an editorial process, and a person can the claim copyright for images they generate and choose to distribute.

This seems to be somewhat similar to copyrighting a found object as art, or taking a photo of a building and owning the copyright to that. It would not make sense to give the copyright to the camera, which is what this ruling confirms.
I am not exactly happy about the price increase, but if the domain is this important, is $15/yr really that bad?

Like I'm flabbergasted at people complaining about the burdens of doing something nobody would do, because the cost isn't worth the effort.

Now if they raised prices to $100+/yr I could imagine, but $15/yr is negligible costs.
The problem is that "just typing the date manually" actually has quite complex i18n issues. It can be done well, but that generally means you make the user explicitly confirm the date they just typed.
It's frequently NOT an honest effort to help. It's just "well that's a stupid question, let me show you how I know more..."

When you really are trying to help and you think it's an XY you can answer politely by actually answering their question and then saying "but you may want to do this instead". Try it.
I believe they mean grim if you are a nuclear cheerleader.

But it is pretty damning that a country that is motivated and willing to put its money where its mouth is, is also having troubles making it happen quickly.
I really wish the linux community would polish off the UX for ubuntu so it's more attractive and usable for mainstream
For clarification, since many people might not be familiar with the name of Enerhodar - it's the town next to the Zaporizhzhia nuclear power plant.

https://en.wikipedia.org/wiki/Enerhodar
Good advice, one of my dear family friends father passed away during Christmas in 2021.

I think the saddest thing was that they had been planning a trip to Spain and were putting it off to do other things instead, he was nearing retirement as well.

Since that day I've been more willing to do things instead of putting them off.
It can be summed up into two key questions: is it necessary, and is it effective?

One could argue it is necessary but it is undeniable that it is not effective -- nuclear power plants take decades to bring online and then they may never see break-even. Not only that but they require vast sums of water for the entire lifetime of the nuclear plant (which is fast becoming a scarcity, if not because of increased consumption but also because of changing water availability.)

On the other hand, renewable (wind and solar) can be brought up MW by MW, on a much faster timescale, privately funded (all nuclear is publicly funded now), and it has much better unit economics even without subsidies. Renewable energy is here to stay, it is going to become more abundant, and it is going to become more reliable with each passing year.

Nuclear is as unreliable as ever, even after 70 years of modernization, the economics of scale, and unlimited access to the public purse.
Reminds me of that south park episode.
If you're not rebooting your W10 box every month, then every time you do reboot you're doing windows updates.
When Proton came out I had multiple people on HN going on quite long rants about how Linux would never be viable for gaming.

One multi-million-unit-selling handheld gaming system later and I don't see those arguments much anymore.
Been to the Canadian side literally dozens of times, holidays and weekdays, but by far it's Ontario, New York or New Jersey repping most of 'em. A few Texas here and there, but never something like Alabama. Always wondered why that's so.
An example of "music you listen to while doing something" that is not incidental music are many sea shanties.

The music had a purpose.
Calling blatant racism "NIMBY" is whitewashing.

And "for a century" is historically incorrect and revisionist, if you were actually talking about racism, which I don't believe you were.

What was the real point you were trying to make? It sounds to me you're offering "NIMBY", which has nothing to do with race, as an alternative theory to counter the parent's point that it's actually racism, which is extremely well documented and not legitimately contested, and has been going on for a lot longer than a century.

Are you literally saying people don't want swimming pools in their back yards? Really??! That's news to me. Or is it actually that they don't want black people in their public swimming pools? That's not what "NIMBY" means, but mutually exclusively exactly what "racism" means.

https://en.wikipedia.org/wiki/NIMBY
Absolutely agree.

I was starting to diversify my store fronts before Valve came out with the Deck.

But the release of it and the message it sent (that they take this seriously), made me reverse course and now I always buy my games on Steam, even if it costs 10 euro more.
Here's an example of semantic search:

Let's say your dataset has the words "Oceans are blue" in it.

With keyword search, if someone searches for "Ocean", they'll see that record, since it's a close match. But if they search for "sea" then that record won't be returned.

This is where semantic search comes in. It can automatically deduce semantic / conceptual relationships between words and return a record with "Ocean" even if the search term is "sea", because the two words are conceptually related.

The way semantic search works under the hood is using these things called embeddings, which are just a big array of floating point numbers for each record. It's an alternate way to represent words, in an N-dimensional space created by a machine learning model. Here's more information about embeddings: https://typesense.org/docs/0.25.0/api/vector-search.html#wha...

With the latest release, you essentially don't have to worry about embeddings (except may be picking one of the model names to use and experiment) and Typesense will do the semantic search for you by generating embeddings automatically.
Problem is, Spotify is engineered to make sure the supply stays concentrated in a very, very small amount of hands.
Ah, funny, I just shared this link in a comment a couple weeks ago: https://news.ycombinator.com/item?id=37053941

It's applicable in conversation so frequently around software/computers as it reflects a really empathic mindset that I feel is becoming more and more rare...
It also raises the bar of what's possible. What counts as "professional level" changes each time some new technique emerges. A skilled artist will always be better than a random person.

The visual entertainment "supply" is not limited by the current state of tools. It's always limited by the skills of the top crop. Professionals are always ahead and hard to come by. The industry's self-regulating mechanism is novelty; what is abundant becomes fundamentally uninteresting and dies.
Bug List Piling Up? Ignore or Learn from Them
"Companies that don’t want to pay Verisign’s price hikes can choose an address ending in .biz or .info, for example."

A real-life "we have TLDs at home" from someone who has probably never seen the related meme.
Show HN: SQL Formatter
> Second, AI generated art can't be copyrighted, so knockoff competitors are free to use your AI-generated marketing images.

No. First off trademarks exist and they found that work done solely by the machine couldn't be treated as a work for hire copyrighted by the machine and assigned to the operator. There is no reason to believe that work couldn't be treated directly as copyrighted by the human operator who has creative input nor is the matter with the images used to train the model truly settled.

>First, AI generated art is random and disposable. Yes, you'll get a great image that you can use once, but then what? You can't build a campaign on it.

You can already get variations on a them and text driven modification eg make the blank a blank or make the blank blanker.
Only if you use a proleptic calendar. If you are entering dates from historic documents, you need to know which calendar the author of the document was using
I have fond memories of reading this when I was a teenager, it's a pretty grand story and universe. To further elucidate and paraphrase what other commenters have said about the other article posted about reading, it's just not what I am ready to read now.
I am sure the authors contribution will be missed. ;)

1. Consultants form long-term support relationships out of necessity, as training existing staff without them leaving for higher paying positions is sometimes impossible. There is a wide set of circumstances that make this true.

2. Savvy people that "middleman" their services have already failed their integrity check. You can be sure a "Turtles All The Way Down" project plan will lead to cascade failure, or be resold into a dozen other firms within a year.

3. Risking any project above 12% of annual revenue means your company will likely be driven into the ground eventually (applies to both ends of the deal). Most probably still think that a company with a $7.4B market cap won't still try to short you the last installment after deployment... lol... most corporations put professional bandits to shame. IP theft, piracy, and blackmail... you may find international business is not for fools and or idealists.

4. posting 87.4% LLM machine learning garbage articles will potentially earn you a plagiarism copyright strike or worse

"Just cause you got the monkey off your back doesn't mean the circus has left town." (George Carlin)
I can speak for the ACL conferences (disclaimer: which I volunteered to organize a couple times)

Streaming the talks, having questions via chat, putting all papers and posters online, multiple chat rooms, this is all there. Content-wise you can access everything. And since remote participants don't eat, their fee is a bit lower. There are also experiments on making poster sessions more interactive, but no one wants to use shared headphones in a loud room to talk to the (remote) authors.

The real challenge is: how do you get those attending in person to interact with those that are virtual only? Will you take out your phone and hang around in the chat rooms during the break?
It's odd how the collapse of the soviet union turned the world into a dystopian capitalist nightmare, yet everytime somebody mentions the abuse of capitalism, immediately people starts to argue about the soviet union like a strawman.

It's such a disgrace. I loathe the US for this. I dislike Putin and the chinese CCP too, but the war of economic ideology is such a blatant pain, it's really frustrating how people debate about those things.

I'm dumbfounded everytime I read people trying to defend american capitalism. I quit that debate so many times, it's really bad for my mental health.
I have a friend in a similar business who was honest enough to admit that his impact on society was "likely negative, at best neutral," but it was a comfortable living.
One in five continue to drive:

https://www.thisismoney.co.uk/money/cars/article-10304829/Mo...
It’s not just any employment. The state has a very reasonable interest in ensuring laws around the sale of alcohol are followed. License holders are in effect agents of the state in this regard.

They can work in a bar with the conviction, just not run it.
Force the move to their UWP platform even more?

Only release DirectX 13 with UWP support etc.
A net.
Simple hypothesis: I use my phone more when I am laid up on the sofa with an ankle sprain.
That might have been what happened for me, except I give up and sudo rm -rf it, leaving MAS in a confused state while I go download the dmg/xip directly.
Pretty cool demo. I'm not sure if turning it into a vague Newgrounds-tier art game towards the end was really necessary though. I had some fun drawing on the shapes before it started showing vague allusions to some supposed emotional connection portrayed through uncleared stock photos that only has significance to the site's creator
I wonder how practical it would be to build cards for these older machines that have hardware acceleration for various things like TLS, and perhaps also decoders for JPEG, PNG, etc. Also wonder if it would make more sense to implement this with decoder chips and a cheap ARM chip or an FPGA of some kind.
Are you saying, that it is actually a good experience to run Linux on the gaming laptop instead of Windows with Proton?
I already have Steam Deck, and love it. But if I want to play games in better resolution, I might boot my Windows Laptop. Have not tried Linux with Proton.
On Linux laptop I have a NVIDIA some kind of 3xxx series card.
You seem to assume that creditors are a bunch of morons?

Any inflation that's anticipated at the time a debt contract is made will be priced in to the debt contract. That's (part of) why high inflation economies have high interest rates.

You can load up with debt as well: it's fairly easy to open up a margin account at eg Interactive Brokers, or (almost equivalently) to trade in options (which have margin financing sort-of built-in).
Seems to me to be a simple consequence that rich people disproportionately have assets held in stocks or broad market funds. Only a small fraction is held in low earning products like savings, cash, or bonds. Conversely, poor people either don't have any assets at all, or keep the majority in low yielding accounts such as savings.

Risk adversity is a big driver of that, since losing your emergency fund or savings is catastrophic for someone with no other assets, whereas losing some of your large stock portfolio is something rich folks shrug off.
I wonder how complimentary this could be for etcd, which tends to not work so great for structured data.