skysight-inc/HackerNews huggingface dataset:
> If it were true wouldn't all democratic societies be in danger.

Democracy is more or less in a permanent state of crisis. This has been discussed thoroughly since the time of Athens, and certainly Rome. The late days of the republic were characterized by squabbling over the specifics of who got to lobby voters, how they were allowed to, and where they were allowed to. For instance they have laws on the books dictating the physical structure of the buildings that people voted in to ensure that the rich couldn't basically station people in the halls leading to the ballots to purchase votes or physically intimidate voters. This is also reflected in the sudden populist turns of eg the Gracchi brothers and Caesar himself.

It's also true of the American republic. Self-conception of us as an egalitarian democracy is still around at best a century old, and more accurately around sixty years old. And we remain extremely far from being an obviously healthy democracy. Of course, the state has vacillated between actions you could argue are wise and those that are clearly not, before and after these divides.

I really would be very cautious at viewing democracies as reflecting of "wisdom". We often can (and often do) come to consensus that is extremely ill-advised from the perspective of the needs of the populace. Democracy is more or less permanently perched on the tension between the will and needs of the constituents which are often at blatant odds with each other. There's a reason why the Philosopher King has held such a cultural weight through the millennia. At best democracy is a best-faith effort to approximate wisdom through consensus—sometimes with better faith than other times.
Might nudge families to have another child, though. And of course the US pays $36,000 per child (tax free) via the child tax credit.
I find that it comes most from intelligence. I see plenty of super experienced but not very smart engineers design terrible over engineered systems. On the other hand, juniors err in the opposite direction with long functions with deep nested branching and repetition. And the latter is better. Easier to refactor up in abstraction level than down.
Please stop making ad tech better. Someone else might, but you don’t have to.
In case anyone is wondering, "when would I EVER use this (in hand-written code)?", it's a trick that makes DSL (domain specific language) and small language implementation much easier. A great reference for this is Peter Norvig's Paradigms of Artificial Intelligence Programming, when he implements a subset of Prolog and bolsters the functionality using CPS[1].

The second, although more
obscure, is that you can use it in languages that do not have "non-local exits" to terminate a deeply nested computation early or return to an earlier point in the call stack. For example, Clojure does not have nonlocal exits, as only the final form of the function is returned. However, using CPS, you can terminate the expression early and return to the original caller without executing the rest of the function. You probably only want to use this in specialized cases though or it may upset your team, they are tricky to debug.

Lastly and probably most controversially, you can make an extensible "if" statement using CPS if you are in a dynamic language and you have no other tools to do so. Admittedly I do sometimes use this in ClojureScript. This allows you to write "append only" code without continually growing the "cond". Again, most teams don't like this, so it depends on the circumstances, but might be
nice to have in your back pocket if you need it.

[1]: https://github.com/norvig/paip-lisp/blob/main/docs/chapter12...
It does not implement Git worktrees, but instead implements its own notion of workspaces which frankly I find much nicer (unsurprisingly!). As with most things jj: just as much or more power than Git, but less hassle.

Working with submodules natively (see steveklabnik’s sibling comment for the “non-native” bit) will definitely be a big win.
Are you sure? “ The Megatherioidea also includes the three-toed sloths of the genus Bradypus, one of the two sloth genera still alive today.”
This can be seen as technology watch, as opposed to a thesis literature review for instance.
Google Scholar gives the best results but sadly doesn't really want you to build products on top of it : no api, no scraping.
Breaking this monopoly would be a huge step forward, especially when coupled with semantic search.
They cleared up the TOS Klingons discrepancy in an episode of Star Trek: Enterprise (Season 4 episode 16, “Divergence”).
You can still look for a 9-5 in a solid startup or scale-up.
Because a function clearly defines the scope of the state within it, whereas a section of code within a long function does not. Therefore a function can be reasoned about in isolation, which lowers cognitive load.
> Involve junior developers in architecture reviews. They will help you to identify the mentally demanding areas.

This.

And also, a mantra of my own: Listen carefully to any newcomer in the team/company in first 1-3 weeks, until s/he gets accustomed (and/or stop paying attention to somewhat uneasy stuff). They will tell you all things that are, if not wrong, at least weird.
Distracts you from getting rid of vaccines. Like how a photographer has shiny toys to get the attention of children.
Yeah, I find extracting code into methods very useful for naming things that are 1) a digression from the core logic, and 2) enough code to make the core logic harder to comprehend. It’s basically like, “here’s this thing, you can dig into it if you want, but you don’t have to.” Or, the core logic is the top level summary and the methods it calls out to are sections or footnotes.
For me personally it has been very disheartening to see how many people simply don't care about what goes on slightly outside of their immediate vicinity.

The one simple easiest thing you can do to fight environmental disasters is to stop eating meats. Or at least reduce the consumption of the most harmful ones. Try taking up that conversation with people whose opinion on the matter you don't know. Most of the time it's not going to be pleasant, satisfying or leading to much progress.

People like to think about big picture decisions with their taste buds and emotions.
Hobbies may not always reflect intelligence, but beliefs probably do.
Or mise, https://mise.jdx.dev/
Just because the SP500 did +27% this year does not mean it will continue to do so.

Historical data shows a more nuanced picture.
Ask HN: Good books about DSL creation
In the past year I learnt about the usefulness of (and sometimes need for) domain specific languages.
I am wondering if you have recommendations for books about creating a DSL? I saw Martin Fowler's book online, but perhaps there are also other good ones?

I program mostly in C++, and I am interested in DSLs partly for formal verification.
Where would a smooth brained CRUD app web developer who failed high school maths perhaps learn more about the point of this?
Junior developers probably won't say anything, because they are used to not understanding code, and they are not going to second guess the more-experienced author.
The problem is that if you consider Discovery non-canon then it has to follow that Strange New Worlds (which spun off from Discovery) is also non-canon and that would be a shame. It (and Lower Decks) are the only new Trek shows that feel like they actually truly understand Star Trek.
> Stop administering them whenever anyone gets a sniffle

This hasn't been true for most of my life and it remains a serious concern.

Not to mention antibiotics often come with seriously nasty side effects of their own, so you as the patient even wanting the best outcome shouldn't even necessarily want antibiotics.
That's not what I took from that article?

> On October 21, 2011, Reddit administrators explained that the licensing terms were designed to protect the site from potential legal action, and that they did not intend to block the production of the movie.
I believe the author is saying they're willing to relicense the software for commercial integrations.
Ambiguity is heaven for humor and hell for coding.
But if you depend on specific ordering of register operations, isn't this kind of code best hand-written in assembly anyway?
Finland-Estonia power cable hit in latest Baltic Sea incident
So only folks who celebrate Christmas can buy there?

Or as long as you over decorate once a year is good enough?
Why not web editing (2005)
I do object to the notion of something being a planning issue when you're talking about a days worth of work.

Implement X, needs Y and Z, ok that was straightforward, also discovered U and V on the way and sorted that out, here's a pull request that neatly wraps it up.

Which subsequently gets turned into a multi-week process, going back & forth almost every day, meaning I can't move on to the next thing, meanwhile I'm looking at the cumulative hourly wages of everybody involved and the cost is... shocking.

Death by process IHMO.
As a non English speaker, what does "so much this" mean?

Does it essentially just mean "I agree"?
You eat bugs. Be they flour mites, dust mites, eyelash mites, fruit fly eggs, parasitic wasps... your home, body, and food all have a nonzero chance of hosting bugs small enough to escape your attention. They inevitably end up going down the hatch from time to time.
It's definitely on the senior to prompt the junior appropriately. But when you do, they will.
In Pascal, how would you denote a type that can take all integers between 1 and 1000 except 123?
Doctors and their 'fee for service' mentality are, in part, at the roof of this. They know an antibiotic is a waste of $$ for a viral disease, but the money meter ticks upwards.
People are more than just their shitty viewpoints. The world is a chaos system. This person might go on to develop some incredible medical procedure, or write some new useful kernel code. They might have a child who is disgusted by their parent's worldview and starts a revolution of universal brotherhood.

Or the person might just be worthless. C'est la vie.
Thanks for sharing! And kudos to a boss who is also a friend - there are so many people far away from their loved ones, and therefore lonely, on what should be the happiest day of the year for all - so everyone, please remember who you could invite to share the enjoyment as described here.
I would assume it's because checking usernames using your own IP address leads to better results while making it a website would forcefully make it a SaaS (to cover cloud costs).

I'd argue instead why is this not a GUI? Making it a CLI makes it less user-friendly.
Perhaps I'm confused, but it seems to me that your examples actually support my point. You're describing experience-based patterns - seniors over-abstracting vs juniors writing tangled code. Neither case is about intelligence; they're about different types of inexperience leading to different design mistakes.
)))))))))))))))))
SaaS where you can build your Tech Stack?
I thought about making a SaaS Website, where you could build together your Tech Stack.

For example there are 3 categories which you can choose from: Frontend, Backend and Database and then there are different tools for each of them.

So I could select for example
Frontend: React
Backend: Node.js
Database: MySQL

And then the Website gives you a Zip of the Boiler Plate Project and a step by step tutorial on how to run it.

What do you all think?
You're missing the point. No, handles are not subject to such a problem because their lifetimes are explicit and distinct from the underlying resource. E.g. in Win32, if you have a process handle, it will not ever refer to a process different from the one that it was originally created for until you specifically call CloseHandle on it. The OS will retain that handle in its table and will not reuse it for any other process.

And yes, of course it would be trivially easy to do the same in Linux. Except for that whole part where it would break all the existing code relying on POSIX semantics.
Provided you make the source for any derivative works available to your customers.

It’s not uncommon that in situations where that’s undesirable (e.g. a closed-source C library that statically links a GPL’d project) that the library owner pays a fee for a separate license allowing that closed-source distribution.

Also, this is sometimes done when it’s not strictly legally necessary, either for risk avoidance or as a way to support the project in corporate environments where “licensing fee” gets waved through but “donation” gets blocked.
Any pointers on where to start?

I want to do something small for next year.
Lots of things are right.
How romantic! Merry Christmas indeed.
You might be correct that I'm mistaken wrt the intellectual property of comments. I'm not an IP lawyer and cannot state it with confidence one way or another.

What I feel comfortable stating is however that we have precident for the exact scenario the person I responded to (wanting royalties for a storyline they posted on a social media website) and this precident showed that are least the lawyers of WB were of the opinion that a rewrite outside of any social media platform was necessary.
Sure, but I don't think they are meaningfully speaking for "the people" in any sense (even assuming that we even have such a singular entity in US, which I personally don't think is true anymore).
This is all in the linked article
Congrats on your PhD at Stanford, but some humility has to be part of the scientific process for sure. It looks like a lot of folks called "programmers" agree with the points in the post. If it's such a common experience that should tell you something about the state of affairs.

It's a blog post on the internet. Of course one should take it with a grain of salt. The same applies to any peer-reviewed article on software engineering for example.

Just yesterday, I was watching this interview with Adam Frank [0] one of the parts that stood out was his saying why "Why Science Cannot Ignore Human Experience" (I can't find the exact snippet, but apparently he has a book with the same title.

[0] https://www.youtube.com/watch?v=yhZAXXI83-4
And don't miss Sonja Keene's book "Object-Oriented Programming in Common Lisp" and Kiczales' "The Art of the Meta-Object Protocol". If you don't reach enlightenment after those, Libgen will refund your money.
I did not at all consider it. I'm already pushing resource limits on my current machine as is. Adding vms to the mix would kill it. Also, that security doesn't come for free, it makes things that are currently easily, much more difficult for security I don't personally concern myself with.
That's rough. Of course some amount of thoughtfulness towards "smallest reasonable change" is valuable, but if you're not shipping then something is wrong.

As for the "comments on every detail" thing... I would fight that until I win or have to leave. What a completely asinine practice to leave comments on typical lines of code.
according to what i think i read here, Lower Decks revealed that Discovery was on another timeline, so in that sense it would remain canon (for that timeline) and just would not effect the prime timeline
Am I missing something or is it truly infinite?
Bad electrons. Turning off the power lets them drain out.
This is a negligible effect in comparison to those described in the article.
The issue is that the increased temperatures increase evaporation at the same time that they increase precipitation, and in many places, the net effect on water availability is expected to be negative.
"but most of all, jaennaet is my hero"
Im not so confident. Digital natives seem just as eager to apply purity tests as anyone, if not more so. Throwing rocks still feels good, even if everyone is living in glass houses. It was true in the 1300's when the saying was coined, and is still true today.[1]

https://www.bookbrowse.com/expressions/detail/index.cfm/expr...
The whole illumos family has degrees of this; SmartOS is of course full immutable with a ro OS that can be replaced to update, but even ex. OpenIndiana applies core OS updates to a clone of the root filesystem and you can always roll back to a snapshot.
You always need to look at the track record of the team. If they were not producing solid consistent results before you joined them, it's a very good indicator that something's fishy. All that "they are working on something else that we can't tell you" is BS.

If they were, and you were the only one treated like that, hiring you was a decision forced upon the team, so they got rid of you in a rather efficient way.
> Nobody is going to take an EV apart to just change one cell. On the other hand, people do often take whole engines apart to change seals that cost $20.

Hobbyists regularly do both. Professionals charge thousands to do either.

> Better to not get an EV if you want it to last or even be a collector's item. "Life of the vehicle" can mean "practically as long as you feel like fixing it" if the design is good.

Neither are going to be a straightforward to keep running 50 years from now as a car from the seventies, but a Tesla is going to be far easier to keep running for 50 years than a modern gasoline car. 1/10th the number of moving parts, far less wiring, far fewer computers, far fewer part count, et cetera, far less regular maintenance, et cetera.

> We don't know how unstable these EV batteries will become in 10, 20, or 50 years

Yes we do.

> An ICE car would not explode or burn down after such a long period, even with the heaviest use and abuse.

Yes they do, and at a higher frequency than electric cars do.

> I am seriously nervous having old lithium batteries in my house inside of old consumer gadgets, and those are tiny. EV batteries magnify that problem 1000x.

No they're not. EV batteries are properly managed, unlike random gadgets. They're safer, not more dangerous.
There are plenty of old languages using it. Pascal/Delphi, Ada etc. That's where the current crop of languages got that syntax from, it's not like it came out of the blue all of a sudden.

And I already explained the reasoning. No, it's not to avoid the lawsuit, it's because many people genuinely find it more readable for various reasons. Which is why it keeps showing up in all kinds of languages that are otherwise wildly different syntactically.
> literally years ahead of anyone

its easy, there is no one else in that market anymore. :-/

> and isn't able to generate revenue.

i just said we never seriously monetized it ourselves and don't have energy left to do it.

since it hasn't been done, any projection about possible profits is just speculation.

> why are you not pursuing that from every angle?

how can you convince a publicly-listed company like Jamf that they absolutely need your tech? even if it is obviously true, i wouldn't even know about one angle, let alone every angle.

> What's missing from this story?

well yeah, thats the question i posed :)
Way more, actually. It likely predates HN by decades.
The three P's: powerdown, permaculture, population control.

