HNHacker News
TopNewBestAskShowJobs

lorenzosnap

140 karma · joined October 23, 2014

submissionscomments
lorenzosnap··on Anything longer ago than yesterday should just say the actual date
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
lorenzosnap··on Our five failed YC applications and one successful one
Well, what can one say ? congratulations. That really shows some level of persistence.
lorenzosnap··on Show HN: Midibin – Turn Clojure code into MIDI music
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
lorenzosnap··on Show HN: Blockchain calm: A blockchain playground
Thanks. I was not aware of those two sites. Similar ideas but different results.
lorenzosnap··on Show HN: Blockchain calm: A blockchain playground
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

lorenzosnap··on JEP 335: Deprecate the Nashorn JavaScript Engine
Nashorn is the beating heart for https://github.com/lorenzoongithub/nudge4j

Around 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.

lorenzosnap··on GitHub Sourceforge Importer
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 ?

lorenzosnap··on Show HN: Nudge4j connect your browser to the JVM (a different way of debugging)
hi everyone, lots of work on this idea of mine during the bank holiday weekend. Any feedback is welcome.
lorenzosnap··on Show HN: I come up with the concept of Selfie Program
here is a cheesy example of JavaScript selfie program for the hacker news community

https://sequential.js.org/live.html#G4QwTgBOYgnhBeCBtA5ACwKY...

lorenzosnap··on 4D Toys: a box of four-dimensional toys
I am not sure you are correct. We have 2 eyes so that our brain can work out the depth of the image.
lorenzosnap··on Tallest Lego building with 4 pieces?
LOL. Can't wait to show those pictures to my daughter. thanks
lorenzosnap··on Tallest Lego building with 4 pieces?
you are right. I will do it and then take another photo
lorenzosnap··on Show HN: Javalin, a Java/Kotlin REST API Framework
Ok, thanks that sounds fair.
lorenzosnap··on Show HN: Javalin, a Java/Kotlin REST API Framework
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.
lorenzosnap··on String.intern()
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.
lorenzosnap··on Evidence-based advice we've found on how to be successful in a job
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
lorenzosnap··on JavaScript performance, WebAssembly, and Shared Memory in Microsoft Edge
really really amazing
lorenzosnap··on Autodraw – Fast Drawing for Everyone
unfortunately I get

Over Quota This application is temporarily over its serving quota. Please try again later.

lorenzosnap··on The Y Combinator Explained with JavaScript
very useful. Thanks
lorenzosnap··on What does ‘that = this’ in JavaScript mean?
negative votes here are totally unfair. I was pointing it out that the 'this' keyword is dangerous.
lorenzosnap··on What does ‘that = this’ in JavaScript mean?
you are so much better off if you can avoid using this when writing js. It's as bad as (and as useless) the keyword 'new'
lorenzosnap··on 5 Reasons to Boost Your Career with Side Projects – Brian Gilham
very interesting. thanks
lorenzosnap··on Dolphins' elaborate octopus-hunting strategy
agreed. no more octopus with potatoes for me. they are too clever. I will just eat the potatoes.
lorenzosnap··on 0.30000000000000004
I am surprised that domain was still available
lorenzosnap··on Curiosity – Find amazing GitHub projects as a feed
did not work for me.
lorenzosnap··on Modern JavaScript for Ancient Web Developers
mmm... I am surrounded by Java guys who worked with SWING (gone and forgotten) JSP and STRUTS (same story). They talk about the beauty of Java 8 and that they are waiting for Java 9. I wish I could tell them about this article, because out there plenty of people still treat JS as a toy
lorenzosnap··on No one liked Cantor
great read for a rainy sunday. well done.
lorenzosnap··on 6 proofs of 2 + 2 = 2 * 2
this is pretty neat. well done
lorenzosnap··on JSON5 – Modern JSON
Interesting... why 5 ?
lorenzosnap··on Announcing pydoc.io beta
pity that the link is broken
Page 1 of 2Next →