skysight-inc/HackerNews huggingface dataset:
Are random test cases only for checking code throws (no) exceptions? If not, how do you create the expected results from the random data without reproducing the method you call to begin with?

They only idea I get is to fix the seeds/inputs, write the expected results into a file (making it persistent), and checking them manually the first time. Subsequent test runs check whether the output changed.
A 7KB AWS lambda Node.js library with zero runtime dependencies
I don't mind having library management, and I would love to have a Linux clone of foobar2000. Nothing else has its tag management and search/sort capabilities.

I put lots of custom tags in all of the tracks I've ripped, downloaded, or recorded live, and I have yet to come across a Linux music player that allows me to search them or sort by them.

Clementine comes close, but not quite close enough. Maybe I need to get some Copious Free Time and rip into its sources.
Clever Ways to Solve Mastermind?
I use Fedora to jam online several times a week and to record a few times a year. The open source Linux music software ecosystem is behind proprietary software available on Windows and macOS but it can do what I need.

Audio system: JACK

DAW: Ardour 5

Synthesizer: zynaddsubfx

Pianos: PianoTeq 6 (proprietary)

Drum machine: Hydrogen

The lack of good drum kits and patterns is my current pain point.

I haven't tried Reaper or Bitwig on Linux yet, but they should be decent if you are willing to use proprietary software.

The Focusrite Scarlett 2i4 USB soundcard that I use is a class-compliant USB audio device and I've never had trouble with it.
It’s only adults left on IRC these days, all the script kiddie chats happen on Discord.
The first comment on the post mentions Miracle berries.
The taste-modifying protein miraculin contained in miracle fruit has been added to tomatos to increase sweetness and thus reduce the amount of sugar they need to add to ketchup. see: https://www.ncbi.nlm.nih.gov/pubmed/22160133
I'm surprised there is not more research into adding miraculin to other bitter (but healthy) foods.
Ripeness?
Thanks for the link. Yes, I've seen other idiom libraries as well, and what I'd like to see is automatic lookup of those idioms, with a name, and optional further breakdown.
In my opinion that would only count if the small company from 1953 bought out the larger company. Since in that case it is the older company absorbing the younger one.

In your example the younger company is absorbing the older one, so the old ceases to exist.
No it doesn't, since O(n*log(n)) is in P too. P = NP doesn't imply that the complexity of finding the solution has the exact same complexity than verifying it, just that both are polynomial.
An it was called Phoenix before that because, you know, "Netscape, reborn", but they had to rename it because of a trademark complain. And that's why Firebird was choosen.
One question: did you investigate why the PHP version was so much faster than the JS one ? Do you think the performance gains of the PHP versions could be achieved in JS, or do you use any special feature of the PHP interpreter ?
A story about my dad and PPC ads
I’m genuinely interested in your frustrations, because I’ve been using Firebird to great satisfaction for about a decade. Some more substance would be required, however...
anyone with a ceiling mounted projector in their home theater should be able to test this out in comfort, maybe they can report back
Science behind self-care and practising it when working remotely
This document is about generating the platform key, but changing the platform key alone doesn't allow you to do what I'm suggesting. Even after setting your own platform key you would still need to trust the key for Microsoft's bootloader. See section 1.4.1:

> The Microsoft Windows Production PCA 2011 with a SHA-1 Cert Hash of 58 0a 6f 4c c4 e4 b6 69 b9 eb dc 1b 2b 3e 08 7b 80 d0 67 8d must be included in db in order to allow the Windows OS Loader to load.
I’ve used bitwig Linux. Coming from ableton on Mac. I haven’t used it for much yet but it works quite well (pop-os).

A little work to get it set up but nothing difficult.
The Churches clearly regretted selling after seeing what Prada did to their company (made it a parody of itself), so they now run Cheaney (a rival) and arguably make better shoes than Church's ever did. Still a sad story though.
You might be interested in (something like) Hypothesis [0].
"It works by letting you write tests that assert that something should be true for every case, not just the ones you happen to think of."

