skysight-inc/HackerNews huggingface dataset:
I said "including playing" however. Back then, MIDI was handled by the OS, so it didn't matter if your browser supported it or not. All you did was send the raw data to the website's (admittedly crappy since my coding sucks) editor and you had your MIDI track laid down. Adjust quantization, adjust timing (because obviously you aren't doing this realtime back then) and you were golden.
This is a very cool language. We are working on a generic localized programming language (https://citrine-lang.org/) and we are looking for help with the Chinese language, maybe the creators of this beautiful language want to help us out with the Chinese version?
If I'm driving and you call me, you're spamming for my attention, IMHO.
HTTP3 for Everyone
Some time ago I started to doubt if using 'set -e' is a good idea.

I mean, if it would work as you expect it to, it certainly is a good idea to exit a script as soon as something fails. But sadly not all implementations behave similarly [1] and if you call a function from within a condition, 'set -e' gets deactivated/doesn't work.

For illustration, take a look at the following example:

#!/bin/bash

foo() {
set -e
false
echo "Sucks"
}

printf 'Normal: %s\n' "$(foo)"
printf 'Condition: %s\n' "$(foo || true)"

Output:

Normal:
Condition: Sucks

Probably not what you would have expected. Not using 'set -e' is no good solution either, so, for the time being, I still use it, but I am still looking for a better solution.

[1] https://www.in-ulm.de/~mascheck/various/set-e/
Well said. And in relation to primal psychology (hunting game on the African savannah and hollering at fellow hominids), our ability to convey abstractions and stories through language is an integral part of what makes us human. So the view that language is just a utilitarian tool and not much more is myopic to me. We are social creatures, and whether you consider yourself an introvert or an extrovert, sharing thoughts with others is inextricably woven into your biology. A rejection of this concept is, to me, a rejection of a deeply important part of life and what it means to exist as a sentient being. It often bothers me to interact with people who have this attitude; it's like trying to talk to them through a glass barrier that they refuse to take down.
True. But as a Prime member, their Unlimited service costs me $79/yr, versus $120 for Spotify. The $41 that I'm saving covers one-third of my cost for Prime itself.

Combine that with the fact that Prime Video is reaching the point where I would pay for it as a standalone streaming service. At this point, the free shipping portion of Prime is for me becoming the ancillary add-on service, rather than the other way around.
Alas, they just cancelled this year's East Asia tour: https://www.wbur.org/artery/2020/01/30/bso-cancels-east-asia...
Social media.

Obviously not all of it is equal, but there’s certain low-hanging fruit culprits (Facebook and Instagram immediately come to mind). I see far too many people endlessly scrolling IG loops, and apparently many spend an hour+ daily doing so. These applications hijack the brain’s reward pathways and are inherently addicting by design.

Facebook is a trash advertising company with no regard whatsoever for privacy and I’m absolutely stunned that they haven’t imploded yet.
I knew it! I'll head down to the strip mall and let everyone know! Maybe we can still all pool our money together and get a nice jacket to share or something.
OpenMandriva Lx 4.1 with Clang-built Linux kernel is released
The hardest part is planning what you are going to write; that is, identifying the most important of the possible things to test. The writing itself should be fairly straightforward.
My school district requires all volunteers to undergo a background check renewed every 2 years. I think it's pretty basic, mainly just criminal history. It's really a CYA for the district should anything harmful occur between a student and volunteer.
The Museum of Arts and Crafts in Paris is a trove of cunning inventions
The question is what the private equity firm will do with .org that it thinks will earn a good profit on the 1.145 billion it is investing. And would that leave the internet better or worse off. Did ICANN even ask that question?
> Practically every Unix/Linux box in existence has at least some version of Python

If we understand "box" as "environment", in general, and not literally a physical or virtual machine...

Not really. E.g. see: every clean Ubuntu Docker container. They don't have Python, nor should have to include it by default.

And if you are going to do something like this:

apt-get update && apt-get install -y stuff
wget https://file.tgz
tar xf file.tgz
cd file
make
make install
value="$(cat result | grep something)"
mvn clean install -Dapp.value="$value"

Yeah, this would need proper securing and Shellcheck, but still I'd rather have it written like this, a concise and to the point script, instead of having to install a whole secondary language interpreter and writing a script among 3 to 10 times longer for the same result.

I recently did the opposite of what everybody seems to be doing: moved an 800-line Python script, which you had to read carefully to understand what it was doing, to a 150-line Bash script that you only have to look at, because the important things to know is to see what other, external programs are being called. Just the apt-get stuff in Python was a mess with the poorly documented Python API for Apt, and some 50 lines to just do the same of an apt-get install... effectively wasted mental cycles.

(EDIT: formatting)
A barebone, swiss-knife solution for a DIY lab at $1.5k might help here? I had to get it up and working last year for a local meetup at high-school and lateral professional level. The article is not in English language but the four referred links are, so here it goes: https://www.linkedin.com/pulse/azzerare-con-poco-il-debito-t...
Why do they need so much power? A phone can run all day off a 200g battery and has enough processing power to do autofocusing and image processing. If it's on standby it should consume next to nothing.
CryptoLyzer: Python 2.7/3.3+ library and command line tool to analyze TLS server
Security How-To: Create a Paraxinal Botnet
It's so easy to stay out of this. Keep up your health and don't take on debt. Gives you a lot of freedom.

https://sivers.org/richand
You're right, the number varies based on geography. Also it is subjective because what constitutes spam depends on personal preferences (I'm personally okay with 1 appointment reminder, for example, and getting work calls only between 9-6). Thank you for the support!
The spam filter thought it was spam :) It should have shown a message.
Right now verifying your comment doesn't unmark it as spam. I'm still contemplating that.

Edit - it should show now. Just clicked "not spam" in the dashboard...
I feel that you should find something you like and avoid everything else.
Or middle class people of any race: https://www.politico.com/news/2019/11/05/trump-latino-poll-0...

> But according the Telemundo poll, nearly two-thirds of Latinos said they wouldn't vote for a candidate who describes himself as a “socialist.” Sanders identifies as a democratic socialist.
I believe you are mistaken. The EU resolution calls for the development of "a common standard" (to be updated from time to time): https://www.europarl.europa.eu/doceo/document/RC-9-2020-0070...

Implementing a different standard, even if it is non-proprietary, won't do.
That's really cool, thanks for sharing! Based on your and another poster's response, it seems like there is some wide variation in the age at which this moment might occur (I'm skeptical that the other poster who said they were 3 had the 'same' moment you and I are talking about, but it seems similar enough in this particular context). This begs the question - are there people who never experience this event??
>We took away your unions and safety net, but by golly, we'll protect your "dignity."

Organized labor may not have been targeted explicitly like by Republicans, but Democrats haven't really been a friend to them either [1]. Both parties have been on board with the neoliberal agenda for 40 years.

[1] http://nymag.com/intelligencer/2018/01/democrats-paid-a-huge...
Show HN: Step by Step Webcam Object Detection with Mask R-CNN on Google Colab
https://github.com/wenyan-lang/wenyan/issues/560

Looks like the author decided to make the syntax more concise with their object parser/serializer.
I built a game in jQuery and it's live on the App Store
I was visualizing some symmetry patterns for fun, and the tool I was most comfortable with was jQuery. As the project evolved, I kept thinking I'd have to re-platform eventually, but nope! We're live on the App Store as of today, and ~90% of the code is just jQuery in a WKWebView wrapper. Is it the right tool for the job? Absolutely not. Does it work? Yep! https://www.hidden-mirrors.com
Imperial Chinese COBOL is very natural sounding concept. That's for sure civil service exam material right there.
These Exotic Trees Transform into Rainbows as Their Barks Shed
Well, I already knew it wasn't great just compared to the competition and the value proposition.

Don't worry. I have pushed back a lot on a lot of feedback (quite a few people did not like the design @ Reddit). I'm sticking to my values. :)
I think this essay is missing a discussion on the theories of what make university graduates better paid. The two main theories are:

1. Human capital. People learn stuff at university which makes them more valuable workers.

2. Credentialism. Universities select (or pass) people who were already going to be valuable.

Now let's look at what we might mean by "valuable":

1. You can fool hiring managers into thinking you're competent - good resume writing skills, good interview skills, an impressive certificate.

2. You can fool your manger's manager into thinking you're competent. All the above, plus you're good at churning out superficially credible explanations and justifications. Some critics of university might argue that they've optimised towards teaching students how to fake competence - 4 years of general education isn't enough to produce a truly competent thinker in a field (not reliably for a large fraction of society) but it is enough to teach them to write a clean-looking essay with proper citations, and to churn out paragraphs with "topic sentence, evidence, analysis, transition" (but not enough time that this will get too stale - you'll still be able to grade the students from A-E).

3. You'll actually be good for your company / society because of your ability to analyze things, domain skills, intelligence, conscientiousness, etc.

We could also talk about general vs domain specific skills, but they're often fairly well correlated. Competence in a domain requires thinking skills, and thinking skills are best built up in some real domain where skills can actually be tested (not just abstract "critical thinking" courses).
It's not prediction. It's history.
Sunday: Belshazzar’s Feast
Yep, fixed the presentation and pricing.
While reading this, I came across mention that Los Angeles was operating with a 50Hz AC grid in the 1940s. This was very surprising to me because 20 years after the switch (in 1948), I began to tinker with electronics, and I never encountered any legacy 50Hz appliances.
Here's an interesting history of the issue: https://gizmodo.com/before-1948-las-power-grid-was-incompati...
In ~2 months time Wireguard is reaching 1.0 along with Linux 5.6, I figure it's quite stable already and they say that (as anyone with a sane mind would) to keep their asses safe.
Difference is the Doctor has no direct authority over you, and can't implement policies that dictate how much you make, or how you live, or who/what you should morally value.

Everyone loves experts in an advisory role, but they want someone who shares their values in charge
It all really comes down to being the cheapest option.
Huawei has no monopoly on 5G technology. It just has the means (and government support) to make big R&D investments.

This Twitter thread discussed that point of a view a few days ago:https://twitter.com/mikebutcher/status/1221842546881679360?s...
> an average software engineer at Google making $160,000 USD

Average software engineer at Google makes well over $200K USD.
Bad managers.

A bad manager will make or break your experience at a company. Doesn’t matter how great the project is, or the people you’re working with. Do your due diligence, ask around, and if you get even a hint of shenanigans run for the hills.

Similarly if you find yourself with one plan an exit asap.

The priority order when you find a team is: 1- manager, 2- team and 3- how closely the project as is aligns with your interests and expertise. 2- changes over time and 3- is often within your control once you join, but 1- is an awful lot of work to extricate yourself from after.
PunditFact: Dedicated to checking the accuracy of claims by pundits, columnists
I found an excerpt from geology.com about uses for lab-grown diamonds:

"wear-resistant bearings, heat sinks for computer processors, and high-temperature windows."
Your local deli needs its location zoned for commercial use. Delis don't make that much money, so if it's sitting on prime real estate, it needs a narrow enough zoning category to prevent a higher value business from scooping up the lease.

It needs approval from the building inspector, the fire marshal, and the health department. Unless there's a yellow curb or a loading dock, it needs the police to look the other way while its suppliers' trucks park illegally during unloading.

There are many politicians and bureaucrats with discretion over whether it gets to exist. Most of the time, those people probably act in good faith. But they absolutely could shake down the owner if they wanted to, or accept a bribe for lax enforcement. Or the departments could be so short-staffed that it'll be years for an approval unless an interested politician escalates on your behalf.

Good luck running a small business in Chicago while not on friendly terms with your alderman.
I agree.
This thread discusses that with a historical perspective: https://twitter.com/mikebutcher/status/1221842546881679360?s...
Addictive drugs
End-to-end encryption threatened by new proposed bill
C64 Character Modes
- Avoid borrowing money, be it in the form of credit cards or even worse, mortgage. I know this is not something you want to hear if you are on a mortgage deal already. But borrowing can limit your freedom in ways that are not immediately obvious. You trade your freedom for illusory prosperity. That said, a business loan for your business may not be such a bad idea.

