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

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


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



Thanks. I was not aware of those two sites. Similar ideas but different results.


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.


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 ?


hi everyone, lots of work on this idea of mine during the bank holiday weekend. Any feedback is welcome.


here is a cheesy example of JavaScript selfie program for the hacker news community

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


I am not sure you are correct. We have 2 eyes so that our brain can work out the depth of the image.


We see in 2D, with a tiny bit of depth metadata. True 3D vision would allow you to look at someone, and see the entire volume of all their internal organs simultaneously.


Wouldn't that be xray vision?


The comparison here is, as usual, to go down a dimension. Imagine living in a world where everything is constant vertically, like those old 3D maze screen savers or Wolfenstein 3D. You're really seeing a 1D amount of information about a 2D world (in fact, this is how the calculation is for Wolf3D and other games of its era). You can infer depths to objects if you have two eyes.

Now contrast that to if you were plucked up vertically 'above' the game's level to look down upon it. Now you can see the entire 2D extent of the maze at once. Before, your vision was blocked by the walls, now you see the walls and what's on the other side of the walls simultaneously in a way that's entirely distinct from simply seeing through a transparent object.

Now, like seeing a 1D amount of information about a 2D maze while live inside it, we see a 2D amount of information about a 3D world around us (a picture demonstrate's this 2D amount of information - it's planar). Now imagine being lifted out the 3D plane of existence so that you could behold the entirety of the 3D world at once. That's the rough analogy.


An xray is still a 2D projection, just with different wavelength light.


It's somewhat like having the alpha on everything turned down to varying levels - you can see through the skin, bones and metal implants are still at 100% alpha - but fundamentally no different than what looking at someone gives you: a 2D plane.


LOL. Can't wait to show those pictures to my daughter. thanks


You're welcome :) That's a nasty trick though but it is actually designed to be used that way, Lego has all kinds of interesting tricks.

Come to think of it this is an interesting game in the making, much better than most (or even all) games that lego makes:

Given x pieces from some set you get to take turns trying to make the highest combination, or, alternatively, all kids at a party are handed the same lego pieces and the winner gets some prize.


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

Search: