Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
styfle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
styfle
5y ago
Parody aside, we actually need something like this. Here’s a non-exhaustive list of breaking changes to the web platform: https://github.com/styfle/breaking-changes-web
92.
▲
by
styfle
5y ago
Also see TextEncoder or WebAssembly which shows the version support of Node.js and others https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder... https://developer.mozilla.org/en-
93.
▲
by
styfle
5y ago
I learned the power of a fake tweet last month[1]. Some backstory: I found that Twitter’s use of emoji is not immediately recognizable because they render their own image rather than relying on the native implementation. So I tweeted what a
94.
▲
by
styfle
5y ago
A somewhat counterpoint to the first example in the article: I created a Reddit account (11 years ago) without an email address and forgot the password. Now there is no way to reset the password and recover the account. I never bothered to
95.
▲
by
styfle
5y ago
Looks like they’re using feature detection and Firefox is missing that feature https://github.com/webcompat/web-bugs/issues/76550#issuecomm...
96.
▲
by
styfle
5y ago
https://www.youtube.com/watch?v=ANikp1R8zX8
97.
▲
by
styfle
5y ago
Indeed, there are a lot of options out there https://github.com/styfle/awesome-online-ide
98.
▲
TypeScript 4.3
(devblogs.microsoft.com)
10 points
by
styfle
5y ago
|
0 comments
99.
▲
by
styfle
5y ago
fetch() is a notable web feature missing from Node.js core
100.
▲
by
styfle
6y ago
It would be great to move robots.txt to .well-known instead. Same with favicons, although you can specify an arbitrary path to most favicons using index.html
101.
▲
by
styfle
6y ago
Yes, but it will likely show up as punycode in the browser address bar, for example http://xn--938h.to And sadly, you can't post emoji on hackernews comments :(
102.
▲
by
styfle
6y ago
I was kinda confused at first to see the top suggestions were all Doctor’s Offices. Then I figured it out. https://twitter.com/styfle/status/1358186671007760385
103.
▲
by
styfle
6y ago
This parody website is probably close to 10 years old so it’s a bit outdated. But the premise still stands, just needs more feature checkboxes :)
104.
▲
by
styfle
6y ago
Video games that didn’t need software updates :)
105.
▲
by
styfle
6y ago
The order seems arbitrary, why not put the best options first? If I were building a static website in 2020, I would expect my provider to not only host the static files, but build from source when I `git push`. That narrows down the list to
106.
▲
Songwhip – Share a music link to every platform
(songwhip.com)
153 points
by
styfle
6y ago
|
46 comments
107.
▲
by
styfle
6y ago
That’s a great example! You looked at the size and determined that it might not be worth bringing on a small dependency when you can implement it yourself (or rather use String.prototype.padStart). It’s not just size alone but size of trans
108.
▲
by
styfle
6y ago
There’s a lot of different metrics to look at when determining if one should install a dependency or not. One such metric I found to be missing for npm dependencies was the install size, which is why I created https://packagephob
109.
▲
by
styfle
6y ago
I used to play Worms Armageddon back in the day and picked up Worms 3D a few years later. The 2D version always had a special place in my heart but I must have lost the CD-ROM over the years. It’s exciting to see this game is still worked o
110.
▲
by
styfle
6y ago
Question for the author: Why does Rust destructuring require the struct name? The example uses: let Person { name, city } = person; This seems a little verbose since I would expect the type system to know that person is of type Perso
111.
▲
by
styfle
6y ago
Using stdin also solves the problem of special characters in argv being interpreted by the shell. Even something like a hyphen might be mistaken for a flag. cli add user1 -passWord cli add user2 passw* etc
112.
▲
by
styfle
6y ago
You can add a `Cache-Control` response header with `s-maxage` in your Serverless Function to cache at the Edge. https://vercel.com/docs/v2/serverless-functions/edge-caching https://developer.mozill
113.
▲
Should Stimulus Checks Last Forever?
(thethreadweekly.com)
1 points
by
styfle
6y ago
|
0 comments
114.
▲
by
styfle
7y ago
I’ll have to find something wrong with HOCON and add it to my list :) https://twitter.com/styfle/status/1237182409239658500
115.
▲
by
styfle
7y ago
What you described here is basically how Next.js works :) The blog post mentions the 3 APIs that make this possible: - getStaticProps (Static Generation): Fetch data at build-time. - getStaticPaths (Static Generation): Specify dynamic route
116.
▲
by
styfle
7y ago
Also don’t forget about JS Map which is ordered https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
117.
▲
Typing Objects in TypeScript
(2ality.com)
2 points
by
styfle
7y ago
|
0 comments
118.
▲
by
styfle
7y ago
A couple things I noticed when comparing to webpack: 1. This doesn’t bundle 2. This doesn’t support source maps
119.
▲
by
styfle
7y ago
I believe npm blocks publishing packages with similar names to existing packages. https://stackoverflow.com/a/54135900/266535
120.
▲
by
styfle
7y ago
In this case, google cloud vision, it seems like the docs are fine. It’s the platform that’s confusing because it requires too much ceremony to get started.
More ›