skysight-inc/HackerNews huggingface dataset:
I think there are some hands-on disciplines that you could learn properly on your own, but which you could never be the best in the world unless you learned from a master.

Think woodworking, martial arts? Many more I'm sure.

I don't think this will be a very big list, though. You should be able to learn almost anything these days. I don't feel inhibited by anything except the sheer depth of some topics, and lack of my own time. I pretty much feel like I can learn anything.

Almost any topic can benefit from a good instructor, though, especially if it's one-on-one. They can steer you better than you can steer yourself as a newbie.

Is there a purpose behind this question beyond curiosity?
What I find more interesting is the guide they wrote on how to make use of the vault itself, intended for people far in the future. I think it's also mostly marketing crap but there is some substance to it.
https://github.com/github/archive-program
It is still fascinating that lisp languages lost to python for AI and data processing and now pretty much everything else. In a perfect world , we would be using lisp or lisp like languages for everything
Even if that were the case, the "lobster arguments for social hierarchy" usually lean far more rigid and totalitarian than human history indicates. For every Roman empire you show me I can find you five cultures with fluid or nearly flat hierarchies.
Exciting news! Last release was 2021.

Thanks to the dev team :)
Typically I use the activity monitor to analyze the file content. There is always 1 lib at least that a specific framework brings along, even in case of native programs.

When that is not enough, you can also get some cues from the Accessibility Inspector to "guess" what a program uses.
> If our organization, which is the largest IT company in the region, with a whole department of system admins, cound't set it up correctly, I'm afraid to think what happens in smaller companies.

I advice organizations on email infrastructure configuration for a living, and I can tell you from experience that many organizations, and even MSPs, get it wrong. However, the problem is often not technical, but cultural. Many system admins have a hard time accepting, or convincing their boss, that they need external consultancy for something as seemingly simple as email. It also doesn't help that for most MSPs, email is a loss-leader, their clients expect it to cost no more than a few bucks a month.

In most organizations I have consulted, email is treated as a simple set and forget service. Admins are expected to whip up an SMTP service in an hour and move on to other tasks. Whereas the reality is that email has become a minefield of subtle configuration mistakes, and requires continuous monitoring.
I like ECL for its ability to compile Lisp to C and have a native executable. One dream I have is to write a game using the CL-SDL2 bindings and cross compile it for Wasm; It seems possible to do now but the flow isn't very well defined. I got pretty close hacking around a month or two ago but didn't quite finish.
> and the IRS estimates how much tip you make and taxes you that amount

I have plenty of problems with tipping culture, but this one is entirely of the server's making, and is a common trope.

If you can demonstrate/document less tips than the IRS estimate, that's exactly what you will be taxed. Nobody is forcing you to be taxed on unearned income...

... but most servers don't do that because the vast majority of them make entirely more than the IRS tipping estimates.
Your suggestions wouldn't be effective:

> If you want to change tipping culture, actively apply pressure by never purchasing services if it requires tipping, and following through by writing a letter to the company explaining your decision. Get other people to do it.

Most other people don't care enough about the issue to refrain from patronizing services where tipping is expected, even if they agree, because they only care a little and that would increase costs on them rather than reducing them.

Asking owners nicely doesn't work, because it's this:

> Open a restaurant (or delivery service, or hotel, spa, whatever) and pay the staff a living wage and instruct staff to refuse tips.

As long as customers continue to tip elsewhere, doing this is a competitive disadvantage, because your prices will appear higher since they have to include the cost of paying higher wages, and the perverse risk shifting that imposes costs on workers alleviates them from owners. These industries are highly competitive and minor disadvantages are make or break, so it doesn't work in the absence of a culture shift.

Another unlikely avenue would be a law that bans tipping, but that is difficult to pass because it doesn't benefit the owners and it doesn't benefit the subset of workers who make the most from tips and customers are unlikely to change their vote over this. It's a standard case where the baddies care about something more and it negatively affects a much larger number of ordinary people but only a little, so we get the rules that benefit the baddies.

Which leaves a market-based change driven by customer behavior, i.e. people stop doing it. Which certainly seems like it would work if widely implemented, and people have the selfish incentive to do it, so the only thing preventing it is a harmful preexisting cultural norm that could be eroded through advocacy.
In this video, you'll discover what memory leaks are, how they affect application performance, and how to protect against them. It's fundamental knowledge that can enhance your software quality.
Not nestJS, but built around express typeorm and the rest and the code base is 5 years old so you can imagine.

Bun has seriously been a god send. I am so happy that we can finally do top level awaits and it allowed us to delete a lot of hacky code that we had in place just to make node and all the build dependencies happy.
This article outlines well the paradox that JITs require to be truly more efficient: if more of the target language is available to optimize, it'll get waaay more optimized, compared to dropping down to the layer below and try to hand-stitch it.

Of course, there is massive overhead in doing so. Just look at go, which had to rewrite practically everything already available in go, and must always require a native implementation (protobuf for example shares the underlying interface across ruby, python, php... but then has a full separate implementation in go, and java I think). And they have the budget for it at least, Google won't let go die under the overhead it created for itself.

So definitely, write more ruby, enough of those "fast-C gem - rewritten as C extension", but still keep using low level libraries like libpq.
You're confusing IO not happening because it's not needed with IO never happening. Just because a method can perform IO doesn't mean it actually does every time you call it. If I call async_read(N) for the next N bytes, that isn't necessarily going to touch the IO driver. If your task can make progress without polling, it doesn't need to poll.

>I'm not familiar with tokio so I did not know that it maintained buffers in userspace

Most async runtimes are going to do buffering on some level, for efficiency if nothing else. It's not strictly required but you've had an unusual experience if you've never seen buffering.

>filled them before the user called read()

Where did you get this idea? Since you seem to be quick to accuse others of it, this does seem like trolling. At the very least it's completely out of nowhere.

>it could still have read() yield and return the contents of the buffer.

If I call a read_one_byte, read_line, or read(N) method and it returns past the end of the requested content that would be a problem.

>I assumed that users would issue reads of like megabytes at a time and usually receive less.

Reading from a channel is the other easy example, if files were hard to follow. The channel read might implemented as a quick atomic check to see if something is available and consume it, only yielding to the runtime if it needs to wait. If a producer on the other end is producing things faster than the consumer can consume them, the consuming task will never yield. You can implement a channel read method that always yields, but again, that'd be slow.

>The proposal is obviously not to yield 1 million times before returning a 1 meg buffer, is this trolling

No, giving a illustrative example is not trolling, even if I kept the numbers simple to make it easy to follow. But your flailing about with the idea of requiring gigabyte sized buffers probably is.
It's not about path names. It's about passing constexpr strings to c functions that expect a null terminated string. You're totally missing the point.

That said, here's an example:

// imagine this with string_view
FILE* openFileInPath(const std::string& path) {

if (path.starts_with("some_dir"))
{
return fopen(path.c_str());
}
return nullptr;
}

That function works just fine to only open a path that has a prefix (logic bug on relative paths aside for brevity while posting)

I should be able to pass a constexpr string to that function the same way I can pass a runtime created string.
maybe he was being difficult
Classic cruise control only applies throttle not brakes
What does the bot do with it?
uhm, isn't the CPU access in python written in C (mostly)?
You can loose athletic scholarship for performance or injury. There are some exceptions where athlete gets to keep them for four years. But generally, coach has a lot of power to not renew scholarship the next year.
I think medicine as a whole. Yes, the knowledge can be self-learned. But the practical application less so.
Probably an amateur learner cannot access cadavers or whatever they use to train on, and this field virtually demands hands-on experience to be considered knowledgeable. Which would mean yeah, good choice of response to the original OP.

I wouldn't care how my surgeon learned, so long as he was currently the best surgeon I could find.
I grew up in Tasmania, immersed in bush fire smoke during summers. As I travelled through the US and other places, I thought I was going nuts because I kept seeing trees that shouldn’t be there at all. Now I know why…

When you get stands of gum (eucalyptus) trees, you also get fast spreading tree-top fires since the living leaves of gum burn ferociously. Gum trees in urban areas or non-native areas are bad, bad news.
Don't be cowed without evidence friend. You are not wrong. =)

gcc is notoriously:

1. inefficient compared to the Intel or LLVM compiler

2. nondeterministic with -O3, which is why most people use g++ to check the code... and even then all bets are off on some hardware.

3. thrashes ram layouts, and slowly chokes to death if used as intended.

It comes down to the use-case, but fortran has killed too many to trust anywhere. =)
Precovery
This site seems to use Apple's San Francisco Mono font in some places. Like for example in the ``Featured projects // 2020 Arctic Vault Program`` line. This font is only licensed to be used in/for Apple products. I'm on Ubuntu and do not have the font installed locally so they are clearly serving it remotely.

I wonder if it was some designer including it carelessly or if they legitimately found a way around the license.
Stopping distances are increased when travelling downhill, so likely more dangerous.
One should remember that not all problems can be solve faster with concurrency - not all problems are "embarrassingly parallel". Besides, even when they are, one gets diminishing returns by adding more cores. Raw performance on single core is still relevant.

That said, support for concurrency is relevant but more for "masking" I/O latency than for MIPS, a problem which is apparently more common. For a language created after 2010, it is nearly a fault not to have something less primitive than threads to handle concurrency. It is like still manually managing memory manually like C also does.

I agree that "faster than C" claims too often hides some kind of cheating. But we have HN "reviewers" for that ;-).
Because the eucalyptus tree loves fire and fire loves it.

It needs fire to reproduce* and takes over the landscape after a fire, outcompeting many other species. This is not unique to eucalyptus. Some pines also need fire to reproduce and redwoods tend to survive fire better than other trees and thrive in the aftermath.

But it sounds like eucalyptus may actively promote fire in a way I haven't heard of other trees doing.

* http://learnline.cdu.edu.au/units/env207/ecology/individual....
That was both a funny and deeply depresing movie. Would recommend. Hope that it's not gonna transform into a prophecy/documentary at some point.
https://archive.ph/OpWs4
I do actually, because I've been through the process of disputing a debt before. All the creditor has to do to verify the debt is to show their records to the reporting agency, i.e., their justification for charging you. It's not like the agency has a team of detectives that are going to stop at nothing to get to the bottom of the issue. If it looks legit, then for their purposes it is.

I've had a completely illegitimate debt "verified" simply because they were able to show a paper trail saying I owed it according to their own internal rules, none of which were written in anything I signed or agreed to. It probably didn't help that it was a government office (DoD), but their idiotic "that's just how it is" justification was good enough for the reporting agency. Years later after an audit they admitted their mistake and refunded me, although they never refunded the late fees they charged me for a debt that they now acknowledge I never owed in the first place.

If you pull the braindead maneuver of not cancelling a service before cutting off payment, they're going to have no problem coming up with the records they need. Is it fucked up that they can deliberately make it difficult to cancel? Yes. But that doesn't mean it won't cost you points on your credit score. That's why there's a demand for a "click to cancel" law.
I see. These things sound swell, though for stuff like controlling register renaming it sounds hard for the instruction decode overhead to be worth it. Currently you can use prefetch intrinsics for prefetching and the level of cache management available is mostly non-temporal stores and explicit allocation of L3 space to specific cores (which ends up meaning specific processes if you are careful).

The world has mostly not adopted existing tools for writing 10-100x faster software (simd, huge pages, computing both branches then using a blend or cmov when this is sufficiently cheap, software prefetching, collection APIs that support bulk updates so that they can use all of these things instead of adding totally unnecessary dependency chains to the resulting program, etc.) so i'm not optimistic about things getting better if CPUs grow a thousand times more memory bandwidth and cores and begin to support very wide scatter/gather like GPUs.
It’s probably worth worrying more about climate change which is a feedback loop we’re directly causing, versus an major asteroid impact which is a once every 300~ million year occurrence
> Trucks aren’t dual use in the same way rockets are.

Is what I was responding to and I only observed that more people have died from truck attacks than from rocket attacks. You'd have to go back all the way to WWII V-weapons to show alternatives but these weren't dual use at all, the 'V' stands for 'Vergeltungswaffen' which is revenge weapon, I don't think anybody would argue they were 'dual use' until many years later some of the technology that went into them was repurposed by von Braun et al to create the American space program. Though I'm sure that the engineers may have thought at the time that they were busy with space travel.

Besides that only one of those really was a rocket, the others are more like primitively guided flying bombs.

SpaceX makes dual use hardware, and just dropping a SpaceX Falcon 9 on some city without a payload would be illustration of that dual use. Trucks normally carry goods from one place to another. But they can also be repurposed as weapons and a single truck attack roughly matches the number of casualties of the V2 rocket attacks, with one hit on a cinema killing more people than the truck attacks but on average the truck attacks appear to be far more deadly. The V2, from a statistics point of view was a complete failure, on average 2 casualties per rocket built and fired, truck attacks kill far more people on average.

And even if they are 'easy to defend' against in principle they aren't easy to defend against in practice because there will always be times when large crowds are present near a road giving access. There must be millions of such situations every year and the vast bulk of them are not protected at all.
The ads on the TV app I think are 30s trailers when playing episodes or movies (only once per session as I’ve experienced) which can immediately be skipped like a recap.

It’s the only ad on a streaming service that has never annoyed me (I also like the fact that it’s not targeted). Zero ads are better but their implementation on tv plus is the least irritating I’ve experienced.
can numba and typed python will have similar effect ?
It's probably worth trying to do something constructive about it. Bellyaching is generally not constructive and the emotional baggage the world has on the topic seems distinctly counterproductive, actively making it nigh impossible to have meaty discussion about real solutions. People are quick to dismiss any effort to solve it as "hopeless" and "pointless" and "not enough."
Tools like Sphinx or reStructuredText (recommended as a front-end in the article) have their peculiarities too. It's worth having a look at ConTeXt (based on LuaTeX, see https://wiki.contextgarden.net/Main_Page#/) which avoids a lot of issues with LaTeX.
To quote from the post:

> The Correct Way [(tm)]

To many people today believe that their way is the only way. But sometimes the boring technology is way better than the latest stuff. Bot to say that boring tech is always better, but asking the question "Wouldn't ... be enough?" is a valid question - and the answer "no" is also valid to it.
I'm not saying it's bad, I agree that it's a good thing! It's just nothing even close to a "remarkably big bet."
Maybe the issue is that we overload the concept of a function with an entirely different thing, a Future / Promise. Maybe if the syntax would have been entirely different too, it would have been easier to understand. We tend to have different syntax for different things.

I’m hesitant towards not distinguishing different things anymore and let the underlying system “figure it out”. I’m sure this could work as long as you’re on the happy path, but that’s not the only path there is.
So many good lines in that movie. And their delivery is perfect.

“The little boat flipped over.”

Gets me every time.
SSO is "small string optimization", in case anyone was wondering.
I'm happy to see ECL's restarted development! How many changes are between ECL and MKCL (MKCL was/is an ECL fork)?

If I'm not mistaken, ECL is (one of a few) embeddable languages that can generate a C code and provide real threads, even if used as a library.

[1] https://gitlab.common-lisp.net/mkcl/mkcl
What you've just described is basically every networked video game, the majority of which are happily running via c++.

(Plus some increase in content load over the network, which does exist ala runtime mod loading, streaming, etc)
This is off topic, but can I just say, the universe, and its vastness, is absolutely incomprehensible and awe inspiring.

For example, the distance of earth to moon is ~380 000 kilometres (or ~238 000 miles), depending of course on the current phase of the moon's orbit. This is just about enough to stack all planets in our solar system and put them side by side between Earth and moon. The combined diameter of all planets in our solar system is ~384 000 kilometers [1].

For fun, the longest flight on earth seems to be Singapore to JFK, which covers ~15k km (or 9.5k miles), which takes us 19 hours. Just in case you want a toy scale to realize how far the big bright object you can commonly see in the sky is.

And what's crazy is when you realize that our whole galaxy is just a spec of dust in the scale of the universe.

[1] https://futurism.com/you-can-fit-all-of-the-planets-between-...
Of course. There is such a thing as a minimum speed for efficient traffic flow. Nothing's more frustrating than being forced to drive slowly. It actually causes road rage.
Well the problem is that "the internet" (google, stackoverflow) does not (by default) filter out any old/obsolete information.

People googling for solutions will get 30+ year old "advise" on how to do certain things / use certain libraries etc.

Especially StackOverflow should be incorporating a major version number for which the question is valid.

So yes, "PHP is still dead" as long as you get the same old advise.
Ask HN: Good Books on Universal Basic Income?
I would like to learn more about Universal Basic Income.

More particularly.

a) How it can best be implemented

b) If it's possible/feasible

c) How much exactly is a UBI?

It would be great if there was an interesting book about this topic from which I can read the above.
Tesla NZ says that the actual on-road cost is NZD$69,988.

USD$41,200.
I think it was probably better - if people can turn in their neighbours or family for a small reward that's a lot cheaper than mass surveillance, and it induces compliance as a bonus!
Same issue with finding fonts that have ligatures.
The title is a bit misleading, it's not mind bending maths or other obscure/exotic properties. Simple logic, geometry/topology and combinations :-)

Very easy and fun game, good for enhancing observability and reaction time, especially with kids. Here in Europe it's known as Dobble.
The great Federation problem. It still looks messy in 2023
Route 159 Font
I use it on Subreply.com to make text appear crisp.
types "ubutnu distro is sad emoji" it says prompt is likely nsfw try again
CDN+Web font-related PSAs:

Users: it’s a good idea to block all third-party fonts so you’re not leaking data (filter rule: *$font,third-party). Unlike scripts/styles, fonts generally don’t hurt the UX (unless a developer is using icon font which haven’t been best practice in a decade--which is ironic considering this blog is broken).

Developers: vendor these Google Fonts (most are licensed SIL) as other have noted in this thread & host them first-party for the benefit of your users. If the cost (hosting or performance) is too much to host the fonts, consider using less fonts because users are still paying for the bandwidth. (I am still pro-web fonts, as they can be in improvement on the UX, just be smart about it).
I doubt LLMs will ever replace old-school methods precisely for this reason:

> By annotating the data myself I also like to think that I understand the problem much better as a consequence.

I’m sure that once we peer into the black box, we’ll find just more refined old-school methods.
Really cool product! Will probably not replace working with lawyers for now, but I can definitely see myself using it for lesser important contracts or as a pre-screening tool for important ones.

Super curious to see where this tool is going.
Thanks! I think that the number of changes between ECL and MKCL is quite big. ECL had a short break in development between 2013 and 2015, other than that it is an actively developed project.
What makes it easier to sell VCs on your company’s exponential growth story: a website with dozens of openings posted, or a website with none? I think that’s your answer.
“Not the best example though, as Windows these days is pushing Edge as anti-competitively as ever.“

I'd say that makes it an excellent example because it clearly shows that government enforcement of those rules used to have teeth. But since lost them.
> neonatal

I guess I was wrong.