skysight-inc/HackerNews huggingface dataset:
Dead code happens all the time. Adjusting the example in my comment you're replying to:

vector<t> v;
v.push_back(a);
v.push_back(b);
v.push_back(c);
v.push_back(d);

Let's suppose the definition of our vector here looks something like this:

template <typename T> struct vector<t> {
size_t len = 0;
size_t storage_len = 0;
T *storage = nullptr;

void push_back(T t) {
if (len + 1 > storage_len) {
storage_len = storage_len ? storage_len * 2 : 1;
storage = realloc(storage, storage_len);
}
storage[len] = t;
++len;
}
};

So here's what happens.

vector<t> v;
v.push_back(a);
v.push_back(b);
v.push_back(c);
v.push_back(d);

becomes

len = 0;
storage_len = 0;
storage = nullptr;

if (len + 1 > storage_len) {
storage_len = storage_len ? storage_len * 2 : 1;
storage = realloc(storage, storage_len);
}
storage[len] = a;
++len;

if (len + 1 > storage_len) {
storage_len = storage_len ? storage_len * 2 : 1;
storage = realloc(storage, storage_len);
}
storage[len] = b;
++len;

if (len + 1 > storage_len) {
storage_len = storage_len ? storage_len * 2 : 1;
storage = realloc(storage, storage_len);
}
storage[len] = c;
++len;

if (len + 1 > storage_len) {
storage_len = storage_len ? storage_len * 2 : 1;
storage = realloc(storage, storage_len);
}
storage[len] = d;
++len;

becomes

len = 0;
storage_len = 0;
storage = nullptr;

if (0 + 1 > 0) {
storage_len = 1;
storage = realloc(storage, 1);
}
storage[0] = a;
len = 1;

if (1 + 1 > 1) {
storage_len = 2;
storage = realloc(storage, 2);
}
storage[1] = b;
len = 2;

if (2 + 1 > 2) {
storage_len = 4;
storage = realloc(storage, 4);
}
storage[2] = c;
len = 3;

if (3 + 1 > 4) {
storage_len = 8;
storage = realloc(storage, 8);
}
storage[3] = d;
len = 4;

In that last one, you can see that the if-expression is false and the body becomes dead code. If I understand the rule you're proposing, you want to get a warning or error for that?
> It'd be tough to get three people to keep this quiet

Incompetence fallacy and impossibility complex. Just because something seems difficult or impossible doesn't mean it is. Especially when it's the most logical explanation. People often like to think the government is just a bunch of incompetent bureaucrats. Yet the U.S. government is the most powerful entity on earth. There's not a single reason to believe that any large number of government employees could keep a secret on the level of Satoshi's true identity.
I don't think zoning is the problem in Nigeria, but I know little about Nigerian politics.
1960's Toy Using Raychem Shape Memory Polymer Technology [video]
That perspective is valid, but it’s not mine. BCH is bigger than Bitcoin circa Satoshi’s days already. I’m honestly not too concerned about it. The Bitcoin that I became interested in still exists. It just isn’t called BTC/“Bitcoin” anymore.
I see it more as a statement of fact. But even more, as a tragedy that we destroy each other and our planet in the name of some section of land or border or religious cause.
Satisfying the need to control others (and feel it face to face) and justifying commercial rents are not good reasons. Commercial buildings are owned by the upper wealthy class. Are you saying the unreasonable needs of the few to have power and wealth outweigh the needs of the many to live happy, fulfilling lives?
I've got one up on this. I kept my insurance from a past company for nearly 2 years after I got laid off. Would have rather they cancelled it, as it caused a massive headache around the time my son was born
This is why most SSO forces you to sign in again every day. So frustrating!
Yes, but all sides were roughly equal in power until the US came in and provided support to the far right faction, leading to 30000-50000 deaths from state sponsored terrorism, known as the dirty wars.

Of course Kissinger was involved, he always seemed to be, saying "If there are things that have to be done, you should do them quickly." Maybe you'd think that's all it was, tacit approval. But the final set of US military documents were finally declassified in 2020, showing the alliance between the far right dictators in the southern cone was brought together by the USA to murder their political enemies (Plan Condor). This was part of US's foreign policy of stopping communism no matter the cost. But in the process they completely threw the balance of power out of wack, and destroyed an entire generation of students, professors, and political opponents.

It's sad that we know all of this now, no government is denying it. But for some reason there's still a huge group of people who refuse to believe the fucked up things the US did during its Banana Republic years. You could throw a dart as south America and find a fucked up thing the US did.

https://www.nytimes.com/2019/04/12/world/americas/argentina-...

https://unredacted.com/2019/04/12/u-s-completes-historic-tra...
Yeah, this review is pretty superficial. It seems like it was written by a college freshman that barely engaged with the interview. (Thanks for sharing it though.)
Personally I like the AI dogman angle. AI trained to beat other AI (resumes tailored to beat ATS algorithms)
Agreed, 'zombie state' is a valid failure mode. Partners / Infra can think they're alive and respond but be non-functional. As can agents spoofing valid infra but always failing operations.
It's a bit like when a union forms. The employer's excessive demands eventually fall flat in the face of mass revolt and a steady state is found.
yes, Sun Valley TTK, I love that project! I've used it for a few personal tools.
Basically the Slack experience. You don't need to remember people, you can see your past interactions right there.
It’s very Los Angeles nihilist in tone. If that doesn’t make you happy, maybe skip it.
> Battery production isn't really something you can get villagers to do alone.

You seem to think that China is still a backward agrarian society.

> Otherwise, the quality of Chinese cars is pretty consistent across brands

Quality varies immensely. China has never manufactured internationally competitive internal-combustion-engine cars. It basically leads the world now in electric cars.

> China's chabuduo culture

This is just getting into the realm of cultural stereotyping. Every country has its own version of "good enough" (which is all that 差不多 means), and China also has a long tradition of extremely fine craftsmanship (just think of the fact that fine porcelain dishes are referred to as "China").
It used to be good. Since Intuit bought it it went downhill. I don’t know what credit karma is.
One probably has to be perfect - not just good with opsec - to maintain anonymity from the government. The FBI has multiple side-channels, such as agents physically tracking if you're home at your "super-secure" 7-VPN computer when your Internet persona is active online
the CodePen looks better if top is set to offset the border (i.e. -1px instead of 0). It avoids the table body from bleeding above the header.

Compare: https://codepen.io/bradleytaunt/pen/bGZyJBj

With: https://codepen.io/alokmenghrajani/pen/ExMBQow
Homemade CPU – From Scratch
cool personal site. nice & to the point. Yea, I thought you would have gotten used to seeing elements of yourself on the web, but I guess there's levels to notoriety.
Nor I. I interpreted the OP’s comment to be a general statement not limited to Nigeria. In the Western world at least, zoning is the problem.
Some of us would rather say "please don't": https://news.ycombinator.com/item?id=32998091
Some printed books has that. It’s called the dramatis personae. Everyone not listed in it is not important. So not even tech is needed for that.
Chinese Are doing since eth boon, there are RTX 2080s with 32gb or more in china markets
For the 7B IT and a short factual query I see 5.3 tps on a 5 year old Skylake Gold 6154 CPU @ 3.00GHz, 16 threads.
Expect a slight increase as we improve scalability.

FYI using the NUQ (4.5-bit) quantization improves throughput by about 1.4x.
One detail in the latest 1.22 release is a change in the "slices" library [1] (the library is based on generics, introduced in 1.21) that helps avoid such cases:

> Functions that shrink the size of a slice (Delete, DeleteFunc, Compact, CompactFunc, and Replace) now zero the elements between the new length and the old length.

[1]: https://tip.golang.org/doc/go1.22#slices

[2]: https://pkg.go.dev/slices
The wikipedia article on shape memory polymers https://en.wikipedia.org/wiki/Shape-memory_polymer seems pretty decent.

A highlight:

