skysight-inc/HackerNews huggingface dataset:
(author here) Thanks for the comment! I do think you hit on something interesting, and it partly explains why the project is so big :)

To me, shell and Python/JS feel kind of similar, and that was sort of the thesis at the start of the project.

But if you just incrementally add features to Bourne shell, you basically get Korn shell, which is where bash got all the "bashisms" that people don't like.

This paper was surprising to me; the proprietary AT&T ksh was used for GUIs and so forth, AND it was embeddable like Lua:

http://www.oilshell.org/archive/ksh-usenix.pdf

[ksh] has the capabilities of perl and tcl, yet it is backward compatible with the Bourne shell. Applications of up to 25,000 lines have been written in ksh and are in production use.

Much of the impetus for ksh–93 was
wksh, which allows graphical user interfaces to be written in ksh.

It's a lot more work to make something like Python or JS! Garbage collection is one issue; shells don't have it because they don't have recursive compound data structures or true functions.

So I would say that ksh "failed" because it took a lot of shortcuts. Perl, Python, Ruby, JS, and PHP won. So with Oil I also am upgrading shell, but it was a lot more work since I wanted to make it like the latter languages. It wasn't obvious at the outset how different these things are!

So in a sense Oil is upgrading shell to be more like the languages that won, which I still think is a good idea. It's weird that every computer boots to into a programming language REPL, but you're discouraged from learning it because it sucks. There's no reason that language shouldn't be a good one.

---

Yes pipelines are a big deal and the runtime is solid now so they can be enhanced. Ideas here, feel free to chime in: https://github.com/oilshell/oil/issues/843 :)
Interesting, it seems a 3x productivity boost to all programmers and admins would be a no brainer for the industry.
From that story, it doesn’t seem like calling 911 was the problem. It was tweeting about it.
this is incredible. And I thought I had it bad with politics in tech companies... this is some next level not giving a fuck right there - people who cheat like that should be punished severely, and work as supermarket cashiers, not become fricking professors. Unfortunately, I too, were I in your shoes, wouldn't pursue it much further past filing a formal complaint or two: the game is asymmetrical, it's much harder to nail someone for wrongdoing than it is for them to fudge up some lab results. Not to mention the emotional toil and waste of time and potential political blowback the would be whistle blower would suffer...

Pretty depressing stuff.
I once went on a bit of a journey to find "realistic" novels about AI and outside of Superintelligence (which I enjoyed reading as if it were a novel) and The Age of Em, Excession is one of the best I found. Still, nowhere close—I eventually concluded that truly imagining artificial intelligence in a way that would make for a compelling narrative is mostly impossible.

Others include:

- Accelerando

- A Fire Upon the Deep

- Permutation City

- Daemon

So far, the only sci-fi novel that meets the level of rigor I was looking for—albeit about aliens rather than AI—is The Three Body Problem.
the irony is that the intern after three years of suffering, twisted the arm of our PI and convinced him to do the right thing and got an 11-page retraction identifying and confirming the source of her artifact. This diligence got her a job at a big pharma company.

Of course her paper should have been a cautionary tale, but there are still people using the flawed technique for high-throughput studies to this day.
I like boring diagrams.

- Static with zero animations
- Connections are always visible (no need to hover over)
- Logically laid out, not randomly placed and drawing connection lines all over
- SVG or PNG format, I can copy it and save it on disk
'Matter' at no point felt like utopia to me.
The pace of change is too quick and the permutations of how to do X are necessarily too numerous.

As far as I know there is no “standards body” that governs these things across organisations.

Ie: if you’re developing a web app that needs to poll other systems for data every X minutes there should be a standard that governs the best way of doing this in the major 5 languages.

Taking into account SRE principles like logging, scaling, security etc. And some clear code examples using the simplest and least OO-functional-prototypical-new age code possible
A library for structured HTTP headers in Python v2.2.4
Fun fact.. it doesn’t!

Some of the most widely used software has been created in a few weeks or days.
It's a personalized echo chamber. YMMV
instances are federated with similar instances. one video on instance A goes to all instances in its network. everyone from those nstances or from any activitypub account like mastodon or pleroma can interact, comment, like...
Great timing. I just showed my kids some of the things you can do with this on the Circuit Playground Bluefruit[1] earlier today. It comes with a lot of sensors and is full of possibilities.

For getting started fast I can't recommend MakeCode[2] enough. It's a web IDE with a compiler and device simulator for programming microcontrollers with blocks or JavaScript/Python.

That said, for more complex projects CircuitPython might be a better choice. There are tons of docs and lots of great examples. It re-runs your code every time you save so you get instant feedback. Also, the vscode-circuitpython[3] plugin has been really nice too.

[1]: https://www.adafruit.com/product/4333

[2]: https://maker.makecode.com

[3]: https://marketplace.visualstudio.com/items?itemName=joedeviv...
s/Ireland/Iran/

The original title just scared me...
It's not inefficiency. Recklessness isn't the word, neither. It was greed and arrogance.

(1) They borrowed more shares than in circulation

(2) They double downed on their losing position and lost a $3 billion bailout within a day.

Their bet was, really, that financial institutions can stay solvent longer than retail can be "irrational". It was a game of chicken, but The emperor has no clothes.
Presumably, you'd have an escape hatch in the from of specially formatted comments to annotate each questionable call site. My understanding is that even strong proponents of monkey patching feel it should be used sparingly.
You might be interested in Xonsh: https://xon.sh/
I address that a bit here! https://www.oilshell.org/release/0.8.7/doc/language-influenc...
For what it's worth, as an engineering candidate being asked that question would disqualify the asking company from consideration. I do not want to work at a company that is so politically active that the question is allowed. I would also tell my point of contact exactly why I was withdrawing my candidacy and who was responsible.
I have 3 of varying maturity you can borrow.
Have they released subsequent versions?
I chuckled at the idea of having children solely for the purpose of waking up early :)
The annoying part about (traditional) type checking is having to do it all the time

But the optional Python annotations? I was skeptical, but I began to see the value in it, especially in interfaces/APIs for external consumption, or more complicated areas.

But yeah don't ask me to type hint a "private" function that's only a couple of lines long and used in specific cases
I'm doing pretty good, thank you! I enjoy coding, I've always been a better coder than a biochemist (likely on account of started coding at age 5, started biochemistry at age 19). I'm still doing garage science here and there, and being a programmer affords me the capability to both afford that and have some time to do it.
One might argue that corporations like Amazon play a similar role on Earth to said sentient machines—treating humans as pets, but ultimately serving their own agenda for growth and maximizing consumer satisfaction metrics.
Conservatives getting upset about the results of a Free Market.
Hard no. If she was literally fired for the social media equivalent of wearing a cross or having a Trump bumper sticker? If so, I think we would agree that's wrong.

However there's quite possibly a lot more to it than that.

Christianity is not inherently evil but (like all major religious texts) the Bible uh... lends itself to multiple interpretations, to put it mildly.

Surely we can agree that a lot of heinous behavior over the years has been justified by the perpetrators in the name of religion. I'm sure those folks felt they were presecuted "just for following their religion" as well.
I used a Texas instruments laptop around 30 years ago which had a tiny clip on track ball like that keyboard
I'm sorry but this saddens me to no end, even I did better science during my BSc and MSc; it's not just disheartening, it's frightening. Reading this almost made me feel ill to my stomach. I don't know what else to say at the blatant disregard for scientific ethics and sense of duty.

And we complain that the public at large doesn't trust us "educated" folk, well I can't see why...
How does fish compare to zsh? I just switched from bash to zsh and am loving it.
This is an interesting analogy. However, I would argue that Law is less constrained by the laws of nature.

If a program is broken, even the best programmer in the world may not be able to fix it if they can't diagnose the underlying problem. Whereas in law; there is no such problem. If a law is found to be bad, you change it. Most reasonably competent lawyers could come up with a solution. Not to say that creativity and intelligence isn't required, the constraints are just different. (You do hit the laws of nature at some point, but I believe there are guardrails in law that prevent this from happening; e.g. no judge will sentence a person to run a million miles even if some combination of inane laws may require that as punishment).
Does it? I mean it takes years to shoot a film or write a book, as creative activities, I don't see the evidence that software is more difficult or time consuming in that regard.
Almost all sports from track & field where you measure performance in units is. Sprint, pole vault, long jump, high jump, javelin, discus
You're warned:

const messageText = inputTextBox.value.replace(/<\/?[^>]+(>|$)/g, "");

var $newdiv = $('<div class="' + messageDivClass + '"><p>' + messageText + '<p/><div/>').css({
'opacity': '0.95'
});
You’ve gone and assumed the worst. “Trying to get that employee fired?” I just don’t see it. Anyway, the Metro employees union would never go for it.

The no-eating rule is a fairly big deal on Metro. A twelve-year-old girl was famously arrested for eating a single French fry [0], in a case (Hedgepeth v. Washington Metropolitan Area Transit Authority) that went all the way to the U.S. Court of Appeals, where the arrest was upheld. A teenager was arrested in 2016 for carrying chips and snacks into a Metro station [1]. If I saw an employee flouting this rule, I’d be indignant too. I wouldn’t have posted a photo of the person, but the kind of vitriol, racism, and naked hate this novelist faced in response to her tweet was totally unwarranted. The potential for negative consequences on the part of the Metro employee was greatly exaggerated.

[0] https://abcnews.go.com/US/story?id=94999&page=1

[1] https://www.washingtonpost.com/local/trafficandcommuting/met...
> I was curious to see how the self-correcting mechanisms of science would respond [...]
> I was disappointed by the response from Southwest University. Their verdict has protected [a fraudulent researcher] and enabled him to continue publishing suspicious research at great pace.

The self-correcting mechanisms of science can only correct knowledge. Those mechanism work mainly by requiring the research works to be checkable by others. Self-correctness emerges by the accumulation of checks on the same topic, all leading to the same conclusion, and by the progressive retractation of bad research ... not by the elimination of "bad researchers".

Efficiently "correcting" people, whatever that means, is a different beast. Such a mechanism belongs to an administrative entity who can emit decisions - and, by construction, who can make errors.
Drug dealers and human traffickers have their performance judged by their superiors, and are under constant pressure from competition. Law enforcement only makes their jobs more difficult and is a drag on hitting team targets.

Let's be more sympathetic to the little guys.
I think the problem is PG does not know underlying data distribution and use one sampling strategy which works for normally distributed data.
We don't need all those features, what we need is a competitive alternative to bitbucket. Your Bronze plan although more expensive was that. I was able to make the argument to switch to gitlab even thought bronze was a bit more but I can't make that for going to this tier.
This project reminded me a proselint, which appears to be a similar style checker. Sadly, that project appears to have been inactive for at least three years.

https://github.com/amperser/proselint
North Korea Targets–and Dupes–A Slew of Cybersecurity Pros
It's because most software developers add negative value. Most not them aren't investing in learning at all and are just playing around and understanding things on the surface level. I'm fairly certain it takes much more learning and effort to keep up to date as an accountant than a software engineer.

I've been getting into elixir and was very sad to realise that a lot of the best practices have been enshrined into the erlang otp library for 20 years and we've forgotten about it.

Think how many engineers you know that can reason well about db indexes or could implement something like redis given enough time.

On the one hand it's fairly depressing, on the other hand it makes sense from the incentive structure - business people treat them like "nerds" they're not on the same career path as someone in management, PMs come from weird professions that have nothing to do with software and are focussing on weird scrum processes and jira tickets...

At least that has been my experience. I've seen massive amounts of wasted resources that has made me a bit jaded
If you’re doing all that it seems like a lot of cognitive dissonance to keep using the internet. It is optional, you know!
Others' experiences may vary but personally speaking I have to write a fair amount of shell scripts that run on a range of machines, networks etc. At best its a pita to change shell on these ephemeral boxes, worst case its out of my control.

