Better HN
topnewbestaskshowjobs
Log inSign up

asdasdasdasdwd

48 karma · joined Nov 20, 2019 (7y ago) · 23 submissions

Submissions

comment 6y ago · link · parent

Wouldn't the compiler optimize it either way?

comment 6y ago · link · parent

I wonder if they sold clicks before. Interesting way to pivot their "business".

comment 6y ago · link · parent

Or just run `shuf -n 6 /usr/share/dict/words`

comment 6y ago · link · parent

Decades ago I discovered HTA (Html Applications). It was a program from MS that let you build applications using a single html file. It had no browser UI in it, had it's own button in the menu bar, and other than the default white background it looked like a native application. All you needed to update it was to edit the file and reload the application, no compilation step needed. You could embed scripts and styles and even images so it could be one file if you wanted. I used it for building small toy apps. It was the times of IE5, I didn't really care about browser upgrades. Better of all, the files were small and you didn't need to package an executable since all Windows machines had the executable already.

comment 6y ago · link · parent

On the other hand give them a 10 page report and they'll put it down and never read it.

comment 6y ago · link · parent

Maybe try reading using a speed reading app. I use Comfort Reader [0]. When the words fly by really fast you have to stop sounding the words in your head or won't be able to read the full sentence. For me thinking is like writing and reading to myself so it helps.

[0] https://f-droid.org/en/packages/com.mschlauch.comfortreader/

comment 6y ago · link · parent

The Hamilton soundtrack has been playing in my head since I last heard it last week. Send help!

comment 6y ago · link · parent

Try a smaller city. This rendered almost immediately for me: https://anvaka.github.io/city-roads/?q=La%20Plata%2C%20Argen...

comment 6y ago · link · parent

> Also people just game the system and only do what will get them a good review.

Wouldn't doing a good job earn a good review? This reminds me of the xkcd comic about the bots starting to have constructive messages to avoid spam filters. Mission fucking accomplished.

comment 6y ago · link · parent

There was an interesting podcast about Roblox in Hanselminutes a few weeks ago: https://hanselminutes.com/709/robloxs-kelly-mayes-on-communi...

comment 6y ago · link · parent

Stadia is a bad product, not because of the technical difficulties but because it makes no sense to pay for a service and then pay for access to the content in that service (the games) and if you stop paying for the service you lose access to the content (for which you payed full price by the way). I wouldn't mind a "Netflix for video games" but Stadia isn't it.

comment 6y ago · link · parent

The light crossing a landscape and plants growing as it goes seems inspired by the PS2 video game Ookami.

comment 6y ago · link · parent

> definitely something I wish mozilla would consider

There used to be this neat little extension called Read It Later that let you do just that. Bookmark and save it so you could read it when you were offline or the page disappeared. Later they changed their name and much later Mozilla bought it and added it to Firefox without a way to opt out. It was renamed to Pocket.

comment 6y ago · link · parent

I'd pay $5 for access to a number of channels, say 10, and then they distribute their earnings depending on the time I spent on each channel.

comment 6y ago · link · parent

There's a "Become creator" button at the bottom that leads you to this page: https://www.floatplane.com/support#join-as-pilot

The site seems to be at a beta stage at the moment and they are probably letting creators in very slowly so I would hold off if your intention is to completely replace YouTube.

comment 6y ago · link · parent

BNF sounds like the standard approach. Are there any BNF parsers + generators usable from Javascript?

comment 6y ago · link · parent

Microsoft came out with a similar 2d barcode using triangles and 4 colors: https://en.wikipedia.org/wiki/High_Capacity_Color_Barcode

comment 6y ago · link · parent

I use it mostly so when I come back to the project after months, the Makefile is a reminder of how to build it. Also autocompletion.

comment 7y ago · link · parent

This is true. While I learned English in the written form in my teens and was able to somewhat understand movies in English, I only became proficient in it in spoken form after I joined a guild in an online MMO game and everybody talked through TeamSpeak. Good times :)

comment 7y ago · link · parent

It's like the tale of the boiling frog. I don't like how with old school Javascript you have to add script tags to your html for each library you want to use, at some point you start using a bundler, then a package manager so you don't need to download them manually, then a compiler so you can use newer Javascript syntax, and so on and so on. Each step is better than the last one, but when you look back to the start things do seem simpler back then.

comment 7y ago · link · parent

I think there is an rfc for object initialization similar to C#:

    $city = new City {name: 'Berlin, population: 374800};
Edit: found it (and it uses = instead of :) https://wiki.php.net/rfc/object-initializer

comment 7y ago · link · parent

There's some rationale here[0]. Basically they'd need to use a parser that on ambiguities would have to go down all possible routes concurrently until all but one fail, which can lead to performance costs. Using a prefix keeps things simple.

[0] https://wiki.php.net/rfc/arrow_functions_v2#x_x_y1

comment 7y ago · link · parent

Here's google's cache: https://webcache.googleusercontent.com/search?q=cache:https%...