skysight-inc/HackerNews huggingface dataset:
This whole thing does not make sense. Math is racist and this post should be deleted:

This is actually a claim that is being made often these days: the sciences in general, and math in particular, are racist. The latest comes from Oregon:

The Oregon Department of Education (ODE) recently encouraged teachers to register for training that encourages “ethnomathematics” and argues, among other things, that White supremacy manifests itself in the focus on finding the right answer.

Part of the toolkit includes a list of ways “white supremacy culture” allegedly “infiltrates math classrooms.” Those include “the focus is on getting the ‘right’ answer,” students being “required to ‘show their work,'” and other alleged manifestations.

“The concept of mathematics being purely objective is unequivocally false, and teaching it is even much less so,” the document for the “Equitable Math” toolkit reads. “Upholding the idea that there are always right and wrong answers perpetuate objectivity as well as fear of open conflict.”

ODE Communications Director Marc Siegel also defended the “Equitable Math” educational program.

.

The first sentence is mine. And I'm letting the sarcasm-impaired know that it actually is sarcasm on my side. The rest of it is real, though, I didn't write it.
Really interesting answer is in that short cut of Pinky and The Brain:

"The Brain tells a mathematical horror story":
https://www.youtube.com/watch?v=F9rTkVlbTcQ
What surprises me is that VSCode is used more than VS for C++. I would have guessed people would go for the "full fledged IDE" for the kind of projects that require C++.

Overnight VSCode has become the one size fit all for everything.
All good man. Enjoy google docs
These problems are worded to be deliberately confusing, especially #1. Is it a translation issue or are they worded because the math itself is too obvious once the wording has been deciphered?
Some decisions aren’t mathematical. Sometimes it’s better to make a decision based on whether or not it makes sense for the family as opposed to dollars and sense.

If your wife wants to buy a place, I suggest finding a compromise to figure out how to make both parties happy.
Too late, no take backs. P now equals NP and we must live with the consequences!
Yeah I’m really looking forward to the Standup Math or/and (preferably and) 3blue1brown version.
And 46% said they will use concepts. I guess people are overestimating a lot or the panel was C++ aficionados.
This answer is the epitome of all of the answers here pointing probably in the wrong direction.

The OP is basically saying any discussion of 'amortization' or anything past something very simple, was completely beyond them.

And your response, like many others here, is gong way off into the weeds, suggesting 'what they were really expecting' etc..

I definitely understand HNers willingness to go into the weeds for no apparent reason, but the lack of social comprehension here is really odd.

The OP has reiterated over and over the social context and yet everyone seems to be happy to dismiss it whilst providing their bit of extraneous extra input.

It goes on like a comedy.

"But they must have been expecting this niche/novel thing way over here in the corner, and well if you didn't get that ..."

It's as though the respondents are validating the poor ability of we techies to establish context.

Any specific requirements in the interview, it would seem, could have been discussed by the interviewer and frankly without providing very specific contextual details, there's no such thing as a 'right answer' because it always 'depends'.

And finally, why anyone would expect specific correct answers instead of a discussion about the constraints is also odd to begin with.
Seems like an oversimplification, usually it depends on other factors like how long you plan to live there.
Upvoted for an elegant solution (at least for consumers upgrading phones). I do wonder if the lead acid core charge works better than the bottle deposit because the value is more, because it's not that much extra hassle, or some other factor.

I also am not sure (and never thought about it until just now) as to where the forfeited core charge money "goes" for consumers who buy a new phone (paying the core deposit) and then don't return a core phone within the required amount of time or if they buy a brand A phone and return an old brand B phone.

