Better HN
topnewbestaskshowjobs
Log inSign up

lightbyte

1,727 karma · joined Jul 1, 2016 (10y ago) · 468 submissions

Submissions

comment 8y ago · link · parent

A common method I've seen to get around that is to first hash the password with something like SHA512 before applying bcrypt. This allows you to use longer passwords as well as setting them all to a constant length for bcrypt (which can potentially remove a ddos vector).

comment 8y ago · link · parent

I think the name of the organization that is running the ad is also a problem. They seem to be trying to co-opt the "progressive" label for something that is completely opposite to what it is supposed to (over the last few years) stand for.

I can't tell if they are intentionally doing that for nefarious reasons. Imagine seeing a "Conservatives for repealing the 2nd amendment" ad. I would assume they have some ulterior motives there.

comment 8y ago · link · parent

Has the article been updated? I used google translate on it and the last line is

>According to him, the accident is not caused by the autopilot system, with which the car can be controlled without the help of a person. "This system was not in this car."

Seems this is just a regular crash caused by a regular driver in a regular car.

comment 8y ago · link · parent

> If the state can just clamp down however it wants on private enterprise, then eventually all private enterprise becomes state enterprise. See China.

The leap you just made from cities not being able to be extorted by corporations for tax cuts to all private enterprise becoming state enterprise is so massive I have no idea how you even did it.

comment 8y ago · link · parent

>If you ask someone from the Air Force to "secure the building," they will get you a seven-year lease with an option to buy.

Can you explain this? All the other ones made sense, but I don't understand what this is implying.

comment 8y ago · link · parent

I think that one result is a bit misleading.

79.6% said they consider the ethical implications of what they are asked to do.

82.3% said they would report ethical concerns in some form.

58.5% said they would refuse to write code they thought was not ethical (36.6% said they are unsure).

comment 8y ago · link · parent

Erlang has been used for decades in telcom, ATM, and financial software and probably much more. It was literally invented to be used in a production telcom system.

comment 8y ago · link · parent

You may have missed this part:

>Phantom can also remotely wipe devices in the event they are seized by authorities.

>The RCMP also pretended that authorities had arrested an associate with incriminating evidence on the phone, and needed Phantom to wipe the device.

That seems to be actively participating in trafficking from the company, as well as potentially destroying evidence.

comment 8y ago · link · parent

Considering school shooters actually happen, and quite often at that, I'd say it's a bit more scary than a nuclear drill.

Nuclear drills don't really do anything anyway, if a nuke is coming you're going to be dead regardless of you hiding under your desk.

comment 8y ago · link · parent

Yeah, usually the people who the loudest at preaching something are themselves going against it.

comment 8y ago · link · parent

Getty already reached a deal with Microsoft regarding this in 2015:

https://searchengineland.com/microsoft-getty-images-announce...

comment 8y ago · link · parent

So far in my life I've seen quite a few extremely anti-LGBT republicans end up getting caught with their pants down with another man (or young boy).

comment 8y ago · link · parent

The claim is not that he was getting pissed on, it is that he paid prostitutes to pee on a bed that the Obama's previously used.

comment 8y ago · link · parent

>I had to get a new phone because it was slow to the point of being unusable.

What new phone did you end up getting? I hope it wasn't another iPhone.

comment 8y ago · link · parent

>or - even better - r/wallstreetbets.

This is not a serious sub, it is satire/trolling/shitposting.

comment 8y ago · link · parent

>In our distract the high school starts at 7am and the small kids start at 9am. This makes no sense to me at all. (I'm not a kid complaining, I'm a parent)

I was always under the impression this staggered start rate among school tiers was because they all share the same buses. If they all started at the same time they would need ~3x as many buses and bus drivers.

comment 8y ago · link · parent

If it's too cold for you to go outside surely you can't complain about having to be inside at work. OP's comment was about not being able to get outside during daylight hours.

comment 8y ago · link · parent

If I'm remembering correctly, that was actually the main problem. Most, if not all, are being held based on evidence or intelligence that would not fly in a typical American trial.

If they closed Gitmo and brought the detainees to the US for trial, almost all would have to be released.

I'm not necessarily saying that is a bad things, surely some (or even all) do not deserve to be held and should be released, but all it takes is one coming back and committing a terrorist act (could you even blame them after being illegally held and tortured for years?) for the worst PR nightmare a politician could even imagine rains down on them.

comment 8y ago · link · parent

Dodge v Ford Motor Co. [1]

>A business corporation is organized and carried on primarily for the profit of the stockholders. The powers of the directors are to be employed for that end. The discretion of directors is to be exercised in the choice of means to attain that end, and does not extend to a change in the end itself, to the reduction of profits, or to the non-distribution of profits among stockholders in order to devote them to other purposes...

[1] https://en.wikipedia.org/wiki/Dodge_v._Ford_Motor_Co.

comment 8y ago · link · parent

It's not a myth, it's a very common interpretation of Dodge v Ford [1]

>A business corporation is organized and carried on primarily for the profit of the stockholders. The powers of the directors are to be employed for that end. The discretion of directors is to be exercised in the choice of means to attain that end, and does not extend to a change in the end itself, to the reduction of profits, or to the non-distribution of profits among stockholders in order to devote them to other purposes...

It's not the only interpretation however

>Dodge is often misread or mistaught as setting a legal rule of shareholder wealth maximization. This was not and is not the law. Shareholder wealth maximization is a standard of conduct for officers and directors, not a legal mandate. The business judgment rule [which was also upheld in this decision] protects many decisions that deviate from this standard. This is one reading of Dodge. If this is all the case is about, however, it isn't that interesting.

[1] https://en.wikipedia.org/wiki/Dodge_v._Ford_Motor_Co.

comment 8y ago · link · parent

It's not mandatory, you're free to move to Somalia and renounce your citizenship if you don't like having a government.

comment 8y ago · link · parent

>but if you can identify an image in that way then you can claim the copyright anyway.

Just identifying the images are the same doesn't prove which was the original though. The hashes being publicly available is the key, because you can easily tell which came first.

comment 8y ago · link · parent

That won't stop you from visually identifying that they are the same, then just looking at the block-chain to see which hash was published first (and thus the real photo).

comment 8y ago · link · parent

>How will you be aware of it? And what prevents someone from tweaking one pixel by one bit, changing the hash of the new image?

I suspect this would be solved by visually comparing the two images and noticing that they are one in the same. Than you can just see which had their hash published on the block-chain first to see which is the real one.

comment 8y ago · link · parent

So you're trying to get around regulations that you would need to follow if you wanted to do an IPO?

comment 8y ago · link · parent

>Things like Lasik, Invisialign, and plastic surgery prove the market can work in healthcare.

It's no coincidence that all three of those are optional services that (most) people do not need to not die. The free market has worked relatively well for services like that, and most healthcare does not fall under that category.

comment 8y ago · link · parent

The "war on drugs" wasn't a war on drugs, it was a war on drug users. I can see why the OP was confused.

comment 8y ago · link · parent

Counter anecdote to your anecdote: I took tons of cabs when I was visiting Colombia and I didn't know a single bit of Spanish. I'd just pull up google maps, click on where I wanted to go, show them the screen. Every single one was perfectly fine.

comment 8y ago · link · parent

Funnily enough the few reported instances of actual voters voting multiple times this past election were (almost?) all people attempting to vote multiple times for Trump.

One such instance: https://www.washingtonpost.com/news/post-nation/wp/2017/01/2...

comment 8y ago · link · parent

There is a reason for that. If your business goes bankrupt it can be liquidated to settle debts. Once that is done you are left with nothing. The same cannot be done with an education. You can't "give back" knowledge to your school, or sell it to someone else.
1
567
16