skysight-inc/HackerNews huggingface dataset:
I'm all for equality. It's a thorny problem.

Whither the NBA?

How about modeling agencies?

Hollywood is overwhelmingly white.

There are a lot of troublesome parts. But the sooner we start, the sooner we get to better equality.
There is one, but it was rendered ineffective by the engineer's application of the independent brakes on the locomotive. This is another one of those classic cascades of errors, with each mistake paving the way for the next.

It just floors me that he didn't come to a complete stop before disembarking the locomotive.
Looks promising! Support for Linear (my current fav issue management tool) would be nice. Also hope it is heavily keyboard-shortcut based.
This isn’t a heatwave, it’s a dying planet
"just getting a working PHP environment up and running was complicated enough"

Hah, that was one of the biggest strength of PHP stack - it was not complicated; on you MS Windows machine it was enough to install some wammp/xammp, etc. PHP/MySQL/Apache bundle, open editor, put in the first line <? and start coding.

On production, typically some shared hosting (cheap! Another said stack advantage) this was already installed, so it was sufficient to FTP files over there and be done (one more advantage).

There was no other comparable stack in terms on simplicity and being able to do something quickly. I believe there is none today, only PHP stack matured, so there are frameworks, etc.

Yes, there were security concerns, but still much less comparing to its server-side predecessor CGI scripts (better known today as AWS lambdas or "serverless").
In which country and company in Europe can devs get "a comfortable 130k"?
I've added DLib usage examples in an ffmpeg video player I have on Github. Examples so far include face detection, face feature recovery, and face image collection. Super simple to use. If interested https://github.com/bsenftner/ffvideo
This post on the Haiku website explains what's going on, and how to upgrade to Beta 3:

https://www.haiku-os.org/news/2021-06-22_important_change_re...
Oops, yep, you're correct. China is higher. I was thinking of broader industry figures, which also include construction and a few other bits and pieces.
The comment must have hit a nerve because people are almost outvoting the downvote bots.
Please not Munich. We're dealing already with an overcrowded area where the cost of living and cost of renting apartments is exploding and the market of engineers is literally empty.

North of bavaria closer to e.g. Audi in Ingolstadt or BMW in lower-bavaria would make more sense.

Still, you could reach Munich by train or 30min drive and 30min traffic jam.
And the issue is the fucking search engine, I can't understand why when you search for JS,html,css documentation google sends me to outdated websites like w3c schools. I always have to foce a search on MDN.

A newb can also copy paste bad Python code, mess up some ORM clause and delete all your database.

But in this case oh PHP and MySQL even the worst dev shop uses a framework or library, so this article is probably affecting almost nobody that matters.
HAARP is a microwave heat pump. The technology is 60+ years old now. Science.
The government is lying when it says it cannot afford NHS and police pay awards
> closing nuclear power plants

Making electricity more expensive, leading to A/C being expensive, leading to beer being sold unrefrigerated, leading to a general cognitive decline.

Butterfly effect :D
Things to Avoid When Writing Cypress Tests
This is definitely already a thing. There were reports of that happening here in Japan when the QR code payment system PayPay took off a few years ago. People would paste their own QR code ontop of the store one
You sound quite upset about these hypothetical people, but it's not clear to me why?

Are you angry that they are buying and driving wasteful, inefficient cars and causing pollution and global warming, because that sounds like it would make you the PC police, no?

Or are you angry that they correctly and factually think that cars/social media/whatever have negative impacts? You actually seem to agree that they do, which again would seem to place you in the ranks of the PC Police.

Are you angry that they do both of these things at the same time? I'm not quite sure how you're measuring this, but again, you seem to be in this same general category, thinking we should spend less money on flashy cars but also owning an old car, so you're not a RMS level refusnik when it comes to cars, you could probably be 'holier' than 80% of the US population on that topic but you're not at the absolute extreme.

Are you arguing that you're like 80% of this opinion, and feel it's okay to be say 50-90% of the way along this spectrum but people that are more than 90% along really, really annoy you? More so than people at the opposite side of the 50% mark?

I understand that people can be annoying, but it feels logical to separate out annoyance and correctness. But even if you don't, it feels like you are biased towards the status quo in terms of what you find annoying acts even if you yourself are mostly on the right side of the issue.

Possibly humans just don't like being reminded that they can do better, as it makes them feel bad about themselves. We should probably reframe it to areas where we can most easily improve at low cost.
IFX and the split of part of Intel doesn't have Fabs in Munich area - but some testing.
> I could also cycle in theory; however my home is 88 meters over sea level and my work in 100+ on another hill. Did I also mention it rains a lot? Some people like the challenge and do it anyway (but virtually none does that every day). I can't be arsed to sweat out on my way to the office though.

TBF electric bicycles help a lot with the latter, and the usual “there’s no bad weather only bad clothing” norwegian saying definitely applies.

But that’s assuming the infrastructure matches, cycling in the rain when well-equipped is one thing, cycling in the rain dodging cars and getting sprayed is quite an other.
Already answered in this thread. There is nothing hard or wrong about the API. It is just lots of misunderstandings and commentators not looking things up before commenting.

$stmt = $pdo->prepare('INSERT INTO user (email) VALUES(?)');
$stmt->execute([$email]);

https://news.ycombinator.com/item?id=27954454
Even if you take the gross salaray it is MUCH lower than what the company actually pays. Last time I looked it up, the company pays about as much in insurance, taxes and such as your gross is.
The US had to actually submit the extradition request first. There were no public charges made at that point.

It's a lot easier to fight an extradition as a free man... even if that freedom is notional (being holed up in an embassy).
> One of the big problems Tesla had was around water supply.

Sure, but this was a completely predictable problem, and one that should have been assessed before they decided on a site. I would assume that TSMC would do the research before deciding on a site. It feels like another manifestation of Tesla's reluctance to ask outside experts, tbh.

Other chip manufacturers seem to manage in European countries which are fussy about water; notably, GlobalFoundries in Germany and Intel in Ireland both have large facilities.

> My point around export restrictions was in reference to the EU blocking vaccine exports this year because it suited them.

This should actually probably be viewed as a positive. There was a big fuss about the EU blocking, I believe, two or three shipments precisely because it had not previously blocked any; at the time this became an issue the EU and India were the only large producers with no controls on export of finished product (strictly speaking the UK didn't have controls in the conventional sense, but its contracts with its only manufacturer effectively didn't allow export). Both ultimately introduced controls, though in Europe's case they were very limited.

If you've had a Pfizer/Biontec vaccine and you live outside the US, it was almost certainly made in the EU unless you had it in the last month or so (the US has started allowing exports).

For all the fuss about that incident, Europe was _less_ inclined to control export than the other large economies.
> Who thought it would be a good idea to throw weirds jokes into a description of a number system?

What were you expecting from an author who titled the article "The Cult of Posits"?

> I'll probably just file posits next to Tensors in my mental model of the world (Tensors are just matrices for people with egos).

You forgot to add Rust to that list >:-)
What a trainwreck of an article. The tracking is allowed by URLs, not QR codes. The title might as well have been 'Written text is here to stay. So is the tracking it allows.'.
The reason lots of developers hate CSS is not because they ended up in a "quagmire of constraints", but in a quagmire of previous developer's constraint...
> You know you can scroll to the left and right really easily if you hold down shift?

You can scroll left and right easily, not everyone can. Avoiding the need to scroll in two directions makes content more usable to everyone but there's also a WCAG criterion about it.

https://www.w3.org/WAI/WCAG21/Understanding/reflow
In theory yes. But in practice that isn't always true. People often don't audit other modules on the assumption someone else had. Which means nobody ends up doing it. And if you end up with an ecosystem that favours more modules over fewer, you can end up with more modules than a given developer or team are willing to audit (a bit like "alarm fatigue" where if you have too many objects to check then people will inevitably just get lazy).

Just look at how many C and C++ libraries are maintained by 1 individual and have almost no 3rd party oversight to see that Rust can't automatically make the claim you made.

That all said, for anything complicated and/or directly security related, one should always check if there is a module first.
Looking closely at the net of motorways, any part of germany is in close distance to VW, BWM, Daimler and Porsche.
Infracost (YC W21) is hiring a fullstack eng to help devs love their cloud bill
Also, according to article linked below (in German), Intel is considering building a semiconductor factory in Germany. The had plans in 2003, but the project failed and cost the German taxpayer a small fortune.

I am very sceptical regarding the plans of Intel, but the TSMC plan sounds promising. If I were to decide, I would build a factory in Saxonia near Dresden. People there are traditionally inventive, labor costs are far lower than in the Munich region, and there is a lot of skill available due to the previous AMD investments.

Link to article: https://www.berliner-zeitung.de/mensch-metropole/chipfabrik-...
You can find it in the west... But then you have to pay them a lot heh
Disinformation Evolved in 2020
Since it is about corruption, of course there is only wild speculation. Maybe in 20 years someone will confess in their posthumous memoirs or something. Until then, there is only speculation, inference and the recognition of parallels to cases in the past.
"In 2019, and again in 2020, Facebook removed covert social media influence operations that targeted Libya and were linked to the Russian businessman Yevgeny Prigozhin. The campaigns—the first exposed in October 2019, the second in December 2020—shared several tactics: Both created Facebook pages masquerading as independent media outlets and posted political cartoons. But by December 2020, the operatives linked to Prigozhin had updated their toolkit: This time, one media outlet involved in the operation had an on-the-ground presence, with branded merchandise and a daily podcast."
This is a bit of a doubled-edged sword for German companies actually.

For example, Bosch has a research campus in california to try to achieve this.

The problem is, that after being 2 years in the US "becoming top talent", you now have the option of staying there making $$$ or coming back to germany.

Even companies like Bosch that invest a lot of money in these types of systems, have huge problems making competitive offers for the people that consider going back.
And that 800 is what you see on your paycheck. The company pays around double that in total.
Automotive chips are less than 1% of TSMCs volume, but they can shout the loudest, have big pockets, and lobbying power.
>>>I've always found it weird that some sports have women wearing scant clothing compared to the mens events. Volleyball for example is a big one where it's unclear how bikini bottoms help over shorts.

Athletics is just a convoluted exercise in product marketing. Sports attract eyeballs, sponsors pay for the sports so they can put advertisements in front of those eyeballs and hopefully generate additional revenue.

Sex sells. So female volleyball players have outfits that will attract additional male eyeballs. I'm sure the same goes for tennis, as another great example. Nobody was watching Anna Kournikova back in the day for her technical proficiency with a racket. They watched her bent over in a tiny white skirt.

Search on YouTube for "female long jumpers"...notice anything consistent about the thumbnails? Why do the cameramen at these sports events seem so adroit at focusing on the most callipygian of the ladies?
There is something about the text rendering in the screenshots that makes the GUI look 20 years old. What is it exactly? Anti-aliasing?
Thanks for the reply. I guess a tech person not wanting to have anything to do with bureaucracy just looks similar to an attempt at tax evasion from the outside.
Of course role models don't have to be the same gender or race or culture. Plenty of white people find Bruce Lee's life story inspirational, and likewise there are plenty of black kids that are Batman fans. This is normal and healthy.

It's still reasonable to wonder why the vast majority of role models are white men, and think about redressing that a bit. The problem is we sometimes get dreck like the Batwoman TV show or Captain Marvel where diversity became a creative shackle; but then we also can get the Wonder Woman* and Black Panther movies where diversity was realised as a creative opportunity. The important thing is to maintain artistic integrity.

