skysight-inc/HackerNews huggingface dataset:
Sometimes people learn and grow and want to apply that to old code that they wrote. Are they given time to do that?
Indeed. Punishing people for making human mistakes causes them to hide them, feel ashamed, and not highlight issues that may affect others. Aviation has fostered (very specifically) an open culture of inquisition to errors: it's assumed that if one qualified pilot made a mistake, any qualified pilot could make the same mistake under the same circumstances. If anything, you're actively encouraged to report things that are either confusing, or situations when you nearly made a mistake – the gliding club I spent a lot of time at in the past explicitly encouraged issues to be reported and put them in their monthly newsletter. Root cause analysis is a wonderful thing, and sometimes very convoluted and interesting.

I'm sure the outcome of this event will probably be a technical mitigation of some variety to attempt to stop it happening again.
For a project i am working on, I've thought about egalitarian-based moderation (i.e people vote on moderation decisions, there is no specific 'moderators'). It could prevent admin abuse and make it so that you don't need to hire mods.
I usually tend to do the refactoring without asking permission. Just spend 20% of my time on it, get it done, definitely pays off. I tend to be pretty productive generally and with this refactoring I'm not doing something like saying "give me a week to refactor from X to Y", instead I just do a little bit every day or two, so I've never had much problem with this from management.

If you're delivering features quickly it shouldn't matter if you spend some of your time making sure you'll be able to continue doing so in the future.
Ah, much thanks for this. The concept has been with me for what seems like forever, but I'd never come across the term.
I’m just getting a static image on iPhone as well.

Is there a youtube channel?
Anyone (else) know of an affordable weather-proof trail-cam? I want to record the nightly possums running across our roof to show the kids.
Now if only they'd unlock volume control on their A-series Pixel Buds too.
That looked like they were barely accelerating
I keep thinking about this too, everything should be containerised and you can control access to shared resources like the clipboard or file system with absolute certainty, even stopping certain app from access to anything.
> Somehow in management eyes rewrites are more palatable than refactors despite costing 10x more

In part, it is resume-driven development. Rewrites are major projects, and running them (and the associated scale and budget) looks good on a management resume, and provides a nice accomplishment item.

In part, its the short-term incentive to be seen to do more with less, and move on before the consequences bite (this is also a kind of resume-driven motivation, though its more resume-driven development avoidance.) You defer work on anything but visible features, and do those in the quickest/cheapest possible way that will work in the short term, and use the credit for efficiency to move up and out before the deferred maintenance catches up. When it does, someone else gets to do a resume-enhancing big replacement project, since the state of the app makes fixing in place seem impractical. (Ironically, even with deferred maintenance, incremental remediation would probably be quicker, more efficient, and less prone to major timeline and budget-busting surprises, but when it has gotten bad enough, even the technical people who might recognize that will back management’s desire for a complete replacement because they don’t want to have to deal with the legacy mess.)
this is not true. with Android version at least, an AMO account is also required.
So, I have recently returned to Python development after several years out. In my first project [1], I was building on an existing library that was already using Poetry - so obviously I went with that for my work. Although it was a bit of a learning curve, I quickly got accustomed to it, but still wondered why it had come about given my recollections of the other tools (virtualenv et al.) being “good enough”.

Then, more recently, I had to run a different project that lacked any documentation as to how I was to run it, had a setup.py file, a Pipfile, and more in it. In trying to get this to run, I managed to make a real pigs ear such that (no doubt thanks to my lack of experience with those tools) I eventually had to delete all my virtual environments, as none of them worked anymore…

So yes, I am 100% in the “one tool to rule them all” camp these days - and although PDM does look promising, right now it isn’t offering me anything above Poetry that I care that strongly about.

As Cato might say, PyPA delenda est.

1. http://github.com/grafana/pySigma-backend-loki
This also used to corrupt an environment variable until reboot (possibly $USERNAME). Was really frustrating to debug that one
I think it’s important to note that it’s impossible to “beat” lag. The only thing you can do is hide lag in different places. There are a bunch of solutions that all have different trade-offs.

This solution is in roughly the same space as one I wrote about a long time ago. https://www.forrestthewoods.com/blog/tech_of_planetary_annih...
Well this was because you were completely ignorant of Saudi Arabia and the peninsula in general then. No one has ever mistook the Saudis for non-extremists and they’re liberal compared to the population they govern.
It's like this in Java, but at that point I'd rather do the | Error return type. Same level of explicitness either way.
Student Debt Relief Is Undermining the Military’s Predatory Recruiting Practices
That does prevent forcing a particular religion on people but it does not in any way prevent the mix of religion and government. As just one example, court rooms still have people swear on Christian bibles. I believe it has recently become optional. There are also many government buildings that fund the creation and installation of religious statues and bible verses on plaques in their halls using taxpayer funds. There are many laws derived from Christian ethics and values.

There are also unwritten concepts that are effectively enforced such as prison review boards giving credence to someone that has become a Born Again Christian when considering parole. That is not written anywhere to my knowledge.

But you are right, they can not force someone to be Christian.
> iff you install the other runtime. When you do, you’re using twice as much disk space, more memory (due to less sharing),

Such concerns are almost always premature optimization. It costs next to nothing to use Dolphin in Gnome or Nautilus in KDE. Virtually all KDE users have at least some GTK applications they use anyway, Firefox uses GTK and most KDE users use Firefox. The only time this might become an issue is if you enjoy running modern software on antique hardware.

And refusing to use a Qt application in Gnome because you think it will increase your attack surface is.. very odd. If you're only using a single file manager, then you only have to worry about vulnerabilities related to a single file manager. Vulnerabilities in another which you have installed but don't run aren't relevant. I'm using PCManFM but also have Dolphin installed. If there is a Dolphin vulnerability, why should I worry about it? Having Dolphin installed doesn't expose me to any meaningful risk and only costs me about 2MB of hard drive space. It's nothing. It's not even worth my time to uninstall it.

> Electron is really a distinct platform. It requires an underlying DE

I mean.. it doesn't. Electron apps work with bare bones tiling window managers, they generally don't make any assumptions about desktop environments or require you to use one at all. And that's the way it is with other GUI frameworks, and the way it should be.

If you want to make a native linux desktop application, then just pick whichever framework you like best and stop worrying about what DE your users prefer. Their DE preference should have no bearing on your choice. If you choose GTK like Mozilla did, that's not going to stop 99.9% of KDE users from using your program. One in a thousand KDE users actually using Konqueror to browse the web is probably a generous estimate..

tl;dr: "Too many DEs" is not an authentic impediment to writing programs for Linux. It's just an excuse frequently cited by Windows developers who usually don't understand Linux in the first place. 'Fragmentation' is a convenient excuse for their (IMHO reasonable!) unwillingness to cater to such a small number of people. If Qt/KDE didn't exist and GTK/Gnome were the whole of the Linux desktop experience, they'd find another excuse.
Again, what counts as success?

The early and (IMHO) best days of Usenet, Slashdot, Digg, Reddit, Twitter, etc were the intense concentrations of particular interests .. groups of { Network | Civil | Mechanical | Electrical | Numerical } Engineers, Biologists, Programmers, Lawyers, Mathematicians, Physicists, Artists, etc.

Mastodon, as I see it ATM, has the kernal of the same and is trending into comunnity clusters with cross fertilisation.

The specialist math mastodon community is good fun and has more and more people every month - in time it'll snowball and potentially draw in the bulk of the online math crowd.

Twitter saw a peak in the world following accounts in Ukraine, if and when another major world event is locally reported and discussed on an ad hoc mastodon instance that too will spike acceptance.

Or it may fall by the wayside .. but the argument of "not enough people are (yet) using it" has applied to all the major social networks in their early days.
Wyoming SJ0004 – Phasing out new electric vehicle sales by 2035
Income Tax paid by Indian Americans(1.4%) same as Income Tax collected by India
This environment sounds stifling. Very glad most of the time there's no one trying to inject tickets between me and fixing broken shit.
SAIC Galaxy 1100: a pre-CDE VUE of the PA-RISC with a security clearance
I've experienced maximum breaking in an emergency landing.

Many passengers (including me) instinctively put their hands on the seat in front to steady themselves. You could easily slide around if the seat belt were loose.

It was it worst for children whose legs didn't reach the floor, but there were none seated near me.
It's almost accurate to assume that everything can throw an error in high-level code like this, especially in something complex enough to warrant a lib. The thing is, in a webserver, those are all unexpected errors and thus 500. There are only a few known ways the client can use it wrong, and I give 400 for those.
> Windows and macOS these days have vendor-provided code signing authorities that can be leveraged (and are by default), which provides at least some protection against malware at the macro level

The code-signing is relatively trivial to workaround, you just have to get users to run xattr(1) to remove quarantine status.
Ask HN: I miss CTRL+ALT+DELETE, what's the Linux equivalent?
I've been using Linux for most of my life, and the Windows feature I miss most is CTRL+ALT+DELETE for recovering from freezes.

When your Linux system freezes, what do you do to recover functionality?

(At the point a Linux system has frozen, it's usually too late to summon a command prompt with Ctrl+Alt+F3. The Magic SysRq Key seems like it should be able to duplicate the functionality of CTRL+ALT+DELETE — but so far I haven't successfully used it to recover from freezes, and it isn't usually enabled on friend's computers.)
Right it’s when they lose them for political beliefs that it is political persecution.
Per OP's report, what matters is axle load.

A typical garbage truck has 2 or 3 axles. Let's assume 3 to be conservative. A fully loaded garbage truck weighs around 50,000 pounds. That's 16.6k pounds per axle, vs a Tesla Y's 2.2k pounds per axle.

Doing the math, a single garbage truck does as much road wear as ~3,300 teslas.
I'd expect nothing less from a runway incursion at a bravo
Head-up display? Augmented reality?
> none of which quite looks like KDE.

Indeed, the biggest issue with using a mix of GUI frameworks is the inconsistent styling. But anybody who's used desktop Linux for long has either made peace with this, or endeavored to unify their styling. Either way, it's not a problem for the application developer to worry about.
They're describing the worst-case thing someone could do with the privilege being granted, because they have no way of saying what the developer will do with the privilege.

The way to make the prompt sound less scary, is to use finer-grained permissions where the worst-case thing someone could do is less scary.

(Or, if there aren't any fine-grained permissions suited to doing your task — then propose some! The browser vendors would love to get real feedback on the kinds of fine-grained hypothetical privileges that extensions authors would actually find useful. Otherwise they're stuck reading the source code of a small sample of extensions, and extrapolating general patterns of privilege-use from there.)
Nice bad faith question. Do better next time and come up with a real one if you want to engage
Each human life is worth approximately $10 million [1], so you're in the right ballpark.

[1] https://en.wikipedia.org/wiki/Value_of_life
This is the approach I take too. I’ll refactor code / UI cleanup in the area I’m working in. Sometimes QA complains if they review commits, but I’ve never had to revert changes because of it.
On OpenBSD do you even need to compromise the kernel? Can't your normal user account install a backdoored browser, steal your ssh keys, DDOS people, start a VNC server, keylog, etc.
If the government passes a law saying "you can only be a psychologist if you have a license from the College of Psychologists", and the College of Psychologists will only let you have a license if you go to a re-education camp, why should we look upon that any differently than if the government passes a law saying "you can only be a psychologist if you go to a re-education camp" directly? If you choose to delegate your authority for something to others, shouldn't you be responsible for what they do with it?
There must be a good enough programmer at your work, try to get as many pole requests reviewed by them as possible, and make clear that you are eager to learn. Unless they are totally burned out, I bet they will be thrilled to pass on their wisdom(even if it is only relative). Even the same information that you could find in a book will feel much more compelling to act on if you hear it from a person.

