« first day (694 days earlier)      last day (4266 days later) » 

4:04 PM
@DeadMG it effectively calls reset on the moved-from unique_ptr.
 
My weapon of choice in a zombie apocalypse: an AK variant. Those things never break.
 
@DeadMG It's mandated.
 
@R.MartinhoFernandes I thought so.
 
4:18 PM
I'd have a sidearm of a katana and a tomahawk
 
@KianMayne You do know that a katana is essentially a three foot razor blade that breaks if you do so much at look at it the wrong way, right?
 
something like a claymore would be better
much more durable
 
Well a large, durable, sharp blade
Then you'll have a failsafe if you have to reload/run out of ammo
 
I'd guess the best would be to stay out of trouble and keep a low profile. Like in DayZ.
Never fight unless you have to.
 
A medieval fortress would be the best place to hole up.
Since those are a bit rare, I guess a prison is the closest modern thing.
 
4:24 PM
How long could you survive in a supermarket do you think?
 
you want a fortified building with access control
 
Not too long.
 
@DeadMG Like a prison!
 
You would probably get in there for a food raid, and then leave as quickly as possible.
 
not long, food supply (and water probably) is good, but the aisles are designed to accomodate as many people (i.e. zombies) as possible
and you could easily be overwhelmed
they're simply not defensible
 
4:25 PM
So yeah, get in, grab the food, and then rush to your hideout.
 
@R.MartinhoFernandes Indeed. Or a medieval castle :P
 
yeaaaaa new desk <3
 
Also, what your hideout need is a safe place to take a shit. You're the most vulnerable when you're on the toilet (and when you're sleeping).
 
now, that's a random comment (I've expected ;))
 
We were talking about zombie apocalypses.
 
4:28 PM
ah, just noticed earlier posts
share my joy of having huge green desk ;)
 
@EtiennedeMartel Locked prison cell?
 
@R.MartinhoFernandes You like prisons, eh?
 
@sehe I was blushing, that I was not able to understand that command, so I did not respond to your next line. :$
 
@BartekBanachewicz That chair is virtually identical to mine.
 