E.g. you specify something should work for all `int`s for example.

[0] https://hypothesis.readthedocs.io/en/latest/
The Fat of the Land is old sounding to me too and I was in my last year's of high school when it came out. I'm talking about Berlin big room techno that came out in the 10s.
In my experience of Red and Brown switches, Gateron ones have always been more pleasant to use than Cherry ones. On my desk at home I have a Cherry MX Brown board (Cooler Master Masterkeys Pro L) that I am seriously considering taking apart in order to replace the switches because a cheap mech I got years ago with Gateron browns is probably the most plesant switch I have ever used.

Edit: Having said that - I admit my sample size is small and I did enjoy the two Cherry MX Blue boards I have used.
I’m curious about how they make use of their knowledge of multiple accounts. In Chrome and the Gmail app they definitely understand that these x accounts belong to the same person, and I imagine there’s some kind of Uber-profile on me.

I keep waiting for the day I’m filling out one of their captchas and after a couple failed attempts it’ll say, “c’mon, (my actual name), you know what a traffic light looks like”.
I must be getting old. I can't tell if you're referring to some meme.
I never been an Apple fan. When iPhone launched I was skeptical, and didn't wanted one, and so on...

I often argued with apple fans, and one thing that was clear to me, is that people that tried apple products around 2008 or so often would just love it, and many would become apple fans too.

I used my first Mac around that time, and although I found some stuff just silly (mouse with only one button...) I overall liked it.

Fast forward to launch of Touch Bar...

Now I see lots of division and love hate relationship with apple... Still, my sister moved to US to be a researcher, invited by top universities (she even did a 6 month stint in MIT, at their request!) And was offered to pick a computer. She always liked Apple and other "fashionable" brands and picked up a machine with touch bar and would get mad at me whenever I pointed out it's flaws (like the impossible to repair keyboard), until the touchbar suddenly died and the machine would not boot anymore... She took it to Apple and they just swapped the whole machine.

Then keyboard broke... Another swap.

Then Catalina...

Then the fact upgrading it's RAM was unecessarily hard and expensive and needed urgently (an app to analyze microscope data was outright refusing to run).

Then she came to me, sheepishly, to ask me to recommend a non Apple computer, and said Apple was worse than what I said...

Thing is, it is not just her, I have the impression that current Apple is opposite of 2008 Apple, instead of making weird but good stuff that create hardcore fans, it is creating products that are just bad and makes haters stop hating, and just ignore the company, and fans start hating...
praticer mon francais bien tot

*pratiquer mon français bientôt
I know its Debian / Ubuntu based but have you tried Ubuntu Studio at all? It seems geared towards music and video editing out of the box so it might involve less command line incantations.
Not black asphalt. Well, depending on the context it will appear black. :^)

https://i.imgur.com/dGDaVLz.jpg

https://nasaviz.gsfc.nasa.gov/vis/a010000/a011900/a011924/c-...
Yeah I agree here. But then again, I can eat lemons like an orange and I find them delicious.
As per geofft’s question, I’m also curious: what type of files are in a 6TB case DB?
And another obvious solution would be to use any of the thousands of Citrus varieties developped for almost anything.
Thanks for the info. But then again, I am not sure what they are doing with my money right? So is there a platform which distributes my money to those people who work on those projects and libs that I am using - Without checking everything manually.
Yet I bet brown has dramatically more hits in the English corpus than maroon, indigo or olive (colour).
Awesome. Thanks for that.
Sunbleached? Roughened surface?
He's two years away from launching, and has been for at least two years now (this is Leo's joke, not me criticising his project)
This is fascinating to me.

Basically with massively large numbers of people online statistically improbable things come up with regularity and it's hard to trust the validity of a lone voice.

One of the themes I really liked in Neal Stephenson's Anathem was the role in of the Ita in filtering information and rating sources.

Obviously it's a work of fiction but the idea that you reach a point in time where nothing can be trusted on the internet with very sophisticated filtering is really interesting.

I note that where we used to rely on media corporations to filter out bad information that's now sacrificed for entertainment value. e.g. Netflix allow Gwyneth Paltrow to show here "wellness" show because it's entertaining event though it's clearly bollocks.

If you know it's just "entertainment" then that's fine you can judge it as such but there's a lot of people that will hear it and say something along the lines of "Western medicine doesn't know everything" and assume it's OK to put jade eggs where the sun doesn't shine.
They are not forcing or coercing anyone with that specific intent unlike many commercial actors. In fact, when we compare for example DARPA's TCDS research - it has beaten a lot of competetive initiatives in the private sector when it comes to pushing high quality ethical neuro science and it's tech forward. I'm not a military ethics fan and of the opinion it lacks all over the world but the matter at hand surely ain't as gloomy black & white as you present.
Emaze website builder launches to give influencers a new home on the internet
Ah, I didn't know that, but it checks out. Thank you.
I wonder how this is legal. I mean you might not be held accountable for car theft anymore, but being prosecuted for normal theft is still possible, right?
> functional programming is the feeling that you can successfully reason about a local fragment of code, because you know what the code (and its callers, and callees) can and cannot do with the data being passed around

That doesn't strike me as a very good definition. It's possible for an imperative language to be explicit about its data-flows.

The SPARK language does this. It's certainly not a functional language.

https://docs.adacore.com/spark2014-docs/html/ug/en/source/ho...
Radix sort also works on strings, etc. (anything that can be lexicographically ordered)
I tried that in a class I taught. The students were very frustrated and considered it a waste of time.

I agree it’s a FANTASTIC way to learn. I was very disheartened I didn’t effectively communicate that to the students.
What Varo's banking charter means for neobanks
fur-poo-bark color was probably more useful to name.
Making electronic music is so much more than just operating system support.

You need a DAW and most of the ones that you get on Linux are horrible, except Bitwig. So you would be forced to use only one DAW.

Most of the well known plugins like Serum, LFO Tool and Massive are not available either so you would be limited to the ones included in Bitwig or the basic VSTs that you find for Linux.

And while JACK is pretty good at low latency audio you would miss out on the ASIO control panel provided by your sound card driver. While its possible to get asio working on linux using wineasio, it's a cumbersome process since you need to compile the asio dlls which have licensing restrictions.

You would have a much better experience if you just install Windows on KVM and use PCI passthrough for your sound card.
You may not believe me, but Holy Panda switches feel amazing to type on, even among mechanical switches.

There certainly is the aspect of exclusivity and collection, but there's a reason it became so notoriously desirable in the first place, and that's the feel: zero wobble, and an unusual tactility profile.
What I miss the most is local news. If something happens in Italy (pick a random country that is far away from my US home) that matters to me I will hear about it. However if something happens on my block I am unlikely to hear about it because things that close to home matter even when they are well below insignificant on the scale of national (or even state level) news.

Note that news shows cover a much larger area than my neighborhood and wouldn't give me that anyway. What I need most is a local newspaper with a small circulation.
> Just go look how many people on the street are wearing watches.

Uhhhmmm... Not many? And those who wear, it's either an apple watch or some cheap utilitarian model.

> I'd love to have access to great watches for a lower price.

Expensive watches require regular service to retain their value. Let's see how it will work when Rolex asks you for $1000 a piece for your briefcase full of watches.

I can see many owners of inherited watches being unwilling to pay up for servicing their watch. Which will prompt many of them to sell it, thus creating an increase in supply. At the same time demand for Rolex-type watches will be dropping, or at best remain stable. Thus, these watches will lose value.
A TL;DR here would certainly help to drive the discussion.
I have skimmed the white paper two clicks deep and there’s no abstract either.
But the idea is interesting and the title is great ;-)
> Being able to make and break the human mind are two sides of the same coin. The ability to thoroughly break and rebuild any human mind has been a trade secret of our intel agencies for about 40 years now.

