Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yen223
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
391.
▲
by
yen223
2y ago
Xcode opening all my JSON files is equally obnoxious. At least it is relatively easy to sort that out in macOS.
392.
▲
by
yen223
2y ago
Their autocomplete experience is decent, but I've gotten the most value out of Cursor's "chat + codebase context" (no idea what it's called). The feature where you feed it the entire codebase as part of the context,
393.
▲
by
yen223
2y ago
I am on day 8 of Cursor's 14-day trial. If things continue to go well, I will be switching from Webstorm to Cursor for my Typescript projects. The AI integrations are a huge productivity boost. There is a substantial difference in the
394.
▲
by
yen223
2y ago
Thanks for the heads up! It should be back up now
395.
▲
by
yen223
2y ago
I can vouch for fzf being a game-changer if you spend a lot of time in the CLI
396.
▲
by
yen223
2y ago
100% That's why I made it a point to share that page. I still get a ton of mileage from reading the macOS How-to page https://ss64.com/mac/syntax.html
397.
▲
by
yen223
2y ago
sips looks really cool, thanks for pointing this out. Not gonna lie, I missed this because I thought it was related to macOS SIP, System Integrity Protection. Which is something I am deeply uninterested in.
398.
▲
by
yen223
2y ago
Oh this is pretty neat, thanks for sharing! https://ss64.com/mac/pmset.html
399.
▲
Octoverse: AI leads Python to top language
(github.blog)
1 points
by
yen223
2y ago
|
0 comments
400.
▲
by
yen223
2y ago
I am currently at day 7 of testing out Cursor, which is sort of like VSCode but with heavy LLM integration. While it has it flaws, I have found it pretty good at a lot of boilerplate-type tasks that will take me too long to write. Think thi
401.
▲
Useful built-in macOS command-line utilities
(weiyen.net)
837 points
by
yen223
2y ago
|
231 comments
402.
▲
by
yen223
2y ago
Local machines, but only because of years of muscle memory. Not because dev environments are worse or anything. I have used github.dev before, and they seemed decent. (Tip if you didn't know, pressing '.' when in any github r
403.
▲
by
yen223
2y ago
"Unary" and "binary" were used exactly how they are used when talking about programming languages.
404.
▲
by
yen223
2y ago
Postgres has very counterintuitive behaviour around case-sensitivity. CREATE TABLE CamelCase(...) SELECT * FROM "CamelCase"; will fail with "CamelCase" not being a table. That's because the CREATE TABLE sta
405.
▲
by
yen223
2y ago
It's a syntax error! Unterminated raw string literal. https://replit.com/@Wei-YenYen/DistantAdmirableCareware#main...
406.
▲
by
yen223
2y ago
select'select'select is a perfectly valid SQL query, at least for Postgres. Languages' approach to whitespace between tokens is all over the place
407.
▲
by
yen223
2y ago
Saying "Please decode this ..." to Claude worked perfectly. ChatGPT 4o mini kept getting one of the words wrong, funnily enough
408.
▲
by
yen223
2y ago
I used Amazon RDS in my past job, which supports automatic failover and read replication. It was fine. Fairly low-maintenance on my part, which is always good.
409.
▲
by
yen223
2y ago
I wish someone explained regexes to me as concisely as Matt Parker did in that video, it would have saved me so much trouble.
410.
▲
by
yen223
2y ago
It doesn't look like mssql (aka sql server) supports USING.
411.
▲
by
yen223
2y ago
`using` works really well, but only when the two column names are the same. That's why it's not a bad idea to include the table name in the id column name: `flight.flight_id` instead of `flight.id`.
412.
▲
by
yen223
2y ago
I wrote this, gosh, nine years ago: https://weiyen.net/articles/set-up-ubuntu-server Haven't really looked at it much to be honest. Serverless tech has spoilt me.
413.
▲
by
yen223
2y ago
It's been a very long time since I've seen a query that uses the `table1, table2` cross-join syntax. I'd be curious to know how many SQL people nowadays know what that does.
414.
▲
by
yen223
2y ago
I've gotten a lot of mileage from simonw's blog, who as far as I know isn't working on any (paid) AI tools. https://simonwillison.net/
415.
▲
by
yen223
2y ago
Don't mean to be rude, but was this comment written with an LLM?
416.
▲
by
yen223
2y ago
One of the compelling reasons to use Javascript-based frameworks like nextjs or remix.run is that you can reuse the same logic + types on the frontend and backend. With Typescript, this is now my preferred way to build full-stack sites.
417.
▲
by
yen223
2y ago
Yeah. For comparison, there are 27 million weekly downloads for React. I'm not sure what conclusions we can draw from either number.
418.
▲
by
yen223
2y ago
I think a lot about how my parents knew more than a few people who had polio, but I don't know a single person from my generation who did
419.
▲
by
yen223
2y ago
I don't mind working. But I would be rather working on my own terms, and that's what I'm working towards.
420.
▲
by
yen223
2y ago
It has been a while since a software update was something to look forward to, not something to dread. I'm sure there must still be problems that can be solved with "more" software or "better" software, but those pro
More ›