« first day (510 days earlier)      last day (4439 days later) » 

1:02 PM
@TonyTheLion no, Windows doesn't use interrupts for kernel functions calls
 
ah ok
 
there is int 0x2e, but ntdll doesn't use it
 
Hi @DeadMG
how nice of you to drop by, I have a question ;)
 
oh dear God
what have I done now?
 
hehe
well, I think you could provide some insight into a problem I’m facing
 
1:07 PM
go for it
 
@Abyx ah right
 
I am developing this programming language, right
and my aim was to keep the syntax clean and with a focus on expressions
 
holly fuck, 1TB/s has been achieved :O
 
the syntax that I imagined for function calls follows the pattern of functional languages, i.e. f a b c without any parentheses
 
no, that's badness
 
f a b c == f(a(b, c)) or f(a, b, c) or f(a(b(c)))?
 
rationale: functions can chained, i.e. it’s possible to create a binary function from f by invoking f a and passing it further on
 
Last one. But with currying.
 
@DeadMG Well, f a b c == f(a, b, c)
 
@DeadMG exactly why I did not remove parenthesis in my language-in-progress
 
1:09 PM
but you already see the problem I’m facing
 
what, that you can't figure out how to express f(a(b, c)) instead?
 
so far it’s not a problem because this can be easily disambiguated
nono, I can
simply write f (a b c)
the problem comes in when combined with binary expressions
 
ok
 
to wit, how does the compiler disambiguate between f +a and a + b?
 
which is why in C and derived languages, there are parenthesis and commas
 
1:11 PM
The only way I can think of requires me to forward-declare the type of the identifiers and perform type analysis during the parsing process
 
because there is no way to disambiguate separatorless expressions in C-derived expression syntax
 
aaargh
well, sh*t
oops, I meant s***
 
+ is hardly the only example of conflict, although you can dodge some of the others if you don't have e.g. pointers or increments
 
@ScottW No swearing, please
@DeadMG No pointers, no increments
 
you'll still face the same problem with -
 
1:12 PM
@KonradRudolph You can special case (+3) at the syntactic level (i.e. f (+3) vs a + 3 but that conflicts with sections, if you have that.
 
yes, of course
 
@KonradRudolph when did that become the case?
 
that's never been the case in this room, as far as I'm aware
 
@thecoshman I’m just pulling his leg
 
1:13 PM
ahh
 
keke
 
anyhoo
 
well, that shit just aint cool
 
anyway
 
merde
 
1:14 PM
there is no way to disambiguate in standard C-derived syntax
you will have to either remove the unary operators, which IMO is no big deal, or introduce a comma to separate the arguments
 
@thecoshman lol
 
okay, parentheses + commas then
… hmm
or just put parentheses around prefix operators
now I just need to make sure that all other cases are unambiguous
 
Remember, you lose sections.
 
@Luc Sections? What do you mean by that?
 
as far as I know, if you have no pointers (so no unary & and *), and no increments ++ or --, then + and - are the only remaining conflicts
 
1:17 PM
@KonradRudolph map (+ 2) list is nonsensical if (+ 2) is, well, 2.
 
@LucDanton Ah, those are sections
yes, that syntax doesn’t exist in my language
 
What's wrong with parenthesis?
Not Lisp-parentheses, but normal function-call-kind-of-parentheses?
 
you’d write it as either map $ + 2 or map {x : x + 1}
 
Hah:
0
Q: Low Level Programming in C#

Uzair AnwaarI am new to C# .NET. I am migrating from C, C++ to C#. C# is similar to C but I have some problems to work with it. I think it is possible to do low level programming in C# like C but I did not find any comprehensive way to do low level programming like C. The Question is how can I do low leve...

 
@KonradRudolph Should be map ($ + 2) no?
 
1:19 PM
@rubenvb Nothing’s really wrong with them, but I tried to cut as much cruft as possible
 
> @HighPerformanceMark: I voted to close, and I posted an answer, how's that for schizofrenic -- sehe 2 mins ago edit
 
@sehe Fail indentatation in your answer! lols
 
@LucDanton Hm. My current parser would happily parse map $ + 2 due to operator precedence. Did I overlook an issue with that?
 
@DeadMG 'fixed'. I had just condensed it for the chat when i first posted it
 
@KonradRudolph I was going with familiarity, not correctness. I assume there's a syntactic tradeoff with regards to e.g. (f a) + 2.
 
1:30 PM
Hm, not sure I’m convinced by the familiarity argument but I think I lean towards just requiring parentheses around function calls
although this is a bit weird to then have map(f, a) and map(f) depending on usage …
 
fuckles
I mostly fixed my camera code but I still have the same problem I had previously
it keeps rolling if you move it a lot
 
is there an SE site for computer networking (e.g. questions about protocols) or can I just use SO for that?
 
 
@KillianDS If it’s programming related, just use SO. Otherwise perhaps SuperUser?
 
@KonradRudolph Right, I always forget about SU, thx :)
 
1:43 PM
@DeadMG Perhaps you should consider adopting the Dutch nationality too :)
@KillianDS There is a builtin cheatsheet on every SO page ^^
 
@sehe Yeah I know that, but I always think of superuser as a "sysadmin" Q&A, but I've been directed there before actually for networking questions
 
Just stay off Heineken. Dutch people think it's beer and as we all know, false beliefs are easily spread.
So if I want to say template class in language-agnostic-speak, I need to say parametric polymorphic type (or class)?
 
yeah
 
@rubenvb There is no such thing as a template class in C++. template<typename T> class Foo is a class template, not a template class.
 
@FredOverflow yeah, well, everybody knows what I meant.
 
1:53 PM
yeah
afaik, the Standard says class template and everybody else says template class
I mean, when you specify one, then first you say template and then you say class
 
That's what I thought/do.
 
goddamnit
I hate 3D programming
WRITE TO MY DEPTH BUFFER, BITCH!
 
@rubenvb Heck, some people even think beer is a beverage and that it tastes nice. Would you believe that
 
also stop rolling my camera for funsies
 
@DeadMG Welcome to the Netherlands, here's your Dutch passport
 
1:56 PM
hehehe
 
@ScottW Oh, I recognize many many of them. I think it's a well - made site and oviouvsly, they need to exaggerate a little in the interest of style
@ScottW boodjes kroket would be the pluralization there :) I prefer frikandel
@ScottW what?! where :)
 
have to admit
 
^^ I gimaged it too :)
 
I love it when you can change the install directory for stuff you don't want
like I have a C:\SHIT
 
@DeadMG Oh. Shame /dev/null isn't an fs. Wait, let me write a fuse driver for that (30 LoC).
 
2:03 PM
it's a technical statement
 
Nah. I'm lazy, I'll just reboot and my /tmp is gone :)
No fearing
Sucker
 
the water temperature doesn't make that much of a difference, actually
 
warm (not hot) water promotes bacterial growth, so I'd say warm water is actually worse in the cleanliness department
 
right
experiment: How long does it take DeadMG to reinstall Windows?
 
the idea is you use water to carry away the 'dirt' that you are scrubbing off
 
2:08 PM
@DeadMG depends, which Windows, have you done it before? Have you got all the drivers ready...?
It's a conundrum!
 
@DeadMG how big are they?
 
Windows 7 Pro, and yes, on my backup drive
 
20 minutes
 
argh
 
that's 20 minutes of work, 20 hours of waiting
 
2:08 PM
@DeadMG Why reinstall Windows?
 
first Windows said I only needed 8GB free on my SSD
 
Install all drivers at once, reboot only once.
That helps sooo much
 