"Recently, a new manufacturing process, mnemosynation, was developed at Georgia Tech to enable mass production of crosslinked SMP devices, which would otherwise be cost-prohibitive using traditional thermoset polymerization techniques.[40] Mnemosynation was named for the Greek goddess of memory, Mnemosyne, and is the controlled imparting of memory on an amorphous thermoplastic materials utilizing radiation-induced covalent crosslinking, much like vulcanization imparts recoverable elastomeric behavior on rubbers using sulfur crosslinks. Mnemosynation combines advances in ionizing radiation and tuning the mechanical properties of SMPs to enable traditional plastics processing"
Texas just got an enormous 1.1M panel solar farm
> you can fit relevant chunks from an entire reference library into the context window too

I'm curious if a large language model utilizes an extensive context that includes multiple works, whether copyrighted or not, to produce text that significantly differs from the source material, would this constitute infringement? Considering that the model is engaging in a novel process by relating numerous pieces of text, comparing and contrasting their information, and then generating the output of this analysis, could the output be considered usable as training data?

I would set such a model to make a list of concepts, and then generate a wikipedia-like article on each one of them based on source materials obtained with a search engine. The model can tell if the topic is controversial or settled, what is the distribution of human responses, if they are consistent or contradictory, in general report on the controversy, and also report on the common elements that everyone agrees upon.

It would be like writing a report or an analysis. Could help reduce hallucinations and bias, while side stepping copyright infringement because it adds a new purpose and layer of analysis on top of the source materials, and carefully avoids replicating original expression.
I have read, in the past, the case of an orangutan who learned to spear fish with a stick as local fishermen do: https://www.newyorker.com/tech/annals-of-technology/oranguta...
This seemed pretty conclusive science:

```For example, Laska notes, the total number of odorants for which dogs have an established, lowest detectable threshold level is 15. Humans actually have a lower threshold for five of those. “Those five odorants are components of fruit or flower odors,” he says. “For a carnivore like a dog those odorants are behaviorally not as relevant, so there was no evolutionary pressure to make a dog's nose extremely sensitive to fruit and flower odors.”```
> Renewable developer Clearway Energy Group has completed a 452-megawatt (MW) solar farm in West Texas – and it’s huge.

> The $660 million Texas Solar Nova solar farm, completed in two phases, is in Kent County, Texas. It’s built on around 5,000 acres of land and features over 1.1 million solar panels. It will generate an estimated $5.4 million in property taxes and wages to be paid in the first year.

https://www.gem.wiki/Texas_Solar_Nova
I perhaps wrote it suboptimally; sorry about that.

I meant the brain having more time to process the thought and thereby also actually processing it to refine it by connecting the dots better with the existing knowledge & understanding by recalling the latter too into the working memory from the long-term memory, as well as perhaps the working memory creating a stronger stimulus for the long-term memory to record better.

As an abstraction (which would not match how this actually works in the brain), merely having/holding a thought constant in the (working) memory for longer before transfering it to the long-term memory should not by itself lead to a better long-term memorization and recall, nor to a better understanding of the concepts involved. It could at best strengthen the working memory itself.

Please let me know if I misunderstood your question, if I am failing to answer it, and/or, if you think my understanding posited is not correct, accurate or complete. Would be happy to learn back and/or discuss further.
do you know any better, or are you talking out your ass just as much as you're accusing the parent of?

i have worked for a municipal government, and part of my job was installing signs in bike lanes. $500 is a pretty spot-on estimate. a sign is $50-$100 per unit at the size you'd install in a bike lane, paying the sign company to do the design and setup was about $200 (less if it's in MUTCD), paying two people (city work needs two people to do anything) to drive out and install it would be about another $100. add another $50 or so if you need to install a new break-off post. we did this multiple times in response to citizen requests, without any red tape beyond the approval of my boss who was the lowest possible level of boss in the municipal government.
ChatGPT won’t say anything that could possibly be considered offensive, unfortunately.
Where the myth comes from is universities, of course.
What's bad about the sticky property?
I don't buy that definition of understanding. Yours is closer to learning. If you had an accident and lost the ability to learn new things, you would still be able to understand based on what you have learnt so far. And that's what these models are like. They don't retrain themselves because we haven't told them to.
Income/wealth inequality, stagnating wages, regulatory capture, racial tensions and inequities, and deindustrialization, are absolutely real and a problem.

But yes, the divisiveness and corrosive, adversarial dynamics of the discussion around those issues is largely synthetic. And it's not just from other countries. A lot of American citizens that have power in the status quo would prefer if the status quo were not possible to productively challenge. And a lot of other American citizens that care about nothing simply don't mind fracturing and dismembering the discourse if doing so is the most convenient way to maximize paperclips— Uh, ad profits.
We often extend arithmetic with new sorts of numbers to solve previously unsolvable equations like sqrt(-1) - is finding a fixed point of f(x) = x + 1 in this tradition? Does it point to an extension of arithmetic?

Also I find this confusing:

"Applied to a function with one variable, the Y combinator usually does not terminate"

What does it mean for a function to terminate? Is it like the limit of a series?
The co-pilot equivalent tool I use makes me about 10-15% more productive. Noticeable but not life changing.
Just adopted a very sweet Irish Wolfhound mix. She's as dumb as bricks or just has no desire to impress us with any display of intelligence. I would be floored if she was able to produce any toy on command let alone a specific one, lol.
I think that yawning is also something dogs do when they are frustrated. My dog does it a good bit, and that’s when I know to give her a break. Or maybe I’m just being trained too…
Sorry but what is "Deepthroat" - I only found p0rn underneath, what is the "Deepthroat" story you been growing up with? Obviously aware of DB C.
What would be the fixed point of f(x) = x + 1 in the classical untyped lambda calculus?

Sorry if this question is really basic, but it's honest and I find it fascinating.
I can feel the SQL-Force in this young jedi, Midichlorian level is on another level
What.

I don’t see any reason to believe this is remotely feasible, ever?
The sibling comment explained. The web client is 16k or 32k, but you can pay their API $1.28 per interaction and use a full context on GPT-4-turbo.
What is this, a crossover episode?
GPT creating a better algo than itself is what’s even more interesting
I just loaded it in vllm with default settings.

I can't share the eval, but it's pretty simple: it asks a question about some data, and is restricted to only answer yes/no (based on the output logits and suggested in the prompt). It's called with 0 temperature and only 1 output token, so sampling shouldn't be an issue.
Here's a related Volts episode on better assessing the real-time (weather-related) capacity of transmission lines (to avoid new transmission in some cases):
https://www.volts.wtf/p/getting-more-out-of-the-grid-weve
I love picocss for side projects.
If you think this is a large datacenter, you are mistaken. You could fit this inside any cloud datacenter, and there are hundreds of those. The NSA thing draws 65MW. Google alone has over 7000MW of first-party energy generation resources, that doesn't begin to account for what they draw from the grid, and they're not even the biggest datacenter owner.
Hypothetically, getting those who hate "the feds" to record their transactions on a public ledger would be criminal intelligence coup even bigger than when FBI's "Encrypted Phone" platform became popular with criminals[1]. In this hypothetical, the FBI would hack/subvert/operate their own mixer service and eliminate uncooperative services, so that all money-flows are transparent to investigators.

https://www.justice.gov/usao-sdca/pr/fbi-s-encrypted-phone-p...
Almost anybody using Smartsheet isn’t paying for the spreadsheet functionality. Otherwise they would just use the cloud version of Excel. Smartsheets value add is all of the eventing, reporting, and product management tools that are baked right into the spreadsheet. It’s like a crappier (but vastly cheaper) version of salesforce, qualtrix, asana, and tableau all in one beautiful data model.

I say this as a former employee.
I would do really well. Especially for Hershey's which I can detect from across the room thanks to that distinctive baby vomit smell from butyric acid they use as a preservative.
Yes I think so. Understanding would involve understanding that it's a short form for adding. Remembering multiplication tables allows you to use math but it doesn't infer understanding.

