skysight-inc/HackerNews huggingface dataset:
> You can have JS in the way you want, just don't be too aggressive towards other people's choices.

I think there is never really an excuse to be “too aggressive,” the most strenuous opinions can be expressed without threats of violence or slurs for example.

However, people who develop websites that require JavaScript are contributing to this absolutely terrible ecosystem where people just download programs from the internet as a side effect of browsing and run them without even knowing it. That’s wildly insecure as a ground state.

To try to push things out of that wildly insecure ground state, the convention has been to create these very advanced sandboxes. Putting aside the fact that they fail fairly somewhat regularly, only three companies have had success in this endless battle. Apple and Google, by dint of having infinite money to throw at it, and somehow Mozilla using magic.

As a result of the fact that making a web browser now requires constant security fixes, no small organic community projects can create a web browser. We’re living in the failure-state of the idea that the web should be this open standards-based platform.

So, yes. I get that people have to write JavaScript to put food on the table. But it is a choice that has been made at the expense of the rest of us.
Wouldn’t its very reliable high prevalence across a wide diversity of today’s gene pools strongly suggest an early, not late or isolated, origin?

That seems scientific enough.

Given that strong persistence over time and population, the assumption that it must have advantages becomes a sensible and supported conjecture. And identifying what benefits it might have bestowed a sensible area of research toward verifying that.

Anything conclusive would require many more experiments & more evidence of course. Most individual papers in historical and behavioral evidence fields can’t settle something definitively on there own.
I don't see how that would work. Although there was adb access, they weren't rooted.

Note you can add a microusb USB hub, other USB devices including external storage, and Ethernet to most Fire TVs regardless.
I choose something that was much different to see if ChatGPT would just take my cue and create a connection. The closer I get to something that is more plausible the more likely there actually might be an obscure, but actually valid and useful, connection.

When ChatGPT 3.5 first became available I actually used it to diagnose an issue my father in law had that was missed by his surgeon and the ICU staff. Quite possibly saved his life. Finding these connections IMO is a plus and not a negative.
If you haven't used C# in a decade you missed that .NET Framework has been completely rewritten as open source .NET. To install, it's literally just:

apt-get install dotnet-sdk-8.0
https://archive.is/FF00H
Sanctions by countries who developed a certain technology, appear to always result in the country which was sanctioned to develop that technology in some timeframe, depending on the complexity.

Was there any case of a "successful" sanction in history? Or is holding back a country for a few years (or decades depending on the tech) considered a success?
Agree. This is great though. Don't need a separate service to email to quickly email a bunch of ppl. Avoid building products around a closed platform.
If you think there are no reliable ways to measure employee productivity I have some ocean front property in Arizona to sell you.
Then your definition of understanding is meaningless. If a physical system is able to accurately simulate understanding, it understands.
Huh? Safari exists for Windows? Isn't that like a super old version?
From the Dockerfile:

FROM scratch
COPY --from=qemux/qemu-docker:4.14 / /

Is this different than the following?

FROM qemux/qemu-docker:4.14
Your feelings are definitely not unique. There’s a big thread in the article comments with a number of people expressing a similar view.
I think you’re right that the whole thing is difficult. There are certainly people who take offense at the constructive criticism being offered with no “softener”, and there are obviously others that take offense as the “softener” being added.
Perhaps the ultimate takeaway is what you stated:

> delivering respectful and constructive criticism involves knowing your audience.
Welcome to Canada. The checking/saving account statement is in csv. The credit card statements are only provided as pdf by my bank. That's where most transactions are.
Right. There is of course plenty of low cost housing in the UAE, but it's not going to make the front page of HN when they open a new apartment complex.

Dubai is definitely a high-cost-of-living with extravagance abound, but it's also helped to turn them into an international destination. Just Spending time in the Dubai airport is a fascinating experience if you get the change. It's the most diverse (and by that I don't mean skin color, though of course that is reflected, but I mean all types of different people from all over the world) environment I think I've ever been in.
What? You tested a PWA against a Safari version from 2012 and it worked? That's funny.
That's an example of the Cobra effect.

https://en.wikipedia.org/wiki/Perverse_incentive
> Seems to me like an iterator solves the lion's share of the problem here.

Iterator APIs are indeed aimed at the same kind of problem, but they're not the same solution. And often they're harder to write. If you have a component with a big list of stuff, it's generally easier to write and understand the idea of "iterate over my big list of stuff and emit one item at a time to my consumer" than it is "what state do I need to remember such that when I get called again I can emit the correct next item given the one I just emitted?".

Coroutines are a way of expressing the former. Iterators are the latter. If all you do is write the outer loop, iterators are absolutely just as good. If you need to write the iterator itself, it's more of a discussion.
Junior Developer: Let’s get everything done!
Senior Developer: nah nah projects don’t matter as much as using whatever tech stack I’m used to.
That’s an interesting point (and quite on topic; communication is key in STEM, and this ties in with that).

Hypothetically, what would be the most fair argument in that situation? It’s quite remarkable that a line engineer was convinced the rocket was going to explode, even to the extent of hopping in his car with his daughter and frying to stop the launch after his company gave the go-ahead. Data presentation seems like one of the few things that could have convinced upper management that there was a serious problem.

One thing I don’t understand (possibly unrelated to your point): if there were very few launches in cold temperature in general, how could he have convinced himself that there was going to be a disaster due to the weather? If I were in his shoes, I might’ve talked myself out of it by saying "well, I suppose it’s true we don’t have much data about cold temperature launches; how certain am I that the cold weather problems till now weren’t a fluke or a non-issue?"
It is not null, it's an empty string.
It only seems capable due to those frameworks and abstractions. At the end of the day, there are only so many builtin types and functions on the core runtime. Everything else is up to the ecosystem to provide. Just like C or C++, at it's core, it's just a basic language for things. It's the libraries of code from others that give it [more] powers.
My second link documents the `context` parameter for Ollama. It's unfortunately pretty hard to search for because the term is overloaded.

`context` is a number array that gets returned with each /generate request and can be returned to the server with the next request. There's not much more documentation than what's there in that link, but as I understand it the array is a JSON representation of the current state of inference at the time that Ollama returned. So when you send the context back up with a second request, Ollama can just load that array into memory and then start inference with the new prompt, rather than having to re-encode the whole conversation up to that point.
Fascinating. Well done! There is a certain eerieness to seeing this actually work. Although Borges lived to see computers becoming mainstream, I am sure he never imagined his artistic vision being implemented in such a strangely convenient and easy way.
Does Vancouver lack a vehicle dwelling ban? They seem to be fairly liberal and have a relatively nice climate.
I'm Gen-X, yes.

I know that some charts show that the newer generations might not be doing as well as previous. And maybe I'm too optimistic. But I think it is hard to argue that -- even if our "wealth" is lower on some chart -- our world is much better. The web didn't even exist when I was a kid. Medical tech continues to advance. Pollution (of the non-CO2 kind) is down. Crime is (generally) down -- though it does fluctuate. We're not dying in wars. And so on.

Plus our lives are different enough now (marry later, etc) that it isn't easy to compare 1:1. Houses are bigger and have more bathrooms. We have way more entertainment at our disposal. We tend to work in offices rather than manual labor. And so on.

Finally, as you said, Millenials will be the ones inheriting all that Boomer wealth.

So I'm pretty sure at the end of the day, when you add it all up, the newer generations are continuing to continually have better lives than those before them. (But I can't prove it, so feel free to ignore me :)
Motivation is a core principle and driver for many Engineering teams. When it comes to motivating your team, in my past experience, I have seen the Good, Bad and Ugly of both high-performing teams and teams that are struggling to drive and deliver results due to low motivation or cohesion.

What principles and actions do you use to keep your team motivated?
I think the current models will be a fundamental part of larger, more comprehensive models, and they will handle the “easy” parts, much like we, humans, use our associative memory to be able to do things in realtime, “without thinking”. Yann LeCun wrote a paper on this which more people should read: https://openreview.net/pdf?id=BZ5a1r-kVsf. Moreover, Meta’s research is starting to move in that direction https://ai.meta.com/blog/v-jepa-yann-lecun-ai-model-video-jo...
Another fair point, but I would think the semi industry (at least the segment that TSMC plays in) would be about the most advanced, least fungible good in the history of the world; they can literally only be made by that company. It’s somewhat akin to commercial airliners - despite Boeing occasionally forgetting to fasten the doors to the fuselage, they have no shortage of orders because there are only two companies that can build these planes, with I think much of the assembly done in the US or EU. Essentially these things sit at the very apex of the world’s current manufacturing capability.
These are stackless coroutines, if you use longjump you have to create a stack for the coroutine.

There are pros and cons for each style.
They aren’t talking about yields, so I assume they can make fast chips but suffer on yields. The same is true with jet turbines and why they are still using Russian ones in the military and western ones for their civilian planes. They can make high performance, but the fly time between overhaul is too low to be economical.

But China can afford to subsidize $1000 chips, especially if that means not having any chips at all.
When repowering, what happens to the old modules and inverters?
> Interop with native code in green threads model is complex and comparatively slow . With a benchmark of a minimal P/Invoke, the cost of making 100,000,000 P/Invoke calls changed from 300ms to about 1800ms when running on a green thread. This was expected as similar issues impact other languages implementing green threads. We found that there are surprising functional issues in interactions with code which uses thread-local static variables or exposes native thread state.
> Interactions with security mitigations such as shadow stacks intended to protect against return-oriented programming would be quite challenging.
Yeah the Mac side was the worst. Many features didn't work reliably or were not updated quickly enough to keep up with OS updates. It was all very beta unfortunately.

For Mac JAMF is pretty much the gold standard and I tried to get it but the leadership preferred a "single pane of glass" sadly.

For Windows we always just used SCCM and even now we're only in hybrid mode with most functions in traditional management.
One of the reasons people are able to roll their eyes at climate change is the politicians who show no evidence of practising what they preach, so the conclusion is that they're lying, which is not out of character.
Nobody is using dot product engines, because dot product throughput is limited by the latency of fused multiply-add, instead of by the clock frequency.

Moreover, dot product throughput is limited by the memory read throughput.

Any matrix-matrix product implementation is best done based on tensor products of vectors, because each such product is composed of independent operations, so their latencies can be hidden. Moreover, a tensor product requires a number of multiplications equal to the product of the sizes of the operands, but a number of loads from memory equal to the sum of the sizes of the operands.

With enough registers to store the matrix result, it is easy to ensure that the product of the operand sizes is greater than the sum of the operand sizes, so that the throughput of the memory reads does not limit the attainable performance.

Where a matrix-matrix product is done by a single instruction, it normally also uses tensor products. Only when both the input operands and the result are stored in registers, the instruction could also be implemented by AXPY operations (where the fused multiply-add operations are also independent), but not by dot products (with dependent FMAs that prevent pipelining).

"AXPY" is a name that comes from the BLAS library and it refers to an operation fundamental in linear algebra, "A times vector X Plus vector Y". There are many cases when it is possible to choose between AXPY and scalar products. AXPY is normally the right choice, because it is composed of independent FMAs, which can be interleaved and pipelined.
True, but bear in mind the Mamba preprint is less than three months old. A lot of people are probably experimenting with these ideas right now and training a completely new, large foundation model with a different architecture will take a significant amount of time.
> I see a lot of folks trying to avoid that simply because it's not considered a proper language.

If you still think JavaScript is not "a proper language" today in 2024 you're giving off serious junior engineer energy.
I’m talking about the UK. No idea about Sweden.

Regarding long waits for care. You want to be the patient who has to wait for ages. It means you’re going to be fine. You don’t want to be the person who gets rushed past the queue.
It's more smug when you read this article from the perspective of a recently-rejected 18 year old, knowing that you're the person the article is referring to. :)

In all seriousness, the MIT admissions reps I interacted with at the time were responsive, friendly, and more transparent with me about the process than you'd expect. I actually did ask them for feedback once the cycle was over, and it basically came down to the concern that I would be too focused on doing "cool stuff" and not enough on core academics, which was probably evidenced by my HS transcript. I was a solid A- student, but you could tell my priorities were extracurricular.

Hindsight being 20/20 two decades on, they weren't far off the mark on that feedback, but it never wound up being a problem.
What a bleak and depressing post
Oh, I just skimmed the article to find an antidote and didn't know it was there!
It's better than showing the top replies like when you're logged in, which are usually a bunch of lobotomized blue checks saying the dumbest things imaginable
Welcome to Hacker News. Where merely questioning the modern state of JavaScript is a heresy.
Look no further than the San Francisco homeless industrial complex for a modern version of this phenomenon.
You can absolutely build coroutines out of a generalized context switch. So yes, in some sense. But note that the linked article doesn't use setjmp/longjmp, which is what makes it so clever.

FWIW: would I personally actually use this trick? Almost certainly not. C APIs aren't well suited to that level of abstraction IMHO, if you have an app that needs it leave the C stuff to the stuff C is good at and wrap a C++ or Rust or whatever layer on top for the subtleties.
Some may draw the conclusion that women have an easier time dating. They do not. They are competing for what they believe are "more desirable" men. Everyone loses.

AI is dangerous here IMHO because it's going to disconnect people even more from the possibility of having a meaningful connection/relationship with another human.

People no longer like any kind of friction when it comes to interacting with other people.
Hopefully by the time sociopaths are able to cause severe damage, they have experienced some kind of negative consequence that caused them to pause but only for the consequences and not for emotions or feelings.

Trusting a sociopath may be the leap you do not want to take. Most of the post caught prison interviews are somewhat like “no one stopped me” or “no one caught me”. I think for each task given that someone will not take there is a long line of people who will.
Some groups can choose to sort these people in.

“the extent to which a lot of behaviors that people do could be considered sociopathic, and we just don’t understand them that way. >>> Plenty of us do things that we know are bad because the transgressions feel good. It feels good […] because it feels free. […] The consequences — be it internal guilt or getting thrown in jail — happen after. In this moment, I’m going to do this because it feels [expletive] great to just not care. That is what the sociopath experience is almost all the time.
One piece of advice I would give to anyone who sees themselves in my description is to find an external philosophy that works for you. I liked karma. It seemed clean. It seemed organized. Find that philosophy for yourself, because you’re not going to get to rely on internal checks and balances.”
Where I live, you get a discount if you just mail them a check, so if you go to court you risk losing significantly more.
This one is real:

> Expectation: Once I become a senior, I will lead big projects, have a big impact, and tell others what to do!

> Reality: I miss the times when people told me what to do.

I’m very happy that I can just write code and do what I’m told on my current project — blessed with very strong collaborators. Being tech lead shaped person on a team and training/onboarding everyone is rewarding but draining, and it’s good to find ways to change it up.
This is because of what we have today, it's not how it needs to be.

I wouldn't mind a GUI where I put constraints to the elements visually and then check the different ratios/sizes I want to support and bam, done.

As a field we're under a general assumption that it makes sense to do visual work textually. Just because WYSIWYG tended to be overly verbose and used by "noobs" that it's not how it should be.

Imagine most people making music by just writing notes and then only playing it back afterwards.
Gonna preface by saying I like what matplotlib is trying to do, and that it has done a lot of good for a lot of people.

Seaborn is a wrapper around matplotlib. It's popular because it removes a lot of the boilerplate from matplotlib and is pandas-aware

For example, you call the pairplot function with a dataframe, and you just get a matrix of correlation plots and histograms. Versus matplotlib where half the documentation/search results use imperative w/ global state and the other half is OOP, and all the extra subplots shenanigans you have to decipher to get something that looks good.

It's convenience, really. The people who use seaborn don't want to dive into matplotlib because the interface is kinda a mess with multiple incompatible ways to do things. It also documents what arguments mean instead of hiding most of them in **kwargs soup. You get plots in 1 minute of seaborn that would otherwise take 10 minutes in matplotlib to write.
This is a good time to mention another text based data format based on readability: NestedText. You can hand edit and then pipe valid NestedText into Unix programs, which makes it useful for portability. It only supports the string type, but this can be desirable for some applications.

Find out more at https://nestedtext.org/en/stable/
Having lived in India all my life, I’ve never seen one of these notes, or known anyone who used these. They are not part of the cultural zeitgeist - no films or shows that have them for eg.

The only time I’ve seen them mentioned is in news reports about their existence as a campaign, never actual usage.

Another interesting campaign around corruption is ipaidabribe.com to gain some data around this. Unfortunately, both giving and taking bribes is illegal, thus you need anonymity for reports resulting in a lower data quality.

To fix that, there’s proposals to make it legal to pay “harassment bribes” (the ones where the bribe giver does not gain undue advantage).

> Giving complete immunity to the bribe-giver would ensure higher reporting and co-operation of the giver in bringing to justice the bribe taker. The present law acts as a deterrent to reporting of bribery.

https://prsindia.org/theprsblog/should-bribe-giving-be-legal...
Windows in a Linux Docker container running KVM (Kernel Virtual Machine).
Creating money out of thin air is exactly what a bank does. It's basically the definition of a bank:
https://www.bankofengland.co.uk/-/media/boe/files/quarterly-...
Why Is It So Hard to Lose Weight?
Last release was from 2015.
I made some picture/text/video gallery explorer application with python/flask/js

all the HTML is generated with python and transferred with ajax calls. it's inefficient, but it works well and it's easy to maintain.

there is as little js as possible

I pulled my hair figuring out those pesky async js things, but I'm happy, it works well.

I would gladly use Typescript if I could use it without nodejs, I guess there might be a typescript compiler for python?

Anyways I am glad I was able to take advantage of js while writing as little of it as possible, it feels like a big achievement.
> Even if a root server were to experience a major failure due to some sort of administration problem, there are twelve more.

This usually does not help in case of DNS. Let's say a resolver queries a root that does not reply. The resolver will time out after n seconds and then try another root server, but will not send any replies to the querying client. Therefore, the querying client has no way to know if it's the resolver that is broken or the upstream authoritative server and the querying client itself will timeout after m seconds and switch to another resolver, ignoring any possible later response from the first initialized query.

If m is larger or equal to n, the problem is aparent -- client will never know if the root is broken or the resolver, usually treating the resolver as such.
Tumblr CEO's public 'meltdown' is mocked, memed by users
Indeed, but you have no leverage to tell people to put work in to meaningful relationships vs social media and superficial signaling. There is no solution one individual can solve this with, and there is no leverage at scale to make people be better to each other in this regard. The system will eventually fail, you can only do what you can for yourself and those you love and care about.

People have to want to care and do better, you cannot make them (in this domain). Pick those you invest your time and emotional energy in wisely, that's all you can do.
I look at all those Tor-compatible websites that have achieved so much without JavaScript, including CAPTCHAs, etc.