Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unscaled
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
541.
▲
by
unscaled
9y ago
> iPhone is clearly a better phone. iOS feels more smooth, reliable, battery-efficient in many ways than Android phones. So what you're saying is that iOS is a better OS .
542.
▲
by
unscaled
9y ago
Would you suggest the same course of action for any language which uses exceptions? Because there is nothing special about the stack unwinding you get with panic/recover. I'm seriously wondering if you ran into any trouble with re
543.
▲
by
unscaled
9y ago
Interesting terms. I've never came across them in my linguistic study, but I see they were heavily employed by C.F. Hockett, so that might be less exposure to American Structuralism. I want to make a small correction here. Israel is a
544.
▲
by
unscaled
9y ago
Much of the world is still using C and C++, where every piece of memory has ownership and lifetime. Yes, they don't enforce you to properly specify and transfer ownership semantics at compile time with the borrow checker (although you
545.
▲
by
unscaled
9y ago
To be entirely accurate, you're wrong when you say your definition of OOP is the original one. SIMULA-67 predates Smalltalk and its object system is much closer to Java than it is to Smalltalk, although it helped inspire both. To be mo
546.
▲
by
unscaled
9y ago
That's one of the main touted benefits of containers (a.k.a build reproducibility). You can view containers as a an overly complicated way to make software with complicated deployment brain-dead easy to deploy. We're at the point
547.
▲
by
unscaled
10y ago
You're talking about Blink. Chromium is not a rendering engine, but a full browser. Chrome is just chromium with branded assets and a few proprietary features that link it to Google Services. It was first released in 2008, only 3 years
548.
▲
by
unscaled
10y ago
I think a chainsaw is a better description. On the surface C gives you very fine control over memory, but it's so full of pitfalls that it takes a lot of skill to actually use it properly. When we put security into the equation, what y
549.
▲
by
unscaled
10y ago
Go is incapable of ever achieving C like speeds, and that's not because of runtime safety checks like bounds checking. It's because Go still has a garbage collector, and that always comes with a price tag. Go also often has to cop
550.
▲
by
unscaled
10y ago
Unless you paid to remain on said private property, and they are bound by contract to let you stay.
551.
▲
by
unscaled
10y ago
> It's really weird to see one of the reasons for their switch to Go was because it's a statically typed language. If you want static typing, you don't choose Python in the first place. You know it beforehand and it should
552.
▲
by
unscaled
10y ago
I can think of at least 3 reasons for not using CMS/PKCS #7: 1. CMS is using ASN.1 as others have mentioned. That alone is a deal-breaker and a major reason CMS implementation are hard, uncommon, and ever-so-slightly incompatible. 2. C
553.
▲
by
unscaled
10y ago
Programming languages have gradually evolved into higher levels of abstraction, but they haven't consistently become more humanlike. You can't fully understand human language with anything short of Strong AI. And yes, we made some
554.
▲
by
unscaled
10y ago
Or better yet, upgrade our phone system to bleeding-edge high-fidelity CD quality with 44.1khz and 16 bits. It's not a natural law that phone audio quality has to suck.
555.
▲
by
unscaled
10y ago
Besides stolen sessions, using browser fingerprinting for detecting login attempts with stolen passwords is even more useful.
556.
▲
by
unscaled
10y ago
More than just lack of competition, cost-cutting measures or planned obsolescence - I think this also has to do with what marketing. Consumers will buy devices that feel attractive. Shiny touch screens sell. Shiny plastic sells. Over-the-to
557.
▲
by
unscaled
10y ago
And the funny part is that all of them are Java. :) Well, except Spark which is Scala.
558.
▲
by
unscaled
10y ago
Probably not. As someone who finds Go cringeworthy, I still find it extremely useful for certain types of programs. I write far simpler Microservices in Go, and I don't feel stupid. It's pretty rough and boring tool, and using it
559.
▲
by
unscaled
10y ago
I think you exaggerate. Consul is probably the go-to discovery service discovery for new projects at startups and tech companies that aren't afraid of the bleeding edge, but if you count installed base and less bleeding-edge companie
560.
▲
by
unscaled
10y ago
Clever things like a sort function that can sort both ints and floats and any new type that implements a comparison function?
561.
▲
by
unscaled
10y ago
I think Pandoc can count as an example here - it may be a niche product, but it's well known in its niche, and it's arguably the most powerful document markup format converter out there. And it's all Haskell.
562.
▲
by
unscaled
10y ago
Japanese actually has a confusing array of conditional constructions VERB (conjugated) + nara (or the ridiculously formal "naraba") VERB (conjugated) + some noun, such as baai (case) VERB (plain form) + to VERB (izenkei
563.
▲
by
unscaled
10y ago
I have to enter a caveat here though. Spoken Japanese is a little bit different, and in some cases, arguments will follow the verb. It's pretty rare, but I did hear things like "Dou sureba ii ore" or "nani yatteru omae&q
564.
▲
by
unscaled
10y ago
I never had the pleasure of taking them myself, butI'm pretty sure Japanese grammar classes are not so fun as you imagine. Putting aside that the norm in Japanese school is rote memorization and pedantic attention to details (e.g. you&
565.
▲
by
unscaled
10y ago
> Unless you slide your finger across the keyboard to "count" which FN key is under your finger, you can still use FN keys on the Touch Bar, without looking down; they are in the same positions. If that was true, we could just
566.
▲
by
unscaled
10y ago
Yes, informal standards, but that's exactly the problem. At my previous work, I've implemented something similar to Fernet in the past (though using AES-GCM rather than AES-CBC+HMAC), and that's dead simple. But it's not
567.
▲
by
unscaled
10y ago
You should also make sure to allow only tokens with the "HS256" alg headers before you verify them, in case somebody decides to add a new signature algorithm to your library, and it turns out it could easily be broken and lets you
568.
▲
by
unscaled
10y ago
Symmetric signature is simpler, leaner (in message size overhead), faster and more secure (by virtue of it being simpler). But there are still cases where you would choose asymmetric signatures over symmetric signature, due to the very esse
569.
▲
by
unscaled
10y ago
Agreed, but is there a better standard ? I'm also fine with just stuffing MsgPack or Cap'n Proto data inside a libsodium secretbox or usually just crypto_auth to be honest, but corporates love standard. Perhaps libsodium algorith
570.
▲
by
unscaled
10y ago
JWT are even smaller than their size since you can revoke them by hash (although you should really just revoke by user ID in most cases). Your tokens should generally have a rather short lifetime - then you can keep the entire relevant wind
More ›