« first day (822 days earlier)      last day (4140 days later) » 

4:00 PM
paper rocket you mean?
 
no no
never burnt myself with those
 
It would be better that way.
 
just set your lighter flame big enough and you never go near the exhaust
you've got an easy one or two inches
 
Have you ever launched model rockets? Think of the damage that could do.
 
No, wanted to though
 
4:02 PM
use gunpowder instead of kleenex. mmm
whoomph
 
sup folks
 
sklof pus
 
Hey ninja
 
I take offense to that, @KendallFrey.
Hey @Billdr
 
I always wanted to learn how to make gunpowder. Saltpete sounds really gross though.
 
4:04 PM
Even though boob is a palindrome, (boob) is not.
 
or is it called Pete Salt? Either way.
 
Salt peter (SP?)
 
@Billdr Way to leave the r out, and make us wonder how you would have spelled it.
 
@Billdr saltpetre: en.wikipedia.org/wiki/Niter
 
Saltpeter or saltpetre collectively refers to several nitrogen-based compounds and minerals: *Potassium nitrate (KNO3), the critical oxidizing component of gunpowder, and a food preservative **niter, the mineral form of potassium nitrate *Sodium nitrate ("Peru saltpeter" or "Chile saltpeter"), a component of fertilizers, explosives and solid rocket propellants; also a food preservative **Nitratine, the mineral form of sodium nitrate *Calcium nitrate ("Norway salpeter", "Norges salpeter" or "nitrate of lime"), a compound produced in Norway by the Birkeland–Eyde process during early 20th cen...
 
4:05 PM
yea, that's the stuff
well, maybe it's not. The ingredient I was thinking of was derived from bovine urine.
Cow piss, if you want to be classy about it.
 
you mean taurine?
 
taurine is bull sperm
isn't it?
 
well, it can be
it sint any more
 
no, not taurine
 
not commercially
napalm is polystyrene dissolved in petrol
 
4:09 PM
so, what's the deal with this Java security exploit?
 
oh, it's found everywhere... en.wikipedia.org/wiki/Taurine "Taurine, or 2-aminoethanesulfonic acid, is an organic acid widely distributed in animal tissues."
@Cylen Knew that one
 
you can make some crazy fun stuff
a friend of mine taught me a touch sensitive bomb
 
It is saltpetre, derived with the "Swiss Method"
 
Oh boy.
 
safe when wet, you make it, put glucose on it, it arms when it dries
and along comes a wasp
BOOM :D
be careful on quantity tho
the difference between killing a wasp and a cat
is not a lot
 
4:10 PM
@ShotgunNinja I've no idea but you should be able to find it all over the place. As is usual with exploits in software frameworks, there's always someone to laugh and make the worst of it in media
 
hey, since we are already offtopic: In Windows 7 / Windows Server 2008 I got that neat resource monitor. Does anyone know what that blue graph on harddisk level means?
 
hi all :)
 
Well, now that I'm back on the FBI/DHS watchlists I guess I'll have to find some other means of getting porn.
 
@Billdr lol
 
Hi Sunny
 
4:11 PM
this statement is true ?
" Short-term (nearest 1 or 2 years): serious decline in development for Flash and Silverlight. Their future is uncertain. In this situation HTML5 will be regarded as a safer choice, even if it is a rather raw, complex and time-consuming technology. " ?
i want to know please
 
@Billdr Porn from the internet is illegal?
 
I'd say so, Sunny.
@Sean Only the good stuff. (kidding)
 
lol
 
why so ?
any reason ..
 
@Sunny Flash and silverlight are proprietary
 
4:12 PM
Because Microsoft is moving it's focus from Silverlight to WPF, which while related, is not the same thing. Flash is on the way out because it's a pain for Mobile, which is on the rise.
 
As such, not everyone supports them on their devices (classic case: Apple hate adobe)
 
HTML5 is completely open.
 
HTML5 is a world-wide standard that everyone has access to and any browser-maker worth their oxygen consumption will implement it or lose out
 
means plugins is a headache ..
 
html5 does't use plugins in a traditional sense. It's all javscript, css, and html. You can do just about anything with it that you could with Flash.
 
