Hacker Newsnew | past | comments | ask | show | jobs | submit | madsr's commentslogin

I like the Norwegian Army's: https://www.forsvaret.no/en/404 The version in Norwegian language looks more like a bullet hole for some reason: https://www.forsvaret.no/404


Speaking of fractions of pennies: I've configured my AWS Cloud invoice to be in Euros, and every month the Net amount plus the VAT amount is always 1 cent off the Total fee :P


Bastions are a good option. sshd supports jumping through them by default using the -J flag (jump) or automatically by adding the 'ProxyJump' statement to your .ssh/config.


I find the AI point of view not that interesting. What's more interesting is the obvious (im)balance between production rate and revenue per second vs the amount of (finite) resources being spent in the process.


Soo.. How do I cash out?


+1. I mainly use this approach. If your next intended move is to go to the next line, Alt-J will exit insert mode and go to the next line immediately. Also the same for Alt+w/W/b/B, Alt+o, Alt+0, etc etc and it's just a matter of using your left thumb at the same time as navigating.


If your PGP key isn't signed by anyone, then there's no way to verify that it's really you - other than contacting you and checking the fingerprint. By having a trusted third party such as Governikus sign it, anyone can verify instantly that _this_ PGP key is actually from a person with a _name_ for which they also have a government ID with that exact name.

I can envision a _lot_ of use cases for having your name publicly recognized by a trusted party.


Although not a travel book, "My Other Life", his fictional self-biography, was an enlightening, superb text.


If I read this exchange _anywhere else on the internet_ I would have thought these guys have got to be shilling for the author.


I think this example is quite deceptive. When setting obj.a and obj.b, what is your intention? If you want to set the instance attributes, you should have created self.a and self.b in the class constructor.

  class A:
    a = (1,)
    b = [1,]
    def __init__(self):
      self.a = (1,)
      self.b = [1,]

  A.a # this is the class attribute
    (1,)
  A.b # class attribute
    [1]
  obj = A()
  obj.a # instance attribute
    (1,)
  obj.b
    [1]
  obj.a += (2,)
  obj.b += [2,]
  A.a 
    (1,) # still the same class attribute
  A.b
    [1]
  obj.a
    (1, 2) # instance attribute appended
  obj.b
    [1, 2]


I think that's the point is that it does seem rather ambiguous as to the intent. If someone is new to programming entirely, what are they thinking is happening with an operation *on obj.a or obj.b? If they know other languages and are just starting out learning Python, what expectations are they bringing from those languages?

If I had had magic wand, I'd make operations on class attributes from an instance a syntax error, and only allow it from the class name, and perhaps with special syntax like in C++, e.g.:

    A::a = (1,)
    A::b = [1,]
*edit: operation on obj.a or obj.b...


I'm obviously missing something dramatic here.. I guess I don't even understand the Puzzle itself..?

Re1Ra1 Re2Ra2 Re3Ra3 Re4Ra4 Re5Ra5 Re6Ra6

Re2Ra2 Re3Ra3 Re4Ra4 Re5Ra5 Re6Ra6 Re1Ra1

Re3Ra3 Re4Ra4 Re5Ra5 Re6Ra6 Re1Ra1 Re2Ra2

Re4Ra4 Re5Ra5 Re6Ra6 Re1Ra1 Re2Ra2 Re3Ra3

Re5Ra5 Re6Ra6 Re1Ra1 Re2Ra2 Re3Ra3 Re4Ra4

Re6Ra6 Re1Ra1 Re2Ra2 Re3Ra3 Re4Ra4 Re5Ra5


You repeat the same value multiple times (eg "Re1Ra1"), which also implies you are missing some. The square has to contain 36 different entries.


Thank you.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: