skysight-inc/HackerNews huggingface dataset:
Check out the book Corporate Confidential from Cynthia Shapiro.

It details a ton of DO's and DON'Ts about career growth, development, and struggles. It was a great read but stung in a few places where I realized my own mistakes. Odds are, you'll have a few of the same.

And to be clear, it details how to make yourself valuable in productive ways that benefit your team, department and company vs just being a pain in the ass.

Affiliate link if you're interested: https://amzn.to/2MdwZm9
I can second this, recent Gentoo has been a pleasure to work with.
The longer people work between coordinating with others the more code has to be rewritten.

People do not like rewriting code, so add time for all the bickering.
Yeah that's a fair point. Well then you don't need much to implement a thread-safe queue in C++, and that's a big step toward Go-style concurrency.

If you want to be really minimal you could just use pipe() with each end in a different thread but the same process, even passing pointers over it.

Probably the bigger deal is the consistent networking libraries, and the consistent mechanisms for timeouts and cancellation that Go offers. I think that's difficult in most C++ programs using threads. (I'd be interested to know what C++ programs do that well)

On a project several years back, that's what pushed me toward async -- doing timeouts in a principled way.

Though to be fair to Go, I would say that memory corruption bugs can be highly non-local (from symptom to code fix), and race conditions less so. Bugs that have both properties are really painful and I think Go mostly helps you avoid the former.
Ask HN: What's something not existed and you would pay for?
WSP has some insights on this

https://wallstreetplayboys.com/office-politics-it-only-gets-...
Yeah but if, for example, you follow the advice under (4) you're really not doing good work, and if you carrying on behaving that way you're going to get managed out.
> That analysis is pretty fatally flawed (at least for software jobs)

> When I was at google

So it's fatally flawed if you work at Google (or another high-paying tech company) as a SWE in Silicon Valley - which is a minuscule fraction of the working population of software engineers. It may not be the assumptions in the article that are "fucked". You might just be an edge case.

> The housing cost difference was obscene and would easily offset the cost of a new car every other year.

It's not just the cost of a new car. It's also the time and energy lost to the commute, the increased risk of a serious accident, the opportunity cost of all that time spent in traffic.

As a SWE working at a big tech company in Silicon Valley, I've done pretty well financially by avoiding long commutes - and had lots more spare time. There's more than one way to skin a cat.
I think people don't mind being recorded but they want to know why. If the reason becomes because a big name company does it automatically we generally accept. For example people now accept amazon / google listening to background conversations in order to process commands.
One of the few things I appreciated about finance was how clear the hierarchy system was. 3 years as an analyst, 3 as an associate, 3 as a VP, 3-5 as a director with promotion to managing director based on hitting clearly defined fee generation markers, and then an eat-what-you-kill model as a managing director with a clear % take rate on what you brought in.

And banks have accelerated the early years path to compete with tech and private equity by including accelerated 2-year paths at the analyst and associate levels for top bucket performers. Now these banks are still hemorrhaging junior talent now more than ever, but that's probably more of a function of lifestyle (80-100 weeks for your first 5-6 years before things start settling down).

The review cycles are generally okay (not good by any stretch) but manage to capture whether or not someone's impact is outsized and worth accelerating. So a great job of finding the 8-10/10s but pretty poor at delineating between 4-7s.

