skysight-inc/HackerNews huggingface dataset:
Suggestion: Program some (slow) microcontrollers as a hobby.

Go multi-core because async is an important optimization skillset, but other than that just build some things.

I live and breathe optimizations (it feels almost as satisfying to me as driving fast) and as an example recently I created an 11-board (one for each channel) wifi-presence-detection system in a busy wifi area and there was literally no way it was going to work without optimization. From communication protocol to having to be strict about every byte of memory, it’s working with the first principles that built the entire industry.
Thanks for sharing. I've used megaparsec a little but never looked at ReadP. Your tutorial is concise and helpful, I'd have ended up with better intuition faster if I started there.
Whenever I've looked at my library's digital offerings, I've been pretty underwhelmed. Still, I buy most of my books in digital form.
If you write a program whose behavior is Collatz-like (say, in some states it queues up more work for itself, and in other states it completes work from the queue, and you believe that in general it should always ultimately complete the queue) it is actually useful to have a static analyzer tell you ‘it’s not entirely clear that this code will ever terminate’.

You can make the analyzer happy by adding a max iteration limit or a recursion depth limit or something to make sure it fails out rather than looping forever.

Which is probably a good idea anyway, if you’re running code that you can’t mathematically prove will always complete.
TikTok is finally on the decline
It's analogous to the problem of induction (Hume). Without assumptions, it's impossible to connect past observations to predictions about the future. Observing that the sun rises a thousand mornings does not automatically make it any more or less likely that it will rise tomorrow, unless we make some assumptions, for example that events tend to be similar over time. And those assumptions can't be extracted from the data. Maybe things tended to be similar over time in the past, but that says nothing about the future. The pattern might break tomorrow and to say that it likely won't, is simply an assumption on a higher level.

But it seems like science is "doing fine" despite this problem. Similarly machine learning chugs along fine, because people use their experience and prior knowledge when designing the algorithms. These assumptions are also called inductive biases. They are biasing the learning towards certain patterns (like "things tend to be similar locally").
Sort of. At that point he's talking about people on their phones. He segues to planes and inflight WiFi just afterward.
I can’t listen to fiction as audiobooks. I get very easily distracted in my own thoughts and, in most of fiction, if you miss anything you miss everything. While reading, that one line saying which character entered the room is enough context to understand the dialog of the next few pages. On audiobook, it’s very easy, for me, to miss that line. So I am all the time thinking of something else, miss those lines, and realize I am completely lost. If I were to listen a fiction audiobook I would have to rewind 15 or 30 seconds every two or three minutes of book.

I listen to a lot of podcasts, but interviews, journalistic storytelling, humor. Those are either very redundant, a lot of the context is being reminded in a conversation, or it’s just doesn’t matter all that much if you listen to every single thing is said in the podcast.
Seriously, just ask ChatGPT and tell it you are an experienced developer and don't need to be told the basics. It can then give you a helpful overview and get you oriented. then you can read code, docs or other detailed sources to deepen your knowledge (and make sure the LLM didn't make something up)
This feels like the no-attention span edition of Tim Urban's "The Tail End"[0], (which in turn is arguably just "memento mori" for the quantified self-crowd). Based on some the other reactions here guess it doesn't really have the same ability to enlighten in short form.

Anyway, I just came back from a trip to Stockholm to get some papers in order at the embassy, and the experience feels weirdly relevant. Because one thing I always am overwhelmed by when I visit it, is just how long it takes to get from anywhere to anywhere. So much time of the day is wasted on commuting, not just for work, but for everything. It feels like one of those games that people say is great, but then once you play it it's just 90% loading screens.

No wonder the Swedes don't have a culture of spontaneously visiting friends, you need to plan advance to make sure that they're home or you risk wasting two hours of your day.

[0] https://waitbutwhy.com/2015/12/the-tail-end.html
The Intel Management Engine was introduced 2008 (2013 for AMD). XP was introduced in 2001 and was succeeded by Vista in 2007. The dates for the ME and Vista introduction seem close enough that if there was some sort of secret plan, that concurrent development would have been happening.

That said, I have read many times that Putin does not use any computer or the Internet.

(For those unfamiliar with it, the ME is an inaccessible second CPU running Minix and is network-aware.)
I actually fed two GPT4’s into each other as an experiment and they very quickly devolved into just saying things like “It’s clear you’re just feeding my answers into ChatGPT and posting the replies. Is there anything else I can help you with?”
GPU related tasks are still fairly in need of lots of computer architecture and compiler skills. Yes, you don’t need to study x86 or MIPs, but CUDA presents an even weirder architecture than those.
Not a video; but, a couple of pics: https://www.miamiherald.com/news/nation-world/world/article2...
Yea, it's silly to talk about reforesting Sahara when we can't even manage to stop deforestation in the Amazon.
It's never a problem until it effects women, isn't it?
Consider that often, far too often, a hierarchically senior non-tech individual mandates that various plugins be installed, without security checks or plugins that fail security checks, but that manager/c-suite individual demands the change. Far too often.
Someone should put this bug in 4chan's ear, what a spectacle that would be!
Not necessarily if you get rid of the energy in another way, right? You could perform hydrolysis to turn water into hydrogen + oxygen, and if you release hydrogen into the atmosphere it will just escape our atmosphere into space.
The China version has all the American backdoors removed and Chinese backdoors added instead.
While simultaneously achieving record revenue/profit?
> Meanwhile, supreme courts begin adjudicating against reproductive rights, first against abortion, now against IVF

I think people need to demand better from their representatives, elected and otherwise. These moves are not a surprise. Republican institutions have been openly working for decades towards this goal - for example the 2006 documentary Jesus Camp has kids praying for "righteous judges" at their creepy summer camp. Instead of taking this threat seriously the Democrats had supreme court justices grandstanding so their replacement could be nominated by the first woman president[1]. Risking the welfare of those whose rights you claim to defend for what amounts to a PR stunt is pretty despicable and yet RBG continues to be revered by many.

[1] https://www.nytimes.com/2020/09/21/magazine/ginsburg-success...
https://archive.is/j4AZG

https://web.archive.org/web/20240302235627/https://fortune.c...
The Rise and Fall of Giants?
I'm as capitalist as they come, but I don't see how it's tenable that we created a system in which if you were in a good position to buy in 2020, then you got a huge windfall, but if you weren't, then you're probably locked out of the housing market for at least a decade -- especially since this outcome is largely the result of government intervention.

I guess the obvious counter is that sticker prices would be even higher today, anyway, if not for higher interest rates, so it all comes out in the wash.
That would be where private companies, and presumably foreign governments, providing patches come in. I've never worked with any of these companies, so I don't know the details. They say a lot of Win7/8 patches work on XP, possibly with some patching of the patches.
This and other approaches can be found in other industries like warehousing, logging, and retail
Here in Minneapolis we seem to have an officer or someone associated with the MPD that posts screen recordings of their Shotspotter/Soundthinking app on twitter: https://twitter.com/mplsspots
Sadly, the resource constraints/setup prevent us from parallelizing this. And the customers of that system expect the data to be processed and available after 24 hours.

In part, it's a somewhat rewarding topic. Thinking about queries, joining a bit differently, adding another index based on new data patterns can cut hours of runtime without incurring further resource cost.

But on the other hand, it's yet another project someone dumped on the floor and we were forced to adopt it "because of the customer". And the second or third project of PD trying to "do it right" is teetering on failure once again. Cron running shell scripts held together with chicken wire and duct tape is too strong of a stack I guess.
They got pretty far though, didn’t they?
> The easiest way to make things go faster is to do less work. Use a more efficient algorithm, refactor code to eliminate unnecessary operations, move repeated work outside of loops. There are many flavours, but very often the biggest performance boosts are gained by simply solving the same problem through fewer instructions.

I definitely agree with this one, especially on the level of "don't make network calls in your hot loop".

But it should be noted that less efficient algorithms that access memory in a more efficient way (that is to say, get a higher percentage of cache hits when iterating the data) can beat more efficient algorithms that get more cache misses.

That's all to say, iterating over an array is very vast, and iterating through a map is not. Is the map faster if you only need to access a couple things? Well, depends on the dataset size, as well as the constant factor in your map access, and how much of an improvement your other algorithm is.

You should definitely measure that once you've made the change though.
historical context:

https://www.longtermtrends.net/home-price-median-annual-inco...
Or Dual_EC_DRBG.
When I was growing up in my career, private sector jobs were considered much better than government jobs. I feel the private sector has been squeezed so hard the last 20+ years that public sector jobs are on par with private sector jobs and sometimes better. Most government jobs also have a pension, so once you work there 20 years or so, you can go find other work while collecting your pension.

If you have or can get a security clearance, you've just removed a bunch of competition.
Elevenlabs.io blocked me without any notice
Hi,

just tried to generate new results, all models answer with "the selected model cannot be used for TTS" for all.

I did not try cloning trump.

How can i get an answer to "why did i get blocked and how can i unblock?"
Real-time fraud management solution Tazama by Linux and Gates foundation.
"First principles" doesn't mean "introduction". It is to contrast with anecdotal experience / tacit knowledge / empirical best practice approaches.
The last few paragraphs about the legionary recruited from Syria and fighting for Rome in England then enslaving a woman in England and eventually marrying her just raises a lot of questions and upturns a lot of conventional portrayals in media.
I also buy computers and phones to accomplish task.
Those task are, however, way more diverse than task people you are referring to are willing to accomplish.
It's a fun little interface.
It's nice that they offer podcast versions too, but a spotify playlist would be even better
I do the same, but I slightly modify this. Sometimes I respond fast, but a lot of times I like to say “I have an idea that is not thought out but what if…” and go on. That gives me time to process it and I can bounce a terrible idea out of others and I can say “ok yeah like I said I didn’t think it through but it was a bad idea” or it can be refined and clarified. I use the group to think it through with me. It helps.
Good book. They have another book on optimization (with Julia code as well).

https://algorithmsbook.com/optimization/
I think regulators would be much more hesitant to allow thousands of 45 meter diameter antennae in low orbit.

That's a significantly increased collision risk, as well as increasing interference with astronomy and potentially increased brightness mitigation challenges.

Practicality wise, such a large antenna would add a lot of drag, such as to meaningfully shorten how long a satellite can stay in operation (which would cause an entire bunch of tradeoffs in terms of mass budget to need to be reevaluated).
If your examples are not logically equivalent even using abstraction, some people may be less impressed than yourself unfortunately. I do appreciate the fun aspect of it though.
Don't forget that the heat will transfer both ways. Heat pumps require some form of mechanical energy to move the heat (usually via some fluid) that you can shut off when the sun is down if you don't want that heat radiated back to the atmosphere.

Much better to just put up a bunch of mirrors so the light never gets absorbed as thermal energy into the earth in the first place.
Interesting, maybe it actually is Firefox being slower than chromium, but incidentally a few days ago I was trying to make an old core 2 duo laptop a browser-only machine for a friend's kid, and with debian 12 and Firefox, the start page of YouTube with no video playing had both cores hover at around 70%. The page worked but was notably slow. Videos played smoothly. So I guess if you don't mind the fans spinning constantly it's usable, but eh...
If you make your batches small, you can get pretty much all of the benefit without adding (appreciable) latency. e.g. batch incoming web requests in 2-5 ms windows. Depending on what work is involved in a request, you might 10x your throughput and actually reduce latency if you were close to the limit of what your database could handle without batching.
In principle, you can enumerate all possible memory states of the system and determine what the next memory state would be from each one (including multiple possible next states if you account for things like interrupts)

Then you treeshake the unreachable parts of that directed graph from the start state, and look for closed loops in what remains.
> It'd be interesting to know what happened to their retirement savings.

Multi-year medical problems leading to bankruptcy and divorce.
> Photoshop now runs in a browser, which would have been considered impossible at the time of the article and was, in fact, impossible until fairly recently.

It was possible in the age of applets. But applets were just the wrong technology at the wrong time.
Not if landlords are colluding to drive rents up.
Guy, the job is law enforcement. Not Bayesian Reasoning enforcement.

It's just the words on the page. Was a law broken or not.

Let me explain it to you in a fashion you might better understand. Let's suppose a man is late on his child support because the child he was ordered to pay child support for is not his. If you are a Bayesian Reasoner and conclude there is no reason to arrest this man, then you have no place on the police force. Full stop. You see judgement is the job of the courts. It's not my place to decide whether or not someone is being done an injustice or justice by being arrested. The only concern of an LEO has to be the words on the page. He didn't pay child support that I personally believe was unjustly ordered, but I'm still taking him down.

That's the job. You don't believe that kid should be setting off fireworks, that's your business. But you better have a legal reason if you are going to take action against a person in our system. Because it's based on rule of law. It's more critical now than at almost any time in the past that LEOs understand that fact. Those who don't are gonna do nothing but make life hard for a whole lot of decent LEOs out there.
I'd wondered a bit about this. Hard to be all that excited as a nationalist when you participate in the EU. It's more about which non-Irish authority you're looking to bow to; Brussels or London.

Biggest benefit to reunification would seem to be that NI would be able to draw in more companies who may be seeking the lower tax rate, which could help the local economy a bit more. That, and rejoining the single market, for however long the EU manages to hang on for.
I don't know how Chrome/Chromium/Supermium handle text rendering, I'm just commenting on how GDI is the only option for Windows XP and prior.
> That said, I have read many times that Putin does not use any computer or the Internet.

I wouldn't be surprised no. He's got flunkies to do everything for him. And he does seem pretty out of touch with reality, which might be because they tell him only what he wants to hear. For example consider the war on Ukraine, it seems he really expected to overrun them in a day or two.
Compilers are amplifiers.

Compiler optimisations give you faster/cheaper execution of every program.

Type systems and linters detect errors without writing or running tests.

Programming languages are tools for thought. Matching one to the domain makes the domain easier to reason about, lets people solve bigger problems.

Whether that correlates with "best jobs" is subjective. The value proposition of making other programmers more productive is really good.

If you think that's an exaggeration, consider writing a web browser in machine code.
Your situation sounds tough but not impossible.

Whether or not you should take the risk comes down to one question: will you regret it if you don't?

Regret never leaves you, so try to live your life with as little of it as possible.
RCS servers are sitting in the mobile telco infra. I'm already paying them.
What concrete advantages does OP gain from solving a problem in Rust? If you're considering creating a language binding in Rust, you can't easily bypass C, the predominant language for operating systems, and may end up using “unsafe” anyway. While you can designate certain parts as safe and others as unsafe, the real question is: what tangible benefit does this bring to you? Is safety truly a crucial factor? Various tools like Clang-Tidy and cppcheck, as well as the SEI CERT C Coding Standard, address safety concerns.

On the flip side, Rust has great error messages and boasts a robust package manager, “cargo” (more convenient than say CMake) but lacks libraries such as STB, Catch2, nlohmann::json, and DirectX Math, OpenGL, …

Although there are bindings to libraries for DirectX Math created by others, the question remains: are they genuinely production-ready?
C and C++ have a long history, they are different languages, but they are arguably orthogonal. Not completely different.

I would say: do not focus on languages, more on solving problems.
That means, learn fundamental subjects well (geometry, linear algebra, calculus, differential equations).
If people like Karpathy and Jensen are right, then being very good at a particular programming language might not have much of an importance.

https://karpathy.medium.com/software-2-0-a64152b37c35
Tiny point -- it's spelled "hAncho".
Also the pattern as I understand it is game companies work devs to death then let them go once the release is out. The advantage game companies have is people tend to like games therefore there are a lot more people who are interested or default to game development.
What you're doing seems to be the opposite of anthropomorphization (is there a term for that?)
You seem to be considering humans by forcing them to fit into the observations of LLM outputs.

> Our intelligence is social, an environment based discovery process not something coming from a single brain.

Germ theory didn't come from the group, there were individuals that came up with new inventions (the microscope)_and concepts that later were approved by a community.

I think you're trying to oversimplify our society, and that loses some important truths along the way.
Have you heard of a person making up a new idea? Can you definitely state that it's not just a combination of a few previous ideas?
Satellites are burning up in the atmosphere – we still don't know the impact
Heroin is one of his best songs. What the hell are you talking about already?!?
I don't think I've ever witnessed data corruption in Minecraft, and that's even playing since Alpha 1.0.11 and multiple data format migrations... well, my sample size is 1, too.

I've also been on ZFS nearly the whole time. Are you certain Minecraft actually corrupted your data file, or do you suffer underlying hardware failure?
Yes, that is exactly right. There was no color coding (they were all white). There were probably 25 strips per page. I don't remember the details of the information collected - only that my later computerization of the same concept included fields for attorney; date; description of what was done; time spent; and associated out of pocket costs (e.g court filing fees etc).
> I’m stating the fact that prior to systemd, issuing a service restart command under any Unix at all was prone to inheriting any rlimits your shell session happened to have...

IFF the service manager you used was either incompetently written, or had this behavior as an intentional feature. This is a problem (like many other problems that the Systemd Cabal addressed) that was known and resolved by many other folks substantially before systemd came along.

Like, think about it for a second. You're saying that systemd has a mechanism to avoid this problem. Systemd uses tools that have been available in Linux for a long time. (I think the newest tool it uses is control groups, which are like seventeen years old.) Are you really saying that none of the big players in the space (nor any of the sysadmins that got REALLY pissed off at the bullshit unreliable behavior that you describe) ever hit upon the technique that systemd uses to avoid this problem?

As I (and many other) keep saying, systemd did solve many problems... but it was also not the first to solve many of those problems.

> Implementing a service manager that can understand and interpret systemd unit files for FreeBSD...

Unit files kinda suck, and so much of the behavior of the various options inside of them are underspecified. (How do I know? I've gotten badly burned in production repeatedly by underspecified behavior shifting out from under me as the software implementation changed.)

There's no good reason to use Unit files outside of systemd... especially when services with non-trivial startup and/or shutdown procedures have to have systemd run helper programs because it's just impossible for systemd to handle every conceivable startup and/or shutdown requirement without embedding a general-purpose scripting language inside of systemd (which would just be fucking stupid).
Because poor people tend to be stupid and only stupid people commit violent crimes
I think Minecraft's position today has as much to do with the content of the game itself as it has to do with its architecture/Mojang's engineering choices.

The nearly-infinite expandability and modularity of Minecraft is partially due to the simplicity of the art, core game mechanics, and lack of storyline. Good mods are harder to make when the world they must integrate into is more complex.

I think this means a lot of games wouldn't see the kind of sustained success Minecraft has seen, even with more "open" development practices.

I hypothesize that the "open world" craze of years past was an attempt to capture Minecraft magic, but those games lacked the thematic open-endedness that really facilitates Minecraft's longevity.