skysight-inc/HackerNews huggingface dataset:
> Of the 20 people we had, 3 had new jobs within 3 months of hire.

I am coming up on month 3 of my new job and not liking the team and leadership. I can tell it will only get worse.

I really want to leave and luckily have the opportunity to close the loop on all my current projects.

Should I just make it quick and send an email to manager tomorrow that I feel it's not a good fit and Friday is my last day? Make it quick and easy before I get more assignments and waste more time.

I have no job lined up but 9 years of experience and at least a year in savings.
Connect-Swift: You’ll want to use Protobuf on iOS
Yeah, they want lay off workers because they need money for making big investment in ChatGPT :)
> Would it be more accurate to say that Rust guarantees the droppability of owned values?

I'm not really sure, exactly, since "droppability" isn't really a thing that's talked about, because as you're sort of getting at here, it's universal, and therefore not really an interesting concept.

> I know there's a guarantee that &'static items never have their underlying value dropped,

Even this is sort of... not correct. Consider this program:

#[derive(Debug)]
struct Boom;

impl Drop for Boom {
fn drop(&mut self) {
println!("BOOM");
}
}

use std::mem;

static mut FOO: Boom = Boom;

fn main() {
let mut s = Boom;

unsafe {
dbg!(&FOO);

mem::swap(&mut FOO, &mut s);

dbg!(&FOO);
}

}

This will print BOOM, as the initial Boom is swapped out from behind the reference and then dropped.
The realization that you're just a cog?
The wider economy or market is completely irrelevant to you. Stop paying attention to that nonsense and concentrate on your own job, career, life etc.
>Unfortunately this is no longer true as compilers and editors now have integrated package managers. We expect them to communicate on the network and we don't really know everything they might be communicating.

I really agree!

Elixir is my main workhouse language, I love it and the Phoenix platform as well. I also really enjoy using Nim. It's _fast_ and looks great, easy to write too.

Nim is one killer web framework away from the main stage. It will capture a lot of attention once it has a batteries included web framework. Think Rails, not Sinatra.
Reddit people complaining about something is a good sign that whatever it is is correct.
Aside from the highly relevant cost observations of the sibling comments, one will want to be cognizant of the ... very strange .. opsec that installer uses. It's a lot of curl into bash, self-updating things, url shorteners, and :latest tags

discussed when it was announced: https://news.ycombinator.com/item?id=31098608
Perhaps, but "looking slick" and actually being easy to use don't always share much in a Venn diagram.

These old GUIs are eminently discoverable.
For disk IO you usually get away with it, especially now with SSDs. For networking you don't even have to use overlapped IO, sockets can be used with window messages, winhttp can be used async, etc. I think "it's more involved" is a really shitty excuse, especially if we're talking about a Microsoft product, not some obscure shareware software a guy is developing in his shed in the middle of nowhere.
Lynx is the oldest web browser still under development. It is also arguably the best gopher browser. It is a standard utility available on a host of *nix and other platforms. I started using it 25 years ago as a DOS port...
This is the real threat. So much “open source” technology is just free community editions of closed source software. If any of these companies decide to change course for any reason, you’re screwed. Who’s going to pick it up? You? No, you were coasting along on someone else work, you don’t have a good expertise or slack to support it. But someone who law will right? Nah. They’ll just shrug and pivot, as will you.

Maybe I’m just bitter, but I’m on my third “open source” text editor because of machinations inside megacorps suddenly deciding shutdown perfectly fine projects.
I was recently asked "Is it better to get any job than keep searching for the job I'd be most suited for?" by a laid off Visa holder.

This is even more straightforward. Yes it is.

I know many who are being hit by layoffs. The situation sucks. I don't think there's any advantage to downplaying this right now whether in your own mind or through advice to others. There's a huge number of tech workers laid off simultaneously and very bluntly you should look for any job that supports your Visa as the priority.
How many American lives would you say it's worth?
> Normally, Rust would complain,

Not in the example given. There's nothing wrong with creating an Rc<T> loop; the borrow checker doesn't come into the picture.

> That is, you could mutate the data within an Rc as long as the data is cheap to copy. You can achieve this by wrapping your data within a Rc<Cell<T>>.

T: Copy is only a bound on the .get() method. You can do this even if the data is expensive to copy, so long as you always swap in a valid representation of T. (I sometimes write Cell<Option<T>>, where it makes sense to replace with a None value.)

> Embrace unsafe as long as you can prove the soundness of your API,

In other words: avoid unsafe except as a last-ditch resort.

> &impl Meower

Should be impl Meower, if you want the same behaviour as the explicit-generic version.

> Many tutorials immediately jump to iterating over vectors using the into_iter method

Out of interest, what tutorials? I've never read one that does that!

> Instead, there are two other useful methods on iterators

Methods on many iterables in std. Not on iterators (nor iterables in general).

> You can wrap the following types with PhantomData and use them in your structs as a way to tell the compiler that your struct is neither Send nor Sync.

… You're doing it wrong. €30 says your unsafe code is unsound.

> Embrace the monadic nature of Option and Result types

Er, maybe? But try boring ol' pattern-matching first. It's usually clearer, outside examples like these ones (specially-chosen to make the helper methods shine). I'd go for if let, in this example – though if the function really just returns None in the failure case, go with the ? operator.

> For example, writing a custom linked list, or writing structs that use channels, would typically need to implement a custom version of Drop.

No, you don't typically need to. Rust provides an automatic implementation that probably does what you need already. Custom drop implementations are mainly useful for unsafe code.

> Really annoyed by the borrow checker? Use immutable data structures

No. No. Haskell has all sorts of optimisations to make "immutable everything" work, and Rust's "do what I say" nature means none of those can be applied by the compiler. If you want to program this way, pick a better language.

> Instead, you can define a blanket trait that can make your code a more DRY.

There are no blanket traits. There are blanket trait implementations, and you've missed that line from your example.

All in all, this is a good article. There are some good tips in there, but I wouldn't recommend it to a beginner. I would recommend the author revisit it in a few months, and make some improvements: a tutorial designed when you're green, but with the experience from your older self, can be a really useful thing.
> Should an artist pay Getty for leafing through their images or visiting a museum and closely studying?

Getty has chosen the forum (UK courts) quite carefully. The precedents favor them substantially. In 2012 there was a case where a photo was found violating copyrights because the photographer independently took pictures of Westminster bridge and reproduced a similar photo.

Basically the case says you're violating copyrights if you're "inspired" by a photo and make a similar one intentionally. See eg. https://www.lexology.com/library/detail.aspx?g=57171429-4dea... for details.

Pretty sure that case would have been laughed out of court in the US, but historically the UK courts have been pretty strict in interpreting the scope of copyright protection. So even if you're successful in arguing for "the AI has a digital consciousness and is basically a human" analogy, case law in the UK still doesn't allow you to do that.

I personally think this is ridiculous though, but unfortunately that's the status quo (in the UK where SD is being sued).
If you can smell weed coming from the car ahead of you, it's probably because they are smoking weed in the car.
I currently use pygeoapi to publish the data of our research project instead of WFS. At the same time, I like the processing function that allows me to detach and control processes in individual Python files. Unfortunately, the config.yml gets very large quickly and I'm still struggling with passing files to the processes (quasi file upload). I'm not even sure if the official specification covers that.
You're correct, but also forgetting the best part. The ratio between width and length stays the same!!

This specifically is what allows easy up-/downscaling for an A* size.
you don't need to fork it... just add an account at the main screen and set the backend url to whatever your server resolves to.
Advanced patterns for taking screenshots with Playwright
Yeah, in eastern EU salaries are not as low as they used to be, anyone with 3-4 years of experience now expects around 3.5-4k€ a month, which in my experience is not that far off of UK salaries.
> Network aggressively and be likeable. You never know when that linkedin connection from a shit job 3 years ago will throw you a bone. I know everybody on HN really likes their leetcode but if you have an inside reference, the interview is reduced to just a vibe check.

++1 this. Couldn't have said better myself. I went more than 10 years not having to apply anywhere, switching jobs just by referral - interviews felt like friendly meetings. Only broke that streak when interviewing for a job in another country.
Also even if phoning home is a concern: Thanks to GDPR Google has to say what they save. Even if they save more, they need a way to ask for permission and to delete if I don't want that.

Of course Google could dismiss the law but then they have to pay massive fees.
I think these comparisons are kind of disingenuous.

Of course we understand what you mean. But on the other hand, it's kind of not relevant at all. OPs life is not that one of a coal miner. In theory this person has worked hard all his life, studied, dedicated time to companies. This is what he is doing. Then it's kind of taken away without his control.

Saying "well at least you don't work in a mine" is minimizing his real problem so much.

Should it be put in perspective? Sure. But it also doesn't really make it any better.

Infact I would argue that kind of response is kind of like "hey why should we give everyone free healthcare? At least you have access to healthcare for money, 100 years ago we barely even had medicine so you should feel lucky!". True.. but also completely misses the entire point.
i appreciate what appears to be the truthiness of all the new alcohol advice, but i am curious what the actual repercussions are supposed to be other than 'bad'.

reminds me of the 'drugs are bad' southpark lecturing:

https://www.youtube.com/watch?v=KeprIqxrDQo&t=14s

smaller brain? ok, sounds bad.

if that's even worth 1% of our global toxic masculinity problem, we need to go to zero alcohol stat. but there seems to be very little in the way of specific conclusions about just how detrimental alcohol is.

e.g. 2 drinks per week leads to a 5% brain shrinkage per year until your brain is the size of a pea at which point you die - that's 15 years for the average human, so if you started drinking around 18, you'll be dead by 40.

that's something that people can relate to maybe.

global alcohol market is about $1.5T today, growing at 10% a year. sounds like a lot.

but not wearing a bike helmet is supposedly bad, too, but all the safest countries to ride in the world use helmets the least.
You are describing depression without using the word "depression". And, again, it does not get treated by telling people "just go jogging".
> there is a lot of excellent Rust content catering to beginners and advanced programmers alike. However, so many of them focus on the explaining the core mechanics of the language and the concept of ownership rather than architecting applications.

The author then goes on to write an article largely covering the mechanics of the language rather than architecting applications.
Every employee is an investor too. It could be orchestrated within reason, or at least attempted.

But what I'm talking about is there were layoffs in the news and not a single peep about it in my email inbox or slack channel, nor even during 1:1 with my direct manager later that week.

Ok so it breaks to the news first, it seems common courtesy for the person managing your career path to check your pulse.
I think people can make that choice as long as it's informed. The company should also be providing mental health support as part of the job. Someone has to do it. There aren't automated systems that can do a remotely decent job at moderation yet. I know you don't think it's okay for trained systems or social networks to distribute traumatizing material.
I do not know what am I supposed to do with this information of questionable accuracy.
If you're a US citizen, look into small companies that do research for the military. There's a growing amount of work for a PhD in AI CS/EE.
> and quickly became a platform for survielance

I think what the author meant by this is that there can be code embedded on an HTML/JS page that sends data to third parties, tracking you. HTML/JS also has cookies and numerous other features that can be used to track you.

Gemini has none of this - you ask a server for a Gemini document, you get a document, there are no cookies or JS-style embedded code involved.

> But what about privacy? Well, you achieve that simply by not putting private information on a public network.

Gemini supports client-side certificates - so you can "privatize" your capsule or a portion thereof if you want.
I have a very similar self-hosted Vaultwarden set up, for the same reasons.

My other concern, which may be unfounded is that Vaultwarden [1], which is an unofficial Rust rewrite, may also be developed to different, or lesser security standards than the official client. However I don't have any real reasons to suspect this.

