Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
disintegrator
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
disintegrator
2y ago
I’ve recently been tinkering with Rust and, while there have been countless articles praising its safety features, it’s the enums and match-expressions that are my favourite features. I want so much for Go to get these but I don’t know that
32.
▲
Ask HN: Has the Slack iOS app been sluggish for you lately?
2 points
by
disintegrator
2y ago
|
1 comments
33.
▲
by
disintegrator
2y ago
Just trying this out and it seems amazing so far. Thanks for the tip!
34.
▲
by
disintegrator
2y ago
Thanks! Really appreciate your comment :)
35.
▲
by
disintegrator
2y ago
I've tried devcontainers in the past and the performance compared to my current setup was pretty bad. This was a few years ago when it was known that filesystem-heavy workloads on Docker for Mac were sub-optimal. I remember having to d
36.
▲
by
disintegrator
2y ago
I work directly in my guest os and clone my projects and run them in there. There are some projects that are driven through docker-compose and that works nicely. The one caveat is that I had to install `apt install binfmt-support qemu-user-
37.
▲
by
disintegrator
2y ago
As others have mentioned, I’ve not had great performance with shared folders and the SSH extension in VS Code is so damn good. Over time, you forget it’s even running because you open recent projects and it remembers which were local (on ho
38.
▲
by
disintegrator
2y ago
Brilliant tip! I’m going to give it a shot tomorrow and update the post (with attribution).
39.
▲
by
disintegrator
2y ago
Author here. Thank you for all the tips. I especially like the idea of using ssh from guest to host to enable pbcopy/pbpaste and open. Now I know what all the WSL users experience seamlessly with their setups. Glad I have something tha
40.
▲
Developing inside a virtual machine
(blog.disintegrator.dev)
190 points
by
disintegrator
2y ago
|
143 comments
41.
▲
by
disintegrator
2y ago
Saw a recent post on HN about Bazel which made think of Please. I learned about it many years ago but never got around to using it. I checked on the github page for the project and was happy to see it's still actively developed and the
42.
▲
Please – build system for reproducible multi-language builds
(please.build)
2 points
by
disintegrator
2y ago
|
1 comments
43.
▲
by
disintegrator
2y ago
I really love working in neovim but this is a frustrating position that much of the community has taken. Editing multiple sites _simultaneously_ is nowhere as intuitive as with VS Code and IntelliJ/Sublime before it. - Repeat - `.` - i
44.
▲
by
disintegrator
2y ago
We build our TypeScript SDK code generator on Zod. So data coming from the user or API is validated and transform using generated Zod schemas. It's a fantastic library with some caveats specifically with Zod v3: - Yes, it doesn't
45.
▲
Show HN: A tool to visualise Zod validation errors
(zod.fyi)
17 points
by
disintegrator
2y ago
|
1 comments
46.
▲
by
disintegrator
2y ago
I’ve always associated Go as something that swooped in on Python, Ruby and Node.js to offer an alternative that is much faster out of the gate and far more approachable as C/C++/Java. This continues to be true from my experience a
47.
▲
by
disintegrator
2y ago
You might like zod-openapi ( https://github.com/samchungy/zod-openapi ). You write Zod schemas which, on their own, are a great way to define a validation and de/serialization layer in your API and you then can addi
48.
▲
by
disintegrator
2y ago
One git life hack I adopted is to sign my commits with an SSH key that is stored in 1Password. Anytime a tool like git or vs code (with git under the hood) wants to sign commits, fetch/pull/push a remote, or clone a repo I get a n
49.
▲
by
disintegrator
2y ago
I’ve found my comfort zone writing my commonly used CLI tasks into a single Go binary as subcommands. It’s a departure from shell scripting but it’s been worth it so far to have the entire suite of CLI building libraries, rich loggers and s
50.
▲
by
disintegrator
2y ago
I use Little Snitch religiously and for third-party apps I use occasionally I'm very pedantic with allowing them 10 minutes of network access at a time. It sounds painful to manage but in practice only a few apps are super chatty. Apps
51.
▲
by
disintegrator
2y ago
I really struggle with clipboard history apps because they are not very far from a keylogger and I don't want to have to trust a developer or third-party code with the contents of my clipboard. Am I being irrational?
52.
▲
Writing Zod code that minifies
(speakeasyapi.dev)
7 points
by
disintegrator
2y ago
|
0 comments
53.
▲
by
disintegrator
2y ago
The core is still MIT-licensed and I don't see a great reason why that would change. I've built many plugins for Benthos and Bloblang in the past and I've always been more inclined to use Benthos _as a library_. The Go packag
54.
▲
by
disintegrator
3y ago
I’m of Lebanese heritage and grew up speaking, reading and writing Arabic but then moved to Australia and never looked back for over 20 years. I’m slowly losing my ability to speak Arabic so I make a point of doing so when speaking to my pa
55.
▲
by
disintegrator
3y ago
Indeed, it's down to the library API to give you the right knobs to control for concurrency. It says more about the quality of the library if it mismanages goroutines than it does about whether or not libraries should use goroutines at
56.
▲
by
disintegrator
3y ago
I think it's totally fine for libraries to spin up goroutines internally. My interpretation is that the library's public interface should appear to be synchronous. As a contrived example: package main import ( "con
57.
▲
by
disintegrator
3y ago
Hey folks, this was my first major project at Speakeasy! Overall, it's been a great exercise in understanding the sort developer experience customers want from their SDKs. A couple of challenges I want to highlight included translating
58.
▲
by
disintegrator
3y ago
https://github.com/FixTweet/FxTwitter
59.
▲
How AI convinced our CTO to upgrade our MacBooks
(incident.io)
7 points
by
disintegrator
3y ago
|
3 comments
60.
▲
by
disintegrator
3y ago
I think Rich clearly demonstrated the pitfalls in today's Svelte and the introduction of runes seemed like a great solution to them. I'm not a Svelte user but this new feature does seem clearer to me when looking at the refactored
More ›