HackerTrans
トップ新着トレンドコメント過去質問紹介求人

hermitdev

no profile record

コメント

hermitdev
·6 か月前·議論
Every time see Mr Beast (I don't watch any of his stuff, just accidentally see promos on Prime sometimes), he reminds me of Homer Simpson's forced smile in the Simpsons' espiode "Re-Nedufication" [0].

[0]: https://i.pinimg.com/originals/c8/84/8e/c8848e81afa88a42bd4d...
hermitdev
·7 か月前·議論
> to 4 GB packets

Heh. Anyone remember the ping of death[0]? A lot (most?) of computers on the early internet didn't properly handle large packets, _especially_ from ICMP pings. Once upon a time, you could send a single ping w/ a packet size of 65536 and crash the remote.

[0] https://en.wikipedia.org/wiki/Ping_of_death
hermitdev
·8 か月前·議論
While your example of `sum` is a nice, pure function, it'll unfortunately blow up in python on even moderately sized inputs (we're talking thousands of elements, not millions) due to lack of tail calls in Python (currently) and the restrictions on recursion depth. The CPython interpreter as of 3.14 [0] is now capable of using tail calls in the interpreter itself, but it's not yet in Python, proper.

[0]: https://docs.python.org/3/whatsnew/3.14.html#a-new-type-of-i...
hermitdev
·2 年前·議論
FWIW, you have some control over how this inference is done. Search your settings in vscode for `@ext:ms-python.vscode-pylance strict`.
hermitdev
·2 年前·議論
AT&T does a lot more than just cell phones. Probably also the largest US ISP behind Comcast, I'd expect. I had AT&T fiber to the home at a previous residence, and that was a great product. Far superior to Comcast.
hermitdev
·2 年前·議論
My SS card has that text. I got into an argument at the DMV when they asked for it. I relented because I needed my drivers license.

Congress could solve this by enacting a simple law. Something to the effect of SSNs shall not be used as a means of identification by any party, governmental or otherwise other than the Social Security Administration. Use of an SSN as identification shall be subject to a $100 fine per each SSN used as identification, per day.
hermitdev
·3 年前·議論
The problem isn't changing implementation. This is expected with shared libs. The problem is changing the contract of the function and then expecting it to be drop in compatible. It's not. It _should_ be treated as a breaking ABI change, because the old behavior and new behavior are not compatible, yet it's being masqueraded as such. It's quite literally the same behavior/attitude behind the "w" vs "wt" change that led to aCropolyse.
hermitdev
·4 年前·議論
Can probably add another falsehood: that timezone information (in particular DST & UTC offsets) will never change. In reality, timezones are very much political and can change at any time with sometimes very little notice. Last major change US folks may remember occurred around 2007, when daylight saving time was expanded by 6 weeks. I know of clocks that are still wrong from that change.

At a previous job, I spent over a year working on a library for timezones built on top of Boost. The handling of historical timezones was a particular pain in the ass.
hermitdev
·5 年前·議論
> What is happening here?

Music (and likely other media) is typically licensed for distribution regionally or nationally. What you're seeing here is probably the (unexhaustive) laundry list of different rights holders for various international markets.

Remember region locking for DVDs? That wasn't (just) due to NSTC vs PAL.
hermitdev
·7 年前·議論
What pisses me off is the intrusiveness of the ads. Auto playing video or audio. The amount of malware attacking browser zero days. Until that goes away, I'm going to run a layer of adblockers. That's a problem the ad networks introduced and allowed. It's not on me, as an end user, to fix. You serve me auto playing audio, video, and malware? I'm going continue to block you until you fix that.
hermitdev
·9 年前·議論
I'm curious: does anyone have any documentation/resources on how this stacks up with openonload?