skysight-inc/HackerNews huggingface dataset:
Pretty good work so far. Some nitpicks…

The library uses malloc rather liberally, but rarely (if, ever) checks the result. Allocation functions failing to allocate is a recoverable state¹.

In addition to this, the library does not provide a builtin mechanism to override malloc from the stdlib. Freestanding targets exist! Also, on hosted targets, who isn't using aligned_alloc in at least some places nowadays?

Having to do the following song & dance sucks.

#define malloc xmalloc
#include <yourthing.h>
#undef malloc

[1] I'd wager most C programmers today write programs in C to exercise as much control (maximal determinism?) as possible without having to write in *-Assembly. Yes, I'm aware that its abstract model of computation and semantic complexity make it anything but "low-level", but C can get rather close on some architectures with some compilers.
Weighted sum, sure. (Average is normalized).

But it's not just one sum, but a _collection_ of weighted sums, and those have a particular order for reasons.
Just have a jammer on school premises and use mac auth for the wifi in addition to the the metal detectors at the entrance.
Something I find helps with this in particular is only allowing style comments with citations to an actual style guide item. (I talk about domain-specific style guides as "crystallized arguments" - we agreed on this and wrote it down, not because it's necessarily right (though it probably is) but that we really wanted to stop wasting time arguing about these particular things.)
It would be nice if functions that take a `const char*` parameter also took a `length` parameter where appropriate.

There's a whole lot of `strlen`'ing going on!

Cool though
I'd estimate in NYC that 90% of deliveries I get are made by bicycle, so their average expenses are comparatively very low.
First time I’m hearing about this for recipes, what’s the source?
This. But also for any data for any enumerated type.

It's so effing stupid and short sighted.
Because the store chooses to show footage for which it is optimized, not a movie. But there's also the consideration that it looks better at first sight when you walk past it, than it does when you watch a whole movie looking straight at it.
Averages are normalized. Convolutions only are if they integrate to 1.
I should have been more clear. An audio/video receiver.

Beyond Bluetooth optical audio is quietly pretty decent.
If such a weapon was developed, can you think of a scenario in which it's existence would be secret?
Surprisingly, in the list on that page OKI isn't even mentioned.

I had a small OKI databook once with a variety of 4-bit cpus in them (most if not all CMOS, iirc). Obviously geared towards deeply embedded uses like toys, sensors, basically: battery powered uses where speed isn't important but every uA counts.

Allthough it's possible those OKI parts where just 2nd sources of ones in the WP list.
I'm not defending how Spotify strategizes or delivers. I'm just saying that given their surface area, it's not difficult for me to imagine that a big chunk of the company is running on developing a bunch of parallel efforts.
Authors claim their mechanism is more computationally efficient (both asymptotically and on current hardware) than the Transformer attention, while performing much the same role, yes
Nit: Most food delivery workers in NYC are on e-bikes or mopeds. There are surely some drivers but it is prohibitively difficult to use a car for food deliveries in nearly all of Manhattan and decent portions of Brooklyn/Queens/the Bronx.

As it is there is public outcry about dangerous and aggressive riding behavior from food delivery workers. It is not strictly a bad idea to tilt the incentive structure so that while you can earn a little extra on tips for completing more deliveries, it's not such a huge part of your earnings that you need to cut corners, ride the wrong way on one-way streets, ride on sidewalks etc. to hyperoptimize your delivery rate.
Plenty of things are associated with cognitive growth. For example: gaming and reading.
Singapore's not an economic system, but rather a country. In any case, it's still got corruption. Bribery is one form of corruption, and I have no doubt whatsoever that you can bribe someone in Singapore.

https://www.transparency.org/en/cpi/2022/index/sgp
I've been taking a similar, but somewhat different approach to upgrading some old Knockout projects to mostly Vanilla JS+RxJS.

Here's one example app: https://github.com/WorldMaker/compradprog/blob/main/main.tsx

One of the obvious differences is that I'm still using TSX, but it is very different from React, it just looks a lot like React at first glance.

Also, because I was doing it across at least a couple of projects, I started it from the beginning as its own small framework and have been trying to document it: https://github.com/WorldMaker/butterfloat/tree/main

It's still very much in early "prerelease" stages, but feedback is welcome.
Because anyone that has ever been responsible for anything knows that there’s a difference between something being your fault and something being your problem.

Breach notification etc legislation in some jurisdictions will also require that you report successful widespread credential stuffing.

Even AWS with their “shared responsibility model” works with GitHub etc to ensure that programmatic access credentials aren’t accidentally exposed via public repositories. This isn’t credential stuffing, but it’s a blindingly accurate demonstration of the fact that drawing a line in the sand and saying “users, work it out from here!” and attempting to wash your hands of the situation is nothing more than the ill-informed pipe dream of someone that’s never had to deal with this stuff in reality.
It’s probably close to 10x the price.

I occasionally buy stainless steel strut and a 10’ stick of 12ga 1-5/8” deep SS 316 strut is around $250. The same strut made of galvanized steel is around $40.
We had friends who got Domino's every Thursday. On days when they hadn't called by a certain time, Domino's would call them and ask if they wanted their usual.

(This was in Tegucigalpa in the '90s, fwiw)
Yeah there’s a reason no one’s heard of it. It’s basically the installer & updater for Cloud Foundry but there’s a bunch of other incidental stuff that’s had Bosh Releases made for it over the years, including Kubernetes.

It creates VMs. Mostly Ubuntu Linux but there’s a slightly demented way to deploy Windows boxes too.

Hypervisor support is provided by a plugin system called the Cloud Provider Interface. Last I heard vSphere, GCP, Azure and AWS are all reasonably well tested and maintained by their respective companies. Open Stack technically is there but it’s a nightmare and not well commercially supported. I’ve heard of stuff being deployed to Alibaba and Oracle but never seen those systems myself.

In practice this is mostly used to manage VMs into vSphere clusters.
Providing "base load" is often touted as an advantage of nuclear power plants (NPP) here on HN. The reality is actually the opposite. As the International Atomic Energy Agency says[1]:

"Any unexpected sudden disconnect of the NPP from an otherwise stable electric grid could trigger a severe imbalance between power generation and consumption causing a sudden reduction in grid frequency and voltage. This could even cascade into the collapse of the grid if additional power sources are not connected to the grid in time."

Basically NPPs are designed to SCRAM for all sorts of reasons, then the sudden loss of multiple GW really ruins the grid managers' day. The first paragraphs of [1] make it clear that a large, stable, grid is a pre-requisite for NPPs not a result of NPPs.

[1] https://www.iaea.org/sites/default/files/gc/gc53inf-3-att5_e...
Have you considered a pihole with a blocklist config which covers social media domains?
#keeper
Why are jumping to satellites? They don't perform well, and there are a lot of other options. Fixed wireless and cellular spectrum come to mind. Both are way cheaper than launching thousands of satellites.
But can you make the UI not super laggy?

I recently acquired a very old Sony TV it reminded me how lag-free TV interfaces are supposed to work. But nooooo LG is like "we're going to make great TVs but the UI is a poorly written web page running on a 386, enjoy!"
teachers/faculty?
This is cute, and probably useful for hobby projects. If I may, it would be nice to have slightly more generic versions of some of the interfaces, and perhaps consider dropping "maximally" efficient from your tagline. Not only is it cleaner, you are less likely to get yelled at by people who focus on code like this:

/* Function to concatenate multiple strings into a new string */
static inline char *concatenate(const char *str1, const char *str2)
{
size_t len1 = strlen(str1);
size_t len2 = strlen(str2);

char *result = (char *)malloc(len1 + len2 + 1);
strcpy(result, str1);
strcat(result, str2);

return result;
}
I forgot to list Bitcoin as another one that launched with no VC money :)

It is remarkable how many of the tech companies that have lasted the longest and got the biggest started off so lean... (although BTC of course is not a company)
> a product that should be illegal to sell

Is the suggestion that should be "marketing that should be illegal"?
As a former student of a Minnesota district right outside Minneapolis, it's interesting to me that they were allowed at all.

When I was in school in the late 90's / early aughts we weren't even supposed to have our Discman or early MP3 players on school property. We all had them of course, but if they were seen they could be confiscated - I think it was largely an empty threat but I never saw anyone push it. Some teachers would happily allow you to use them in class.

They were also VERY suspicious any time you had your graphing calculator out outside math class, and some of the ruder study hall attendants would clear your calculators memory of games.

Gameboy or anything of the like certainly would not have flown. I remember my friend actually getting special permission to bring his laptop in.
Yes, of course. I don't see that as very related to my point. For example, consider how 538 or The Economist predict elections. They might claim they'll use squared error or log score, but when it comes down to a big mistake, they'll blame it on factors outside their models.
There are still more amazing places to eat in NYC than you could comfortably visit in a lifetime. I can't even keep up with the new places that open in my own neighborhood.
Well it is, sort of, but treating one of the functions as weights and the other as the thing that is averaged misses out on the symmetry f*g = g*f
>One of the pre-requisites for that is being profitable on a GAAP basis.

Uber lost money for 22 straight quarters, then made money for the last two. Bit optimistic to think it's smooth sailing from here, in my opinion. I enjoy Uber, the product, but they are middle manning a couple of low margin industries. Hard to imagine it being a multi-hundred-billion dollar company.
Wow, that's a lot of expensive trouble to go through to cover up. I wonder what the penalties would be otherwise - I'm sure there is some kind of code it broke but it's not obviously illegal. It's like me crashing my car on purpose.
I’m not sure that’s true. Only change I saw was a growth of fine dining Korean food in nyc
The jammer will get you a visit from the friendly people at the FCC.

Much easier to just make your school have some thick walls that prevent cell signals :)
Versions are a communication tool.

There is no best tool for all jobs.

Write down your communication objectives and pick a versioning scheme which fulfills them. Want to communicate api compatibility? Use server. Want to communicate a new version worth at least checking out? Bump that major version.
Maybe. The only problem I see is economical. Sure, sending over a sequence of prompts, instead of sequence of frames, is going to be a huge storage and bandwidth saver. However, you're going to pay for it dearly, in compute, whenever you want to watch such a live-generated video. In almost all cases, it's vastly better to use more storage than to use more compute, for the same reason that, if you need to keep something to stay above ground level, you're better off placing it on a table or bolting it on a wall, instead of attaching it to a jet engine pointing downwards, firing for TWR=1.
Some observations:

1. Who owns the memory? How is the memory freed?

2. C doesn't have a lambda syntax, so using functional idioms like map, etc is a bit more boilerplate.

3. Lack of generics is painful (print_ushort_array, print_double_array, print_ulong_array, print_long_long_array)
fellow teenager on hn spotted
No, predictive interval is more precise, since we are dealing with predicting an observation rather than forming a belief about a parameter.
It’s not poo pooing fears to highlight that the cost is 2bn/year for decommission a weapons reprocessing plant and that in no way provides information about commercial nuclear power. It is economically viable considering it’s still cheaper despite not having any meaningful investment to reduce costs.
I wish there were Indian curry vans instead of ice cream vans, driving around the streets playing distinctive music from 5-8pm. Group buy discounts for individual streets to promote pre-purchase, etc. Do a different suburb each night of the week. Please someone make this.
An academic team isn't the same as a team in a company though, right? My understanding (which could be incorrect) is that a PI is almost like the CEO of a startup which happens to have the goal of doing research, and operates in the context of a university. A PI is not like a team lead in a company . Each PI-led team is doing research independently of the rest of the department. I have the impression it's not even expected to outlive the PI's employment there.
https://rclone.org is a very effective storage shim. You'd still want to limit supported backends to provide a smooth UX. There are binaries for the major OSs (including BSDs, Plan9, and Solaris). They have Android builds but they are not first class (yet). Unfortunately I do not see any support for iOS.
Are the agents independent or are they affected by neighbors? It would be nice to see some classic ABM examples like wolf-sheep population, flocking, and wildfire spread to demonstrate the utility of this.
This sounds similar to how TypeScript versions are named and it is a huge pain to me. Can I upgrade from 5.2.2 to 5.3.2 without everything breaking? Who knows. I thought I could, but I was wrong. Semver (when followed correctly, of course) would've conveyed this information instantly.

I don't care about the branding, I just want my code to work. (Disclaimer: I am obviously not in marketing.)
A photo of the UI would go a long way here to making people want to try this and some audio samples/video samples!
High blood pressure may be not a cause of cognitive decline, but just a consequence.

This is what happens in malnutrition. Absence of nutrients and coenzymes (vitamins) leads to energy deficit and results in cellular damage, nervous system tries to compensate that by increasing blood flow, so it induces high blood pressure to have better chances of survival with increased blood perfusion and substrates delivery rate (glucose, lipids, oxygen, coenzymes). Immune system gets activated by metabolically impaired tissues creating even more damages at the affected areas.

Changing electrolyte balance of the body by giving extremely high amounts of salt is a sure way to disrupt the metabolism with all the consequences.
I live in the NYC suburbs.

COVID killed a number of restaurants, but some, thrived. A couple of local sit-down restaurants switched to take-out only, fired all their waitstaff, and probably got a lot of financial assistance. They made out well.

A couple, never went back to in-house dining. They are still take-out only.

Doordash became huge around here (Ubereats, too). Pretty much every restaurant does them.

The prices have gone way up, for many of these places. A few places have doubled their prices, in just a few months.

Not sure of all the causes, or the long-term effects, but I am not seeing too many "Help Wanted" signs.
After my last bunch of medical issues, I lost confidence in this field almost entirely.

Doctors (or at least most of them) are not critical thinkers. They simply repeat the knowledge they have seen in textbooks or in other patients. As soon as what you have is out of the common path, you are on your own.
I had to do my own research to figure out the cause of my symptoms and bring those to my doctors that agreed with my research.
Maybe even

<script src="my-macro-name" type="macro"></script>
> In any case, _THIS_ is innovation. Actually playing with models and finding things that are better for everyone

Yup, that's a good point. The current model doesn't seem to be sustinable.
And out as a book shortly

https://fallofcivilizationspodcast.com/2023/10/16/fall-of-ci...
It is subtle. 'Radio activity' is one word, the same word, in German.
How am I supposed to complete the LinkedIn quizz for HTML (the programming language) when the documentation states that <bdo> will result in values "anded" together >:(
100% as someone who used to support Kubernetes commercially, long term support is an engineering nightmare with kube. My customers who could upgrade easily were more stable and easily supported. The customers that couldn’t handle an upgrade were the exact opposite - long support cases, complex request processes for troubleshooting information, the deck was probably stacked against them from the start.

Anyway, make upgrades less scary and more routine and the risk bubbles away.
Same here. Our public school here in Menlo Park doesn't allow smartphones to be used at school, and I think even Apple Watches are technically prohibited.
United resumes Dulles-Beijing flight that costs $8,612-$47,493 round trip
Rizz - Oxford Word of the Year
Could make New Year's Day into one day that belongs to no month, to get to 365, and every four years have an extra New Year's Day to get to 365.25
I love GitHub actions and think gitlab is okay.

I found actions easier to use
FWIW, in the US, the FM band is 87.9 - 107.9 MHz, odd decimals only, for 101 possible channels.
So much money gets funneled to rural areas. Billions have been spent on rural broadband but it is slow to spread. I am from a very rural area, we were 30 minutes from the nearest store except for a small gas station 10 minutes away. 2+ hours from the nearest airport (although minutes in several directions from tax funded municipal airports, which is a whole other can of worms of subsidies for wealthy rural citizens), and just last year, a lot of locals got symmetric fiber to the curb, several miles down a dirt road with a few hundred people living on it. Annoyingly, my family still doesn't have it because they don't live near other houses, even though the stinking fiber branch runs across our land. But I digress. So much money flows to the rural poor, in different ways than the urban poor, but we are still living in a world that for centuries was built in a way to advantage white people. And the rural poor are mostly white. While the urban poor are mostly brown.
> all of the smartest people I know

Is it your thought that the post and “I know” part translates to all smart people? Perhaps the original post was edited?
Ok, I guess I'll do Advent of Code in HTML, the Programming Language this year...
Any maximally efficient C library should ideally do zero allocations and if it needs to, ask the user how they manage their memory.
There are red flags in some of the function signatures that the author doesn't understand C.

For example functions that I guess are meant to be generic arrays that take int*. You could write volumes on how to approach generic arrays in C but this is certainly not one of them.

Also the use of "c standard library" is weird here. Any C programmer reading this phrase assumes a reasonably standard conformant libc. This is a bunch of interfaces the author made up.

Sorry for being negative but this doesn't pass a "production quality c code" at-a-distance sniff test.
So the handful of _Julia users_ with their totally unreproducible REPL mess can "trivially" plug in their types? Also saying the horrible mess that is Julia's module system is "trivial to package" is delusional.

I didn't package it and the data mangling part has very little use outside this specific experimental design. Also Python's packaging is quite shitty.

The C++ code is totally standalone and can be git-pulled and compiled how you like. C++ packaging is totally abysmal.

As I said in the comment and the README the code is a mess (although a piece of art compared to the notebook shit out there). It's purpose is that the results can be reproduced from the raw data.

I would love to make my analysis code cleaner. But there's zero incentive for that and very little time. Nobody sadly cares about the code, and most scientists can't code for shit. This is probably why Julia was designed so that it forces your code to be shit.

Sorry but the tone, but you kinda set it.
Ah, thanks, that's what @tmtvl was talking about
I don't want podcasts in my Spotify, but it makes sense to me why Spotify wants to do it. Or rather, the opportunity they see.
There is the Wait Until Eighth campaign (though I personally think 9th makes much more sense, given the break between 8th and 9th grades. https://www.waituntil8th.org/
I assume 20 years ago "desk work without ever touching paper" would also have fallen into the "will never happen" bucket, but here we are.

Hand writing will always be there somewhere, but paper going away doesn't feel unconceivable to me.

There is a strong counter reaction to tablets ("screens") and it's still costly (looking at the 12"9 ipad...), heavy and and cumbersome, so small kids today who do most of their writing on digital device would be a crazy small minority.
I don't think it's fair. Maybe the communication has been poor to the broader community, but to anybody interested in the technical consequences I think it's always been clear that a big part of the point of superseding X was that X had taken on a set of responsibilities that didn't make sense to put together (in the view of the Wayland developers). "Wayland is being sold as an X replacement" is a drastic oversimplification that you might take away if you're in the habit of reading just the headline and first paragraph of blog posts about it.
(too late to edit...) P.S. Not in the sense of "when will you have a baby", in the sense of "was the baby conceived before the marriage"
Thanks for explaining how it works - I don't use R (I assume this is R). This does not seem like a good way to produce "error bars" around a forecast like the one in this case study. It seems more like a note about how much volatility there has been in the past.
"But it’s not all sunshine and rainbows... As you spend more time on HN and start reading the replies, you’ll notice that HN is, unfortunately, toxic. Not all the time; not everywhere. But it’s there, and the regulars know what I’m talking about. So many posts on HN are met with skepticism, pessimism, or just an overall negative tone."
Sweet, free file hosting
To be fair, Semver also falls apart relatively regularly, where a major version upgrade is easy and fine, but a minor upgrade trips you up.

Even if an API stays exactly the same, something about what it returns could subtly change, so there's really no replacement for extensive testing.
I used to think that people at FAANGs are some of the smartest. That's the usual narrative anyways.

After working with a lot of them, I realize that they have a long tail of brilliant people (it's a good place to rest/vest and retire) but most of them are average cogs that are only good at grinding leetcode and average on everything else.

I have seen way smarter people in startups that will never accept to work at places like FAANGs.
Is this due to Boris threatening to raid the Dutch for COVID vaccines a few years back?
There's a branch here - https://github.com/rjp/gron/tree/f/reduce-memory