* And yes I'm aware of the irony given the origins of the character.
Coinbase E-Commerce Integrates Dogecoin Payments
I am E/F bilingual. I taught in an educational institution which is multicultural with dozens of cultural origins. When I get names wrong, I see grimaces on their faces. When I hear other people get common but foreign names -- like Nguyen for instance -- wrong, I grimace too. I am now at an institution in a country where basically no one outside the country knows how to pronounce anything.

It takes me about 5 minutes to Google names I'm unfamiliar with before I start a new class to make sure I get it right. I don't know and I should not be expected to know Chinese, but I think I should be expected to be polite enough to try to get it right before I take a stab and butcher someone's name.

I don't think it is an enormous burden to put on myself, and I don't think I'm performatively self-flagellating by doing it. I think it's just me trying to be polite. I think everyone should try to be polite in as many contexts as possible.

On another context of names:

My own names are Hebrew and Germanic respectively, two syllables each. My given name is common in North America. Most people pronounce it wrong anyway. I would greatly prefer if they didn't. It's a little disrespectful. I politely correct people and then find most of the same people make the same mistake again and again. I find it disrespectful, the same way I find it disrespectful if someone spells my name wrong even though my email address is first@last. It's not because they're frothing at the mouth racists, it's because they're minorly inconsiderate.

