News for hackers. Stuff that matters.

devmop

If you've got nothing to hide then you should just let law enforcement install CCTV in your bathrooms and bedrooms.
Re:The true cost of linked lists on Monday June 06, 2022 @09:41AM (#31640302)
It takes the same (huge) amount of time for all inputs - there's no early exit it always scans to INT_MAX. Hence O(1)
Re:Experience report on a large Python-to-Go translation on Wednesday February 12, 2020 @07:10AM (#22308157)
It's ugly either way but for clarity you can move the error checks into the transformation leaving the call point clean.

i.e transform1 returns (result, error) and transform2 accepts (result, error) and short-circuits if err is not nil.

It allows the expressive and succinct description of a transformation list but with a bunch of messiness hidden.

Re:Why we’re switching to calendar versioning on Sunday April 14, 2019 @09:17AM (#19659245)
Why not just move to 3.0? Semver only says that a breaking change MUST be an increase to the major version. It doesn't proscribe an increase of the major version without a breaking change.
Looks like a mistake. I think the first diagram under redirection is supposed to be about the ls redirection instead
Even they've gone down that route. 4chan's been split into two domains with the NSFW boards on the original and the SFW boards (or as safe as 4chan ever gets) on the other.
Re:Jeff Bezos Is Now the World's Second Richest Person on Thursday March 30, 2017 @06:11AM (#13994136)
In what way do employees not also take all of those risks? The degree of risk might be different but employees are also betting on the success of your business. You only have to look at the recent US election to see that people are taking all these risks.

Whilst I imagine a lot of people on HN see these risks as negligible they do still exist and it can go wrong.

Re:Jeff Bezos Is Now the World's Second Richest Person on Thursday March 30, 2017 @05:15AM (#13993941)
What risk? That they'd spend money on something that made them no/less money?

Other than their initial investments business owners are protected from almost all the risks their businesses take on. Company debts aren't personal debts and individuals can't be forced to work to repay the debts they cause the business to take on. Worse still these safety nets aren't paid for as these companies don't make a profit.

Whilst I won't discount the work Bezos has done the reason he's come out 1000s of times better off than other Amazon workers is because of his initial gamble.

It's not like the workers don't take on risks either. Almost all paid work is paid after the fact. If your employer goes bust you don't get paid

The quote is from a UK report
Re:I've removed all ad network code from my blog on Thursday January 05, 2017 @10:31AM (#13327865)
I'd like to see an ad-network which you can pay and they'll serve you transparent ads instead.

The underlying content providers still get their pay per view, the ad network is still in the loop and no one needs to implement anything new - the technology is already built.

Re:Amazon Restaurants on Friday December 16, 2016 @05:07AM (#13192228)
Amazon logistics at least do Sunday deliveries as well. Far too many stores have "next day delivery" for which ordering on Friday night means it doesn't arrive until Tuesday.
TL;DR AV infects Chrome processes to the point they can't ship security features because they no longer control the application code.
Re:Ask HN: Any good resources for finding software jobs abroad? on Wednesday November 09, 2016 @02:59AM (#12907455)
Thanks for that. I should probably just rewrite my profile in Japanese.

そうして来月のN2試験に集中しないと問題になります。

Re:Ask HN: Any good resources for finding software jobs abroad? on Wednesday November 09, 2016 @01:53AM (#12906850)
Do you have any advice on finding good recruitment firms out there? I've gotten too used to firms turning up on LinkedIn with piles of jobs.