Better HN
topnewbestaskshowjobs
Log inSign up

7786655

202 karma · joined Aug 19, 2019 (7y ago) · 112 submissions

Submissions

comment 5y ago · link · parent

>calculating the total size of the string to allocate memory

In some languages this is 90% of everything you do with strings. In other languages it's still 90% of everything done to strings, but done automatically.

comment 5y ago · link · parent

No, but the alternative is that they would have stolen the data anyway. So it's either neutral or positive.

>let's sanction crime against them

If it were legal it wouldn't be a crime.

>Are you sure kindergardens are punished reliably enough for lapses of security?

Given that I rarely hear about children being kidnapped out of kindergartens, I would assume so. I'm not well educated on this, though, since I don't have a personal stake in the matter.

comment 5y ago · link · parent

Game 1: Every time offence scores, they get $100 of defense's money.

Game 2: Every time offence scores, they get $100 of my money. Defense loses nothing.

Neither is fair to defence, but game 2 is unfair to me, and that's what's important.

comment 5y ago · link · parent

Schools, kindergartens and parents have a legal responsibility for children under their protection. However it has been repeatedly proven that businesses who allow enormous amounts of user's personal and financial data to be leaked will suffer no meaningful consequences. See: Yahoo!, Target, Experian, etc.

comment 5y ago · link · parent

And the sharer is just going to trust you to throw away that information? I don't think so.

comment 5y ago · link · parent

Looks like you get through once and then it blocks you. Ctrl-F5 fixes it.

comment 5y ago · link · parent

>The copy_file_range() system call looks like a relatively straightforward feature; it allows user space to ask the kernel to copy a range of data from one file to another, hopefully applying some optimizations along the way.

comment 5y ago · link · parent

Yes.

comment 5y ago · link · parent

>it's entirely possible that Telegram sends everything to some government entity somewhere even for private chats

No, private chats use end-to-end encryption, and unlike WhatsApp the Telegram client is open source so this can actually be verified.

comment 5y ago · link · parent

I assume tomjen3 was referring to browser extensions that block ads on the YouTube website.

comment 5y ago · link · parent

Why? You need Python to run Meson anyway, might as well install Ninja too.

comment 5y ago · link · parent

How on earth is that anonymous? All of your emails are on the same domain, and nobody else is using that domain. As soon as I see an email @jamesboehmersdomain, I know that it belongs to jamesboehmer.

comment 5y ago · link · parent

They should leave it up, obviously.

I mean they have the right to take it down, but if I were running YouTube I wouldn't.

comment 5y ago · link · parent

To do what? Use the fluent design widgets? Why would anyone want that?

comment 5y ago · link · parent

Winamp skins can also be used in Audacious.

comment 5y ago · link · parent

Was able to pull this off on 4chan, kinda: https://boards.4chan.org/b/thread/841284283

comment 6y ago · link · parent

Python uses UCS-4.

comment 6y ago · link · parent

You can absolutely use Android without having the Play Store installed.

comment 6y ago · link · parent

If you are switching authenticator apps, I would suggest switching to one that respects your freedom, such as Aegis, andOTP, or KeePass.

It's worth also noting that Authy also has no official way to export your secrets, although there are workarounds: https://tij.me/blog/migrating-your-one-time-passwords-from-a...

comment 6y ago · link · parent

You can have multiple files open in multiple panes in Vim. It even has a built in terminal emulator, which removes most of the reasons to use tmux.

comment 6y ago · link · parent

This is a problem with Google authenticator, not with RFC 6238 TOTP in general. Plenty of authenticator apps support backing up your secrets.

comment 6y ago · link · parent

0. The freedom to run the program as you wish, for any purpose.

1. The freedom to study how the program works, and change it so it does your computing as you wish. Access to the source code is a precondition for this.

2. The freedom to redistribute copies so you can help others.

3. The freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.

comment 6y ago · link · parent

Personally I would very much be in favor of banning public smoking, especially if such a law extended to tobacco as well.

comment 6y ago · link · parent

I've had good results with LineageOS-microg. Obviously I would prefer a 100% free OS, but you can't let the perfect be the enemy of the good.

Make sure you back up the stock rom first, you might need it later.

comment 6y ago · link · parent

I use it to watch YouTube videos in MPV. I have a machine where Chrome won't start and Firefox can't reliably display video without dropped frames, but MPV runs perfectly.

comment 6y ago · link · parent

  -c copy

comment 6y ago · link · parent

This page works by hiding the mouse cursor and displaying an image that looks like it. So it's not like the browser developers deliberately added a feature to make this possible.

comment 6y ago · link · parent

s/devices/Apple devices/?
1234