Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dancek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
241.
▲
by
dancek
9y ago
A photographer makes a lot of decisions before collecting the data (ie. shooting) and a lot more in post-processing. Framing and timing the shot are some of the most important ones, and here they were almost exactly the same. But even at th
242.
▲
by
dancek
9y ago
Couldn't someone just patch the binary to accept a different certificate? Or for that matter, read the decompiled bytecode and figure out if the app is listening? Or run a patched Android that logs all microphone API calls? I suspect I
243.
▲
by
dancek
9y ago
Yes, they apparently provided a service that generates private keys because that's easier for the customer.
244.
▲
by
dancek
9y ago
This was very irresponsible from the CEO, but should not have been possible at all. The private key should be generated where it's used, a certificate signing request created and sent to a certificate authority. After the CA makes sure
245.
▲
by
dancek
9y ago
There was an article about these John Deere hacking farmers a year ago, and this is a follow-up. There was good discussion on HN back then: https://news.ycombinator.com/item?id=13925994
246.
▲
by
dancek
9y ago
Thanks for typesetting the pdfs for other people to read! I was going to claim that I've packaged CWEB for Homebrew so it's easy to get for MacOS users. I went to see if it still works and isn't moved to boneyard, and yes, it
247.
▲
by
dancek
9y ago
Is that the reason you consider it one of the worst UI's you've ever used? To be fair, the UI does tell you that it's showing e.g. "5 of 6" databases next to the connection name. If you click on that text, you get t
248.
▲
by
dancek
9y ago
I'm not sure how you'd do this with windowing functions, but at least you can use common table expressions (WITH) to achieve what you're asking for. The site is down right now, so I had to test using my own db instance. Colum
249.
▲
by
dancek
9y ago
I've been using DataGrip by JetBrains for a while now. I have no qualms with it, but the price would be an issue if I didn't have the full JetBrains pack already from my employer. What is the killer feature of TablePlus? Should I
250.
▲
by
dancek
9y ago
This looks really nice! Still, the geek in me is a bit unhappy. LinkedIn will change their HTML structure in the future, so this software will break. Fixing it is easy---if you have the source code and access to the server. I tend to pick s
251.
▲
by
dancek
9y ago
The official YouTube live broadcast video by SpaceX is at: https://youtu.be/wbSwFU6tY1c
252.
▲
by
dancek
9y ago
This principle is commonly known as Chesterton's fence . https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence
253.
▲
by
dancek
9y ago
This was a really good viewpoint as it made me realize that the listed things are not only useful mental models but deeply connected to values. These models are used to guide your thinking which will affect your behavior. Therefore it'
254.
▲
by
dancek
9y ago
Looks like the indexing will be changed to 0-based in the next draft. https://github.com/pllk/cphb/commit/35d53d39d494cdc2d8f884c3...
255.
▲
by
dancek
10y ago
There was a great MITx course called Street-Fighting Math. Most of the techniques and ideas taught apply well to mental math. The course materials are freely readable after logging into edX and enrolling. https://www.edx.org/
256.
▲
by
dancek
10y ago
> [Recommended amount of swap] depends on the desired behaviour of the system, but configuring an amount of 20% of the RAM as swap is usually a good idea. This sounds like good advice compared to the classic "2x RAM" guideline.
257.
▲
by
dancek
10y ago
The same argument can be made regarding any person and any event in reasonably distant history. Still, mainstream historians believe that we know a lot about Caesar, for example.
258.
▲
by
dancek
10y ago
I don't know why this is downvoted. Might be the correct explanation to "I saw somewhere".
259.
▲
by
dancek
10y ago
Discord has a compact layout option. It's good enough for me--the pixels wasted here and there improve readability while not losing too much text IMHO. Then again, using a monospace font like I did for years (ssh+screen+irssi) wastes a
260.
▲
by
dancek
10y ago
You're obviously humble. If you know good functional programming practices from elsewhere, you might still be a noob when it comes to the JS ecosystem though.
261.
▲
by
dancek
10y ago
It's solid once you get everything set up, but that takes me a while. Of course I've only set it up for a couple of projects, using different build systems, and having tried other test libraries in between in order to minimize the
262.
▲
by
dancek
10y ago
In a previous job we had a small office with just 4 toilets. About 10% of employees were female. There had originally been 2/2 male/female toilets but that was changed to 2 male, 1 female, and 1 unisex toilet. That worked well in
263.
▲
by
dancek
10y ago
I'd also love to hear an explanation from someone intolerant of dissent. I attribute it to the history of feminism. First-wave feminism genuinely dealt with human rights issues where dissent was based on a twisted view of humanity (e.g
264.
▲
by
dancek
10y ago
> I spent around three days on my presentation, mainly because I did it in LaTeX instead of PowerPoint, as any sane person would in about one tenth of the time. This was the only part I could completely identify with. Perhaps even using
265.
▲
by
dancek
10y ago
As a stay-at-home dad with twins, I spend about 2 hours a week shopping and probably an hour a day on average on housework. We cook lots once a week and microwave it; I run the dishwasher every day and do laundry perhaps 3 times a week. Of
266.
▲
by
dancek
10y ago
Yes. The title could have been "USB Type-C is kind of great for hackers", but would that get the same amount of readers? Probably not. I think the next iPhone will have USB-C. It would make little sense for Apple to commit this he
267.
▲
by
dancek
10y ago
See my reply to a sibling comment [1]. A 16,000 mAh power bank is about 75% the capacity of the 15" MBP battery.
268.
▲
by
dancek
10y ago
You can't directly compare mAh values, as they're an unit of electric charge. The amount of energy depends on voltage, too. Power bank manufacturers are basically running a marketing scam; the batteries they sell have 3.7V while U
269.
▲
by
dancek
10y ago
Yes. We were building a website for a bank and wanted to put some services in the cloud (after all, the online banking system was completely separate). The security team of the bank was originally very opposed to the idea. It's been a
270.
▲
by
dancek
10y ago
Indeed. Most apartment buildings and some houses in cities use municipal central heating. Otherwise it's common to have electrical heating (though older houses sometimes use oil), and people tend to heat with wood stoves in addition.
More ›