I'm not convinced. What about the side effects? I doubt you can break and rebuild someone's mind without lasting psychological damage. It's something intelligence agencies don't need to care about, but it's of crucial medical importance.
Professional doesn't even include the Linux version. You need to buy enterprise for that...
Actually the first version of clojure was written in Common lisp and it could simultaneously output to JVM as well as CLR.
Apple must pay employees for time spent in bag check, court rules
Had to make an account just to comment on this:

When I read your post it felt like you were describing me! You're certainly not alone in this. I've long thought that instability of this sort in your early years makes it more difficult to form lasting bonds with people, but on the flipside it also makes you so much more independent. So great to see someone mirror that thought!
The psychopath thing has bothered me as long as I can remember - obviously I can't be one, as I do have compassion for others, but the outward behavior still feels like I'm "playing a role".
I'd go as far as to say LUKS in plain mode, rather than ever so popular container LUKS.
It used to be quite common in the UK then the government changed the tax system to discourage it. There were a few grumbles but it didn't seem to cause the government that many problems.
Ok so many people are commenting that this article is out of date.
I've been searching for what the best out-of-the-box music Linux distro would be, so I can dual boot that for any music work. Namely it must have:

- jack set up and default for everything

- complete DAW solution: synth set up etc

- updated, stable software

- MIDI set up fully

- real time kernel is definitely a plus

- acceptable performance on modest hardware

A lot of the recommendations online like Musix are not current at all! I wonder if Ubuntu Studio is the answer, just purely based on the website being updated and professional-looking. I've considered KXstudio but cannot confirm that it is a distro rather than a software repo. AVLinux?

Any firsthand experience?
I will test Ubuntu Studio today and report back
> built the product up into a SaaS

That counts towards the parent comment's thesis, not against it. If it wasn't a SaaS charging would be much harder.
There's a whole subfield of information science dedicated to basically this exact problem: entity resolution.

Hilariously, it has dozens of names, because it just comes up in so many places for so many people. It appears that "record linkage" is the term that has won the top spot at Wikipedia: https://en.wikipedia.org/wiki/Record_linkage
Ones that last, I'd say.
Clojure is different from CL, it is much more opinionated in favor of a style of functional programming. I can understand wanting to enforce this particular style of programming while using Common Lisp's great native compilers.
It looks quite obvious that saccharin isn't good for plants, but it's good to have results of a simple experiment to demonstrate it.
Good work! Thanks a lot!
The FTC Is About to Crack Down on Influencer Ads
It's an ok release. Occasional "This app wants to access your Desktop" notification is annoying, but otherwise very few problems. Also, I barely used iTunes before so can't say how much would I find missing in Music.
Our (sound) formal verification tools and knowledge are nowhere near anything that could do this affordably for programs of common sizes, and it's unclear they ever will be (the gap between programs we can verify soundly and the size of the programs we write has state roughly constant for decades). The hottest approach these days in formal methods that operate directly on code of real-world-sized programs is reducing the soundness of verification with approaches like concolic testing.
Makes sense. If you feel you can't trust the people under you because you can't identify the problem people fast enough, then your best choice is to micromanage instead.

"Feel" is the key word here; this line of thinking can be less about the reality, and more about manager's own insecurities. This makes paranoia an even more powerful force amplifier for sabotage. If a tiny act of sabotage makes managers paranoid enough that they resort to corporate dictatorship, the productivity will tank. Which will probably not help with lowering the paranoia. At extreme ends, I imagine paranoid people get routinely triggered by normal variance in systems they oversee, making the whole thing self-perpetuating.
I really like the arrow for foreign keys. That and the intermediate table for n-n relationships (and the associate join queries) are the main pain point of SQL, in comparison to object modeling.
> It's crazy that professional graphics software doesn't get this right.

"Professional graphics software" does what it's supposed to be and sRGB is an inferior standard in most use-cases of that software. Its gamut is simply not large enough, but it's a nice smallest-possible commond ground.
I went there and got a registration form. I field some garbage data in the first few fields and then the form just went bonkers.
Ask HN: What job can a “jack of all trades” look for?
tl;dnr: Unhappy at my job after >7 years. Love being a jack of all trades. Love learning new things. Hate being stagnant. Hate being the smartest person in the room. Need something new. What roles out there fit the skill set of someone that is good at a whole lot of things, but doesn't feel like a master/senior in any one of them?

-

I've been at the same small company for over 7 years. I started at the bottom, worked my way to the top after 3 years, and I've been here since. For a couple years I created new positions for myself because I hate being stagnant, but there's nothing else to do here.

I'm proficient in many things and enjoy doing all of them. Development (full stack), server admin, data center management, DevOps, project management, managing teams, VoIP, routing/switching, training, sales... the list goes on.

My issue is I haven't had formal training in a lot of it, and I didn't have any mentors or people above me to teach me more because this company is too small. I just love learning and love moving forward so I kept teaching myself new things, and then using them in the company. I don't actually feel like I have impostor syndrome, but I also feel like someone that is filling these roles at another company probably knows/does it better job than I can. I'm just a big fish in a small pond here.

So finally to my question: what role/job title I should be looking for? All the searching I do points me to one specific roles. PHP Developer. Systems Admin. Network Engineer. Etc. Are there any other "Jack of all trades" out there that can tell me what your job title is, and what I could be looking for?
After Winamp closed shop, I begrudgingly moved to iTunes for awhile. But then I found Musicbee, which I find to be the best alternative to Winamp.
I tried Studio with a MIDI keyboard for input, but getting it to register the input was still a hassle to figure out. Had to go through JACK and explicitly wire the inputs and outputs of the various devices and apps to get everything working, which on a hack-everything level is kind of cool but on the other hand I just wanted to jam on a keyboard, not fiddle with a network of devices and applications.

I can say, though, Studio is a huge step up from trying to get this sort of thing working in stock Ubuntu.
Warning Signs That You May Be Under an APT Attack
Yes, and you also can’t get an olive-coloured light, which is the whole point of the video.
Isn't that what Uber is? The people component only exists when they're trying to manipulate customers into thinking they care about anyone. If you actually try and get support over being harassed by drivers for example, you get to see the real Uber.
If I'm not mistaken it's actually a hash of the file's signature that you have to register, not a hash of the file itself. And Bootmgr will not allow you to change its signature. Thus any computer that is configured to boot Windows with secure boot will be able to boot any copy of Windows.
Why Aren't More Highly Intelligent People Rich?
It really isn't.

Data protection laws have been in place in Europe for way longer than GDPR. They all basically say this: you must protect private and personally identifiable data of people.

Nearly every single tech company did nothing to protect that data. Especially the international behemoths like Facebook.

Then the EU unified the different data protection laws into a single one: GDPR. And said: up until now we were lax in protecting out citizens' rights. We're gonna stop doing that now.

logicchains on HN: oh my god, how can you even think of enforcing this against a poor company who offers users choice.

The same company that sells private data wholesale, tracks users even if they are not present on the site, regularly breaches privacy laws, explicitly targeted teenagers for behavioural research, prevents users from permanently removing records from the service, retains data on a people even after removal from service, exposes private and sensitive data to thousands of advertisers, tracks users' locations despite opt-out, aggregates users' health data without their consent, lobbies against privacy protections, etc. etc. etc.

Yes. That's exactly why GDPR exists and exactly why FB must comply with it.
You can test properties of the result without an assertion of the exact result:

Take adding two integers,
you can test 3+18= 21 or you can assert that, when both arguments are positive, the result is greater than each argument.
It's definitely still car theft. They just avoided getting caught.
Beware of crossing context boundaries when applying 3NF to commerce records.

E.g. The description of an item in a sales invoice is the description at the time the contract of sale is made, and must be immortalised as such as a copy of that description.