skysight-inc/HackerNews huggingface dataset:
Ask HN: Resources to learn programming from ground up?
Typically learning programming involves learning syntax, patterns and algorithms. Are there resources to learn it from ground up ? For instance why C is structured the way it is and how cpu and memory can be optimized by the program etc ?
> AFAIK there's no way to have the kernel notify you of when a different process starts listening on a port.

You can use mandatory access control for this.

AppArmour or SELinux are examples.

Unfortunately they are hard, not sexy and sysadmins (people who tend to do not sexy hard things) are a dead/dying breed
Of course, I'm just saying this is how the problem was born: remote workers were going to remote companies, than the remote companies flipped over and messed up remote workers lives. As a remote worker you should go to a remote company
I beg to differ. In 2024 we know that COW is bad regardless of whether we're talking about disk or memory.
HSA seeded with money is indeed amazing. I learned recently that HSA’s benefit from a triple tax advantage: the money goes in pretax, the money is withdrawn without tax, and any investment gains are tax free. Which - if you’re willing to do the paperwork - means you can just save the HSA money forever and pay yourself back out of it when you retire to cover medical expenses you previously incurred.
That's one of the things that makes Ello's story a bit sad. It started out as a community of people that had this natural gravity, and the early community was admirably dedicated to the experiment.
Artificially boosting a tweet about how much money you can make from tweets feels like the kind of thing that should be, and possibly already is, illegal.
Yeah, I couldn't figure out what the parent was even talking about until I realized uBlock Origin was what was allowing me to just browse the page unimpeded!
http://web.archive.org/web/20240118072928/https://www.cnbc.c...
Start with the hn rss feed (I think the firehose is more than that; 100 every few hours or so), but after skimming the titles, and before marking everything as read (two keystrokes in my rss reader) you pick which 5 (or whatever x may be) articles you'd like to look at (and/or comment on) for the day?
If such a scheme we're to compensate content creators there'd have to be some way to determine how to slice up the revenue for them. Hits and data is one way.
Your ISP probably already does that - at least re sites visited and data used.
Scientists would, while Twitter and average Joes will be discussing ad nauseam whether to rename the theory and delete the name Einstein from history books.

Wasn't there a similar discussion about renaming the James Webb Space Telescope? He was not even a murderer.
Literally everyone invested in the S&P 500 (the most commonly touted investment strategy requiring zero effort or insight) has doubled their investment value since the low of March 2020 (the dates used in the article).

SPY low in March 2020: $228

SPY now: $475
ReiserFS and BTRFS always seemed like the two big "performance over reliability" Linux file systems.
RowsX – Turn web pages into spreadsheets, an alternative to web scraping
A lot of teams at google had culture differences. And imho it was always more about andy's ego more than anything.
Not too many possibilities.

Perhaps constructive inyerferences in microwaves so that the power, and thus heating, is precisely focused within a specific volumetric location.

Oven beamforming.

Or another highly directive radiation source, again to target a specific location.
A start page, just for me
See https://myhealth.alberta.ca/Health/pages/conditions.aspx?hwi... and https://www.charliehealth.com/post/how-to-talk-to-someone-wi...

I'd recommend that you move to a place (not San Francisco) that has help for people with severe mental illness, it's the last place you want to wind up on the street.
Tax their wealth
Who would’ve thought that the way you house citizens has an impact on their interactions.
I thought this was a fantastic post. I think it really dovetailed with what I've been thinking a lot about recently regarding my disillusionment with tech (or, rather, with big tech companies).

I think everyone should understand (and, honestly, repeat daily) that in our modern capitalist system where never-ending growth is an expected requirement of any company that has ever taken outside funding, it is simply an impossibility for a company to have any kind of durable values that conflict with that growth-at-all-costs requirement. It's as much of an impossibility as the sun rising in the west, and we should stop any pretense that it's not. Enshittification is inevitable.

Nearly every tech company starts out similarly: an absolute laser focus on users and their needs, because that is how you first grow. At some point, though, all of that fruit is picked, and you then start going into features that are "user neutral" but that make money, until finally you chip away at features that look like they can be user neutral in the short term ("We A/B tested and nobody minded one more ad!"), but the long term effect is that you've completely destroyed your founding ethos.

For example, it's easy to pick on Google these days because it's, well, so easy. Their total about face from a company that was nearly universally loved by engineers to one that, if not loathed, is at best seen as the "next IBM" is so obvious. E.g. Google got huge originally with a world-first search engine by not "selling out", by not masquerading ads as organic search results. Now when I search for any remotely commercial term the entire first page is ads that are nearly indistinguishable from organic results.

It's not just Google, though. Apple loves to crow about user privacy, but it's hard to square this "value" with their insistence that anyone on iOS who uses iMessage to talk to anyone on Android gets 0 encryption (oh, and if even a single Android user is in a group chat, nobody gets encryption).

I don't think that makes any company "evil", but it does make it somewhat sociopathic in the sense that there can ever only be a single goal: growth at all costs. The sooner we all recognize it means we can treat all companies with an appropriate level of caution. One final note related to this, is that this is one reason I'm not really a fan of PBCs as mentioned in the article. PBCs are a smoke-screen. As the saying goes, "Follow the money". When push-comes-to-shove you'll also see PBCs compromise their "values" the second growth starts to be at risk.
There's tons of lazy freeloaders, dead-end projects, products that need to be cancelled, toxic underperformers, etc. All of these lead to layoffs, because firing individual people is harder, and it's nicer to just let people go in annual waves.
Of course, as you allude, the US is a large and diverse country too, where those features may or may not apply in a given locality.

I suspect, though, that on both continents, when we’re talking about these problems with the dual staircase requirement in this context, we’re talking mainly about relatively high-density developments in space-constrained urban settings.

If, as the article claims, we’ve arrived at comparable fire fatality rates under the two policy regimes, it does seem like their prevailing standards neatly capture a tradeoff: it seems like you can add safety either by socializing a fire response infrastructure capable of quicker response, or you can privatize that extra margin of safety by imposing these second staircase costs on individual developments. I’d be curious how the total costs add up, I’m almost inclined to donate to the guy’s nonprofit just to get the answer to that.

I’d be curious how these changes would affect the economics of apartment blocks on huge greenfield suburban tracts, where parking requirements rather than staircase requirements seem to be the limiting factor space-wise. I’m thinking of the kind where space is cheap enough that they do surface lots rather than building parking decks into the structure. It seems like they tack exterior staircases on the edges of the building at not too much extra cost in those situations, but I suppose the floor plan implications must still come to bear.
And with my $50 old machine I can host $5,000/month worth of "cloud" services.
The more interesting question would be how did the 5 richest people in 2020 do. My guess is some did better than others. And how does that compare to the S&P.
As ICE cars takes up less market share and EV makers needing to develop their own vertically integrated software and hardware stack (GM Ultium / VW MEB /Hyundia-Kia E-GMP) which they use to differentiator from competitors.

They no longer outsource this functionality to likes of Bosch or Delphi.
The back-of-the-envelope analysis for kite-based power is very compelling; enough that I tried my hand at designing a kite-powered system in ~2004. I don't think anyone can really appreciate how challenging the engineering (control systems) are for all-weather kite-flying until they just try to reel-in & reel-out a kite on a relatively calm day. I literally couldn't even write-down the differential equation which describes the inverse control path for the kite, when there's one vector for the kite, and one vector for the tether, under the reel-in load; none-the-less, solve the equation, and then get it to work with a freakin' stepper motor.
The takedown notice says that the "plug-ins are in violation of the terms of service". This is super odd. So what would happen if I never bought their product and hosted this repo - while not being a party to the terms of service?
But each $1 they have is only worth about $.84[1]. Though I really doubt that has much impact on any of their day to day expenses.

Plus I’m pretty sure CPI does not include private islands and rocket ships.

[1]: https://data.bls.gov/cgi-bin/cpicalc.pl?cost1=100.00&year1=2...
Why is linux supporting taking a while? I figured the underlying graphics subsystem on Android is Vulcan right? Wouldn't that also be the main graphics subsystem on Linux these days?
> When I look closer, the newer the building the better it tends to do in general.

Which should be in favour of the US, which has much younger housing stock. So likely the statistics are even worse (from a US standpoint) if we consider building age.

>And as the article itself points out, Europe doesn't use nearly as much wood which changes things

Actually many new large buildings in Germany, Scandinavia... are build using timber constructions.

>(not always for the good - Europe tends to have terrible insulation and their construction materials are not helping - though newer buildings do well here)

You are joking right? When was the last time you have been to a northern European building? From my experience they tend to be much better insulated than most US houses (likely also because energy/heating costs tend to be higher). The passive house standards originated in Germany.
So, and assuming it is true, we now know which company not to buy appliances from.
German developer guilty of 'hacking' for exposing hardcoded credentials in app
Worse, this low standard is used for civil asset forfeiture. So the police can legally steal your assets with next to no legal recourse for you.
Thankfully it's not much of a loss, and there's actually a lot to gain by not touching Philip's cloud.

If you use HomeAssistant and have some Philips Hue equipment, you can pick up a $30 coordinator and you'll be in full control. It's a nice bonus that compatibility with other zigbee devices expands dramatically.

I got rid of my Hue Hub ages ago.
https://reviewed.usatoday.com/ovens/features/we-tried-an-ove... is a much better writeup.

It seems to be a directional microwave, where it monitors how much microwave gets reflected back as a proxy for how much is being absorbed by the food in each spot, so it can ramp up/down the power as necessary to deliver the requested amount of energy. Pretty neat.
Oh boy I for one can't wait to see how they squeeze additional shareholder value out of the rock year over year /s

Has there ever been an instance where a tech IPO resulted in an improved end user experience?
Valve aren't so innocent themselves, they introduced the world of gambling to literal children through the marketplace of skins and Valve's tacit approval of 3rd party gambling sites.

I'm honestly surprised they never got raked over the coals by some up and coming State Attorney General, would be an easy win and easy political points.
Show HN: Auto-generate load tests/synthetic test data from OpenAPI spec/HAR file
Hey HN,

We just shipped a new AI-powered feature... BUT the "AI" piece is largely in the background. Instead of relying on a chatbot, we've integrated AI (with strict input & output guardrails) into a workflow to handle two specific tasks that would be difficult for traditional programming:

1. Identifying the most relevant base URL from HAR files, since it would be tedious to cover every edge case or scenario to omit analytics, tracking, and other network noise.

2. Generating synthetic data for API requests by passing the API context and faker-js functions to GPT-4.

The steps are broken down into a simple flow, with users working with the AI and verifying the output throughout.

All of the focus is on reducing cognitive load and speeding up test generation.

Let me know what you think!
No shit. Imagine how many small businesses had to close due to shutdowns. Everything about the Covid response in America was a disaster.
RSA-KEM is nice, but RSA keygen is expensive. That makes using RSA for ephemeral key exchange less attractive than ECDHE. RSA-KEM is fine for static-static key exchanges, and RSASSA-PSS is fine for signatures. But we often want ephemeral-static or ephemeral-ephemeral key exchange, and there RSA is slow for little benefit.
A little trolling going on in that Wikipedia page. It captions the Cambridge photo as "Three-decker", where locals would call it a triple-decker. It then captions the Worcester photo as "triple-decker", where locals would call it three-decker.
The MBAs probably did not want to invest into anything. I see it all the time, it feels like they never thing more than one year ahead.
There's no such thing as playing fair it's just national industrial policy.

Every country has one.

The change was that ours went from "try to have industry in this country" to "my friends make money offshoring stuff" instead.
This is precisely the category error the author is making: because the Middle Ages were an era of epic poetry, therefore all the descendant institutions from the Middle Ages belong to the methods/standards of epic poetry. It's nonsense on stilts.

Forcing Pindar's odes, Homer's epics, Njal's Saga, Dede Korkut, the Epic of Gilgamesh, and the Arthurian legends to follow the rules of the scientific method, and citation, and falsifiability, and judging them as stylistically and culturally deficient because they didn't sufficiently cite their influences would be bonkers. They would be ruined as pieces of art.

The reverse—allowing an R1 university to produce scientific knowledge using the rules of High Middle Ages poetry—is similarly ludicrous and ruinous.
> Developers develop because they make money doing it

Not all property is owned by developers. I would go even further and say that most properties are owned by non-developers.

Some people use land as store of value. We as a society would be better off if they used, e.g. gold instead.
You were not kidding. That article really covered a lot of the obvious questions I had (and was the single best thing I've ever read on Quora).
Anyone that owned property or assets benefited immensely from the inflationary period during COVID.
March 2020 seems like a pretty arbitrary starting point
Davos puts climate on the back burner
By being 60m2 big? I mean, helicopters are also not being attacked by eagles, why would this kite be?
> Many people in Europe do indeed identify as European

I'll admit my surprise. US has a lot of variety, still I'd have expected that residents of Anchorage and Manhattan have more more in common than residents of Iceland and Malta.

> We are talking about multi (>4) story, multi family apartment buildings, how are wildfires relevant?

> Again we are not talking about requirements for some cottage in the woods, these are city buildings. The whole argument is for buildings where you have space constraints.

> Again I don't see the relevance, we are talking about a national building code, but only a tiny fraction of US cities are earthquake zones. The article also asserts that most Asian countries (which presumably includes Japan) have only one stairwell requirements.

I think you are underestimating the population densities of US cities. I live in a major city and wildfires have burned homes a few miles from me. Residential areas are vast and fire departments are few. I'm also not sure how you can say few US cities are in earthquake zones - maybe if you squint at the numbers, but most if not all of the west coast, Alaska, and Hawaii are in earthquake zones. That's a pretty large chunk to hand-wave away.
I wonder if you could make the kite itself lighter than air to avoid issues where the wind dies down? E.g. a kite shaped airship.
Workers are filming their layoffs, then posting to TikTok. What could go wrong?
Apologies if this is too tangential, but I wonder if we would see fewer of these "we failed, sell the bones out to any charlatan you can find" sales if the US had a better support system for people that ensures they're not out of healthcare or housing if they take some time off from working.

If I invested a bunch of time, effort, and vision into something and had nothing to show for it while nearing failure... I'd be very tempted to sell just so I don't have to go straight from failure to job hunt. This situation seems outrageously stressful to me... I literally don't even know what I'd do if I broke my arm or came down with some serious illness while in the inbetween state.
You can run a benchmark on tesla that will do full discharge/charge cycle.
Except there are often fewer people per exit in single-exit designs and the exits are closer to each apartment
Mh, I guess you got a point. I still stand with what I said more or less though.

While you don‘t always need formal maths it gets much easier when you have a formal education in the field.
Yes, it's a curious coincidence that the people writing this report, surely in good faith, just happened to pick March 2020 as the point of comparison.
Since 2020, eh? Well, that's a familiar-sounding year... how much has it increased since 2019? And don't forget inflation. (Oh wait, it's from Oxfam, cherrypicking years and 'forgetting' about inflation is just par for the course with their reports.)
"Aiugh. My brain just broke.

How does a noob like me learn about these systems. I know it all probably makes sense to the learned. But with my folk (mis)understanding, these claims sound counterintuitive.

Thanks. "

don't worry, your intuition is right. you are on the right track when you say that your brain broke. you are more learned, or rather, more wise than those guys.

because a lot of economics is BS, a hotchpotch of some art, craft, heuristics, observations and formulae, pretending to be a science.

this is exactly why economics is known as "the dismal science", and why there is a saying that if you get 20 economists in a room and ask them the same question, you will get 20 different answers.

(italics mine)

I studied economics in high school for a whole year (11th grade). the course covered both microeconomics and macroeconomics. the Samuelson (MIT prof., IIRC) book was one of our text books.

I did well in class, was among the top few students.

I made some penetrating comments to which my teacher had no satisfactory answer. it was on a situation / question regarding OPEC (the oil cartel).

from that time on, and also from subsequently reading economics articles and news now and then, I could intuit and piece together the opinions that I stated above. :)

so, not to worry :)
Forcing Apple to allow alternative app stores might cause major security risks
R"(x)" literals are neat not just because whitespaces matter, but also because they are tokenized before macro expansion. Thus you can write a C23 detector like this:

#include<stdio.h>

#define r(R) R"()"

int main()
{
puts(r()[0] ? "C99" /* r() evaluates to "()" */
: "C23" /* r() evaluates to "" */);
}

Output: https://gcc.godbolt.org/z/Wj3s6KEGK

I have used that trick here:

https://www.ioccc.org/years.html#2015_yang

(C23 wasn't a thing back then, but the same trick can be used to differentiate C++11 from C++98).
Original link: https://messaging-custom-newsletters.nytimes.com/dynamic/ren... but the query string is getting truncated unfortunately.
PL/I was infamous for it being possible to express valid code that read "IF IF THEN THEN ELSE ELSE".
This gets lost a lot - just because you can prove uniqueness doesn't mean it's persistent or repeatable. Some of the "uniqueness" factors include things like number of audio devices or battery life.
MBAs are taught techniques for optimizing for quality and cost. It's not always an either/or decision.

Even when it is an either/or situation, sometimes it's better to build a product that is half the price for a quarter of the lifespan. A buyer who will use a tool for 30 hours doesn't really care if the service life of a tool has been reduced from 1000 hours to 250 if the price is halved.
Only if you're willing to stake your company's digital existence on the reliability of another company's cloud service.

If anything, it increases the need for 3-2-1 backups: the original copy of all of your files are on somebody else's computer that you have no control over. Hopefully they're keeping it backed up, and hopefully they don't go belly up and pull the plug all of a sudden. So you can use a primary backup in another cloud service from another company that hopefully won't kill their product at the same time as the other one (again, you have very little knowledge or control of the way they run their data center). Ultimately, it's a good idea to have a copy of your data that you have control over, maybe in a big drive (or set of drives, tapes, etc) in the safe, rotated daily/weekly/however long your company can cope with losing in a major SHTF situation.

Excessive? Maybe. For what it's worth my shop is locally hosted with both local and cloud backups. I have never regretted having at least one backup of anything and it's saved my bacon (or my coworkers', boss', etc.) a number of times. I've been fortunate to never need to rely on a secondary backup, but I sure wouldn't bet the company on it.
are you saying systemd was refusing to restart after manual intervention?
Yak shaver?
Fortran '90 and later has some requirements for blanks, but a parser that also needs to be able to parse F'77 can't rely on them -- so I have to go out of the way to detect missing blanks and complain about them.

This feature makes some tokenization ambiguous without context -- is MODULEPROCEDUREFOO to be interpreted as "MODULE PROCEDUREFOO" or "MODULE PROCEDURE FOO"? But tokenization without any reserved words is a tricky problem anyway.