then it says I need 15GB :(
@FredOverflow Because I'm sick of the Direct3D debug runtime not working correctly
 
You think it's a Windows bug? :)
 
also I have a bunch of junk programs, like VS2010, that I don't want but have their roots in e.g. my registry
 
2:10 PM
@DeadMG you really use the IDE or only the compilers/headers/libs?
 
I have vNext, more accurately
and yes, I do use the IDE
 
@DeadMG then junk you will have.
 
ARGH WINDOWS
now it wants 21GB of free space on my SSD
 
How big is your SSD?
 
60GB
 
2:13 PM
use it all
 
59.6GB in actual GB
 
and compile with a RAMDisk
 
one of the reasons I'm trying to re-install is that Windows itself is now taking up a vast amount of that- 27.6GB
 
@DeadMG removing the shadow volume copies helps a lot
 
what's that?
 
2:14 PM
@DeadMG 1 GB = 1000^3 B, right?
 
@FredOverflow 64GB in 1000^3GB
59.6GB in 2^10^3 GB
 
How is 2^10^3 parenthesized?
 
(2^10)^3
 
@DeadMG a backup automatically made by Windows. You can clean that stuff by running cleanmgr.exe with admin rights.
 
so 1024^3
 
2:16 PM
no
 
@FredOverflow @DeadMG Actually, power is conventionally right-associative
 
just reinstall, that's always a blessing
 
so 2^(10^3)
 
that's because (2^10)^3 can be reduced to 2^(10*3), while 2^(10^3) can no be so reduced
 
@KonradRudolph He asked how I parenthesised it. I can add those parens wherever I want
right
now I have 24GB free
Windows, you had better stop bitching nao
ARGH
now the recommended free is 26.5GB
Windows....
 
2:18 PM
And clean out %TEMP% too. That can become unwieldly large
 
@rubenvb Done.
 
My %TEMP% is on a 500MB RAMDisk.
 
in future
I will throttle Windows if it dares to suggest that I do not have enough free space
 
@ScottW less so these days. But yes, much in fawlty towers maturity-level, when I was in primary school, kids seemed to enjoy cracking 'Moffen Moppen' for reasons beyond my comprehension. It is a cultural thing, then
 
0
Q: What's the word for the condition where you need to defecate?

Alf P. Steinbach"hungry" describes the condition where one craves intake of more food. what is the English name for the condition where one needs to expel the end result?

 
2:19 PM
@DeadMG Are you installing Windows from within Windows? Cause that's stupid.
 
Oh interesting, my linux displays a 62,640,433 Bytes file as taking 59.7 MB, I would have expected either 59.7 MiB or 62.6 MB.
 
@CheersandhthAlf I'm feeling crappy? I have the urge?
 
@rubenvb I do it all the time.
have done ever since I had a system with two hard drives
 
@DeadMG doesn't it backup everything unnecessarily?
 
put Windows ISO on one and extract, install to the other
who cares? that's what the delete button is for
 
2:21 PM
that takes a lot of disk space... HINT
 
express it in the units used for 1.44 MB diskettes, then?
 
@ScottW Anyways, fresh from the corridor - if you think 'Dutch Directness' is overrated, sit tight:
 
ARGH
why do I have so many folders which are undeletable?!
 
I wonder if they'd dislike my comment:
 
@DeadMG Having two hard drives is a very good idea. Makes many operations a lot faster and quieter :)
 
I'm the admin, when I say, delete, then fucking terminate the process if it's still using it.
 
@DeadMG Maybe they weren't allocated with new?
 
finally learned what the v in argv stands for
 
value?
 
it's for argument vector
 
2:22 PM
Who said that?
 
the vector is a lie!
 
> The argument vector and environment can be accessed by the called program's main function, when it is defined as
 
you know
maybe I shouldn't have deleted a folder from the Windows directory
whoopsie
 
not such a good idea
 
Coworker: "So, we are hiring women for new positions then? Good!"
Resource Manager: "Yeah, we thought'd be nice for change, now all we need is female project manager, but we'll have to do with T. for now"
Project Manager: "Well, I got tits!"

(background: project manager is considerably overweight)

Me: (chokes on sip of 'chocolademelk')
 
2:23 PM
@DeadMG time to reboot with a USB stick.
 
thought you would have known that
 
it's called "Installer"
I was like, "I don't need 5.5GB so I can install shit! I'm about to delete this thing anyway"
 
Windows didn't complain, though
 
@ScottW Thx. I considered 'overweighted' :)
 
2:24 PM
didn't try to stop me
 
Linux wouldn't either if you do rm -rf /, until you reboot
 
Windows loves to bitch, though
right
Windows finally shut the fuck up now I freed 27.5GB
now let's see how long this takes
 
you can hardly call that a clean install...
 
@DeadMG Luckily, %SYSTEM% would be C:\SHIT\Windows\System32 :)
 
@rubenvb Windows takes care of cleaning the old Windows off.
tata everyone! see you in 30 minutes or so
 
2:27 PM
I wouldn't trust Windows for shit.
cya
 
@DeadMG If you boot it, around 3 days. If you leave it switched off, it will be less annoying (no guarantees)
 
@DeadMG that's optimistic
 
wholy shit
I nearly just formatted my C drive and blew up my fucking password database
that would have been a terrific thing to do
now actually going to reinstall Windows
 
@DeadMG ... perhaps you should consider backups
 
backups are for cowards
 
2:29 PM
lol
 
real men leave everything in a ram drive
 
@thecoshman I do. But I back up the stuff I want to keep.
@ScottW Duck tape :)
 
@thecoshman I have all the important bits in my head.
 
@FredOverflow me too, all two bits I could ever need
 
@ScottW that's got to suck when you have to reinstall the OS.
 
2:33 PM
 
Over the last few years the only major source of computer-induced adrenaline rush was when I accidentally deleted my mothers backups. Granted, that's nowhere near as fun as actually destroying live data.
Took me about 7 days to stream a new initial off-site backup that back over the internet.
 
ones and zeros everywhere :)))
 
"There's no such things as two"
@sehe you actually do offsite back up for your mum
 
@thecoshman Among others, yes.
@thecoshman that was a fun phone call: "The good news is I only lost your backup. The bad news is that you'll have to keep the computer running for a bit" (and then negotiated a realistc ssh --bwlimit bandwidth slice :))
 
is your mum pc literate enough to know what that actually meant?
 
2:40 PM
@sehe You must have a geeky mom. I'm still teaching mine Firefox has tabs and bookmarks.
 
@rubenvb Geeky? No. Pragmatic: yes. She'll have me as a sysadmin. So she runs Linux and has backups ;) - Oh and she runs a small accountancy business
 
business on Linux is always an awesome concept IMHO. Does she type letters in LaTeX?
 
@sehe it must be nice when your mum asks for help, you tell her what needs to be done, and she trusts you
@rubenvb zing!
 
On Windows, it's quite easy to create an executable without the C runtime library. Is the same possible on Linux/Mac OS in a equally easy/involved manner? Or does Linux/Mac make that kind of stuff immensely hard?
 
2:54 PM
@rubenvb Why would that be hard?
 
@rubenvb: It is possible, it is also hard.
 
@RMartinhoFernandes Cause Win32 API (without CRT) is quite friendly vs what I have seen from the Linux kernel.
 
@rubenvb Statically linking not OK?
 
@rubenvb What? You're trying to say that the Linux kernel API requires the CRT?
 
2:56 PM
@KonradRudolph I don't want to use a broken CRT to back my language's executables.
@RMartinhoFernandes no, I'm saying Win32 API is a lot more frienly than what I have seen from Linux'
 
Oh, heh.
 
@rubenvb “broken” CRT?
 
@rubenvb SetWindowPos
 
@KonradRudolph msvcrt is never going to be C99, and there's a bunch of ugly hacks I'd have to keep in mind for all sorts of things like MinGW vs MSVC, MSVC version, etc. I don't want to do that.
@Xaade Well, Linux doesn't even have GUI functionality, so my point very much holds.
 
Hm, when I watch video, after 10 minutes my screen goes blank. I have screen saver and power management disabled. What else could it be?
 

« first day (510 days earlier)      last day (4439 days later) »