Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geocar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
721.
▲
by
geocar
6y ago
> memory allocation failure or a network connection being down, sometimes the best context to handle that error is the outermost function A() and not C(). If you need the memory (or disk space) to do something, what else can you really d
722.
▲
by
geocar
6y ago
What else can you do? You can't wait for the "central directory" record at the end, because now you've missed everything (you can't stream backwards!)
723.
▲
by
geocar
6y ago
> If the TOC only points to the second CMD.BAT then executing the first one as you stream it is wrong. The output directory contains the second CMD.BAT when you're done processing, whether you use the streaming algorithm or you con
724.
▲
by
geocar
6y ago
> But, that contradicts 4.1.9 that says zip files maybe be streamed. If zip files can be streamed then both of the example above would fail because in the first case we'd see file B and in the second we'd see file A (old) befor
725.
▲
by
geocar
6y ago
I just finished reading it a few minutes ago; you were right, I did really enjoy it. Thank you.
726.
▲
by
geocar
6y ago
> for the same reason humans largely don't think about flies. What's to think about? They're just an annoyance, to be swatted aside. We can choose to think of flies; to imagine they are as people, with their own (short)
727.
▲
by
geocar
6y ago
> could the super intelligence give rise to something more intelligent than it? The answer must be yes, I don't see any reason to believe that intelligence forms an infinite ladder, I mean, it's fun to think about, but surely Z
728.
▲
by
geocar
6y ago
Sorry, maybe that's not clear; I have multiple phone numbers. Does that mean I have to unregister and reregister to get my other identity? Or does Signal support multiple identities?
729.
▲
by
geocar
6y ago
What if Google agreed to license iMessage from Apple? Sure, in 2009 I bet Google thought they had a chance, but it's 2020 and it's easier than ever to convince Android users to drop the privacy-eroding bug-ridden trash that is the
730.
▲
by
geocar
6y ago
> comparing the two doesn't make sense because for the majority of people iMessage isn't even in the list of possible alternatives. However, iMessage is absolutely in the list of possible alternatives for Apple customers, and
731.
▲
by
geocar
6y ago
Does that mean a signal user can't change phone numbers without getting a new identity? I haven't looked at Signal in a while.
732.
▲
by
geocar
6y ago
I seem to recall OSX didn't used to have clock_gettime, so it's news to me that it even exists -- I might have been away from OSX too long. Is there any performance difference between that and mach_absolute_time() ?
733.
▲
by
geocar
6y ago
> No one imprisoned in Guantanamo Bay is a US Citizen and neither is Assange. I think you should I know I -- and probably others, are reading this as "b-b-but, they're not US Citizens, so they don't deserve [the same] righ
734.
▲
by
geocar
6y ago
> Genuine question here: what's the better way? You tell them what the job is like, what is expected of them, and what the best way to work with you is, then you you ask if that's what they want, and how much it's going to
735.
▲
by
geocar
6y ago
> Over a decade ago I was trying to get the C++ committee to support multidimensional arrays via overloading, so we could have 2D collections. You might've asked operator[] to take multiple arguments separated by semicolon, so:
736.
▲
by
geocar
6y ago
> How true is this? I hear this claim a lot but haven't seen any real benchmarks ... I think you're trying to read into the statement something other than Arthur meant; The last part of the quote is just as important as the fir
737.
▲
by
geocar
6y ago
> the real problem is the number of developers who don’t follow the standardisation. RFC4180 isn't an Internet standard. Says so right at the top in the first paragraph. I think I have a few thousand files on my computer right now w
738.
▲
by
geocar
6y ago
CSV isn't a single format but many incompatible formats that require additional metadata to decode, such as: - whether quotes are ""doubled like SQL92 or backslash-\"escaped like C - whether newlines are quoted or \n lik
739.
▲
by
geocar
6y ago
> Do I need to inform [facebook] to benefit from GDPR protections on an ongoing basis? That depends on what you want to do. What GDPR protection are you trying to benefit from? > How the hell is any of this enforceable? You can try to
740.
▲
by
geocar
6y ago
> No bank app will allow installation on android if you have root enabled https://forum.xda-developers.com/t/uk-banking-apps-for-roote... > I just don't think this would be anywhere near as large problem as
741.
▲
by
geocar
6y ago
> the second Volkswagen says you can't use a 3rd party part in your car that you bought - everyone should be up in their arms about it. There's a risk-benefit question to be weighed even with cars ; Lots of parts in a Volkswag
742.
▲
by
geocar
6y ago
I love the branding "custom functions without code" right before a bunch of code. Reminds me how early word processors (the person, not the software) were convinced to program word processors (the software this time) just by calli
743.
▲
by
geocar
6y ago
> Better programmers on C can't effecicely eliminate whole classes of the most common fatal security vulnerabilities. Sure they can, it just requires discipline. Most of djb's code (in C) has a lower defect count than most oth
744.
▲
by
geocar
6y ago
> it’s that we can’t just build a better programmer, for the reason that I then went on to outline. Apologies for missing your point. I thought you meant by this: > The reason for that is because large projects can’t have only one dev
745.
▲
by
geocar
6y ago
> What is your suggestion to a lead developer of a big organisation? Let’s say to the CTO of Apple. He can pay for my advice if he really wants to hear it, but this isn't really about programming at this point because we're tal
746.
▲
by
geocar
6y ago
> You can’t just build a better developer when a single mistake is end game. Why not? Doctors got better with more training and better strategies towards medicine, and that's a game where a single mistake really is "end game&qu
747.
▲
by
geocar
6y ago
If it's not one thing, it's another. https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=rust Now I know it's deeply comforting to think if you just had "safety" you could write all the code you w
748.
▲
by
geocar
6y ago
What if things don’t go wrong? One way that it is better is that it might be a better abstraction. If so, it would be possible to implement just these methods to target an in-memory or on-disk store without the SQL — and get a dramatic pe
749.
▲
by
geocar
6y ago
I don't think it needs to be all server operators; It is not difficult for me to believe a Judge could find it "unlikely" that a 2013 email was forged containing a valid Google signature, and I would not want to rely on you
750.
▲
by
geocar
6y ago
If you can do that, maybe you can just use SO_REUSEPORT and arrange for SIGTERM to close the listening socket before going into the drain phase.
More ›