Training themselves is necessary. All learning is self learning. Teachers can present material in different ways but learning is personal. No one can force you to learn either.
No offense but by 'we' I think you mean you
I think you're right. I'm not sure why people attach so much ego to the experience though.
I’m going to take great personal joy in watching Reddit burn itself alive.
If you think 100,000 square feet is a large data center, you obviously do not work in the industry.
No. Seems like an awful metric, and also one that would be easily gamed.
As a user, I do care when people who declare that UB is not a problem because "you just have to write good code" still end up repeatedly shipping apps and libraries with vulnerabilities in them. Which with C and C++ specifically happens all the time, and much more often than in languages with significantly less UB. The proof is in the pudding.
I imagine it will cost peanuts within a year
What grocery stores and produce farms sell items treated with Apeel?
A true Satoshi whitepaper Bitcoin would include everyone having a local copy of the database as well as peer-to-peer connections. No necessary middlemen. Is this correct.
alex is a genius. he’s worth a follow.
It's non-sense.
That's actually what the History Channel airs on cable in the US. It was originally a serious channel that covered history but now shows conspiracy nonsense and shows about pawn shops. It's one of the most infamous examples of network decay along with "Music Television" which now plays crappy reality shows instead of music videos. Before the History Channel became the conspiracy nonsense channel, it was basically the Hitler Channel because talking ad nauseum about World War 2 brought in more ratings than other historical topics.

See https://www.reddit.com/r/television/comments/t6wmv8/when_did... and https://thehill.com/homenews/senate/437715-grassley-mocks-th... for evidence of the channel's current reputation in the US.
Disagree, I find them very useful to quickly explain new libraries or do tedious things like regex
that kind of thing has been available for a while now and it hasn't really been an issue. it's only in the recent environment that it's been _this_ bad.
Is anybody else getting seriously depressed at the rate of advancement of AI? Why do we believe for a second that we’re actually going to be on the receiving end of any of this innovation?
Unlikely as this would likely require user instruction to write prompts differently. Without attention, guidance should proceed data to be processed. People will notice this change. Besides, mamba's context is "infinite", which they would definitely talk about in marketing ;)
I have severe ADHD and know better than to assume anything about remote vs. in person preferences of other people.
What’s wrong with AI in a browser? Each SaaS app you use in a browser has or will have AI. Is the AI built by each of those ridiculous? If not, then what is ridiculous about a browser striving to create a general AI than can apply to any site you visit within that browser?
At this point we should just bite the bullet and make it not just defined, but defined in a way that results in safe code, even if that code is slower (e.g. for overflow, panic). We have computers that are many orders of magnitude faster than anything that was around back in the days C++, much less C, was originally designed. And most code that runs on them is not performance critical, so we could absolutely turn on null checks, overflow checks, bounds checks etc most everywhere and things would still be fine - but with less (and more visible, thus easier to find) bugs. This whole mentality that if you are writing in C++, you must let the compiler squeeze every last bit of perf out of your code, is both dangerous and unneeded.
Set up a backblaze backup, and check the default excludes carefully, or some important home movies and things might not be backed up.

It's saved my bacon more than once.
Has anyone tested cows & chickens? Dogs? General Mills owns Blue Buffalo. It looks like it's been in animal feed since 2007, and purebred dogs have had a noticeable fertility decline since about 2010. "Reverse Flynn effect" started 2011 (steadily decreasing IQs across the board in several countries) as did "trans" population explosion (in same countries.) Ppl think I'm crazy for thinking these issues are population control, so I'm happy to see I'm not alone.
Aw. Associative memory.

Well, the causality's misattributed, but humans do that all the time.
A privacy-friendly Twitter front end for mobile devices
A deeper look into this shows that the owner of the site (Jake Steiner) is very controlling, and hides advice and information behind paywalls. I recommend reducedlens.org over endmyopia.org for this reason.
You can check if a model (or a kid) understands multiplication by simply probing them with questions, to explain the concept in their own words, or on concrete examples. If their answers are robust they understand, if their answers are fragile and very input dependent, they don't.

"To understand" is one of those poorly defined concepts, like "consciousness", it is thrown a lot in the face when talking about AI. But what does it mean actually? It means to have a working model of the thing you are understanding, a causal model that adapts to any new configuration of the inputs reliably. Or in other words it means to generalize well around that topic.

The opposite would be to "learn to the test" or "overfit the problem" and only be able to solve very limited cases that follow the training pattern closely. That would make for brittle learning, at surface level, based on shortcuts.
I want a dumb document. I don't want the thing where the header gets in the way of my clicking as I scroll.
Envio: CLI to simplify management of environment variables across profiles