Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
noselasd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
481.
▲
by
noselasd
10y ago
Yes, but " If the colon is omitted each of the above TZ formats will be tried." , so it'll be figured out even if the colon is missing.
482.
▲
by
noselasd
10y ago
The default behavior is done so programs don't need to be restarted if the timezone is changed, which also has real world impact.
483.
▲
by
noselasd
10y ago
There's no usable mechanisms glibc can use for watching /etc/localtime for changes that does not mess up the program if it also decides to use any file watching features.
484.
▲
by
noselasd
10y ago
If you havn't set the TZ variable in the image, then yes.
485.
▲
by
noselasd
10y ago
You can shoot pumpkins almost a mile with air cannons https://www.youtube.com/watch?v=dmSyrGsqmg8 .Trebuchets doesn't go quite as far, around 2000-2500 feet https://www.youtube.com/watch?v=Mv3yhlQOAWY
486.
▲
by
noselasd
10y ago
As someone that has written code to pick up the encryption keys out of the Diameter protocol, and used those to decrypt the control plane NAS signaling on the S1 interface, correlated this info with the user plane data between a S-GW and P-
487.
▲
KasperskyOS
(os.kaspersky.com)
3 points
by
noselasd
10y ago
|
0 comments
488.
▲
by
noselasd
10y ago
Mark Adler, the maintainer, has it here https://github.com/madler/zlib
489.
▲
by
noselasd
10y ago
And Renault have delivered over 100k all electric cars (spread over 4 models, though most of them are the Renault Kangoo Z.E. and the Renault Zoe Z.E.)
490.
▲
by
noselasd
10y ago
I certainly agree that you don't need that for production machines. However /usr/bin/gcc is just a frontend, and calls a slew of other binaries(such as cpp, collect2, cc1, normally found somewhere in /usr/libex
491.
▲
by
noselasd
10y ago
Being async-safe just means you can call it in a signal handler, and is unrelated to being thread safe. _exit() will cause a similar race condition, but probably with less severe effects. _exit() closes all open file descriptors (not FILE*,
492.
▲
by
noselasd
10y ago
https://sourceware.org/bugzilla/show_bug.cgi?id=14622
493.
▲
by
noselasd
10y ago
Another fun one is "don't exit() in multi-threaded code on glibc". It goes like this: 1. Thread A calls FILE f = fopen(); if (f == NULL) {error} 2. Thread B calls exit(). exit() flushes and closes all open FILE (it does so it
494.
▲
by
noselasd
10y ago
> how do you do that without interfering with other threads >that might do the same You build up a the environment in a local variable, fork(), then have the child alter its environment based on the said local variable before it goes
495.
▲
by
noselasd
10y ago
>How else do you want to describe the contents (and spirit) of this executive order? You could apply the Occam's razor, and describe them by the reasoning given by the administration - as an attempt to limit terrorists entering the
496.
▲
by
noselasd
10y ago
Note that CRCs are designed to cover a certain message length, and are designed to catch bit errors within that message. The probability of a single bit error getting through is much much greater than a simple probability of 1 in 4 billion,
497.
▲
by
noselasd
10y ago
When people enter a hostname into my application, I'm not particularly keen on implementing name resolving myself via DNS, LDAP, hosts file and so on in the application - It's absurd to suggest applications should make such a deci
498.
▲
by
noselasd
10y ago
Why is (2) a worse idea ? As a programmer I would vastly prefer it over dealing with DBus myself or dealing with DNS directly
499.
▲
by
noselasd
10y ago
Having a garbage collector is no showstopper for writing an email server though.
500.
▲
by
noselasd
10y ago
The DDD debugger has(had ? Not sure it's maintained anymore) pretty useful visualization of data - e.g. like https://bcaptain.files.wordpress.com/2013/06/ddd.png
501.
▲
by
noselasd
10y ago
Here are a few reasons: 1. Calling user does not have a computer 2. Called user does not have a computer 3. Users are in a situation where they do not have a computer, only their cell phone, with a data plan that is too expensive to use sky
502.
▲
by
noselasd
10y ago
Quite often those numbers will be another hacked service, which is set to forward the calls. Perhaps eventually to a premium service. This is done to better hide the origination. Another common fraud is to provide cheap calls to a certain a
503.
▲
by
noselasd
10y ago
In that regards, I also think C++ programmers should be more open to C programmers that just needs a few new language constructs. It is not an all or nothing approach. It's fine to write code that looks and feels mostly like C, but sti
504.
▲
by
noselasd
10y ago
https://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Form...
505.
▲
by
noselasd
10y ago
Why would that be ironic ? It's ensuring others receive the same freedom for the copy you make of the page, which is also the essence of the GPL license, and the whole philosophy of the FSF.
506.
▲
by
noselasd
10y ago
That's much nicer than mine at http://fiane.mooo.com:8080/graphviz/ , I was using another online graphviz service a while ago, that suddenly went offline - my google foo didn't find any other that worked - so
507.
▲
by
noselasd
10y ago
LTE networks allows for muticasting data too though: https://en.wikipedia.org/wiki/Multicast-broadcast_single-fre...
508.
▲
by
noselasd
10y ago
Can you pass this buffer to e.g. read() and it will still guarantee no buffer overflow even if the programmer mis-calculate the size argument to read() ?
509.
▲
by
noselasd
10y ago
> I've noticed that Switzerland, using a lot of hydropower, has a worse intensity than I expected. The carbon intensity on the map seems to be for consumed kWh, not produced kWh. The map indicates Switzerland imports a lot of electr
510.
▲
by
noselasd
10y ago
Does this mean most OS X applications or drivers break when OS X is updated, and have to be recompiled or have is source code updated or re-written ?
More ›