skysight-inc/HackerNews huggingface dataset:
The struggle is real. Someone help me out here please:

>5. Two old ladies left from A to B and from B to A at dawn heading to-wards one another (along the same road). They met at noon, but did not stop, and each of them carried on walking with the same speed. The first lady came (to B) at 4pm, and the second (to A) at 9pm. What time was the dawn that day?

I think dawn was at 6am. This assumes that Old Lady A travels the full distance in 10 hours and Old Lady B takes 15 hours to travel the same distance.

I don't know how I arrived at that answer other than some sort of trial and error. I don't like it.

Any advice?
I see a lot of responses defending the interviewers, or saying what you should have done.

Maybe so, but I'm just gonna go ahead and say - those interviewers were shit. Most interviewers are, so it's not really a judgement on them, but the problem in that room wasn't you.
> I'm in the US, and have one child who repeatedly could not complete math work during school, and would bawl and protest how stupid they were when given math homework at home. Completing it would take hours. Far behind, they could not multiply at age 8 or do fractions at 11. Tutors couldn't cover in an hour what other students finish in 10 minutes. Yet doctors indicated there's no learning disability.

Math must be mastered in sequence. Not learned, mastered.

For example, a child must master addition before moving on to multiplication. Not just be able to do the problems. I mean be able to do them instantly without thinking. Only then can you move forward.

Otherwise the child is hung up on a part of the lesson that’s not supposed to take any time at all. And that least to frustration. Combined with the perverted modern western idea that it’s okay to not be able to learn math, it’s a vicious cycle downward.
I’d guess there is a fighter jet nearby on standby.

Air superiority is still assumed.
If this is true, then humanity is also on the cusp of being able to eliminate the impact on climate from burning fossil fuels in one generation!

:-)
It's merged with the mainline kernel.
Why You Should Care About Your Right to Repair Gadgets
How to Learn Programming – Charles Isbell, Michael Littman [video]
Optimal Stopping Methodology for the Secretary Problem with Random Queries
I believe your reading is correct. The problem is stating "Misha lacked one kopeck". Consider this solution:

Masha has 0 kopecks
Misha has 6 kopeks
The book costs 7 kopeks

Granted, you could consider this a trick question in this case because it doesn't really make sense to "combine" money with someone who didn't have any. I am not sure if this is the case, but if a kopeck is sub-dividable, you could also have the solution:

Masha has .5 kopecks
Misha has 6.5 kopeks
The book costs 7.5 kopeks
Digitizing archives is an interesting topic. It does bring up some serious questions of cost, maintenance, durability and who should pay for all of it. This proposal overlooks the basic questions of implementation and instead focuses on making an argument that cheap and universal access to Charlotte Brönte’s diaries should be something like a universal human right. At a certain level of notoriety or cultural significance I think that the case can be made for cheap general access, however somewhere between William Shakespeare and a small town journalist lies a cutoff point where the cost does not justify such an action.
I’d be curious to know what that cutoff is and why it can’t be lower.
Personally, I imagine that this cutoff is actually rather high. Digitizing a text is not cheap or easy, and hosting it is a long term challenge. Physical books are often more stable than digital copies so the durability is a serious issue.
Most physical archives have pretty low interest (there are only so many graduate students specializing in that specific figure). In this regime the bulk of the costs are related to storage.
Of course if someone like the author wants to shoulder the burden of making such an archive by themself, by all means go for it. In general I think that this proposal needs to be more honest in its appraisal of the costs and benefits involves. That said it is also written in the context of privatizing a publicly owned collection, and I rather like the idea that any such transaction would require the buyer to pay for the cost of digitizing and distributing the archive in perpetuity.
https://arxiv.org/pdf/2107.07513.pdf
It isn't related to school curriculum (our kids go to US public school). It's supplemental in the sense that they get to practice more math exercises than a kid that only relies on school/common core curriculum.
It strikes me that companies need to look back at covid and consider the value IT provided to their business during that period, and the extent to which it has grown their business since the 90s.

