Hacker Newsnew | past | comments | ask | show | jobs | submit | ramesh31's commentslogin

>"What city isn't "shockingly racially segregated?" It may surprise you to learn most people prefer to live around others like them."

NYC. One of a thousand reasons it is strictly superior to SF.


NYC is absolutely extremely segregated, and always has been. It has some of the most segregated public schools in the country, even more segregated than parts of the south before the civil rights act.

Not for lack of trying: https://www.gothamcenter.org/blog/the-end-of-the-african-ame...

“From 1890 to 1900 the African American population in Manhattan grew by 41 percent from 25,674 to 36,246. Behind these numbers was the growing exodus of blacks from southern states. Seeking to escape racial violence, declining economic opportunities, and legalized segregation, African Americans moved to northern cities like New York in increasing numbers.

A few years after the 1900 riot [in which whites attacked blacks in midtown following the stabbing of an undercover police officer by a black man]†, as Harlem land values increased with the first subway line nearing completion in 1904, the black residents, once sought as renters in Harlem, became the targets of an organized removal effort by some white Harlem property owners.

The [New York Herald] article also suggested that a rent increase ‘which the parlor car porters‡ could pay, but their colored inferiors could not,’ had previously been used as a strategy to remove the undesirable tenants. According to The Herald, the owners’ target was the ‘colored inferiors,’ but the ‘wealthy railroad porters’ were also caught in the net of the eviction effort.”

† https://guides.loc.gov/chronicling-america-new-york-city-rac...

‡ https://en.wikipedia.org/wiki/Pullman_porter


And one of the reasons many reasons avoid NYC like the plague.

When did "complex" become something to boast about?

Hard things are complex. You want libraries to do complex things underneath simple APIs.

If libraries aren't doing complex things, you don't need a library to do it.


>I wonder how many websites on the web still use jquery today

Probably more than use React, by total domains alone. It's a bit like WordPress; so ubiquitous you forget it's even there, and with a long tail that will outlive many people reading this.


yup. we still had it on every page at my last job, even though it was a 100% React frontend (literally - even things like error pages were done with JSX for some reason!) merely because when the first parts of the site were written, they used $.ajax instead of fetch for some reason, and they never wanted to refactor anything.

fetch only became available in 2015 and it was awhile before it was commonly supported. At the time, jQuery's ajax was much nicer than handling the XMLHttpRequest yourself. I have sites that have gone through all three, finally replacing $().ajax with fetch only in the last couple years.

That’s gotta be it. I think the older parts of the codebase definitely either predated 2015 or straddled the time where you couldn’t assume fetch was there. And I agree, XHR was actually pretty absurd, having used it in about 2006 before discovering JQ.

Yeah. And also, 2015 was the same time when Promises became part of the spec. That was the justification for fetch in the first place. Now that we have this ability to do asynchronous stuff, and everyone is writing these hairy XHMLHttpRequests listening for 200s and 400s, let's just make this a standard thing. It was a good idea. So, $().ajax still handled its results with callbacks, it wasn't async, didn't need a shim for that, although it was easy enough to wrap. You wouldn't necessarily replace it until you were ready to rewrite a whole bunch of other stuff in your code with async functions. For me, a bigger question for older code was transitioning the bulk of the code to promise patterns, even though I would've otherwise wanted to swap fetch for ().ajax much sooner.

[edit] I just checked, and I still have one major production site whose backend calls still run:

`let req:XMLHttpRequest = new XMLHttpRequest(); req.onreadystatechange = ()=> {`


well its actually ship by wordpress, although not turned on my default, most themes and plugins do. So that already makes up for a huge part of the internet.

Every wp site uses jquery

Dude could lose his citizenship over this and he's talking about returning. Some things can't be unbroken.

I doubt a billionaire would lose their US citizenship.

It just sucks because Jensen was basically the last big tech CEO that seemed like a human being, and knew what the hell he was talking about. I guess a little too human in the end. But this has pretty much destroyed my last bit of faith in any of them.

AMD's CEO seems relatively comparable on not being openly evil and knowing what she talks about.

Lmao he stopped seeming like a human once he put the leather jacket on

Why is the focus on scale when no one has ever built a single humanoid robot that is useful for anything yet? One real world Rosie would be more valuable than a million "Optimus" bots.

Remember how tiny the drone market was, until DJI made them juuuuuust cheap and useful enough? Then suddenly there was a drone market, and DJI made a better one, and then the market got bigger, and then DJI made a better one, and then the market got bigger, ....

>"Elon truly was inspired by Delorean"

He wishes. Delorean is a modern classic, regardless of commercial success. Cybertruck will go down like the H1/H2; something entirely emblematic of the worst excesses in the time it was conceived and marketed in, that later generations will go "did they really think that was cool?".


A modern classic, thanks to Bob Zemeckis; without whom it would've been right up there with the Bricklin SV-1.

Setting aside JohnZ's personal failings, the car and its production was a catastrophe.


Hilariously the deloreon speedo didn’t even go up to 88

Part of that was a NHTSA rule that hilariously (from 79-82) made 85mph speedometers mandatory; but even later, because of tooling costs, those dials persisted.

Not that the DMC-1's PRV v6 and tall Renault 5-speed were gonna make getting to 85 easy...


Can we do animated sprites with alpha channel yet?


The only animation format it supports right now is GIF so you can only have a transparency channel that's either on or off. It doesn't support animated WebP.

See the second image of the bird flying.

https://imgpb.com/OzSMKJ


This isn't an NFL problem, it's the very nature of the game. The lifelong damage is done by the time they reach that point. Average NFL tenure is less than 4 years, but anyone who reaches that level has been playing since they were 8.


This is like a checklist of bad writing cliches


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: