Better HN
topnewbestaskshowjobs
Log inSign up

RazerM

33 karma · joined Feb 7, 2013 (13y ago) · 17 submissions

[ my public key: https://keybase.io/razerm; my proof: https://keybase.io/razerm/sigs/E84Vxskyk3xqm2Hc0Moi5dAhE60X2eutY-r-MrsfmWQ ]
Submissions

comment 3y ago · link · parent

> to parse, compare, and reason about Python versions.

If in addition to the above you want to mutate Python versions, you may consider my parver package[1]. It also doesn't normalise the input unless you ask it to, so you can preserve your preferred format after mutating.

[1]: https://github.com/RazerM/parver

comment 9y ago · link · parent

Why is @discardableResult used here?

https://github.com/ArtSabintsev/Guitar/blob/0dc71e9dea5ba975...

comment 9y ago · link · parent

SQLAlchemy suppports optimistic concurrency control[1] and row level locking[2]

[1]: http://docs.sqlalchemy.org/en/latest/orm/versioning.html

[2]: http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalche...

comment 10y ago · link · parent

> And, if you want an example of what atheists do during times of hardship, look to soviet Russia or even Nazi Germany.

There's nothing about being an atheist that promotes hatred. There isn't a holy text for Atheism that tells people to believe or do things.

Besides, it's a tired argument without merit: https://michaelsherlockauthor.wordpress.com/2014/10/21/the-a...

comment 10y ago · link · parent

Don't you have to sign? I'm from the UK but in Germany I have to sign sometimes and it takes longer to print a receipt and sign it than to enter 4 digits. This is assuming a fast terminal; I've used slow ones in the past.

comment 10y ago · link · parent

Have you tried bitarray[1]?

[1]: https://pypi.python.org/pypi/bitarray

comment 12y ago · link · parent

It seems odd to have

  open /Applications/Safari.app/
as an example, when

  open -a safari
does the same thing.

comment 12y ago · link · parent

Activation Lock prevents them being able to activate the device after restore without the mother's Apple ID and password.

comment 13y ago · link · parent

You can store the key (the alternative to using a QR code) you're given to set up 2FA in the first place.

comment 13y ago · link · parent

From the HN Guidelines [1]:

> On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

> Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.

[1]: http://ycombinator.com/newsguidelines.html

comment 13y ago · link · parent

From the reference frame of the garage, the ladder is moving with a relativistic velocity and therefore experiences length contraction. From the equally valid reference frame of the ladder, it is the garage that is moving with a relativistic velocity, making it even smaller (so the ladder wouldn't fit).

comment 13y ago · link · parent

Not everyone studies this level of physics at all, and it certainly "gratifies one's intellectual curiosity".

comment 13y ago · link · parent

Off-topic, but 'masel' is the Scots word for 'myself'.

comment 13y ago · link · parent

Yeah, I type 'properly' with every key belonging to a specific finger. I can only press a few keys belonging to my left index and middle finger while pressing shift, the others require an awkward hand position.

comment 13y ago · link · parent

What's wrong with caps lock? Only when using an editor is there an easy shortcut to capitalise multiple characters at a time.

Typing a word in caps using the shift keys is uncomfortable due to alternating which hand presses shift.

comment 13y ago · link · parent

This site doesn't work very well on mobile http://imgur.com/opmjUGn

comment 13y ago · link · parent

I was about to post an identical comment http://imgur.com/Pdwf6HW