Obviously, you should write down all of their generalized advice, and make sure that every poll request in the future incorporates it. Within six months you will probably be getting very few comments as you have 80/20 internalized their experience
You’re completely ignoring the fact that the government not forcing a single church is the separation of church and state being talked about
Grocery store introduces 'slow checkout lane' for people who enjoy talking
There’s something about the thought of playing Cyberpunk 2077 on the last day, right until the moment the plug is pulled by a large corp.
top or htop in the terminal
Good lord, why?

Seriously, Perl is an okay language for quick and dirty things of a tiny/small size. Yeah, it's not the best language for a large development project, but if you do need to parse /etc/passwd or something, not only it's perfectly good as-is, but you'll certainly find something on CPAN that already does it well.

I can't imagine why would one want to do that kind of thing in C. It's just unnecessarily painful, and you'll spend 90% of the time on doing things that don't solve the actual task you need to be solved.

Yeah, in modern times it's gone way downhill, but that's mostly if you intend to do something big with it. I wouldn't use it to start a new, fully featured CMS. But for sysadmin type stuff as an alternative to sh/awk it's still just as usable as ever.
Improving Async Networking in Python
> Lisp code is written in a simpler notation than ASTs, it's written as nested lists of objects.

That is exactly what a simple AST is: A tree structure representing the semantics of the code you wrote with no syntax info.

> Hierarchical data-structure: the s-expressions are based on nested lists of arbitrary data. Like symbols, numbers, strings and many others.

This is exactly what AST’s do as well. Whether it contains the semantics of Lisp code or (say) C code.

> S-expressions are no abstract syntax trees, since they capture no syntax information about the meaning of the symbols.

This is a misunderstanding. AST’s capture semantics not syntax. You can pretty print AST’s into a different semantically equivalent syntax if you want. That is what some compilers do: Lisp syntax -> AST -> C syntax.

> That gives an extra degree of freedom: the input to the Lisp evaluator is not an AST (either read or generated by a parser), it's just nested lists of symbols and other objects.

This is not correct. The input to Lisp macros are runtime data structures. Not syntax. Different Lisp interpreters/compiles use different runtime representations. Typically linked lists.

The nodes in the linked list typically have a lot of additional information like type information, column/line data for error reporting etc.

> That means for example that Lisp macros accept code in an arbitrary syntax.

Nope. As I said above, macros accept runtime data. You need to clearly separate syntax from semantics/runtime in your head to understand what is really going on.

> For example this is valid Lisp code when LOOP is a macro and implements its own syntax.

Macros are runtime code executed during the parser stage. It has nothing to do with syntax. Other languages execute macros the same way. That’s why I said above that macros aren’t unique to Lisp.

> The s-expression does not encode basic information like what the meaning of the identifier is.

That is correct. You can define different semantics to the same S-expression.

However for the S-expression to be interpreted as Lisp you need to use the Lisp semantics to run it.

I use S-expressions all the time for configuration files etc. However I use a different semantics. So the S-expression might look like Lisp but it isn’t Lisp in those cases.

> An AST would encode what the construct is: operator, variable, class, ... Lisp s-expressions don't do that.

Nope that is not true. A typical AST for Lisp would have the following semantics categories:

List, Symbol, Integer, Float, String.

That’s it. There aren’t many. That’s what makes Lisp so easy to implement. In other languages you might have 20+.

That’s exactly what I mean when I say that the Lisp syntax directly represents the AST. And no other language does. That is the one feature that makes Lisp unique.
It's not a quick hack for a personal project.

You have to sign up to the Chrome Web Store Developer Dashboard and agree to all the terms and conditions, semi-publish the extension to a limited group of people (probably only yourself), and AFAIK you need to be logged in as one of the group members in order to be able to then see the webstore page of the extension and install it.

In order to update a small issue you need to submit a new version and wait for approval and hope that your account doesn't get flagged because you're using the extension to store all your (tab-)history into a custom database.
FPAT will get you pretty far, for instances where FPAT doesn't quite cut it gawk-csv is included in gawkextlib.
Do you know if there are any good instructions for installing alt store on an AppleTV?
ATC recordings, plus a diagram more or less to scale: https://www.youtube.com/watch?v=9N1gDSZJ5s0
KDE 3.X was the first Linux desktop I ever used. It was back in the old days, when I installed a SUSE Linux that came in a magazine that my mother bought me after me finding it unexpectedly in a groceries shop while shopping with her.

I felt pure and simple fascination. I was a teenager that only knew Windows. I spent hours playing around with it and its familiar and attractive aspect helped me a lot on making easier to dig into the GNU/Linux idiosyncrasies. Later, I moved to Ubuntu and Gnome 2.X, then Debian, then Slackware, then Arch then whatever was the trend at the time. All great experiences, and despite nowadays I use Gnome (in Fedora) exclusively (and enjoy it quite a lot) I will always have KDE in my heart.

The only shame is the fact that no mainstream distro (from the subset I prefer to use for technical reasons: RHEL based) use it as a first class citizen. I would be open to give it a try if that wasn't the case.
I guess Honey is a good example of a browser extension that went on to turn into a successful business.
Writing Things on the Internet
You can add a wildcard entry (Host *) with the username to your ssh config. That will make it the default (can still be overridden by host-specific settings).
It had some use. I'm pretty sure IE used to support client side transformations when rendering XML that linked an XSLT file. I know one SaaS used to do that before they rearchitected their front end.

But XSLT was not fun work with.
You sure? When air flight was pre-commercial it was a dangerous business indeed. Had we been as cautious as with space flight we wouldn’t have had commercial air flights until very recently.
The price of my rent has gone up way higher than the rate of inflation. But what can I do? This place is close to my job and my friends, though now they are moving out.

Seriously feel like just because prices are going up then a lot of institutions and people are using it as an excuse to extract even more money out of people, which just worsens the cycle.
Before clicking on the link, I expected failure. Turned out it is a success story, and I am a bit disappointed.

I have seen "code cleanup" that made things worse countless times. Especially if the idea is to dedicate time just for that, instead of doing it as you go. I expected the article to be about one of these failures.

The article describes 7 points, and suspiciously nothing goes wrong. It is rarely how it happens, there is typically some trial and error involved, and knowing what failed is as important if not more so than the final solution that works for you.
> the use of social media and other communications has been criminalised inside the kingdom since the beginning of Prince Mohammed’s reign.

I don't understand the harping on about "social media" here? It's not using social media that's illegal in Saudi Arabia, it's public dissent, and that's been the case since day one. Previously people were jailed or executed for spraying graffiti on overhead bridges, but the authorities were too clueless to care/understand about posting on the Internet. Now the dinosaurs have been replaced by MBS, who does care about the online world, so they've started applying the same old punishments to people posting the same sentiments online.
Another article stuck behind a paywall…
> The literature on neural network calibration seems to me to have missed this distinction.

I’d hazard a guess that analytical solutions are intractable and numerical solutions would be infeasible.
I'm not convinced this is entirely true. In the USA maybe it holds some degree of accuracy right now but just looking at China and Tencent shows plenty of evidence for how a tech company might find heavy government interference cumbersome at the very least within certain commercial spaces.
Maybe that will be the next use case to make larger amounts of memory mainstream. At the same time, somehow Tesla still manages to cram more and more neural nets into that small memory. So it could also be that many neural nets are just not really efficient yet.
A PhD thesis written using TeXmacs
Ridiculous. This is comparing the modern commercial private space flight industry with the still maturing mostly public industry. Compare how dangerous the first twenty years of air flight was. We haven’t achieved the same level of commercial space flight due to just how cautious we’ve been.