« first day (27 days earlier)      last day (3212 days later) » 

6:01 AM
hello
 
@david , Hi how are you....?
 
good! i just installed my first ever linux!
 
@david , :-) good...
 
how about you?
 
fine... thank you.........
Comparing to Windows... Linux is some thing hard to handle... Is it?
 
6:05 AM
@Pramodh: it is not
it is just another, but not difficult
 
@zerkms , oh.... but i felt so.
 
yeah i was expecting it to be much worse
 
it is just a habits, to always use windows
 
@zerkms , But is that userfriendly like Windows
?
 
oh god how do i kill it? what is the command to shut it down? shutdown now didnt work
 
6:16 AM
@david , or just unplug it
 
ah, just needed the -h
now i have the fun job of getting that VM visible to the outside world ><
why does virtualbox not have a pretty visual interface for port forwarding? :(
 
6:39 AM
zoomg it worked!
 
@Pramodh: no, it is just another ;-) all the thing is in habits
 
7:04 AM
@zerkms , :-) .... okey.......... i heard there are so many LINUX OS... Redhat, Ubuntu, Kubuntu , Fedora.... Wats the difference?
 
@Pramodh: the significant difference between them are: directories structure, tools out of the box and package manager
*tools == set of utilities
but in base it is the same kernel (probably, patched by vendor somehow) - so all the main concepts are absolutely the same
 
@zerkms , The UI will be different. Right?
 
nope, not right
there is a limited set of window managers or environments
and vendors can just skin it a little
 
@zerkms , okey fine
i your point of view, which linux is the best one, friend
?
 
"best" for what tasks?
as for me - i like gentoo, but it's a little bit geeky
 
7:19 AM
@zerkms , Just as an OS
 
for home nowadays ubuntu is the most popular
 
@zerkms , Yes i've ubuntu,Kubuntu,Ubuntu Server Edition Discs.. but dint install yet.
@zerkms , But i'm using Windows 7 and my IDE is MSVS 08. Can i install MSVS 2008 in linux
 
CentOS/RHEL alternatively
redhat and ubuntu have the best communities
 
Nope, if you're windows developer - then linux is not for you
 
@zerkms , :)
 
7:37 AM
at my previous work i was sitting under gentoo with VMwared windows xp, to have VS
;-)
 
7:49 AM
i accidentally did a apt-get for gcc instead of g++
how do i... un get it?
wait... it looks like it needs gcc too nvm
 
lol
 
it also wanted openssl, which i got, but it doesn't detect it :S
apt-get will do all the compiling and stuff for me right?
like, it will magically work and i don't need to do anything else? >.>
 
apt-get compiles nothing
it just downloads the package and unpacks it
+ does some things needed to install, such as config files modification
 
8:04 AM
but the package would be precompiled binaries right?
cos i haven't had to compile any of the other stuff :S
hmm, what's a nice easy to use text editor to test create a file?
 
kate
 
kate it is then
woooah, kate needs lots of other stuff
 
pico
nobody really uses pico, but "linux for dummies" type books always tell people to use it
 
:( kate finished being getted
but it's telling me it can't connect to "X server"
 
that'd be your GUI shell
pico is command line
if you want a real editor, vim or emacs
 
8:12 AM
oh sweet! pico worked
i just want to type in 5 lines and save :p
er... how do i save?
 
** ^X (F2) Exit pico, saving buffer.
 
i googled and f3 works too!
and i have nano.js working!
yay for the internet and linux
 
8:32 AM
Hello guys
got flamed for posting this puzzle
;)
and -8 votes
anyone help?
2 boxes
each having a unique key
are locked (padlock) with the others key inside them
it says you can open both
how?
 
One box is in another box?
 
with a hammer
 
Has anyone else's clients ever told you to "Do away with the whole backup procedure, it takes too long?"
 
@KyleSevenoaks No
 
@VojtechR I must be alone in this one then... Crazy, crazy clients.
Also, can anyone tell me what might cause two identical browsers on two identical OS's to display a PHP/Smarty rendered page completley differently?
 
8:42 AM
why does your client know how long the backup procedure is in the first place? it should be automated, and as long as its less than 24 hours, its good ;D
and, no
 
It takes about an hour! And he wants to update the Cart software, so in order to do that, I Want to make a backup, of course.
 
Updating software requires an hour long backup?
 
Yes. Updating the whole website's software. Especially with this package, which is documented as "buggy as fuck," I want to make a damn backup of all my work!
 
1) Isn't it already on a VCS so it's "backed up" at all times?
2) Why does copying this software take more than a few seconds? Code doesn't usually take that much space.
 
It's not just code, images, etc. I want to make a full backup of the site.
Onto my local machine here.
 
8:47 AM
if you fuck it up you just revert to the last revision
 
Because our hosting company are unreliable too.
Agreed.
 
if you're not using VCS you're not a developer
2
 
damn, i'm not a developer :(
 
Agreed.
 
what is vcs?
 
8:48 AM
version control system... subversion, cvs, git, mercurial?
 
oh!
then i'm a developer ^^;
 
Like here I'm upgrading from Livecart 1.3.1 to 1.4.0
But ugh, this software is just awful.
Well then, thanks Dan, as long as the Hosting company make a backup, we'll be fine.
 
hosting companies don't back up individual users data for you
even if they say they do
 
I know!
:D
 
8:49 AM
you never start a project without vcs, if you don't have one for this already, do it now
 
I do.
 
just import this person's site into a repository, before you change a thing
then what is this "make a backup"?
oy, i'm upset now!
 
Just get all my hard work somewhere I know it's safe before update to the latest version and (only because of the buggy nature of this software) have to sit ehere for 4000 days fixing it all again :)
 
your hard work is safe on the repository
if updating doesnt work, you type one command and it rolls back
 
Tis now (that you mention it)
Yes.
Sorry, it's early morning here, and I manage about 15 websites, so I forgot about this :D
Thanks Dan! :)
 
8:51 AM
it's 3:51AM here
i have no sense of time
 
Ha wow!
 
i didnt know it was a holiday today until i went to the bank and it was closed
 
It was a holiday today?
 
apparently, in the US
:This article is about the observance in the United States. For other uses see Veterans Day (disambiguation) Veterans Day is an annual United States holiday honoring military veterans. A federal holiday, it is observed on November 11. It is also celebrated as Armistice Day or Remembrance Day in other parts of the world, falling on November 11, the anniversary of the signing of the Armistice that ended World War I. (Major hostilities of World War I were formally ended at the 11th hour of the 11th day of the 11th month of 1918 with the German signing of the Armistice.) The holiday is co...
 
Oh yes!
They have that in the UK too.
Remembrance day.
But in Norway, no such thing.
Thy obviously do'nt give a crap about any wars.
Actually my Great Grandfather fought in WW2. As a fighter pilot, he shot down loads'a Germans, survive the entire wart, the in 1946 died of a heart attack.
Sucks for him :(
 
8:57 AM
Real Programmers
3
 
@DanGrossman :D
 
user69820
@DanGrossman the alt text for the image is the best bit
 
@thegravytalker You mean the title text?
 
user69820
@KyleSevenoaks know you know why i only ask questions on SO
 
:D
But you're right, that was pretty hilarious.
 
user69820
9:08 AM
the alt text says "Real Programmers", which, er, is the funniest bit.
 
user69820
and you know I'm right cos I'm Oracle Certified
 
But the title says: "Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want."
 
user69820
yes but i'm trying to make it look like that's what I was saying in the first place
 
user69820
ok so the title is funny and I said alt text because I'm an HTML schmuck
 
user69820
9:12 AM
it all goes back to the time when I bought HTML 3 for Internet Explorer developers
 
I uderstand.. finally.
Wow I',m slow today :=
Wow..
That's an interestingly titled book!
 
user69820
yeah, only bought it last week
 
user69820
lol
 
ahahahaha
 
user69820
and I did just make it up
 
user69820
9:13 AM
although I might write it
 
:D
Yeah, it'll be a very long book!
 
Hahaha!
 
user69820
@DanGrossman but it's the alt text that's funniest bit
 
user69820
dammit
 
9:15 AM
:D
 
user69820
10:02 AM
hey can someone tell me what the CSS is to cause text to show the ellipsis when the it overflows instead of rendering outside the element?
 
user69820
@DanGrossman nice one, thanks.
 
It's not-well-supported CSS3, so... if you really need that functionality, might consider doing it programatically somehow instead.
it's also not part of the current CSS3 spec
nevermind it's back in
 
user69820
@DanGrossman what behaviour if not supported?
 
I assume you simply don't get ellipsis. Your text is cut off as usual.
starts Firefox
In Firefox, in the demos on that webpage, I just see the text get cut off mid-letter where it hits the boundary of the box. In Chrome I see the ellipsis.
 
user69820
10:10 AM
i guess it depends on the value of overflow
 
user69820
too
 
past 5AM here, going to sleep
 
user69820
@DanGrossman outrageous!
 
There was a jQuery/Javascript solution for this hanging around the net somehwhere..
Let me see if I can find it.
 
The most terrible thing ever is when one lamer advices another about security
 
1
A: PHP session var enough for user auth?

Brian PerinDon't try to write your own session scheme, PHP will do it better. yes you can add more information to your $_SESSION to help prevent session hijacking for example I generate a fingerprint by combining a secret phrase or random data with the user agent and the session_id() and hash it all. To ...

this is what i'm talking about
 
user69820
bloomin' heck mate. CSS _and_ Javascript? who do you think I am? some kind of certified professional?

ah
 
@thegravytalker Ha, it's easy to plugin, I'll help you through it if you want?
@zerkms Wow..
Some people just don't know how to listen huh?
 
not actually. some people just read some article and even did not try to think with their brains
they just follow the pointless advices from that terrible articles and don't understand it
argh
 
Argh indeed!
 
10:17 AM
even more, i predict they will say both that i've said dummy things )
 
user69820
@KyleSevenoaks i just realised your threedots link was relevant to me
 
@thegravytalker :D
@zerkms They always do!
 
user69820
lol at "yayQuery"
 
@thegravytalker Haha I liked that too!
 
user69820
does anyone else get an irrational urge to swat mobile phones out of peoples hands?
 
10:27 AM
@thegravytalker Definitely.
 
user69820
@KyleSevenoaks will you back me up in court?
 
@thegravytalker Yeah! My gf is a lawyer, she can tell me exactly what to say! :D
 
user69820
@KyleSevenoaks lol
 
hi
 
11:06 AM
i made an application in legacy vb6 and wanted to run it on win 7 but the UAC wont allow me to run the app after installation until i do a Run as administrator, so i made a manifest file and embedded it in exe using resource hacker now win 7 does run the app but every time i run the app it ask to allow or dont allow
what shoul i do
 
11:17 AM
What's wrong with the answer you've gotten on SO?
 
whts is that if one user is a normal user and does not have administrator rights then the app only run on elevated status then what,
and moreover on every run of the app it asks to Allow or not Allow the app to run.
 
There's some manifest things you need to have for your app as well, so that it can run for a normal user
 
Windows thinks your program requires elevated rights, so yes, it will ask every time
You need to tell Windows that you don't require that
But I don't know enough about this, perhaps you should ask another question on SO?
 
ok let me share the text of manifest file than
 
11:19 AM
Sorry, can't help you with that part
 
ok
thanks anyway
 
Anyone know any good puzzles?
I'll trade a puzzle
If you know a good one
:)
 