[1] https://github.com/dani-garcia/vaultwarden
Microsoft spending $70B in cash this year is proof of that, in case anyone reading doubts the above statement. https://en.wikipedia.org/wiki/Proposed_acquisition_of_Activi...
No and I didn't say that, I said that Title IX is protection for women, which it is. You can say that "discrimination of the basis of sex" is more general than that, and it is, but that's a completely ignorant reading of history and why this law came into existence. In an alternate universe where there wasn't widespread discrimination against women we likely wouldn't have gotten any laws like Title IX.

And laws establishing protected classes are protections for minorities. Do they also protect majorities? Yes. Were they established to do so, no.
Most of the additional cost is VAT, and the norm in the US is to show prices without sales tax. It's $1999 for the base model 14" MBP in the US which is roughly €1,850 or £1620

Country, Sales tax, Adjusted Price, Actual Price

France, 20%, €2220, €2399

Germany, 19%, €2201, €2399

Spain, 21% , €2238, €2449

UK, 20%, £1944, £2,149

Ireland, 23%, €2275, €2499
Wages in San Francisco are way higher than Alabama, too.
I guess moralizing could be seen as an extremely ineffective form of marketing, if it's done at people rather than problems. That's an interesting angle, thank you.
Like docker? They made huge profits but docker itself has made practically no improvements. It's still using iptables when many distros switches to nftables causing a huge mess and the documentation is still really poor.
I think you may be unintentionally misinterpreting some of the items you've quoted.

1) Layoffs != Hiring frenzy. A company can slow or stop hiring but also not do layoffs. It's actually a common way to downsize softly.

2) Most of these companies are profitable. Running out of money isn't likely.
bitwarden is opensource. you can self host. the apps in the store are compatible with the self hosted options just change the url to your server. you can also fork any of the projects and build it yourself if you don't trust them.
To all the likely incredibly highly paid people here (by world standards) commenting on the poor Kenyan wages.

Rather than having vacuous, facile discussions on social media that achieve absolutely nothing other than signal how virtuous you are, why dont you donate a significant chunk of your wages to an African charity?
Good luck everyone! There's always https://news.ycombinator.com/jobs
Well it repos on my laptop, so no. :-D

I have seen it across multiple machines, different keyboards, different video cards. Super annoying, but at least it is consistent so I can get used to it...
What are Zelle transfer?
The "we lobbied for our people" is also weird. If at the end of the day $x million in salary has to be cut, and it's meritorious for a company to do it randomly rather than pruning the bottom whatever percent, it's extremely weird to add to that "a subset of people didn't lose their jobs because people in my department liked them". I'd say the best case scenario here is that the "lobbying" had no effect, and the emotional availability of management was just to make everyone feel better.
https://www.zellepay.com/ for those (like me) that don't know
Your "fixed" version is also broken (at time of writing). :-)
Being a junior without prior experience at a shitty company is a enormous risk. Being a senior means you can judge the shittyness, as junior this first experience will influence you for a good part of your future career, be it for the better or worse.

My advice, look for some decent, experienced people in any job you have, but even more so in your first. Build a trustfull relationship with at least one of those folks and get as much advice, mentoring and context out of them as possible.
Hopefully none, but if we come to blows we won’t have a choice in how many to accomplish our objectives, now will we? That’s the risk of war; so the PRC needs to back down over Taiwan.
There was a LOT of hiring the last two years. SFDC added 17K just last year, for example.
Waiting for bitwarden unified to come out of beta before I self
Host
My favorite YouTube restoration channel is My Mechanics - restoring metal objects with tremendous attention to detail and care (creating new parts as needed). I suspect many people who like the watch restorations will like this:

