Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
It isn’t uncommon on linux systems to have muliple (layer 3, i.e. with IP addresses, not counting the loopback device) network interfaces.
-
There are various reasons why one would prefer 64-bit over 32-bit (or not); basically it is about improved ABI (passing arguments in registers), bigger register (can be faster) versus higher memory usage (because pointers are twice as big).
-
Sometimes services are started by systemd with already dropped privileges, for example inspircd.service starts as irc user.
-
TLDR: don’t use unions for type punning; always use memcpy.
-
What is SHA-3?
-
SSH only takes a simple string as command to send to the remote end 1.
-
Verify whether a certificate matches a private key and has valid timestamp¶ The certificate is the signed public key (and some meta data); to verify whether a certificate matches the private key, one has to extract the public key of both and compare them.
-
There is a nice repository on build.opensuse.org which provides some useful packages to cross compile from linux, and I’m going to describe a simple setup using cmake and Qt: First install openSUSE 12.1 into a virtual machine (unless you want to do it on a
-
It’s not a bug, it’s a feature!
-
I just had a very stupid bug in a lighttpd2 feature I was working on, it looked like this: ```c linenums=1 typedef enum { S_DEAD, S_START / … / } con_state; typedef struct { con_state state; / … / } con; void foo(con c) { if (S_DEAD == c) { / … */ } } I o…
-
Many people know a very basic fact about Fibonacci numbers: \[ gcd(F_n, F_{n+1}) = 1 \] In other words: \(F_n\) and \(F_{n+1}\) are coprime There is a more generic form: \[ gcd(F_n, F_m) = F_{gcd(n, m)} \] The first proposition follows from this, as \(gcd…
-
Why you want packages instead of building software yourself¶ Open source projects often have more or less simple instructions to build their software.
-
A glibc change committed one year ago (Improve 64bit memcpy/memmove for Atom, Core 2 and Core i7), which already resulted in some flamewars discussions (involving Linus Torvalds vs.
-
I wanted to export all wiki pages of a redmine project as plain text (the original textile code) with a small yaml header: ~/redmine $ RAILS_ENV=production .
-
I already mentioned that i don’t like Ada, but I didn’t expect to hit something like this: $ gnatmake gnatbug gcc-4.4 -c gnatbug.adb +===========================GNAT BUG DETECTED==============================+ | 4.4.6 (x86_64-pc-linux-gnu) Assert_Failure…
-
Each time i have to code in Ada i just hate the language… it makes “clean” coding a pain in the ass (easy workarounds would include using pointers everywhere).
-
DomainKeys Identified Mail (DKIM) is used to prevent people from sending spam mails with “from” mail addresses from your domain; you announce with DNS records that you sign all your mails with a RSA key, and everyone can check whether mails have been real…
-
Welcome to the first post on my blog!