Hacker Newsnew | past | comments | ask | show | jobs | submit | hummingly's commentslogin

When you call to_owned, it creates a Vec<u8>. This must then be truncated due to the call to into_boxed_slice. The documentation says this could potentially mean a re-allocation depending on the allocator. When this happens the old allocation needs to be dropped too. You could try using a different allocator but before this I would recommend to replace those two calls with Box::from(s.as_bytes()).


The vec already gets allocated with capacity == length

https://doc.rust-lang.org/nightly/src/alloc/slice.rs.html#16...


That's an interesting thought. In high school I met many girls that were actually interested in informatics but had a hard time keeping up and thus did not pursue a career in tech. The women who did end up studying with me were either:

* extreme gamers

* close to parent with interest in tech (me)

* mocked by males as too stupid to learn informatics

* generally adventurous and did not care about appearance

* highly ambitious/great work ethics

In general, all did have a good amount of self confidence. Maybe it is just easier to end up in the adult industry if you are taught from an early age you are an sex object rather a human being with interests. This might sound extreme but I met males that pretended to treat me as a friend but never thought of me as a human. It is then freaking scary to be all alone in a course with them and without backup like other women.


It took me almost half a year to figure out that Firefox was missing the minimize/maximize button because Gnome by default hides them. And I only figured out after having to install Gnome Tweak tool because I moved to Gnome temporarily...


This sounds more like high school than a workplace. You're really not at fault here. But I also understand how real life work can kill passion. It is why I went to pursue computer science instead of art. Don't let others take your joy away. It takes a long time to recover.


Does it stop when you disable credit card auto completion in the settings?


I have hopes that I may remember to do this some time in 2024.


YouTube does not provide the same value as it used to and therefore paying for it seems only to block ads. These days I rarely find new content creators and content creators are probably struggling even more. The recommendation algorithm is totally biased towards some screwed sterotypes and clicking I do not want to watch this content creator's video never helps. Some ads are so offensive/dangerous you do have to use an ad blocker just to protect your mental health.

It is like someone peed into the free lemonade and demands money for it.


> My email address is linked to several hundred accounts which I use to run my life, manage my household, do finances, etc.

Any reputable service allows changing email addresses. For less important services like Amazon you can use an email alias. Tutanota and Proton are nice email providers whi do not read the content of your emails and and not scan files.

> My email address is, of course, the primary means of communicating with me other than phone.

If you have a phone, can't you just install a messenger? Session does not require a telephone number nor a smartphone, I think.

> I also use Sign In With Google on dozens of the above accounts, so they are a definite dependency on the Google account.

In your Google Account settings which accounts use Sign In With Google. Go to each account and change authentication to email and password wherever possible.

> I own an Android phone and a Chromebook. I operate 3 personal accounts, and my employer relies on Google as our primary business platform.

Does not prevent you from using a secondary email for your personal important stuff like government and financing.

> My Google Calendar and Tasks are my sole method of scheduling everything I do in life, from daily tasks to events I attend and everyone's birthdays.

> My Google Contacts contain all contacts of everyone I know and is the sole repository of that data.

Should be exportable as ics files I think. Make at least a backup once in a while.

> Google Docs and Sheets are my sole word processing and spreadsheet apps, which I use to great effect for writing letters, managing household, etc. etc. I know them like the back of my hand, and I also use them every day for work.

Get an offline editor like LibreOffice. Online editors are crap when your internet connection is off or need to make a ton of content.

> All the photos I've ever taken since 2015 are stored only in Photos. Not many, of course, but some I'd miss.

You can download them for offline use, make a backup and then print out the ones you really care for.

> I'm increasingly using Wallet and GPay for financial transactions and event tickets. I even hear tell that my jurisdiction is putting driver licenses on Wallet now.

If you use GPay, it is even more important to not have any content stored in your account. See the case of a father sending his doctor a picture of his son for diagnosis. It was falsely recognized as child porn and the father had no way to get back the account. If your account gets suspended, you are out of luck.

> So could you rephrase your advice to me please? Which $20/year service replaces these apps, and permits easy import of all my data from Takeout?

> If someone used 365, would you demand that they GTFO Microsoft and junk their Windows systems? What should we run? A PDP-11?

Noone said to nuke your Google account. In fact you're being very passive aggressive despite not having made any effort on researching alternative apps. Don't tie your whole offline and online identity to one provider who doesn't care about you except for your (and people close to you) money and data.


Whenever a new device needs to be setup for my parents, I just install whatever I use (Firefox in this case). Then I show them the things they need on a day by day basis. The problem are people who did grow up with tech. They will say things like it will take too long. In cases like this you need to manipulate them based on their personality.


I think current Hollywood is a prime example of doing objectively bad art especially live action movies. They ignore the source material to make it fit their political agenda, which has always been a thing, but it becomes problematic when it breaks the characters and rules of the world. The stories become so inconsistent that you just cannot get immersed. Knowing more about the writer than the characters is really bad writing.

I also consider the all knowing character very popular in webtoons to be just a form of cheating. I've seen it done well, e.g. knowledge as a double-edged sword, but mostly poorly to the point it could have been removed and the story would have been the same. In general adding superflous elements because it is trendy is really shallow writing.


> I think current Hollywood is a prime example of doing objectively bad art especially live action movies.

There are two movies out today that are famously doing very well and are quite good.

> They ignore the source material to make it fit their political agenda

It's one thing to use "thought terminating cliches" in posts, but actually believing them is nothing more than self-harm, so you should try stopping.


I wish the pledge systems for bottles would also be applied to technical devices. So far the only company I know of is Shiftphone.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: