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

Great idea! Wish the speed was bit more. I think it would be cool if it takes exactly 1 second to bounce between the two paddles.


Type this into your dev console to speed it up to one hit per second (or if you want in the URL bar, prefix it with `javascript:`)

  (()=>{const T=1;window._u0=window._u0||update;update=function(){const W=gameCanvas.getBoundingClientRect().width,dist=0.92*W,vx=Math.abs(ball.speedX)||INITIAL_BALL_SPEED;let n=(dist/vx)/(60*T);n=Math.max(1,Math.min(20,Math.round(n)));for(let i=0;i<n;i++)_u0();};})()`


I might to try to add this in if thats ok?


That was my assumption as well and I'm sort of shattered that it doesn't work like this.


I thought that was the idea and felt the seconds seemed tab bit longer :)


I have increased the speed a bit.


tab -> tad

(for the sake of non-native English readers)


I don't understand either of those words in this context!

(Maybe "a tad"?)


Yes I meant a tad and made a typo too. Apologies.


That would be ideal if coupled with a mode where the paddles never miss.


reminded me of this one that ends at some point

https://ask5.github.io/gold-wars/


On similar note, I tested every grocery list app and ended up with papers and pencil


When you say “I’ll try to do something…” you are giving a heads up to the other person that you may give up on that thing at any time. There is no commitment.


Its almost like impulse buying so I call it impulse coding. I have done it before I am sure will do it again.


I’d call it impulse coding.


Currently learning Swift so I can rewrite my Flutter app (https://sccomps.com/) using purely Swift.


They underestimated the power of public backlash on social media.


Ironically WhatsApp is also American.


But it gained way more traction in other parts of the world, it's the default messaging platform in South America for EVERYTHING.

I have never seen an iMessage.


> Lightly is incredibly slow

Its relative! Sitting on a couch and watching the pixel move from the sun to the earth for 8 minutes feels incredibly slow but if you are actually traveling in a light speed aircraft then it won’t feel that slow.


If you were actually traveling at the speed of light it wouldn't feel like anything at all! Photons don't 'experience' time—any length trip would be instantaneous from the traveler's point of view.


Quite the opposite, much like when skydiving, going really fast without any close reference point makes everything stand still. And in space, there wouldn’t even be (very loud) atmospheric drag to physically remind you about what speed you’re actually going.


I believe the OP was referring to relativity - the closer to the speed of light you get the slower time appears to tick. So if you could travel at light speed you'd arrive at your destination immediately from your reference frame, but much slower from another person's.


Then what’s up with all of those sci-fi chows where using FTL still takes some amount of time to arrive?


1) it's better for the plot and drama to have travel time. FTL in fiction is always analagous to some known terrestrial form of travel (usually ships and boats) and the limitations and parameters of FTL in a fictional universe shape the narrative in necessary ways.

2) it's assumed within the framework of the fictional universe that time dilation isn't taking place because the actual travel is occurring within an external frame of reference like "hyperspace" or a "warp field."


Screenwriters don’t understand much science.


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

Search: