q-rews | 4 years ago | on: Amplosion: Redirect AMP Links on the App Store
q-rews's comments
q-rews | 4 years ago | on: Amplosion: Redirect AMP Links on the App Store
q-rews | 4 years ago | on: Amplosion: Redirect AMP Links on the App Store
q-rews | 4 years ago | on: Amplosion: Redirect AMP Links on the App Store
q-rews | 4 years ago | on: Amplosion: Redirect AMP Links on the App Store
I should try the opposite though: when Google SERP is useless, try others.
q-rews | 4 years ago | on: iPhone 13 Pro camera review: Tanzania
q-rews | 4 years ago | on: Elk: A low footprint JavaScript engine for embedded systems
That means you can't run general-purpose code safely, which means you should probably write/rewrite/adapt it, which means you might as well use a different language.
I'm a JS developer, but the parent might have a point here. Why run something like this in production when you're likely to end up in unexpected situations? Either a runtime is compliant, or you're going to have a bad time.
The project is cool, but I wouldn't use it as an example for what JS can do.
q-rews | 4 years ago | on: EU plans to force OEMs to use a common charger for all phones
q-rews | 4 years ago | on: Hospitals lift curtain on prices, revealing giant swings in pricing by procedure
Estimates are fine, it’s just that they don’t benefit US hospitals. Stop justifying them, they’re scamming you.
q-rews | 4 years ago | on: Database containing personal info of 106M visitors to Thailand exposed online
Obviously this is easily skirted by having another person do the check in and you arriving later. I've also stayed in some guest houses in Thailand last month and they did not register me, but that doesn't mean they should have done so.
If they don't, technically you're on the hook for not registering.
q-rews | 4 years ago | on: Ask HN: I hate vertical scrolling. How can I paginate the web?
When learning a language I have to keep a dictionary, Google Translate, and Google Images open at the same time, and it's frustrating to find that neither language tool includes direct access to the other 2.
q-rews | 4 years ago | on: Ask HN: I hate vertical scrolling. How can I paginate the web?
* If the last page should only be one paragraph, the browser might not be able scroll down enough to only include only that paragraph.
q-rews | 4 years ago | on: Ipv6excuses.com (2016)
The reason is simple: IPv4 addresses are getting more rare and therefore more costly.
q-rews | 4 years ago | on: Excel as Code
Excel is democratizing tool for programming. It’s a true WYSIWYG for databases, calculations, plotting, and more. And it’s just a regular app that every PC has.
Everyone needs a table. Hey did you know your table can do math automatically? It actually can fetch live forex data too. And infinitely more.
q-rews | 4 years ago | on: Currying in JavaScript
const one = curriedSum(1)
one(2)
is the same as const one = sum.bind(null, 1)
one(2)
with the exception that the latter is explicit and not as slow as `curriedSum`.Both `sum` and `curriedSum` can be used the same way:
curriedSum(1)(2)
sum.bind(null, 1)(2)
or just: curriedSum(1, 2)
sum(1, 2)
One of the advantages is that non-curried functions make the return value explicit. You can't implement `sum(...addends)` with currying because curried functions have a fixed number of parameters. Once past that, a call will not return a function anymore. sum.bind(null, 1).bind(null, 2).bind(null, 3).bind(null, 4) // Still not called
curriedSum(1)(2)(3)(4) // Maybe it works, maybe undefined is not a functionq-rews | 4 years ago | on: You may not need Moment.js
q-rews | 4 years ago | on: You may not need Moment.js
q-rews | 4 years ago | on: You may not need Moment.js
q-rews | 4 years ago | on: You may not need Moment.js
q-rews | 4 years ago | on: You may not need Moment.js