skysight-inc/HackerNews huggingface dataset:
Many years ago I worked at big dumb banks.

There was a lot of top down forced offshoring with ultimatums like - hey you can have +4 headcount in Mumbai or +0 in NY.

Further, we found we had to spend $10Ks at a time to send NY/London staff over there monthly to figure out wtf was going on. These offshoring firms were running some serious scams. We once had a guy come back (mid 2000s) and say that his 5 devs in Hyderabad were equipped with 4 PCs and 3 phones between them!!

We had one bank offshore its datacenter ops (while the datacenter physically remained onshore). It was incredible. We'd have a RAID disk failure in a datacenter across the Hudson River in Jersey City, practically visible out my window, raise a ticket which would take 36 hours to get picked up by someone in India, to bounce around the globe and eventually get back to the onshore datacenter ops person who would do the physical disk replacement. Finally one ticket took so long to address that we had a cascade of disk failure and lost the whole RAID.

Just anecdote after anecdote of crazy stuff like this. Lot of these deals ended up in litigation.

There were many very smart developers over there, but the offshoring industrial system creates a race to the bottom and quantity over quality preference. With the turnover of good staff, the only way to keep the better ones was to get the visas sorted to nearshore them in US - largely defeating the purpose of the cost saving.

A lot of the banks moved away from this model and created "centers of excellence" in UK/US/Canada nearshore locations. You get competent staff for decent rates who are happy to have a great job without moving to the big city away from home/school/family. Not everyone who writes software wants to live in Bay Area/NYC/London. Time zones line up more humanely. Win win.
Unfortunately not, unless you're an academic institution, archive, or library. At least, not in its entirety -- you can do short clips under certain fair use circumstances. (IANAL)

Here's the list of exceptions:

https://www.ecfr.gov/current/title-37/chapter-II/subchapter-...
> I love it when US companies meet Dutch labor laws.

This is the first time I've heard of any US company requiring an employee to keep a camera on themselves 9 hours per day. Obviously, that's not some standard US company practice.

I wouldn't be surprised if these same practices would fail in a US court.
Fallout Shelters Near Me: Nuclear and Bomb Shelter Locations (Under Ground)
i’ve definitely enjoyed using this but it would be nice it there was better TS support for some of the extensions
Fair enough. Just to be clear tho, I was asking for a rational discussion (or as I put it "substantiated reply as to why this isn't true", not for why I was being down voted ;)

And again fair enough that in this situation it is very easy to not apply this to the original poster's question and situation (which analogy wise would be shouting at the entire group of people gathered at the funeral that it's this guy's fault for crossing the tracks vs. having a side conversation w/ someone who posited that maybe the guy was one of the ones that actually stands on tracks for thrill when he knows the train's about to be there ;))
I am a bit sad to read some of the comments in this thread.

I’ve had the privilege to work with really high-functiong engineers, from many cultures, including Japan, India, Germany, Romania, Russia, Mexico, Colombia, Pakistan, Egypt, Ukraine, Poland, Ireland, China, Israel, Iran, Viet Nam, UK, Spain, Italy, France, etc. Many were women. Most folks we worked with (of any gender) were parents, because we tended to work with experienced people.

That was mostly because the corporation I worked for, had high standards. They didn’t just throw money at people that looked good. They made sure that we hired the best (but they were cheap -relying on their reputation, so hiring was a pain).

As far as I know, they never outsourced to save money (my team was actually an “outsourced” team). They hired people that could do the work necessary.

I have come to realize that this was a real aberration. I am sad to know that. There were many frustrations in that company, but it was still a signal Honor to work there.

I wish folks the best, and hope that the tech industry can get past the problems that, I suspect, have actually been caused by all the money being made.
>You’re right on the first

Strictly speaking, it takes exactly one such behavior (that you cannot even disable) for TS to stop being a superset of JS.

>although classes are out of fashion, so this is low impact

Looking at the TSC codebase, so are keyword arguments. The "in" thing is just to write very very long lines of multiple verbosely named positional arguments instead.

That said, "clases are out of fashion" is a complete non-argument. I'm of the functional persuasion, yet I've found that classes are the ony way to write TypeScript that fits on your screen at all.

Especially now that classes are being introduced in JavaScript proper, and of course TypeScript does them only slightly differently (handling of default property values and "definedness" differs).

>On the second, doesn’t this work?: ‘function foo({ bar = 3 }: { bar?: number })’

You also need a `= {}` there, otherwise you'll need to call `foo({})` - it won't let you call `foo()`. This is also in JS though, so a bad example of TS breaking things (`function foo ({ bar })` still won't work though). There are probably better ones that people encounter, work around, and forget about, because nobody's listening anyway. "The code making sense is not important, what's important is helping the user" lol.

Now imagine how the above looks with 5-10 kwargs (because keeping context in the class instance is "out of fashion", so it's either a ton of args per function or a "context" record which is effectively reimplementing classes but with a worse experience), and an aggressive formatter insisting every individual thing has to be in its own line.

Here's another: failing to infer the type of `this.constructor`.

Sure, the constructor signature may change in a subclass (why not disallow incompatible constructor overrides, given incompatible property/method signatures are already disallowed?); then what about static methods accessed via `this.constructor`?

So you end up defining an interface type for the constructor and using `(this.constructor as MyConstructorType).staticMethod` or whatever. Which is just visual noise where the fucking intent of the code was previously clear as day, so clear that TSC should've been able to infer it (yeah the type inference also sucks).

Also, ever seen TS2322? It's my pet now. What it do

All in all, TS really puts the "Java" back in JavaScript, and then some.

EDIT: Also crap like not being able to have a question mark and a default value in positional arguments so you gotta add `|undefined` there. Even the stuff it adds on top of JS is poorly thought out.
Bruno Latour Has Died
As mentioned in the article, this was a deliberate change in Python 3. If you read this article: https://blog.ganssle.io/articles/2022/04/naive-local-datetim... you will see why this actually makes quite a bit of sense, given the design constraints the authors were working with.
It’s not only people moving further inland. It’s people moving from places that are hot now, and unlivable hot soon. And the movement will continue for several decades, but i wouldn’t be shocked to see a hundred million people move in one year before 2050. Minimize it all you want, it’s going to happen and you will be impacted by it if you live long enough to see it.

As for your snarky “citation needed” - this is all easily googlable stuff. I’d start with understanding what “trophic collapse” means.

https://www.pmel.noaa.gov/co2/story/Ocean+Acidification's+im...

https://www.washingtonpost.com/posteverything/wp/2014/06/03/...

https://medium.com/predict/the-jellyfish-apocalypse-4f77770e...
If, will, might, etc.

But have you seen anything that resembles a rapid change?

Putting aside the media alarmists, I have seen nothing that can't be explained as change. The beaches of my childhood are still there at the same height etc. Yes there have been fires (that I put down to forest mismanagement) and floods which will occur if you build on flood plains and if you cut down trees.

So, I don't see rapid change.

You should re watch al gore's original inconvenient truth film and see how well that has aged. He sounds like the proverbial boy who shouting fire in the cinema. Given his eco-investments, his actions are really better explained as a marketing exercise to will line his pockets.
Gotta find a new pile of sand to thrust your head into at some point, right?
"The thing" you are trying to secure is either secure or it is not. That is what I meant by "binary".
One of the first things that made a bad impression on me was back in the day when classes were still used in the js world.

I was not pleased when it told me I have have to do

this.blahBlah = value

in the constructor because it didn't quite catch, and maybe still doesn't, that

Object.defineProperties(this, {
bla: { value: ... }
blah: {get, set}
})

is completely legit

That said, I do prefer ts to vanilla. It's less work than maintaining d.ts files
Although new studies are always interesting to some extent I find it extremely surprising how some people are still very surprised by things which we already knew for a very long time.

Since I was a wee boy I remember being told that the healthiest eating pattern is a substantial breakfast, a warm lunch and a light dinner and you shouldn’t eat before going to sleep, just like you shouldn’t eat before heavy exercise or going swimming. There are numerous health benefits to this and they have all been talked to death so why are we still researching something that we already have the answers to?
This 5 minute video from Tom Scott on YouTube is a good overview without that annoying hum:

https://www.youtube.com/watch?v=e0elNU0iOMY
Doesn't mention anything about autophagy, does not align with my worldview.

In all seriousness I'd love to have a big breakfast but I'm too lazy to do it most days. The days I go out to eat for breakfast I end up doing light snacking for the rest of the day because I am so satiated.
For $350 this would be pretty easy to justify. That’s about an afternoon of SWE labor.
It’s difficult to predict the future, but I would bet on a comeback to more straightforward strategies you see on TV and radio.

Shaving razors, male deodorants, car ads,… on a website or YouTube video about car racing or football. Makeup, vacuum cleaners, perfumes,… on a website about fashion…

And it’s not like the current technology is great. You have the classic example of vacuum cleaners' ads spam after you bought one.

I also predict that after a comeback to these simpler strategies, companies will not notice a significant change in their advertisement campaigns.
I wouldn't waste time buying/using a book to learn TS. If you have experience in any statically typed language you should be able to pick up the basics just by a quick peruse of the TS docs.

And then even if you don't I'd still say reading the docs and just browsing existing code assuming you already know JS would get you all the way there.
It shouldn’t be required for users to have to wait for Brave to implement this.
Putin might copy Nixon:

https://www.wearethemighty.com/articles/nixons-madman-theory...
https://quantum.country/ teaches quantum computing as essays with embedded flashcards, as a new "mnemonic medium". I wonder if there is a market for context plus flashcards. What if books came with their own spaced repetition decks?
It's extremely easy to buy Switch ROMs and is just as easy as buying a game off Steam. Just buy it off Nintendo's website, the eShop or Humble Bundle or wherever.

Dumping the game so you can use it on an emulator isn't as easy but removing the DRM from a Steam title isn't necessarily easy either (especially if it's a new release).
OpenWrt has a nice page on blocking DNS over TLS. It works by IP blocking the ever growing list of service IPs. You can set it up so it auto updates and blocks new IPs as they come online.

I think it's important to have control over your network and devices with your home. Devices should fall back to native DNS should DNS over TLS is unavailable.
> why is normal support so ineffectual at surfacing.....

The question coming from a three months old account. Let me rephrase it, when was normal support ever effectual in any internet companies.

While it is not ideal, Let's be honest at least there is a way for you to put your case into the public, and they care enough to respond.

Most company just dont give a damn.
SNL really went downhill once they stopped using this effective productivity boosting technique, because Lorne was just too stingy.

https://www.youtube.com/watch?v=_qIcYkEIVdc&t=3m23s
An on-line UPS like those used in datacenters or music studios is probably enough. They basically have rectifiers and inverters in them.

Some of them have phase-locked loops to sync the output frequency with the mains, but probably won't stray as far from 50Hz (or 60Hz) as the mains themselves seem to do. If they do, unplugging the mains and using the battery is probably enough to get pure 50Hz back!
Is it just the US that’s doing this only to hurt Russia? What about the countries that are facing very real consequences to join them? And the countries that have abandoned their long-standing neutrality in order to do so? Could it actually be that all of these countries including the US just actually find it deeply offensive that Russia has decided it’s ok to invade a country and commit atrocities all so that they can tell a free people that, no, you are not allowed to be a free people.
The government (and society in general) should stay out of other people's business w.r.t. their autonomy in this matter. People should be free to decide if they want to end their lives with dignity.
Likewise some people go out of their way to disparage Apple because they belong to the anti-“cult”. Comment histories can be damning…

Maybe adding something useful to the conversation by recommending a possible solution to the problem that Apple could implement to alleviate the problems would be more constructive?

Here let me start such a conversation: Apple could spearhead a standard to make their trackers communicate with surrounding devices and allow blocking to occur if someone doesn’t want to be tracked. But on the flip side the blocker is then recorded by a central authority to prevent bad actors from stealing and blocking tracking.
Luck and help from parents, mostly.

I was lucky my house was for sale for lower than what it could have sold for, because the owner wanted a very quick sale.

Also was lucky I had the money to go after it when it was available.

Also got a bit of help from my Dad, when the seller realized they were underpriced and jumped their asking price by a bunch.

I am very grateful I was able to buy into housing when most of my generation is renting. It still took a lot of "right place right time" that I don't think existed for my parents.
> I left our existing Paypal integration in place, and shockingly almost 25% of my transactions still come from people who deliberately click on and decide to use Paypal in place of just a simple "enter your credit card information" form.

European here, but perhaps my experience is relevant: for nearly all the online credit-card processors, this step will require push-TAN and will fail for me. A fair proportion of websites are buggy and will not gracefully recover the session after the processor reports failure. Paypal, in contrast, has always been unproblematic.

I'm patient and generally try the card before Paypal, but impatient customers in the same boat may behave differently.
You're telling me it's not innovative to run psychological experiments on children without any approval from an ethics board? Sounds pretty innovative to me
If you aren't born rich, breaking out of the working class, even the top tier of it, requires significant effort and enormous luck. It's usually time and effort wasted in pursuit of something no one should want. However, if you dream of sitting atop the pyramid but you weren't born there, you better get on that grind.
>quickly becomes a question of who are the accepted minority classes

This is only a dilemma if you completely ignore the history that precipitated such efforts.
Was she killed by the treatment or the attack? I've seen some very mentally disabled people and I've never seen "11 antidepressants" that's insane and in no way evidence based in any real sense.
Do you mean that only people sufficiently able bodied should have that option?

And that they should traumatise their friends and / or family in the process because that is traditional?
Good questions for the CEO of Starbucks to be asking. I assume the workers like the benefits they think the union will give them and that’s why they want it.
As somebody else already said, it's perfect for the DACH region. Many companies close "between the years" (the 7 days between Christmas Eve and New Years) or run on a bare minimum staff.

It's easy for most people to take time off then and visit the congress.
I found doing business in Spain ok except they don't seem to eat until about 10pm. That was a real struggle for me - 6pm is my choice.
Yes, when I was there for training a large 20+ person team, the women stood out as some of the best & the brightest doers. Unfortunately none of them were ever onshored or promoted up. They were all kept behind the scenes while the men tried to control the comms to onshore.
US and EU imports of Russian uranium
I got indeed 20 by law and 14 on top of that for a total of 34, but the latter is the exception.

In IT 26-28 days are common.
That whole "customer support doesn’t scale" thing is propaganda — lots of larger companies have good (sometimes great) customer service. Stripe is either choosing not to spend resources on service and support, or there are systemic problems that the COO is either not aware of or is failing to fix.
Beam me down: can solar power from space help solve our energy needs?
You opened your post with the following quote:

> this is not a good criticism of affirmative action programs.

I then pointed out we have statistics showing affirmative action unfairly disadvantages Asians and that the supreme court is going to hear arguments about it.

"but but ... I was talking about ECONOMIC discrimination!".

No, you're just a fan of weasel words.

What you were trying to imply with your comment about "other factors" is that these asian students have less soft skills than other ethnicities (I know because this is a common defense). Apparently citing standardized test scoring as a reason for accepting less black applicants is racist, but citing soft skills as a reason for accepting less asian students isn't.

discrimination for me, but not for thee?
I'd argue it's not actually TS that causes this. There are just a lot of unskilled devs.

You mention "within the last 5 years" without also taking into account the absolute explosion in the popularity of becoming a software dev in the last 10 years. So of course theres going to be a lot of bad (and some good) devs. With TS being one of the literal most popular languages in use right now, of course a lot of bad code will be concentrated there, but I wouldn't blame TS itself for it.

You can also blame hiring practices somewhat for it, since a lot of places I've worked for even myself recently hire anybody who can recite a couple ECMA features rather than focusing on good dev practices in general.
Thank you. I see it very similarly to you.
I believe Nokia’s handsets are now made under license by HMD global (some Chinese holding company). They also make a number of non consumer products like mobile base stations which you might have even used recently. Magic Leap on the other hand is more of a
Money laundering/ego laundering scheme than a business.
> Most Indians do not interact with people outside their groups as most things are written in the languages they use

What? At this point I think you are troll account. You have already made wild and ridiculous statements like caste system being a form of "systemic slavery" in India. Now you are saying that only a "small percentage" of Indians speak English? Are you serious mate? English is the official language of India for literally everything. From giving exams to Government communications.

> Only a small percentage of Indians speak English and most statistics on it are heavily inflated

Where is the data for this?

> It's not Singapore or even close to it in English proficency trying to claim it is, is a lie.

And where do you get this data from?
>That's funny, a good portion of the article is about the unsafety of destructuring...

Destructuring is guaranteed to be 100% safe if you do it properly. That's the whole point.

const envelope = {data:{edge:{node:{value:'test'}}}}
const {data: {edge: {node: {value = ''} = {} } = {} } = {} } = envelope || {}
console.log(value)

Is completely safe. Versus the alternative of using an accessor library or null checking at each level.

You can also do it with arrays to avoid out of range errors:

const arrayVals = ['test']
const {0: firstEl = ''} = arrayVals || []
console.log(firstEl)

100% safe and avoids mutating the array
> because Stripe clearly didn't care about fraud prevention

But, they do like to write think pieces on it.

https://bam.kalzumeus.com/archive/the-fraud-supply-chain/
I was excited to possibly see this provided as an open source tool or at least an automated service, but the site offers a form to request dating, which looks like a manual process. That's not really making it available to everyone.
Scitechdaily
Exactly. Although it _is_ interesting, was not expecting auto-play.
It was a side conversation after my parent poster created a hypothetical situation precisely because the OP did not specify. Also see longer reply here: https://news.ycombinator.com/item?id=33141941
The DMCA allows the Librarian of Congress to revise exceptions every three years, and cracking videos for personal use gets recommended to them almost every time. (Called DMCA Section 1201 exemptions.) [^1]

In the last session (2021), they only carved out exceptions for recognized academic institutions, archives, libraries, and a few other limited uses. Alas, maybe it'll happen in 2024.

Here's the list of their exceptions for all technologies.[^2]

[1]: https://www.copyright.gov/1201/

[2]: https://www.ecfr.gov/current/title-37/chapter-II/subchapter-...

Caveat: IANAL.
The Burrows-Wheeler Transform (and Its Inverse) in Go
No. Unfortunately, one of the sad truth is that companies hire women because they can pay them less than their male counterpart. It's a fact that women earn less than men in almost all industries.
You can use it as evidence either way, especially evidence that something is _not_ genuine. It's not proof though.
But then woudn't the poster be locked out of purchasing goods and services facilitated through Stripe?
More of a hostage situation given one can’t opt out of said society nor has a choice in joining it.
The UN published a report[1] estimating that 17% of the people of Bangladesh will have to relocate by 2030. Bangladesh has a population of 165 million and is one of the most densely populated countries in the world, so this seems problematic to me.

edit: upon closer reading, they meant 17% will have to relocate eventually. "Only" 3 to 10 million internal migrants in Bangladesh over the next 40 years. Still seems pretty bad.

[1] https://www.un.org/ldc5/sites/www.un.org.ldc5/files/revised_...
What is your thinking exactly? That the victim and doctor went up to that because they found it was a good laugh, and a fun joke to carry over 6 years?
Proxying TLS is becoming unusable, thanks again to cloudflare.
You keep getting kicked out because they detect the Client Hello[1] does not match whatever they think it should be, based on the User Agent string.
I'm not even sure what this is supposed to protect the website from.

[1]: https://github.com/mitmproxy/mitmproxy/issues/4575