HNHacker News
TopNewBestAskShowJobs

styfle

1,940 karma · joined September 20, 2016

https://styfle.dev

[ my public key: https://keybase.io/styfle; my proof: https://keybase.io/styfle/sigs/k5Jx2P3fJ9JOZsHyU2TLChLetDsvmL2mHK7wJMj-nKk ]

submissionscomments
styfle··on Dropbox saved almost $75M over two years by moving out of AWS
What kind of business doesn’t need to scale up or down?

Maybe if there will only ever be one client connected 24/7 and that never changes but I can’t think of a real product that would avoid taking on more that one client.

styfle··on Serverless Databases: The Future of Event-Driven Architecture
But didn’t we already have this concept with Platform-as-a-Service (PaaS)?

What you described sounds like Heroku, Azure Apps, etc.

styfle··on “Implement WebP image support” – Reported 8 years ago
Interesting use case for WASM. That really opens the door for more experimental image formats.
styfle··on Appropriate Uses for SQLite
You’re right, SQLite can be very fast if you know what you’re doing. Expensify was able to achieve 4M queries per second.

https://blog.expensify.com/2018/01/08/scaling-sqlite-to-4m-q...

styfle··on Let’s talk about usernames
Somewhat of a tangent:

I somehow created a Reddit account without an email address in order to comment on something about 8 years ago.

Eventually, I decided to comment on something else but forgot the password.

I was unable to reset the password without an email address.

So I never commented on Reddit again...I don't want a username that isn't styfle :)

styfle··on Deixis – words that cannot be fully understood without additional context
"this"
styfle··on Show HN: Thanks – See which NPM dependencies are seeking donations
I like this way (thanks) of promoting donations much better than the post-install script[0] I've seen going around (open collective post-install).

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

styfle··on Rollup now has code-splitting and we need your help
One thing about open collective is that some packages are starting to include a post-install script that says "please donate via open collective".

For example, installing my react boilerplate package would install the bundlesize package as a dependency which would then show a prompt to donate via opencollective but not to my project, but rather the bundlesize project.

It has since been removed[0] but it is kind of misleading.

[0]: https://github.com/siddharthkp/bundlesize/issues/167

styfle··on Chrome 68 will mark all HTTP sites as “not secure”
> Over 68% of Chrome traffic on both Android and Windows is now protected

> Over 78% of Chrome traffic on both Chrome OS and Mac is now protected

This is an interesting way to report HTTPS usage.

Why are Android and Windows grouped together and why are Chrome OS and Mac OS grouped together?

styfle··on Progressive Web Apps in Microsoft Edge and Windows 10
> The Microsoft Store, powered by the Bing crawler, will automatically index selected quality Progressive Web Apps

I think this is the most interesting part. This is a great solution for App Stores because they are no longer gate keepers. Instead they become more like search engines by indexing content and providing a layer of metadata.

Google, for example, shows site that work well on mobile if you are searching on mobile.

Windows can now show sites that are "apps" if you are searching from the App Store.

Everyone gets the benefits of metadata such as comments, upvotes/stars, analytics, etc.

styfle··on Show HN: Cross-platform desktop applications with PyQT
You care comparing installer size. Typically an installer is considerably smaller than the installed app size and usually the installer is deleted. So it's not really worth comparing installer sizes.

For comparison of installed size:

- Code.exe is 77MB (version 1.20.0)

- directory "C:\Program Files\Microsoft VS Code" is 225 MB

styfle··on Is-Vegan – Helps you to find out which food ingredients are vegan
I'll have to give this a package try.

My wife can't eat dairy so we often have to find an item on the menu marked as Vegan to guarantee it doesn't contain any dairy.

Otherwise, it's nearly impossible to get a server to answer the question, "Does this item contain dairy or is it cooked in dairy? Butter, cream, milk, etc."

A common answer we get is, "I don't know if its dairy-free but it's gluten-free."

styfle··on Microsoft Office could be a bigger productivity drain than Candy Crush
That sounds glorious.

I've had plenty of meetings where 15 min in I have to ask "What's the purpose of this meeting?" Or at the end of the meeting, "Ok who was taking notes? No one?"

styfle··on ECMAScript 2018: final feature set
You can use <script type=module> to target newer browsers. It’s definitely worth having two bundles because the ES6 and newer is much smaller. And one day, you stop shipping the old ES5 bundle.
styfle··on A Eulogy for the Headphone Jack
I seem to recall one of the iPhone keynotes saying that the iPhone is most popular camera (as in most photos taken in a year) presumably by looking at EXIF. That sounds like Apple is aware of content creators using the iPhone.
styfle··on Why we transitioned from Medium back to our own blog
This article has the same conclusion I came to...use Medium to syndicate[0] content, not originate content.

Medium is still very useful to get content to readers that would otherwise not visit your website.

Articles I wrote that were picked up by a "publisher" on Medium get way more views than anything on my own domain.

To put some real numbers on it, one article I wrote this month got 92 hits on my personal website[1] but 429 hits on hackernoon[2].

That makes me motivated to write because people will actually read it :)

[0]: https://medium.com/p/import

[1]: https://www.ceriously.com/blog/post.php?id=2018-01-01-es6-pr...

[2]: https://hackernoon.com/es6-proxy-and-localization-c1269bbc0a...

styfle··on Piknik – Copy and paste anything over the network
Similar tools:

https://news.ycombinator.com/item?id=14263881

https://news.ycombinator.com/item?id=14649727

https://news.ycombinator.com/item?id=16216156

styfle··on The Death of Microservice Madness in 2018
> If your boundaries are actually not well defined, then what happens is that even though theoretically services can be deployed in isolation, you find that due to the inter-dependencies between services, you have to deploy sets of services as a group.

This is the part I keep getting hung up on. Even with perfect boundaries, there always seems to be a cross-cutting feature that would require touching all of the services.

styfle··on Bootstrap 4
Why is this marked as a duplicate? Where is the main discussion happening?
styfle··on Bootstrap 4
I was surprised too.

This issue[0] basically says the team is too small to rewrite and remove jQuery as a dependency.

[0]: https://github.com/twbs/bootstrap/issues/23204

styfle··on Show HN: React component using CSS Grids for dynamic layouts
It doesn’t seem to work on iOS 11. The buttons are hidden behind the layout.
styfle··on CodeReddit – Reddit that looks like code
This is great!

Hey I recognize that name...you wrote Ant Planner, the tool that every UCI student uses to visualize their classes.

That was one of the first open source projects I ever contributed to (I wrote the integration with RateMyProfessor back in 2011). Thanks for your hard work!

styfle··on Firefox’s new streaming and tiering compiler
Where did you even find that repo? Was that mentioned in the article or is this your code?
styfle··on Convert React JavaScript Code to TypeScript with Proper Typing
> The question is why don’t they collaborate and unify the efforts?

I have really wondered this. I suspect that the two projects had slightly different goals in the beginning, and are now slowly borrowing ideas from each other.

I think the only way they could truly merge is if ECMAScript standardized the subset which they both use and then TS and Flow could be used to introduce experimental proposals kind of like Babel does now.

styfle··on Convert React JavaScript Code to TypeScript with Proper Typing
Try cloning this small boilerplate[0] and open with VS Code. I think you'll quickly see how powerful TypeScript is, even on a small project. Feel free to browse my repos as I have several real-world TypeScript apps.

[0]: https://github.com/styfle/react-server-example-tsx

styfle··on Convert React JavaScript Code to TypeScript with Proper Typing
I found the TypeScript contributors very responsive on GitHub issues. Maybe I'm just lucky?

I just submitted a bug[0] on Jan 5 and it got fixed on Jan 9.

Another bug[1] from a couple years ago was submitted Aug 4 and fixed Aug 5.

I'm pretty satisfied ;)

[0]: https://github.com/Microsoft/TypeScript/issues/21031

[1]: https://github.com/Microsoft/TypeScript/issues/4155

styfle··on Convert React JavaScript Code to TypeScript with Proper Typing
Nothing that a little `var unsafe = original as any;` couldn't solve!
styfle··on Convert React JavaScript Code to TypeScript with Proper Typing
"Redux for babies" sounds like an insult.

It reminds me of this Nathan For You episode:

https://www.youtube.com/watch?v=BNuuiydKlI0

styfle··on Convert React JavaScript Code to TypeScript with Proper Typing
I just tried the extension on this file[0] and it didn't create the Props :(

[0]: https://raw.githubusercontent.com/s-yadav/react-number-forma...

styfle··on Disney Enterprises, Inc. V. RICKSON RODRICKS / DOMAEN.COM
To summarize, someone is typo squatting Disney (an many other domains) which tricks users into installing a Chrome extension.

Here's the relevant part:

> Respondent’s <disenychannel.com>, <disneychsnel.com>, and <disneycjannel.com> domain names are identical or confusingly similar to Complainant’s trademarks.

> Respondent has no rights or legitimate interests in the <disenychannel.com>, <disneychsnel.com>, and <disneycjannel.com> domain names. Respondent is not commonly known by the domain names, nor has Complainant authorized, licensed, or otherwise permitted Respondent to use the DISNEY CHANNEL mark. Respondent also does not use the domain names in connection with a bona fide offering of goods or services or legitimate noncommercial or fair use. Rather, Respondent displays the message "You’re one click from your destination" on the resolving domain, and asks visitors to click a "CONTINUE" button in order to view the website. When users click this button, the user is prompted to agree to install a "Safe Browsing Chrome" extension. Respondent also uses the <disneychsnel.com> and <disneycjannel.com> domain names to redirect users to a landing page which have links to sites related to Complainant’s products or services, although not limited to Complainant’s own goods and services. Further, Respondent attempts to sell the <disneycjannel.com> domain name on the resolving domain. Finally, Respondent’s slight misspelling of its registered marks and domain name constitutes typosquatting, further demonstrating Respondent’s lack of rights and legitimate interests.

← PreviousPage 8 of 15Next →