130 karma · joined May 11, 2011
1. What is ...? (Worth 1 point) 2. What is ...? (Worth 2 points)
It looks like IRT is for somehow determining the difficulty of a test given the answers of students.
On a different note, I have abstained from commenting on Rust's attitude toward keyword names but aside #2 just bothers me. Naming conventions matter and since Rust may possibly become used in the future it may inspire some new generation of users to learn to program. 20 years later they will start writing their own languages and think "Hey, I used 'ret' in Rust and that brings back good memories so I'll just keep using it!". Truly an embarrassing part of hacker culture.
I had some outdated package that I wanted to update so I asked in the #arch irc room how to just update that one package. I was told upgrading a single package is generally a bad idea and its better to just update the entire system. I have had a server running Gentoo for ~5 years and I frequently upgrade single packages at a time so I saw no problem with this but ok, I'm not an Arch expert so I followed the #arch people's advice.
I invoked the upgrade command and I see it wants to upgrade the linux kernel to 3.2 and a bunch of other stuff. After the upgrade completes I rebooted the machine (or it rebooted itself, I forget). It wasn't able to boot up. I put in a rescue cd but I couldn't figure out what was wrong.
This is exactly why I don't do 'emerge world' in gentoo anymore. It has backfired on me more than 50% of the time (when I used to do it). I simply do not trust these bleeding edge distro people to get everything working all the time and I am annoyed at the zealots who constantly advise to just upgrade as if nothing could possibly go wrong.
lulz..
Probably Linus is right that C++ does not belong in the kernel but for application level code reinventing all the basic C++ things in C seems like a waste of time. Linked lists, virtual methods, some form of exception handling.. why waste your time? I laughed pretty hard when I understood how the linked list implementation in the Linux kernel works (pointer arithmetic tricks + sizeof). People don't even invent anything different from whats already in C++.
The key to using C++ is to find a comfortable subset and stick with it. I haven't used C++ on projects with more than 3 people yet so I don't know the pains of agreeing on exactly which subset to use but I imagine it could be done.
IMO its best to think about a problem for a little while until you come up with some reasonable solution, then hack it up, then revisit your original decisions and see if you can do it better.
Seems pretty strange to proclaim a crash as something to be proud of in the 'whats new' list.
Probably they mean this bug went away (thus the fixed tag) but then the text should say 'Moving bookmarks no longer crashes'.
Lots of people probably don't like rewriting code bases wholesale and new languages take a while to become trusted.
[+] Executing child from child fork.
[+] Opening parent mem /proc/11045/mem in child.
[+] Sending fd 3 to parent.
[+] Waiting for transferred fd in parent.
I waited 2-3 minutes.<edit> Argh, I need 2.6.39, sorry.
InputStream in;
try(in = new FileInputStream()){
...
} catch (...){
...
}
Now there are no new lexical scoping rules to understand. A lesser point is that I find the try(x = e) syntax ugly. It reminds me of the C-ism where a variable is set and tested in an if statement. if (x = getline()){
...
}
Control flow and side effects should not be mixed, IMO. ~/.vim $ git clone https://github.com/Lokaltog/vim-powerline.git powerline
Edit your ~/.vimrc and add set runtimepath=~/.vim/powerline,$VIMRUNTIMEhttp://docs.racket-lang.org/reference/createclass.html?q=inn...)
It would be nice if things were more automatic, like if a computer program could decide what features were unique (maybe also through machine learning it could learn that buildings are generally unique and the sky is not).
Maybe the system profiler is worthwhile? Anyone know?
I talk to a lot of people currently in school and who have graduated from CS who complain that CS didn't prepare them for the real world and there are a lot of concepts they will never use from a CS degree anyway.
My thinking was that CS is to SE as Physics is to EE or something along those lines. That is, CS as its currently taught isn't theoretical enough in my opinion. I could see a pure CS degree dropping such courses as databases and operating systems in favor of more algorithms and statistics or more programming language classes.
I think CS can make a person a very strong programmer but I can see how many people just don't care for the more theoretical aspects.
The authors code examples go back and forth between spelled correctly and not spelled correctly so I'm not quite sure what hes advocating. Figure 13 is especially hilarious.
pload: I have no idea what 'p' is
qload: I have no idea what 'q' is
numBuses: should have been busCount probably
numTransLines: what is 'trans' ?
systemName: ah a good one!
gens: should have been generators but even in that case its basically useless. I already know its a vector of Generators, what is its higher level function?
transLines and buses: same as 'gens', just a name of the type.
Trust me, it grows on you. You’ll soon learn to see through the brackets – just like the green vertical text in the matrix, it becomes invisible after a while. -end quote-
Its ironic that a Lisp/Scheme person would say the same as to why s-expressions are good (the parens become invisible!) so I don't see why objective-c syntax is better but somehow uses the same reasoning.
I don't know a whole lot about rails, so this is conjecture, but I imagine this is why ruby on rails is so popular: you don't need to know very much to get it going.