Not possible to use that model in engineering organizations (at least the ones I've seen) because there isn't an apprenticeship model in tech as in finance so it is harder to promote a 7/10 performer every 3 years reliably because they may not be capable of doing the next job due to specialization and less linear skillset building.
Oh, definitely. You just need to make it so that people don't have to fiddle with it and don't fiddle with it by accident.

You seldom have to protect against malicious attempts. (But when you do, it's a much harder task.)
I agree with you but I would say there is a lot of value in learning and being able to identify these type of behaviours.

The more people know these things the more obvious and less effective they come and as you said it helps to smoke out potentially toxic members of the team.
Haskell has also removed some features over time.
I'm definitely familiar with biarcs (and did talk about them a little in the thesis) because that's the basis of Ikarus. But generally I'm not a fan of biarcs, I feel Euler spirals can do pretty much anything biarcs can, just more smoothly. The simplicity of the arc as primitive curve has some nice features though, for example the fact that parallel curve is nearly trivial.

Shipbuilding has a long connection with splines, long before digital computation. The Autokon system was built by Even Mehlum in the 60s for the Norwegian shipbuilding industry, and this was a pioneering application of the Euler spiral spline. It's not surprising to learn the Chinese shipbuilding industry was also doing interesting things and engaging with mathematicians such as Liu Ding-Yuan and Su Buqing.
They are there everywhere. In many places the game is so well played and polished, its effectively invisible for everyone except the players.
Python 3 made some backwards incompatible changes. Haskell removed some features over time, as well.
Shy kids are still shy kids. When you can't absorb it naturally on your own even given a normal level of exposure and it's negatively impacting your life, that's autism.
“In a black hole” ... maybe you mean you’ve already crossed the point of no return but not yet hit the singularity...

Eh, forgive me but also, an outside observer would say it takes an infinite amount of time for you to hit the event horizon, (and get smeared and red-shifted to nothing on it), but the in-falling frame of reference passes through the horizon as quick as any other point.

Now is the entire universe a black hole in some sense? Perhaps, but in pondering such a case I find it is no more terrifying, majestic, mysterious, and awe inspiring when contemplated that way than any other.
Can psychedelics cure addiction and depression?
Whatever the answer I feel like it would take the courts a few weeks at least to figure it out. California (or more realistically Hawaii) could have had a full three week border closure before anyone settled the case law.
Settle for class b company instead with more autonomy and create additional cash flows on the side.

Fuck prestige, man. Get money.

https://wallstreetplayboys.com/watch-the-company-man-give-aw...
> Point 4 is a joke.

Exactly. And to the extent that I started to wonder if this whole post is an attempt to troll. The text speak only adds to the impression. With that said, a cursory look suggests the user profile of the submitter appears legit and has contributed meaningfully to other discussions.
Unreleased Federal Report: No Evidence That Free Speech Online Causes Hate Crime
I like that better. My old company went rotating because they wanted a space in a certain building and had to settle for a smaller space. At that point you lose the benefits. If you keep the full space you lose out on rent savings.
> This causes "janks" (slow UI rendering) and negatively impacts user experience.

If this makes phones faster, I am all for it.

Apple is pretty good at this with ios.
Simply put, you don’t know if you’re someone who can withstand the virus.

Many people walk around untested, and demanding we act as if they’re ready and safe to have their health pushed to it’s limits is reckless.
The only downside to letting the database do some of the pre-processing is that I don't have a full raw data set to work with within either R or Python. If I decide I need a an existing measure aggregated up to a different level, or a new measure, I've got to go back to the database and then bring in an additional query. So I have less flexibility within the R or Python environment. But you make a good point: there's trade offs either way, and keeping the dataset as something like a materialized view on the database makes it a little more open to others' usage.
My assumption is that individual people's preferences are an insignificantly small data point compared to thousands of years of solar-based time schemes that our ancestors seemed to get by just fine with.
> When China was facing a backlash over its handling of early stages of the pandemic last year, and some US officials were floating the theory that the virus could have escaped from a Wuhan lab, CGTN started to push its own conspiracy theory.

> Despite a complete lack of evidence, the station suggested the virus originated at a military base in Maryland in the US and was brought to China by American soldiers during an athletics competition.
Hardly.

Muir espoused nature free of humans while wandering around landscapes shaped by human hands. He invalidated the people who created the forests he loved, and also drove a wedge between humans and nature. That is not the way forward.

Muir is the reason I support other groups besides the Sierra club. My guess is they’ve heard similar stories from other and know they need a change.

Read “Tending the Wilds”, for a start.
How did Amazon become so much more valuable than eBay?
Those arguments apply to Python as well. There is nothing special about Julia that warrants your arguments.
Peter principle sir, they're called juniors for a reason. You're right you can't trust their shit on face value, and that's where senior ones come in :)
My take is that needing on/offramps proves crypto (and coinbase) is nothing but a huge casino at this point. I've been involved for 7 years and i still can't spend my crpto directly or without some serious gymnastics involved. So tired of people saying the tech is new, 'we are early adopters', etc. I'm personally steering clear of coinbase if they go public.
If you do these things because you want to rather than trying to trick people into thinking you are interested you will have a more happy and fulfilling career.
Cos shit is actually debilitating and positively mal adapted to modern life.
[note: see more nuanced comment below]

The Julia benchmark two links deep at https://github.com/h2oai/db-benchmark doesn't follow even the most basic performance tips listed at https://docs.julialang.org/en/v1/manual/performance-tips/.
Ok, I've changed the URL from https://www.pennlive.com/news/2021/03/pa-woman-created-deepf..., in keeping with the HN guidelines' request for original sources. Thanks!

https://news.ycombinator.com/newsguidelines.html
> I was going to make a blockchain joke, but it was already in the linked discussion.

I see what you did there. Nice.

Also, I had to look up "underpants gnome". For the other three of you who don't know what these are they feature in an early episode of South Park (which I thought I'd seen all of, but no). They steal underpants and use them to profit. Turns out they're also the originators of the "1. Something, 2. Something else, 3. ?????, 4. PROFIT!" meme that I've seen posted for the last 20 years, particularly on Slashdot in the early noughties, but never known where it came from.

Not something I expected to learn via HN but I suppose we are living in unusual times.
> My take is that needing on/offramps proves crypto (and coinbase) is nothing but a huge casino at this point.

Couldn't agree more.
> No, it doesn't. It's only theoretically easy to implement.

Oh, I didn't say anything about easy! I am on and off working on a Haskell re-implementation (but with GADTs and in Oleg's tagless final interpreter style etc, so it's more about exploring the type system).

> In practice, they explode the size of the underlying FSM.

You may be right, but that's still better than the gymnastics you'd have to do by hand to get the same features out of a 'normal' regex.

> Moreover, in a command line tool, it's somewhat easy to work around that through the `-v` switch and shell pipelining.

Alas, that only works, if your intersection or complement happen at the top level. You can't do something like

(A & not B) followed by (C & D)

that way.

> Paul's talk introduced redgrep is amazing by the way. Give it a watch if you haven't yet: https://www.youtube.com/watch?v=Ukqb6nMjFyk

I have, and I agree!

Perhaps I'll try and implement a basic version of redgrep in Rust as an exercise. (I just want something that supports basically all the operations regular languages are closed, but don't care too much about speed, as long as the runtime complexity is linear.)
> However, they're now dependent on having an internet connection (developers work remotely).

Internet is a necessity anyways, they better have it and the company better cover it.

> It also removes the ability for frontend devs to work against in-development API branches - unless it's merged into staging, it's not accessible.

Can try 3 environments. Dev, Staging, and Prod. An advantage on centralizing these environments is your frontend devs dont worry anymore if their local api version is outdated.
A friend of mine had a child diagnosed with selective mutism. This means she literally couldn't manage to speak in some social settings, something that might more prosaically be called being tongue-tied.

Telling coaches, teachers, etc the diagnosis made things so much worse that she went back to saying "She's just shy." to explain her daughter's social challenges.

That word was not chosen at random. I was involved in a voluntary health and welfare organization for a time and had a spiffy title, though no pay, and lots of people turned to me for support or advice or to share their stories and just talk with someone who would understand.

At one time, I was getting referrals. People would say "You should email this lady about your difficult child." and give them my address.

