Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trebor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
trebor
11y ago
My first reaction to this is gritting my teeth. But I went and looked and did the math. And I noticed that current users with a perpetual license (the "old" licensing model) can upgrade to the new pricing for the old renewal cost.
122.
▲
by
trebor
11y ago
Another good alternative cookware is Le Creuset. They make nice enameled cast-iron products, and they work well. I think Costco carries them as a white-label now and then.
123.
▲
by
trebor
11y ago
You'd think that the founders of Google would think about SEO friendliness for their corporate names. "Alphabet" will be as searchable as "Go" is.
124.
▲
by
trebor
11y ago
At least it'll compress really well, right? ;)
125.
▲
by
trebor
11y ago
Technically, this inverts the attempted DependencyInjection pattern and turns it into the ServiceLocator pattern. Still valid, but it couples your classes to the container itself. It's just as restrictive as a facade (also known as the
126.
▲
by
trebor
11y ago
I'm impressed by how fast this algorithm is. I wrote a toy implementation in Go, and it was only ~50ns/op to generate random numbers. And it's very even in distribution, but I'd have to rerun my tests to find the percent
127.
▲
by
trebor
11y ago
It's free if you don't mind giving Google your contact information, which they can easily combine with their advertising data...
128.
▲
by
trebor
11y ago
Unless you pay for "WHOIS Privacy" your contact information is public. I'm not certain how they find the new domain registrations though, maybe they watch for new DNS entries.
129.
▲
by
trebor
11y ago
Point 3 is highly debatable—people have always (since the invention of the cipher) had ways to secure their physical assets with ciphers, languages, etc. Self-incriminating testimony is protected against by the Fifth Amendment, and as far a
130.
▲
by
trebor
11y ago
I lived near one of the asbestos super-sites that the EPA was still involved in monitoring. Back in the day it had been a huge asbestos mine. As far as I know, it was safe when I lived in the area but the health impacts were still being fel
131.
▲
by
trebor
11y ago
TL;DR, use Time except when you need to deal with historical dates in their context. This was actually explained in the last paragraph of that post. Emphasis mine. > So when should use you use DateTime in Ruby and when should you use T
132.
▲
by
trebor
11y ago
Anyone compiling regex strings in PHP from user input should take care to use preg_quote(): http://php.net/manual/en/function.preg-quote.php Otherwise, you're in risky business trusting what a user could sen
133.
▲
by
trebor
11y ago
The old Raspberry Pi was able to handle 1-2 simultaneous calls with no signs of trouble. We were able to run a 3 way call between 2 lines and a cell user without problems. The newer Pi should be capable of handling ~3-5 calls, assuming simi
134.
▲
by
trebor
11y ago
This is a nice step, sure, but doesn't provide for my #1 concern: I want to protect my data from Google , not legitimate people. Work on that one, Google...
135.
▲
by
trebor
11y ago
Yes, last time I checked life has a 100% death rate...
136.
▲
by
trebor
11y ago
Thank you for the in-depth explanation!
137.
▲
by
trebor
11y ago
I am not a cryptographer. I don't quite understand the distinction you are drawing with so little information. Care to explain what I misunderstood?
138.
▲
by
trebor
11y ago
No. A timing attack is used to determine the shared key that creates the HMAC. Because == and === (depending on the language) use memcmp(), the time of the comparison varies. EG: 36D5F4EA999342FED17D7488CB260FC92926 36D5F4EA999342FED1 8 D
139.
▲
by
trebor
11y ago
AI researchers always disappoint me because I haven't ever seen a discussion of outright tampering. The danger of AI isn't free will, but some suicidal maniac capable of embedding viruses in the AI. We've got enough of black-
140.
▲
by
trebor
11y ago
It's also pretty sad that they didn't use a constant time comparison function. Whether it exists in the target language standard library or not, it's easy enough to write one.
141.
▲
by
trebor
12y ago
From my research and back of the napkin estimates, the operation cost of a diesel vehicle is the same as a gasoline vehicle (MPG gains are offset completely by fuel price in my area). Assuming that the two engines cost the same I think the
142.
▲
by
trebor
12y ago
The answer is "yes". The problem is that the web isn't stateful, as we term it, so each request you make is a totally blank slate—except for cookies. If they do any expensive computations and then cache them in the session (t
143.
▲
by
trebor
12y ago
As a Mac user who migrated from Windows, I had no doubt that it was only a matter of time before Macs became more lucrative targets. Anyone who thinks that their OS of choice is unassailable is fooling themselves.
144.
▲
by
trebor
12y ago
I've been using Republic Wireless with the Cell/WiFi plan for $10/mo. I wouldn't even own a cell phone on one of the major carriers—I hate feeling like a hostage, when I'm a paying customer.
145.
▲
by
trebor
12y ago
A lot of the over engineering in Laravel comes from Symphony, which in turn inspires how Laravel is built. And with the Proxy pattern in use everywhere, it inspires high coupling in your code in a way that doesn't quite look like coupl
146.
▲
by
trebor
12y ago
So did I. I'm going to reuse the SVN joke for my local area, instead of Californians. (We don't get many of those on the eastern sea-board.)
147.
▲
by
trebor
12y ago
I'm happy to see how much success this project has seen. Here's hoping that we get some demonstrably resilient algorithms out of this.
148.
▲
by
trebor
12y ago
The OP may mean calculating from left to right, instead of right to left. One is merely the reverse of the other. EG: $20 - $14.45 = ... $6 ($0.45 excess) $5.60 ($0.05 excess) $5.55 ($0.00 excess) Instead of: $
149.
▲
by
trebor
12y ago
The Hospitality (Hotel/Resort/Etc) industry. Edit: I don't know if I can reveal the client, so please don't ask.
150.
▲
by
trebor
12y ago
Actually, this company has their own internal development team that doesn't use PHP. They also employ full-time sysadmins. The only reason they used PHP is because they wanted to use a very well known CMS. We were explicitly told to co
More ›