https://www.youtube.com/c/mymechanics
Am Kenyan in Tech/science. For the nature and the volume of work, the wages sighted here are grossly low. In addition, it appears that Sama was paid in US dollars and negotiated a great contract with OpenAI only to then exploit Kenyans and legally hind under the umbrella of low wages. Shame shame shame. This is so distressing " ... All of the four employees interviewed by TIME described being mentally scarred by the work. Although they were entitled to attend sessions with “wellness” counselors, all four said these sessions were unhelpful and rare due to high demands to be more productive at work...."
I thought COBRA benefits were retroactive? I was told you can sign up once you're at the hospital.
Yes. Peers added in this fashion would not have been signed by a trusted tailnet-lock key, so clients would refuse to trust them.
Does it surprise you that tech related layoffs would get the attention on a news site related to tech.

Why haven't people talked about the effects of these layoffs on dog-walkers servicing these former employees? They are talking about it on my dogwalking reddit forum.
Something else worth mentioning is that "cruel" and "lazy" parts of the advice the article talks about has more to do with people who've had it pretty easy lecturing people that haven't.

It's not that the message is wrong, it's that there's no empathy so it just comes across as incredibly tone-deaf (which it of course is).
Turn off javascript on the page. The server sends the full article to your browser.
You can take practical fire precautions like clearing brush around your hut. You can make sure you have an escape plan and stay in shape.

Long term, consider making fewer personal offerings to the dragons and plan to relocate to an area with lower dragon density.
> VC funds and acquisitions are rarely good for users

Where does this sentiment come from? I know very few applications I use that are VC funded or haven't gone through acquisitions...
Revue has shutdown after being acquired by Twitter in 2021
Established use of marketing speak you mean.
Congratulations on your lucky career timing! Like many in HN's demographic, if you started 13 years ago (2010) or less, then you've so far never had to work in a bear market. Actually your timing is astonishing, entering the industry right after the last downturn. Well done :)

In an extended bear market / downturn, throw that ratio out the window. Unless you're literally John Carmack or Ken Thompson, you're not going to just have headhunters begging you to work at their companies. In fact, even fishing expeditions from recruiters are going to quickly die out. You'll have to apply--a lot! You'll have to struggle to stay on your recruiters' radars. You'll have to follow-up, pinging for updates, "let me know how I can help move this forward" and so on. Things aren't just going to fall into your lap. This will be the case until we flip back to a bull market and hiring returns to "normal."

BTW my discipline is embedded / mobile development and then project management. Not that I think it matters--macroeconomic effects tend to hit uniformly across engineering disciplines.
The separate tools you're probably thinking of are `pkgconf` and `pkg-config`.
Wonder if they are just going to roll that in to help the stock price?
There's no "fair use" in UK law (where the lawsuit is happening). The corresponding "fair dealing" concept is much more narrow in scope.
Instant, no-fee, irreversible transfer between participating US bank accounts.

(Like most of the rest of the world has had for a decade or more, but it's new, and because it's new and there's very little education to consumers from the banks it's heavily used in scams. It also has a pretty confusing UX that lends itself to scams.)
I can't about Kenya, but this wage translates to around $240 per month (1.5 per hour, 40 hours a week, 4 weeks a month).

This is the average rate the government pays secondary school teachers in Ghana, after 2-3 years of experience. It's almost 2x the rate that private schools pay teachers.

With this wage, no allowances, a single person can live independently in an apartment, and eat out every single night of the week if they choose. It's a fine and decent wage for what amounts to work only requiring a good pair of eyes and basic literacy.
I mean kind of. Honestly this is better than anything thats going on in real life, but it definitely suggests that Sarah should just stfu and mind her own business and everyone will be happy.

Sorry but no, that is not reasonable. Sarahs concerns are valid and apply to children that are not her own.

That said, its a fucjing internet robot who gives a shit what it has to say.
> which is limited to the range 0 to 2^31-1, to defend against the existence of C programmers.

What is this nonsense? You mean Java, right? C has always had unsigned types.
Eh, it's misleading because it is not all tech. Drivers, warehouse, EAs, etc. Most tech companies are heavily dominated by tech employees, Amazon is different in that regard and given the pandemic saw a surge in demand for shipping, it seems entirely tenable for the company to grow so expediently.