It never turned into paid work but it is the reason I began blogging.
I wonder if one of the bigger arguments is that there's no way you can really migrate in a way that doesn't actually cost you more money in the short term.

Even if you say "March 14, 2021 is the grand final feature freeze for the Mainframe, and day one of the Cloud Initiative", it's not going to happen. You're not going to have a MVP for several years, and a full replacement for five million undocumented lines of COBOL for even longer. Production fires will have to be fought. Regulators will demand you change something, and won't be keen to hear "we're supporting it in the Cloud Initiative, which customers will see in 2025." So you're gonna be writing quite a few more cheques to IBM and your team of COBOL jockeys.

After 5 or 6 years, as you've unloaded most of the customers to your painstakingly built replacement, you can finally begin to scale down the mainframe staff and perhaps return/downgrade some of the rented hardware.

Given that, it may be less a put-your-own-head-in-the-guillotine move just to spend those years hiring in a few new graduates with the promise of "We'll apprentice you to handle our unique and obscure codebase, and as long as you show up 40 hours a week and don't take a dump on your manager's desk, you're going to have a reliable paycheque for the next 20 years."
We are objectively wealthy enough that everyone could have a place to live, enough food to eat, free medical care even to the point of expensive cancer treatment, free education if so much of our resources weren't directed towards enriching so few without sacrificing essential items.

Even calculations about what is and isn't a reasonable expenditure are inherently polluted with the presumption that the current cost structure is an immutable condition as opposed to being the result of a system designed by the worlds dumbest,greediest,least worthy democracy to ever exist.

To clarify what I'm trying to say is that because of the nature of physics warmth which is to say energy is a scarce quantity and will always be so but in the context of making sure everyone is warm its almost always very simple there actually IS enough to go around despite it being scarce. The same thing is true of food.

We cannot afford infinite degrees of effort per patient but what we can afford is more than what most would consider sufficient.
I'm interested in real facts, thesis, explanations with substance.

There seem to be many variables whose correlations and effects are not well understood. You claim you've figured it out, that the only effect of increased housing price in the Toronto metro is simply due to migrants, foreign students and foreign investors. Okay, well I'm not against that explanation, but you got to back it up with something. Otherwise it's as good as any other, such as what I pointed too, the large number of single family unit being held by the retired or soon to be retired boomer generation.

My personal opinion, neither are the whole equation, the market of housing is complex, and I think we're far from understanding it, which is why there are simply no cities with landlocked and high populations that have figured out how to slow prices and make housing affordable yet.

But I'm totally willing to hear out anyone whose done some deep analysis and got some good thesis around it.

Personally, I wish politics allowed for testing policies and let people experiment with them a little more loosely without worry of saying ok this failed we're rolling it back and trying something else. If that was the case, I think it be curious to try something like stop taking migrants for a year and measure impact. Honestly the migrant argument is always being brought up, so if anything, it would confirm or deny more clearly that variable, and we could hopefully move on.

Also, you did get me curious into the data, but to be honest, the stats are hard to fully get clarity on what they include and do not. Like there are 600k foreign students, but that's the absolute total it seems, not a year over year increase. And students stay for a while, so it's not like each year there are 600k new students, it's often the same returning students. So we'd need to look at the year over year increase.

Finally, with these type of things, the flip side must also be considered. Based here: https://www.international.gc.ca/education/report-rapport/imp.... foreign students create 80k jobs in Ontario and provide substantial income to the local government. So that would need to be accounted as well if say we decided to restrict their numbers further.
I just discovered windi CSS with vite via vitess, which dynamically generates utility classes, so I am trying out Tailwind again.
There are no money in office, job benefits were hollowed out over decades. Invest money into yourself rather than politics and go self employed.

