skysight-inc/HackerNews huggingface dataset:
For better results start at -1 '-1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20'.split(' ').map(parseInt) gets you

[
-1, NaN, // could be better
1, 2, 3, 4, 5, 6, 7, 8, 9, // ok a little bumpy at the start but now we're cookin'
11, 13, 15, 17, 19, 21, 23, 25, 27, 29, // not great not terrible
42 // dang
]

way closer.

Pretty sure the Number constructor was made to get you around this. map(Number) does what you would expect.
for some reason apple think that the backslash and backtick keys are the opposite of what they actually are on british pc keyboards
But like they are literally killing themselves so it must not be that big of a blessing...

How much is the inheritance tax?
Because you shouldn't try to be clever with Javascript.

Map passes 3 parameter to the mapped function, the second one being an index, and parseInt accepts a second optional argument as radix.

be explicit:

["1","2","3"].map(function(x){return parseInt(x,10)})

Javascript isn't the problem here.
It’s also about 4% of Elon Musk’s net worth.
Farming is a hard life. There are a lot of sources of stress:

Time - If something needs to be harvested immediately, it's not uncommon to work through the nights using the lights on the equipment. There's no such thing as set hours. You're constantly on the job.

Finances - Equipment is incredible expensive and is financed via debt but margins are low. You can end up just trying to pay off the loans. That's not even mentioning the land requirements (either owned or leased).

Uncertainty - You can't control the weather. You can't control the price of corn or soybeans. Equipment breaks down. These issues can easily snowball into affecting entire operations.
> except the particular manager wasn't the specific target of the usual manipulations[0] candidates will do to seem better.

There's merit to this argument.

Consider people who get scammed or catfished -- it's obvious to an outside observer. You're less likely to fool yourself when you have no skin in the game.
Why do they gotta involve the dolphins ... come on man
Poor design choice. Too many materials expanding and contracting at different rates leads to friction stress and ultimate material failure. Maybe not at first, but over repeated compression and expansion cycles.
Yeah, I don't envision Jesus having a jewel-encrusted anything.
In a more interesting turn, Wagner claims to be attacked by and I guess now fighting Russian forces.

Prigozhin reportedly claims Russian leadership (somehow except Putin lol) went off the rails and is threatening to eliminate them, literally inciting a civil war along the way
Yeah, this always seems like a truism. If you give people opportunities, they will tend to succeed. If you deny people opportunities, they won’t. So anybody in the position of giving or denying opportunities to people will tend to be “right” most of the time.
> It is surprising, that there is so little competition for affiliates these days.

Still pretty competitive in the gambling and cryptocurrency space IMO.
It looks like a petition to figure it out, not a plan
The typical Wikipedia complainant simply is a talker, not a doer. I have started Wikipedia pages, edited controversial ones (including the Derek Chauvin page), and fixed things very straightforwardly. I would have fixed this one, but someone was faster than me.

My experience with this is quite simple: it is really fucking easy to do all these things but that 1% rule is real https://en.wikipedia.org/wiki/1%25_rule

Most people cannot do things. They simply cannot. There's always a reason they can produce: "Oh it'll just get deleted", "oh I don't want to get into a fight", "oh the editors will delete me". You can see this because they cannot provide situations where this happens because they cannot try. They will Google to show "there is some evidence this is happening" and produce some newspaper article where the reporter has not tried it either.

But the reality of the thing is that they cannot do it. The faculty it takes to see a problem and make it not a problem is not available to them. Presumably, at work they are told what to do and they just do it - execution agents incapable of autonomous operation.

Of course pg cannot modify his wife's page. But I see it a lot.
I loved that they made this, and watched it with my son.
This approach seems problematic since values like "", null and false become 0 instead of NaN.
It's definitely not a silly question. I shared it because I really enjoyed the image that came to my mind when it happened.

It was a formative experience for me, too. I try really, really hard to explain terms-of-art to my audience if I'm unsure of their familiarity. "Reading the room" can be difficult sometimes so I try to always preface w/ "Stop me if you know this already...".

I also learned not to be afraid to speak up when terminology isn't familiar to me. I've no doubt that's made me look ill-informed in some situations. I'll always take the judgement of others re: my knowledge vs. acting on a bad assumption later.