4:14 PM
i read this from this article
http://www.yumasoft.com/node/125
 
@SteffenWinkler I have no idea... It's not even obvious =S
 
Ty guyz for your time :)
 
np
 
@Sean do I sense sarcasm there?
 
@SteffenWinkler No, not at all
@SteffenWinkler techrepublic.com/blog/datacenter/… "The green box shows you the current disk I/O (i.e., the amount of data that is being transferred right now), and the blue box lists the highest amount of active time for the disks in the system."
 
4:19 PM
hmm...well, another more relevant question: Does the SQL Server has something like an integrated load balancer? Meaning if multiple computers send requests, is there some sort of 'every computer get's some processor time, equally distributed' or is it 'first comes first get's served'?
ah thanks for finding that
 
i think it's FIFO
 
fuck
is that configurable?
 
11
Q: What does 'Highest active time' for disk activity in Windows resource monitor mean?

Nick RI know what the disk io, disk queue length and other measures are, but what does 'Highest active time' mean? Is it the amount of time it is busy handling requests, or something else? When it is high, does it mean the CPU is busy doing some IO work, or is it just indicating that the disk is bus...

 
dunno
 
@SteffenWinkler dont think so... best asking here: chat.stackexchange.com/rooms/179/the-heap
there are things like ResourceGovenors but i don't know anything more than they exist and that they do "Stuff"
 
4:21 PM
Why does IISexpress occasionally fail to load? It's happening on two machines with two different solutions by two different authors.
 
problem is, there are some requests we send to the server that seem to make the 'active time of the HDD' go to 100% for quite some time, resulting in every other PC being blocked.
 
@SteffenWinkler Disk fragmented?
 
thanks @Billdr
@Sean it's a RAID5...
cached
 
I'm going to go ingress some. Maybe get my paycheck. afk a bit.
 
which means... they don't suffer from fragmentation?
 
4:24 PM
@Sean if yes that'd be new to me.
however, I'm analyzing that now
4% fragmentation
also I can observer that the same thing happens on multiple different servers
 
not enough RAM
 
that could be it... but we are already at 32 GB
 
if your SQL is hitting your disk all the time it means it's caching pages to disk
I have no idea about SQL performance, but that's the only reason your SQL would be hitting the disk after the first query with that execution plan
 
Hey @AndréSilva did you know about this? sindpd.org.br/sindpd/noticia.jsp?id=1357915601426
 
oh that's confusing, my rep outside of this site is 1.2k
but in here it's 977
oh, 121 rep on sharepoint site
 
4:36 PM
@Sean you were right...in all cases the SQL server instance that was running our database was limited to 2GB... :/ some other program had 20GB. The admin had it the wrong way around.
 
@SteffenWinkler BOOM! Rudimentary understanding of SQL FTW.
You know the most annoying thing about chat rooms is being ignored, after replying directly to two people >_<
 
@WileyMarques Let me check it out.
@WileyMarques Did not know that. But it sounds amazing !
 
amazingly amazing!
 
Ugh, I'm being forced to use an open-source tool to build a diagram from a Struts configuration file, because it's ridiculous to try to follow this file.
 
how much is your VR?
 
4:44 PM
@WileyMarques ._. 25,80
Daily of course.
 
Chat has been decidedly dead today
 
That it has.
 
ah, much greater than mine
 
Well, I work at Chacára de Santo Antonio... Everything here is expensive.
 
@AndréSilva mine is 12 .. terrible
 
4:46 PM
VR?
 
Vaginal Radius
 
oh, I work at Santana, I think there is indeed much more expensive
 
@ShotgunNinja Vale Refeição. Likea debit card that works just for restaurants or food market...
 
@Sean hahah
 
bows
 
4:47 PM
so André's Vaginal Radius is much greater than mine :O
 
@AndréSilva That's a cool concept. Here in the US, we have food stamps, which are pretty much the universal sign of "you're a poor loser".
 
sup yall
 
Of course, then we go to expensive fast-food restaurants and waste all of our money like sheep.
 
@ActionHank hey!
 
hey @WileyMarques
@ShotgunNinja food stamps? like, in the war?
 
4:49 PM
@ShotgunNinja Haha. It is, by law, something that every company needs to give the employee
 
That's amazing.
 
Yeah, we used to have this food stamps
 
Looong time ago..
Today we have cards...
 
If I had my lunch paid for every day, I would have much more money lying around
 
indeed
 
4:50 PM
@ActionHank Yeah, they never stopped food stamps, and they provide them to the poor and unemployed, if you apply for them.
 
They would probably also pay me less
 
Works just like benefits, instead of gaining an extra 500$ on our income, we get separated for food.
 
@Sean I'd rather take money unless there are tax benefits to taking benefits
 
I believe in Luxembourg they have something like diner coupons which you can use all around town
 
I'm trying to load a xml file which is in a directory inside my project. I've set it to *copy always*, and i've set the path like this: doc.Load('./Values/strings.xml);

but it says all the time Could not find a part of the path 'C:\Windows\system32\Values\strings.xml'.

what is wrong?
 
4:51 PM
The problem with it is, it's so easy in the aggressive US food market to lose sight of eating as a utility problem, and go for what draws you in, wasting more money than you need to, and being less healthy as a result.
 
only if you're employed though
 
here we have some benefits given by law
 
@rogcg Where is your working directory set for this program?
 
@kush I spend my money poorly so it doesn't really matter either way =P
 
@ShotgunNinja its inside the project in same level of the source code directories
 
4:52 PM
@Sean How is saving for that Lambo coming along then
 
@ActionHank on 21k a year? =P
 
@rogcg Try specifying the explicit full path, and see if that works.
 
@rogcg Are you sure is in that folder? And I think system32 is protected ..
 
@Sean don't you live at home still?
 
@ShotgunNinja yeah, it works.
but I've set it to copy always, and it copies it to bin\x86\debug. but the errror keeps
 
4:53 PM
@ActionHank No do I fuck. I would be in prison or a coffin by now for murdering my family or topping myself if I still lived at home.
 
@Sean getting the picture now
 
@AndréSilva its not in system32. I've checked the directory in my project, also it copies the directories to bin\x86\debug, where the .exe is located.
 
@ActionHank It's not their fault. I just find other people annoying =]
 
@rogcg Well... Then you have to get the current application path
 
is that 21k including taxes?
 
4:54 PM
@AndréSilva forever?? what happens when I send it to production to install in another server?
 
21k salary
 
...after taxes?
 
16.6k take-home pay
 
@rogcg Is it going to be always in the same folder as the *.exe ?
 
4:56 PM
@Sean where do you live?
 
@ActionHank Yeah, and people wonder why I have no car, no social life, etc. =P
 
@AndréSilva IDK..what should be the best practice? Since if I want to replace this file, I just copy and paste a new one in the installation directory.
 
almost 5k in taxes? :O
 
@ActionHank North-west, place called Burnley
 
@Sean well, I only do about 4k more
 
4:57 PM
@WileyMarques lowest tax rate is 20%, then there's National Insurance on top of that
 
@rogcg What I usually do is to put in a folder in the C:\ and always read that..
 
21k Euro? is that average?
 
£21k, I don't actually know the average UK wage
 
@klut I don't know what's average anymore
 
@ActionHank 4k is a car and insurance payments for a year =]
 
4:58 PM
@Sean which I got covered by the company
lucky me
 
i get 16k taken in taxes a year :(
 
I've no chance of that
 
well. In the application installation folder which would be C:\Program Files (x86)\MyApp\Values\strings.xml

How to write a code to support this?
 
@klut where you from then
 
usa
 
4:59 PM
you must have a killer salary
 
You write the xml inside the program or you need to already have it ?
 
my understanding is that taxes are way lower in US
 
well Soc Security tax just went up 2%
24 to 26% that includes my federal and state taxes
your benefits might be better though
 
@AndréSilva well.. I've created it manually in my project. but the app must copy it in the installation folder when installing, and must read from this path always, in a way, that independant from which machine I install the app, it will work.
 
@rogcg You can add an installation project that build the necessary files into a setup, you can do that instead of normal publish...
 
5:01 PM
@klut in NL we are heading towards US standards for benefits, but the taxes are getting higher too :P
Anyway I'm off, the hot office girl wants a ride home
 
@ActionHank Fish fingers for tea?
 
@AndréSilva it looks too complicated. I just want it to read the file easily in a way I can easily replace it.
 
ok ...done for today. Thanks for the help guys, see you tomorrow
 
cya later @SteffenWinkler
 
@rogcg So create a class specific for the creation of the xml, instantiate it in the load of the first form and create dynamically using FileStream
 
5:03 PM
@SteffenWinkler cya!
 
cya @SteffenWinkler
 
I think I might have a example here..
 
Yeah.. simply File.Create(path)
 
room topic changed to C#: Good Morning goo.gl/u3lDk (broken link) [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
5:06 PM
@rogcg Did you try Environment.CurrentDirectory rather than ./ ?
 
hi @KyleTrauberman
 
Hi @Wiley Coyote
 
hahaha
 
@Sean when I try Environment.CurrentDirectory in ImmediateWindows it returns "C:\\Windows\\system32"
 
@rogcg If you want a better example, Look at this: stackoverflow.com/questions/683189/…
What I use to get the Path of th .exe is :
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
 
5:07 PM
@rogcg How are you running this program?
Is it a service or something?
 
@AndréSilva I dont to write via program. its a string file, where I'll have to update manually, and replace it in the installation folder.
@KendallFrey service
 
@KyleTrauberman it reminds me of my school days
 
The only thing I can think of is Installation Project..
 
that's your problem, svchost.exe runs out of system32
 
were you called that in school?
 
5:08 PM
I think, sometimes I don't receive some messages in the chat..
 
yup, also Free Willy
 
@AndréSilva test
 
Just saw @WileyMarques get on the first in the line of users in the right area and did not see his message..
 
i can see that :P
 
5:09 PM
@rogcg Write a registry value that is the installation path and reference that from your service
 
@AndréSilva happens to me sometimes. Refresh
 
And now it appeared, whaa ?
 
@AndréSilva Editing messages does it.
 
He didn't edit it..
 
5:09 PM
@Sean there isnt a simpler way? it looks very complicated.
 
I saw his message after some seconds..
 
He did.
 
yes he did
he edited
refresh and you'll see the edit icon
 
I did :D
 
He edited outside the view area. :(
That is why.. Damn
Mind blowing.
 
5:11 PM
@rogcg No not really, svchost.exe runs from system32.. There might be a property in the .Net service classes to get the path of the executable being run as a service but registry is piss easy anyway
Microsoft.Win32.RegistryKey key;
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Names");
key.SetValue("Name", "Isabella");
key.Close();
except not currentuser.....
 
@Sean what car do you have?
 
@kush I don't
@rogcg replace .CurrentUser with .LocalMachine
 
@Sean You said I could have one for GBP 4k?
 
@kush Yes, generally speaking
@rogcg And choose an appropriate path. Something like HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[Insert program name here]
sooo....
 
@Sean wait.. I'm gonna need some help on that.. lemme test something.
 
5:18 PM
Microsoft.Win32.RegistryKey newKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SYSTEM").OpenSubKey("CurrentControlSet").OpenSubKey("Services").CreateKey("my program name");
newKey.SetValue("InstallationPath", strInstallationPath);
newKey.Close();
@rogcg then to read it back it's just string installationPath = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SYSTEM").OpenSubKey("CurrentCo‌​ntrolSet").OpenSubKey("Services").OpenSubKey("my program name").GetValue("InstallationPath").ToString()
 
ok..
 
@rogcg Before creating it you should check it doesn't already exist, so just do Microsoft.Win32.RegistryKey myKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SYSTEM").OpenSubKey("CurrentCo‌​ntrolSet").OpenSubKey("Services").OpenSubKey("my program name"); if (myKey != null) { /* create key */ }
is good, I like
 
@Sean ok.. but why should I do this?? I dont know why. hehehe
 
@Kyle - What broke teh linx?
 
@rogcg Because that's what the registry is designed for? To store information for programs in a place they can easily and reliably get at it. Your program is running as a service so your execution path is always going to be in the C\Windows\System32 folder as that's where svchost.exe is located. The registry is the easiest way around this
@rogcg It allows you to store the path where the program was installed to, so you can get it back later and whack it into your XML bit... string xmlPath = System.IO.Path.Combine(installationPath, "strings.xml");
 
5:28 PM
@Sean my .exe is not located in system32. it is installed in Program Files (x86)
 
facedesk
@rogcg You're running it as a service, no?
@rogcg Services are hosted by svchost.exe which is located in C:\Windows\System32
Regardless of where your program is, this will always be the case
 
@Sean you mean the .net dll right? but my app's dll is in Program Files(x86)
@Sean I'm not used to work with .Net
 
@rogcg You said your program was a service earlier.
 
@Sean yes it is.
 
 
5:30 PM
Solve a problem with iTunes: Uninstall.
The problem is that it's installed.
 
Eve
What's the talk about? Would I be right if I guessed "@rogcg is trying to bypass the UAC because he wants to write to the programs folder"?
 
@rogcg All windows services are hosted by a program called svchost.exe which is located in the C:\Windows\System32 folder. This is why your Environment.CurrentDirectory property is showing as C:\Windows\system32. To get round this, just put a key in the registry. It's not even difficult.
 
@Sean ok..
 
@rogcg The registry is designed to store this kind of information, it's EXACTLY what it was meant for. Just use it =P
 
I only worry about UAC once. When I disable it.
 
Eve
@KendallFrey Not a Win8 user, eh?
 
@Sean OK!!
 
@Eve No, why?
 
anyway I'm off, cya later
 
@Sean it will work independant from which machine I install.. right??
 
5:32 PM
https://www.hpwebgen.com/questions.aspx [parameters]
 
Eve
@KendallFrey To be an actual administrator you have to hack your way through the registry (iirc) and regardless, you won't be able to use the "Modern" apps.
 
Is it different than Win7?
Linux got UAC right the first time.
 
Eve
I don't know why I edited my previous message rather than writing a new one.
But since you were the recipient I assume it works for you.
 
@Eve Good question. For this, we consult the judge's panel.
 
Eve
But there's no question.
 
5:34 PM
Judges, what do you think?
 
Linux got everything right the first time.
 
^ A valid opinion, though a bit extreme for my tastes.
 
I was exaggerating a tiny bit.
 
Linux got most things pertaining to the operating system itself right the first time.
 
Security is one of the best things about Linux.
 
5:35 PM
Indeed.
Thanks, Kerberos et al!
 
@Sean what if I use AppDomain.CurrentDomain.BaseDirectory;
 
Eve
@rogcg Anyway, what's your problem?
You need a folder to write your program's settings to?
 
no. the file is created manualy in my project. I just want my app to read it from the insallation folder. I've set it to "copy always" so it will be created in the installation folder.

Now I need the path to this file, even if it's installed on another machine, so the app can find it.
 
Eve
Oh, my bad then. Yes, what the folks said is right, the registry is the way to go.
 
@Eve I just used AppDomain.CurrentDomain.BaseDirectory; and it worked.
xmlDocument.Load(AppDomain.CurrentDomain.BaseDirectory + "Values/strings.xml");
 
5:54 PM
Do I have to setup a database when deploying an MVC3 application?
 
I would assume not; however, you'd typically want somewhere to store your data other than flat files or in-memory...
Doesn't make much sense to have MVC without a data source driving it.
 
What does MVC do with the data? when you register and stuff?
all ends up in the sdf file?
 
That reminds me. What's wrong with storing data in-memory, other than the fact that if the server dies, the data is lost?
 
@KendallFrey Relatively low amounts of memory.
 
space issues
 
5:57 PM
What if I have only 100MB of data?
 
then its not a problem
other than the persistence issue
 
thanks
I don't plan to skip out on db's though.
 
memory should be used as a cache
 
@Kendall - 100MB per user?
 
Hey.. shouldn't return View("NotFound") show on the address bar, SomeController/NotFound
 

« first day (822 days earlier)      last day (4140 days later) »