News for hackers. Stuff that matters.

7786655

>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.

Re:The Worsening State of Ransomware on Monday March 22, 2021 @05:16PM (#26547223)
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.

Re:The Worsening State of Ransomware on Monday March 22, 2021 @03:12PM (#26545352)
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.

Re:The Worsening State of Ransomware on Monday March 22, 2021 @03:01PM (#26545226)
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.
And the sharer is just going to trust you to throw away that information? I don't think so.
Re:When did generic grocery brands get so good looking? on Wednesday February 24, 2021 @03:41PM (#26255550)
Looks like you get through once and then it blocks you. Ctrl-F5 fixes it.
Re:How useful should copy_file_range be? on Friday February 19, 2021 @03:04PM (#26197422)
>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.
Re:Epic Games steps up Apple fight with EU antitrust complaint on Wednesday February 17, 2021 @02:14PM (#26170261)
Yes.
Re:WhatsApp alternatives that respect privacy on Monday February 15, 2021 @12:15PM (#26144693)
>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.

Re:VideoLAN is 20 years old today on Monday February 01, 2021 @04:22PM (#25994147)
I assume tomjen3 was referring to browser extensions that block ads on the YouTube website.
Re:Future Plans for Autotools on Monday January 25, 2021 @07:46PM (#25911034)
Why? You need Python to run Meson anyway, might as well install Ninja too.
Re:Firefox Relay on Monday January 25, 2021 @12:42PM (#25906179)
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.
Re:The YouTube ban is un-American, wrong, and will backfire on Friday December 11, 2020 @07:41PM (#25393856)
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.

Re:Qt 6.0 on Tuesday December 08, 2020 @01:50PM (#25349690)
To do what? Use the fluent design widgets? Why would anyone want that?
Re:Winamp Skins Collection on Wednesday December 02, 2020 @05:13PM (#25282413)
Winamp skins can also be used in Audacious.
Re:I Made a Self-Quoting Tweet on Monday November 30, 2020 @06:06PM (#25260197)
Was able to pull this off on 4chan, kinda: https://boards.4chan.org/b/thread/841284283
Python uses UCS-4.
Re:Apple’s M1 silicon is all about platform control on Monday November 23, 2020 @12:34PM (#25189251)
You can absolutely use Android without having the Play Store installed.
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...

Re:I Still Use Vim on Thursday November 12, 2020 @05:51PM (#25076324)
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.
This is a problem with Google authenticator, not with RFC 6238 TOTP in general. Plenty of authenticator apps support backing up your secrets.
Re:No More Free Work from Marak: Pay Me or Fork This on Tuesday November 10, 2020 @04:43PM (#25052387)
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.

Re:There was a clear winner on election night: Marijuana on Wednesday November 04, 2020 @07:27PM (#24994528)
Personally I would very much be in favor of banning public smoking, especially if such a law extended to tobacco as well.
Re:Google users locked out after 15 years' use on Monday November 02, 2020 @06:36PM (#24974741)
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.

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.
Re:My chatbot is dead – Why yours should probably be too on Tuesday October 20, 2020 @02:17PM (#24840641)
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.
Re:Ask HN: Will devices keep getting hotter, uncomfortably so? on Wednesday October 07, 2020 @06:40PM (#24713659)
s/devices/Apple devices/?
Re:Stop the Earn IT Bill Before It Breaks Encryption on Tuesday October 06, 2020 @02:06PM (#24700648)
There is no situation in which the spread of "content" should be a crime. Any encryption that allows LE to track content is broken.
USB C would be as if we could already plug arbitrary lamps into arbitrary sockets, but then someone decided the same socket that powers lamps should also be able to refuel a car and now you have to plug and pray with five different cables before your lamp will work. Also if you use the wrong one it will spray gas all over your lamp and catch fire.

Older »