And keep low profile in office (and university). Cancel culture and meetoo is real. You never know what current correct opinion is. Or when you make your colleague uncomfortable.
black holes are capturing imagination because of scale and many other reasons, but their danger just not worth to even discuss. Space is empty and time is slow.
This is enough to be FU money for all people involved:
"I'll disappear, pay off police, blame Ali, do 4 years in jail and still have money..."
I won't pretend to understand the intricacies in your article here, but have you seen this paper / video by Cem Yuksel (University of Utah)....

By my layman understanding the curves discussed in the following paper may be of use.

http://www.cemyuksel.com/research/interpolating_splines/a_cl...

https://www.youtube.com/watch?v=pK4zy5OKbHs
Seriously. You want to get ahead as a developer? Never let people see you write anything that looks like a collectible Nike ad on OfferUp.
I can only imagine this will get worse as they go further down the AI rabbit hole.

What really amazes me though is how they now treat changing recovery options as signal that the account is compromised.

Google Accounts Team: Users must have a way to recover their account!

Google Security AI: Changing recovery options is a sign of a hack! Shut it down!

Is there a new Conways Law, when an AI is involved?

"Your AIs will ignore product goals only optimise for the outcomes of the department they're created in"
The problem isn't government tyranny. If half of the population decides it isn't safe to eat out at restaurants, then it won't make sense for restaurants to be open. Businesses and events are built on an assumption of a certain number of customers. If X% of the population decides to opt out of social life then it doesn't make sense for them to be open in the same way as before, government mandate or not.

You can't go to a birthday party by yourself. Even if you're fully vaccinated or don't believe that the virus exists. As long as the public perception was that people should stay home you would get essentially the same outcome, no matter what the government did.
Fair enough - aware that you're not a fan of biarcs from your thesis.

>The simplicity of the arc as primitive curve has some nice features though, for example the fact that parallel curve is nearly trivial.

Yes.

Also, IIRC, Alexey Kurnosenko uses them in one of his papers to bound the regions of when it's possible to fit a spiral to end point data,

https://arxiv.org/a/kurnosenko_a_1.html
I'd forgotten tech reporting was just as bad in 1999 as it is today. Here's the important part missing from the article: that serial number is available from userspace, and cannot be intercepted by the kernel in any way. They provided a way to disable it, but not to report, control, or intercept how it is accessed. It is returned by the unprivileged, untrappable* CPUID instruction.

Every single UEFI computer sold today has a unique serial number (GUID). There are MAC addresses. There are HDD serial numbers. There are zillions of unique identifiers accessible to the operating system. Various copy protection schemes use one or more of these. But what they all have in common is that they are under the control of the OS. A privacy-conscious OS can forbid access to these identifiers for userspace applications, or can fake them to something else. This is how e.g. sandbox environments like the App Store can force apps to use some kind of "advertising ID" for this stuff, and ensure that apps aren't sneakily fetching some true unique system ID.

But with the PIII serial number, userspace apps can fetch it without the OS knowing about it. And the disable bit is a one-time operation, so it is not possible to grant serial number access to some apps and not others. This leads to a situation where any arbitrary unprivileged userspace app can uniquely identify your machine, and where vendors relying on this feature might compel you to leave it enabled (e.g. DRM). Now random apps running under an untrusted user can fingerprint your machine, just because you want to watch Netflix.

And that is why this design was utterly broken and a privacy nightmare. Not because it's a unique ID. We have tons of those.

* VMs can trap CPUID, but of course VM support came later anyway.
And apparently there is an actual dish in Tianjin called ‘ignored by the dog buns’ named after an inventor with a canine last name. Who knew.
I think you can ignore data from before electric lighting.
This post reminds me of the "REAL programmers use butterflies" XKCD comic: https://xkcd.com/378/
Reverse Engineering of Intel Microcode UpdateStructure
Read hn lol, the ask / show / new sections particularly
New York is actually building these.

https://www.nationalgeographic.com/new-york-city-skyline-tal...
How is it white, no light is able to go in direction from the center even after crossing event horizon (if that even possible to do mantaining ability to observe anything)