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

Yea but when using promises with async/await its very beautiful.

    await asyncFuncOne();
    await asyncFuncTwo();
No more weird water-falling, and finally proper exception handling. The only gotcha is the fact that we cant awaits at the root of a module, and we need to wrap it in a async function.


The 250Kb extra weight to the Babel bundles (compared to the equivalent callback version) is quite frustrating though.


If they don't have X-Frame-Options the attacker can also just use a 1x1 iframe on a popular website or shitty ad network to trigger that page to load


I don't know if I agree with this.

Even with paper ballot we still have to trust the people/devices counting the votes.

As an American citizen theres no website I can go to and check my vote. How do I know it was even counted, or properly registered.


> theres no website I can go to and check my vote

If such a site existed, vote buying and/or coercion would be a lot more prevalent.


There is a vote checking system in California to see if your vote by mail ballot was counted


Yeah, but its a pain in the butt to iterate when doing that, especially when you just want to dump off clipboard, or drag & drop.

Also wanted an excuse to play with a few browser features :P.


Ahh I see, I can imagine that being a pain (especially with the clipboard). Nice app!


How about this in OSX? echo "data:$(file -b --mime-type filename);base64,$(base64 filename)" | pbcopy

or for linux, your favorite variant of pbcopy using xsel or xcopy?

Not to say this isn't a great tool.


This was made to make playing with Data URI's much easier.

I find myself often needing a quick way to generate a Data URI when playing with files on jsfiddle, or codepen (due to CORS). So I thought it would be nice to have a website that locally stores those files.

This was thrown together in a couple of hours (using react/mobx), and inspired by [0] "The XSS Game By Google post". It turned out that quite a few people didn't know that you could use URI's for things that were not images.

If you have any suggestions feel free to voice them :)

- [0] https://news.ycombinator.com/item?id=13021869


I made this because I was getting upset with the lack of a solid solution that did everything.

It locally stores the files as well, click on the hamburger menu to see them.

- drag & drop

- manual upload

- paste

- custom file creation

- local storage


Oh, awesome. Hopefully they drastically reduce it.


I believe it started at 5 s/$


So they have increased their costs by nearly af factor 10?


I don't think it has anything to do with the actual cost of digging. IMHO the primary reason is they don't want to keep digging for weeks. By baking in an artificial cost increase they make sure this will stop after a couple days maximum.


It seems like they settled on a fixed maximum time of hole-digging, and are drastically increasing the cost so as to not exceed it.


Yes, they seem to have set the digging period in advance. Somehow that seems dishonest to me. If they knew they were going to dig for 48 hours come what may, they should have said so.


My best guess is that the operators of the vehicles, and perhaps the vehicles themselves, need to get back to their real jobs come Monday.


Probably the cost isn't amortized over a very long period of time so that some hours are much more expensive than others.


I think they will eventually level up and add more machines


They are charging us too much for time!

We need the gates foundation to donate a billion, that should get us 31 years on the clock.


Awe, hey we end up with more than a empty hole! What about all of the dead code!


Also those jobs wont be around that long. Every year we have quite a bit of progress on Self-Driving Cars.


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

Search: