Better HN
topnewbestaskshowjobs
Log inSign up

benttoothpaste

379 karma · joined Mar 8, 2019 (7y ago) · 114 submissions

Submissions

comment 4y ago · link · parent

If zig supports + for floating point addition, then it is already fine with ‘+’ being non commutative. The rest of the argument can also be applied to functions. What does product(a, b) do?

comment 4y ago · link · parent

It looks like your Norton 360 subscription has not been renewed. The contents of your disk are therefore encrypted. In order to obtain the decryption key, please submit your subscription payment within the next seven days. For your convenience, we accept Visa and Mastercard -- unlike some of our competitors that require payments only in BTC!

33.

AMD first out of the gates with Microsoft's security processor(theregister.com ↗)

1 points · by benttoothpaste · 4y ago · discuss

comment 4y ago · link · parent

Hello world definitely can fail even in English. It's just that nobody checks to make sure the print operation succeeded.

comment 4y ago · link · parent

When I was a kid I had a 286 with VGA. However the monitor I had was black and white (64 shades of gray). It required to run a special program to map colors to shades of gray correctly. But the photos looked fantastic - in black and white of course. Much better than in 256 colors. Plus nudes in b&w look more "artistic" ;)

comment 4y ago · link · parent

It’s easy with kids. “Now daddy needs to make an important phone call so do not disturb him and be quiet.”

comment 4y ago · link · parent

I don't have a Framework, but I had this kind of problem with my Dell XP. Turns out there is a USB port that will drain the battery if anything is plugged in there - and this is even documented but not very visible in the docs. I had to move my device to a different port to alleviate this. Maybe something similar is going on here?

comment 4y ago · link · parent

> Standby battery drain is the worst, easily 20-30% overnight, which I find unacceptable.

I guess that’s the “modern standby” that is replacing s3 sleep these days.

comment 4y ago · link · parent

If your contract is "all your work are belong to us", then it can have some funny legal consequences with each company claiming ownership of the entirety of your work.

More important are trade secret issues. These are treated very seriously and can result in criminal penalties. So be super careful here - though different industries certainly help.

Not sure about the carrier consequences. Don't put overlapping jobs in your resume and make sure all your employers are satisfied. Quit some of your jobs if you're overwhelmed.

comment 4y ago · link · parent

Yeah that looks like a big loophole that is ripe for abuse.

comment 4y ago · link · parent

Long should be a 64 bit type on 64 bit machines, no?

comment 4y ago · link · parent

Yeah it was risky. It is quite common for excessive security practices to actually decrease security and that particular example was not nearly the most egregious one in that company.

comment 4y ago · link · parent

I used to work for a financial company that used such extensive blocking. One day I had to download a particular version of boost libraries (the C++ ones). Of course all official sites to download from were blocked. So I searched for the specific file name (a tar.gz archive). And eventually I found something that was not blocked: a misconfigured server somewhere in Russia. Misconfigured because it served entire contents of its hard disk - and Google indexed it all. And there it was - my coveted boost archive which I promptly downloaded.

comment 4y ago · link · parent

In general A2P messages are subjected to harsh anti-spam filters. SMS spam filters work similar to email spam filters - i.e. they use various Bayesian rules to calculate spam score and classify the message as spam if that score is above threshold.

In addition, SMS filters are more strict than email filters - because they have a lot less text to work with and also SMS spam is more annoying than email spam. The downside is that there are more false positives than in case of emails.

So it is quite possible that your message exceeded the threshold with "Verizon" in it, but was just below the threshold without "Verizon".

comment 4y ago · link · parent

I always use x2x. It allows sharing of the keyboard and mouse between several machines.

comment 4y ago · link · parent

Not just ethical concerns. If trade secrets are involved there is a possibility of criminal charges.

comment 4y ago · link · parent

Right. Lawmakers should follow the regular insider trading rules. They should be considered insiders for all their trades.

comment 4y ago · link · parent

To be fair hurricanes and tornadoes are not completely separate phenomena. Hurricanes are know to spawn tornadoes within them and these tornadoes can substantially add to the destruction.

comment 4y ago · link · parent

But NAT can protect your internal addresses. If your ISP changes your IPv6 address/prefix, all devices in your network will change their addresses too. This is pain in the ass that can be alleviated by NAT.

comment 4y ago · link · parent

> -10C weather

Does it ever get this cold in Hong Kong?

comment 4y ago · link · parent

It just means Microsoft trusts this technology.

comment 5y ago · link · parent

Does it require a subscription? If it does, this would be much bigger issue for me than DRM ebooks.

comment 5y ago · link · parent

That’s great. I’ve always wanted to become an admin.

comment 5y ago · link · parent

I don’t understand this. Why would you replace butt with butt?

comment 5y ago · link · parent

You can apply OOP principles to even the simplest problems. Search for “fizzbuzz enterprise edition” to get some ideas.

comment 5y ago · link · parent

Always hilariously slow? That must have been before Ivy Bridge.

comment 5y ago · link · parent

This is what happens when you do "data-driven" development. You need to improve the various metrics that telemetry gives you. I'm sure they have some "increase percentage of links opened using Edge" OKR.

comment 5y ago · link · parent

Not sure about "best" practices, but Pycharm (a popular Python IDE) will warn about the wrong type in such cases.

comment 5y ago · link · parent

3 years for SD card is very long. Mine requires SD card replacement after 3-4 months. I hate that storage medium.
1234