Better HN
topnewbestaskshowjobs
Log inSign up

styfle

1,940 karma · joined Sep 20, 2016 (10y ago) · 531 submissions

https://styfle.dev

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

Submissions

301.

ES6 Proxy and Localization(ceriously.com ↗)

2 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

The author seems to think that React users choose Flow and Angular users choose TypeScript.

However, TypeScript works really well with React and has for a long time. I have an example[0] boilerplate for isomorphic web app with React server-side rendering in TypeScript.

The code should be pretty easy to follow if you have some React experience. I chose to use the bare Node.js APIs so there is no favoritism in express, koa, hapi, etc.

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

comment 8y ago · link · parent

This year, I dedicated more time to open source projects, mostly to scratch my own itch.

In particular, I learned how to use Electron and capture video for Repro Steps.

https://github.com/styfle/magnemite

comment 8y ago · link · parent

When can you find battery capacity?

305.

List of web conferences in 2018(github.com ↗)

2 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

How is this different than node --inspect index.js

comment 8y ago · link · parent

In 2005, I used to be in a Battlefield 2 online community with game servers, SMF Forums, and ventrilo for VOIP. I used to play pretty regularly, but when not playing we would all talk and learn from each other. There were maybe 30 people at most from age 15 to 50 years old.

The way we sustained the servers was everyone pitching in to pay maybe $5 to $15 per month.

Moderation and Adminstratuon was volunteer based and people who donated had priority.

We eventually became some of the most popular BF2 servers and it made for interesting social interaction when the admins had to come together to make a decision if someone was cheating or just really good.

I’m sure communities like that still exist but I haven’t played many online games since then. Those were the days :)

308.

Docsify – A magical documentation site generator(docsify.js.org ↗)

2 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

Maybe the readme should have a description like this. Also, what is Marvin?

comment 8y ago · link · parent

I know nothing about emulators, so it would be nice if the README provided instructions for how to build and run the emulator.

Here is some inspiration: https://github.com/dolphin-emu/dolphin

comment 8y ago · link · parent

It's been a full day now. Any news on this one?

comment 8y ago · link · parent

I actually found it through OneBody and was intrigued.

It’s like a “Deploy to Heroku” button but for Digital Ocean.

We need more of these type of tools because it gives people options on where to host their software.

Also, how did you even know I posted this to HN? :)

313.

DO Installer – An installer for getting apps running quickly on DigitalOcean(installer.71m.us ↗)

64 points · by styfle · 8y ago · 14 comments

comment 8y ago · link · parent

Where does CarbonAds fall in this spectrum? I want something similar for my website but I don’t get enough traffic to sign up with Carbon.

315.

Uppy – open source file uploader for web browsers(uppy.io ↗)

4 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

If anyone wants to try out React SSR + TypeScript, I have a working example here:

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

One of the reasons I picked up React is that views could be type checked at compile time which was not possible with Handlebars a few years ago.

I believe there is work being done to the TS language service to get type checking in other template languages at some point.

317.

230 Open Source Developers Donate to Fight Human Trafficking(medium.com ↗)

4 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

Agreed. I used to notice that there were many Microsoft products like the Surface in the show Arrow. But it was subtle enough that most people wouldn’t know unless they can recognize the logo on the device.

319.

Bitcoin – Ultra Spiritual Life Episode 86(youtube.com ↗)

1 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

I asked this same question[0] on StackExchange earlier this year. It has been asked many times and it really comes down to considering a username a secret or not.

In B2B applications where there is no registration form, then the username is probably a secret. In B2C applications where anyone can register, then the username likely isn't a secret. Many of those applications have the concept of "mentions" by username so clearly the username is not considered a secret in that case.

[0]: https://security.stackexchange.com/q/158075/11536

comment 8y ago · link · parent

Thanks for the links. The Indy Star gave a Bad Gateway so I found the amp ariticle here:

https://www.google.com/amp/s/amp.indystar.com/amp/858322001

comment 8y ago · link · parent

What about if two users are editing the same object? How do you reconcile or merge the changes?

comment 8y ago · link · parent

I like mirrors in an elevator if I’m the only one in there.

Otherwise it makes the ride more awkward because I try to avoid locking eyes with someone else through the mirror.

comment 8y ago · link · parent

I agree with you but there are ways to perform union and intersection with existing APIs.

http://2ality.com/2015/01/es6-set-operations.html

> Long-term, I expect JavaScript to have built-in functionality for this, e.g. via functions that operate on iterables

comment 8y ago · link · parent

This change appears to be just another OSS project that Facebook is relicensing and removing patent clause.

Related post: https://news.ycombinator.com/item?id=15316175

comment 8y ago · link · parent

What's the use case for this?

327.

TC39 Pull Request for Object Rest/Spread(github.com ↗)

2 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

Yeah, I have a love-hate relationship with Medium.

The fact that every comment is another "article" is bizarre. Also, comments have become increasingly hidden behind suggested articles and require a click to load.

But I like that you can highlight a word or sentence and comment on that. The clapping thing is kind of interesting because you can give more "internet points" to better articles.

The one thing that Medium is great at is getting an article into the eyes of the people who want to read it, which is something that my personal blog will not do.

Also, there is something nice about consistent look n' feel with the same font when reading blog posts, so someone who is used to medium might be more likely to click on a medium.com link than a ceriously.com link.

comment 8y ago · link · parent

My oh shit moment is that `git add .` doesn't stage deleted files. I almost always use `git add -A` because that is typically what I meant, especially for someone coming from another Version Control system.
1
101112
18