If we do not achieve them, they will be done for us, far less pleasantly.
Every professional programmer needs a desktop OS, and NixOS is really hard to beat. Switching to NixOS is like going from a car that is breaking down all the time to one that's reliable and easy to mod and repair. I don't recommend it to family members, but I do recommend it to programmers that care about their tools.

Of course there's many more Linux servers out there than there are programmers, but the OS the programmer uses to develop on is just as important as the OS they deploy to.
They don't share ownership of anything.

The owners do whatever they want, then lip service the fandom after the fact, and the fandom takes it because they can't cut loose from their attachment. A die hard fan that won't drop something the minute it begins to be destroyed is a sucker for abuse, and their willingness to look past it afterwards is why the owners get away with it. And they'll do it again.
Wait, you don't have recurring revenue from your customers? And you do have servers and maintenance tasks? "Insanity" is right, that is not sustainable.

That changes my answer - this is not about pricing optimization, and it is not about selling. You have a non-viable company right now. You need a fundamental change to either convert to recurring revenue at a level that supports the maintenance, or... a change to the product to be run without back-end support, on local devices only, no support.

I have no idea what your daily process is, but I'd be looking hard at automation. Unless there is some level of human judgment required every day, automate all the things. Once that is done, you can do the arithmetic on actual server costs, number of customers, and determine recurring pricing levels that customer will accept and that keep you alive. Only when you get to that point does it make sense to even start thinking about selling.

Gosh, I'm actually intrigued, though. I love efforts like that. Maybe I'm the insane one, but making a big change like that actually sounds like fun.
Yeah, weird right? It’s related to what’s sometimes called gifted kid burnout.
> I’ve never seen a mortgage in UF

??

On this recent Reddit post in /r/Chile someone asks “does anyone know if there is a bank which offers mortgages in pesos instead of UF?”

The answers all pretty much say they don’t even exist, or if the poster finds one to please let them know

https://www.reddit.com/r/chile/comments/1ep21lq/hipotecario_...

It looks like Chileans have never seen a mortgage _not_ in UF
This man was not paid for his 13 years employment, a man held for the state's pleasure, on a 24/7 basis. I suspect this amount will far exceed that 100K Euro bill.
I think this more mercantilist rather than fear of antitrust. We know that the Trump regime will not do much, if any, antitrust, but we also can clearly see that money going to trump can change how tariffs are applied.
Thanks - I've had to do basically this exact explanation countless times before. It'd be nice if there were an obvious place to refer people for this info.

That said, when I teach beginners I teach them Chinese scoring and counting. If they understand the principles it'll be easy enough to adapt later, and it doesn't change strategy in a practical way. They can play it out without worry, it makes more sense from an aesthetic standpoint ("you're trying to have stones on the board and keep them there, or have a place to put them later" - then you only have to explain that you still get points for the eyes you can't fill).

It's also IMX faster to score on 9x9: you can shift the borders around (equally benefiting both players) to make some simple shapes and easily see who has the majority of the area and you aren't worrying about arranging territories into rectangles.
Zero lol
It's very funny they would call out poor performance of KDAB's Hotspot, a performance analysis app.
To paraphrase a recentish comment from jerf, “sometimes you just have a long list of tasks to do”. That stuck with me. Now I’m a bit quicker to realize when I’m in that situation and don’t bother trying to find a natural place to break up the function.
They were pretty much forced to do this slowly and gradually. There was a large amount of external pushback and some internal too (though money controls here).
I'd say that a >=300k/y USD compensation is higher priority for most than arguing with your bosses boss that manifest V3 is a mistake.
The duration of a ponzi does not change its status as a ponzi.
JavaScript has some specific and unique issues. Some silly choices (like auto inserting of semi-colons after empty return) and source code routinely, intentionally getting mangled by minification.
I've been using USB cables since they exist, and I had never any "issues" with them.

The only "issue" I had, was that you often ended up without the proper one when you needed it. Almost all the cables came with the device which needed it. Only bought 2 which were longer.

What issues do you experience so frequently that it would justify investing more money into it?