Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
macrael
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
macrael
6y ago
Playgrounds are like a REPL but they are constantly reevaluating your code from the beginning, so you can edit code anywhere in the file and see how it changes everything.
122.
▲
by
macrael
7y ago
The only thing I've seen that seems genuinely better than print debugging most of the time is the Playground concept, which is just print debugging automatically for every line of your program. Debuggers seem like they are useful somet
123.
▲
by
macrael
7y ago
they appear to have already changed this to "your client connection is encrypted"
124.
▲
by
macrael
7y ago
Zoom is great. It did have a bad news cycle because they had installed a url handler that let folks initiate meetings with video sharing just by getting them to click a link. That news cycle got that behavior removed and now there's a
125.
▲
by
macrael
7y ago
The main reason is security. When a security vulnerability is patched in a new version of one of the libraries you use, you should upgrade, and if you haven't upgraded it in two years it is gonna be a pain in the ass. On one of our pro
126.
▲
by
macrael
7y ago
Please keep posting your little use cases! I wrote a simple window manager that just lets me pick a set of windows across applications and bring them all to the front and cycle through them. https://github.com/macrael/p
127.
▲
by
macrael
7y ago
This looks wonderful and exactly how I'd like to think about such things. Do you generally end up using your db models as the domain models for your application? Or do you have a separate set of models for that, and if so how do you tr
128.
▲
by
macrael
7y ago
here's my suggestion: If anyone in a meeting is calling in, kill the conference room and everyone get on zoom. We are a mostly distributed company, so it makes obvious sense for us, but even early one when only some folks were not pres
129.
▲
by
macrael
7y ago
This is what the web is for. Charming, intimate. Thank you
130.
▲
by
macrael
7y ago
Project Zero continues to be a Good Thing
131.
▲
by
macrael
7y ago
Isn't there an "official" LSP in the works?
132.
▲
by
macrael
8y ago
The series comes out regularly enough to give you all the information you need about the frequency of this shit.
133.
▲
by
macrael
8y ago
This video series from a gamer who plays with voice chat enabled was pretty eye opening. https://www.youtube.com/watch?v=jL0aVqVslSE
134.
▲
by
macrael
8y ago
YANWOT. Webs of trust are so obviously good, and yet so obviously have never really been implemented usefully.
135.
▲
by
macrael
8y ago
Perhaps we could implement some kind of basic tests as a requirement for voting. Like a...literacy test...or something. /s You are not wrong that we need to make changes to get people more engaged with government, but we also need to m
136.
▲
by
macrael
8y ago
one day, that would be wonderful. But frankly, computers and the systems that support them are not trustworthy enough for this, right now. Paper ballots are auditable, if there is a re-count you can trust a bunch of people to sit down and l
137.
▲
by
macrael
8y ago
oooh!
138.
▲
by
macrael
8y ago
So you then define your function to return the type DBError instead of a generic err type. That makes sense to me but for some reason some of the stuff I've suggests that just returning err is more go-like.
139.
▲
by
macrael
8y ago
What is not covered here, and what I'm still searching for a good pattern for, is being able to return different errors depending on the type of failure. Suppose you have a function that fetches a model from your database. It can retur
140.
▲
by
macrael
8y ago
Is this in any way related to the Levandowski lawsuit? The thesis of that suit was that Uber only bought Otto to get a hold of Levandowski and his Google knowledge...
141.
▲
by
macrael
8y ago
Anything similar to this in python? My brother is a new programmer working on a python project and wants to be building a UI and I don't really want to point him to the cocoa scripting bridge as the solution.
142.
▲
by
macrael
8y ago
It's creepy because it's pretending to be people. Phone trees suck, and now a phone tree is calling you and we don't expect phone trees to call us. Now you have to wonder when you get a call wether you are talking to a person
143.
▲
by
macrael
8y ago
Yeah, I've been spending a lot of time on my laptop, actually. I'm quite used to the trackpad being really close to the keyboard. It hasn't been a lot of strain.
144.
▲
by
macrael
8y ago
I've been writing code for ten years, I've been fairly comfortable in vim at times, customizing it and navigating with the keyboard full time. I find myself using the mouse all the time, and I don't understand this obsession
145.
▲
by
macrael
9y ago
I've heard (but not confirmed) that it is expense related. If you wholly enclose the toilet in a room, now that little room needs its own fire extinguisher nozzle (and maybe other regs?) but if it's mostly open, you only have to m
146.
▲
by
macrael
9y ago
From the first link, China sentenced 10 people in front of a crowd but they were executed out of sight. Not that this fully detracts from your point but I appreciate the clarity.
147.
▲
by
macrael
9y ago
A fun little game, it seems like there are some solutions that are ambiguous though and it only allows one as the solution.
148.
▲
by
macrael
9y ago
They fixed compilation caching not to install in $GOPATH/pkg anymore which feels like a good step toward getting rid of it all together, eventually.
149.
▲
by
macrael
9y ago
There is no difference technically, but the point is that as is the author has built up a reputation and trust, and that someone taking their name inherits the trust without the reputation.
150.
▲
by
macrael
9y ago
It would be an ideal standard if it supported browsers.
More ›