Page 1 of 5 1 2 3 4

Search: Type: Posts; User: Rayjingstorm Search took 0.03 seconds.

  • Woops, looks like Ubuntu 14.04 actually does ship...

    Woops, looks like Ubuntu 14.04 actually does ship with 3.13, and you can get the userland tools from the official repos :v:. I might be checking that out, thanks.

    22nd June 2014

    Is iptables...
  • I setup a LAN using a desktop with two NICs....

    I setup a LAN using a desktop with two NICs. Linux comes with a full featured NAT through iptables (and presumably nftables when that becomes a thing), and its trivial to install and setup either...
  • Replies
    4,227
    Views
    122,949

    The linux kernel was developed by passing patches...

    The linux kernel was developed by passing patches and tarballs around; it's entirely possible to develop software outside of any SCM.

    I agree that once you use git you will never want to go back,...
  • Replies
    4,227
    Views
    122,949

    I've found it easier to remember to escape input...

    I've found it easier to remember to escape input by always using filter_input() for input (GET, POST, cookies, etc.); I only wish that the $filter parameter wasn't optional, because it is useful to...
  • Replies
    4,227
    Views
    122,949

    If you haven't, I suggest taking a look at this...

    If you haven't, I suggest taking a look at this guide.
  • Replies
    6,257
    Views
    183,843

    It depends on the language. Golang has a standard...

    It depends on the language. Golang has a standard library package which handles most cases in a declarative way. If you don't have that luxury, and don't want to pull in dependencies on non-standard...
  • Replies
    5,098
    Views
    273,357

    It's the default theme because Tom Preston-Werner...

    It's the default theme because Tom Preston-Werner wrote Jekyll (along with many other contributors since).
  • Grub2 is a strange beast. It has a configuration...

    Grub2 is a strange beast. It has a configuration system more complicated than the most obtuse init system, and it will apparently fail and drop you into a recovery shell on the slightest error in its...
  • i3 is even smart enough not to poll your status...

    i3 is even smart enough not to poll your status program while the bar is hidden (although i3status was designed to use the minimal number of system calls possible to populate itself, so you don't...
  • Replies
    4,227
    Views
    122,949

    Check the current scroll position against the...

    Check the current scroll position against the original top position of the div, add/remove a class with "position: fixed" to the div when you scroll past/before the top of the div.
  • Replies
    5,098
    Views
    273,357

    And Tera gets his own XKCD...

    And Tera gets his own XKCD
    http://imgs.xkcd.com/comics/digits.png
  • Replies
    5,098
    Views
    273,357

    I saw someone playing doge2048 in our CS lab...

    I saw someone playing doge2048 in our CS lab today :v:
  • Have you tried the links...

    Have you tried the links browser? It claims to support javascript, at least in some capacity.
  • Replies
    5,098
    Views
    273,357

    Do you want feature bubbles? If so just use...

    Do you want feature bubbles? If so just use feature branches and merge with --no-ff. Personally I'm still undecided as to whether this is worthwhile; I always work in feature branches, but I usually...
  • Replies
    4,227
    Views
    122,949

    If you were strictly adherent to OOP, then...

    If you were strictly adherent to OOP, then perhaps behaviors is all you would want to expose (i.e. methods), but getters/setters aren't exactly behaviors; if you are going to add a getter/setter...
  • Replies
    4,227
    Views
    122,949

    Also, in PHP source intended to be templates I'd...

    Also, in PHP source intended to be templates I'd like to throw in a few things that help me keep logic separate:

    Use a different extension (i.e. .tpl rather than .php); you can still tell your...
  • Replies
    5,098
    Views
    273,357

    I wish PHP standard libraries took advantage of...

    I wish PHP standard libraries took advantage of namespaces and objects; I mean, why is the new password hashing API just a list of free functions with the password_* prefix? Why not a \php\password...
  • Replies
    5,098
    Views
    273,357

    I've always thought it a bit underhanded to...

    I've always thought it a bit underhanded to describe programs written in functional languages as "functional programs", because it might be confused with the assertion that your programs work as...
  • Replies
    5,098
    Views
    273,357

    as others have noted, $ man rsync also I have...

    as others have noted,

    $ man rsync
    also I have trouble empathizing when you get burned because your hoster is actually effective at enforcing their TOS and keeping their racks clean of phishing...
  • I'm not sure there are any tools to manage...

    I'm not sure there are any tools to manage intelligently distributing the files on disk (and most on-disk caches are managed by the disk itself, so the OS doesn't matter), but one thing Linux is...
  • Replies
    4,227
    Views
    122,949

    I agree completely, but in git at least you can...

    I agree completely, but in git at least you can use --word-diff to get intra-line changes. This isn't an excuse for packing more than 80 characters on a line, or not making your whitespace semantic;...
  • I'm confused as to the reasoning for this, but...

    I'm confused as to the reasoning for this, but the ubuntu page on MultiArch indicates that "Starting with 12.04 (precise pangolin) this is a transitional package to the ia32-libs-multiarch package...
  • Have you installed `ia32-libs`? It includes a...

    Have you installed `ia32-libs`? It includes a bunch of 32bit compatibility libraries for 64bit installations, including `libc6-i386` and `lib32gcc1`.
  • From what I can gather online, apt-get is...

    From what I can gather online, apt-get is confused about how to resolve the dependencies (namely gcc-4.7-base and libc6-i386).

    Here's a run down of some things you can try to troubleshoot:

    Try...
  • I'm not saying concurrency is wrong, it is most...

    I'm not saying concurrency is wrong, it is most certainly the only reasonable design for init system at present, I'm only saying it isn't a make-or-break feature.

    Systemd was a complete redux of...
  • Honestly I'm not sure the concurrency is a big...

    Honestly I'm not sure the concurrency is a big issue, unless you reboot often. That's not to say speed doesn't mean anything (Windows boot times after any system use are unbearable), but as long as...
  • Replies
    6,257
    Views
    183,843

    Yes, but you shouldn't just assign in the body of...

    Yes, but you shouldn't just assign in the body of the constructor (this would entail default initialization of the members and then copying, which is wasteful), you should use an initialization list,...
  • I made the analogy in my original post; we aren't...

    I made the analogy in my original post; we aren't saying Systemd manages kernel modules, we're just using the analogy to make the point in the last part of your post: "When people describe systemd as...
  • I would agree, but remember that Linux is a...

    I would agree, but remember that Linux is a monolithic kernel, just as Systemd is a "monolithic" init system; you could certainly spin off each part into its own neat little module, and then you...
  • Ed is actually really simple and useful, if you...

    Ed is actually really simple and useful, if you RTFM. I don't actually use it, but it is still useful in some contexts (for example in scripts). One reason its difficult to use is that the actual...
  • This, especially when the GUI hardcodes...

    This, especially when the GUI hardcodes resolutions when the underlying renderer will actually support more than what they list.

    I prefer editing config files directly, so long as they aren't in...
  • Replies
    4,227
    Views
    122,949

    Is there an elegant/intuitive way to allow a...

    Is there an elegant/intuitive way to allow a client to manipulate the order of a list and notify the server of changes in HTML without JS? And if not, is my solution reasonable? I would use jQuery UI...
  • Replies
    6,257
    Views
    183,843

    Woops, yeah VLAs are on the stack whereas...

    Woops, yeah VLAs are on the stack whereas "flexible array members" are in structs, such as



    typedef struct {
    int numberOfProperties;
    Property properties[]; // Flexible array member...
  • Replies
    6,257
    Views
    183,843

    I don't mean to avoid answering the question, but...

    I don't mean to avoid answering the question, but do you really need VLAs here? To me it makes things more complicated, without it you would just do:



    (*myStruct)->properties =...
  • "It's a feature!"

    "It's a feature!"
  • Replies
    4,227
    Views
    122,949

    Don't use elseif? Unless what you do with...

    Don't use elseif? Unless what you do with $foo/$bar is different when you have just one versus both, in which case your code looks fine.



    if (isset($foo)) {
    // Do something with $foo
    }...
  • but, but, New Technology! It's always new! Just...

    but, but, New Technology!
    It's always new!
    Just like Fast Ethernet is always fast!

    11th January 2014

    marketing
  • make modules_install only copies binary .ko...

    make modules_install only copies binary .ko modules into /lib/modules/VERSION, though, it doesn't install the headers they were compiled against. You need to make headers_install (or similar) to get...
  • If you don't noone will. Keep posting so we can...

    If you don't noone will. Keep posting so we can help. :v:

    You compiled the kernel, but apparently didn't actually install the kernel headers? The headers are only used for module development (they...
  • Do you have kernel headers installed? It needs...

    Do you have kernel headers installed? It needs declarations of kernel module functions in order to link properly, and the make script was nice enough to check its dependencies before even attempting...
  • libc.a > libc.so I personally think a lot of...

    libc.a > libc.so

    I personally think a lot of the supposed positives of shared linking are outweighed by the negatives, i.e. DLL-Hell.

    I'm not actually sure how to easily check this, but it...
  • Sorry, I just use i3-wm where this is simple: ...

    Sorry, I just use i3-wm where this is simple:


    assign [class="Firefox"] → $ws2
    assign [class="Thunderbird"] → $ws4
    assign [class="Steam"] → $ws10
    ...


    and opening things on startup is as...
  • You could try devilspie...

    You could try devilspie? Check answer here.
  • Replies
    6,257
    Views
    183,843

    Haven't used AHK in a while, but a quick search...

    Haven't used AHK in a while, but a quick search turned up the loop construct which operates on a string. For example, if your string is in LastName, you'd do something along the lines of:


    Loop,...
  • I've never actually forwarded a desktop before,...

    I've never actually forwarded a desktop before, but it is an option. Usually you will learn more if you use the command-line interface, and this is generally easier to secure.

    As for sync, I...
  • Do you plan to have a monitor hooked up to the...

    Do you plan to have a monitor hooked up to the server? If not, Fedora might not be the best option since it targets desktop usage (at least last I checked).

    I'd recommend a distribution which...
  • Replies
    1,436
    Views
    96,469

    64bit copy runs great on Arch Linux. I was only...

    64bit copy runs great on Arch Linux. I was only missing one shared library, because you are building against libudev.so.0 whereas Arch is using libudev.so.1. This problem seems to be pretty common,...
  • I wasn't talking about the userland (which is...

    I wasn't talking about the userland (which is another can of worms for POSIX compliance), I was specifically separating the ideas of "Linux as a kernel" and "Linux as one of a myriad of distributions...
  • I don't think Linux (the kernel) can really be...

    I don't think Linux (the kernel) can really be (fully) POSIX compliant or not because it isn't an operating system, it's only a kernel. As for distributions of operating systems which use Linux as a...
  • Replies
    1,512
    Views
    94,724

    gvim molokai colorscheme...

    gvim
    molokai colorscheme
    http://i.imgur.com/Qw9hT1u.png

    Also, working on combining SFML, Box2D and EntityX to put together a small game. In this exciting scene the tyrant priest (herein rendered...
  • Results 1 to 50 of 250
    Page 1 of 5 1 2 3 4