Then take that and allocate a reasonable chunk of that growth (say 15%) to ensuring that can continue, through ongoing investment in IT. Their alternative is to abandon the internet, go back to paper, and dump their IT costs (and boost to business).

Unfortunately though, as long as there are bean counters trying to cut every outgoing and outsource every cost, and play accounting bingo to turn everything into monthly opex, it's unlikely to change.

Most companies need skilled technical people because the sheer aggregation of risk in a few outsourced providers (see Kaseya recently) shows that they won't be top priority when something hits the fan. If they want to be top priority, they need the people on payroll and on site. Not everyone needs a group of rockstar 10x-types, but we do definitely need better fundamental IT knowledge and ability to solve problems. And business needs to make clear this is what's needed in terms of job adverts and compensation - supply tends to rapidly learn to deliver what's valued... If you can convince bean counters to pay anything for it, that is...
I can't speak for "the world," but in Eastern Europe, everyone is expected to struggle and fail often in school. If your 11-year-old is the only one in class struggling and failing, as is typical (US aims for >90% correct), you've got a mental health crisis. If your 11-year-old were surrounded by kids all struggling and failing, just at different levels, it'd be normal.
Ask HN: How do you bounce back after vacation?
Hey HN, I recently took the first vacation since the beginning of the pandemic. We had a kid during 2020 and that plus the virus kept us working and indoors.

I took a week long vacation and feel great, but I’m having a ton of trouble getting back into the swing of things at work. I’m finding myself just staring more than working.

Any tips on how to get back into work again?
I'd bet they have pretty low personal risk. Where would the risk come from? I could see being close to radioactive materials as a risk - though hopefully there is sufficient shielding to negate that. I don't see much risk from people attacking you to take the nukes. I feel like that doesn't happen very often. Maybe some risk from lots of vehicle miles traveled.

It seems like an awesome job for someone with the right set of preferences. Spend half your time training, working out, going to the range. Half your time on long road trips. Huge responsibility, but extremely low chance you'll ever need to actually do much. Kind of like being a cop who never has to arrest or deal with people.
If you look at the home as a long-term investment, it's almost always cheaper than renting since your mortgage stays the same, while rents almost always rise.

You may be paying more in mortgage+taxes+insurance+maintenance when you buy the house, but 10 year later, rents have almost certainly gone up.
I hear you. Currently, the reviews are scored based on an ML model trained by Amazon reviews and their respective helpfulness rating, which helps weed out low-quality reviews.

Coming soon is a fake detection algorithm that runs a statistical analysis to spot discrepancies and contradictions among reviews from multiple sources. Additionally, more trustworthy review sources, like Reddit and Wirecutter, will be given more prominence.
I have a few Scanpans. They work on my stove just fine.
Most school math is pathetically slow. IIRC, they don’t learn algebra till 8th or 9th grade and even then spend an entire year on it.
> Well, are rights aren't particularly protected, from the censorship that happens right now.

Given that I don't believe that it is fundamentally possible for any private entity to infringe on my right to free speech, I'm going to have to disagree with you here.

> No we won't. All we have to do is take our existing common carrier laws, and expand them.

The Cato institute appears to disagree with you that it's that simple[0]. It's not clear that applying common carrier status to Facebook or Google could be constitutional, because they do not and have never claimed to be neutral, so using the force of law to make that so would be an infringement on the companies' rights to speech and association.

[0]: https://www.cato.org/blog/are-social-media-companies-common-...
You can be sued for anything, or nothing. You might be able to "easily" win the case, which may still cost you resources that you may not want to expend, and you won't be reimbursed for the stress and time used, only the financial expenses (and even that isn't true in all jurisdictions).

That said, if you know the legal situation, demonstrating that you're not afraid of the legal threats is often the way to make them go away.

For security research, if the goal of the legal threat is to prevent you from publishing your results for the first time... publishing the results can significantly reduce the incentive to cause you further trouble because the goal is no longer achievable.
>How is this a relevant comparison? 15 characters per minute is much less than the 15 WORDS per minute performance this work demonstrates

15 words from a set of 50 (6 bits per "word" vs. 5 per letter in the English alphabet). It's like saying a 100 baud telegraph machine can decode 300 words per second, just so long as those words come from the set of "dot" and "dash".

>but decoding speech from the motor cortex has been much less understood than that of simple motor movements such as cursor position and velocity control.

Cursor position and velocity are outputs, the input is still a self-paced motor imagery task.

>Bravo-1 is the only subject they had.

Fair cop. Maybe they'll get genuinely impressive results with their next patient.

>This is completely, utterly false. See (https://stacks.stanford.edu/file/druid:jx921pv3255/Technical...) for survey of performance of typing BCI.

I posted a link in a comment below showing an ITR of 35bpm from scalp EEG from pre-2010.

>I have a completed PhD in invasive neuroprosthetics and still work in the field

I am truly sorry for your loss.
The teacher could find other ways to test sound. Ask a student to clap their hands, for example (presuming the teacher knows their students are mischievous).
I've been programming on embedded with c++ for quite a while and I really can't agree with linus here.

Just the superior type checking, being able to use RAII and simple templates to replace macros completely transform the way you work on a fundamental level without doing anything fancy.

Although it's not as pleasant as it should be given its historical baggage (the bad rap is sadly well deserved), I still consider it to be miles ahead of C for embedded work to the point that while I do like Rust a lot, I still consider it to be overhyped in this area.
Interesting. I work at a large tech company. We have an entire team that basically maintains something like this as an internal service.
Yes, but you typically increase the supply of outstanding shares from the authorized pool rather than subtracting from the original pool. This is typically how the shares for investors work as well. So of you have 100 shares, you will create 10 for employees and then 11 for the investors, assuming both get 10% (11 is 10% of 110)

At each round, you allocate the same amount but it goes to more people so they each get less.

If you are concerned about dilution then you should probably avoid external investment. If you are successful you will typically end up with less than 20% of the company as founders, split amongst you
I do this same loop but I’ve given up trying to learn anything quickly.

When it comes to tech I don’t use for my day job I’ll do an iteration like this every 3-6 months and after 2 or 3 years I’ll have become comfortable with it.

The nice thing is that while I won’t remember everything, each loop feels easier and I can go a bit deeper into the subject because the total number of brand new things I have to wrap my head around is on a downward trend.
You may be entirely correct in your analysis. There are definitely a fair share of toxic interview setups and interviewers out there. What I found off putting about the way you presented the story was the bit at the end where you gloated about your current employment status and achievements as if they missed out on some great mind. It gives the impression that in your view, your intellectual prowess was more important than being a good candidate and potential teammate. While that of course may just be the way it came off, that was my perception. So it drove me to present the alternate, less charitable, interpretation where the interviewers did in fact understand amortized complexity and simply didn't find it suitable.

> I would have been happy to have a more productive discussion about which problems amortized analysis was the right fit for.

This is the type of conversation I tend to enjoy during interview problem solving because IMO it most accurately reflects the type of conversation you'd actually have with teammates when building a system. I also might try to bait this topic by specifying O(1) worst case insertion up front and watch for how the candidate interprets the requirement, what type of questions are asked, etc. If you started implementing an array backed thing I might stop you early and prompt the insertion analysis specifically. However, in my experience people tend to discuss an overview of the solution before writing any code which is a great point to iron out any clear non-starters or missing requirements.

> Overall, they had a superior tone that I found off-putting.

Fair. It's a two way street after all. Even if they were entirely fine and it was all a comms misunderstanding, sometimes personalities just don't gel. Glad you found success the next day!
I interpret the typical advice to cover DIY materials, required service calls (e.g. plumbing issue), and occasional high-ticket items (roofs, water heaters) but not relative luxuries like paid lawn care. I guess it depends how fancy your neighborhood is, but professional lawn care is not the norm at all where I grew up.
> Hydro-SDKs build system takes in Typescript code and produces Lua bytecode...

Wow... as someone who hasn't been paying attention to the JavaScript ecosystem recently--and has never used Lua--that sentence certainly took an unexpected turn ;P.
This will be wildly context dependent. I stepped down (or perhaps more correctly, out -- I left the company) and was happier as I transitioned to a job I was more suited to. I suspect whether moving out of the CTO role will make you happier depends on how able you are to give up technical/architectural ownership to someone else. In my case, it was easy -- I was done and had no interest in the product anymore. However, if you still care about decisions, I'd imagine you're setting yourself up for a different kind of angst: seeing your replacement do things "the wrong way" and not being able to fix it. Of course, YMMV.
I was thinking more along the lines of splitting up the whopping 56MB single binary into smaller, individual programs.

There is a version of libp2p, which is the library used by IPFS, that is written in C++. Perhaps that is another option.
Well, where are the answers?
Well, not exactly.

What it really means is that the execution time does not depend on the size of input (n).

What it does not say is how much time it takes to execute, whether it is exactly same amount of time every time or whether there exists some kind of upper bound on execution time.

For example, an algorithm that takes 1/(randFloat()) time to insert an element to the data structure where randFloat() returns any possible floating point number with equal distribution, is still O(1) algorithm, even though there is no upper limit on how long it can take to execute.
Monies paid for students education should be conditioned on not being skeevy and unethical. Basically just arrange the penalties such that outright fraud is effectively the death penalty for the institution and lesser malfeasance is still financially disastrous.

Wait for one really good case and let the papers instead discuss how a century old institution collapsed.
no you're not missing anything I had a dumb moment when I was writing the submission title, got names mixed up and now I can't edit the title.

In the linked discussion thread, which is of course about Google, someone mentioned they had a similar issue on Youtube and somehow I got the two names mixed up in my head.
What I immediately noticed as strange is the author is from a university in Wuhan, and has a Yahoo email address listed prominently, then at the bottom what appears to be his actual university email address in a footnote.
Next you'll try to convince us that "munificent" is a real word and not just a misspelling of "magnificent". Sheesh.
But the manpads is more awesome.
I really do not get the appeal of moving your own cabinets from apartment to apartment. But I guess it does allow you to customize your rented place more than is possible in the US.
The buyer.
Scuttlebutt: Decentralize and Escape the Social Media Rat Race
Yep, the AKS primality test (2002) was such a surprise to many (including myself) at the time. Most importantly, it did not rely on Riemann hypothesis, which remains unresolved.

1. https://en.wikipedia.org/wiki/AKS_primality_test
Actually I think restricting what adults can do to their own bodies goes against "progress for humanity."
Chess also has a finite number of moves (at least on a finite board), the 50-move rule and the 3-repetition rule ensure that a game can't last infinitely even if both players want to and ends in a forced draw.
I wouldn't say so. I still use some of my old pans. Lots of new pots and pans even in cheap stores have the induction symbol on them.
Musk told Vance he proposed Hyperloop to cancel California's high-speed rail
Amazon updates Conditions of Use, swaps arbitration for court resolution
I just got an email from store-news@amazon.com:

We wanted to let you know that we recently updated our Conditions of Use.

One of our updates involves how disputes are resolved between you and Amazon. Previously, our Conditions of Use set out an arbitration process for those disputes. Our updated Conditions of Use provides for dispute resolution by the courts.

Please visit https://www.amazon.com/conditionsofuse to read our updated terms in full.

As always, your use of any Amazon service constitutes your agreement to our Conditions of Use.

Thank you,

Amazon

Did anyone know this was coming? This seems to be a big deal.

The relevant terms from the actual Conditions of Use:

DISPUTES

Any dispute or claim relating in any way to your use of any Amazon Service will be adjudicated in the state or Federal courts in King County, Washington, and you consent to exclusive jurisdiction and venue in these courts. We each waive any right to a jury trial.

Is that legal for a terms of service to dictate what court hears a case? Can Amazon unilaterally prevent jury trials? This seems insane to me.
I've read through a chunk of the thread and no one has mentioned that on the list yet.

You could, I imagine, submit that as a Pull Request here:

https://github.com/wedsonaf/linux/tree/pl061

Or you can email a note about it to the author at the email address shown in the thread archives.

Either way, I bet they'd like to know about the order swap and either add a code comment or unswap it.
Dai Vernon had something akin to that. I -assume- it was the serendipitous case you mention, but it is, after all, anecdote, so it might have been something more. But, pulling from Wikipedia - 'He also had an encounter with another up-and-coming young magician from his town, Cliff Green, who asked Vernon, "What kind of magic do you do?" Vernon responded by asking the boy to name a card. Upon pulling a pack of cards from his pocket, Vernon turned over the top card of the deck to reveal the named card and replied to Green "That's the kind of magic I do. What kind of magic do you do?" '
Really? Someone shouldn't be able to smoke in their own house/property?
No, I typed two '*' characters, and it appears that this site made one of them go away. I meant n to the millionth power.
>A stack is spawned from a database backup and once it passes tests, replaces the previous one.

I like this approach, although risky if you mean you routinely replace the production db.

My preferred setup is to automate restores into a pre-prod environment, apply data masking and run tests there. It's not a replacement for full DR exercises, but at least it automates the backup verification process as part of your build system.
what platforms are you targetting that cant take 24mb?
> Since the telemetry is opt-in, some people disagree that Audacity should be called "spyware" …

I could totally see that I guess… My point was more that the way folks reacted to that would probably be a pretty accurate indicator of how well "open source spyware" would be likely received. ;)
Mine requires a 240V outlet.
> It seems clear legalization will lead to increased use.

I live in one of the states that legalized it quite a while ago. Statistically, there has been no significant increase in use (probably because everyone who wanted to use it already was).
I'm sure we're imminently start applying the same standards to organizations in the U.S. doing the same shit.
Limitless power corrupts without limit.
> A stack is spawned from a database backup and once it passes tests, replaces the previous one.

The stack replaces the previous one or the backup replaces the previous one? While having a single backup is a good start, you might want to consider keeping several backups so you can restore from, say, a data entry error that you discover two months after it happens.
Seed rounds are getting large. Competition for employees is high meaning you need more capital to work with
Right, but apparently Hacker News changes a * followed by another * into one *, even though several languages use two asterisks as the exponentiation operator.
Be mindful of what customer data you’re handling though.
I think it depends on the risk/reward of not following the science - as an example, there was debate about whether ibuprofen worsened the effects of COVID early in the pandemic. MGH basically came out and said that while the research was leaning towards ibuprofen being okay (and the WHO at that point had announced it was), they had plenty of acetaminophen available and no reason to doubt its safety for COVID patients. So they were going to stick with acetaminophen only for most patients.

Another COVID-related example is masks. At one point early in the pandemic there was messaging that masks were not useful in preventing the spread of COVID in the general public. There were supply chain reasons that probably motivated that message, but I also know virology PhD students that were insistent it was the truth, with papers in hand. At the time there were also papers to suggest the opposite, so one could have a healthy debate on the subject - but at the end of the day I gave my grandparents a small box of masks, because wearing a mask is so low effort I don't see why you wouldn't unless you are truly extremely certain that it's useless.
I'm guessing because you misunderstood the question. The question in the research was something like, "Which one of these shapes is called 'bouba' and which is called 'kiki'?" There was no option to invent your own word.