skysight-inc/HackerNews huggingface dataset:
I don't think they really care who get fired. To those executives in large organizations, individual contributors are no more than a number. As long as they can make the numbers they do care looking better, no one really matters much.
This glaring omission from this is the "enum idiom":

https://doc.rust-lang.org/std/convert/trait.From.html#exampl...

they talk about it here:

https://nrc.github.io/error-docs/error-design/error-type-des...

but including more than a snippet would go a long way to that "aha" moment I think. This was frustrating for me browsing this site. The author wrote 10 pages of docs, but nearly all the examples are like 5 line snippets of code. I think examples are equally important as the discussion itself. Rust itself suffers from the same problem:

https://github.com/rust-lang/book/issues/3348
"First, Let’s Fire All the Managers" - https://hbr.org/2011/12/first-lets-fire-all-the-managers
Is it better for Google and Amazon to try recruiting this available talent straightaway or keep waiting?
You can also consider this in terms of work. Being forced into the office increases work by 20% without a commensurate raise.
Yeah this tracks with what I've seen too.

As a note people with 100+ direct reports are not really managing them. Often it'll be indirect as in there are 100+ people in a hierarchy below you. You might only mange 10 people but they manage 10 people and so on.

In terms of reporting your "team" is all 100 people even though you may have never interacted with half of them other than an introduction.
Law is an excellent fit for tech skills IMO, if you also have a personality that fits the kind of law you want to do.

This is true on multiple levels. Legal documents and briefs work like code in some ways, and the core function of the practice of law is to apply rigorous logic and rules in an accessible way (although people often disagree as to the result). It tends to feel natural to a coder.

It’s also true because tech skills make the practice of law easier. Like most office work, you can often write scripts to automate things and be an absolute hero to your coworkers. In litigation, at least, some career paths also involve quite a bit of data management, and your ability to handle a moderately complex excel spreadsheet will pay dividends. Beyond that, in patent litigation or even some contract or copyright litigation, you’re going to be dealing with “technical experts”—and with a solid tech background you will often run circles around them.

Honestly many of the scariest, sharpest lawyers in some parts of law have tech backgrounds.
Many large companies have pretty rigid comp review processes and cycles. If you’re a high performing employee who got a stock refresh earlier this year there’s a good chance you’re down 50% or more at many companies. Switch companies and there’s a chance you’ll get a new grant for the original gross value but at the new lower share price.

If your belief that it’s macro trends rather than individual company performance that’s depressing share value it could be a very profitable time to change roles (assuming you can, obviously there’s also an influx of people looking for work in the past few weeks).
Nobody said a word about programming jobs being outstanding lol
Kudos for not having a subscription. That is _so_ refreshing these days.
you might remember we live in a world with multiple countries
What are you talking about and in what country?
This is why you need real friends outside your workplace. When you get shoved out the door, at most your get the afternoon to be like "lets keep in touch!"
> Their chemotherapy?

This surprise lots of people, but rates of regret for patients getting chemotherapy or other cancer treatment are quite high. They're much higher than rates of regret among people getting gender affirming care.
Of course. It's not about the best move or what looks better. Nobody cares for that.

It's about the truth. That's what people care about in the end. And if none of it was said here, parent is pointing out that Mark is truly an ass. Something like "laying off people because other companies are doing it" is pretty fucked up.
Can’t you just swipe down from the top of the screen and press the Bluetooth icon, or am I missing something?
+100

I felt physically ill when I read:

It’s intended to be used when you know you have an execution path in your code that cannot be reached but the compiler cannot figure that out.

It felt like saying to the compiler, "please, find a way to make my program break even more easily". Exactly not what I need.
Tax write off and SEO back-linking. Also, “donate to us and be put on a list of organizations that have donated to us” has been commonplace since the advent of donations. This whole thread and the links shared within are shockingly cynical and searching desperately for a conspiracy.
Head count had been around 40k in 2019.
I prefer folders.

Memory, on a biological level, is tied very strongly to place or paths. Not just in humans, not just in mammals.

My folder hierarchy gives me a path that lets me find things. I remember where I put them, I remember where to find them.

If I need to search, fd and rg at a high level of the folder tree is a godsend.

Tags mean it is just floating in some cloud somewhere, locationless.

There can be friction if something could go into multiple categories, and one will always need a wildcard category, but these can be managed.

The Johnny Decimal system https://johnnydecimal.com/ can be a nice structured approach. Creator is here on HN somewhere; that's where I learned about it.
As Artists gain the ability to do more with less standards and expectations will change. The arrival of the printing press, the photograph, and the rise of digital effects were all ineffectual at putting artists out of work.
Learn HTML + CSS with a text adventure course
Making shit up to obscure the truth is a way bigger asshole move than just telling the truth.
Why stop at the c-suite? We may not be close to being ready to disrupt software engineering but the trend is heading in that direction. We already passed a milestone for code generation.

Realistically, C-suite probably will probably target engineers first before letting themselves get replaced by AI. It may be fractionally partially responsible for the current layoff.
>The US has given over $8B in aid

That's throwaway change, compared to the amount spent on Covid.

>Also natural gas prices are going to hurt this winter.

The US is the world's biggest producer of natural gas, at least while fracking is still largely permitted.
Also it appears the new v2 licensing approach does not support Family Purchases, which is a step backward in my view.
SMB. They are effectively the webmaster for a vast amount of very small business, but also Meta's ad platform ends up being one of the larger expenses for many businesses. In fact, I doubt there is a single entity on earth that has more billable B2B relationships.

I agree that spinning up a pure-play public cloud makes no sense for Meta. Its not in their ethos, moreover selling various abstractions over virtualized compute is a commodity. Why would they get in line, behind IBM and Oracle?

Given that Office 365 is being counted as 'Cloud' imagine what Meta could do with some $100/yr SMB service. On the enterprise end, they have some of the very best big data and ML infra and could do well to bundle up extra capacity sell that on a metered basis. If they had started offering managed Presto in 2015 this conversation wouldn't be happening.

Their network infra (IP space, undersea cables, edge pops etc) is also rather vast and I could see a lot of SMB to F500 customers lining up to leverage it if bundled right. If they wanted to they could write a check for CloudFlare, I checked their balance sheet. Meta Cloudflare would be a juggernaut; so powerful that I pray the FTC wouldn't allow it.

Historically Facebook has been allergic to B2B outside of selling ads. Even within it they bought and killed Atlas, effectively handing a monopoly on ad serving to Doubleclick. Now they are warming up to it, offering Workplace, Kustomer, and Oculus for enterprise. I think that the Metaverse could be a novel B2B play and so do they, calling it "The Future of Work".

tl;dr: Meta could win the cloud business because it has the people, cash, differentiated tech, and existing relationships. They could beat AWS/GCP/Azure in many segments of IT spend by packaging their assets together into a novel kind of cloud.
I'd love to have someone verify this. If you type Douyin into YouTube you see the platform contains the same nonsense videos that TikTok has. So we know the content is similar. The question is the experience really different for users under 14. And if so, how is this enforced? If it's a matter of stating your birth date when you sign up then I don't think the restriction means much.
Since when it became reasonable to build a life on such a weak foundation?
I don't think it's a ridiculous idea that he penned it. Zuck is known for being very hands on at Facebook/Meta. No doubt a PR team and legal council etc... Looked it over before release but I have no problem believing Mark wrote this.
Hey HN!

I'm Fabian, the CTO of Frobocode, and I'm pretty frustrated with the state of affairs of coding courses. 10 years ago, MOOCS promised to give us really good educational content that everybody can use to learn programming. They never delivered.

It's 2022 and we still don't have anything resembling A Young Lady's Illustrated Primer. What we need is to get out of our lecture-focused educational mindset, which evolved in the middle ages because of the scarcity of books. Why can't education instead be based on gamified, personalized storytelling?

Some great examples are vim.so, Everyday Data Science on Tigyog, Code Wars, and SQL Murder Mystery. Me and my co-founder are also throwing our hats in the ring, and are currently working on the first chapter of a pilot text adventure course. In "The Grand Web Adventure", we want to take students seriously, and show that a gamified course can be both fun and deliver results.

Right now, we only have a signup page publicly accessible, but we’re hoping to finish a small preview lesson for trying out the course soon. We’d love to hear your feedback about the idea, as well as your experiences of learning to code.
> So a few thousand dollars is nothing.

In any business doing proper budgeting and trying to make a profit, a few thousands in UNEXPECTED costs, is huge. It can be the difference between your department having the money for new equipment, or begging for a budget increase because of unexpected costs to get new equipment.
Kim Kardashian was talking about NFTs before I even heard of them, which tells you all you need to know.
> Fundamentally however, giving clients control over when failover occurs means giving up control over failover.

Fundamentally the problem is that you want to direct a client to particular datacenter and it is not always shortest part (shortest != lowest latency) so anycast DNS isn't helping here.

There is reason biggest CDNs use it to direct to particular DC instead of "
just anycasting everything" like you're proposing, it's suboptimal.

> You're all probably familiar with 8.8.8.8 and 1.1.1.1,

And both companies behind that still direct you to particular datacenter, not anycasted IP, for the actual content.

Anycast IP are also "expensive", you need to use entire /24 route to get one, and it takes routing table space in every router's memory that is limited, and requires costly replacement if it runs out everywhere, not just where you distribute it.
I've been Photoshop user since, hmm, 2000? Gave up couple of years ago, and spent some time comparing Affinity Designer and Pixelmator Pro. For me personally, Pixelmator won, and it's been my editor of choice:

https://www.pixelmator.com/pro/
Exciting - might really want to get these!
Only if you can start a company that's cashflow positive from essentially day one. Burn rate provided by suppressed interest rates and cashed up venture capitalists is quickly becoming a disappearing concept.
Serif's Affinity suite has probably the greatest value for money in the whole software industry. I mean 119 bucks ONE-TIME for three pretty comprehensive graphics apps which are polished and get constant updates is very hard to beat.

For people making their living with graphical work (designers, photographers, etc.) Adobe is probably still the way to go (even if just to keep using the muscle memory). However for the many people who only need something like Photoshop or InDesign a couple of times a year, Affinity is just great.
Well, M-x land-aircraft, but I just bind it to M-F4.
Bring in new features.
Pre-Musk twitter only brought one new feature per year.

Reduce bots, spam.

Make sure that verified users are not able to change their usernames anyhow they want (currently you will find hundreds of elon musk verified accounts).

Improve twitter mobile app (less bloat unlike reddit app)

Use crypto payments to pay for twitter blue. Crypto payments meaning not only BTC and Dogecoin but privacy coins like Monero, Dash, Zcash etc.

Have Twitter Blue Pro, so that users will get no ads (currently twitter blue gets half ads), first access to new features, something like substack articles where twitter blue pro users will be able to read blogs created by twitter users (tiwtter is a 'micro-blogging' platform afterall) etc.

Bring new features which are aggregated from other apps like (this point is not that good)

a.) Unlimited video upload- youtube

b.) Stories-Instagram

c.) Short videos- tiktok

d.) Threads-Reddit etc

Reduce excessive tracking of users on its site and app.

Try to attract non-english, non-western users. Most non-english audience does not even know/care about twitter. They are all on whatsapp, youtube, tiktok etc.

Have NSFW, gambling and generally immoral stuff promotion to earn money on the sidelines. (The NSFW stuff will be opt-in by default to make sure that twitter is 'family friendly)

P2P transfer of fund from users to content creators on twitter itself like Patreon, Brave BAT twitter tipping etc. Twitter will get like 5% cut from the tips.

Have alternative payment methods like UPI (india), SEPA (europe) and not only card payment via stripe.
5th and 6th largest EU countries.

https://en.wikipedia.org/wiki/List_of_European_Union_member_...
I’m feeling sorry for everyone affected.

Let’s hope that this isn’t going to impact Buck [0] too much. It’s one of the best things Facebook has ever made.

[0]: https://github.com/facebook/buck/tree/dev
If you come from FANG and you are good you can basically walk into a german tech place or even car manufacturers and get hired on the spot.
Thanks for this !

Just to better understand some of your technical choices : are you using microG ? Do your phones pass SafetyNet ? (there are many apps that do not work out-of-the-box with custom roms, e.g. bank/payment applications, etc). !

May I also ask : why did you create your own rom rather than contributing to existing projects with a similar target ? (e.g. /e/, calyxos, grapheneos, which start from LineageOS and add some extra work to mimic or sandbox Google Service Framework and precisely care about privacy...)
Their payment attempt was stifled by regulators though. I wonder where they would be at if they had launched Diem instead of shutting that down
Use a marker, allign eyes and put on the glasses when measuring:)
> Now, the error would be pushed to the `+` operator because there isn't an `Add` for `f32 | u32`.

Why not? It makes total sense for one to exist. This is something the language needs to deal with, not the programmer. But the programmer always sprinkle annotations so that errors can only reach so far.
HughesNet used to run a caching DNS resolver on their customer equipment circa 2016 (not sure if they still do) which overwrote TTLs to 12 hours.

Java/JVM historically ignored TTL and just did a single DNS lookup and cached the result unless configured otherwise.

PGBouncer ignores DNS TTL and has its own configuration.

I've seen lots of software that will create a "connection" object and re-use that with TCP reconnect handling. In practice, that means the DNS resolution happens when the connection is recreated but not necessarily when the TCP connection reconnects due to timeout/failure. I've also seen some issues with long lived connections (where the connection greatly outlives the TTL). Long lived connections aren't necessarily a DNS TTL problem but they mean DNS load balancing/redirection don't always work how you expect.

That said, the solution is usually to just fix the issue in the software and not ignore DNS TTLs.

As counter examples, AWS ALBs and Kubernetes service discovery both rely on short TTLs with fairly good success.
For simple tasks you can get away without any external crates by using `Result<T, Box<dyn Error>>`. But it's much more comfortable to use thiserror or anyhow in the long run.

fn read_string() -> std::io::Result<String> {
Ok("123".to_owned())
}

fn main() -> Result<(), Box<dyn std::error::Error>> {
let s = read_string()?; // io::Error
let n = i32::from_str_radix(&s, 10)?; // num::ParseIntError
println!("read number: {n}");
Ok(())
}
Wrong CEO :)
The CEO is told they need to layoff by the CFO. The CEO agrees, then the corporate strategy team devise a strategy with the PR team. After the strategy is devised, the severance and headcount numbers are sent to the CFO for approval. The CFO should be the final go/nogo. Off course, the CEO can come in and change his mind, but that wouldn't be wise since the CFO has the best understanding of the economic situation and company's financial health.
I've been using Affinity Designer 1 and that's a great product! Glad to see version 2 coming.
I'm surprised they announced this on a prime news day, as oppose to Friday afternoon where less attention might have been given to it.

(My heart goes out to all who lost their job. I'm wishing everyone well during these tough times.)
I think there’s also a pretty big chunk of people who need to work on their interpretation skills. A sentence means to you what you have interpreted it to mean.
> You can obviously only call common methods

That sounds like trait objects/dynamic dispatch/`dyn`, which comes with runtime costs.

> or have to pattern match later and have a way to tell them apart.

That "way to tell them apart" is a tag, which would make it a tagged union/enum, not an untagged union. Those already exist, though not in an anonymous flavour.
Yep seen the same thing. In terms of 10 people I'd go further give me 1-2 fantastic "unicorn" devs and enough time, I could build you just about anything.

It just so happens no one in any org gets that time and keeping those unicorn devs focused is very hard. Very small annoyances can cause them to leave and that's what they do.

I have seen people single handily build amazing stuff but it never lasts. Eventually someone gets left with the half built system and then a team needs to take over and bloat and ...
Hey now, that's my job ;)
zuck did say “I want to take accountability for these decisions and for how we got here.”
Well, that depends. If the union consists of two types that share the same underlying structure, then obviously at runtime we can never know what the value is.

But otherwise we can. And this is something that we will know at compile-time, so we can prevent runtime-checks that would not work.
- Make no changes to moderation policy.

- Expose the true number of bots and expose the deception of past leadership. Be specific on who knew what and how they obscured it.

- Fire more than 50% - this is not enough and I suspect another tranche of layoffs is not far off.

- Focus on user growth, acknowledge that revenue will take a hit in the short term.

- Slash all advertising costs. The cost per click on Twitter is insane relative to the outcome. You wanna woo advertisers? Cut their CPC in half.
> how can it still be so valuable?

Google is still mostly relying on links, that's precisely why they're still so SEO-hackable after SEOs doing it for two decades: they have no other mechanisms. $150 is totally worth it.
That's not money laundering. More like corruption/bribery.
Fantastic game and really immersed the player at that time. I got terribly nauseated from this game but amazing nonetheless. Scorn reminds me of it for some reason. In any event, it's always inspiring to hear the ideas from teams of greatness.
Reminds me of the dota games played against OpenAI Five during their last experiment. Top level human players were able to adopt an ad-hoc adversarial policy of their own by playing in unorthodox ways to begin to reliably defeat the AI team towards the end of the games despite majority 99%+ getting spanked. Article linked below mentions the player who probably had the best policy, 10 win streak against the bots.
https://www.player.one/open-ai-five-99-4-winrate-vs-humans-d...
Also a lot of those people are going to take time off. A large number of high earners that have worked at a place for a decade and now have ~9 months paid vacation.
Very interesting. That certainly sounds like PreserveJobFiles was set to 'yes' or a stupidly high number. And it sounds like, as you say, a subsequent OS update changed it to a sensible setting.

FYI the default value is 24 hours so it might be interesting for you to print something now, see if the job file (starting with d, I guess this is sort for 'document') is preserved after the print job completes, and then check a couple of days later to see if it's been removed by cups.

[subsequent edit] Maybe you ran into https://github.com/apple/cups/issues/5747, "You really need to use a current release of CUPS. I suspect this is due to a known bug that was fixed a long time ago" - maybe that bug shipped with an older version of macOS and that explains what people are seeing.
I've been through 3 lays offs years ago and after the 2nd one I got pretty good at predicting the 3rd. It's basically a cookie cutter approach.

Watch out for emails that talk about "tough decisions" and "respect for our people". I actually took a company email, printed it and highlighted key statements and told everyone lay offs were coming. About 6 months later they were formally announced.
> Anyone running Unbound DNS can also do this

Yep. Just checked the docs for that and “cache-min-ttl” is a thing. For those unfamiliar, unbound is a pretty common resolver: it is the default for most BSDs and things based on them (such as pfSense) and used by the popular PiHole and its forks. How common it is to use this setting I can't comment on.

> Some versions and distributions of Java do all manor of odd things with DNS including ignoring TTL's

This at least is less of an issue if all you are futzing with the DNS for is services intended to be consumed by a web browser: if common browsers and DNS resolvers behave OK then you are good, if someone consuming your stuff through their own code hits a problem they can work around it themselves :)

It goes without saying that only a fool would play trick like this for email as that is already a mountain of things that can be easily upset by anything off the beaten track.

EDIT:

Also, yep, people are using the setting in their normal environments: https://stackoverflow.com/questions/21799834/how-to-determin...
(that person currently having it set to 30 minutes)
>expect to start loosing ad revenue

They are already bleeding ad revenue, badly.

But yeah, agree with you overall. In summary, they were flush with money for a while, invested and hired like crazy, couldn't grow revenue and productivity and are now shedding costs.

We have to remember that these companies weren't affected by layoffs at the start of the pandemic; in fact, the opposite. They boomed.