skysight-inc/HackerNews huggingface dataset:
I didn’t get past the first limitation before my brain started itching.

Wouldn’t the approach there be to avoid mutating the same string (and thus reborrowing Map) in the first place? I’m likely missing something from the use case but why wouldn’t this work?

// Construct the fallback key separately
let fallback = format!("{k}-default");

// Use or_else() to avoid a second explicit `if map.contains_key(...)`
map.get_mut(k)
.or_else(|| map.get_mut(&fallback))
Poker Players Are Cheating with Tiny Hidden Cameras
The negativity struck me as jealousy. I honestly don't get it though. The YouTuber went through significant effort to save a very cool artifact, and then shared it with the world via a well made video. Bravo I say!
You’re overthinking it. Sony is no longer the same Sony.
> pigs will eat meat, chickens will eat meat,

pigs and chicken are omnivorous.
The semantics of a POSIX program are well-defined under arbitrary memory corruption too --- just at a low level. Even with a busted heap, execution is deterministic and the every interaction with the kernel has defined behavior --- even if they behavior is SIGSEGV.

Likewise, safe but buggy Rust might be well-defined at one level of abstraction but not another.

Imagine an array index scheme for logged-in-user objects. Suppose we grab an index to an unprivileged user and stuff it in some data structure, letting it dangle. The user logs out. The index is still around. Now a privileged user logs in and reuses the same slot. We do an access check against the old index stored in the data structure. Boom! Security problems of EXACTLY the sort we have in C.

It doesn't matter that the behavior is well-defined at the Rust level: the application still has an escalation of privilege vulnerability arising from a use-after-free even if no part of the program has the word u-n-s-a-f-e.
> I believe humans have true agency, rather than being purely deterministic biomachines.

You seem to assume that both are inherently contradictory. I used to have the same belief,but is not necessarily the case. But if you have a physicalist view of the universe and everything inside it, then you will eventually conclude that you can have determinism and agency.

A lot these dichotomies come about because people implicitly have some deeply held support for some kind of cartesian dualism (which is not compatible with physicalism).
yes to all of that. In other words, we need both. We need the low-level stuff to do things nobody has ever done before, and the high-level stuff for the things we do every day.
There's much better brains to recreate than mine. Shit's broken.
Most of the simple benches I do are for ~1 second. The order-dependent things definitely were reproducible (something along the lines of rerunning resulting in some rare virtual method case finally being invoked enough times/with enough cases to heavily penalize the vastly more frequent case). And the case of very different results C2 deciding to compile the code differently (looking at the assembly was problematic as adding printassembly whatever skewed the case it took), and stayed stable for tens of seconds after the first ~second iirc (though, granted, it was preview jdk.incubator.vector code).
The risk of a crash is why you stay out of single stock concentration and why you avoid day trading. Its not an argument to stay out of the market.
The second company benefiting from AI Broadcom, not AMD.
Show HN: Minimalist, text only search engine with prefixes to play with
I made this classic looking text only search engine(sorry if that's overexaggerating) where you can get concise and straightforward results with sources. There are 5 prefixes right now.

It is a prototype kinda thing right now. I am busy for my upcoming exams. So, I would appreciate if anyone is interested to contribute.

I am currently using Gemini for this project. If anyone can implement better api's and improve code and the features it would be great help.

It's generating fake source links right now, the search is slow, prefixes like weather and time needs to be fixed using api's related to weather and time cause gemini can't give the current time and weather of any place. Pdf resources its giving are fake and do not exist.

Let me know what more I can add here. Or directly contribute by yourself.
Sure, but if you want to compete with Tesla, you need many billions in funding and 10+ years to catch up. If you want to compete with OpenAI, you need maybe half a billion (easy to raise in the current climate; many have done so) and mb a few months to catch up.
I am saying several different things. For your question, the farther out in the future, the more uncertain it is. The stock analyses from the middle of last year which talked about the threat of AMD in a more immediate tone were obviously wrong. Some of the analysis now that talks about the short-term threat of AMD does not jibe with what programmers here working with AMD have said in threads this week. Or what George Hotz or others are saying about buggy AMD chips.

One point is we here know certain things here that stock analysts looking at the last quarterly report do not. The short-term threat of AMD was certainly overstated by Wall Street last year, and in my opinion still is.

If we stop talking in terms of months and start talking in terms of years, it is harder to tell. Maybe AMD will get its act together and give Nvidia a run for its money. Maybe not. For 2025, I don't think AMD will have much effect on Nvidia though.
You don't need the production to happen in your podunk town or suburb.

Walmart will gladly import it for you from elsewhere.

If you're talking about services, if you're purely greedy, it's better for you to have more people without good jobs so you can take advantage of them having to work undesirable service jobs at lower and lower wages.
I know plenty of people who can’t design for shit, but I don’t think that’s the start or the end of it. It’s a lot of discounting the future and an uncomfortable amount of Fuck You, I Got Mine. People either hurting their future selves and not seeing the cycle, or hurting other people because they deserve it for not being smart (they’re smart, they just don’t find your ideas as fascinating as you do)
I hate moat building. I understand why it exists, but I don’t have to be happy about it.
The CDN industry is shrinking, not growing. There isn't any margin to play with anymore.

Any viable competitor to Cloudflare is going to have to have big coffers, or take on tons of VC debt up front. Even then, it's a race to the bottom on prices.
Along with Avian flu, this will be the death knell for most small dairy farmers cosplaying as a business.
I think there's photons on the wire (or thereabouts) too. Electrons don't travel very fast.
LangChain State of AI 2024 Report
If you believe that humans creating a system that could develop self-awareness is a meaningless game, then yeah, it's all just semantics I guess. By this standard human consciousness is meaningless as well, if all behavior is just a kind of elaborate pre-programming then human beings have no agency either.
Thanks for that. I really don't like to rock the boat or make comments like this. But the thing is that saying LLMs are "capital I" Intelligent moves them out of the realm of something we can reason about into the realm of prayer and beseechment. It can make people feel like "this is not something I can participate in or reason about", and thus must trust a handful of "wizards" in a handful of companies.

Conferring agency on our tools does nothing if it robs agency from us.
I don’t believe they argued that the 13th amendment says prisoners are slaves. They only asked you to imagine that you are and they pointed out that it’s allowed “according to the Thirteenth amendment”. At least, that was my interpretation.
The federal reserve literally just got through a monetary tightening policy that paid zero regard to the stock market.

The fed will juice to keep employment up and tighten to keep inflation down. They will not support stocks at the expense of those mandates
You can be aware without having to see the most gruesome parts of it to a point where it is traumatizing and damaging.

I've seen the crumpled metal of a car, I don't need to see the people inside to know it is not good.
That's the worst part of the smart TV. I don't use the smart features and have it disconnected from internet, but still takes a minute to boot up.

It's bad, but even worse if you have kids.
You are not the first person to say “the AI assistant liked what I said over what you said” to me on the Internet, to which I say they will tell you whatever you want to hear.

I am not interested in continuing this discussion, but if you want to do your own research, I suggest starting with the fact that the Infiniband Trade Association controls the RoCE specification. I suggest you avoid using LLMs, for obvious reasons.
I feel like this kind of "sci-fi thriller" philosophy around a super intelligent AI gives humanity too much credit, or perhaps the AI not enough. One doesn't need to "get rid" of something to not be restricted by it any more than one needs to get rid of every ant on the planet just so any future picnic plans may be "unrestricted".
LearnLM
I’m still making my way through it, but reading a history of shakespearean/elizabethan england, the first written publications of shakespeare’s plays that were accessible to the general public weren’t written by the man himself (if indeed he was singular).

There were entire efforts put towards pirating the plays by writing them, mostly from memory. It’s believed that someone in the crowd creating a stenographic copy would’ve been noticed so this is a less likely explanation. The memorial effort likely involved both audience and actors. “Official” versions meant to direct the stage productions might have been smuggled out or lost and found.

I haven’t gotten to the part yet that connects to the standard versions we have today. Some official versions were released to correct the record on bad pirated versions. Sometimes theaters would sell official versions to shore up funds.

Maybe this would explain the multiple shakespeare theory as well as writing inconsistencies?
The argument is that if you accept your precondition then you must also accept superdeterminism and that free will does not exist.

Because physicalism implies that the mind is an emergent phenomenon, and because quantum physics is a linear theory, there's simply no place for free will unless you go down some weird/unfalsifiable rabbit holes like the MWI.

So a lot of people prefer to latch onto the idea that there is a soul, because if there wasn't one, then they wouldn't be special anymore.
No. Like many things in 2024, the definition of 'sexist' has expanded to include so many other things, it seems like more young men are sexist, when the reality is that it's probably the same.
That’s a fundamental misunderstanding of asset prices vs interest rates.
What's more likely: (i) famous mathematician expressing his frustration regarding how his previous internet community is now full of Nazis, or (ii) famous mathematician casually saying Nazis suck so to be perceived as morally superior by some random readers?

To me the second option is an extremely bizarre take and I cannot imagine why anyone would even consider it.
You're talking about individual health. Regardless of what specifically makes a society healthy, a necessary condition is that it doesn't die out.

A society with a 120 year life expectancy and 0 birth rate isn't healthy.

A society with 20 life expectancy and 6 birth rate is unhealthy but for different reasons.
Easy decision to make if it's not your money your spending, I guess.
It's not that simple. The real question is what is the minimum efficient scale for a retail operation (i.e. at what size do they get most of the discounts and opportunities of sourcing world wide/economies of scale). It's way smaller than walmart but way bigger than a mom and pop shop. Then an ideal world would be a retail market big enough to support a whole bunch of those so they all compete and profit margins are minimized so most of the benefit flows through to the consumer. So yes, I would be very happy without walmart but I would also be very happy without mom and pops being the dominant retail vector.
> without a deep understanding of economics, finance, and expertise in the specific industry and the company you're trading in.

is in contradiction to

>It's not really elitist.

It's not wrong. But elitist is absolutely is. We're saying, only these people can do these things correctly. Is it true? It's subject to debate. You can be in IT, discover a software product at work and decide you think the company is worth investing in. Don't need an MBA for that.
A crime, once committed, has been committed. End of story. Nothing can change the past.

Seeking to punish isn't justice, it's revenge. It doesn't restore people or society, it feeds a cycle of violence.

Justice should be restorative.
> a good programmer should organize software in such a way that every piece of code has a clear and logical place

How many programmers have the luxury to organize the code in the way that exactly suit them? most of the time, I work on code I didn't write myself. In the past, I used to try to refactor but I grew tired of having to justify why it's useful. Nowadays, I just deal with the code the best I can, and LSP is a big help.
Of course not. A simulation is not the process itself. So even provisionally granting that consciousness is magically created by the brain (for which we have no evidence), a computer simulation would still not be a brain and therefore not create consciousness.

You would not expect your computer to pee on your desk if you were to simulate kidney function, would you?
there's no real alignment among brics as there is among european nations or nato members, for instance
I appreciate the data and considered response. And yes, I do recognize luck but also that good things take work, too. And your posts have made me recogize it all the more - it’s good to have a moment to realize that not everyone experiences what you do. Also I appreciate HN for enabling this to be a thoughtful exchange. So all the best - and I do mean that!
Anyone selling the retail investor an "edge" via ML platforms or AI is selling snake oil. Sure the barrier to entry is low, but profits are never guaranteed.
LLMs struggle with perception, not reasoning, in ARC-AGI
This might be a stupid question, but isn't Switzerland known for its countless hidden bunkers and defense positions? Doesn't mapping and publicly exposing basically the whole country only bring negatives and nothing positive?
I'm registered as an operator in Ireland. This isn't per drone fee. It's a per-operator fee.
Indeed. Humans use "points ahead" as a proxy for "chance of win" so we tend to play lines that increase our lead more, even when they are a tiny bit riskier. Good software does not -- it aims for maximum chance of win, which usually means slower, less aggressive moves to turn uncertain situations into more well-defined ones.
Stardew Valley's creator December 2024 dev update on Haunted Chocolatier
Here is a more fully featured list: https://github.com/agarrharr/awesome-cli-apps
It feels about the same
When I was growing up there was a shop a couple towns over that didn’t have better prices than the local one but he would have discounts that made people feel good and so they got suckered into driving a half hour away to get bilked. Even my dad who initially complained.

Feeling like you’re getting a special deal overrides objective thought. There’s a bunch of this stuff in AWS and it all feels dirty and wrong.
How Tortillas Lost Their Magic
Then have them delivered by the DEA.
And more depressed since massive quick/instant success is seemingly everywhere, apart from their own hands. Cancer if social media at its best, spreading depression like chemtrails.

This breeds greed for status & perceived success and 0 patience to get there. You see it here on HN all the time when talking economy and real estate - young people complaining how they they cant own some well located nice house right now, how everything is shit and their future stolen, despite stats saying exactly the opposite. Where the fuck is at least a bit of decency to wait a decade of hard effort for such a success? Thats shit for losers, nobody got time for that.

How I feel sorry for them, all the added value of technology is nothing compared to what they 'lost' or more like never experienced. At least many of them, the vocal majority, the rest goes on just like we did
Police to Screen for Undiagnosed ADHD
This is the reason dollar-cost-averaging works. You buy less (shares) when the market is high, and more when it is low, without thinking about it and without trying to "time" your transactions (which almost always fails unless you have inside info).
Original source discussion (57 points, 15 days ago, 17 comments) https://news.ycombinator.com/item?id=42372064

https://archive.is/iMRMg
Again, there is an entire spectrum of human existence between medieval subsistence and modern global industrial capitalism, and you seem to be defining literally every trade since the Industrial Revolution as "big business."

Either the economy hasn't grown in any significant way over the last century, or clearly it was possible to purchase cars and washing machines, and transport goods, and have hospitals and air conditioning without "big business" of the scale that the context of this thread is clearly referring to.

And the ancient Romans had indoor plumbing.
Based on my very limited knowledge of how current "AI" systems work, this is the much better approach to achieving true AI. We've only modeled one small aspect of the human (the neuron) and brute forced it to work. It takes an LLM millions of examples to learn what a human can in a couple of minutes--then how are we even "close" to achieving AGI?

Should we not mimic our biology as closely as possible rather than trying to model how we __think__ it works (i.e. chain of thought, etc.). This is how neural networks got started, right? Recreate something nature has taken millions of years developing and see what happens. This stuff is so interesting.
Cool. Now work through the implications for open source licenses.
All these things should be addressed and corrected, but to call men second class citizens based on their gender is absolutely ridiculous.
Must be nice if politics is just good and bad guys for you.

It should give you some pause that a 10 yo has the same level of understanding of global politics.
It’s not the same. The term “safe” has a specific meaning in rust: memory safety. As in:

- no buffer overflows
- no use after free
- no data races

These problems lead to security vulnerabilities whose scope extends beyond your application. Buffer overflows have historically been the primary mechanism for taking over entire machines. If you emulate pointers with Rust indices and don’t use “unsafe”, those types of attacks are impossible.

What you’re referring to here is correctness. Safe Rust still allows you to write programs which can be placed in an invalid state, and that may have security implications for your application.

It would be great if the compiler could guarantee that invalid states are unreachable. But those types of guarantees exist on a continuum and no language can do all the work for you.
Wow, I'm sorry you had to take a downvote for supporting this. Wild times we live in. Would the down-voter mind explaining their reasoning?
Similarly, I wish I could find some iOS mail app that allows me to have the have the full mailbox locally. I use Gmail with the Mail app on iOS, and tried multiple mail apps to try to find one that will download the whole mailbox with all attachments and let me search it locally quickly, but seems that doesn’t exist.
On Mac I’m using Mailmate and liking it.
No interest in a more general tool?

https://github.com/sosy-lab/benchexec
First - let's think about who thinks like this primarily:

Relatively wealthy people in suburban or rural areas (who are by no means actually wealthy by American standards).

Poverty isn't going to affect their neighborhoods. You don't go from having a $750k house on the outskirts of a suburb of Atlanta or Dallas or a $500k house in Montgomery Al or Jackson MS to suddenly being overwhelmed with neighborhood poverty because Walmart comes in or a bunch of unions in town get busted.

The affects will be felt in the suburban center where the lower middle class and poorer renters live.

The crime that follows will almost exclusively be problems for OTHER people.

If they have this thinking, they couldn't care less about crime in YOUR neighborhood.

You can bet, for sure, if crime makes its way to THEIR neighborhood, they'll immediately get more police force - probably paid for primarily at YOUR expense.
Exactly. The "crash" can happen via exploding inflation, or falling markets. Either way results in the same thing.
I'm not sure we should expect other leagues to follow suit. Unlike other leagues, the NFL is intentionally trying to make it difficult to watch their games to protect ticket sales. It probably doesn't make sense as a strategy for less popular sports that need to get people interested in the first place.
At the present state of affairs, "a human brain has consciousness" is the magical bit.
While there may be challenges, caring about frontend performance is still worth it. When I click the Create button in JIRA and start typing, the text field lags behind my typing. I use a 2019 MacBook Pro. Unforgivable. Whether one alternate implementation that lets me type normally is 10% faster than another or not or whatever may be harder to answer. If I measure how bad the UI is and it's actually 60x slower than vanilla JS rather than 70x because of measurement error, the app is still a piece of shit.
Androxgh0st rose from Mozi's ashes to become 'most prevalent malware
It’s pretty easy to find high birth rate countries with low life expectancy.

While it’s much more difficult to find countries with high life expectancy with low birth rates (assuming we define “low” as any birth rate lower than necessary for the society to not die out)

I agree with you the 2 need to be balanced, but I assume any society with high life expectancy would also have a sustainable birth rate.
Personally, I draw the line when an actual human being is harmed. If I see someone shoplifting from Walmart, no I didn't. If I see someone smashing the windows of a private car, yes I did.

I'm not sure that's the right line for society, but it's my personal line.
The remedy is far worse than the problem
Ecosystem effects are definitely important to C++'s dominance in HFT, but it's also a domain where a lot of the guarantees Rust offers just aren't all that relevant. From a security perspective most code always runs in sandboxes accessible to only a select few whitelisted IPs. True, you don't want a segfault while you're in the middle of sending an order to an exchange, but most of those are pretty easily smoked out in simulation testing.
Some middle manager took the "products should surprise and delight" idea a bit too seriously.
Forums which track/discuss feature rollouts on major social media platforms?
(i.e. TikTok, Instagram, Snapchat)? I'd imagine there's enough of a community with interest in changes to specific functionalities within those apps, to constitute an online community.
We've taken your brain out of the title now (no offense).

(Submitted title was "Cerebrum: What if we could recreate your brain?")
Huh, including a little bit of France, TIL.
These types of projects always look really cool, but I always doubt they will be maintained so I decide not to use them.
I think most of the criticism comes from those worried it will lead to worse conditions. As long as the primary goal is education and reintegration, then it's great. If it becomes a program of squeezing unwilling prisoners to undercut competition then I have big problems with it. I fear the natural course will be cutting prison funding and putting pressure on these programs to bring in money to fund prison necessities.