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

comment 8y ago · link · parent

Yes. I'm just adding to Cyberdog's comment that it's not immediately obvious from the title of the article that the instructions are for indexing a static file.

The title makes it sound like it's instructions to setup up an alternative API to Gmail search. I was thinking something like Algolia.

comment 8y ago · link · parent

I cross post to medium from my blog. I figure if people want to comment, they can do it there. Here's an example of the original[0] and the copy[1].

[0]: https://www.ceriously.com/blog/post.php?id=2017-10-16-es6-mo...

[1]: https://medium.com/@styfle/22969cd360f0/

Medium allows you to import pretty easily and sets the canonical URL so Google (hopefully) won't get confused with duplicate content.

comment 8y ago · link · parent

Agree, Set is a disappointment.

I think the “Why” is because it’s easier to get everyone to sign off on small changes than large changes that can never be removed.

The web platform has to live for a long time and be backwards compatible.

comment 8y ago · link · parent

Some packages ship with both importable module as well as a global CLI. So it’s hard to categorize packages on into a single category.

comment 8y ago · link · parent

Also, any new emails you received since exporting your mailbox will not be available.

comment 8y ago · link · parent

They are bundled, it’s called ES6/ES2015. But for backwards compatibility, the userland packages are still used regularly.

comment 8y ago · link · parent

“Docker Engine” doesn’t but “Docker for Windows” provides several tools including a wrapper around Hyper-V. I’m sure “Docker for Mac” does something similar.

A year or two ago, it used to spin up Virtual Box.

comment 8y ago · link · parent

I’ll have to give this a go.

I usually shared types from the backend to the front end in the same repo. Then change

    (data: any) 
To something like

    (data: User)
See this repo

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

comment 8y ago · link · parent

This was posted yesterday

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

comment 8y ago · link · parent

> doing some validation on the content of the values is easy

How can you validate a JSON string to see if it matches a TypeScript declaration?

comment 8y ago · link · parent

What about if I don't have a cell phone but I'm standing between a cell tower and someone talking on their phone?

342.

Essential Image Optimization(images.guide ↗)

3 points · by styfle · 8y ago · discuss

343.

Docusaurus – Easy to maintain open source documentation websites(github.com ↗)

3 points · by styfle · 8y ago · discuss

344.

Browserling Developer Tools – Converting, Formatting, Hashing, Etc.(browserling.com ↗)

1 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

https://github.com/Anstinus/lazy-linq/pull/1

comment 8y ago · link · parent

Where did you even find the source code?

comment 8y ago · link · parent

This is what I do too.

I used to use Cygwin but it became a pain to manage the packages and it couldn't update it's own setup.exe last I checked.

I recently tried out WSL and I still run into problems with the file system. My home directory is in a new place which is kind of annoying. And cloning a repo with Git changed all the line endings. autocrlf didn't do anything for me either.

Back to good ol' git.exe

comment 8y ago · link · parent

Works fine on the iPhone 6 running iOS 11

comment 8y ago · link · parent

I don't understand the screenshot

350.

List of Awesome Online IDEs(github.com ↗)

2 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

Does Siri save the result anywhere? It’s nice to get an instant response but my memory isn’t very good.

comment 9y ago · link · parent

How accurate can you get with an IP address? I seems like it could act as a fallback if the geolocation web api is blocked.

I have a side project[0] that uses the geolocation api to post to Slack and seems to be pretty accurate, even on mobile. Maybe I'll try this as a fallback.

[0]: https://github.com/styfle/geoslack

comment 9y ago · link · parent

Thanks, a lot of these I've read elsewhere but it was a good refresher and it's nice to have it all in once place.

354.

From Linux to Windows 10: Why did Munich switch and why does it matter?(techrepublic.com ↗)

3 points · by styfle · 9y ago · 1 comment

comment 9y ago · link · parent

I used to work at Target and they had a system in place that would time the cashier from when they scanned the first item to the time the payment was placed and gave a letter grade based on how fast the experience was for the customer.

It was a bit of gamification but also served as way for managers to see which cashiers were slow and not meeting company standards.

comment 9y ago · link · parent

I have been waiting a lifetime for this! Ok that's an exaggeration but I'm happy Amazon Prime is finally available on the Apple TV.

comment 9y ago · link · parent

Good point.

What do you think about shared components using React SSR?

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

comment 9y ago · link · parent

TLDR; Code Sponsor brought funding to small and large projects on GitHub. But GitHub didn't want ads and Code Sponsor shutdown.

Starting in January, Code Sponsor will take on a new role of matchmaker between sponsors and developers. Funding will be provided at a flat monthly rate. Code Sponsor will represent the developers as an "agent" and negotiate the highest rates on a month-by-month basis.

comment 9y ago · link · parent

I'm more concerned about small blogs like my own[0] who will never pay an ISP to be in the fast lane.

My blog doesn't get huge amounts of traffic now but I could imagine that it could get blocked by ISPs unless you have the Wild Wild West package that lets you visit any website, not just the big names.

We can't treat websites like cable channels because cable channels are separate streams. But websites are all linked.

[0]: https://www.ceriously.com/blog

comment 9y ago · link · parent

I think you missed a key point in your example which you demonstrated but didn’t explain. The last sentence of the email should be an action for the reader. Don’t make them scroll back up.
1
111213
18