Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rglover
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
781.
▲
by
rglover
2y ago
My concern is with the actual JS SDK API. They shifted from a dirt-simple, chained methods API to a setup where you have to create class instances for everything (including creating config). To make it possible, they also had to shift to a
782.
▲
by
rglover
2y ago
Hey swyx, hope you're doing well, too (shoot me an email if you see this: ryan.glover@cheatcode.co). Would love it if someone could get Patrick's attention on this. They need to move back toward the Amber Feng era of API design [1
783.
▲
by
rglover
2y ago
> Few of us want to be making manual HTTP calls out to APIs anymore. These days a great SDK, not a great API, is a hallmark, and maybe even a necessity, of a world class development experience. I'm of the opposite mind. A simple API
784.
▲
by
rglover
2y ago
Glad I dropped Bench a few months back for my own solution. They started out great, but over the past 18 months, I was always having to reconnect via Plaid and then be told way after the fact to manually upload bank statements because my da
785.
▲
by
rglover
2y ago
Yes, but not absolutely. LLMs are a valuable tool for augmenting productivity. Used properly, they do give you a competitive advantage over someone who isn't using them. The "dead end" is in them being some magical replacem
786.
▲
by
rglover
2y ago
Just an email list for interested players. I'd like to sign up for updates if possible (followed on Bluesky but I'm not on there all the time).
787.
▲
by
rglover
2y ago
This is great! Really polished and fun to run around the map. Do you have an announce list for the official release?
788.
▲
by
rglover
2y ago
LLM is to software engineering as a tractor was to farming. They're tools that can make you more efficient, but they still need a human to function and guide them.
789.
▲
by
rglover
2y ago
This is spot on. Fully agree with this point: > Chat-oriented programming is hard, but many folks believe that autonomous agents are right around the corner, and that they will handle all that heavy lifting for you. You’ll just need to w
790.
▲
by
rglover
2y ago
Sure seems like it.
791.
▲
by
rglover
2y ago
Rooted in speculation about why this meltdown occurred in the first place: be very careful about taking money, as well as the amount and who from. My guess from day one is that Matt was put under pressure from investors and this was the onl
792.
▲
by
rglover
2y ago
After doing a bit of digging and back-and-forth with an LLM, I think I understand the problem now. By doing escaping solely on the server, it creates two problems: 1. You're leaving escaping up to good behavior which will inevitably le
793.
▲
by
rglover
2y ago
After all of this, it's not terribly clear what I'm doing (aside from making escaping only through a one-off function) that's "bad." You mention "a lot of the problems you're producing" but then fail
794.
▲
by
rglover
2y ago
"My government name is Charles Entertainment Cheese, but people on the street call me Chuck E. Cheese."
795.
▲
by
rglover
2y ago
I updated the escape_html() method to cover the missing characters/cases and centralized the entity map to the function definition. Appreciate you pointing that out. I went beyond what you suggested in terms of characters which should
796.
▲
by
rglover
2y ago
The source isn't altered (I take the component HTML, parse it, build it into a DOM, and render it). The data from the API is compiled separately (where sanitization can happen if you have untrusted user data). The two are combined toge
797.
▲
by
rglover
2y ago
That's all mitigated on the server. You also have access to additional escaping tools for handling user-generated data on the server, too.
798.
▲
by
rglover
2y ago
Yes! You're the first person to catch that. Check out the test port.
799.
▲
by
rglover
2y ago
Shameless self-promotion, but anyone reading this who is just getting into front-end and doesn't want to deal with that ^, check out Joystick [1]. It's a full-stack JS framework with its own components library that uses plain HT
800.
▲
by
rglover
2y ago
Love the animation and having to answer math questions to trigger an attack. Very well thought out and love the old school 8-bit graphics. Nice work!
801.
▲
by
rglover
2y ago
I've yet to see it with a wide range of sites. If you're getting browser freeze, something is wrong with your actual JS, not the framework. In the case of Joystick, because it's sending SSR'd HTML to the browser automati
802.
▲
by
rglover
2y ago
The way I do it in my framework [1]: 1. Wire up a route in your index.server.js file (the main app startup file). That calls to a res.render() function that receives the component you want to render. 2. When that route is hit, send the HTML
803.
▲
by
rglover
2y ago
SEEKING WORK Location: Tennessee, United States Remote Work: Yes, only Unicorn. I do branding [1], design, and full-stack JavaScript development. I built the Joystick JavaScript framework (full-stack [2]) and Push deployment service [3]. Re
804.
▲
by
rglover
2y ago
Pick personal projects to work on (relevant to what specific skills you want to develop) and build them. The best way to learn anything is to get your hands dirty, struggle through problem solving, and develop a hands-on understanding for w
805.
▲
by
rglover
2y ago
I switched to Bluesky yesterday due to the bots/zero engagement on X. It's basically become yelling into the void. Started out in 2007 and it was great for finding people and getting interest in your projects, but now, I just get
806.
▲
by
rglover
2y ago
I love what Anthropic and Dario are doing and from a business perspective this makes perfect sense. But AI is the last thing the military should be touching. If there's even a half percent chance that a mistake is made, it could be irr
807.
▲
by
rglover
2y ago
I'd investigate getting a build out to Node.js (looks like you already have this) and then just doing a simple SCP of the build to a VPS. From there, just use a systemd script to handle startup/restart on errors. For logging, some
808.
▲
by
rglover
2y ago
What stack are you deploying?
809.
▲
by
rglover
2y ago
I love the snappiness of Zed, but the only reason I haven't used it is because of confusion around getting LSP to work (specifically for JS/Node).
810.
▲
by
rglover
2y ago
SEEKING WORK Location: Tennessee, United States Remote Work: Yes, only Unicorn. I do branding [1], design, and full-stack JavaScript development. I built the Joystick JavaScript framework (full-stack [2]) and Push deployment service [3]. Re
More ›