Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
efortis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
efortis
2y ago
For teaching coding to musicians, I wrote a program the other way around. But it can help you understand how most chords are formed. https://github.com/ericfortis/web-projects/blob/main/chord-m...
182.
▲
Show HN: Pixaton – Puppeteer helpers for screenshot diffing
(github.com)
3 points
by
efortis
2y ago
|
0 comments
183.
▲
by
efortis
2y ago
Same here. I start with high-level signatures and data structures. Then I implement the functions. Perhaps the git diff helps me visualize what's left to do. On the other hand, if it is a complex algorithm, I draw diagrams representing
184.
▲
by
efortis
2y ago
My tip is adding hot spare disks so you don't have to replace broken ones. For example, in ZFS you can mirror disks 1 and 2, while having 3 and 4 as hot spares with: zpool create pool mirror $d1 $d2 spare $d3 $d4
185.
▲
by
efortis
2y ago
Yes, both versions must be running at some point. The load balancer starts accepting connections on Server2 and stops accepting new connections on Server1. Then, Server1 disconnects when all of its connections are closed. It could be differ
186.
▲
by
efortis
2y ago
Yes, the certificate renewal and the server are more hardened this way.
187.
▲
by
efortis
2y ago
Let the backend send what's convenient to them. In the frontend, create Models that transform to what's convenient to the FE. Sometimes, the FE needs two models for the same data. For example, a Table View and a Nested Card View o
188.
▲
by
efortis
2y ago
It reminded me of the Imperfecto Ruler on Numberphile: https://youtu.be/9yUZTTLpDtk?si=8JKoCRuX-LTh1mTu&t=115
189.
▲
by
efortis
2y ago
I use acme.sh with DNS challenges on an external machine. Then I push up (rsync) the certs and reload Nginx. Here’s a blog post https://blog.uxtly.com/isolated-tls-certificate-creation
190.
▲
by
efortis
2y ago
> I often wonder what it would look / feel like to reach a level where one's reasoning and speech is 100% consistent and correct (given the perceived facts). I think the closer you get to that, combined with doing what you agre
191.
▲
by
efortis
2y ago
I use Nginx: - as a layer on top the app servers for not having to expose Node.js, and loadbalancing app servers, - brotli_static, - serving avif conditionally[1] - anonymizing IPs in logs - injecting the caching headers
192.
▲
by
efortis
2y ago
That is called the Ken Thompson hack In 1984, he published a paper called: Reflections on trusting trust https://dl.acm.org/doi/10.1145/358198.358210
193.
▲
by
efortis
2y ago
About React.createElement, implementing a compatible version ended up being my goto helper for small UIs. For example, I use it in mockaton here: https://github.com/ericfortis/mockaton/blob/7e6ad6226d7ed48e...
194.
▲
by
efortis
2y ago
I used my.lan for my local net I changed it to home.arpa , but I forgot why
195.
▲
by
efortis
2y ago
In the page with the blog+app, conditionally render the blog when it's not on an iframe. if (!window.frameElement) renderBlog()
196.
▲
by
efortis
2y ago
Since my IP hardly changes, I went from DDNS to an email notifying me when the IP changes with this cron: old_ip=`cat ~/.prev_ip` my_ip=`ifconfig em0 | awk '/inet/ {print $2}' 2>&1` my_email=me@exampl
197.
▲
by
efortis
2y ago
In 2013, I got asked this question at Yahoo for a Frontend job: Explain as detailed as possible what happens when I click a button? —— Around 2004, I recall college friends talking about an exam Google published. I think one question was: W
198.
▲
Show HN: Mockaton – Mock Server for a Better UI DX
(github.com)
2 points
by
efortis
2y ago
|
0 comments
199.
▲
by
efortis
2y ago
A Software Multiplexer (Bitwise Table Lookup) /* Bits: selected, hovered */ const colors = [ grey, // 00 green, // 01 blueA, // 10 blueB // 11 ] const color = col
200.
▲
by
efortis
2y ago
I agree, form your opinions when you have enough information. For example, if you can’t decide between two data structures or tech, pick one and add a comment: // I’m not sure
201.
▲
by
efortis
2y ago
No two devs perform equally regardless of their expertise. For example, if you pay all backend devs the same, you’ll eventually loose or miss the higher performers in some way.
202.
▲
by
efortis
2y ago
In Computer Engineering, my most challenging course was “Communications Theory”.
203.
▲
by
efortis
2y ago
More nice features: - flash/highlight the fragment when clicking a link to it. Also, adding some padding for making sure the header is not covering part of the fragment - an alternative to sidenotes is to use an initially collapsed det
204.
▲
by
efortis
2y ago
In general, customizable widgets are more complex to develop and learn. BTW, an extension for blocking that feature is not difficult. Perhaps you’ll just need to block the api request for the mixes. For example, that’s how I skip the Upgrad
205.
▲
by
efortis
2y ago
For making it under 200 LoC, `setProperty` could be written without the hardcoded list: function setProperty(prop, value, elem) { if (prop in elem) elem[prop] = value else elem.setAttribute(prop, value) } http
206.
▲
by
efortis
2y ago
and Fernando Alonso
207.
▲
by
efortis
2y ago
After Cars there’s: - Ratatouille - Up - Inside Out In your opinion, which movie has a better story than any of those?
208.
▲
by
efortis
2y ago
Location: US Remote: Yes Willing to relocate: Yes (US only) Technologies: JavaScript, TypeScript, React, CSS, HTML, a11y, Puppeteer, Node.js email: efortis@gmail.com Résumé/CV: https://ericfortis.com - Front
209.
▲
by
efortis
2y ago
FWIW, the blog is broken in Safari Desktop and Mobile. 34 times (until all the pagination options are loaded), the page flickers and looses the scroll position. That's because each `appendPaginatedData` call triggers `reinitializeWebfl
210.
▲
by
efortis
2y ago
Here is another, a software multiplexer-like table lookup https://blog.uirig.com/bitwise-table-lookup
More ›