Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
efortis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
61.
▲
by
efortis
9mo ago
A set of Wera lasertip screwdrivers. Or, a Knipex Cobra pair of pliers.
62.
▲
by
efortis
9mo ago
Both are based on the signature of React.createElement. JSX gets compiled to something like that. https://react.dev/reference/react/createElement
63.
▲
by
efortis
9mo ago
I'm experimenting with recreating the whole DOM tree like this: function render() { restoreFocus(() => document.body.replaceChildren(App())) } function App() { return ( createElement('div', {
64.
▲
by
efortis
9mo ago
I agree, the problem isn't tech capabilities. People were more creative, and Flash had great UI/UX. --- More 2009 flash websites: https://www.youtube.com/watch?v=85UL3HhNq6Q https://www.youtube.com/
65.
▲
by
efortis
9mo ago
I have hope, but websites after Flash became boring. Here’s a screencast of one of my favorites in 2009: https://x.com/efortis/status/1879712687896289471
66.
▲
by
efortis
9mo ago
Experimenting with native css modules. They will land in Firefox in two weeks https://github.com/ericfortis/mockaton/issues/2
67.
▲
by
efortis
9mo ago
Do they block <link rel=prefetch> completely? On Brave, the workaround on that linked snippet bypasses their blocking.
68.
▲
by
efortis
9mo ago
another trick is adding speculation rules on MPA sites. so when you hover over a link the page gets prerendered. For example, my initial page takes ~80ms, but navigating to other pages take 20ms prerender: [ { where: {
69.
▲
by
efortis
9mo ago
Scanned mine: https://crxplorer.com?extensionId=babjpljmacbefcmlomjedmgmke... It's getting a 20% safety score on CSP, saying: > The complete absence of a Content Security Policy (CSP) is a critical security vulnerability
70.
▲
by
efortis
9mo ago
I was reminded of this MythBusters episode: Tesla's Earthquake Machine https://www.youtube.com/watch?v=LHsHiKtjoag
71.
▲
by
efortis
10mo ago
Same here. I worked as a sign maker in high school and I always wanted a CNC.
72.
▲
by
efortis
10mo ago
I wasn't able to sign in a few minutes ago, but after a few tries it worked
73.
▲
by
efortis
10mo ago
You can do more, e.g., changing the status code
74.
▲
by
efortis
10mo ago
Burp is free too (community edition) https://portswigger.net/burp/communitydownload
75.
▲
by
efortis
10mo ago
told my boss "no" instead of "np"
76.
▲
CSS: Mastering Margin Collapsing
(developer.mozilla.org)
2 points
by
efortis
10mo ago
|
0 comments
77.
▲
by
efortis
10mo ago
An HTTP mock server with a UI dashboard for changing responses on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
78.
▲
by
efortis
10mo ago
Do you know if it's possible to do that the other way around?
79.
▲
by
efortis
10mo ago
I’m starting a personal one because I’d like to improve my understanding and articulation of a few things.
80.
▲
by
efortis
10mo ago
There a few points in favor of TS types in jsdoc (in order): 1. not having to type everything (many types are not helpful) 2. makes code less dense (and they can be rendered in HTML) https://x.com/efortis/status/19
81.
▲
by
efortis
10mo ago
and types can be written in .d.ts file(s), which can be used in jsdoc out of the box (no import needed)
82.
▲
by
efortis
10mo ago
Although it's more verbose, it makes code less dense because it lives outside the function parameters. Also, it's not a super limited subset. For instance, you can write types in .d.ts the IDE uses those types in jsdoc out of the
83.
▲
by
efortis
10mo ago
jsdoc is nice because you don’t have to write the non-helpful types. --- In WebStorm, jsdoc can be rendered in HTML, which makes the code easier to scan. Here's a side-by-side VSCode vs WebStorm: https://x.com/efortis&#
84.
▲
by
efortis
10mo ago
> And it comes from a place of love love of what?
85.
▲
by
efortis
10mo ago
Fun fact, MPV can play the files in a ZIP.
86.
▲
Show HN: Chrome Ext. for downloading HTTP responses for mocking APIs
(mockaton.com)
1 points
by
efortis
10mo ago
|
0 comments
87.
▲
by
efortis
10mo ago
Nice margin notes trick: float: right; margin-right: -12em;
88.
▲
by
efortis
10mo ago
> Playing to win versus playing not to lose I’ve been trying to verbalize the motives behind the best practices frontend dev influecers preach these days and now I think it’s something like that. Everytime someone falls from his bike we
89.
▲
by
efortis
10mo ago
Not an answer, but here’s an interesting talk between Scott Hanselman and Mark Russinovich from Microsoft discussing the senior boost vs. the junior 1.5X slowdown. https://www.youtube.com/watch?v=A6l23fVG-UE
90.
▲
by
efortis
10mo ago
An HTTP mock server with a UI dashboard for changing responses on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
More ›