Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shazow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
shazow
11y ago
Ha, that is funny. Yea, I was researching flights that day (to find alternate routes from NYC to SFO) and by the end of the day I had like 5 flight alert cards on my Google Now. They're easy enough to swipe away, but it is amusing in a
182.
▲
by
shazow
11y ago
I can't live without it. Day to day, I get all my weather (current location and upcoming locations based on travel itinerary), my financial interests' status (based on google finance portfolio), traffic (based on calendar event lo
183.
▲
by
shazow
11y ago
> Here's a trick that I expected to work but doesn't. Would be interested to hear the rationale if anyone knows it. m := map[[]int]int{} ... will not work, because []int is a slice—that is, a pointer to an array of und
184.
▲
by
shazow
11y ago
Bolt is an in-process database, like sqlite or leveldb. And it's native-Go, so there are no dependencies. You don't need to run additional service infrastructure to use it.
185.
▲
by
shazow
11y ago
> Are there any experiments with incentivized distributed hash tables? eg. nodes could be paid bitcoin or something for servicing the network. http://filecoin.io/ is supposed to be this, but it hasn't been fully imp
186.
▲
by
shazow
11y ago
It's easy to tunnel-vision into the security of your own code and forget that everything you depend on must also be secure. This could span from your framework's cookie signing to the version of OpenSSL you're using on the se
187.
▲
by
shazow
11y ago
> Based on the investigation, the attacker bypassed multiple layers of authentication and gained unauthorised access to an administrative panel provided by one of our infrastructure providers. Sounds like a VPS provider screwed up? If th
188.
▲
by
shazow
11y ago
"They are actually being held open 7mm by a custom 3D printed wedge. This opening allows for the screen to be used for testing as well as ample air circulation. You can’t see the temperature sensors tucked into each notebook’s keyboard
189.
▲
by
shazow
11y ago
It could be a separate docker container with a volume mount to the docker sock. That's probably the best option, a bit better than baking it into all of your images.
190.
▲
by
shazow
11y ago
The closest thing to documentation is still the design document: https://docs.google.com/document/d/1nr-TQHw_er6GOQRsF6T43GGh... I've been playing around with it, here's a neat example that does shared l
191.
▲
by
shazow
11y ago
These for the most part don't help you persist/offload/schedule asynchronous jobs off the main process. If your process dies or gets restarted, the async job dies with it. Celery persists, queues, schedules and distributes jo
192.
▲
by
shazow
11y ago
If an employer rescinds an offer after you make a politely-phrased counter-proposal, then that's a very combative attitude and I'd stay away from working there to begin with. The only kind of employer who would react that way is o
193.
▲
by
shazow
11y ago
As far as vim goes, https://github.com/fatih/vim-go is the best all-in-one plugin. Really a pleasure to use and easy to install. Should work with neovim too.
194.
▲
by
shazow
12y ago
> This is like complaining that nobody will bet on you to defeat Gary Kasparov means there is a culture of elitism in chess. A closer analogy would be berating everyone who tries to play chess unless they studied it for years and they ar
195.
▲
by
shazow
12y ago
... Not to mention that you can easily spend 2-3 or more hours of your day eating lunch/dinner/pingpong/making coffee/dance classes/gym/etc.
196.
▲
by
shazow
12y ago
¯\_(ツ)_/¯ As long as running `make` does the Right Thing, does it matter if it does it via an `all` target or by defaulting to a different first target? I do agree that generally `all` is a common convention, though.
197.
▲
by
shazow
12y ago
> It's interesting how they list targets that have "practically become a convention", yet they're missing "all". I think what he means is that their Makefiles effectively start having a common API across pro
198.
▲
by
shazow
12y ago
Like postfix. :/ People tend to wrap it with supervisord which does a better job at tracking child processes.
199.
▲
by
shazow
12y ago
I gave this talk at the Sourcegraph meetup this month, had a great time. Happy to answer any questions here too. :)
200.
▲
by
shazow
12y ago
> It would also mean the flow of trade from Germany to Greece would probably balance out more because the domestic economy in Greece would be cheaper than importing German goods. I read this a lot but I don't quite understand why--H
201.
▲
by
shazow
12y ago
Yea, sshmitm makes sense also, but I wouldn't consider that a 0day exactly. :P
202.
▲
by
shazow
12y ago
Right, I saw that also. Is it referring to routers that happen to run SSH with default root/admin passwords or something? I couldn't find anything more concrete.
203.
▲
by
shazow
12y ago
It shouldn't take much longer than an HTTPS connection, could be something with your server configuration or latency?
204.
▲
by
shazow
12y ago
SSH supports CA-style key signing, and it also supports server fingerprint validation over DNSSEC (search for SSHFP DNS). Unfortunately neither of these things are commonly used yet. Cloudflare is adding DNSSEC support soon, so hopefully th
205.
▲
by
shazow
12y ago
You're right, we probably shouldn't use SSH to microwave our food. But a lot of things where we use HTTP today, we could be using SSH if we had better library support. Some more ideas towards the end of the post.
206.
▲
by
shazow
12y ago
Yea I was fairly confused about that announcement as I couldn't find anything damning in the released docs about SSH. Do you have a reference to a specific document/slide?
207.
▲
by
shazow
12y ago
Lots of people spamming/flooding/DoS'ing "for fun", but no clueless bots stumbling in accidentally yet. Btw previous HN thread about ssh-chat here: https://news.ycombinator.com/item?id=8743374
208.
▲
by
shazow
12y ago
Sorry the title has been revised to "Why aren’t we using SSH for everything?" in case mods see this.
209.
▲
by
shazow
12y ago
How can you tell it's memory? As far as I can tell, the RSS memory usage of the process has never gone above 15mb.
210.
▲
by
shazow
12y ago
Here's a screenshot somebody took of it running on a Cathode terminal: https://twitter.com/shazow/status/543587063765823490 We've had some pull requests since then which add colors and other things.
More ›