Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iscoelho
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
iscoelho
3y ago
> but it may prevent some other optimizations. I see this mentioned a few times in this thread, but I haven't experienced this in practice (and I've written a lot of unsafe in Java). Are there any examples of this?
152.
▲
by
iscoelho
3y ago
Sure, you're not wrong, but my focus was that the benchmark is indicative of the raw performance impact of bounds checks (when they are unable to elided) in a real world algorithm (as opposed to a micro-benchmark). With that said, conv
153.
▲
by
iscoelho
3y ago
Oh I don't disagree at all! It's a writing error on my end (clear since I qualify the percentage afterwards), so I think focusing on it distracts from the point (which is why I say it's pedantic). I understand the pet peeve t
154.
▲
by
iscoelho
3y ago
> "which is already low", "such a small benefit" This is subjective. In my opinion, even 10%~ is massive . Performance matters and this would be a step backwards.
155.
▲
by
iscoelho
3y ago
Here's an example of the same issue in Rust: https://dropbox.tech/infrastructure/lossless-compression-wit... (with bounds checks) "Telling the Rust allocator to avoid zeroing the memory when allocating for Br
156.
▲
by
iscoelho
3y ago
> Doing a naked `a[i]` is simply not common java code. It is extremely common in performance sensitive code, 1) graphics & rendering 2) networking 3) buffers > But further newer JVM additions like the enhanced for loop eliminate a
157.
▲
by
iscoelho
3y ago
(and that is quite pedantic)
158.
▲
by
iscoelho
3y ago
As the parent comment said: bounds checks. Unsafe is an order of magnitude faster for performance sensitive tasks due to only that. Quick publication showing the difference (up to 125%!): https://www2.cs.arizona.edu/~dkl
159.
▲
by
iscoelho
3y ago
It's a misunderstanding. Oceania suffers from peering/latency issues related to being very far from other continents (+ monopolies). Anything local is fine.
160.
▲
by
iscoelho
4y ago
You do not need to enable 2FA to be affected by this issue, so IIRC it is possible you never received the 2FA backup codes to begin with. "Suspicious" logins will prompt 2FA from your connected phone.
161.
▲
by
iscoelho
4y ago
1. LuaJIT can be faster than C due to optimizations regarding function calls. 2. GC is LuaJIT's greatest weakness [1] (It is very slow) - Most high performance projects disable it and only use C FFI allocations. [1] http://
162.
▲
by
iscoelho
5y ago
Metal was released in 2014. Vulkan was released in 2016. It makes no sense for them up-root their entire OS and ecosystem just to switch to Vulkan. Microsoft has no interest either.
163.
▲
by
iscoelho
5y ago
There has also been this weird Safari rendering bug that has survived at least 5 years so far. For lack of better name: "Phantom Transparent Square". No matter what you do, the square won't go away until you restart the proce
164.
▲
by
iscoelho
6y ago
Generally the reason an attacker would do those things is because their hijacks will last much longer due to lack of an abuse department and victims having to contact upstreams. Shorter ASPath, planning which Tier 1/2 is the best to hi
165.
▲
by
iscoelho
6y ago
Getting the colocation, hardware, BGP uplink, and the creativity involved in not using your identity at all & minimizing (or eliminating) expenses. Possible, but it'll take a few weeks.
166.
▲
by
iscoelho
6y ago
If you've worked in the industry, you know you can get a BGP uplink these days with bare minimum IRR source validation with only a signature on a contract (not even payment is required to turn up generally). Using this, you can adverti
167.
▲
by
iscoelho
6y ago
I really do wonder why this issue is not given more light. You can potentially BGP hijack a domain (via DNS) and e-mail (via SMTP) as a private individual so easily. Image a nation-state. These protocols only have bandaids like DNSSEC and R
168.
▲
by
iscoelho
6y ago
Before learning Rust, I would highly recommend learning C/C++. Rust has patterns that are very different from any other language I know of. This is why it comes across as an extremely difficult language. I would say however that C come
169.
▲
by
iscoelho
6y ago
Private peering agreements usually have NDAs & are not listed anywhere. The big clouds are a magnitude larger than Hetzner as well. Google didn't start out as a cloud. Especially with YouTube, they no questions have private peering
170.
▲
by
iscoelho
6y ago
Price is a race to the bottom. Nobody wants that. Look at Oil. None of them want to be known as the cheapest provider. They want to be the best provider. Twist on Argumentum ad crumenam [ https://en.wikipedia.org/wiki/Ar
171.
▲
by
iscoelho
6y ago
Bandwidth pricing at GCP/AWS/Azure is not reflective of the price to provide the bandwidth. Cloud pricing is strange because it's not based on reality or cost of providing the service at all. It's also clearly an anti-co
172.
▲
by
iscoelho
6y ago
I have worked for an NSP for 7 years. These fiber cables (and all other ones) have IPv4/IPv6 traffic going over them with Ethernet. Sometimes there's MPLS too, sometimes some VLAN headers, but still IP/Ethernet. There is not
173.
▲
by
iscoelho
7y ago
The only reason anyone would ever call targeted ads "selling your data" is to make people who don't fully understand it believe it's scary. Completely misrepresenting what they are doing. How about we, as a collective, s
174.
▲
by
iscoelho
7y ago
In this case, Comcast is a nearly-Tier-1 transit provider that spends almost $0 on transit outside of interconnect/switchport costs. This argument doesn't really apply. In fact, companies pay them for transit to connect/pee
175.
▲
by
iscoelho
7y ago
Outlet stores really have limited inventory and that is shown if you've ever compared a Gucci/Prada outlet store to a retail store. Outside of generic items, you will rarely find any gems and also: the more expensive the brand, th
176.
▲
by
iscoelho
7y ago
Luxury goods like Gucci and Louis Vuitton do not go on sale for more than 50% ever. Some goods never go on sale, and some goods take years to go on sale. Even then, it's $2,000 -> $1,000. With that, if you couldn't afford the $
177.
▲
by
iscoelho
7y ago
LuaJIT is considerably faster in pure CPU benchmarks than JavaScript. It is also faster than C in some cases unless you are hand optimizing your assembly. See: https://gist.github.com/spion/3049314 https://e
178.
▲
by
iscoelho
7y ago
These types of companies won't get any good press no matter what they do. Everyone will find some way to justify their actions as evil. Everyone will find some way to say "they are still evil on the inside, just pretending not to
179.
▲
by
iscoelho
7y ago
> whatsapp ... conversations You seriously believe that the encrypted communications platform that the US government desperately wants a backdoor in is secretly backdoored by Facebook for ads ? Something that mundane? The platform (What
180.
▲
by
iscoelho
7y ago
I'm not sure what this means. They released an update for a previous version intentionally to allow them to resolve security upgrades. That does not sound like hindering users. The UI is clear. The notification is clear. Catalina only
More ›