Better HN
topnewbestaskshowjobs
Log inSign up

divbzero

11,264 karma · joined Oct 8, 2017 (9y ago) · 2,949 submissions

Hello, world.

  #!/bin/bash
  name=chris
  user=divbzero
  email=${name}@${user}.com
  code=https://github.com/${user}
  website=https://${user}.com
[ my public key: https://keybase.io/divbzero; my proof: https://keybase.io/divbzero/sigs/o74zfvmaYGlCRV0hSUGRNdI1y03rbNP65tL072qROtg ]

[ my kismet code: ef956b ]

Submissions

comment 6y ago · link · parent

It obviously takes more than $0.00 but not that much more. It’s a matter of adding a second DNS provider and making sure you replicate DNS records manually or with AFXR.

What’s really puzzling is if the same companies spend money on active/passive failover for application and database servers while overlooking DNS single point of failure.

comment 6y ago · link · parent

Ignore it and fight through it!

It’s the equivalent of sore muscles that professional athletes feel after training day after day.

comment 6y ago · link · parent

A pain point that I’ve encountered repeatedly but observed consciously for the first time today: The natural comfortable font size can vary for different languages. Hence, a font size of say 14px that works just fine for English could make you squint when reading Chinese.

A solution for this is to add something like the following to your CSS stylesheet:

  :lang(en) {
    font-size: 14px;
  }

  :lang(zh) {
    font-size: 18px;
  }

2524.

:lang() CSS Pseudo-Class(developer.mozilla.org ↗)

3 points · by divbzero · 6y ago · 1 comment

comment 6y ago · link · parent

> my point is that our system incentivizes the wrong things - namely financial asset speculation and wealth extraction over real work

The actions of the Federal Reserve over the past three decades have contributed to these incentives. We’ve experienced plentiful supply of money during a period when productivity gains have kept consumer prices low, so money has flowed toward a steady upward pressure on asset prices and a golden age for asset owners.

comment 6y ago · link · parent

Another food item:

– Caesar salad — named after Caesar Cardini, a restauranteur in San Diego and Tijuana [1]

[1]: https://en.wikipedia.org/wiki/Caesar_salad

comment 6y ago · link · parent

> loads instantly

This is a key feature for note-taking apps — quick to load wherever you are — and is one reason why I also gravitate toward Apple Notes for jotting down ideas. I can then reorganize into documents or spreadsheets as needed when I’m back at a desk.

comment 6y ago · link · parent

> “He loved this country so much that he risked his life and his blood so that it might live up to its promise.”

Our country is full of hypocrisy, but every so often citizens like John Lewis call us out on it and push us a little closer toward our ideals.

comment 6y ago · link · parent

> Then you would expect divergent performance in the D-controlled states (eg. California) vs the R-controlled states (eg. Texas), no?

It’s not so simple in that many states are miniature versions of our polarized country. For example, you have a Democratic governor facing Republican opposition in rural counties in Washington, and a Republican governor suing a Democratic mayor in Georgia.

2530.

Apple Investor Relations (2004)(snl.com ↗)

2 points · by divbzero · 6y ago · discuss

comment 6y ago · link · parent

I still miss the old Newsstand app [1] that was replaced with the Apple News aggregator in iOS 9. I liked having distinct apps for distinct publications grouped under the specially styled folder.

[1]: https://en.wikipedia.org/wiki/Newsstand_(software)

comment 6y ago · link · parent

Your terms mention possible “paid products” for Primo. What sort of products do you have in mind? I’m curious to hear how, like WordPress, Primo could be financially sustainable while building a strong open-source ecosystem.

comment 6y ago · link · parent

> The best bet for many of these types of firms is to improve processes and systems to shorten the cycle time.

In clothing retail, Inditex (Zara) [1] is an excellent example of achieving success through shortened cycle time.

[1]: https://en.wikipedia.org/wiki/Inditex

comment 6y ago · link · parent

If you want to learn because you are looking to work in the industry, I would recommend checking out Wall Street Oasis [1], a community of current and future finance professionals.

[1]: https://www.wallstreetoasis.com/

comment 6y ago · link · parent

Indeed, I got

  Counter({
      (1, 'baz'): 12525,
      (1, 'KeyError'): 12552,
      (2, 'foo'): 12255,
      (2, 'bar'): 25282,
      (2, 'baz'): 37386
  })
from running

  import random
  
  class C:
      def __hash__(self): 
          # return 0 or 1, with equal probability
          return random.randint(0, 1)
  
  def output():
      x = C()
      d = {}
      d[x] = "foo"
      d[x] = "bar"
      d[x] = "baz"
      try:
          return len(d), d[x]
      except Exception as e:
          return len(d), type(e).__name__
  
  from collections import Counter
  Counter(output() for i in range(100000))

comment 6y ago · link · parent

I think it would be

  KeyError
instead of

  1 None (?)
but otherwise looks like the right answer to me too.

comment 6y ago · link · parent

> the ability to make very quick investment decisions (given you are the sole decision maker and don't have to persuade any partners)

This specific advantage also benefits Warren Buffett, except in a different investment arena.

comment 6y ago · link · parent

Are time-driven release cycles really the best option for mature languages and platforms?

Instead, shouldn’t we value stability and drive releases based on new functionality? If there’s no new functionality, there’s no need to force obsolescence by incrementing major versions based on a fixed time table.

comment 6y ago · link · parent

I feel incredibly sad that I never visited this museum while I could, and won’t be able to bring family and friends to visit it in the future. Hoping someone somehow will find a way to revive it again.

comment 6y ago · link · parent

macOS should ship with this feature by default.

comment 6y ago · link · parent

To summarize some of the limitations I’ve read in sibling comments:

– Recent trend appears to be bundling resources (e.g. Webpack) instead of using CDNs.

– This trend is complemented by browsers moving to per-site caches that limit the benefit of CDNs.

– Content-Security-Policy and/or Subresource Integrity restrictions can break some websites.

– Only a limited set of resources are included with Decentraleyes.

All that said, this is a really cool idea from both privacy and performance standpoints. Would love to see ways to address those limitations in the future.

1
848586
99