Better HN
topnewbestaskshowjobs
Log inSign up

jagtodeath

34 karma · joined Jun 9, 2014 (12y ago) · 13 submissions

Submissions

comment 6y ago · link · parent

A python implementation of is_prime(n):

  return re.compile(r'^1?$|^(11+)\1+$').match('1' * n) is None

2.

Regular Expression That Checks If a Number Is Prime (2016)(iluxonchik.github.io ↗)

4 points · by jagtodeath · 6y ago · 1 comment

comment 8y ago · link · parent

For me, weight lifting improves my sleep far more than cardio.

comment 8y ago · link · parent

When I work out in the morning I sleep like a rock and can fall asleep as early in the evening as I would like.

When I work out at night I usually feel energized afterwards and tend to stay up later.

comment 8y ago · link · parent

Just an interesting observation: People with known mental health conditions are twice as likely to poison themselves in a suicide than those without known mental health conditions.

6.

Android Studio 3.0 Released (Supports Kotlin)(android-developers.googleblog.com ↗)

1 points · by jagtodeath · 9y ago · discuss

comment 9y ago · link · parent

No pay wall

http://news.morningstar.com/all/dow-jones/us-markets/2017022...

comment 9y ago · link · parent

Well I had fun with it http://i.imgur.com/EaQBYHX.png

comment 9y ago · link · parent

Not super related but I cant resist. The guy in the article looks almost EXACTLY like Steve Jobs.

comment 10y ago · link · parent

It says T-shirt OR Mug (x5) so I'm assuming you can choose any combination such as 3 shirts and 2 mugs.

comment 10y ago · link · parent

Raising money will, without a doubt, make your lives more busy.

I've never heard of anyone successfully using investor money to hire people which replace them. Even so, hiring people is incredibly time consuming, and you will have to manage them.

If you're profitable and your goal is to reach financial independence, in this market I would not raise. If your goal is to make as much money as possible and lose all sense of work life balance, then raising money may be for you.

comment 10y ago · link · parent

I'd rather google patent them than some other sue-happy company who will abuse them. Who knows, maybe they will open source the patent.