Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekimekim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
ekimekim
7y ago
On the subject of the IP leaking: Note that IPv4 only has 2^32 addresses, and people can and do mass scan all of them (see here shodan.io). If your service is exposing any identifiable information (ie. if it's not completely blocking a
212.
▲
by
ekimekim
7y ago
Now seems like a good opportunity to shout out Revive ( https://github.com/LibreVR/Revive ), which allows you to play games intended to be Oculus-exclusive on any VR hardware you like (technically, anything that supports
213.
▲
by
ekimekim
7y ago
Large cities tend to be blue, and you want to pick a recognizable large city name to get the point across. Politics aside, the example would've had less impact for a republican stronghold just because it wouldn't be as recognizabl
214.
▲
by
ekimekim
7y ago
from https://en.wikipedia.org/wiki/Eucalyptus#Adaptation_to_fire : "Eucalyptus oil is highly flammable; ignited trees have been known to explode. Bushfires can travel easily through the oil-rich air of the tree cro
215.
▲
by
ekimekim
7y ago
The problem isn't that there's no implicit conversion between bytes and unicode anymore. The problem is that almost no code beyond the lowest level interfaces is correctly handling it when you need to use bytes. In this case, file
216.
▲
by
ekimekim
7y ago
I made a complaint to the FCC about this when they started to do this to me. A month later I got a cookie-cutter response from Comcast, but it felt good to at least cost them some tiny amount of time to need to respond. I ended up moving ho
217.
▲
by
ekimekim
7y ago
One story I've heard is that adult content payments have a very high rate of chargeback, claiming it was fraud after the fact as a way of saving face when someone else (like a spouse) sees it in their transaction history. But as you sa
218.
▲
by
ekimekim
7y ago
If you have physical access, you have everything (given sufficient time and effort). This will always be true, though dedicated security hardware (TPMs, etc) might drive up that time and effort requirement to get at their contents. The acce
219.
▲
by
ekimekim
7y ago
In general, these kinds of attacks are cross-process information leaks and sandbox escapes. The attack vector is untrusted code running on your system, of which the by far most common and most potentially malicious is javascript when you us
220.
▲
by
ekimekim
7y ago
That's an indicator of wealth inequality, no? The top 50% are paying less as a % of their income, but because their income is rising faster (relative to the bottom 50%) than their total tax rate is falling, they end up paying more in t
221.
▲
by
ekimekim
7y ago
Compare also AUBERGINE and PEACH, which have both picked up alternate meanings to fill in for certain popular anatomical values that Unicode has elected not to define. EDIT: seems HN removes emoji. I understand why, but it makes discussions
222.
▲
by
ekimekim
7y ago
I think python was a poor comparison here. The claim "python doesn't have algebraic data types" doesn't really make sense. Algebraic data types let something be an X or a Y. In python, everything can be an X, or a Y, or
223.
▲
by
ekimekim
7y ago
Yes, 8.8.8.8 and 8.8.4.4 are Google DNS resolvers. Sounds like your Chromecast has them hard-coded instead of respecting your locally configured DNS. In comparison to your current position, where you're black-holing the hard-coded addr
224.
▲
by
ekimekim
7y ago
The Earth is moving around the sun at ~30km/s. The escape velocity of the sun is ~42km/s. So if you start from Earth, it only takes 12km/s of change in velocity (called "delta-V" by rocket scientists / KSP play
225.
▲
by
ekimekim
7y ago
In a networked app where your latency is too high for these figures, or if you need to do some large number crunching etc, you should instead focus on giving the user feedback that progress is occurring. A progress bar, a spinning ball, etc
226.
▲
by
ekimekim
7y ago
I'm not a physicist, but I _think_ to my understanding what you would see is a collapse that would slow down and get more and more red-shifted, as the photons from the collapse take longer and longer to get to you (and are robbed of mo
227.
▲
by
ekimekim
7y ago
Randall Munroe (author of xkcd) addresses this question in his excellent book "What If?", covering what would actually happen (basically a nuclear explosion), what would happen if it was somehow kept magically at the same density
228.
▲
by
ekimekim
7y ago
I think the author meant that UTF-32 is the worst encoding, though that seems to conflate choice of "length" definition with how the value is encoded internally.
229.
▲
by
ekimekim
7y ago
It sounds to me like there's a reasonable middle ground here, where you treat your SQL query more like an AST than a string. So you can do something like myquery = select("col1").where("col2 < {}", my_value), the
230.
▲
by
ekimekim
7y ago
> I'm guessing this has more to do with the tobacco lobby trying to stifle competition. My understanding was that all these vaping companies are owned (or at least heavily invested in) by the tobacco companies anyway?
231.
▲
by
ekimekim
7y ago
A NaN is any value where the 7-bit (for 32-bit floats) exponent is all 1s, except for +/-inf. So a quick approximation is that 1/128 ~= 0.78% of the space is NaN. That means there's 25 bits that we can change while still bein
232.
▲
by
ekimekim
7y ago
There could be a risk that if they did so, they'd get a reputation as "only caring about urban people" and lose votes in majority-rural states outside of Florida.
233.
▲
by
ekimekim
7y ago
Yep, this is my first time seeing Click and it looks very similar to argh. Personally I'll probably stick to argh, but good to see some competition in the space. One nice thing about argh is that it's mostly just a fancy wrapper a
234.
▲
by
ekimekim
7y ago
> if you have the money now, you can have it later (by not spending it) I think this is where your argument breaks down. As pointed out by many other comments, there is non-zero cost and/or risk to ensuring that if you have money no
235.
▲
by
ekimekim
7y ago
I don't think the intent for ITER is to be an economically viable nuclear power plant, but rather to be a prototype, a proof-of-concept that will enable the next generation of smaller, more widespread, and above all cheaper energy-prod
236.
▲
by
ekimekim
7y ago
The examples also do the important job of filling in gaps that the reference docs may accidentially leave - one common one for http APIs I've found is how non-string query params are encoded (eg. this value is a list: do I give it mult
237.
▲
by
ekimekim
7y ago
There is also this: https://wicg.github.io/change-password-url/index.html which is an interop standard for websites to expose a "Change your password" page, which is a good place to start. It lets the passwor
238.
▲
by
ekimekim
7y ago
The haveibeenpwned API uses a k-anonymity model, so that the client can check a password in an efficient fashion (ie. without downloading the entire list of pwned hashes), without also revealing the hash you're trying to check. Basical
239.
▲
by
ekimekim
7y ago
Interestingly, they got one of their own answers wrong. The question is: if a and b are numbers, it is always the case that (a + b) == (b + a) and their notes on it: Is a simple statement involving the commutativity over addi
240.
▲
by
ekimekim
7y ago
I always thought this was an intentional design decision. Players react badly to being "outsmarted" by an AI, so to keep the game fun they made the AIs predictable.
More ›