- If your plan is to become an entrepreneur, start building your network early. Build slowly but surely, there is no rush, but one of the worst things that can happen to an entrepreneur is to be alone with your ideas and visions.

- People change as they age or when they get rich. You don't have to.
Blind faith, being a fanboi, we can solve all our problems if we all just ...

Unfortunately nothing is so good that it fixes everything, not even Test Driven Development ;-)
Halt and catch fire
Internet forums
Good to hear, it's sad to see grandparents/parents get scammed. I've had a few senior citizens getting these types of scams use CallStop to protect their cell and landline. It feels good to be helping them.
It's more like they bought it from us.
ARM used to be owned by Westerners.
https://www.wsj.com/articles/softbanks-arm-holdings-to-sell-...
Your pricing is currently out of order -- $5 for 1 million, then $350 for unlimited, then $75 for 5 million
What about both though? Or something similar but different, what is better between talking to users or looking at data points? What about both?
This.

When something needs doing, I just get it done. If you wait for everyone to agree that it needs planning to be done at some point in the future, it'll never get done because the feature firehose never relents.

This has cost me a few weekends, but a) it meant that I kept my sanity in the long run and b) despite said fixes reducing the company's dependency on me (ie. supposedly damaged the job security) taking the initiative has allowed me to demonstrate a different and entirely more significant kind of value.
Student loans.

I understand it’s difficult, especially when you’re conditioned to get one since the conversation about college starts when you’re young, but I took one look at it. Saw it was going to be six figure sums, and said no way. Much to the horror of my siblings, parents, friends etc.

Got a job doing help desk and within a year taught myself programming in spare time and landed a well paying job as a developer. I was paid more than the university graduates they were hiring.

I know that university is largely to force people who don’t have enough discipline to self teach AND make social connections, but is that worth hundreds of thousands in debt? No.

There’s going to be a bunch of hate replies to this by people rationalising their debt, who are largely lying to themselves about its worth because they are in too deep, but this thread is about “things to avoid” and my vote is student loans.

Nullius in Verba - think for yourself, make your own decisions
China are using drones equipped with speakers to chide those not wearing a mask
To take this a step further, you really want to find great managers and avoid average ones. Managers who take the time to get to know you, know what motivates you, run teams that are collaborative, shield you from nonsense but provide visibility for you, believe in work/life balance, are fair and challenge you and your team.

Without this you may do okay but you won’t grow as quickly as you might otherwise and may find that you are spinning in place.
As someone who recently switched from Fedora to OSX for work reasons this looks amazing.
It's hard to take diamonds seriously any more. This is a diamond factory in China.[1] That's the "high pressure high temperature" process, a huge room of very strongly built presses. There's also the "controlled vapor deposition" process. Alibaba has huge lots of diamonds produced that way. Those are real diamonds. Mostly. You may get cubic zirconia.

Cubic zirconia is so cheap that those stones come in plastic bags and are sold in lots of 1000.

Distinguishing CVD diamonds from natural diamonds is getting harder each year. The diamond industry treats flawless, clear diamonds as the ideal, and that's what CVD produces best - perfect crystals with only carbon. It's based on a process from semiconductor manufacturing. Distinguishing good CVD diamonds from natural now requires rather elaborate equipment.

[1] https://www.alibaba.com/product-detail/China-manufacturer-Di...
The only legitimate use of violence is to end violence.
The "no mail to root" would be a major change. I generally put a .forward to a common sysadmin account, so I guess I would be curious their solution.
Only if the higher mass elements are present in sufficient quantity. It is quite possible that they aren't on Jupiter. Or that there is indeed a core of heavy elements at Jupiter's center, but an envelope of liquid metallic hydrogen surrounding it. That envelope would still be denser than the gases that make up the part of Jupiter we can see.
Not only free shipping but often same day or early next day shipping for 'free'.

