skysight-inc/HackerNews huggingface dataset:
If POST content type is application/json and is enforced, csrf is not possible. You cannot csrf put and delete unless you modify cors policies, all of which are server side vulnerabilities and not related to you using SPA vs server side rendering.
This isn't so easy when you're trying to parse a hundreds-line function written by god knows who that has many early returns each returning an object with wildly different properties. Declaring the return type the method declaration is valuable.
Fooling around with things helps, but that's not really different to the "Ask yourself more questions" kind of advices.

Even if I was fooling around with, say, a 3 modeling of a bed, why would I retain any information I didn't genuinely want to know ?
Questioning my own understanding of things doesn't help either, as realizing that something doesn't work the way I thought it did, doesn't necessarily make me care about finding out what the truth is.

>I’m not sure I agree. Emotions are a form of personal confusion. Curiosity is intellectual. More tied to unemotional ignorance and lack of rigidity towards formal expectations

I didn't get that, mind expanding ?
The likelihood of a vulnerability in serverside logic is far higher and more impactful than a large marketing player like google analytics stealing PII.
Show HN: Speki – Flashcards in Terminal
Luckily, for both athletes and swe, failing is not a matter of life and death. Cheers!
Why not? They could, and at least have strict criteria for how good the studies must be.
>usually too lazy to order takeaway too.

Apps such as Uber eats ruined this for me.
These are great points. I'll try to address all of them.

Multi-pass: We also do multiple passes, but thanks to comemo we can reuse most of the stuff from previous passes. The change tracking detects if a dependency on some other part of the document requires updating. This doesn't require file writing and reading; Typst has a built-in user-facing interface for these kinds of tasks.

Data structures: Typst has typical data types you'd expect from a modern programming language and also typical imperative control flow like if, for, and while. What's a bit non-standard is that Typst enforces that all user-defined functions are pure (else we'd break incremental).

Open Source: We do plan to open source the Typst compiler and CLI! Just not the collaborative web app.
It's the opposite: In the last decade networking connection speeds have plateaued. In the 90s we had 100M ethernet, in the 00's 1G ethernet, in the 2010's 10G ethernet, and it stuck there for a long time. We had much much less CPU cycles available per packet when 1G came, for example.
Promoting the Array Languages
I agree - prefers-reduced-motion is a user-controlled OS-level setting (like prefers-color-scheme) which apps and websites should do their best to respect.

Sadly we live in a world where developer time is a cost, and the cost of respecting user preferences is way down the list of things to spend cash/time on ... unless, of course, an A/B test showing that common courtesy leads to better conversions gets deployed and runs to significance.

Saying that, I don't believe we should give up on the fight to better respect our users' preferences. For my part, I've designed my JS library in a way to make it as easy as possible for developers to build interactive 2d canvas-based graphics that are as respective of user choices as possible[1][2][3]. If nothing else, it demonstrates to other developers that such things are not impossible to achieve.

[1] - https://codepen.io/kaliedarik/project/full/AMVKPx - Accessible stacked bar, and line, charts

[2] - https://codepen.io/kaliedarik/project/full/AzWnNa - Header text colorise and animate effects (respects prefers-color-scheme, prefers-reduced-motion, etc)

[3] - https://scrawl-v8.rikweb.org.uk/learn/eleventh-lesson - tutorial on how to make the 2d canvas more accessible/respective of user choices
I don't know why the comments are so negative. I agree that the fundamentals are important and that you can then learn almost any language, but OP might have a different learning process and getting the hands dirty might be helping him and honestly trying out a new language along with making your fundamentals clear does not hurt anyone.
> Unless you are buying century old vintage Port's which 99% of casual wine drinkers are not, then this is silly argument for most commercial bottles being produced in the last decades.

You don’t need to buy century old vintage for that to be an issue. Just a few years will do the trick.

Which is why winemakers dislike cork: cork leads to product loss, it’s used for the cachet, and when possibly they use hybrid / layered corks with higher reliability.
When I was in undergrad our professor had us learn Java, but also Lisp and Prolog, and that was very valuable to my growth as an aspiring (and now thankfully employed) programmer :)
Wait for the screaming if China forbids its nationals to work in AI research in the west.
I miss that Apple so much.
Jim Keller seems to think self-driving is a solvable problem. I find him more credible than Levandowski and an article that is written in a way that is not even-handed or objective at all. It starts with a premise and tries to convince rather than weighing evidence in a way intended to be objective. The article literally starts with anecdotal evidence, as if that's relevant. It's wording and construction makes its intent clear; it's an emotional appeal.

I could be convinced that working on self-driving isn't worth it with a proper weighing of evidence. But this article ain't it.
Exactly. Even if lead and mercury with a cyanide microdose was the only antidote you would still choose it over certain death.
Yeah, no swap probtnakes sense for GCed languages. If you are going to touch all of the memory frequently it doesn't make sense to try to swap it out. You are better off forcing Linux to swap out filesystem cache which at least has a chance of not being used in the next minute.

The only real thing that you may be missing is SSH being swapped out and some other system processes but those may be 2MiB altogether.

Maybe an option would be disabling swap just for the JVM. IDK if that is something you can do with cgroups. But if 99% of your anonymous RAM is pinned anyways there is little to gain.
The htmx guys self promote here all the time. Their selling point is "no js" for slightly interactive demo apps.

10/10 times is just them openly bashing the rest of us for not using their tech.
SQLite benchmarks with F2FS (hint 2x vs. ext4) [pdf]
Anecdotal, but I just yesterday took a combination of Amtrak and BART to fly out of SFO.

This one way trip, I nearly stepped in human feces transferring from the Richmond Amtrak Station to BART. Then while enroute to SFO, which took no less than 1.5 hours, encountered two people opening smoking crack on the BART, one of them went across the train ripping the seats on the BART.

Small encounters like this might have something to do with it.
What about canada or mexico?
> Learn concepts, obtain foundational computer science knowledge

Well yeah learning a wide variety of languages is a good way to do that. People write new languages because they want to implement new concepts.
Does it perform validation? Byte sequences too short or too long are obviously invalid, but codes encoded in too many bytes than necessary are too - which isn't immediately obvious.
Global semiconductor industry has the deepest and widest value chain compared to any other industry. China must replicate very specialized industries spread across the US, Europe, Japan, South Korea.

>How the big Chinese manufacturing hubs like Shenzhen work.

99.9% of Shenzhen is relatively low value added on top of core technologies. They bring high value added tooling from South Korea, Japan, Taiwan, buy chips from Taiwan and assemble them into products.
One other point to make about MPTCP: it has a congestion controller that takes pains to be fair with respect to regular TCP. It's a subtle problem...

MPTCP sender -> [link1 | link2] -> shared link -> MPTCP receiver

There might be a TCP flow using the shared link, in which case fairness means that the MPTCP sender should only send the same total traffic as would a single TCP flow. Or there might be a TCP flow using link1, and a second TCP flow using link2, and the shared link might be uncongested, in which case MPTCP could reasonably behave like two TCP flows. Or maybe there's a single path TCP flow using (link1 -> shared), or one using (link1 -> link2), or ...

The MPTCP congestion controller was designed so that in all of these cases it's no greedier than if it were a single TCP flow. And it has to do this without knowing the network topology, nor what other flows are using the network.

Reference: 2011 paper, https://www.usenix.org/conference/nsdi11/design-implementati...
Study: Human brain cells transplanted onto rat brain can influence its behavior
Make a kickstarter to turn this into a MMO.

This could be the 2048 of this generation.
Anyone here spend at least an hour laughing at the abuse-a-tron in the late 90s?

I think this is it but it's been forever.

https://members.tripod.com/Koolkat_2/ABUSE.HTML
> England’s wealth traces back before the industrial revolution to the early dissolution of serfdom relative to most places.

So let me get this argument straight:
1. Slavery and serfdom are bad for the economy. We are talking pure economics, not morality
2. Markets have freely sold and bought slaves for thousands of years
3. Slavery predates the concept of a government, it predates writing and predates ancient egypt
4. Abolition of slavery required intervention of government and violence

5. Therefore you have just made a pro-regulation argument while arguing against government.
You cannot claim that unregulated markets magically and efficiently organise economy towards it's most efficient state.

The same situation applies to child labour. The exact same situation arised with health and safety. The exact same situation arises with our markets selling precision weapons to bloody dictators that use our weapons against us.

So we have 4 spesific cases of markets delivering rettible outcome and not a single counterexample from you for marktes delivering optimal outcome.
> with abysmal performance

What makes you assume the performance is abysmal? If employers only suspect overemployment based on worse performance, then that leaves a possibility that there are plenty of overemployed employees who don't have worse performance.
I don't think this is the default configuration but it is an option to avoid overcommit.
I'm still working and gaming on an i7 6700k (4C/8T @4.5 GHz) coupled with 16GB of 3200 MHz memory and it's doing a pretty good job at keeping my "I want to upgrade my PC"-money in my pocket. It'll eventually happen but as of now, I don't really miss the extra cores while playing "older" games.
You mean like airports? Or the existing rail infrastructure? Either way, additional HSR is doable, just not enough juice for the squeeze. Suburban commuter rail would have a higher bang:buck ratio
I would imagine you could create a shared medicine treaty group and structure it with explicit membership qualifications and then a voting on membership and long enough delay to make the membership politically tenable.
Don't get me wrong, I'm not saying that there's no value in programming languages

I'm saying that programming languages aren't they only way to get familiar with concepts
Musk retracts his decision and will continue to fund Starlink in Ukraine
Maybe a naive question: how about cdns like cloudflare? Too costly?

Edit: and also P2P style caching? I would expect a big number of users can act as relays?

And, IPFS, why not.
I think the point of a SPA is not how to refresh the screen when you have to do the round-trip to the server. The point is that you can do more things without making the round-trip in the first place.
It was a smart move of Intel to still support DDR4 with the latest gen, letting AMD take the hit for the initially high prices of a new DDR generation. Let's hope AMD at least got to simplify their chips a bit by going 5 only.
Posting it again with the new URL -

https://news.ycombinator.com/item?id=33222210
+1. I once wrote an article exactly describing this[1]... but I think that learning concepts involves learning different languages because the concepts are not implemented the same way in every language and seeing different implementations helps understanding the nuances and differences a lot.

[1]: https://pilabor.com/blog/2021/05/learn-concepts-not-framewor...
I'd love to see this. There appear to be some programs to monitor usage and dynamically add more swap but they all appear buggy and unmaintained.

If course if you need more than a bit of swap there is something suspicious about your system but I have often found this extra RAM is useful. For example I often have many open files in my editor, great candidates to swap out the ones that I am not currently editing. Or /tmp in RAM, I don't need it persisted but if the RAM could be better used for other things feel free to swap the unused files out.
That sort of thing carried over into Jobs' next company NeXT. Look at the left hand page (linked below) and zoom in. It's a press release for a new (fictional) blues album that would appeal to the "hip" audience NeXT was hoping to target.

https://archive.org/details/NeXTSTEP_User_Guide_1994/page/n3...
“The hell with it”–Elon Musk to keep funding Ukrainian Starlink service
>Well yeah learning a wide variety of languages is a good way to do that.

Well, depends what concepts are you talking about.

Computer science is huge as hell, concepts that you may learn from programming languages are just subset.

There's a lot of interesting and hard stuff that does not touch those (I'm not focusing on some domain-specific-languages that nobody know about)
Has anyone used this in video games? FPS? MMORPGs?
I don't think there's a single accessibility feature that is not also useful for a subset of people without any disabilities. Accessibility is just one way to introduce something, that doesn't have to mean it's not useful in other ways too.
>the connection to "my car" is much more emotional than it should be.

Who is anyone to say how anyone "should" feel? Or "should" do anything? If you had said "more emotional than it could be" you'd have a point.

Cars provide people the ability to travel almost anywhere whenever they want. They also provide shelter and become personalized spaces. I think it is natural to have an attachment to something with those kinds of roles. They speak to very primal instincts and needs.

I have a pretty strong attachment to one of my bicycles. Irrational? Sure. Human? You bet. The same goes for my best (for me) trumpet.

When the economics of not owning a personal car make sense, they will become less important and there will be less attachment to them in this way, like folks in NYC have towards cabs.
Just switch to a terminal.
Without wanting to be callous, 47 people in 10 years, then look at common cold, flu, covid etc. It should be very low on the priority list if you optimise for saving lives.
Thank you for explaining - as a consequence of illness and disability, I can understand the need.

But why someone would intentionally make things more difficult for themselves as a preference, I don't get. It would be like walking around in crutches when you have two perfectly healthy legs.
I wonder if the P/E core thing is here to stay. Sure, we had it for a while now on phones, but I'd say they are still a different target when it comes to the desire for power saving.

Overall they cause additional complexity for the chip itself, the OS scheduler, and software developers. See the whole AVX512 debacle. It seems like a quick solution, but once the performance race slows down again it might just make more sense to focus on making the fast cores more power efficient when under light load.
I always disable animations on my Android phones because everything so much snappier, even on high-end devices.

Whenever somebody tells me they want a new phone because their old one is slow, I recommend disabling all animations. After that they usually just keep their phone because it feels like it's new again.
The nice thing about swap here is that the kernel is under no obligation to sync the data to disk "soon". I have lots of tmp files that are written and read quickly and never hit the disk. With tmpfs+swap the kernel is free to swap out unused files if that memory is better used elsewhere, but otherwise won't bother touching the disk.

I do a lot of builds on my system and most are small enough to entirely live in RAM. But when you build Firefox it is best to start flushing some data to disk.
Excellent! I'd love to have that on Linux.
Computation Hazards (2012)
I totally get where you're coming from, most employment of CSS animate and transition is excessive and reduces UX.

The rule is that you should never have to wait for a UI animation - That said, UI animations done correctly, which are subtle and extremely short, do enhance perception of UI controls state and transitions. But I can't blame people for the broad hate towards animation on the web, so much of it is done poorly in a way that detracts from the overall experience.
That was the exact same with the khettaras, they were built and Maintained by the communities.

Talking about notion of a central authority that provides governance is an anachronism in the context of North Africa. But that’s a separate discussion.
Astraea
Depends on your definition of faster.

Bonding can give you higher thoruhput, assuming you have multiple tcp sessions.
Also Next didn't go bankrupt it was acquired by apple for 430 millions $ and provided the technical core on which modern MacOS and iOS were built.

Another minor company founded by Jobs while he was away is Pixar...

Steve Jobs didn't exactly came back at Apple by sneaking in shamefully after a lucky coincidence, his come back was actually a big deal for those who remember.
Check out NC State student radio out of Raleigh. They got a transmitter upgrade a few years ago so now you can hear them beyond the city limits (FM 88.1). And of course they stream. It's a really well run station and you'd be hard-pressed to tell the difference from a commercial station, except there are very few ads and the DJs are allowed to pick the format of their time slot.

Friday nights are Penitentiary Request Rock - the inmates at nearby Central Prison will mail in song requests to the DJ. Only in America :)

https://wknc.org/
People only see privacy issues, after they have been used against them, and further, after they have had detrimental impact.

Look at how for decades, people cited Facebook privacy concerns, about their tracking, and data collection policies. People were discussing this, railing against it, for 15 years before it caused election interference(Cambridge), and deaths world wide(civil wars).

Most people, including those in the industry, just did not care. Facebook is fun! We make money using it! Who cares!

This is quite typical human behaviour.

As an example, I note how people who have been worried about Facebook for decades, think using cash is weird.

Meanwhile, banks collect immense data about people, share that data with others, including associative data. Banks know more about you than Facebook, and even use their power to restrict cash usage.

One day, if this decades long, slow trend continues, two human beings will be unable to exchange money, without a third party being involved.

Considering that the US government already tracks many forms of payment in the US, post 9/11, and secondly, purchases tracking info from private corps, anyone who worries about privacy?

Well. Such people should be using cash as exclusively as possible.

But what do you see from tech inclined privacy advocates?

Paying with NFC or RDIF on their phones. Using credit cards. Complaining about cash. Not carrying cash.

Not using cash.

The battle to retain anonymous fiscal transactions is more important than online tracking, for there is little "out".

EG, you can leave your phone at home, but you still must pay for things somehow...

So do not be surprised. People only care about privacy after death, destruction, and political destabilization.

They only care, after, not before.

Convenience first, after all!
Is this actually a concern? If so, that's actually a huge deal to have so many people from an "enemy state" working in a field.

Do you have any numbers or sources on that?
What are you using on the backend?
It's a bit crap that this needs conscious work by developers to implement - I feel like with just a little more thought put into the CSS spec itself, that animations could have defaulted to following the user's OS settings unless the dev explicitly marked them as necessary.

Edit: not meaning to absolve developers of thinking about a11y, or to accuse css spec designers of negligence, just making the point that a system/spec that gets devs to do the right thing by default would be a great thing.
I also like htmx and this kind of comparison is fruitless. The executive summary talks about LOC, build time, # of JS dependencies, etc. Nobody started using React because of these things, so it misses the point. It doesn't compare htmx to react on the matters that really matter to people who chose react...
I use a thinkpad-style keyboard and my mouse is on the homerow.
It feels like that is much more efficient than this, as you get the precision of the mouse without having to move your hand.

I don't understand why more people don't adopt it. Is it because it's so different from a normal mouse ?
Evolutionary advantage? If you don’t have an “ego” you may not protect yourself and loved ones. Species that don’t have it (or in the same quantity) rely on playing the numbers game by reproducing like fire. I bet most mammals have some sense of consciousness due to the complexity of being and breeding cost, with humans being an extreme.
I agree, but certain concepts exist strongly at the language level. Like functional programming, Haskell for example: the power of static typechecking along with good type inference, or functional/immutable patterns, or programs as data (IO monad).

Or Prolog and logic-based declarative programming.

Or any GC'd language.

Or a Lisp and its metaprogramming.

I daresay these ideas would be very difficult to see the practical use of, or "impractical" beauty of, without touching the languages.
List of Survival Games
I think that highlights one of the issues with Linux being essentially just another clone of Unix, and thus being constrained by its limitations - both technically and in mindset of its developers.

Whereas NT was a fresh new design, by seasoned operating systems designers and implementers, who had seen the shortcomings of the Unix model (and others) and not only knew what to do differently to improve on these, but actually wanted to and were permitted to as well.
This is a weird comment especially since the background is that the OP is concerned about it happening in India.

For decades we have been unable to creates any jobs at all since we had strict employment hiring/firing rules. And look where that got us. The progress we made was because IT was given special provisions to make hiring/firing easier and that became a job creation machine.

If we change this, we will just go back to the previous state. Everywhere I look I see this trade-off so we can't get one without giving up the other in return.
Do we have one(language) that's easier to use for more mainstream takes compared to APL, I have written APL for hackfests but writing APL day to day doesn't seem viable, especially as explaining that code to my colleagues would be a pain.

Maybe a mainstream language with built-in array programming support?
Ask HN: GIF service that does not collect your data?
Are there any GIF services, like Giphy/Gfycat/Tenor, that do not collect your data? Because all of the ones I found are owned by big tech(some quite secretly) and they collect all data they can(as per their ToS).

It can be paid service, as long as they ask a fair price.