skysight-inc/HackerNews huggingface dataset:
This was the book I used. It is more accessible yet interestingly some comments seem to characterize it as "beginner friendly" in a way that suggests it is less canonical. Make no mistake, if you learn the material in Sedgewick well you'd be light years ahead of 99% of your peers. It likewise provides depth and foundations for things like leetcode, thus far the majority of leetcode problems I've done were toy versions of things covered in the book.

On a more personal / subjective PoV, IMHO its just a much better book than the majority of the others. Its not as basic as Grokking Algorithms nor as interview focused as Cracking the coding interview. I would suggest the latter if you just want to be good at programming interviews.
> This is fundamentally a centralized system like PayPal.

This is fundamentally a centralized system like wechat pay, an app you can't see in the West. If it's allowed it will be hugely successful.
Are you sure that person currently works on Swift? There have been a number of people, including a few public faces, who have switched jobs from Rust to Swift and vice versa.
Which doesn't inherently imply anything.

Are those country’s financial networks so primitive that a transaction message cant be sent on a weekend like in antiquated networks?

There is also other fiat than mainland RMB
> The center screen in a Tesla is where _all_ the information is available for the driver. There are no secondary gauges or other driver-specific controls or displays.

That's not true for the S & X FYI, they have an instrument cluster.

> The car, presently, should be oriented for the driver to pay the most attention to the vehicle, the road, and their surroundings.

Games don't cover the psudo instrument cluster on the single-screen vehicles.
Shhh- none of that happened. Move on please. Biden is president now and all that stuff is irrelevant now.
Where are they playing it down? I know it's easy to blame compagnies. OP open a post on reddit saying that 911 does not work, did he contacted Google support? No.

There is most likely an issue but we don't really know what it is. how do you know it's not on the Verizon side?

Most likely half the 911 calls in the US are made from Android phones and we never heard of common issues.
There are a few critical algorithms where fp error cancellation or simple ifs get optimized out if you disable signed zeros. Typically you would know which these are, they tend to appear in statistical machine learning which use sign or expect monotonicity near zero, or filters with coefficients that are near zero (and filter out NaNs explicitly).
I liked "Algorithms Unlocked" by Cormen (https://mitpress.mit.edu/books/algorithms-unlocked). It's the same author that co-wrote "Introduction to Algorithms" (or CLRS) that's referenced in a few other comments, but this one focuses on the what and why of algorithms and pulls samples from a few areas of interest.

It's not too long (~200 pages), so might be worth checking out before diving into one of the more comprehensive textbooks.

If you're interested in 3D programming, I found "3D Math Primer for Graphics and Game Development" to be the most accessible for the math fundamentals. I just discovered it's now available freely online as well: https://gamemath.com/.
Just a pretty walled garden keeping technology back
> Its a pretty miserable and quite deadly addictive narcotic.

Nicotine is a stimulant. The exact opposite of a narcotic.
What Rumsfeld meant was clearly that the incidents were isolated, but I can't help thinking when people use this phrase this that the full version is "a few bad apples spoil the barrel." It seems particularly appropriate here.
I played volleyball without knowing how to execute the pancake dive and smashed my knees on the floorboards repeatedly in my 10s. I became obsessed with MMA and eventually got a bucket handle tear in my knee at athletic prime. Sometimes the knee refused to straighten and I had to get physio to hoik it back straight. Every step was a pain. Instead of surgery to staple the meniscus down or cut it out, what primitive medical procedure is that?!, I had acupuncture to treat the pain. I think I was lucky in not having the deeply inserted needle sever a controlling nerve from knee to toe. I wouldn't do that again in a do-over. I heard by word of mouth a statistic that 50% of knee surgery don't improve the knee so I didn't have that done. I swim to get exercise or walk gingerly.
How is "invention of the 'legal person'" related to "selling the stuff and ruining thousands of lives"?
> I guess as long as the tank tread on your neck is Chinese - it’s not a problem.

Are you implying mg Chinese identity will be a problem in US then? Are you threatening or are you joking?

> Better to be called a facist in democracy than to live in the authoritarian dictatorship you provide unceasing support to.

I provide uneasy support to China and CCP? No! I uneasily support the mutual understanding between China and US. And for now, the part that lacks understanding is US, and American people continue to allow themselves to be fooled by the mainstream media. While at the same time most of them do not even trust them anyway. It was just that the mental conditioning has been started since early 1900s since the rise of Communism that the distrust on MSM does not translate to critical thinking in the people's mind.

Yes for sure. My support for anything is uneasy. And only on a case by case and rational way.

I see the danger of blindfolded mindset to trigger the hot war between 2 nuclear super power. Then I act accordingly. Is that a support to China? Sure! It's a support to China just like Bill Clinton OKed China's joining to WTO. It's a support like Donald Trump squandered US supremacy and disunited the US allies. That does not make me or bill Clinton or Trump less American.

> I pity the people of China

Me too.

I support Chinese people's development. I am planning a nonprofit for my home province's education. We'll be helping youth coming to US and learn the history and culture in the American, so they have a more independent attitude towards government and power.

Like I said, changes take time, I want to contribute to the cultivation of western values in Chinese youth.

> who don’t have a say in their government

No no no...

This current iteration of Chinese government was created after the people overthrow the US backed KMT. They are going to overthrow CCP if CCP starts to behaving poorly. Look at the growing civil dissident during the haydays of rampant capitalism when people's lives are put on danger for the profits of the few.

> and have no choice but to tow the party line

They don't have choices in some basic politicians rules. Like CCP has to be the leader, and China had to be on socialism.

So what. American have to be on a 2 party system, and US has to be on a capitalist system. Is that so different?

> What’s your excuse?

I have no excuse. All I said is rational based on my own observation.
I didn't dive too far into your repo, but it looks like you're doing something similar to Finger Trees [0].

Finger Trees as described in [1] are configurable to be several different kinds of data structures, but using them as a simple list gives you:

amortized O(1) insert, remove, update at head and tail
O(log n) insert, remove, update, worst case
O(log n) concatenation of two lists

And you can traverse all N elements forward or backwards in O(1) per element.

I think it's a very nice data structure.

[0] https://en.wikipedia.org/wiki/Finger_tree

[1] https://www.staff.city.ac.uk/~ross/papers/FingerTree.pdf
ABC news reported that facebook is just a CIA honeypot. Nobody cares... Charlie Wilson's War is a loveable Tom Hanks movie. People do not care even when something is directly harming them.
If you're fiddling with the radio dial or anything else and not looking at the road should the car maker also be held accountable? No.

Adults should be held accountable for their actions. It's not hard to pay attention to the road.

- edit -

To below, please don't quote out of context and put words into my mouth.

Answer the question whether or not a manufacturer should be held accountable if a driver is fiddling with the radio dial and strikes another car or pedestrian.

Maybe it's just HN, but everyone seems to want an authoritarian lawsuit-happy nanny-state these days. Sad times.
The system is wrong. Everybody should be paying for their own healthcare OR if there will be public healthcare, people who are at higher risk due to their own actions (like smoking) should not be covered by healthcare/pay an extra to be covered etc.

I definitely agree with you on someone shouldn't be paying for someone else's healthcare.
No?

How often in software do we see a half finished product or product not designed to scale and we have to start over from the beginning to get it where it needs to go?

You think this doesnt happen in construction projects too? Half building a bridge that you then need to tear down is awful and should not happen. You are just assuming its possible to finish the rest of the bridge later and that critial parts will be available later and that it being in a half finished state for a period of time doesnt cause major issues to the whole thing.
This is why Keith Richards kept a tape recorder by his bed. "Satisfaction" started this way.
Another thing too is that if your main application artifact can be static while your sidecar can react to configuration changes/patches/vulns/updates. Depending on your architecture it can make some components last for years without a change even though the sidecar/surrounding configuration is doing all sorts of stuff. Back when more people ran Java environments there were all sorts of settings you can do with just the JVM without the bytecode moving for how JCE worked which was extraordinarily helpful.

It depends on your environment and architecture combined with how fast you can move especially with third party components. Having the microservice be 'dumb' can save everything.
> I can't imagine people willing to organize into small secret clubs to smoke a few cigs

You mean like what underage kids already do?
Wall Street's Greatest Gambler: On Jeff Yaas, Quant Trading, ByteDance and Poker
This book [0] uses Java. The content of the edition using Python is the same IIRC. The first one used Swift and is a tad older.

[0] https://www.manning.com/books/classic-computer-science-probl...
Bitdefender Antivirus Free Edition to close down on 31st of December 2021
The idea was good, but the implementation was terrible. It slowed down some phones a lot (my iPhone 5 was always lagging), there was no information about the feature, no setting to disable it, etc.
Yea same here, recently got my app rejected because of "no ads". Not a fan of this change either, makes me prefer f-droid even more.
Regrettably, improving the lot of whistleblowers may be difficult to achieve legislatively or legally — even if a majority of the citizenry approves, the institutions will resist. It may be that the best way to make a difference is through NGOs like https://whistlebloweraid.org/# since at least they don't have to play by the rules of the organization. The US military may not be able to muster proper rewards for someone like Ian Fishback, but it can't stop a charity from at least disbursing aid.
What's annoying are those tutorials like on OpenCV that just repeat the steps outlined in the manual.

We're going to apply a mask to find the red cup, ball, etc...

I made a personal chrome extension that hides the YT content you first see to stop hijacking my original intent of coming to YT.

I still like YT though, watching Ben Heck's videos or random Japanese fishing/cooking shows.
When a newspaper publishes an unsolvable puzzle
>The stipulation that images are only scanned when uploaded to Apple servers is a courtesy, not a technical limitation. The exact courtesy that would be rescinded by pressure from the Chinese government.

The scan is performed in the code that does the uploading, so it is a hard limitation of the implementation. They can't push a button to make it scan other photos, they would have to make significant code changes. Not hard code changes, none of this is hard or a major technology achievement, but the current implementation does one specific thing and that thing only.

On the legal requirement, huh, it looks like you're quite right. They are choosing to scan for CSMA loaded into their service. Good for them.

There's nothing to stop the Chinese government requiring Apple to make whatever code changes they require anyway.
The Times’ style guide would render more than one compact disc as C.D.s (no apostrophe, but with periods in intialisms).

Do you have a link to any authoritative style guide that suggested “C.D.’s”? The Times' guide (2015) demands apostrophes to pluralize single letters: “the word has two t’s”. I think that’s silly, just as their use of quotation marks rather than italics for book titles.

Here is a quote from the 2015 edition of the Style Guide:

“G.I. The colloquial term, derived from government issue, for American soldiers. The plural is G.I.s”
No one is supposed to trust the police.
How is that meaningfully different? Technically, yes, Google could give your account to someone else but that would have significant business impacts unless it was done following a court order or something similar, which would also apply to a blockchain key.

Similarly, unless the plan is to tell people that one mistake or hardware failure means they irrecoverably lose their identity, the same process which allows replacing an old key with a new one can be used to replace you.

Finally, there appears to be either no benefit or a big privacy impact mapping keys to profiles on sites. If I go to a website and see “J. Random User” I have to trust that the owner of that site verified their identity against the expected source; if I see something like a signature against a particular key, there's a privacy issue from making it so easy to link you across sites and other activity (yes, people can use ), and if you don't trust the site operator you still have the problem of them showing a different ID when they're doing something dodgy.
On the skyscraper point, at least in Chicago (I'd guess) and Seattle (where I live, so I'm sure), the limits on skyscraper height aren't about anything to do with the buildings themselves, the soil conditions, or anything like that. The issue is being to close to flight corridors, and so the FAA won't approve anything higher.

On the University point, I think I agree in theory, but not in practice. The percentage of their funding that's actually coming from the state has been dropping significantly over time. They're essentially private in everything but name and some slight discounts for in-state students. The demographics aren't that much different from similarly situated private universities. My sister went to a public school, which ended up costing more than my private school due to the scholarship I was able to get at the private university (I wasn't even that special, approximately 50% of the kids there got this scholarship).

If you go to UW, you have to apply to the CS program your freshman year. There's no guarantee you'll get in, due to space constraints. It's completely f'ed.
"DRM doesn't work" in the sense that it does not, and cannot, stop users from copying media, it only can make it more difficult. Of course being more difficult can dissuade some non zero % of people who otherwise would have committed the terrible act of Unauthorized Copying, so you could say it works in that sense.
Beautiful theme. Any plans for CMUS?
If you already understand homological algebra, Peter May’s AT book might get you where you want to be quickly. It’s free on his website.
That's an epic journal. I like the simplicity of it and minimalistic to it as well. Keep up the great work.
They're so strapped they decided to bring dev server's online to support the login process. OOOF.

The chip shortage and their own success is a really bad combo here.

But overall Yoshi-P's attitude keeps me playing and interested. He really loves this game and his community and it shows through their thoughtfulness and general open-ness and direct communication with the fanbase.
I actually might try this soon. I need to send my sister $20 in Canada. How can I make it super easy for my sister to receive the money?
That may be the case, but from a distance it seems like the US has more of a martial / military obsession than most western countries. Soldiers seem to be treated like saints, the president referred to as "Commander in chief", generals become household names even in peace time, etc. It's way more pronounced than anywhere in the G7.

So it's not a surprise to me that people who speak up against the military are shunned; not just by that group, but by society at large, which venerates the armed forces.
It's unfortunate that they omit Floer's suicide. Nobody wants to talk about the negative effects of a career in mathematics.
He's more likely talking about "Algorithms": https://books.google.hr/books?vid=ISBN9780321573513&redir_es...
if they want to say

