HNHacker News
TopNewBestAskShowJobs

benttoothpaste

379 karma · joined March 8, 2019

submissionscomments
benttoothpaste··on Failing to Learn Zig via Advent of Code
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?
benttoothpaste··on Norton 360 Now Comes with a Cryptominer
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!
benttoothpaste··on How programmers make sure that their software is correct
Hello world definitely can fail even in English. It's just that nobody checks to make sure the print operation succeeded.
benttoothpaste··on Nude pictures on early retro PCs – was it possible?
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" ;)
benttoothpaste··on My Many Girlfriends
It’s easy with kids. “Now daddy needs to make an important phone call so do not disturb him and be quiet.”
benttoothpaste··on Framework Laptop with Ubuntu Review
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?
benttoothpaste··on Framework Laptop with Ubuntu Review
> 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.

benttoothpaste··on Ask HN: What are the potential consequences of working multiple remote jobs?
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.

benttoothpaste··on Many surprise medical bills are now illegal
Yeah that looks like a big loophole that is ripe for abuse.
benttoothpaste··on Microsoft Exchange stops passing mail due to bug on 1/1/22
Long should be a 64 bit type on 64 bit machines, no?
benttoothpaste··on Using Brave's “Private Window with Tor” could get you fired
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.
benttoothpaste··on Using Brave's “Private Window with Tor” could get you fired
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.
benttoothpaste··on Verizon Rejecting Twilio Error Message as Violating Carrier Guidelines
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".

benttoothpaste··on Cool, but Obscure X11 Tools
I always use x2x. It allows sharing of the keyboard and mouse between several machines.
benttoothpaste··on Overemployed – Work Two Remote Jobs
Not just ethical concerns. If trade secrets are involved there is a possibility of criminal charges.
benttoothpaste··on Pelosi defends stock trading by lawmakers. ‘We are a free-market economy’
Right. Lawmakers should follow the regular insider trading rules. They should be considered insiders for all their trades.
benttoothpaste··on Six dead after tornadoes destroy Amazon warehouse near St Louis
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.
benttoothpaste··on IPv4 Waiting List
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.
benttoothpaste··on Ask HN: Why is everything changing too fast?
> -10C weather

Does it ever get this cold in Hong Kong?

benttoothpaste··on Microsoft’s new Windows prompts try to stop people downloading Chrome
It just means Microsoft trusts this technology.
benttoothpaste··on I returned my Remarkable2
Does it require a subscription? If it does, this would be much bigger issue for me than DRM ebooks.
benttoothpaste··on New Windows zero-day with public exploit lets you become an admin
That’s great. I’ve always wanted to become an admin.
benttoothpaste··on Ask HN: What browser extensions are a must-have in 2021?
I don’t understand this. Why would you replace butt with butt?
benttoothpaste··on Advent of Code 2021
You can apply OOP principles to even the simplest problems. Search for “fizzbuzz enterprise edition” to get some ideas.
benttoothpaste··on A 100LOC C impl of memset, that is faster than glibc's
Always hilariously slow? That must have been before Ivy Bridge.
benttoothpaste··on You can no longer bypass microsoft-edge:// links using apps like EdgeDeflector
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.
benttoothpaste··on Python 3.10
Not sure about "best" practices, but Pycharm (a popular Python IDE) will warn about the wrong type in such cases.
benttoothpaste··on Nine Raspberry Pis powering an office (2016)
3 years for SD card is very long. Mine requires SD card replacement after 3-4 months. I hate that storage medium.
benttoothpaste··on Daylight Savings Time (2020)
Actually if you like daylight "saving" time you need to shift to 8am-4pm.
benttoothpaste··on Optimizations Enabled by -ffast-Math
The checks could be expensive though, more expensive than the gains from this optimization. Often it is better to let the calculation proceed and use isnan to check the final result.
← PreviousPage 2 of 4Next →