user69820
there's some on facebook
http://www.facebook.com/careers/puzzles.php
 
So, here's a well known one...
 
user69820
i've got one
 
user69820
11:26 AM
which Scunthorpe United player also captained England?
 
ugh
unfair
be general plz
ike
2 ropes prob
u got 2 ropes
there is nothing in common about them other than the fact that if you set fire on one end of one rope, it'll take 1 hour to burn.
 
user69820
why unfair? everybody knows about Scunthorpe United
 
lol
no they dont
everybody can't know because I don't
 
user69820
so.... burning ropes
 
the ropes don't burn at a steady pace
how do you measure 45 mins>?
 
user69820
11:31 AM
@nakiya with a stopwatch
 
haha
funny
 
user69820
is that not the answer?
 
nope
 
user69820
i thought this was a misdirection puzzle
 
user69820
where the answer is the obvious but you're distracted by burning ropes
 
11:33 AM
nope
it has an elegant answer
 
user69820
can you dip the rope in wax so you make a candle so it does burn at a steady pace?
 
nope
the only things you got
are
the 2 ropes and a box of matches
While you are thinking
you know any puzzles?
I sort of collect them
Please?
 
user69820
11:51 AM
if you hang one up in the sun you can make a rudimentary sun dial
 
user69820
the second rope can be used in a circle to mark noon etc
 
evening!
 
user69820
thus not only being useful for timing 45mins but also will tell you when Neighbours is on
 
can it predict the google java merger?
that would be a sick sun dial
 
user69820
@JeremyChild ah see what you did there
 
11:53 AM
started a flame war.
 
user69820
with burning ropes?
 
2 ropes, takes an hour to burn, and you need to measure 45 minutes?
is that the puzzle?
 
user69820
apparently, but I answered it with my awesome sun dial
 
yes
 
11:54 AM
each takes an hour to burn
Lasse
Tell me a puzzle plz
:)
 
set fire to both ends of one rope, that'll take half an hour to burn through
rewrite
set fire to one end of one rope, and both ends of the other
when the one that you set fire to both ends is done burning, you have done 30 minutes
at that point, set fire to the other end of the first rope as well
 
!!!
 
that'll take 15 minutes to burn through
 
You are the fastest I've seen so far
:)
 
user69820
NO THE ANSWER IS A SUN DIAL
 
user69820
11:56 AM
have you not been reading?
 
rofl
 
user69820
lighting both ends. pfft
 
use the TimeSpan built into .net?
 
here here
here's another
 
here's a different puzzle
 
11:57 AM
k
 
in a hotel with a corridor with an infinite number of hotel rooms, every occupant places his shoes outside the door before he goes to bed, to get them shined during the night
next morning, one occupant discovers his shoes are missing, so he steals the next door shoes
that occupant does the same, and so on
question: will anyone go shoe-less that day?
 
Yes
 
Yes..
 
the one before the first guy
 
you never said where the enumeration started?
 
11:58 AM
And no talking to Chuck Norris
does it matter? there's an infinite number of rooms
 
"one occupant"
 
no
one occupant each room
 
not stupid
 
ok, let me rewrite it
 
im saying One occupant is the start.
ok..
 
user69820
11:59 AM
is the hotel full?
 
a hotel corridor with an infinite number of rooms
there's one person in every room
they all place their shoes outside the door before going to bed, to get them shined during the night
next morning, one occupant discovers his shoes are missing, so he steals the shoes outside the next door
when that occupant tries to find his shoes, they are gone, so he does the same thing, steals the next door shoes
and so on up the line
so will anyone go shoe-less that day?
 
um what about the other side of the corridor?
will they all have their shoes?
 
let's assume yes
they're not part of the problem
 
user69820
does the hotel have a shoe shop?
 
12:01 PM
...
 
user69820
or a lost and found?
 
is this a trick question?
 
what about the polisher? he has his shoes right?
 
obviously it is a trick question
 
user69820
was @nakiya's question a trick question or the hotel one?
 
12:02 PM
why cant they be good ones like "there are two database connections, one is OLEDB the other System.Data.SQLClient"
 
oh yes
someone will go shoeless
because
 
user69820
if there are infinite people, then there are infinite shoes * 2
 
it goes to infinity
and people have stuff to do
 
user69820
so... the answer is MAKE A SUN DIAL
 
so someone goes out
 
12:03 PM
the polisher cannot get them done in time?
 
leaving the one before shoeless
 
as he is using a sundial for time maangement
:-|
 
user69820
and OneNote for information management
 
The "trick" is of course that nobody goes shoeless that day
That's the problem with infinity
 
zomg.
slaps face
 
12:04 PM
If you say "obviously the last guy goes shoeless"
 
wtf
 
user69820
it's not a trick question
 
But no, there will always be at least one more guy
 
user69820
the answer is yes or no
 
otherwise it wouldn't be infinite
 
12:05 PM
answer is UB
 
The answer is indeed 42
 
user69820
no i'm 31
 
jeez
 
42: what is 6 times 9
 
12:05 PM
so
here's another
 
given a board
 
Should we create a room for such puzzles?
 
which has only black and white
think of it as a Picasso
random dots everywhere
 
user69820
dots black or white?
 
12:07 PM
I'll create a room
 
user69820
how much wood would a woodchuck chuck if a woodchuck could chuck wood?
 
someone did this
in javascript
the other day....
 
user69820
which Scunthorpe United football player also captained England?
 

Puzzles

Interactive puzzles, got a good one? Come on in!
 
Please help
0
Q: How to use NI's VI in C#

PramodhI've developed a project in LabVIEW. Now i need to convert the entire project into C#. I can convert all the VIs which is developed by me. But in my project i referred some of NI's VI for exampleGet DAQ Device Information.vi . How do i get the functionality inside thist VI. Or Does NI provide an...

 
Tom
12:12 PM
Hey, does anyone know if there are videos/presentations available explaining the MVC pattern? Eg. a google tech talk?
0
Q: Any videos/presentations explaining the concepts of the Model View Container (MVC) pattern?

TomHi there, I was wondering if there are any videos (eg. Google Tech Talks) presenting the MVC pattern. If so, I would highly appreciate any sources you can provide. Alternatively, what reading material (preferably online) would you recommend to fully understand the pattern? Thanks in advance.

 
@Tom , try this
 
Tom
@Pramodh very interesting, thanks. I hope it reflects the same concept for most languages. :)
 
@Tom , i just googled your question, friend
 
So should MVC be moved into the puzzle section
...jokes.
 
Tom
@Pramodh, looks like those videos require silverlight 3 (ugh) and I'm on linux, doesn't want to show
with Moonlight
 
12:16 PM
@Tom , oh sorry........
 

« first day (27 days earlier)      last day (3212 days later) »