HNHacker News
TopNewBestAskShowJobs

voltagedivider

22 karma · joined December 25, 2021

submissionscomments
voltagedivider··on The Revenge of the Hot Water Bottle
It wouldn't play nice with water and microwave ovens. I guess you could heat it on the stove or in a regular oven instead.
voltagedivider··on Former Labor Secretary Found What Work Is Like Now
> In the best outcome, the customer would be paying exactly the same amount that they pay now, or more, it just wouldn't be separated or optional in the bill.

I'd pay a premium just to avoid the distasteful master-servant relationship. It's insulting to assume that the customer would enjoy lording over others.

> just because they want a discount

It never crossed my mind that people do this. That's lousy.

voltagedivider··on Former Labor Secretary Found What Work Is Like Now
Any chance they're trying to end the practice of tipping for the betterment of workers in the long run?
voltagedivider··on PayPal faces lawsuit for freezing customer accounts and funds
Yeah, I don't get it either. Never had any problems with Wise and their rates seem fair. Maybe people use PayPal just for the escrow service?
voltagedivider··on New Year, New CEO
I wonder what a canary from Moxie would look like these days.
voltagedivider··on 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
Even simpler!
voltagedivider··on 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
Agreed. I've mainly seen the first `append` version in code written by people who've just discovered comprehensions and code golf.
voltagedivider··on 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
You're right that both iterate through something but `for` loops and comprehensions aren't used as if they were interchangeable.

For example, you'll sometimes see people do bad stuff like this:

  >>> lst = []
  >>> 
  >>> [lst.append(i + i) for i in range(10)]
  [None, None, None, None, None, None, None, None, None, None]
  >>> 
  >>> lst
  [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
  >>> 
When they should be doing this:

  >>> lst = []
  >>> 
  >>> for i in range(10):
  ...     lst.append(i + i)
  ... 
  >>> lst
  [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
  >>> 
Or just this:

  >>> lst = [i + i for i in range(10)]
  >>> 
  >>> lst
  [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
  >>>
voltagedivider··on 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
Exactly. That's why I asked about languages that don't require explicit typing. My point is that it's a feature of many languages rather than a Python idiosyncrasy.
voltagedivider··on 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
Isn't that common for all/most languages that don't require explicit typing?
voltagedivider··on Tell HN: Salary data is for sale
Aren't NFTs essentially just file hashes/signatures that can be associated with a public/private key pair on a blockchain? If so, the link between the NFT and the key pair might be solid (as in cryptographically secure) but the link between the NFT and its "underlying asset" (which might be copyrightable) seems flimsy.

That being said, since both NFT ownership and our legal systems rely on consensus and majority opinion, it's not hard to imagine a corrupt society in which the opinion of judges is disregarded in favor of blockchain consensus.

Edit: you might be joking but it's an interesting question nonetheless because it highlights how various systems compete for legitimacy :)

voltagedivider··on Sonoma County farm strikes black truffle gold after 9 years of waiting
> Do you know what the word blunted means?

I know of blunt statements and blunt/blunted knife blades but maybe I misunderstood your usage of the word. Care to explain?

voltagedivider··on Sonoma County farm strikes black truffle gold after 9 years of waiting
Viagra doesn't make your penis bigger; it temporarily alleviates erectile dysfunction.
voltagedivider··on Mozilla Foundation pausing cryptocurrency donations
> Much as I love Firefox, it's dead on mobile.

It's my primary browser on mobile and always has been. What am I missing?

voltagedivider··on Lawsuit filed alleging Google is paying Apple to stay out of the search business
> no one invested "a ton of energy into security and privacy controls".

Anti-virus?