skysight-inc/HackerNews huggingface dataset:
So honest question, if not YAML and JINJA, what would you want? More end devices are beginning to have configuration APIs but managing legacy network devices still requires SSHing in to make a change, thus all the templating components. My partner and I are trying to make a vendor neutral management tool to abstract all the templating and present an API but it's a hard problem with so many different vendors out there.

Unrelated but I've been experimenting with having a central KV store to host network state for physical devices (Cisco, Arista, etc) and when the state is updated, the network devices are updated (via a templating engine with SSH or API calls to end devices) but even with that it still takes templates to write the config.
It wouldn't be suitable for any application where you care about GDPR (i.e. you store personal information and have users in the EU)

The "right to be forgotten" is not compatible with immutable data. You can't simply need to mark data as deleted, you need to 'purge' it from your system (and possible backups, depending on how long you keep historic backups) - that isn't possible in a system with immutable data.
@gus_massa I just updated the project to show the nagivation for the first 5 seconds before hiding it, and changed the title of the page.

I'll soon be working on a countdown time until next "event".
You have several options here:

- store the data encrypted using a secondary protocol, lose the key

- rewrite the whole db

If either of these is not feasible then you should have thought longer about what tech is suitable for which application. Operating your company in a legal manner is a pretty strong factor when making such choices.
These cards are too long: https://docs.ankiweb.net/editing.html#:~:text=keep%20it%20si....
Vimeo launches enterprise-grade video hub ahead of IPO
>code should be written to be easy to delete

This article tends to make the rounds on here every once in a while: https://programmingisterrible.com/post/139222674273/how-to-w...
"Is not the same not having internet, water, or power, than not having Twitter or Facebook dude."

20 years ago, we could have seen the same argument that internet is not like water or power.
HackerPod: Fundraising 101 – Raising $3.1M with Will Goto
This is a personal site by Peter Cooper of Cooperpress. This is is one of the people whose work I admire.

This site gives me vibes similar to this blog post by Dan Abramov https://overreacted.io/things-i-dont-know-as-of-2018/
> hearing someone saying dirty code doesn't exist is really frustrating

Not sure why you're being downvoted, but as an unrelated aside, the quote you're responding to literally did not say this.

> that's why people bring up that book

I think the point is that following that book does not really lead to Clean Code.
My app's first 18-months' Store performance
I'm not sure what you are arguing here. Do you think 1% is a significant finding? What was the margin of error?
Often "correcting falsehoods" is like trying to talk someone out of believing in God by explaining evolution. Or trying to argue with someone who believes in "systemic white supremacy" by pointing out that Asian-Americans earn more money than white Americans.

I don't know what to do in these situations. You can't talk people out of their values but it is better when people express their values in a moderate way that aligns with empirical facts. Probably there's some polite way to express your disagreement without saying "actually here's why you're wrong".
The Worlds to Come
I've been chewing on this idea for quite a few years now. I sure wish I had someone to mentor me when I struggled in the early part of the career.

I really do wonder if we might benefit from teaching programming like a trade discipline instead of expecting devs to do a degree like computer science.

I received very little formal programming education from my compsci degree. I did get an understanding of a lot of foundation and principles, but as far as programming goes I sometimes feel just purely self-taught.
Why are device-independent bitmaps upside down?
It's a vestige back from times when superheroes were just radio dramas. The Green Arrow was a popular one. The sounds were the only way to add fast paced action. And despite their tackiness, people only had newspaper as an alternative.
As a war act? What does it mean in terms of practical steps?
> it is _much_ easier to refactor copy pasta code

So long as it remains identical. Refactoring almost identical code requires lots of extremely detailed staring to determine whether or not two things are subtly different. Especially if you don't have good test coverage to start with.
Singapore still has mandatory bomb shelters.
The friendliness thing is hit and miss, small communities have their own brand of dysfunctions.
That's a reasonable perspective to take. But the A710 still supports AArch32. And they were really close to a traditional re-vamp point anyways =P. This release (of the middle core) would have been then A79. The next release (the one that would actually deprecate AAarch32) would have been A80... and doing weird shit when you reach "10" would just follow in the grand tradition of tech. I think really only Intels somehow just... kept counting up in a more or less sane way.
I'm not convinced that Elisp-the-language is really the limiting factor. I'm not an expert on the details- just a passive observer for several years. But, IIRC, Elisp recently got some kind of cooperative async stuff. Even before that, my understanding was that there are a lot of legacy architecture issues with Emacs, from its GUI model to the actual text data structures, that contribute to to latency/slowness.

I think a full rewrite in any language would have likely brought about a better UI experience.
Man, this is not my field at all but it’s been enlightening reading the comments here. I’ve heard that academia was rife with perverse incentives but YEESH.

It certainly seems like the medical/scientific field could use something like ResearchHub.
Build cloud-native applications that run anywhere
Record 1,210 foreign nationals lost residency status last year
I'll rephrase. Imagine I'm a startup. If someone tell me, I want to transfer my savings to a conpetitor, why should I care about this request?

The answer should be obvious, it's their data just like it's their savings.
Yep. Re-use is difficult. When you overdo it you cause a whole new set of problems. I once watched a person write a python decorator that tried unify HTTP header based caching with ad hoc application caching done using memcached.

When I asked exactly what they were trying to accomplish they kept saying "they didn't want caching in two places". I think anyone with experience can see that these items are unrelated beyond both having the word "cache"

This is what was actually hanging them up ... the language. Particularly the word "cache". I've seen this trap walked into over and over. Where a person tries to "unify" logic simply because two sets of logic contain some of the same words.
Most of these types of books approach things from the wrong direction. Any recommendation should look at the way well designed, maintainable systems are actually written and draw their conclusions from there. Otherwise you allow too much theorizing to sneak in. Lots of good options to choose from and everyone will have their own pet projects, but something like SQLite is probably exemplary of what a small development team could aim for, Postgres or some sort of game engine would maybe be good for a larger example (maybe some of the big open source projects from major web companies would be better, I don't know).

There are books that have done something like this[0], but they are a bit high level. There is room for something at a lower level.

[0]: http://aosabook.org/en/index.html for example.
I’d say “Stop recommending Clean Code to noobs! It’s dangerous”

Because Clean Code is really a good book once you have enough experience to understand when each idea works and when does not. And why.

And noobs tend to over-engineer, so any book like CC or design patterns give them additional excuse and reason to over engineer and make a mess.
Microsoft Azure launches enterprise support for PyTorch
Then you copy function and modify one place? I don't get what is so hard about it. The IDE will even tell you about all places where function is called, there is no way to miss one.
Sure, but in IT the rule of assumption should be that the code will outlive the coder. If being able to talk to other engineers is going to make the difference (instead of just being an optimization) then you already have problems.
The Will Pirkle books are excellent, and he did a new edition of the synthesizer one. "Designing Software Synthesizer Plugins in C++: With Audio DSP"

Also, you can learn a ton by looking at various other higher level languages do it: Csound, SuperCollider, PureData are all open source.

Oli Larkin made a brilliant page of resources on github:
https://github.com/olilarkin/awesome-musicdsp
Ballpark yes, but that's likely a huge overestimate, as even normalized to age, its people with co-morbidities that have the lion's share of deaths.
Not included is this unbelievable button from an example in TikTok’s web api:
https://developers.tiktok.com/doc/login-kit-web
Maybe they took Facebook's market cap (about a trillion) and divided by yearly active users or something.
Depends how they manage to have Play Services running on them.

https://source.android.com/devices/architecture/modular-syst...

The information on the link is outdated, it was presented at Google IO that Android 12 will now also ship ART as APEX module.

Most likely by then the AOSP documentation will be accordingly updated.
I tried that but they took it as a joke :/ Now they'll sometimes make fun of me (in a good-natured way) about hating chewing sounds, and to complain about it "formally" would be too serious/offputting.
I started OOP in '96 and I was never able to wrap my head around the code these "Clean Code" zealots produced.

Case in point: Bob Martin's "Video Store" example.

My best guess is that clean code, to them, was as little code on the screen as possible, not necessarily "intention revealing code either", instead everything is abstracted until it looks like it does nothing.
I don't know what fancy stats the economist does (and I don't trust fancy stats), but I looked at the french stats [1] recently and my back of the envelope approach [2] suggest 50k excess deaths. There was 55.7k more deaths in 2020 vs 2019 (which didn't seem to be an extraordinary year). Over a 25y period, the number of deaths increases by 3.4k every year on average (population growth).

The number of cumulative covid deaths in france is 109k, of which 65k to the 1st of Jan 2021 [3]. So the excess deaths seem to be in line with covid deaths.

Now you could get a very different result for another country depending on how well covid deaths are reported. Also difficult to predict how this will look like in 2021. Covid deaths seem to be predominantly people near their end of life, but on the other hand the delay of lots of medical procedures as the result of the lockdown should have its own excess death, plus impact of change in crime, accidents, increase in poverty, etc. God knows what will be the net effect of all this.

[1] https://www.insee.fr/fr/statistiques/2383440

[2] https://zbpublic.blob.core.windows.net/public/excessdeathfr....

[3] https://www.statista.com/statistics/1103422/coronavirus-fran...
I think there's a straightforward counter to that:

> From a purely utilitarian perspective, the worst age to die is 20-22,

that's easily adjustable: if 95% of newborns become healthy 20 yr olds, then just multiply the number of newborns by 0.95. The harder part is estimating total number of years lost, but it doesn't sound particularly out of the ordinary for a research problem in statistics/epidemiology.
Exactly... I find that a lot of the folks posting the most misinformation have basically zero interest in whether it actually is true.
This is insufficient. The strongest guarantee you can get without consensus is that the state of the DB you see on the client is/was a correct state at some point, it doesn't provide freshness/rollback attack prevention, aka that the state you see is in fact the latest one.

Keeping track of the "HEAD" hash on the clients is what consensus protocols achieve. You can also achieve it with trusted counters like the one SGX provides (depends on Intel ME so not exactly recommended, also most probably switched off in cloud environments). Alternative is an implementation of something like https://dl.acm.org/doi/10.5555/3241189.3241289.

You can of course say that it's the clients' responsibility to do this, but in practice they won't and they'll implicitly trust the server state.

Having said this, the project does look promising, we may end up using it in a confidential compute setting where clients can verify the server code running, and we'll add rollback protection on top
Robert Martin and his aura always struck me as odd. In part because of how revered he always was at organizations I worked. Senior developers would use his work to end arguments, and many code reviews discussions would be judged by how closely they adhere to Clean Code.

Of course reading Clean Code left me more confused than enlightened due precisely to what he presents as good examples of Code. The author of the article really does hit the nail on the head about Martin's code style - it's borderline unreadable a lot of times.

Who the f. even is Robert Martin?! What has he built? As far as I am able to see he is famous and revered because he is famous and revered.
That's just a law. It's not in the Constitution.

Depending on how people see Big Tech, the law may or may not be changed. And the kinds of arguments FB, et al., make to defeat this law will affect how people see Big Tech.
I will shed a small tear for the passing of AArch32 as it was the first processor architecture I really enjoyed programming.

I wrote hundreds of thousands of lines of assembler for it and what a fun architecture it was to program for. Enough registers to mean you rarely needed extra storage in a function and conditional instructions to lose those branches and combine that with 3 register arguments to each instruction meant that there was lots of opportunity for optimisation. Plus the (not very RISC but extremely useful) load and store multiple instructions and that made it a joy to work with.

AArch64 is quite nice too but they took a some of the fun out of the instruction set - conditional execution and load and store multiple. They did that for good reason though in order to make faster superscalar processors so I don't blame them!
The actual issue is that 90% of "falsehoods" aren't proven as false by the WOKE gatekeepers of modern discussion...but with certainty, they label and dismiss them as "falsehoods" when the cognitive dissonance of their personal politics kicks in.

Then they say "the burden of proof lies on you", but considering that digging up proof on these types of things (in the short term) often relies on further discussion and research, it's kind of a catch-22 to continue the debate.

Latest case in point: Covid was a super-virus created in a lab with funding personally approved by Fauci (who is now enriching himself from the debacle)....and made it's way out of the lab and into the general population.

Next case in point: The 2020 election machines actually were hacked, and results were tampered with. Gasp! Censor that wrong-think!
This is my experience as well. I know it can be fast because emacs absolutely screams on my Linux machines, but it's super sluggish on the Mac I have to use for work.
China vaccine effectiveness “not high”, requires 3rd dose
My last company was very into Clean Code, to the point where all new hires were expected to do a book club on it.

My personal take away was that there were a few good ideas, all horribly mangled. The most painful one I remember was his treatment of the Law of Demeter, which, as I recall, was so shallow that he didn't even really even thoroughly explain what the law was trying to accomplish. (Long story short, bounded contexts don't mean much if you're allowed to ignore the boundaries.) So most everyone who read the book came to earnestly believe that the Law of Demeter is about period-to-semicolon ratios, and proceeded to convert something like

val frobnitz = Frobnitz.builder()
.withPixieDust()
.withMayonnaise()
.withTarget(worstTweetEver)
.build();

into

var frobnitzBuilder = Frobnitz.builder();
frobnitzBuilder = frobnitzBuilder.withPixieDust();
frobnitzBuilder = frobnitzBuilder.withMayonnaise();
frobnitzBuilder = frobnitzBuilder.withTarget(worstTweetEver);
val frobnitz = frobnitzBuilder.build();

and somehow convince themselves that doing this was producing tangible business value, and congratulate themselves for substantially improving the long-term maintainability of the code.

Meanwhile, violations of the actual Law of Demeter ran rampant. They just had more semicolons.
> I guess I shouldn't be at this point, but I'm always surprised that the people posting the misinformation aren't terribly embarrassed about it when it's revealed.

When things become hyperpartisan, people can't see this revelation. When people read articles like this, I wouldn't be surprised if the reaction is mostly "Yes, I can't believe those people who disagree with me do this," and not a reflection on their own behavior.

You can see this if you follow any political argument online. No one believes that the someone on an opposing side could have a valid argument, or could correctly point out their mistake. If a third-party observer tries to point out a mistake, people will usually cast them as the enemy and accuse them of spreading falsehoods.

Walter Lippmann's excellent Public Opinion points out how it's difficult for people to be both interested in a topic and neutral. This excerpt touches on the issue:

> "It has been said" writes Walter Bagehot, [Footnote: On the Emotion of Conviction, Literary Studies, Vol. Ill, p. 172.] "that if you can only get a middleclass Englishman to think whether there are 'snails in Sirius,' he will soon have an opinion on it. It will be difficult to make him think, but if he does think, he cannot rest in a negative, he will come to some decision. And on any ordinary topic, of course, it is so. A grocer has a full creed as to foreign policy, a young lady a complete theory of the sacraments, as to which neither has any doubt whatever."
Conversely, fixing duplication is never hard. Just move the duplicated code into a function. Going in reverse can be much tougher if the function has become an abstraction, where you have to figure out what path each function call was actually taking.

Or, put another way: I'd much rather deal with duplication than with coupling problems.
> Why do I want the package manager to fetch and install dependencies for a project?

You don't have to do that. If you separate the task of building from the task of managing software, you can mix and match solutions for each separate task as you wish.

> And I've seen makefiles with "sudo apt install libqt5core libxml2-dev ..." in them and I didn't like that.

That's obviously terrible too.
there are many differences (as immudb contributor):
- immudb can be used embedded or client-server database while qldb is a aws service
- immudb behaves as a key-value store but also provides SQL support while qldb provides a document-like data model with PartiQL language
- immudb provides time travel features
- immudb it's faster, built-in with a mode of operation designed for fast writes which works with eventual indexing.

Finally but super important, immudb can be deployed anywhere and it's open source!
If someone is acting like a moron or saying harmful things, I should be able to kick them out of my business.

Saying whatever you want is not and should not be a protected class.
Am I wrong in thinking that if this were 2000-2001, Google would have had to defended itself against antitrust claims by now?

That said, few jurisdictions if any have shown an appetite to seriously investigate its monopolistic tendencies.
I wonder how many projects will end up moving in the end. So far, freenode still seems to have kept the majority of channels/users.

I don't have a horse in this race; I just expected anyone who was going to move to have done so already.
In a default installation, as far as I am aware, Emscripten uses Clang as its compiler, while the code at the bottom implies it uses GCC. (To support existing build pipelines, it attempts to recognize arguments for either compiler.) Is this in error, or can Emscripten be configured to use GCC?
Like everything else: it's fine in moderation. Newbies should practice clean code, everybody else gets to make their own decisions. Treating anything as dogma whether it is Clean Code, TDD, Agile or whatever is the flavor of madness of the day is going to lead to suboptimal outcomes. And they're also a great way to get rid of your most productive and knowledgeable team members.

So apply with caution and care and you'll be fine.
good comments here, i'll let it go ;)
Of course companies will push whatever agenda suits them and websites will push anything that gets clicks. But there are people who genuinely feel this way (I'm one of them).
Claiming they "enjoy immunity" against illegal stuff posted on their websites is like claiming that you "enjoy immunity" against illegal stuff that shows up in your physical mailbox.

It's not enjoying, its sensical.
thanks for your comment, i'll let it go
Uh, anyone can make an asylum claim. An asylum claim is basically a plea to not be deported. It is usually a last ditch tactic when you are caught on US soil illegally, and you are not disputing that you are here illegally but are making a plea that you should not be returned anyway. It was a law introduced to aid Cuban boat refugees who were unable to apply for refugee visas and so always came here illegally.

The question is what are the grounds that would make such a plea legally successful, and being an economic refugee is not one of them. So while you are correct that economic refugees can make the claim, you are incorrect in that such a claim would succeed. People with red hair can also make the claim. Anyone can make the claim.
Yes, the Home Hub includes both a screen reader and touch exploration mode.
There is a huge difference between working on a team and the team essentially acting as a replacement for your social life.

I love working on a team. I don't want to spend my free time with them. That's what my friends are for.

Sometimes people from the team become friends that I spend time with outside of work, but that's on my terms not my employers.

It really seems like many people do not have any kind of healthy boundary with their employer.
For me all this kind of stuff is only to sell books, conferences and consulting services, and a big headache when working in teams whose architects have bought too much into it.
Effective Shell – Loops and working with files and folders
I've recently had to dump Emacs for Vim. I found with using Rust Analyzer on Emacs, it would regularly lock up for a number of seconds. With Vim (NeoVim anyway) this does not occur.
It's an appeal to authority. Authority which is not established but the process. Increasingly it adds nothing.
So from what I've seen around here, there's some more FANG activity (FB/Whatsapp & Amazon are massive here, lots of PMs and engineers/data scientists).

India used to be a outsourcing hub, but now over the last decade a lot of home grown companies have done well (about 50 unicorns) and the large global dev companies have set up R&D centres (WalmartLabs, Linkedin, Cisco, Adobe and 1000+ more).
Comparing the murder rate of two random states with different gun laws doesn't actually tell us anything about the effects of gun laws on the murder rate. Would love to know how a comment based on the same logic arguing the reverse would do on HN. Brazil has way more restrictive gun laws then the US and way more murders. "Ouch." Guess those guns are in fact keeping everyone safe.