They aren’t advertising a 35k car today, but this feels like beating a dead horse so I will drop it.

inflation != income growth.

That’s a fair point, but it really means you have taken a pay cut over the last few years. Without inflation that same pay cut would have meant you couldn’t afford a 35k car, so blame whoever you’re working for not Tesla.

Though if it’s something other than a shitty employer then I apologize for the tone. My personal finances have also taken a hit.
14% of US adults smoke: https://www.cdc.gov/tobacco/data_statistics/fact_sheets/adul...

Only 2.4% of US adults use smokeless tobacco: https://www.cdc.gov/tobacco/data_statistics/fact_sheets/smok...

This second link also says that 3.5% of adult smokers also use smokeless tobacco. 3.5% of 14% is 0.49%. So about 0.49% of US adults are dual users of both smoked and smokeless tobacco, leaving about 1.91% of US adults as exclusive smokeless tobacco users.
Scaling Efficiently
People smoked before corporations were a thing.
Not suddenly, but looking at what happened to IBM and PC clones (hardware) and IBM and OS/2’s compatibility with Windows (software): yes, probably.

They’re both different cases, but, IMO, still apply.

If Apple open-sourced their platform, Microsoft could choose to offer Windows Services for Macintosh, and hardware manufacturers could offer cheap hardware that runs Mac OS.

Microsoft could follow up by stopping offering Office for Mac OS or to by letting it (further) fall behind the Windows version. Adobe could follow suit.
The issue is that you might have a device where emergency calls have to be routed through a VoIP app, per legal requirements, e.g. if no cellular emergency calling is available (e.g. on voip-enabled wifi-only devices, or on voip-enabled devices in locations without cellular signal))
There are some philosophical question. Even trust need trustlessness at first. Things don't couple blindly. But ultimately I believe a good system is where trust is high.
>Arnold predicted that every phase space of a certain type contains a minimum number of configurations in which the system it describes returns to where it started.

is this article talking about Ergodicity without mentioning Ergodicity?
https://en.wikipedia.org/wiki/Ergodicity
I don't know man, "refusing a vaccine" is not nearly as addictive as tobacco, and isn't advertised anywhere near as much.

It's not a strong argument by the way. I don't own a car yet I still have to "pay" if someone has an accident, I don't do any risky sports but have to "pay" for someone else's skateboarding injuries, I don't eat fast food often but must "pay" for people who went full diabetic on McDonalds or whatever.
I suspect this is to foreclose against a future option for Google to monetize ‘free’ content in the play store without compensating the developers much as they do people’s videos on Youtube.

For those who aren’t aware, in the games industry the distributor has been in the role of adding DRM to games on the pretense that they are “protecting their interests and channels”. As the distributor, Google may feel empowered to make these sort of “protective” changes, and the one that would be most likely (in my estimation) would be wrapping the APK such that it played a pre-roll ad before your free game started.

I could be completely off base here but to my way of thinking it would be consistent with Google’s moves in the past.
Maybe the FBI should start by lobbying to get rid of absolute immunity for their constitutional violations (minus Bivens, which the SC has been making more and more irrelevant) before supervising local police.
It’s why many people suggest mandatory gun ownership and the abolition of police. Then judges can issue warrants for arrest.

This is how it worked pre-organized state run policing in most of the western world.
I don’t think that immigration reform is going to solve anything. Europe was one of the places to find easy immigrants that has dried up for the US. Until somewhere in the 90s it was advantages for a skilled, Western European to move to the US. It might have been advantageous for Eastern Europeans for a while longer afterwards (if they where willing to forgo visiting their family back home). But that is over.

The only place the US is still getting qualified immigrants from for STEM fields are India and China. The Chinese are often pass information along back to China and if India manages some of their mega projects that might dry up too.

The US never looked in Africa and I think that China and the EU better situated for recruiting there.

The US is only situated well for siphoning off potential tech talent in Latin America and I don’t see much happening there.

Every country around the world knows that brain drain is bad and how a well educated workers, especially in STEM fields can help build up a country. To assume that America is still so enticing that “just” reforming immigration will help the US stay ahead is bullshit.

The long term solution needs to be training people at home and yes, the US is failing at that too right now.

Maybe time to look at Latin American STEM immigration as the quick fix and better home grown education as the long therm fix.
I couldn't care less about running Windows apps in WSL2. But I want full linux experience in the stifling corporate environment and Windows 11 is a notch closer to delivering it.

So far, I have to launch VcXsrv for Linux GUI apps. It works OK, but Windows network reconfiguration breaks connectivity once in a while.
For anyone who's been standing by on the e-book / e-ink tablet scene, I'd argue that over the past year or so there's been a huge improvement in overall utility and capabilities. That's still likely to improve further, but the devices are no longer toys and can be used for serious reading and note-taking. This applies across multiple vendors (though note that the displays are all but entirely sourced by the monopoly patent-holder, E-Ink itself).

Things likely to change include storage (the device I bought earlier this year is now available with 2x the storage, and yes, that is a constraint on my usage), applications specifically tuned to e-ink, styluses, and systems software. There are still warts, but overall I'm quite pleased.
Expensive picture collectors may also be irrational ...
I'd hazard to say Tesla and SpaceX are so far outside his field of expertise, he's got very little technical skills to provide.

So this is exactly what I'd expect out of a ceo
This is just silly. If you're an adult (i.e. 18+) then you should be able to smoke if you want. You can't have agist rules that segment the population like this because it simply doesn't work and isn't a government's right to dictate who can/cannot smoke. No, I don't smoke.
> Am I supposed to believe that all these media cover current politics objectively

LOL I don't need this article to tell me that, it's so blatantly obvious.