There are consequences (sometimes significant ones) from assuming somebody knows what you're talking about. People who act like they understand something when they don't (either because they're afraid to ask, or because they don't know they don't understand) are dangerous.
I : hhmmppp a paper from Tenenbaum's group, let's read.

Paper : Hi! I am 94 pages long.

I : omg...
VisX is mentioned in the about page, so presumably. https://www.react-graph-gallery.com/about, that page also gives some motivation on why this is a separate project.
On the other hand, I was at CERN once, and they were just giving us slides like no tomorrow (and of course also a tour). If I was a billionaire (or a politician) I would have given them lots of money
> To the best of our knowledge, the forests of the region were actively managed via fire for thousands of years.

"Native Americans" arrived here about 30,000 years ago. For all the time prior to that forests were actively managed by controlled burns conducted by nature.

The idea that they somehow had some advanced knowledge that Europeans lacked has no scientific basis, they simply didn't have the modern technology to stop a fire started by lightning.
From looking at the video probably someone who has good working knowledge of PyTorch, familiarity with NLP fundamentals and transformers, and somewhat of a working understanding of how GPT works.
> Its a footgun that results from JS’s loose typing of functions, allowing them both to be called with discarded arguments and to be flexible in the number of arguments they accept.

This just goes to show how one can use a language without actually understanding its core semantics. Additional arguments aren't "discarded" at all: they're still available to the called function in via `arguments`, they're just not required to be assigned a name in the function signature.

Basically, a Javascript function fn() declaration is equivalent to Python's def fn(*args): declaration and you have the option to assign a name to positional arguments. Any named positional argument that is not provided by the caller simply leaves the argument uninitialized, i.e. undefined.

It's a core concept of the language and I'm always puzzled when non-beginners struggle with this. That's also a very good reason to not use vanilla Javascript at all and skip straight to TypeScript and its brethren instead.
Still feels like it breaks. Given the new analogy, proper planning would be to set policy to steadily increase housing supply relative to renters based on likelihood of them being able to purchase a home, adjusted quarterly (or maybe yearly) and/or increase the number of available renter units relative to the amount of new renters coming online (IE, graduating college or moving into a new job that requires them to live in the area).

Don't be overly dependent on any one local thing in another words. You can't 100% plan for total failure of course, but this would blunt it significantly.

In another words, SVB did a bad job at hedging risk, and there's really no excuse for it.
Sure but in the US it is 4 (undergrad) + 4 (med school) so in total it is 8 years rather than 5 or 6.

Agreed regarding the US high school standards but students that take AP courses in high school can take the MCAT. They may not do the “best” but they will know some of the material. Schools in the US like UMKC have 6 year programs were high school students take the MCAT.
This is very fun! Thanks for linking!
When you lose an argument, call the winner of the argument a bot. Works every time.
The basic model of Rust is to move use-after-free from a dynamic, runtime check to a static, compile-time check. But to keep the static checks from being Turing-complete, you need to prohibit arbitrary cycles while something like a tree (or other boundable recursion) is doable. So Rust not being able to check cyclic data structures isn't a "Rust currently can't do better" situation, it's a "Rust just can't do better" situation.

What Rust's intended solution for that is that you add in data structures that do the dynamic checking for you in those cases. But the Rust library doesn't provide anything here that's useful (RefCell is the closest alternative, and that's pretty close to a this-is-never-what-you-want datatype), which means your options are either to use integers, roll your own with unsafe, or try hard to rewrite your code to not use cycles (which is usually a euphemism for use integers anyways). The problem here, I think, is that there is a missing data structure helper that can sit in between integers and references, namely something akin to handles (with a corresponding allocator that allows concurrent creation/deletion of elements).
Hey.com: We Have Left the Cloud
Ercot can’t be sued over deadly 2021 winter storm, Texas Supreme Court rules
Fertilizers, herbicides, pesticides (https://www.scientificamerican.com/article/high-rates-of-sui...), leaded fuels...farmers are almost constantly exposed to some of the nastiest stuff manufactured.

Round-up got caught in lawsuits mostly because they distribute to anyone, you think that amount of scrutiny is going toward every herbicide on this list? https://www.clemson.edu/cafls/research/weeds/management/herb...
I'm not prone to fear mongering, but I can't imagine companies like Dow chemical and Monsanto putting much cash into long term mental health effects of exposure to any of their huge library of agro chemicals.

That's not even considering all of the other social and health care factors, as mentioned in the article. Honestly I'm surprised the rate is only twice as high as the average occupation.
Holbein was a master, head and shoulders above most of his contemporaries. Kunstmuseum Basel has the largest collection of his paintings and it's on my bucket list.
> Then you have the questions of predicting demand for different crops, staying up-to-date with farming techniques for different crops, organic and other certifications, learning different techniques and products as the climate changes, hiring and managing labor, managing employee benefits, how could a single person do all that and still do a competitive job compared to a company with specialists handling all of those roles, not to mention that they can hedge against fluctuations in local conditions by diversifying across geographic areas?

Centralized planning of food production has never gone well in human history as far as I'm aware. I'm not certain I'd like 2 or 3 giant corporations deciding how much corn will be grown next season to maximize profits, each eroding those safety margins a couple percentage points ever year for decades until something unexpected happens.

50,000 smaller corporations, sure. But that's just another form of family farming.
"But when you add them all together, you end up with a terribly laggy affair"

I think this is the key.

People fall in love with simple systems which solves a problem. Being totally in honey moon they want to use those systems for additional use cases. So they build stuff around it, atop of it, abstract the original system to allow growth for more complexity.

Then the system becomes too complex, so people might come up with a new idea. So they create a new simple system just to fix a part of the whole stack and allow migration from the old one. The party starts all over again.

But it's like hard drive fragmentation - at some point there are so many layers that it's basically impossible to recombine layers again. Everybody fears complexity already built.
What happened?
Normal hyperbloat between os, libraries and network.
And just like articles about hydrogen, no mention of the extraction/distribution supply chains needed or the costs/emissions involved. Nope, just focus on our fancy (ZERO EMISSION) generator and ignore how the inputs are actually produced.

It has the energy density of coal, only unlike coal it requires both mines as well as smelters/processing facilities to produce the iron powder. So this can only work if we build out twice the infrastructure that coal currently enjoys, with all the costs and emissions therein.

I'm so tired of breathless scientific reporting of "breakthroughs" that ignores any and all economic context. Or, like this article, treats it as a side issue to be addressed with literally one sentence.
Seems you're unaware the amount of world knowledge that already exist in written form.

Think of all the top journals, textbooks, etc. People have understood the world by interacting with it, detailed their hypothesis, conducted experiments, recalled their learning and written down conclusions.

It's not at all obvious to say a useful world model cannot be derived strictly from all this written information.
I think we're off on a tangent here, but I will at least agree that named parameters are a godsend in any programming language. Things are so much easier to read when the caller can clearly state their intentions for things like "foo(true, false, true)".
A lot of that was simply down to how slow hard drives were back then. I can not overstate what a miracle of performance it is jumping from a 7200RPM (or 5400!) HD to today's solid state storage. Tens of thousands of times faster in many cases.
I don't think that's the job of project managers. They are there to keep the project within scope, schedule and budget, find the resources you need and remove distractions so that you can focus on your craft. At least in my experience, it is expected that the lead or senior software engineer deals with the requirements, identifying missing, incomplete or out of scope items and communicate any issues to the PM so they can be discussed/negotiated with the customer or end user. Some of my best PMs don't even know much about software engineering.
At my current gig we support two Next apps (both on the pages router) and are currently in the very early stages of building a new Next app using the app router. While we are very excited about the technology, adoption has been slowed by a few things.

1. Server components have poor support for certain (non tailwind) css solutions. We had hoped to use vanilla-extract as its syntacticly similar to other css-in-js solutions, but ran into issues with HMR completely falling apart locally if the page contained a NextImage. We ended up falling back to good ol’ fashion sass modules.

2. As some other commenters mentioned googling for support somewhat consistently lands you on the opposite routers docs and while it’s somewhat obvious to tell where you are its still missable if you are moving quick.

All that to say I’m personally, _sorta_ burnt on Next and have found a ton of joy using svelte + sveltekit for my personal/hobby projects.
There still needs to be a human manually proofreading them, even if it's as trivial as looking up whether the cited cases actually exist. Same goes for code outputs from currently available AI tools: some still needs to debug them to make sure it works, and fix any troubles that spring up during deployment and production.

Of course after some number of iterations, AI may gain the ability to self-check and self-correct to the point of achieving 100% accuracy, but I think that milestone will quickly lead to AGI and job security will quickly become an obsolete topic for every industry anyways.
Having written a book about JavaScript, I know the correct answer to this question.

Having also written a book about things to look for and abhor in an interview, I consider this question a strong red flag.
a large missing piece to the above "history" the article describes, is that somewhere along the way a fire accidentally roasted the coffee beans and this wrinkle enhanced the coffee preparation process. Many legends exist telling the context story of how this fire occurred.
Paper link: https://doi.org/10.1016/j.pneurobio.2023.102465

> The brain infrastructure that connects neurons is collectively referred to as the cytoskeleton. It includes proteins, neurotransmitters, filaments, microtubules etc. Above, we saw how electric fields generated by neurons and other parts of the cytoskeleton carry information being used for behavior. Here, we propose the Cytoelectric Coupling Hypothesis: Electric fields help organize components of the cytoskeleton in order to "tune" it to process information efficiently.

Stunning complexity.
MIND IS SOFTWARE
BODY IS DISPOSABLE

SUPER HOT
SUPER HOT
SUPER HOT
That's a variadic function and those have to be explicitly marked as variadic. You cannot pass in an arbitrary number of arguments to other functions.

https://en.cppreference.com/w/c/variadic
There are people that can do this, that are "social radars." It's rare, but I've seen one and it's mindblowing to observe. 100% hit rate.

(that doesn't mean we should do it in courts to convict people)
German parliament reforms skilled work immigration law
> Though inference for the 8B model is almost definitely not capable of near real time inference yet

Google previously showed you could get the fullsized 540b-parameter PaLM-1 model down to "a low-batch-size latency of 29ms per token during generation (with int8 weight quantization)" https://arxiv.org/abs/2211.05102#google . How many tokens per 1000ms do humans speak? I'm guessing fewer than 34. The real question is who wants to pay for it.
a.k.a. adult content on Vision Pro o_O

Don't lie to yourselves.
Have you considered devcontainers?

Its use results in carrying entire development environments with you, and because it is using containerization these will not clutter your host OS.

Using DevPod (https://devpod.sh/) you are not locked into Visual Studio or Visual Studio Code, but you can use whatever tool you want.

IMO this kind of setup will provide a much better DX than running a bunch of VMs eating away the resources of your laptop.
Indexing is a weird example to use considering how notoriously garbage Windows file search is.

For some reason even in fairly constrained subtrees it takes forever to find file names.
TypeScript has the same problem.
Rails World sells out in 45 minutes
was with you until:

> look absurd outside the context of evolutionary biology

for humans, everything (everthing) is within the context of evolutionary biology!

> LLMs have failure modes that look like human failure modes too.

Yes - because LLM's are trained on 2020 Reddit.
It depends on the state, but even if you have a $5m exemption on inheritance, if you inherit $10m of farmland, you need cash to keep the land (or go into debt) or liquidate the land.
At a company I worked at in the past we had a "champions" rule:

1. First, only select few interviewers with a great track-record could be a "champion".

2. If this interviewer was going against the rest of the interview panel, they could choose to be that interviewee's "champion". This means they are essentially saying "I have such a strong conviction that this person will do well that I'll put my professional reputation on the line for them." E.g. this person agreed to be that person's mentor when they started, and if things went south they would carry the burden of additional mentorship or finding the least problematic way to fire that person.
I might be misunderstanding you, but if you're saying this is what's happening with `["1","2","3"].map(parseInt)`, that's not correct.

The article describes the situation in detail, but `parseInt` is called three separate times (its first argument in each call is `"1"`, then `"2"`, then `"3"`, as you'd expect with any array-mapping operation). The weirdness arises because `.map` always passes more than one argument to the callback (and `parseInt` accepts more than one parameter). This happens even when the array has only a single element, it's just that the first call (`parseInt("1", 0, ["1"])`) happens to have the same return value as `parseInt("1")`, so you only notice the weirdness with the later elements.
Public schools have less accountability than private schools. Because the one local government is the customer for public schools, and the student is the customer for private schools. Parents have more micro accountability actions than governments.
I can take a wild guess about some traits she never selected.
Or, 7/8 people were "weak no", they heard her argument, then changed their minds to "weak yes."

The whole point of a committee is to reach consensus. I've flipped my beliefs on many candidates before after hearing what other interviewers think. I think most of us understand that interviews aren't exactly the best way to judge a candidate - at least I think that way. So I'm pretty open to forming consensus when I'm "weak" and they are "strong" in opinion (especially if I respect their judgement).
I'm curious what's on that system for storage. Is it using the original hard drive, or does he have some kind of solid state medium hooked up? Because I do not recall things loading that fast.

Yes, input latency back then was far better. But actually launching things came with appreciable pauses. Because disks back then _sucked_.
Personally if this was asked during an interview that didn’t allow looking up references, it would be a signal that the company is not a good place to work. It indicates the company places value on memorizing lots of programming trivia instead of valuing thoughtful research and exploring various solutions. Candidates may feel they are signing up for a brainiac contest.
The cool kids now use 'everything everywhere all at once'

https://arxiv.org/search/?query=everything+everywhere+all+at...
It definitely often feels like the value capitalism places on certain skillsets is out of sync with the true intrinsic societal value. It ultimately boils down to the law of supply and demand, a brutally unemotional, uncaring concept.
You will require children to push you off the building when you want to die though.