@EtiennedeMartel So far (and I've thought a bunch about this), it's the best modern building I can think of.
 
4:33 PM
@EtiennedeMartel Not necessarily. You're also very quiet (I hope) whilst shitting and sleeping, so it's pretty unlikely that you'll attract attention.
 
It has almost all you will need.
The only problem is finding an empty one.
 
Prisons are huge though.
You'll need time to map it out.
 
@EtiennedeMartel But they're built to enable lockdowns.
 
@R.MartinhoFernandes Food?
 
And make sure there's not already zombies inside.
 
4:34 PM
@DeadMG I guess they all look similar. I bought it because it was friggin cheap (in $ it would be around 60).
 
@KianMayne You'll need to organize scavenger parties.
Hey, maybe grow your own food, eh.
 
@KianMayne In some prisons the inmates keep farms.
Running water can be a problem.
 
Awhh that's nice, apart from the whole "being in prison" thing
 
Did you read "How to Survive Zombie Attack"? Decent handbook
 
@R.MartinhoFernandes Maybe dig a well. But that might require specialized equipment.
 
4:35 PM
I have paper edition and I must say it's quite good.
 
But you won't be able to survive alone. What you need is a bunch of people you can trust. And then you can build your own sheltered community inside the prison.
 
I think I why someone ever thought it was a good idea to shorten create to creat.
It was probably so that it would align with another word.
 
woah... check out this before it gets deleted:
-1
Q: I am in need of help i have made my code to check for validation but i want to be able to mailto after it has been checked

user1577114javascript function formValidator(){ // Make quick references to our fields var title = document.getElementById('title'); var author = document.getElementById('author'); var firstname = document.getElementById('firstname'); var lastname = document.getElementById('lastname'); var areacode = ...

 
// in my case
localSession
remotSession
 
@Mysticial Holy fuck.
 
4:37 PM
@EtiennedeMartel A big problem is that prisons are not populated by the best individuals.
 
Is there a name for a programmer that nests 15 levels?
 
Either you have a nest of criminals, or a nest of zombies.
 
Like a 3-star programmer for ***?
 
@R.MartinhoFernandes Yeah, hence why you would need to find an empty prison. And fill it with your own people.
But, if a zombie apocalypse happens, that means criminals will get the high ground right from the start.
They're already in a fortress.
 
@EtiennedeMartel They're locked in their cells. It depends on what the guards decide to do.
They either get smart and hole up, or are stupid run as soon as they hear about the apocalypse.
Your best shot is a prison where an outbreak occurred.
The zombies are likely to move out once everyone is infected.
 
4:40 PM
Indeed, they go where the food is.
 
The cells can also be used to quarantine any newcomers, or any members of the group that are potentially infected.
 
I’m in the mood to write a web app.
 
using PHP?
 
@daknøk That is curable with early detection.
 
@Mysticial I am crazy, but not that crazy.
I rather write a web app in C than PHP.
 
4:52 PM
@daknøk Django! (python)
 
PHP is C on crack.
@BartekBanachewicz I’m going to use Flask and MongoMapper, as usual.
 
ah, if you have something you are familiar with, sure
 
@BartekBanachewicz Yes, I know Django is written in the second best language ever.
 
Hm, I like Lua more than Python
but they have (slightly) different use-cases, actually
 
I only like Haskell more than Python, but not for web development.
 
4:56 PM
λ
 
>λ=
I finally have decent paper and a decent pen to sketch GUIs.
 
lol
that sounds funny in our age
 
Pen and paper are the best tools to sketch. Period.
 
Pencil and paper are even better.
 
Pencil is erasable.
You won’t think twice before jotting something down, or you remove precious ideas.
 
5:00 PM
One can improve just by erasing a part
 
@daknøk If you erase them, they're not precious.
Unless you're doing it wrong.
 
@R.MartinhoFernandes How did the date go yesterday?
 
Erm, what?
 
Tek
Hi guys, quck question I'm in need of msvcr70.dll on Windows, what visual distributed package has this?
 
VC++ 2003. Or 2002.
 
5:06 PM
2002.
2003 is 7.1.
 
Tek
Thank you.
 
Being an egoist, I’ll name my webapp “daknøk”.
 
> I'm trying to make a program to format Hard Disk and now I'm stuck with the code of the formatting
> I'm trying to make a program to X and now I'm stuck with the code of the X
 
well, that's a problem indeed
 
I see a pattern.
 
user1182183
5:22 PM
@R.MartinhoFernandes I would make the program write only 0's to the whole partition/disc
 
What would that accomplish?
 
user1182183
complete partition destroy ^^ ensures all data is wiped out xD
 
That would result in an unusable volume.
Formatting a disk results in an usable volume.
 
user1182183
I bet there are plenty of open source disk tools
 
user1182183
why reinvent....
 
user1182183
5:28 PM
I have 11 speakers around my room.. still not pleased.. should I make it 30 speakers? ;o
 
user1182183
(+1 subwoofer)
 
@GamErix is it this the new THX? I thought you are supposed to have 2 subwoofers
 
user1182183
@BartekBanachewicz It's all custom setup, the subwoofer is supposed to power only 5 speakers
 
@GamErix uhm.... i think I am missing the point of all the messup then
 
user1182183
and well I think I'll get a second subwoofer
 
user1182183
5:30 PM
the Desktop downstairs doesn't need the subwoofer, it got a connection to the Radio
 
user1182183
Well, let's say the subwoofer has 5 outputs, Center, Front R/L, Rear R/L
 
user1182183
I connected 2 speakers to the center
 
user1182183
3 to rear
 
user1182183
3 to front
 
user1182183
i mean
 
user1182183
5:31 PM
em
 
user1182183
lemme See
 
user1182183
Rear L - 1
Rear R - 1
Center - 3
Front R - 4
Front L - 2
 
why would you do that?
 
user1182183
Well it gives some nice effect in my room
 
You're not adding anything (save the excessive load on poor "subwoofer" which probably isn't even a decent amp)
but how you were able to calibrate the delays?
 
user1182183
5:41 PM
It does play the sounds, close enough xD
 
I don't want to say I am an expert, but well, I've build my custom home cinema too.
But I weren't so friggin crazy to put 2 speakers on one out
 
user1182183
 
user1182183
this is how I setup my rooom lol
 
they were hard enough to calibrate (delay, levels, EQ) with 5.1 (and amp which helped me a bit with automatic calibration - he is supplied with a mic)
@GamErix Do you use this system for movies or music only?
 
user1182183
both
 
user1182183
5:43 PM
but It's not like I need 5.1 or whatever
 
user1182183
mono is enough :P
 
uhmm....
 
user1182183
quality is great
 
user1182183
just calibrating the volume levels was hard
 
what about delays?
 
user1182183
5:44 PM
I don't think I can clibrate that with the subwoofer I have
 
user1182183
but I hear no delays
 
well, it depends where you sit, of course
 
user1182183
mostly on my bed
 
you can calibrate sound properly for only a very narrow place
 
user1182183
just like right now :P
 
5:45 PM
+ acoustics of the room do matter a lot
 
user1182183
it's a ache
 
user1182183
or whatever "zolder (netherlands)" is in english
 
user1182183
loft?
 
user1182183
Lool, google.
 
user1182183
aaaa
 
user1182183
5:46 PM
Attic!
 
I need to do this code for my friend He asked me to do it pragmatically He is a linux guy — YouYou 7 mins ago
 
user1182183
@R.MartinhoFernandes LOL. xD
 
user1182183
Hmm, "my Ex's mother thought LOL means Lots of Love.. one day she sent a sms to her daughter: Your grandma died, LOL." <- ye got that from internet Lol.
 
user1182183
5:49 PM
@StackedCrooked dafuq is tht 210 mb?
 
@GamErix It's a stream :) You should open it with a media player.
 
what's in the stream?
 
user1182183
Studio Brussel, not so far away from me
 
user1182183
xd
 
user1182183
Can't wait till I get my hands on the second subwoofer
 
5:54 PM
@GamErix Nothing beats listening to music on the guitar amp :P
 
user1182183
@BartekBanachewicz :P
 
well, the dynamic range is sky-high compared to home equipment
 
6:11 PM
Anybody has an idea why Windows is like dying if you just move a bunch (a lot of) files to the trash?
 
It's windows. 'Nuff said
 
@Nils because windows file management sucks
 
brb
 
That is not an answer
 
@Nils that is an answer
 
6:16 PM
@Nils I remember XP had incredibly crappy IO.
 
One does not simply move a bunch of files on Windows
 
That is an answer alrite. Perhaps it doesn't work at various levels where you expect to work, but that again is irrelevant, for me
 
Stop using trash or buy an SSD.
 
What OS do you think the whole game industry uses?
 
The popular one.
 
6:17 PM
Yeah I need an SSD.
 
@EtiennedeMartel I haven't exactly noticed much improvement in Win7
 
And that says absolutely nothing.
 
But maybe I can turn something on/off to make it faster
 
I have those and never used trash (command lines and shift-delete all the way). Still slow
 
@sehe I recall that that was the main reason why they were pushing for a XP to 7 transition at Ubisoft: because it sped up compiling tremendously.
 
6:17 PM
or use a third party thing instead of explorer?
 
Windows Explorer search is terrifyingly horrible
 
room topic changed to Lounge<C++>: Ask me how I bought an SSD to move files to Trash faster. [c++] [c++11] [c++-faq] [pinky]
 
@EtiennedeMartel As if compiling was ever disk based?! If you can spend the majority of time linking or moving object modules around, something else is terribly wrong
@CatPlusPlus That is soooooo daft. I like it
 
There's still a hell lot of I/O involved in compilation.
Every TU is reading up hundreds of files.
 
@Nils Everywhere and Copernic are reasonable
@CatPlusPlus Irrelevant since cached
 
6:19 PM
@sehe Hey, our solutions were so large that VS had trouble opening them. A ridiculous amount of files.
 
@EtiennedeMartel Yeah, but I HOPE compilation time was still dominated by CPU
I hope that very much.
 
Irrelevant but relevant. C++.
Not even once.
 
@CatPlusPlus ? What (not even once)
 
@sehe Maybe, but tell me how it makes sense: same hardware, same project, compiling the engine for PS3 on XP: brings the whole system to a halt. On 7: you can at least work while doing it.
 
@EtiennedeMartel That's another matter. Most likely the responsiveness is due to better CPU/GPU? Anyways, the scheduler is likely to have been improved in favour of foreground tasks in desktop Windowses
 
6:21 PM
Maybe it was butter control of multi core CPUs. XP sucks with more than 2 processors.
 
@EtiennedeMartel ^ see edit. Likely to be true there
 
XP sucks.
 
Yeah, pretty much.
 
The problem is Windows is just bloated. I mean, a 50 MLOC kernel, says enough, no?
 
It was pretty good back in 2001. But technology marched on, and XP hopelessly lagged behind.
@TonyTheLion So? Since when amount of lines of code says anything about performance?
Those can be comments for all it's worth.
 
6:23 PM
@TonyTheLion Precisely. XP was less bloated, but sucked otherwise. All other windowses: obese. Pick your poison
@EtiennedeMartel >Foot in mouth<
 
I wonder if it got better w Win8.
 
@EtiennedeMartel Look at Linux for comparison, it's kernel has 2 or 3 MLOC, and it does a better job than Windows IMHO, so those code lines have to account for something somewhere.
 
But I'm like nooo I have installing Windows :D
 
@TonyTheLion You mean the kernel that sucks on desktops if you don't apply unofficial kernel patches because Linux devs only care about servers?
 
6:24 PM
I've been a Windows user all my life, mainly because I'm just used to it
 
Where do you know from that Win8 has 50 MLOC?
 
@Nils I read it somewhere once, can't remember where.
 
also the registry, MS's biggest mistake
 
6:25 PM
@EtiennedeMartel You stopped living 10 years ago. Still on XP, and thinks Linux kernels are server oriented - by default
 
maybe not that accurate anymore
yeah it sucks that MS doesn't get rid of old crap
 
@sehe Hey, I'm on Snow Leopard at home and 7 at work.
 
Apple did :)
 
@EtiennedeMartel Linux does pretty well on Desktops. I've tried it.
 
@EtiennedeMartel Even more surprising then :)
 
6:26 PM
@Nils maintaining backwards compatibility. That's what they're all about. If they stopped doing that, millions of things would stop running
 
@TonyTheLion Linux on the desktop?!
lol
 
you can run your 16bit Windows 3.1 or whatever binary on Win7 if you want
@Nils yes, it's not as awkward as you may think. I have a Linux only Laptop
 
@Nils Isn't Arch the only good distro?
 
@EtiennedeMartel Desktop should perish in favor of web. Chrome OS perhaps is the way to go.
 
@StackedCrooked As a game developer, I do not like this idea.
 
6:28 PM
meh, no way
web apps is overrated. I'm not a fan
they're annoying to code as well
 
Yeah, but you can host them on a Linux server!
 
@EtiennedeMartel I don't consider desktop and gaming to be exactly the same. Chrome OS could still provide hardware acceleration for games. Only the Windowing system happens to be different.
@TonyTheLion You are using one right now ;)
 
You can host them on whatever you like, that's not the point. I think they're annoying and they present some interesting security risks too. Which may be very hard to mitigate.
 
@StackedCrooked And it's not the most responsive piece of chat software I've used.
 
@StackedCrooked I know.
 
6:31 PM
@StackedCrooked should? Why?
 
@Blank Awesome reply. You are absolutely right: vim is a programmer's editor, like the HP RPN calcs were back in the day.
Here's a breakdown: :'<,'> ("Ok, vim, let's do an Ex command (:) operating on the whole range from mark < up to and including > (which is the visual selection). Now the command is g/^/ (globally, for each line that has a start (^), a.k.a. just each line) execute t '> which means 'copy to the end of visual selection'.
 
@R.MartinhoFernandes I think he's a Web dev.
 
@EtiennedeMartel I think this is the best chat client I've used.
I used to use MSN Messenger. That worked pretty smooth as well. But the concept is kinda different.
 
@Blank The order of inserts happens to be favourable for our goal (otherwise, use '>+1). :t happens to be a synonym for :coppy saving us 1 character in the typing :)
 
I recently discovered that I can use page-up and page-down in GDB if I hold down the shift button. It doesn't work here :(
 
6:34 PM
@StackedCrooked That's a terminal feature.
 
This is a bit like a terminal.
Oh, I didn't mean GDB only.
But I discovered it while using CGDB.
 
@TonyTheLion I have 2 linux-only laptops, 1 linux only netbook, 1 android phone, 1 linux powered webserver, 1 linux powered fileserver/NAS powerhouse, 1 linux powered workstation (posting from it) and a bunch of VPS, which are most of the time deployed on linux.
You'll note how this is equally the desktop/workstation and laptops are all just as happy running linux as those pesky little servers.
 
hehe :)
 
Only thing currently on windows is my Media Centre. And it is giving us heaps of grief. Heaps.
Basically, powermanagement is botched beyond repair
 
I run Windows on all my machines. I have 32-bit Ubuntu in a VM at work and a couple of my machines dual-boot 64-bit Ubuntu.
 
6:36 PM
@sehe Better than a stack I suppose.
 
@EtiennedeMartel Arch is bleeding edge. That's nasty.
 
@R.MartinhoFernandes Oh, I guess @CatPlusPlus probably likes it then.
 
@EtiennedeMartel Better in incremental building while maintaining ordering, yes.
@Mysticial What on earth would you still be using 32 bit linux for? I mean: 32bit windows, yes! Saves 10Gb of disk and ~0.5Gb of RAM on a bare install!
 
@EtiennedeMartel I like it. But I wouldn't recommend it to anyone. Those who want it know where to find it.
 
@sehe Thanks :D. It took 3 passes, but I finally got it, and tried it. Magical!!
 
6:39 PM
(@Mysticial To be honest, I have been a dork and running 32 bit linux for precisely the same reason until about 2 years ago)
 
@sehe I initially installed it to keep binary compatibility with one of my class projects. Now I keep it to answer performance or compiler questions involving (32-bit) GCC.
 
lol, you keep a VM just for SO rep whoring helping others on SO..
 
@R.MartinhoFernandes yes :D
 
@Blank When I started to see the beauty in the :commands I got a second vim productivity boost wave - Especially :g// and :v// - they're so damn powerful.
@R.MartinhoFernandes Hey I have that too! I keep a windows VM which exclusively serves for me to try things out in MSVC
 
@sehe I am starting to see the power of vim. Initially I considered the vertical block selection useless, but it came rather handy while editing 8085 commands. I don't think any other editor can do that. ?
 
6:45 PM
@Blank Many can. But not as rigorously composable with everything else as Vim. Or emacs. Or any trivially scripted/macroed editor, I guess
@Blank At least notepad++ and Visual Studio have had this for quite a while. In Visual studio, it is even quite easy to use (alt+mouse select)
Now that is immediately a weak point. I like to do <C-v>}ke to select vertically, to the end of the current block of lines (till whitespace) and selecting to the end of the word, e.g.
 
Being accustomed to vim, do you end up pressing Esc on plain editors? ;) I do.
 
Yes.
I press Esc like mad.
Took me a while to train myself to stop dismissing dialogs without even seeing them.
 
@Blank this is quite a contrived use-case, but I suppose it would have been hard for the OP to achieve this in any of the other editors mentioned. It also showcases a fair bit of ex commands:
4
A: Support in vim for specific types of comments

seheFirst of all, get to know the features that make life easier for stuff like this in vim: Visual block mode blockwise-visual blockwise operators virtualedit; You can move the cursor to positions where there isn't any text. This is called "virtual space". The user guide has extensive samples ...

@R.MartinhoFernandes I started doing CapsLock more since I remapped the thing on Linux. Still hit Esc a lot though (on my work Pc, Gvim + ViEmu (VS2008) and VsVim (VS2010) still respond to Esc) /cc @Blank
 
@sehe Yeah, that's what I mean. CapsLock.
But it's only really CapsLock on someone else's machine.
 
@R.MartinhoFernandes Come to think of it, I answered @nightcracker's GCC question on that VM. So yeah, it was definitely useful.
 
6:53 PM
@sehe None of my machines has any business with CapsLock.
 
@R.MartinhoFernandes Ah. Never gotten around to fixing it on windowses
 
Either AutoHotKey or a registry tweak does it.
 
@Blank This is also a nice case of using 'block-wise' stuff (while explicitely avoiding visual mode) in Vim: stackoverflow.com/a/10519837/85371
@R.MartinhoFernandes Reg tweak? Linky?
I think I'll pass on AutoHotKey because the pirate uses it to throw tables with all the time
 
user1182183
hmm anyone knows a site like hddownloader.com, just, well, one which allows you to download a whole playlist? ; o
 
user1182183
7:02 PM
from youtube
 
@sehe +1 awesome
 
user1182183
or program...
 
7:20 PM
@TonyTheLion and which desktop env?
What I hate about Linux is that most gui apps suck, except maybe Firefox.
 
@Nils on Linux? Ubuntu
Gnome
@Nils Terminal FTW!
 
Gnome?!
yeah that is what I used, gnome-terminal, Chrome and eclipse
 
Eclipse sucks on any OS.
 
Eclipse Sucks. FTFY
user image
9
lol
 
Jens Lekman is coming to the Belgian radio station I'm listening to! That's AWESOME!
 
7:27 PM
I don't know who that is
 
Nobody here will probably bother. But this makes me super happy.
He's not very well known. And most people don't like it. So no worries :P
But it comes as a great surprise to me.
 
Lol I forgot about the interview. It has already started apparently.
 
7:37 PM
Like the CPU will ship with built-in ram?
 
I'm switching from Spotify to Rdio now. Just so you know
 
lol, I just got the accept on my toilet bowl answer.
 
@ManofOneWay Never heard of Rdio.
 
@StackedCrooked www.rdio.com It's created by the same guy who created KaZaa and Skype. Niklas Zennström, a swede.
 
7:54 PM
I'm not sure if that is a positive selling point.
@R.MartinhoFernandes So have you tried GHC 7.6?
 
That's not why I signed up of course. The main reason is because rdio have a browser app (so that I can listen at work) and the windows mobile app is way better than the one spotify got.
 
Ok. I'm not really in the spotify and other services yet. But I can see how it can be considered useful.
Currently I'm ok to have my music collection on my phone with me.
 

« first day (694 days earlier)      last day (4266 days later) »