Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jjnoakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
541.
▲
by
jjnoakes
7y ago
No, it's not. strcpy is fine to use if the destination buffer is larger than you need or uninitialized. That's idiomatic...
542.
▲
by
jjnoakes
7y ago
The things I listed are things the function does right as written but could not do if it worked the way suggested above. The things you listed are general concerns in C which are unrelated to both the correct implementation and the suggeste
543.
▲
by
jjnoakes
7y ago
The size of the buffer pointed to by s may be larger than the current string it holds. It may also be uninitialized.
544.
▲
by
jjnoakes
7y ago
This article is more about taking an existing type-checking system ( http://www.sbcl.org/manual/#Handling-of-Types ) and adding some syntactic sugar so you can declare the types inline, similar to other languages, instea
545.
▲
by
jjnoakes
7y ago
It is possible for a web site to be configured so that www.example.com and example.com are different in some way, as mentioned in the article. If the browser tells me I'm on example.com and I'm really not, that seems like a huge p
546.
▲
by
jjnoakes
7y ago
How did you get clients to use your DNS server? Was it on a network where you controlled the router, or did you set up a WiFi base station that folks blindly connected to in public, or some other way?
547.
▲
by
jjnoakes
7y ago
Mobile support.
548.
▲
by
jjnoakes
7y ago
Does this work offline at all? That would be a killer feature.
549.
▲
by
jjnoakes
7y ago
It'd be nice if dissenting opinions came with elaboration to continue the discussion instead of shut it down.
550.
▲
by
jjnoakes
7y ago
Also note that dividing something by itself is not necessarily 1.
551.
▲
by
jjnoakes
7y ago
I noticed a few languages removing support for octal and binary literals. I wonder why. I find them useful and the parser overhead seems minimal to keep them around.
552.
▲
by
jjnoakes
7y ago
Are you guaranteed that the data you read back didn't come from kernel caches of the file system blocks? How do you know the data actually came back from physical storage?
553.
▲
by
jjnoakes
7y ago
That is certainly easier to use, but comes with higher risks of phishing. The Holy Grail would somehow do both.
554.
▲
by
jjnoakes
7y ago
I disagree with the characterization that this is "not very hard" (and my initial assessment was "questionable incantations" which I think is also accurate): https://www.gnu.org/software/automake
555.
▲
by
jjnoakes
7y ago
> But make is a tool that does two things and does them simple and well: it tracks dependencies between files, and [...] Last I checked, make only handled dependencies with multiple inputs and a single output. If your build step's c
556.
▲
by
jjnoakes
7y ago
The sizes closer to 100MB seem to be from debug builds. From the bug you linked (and this one which it links to: https://github.com/flutter/flutter/issues/16833 ), bare flutter apps are around 4MB on Android.
557.
▲
by
jjnoakes
8y ago
Slightly tangential but c++ hash tables aren't even the fastest. The requirements on iterator invalidation force the use of extra allocations and indirections for separate chaining. I've hand-rolled and/or reused hash tables
558.
▲
by
jjnoakes
8y ago
Google duktape, not duct tape.
559.
▲
by
jjnoakes
8y ago
What I do is use a password manager, but when it enters a password into an app or site, I type a few more characters after the end of it before logging in. Kind of a secondary master password that's not stored anywhere except my memory
560.
▲
by
jjnoakes
8y ago
It is possible, but the causes and frequencies are quite different. In Rust runtime panics are certainly possible (array out of bounds, out of memory, etc), but the ones analogous to Java's NullPointerException have to be explicit opte
561.
▲
by
jjnoakes
8y ago
Sure, maybe for a random target. Maybe for a targeted attack the criminal knows more money is coming in and doesn't want to tip his hand yet. Who knows... that's the point of not speculating.
562.
▲
by
jjnoakes
8y ago
> The same could be said for any number of things we consider to be private property. Except if we are wrong in those other cases, we can usually use the legal system to help us recover our stolen property. > So if you have the privat
563.
▲
by
jjnoakes
8y ago
Same here. I've researched the issue far enough to know that others have contacted state authorities (I'm in California) and been told that since the up-front advertising for Frontier's service lists the rental fee and state
564.
▲
by
jjnoakes
8y ago
Unless whomever is controlling you made you say that so you'd think you were free...
565.
▲
by
jjnoakes
8y ago
For the uneducated among us who are considering learning Julia (and who have decent type system knowledge), where does Julia fall short for static type enthusiasts?
566.
▲
by
jjnoakes
8y ago
I imagine the database would use versioned collation, so a fixed bug would have to be opted-into by whomever owns the tables, no?
567.
▲
by
jjnoakes
8y ago
As long as you add white space in a way such that the output of the program also has that white space.
568.
▲
by
jjnoakes
8y ago
Getting the native look and feel is nice. Using the native widgets had other benefits too, like accessibility for example.
569.
▲
by
jjnoakes
8y ago
I wonder if a future c standard can fix this in some way. Say by promoting unsigned types to unsigned int instead of int...
570.
▲
by
jjnoakes
8y ago
I had mine replaced two months ago. Most of my bills are automatically paid on the card, so I had to update my payment information on ~20 sites. At 2-3 minutes per site (optimistic really), plus the fact that one site requires I fax in the
More ›