skysight-inc/HackerNews huggingface dataset:
One example I had in mind when I said I was forgetting algorithms and data structures was about Skip List - https://en.wikipedia.org/wiki/Skip_list

I did an implementation of a skip list a long time ago (and I found the algorithms to insert, search, etc. quite simple and elegant). Recently I had a chat with someone and I was struggling to explain them.

I could design a few cards for skip lists:

- Question "ELI5 skip list" Answer "the actual ELI5"

- Question "What sort of problems are solved by skip lists?"

- Question "How to make a skip list indexable"

- Question "How to insert the element 123 in a 3 levels skip lists [1, 4 - 4 - 4, 43, 120, 210 - 210, 302]" <- make a better ASCII scheme.
etc...

Answers can be quite long. For the french motorcycle license, some answers can be very long (2 or 3 pages) and it works pretty well for me (see https://ankiweb.net/shared/info/1156061502).

When you train: after reading the question try to recall the answer in your head and then read the answer. Then you evaluate how good you were recalling and you pick the Anki "score" (bad, hard, good, too easy).
Winning comment ^^
It was in fact not about compilers to begin with: https://en.m.wikipedia.org/wiki/Just-in-time_manufacturing
I have played with a C++ implementation of RFC6330, and while I have to say I never went for performance, I find this benchmark a bit... pointless.

RaptorQ is kind of a gaussian elimination of a matrix, so it all depends on the block size (=>matrix size).
The algorithm has basically cubic complexity on the number of symbols in a block.
RFC6330 is made to work on files, which are divided into blocks with a certain number of symbols, and the bytes are interleaved.

This implementation does not do the (complex and almost pointless) interleaving, which is fine, even OpenRQ does not.

The bench seems to be done on a.... 10kb file?
It all fits in the L2. We are not given the symbol size (which determines the block size!) and I assume all of this fits in a 10x10 matrix.

You are benchmarking operations on a matrix that is (more or less) a 10x10 byte matrix.

The biggest part of this benchmark might almost be the generation of repair symbols (was it even done?), since that would require multiple xoring of the above-mentioned symbols.

This is much closer to micro-benchmarking than an actual benchmark, imho. It would have been more interesting to see what happens with files at least larger than the L3 cache.

You can also cache intermediate results, (which he does not do) which is especially useful for encoding, but only when working on matrix >= 100x100, otherwise just searching the cache, getting from memory (my implementation optionally did LZ4 compression/decompression) and doing a matrix multiplication is slower than just computing the matrix again.

Still, it's nice to see implementations of the RFC, which is a real pain to read...
Publishing My First Novel in a Format You’ve Never Heard Of
Writing Academic Assignments
This is basically how every company theoretically does it in Finland, because of legislation. But then some people work 9 hours and report 8 because they feel pressured to perform better. Or they constantly work long days and receive balance hours (that could be used as vacation), which are cut once a year.

I do like the system, but there are times when you still have to stand up for yourself if your company isn't one of the fairest.
If you're an R&D manager, you likely have much more latitude to rely on subordinates and not know what you want.
Haha that's what I thought too. "A friend" of his does this but puts it in "my backpack" and forgets. Sure. Friend.
Disclosing a directory traversal vulnerability in Kubernetes copy
I think most people thought the same thing about Atari in 1982.
There will always be the hopelessly desperate just waiting to be taken advantage of. The market will not magically stop this happening. We must make the choice; maybe we'll choose to allow exploitation of the hopelessly desperate, maybe we won't, but praying to the market to magically fix it won't do a thing.
Uber hasn't banned your account after a credit card chargeback? (Chargebacks cost money/penalties to the merchant)
The whole point of symplectic integrators is that they guarantee energy conservation (when applied to Hamiltonian systems). It takes some work (random example found by quick googling: [1]) which may not be deemed necessary if the drift produced by a naïve implementation is already small, but an insurmountable obstacle it is not.

[1] https://arxiv.org/abs/1005.1930
What—other than not wearing a wedding ring—makes a woman “single-looking”?
This already exists in the form of regional airlines.

I live in Harrison, AR. I can fly to Memphis or Dallas for like $40 each way if I book a couple of weeks out. There is no TSA in Harrison, and the airline operates from their own hangars, not the general terminal on the other end.

I usually travel with a handgun, which I of course declare in my checked bag. They hand me my bag back and I carry it to the plane with me, and in a couple of instances have even asked me to put it under my seat due to limited cargo space. I’ve been told multiple times that I shouldn’t even bother declaring it by airport staff but I’m not clear enough on the laws there to take that advice.
I have a C++ implementation of Raptorq.

Never went for performance, but at the most I use `std::map<int, pointer>` (which is a RB-tree).

You can implement RQ without a hashmap.

It is only used to track the symbol number (uint32), so introducing hashing sounds a bit wasteful. You could also do a normal vector actually, but since the symbol numbers are taken from the network, that might result in a lot of reordering or pointless allocation if you are not really careful

--edit: typos
This could be an R&D Proof-Of-Concept, and not necessarily a bad intented software. The fact that the employee publicized it shows that they are transparent about it, so I see no wrong doing here.
Obviously, that data is not your data. You can pull out your own posts, photos, maybe replies. Because you made that, but al that context isn't yours, so FB won't let you take it out. Heck, it might even be a copyright violation.

The fact that this defends FBs position is just a coincidence...
The reality in countries that have legalized it (Austria, Germany, Netherlands, and others) seem to be the opposite.

Prostitutes are still for the most part desperate immigrants, held hostage in various ways, and exploited by the companies that traffick them in and run the brothels. In other words, legalized prostitution still consists for the most part in paying money to shady people to be able to rape some poor girl.
Default Filename plays YouTube videos uploaded straight from the camera
Well, that's beautiful strategy..

Start dictating rules to government so they stop harassing you, make it even harder for other competitors and as a bonus be the hero in the eye of the public.

All hail our digital emperor!
The main reason I want the original time zone is that converting to UTC means information loss. And compensating for that information loss is a PITA, because there is no separate time zone type, so now I have to store a bloody shambles of a UTC timestamp, a string corresponding to a time zone, possibly another string corresponding to the time zone database version (https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a...), and rely on every single language interfacing with the database treating timestamps and time zones in compatible ways, which is guaranteed not to be the case for the foreseeable future, and far from trivial to do even close to correctly in most languages. To focus on compatibility with the real world rather than performance databases could for example store all three pieces of information, plus possibly an internal representation purely for ordering and other performance-related purposes, and allow the user to fetch the results using any time zone (defaulting to the server time zone) and time zone database version (again defaulting to the server one). The application layer should not have to do these conversions.
When company is young it breaks rules, hate rules. When it becomes big it wants more and more regulations. It builds a regulatory fence around it, entry barrier becomes harder and we get capitalism borne leech that swallows all potential progress. Not just that this proposal sounds like it will do two things. First hurt anonymity. Second, give governments first seats to censorship. Not they can't do that already but none every video, post will be under scrutiny from get go not when it's viral. Very much like YouTube dmca system implemented by Google.
Thanks for your feedback. The idea behind this small project is to easily compare movies and TV shows in a single page to decide what to watch.
Apropos of this, some of my junior engineers now repeat back to me "code without ego" every time they have a code review or make a mistake. They take pride in not allowing their ego to get in the way. All it took was me demonstrating egoless working and loudly advocating that we all leave our ego at home.

I soothe my ego on the anonymous internet. In the workplace, it goes in the fucking box and every other thing I say is a variation on "I don't understand". Working life is so much easier without ego games. So much more pleasant.

I hypothesise that programmers with excessive ego have been sadly let down by managers and team leads in their formative years :(
TL;DR: "Use Amazon Correto".

I just wish we all started to use OpenJDK, and didn't need "LTS" for Java 8.
I saw a video on youtube that said theres 4 or so genes that have an effect on your attractiveness to mosquitos.
Super Health Advantages of Zinc
We could also use the web of trust. An app already downloaded by people you trust is maybe-probably more secure.

Google Play Store could allow third party audit badges on the apps store page, so different agencies could give an official rating or an approbation level for the app. Basically a "verified" badge ala FB and Twitter, but more organizations than just the app-store owner could give their checks.

You would have "Google-approved" badge, "Open-source-approved" badge, "Mozilla-approved" badge, and even "Government-approved" badge.

Then you let the user makes his/her own decision based on what entities or friends he/she trusts.
More commonly it is felt that not being seen at work and plugged in to every decision will make you a target for dismissal.
The loss of privacy is needed for the microtargeting used in misinformation campaigns. It is exactly FBs profiles that allowed targeted ads for fear mongering, conspiracy theories, perhaps even school shooting victims.

Similarly, Google's profiles help push people to 'engaging' content on YouTube. It just so happens that extreme claims (anorexia is good, x was a conspiracy, group y is inferior) happen to be very engaging.

Our loss of privacy has a lot of responsibility here. It has allowed for a very subtle division of the public forum.
Let the first human who answers know that you are recording too, for quality assurance and training. Additionally, apologise. The call is important but the current high demand has made you slower than normal.
>Please don't irritate the TSA agents. If they don't get you for it, they will take it out on everyone behind you.

We really shouldn't tolerate people like that though, should we? If you don't respect TSA agents, it's your duty to remind them of that. Our ability to change the TSA through the democratic process has been on the wane for years now, but we can still force change by making it hard for the TSA to hire. If they have to double their salaries because being a TSA agent makes you a figure of mockery, they might fondle people a bit less.

As for how they take it out on the people behind me, that's their decision. They're adults, not dogs, their behavior is their responsibility, not mine.
Pretty sure they had this at McCarren when I was there late last year, just had to dump my bag in the tray and walk through the metal detector (didn't even need to take my shoes off - although they had a sniffer dog earlier in the line)

Seemed to work OK, well, until my bag got pushed into the "additional screening" line and had to open it up for the guy to look at
And your last sentence is exactly what many people want.

Let's say I'm writing a calendar application. Naturally, the user wants to enter all events in their own timezone, which in my case is Europe/Amsterdam. So I can just convert that to UTC, and store it along with a timezone string? Well, that's going to break horribly when the EU abolishes summer time next year, because all of those UTC stamps will be wrong!

The only sane option here is to store local time, and a string representing the timezone, which is what the name "timestamp with timezone" suggests it is. Yes, I could do the conversion manually, but it would be a lot more convenient to have it in the database directly.
To quickly build and run from your terminal:

git clone https://github.com/taylorconor/tinytetris && cd tinytetris
gcc tinytetris.cpp -lcurses -o tetris && ./tetris
I guess the difference here is the targeting.
Two fun facts here.

First one. Russian Academy of Sciences(RAS) doesn't hold students. That's an authority that manages the network of research institutes. Educational institutes are separated from that network in Russia.

Second one. Pazhitnov really worked in one of the RAS institutes when created tetris.
... but all government is based on violence ...
> The Met simply have limited funding [...]

Everyone has limited funding

> and more important matters to investigate

Everyone should prioritise what they work on!

Not to be harsh on the OP, but let's compared the total £value of what was stolen vs the potential [opportunity] cost to the police and other relevant authorities which would be required to catch and convict the thief.

If the laptop had something the authorities valued, they'd work significantly harder.
Most frequent flyers would pay more to avoid the TSA
It’s funny that the govt wants to conduct studies and analyses, to study what exactly?! Is it a secret that Japan has piss poor mental health services? Nope! There’s your answer. Japan would rather classify people as weirdo recluses than take a deep look at the underlying mental health issues plaguing its society.
It seems like you don't know much about stoic philosophy, and are guessing that the modern meaning of "stoic" describes it. It does not, and in fact it is more in line with your second to last sentence: https://en.wikipedia.org/wiki/Stoicism#Ethics_and_virtues
Something like that happened to my mother. She is a teacher in HS. She also happens to teach some courses for teachers in training that are going to teach the same courses she teaches herself. But now, since new decree/law, she can't teach in HS anymore. She still teaches to teachers though. So she's seeing younger teachers she teaches taking her job.

Teaches everywhere.
Don't blame the victim. While it's true they could have been smarter with the reality of crime in the modern world, this crime is still 100% the fault of the robber.
Why not sell a NAS with these services installed?
If you went through something looking like a big gate?
I use a strip of electrical tape.
"What gets measured gets managed" - corrosively applied by establishing metrics that don't directly reflect business performance and are not under the control of the accountable people (NPS for example) and then directly and blindly using them to determine people's tenure or advancement.

BUT! the development and use of metrics like this is helpful in many ways; the problem is that when really dumb people are asked to do this they use them in really dumb ways and this bit (the lack of capability and brains) is the big issue.
Thanks for the pointer, any other similar algorithms?

O(n) sounds impressive, although I heard such claims on RQ too...

RQ complexity is O(n^3), but on the internal matrix, not on the input. It all depends on the blocksize you choose.

The numbers are impressive, too. Encoding 40Mbytes in 0usec? Will have to check the theory behind that.
aye! that be true!
https://coincircle.com/l/50VVxbObg3
Not since the Pie updates.
I don't buy it. I'm not sweaty at all and mosquitos always 'liked' me more than those around me.
I think this system is built on equal parts reliability and time management.

It becomes less of "Get this thing done by today" and more of "Get these 5 things done by the end of the week".

One developer might just leave it to the last minute or perhaps fail to deliver if they underestimate the scope of work, failing to deliver makes him more unreliable and shows he has a poor grasp on time management and needs day to day focus.

Another Developer may be more conservative with how much time they have available, but may still be working on a different wavelength in terms of day to day expectations, however at the end of the week, they deliver on time. This makes him more reliable and show that he has a good grasp on time management so far, so it shows that less day to day focus is needed on him.
Was it only his phone that was targeted? What about the phone his mistress was using?
I've been a fan of https://httpstat.us/ for a while now. Pretty much the same thing only you can also ask for a specific response time, which can be useful for testing timeouts.
I agree, I've seen it on a couple of forums and just go with it. I don't know if this is out of fashion sorry!
I have a Sony Z4 tablet, released in 2015. This is the best Android tablet ever made and after 4 years nothing can beat it when it comes to a use-centric approach. Alas, it was the last tablet Sony made.

Sony had a very rare insight when designing it. It's 10.1" with a gorgeous display and no burn-in after 4 years.

It is made of quality plastic, with rounded metal edges so it won't break when falling and a textured back. The thing is light, 395g. Nobody, even today can best this. Because it is light, thin (6mm) and with a textured back, you are never afraid you are gonna drop it. There is grip —remember, usually we don't use cases for tablets. Also due to the weight and how evenly distributed it is, you never get tired holding it. When I hand it to people, they are always surprised by the weight and how comfortable and nice it feels.

When most companies and reviewers optimized for aluminum, Sony had the mettle to go with what they thought better and they were right. Unfortunately, you can only value this, after you use the tablet.

They also made it waterproof. Submersible into water waterproof in 2015 which is very handy for a tablet, using it in a kitchen, etc.

It's a pity seeing them cutting more and more every year their efforts in the mobile division. Of course, they made mistakes, mistakes that I guess come from the company culture, but also the market is increasingly dominated by marketing practices. Let's not forget Samsung mocking openly apple users in their adverts.
Which country are you from and what qualifies you to criticize Japan I wonder?
great to see this company getting love. the founder chronicled how he raised £225,000 just 7 days before his company was about run to out of cash and close shop https://twitter.com/mrtrimit/status/1064613173658099712

they also recently raised money from Backstage Capital https://medium.com/greenroom/backstage-london-cohort-1-3a96c...
Just trying to say there are people who prefer K to many other popular drugs. Not for everyone though.
The .local TLD is reserved for mDNS. You may run into devices that completely refuse to resolve hosts in it using regular DNS.
Not humans specifically but any warm blooded animal. The only benefits likely are to the insect (not animal) itself.
Don’t forget about express lanes for those willing to consent and pay away their rights.
Sounds like a naturalistic fallacy and/or a just world fallacy.

There's not a silver lining to everything. Some things just suck. Nature is brutal, not caring. Many relationships between organisms are purely parasitic, exploitative, not symbiotic. If you really want a downer, look up what some varieties of the cordyceps parasitic fungus do to ants.
I found ads on the website that I saw on Instagram, I believe both Instagram and FB ads are on the website.

an other possibility is that it was an ad submitted on both platforms, and only the one on FB showed up on that website.
One time in high school I made a Tetris clone (in one lunch hour!) with single pixels as the squares, and used the VGA video memory itself as the data structure for the current board state. It was in 320x200 resolution, so the pixels were pretty big (the game area itself was only a small rectangle of them). My version didn't detect when the pieces reached the top or keep score or anything, just the basic playable mechanics.
> will likely be present until the extinction of mankind

I agree with most of your comment except this. Are you really saying that you don't think we can eventually automate on-demand services in every domain we can conceive?
Always do the opposite of what Zuckerberg says.
The scanner replaced the metal detector. Some places have both.
Show HN: Pursuing Multiple Ideas
By multiple orders of magnitude proabably. I'm going to go ahead and call 5000 people who have been killed by aviation terrorism events. Assuming they all live to 90 years old, that's 450,000 man years tragically lost.

The FAA website stats that 630,000,000 people fly per year. If each of them takes 10 minutes to cross the line, that's 105,000,000 man-years lost per year...
On the Canadian side, they’ve always swabbed my contact lens solution.

Unfortunately, the UK doesn’t have the same simple exemption for contact lens solution bottles, so they seized it while I was transiting.

There’s bit of irony from seizing something that anyone can fly in with.
Startups can start selling with $0 budget
They are not the same. Surely every employee of those companies is not involved in building anti privacy tools.
At Facebook scale, 1% would potentially mean about 15 millions of daily users are presented misclassified ads.
They are preventing you from bringing drinks from the outside to boost the sales of drinks on the inside.
This is PR smoke, they need to make the whole dataset publicly available and downloadable for it to be useful
Without knowing what the perf is like, it is really difficult to say. 32 cores @ 2.8-3.3 GHz sounds like quite a lot, I don't think getting 32 core Xeon would be anywhere near as cheap as this.
> None of which matters to Boeing as an entity. Market cap is not liquidity.

> Outstanding Max order backlog is $600 billion at list price. That is what matters.

So at 600 billion in orders they got greedy and didn't want to spend 1M extra per plane to make it safe.
> One other catch is that your ISP might block you for not using their DNS; BT (UK ISP) did this

Erm ... what? How does that work? If they don't see DNS requests from you at their resolver for a week, they disable your connection?!
Any indication of updated corpora from Google N-grams?
And some airports require that your liquids fit in a 1L bag. Which they’ll gladly sell to you.
Google has spiders that crawl the entire web. Cloudflare RUNS DNS for a bunch of the web.

Yes, a lot of DNS does live in their cache, quite literally.
> What's a use case at a software company for requiring someone to work over 40 hours that can't be solved by having an extra employee with overlapping shifts?

Except labour laws treat overlapping shifts not as a shift work, but as a scheduled work. This means different overtime provisions etc.
I think that there is a chance with job security - if you step down you leave the "core group". On the other hand I've seen a lot of people panic about being let go and then realise that actually they have the savings and set up to let them come - abet at a lower "standard" of living than before (no new BMW's, no new 75" TV's, etc). There are limits on this though - especially for folks with kids or dependent relatives. Some people are flogging themselves and living in fear to make other people's end's meet, so to speak.