But I suspect that the overall model could work pretty well with some of the details carefully thought out. (AFAIK, in the lead-acid battery case, I can't just go to a parts store and force them to buy my core for $20, but if I am buying a new battery, they are forced to take my old core instead of charging me the $20 core charge [or whatever it is nowadays].)
Do you have synesthesia? The alphabet color thing is a common marker of it
Unfortunately, you are wrong.

Arrays used as backing for lists are faster than linked list in almost all cases, assuming they are implemented correctly (as is the case in Java, which I bring as an example).

Linked lists have a lot of huge downsides that are not easily captured in their naive big-O characterization. Big-O does not tell anything about how efficient things are. Two algorithms can have same big-O complexity yet hugely different costs.

For example, you can easily parallelize operations on array lists but you can't do that on linked list where to get to next node you need to dereference a pointer.

Even without this, you get bonus from prefetching data to cache when searching through array list or when doing things like moving data. Speculative dereferencing pointers is nowhere close to just regular prefetch.

Array lists are denser in memory than linked lists (because of additional pointers). This means that a lot of things works just more efficiently -- cache, memory transfers, prefetching, less need to resolve TLBs, etc.

Inserting into array list at the end is as fast as into linked list (after taking account for amortized cost), but what not many people appreciate is that finding an insertion place and inserting within array list is also the same cost or even better than in linked list.

That is because to find insertion/deletion place you must first run linear search on linked list and that costs a lot. Actually, it costs more than copying the same size of array list.
In other words, buying vs renting shouldn't only be based on numbers/math. I own a home for 8+ years and I have probably spent shit load of money in maintenance/prop.taxes/repairs that I probably wouldn't if I was just renting but there is no way in hell I am giving up my freedom of doing whatever I want to my home (yes yes there are limits with township/HOA etc). I don't need no landlord to tell me what I can and cannot do with my home for the most part. That itself is worth it for me. And yes there are added benefits like Building equity over years, hopefully having a place of your own to retire etc etc.

Owning your own home is an emotion. It is a feeling that you have a place of your own. You cannot just put numbers on it. Yes don't buy a home if you are 23 and move every 2 years in your car etc. But if you are looking to raise a family, want to settle down in a place, owning a home is almost always worth it as long as you are doing it within your means.
So either I have autism, or this is complete bogus research
You may not believe it, but parents outside the US do not do anything special when a child doesn't understand math.

This seems to be uniquely American problem. Somehow in the US it's culturally acceptable and even normal to be bad at math. Elsewhere it's just another subject. You study it and get better. The expectation is that everyone in a normal school (not special needs) can learn the standard math curriculum.
> In my experience, science programming is characterized by having to implement a lot of stuff from the ground up yourself

It depends on the field, there’re hundreds of biological publications each month that just use existing software. And if I’m developing a new tool for single-cell analysis, it’s either going to be interoperable with Seurat or Bioconductor tools.
I know something who went bankrupt and got a divorce after flipping condos in chicsgo just before the housing bust. It works until it doesn’t and it’s usually catastrophic.
Your words might be true, but the world jumped on async wagon long time ago and going all in. Nobody likes threads, everyone wants lightweight threads. Emulating lightweight threads with promises (optionally hidden behind async/await transformations) is very popular. So demand for this feature is here.

I don't know why, I, personally, never needed that feature and good old threads were always enough for me. It's weird for me to watch non-JDBC drivers with async interface, when it was a common knowledge that JDBC data source should use something like 10-20 threads maximum (depending on DB CPU count), anything more is a sign of bad database design. And running 10-20 threads, obviously, is not an issue.

But demand is here. And probably lightweight threads is a better approach than async/await transformations.
That's exactly what I was wondering. Thank you.
And I agree with you, Baba is you is awesome! I really like Hempuli touch also in Noita.
> Please note the entire absence of the dollar bill from that document.

A fair point. I took "dollar bill" to be the generic "US currency" rather than specifically "the $1 bill". But this page covers everything from $1 to $100 (although it seems the $1 and $2 have barely any.)

https://www.uscurrency.gov/denominations/
This can be automated with DNS provider modules, if someone would like to implement it: https://github.com/caddy-dns
Similarly I've hated renting from owners doing it for the "investment", where the going rent is typically much cheaper than the mortgage for the property (California). Many landlords think they are giving you some great deal when they are the ones who bought beyond their means..
Are you looking for context regarding how this proof ended up in a prestigious academic journal (when the journal had already planned to reject it) or a more general overview of why any proof that P=NP will likely show up first not in an academic journal, but in a catastrophically massive security breach that lays bare all of the secret information from multiple organizations simultaneously?
Well, the processor needs to be able to do the context-switching (switch all registers, i.e. the visible state of the cpu, with those of another thread). You can obviously do this in software (emulate it) but that would be too slow for most practical purposes. Hence the question.
Thank you for that link! I can read Russian and that version is much clearer.
Yeah, my home was ~$320k, ~10% down, my PMI is $140/mo. The mortgage is written so if the house appraises higher that speeds up the point where PMI is taken off.

Personally I think some people overly freak out about PMI. When you're talking the size of numbers involved in the mortgage and escrow accounts, $140/mo for a few years really isn't that crazy especially if it means you can get into the market sooner in a home you really want. I probably wouldn't have bought the house I'm in now looking at comps in my neighborhood. In a bit over a year comparable houses in my neighborhood are $60k+ more than what we bought at, and Zillow's estimate for my house (take it with a massive grain of salt) puts it a hair over $400k. If we would have waited a year for 15-20% we wouldn't be where we are now.
AI language model designs functional artificial proteins
Quick cite it before anybody notices
The problem might have be created when bricks were hand made and there was no assumption that different bricks have same weight. So it was important to stress that it weighs 1 pound and half of itself.
I would add to this, whether or not someone is going to be hired they should have a quick follow-up that is polite and professional and in person not email. The candidate should not be left with a sour taste in their mouth after the experience. Even if they do not get the job, their friends might. The word of mouth is powerful and this is highly connected small world. This is something that recruiters at good companies are supposed to be teaching the teams performing the phone screening and doing in person interviews. As stated, a lack of this is a red flag. If people say they are too busy, that is not a valid excuse. Hiring quality people and providing a professional experience should always be the highest priority.
Yes, it is easy to express simple tasks like Sudoku in MiniZinc. However, in terms of sophistication and convenience, Prolog is hard to beat, since it is a full-fledged programming language that can also be used to fetch, process and transform any available input in any way necessary to make it amenable to all built-in constraint solvers.

Compared to a Prolog program, a MiniZinc model is quite hard to parse and reason about programmatically: Every Prolog program is also a valid Prolog term, and can be reasoned about logically as long as we keep to the pure monotonic core of Prolog, which also includes constraints. Pure Prolog programs can be debugged declaratively by generalizing away goals, whereas for example removing a line of a MiniZinc model may render the model invalid.

In addition, Prolog provides logic variables and therefore allows interesting questions to be asked about the model, such as queries about partially known data. This, in combination with Prolog being a programming language, allows its application in a way that is not readily available, or may not be possible at all, with more special-purpose tools and modeling languages. For instance, David C. Norris is using Scryer Prolog and its integer constraints to model and analyse dose escalation trials as they arise in clinical oncology, exceeding the expressiveness of other modeling languages:

https://github.com/dcnorris/precautionary

Regarding sophistication, a good example are dedicated placement constraints of SICStus Prolog such as the geost/N family of constraints:

https://sicstus.sics.se/sicstus/docs/latest4/html/sicstus.ht...

The publication A Geometric Constraint over k-Dimensional Objects and Shapes Subject to Business Rules by Carlsson, Beldiceanu and Martin gives an overview of what is going on behind the scenes when these constraints are posted:

http://contraintes.inria.fr/~jmartin/CBM08cp.pdf

Implementing these constraints with the efficiency, generality and correctness that SICStus provides is a huge project.
BRB air gapping every single device I own and setting my internet router on fire. ;)
What about the dev's (like me) who never heard about the survey.
> coding needs only experience to see what is good code to able to catch most issues

If that were true, the software industry would have a much smaller problem re: bugs and errors than they currently do.
It's volume pricing for users above that threashold, if that makes sense.

So, the first 100 users are $5.60/u/m or $560/m, if annual (to keep numbers consistent).

101 users would be $564/m as only the 101st user would be $4/m on the annual plan.

We stole this model from jira.
This may have been the straw that broke the camel's back, but it's probably not the only reason he was let go. (It does make for a great cover story though)

Let's just say almost all the senior leadership and a huge number of employees left the team or Google completely before this came out. Almost every single person I know that hasn't left is strongly considering it.

I personally left right as Amr joined, but even in the few months of overlap I had it was obvious that he was a terrible fit as a DevRel VP...
Show HN: I forked Ethereum and raised $25M for medical research
I'm just the founder. gitlab.com/pulsechaincom | PulseChain.com. Saves the environment using proof of stake instead of proof of work. Has higher throughput, faster blocks, which is common in ETH forks. What it has that's more interesting is the entire ETH system state, 25% fee burning, no inflation. Most crypto things on here are met with hatred, but this one raised (and is still raising) millions and millions to try and save lives, so maybe it will get just a lukewarm response :) I'm pretty sleep deprived. Heading to sleep for a bit.
And I thought I was clever by editing the PDF results from someone else's test
> a more general overview of why any proof that P=NP will likely show up first not in an academic journal, but in a catastrophically massive security breach that lays bare all of the secret information from multiple organizations simultaneously?

This is probably what I was looking for. Is there a good discussion of this topic?
MSBuild.
It feels like a combination of national pride and sunk cost fallacy.
> Also worth noting that a home warranty program helps a lot with these things both for my landlord and for myself as a landlord.

Not the home warranty programs I've had, which seem to be focused on getting revenue via call-out fees and not doing a whole lot else. Even when the last one replaced an air handler because of a bad fan (seemed like they could have replaced the fan, but I dunno), and gave me a check to replace an oven with a bad control board (no replacement parts), the fact that everything took months to go through made the experience negative for me, even if it was a positive fiscally.
my xmas isn't shaped like a column, it's a cone.

edit: ahh, the original question was for a column. i misread it and thought it was for a xmas tree.
Is Something Wrong with the Internet?
Usually this stuff is on HN. I'm seeing issues with vimeo, shopify, and webflow. Anyone else?
Now this is a "s/Facebook/Hacker News is tracking my life" coincidence. Just today I was looking to convert a CSV into a graph and came upon this exact site
You’d be surprised how many people don’t know that a for loop isn’t great compared to vectorizing. The same for Julia, few will know that types have an impact on speed. My point is that you won’t automatically write faster code.
I strongly suspect that Google didn't extend me an offer because one of my interviewers was insistent that a race condition could only be a bug and could not be used strategically, but with a electrical engineering background I could not let that slide. Unfortunately it didn't occur to me during the interview to pull up Wikipedia. I'd prefer not to work somewhere which requires dishonest agreement, so it's been for the best.
But the actual math in these is fairly trivial. The entire challenge is in deciphering the wording.
Boredom suggested to be linked to mental illness and substance abuse risk
does this assume the xmas tree is shaped like a column or a cone?

edit: ah, i re-read the original problem and it does mention column. i thought it was a xmas tree that was being wrapped.
That is entirely disgusting. Destroying a life for money. That that's a possibility...
I think the "intentionally stupid" interpretation is correct. I think the original answer was "to get from the left to the right", which later got shortened.
Also potentially of interest to viewers of this video/thread:

Evolution of Financial Exchange Architectures (2020)

> https://www.youtube.com/watch?v=qDhTjE0XmkE
Does CMake meaningfully support modules yet? From what I can tell, the latest activity on this topic[1] is that it's in an experimental state, and requires that you use a bundled version of ninja[2]. I wouldn't expect CLion to support modules before CMake does.

1: https://gitlab.kitware.com/cmake/cmake/-/issues/18355

2: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5562
Sorry I never responded to this, yes it's absolutely possible. I think things are changing and a lot of companies will pay for your degree. Typically you can also negotiate it in a job interview. Usually it does involve keeping good grades in school (B or above), so yeah, that happens. :)

I ended up leaving the job and having to pay over $7k in classes, but the company I moved to had an even better deal and paid for my entire degree with no qualms. It's a lot of work and stress, but it was worth it. :)

If a company is going to help you get a master's degree, they should understand that they can't push you too hard, considering the degree is a job in itself!
Continuing Ed – With Edward Snowden
What’s it like hauling nuclear weapons across the country?
MVC always seemed totally arbitrary and impractical to me.
You are recommending something over nothing despite not being confident in the data about your recommendation?

Which vaccines were in "both vaccines?" An mRNA and J&J, or just both administrations of a two-shot mRNA vaccine?
I hope it can hug my daughter when this happens.
Do you say that as assuming react is currently the biggest and widest adopted framework? Angular still seems to be more popular in corporations (at least in the UK) although I'd prefer react generally. I guess that might be because angular is more batteries included.
I second Designing Data-Intensive Applications.

Deep Learning with Python by François Chollet I think works as an audiobook as well.

I am a big non-fiction audio book fan and so much depends on the voice actor. I bad read can ruin the best content while Robertson Dean made Alan Greenspan's The Age of Turbulence into an enthralling adventure story.
For me, preemption by the Java scheduler is not currently supported but may be added in the future, after all the goroutine were not preempted at the beginning in Go.

The whole quote

> Second, Loom's virtual threads can also be forcibly preempted by the scheduler at any safepoint to implement time sharing. Currently, this capability isn't exposed because we're yet to find a use-case for it

I believe it's a reference to [1] but i may be wrong.

[1] https://download.java.net/java/early_access/loom/docs/api/ja...
For sure, I'm just expanding on why it might be smart not to.

I bought in a buyers market and still opted to put down as much as I could, rather than as much as I was required, so that I could have a better chance to get my 1st favorite pick. I personally wouldn't want to be in the position to settle on my 15th(+) favorite house. There's a lot of people being forced to make a lot of compromises right now -- will they be happy with their decisions years from now?
> you're almost always going to have some sort of singleton object somewhere in your application which just has these three pools, pre-configured for use

I'm bemused by this statement, and I can't figure out whether this is an assertion rooted in supreme confidence, or just idle, wishful thinking.

That being said, giving threading advice in a virtualized and containerized world is tricky. And while these three categories seem sensible, mapping the functions of any non-trivial system onto them is going to be difficult, unless the system was specifically designed around it.
That's a fascinating angle on dinosaurs and birds I've never heard of before, thanks for sharing!
Completely the opposite here in Seattle. The rental market is bonkers right now, with very little inventory in places where people want to live. That is very different to how it was just a few months ago.
I don't think a proof that P=NP is the same as actually turning all NP problems into P problems. You could prove it's POSSIBLE to break all current security without actually breaking any of it.