MurphyA/hacker-news huggingface dataset:
by infogulch | 2025-12-22 17:00:29+00:00
For WireGuard in general, you provide it an AllowedIPs config which is a list of CIDR ranges that should be routed across the link. That could be `0.0.0.0/0` (aka everything), a single subnet, a union of several, or even individual IPs. This config is technically symmetric between the endpoints, though a prototypical implementation of "individual clients enable the VPN to access the internal network" may limit the "client" AllowedIPs to an individual address.
by raw_anon_1111 | 2025-12-22 17:00:44+00:00
How will someone know what you’re doing if you don’t tell them? There is an entire theory called the “luck surface area” that says you need to do the work and tell people you did the work.

https://modelthinkers.com/mental-model/surface-area-of-luck

There is another similar school of thought that the only thing that matters in your career are “results and relationships”. It took me way too long to figure all of this out. But once I did, it made my life much easier and it made it much easier to navigate within my company and getting opportunities on the outside.

During the last ten or so years as a “developer” without doing a single coding interview because I do know how to sell myself (and deliver)…

1. I’ve gotten three jobs where the new manager/director/CTO hired me as one of their first technical hires to lead major initiatives

2. Got a job at BigTech without any coding interviews even though my job required hands on keyboard coding as part of the job - cloud consulting specializing in app dev (yes full time direct hire with bonuses and RSUs)

3. Left there and had a job within a week as a staff consultant (full time) with another consulting company.

I’m not smarter than anyone else, I learned how to network, talk the talk and play the game.

On another note, you don’t and shouldn’t get a promotion based on doing your current job well. Just because you are a good developer doesn’t mean that you have the skills to lead other developers. That’s the entire point behind the “Peter Principle”. You have to show you are capable of working at the next level by working at the next level.

I’m not saying you shouldn’t make more money if you bring more value to a company than do done else at your level. But how is a company suppose to objectively manage that? You pulled more stories off the board? You had less QA defects?

For what it’s worth, I flew to close to the sun myself about a decade ago and realized I would suck as a manager of people. But I was getting better at leading projects. I chose the IC route.
by immibis | 2025-12-22 17:01:15+00:00
The US hasn't really won any war for the long term since WW2. It turns out it's hard to change people's opinion by bombing them. Equipment is good at destroying the other sides's factories, and making people afraid of you (though even that's usually done with on-the-ground police boots) but it can't actually make people agree with your side, and in fact, seems to usually have the opposite effect. They can only hold control temporarily as long as they apply massive military pressure. As soon as they let up the pressure, they lose.

It probably has something to do with the strict top-down control structure. It's a Linux vs Microsoft situation. Large organisations, regardless of type, cannot innovate.
by usrusr | 2025-12-22 17:01:15+00:00
Cooling is rarely done in any other way than compressing a gas, allowing the heat to dissipate and then allowing it to decompress again. You don't want to compress a gas to cool another gas about to be compressed. What reasonably advanced compressed gas storage systems do is capture and store the heat that gets created during compression and feed it back during decompression. This gives the same efficiency difference as compressing some magically pre-cooled gas would do, only on the discharge side.

So far so good, just the old thermodynamics. It gets interesting when you have a cooling use case anyways: then you can skip on some of the decompression recovery and use the "cold" from decompression directly, to cool down something that needs cooling, without going the extra way of converting back to electricity and then sending the electricity recovered into a compressor setup for "creating cold". Bonus points if you also have a use case for the heat you did not use in reconversion to electricity, but chances are between losses during storage and heating some the gas back some amount beyond neutral you won't have much spare heat anyways.
by ModernMech | 2025-12-22 17:01:22+00:00
> grants would be going out without close supervision by any elected officials (Congress or the President).

Given the large number of grants that go out, and the relatively small number of elected congress people and presidents to supervise them, and given that their role actually isn't to closely supervise such things, it's not possible to meet a standard where elected individuals are closely supervising grants. As a society, we have decided that the upside of having many grants to maximize the number of opportunities for innovation is more beneficial than having a small number of grants elected individuals can closely supervise. Therefore we have decided to give the work of supervising and allocating grant funding to experts in their fields. This was decided democratically by elected people for a number of reasons.

For one, we have no reliable process to cause good innovations to happen. The best way we know so far is to try very many things and hope that some of them will have very good results. Having a system where we can only fund a small number of projects because we require them to be closely supervised by elected individuals would necessarily mean fewer good innovations (lower ROI).

Another matter is that close supervision by elected people does not guarantee that those funds will not be misused. Instead, what might happen is that small group of people will act in their own self interest, which might be to just become reelected and profit off their position. Researchers' incentives are more strongly aligned to produce good research with federal dollars because their whole careers depend on it. Elected people have no incentive to produce good research, because their careers only depend on being reelected, and reelection does not depend on doing good research, but being popular. A lot of times what's popular does not correlate with what's good research.

Is the system we have perfect? No. But no one has proposed anything better; most of the time what people propose just reinvents the system we have and all its problems (because they don't understand how the system works in the first place), or invents new (worse) problems this system doesn't have.
by jim_lawless | 2025-12-22 17:01:29+00:00
I saw a post about the SKOAR language here on HN in late 2015:

https://news.ycombinator.com/item?id=10180423

In the comments, I saw reference to MML ( Music Macro Language ... not exactly what I think the MML is on the list. ) Here's the one referenced in the HN post.

https://en.wikipedia.org/wiki/Music_Macro_Language

At the time, I built a small interpreter that included MML as an embedded language, but I don't think I have the (Windows) binaries handy.
by tracker1 | 2025-12-22 17:02:14+00:00
Too true... even then, there are some MS things I actually like... VS Code and C# at the top of the list. I also like a lot of the things in MS office over alternatives in practice. LibreOffice is just annoying to me every time I use it, and I use it regularly, OnlyOffice has been less reliable still. I still don't equate any of the alternatives to Visio as close to equal despite regularly using them as well.

That said, I emphatically despise a lot of the decision making behind Windows and a lot of MS products... I really wish it was managed/governed more by technical influences than business/fincancial ones in practice. You can see where a lot of the lines are drawn and it's a bit fascinating.
by aw1621107 | 2025-12-22 17:02:21+00:00
> Im more interested to know the points in relation to autofree.

As sibling said, autofree is still stated to use a GC, which obviously disqualifies it from "memory safety without GC".

> Regarding the details, here is a pretty informative github discussion thread on same topic: https://github.com/vlang/v/discussions/17419

I did see that! Unfortunately it doesn't really move the needle on anything I said earlier. It describes manual memory management as an alternative to the GC when using autofree (which obviously isn't conducive to reliable memory safety barring additional guardrails not described in the post) and arenas are only mentioned, not discussed in any real detail.

> It is also accompanied with a demo video (pretty convincing in case you would like to watch).

Keep in mind the context of this conversation: whether V offers memory safety without GC or manual memory management. Strictly speaking, a demonstration that autofree works in one case is not sufficient to show V is memory safe without GC/manual memory management, as said capability is a property over all programs that can be written in a language. As a result, thoroughly describing how V supposedly achieves memory safety without a GC/manual memory management would be far more convincing than showing/claiming it works in specific cases.

As an example of what I'm trying to say, consider a similar video but with a leak/crash-free editor written in C. I doubt anyone would consider that video convincing proof that C is a memory-safe language; at most, it shows that memory-safe programs can be written in C, which is a very different claim.
by nrvn | 2025-12-22 17:02:25+00:00
Exactly. You can “have a vision” to accelerate full speed and hit the hard wall and just before going full throttle you are offered an opportunity to enter an open door around the corner which you have never even thought about. And that door helps you discover a new vision, that might stick for lifetime.

Also, while the original advice about “vision” sounds reasonable, it also sounds a bit dogmatic. The filpside of “career vision” is “tunnel vision”. And life is not deterministic, it has a much more probabalistic nature. Hence, curiosity and open mind.
by light_hue_1 | 2025-12-22 17:02:56+00:00
Companies and wealthy individuals don't fund the same research as the government.

The government funds research that other scientists think is important. That's long term, often not flashy, meat and potatoes kind of stuff.

Companies tend to have very short time horizons. And wealthy individuals want splashy things. None of these are an option if the federal government is going away.
by vlovich123 | 2025-12-22 17:02:58+00:00
You realize that despite the claims there’s been no compelling evidence presented that there’s been any meaningful widespread abuse that amounted to anything much? The telling evidence that’s the case is that most (all) the stories the Republicans in congress trot out turns out to be horribly misrepresented (like the treadmill for shrimp which was actually built by the scientists for cheap and was important for figuring things out about how bottom feeders are responding to disease and pollution ) and/or not that much money. But mostly it’s finding things that sound crazy when communicated in a headline, not actual fraud or abuse.
by hoherd | 2025-12-22 17:03:42+00:00
A few days ago I started up an old Windows 10 laptop that I haven't used in a few years so my son could play a game that I haven't taken the time to set up in proton on linux. I was amazed at how much the Windows OS experience seems like an unhealthy relationship where the OS is trying to manipulate you and control you. It feels like it's not even my computer, it's a Microsoft owned kiosk that I'm allowed to partially use.

Another really remarkable thing is how cloud connected it is. For instance, the lock screen had online feeds shown. The setting to disable them is on a remote website, not in the screensaver prefs or some other local system pref. That was astonishing, and IMHO absurd. If it hadn't been clear to me before, that made it crystal clear that what MS wants the OS to be and what I want the OS of my personal computer to be are not remotely the same thing.
by SpicyLemonZest | 2025-12-22 17:03:48+00:00
> So now we have a large civil service full of loyal people that seemingly often sabotage each other, fighting one loyal group against another loyal group.

Can you name even a single time when two groups of civil servants sabotaged each other in this way? If civil servants engage in this kind of sabotage, how has Trump been able to enact things that are both controversial and flagrantly unlawful without being sabotaged?
by SoftTalker | 2025-12-22 17:04:02+00:00
You have to focus on the primary elections and even then it will be tough. The party will have its favorites, who are people who have devoted years of work or a lot of money or both. If your message resonates with your constituents however, if you have time to get out and talk to people, and you are reasonably charismatic and don't come off like a complete noob or wacko, you can win a primary election and then you're on the general ballot.

Remember that pretty much only political junkies vote in the primaries. You need to identify those groups and target them hard. Don't worry about the general public, they are not paying attention.
by bane | 2025-12-22 17:04:30+00:00
The people I know who work in life sciences R&D (basically anything bio) have had their funding absolutely annihilated. PhDs with 20 years of experience working second jobs as substitute high school teachers, lab workers taking up tech support positions paying a fraction of what was already terrible pay.

What's worse is that in most of these fields, you don't really even start working until after your PhD.

4 years is going to be a long time to underfund what's basically 4 entire classes of researchers coming out of Doctorate programs. It might take decades to recover our research programs.
by WorldPeas | 2025-12-22 17:04:32+00:00
I generally just thumb-type on it with the hinge bent at 180°. I have a colleauge who tried the meta AR glasses and found the display smudgey with his 20/20 vision and my quest 3 I found very screen door-y, though I will admit I liked the apple vision pro's display, I have a fair bit of pessimism about the field as a whole atm, but would like to be proven wrong
by crossroadsguy | 2025-12-22 17:04:36+00:00
One of these or a mix of - history, archaeology, and literature. But as they say, you never know.

I absolutely knew even when I left school ("school" school) that none of these would pay, so I assume your question has an implicit "if money was no concern". Because money/job was the reason I picked engineering and CS in college. While I did quite well (academically and professionally), I never loved it. Maybe I liked it here and there. Then I knew this would happen; that's the reason I was at least prudent enough to never do that CS MS (with multiple options for full scholarships in Europe around a decade ago). But not prudent enough to explore masters in many of the non-STEM fields that were there for the taking pretty much. Some of those might have paired well with this STEM bachelors in some way or the other.
by KineticLensman | 2025-12-22 17:05:02+00:00
Some time in the early 1990s I worked with a Macintosh of some variety that had a massively heavy CRT display. It was a real bummer when we were asked to do offsite customer demos, but luckily my back and knees were young enough to carry it upstairs. In retrospect, this is probably why my boss took me to the demos, which was actually quite useful career-wise.
by _alternator_ | 2025-12-22 17:05:10+00:00
I’ve made some interesting things in the past few years, in particular singing Tesla coils and digitally-controlled plasma tube lights. Was thinking about making bespoke musical instruments based on some of these learnings.

Of particular interest was some interesting types of feedback that came from the Tesla coils. Basically we modulated the frequency we drove the coils to produce sound, but the coils would interfere with one another because that’s how electromagnetism works. We had to tune them to different resonant frequencies to play sound. But the interference itself could sound unique and eerie, sometimes like an old-timey radio. It’s similar in principle to a theremin but a very different sound.

Or I could just get a soul sucking job and do this in early retirement. Shrug.
by astrobe_ | 2025-12-22 17:05:18+00:00
well I'll be that guy... If you're going to disturb the normal way of righting expressions, RPN or prefix notation (AKA Polish Notation) could be a better option. Both don't need parenthesis because they don't need precedence/priority rules - which are obviously a disadvantage of the infix notation.

The HP 48 famously took the bet of going against the mainstream notation. I wonder to what extent this is one of those "accidents of history".

RPN moreover simplifies parsing, as shown by the Forth language.

Prefix notation, as used by for instance Lisp, doesn't actually need parenthesis either; Lisp uses them because it allows extensions over basic operators and more generally "variadic" operators and functions (e.g. (+ 1 2 3 4)). Without this "fancy" feature, prefix notation is unambiguous as well: / + 1 2 3. [1]

On a side note, Smalltalk is one of the few languages that said "duck it", and require explicit parenthesis instead - which is IMO, not an insane approach when you see that for languages with 17 levels of priority like C, you end up putting parenthesis anyway as soon as the expression is not trivial "just to be sure" (e.g. because it mixes boolean operators, arithmetic operators and relational operators as in a & 0xF < b + 1).

[1] https://en.wikipedia.org/wiki/Polish_notation
by Aurornis | 2025-12-22 17:05:23+00:00
> That's why people would pay money to quit.

That's not really what the survey said. In fact, it found that the overwhelming majority of users would pay good money to continue using those platforms.

> The answers suggest users value these platforms a lot, on average by US$59 per month for TikTok and $47 for Instagram. An overwhelming 93 per cent of TikTok users and 86 per cent of Instagram users would be prepared to pay something to stay on them.

$59/month was the average claim for how much they'd pay to stay on TikTok.

They even cite other studies that came up with similar numbers, so it's not a fluke.

The part about paying to be off of them was about a hypothetical scenario where everyone on their campus agreed to some deal where they all stopped using one of the platforms together at the same time.

That's how they arrived at those weird numbers for paying to quit as a group. Like all studies that ask hypothetical questions about how much people would pay for some outcome, the real world value is always less. When you start introducing impossible constraints like "everyone else would quit" it becomes even more disconnected from reality.
by mjg59 | 2025-12-22 17:05:43+00:00
The limiting factor is the horizontal refresh frequency. TVs and older monitors were around 15.75kHz, so the maximum number of horizontal lines you could draw per second is around 15750. Divide that by 60 and you get 262.5, which is therefore the maximum vertical resolution (real world is lower for various reasons). CGA ran at 200 lines, so was safely possible with a 60Hz refresh rate.

If you wanted more vertical resolution then you needed either a monitor with a higher horizontal refresh rate or you needed to reduce the effective vertical refresh rate. The former involved more expensive monitors, the latter was typically implemented by still having the CRT refresh at 60Hz but drawing alternate lines each refresh. This meant that the effective refresh rate was 30Hz, which is what you're alluding to.

But the reason you're being downvoted is that at no point was the CRT running with a low refresh rate, and best practice was to use a mode that your monitor could display without interlace anyway. Even in the 80s, using interlace was rare.
by tracker1 | 2025-12-22 17:06:25+00:00
If you aren't into gaming at all, you might consider a smaller Macbook Air for personal use... mine is mostly relegated to occasional use unless I'm traveling, where it's mostly email/web use. Small, light, fits my needs and can charge via the same USB adapter I carry for my phone anyway. I have a rather heavy laptop bag so the difference between 1 or two laptops and the portable display isn't that big a difference.
by freedomben | 2025-12-22 17:06:55+00:00
If money was no issue, I'd go into carpentry. I find building things out of wood to be immensely satisfying. Everything from the smell of the wood, the differences by wood type, the naturally beautiful look it has, and the usability/UX of the final product tickle me in ways that I haven't experienced before. I've gotten very close with personal software projects, but the physicality of the wood is something software has never been able to replicate.
by immibis | 2025-12-22 17:07:02+00:00
Just photocopy some currency. Depending on the machine, it has a good chance of bricking the machine with an obscure error code until a service tech comes out, at which point you can point out this machine is really old and why don't we get a new one.

If you'd rather not commit attempted forgery, just print out some Wikipedia pages about the EURion constellation, which is what they detect in money.

Joking, obviously.
by spwa4 | 2025-12-22 17:07:06+00:00
It is not apartheid because the law is not actually making this distinction. The article does three things, and the title ... the title just does not cover the contents:

1) a law is proposed to make it possible to get the death sentence for the worst terrorism offenses. The law does not specify the religion of the terrorist as a factor, though obviously it would predictably affect one group much more than another.

2) a far-right politician with very bad taste in Jewellery claims that no Jew would ever commit terrorism. Incidentally, this politician has been convicted many times by the Israeli legal system. And then he got elected again.

Imho, these two statements do not correctly combine to the sensationalized title of the article.

3) the article points out that this is not the first time a law like this is proposed in Israel, for the same exact reason: the PA uses funds from the UN to pay terrorists and their families, literally per Jew killed. This is why there are claims that the UN pays for terrorists to hunt Jews, because that statement is literally true, just not directly. Palestinians swear in English they'll stop this practice on a regular basis since at least 1995. In arabic they shout on TV they'll never stop doing this. And then they don't stop doing that.

Note: these pay-per-slay payments are referred to by most media, even the BBC, as the "social safety net" of Palestine. Reality: can't work? (try to) kill some Jews, and the Palestinian government will pay your family a living wage based on how much damage you did.
by DoctorOW | 2025-12-22 17:07:15+00:00
This is the rare opportunity I get to flex my broadcast experience. Generally these are setup in a chain:

Playlists -> Playback -> Character Generator (draws the bugs, coming up next, and other graphics overtop), -> (other stuff) -> Network feed

> July 16, 2023: About 17 minutes into the 1:00pm airing of the Teen Titans Go! episode "And the Award for Sound Design Goes to Rob / Some of Their Parts", the feed blacked out for six seconds, then the screenbug disappeared for the rest of the episode. The screenbug returned during the 1:30pm airing of the episode "Cat's Fancy".

This sounds to me like the character generator failing and the playback being taken directly to air.