Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
slrz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
slrz
10y ago
Canonically equivalent Unicode sequences look the same to machines. Memcmp disagrees, as do the default equality operators of most programming languages in existence.
272.
▲
by
slrz
10y ago
Right. My gripe with it is that you tend to see them thrown into error messages without the corresponding string representation, thus forcing the user to do the lookup by hand. Seriously, it can't be that hard to call the NT equivalent
273.
▲
by
slrz
10y ago
The difference is more apparent in the other (non-overloaded) case. When in Go (or C, …) you see an expression "x << y" you know immediately that this is just a shift operation, mapping to at most a couple machine instructio
274.
▲
by
slrz
10y ago
Yes, copying stacks are unsuitable for unrestricted C or C++ code. Segmented stacks might have problems (Go also switched away from them for the same hard-to-predict performance reason) but when you can't do stack moving I still think
275.
▲
by
slrz
10y ago
Why would you need a garbage collector? To allow for stack growing, the compiler would insert a small number of additional instructions into function entries that either do nothing or call out to a runtime library function that handles stac
276.
▲
by
slrz
10y ago
How complete is the C API? I'd happily forgo any C++ to get a stable API in return.
277.
▲
by
slrz
10y ago
It's not a technical problem. All distro package managers allow for parallel-installed libraries one way or another. What's necessary for your distro to actually ship multiple versions is someone stepping up to actually maintain t
278.
▲
by
slrz
10y ago
> The Unix IO model isn't well designed and is far from the only Unix-ism to work poorly in the face of threads Right, threads in the form of pthreads should've never been introduced into Unix, as they made a huge mess of many
279.
▲
by
slrz
10y ago
Which emulator did you use? Simh?
280.
▲
by
slrz
10y ago
If I buy this, do I get the source code in a modifiable and non-obfuscated form, even if not under the terms of an OSS license (i.e. no redistribution)? I mean, it's a programmer's tool so not having sources would be a big downsid
281.
▲
by
slrz
10y ago
Because antivirus software tends to be a huge load of crap that will flag anything just slightly out of the ordinary with annoying popups to give moronic customers the impression their wasted money actually contributed to system security. D
282.
▲
by
slrz
10y ago
What restrictions?
283.
▲
by
slrz
10y ago
I agree in principle, although in practice allowing Firefox add-ons to be fully equivalent to other features has been a detriment to security, stability and performance Only in an abstract "we might have been able to implement securi
284.
▲
by
slrz
10y ago
Why would it matter? The deadline would be specified in terms of a monotonic clock that's unaffected by wall time adjustments. So even if some crude NTP implementation steps your clock by seconds (or a leap second is inserted), it shou
285.
▲
by
slrz
10y ago
Changing isn't easy as the constants and structures are all named differently. They are all named "struct sockaddr_storage", no? You won't even need that most of the time, as it's all dealt with by getaddrinfo and
286.
▲
by
slrz
10y ago
In distributed systems (i.e. what Go was designed for), 90% of your actual logic is dealing with errors of different shapes and colors. How you handle that is what makes the difference between a toy and a reliable system. Code doesn'
287.
▲
by
slrz
10y ago
Probably not as the result would be useless for authenticating against another service.
288.
▲
by
slrz
10y ago
Does Apple allow carriers to hold back updates or is Verizon just swallowing the pill there as they think they have no other choice?
289.
▲
by
slrz
10y ago
I consider this to be one of their better decisions. With workstation and laptops, you already have higher-precision input devices available that also are less prone to causing fatigue. For some specialty application I can see the usefulnes
290.
▲
by
slrz
10y ago
Fedora has a repository of comparable size and still manages to ship with SELinux enabled.
291.
▲
by
slrz
10y ago
I guess "locking up" is not intended to describe the kind of lockup you can fix by entering your login password.
292.
▲
by
slrz
10y ago
Can you explain?
293.
▲
by
slrz
10y ago
And that is using the NSS key dump files?
294.
▲
by
slrz
10y ago
What is the reason you're using the software at all? What is it achieving for you? Genuinely interested in the motivations.
295.
▲
by
slrz
10y ago
I actually saw the text just fine before that stupid error message showed up.
296.
▲
by
slrz
10y ago
I think you make the Erlang definition look unnecessarily awful. fac(0) -> 1; fac(N) -> N * fac(N-1). Or is there a particular advantage to write it using guards?
297.
▲
by
slrz
10y ago
Static analysis is, of course, very restricted in what it can give you answers to, although I'd still love to have more advanced tools widely available. What I really consider a game-changer for concurrent programming are the dynamic c
298.
▲
by
slrz
10y ago
You could use a tool like easypki that allow you to manage a testing CA, whose root cert you can import into your browser. Maybe use a different browser profile so a compromise of the CA keys would not allow anyone to compromise your bankin
299.
▲
by
slrz
10y ago
Where do you see the issue? Creating a certificate that no one else has to trust seems pretty easy already.
300.
▲
by
slrz
10y ago
What about actually solving the problem instead of tricking the user into believing their data is encrypted while being transferred to you?
More ›