Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben509
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
ben509
6y ago
Option 4: * Code up a unit test that replicates end of buffer scenarios and verifies that X bytes is enough and X-1 bytes fails.
212.
▲
by
ben509
6y ago
You can sometimes remedy the problem. I went through a few aliases with Amazon, and finally found the secret option to keep my email private. (By default, they post it on reviews or something stupid.) It's especially good for apartment
213.
▲
by
ben509
6y ago
I've been doing that through sneakemail.com, but it's a forwarding service and the domains they use routinely get put on lists that claim they're a temporary email service. Then you can't use them to sign up on some site
214.
▲
by
ben509
6y ago
The withholding will be screwed up, but if you claim to be in NY and are actually in Wyoming, you'll probably get a big refund. But you'll file in your real state of residence, and the other state will then insist you owe them tax
215.
▲
by
ben509
6y ago
My phone can point at my ceiling with the camera on...
216.
▲
by
ben509
6y ago
Going back to a CRL (certificate revocation list) for code-signing certs makes more sense. And, really, there shouldn't be a huge number of developer certs being revoked. If that's happening, they need to put more work up front in
217.
▲
by
ben509
6y ago
Your first choice to edit a config file should be: sudo --edit pathname This trick has the same problem, $() has to be evaluated before sudo sees anything. I see so many people flailing about here, and I've done it myself. So let'
218.
▲
by
ben509
6y ago
I link this[1] every time I see it mentioned, because the standard depiction of it bears no resemblance to what's in their paper. [1]: https://www.talyarkoni.org/blog/2010/07/07/what-the-dunning-...
219.
▲
by
ben509
6y ago
dig ocsp.apple.com reports: ;; ANSWER SECTION: ocsp.apple.com. 3593 IN CNAME ocsp-lb.apple.com.akadns.net. ocsp-lb.apple.com.akadns.net. 53 IN CNAME ocsp.g.aaplimg.com. ocsp.g.aaplimg.com. 8 IN A 17.253.21.201 ocsp.g.
220.
▲
by
ben509
6y ago
For those not familiar with it, the fable is that the scorpion asks the frog to help it cross a river, it stings the frog, the frog asks why since they'll both drown, the scorpion says it's my nature to do so. A corporation's
221.
▲
by
ben509
6y ago
You could absolutely use a simple certificate revocation list instead of OCSP. I don't know how large that would be, though. It could run into problems if there was a heartbleed like issue that required revoking many certs. All the ext
222.
▲
by
ben509
6y ago
This is a series of cliches strung together.
223.
▲
by
ben509
6y ago
> We can't download more than 5-8 files at a time. I understand that big file transfers are hard, but that's the entire point of the service. There are plenty of file transfer tools that can take a list of URLs, but this forces
224.
▲
by
ben509
6y ago
I'd recommend using Zotero as it's designed for researchers. It can save most pages for offline viewing, but also grabs metadata, and has specialized downloaders for papers and such. Main downside is it's not trying to plug i
225.
▲
by
ben509
6y ago
> but we do not have pfind pgrep pls pcat etc ... find, globally search regex and print, list, concatenate, change directory, make directory etc. are all commands. They all have some kind of imperative verb in there, so "print"
226.
▲
by
ben509
6y ago
Well, if we ever rewrite Unix, we can just go with "wd". Because we know it's reading the current or present value, like any other command that reads a value. And of course we're going to print it, that's the natura
227.
▲
by
ben509
6y ago
My guess is the variable was named the same as the command to avoid confusion. What's $PWD? Same thing you get from `pwd` without forking.
228.
▲
by
ben509
6y ago
Businesses make decisions on the margin. The $50k is history, it's the next dollar that counts.
229.
▲
by
ben509
6y ago
The only flag I'd say I want 99% of the time is -E (same as calling egrep) because extended regular expressions are what you almost always want. A sibling comment suggested -i, other useful flags are -w (find whole words) and -C (chang
230.
▲
by
ben509
6y ago
I'll file this version under sound control.
231.
▲
by
ben509
6y ago
This is correct. The common misunderstanding is due to the fact that gits pack files are delta compressed, but that's a implementation detail.
232.
▲
by
ben509
6y ago
TBH, I don't, on the rare occasions I need to print, I just order a print via Fedex and pick it up in the store. It's usually stuff like an insurance card or temporary registration for my car.
233.
▲
by
ben509
6y ago
That would indicate an agreement with the government to print some forensic markings. That is a bad thing, but it is an entirely different thing from an anti-competitive cartel.
234.
▲
by
ben509
6y ago
The author didn't just delete the database. He deliberately installed it on an ASG, which is designed to drop instances . Using an ASG to manage a production database is a tale from the land of What The Everloving Fuck Were You Thinki
235.
▲
by
ben509
6y ago
Python is a bad choice for writing reliable software. If you need the reliability of type checking, just use an early-bound language, not a late-bound language with checking grafted on. And very few Python libraries have type annotations. A
236.
▲
by
ben509
6y ago
Where are your really targeted ads, adtech industry? I think the lack of innovation is due to several problems: 1. the constant barrage of ads hurts their reputation making recruiting hard Wherever you land on the ethics of it, it's
237.
▲
by
ben509
6y ago
It's so strange that, when dealing with an industry that thought pop-unders were a great idea, asking nicely didn't work. I can't fathom why.
238.
▲
by
ben509
6y ago
> Not many people will maintain basic civility towards a person telling them they don't deserve basic rights for example. And the political left has been gaming that for years now by declaring that every entitlement and vote-buying
239.
▲
by
ben509
6y ago
> This is very confusing because she very seldom even posts to Facebook They probably think it's a fake account.
240.
▲
by
ben509
6y ago
> Providing the users of a product with the option of a Dark Mode is a good business decision, especially if the application requires users to spend lots of time on the application. I just got done correcting ten exception requests, and
More ›