I'm both impatient enough and use Amazon enough where buying it every year is worth it for me. Plus ditto re: Prime Video, it's not bad, although probably the least good of my three (I'd rank: 1. Netflix, 2. crave.ca to get HBO in Canada, then Prime 3rd) the library is surprisingly deep and I've used it quite a bit.
HN users would not welcome having to explain themselves to moderators in that way, and we have no spare capacity to read them anyhow.
Not borrowing money is bad advice. The best way to become rich is leveraged investment. A mortgage is simply a 5X leveraged investment in real estate. With interest rates around 3% on a 30-year fixed, tax deductible, you’re actually winding up borrowing at below inflation. Then you’re building principal too, yours and not your landlords. I wish I’d realized this sooner.

When you’re young you could even consider borrowing money to invest in the stock markets. Imagine if you’d borrowed $100K in 2010 and dropped it all into the S&P. You’d have $333K right now. If you’d done it in 1995 you’d have $650K. When you’re young it matters far less if you get wiped out, you’ve got years to recover.
Java Goes to the Extreme
It's a fun project in that you can write something that feels like classical Chinese and run it.

It will always be just a hobby like the latin perl script.
This.

There is no way around it more often than not. Even worse if they have befriended a mutual higher-up in which you both either now or used to report to.
China reports outbreak of deadly bird flu among chickens in Hunan
Can someone familiar with Chinese language clarify one thing please: What does "Classical" mean in this case? And are the characters Simplified Chinese or Traditional Chinese?
Alcohol
People or programs that claim they can teach you complex things quickly, easily, or painlessly. Learning hard things worth knowing is painful and excruciating. People who try to avoid that end up not learning.*

*thats not to say there aren’t more effective ways to learn hard things. But that’s just optimizing in return per minute of pain :)
Ya I'm currently ready Beautiful Boy. The movie was amazing. The book is pretty different in my opinion but also very good. Anyway, it's all about the toll that drugs, and specifically meth, takes on their family's lives. Really heartbreaking and touching at the same time.
More useful tips in the same spirit

http://robertmuth.blogspot.com/2012/08/better-bash-scripting...
Walk softly and carry a big stick.

Unfortunately that big stick also induces a desire to use it.
Cults. Learn to see what they are early on, learn what groups are considered to be cults, read Lifton's "Thought Reform and the Ideology of Totalism" (https://en.wikipedia.org/wiki/Thought_Reform_and_the_Psychol...), stay away.
Best Buy in my area (Cambridge, MA) price-matches Amazon when you show them the same item on the app. It has to be sold by Amazon (not "fulfilled by Amazon"). Saved me a couple of times when I needed something urgently and couldn't wait for shipping.
> break even point somewhere where the cost of shipping vs. number of orders

Shipping without prime can still be free. You just need a minimum purchase, extra shipping time, and you have to REMEMBER to select free shipping before clicking on purchase.
Yeah I don't disagree with that. If you're working in a big group with some shell scripts, and want to get stuff done, use ShellCheck.

I just find it annoying, hence the new shell :)

There's a lot more to Oil, but that's definitely one of the surface annoyances I want to fix. Although zsh actually does fix that, and for some reason I've almost never seen a zsh script.
My life as a quiz obsessive
The punctuation seems extraneous to me. They all come either before or after keywords so they don't seem to be needed to parse the script. IIRC it's very similar to actual Classical Chinese, which relied on words like 曰、乃、也 to indicate when a clause or sentence starts or ends. IIRC typically the punctuation was added as a part of the excercise of reading.[0]

[0] https://zh.m.wikipedia.org/zh-hant/%E5%8F%A5%E8%AE%80
Yeah, you could crash a 386 by unplugging its AT keyboard. And crash later systems by unplugging a PS/2 keyboard. (Or, really, plugging one back in.) The fact that a 1st gen USB device will still work in a 2020 computer's USB-A socket is pretty impressive, but the idea of PNP really helped that along too, once it finally got going.