The lowest common denominator ends up being the good ol' bash (or sh)! Sure fish/oil is nice but quite a bit of mental gymnastics to keep them all straight in my head.
That would be an excellent use case, although I am at a point in my life where I (essentially) never need to SSH into machines on demand.
OpenBSD is a fabulous project. I've been working on tool called Cosmopolitan which helps Mac/Linux/Windows/FreeBSD developers write software that's compatible with OpenBSD: https://github.com/jart/cosmopolitan/blob/master/libc/sysv/s... As you can see, I've studied these systems a lot and I've got to say that OpenBSD is the closest to the Bell Labs roots I've seen from community distros. It takes a certain degree of judiciousness to maintain that authenticity and the clairvoyance w.r.t sudo should be all the proof we need that OpenBSD is up to something good.
$ cat Makefile

url_base := http://example.com

%.json:
wget $(url_base)/%.json

.PHONY: all
all: foo.json bar.json
jq -s '.[0] * .[1]' $^

$ make -j 2
Surf + hosts file-based ad blocking gets you there except for
1password.

As soon as you want this kind of extensions you probably need a browser based on Chromium or Firefox to have any shot at having an addon ecosystem at all.
Would I be ok with suppressing speech if I was an omnipotent being who knew the future?

Probably yes.
First, C has been known to never have been a good option for systems programming, and has UNIX adoption to thank for its existence, instead of having faded into the history of systems programming languages.

Quote from C.A.R Hoare at his Turing Award speech in 1981:

"Many years later we asked our customers whether they wished us to provide an option to switch off these checks in the interests of efficiency on production runs. Unanimously, they urged us not to--they already knew how frequently subscript errors occur on production runs where failure to detect them could be disastrous. I note with fear and horror that even in 1980, language designers and users have not learned this lesson. In any respectable branch of engineering, failure to observe such elementary precautions would have long been against the law."

This is what is missing to force C to finally stop being the JavaScript/PHP of systems programming, liability for exploits with hefty sums.

Second, I keep being told that it is possible to write perfectly safe code in C, it is just a matter of using the tools.

From your assertion, it appears the sudo project has some learning to put into place then, because code reviews weren't enough to prevent this exploit.
946ms for me. has google analytics
Rather than signing in and out all the time, why not use Firefox's container tabs?
Covid-19 Has Nearly Wiped Out the Flu
Before I did anything the message "I coded a honeypot for the FBI and I have a bad conscience" appeared on screen. I don't know who you are, but you made me laugh!
Same here. Expected this to be frontpage news everywhere.
I'm just going to say that if I see this big red box telling me
the browser blocked ads it's the last time I use that browser. I
want ad blocking so I don't have to look at bright-colored stuff
distracting me from the content.
If she was fired merely for installing those apps, that's a problem.

If she was fired for things she actually expressed, that's potentially reasonable.

Surely we can agree there are views so odious that they would make a public-facing career infeasible. We might not agree on what those views are but I'm sure we can agree on the possibility that they exist.
Created, yes. But maintained, built upon, iterated over and improved?
Why would you add type checking to Python! Using another language with static typing would be the solution. It’s not like the browser where you have to use Javascript so you add another layer to your toolchain.
Performance or correctness. Giving bash/zsh a performant hash-table would trivially empower them without boiling the ocean.
What's in Score for Website Users [Paper FC '21]
Former Apple engineer details how the magic of M1 Mac performance began 10 yr a
Oh, get out of here with your nuanced and fair analysis! Don't you realize we just want reasons to be outraged about the <waves hand vaguely> 'cancel culture'?
Related from 3 months ago: https://news.ycombinator.com/item?id=24871762

1 year ago: https://news.ycombinator.com/item?id=22150603

2018: https://news.ycombinator.com/item?id=16276911
A picky correction: the Culture has both Orbitals and Rings, and defines them differently, but you're treating them as one. Quoting myself from a year ago [1]:

> Orbitals, while enormous (greater surface area than earth), are much smaller. The Culture novels do have Ringworld-sized rings as well, though. E.g. from Consider Phlebas, flying under the orbital Vavatch: "It was like flying upside-down over a planet made of metal; and of all the sights the galaxy held which were the result of conscious effort, it was one bested for what the Culture would call gawp value only by a big Ring, or a Sphere."

[1] https://news.ycombinator.com/item?id=22144228
It's safe.
JungleDragon Reaches 100K
Yeah I hope people will build stuff like that on top of Oil. Hopefully this year the embedding story will become clearer, and progress can be made on top.

Some notes here about interactive shell ideas: https://github.com/oilshell/oil/wiki/Interactive-Shell

Some people might think Oil is sort of a text-only or retro project ... but it really isn't, it's a SPEED project. I use shell because it's the fastest to get certain things done.

But other things are faster when done with GUIs. Actually I wrote the last 5 or 6 blog posts in https://stackedit.io because copying and pasting huge swaths of text and links and images is faster with the mouse!

I am a die-hard Vim person for code, but I realized that "thinking and writing" is aided by the mouse and by rich GUIs (but not slow ones, which is hard!). Previewing hyperlinks is also very important.
"it takes much more learning and effort to keep up to date as an accountant than a software engineer"

you are wrong in many levels.... accounting is a field that moves slowly and it is highly regulated

Software is still in the wild wild west phase, and it catches and loses trends all the time. We are currently using languages and platforms that didn't exist at all 10-12 years ago, yet, in 10 years whatever you are doing now, might be completely obsolete and you have to retrain-retool.
because software is mostly about learning and working code is merely a side effect of the latter.
About half of my friends in grad school have had their careers damaged to varying extent by academic fraud, some have wasted lives chasing bad results (one friend lost several years chasing a bad result by Homme Hellinga), some have had bad stuff perpetrated upon them by bad actors with big names (one had her result we suspect - stolen by Carolyn Bertozzi via the review process, luckily her boss was a member of NAS and PNAS track-III'd the paper ahead of Bertozzi's publication).
As someone who's never been on the DC metro, my first reaction to this story was that it's pretty unreasonable to post an employee's photo to Twitter just because they ate on the train. While we can't say for sure that they wanted to get the employee fired, their intent was clearly for them to be held accountable in some way by their employer for this infraction.

That said, if it's true that metro passengers have effectively been harassed and abused and arrested for years over this no-eating rule, then I can see how it would be more offensive to see an employee breaking it publicly, and this person's reaction makes more sense to me.
This is why I use the default shell on whatever platform I'm working on. I want to know that my work does not first dependon on installing an alternate shell (often not possible, depending on the environment).
Thanks for the response! Why are you such a fan of self-hosting the solutions? Is it more control or privacy or something else?
Chinas trains stopped for 16 hours due to train tables made in Flash
Fish’s strength is in having good defaults that makes it work well out of the box. Fish’s downside is not being POSIX compatible [1] though its creators would argue they deliberately avoided POSIX weaknesses.

If you already have Zsh configured well then Fish probably wouldn’t offer a huge advantage.

[1]: https://en.wikipedia.org/wiki/Fish_(Unix_shell)#Bash/fish_tr...
If all programmers and admins had the same needs then that would be a logical conclusion. But we don't, so I'll stick to ksh.
I am a huge fan of fish. Oil shell seems kind of different in aim from fish. Fish is trying primarily to be a great interactive shell and have code which is easy to understand but not necessarily compact of efficient to write. But for me it doesn’t matter. For longer things I use Julia or Go anyway.
(Fish doesn't make me 3x more productive, but...) I think a good analogy would be having sharp tools. If you don't have to exert yourself to do simple things, then menial tasks use less mental energy which you can save for your actual work.

Fish manages to pull this off without _any_ configuration burden (I use it completely stock), which is exciting because usually to benefit from shortcuts or macros or other "productivity hacks" you have to become a power user.