HN user

treyp

696 karma

https://www.treyp.com

Posts14
Comments126
View on HN
Fluid Glass 10 months ago

The bulk of it is WebGL. Vue is doing very little here. Since it's a single static page rendering to canvas, it really doesn't need a framework like Vue or React.

not sure what the reason was, but it's simply a missing >. other files were leaked, and you can see the same pattern elsewhere:

  if ($user > 0 && is_unregistered($user))
searching the web for this comment might be helpful if you'd like more source code:
  $user can be < 0 in AIM mode, just use 0 there

I also want to discourage the use of "sessions." Lost one because I didn't change the time limit. Lost one because my computer/browser restarted. I'm wary of clicking things like 'skip' now, despite knowing that I could just incognito it. A thirty or even seven day trial would be much better!

"We're probably only a month away from having autonomous driving, at least for highways and for relatively simple roads. My guess for when we'll have full autonomy is about three years, approximately three years. However, regulators will probably not allow full autonomy for maybe... at least one to three years after that. So, it depends on the particular market -- some markets the regulators will be more forward leaning than others. But in terms of when will it be technologically possible, three years."

https://youtu.be/ktyMmzZ6WeM?t=474

yes, but obviously that's not the comparison. shipping services have much longer distances to travel, they have the overhead of the entire system (trucks or planes for the long haul, trucks driving to your delivery address and from the pickup address, the associated costs of all the time spent by all the people involved) to overcome. i'm not sure who exactly wins in the end without real numbers.

and again, packaging should not be underestimated either.

this is why there's a flag link for each submission

Please don't submit comments complaining that a submission is inappropriate for the site. If you think something is spam or offtopic, flag it by going to its page and clicking on the "flag" link. (Not all users will see this; there is a karma threshold.) If you flag something, please don't also comment that you did.

http://ycombinator.com/newsguidelines.html

i've been trying out some of the hacker news style extensions, and this one suffers from the same problem as the others -- when you're reading comments, and the comments are centered without a background color for the content div, you can't figure out how deeply nested comments are. it makes it difficult to figure out which comments are top level and which are responses.

if you'd like to cycle through the background images, go to the site and paste this in your URL bar:

  javascript:document.getElementsByTagName('a')[0].onclick=function(e){e.preventDefault();document.body.id=switcher[(switcher.indexOf(document.body.id)+1)%switcher.length]};void(0);
now each time you click the facebook logo, the next background image will load

edit: in related news, it looks like Chrome won't let you paste javascript links into your URL bar. you may need to manually type the 'javascript:' part at the beginning.

"text-overflow: ellipsis" is a great start, but it's really too bad it only applies to individual lines of text (via "white-space: nowrap").

it would be very useful if we had a property to truncate text when it reaches the end of a container with a fixed height. so if the container is 3.5 lines tall, 3 lines should be shown with an ellipsis at the last character. bonus points if we can specify a separator, so that the ellipsis will only be applied after the last whole word (space), line (line break), or just character.

CSS Lint 15 years ago

In HTML5, not only is it valid, but doing otherwise would break the document outline.