skysight-inc/HackerNews huggingface dataset:
The situation in the EU in general is all but satisfactory, especially for investigative journalism. There exists a term for it: SLAPP – Strategic Lawsuit Against Public Participation. There is currently an initiative of a group of European MEPs underway for better anti-SLAPP legislation in the EU member states. You may read more about the SLAPP problem in this article, published by the European Centre for Press and Media Freedom: https://www.ecpmf.eu/slapp-the-background-of-strategic-lawsu...
Nations that want to do this will do it, and trade bans won't stop them. Or even discourage them.

It's like banning arms sales to countries like Saudi Arabia. All it does is push them towards China or Russia.

Banning this stuff just leads to consolidated power blocs of nasty regimes.
You're missing that legalization breaks criminal monopolies, let's people get help more easily if they need it, and removed a mechanism where law enforcement can basically make someone or some group they don't like a criminal, by making illegal something that most people do.
Life opportunity cost. When you buy a house you are making a big commitment. It will guide the path of your life. These days with remote work that's less and more of an issue. What if you would be happier living in the south of France?
GP basically created a hypothetical situation wherein they were right, and then here you are saying they're wrong. The only case in which you would be right in saying the GP is unequivocally wrong is if dynamic arrays were Pareto-optimal compared to linked lists.

Alice: Can you think of any situation where apples are better than oranges?

Bob: Well, if someone had a craving for apples, then they would be better.

Charlie: Unfortunately, you are wrong. Even in that situation, oranges are juicier, have more tang, and contain more vitamin C.
I believe that P != NP. But suppose someone finds a way to provably solve SAT in O(n**1000000), thus proving P = NP. It's polynomial, but still unusable for real problems.

Edit: fixing damage to my post by Hacker News, making people think I don't understand O-notation.
Ah yes, the efficiency of the free market. Where companies with deep pockets get kids hooked on their product early so they can abuse them for the rest of their lives.

In these cases I think administrative oversight of broad and long term benefits to society is important, rather than the more narrow decision of "this choice will benefit next year's budget". Early offers by Microsoft were in a way a trap that kept schools and students paying for decades.
Thoughts about RAM and Storage Changes
Came here to mention typing vs. copy/pasting. When going through a tutorial, don't copy and paste. Type out the code. I turn off code-completion in my editor as well.
One "hack" to get around that is to change your health app into a "beauty" or "cosmetic" or "wellness" app. It's a very different set of regulations.
> You are recommending something over nothing despite not being confident in the data about your recommendation?

(Not OP but) Yes. Reasoning despite uncertainty is entirely possible; if you want a mathematical formalism, look into Bayesian statistics.
On the subject of teaching math to kids I found two books quite fun (and my daughters have been enjoying them as well).
1. Moebius Noodles
2. Avoid hard work!

Both of these take a playful approach to teach quite advanced mathematical concepts. What I particularly liked was a focus away from calculations and numbers.

The argument given in one of the books is that starting to teach math by counting and then calculation is like only starting to read books after children learned the alphabet. Children are very capable to figure out more advanced maths concepts even without being able to calculate fluently yet.
And they support Amazon.
I note that you still haven't substantiated your allegation about Kishor.

Congress declared and fought a war with China when they had encroached, quite unlike Modi who has for the most part been trying hard to ignore and hide Chinese settlements well within Indian territory in Arunachal Pradesh. Had been denying the fact that Chinese forces has occupied Indian territory several kilometers inside Indian border. Oh forgot, yes Modi retaliated occupation of territorial land by banning some video apps and games.
> for being stubborn and drunk on ego.

I think you would have a hard time finding someone who knows me describe me that way. Maybe the way I related the anecdote here doesn't present me well. I am pretty meek and easily flustered. I don't think I was any more confident back then than I am now which is, alas, not very.

> The fact that you were unable to incorporate this into the conversation

In this case, it was an interview with three other engineers simultaneously (a truly cursed interview format), so it was hard to incorporate much of anything into the conversation. It felt much like I imagine a thesis examination where the three of them were in charge of pacing and questions. (Also, it was ten years ago, so I'm sure my memory has faded.

What I recall was them asking me how I'd do some sort of growable collection. I said I'd probably do a dynamic array. I mean, that is the way 99% of growable collections are done today—look at Java's ArrayList and C#'s List. This is a company that does strictly PC games and I was hiring for a tools position. Dynamic arrays are the right solution most of the time in that context.

They asked what the complexity was. I said something like "Constant time, across multiple appends." They didn't seem to get that and asked what the worst case was. I was some appends are O(n) but amortized across a series of them, it's constant. When I tried to clarify, they said they wanted to move on. I think in their minds I was hopelessly lost and they wanted to get to the next question so that I didn't embarrass myself further.

I would have been happy to have a more productive discussion about which problems amortized analysis was the right fit for. My impression was that they had never heard of amortized analysis at all, and thought I was confusing average case and worst case analysis (which I was not). From their perspective, I can see how I looked lost or wrong.

Overall, they had a superior tone that I found off-putting. (For comparison, I didn't get that impression from any of the interviews I had at Google the very next day. My Google interviewers were all kind, engaging, and really fun to talk to.)
Which c++ standards do you regularly use? 11% - I'm not sure.

That is extremely amusing and also extremely understandable.
> 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.

Do you mean senior leadership reporting under Amr or in general?
SWI is still going strong, the main git repo looks to be consistently merging 3-4 PRs a month.
The calculators are used for "Downpayment is HHHHHH, mortgage is XXXX/month. Renting is (XXXX-YYYY) a month. HHHHH and (XXXX-YYYY)/month invested in [other investment] for 30 years = Z,ZZZ,ZZZ." Then you compare all the Z's the the estimated price of the house.

And the more it includes (expected rent changes, repairs, HOA fees) the better the math becomes.
How will you be right back after that?
> This ... isn't really a great example--either of Rust or of embedded programming in Rust.

Why not? You could also feel free to respond to the mailing list with your critiques
Well, while you're at it, can you tell me which side is telling the truth about Remdesivir, the US health care bureaucracy or the WHO?
More importantly, if it turns out that P = NP through a O(n^1,000,000,000,000) algorithm, then you've proven P = NP but no one is breaking much security any time soon.

But even finding a O(n^big_number) (where big_number is a googleplex, or graham's number... or some other absurdity) would be a huge advancement in theoretical computer science.
The only thing more delicious than an unironically 'I got a big brain' Rick and Morty quote is when the person making the quote is super confident about how obscure it is.
> The determination of whether to buy the house is based on the calculated rate of return. So even if you make a profit, if the time horizon is large you’d be better off investing that money in stocks.

Can you give a more detailed example? What time horizon are you picturing? After you pay off the house you lose the leverage advantage of returns on selling a house you bought with a mortgage vs selling stocks, but you also stop having to pay the mortgage at all while you'd still be renting, likely at a far higher market rate, so looking at the post-mortgage-payoff curves, it's hard for me to see where the invested down payment + (mortgage + tax + upkeep - minus - rent) returns would be expected to be high enough to make up for that.

(The more rational counterargument, though, would likely be around diversification? Better to have land + stocks then just one...)
This is the first comment in the thread that makes sense. The customers' and the content providers' relationship is simply abusive. The providers' constant struggle for control over viewership, and the creep of anti-features, dark patterns and questionable EULAs and other terms are simply disgusting.
Slapp: The Background of Strategic Lawsuits Against Public Participation
They were talking about big-O analysis (or whatever you want to call it), then you jump in talking about speed and performance. That's not the same thing, and as you say, may not even be closely related. I think your right, but again, it's not applicable to the point of contention the above comments were discussing.

Also, in an interview, it should be fine to talk about all this. It could lead to some good technical discussion where you can show your knowledge. If such a conversation does arise though, remember you have to make these people like you and ramming your point down their throats and forcing them to acknowledge that you're right and they're wrong probably doesn't do that. Also, don't forget you may, indeed, be wrong.
Can you not inject culture warfare where it doesn't belong?
Good point. Cash bonus and maybe RSU's if they company is public.
You seem under the impression this software is being developed exclusively by big governments. It's mostly tiny shops in Israel, Bulgaria and such

Who would issue and enforce such a ban? The US?
At least in the part I'm looking at, this was still true at the end of May but is not even close now.
That's syntax sugar and it's lying to you for convenience's sake.

(+ . (1 . (2 . (3 . ())))) #| --> 6 |#
(quote . (1 . (2 . (3 . ())))) #| --> (1 2 3) |#

(1 2 3) is a pair and we have a rule for evaluating pairs: unless the car is a symbol denoting a special form (1 is not one such), apply the car to the cdr. So we need to quote it if we want to get it as a literal.

() is a special list terminator object; it is not a pair—as this dotted list syntax shows—and it has neither car nor cdr, so our previous rule for evaluation does not apply. However we have another conventional rule: objects which are not pairs and are not symbols should evaluate to themselves. This applies to strings, characters, numbers, vectors... Why not to the list terminator?
what ever happened to the possibilities/power of those LinkNYC phone booth towers all over the city? I was impressed/very excited about them when they first deployed. The speed coming off those things was great. Could those not add tons of nodes to the Mesh? or are they all in the 'wrong' part of the city heh
> So what do you say about Modi?

Oh that's easier to answer; there is thread above. TL;DR

The GP of my first comment said:

"the best policies are that of the government in power"

The parent answered:

"Taking away Indians' freedoms, brutalizing minorities,..."

I just said that it's a bit unfortunate that most of these discussions never really touch whether what GP said is true or false, i.e. whether the policies of the government are indeed best. Instead the answer points out how other policies are awful.

Now, I personally agree that those things listed are awful and I'd never support such political party.

But, logically, that is not an argument against what original GP said. I find it unfortunate that we are unable to talk about those things candidly.
I remember when I first learned of MySQL’s triggers I immediately thought that it might be fun to use them to implement a microcontroller or even a full computer emulator. A table with registers, a table for RAM, etc. If it was x86 or ARM or some such then I could compile Linux on it and then run MySQL inside of that!
Students Understand Physics Equations [pdf]
I am the someone who "understand whats going on". My experience of the knowledge transfer was not pleasant at all. Maybe it's my ability of explaining, maybe it's my teammates, maybe it's ZIO having better names for combinators than Cats.

For-comprehension does help. But the alternative is callback hell all the way, so that's not saying much.
It is still clunky compared to the regular syntax.
What is not applicable?

If one person says a linked list is faster than an array list but the opposite is true, then why do you claim it is not applicable?

Isn't it exactly the point of the article, that sometime you need to say what the interviewer wants to hear rather than what is the actual truth?

It is an unfortunate truth that a lot of interviewers will ask about linked lists vs array lists and at the same time will not understand that linked lists will be slower for insertions or deletions in most cases.

That is because you first need to find the insertion/deletion place, and any benefit of faster insertion/deletion for linked list will be offset by much slower search.
I made a request for more nuance, which you provided in a follow up reply. I certainly did not demand that of you; to do so would have been laughable.
Polarized sunglasses will significantly reduce the visibility of dashboard reflections.
Yes, that's what I figured you meant, and that's precisely what that paragraph and my comment above detail. You can enter a credit card into JuliaHub and start running large scale distributed compute on CPUs and GPUs right now. Or you can email us about procuring an enterprise version for your whole team and/or licensing JuliaSim or Pumas.
There are several which at least strongly resemble that remark.

Project Gutenberg and the Internet Archive's text archives (along with numerous other document-oriented sites, several of the samizdat variety) offer content in PDF and other document-oriented offline downloadable forats.

Wikipedia has a "save to PDF" link on each article (that seems to work through the browser's capabilities, if any, not all browsers support this). The sister Mediawiki site Wikisource offers ePub downloads.

For longer-form content, PDF, DJVU, and a handful of other formats (arguably ePub) are at least reasonably popular.
Note that this is a simulation of an asteroid with a diameter of 500 km. The asteroid that killed the (big) dinosaurs had only 10 km. That's 50^3 times smaller.
The USA does export its drug policy stance, and per the Nixon policies, it's a win for any government to have those tools of oppression on tap for when needed.
Not really just a backup and restore. You need to be able to rebuild from zero. I think of it more as a disaster recovery exercise, and for those… you are only as good as your last _real_ rehearsal. That may mean a suitcase of tapes, a sheet of paper, and a rack of blank servers.
Then you have the problem of release of confidential information. For this reason, the sweetest target for ransomware is the company who can neither recover their data, nor can they afford to have it publicly posted or monetised by the gang.
Oh and you do store those backups offline dont you? Ransomware gangs have been known to loiter and observe their target for weeks to learn how to sabotage backups when the time comes.
Awesome pro move!
Had the same thought but I think SAS is correct: Statistical Analysis System (https://www.sas.com/en_us/company-information/profile.html)?
This entry from the survey was my favorite:

Prediction by Richard Chang:(Univ of MD Balt County, 2066, P6=NP) In the year, 2066 the idea that computers will double in speed every 18 months (Moore’s Law) has been ludicrous for 50years. As such, no one uses asymptotic analysis anymore. Programs are written in assembly language to shave the running time. Some poor assistant professor will prove that P != NP and fail to get tenure for it

Though I would guess predictive programming and execution would look more like an AI system and would be clawing at throughput gains by "learning" how the programmer of the current program expected things to go ... rather than the programmer working in ASM to make it so.
If you're worried about losing a couple months' rent, kitchen remodels are not for you...
It’s structurally the same. You can choose a lion, a wolf, a shark, etc, but it is not arbitrary that you choose some such animal to symbolize ferocity, and not a rabbit.

There’s some bias to associate sounds with particular images or concepts, but we have different languages because we don’t choose the same words.

If anything, the consistency of symbolism is much greater than inter-linguistic consistency of how words sound.
That's too harsh, IMO: not everything that works is gated behind a prescription.

What I'd look into instead is how it's legally classified. My heuristic is: if it works in any meaningful way, it's classified as drug or medical equipment. Might be OTC, but it's clear about its status. Stuff that's not classified like that can at best correct some nutritional deficiencies, but typically does nothing at recommended doses (but sometimes can still hurt you if you severely overdose).

There are substances gated behind a prescription that I wish people would have easier access to - but I understand the need for regulatory control. If people selling all these fraudulent cures can dupe so many regular folks, imagine what would be happening if they were allowed to put medically relevant quantities of an active compound in them.
No, it's because most of the "blackest" finishes are extremely delicate, as they rely on a sort of micro-velvet structure to trap light as well as absorbing light. There are relatively sturdy solutions - fabrics, mostly - but they tend to be absolute dust magnets, and look rather ratty in a short time unless kept scrupulously clean. Between the high maintenance and the immediate grunge regardless of maintenance, they don't sell well. (Photographers, on the other hand, love the stuff despite the fact that there's an extra few minutes doing a detailed tidying before every shot.)
>tryin'a
I really cannot make it clearer that I'm nitpicking on the statement that it is "sublinear". I'm not disagreeing that it's O(log(n)). I'm also not disagreeing that it's "sublinear with respect to n". I'm disagreeing with it being "sublinear", because there are at least 2 meanings that come to my mind:
1. "it's sublinear with respect to n" - this is true
2. "it's sublinear with respect to size of the input" - this is false

I do not know how else to explain this to you that it is the size of the input that matters when talking about complexity. Example quora answer that recognizes the distinction (discussions about the technicality in the naive isPrime impl that checks numbers from 2 to sqrt(n)): https://qr.ae/pGuORe.
My wife frequents chinese parent forums, and according to parents there, study time in a lot of households involve children staring at the ceiling and parents yelling... a lot. The thing, though, is I never hear about the situation improving by yelling more.

My older son had trouble concentrating in the beginning (still does to some extent).

I'd say starting off with overly challenging material is probably going to be counterproductive if you're also simultaneously trying to establish a routine. My daughter started with "draw 5 beans" sort of exercises, and seeing her older brother comply with a routine it was much easier to get her to finish her studies in a timely fashion.

"Helping" too much can also be counter productive. The kid may end up expecting you to be there all the time, when really, half of the point is to develop some self sufficiency.

The feedback cycle structure may also be messed up. It may be that the kid is stuck in a vicious cycle of negative feedback (e.g. "Damn about time you finished your math! Why'd take it so long!"). WRT the anecdotes above, I doubt yelling more will yield different results.

For my kids, math oriented games provided a very different feedback cycle structure than study time (getting answers correct is literally gamified to look like rewards), and this is motivation enough for them to furiously scribble calculations on top of doodles they had carefully colored previously. It also provided a different dynamic where we can casually praise them about their in-game progress, rather than being a strictly a "boring school conversation". Another example: we started to do Monopoly game nights as a pretext to sneak in math into playtime and my son got quite into making sure people got the correct amount of change from the bank. IMHO, incorporating more positivity (real, appropriate positivity) into daily life is important.

Another more subtle and difficult to address problem is general outlook on education. I've heard, for example, my kid's teacher say things to the effect of "oof, it's monday", as if school is a chore. I've also noticed north american media also tends to portray education negatively (e.g. the nerd stereotype, ferris bueller-like tropes, etc). This is very very different from east asian culture, where the general default is that education is very important. I don't know how to fix this, other than try not to engage in negative behavior yourself.
O(n*1000000) is linear, polynomial would be O(N^Y), where Y is the degree of polynomial.
Do you never get online receipts that you need to keep a copy of?
Whatever damage drugs do is insignificant compared to the damage that the prohibition laws do -- from punishing individuals to subsidizing organized crime (by artificially raising prices on drugs by making them illegal).
GhostCell: Separating Permissions from Data in Rust [pdf]
VSCode is kind of nice, but those keybindings are very confusing and opiniated. And if you install an extension to get the bindings you're used to (vim/emacs), it gets even more confusing as the extension and VSCode start digging each other.
I think a simpler explanation is that the general public in a country such as Japan deeply hates drug use.
That's more like "small planet" or "very respectable moon" than an asteroid.
Sure and odds are C++98 is compatible with C++17. The problem is the reverse, I try to write the most modern C++ I can, but I'm limited to my compiler (in embedded systems we rarely get updated compilers) which sometimes means I have to write the c++17 library things I need in older styles, and of course I can't touch anything that needs a non-library update.
I feel really bad that India cannot have one decent national leader or party.
I, too, lost a question on my Data Structures final exam by using amortized analysis.