Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
efortis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
efortis
2y ago
Not sure which langs the OP needs, but WebStorm is now free for non-commercial use.
152.
▲
by
efortis
2y ago
link?
153.
▲
by
efortis
2y ago
On my laptop it's just: $ or when root: # Its color changes based on the return status of the prev command. --- Same on servers, but with their name. e.g. my primary on Vultr is vum $
154.
▲
by
efortis
2y ago
I didn’t know WebStorm no longer uses a custom type engine
155.
▲
by
efortis
2y ago
I’m curious about how VSCode and WebStorm compare in TS perf.
156.
▲
by
efortis
2y ago
As a frontend dev I give him the first point, API versioning, but none of the other. For example: 2. Validation > With Spring MVC, you add the validation annotations on the Java code and Thymeleaf can display them when something is w
157.
▲
by
efortis
2y ago
How can we animate in Desmos? I'm trying to animate t in a parametric curve (Lissajous) (sin(2*t*PI), sin(t*PI)) Example Lissajous animation https://ericfortis.github.io/lissajous/
158.
▲
by
efortis
2y ago
Instead of `setTimeout` use `requestAnimationFrame` Check out the code of this Lissajous Curve Demo https://ericfortis.github.io/lissajous/ This SO answer explains the difference: https://stackoverflow.com&#
159.
▲
Show HN: Mockaton. Mock Your APIs, Enhance Your Development Workflow
(github.com)
1 points
by
efortis
2y ago
|
0 comments
160.
▲
by
efortis
2y ago
Yes, MFA with a click-link mitigates it. But a pastable token wouldn't. https://en.wikipedia.org/wiki/Multi-factor_authentication
161.
▲
by
efortis
2y ago
my-bank.com backend replays requests to bank.com Yes, that’s a phising technique. CORS, CSP, or CSFR tokens can’t prevent it. --- bank.com can mitigate it by blocking my-bank.com IPs --- This 2007 paper [1] is about the initial mitigation i
162.
▲
by
efortis
2y ago
and `disableButtons` on `document.hidden`
163.
▲
by
efortis
2y ago
FWIW, mine: https://github.com/ericfortis/quick-reference/blob/main/ffmp...
164.
▲
by
efortis
2y ago
nice. Thanks
165.
▲
by
efortis
2y ago
I think the suggested mitigation will only work when the user double-clicks without moving the mouse. So I'd try adding a small timeout when the tab is visible: document.addEventListener("visibilitychange", () => {
166.
▲
by
efortis
2y ago
BTW, similar to DragThing, you can add a folder next to the trash can on the Dock. And to move a file to that folder, drop it there while holding CMD.
167.
▲
by
efortis
2y ago
I'd say semver with a 0 major, e.g. 0.20.3
168.
▲
by
efortis
2y ago
I l | 1 I once had trouble with a variable named ‘l’ because I thought it was a pipe (bitwise or in js)
169.
▲
by
efortis
2y ago
Ligatures are not particular to proportional fonts. For example, Hasklig has a few handy ones.
170.
▲
by
efortis
2y ago
I can’t explain why they are faster but I can demonstrate it. I think the best example is putting two man pages with different fonts side by side.
171.
▲
by
efortis
2y ago
It is not lying, it’s not creating a space, it is padding capital letters. After a few hours they are not confusing. At any rate, that’s a workaround for camel casing.
172.
▲
by
efortis
2y ago
For the most part the speed gain of that font comes from the left padding on the capitals. But proportional fonts are faster to read allegedly because of the shape words forms. At any rate, before seeing that study I was anecdotally convinc
173.
▲
by
efortis
2y ago
Unpopular opinion, Monospace fonts are slower to read. Since I mostly code in camelCase, and I don't like it, I modified this proportional font with some padding before capital letters and made the space char much longer https:/&
174.
▲
by
efortis
2y ago
For solving hard problems there is the Rubber duck debugging methodology. But instead of a rubber toy, think of someone who can solve it. The catch is that that person is too expensive, so you will explain the problem so well and concise t
175.
▲
by
efortis
2y ago
Infinity symbol with Lissajous curve: x = A sin(at + delta) y = B sin(bt) https://ericfortis.github.io/lissajous/?preset=Infinity
176.
▲
Show HN: Lissajous Curve Interactive Demo
(ericfortis.github.io)
2 points
by
efortis
2y ago
|
0 comments
177.
▲
by
efortis
2y ago
I like React but since hooks (v16.8), React’s changes are nothing but skill bragging. I stopped hoping for the reason behind changing the class components API to hooks.
178.
▲
by
efortis
2y ago
The iPhone 16 (not Pro/max) is about that size. iPhone 16: 5.81” x 2.82” x 0.31” Pixel 4a: 5.7" x 2.7” x 0.3”
179.
▲
by
efortis
2y ago
Mockaton. A mock server for developing and testing frontends. The mock files follow a specific file name convention similar to the URL paths. For example, the following file will be served for: /api/user/1234 my-mocks-dir
180.
▲
by
efortis
2y ago
> If you ship something users hate and makes no money, but your leadership team is happy, you still shipped. True, but that doesn't mean you have a good leader. They are hard to find, but not impossible.
More ›