lorenzosnap
lorenzosnap on Hacker News
The reporting of a message's timestamp really depends on the system you are working on. And the key aspect is to genuinely think how the users think about that timestamp.
I recently implemented it in a real time system where I write things like
"just now" (within the last 10 seconds)
"more than 10 seconds ago" (between 10 seconds and less than a minute)
"more than a minute ago" (between 1 one minute and less than 10 minutes)
"more than 10 minutes ago" (between 10 minutes and less than 1 hour)
... (I think you get the gist)
After it say more than a day... then that's it the message is considered very old
Well, what can one say ? congratulations. That really shows some level of persistence.
I always have the radio on when I am on my pc... but hey
this is so cool ... so cool ... that I had to turn the radio off
well done
Thanks. I was not aware of those two sites.
Similar ideas but different results.
Hi there,
Like many, I have stumbled on tons of articles on the blockchain. Some very good, some not so good.
But I never stumbled on some easy blockchain simulator where I could try things out.
So if you are like me, and you don't like being told things as much as you like coming to the conclusion yourself then you really need to give blockchaincalm a chance.
thanks,... and any feedback is good feedback
Posted by
lorenzosnap on Sunday July 08, 2018 @10:06AM
from the show-hn dept.
Nashorn is the beating heart for
https://github.com/lorenzoongithub/nudge4jAround 100 stars in github so probably not worth much consideration to whoever decided to 'deprecate it'
Again, nudge4j is effectively 8 lines of Java code (just enough to kick off the nashorn engine) and the rest is JavaScript on Java.
I hope that JEP 335 won't go ahead.
I vote against.
I would have thought that maybe the other way around.
i.e. let me move my sourceforge project into github.
why would people want to use this ?
Posted by
lorenzosnap on Sunday June 03, 2018 @11:24AM
from the medium.com dept.
hi everyone,
lots of work on this idea of mine during the bank holiday weekend. Any feedback is welcome.
Posted by
lorenzosnap on Tuesday May 29, 2018 @02:41AM
from the show-hn dept.
Posted by
lorenzosnap on Saturday October 07, 2017 @09:22AM
from the show-hn dept.
Posted by
lorenzosnap on Sunday July 02, 2017 @05:42PM
from the show-hn dept.
I am not sure you are correct.
We have 2 eyes so that our brain can work out the depth of the image.
LOL. Can't wait to show those pictures to my daughter.
thanks
you are right.
I will do it and then take another photo
Posted by
lorenzosnap on Monday May 29, 2017 @07:20AM
from the medium.com dept.
Ok, thanks that sounds fair.
So Javelin is written in Java, not in Kotlin.
I don't mean to sound unfair
but isn't it that saying "a Java/Kotlin blah blah" just a kind of marketing trick ?
If I get Kotlin right every Java solution is also Kotlin compatible.
Posted by
lorenzosnap on Thursday May 25, 2017 @02:35AM
from the show-hn dept.
Posted by
lorenzosnap on Monday May 22, 2017 @03:18AM
from the show-hn dept.
Posted by
lorenzosnap on Saturday May 20, 2017 @09:37AM
from the show-hn dept.
We built an inmemory map and we were using String.intern
for both keys and values. We could see that we were saving lots of memory but we had the problems described in the article.
We then built our own 'String.intern' by using yet another static HashMap. It worked.
It was the simplest alternative and it just did the job.
Thanks alekskey for the nice article.
Posted by
lorenzosnap on Monday May 15, 2017 @04:52PM
from the asciinema.org dept.
Posted by
lorenzosnap on Saturday May 13, 2017 @10:03AM
from the show-hn dept.
Posted by
lorenzosnap on Saturday May 13, 2017 @05:29AM
from the show-hn dept.
Good article.
I am unsure about point 7 "Consider changing where you live"
I accept that for some careers this might be inevitable but in a truly connected world it's also nice to follow the opposite advise and spot opportunities where you are
Posted by
lorenzosnap on Wednesday April 19, 2017 @03:33PM
from the show-hn dept.