My wife has a common name with two English spellings (let's say similar to Meghan/Megan). People frequently misspell it. She's not bothered by people guessing wrong. She is bothered when she corrects them and they still get it wrong. When I met her, it's not like I cosmically knew which of the two spellings was correct. I simply learned which of the two spellings was correct. It was a basic act of politeness and care. When people don't do it, it comes off like they don't care.
I believe all programmers will resort to copying code without too much of a review at some point. Strict first principles would mean not to rely on mental work of predecessors, which is entirely unrealistic today. Maybe that could work in the 80s, but the amount of software layers today is astonishing.

I develop bare metal code for special µC, but I would never imagine to build even a basic OS. This is work you spend your lifetime in. Of course if I could just copy the things from established OS things might look differently.

That said, I don't think the first steps in SQL should guard against SQL injection. That is a topic for later and only hides the main learning target. You can understand SQL perfectly by first principles and still cause your first program to allow for such injection. But that should be a different lesson at first. Being able to identify it as a danger also relies on the experience of others.
In most cases a QR code is just opening a URL, and if the URL seems sketch, don't put your credit card in.

If I said go to amazon.cz/menu and asked you to put in your credit card, it really is no different.
I'm assuming it has something to do with type casting, with there often being two problems when casting between int and size_t on many systems: one being that int is a signed integer type whereas size_t is unsigned, and the other being that int might be a 32-bit type while size_t is often (on 64-bit systems anyway) a 64-bit type.

For non-negative values less than 2^31, these will happily cast among themselves "correctly", but outside that range you will run into trouble.

As one example of what can go wrong, consider the following code, where we have a 32-bit int (signed) and a 64-bit size_t (unsigned):

size_t s;

int i;

s = 0x00000000f0000000;

i = s;

s = i;

printf("0x%lx\n", s);

We've first assigned to s a valid value for its range (but greater than or equal to 2^31), then assigned s to i, casting it to i's int type (hint: i is negative here because of the int type's sign bit), then assigned i's value back to s, casting it back to a size_t (hint: this performs sign-extension of the most significant bit). The final value of s, as printed by the last line above, you will find is 0xfffffffff0000000, which is not the original value we assigned!
There exists no system that is best in all situations.

Case in point, a system that does not care about rights of their inhabitants is usually much more effective at running large scale projects. For example, China just deciding to shut down everybody in their houses in Wuhan and shoot if you don't comply. And just like that they got their pandemic under control.

> One of the reasons strongmen rise to power in third world countries is as a reaction to imperialism

No, they rise because they can.

And not just in third world countries. Germany was definitely not a third world country when it allowed Hitler to rise and start a global war. What about Putin?

We see these guys mostly in third world countries now mainly because without democracy it is difficult to keep up with democracies without some special situation (like Saudi Arabia being gifted with huge oil reserves).

In non-democracies normal people have trouble preserving their wealth over long periods of time. You need to be "in favours" of the ruling entity to be wealthy and the wealth vanishes if you fall out of it.

Democracies are on the other hand, by definition, people ruling themselves, and this should in theory mean a lot of focus is on personal security and freedom. This should mean it is safer to conduct business over long periods of time, accumulate wealth and generally contribute to GDP.
> There’s a good reason why Jobs was Syrian-American

Wasnt his birth father Syrian and then he got adopted by "American" parents so I dont know why the Syrian heritage is relevant here?
That link is not available here in Japan. It says “This video is unavailable”
> this is something that can change from person to person yes, but is it like that for you?

In my opinion it really depends on your background.

For example, Rust uses the `i32` type as the standard integer. If you come from a C/C++ background this is probably not that weird, you probably know how many bits there are in 4 bytes off hand, there's `int32_t` standard types and you probably have experienced not wanting an integer with a variable size that depends on the platform.

If however you come from Python, Javascript, or maybe even Java, this might range from a little weird to very weird. Python only has the `int` type, no unsigned types and you might not know how many bits make up a "standard" integer, or even exactly how bits, signedness and integer sizes fit together. Java doesn't have unsigned types and doesn't have issues with sizes depending on the exact platform, so they might not understand why you would want the amount of bits right there in the type name.

This is just for the standard integer type. If you consider how many design decisions are a direct result of working on low level, high correctness required C++ code, the "simplicity" could range from completely simple to very much not simple.
I used to fix Windows computers for a living; this was 10 years ago and I don't really know what changed in Windows 8/10 as I never used it, but I imagine it's roughly similar to XP and 7.

With some knowledge and experience it's possible to fix a lot of problems. Actually, a lot of problems people chuck up to "Micro$ucks bad" are just hardware problems. If someone comes in with "I get random BSODs" then there's a good chance it's just faulty a faulty RAM module, disk, or something like that. The first step for random issues should always be to run memtest and a disk check tool (I don't recall the name of the tool I used for that, but there are some subtleties involved in testing this well, and I don't know the status of SSDs as this was kind of before they became common). Checking hardware is easy, checking software isn't.

Software problems can be a bit trickier to solve, depending on what the issue is. They're very hard to debug remotely over the internet: but there's a lot more you can do than "sfc /scannow" if you're sitting in front of the computer.

You really don't need WinDBG in most cases.
The lead of construction for BER was a dutch company
I rather have 1000 dependencies than re-implement all those 1000 dependencies myself, chase all the bugs that have already been ironed out in those, etc.

My time is worth more than my computer's time.
Thank you! Really appreciate your feedback here.
Is there any proprietary software from the era for the platform that is worth running today?
The thing about not coming back is probably true (30% the salary?!), but yeah, not many leave in the first place.
Steven Weinberg: What Is Quantum Field Theory, and What Did We Think It Is? (1997)
Countries have different costs of living. It's like a different scale. X in some_european_country gives you a quality of life as if you made 4X in the US. But if you move back to the US that is lost since the scale doesn't apply anymore.

The American pursuit for the highest salary possible is blinding people to what actually means living well.
You know those videos where an expert explains something complicated at five different levels from school kid up to fellow genius? (Example: https://www.youtube.com/watch?v=eRkgK4jfi6M) I feel like many areas of math would benefit from that, because I barely have a clue what exists, let alone why and where there are advancements in the field.
Serious question. I can see how to launder money in a shop, I'm failing to see how to launder money with property.

Surely you can't buy a £1M property in £20 notes right?