skysight-inc/HackerNews huggingface dataset:
I dont know much about the business of space, but if we want to save our planet we need to start mining and processing ore in space. No need to dig up massive holes or fight resource wars here on earth when there are literally endless resources laying around put there. It is an overwhelming undertaking, to understate the challenge, but one we should take on if we are to survive.
> I also believe a german union would have a hard time to force a company to hire people that are not needed for a project or even influence who the company can hire.

A German union has to make sure that it doesn't negotiate anyone into uncompetitiveness. If you negotiate for too high a pay, or absurd things like useless jobs, the company gets outcompeted and all those jobs vanish. In the US some unions seem to get around that by either being big enough to cover enough companies (construction), or the companies themselves are local monopolies (e.g. railway). That doesn't work for most European projects because Unions usually don't span borders, but you can always get a construction company from anywhere else in the EU.
On the very top of this piece, it says in a large-type heading

> OPINION
> GUEST ESSAY
FLAC compression is, although lossless, not nearly as straightforward as raw PCM/WAV/AIFF. It has LPC (linear predictive coding), with the usual residual entropy/RLE coding (but without the quantization stage, due to being lossless). Also an optimization for when there's stereo input and both channels are very similar, (where it converts it losslessly to mid-channel and side-channel, where the values in side-channel are very small and lend themselves to RLE/entropy coding).

As far as the xiph.org audio codecs go however, Opus is the real magnum opus (pun obviously intended). SILK (the LPC part, donated by skype) + CELT + DNN (used to detect whether it's speech or music to tune the 2 codecs since libopus v1.3), it's quite complex, and I feel like some of its parts (specifically the SILK encoder, which has the donated implementation and only the high level details in its RFC, since CELT has a plethora of documentation/articles and independent encoder re-implementation in ffmpeg) are only really understood by the original authors (or at least were when they wrote them a decade and a half ago). Reverse engineering the (SILK) encoder code and making a video similar to the one on the OP (or at least an article/blog post) could be a fun activity.
There's always Gitbook...
Me too, but perhaps cheap AMOLEDs will come sooner and they can kind of be an okeyish replacement? If one runs an AMOLED on black background, e.g. a terminal, a text editor or an inverted PDF, only the pixels displaying characters will be lit.

Maybe this is good enough? I experimented with an AMOLED tablet displaying inverted PDFs and it felt similar to a Kindle. However, this was my completely subjective perception. It could be that in the long run, it is tiring for the eyes as well. IMHO, the worst part about displays is staring at a bright LED backlight all day long. Screens such as Dell UltraSharp, which are able to dim the backlight a lot and do not flicker feel much better.
Doesn't look very down to me here in Europe.
Instead they had a VHS showing it off.
https://youtu.be/5DqJwmzG6Fk?t=1133
There are customs regulations against importing foodstuffs in many areas. For international travel or shipping, this might prove problematic on those grounds.

Rice, for example, is not allowed or might require specific permission to import into Australia. Coffee, noodles, pasta, pepper, and wheat might be restricted.

https://www.abf.gov.au/entering-and-leaving-australia/can-yo...
yeah it's a scam just don't donate to these people
>It is a quine if we neglect the comments.

Sure. Obviously. But if we don't neglect the comments, is it technically a quine?

If one program is different from another in a way that no one can discern by looking at the output or runtime, is it actually different? Are comments part of the code per se? Does "don't interpret this text as commands" count as a command?
> Programs are generally not intended to recover from these situations

This was my expectation too. It's not always the case in all languages. JavaScript, I found out, just keeps executing a function body even if `console.assert` fails.
Google and Facebook doesn't silo their teams, and they have harder algorithmic interviews than Amazon or Apple (although Amazon and Apple focus more on other skills).
Having lived in big (and big-ish) cities all my life, it's always a big amusement watching at Youtube the videos of people in the suburbs trying (and failing) to out-smart these intelligent burglars :)
It's a blackpill. It was all for nothing - it's officially over.
Integrating with other services makes your software more brittle as there are more points of failure from hardware and networking on your end, to API gateways, networking, and hardware on their end. Periodically those things tend to go sideways which means whatever it was your system was trying to do doesn't happen, or worse it only partially happens. Usually some poor engineer is then tasked with figuring out if this is an on-going problem or a one-off problem? Did it affect a single customer, or is it affecting all customers? Is it affecting a single instance, or is the problem happening across all instances? Is it a problem on our end, or is the 3rd party API misbehaving (again) today?

Generally you need solid APM and logging to support the operations of this.

Then there's queueing tasks for later and making sure you never lose messages between systems. All sorts of fun happens when you hit a capacity limit in your queueing system due to unintended/unnoticed design flaw and all of a sudden system performance starts to tank as things aren't getting processed due to too much stuff in the queue that isn't draining at a sufficient rate. You need to figure out is the queue actually draining or is it still increasing in size? Are all the worker nodes still running or did one (or several) of them hang and didn't die but simply isn't processing any jobs out of the queue but still consuming a spot in your auto-scaling group blocking a new healthy instance from coming online? Is it a problem in your software or is it actually a blip in operations from your cloud-provider?

It's way, way, way more complex than simply "chuck some API keys in a file and she'll be right!". That's hobby project level stuff, not realistic ops of a production system.
DirectML Plugin for TensorFlow 2: ML acceleration for all DirectX 12 GPUs
Can we get a warning to those of us with a clearance so that we don't have to self report? Thanks. This turned my day right the hell upside down. Still cool article.

Author- portion markings like that are cool and all, but fml.
Survival of the species i guess. Cant believe we still dig holes and fight wars over metal, gold, etc here on earth when there are unlimited resources available in space. The longer we wait the deeper the hole gets. Literally.
I'm not sure why you try to present this as such a black and white situation.

You yourself have stated that what is ethical and what is legal is not always the same thing. If I surreptitiously record you admitting to a crime, is releasing that recording unethical, even if it's technically illegal? And do you really believe that the law should be used to prevent such activity?

I would argue that laws against recording people are unjust and clearly exist to make it harder to hold certain people accountable for their words and deeds.

What you do with a recording certainly can be unethical or illegal. If I record someone purely so that I can go back and take better notes or otherwise remember what we discussed, I see nothing unethical about that. Conversely, using such a recording to embarrass you, misrepresent you, or blackmail you, those activities are clearly unethical and in some cases clearly illegal.
Not the point, though. I don't trust a "secure" product that defaults to an unsafe behavior. If they put functionality above security in this aspect, then where else did they, too?
Robbery Filmed at the European Fine Art Fair
From their FAQ I think these are the key bits of information:
>What does the data company do?

>The data company digitises and maintains the product information for 98% of grocery products in the UK. They’ve generously worked with us to bring this cost as low as possible.

>Why are you not giving the name of the data company?

>Maintaining this data for over 200,000 products is a costly endeavour and asking them to offer this for free would be a huge ask. We appreciate that the data company is absolutely entitled to request compensation for their work. We know that providing the name of the data company could bring negative implications for them which we wouldn’t want - especially with how generous they’ve already been.
This is a wise thing to do. I knew a guy who frequently travelled to the USA who one day got home and discovered something in his suitcase that neither he nor his partner had put in there.

The question "did you pack your bag?" that customs officers ask is used to infer guilt. Once you answer yes to this question you are criminally liable for whatever is in the suitcase. In Australia a number of baggage handlers have been convicted of trafficking drugs. Unsuspecting tourists have also been convicted of drug trafficking and sentenced to 10+ years in prison

A company makes security seals for this very purpose and markets them under the name "TamperTell". They have a serial number on them and a matching receipt tab that you remove before flight then check against on arrival.
It was called Project Blackbird.

https://en.wikipedia.org/wiki/Blackbird_(online_platform)

"It was later revealed that Blackbird had severe performance problems because of an over-complex architecture which made excessive use of multi-threading. When prototypes of the Trident HTML layout engine were completed, and it was shown that the goals of complex layout in Blackbird could be achieved in HTML at better performance, it led to executives to rethink the project."
I used to have a physically demanding job. I didn’t often do movements at work that were identical to what I’d do in the gym. But it was helpful to fit.

I think of leetcode as the gym and I try to do one exercise everyday outside of work.
Greek police coerce asylum seekers into pushing fellow migrants back to Turkey
I don't agree at all with the gp or the use of the "paradox of tolerance" to shut down those you agree with, but I agree even less with discounting commings based on their length. Long from responses should be encouraged as they require the commenter to at least put in some time and hopefully some thought as well and also because many things are complex enough that shortening them just to please the twitter-brained loses vital details.
Fair enough - that makes sense, just haven't had a chance to dive into it yet.
Please throw that dart and I'll refute whatever you have to say.
Agreed, and also just text in general, internationalization, line-breaks, horizontal vs vertical text, left-right vs right-left, etc, etc.

OTOH that starts getting quite "application oriented" and where do you draw the line? compsci is perhaps more about computation and how to achieve it, analyze it, etc, and in that case even dates and times should not be in the list, being an "application" domain concern.
Biden already called Saudi Arabia a pariah when he took office and he'll probably continue calling them out on quite a few things. But in general, there are bigger problems and there's not a lot to be improved just from rethoric.
Don't know how to explain it, then. Never once seen eggs in refrigerator in Poland, for example. Maybe they're not Grade A? As in the cheapest eggs available would be Grade B.
If that was true, wouldn't you expect a much larger variance in how people got dressed?

How can it be that so many people say they "don't care" about what they wear, yet their overall style is so uniform?
When hiring, besides other things I asked for some test code. The test was to code a recursive ls from scratch but in a professional way. The candidate was put inside our team, had access to all our tools and the web and had 45 minutes to do the thing. We specifically told him that he can ask question whenever he wants. Admittedly, that test was not intended at PhD's in CompSci.

You'd be surprised at how many people fail that test.

Things we were looking at:

- is the code correct

- can the code be explained clearly

- does the code scale (memory / speed)

- is the code portable (Solaris was still at thing) ?

- how many external resources were used (copy pasting code from the web is a perfectly acceptable solution)

- unicode support ?

- automated tests ?
OLED displays cannot replace E-ink displays. Even reading on dark backgrounds with OLED tires my eyes the same way using an IPS panel.

Nothing can replace the dynamics of an e-ink display as of today.
Certainly more reliable than dropbox
Set HTTP(s) Proxy in Windows Command Line / Mac Terminal
I didn't say there was. But when the culprits weren't clear, Iraq was a legitimate suspect for a time.
So, you are saying putin is somehow selflessly taking revenge for Iraq 20 years later? I'm curious because to the rest of the world it looks like just another attempt at occupying a sovereign nation.
Try a relatively modern 300 dpi screen like a paperwhite or Kobo Glo HD, and you'll be really amazed how comfortable reading becomes.
It's the 1920s all over again - a civil/cultural war between urban and rural areas.
Well, I wouldn't say he decided to write it classic.
This opening, “I appreciate you sharing this with me”, in rebuttal template -2 is a great negotiation tactic. This sentence takes off the guilt of saying a no from the speaker’s conscience (who happens to be a buyer) and suddenly puts him into a much favourable position where he has helped the seller.
> There is presumably a father though. If he didn't agree to the abortion maybe he could sue? That's a whole different can of worms in general--it takes two to create a pregnancy, so should both have a say in termination? If so what are the results when they cannot agree on whether or not to terminate?

Before birth, he may sue for his sperm, or the equivalent, back. The truth is before birth absolutely nothing is physiologically required of the father. Yes, there’s clearly a cultural role for the father before birth, but that’s not actually necessary for the woman to give birth. They really don’t enter into the equation. After birth, sure, there’s plenty of precedent for that and I won’t argue that here.

Regarding evictionism, I have to admit that I too find the idea of very late term, elective abortions distasteful. However, the act of giving birth itself is very dangerous for women, so just because her pregnancy has been without complication doesn’t mean she won’t die giving birth.

Being pregnant can kill you. Giving birth can kill you. Birth and pregnancy are mortal dangers. We need to let women choose themselves over their baby if that’s what they desire.

And of course the truth is most will choose to have the baby. If reducing the number of abortions was ever the real goal we’d have free contraception for everyone and the state would pay for all pre-natal and birthing medical expenses.

There’d still be some, but there’d be far, far fewer.
I get the feeling they more just undervalue "everyday" humans.
Back in the 90s every computer magazine columnist had a cix account at the end of their articles, certainly in Computer Shopper, PC Pro and PC Plus
> There is a reason why we train medical doctors for years before they start diagnosing people.

This is not support for your previous sentence. A large portion of doctors' training consists of making sure they will treat someone with a runny nose for a cold before they'll even consider other explanations.
There is this dude that is constantly pulling money out of the economy, leaving less for everyone else. Stop him (the rent seeking) and he won't bother you anymore.
> Sorry, but this is cope.

Sorry I don’t understand this sentence. Are you saying he is not coping with the findings of the experiment? Did you typo “crap”?

If it’s slang for “You are misinterpreting the facts to support your own biased opinion” it’s not slang I’ve seen before
With email delivered to you via SMTP when you dialed up
Ask HN: What interesting ways have you used a rare algorithm or DS in your work?
Just bored and curious. Hope to learn a new thing or two. My best was using an inverted binary tree to get line number from index count in a tree, for millions of string indices.
That's exactly my point: you should not have to define and use an enum here. The compiler should be smart enough to figure out that the result will be `Result<T, Error1 | Error2>` without the user doing anything here.
Can you ever build enterprise SaaS with email link based logins? Any examples of enterprise SaaS with email link login? Or is it just for consumer?
It's certainly the case that the community has less and less of a say. Decisions are increasingly made behind closed doors or by committees rather than on Wikipedia itself. Professional bureaucrats doing their thing.

I have to admit this is part of what makes this so galling. These people reap goodwill and money from the work of volunteers – using fundraising methods that have often been criticised as unethical by the latter – and then disenfranchise them on top of it.

Wikipedia actually existed before the Wikimedia Foundation.
It’s a double edged sword and can depend on the question. For example, I’ve gotten a few “brain teaser” questions which are just dumb. On the other hand I’ve also had an interviewer in one of these loops sit me at a computer and build a small game with a debugger. Building the game was the to most “work-like” experience I’ve had in an interview.

Edit: I’ve both worked at and interviewed others for Microsoft. On my team you could basically ask what you want. My sense was that bad questions were more a product of laziness on the interviewers part than corporate policy.
That's incorrect. You interview for a specific role, and if you fail the interview you're done. No matter the promise they'll "look for other roles for you".
I read Hobbit, LotR, Silmarillion.
Until Numenor fell Arda was flat as a plate, which would prevent formations of coal, oil and other minerals necessary for basic industrial technology. While it's true that in the third age the world became a conventional globe, would Eru have put in fossil fuels? Probably not.
(First-past-the-post plus gerrymandering) is the main culprit here. The electoral dynamics are clear and inevitable.
Interesting when testing with inputs like "Oscar Wilde photo" or "marilyn monroe photo" and comparing to a Google image search. After some iterations we can have quite similar images but the faces are always blurry.
React Labs: What We've Been Working On – June 2022
I think the best explanation could be taken from another novel: "The Wiz Biz" - The explanation there is, that physics in this world simply don't work like on earth, magic on on the other hand...
Automate and speed up courtroom proceedings. Could also greatly speed up the inclusion of new information - instead of recessing, good software could give access to new info in real time (e.g. connect it in advance to all possible data-sources).
Easy: abolish federal income tax.

If we want to keep it, remove all deductions/credits, adjust the rate to something realistic (e.g. 5%) and make the IRS responsible for sending an annual bill to collect.
They should ask people to take a picture of the products for them, instead of raising 30k USD/year to send the money to a fortune 500 company.
I agree. Anything organic looking that is vac sealed is bound to look suspicious.
I think the hunters safety courses should be a requirement for everyone, even those that aren’t buying a firearm — and should probably come around the age of 14/15 unless you’re going to be hunting earlier.
This seems to be an antivax article.
If all your social interaction is at work, you deserve whatever will happen to you...
Yes, greyscale works. Eye candy is seductively seductive. Shiny! Shiny!
Seems like it'll be a serious issue for people hoping we can someday upload human brains into machines if we can't even transfer models from TensorFlow to PyTorch reliably.
CandyCodes: Simple unique edible identifiers for authenticating pharmaceuticals
Can you explain please.
FizzBuzz in TypeScript
Show HN: Open-source tool to generate a video from any Wikipedia page
Hi HN,

this is a tool I built for fun two years ago, which I now decided to release as open source.

It's a Java program that takes a Wikipedia page as input creates a video narrating the content of the page using a combination of sources for images and videos, plus Amazon Polly for speech synthesis.

At the time, I wrote a detailed explanation[1] of how the tool works, if you're interested.

The project is not active or currently maintained - I'm just releasing it because a few people requested it to me, and so I thought I might as well post it here!

EDIT: Forgot to specify: although, in theory, this works with any Wikipedia page, it might not do so very well (or at all) in a few cases. For example if the input page is very short or it has an ambiguous word which will then not result in good matching images from Pixabay.
It 404s for me in Central Europe.
I don't mind whiteboard tests, or tests in general, but that is an example of a terrible test.

You want production grade code delivered on the spot? AUTOMATED TESTS?!? I wouldn't want to work for you.
Scientists Uncover Traces of Fire Dating Back at Least 800k Years
To say that you need a clinician to diagnose depression, is like saying you need an MRI machine to detect pain.

I'm not saying the person we're talking about is depressed (or that he's not), I'm just commenting on what you said.
I'm fascinated by problems, that are NP complete, but still can have a ton of optimizations that can reduce the time needed by many orders of magnitude (millions or more), like SAT solving. Or approximate solutions / heuristics like approx. traveling salesman. Seeing huge improvements on real-life problems, even if you know the problem is asymptotically exponential feels like you've fought against impossible odds and won.
I sort of wonder if there's an alternate syntax that would give everything SQL needs but would not be as vulnerable to injection. Either that or a binary mapping that would trivially allow a text front end but have length-delimited parts.

Little Bobby Tables deserves to have his name accurately represented in the database. This could involve proper escaping (difficult) or parameterized queries/prepared statements (easy). But many sqli mitigations just reject his name out of hand.

I will say that sometimes I'm a little thankful for SQL injection, or at least a little bit of leeway for abuse. Many applications implement partial search using "like '${str}%'" and if they don't escape % I can also search for my string in the middle. There have been times when I'm able to inject additional columns or rename things to exfiltrate data that should have been available but the app developer didn't make it accessible. Unfortunately, in the wrong hands it is able to break things. Even accidentally.
> Meta AI audited OPT to remove some harmful behaviors

How is this usually done in practice ?
Tomte, why have you posted this story 6 times in the last 3 years?
A large percentage of people will spend everything they earn and then also spend every cent of their credit worthiness no matter the size of their cash flow.

I remember watching a show on the actor Nicolas Cage going bankrupt. He bought like 15 motorcycles and a $300k dinosaur bone.

I am sure some of these people are in unfortunate debt situations but a whole lot of them are on the Nicolas Cage version of financial planning for the future.