« first day (802 days earlier)      last day (4145 days later) » 

user142019
12:00 AM
For my process monitor I was thinking something like this: you have a tree of supervisors, and each leaf supervisor supervises one or more processes. When a process dies, its supervisor logs the termination and restarts the process. When a process dies too many times in a specific time span, its supervisor kills itself and all its processes and it'll be restarted after a specific period of time.

Would there be anything wrong with this model?
 
@Ell Get the emergency vodka out.
Seriously though, as @DeadMG said, giving them space might be the best plan.
 
Ell
I have none :/
 
You know what, I am actually annoyed by Arch Linux now. They are fucking changing everything all the fucking time, and the rate at which they do and the scope at which they do now officially pisses me off. I need to find another preferred distribution :(
 
Ell
Slackware?
 
user142019
Gentoo is nice I've been told.
 
12:02 AM
@Ell I know this is a silly idea, but, just try asking them what they want?
 
@Ell Let that person know you'll be available if there's anything. But don't push.
 
@Zoidberg'-- Gentoo sucks because you cannot ever update GCC.
 
user142019
lol
 
I mean it.
 
I've updated GCC on Gentoo many times
 
12:03 AM
If you update GCC you have to rebuild the whole system and it might not work.
 
You just suck
2
You don't have to rebuild world
 
@CatPlusPlus is in his oral stage. He's focusing way too much on sucking.
 
Ell
@deadmg I think I will just give Them space - thanks for the advice
 
user142019
Yo momma sucks harder than a black hole.
 
hmm
thinking about sleeping, but unsure if sickness will bite
 
12:11 AM
@CatPlusPlus Last I did it I did not rebuild world and everything simply broke down. I admit it might have been something to do with messing around with trunk builds.
 
Everything broke down how?
Also eselect the old GCC if new one is broken, problem solved
Each major version has its own slot, so they can coexist
Major/minor
 
@CatPlusPlus Not after you installed stuff with the new one.
@CatPlusPlus Loader errors, shit like that. I nuked it soon after anyway.
 
eselect, reinstall broken stuff with the old one
Gentoo is pretty rescuable
 
man
I am going to have the beefiest constructor ever
 
Ell
Mmm... Beefy constructor.
How was everyones Christmas lunch?
 
12:16 AM
it was tasty
but below my father's usual quality, I have to be honest
 
Ell
Mine Was tasty. Esp. The gravy
Well, when I say gravy it was pretty much bacon fat
 
@Ell Your arteries, may they rest in peace.
 
Ell
They had delicious final moments :P
 
So lonely on Mumble.
 
Ell
Im in bed :o
 
12:18 AM
wait, Mumble still exists?
 
Ell
I doubt I can get away with it without my parents hearing
Yeah, I think it got ressyrected a bit ago, I was on with tony and the PhD and someone else
 
@EtiennedeMartel Haven't your heard? IRC is the new hot thing.
 
Ell
Was it Etienne?
 
@EtiennedeMartel Left my mike in Berlin.
 
Ell
Are you on that business trip?
 
12:20 AM
Wat.
I'm on holiday.
 
Ell
Oh right, I for some reason thought yoh were on some kind of work trip
 
Merry merry lads!
@R.MartinhoFernandes I left my bike in Copenhagen =)
 
Oh well, I guess I can give Gentoo another try soon. It's not like there are many more decent choices anyway.
 
Ell
mint <3
 
ClangTUAdapter(llvm::Module& m, std::string filepath, std::ostream& out)
    : error(out)
    , fm(fso)
    , diagids(new clang::DiagnosticIDs)
    , engine(diagids, &diagopts, new clang::TextDiagnosticPrinter(error, &diagopts), false)
    , sm(engine, fm)
    , targetinfo(clang::TargetInfo::CreateTargetInfo(engine, &target))
    , headeropts(new clang::HeaderSearchOptions)
    , hs(headeropts, fm, engine, langopts, targetinfo)
    , preprocopts(new clang::PreprocessorOptions)
    , preproc(preprocopts, engine, langopts, targetinfo, sm, hs, ci)
 
12:25 AM
Three sweaters and a toilet reading book, I guess I'm not the only one that has a hard time finding presents.
 
user142019
lol
 
I should really not do this
 
Ell
I don't understand wby people complain about the mainstream distros
 
@DeadMG That is awful.
 
@DeadMG No, You'd get downvoted into oblivion for pasting console output.
 
12:27 AM
That is sooo fucking awful.
 
@R.MartinhoFernandes What's worse is that it doesn't even work, because half of them require member variables setting before they can actually be used.
so I'll have to make a good part of that into pointers, and dynamically allocate.
 
Did we all have a hick nice day?
 
@Ell Me neither. I'm happy as a clam with Gnome 3. Otoh I have an extremely fast 7 year old laptop.
@thecoshman I'm warm and fuzzy, so YES!
 
> extremely fast 7 year old
Wat.
 
All power to the booze!!!
 
12:30 AM
@DeadMG Its an IBM you wouldn't understand.
 
7 years ago, even the available desktops were slow as fuck
I mean, those things were barely Conroe
the RAM amounts weren't too bad but the hard drive speeds were incredibly bad as well
 
@DeadMG Core 2 duo, upgraded with a SSD 80 Gigs.
 
@DeadMG How is a processor related?
 
7 years ago you were still in nappies
 
I've got an i7 930 and even I'm thinking time to upgrade soon
@thecoshman No, I don't think I was.
@Rapptz Wat?
 
12:32 AM
He's talking about an IBM Processor but you're talking about a RAM and HDD
 
Shut it puppy
 
I guess it depends on the mobo
 
@Rapptz Conroe is a processor architecture.
 
Oh I totally misread
I skipped the previous sentence
 
@Rapptz I'm talking about the last well built computer on the planet. The T60. que the quite appropriate tank jokes
 
12:33 AM
If I had a proper keyboard, I rant
 
@DeadMG Really? That's pretty recent iirc
 
There's no reason to upgrade lol
 
Well almost 3 years
 
@Borgleader Nah. This Christmas makes three years since I had it.
my usual upgrade timing
 
Yeah I thought it was like mid 2011
 
12:36 AM
I feel the Jeeps of our time are becoming more obsolete. And by that I mean the entire planet is no longer interested in a PC (gaming rig). Our stuff is getting more rare.
It's all about tablets now.
 
@Borgleader Nah, late 2009
 
Conroe was about 2004, Penryn 2007, Nehalem 2010.
 
Q1'10 ?
 
since then Sandy and Ivy Bridge
@Borgleader Oh, yeah, I bought like, the 8th of January or something.
 
12:40 AM
I'll stumble in at a later date when I will be less sickened by wanton excess
 
Ell
I have sandy i5
Got it last year
 
Whoa.
The coshman has perfect spelling right now.
I need to get Haskell and Ruby
I want to figure out why these languages are apparently so good.
 
lol wat?
 
Ell
Oh yess ruby get in
 
Ruby is god awful
 
12:54 AM
All my slashes are Yen symbols.
q_q, JPenv.
Alright.
I have Ruby.
 
I don't know much about Ruby, so take this with a grain of salt, but
as far as I can tell, it's "good" insofar as "it's competition is PHP".
 
PHP is a server-side scripting language, Ruby isn't
Bad comparison IMO
 
That's not very encouraging, but I'll take it.
 
Dec 21 at 11:27, by R. Martinho Fernandes
Ruby has too many Perlisms for my taste.
 
Perlisms.
 
12:57 AM
It also has non-Perlism crap on top.
 
So it's a Ruby that thinks it was born in a clam's mouth. Brilliant.
 
Trust me, Ruby is bad.
 
@ThePhD No, it's shit with shit on top
 
I used it extensively and it is a horrible language
 
Ell
What's up with it?
 
12:58 AM
@Borgleader Is there any fuck in there? Because then it could be a Fuck Shit Stack.
 
@Ell THE SYNTAX.
;_;
 
Ell
Also I think if you use any language extensively you get to know its flaws intimitl
 
@Rapptz Ah, yes. That's right, you made a whole game out of it. Roflmao. :3c
 
This is coming from someone who uses C++
 
Ell
Srs? The syntax is awesome!
 
12:59 AM
... Hokay
I need a Ruby IDE
 
I don't really like the way they rape braces
 
Because figuring out Interactive Ruby looks like tits.
COMPILATION PLS.
 
user142019
@ThePhD Vim
 
@Zoidberg'-- Uhm. I'm not sure how well-supported Vim is inside Windows.
 
If you want to use a scripting language go with Python.. or.. Lua.. I guess. I haven't used the latter too much but I know it's somewhat popular.
 
1:01 AM
Lua is insanely popular and I wrote Alchemist Scripts for Ragnarok Online in it.
 
@Rapptz cough WoW addons cough
 
Lua, I think, would be competitive enough with Python in terms of ease of use
 
Ell
Ruby ide?
 
if it came with remotely the same kind of libraries by default
 
Ell
Dynamic and ide aren't all that great
 
1:02 AM
but they insist on maintaining the ability to build their implementation as Standard C only
 
Yeah my only experience with Lua is actually game scripts lol
 
which means that they only offer wrappers on the CRT, hardly any OS functionality
partly why it's good for games, because it has less cruft
but also why it's bad for general-purpose scripts
 
@ThePhD Pretty well. It's what I always use.
 
whereas Python comes with a bunch of OS wrappers right out the box
 
Oh, well then. Off to learn how to use Vim!
 
1:03 AM
Anyone ever try to reverse engineer asset formats? (for games)
 
I need to figure out how to do division :(
 
@Rapptz x / y?
 
For my BigInteger class
 
@Rapptz google it? I'm sure someone has done something similar you can look at
 
hmm
 
1:04 AM
Most implementations I've seen use an array of chars.
I'm doing a deque of unsigned long longs
 
the basic logic should be identical, no matter what structure you use to store the bits
 
^ This
 
user142019
Deque of unsigned long longs? Y u no template parameter!
 
@Rapptz Slow, but completely accurate until you do floating point.
I wrote a variable-precision digit library using half-bytes for each number.
 
@Zoidberg'-- because that is pointless in what I'm doing
 
1:05 AM
Still wasted a few bits per number, though.
 
Well the division isn't going to have floating points, it's just a division with a remainder
 
Albeit, I could implement some faster-than-usual rolling algorithms based on tricks with Nybbles.
 
@Rapptz You could use a numerical method, like binary search or Newton-Raphson.
 
Xeo
Hm, this game is kinda addicting.
 
1:06 AM
@Xeo What game?
 
merry christmas
 
@JohannesSchaub-litb Merry holidaymas :P
 
Merry Christmas
 
fuck forgot to check this evening's Steam deals
 
Wow, Vim installs FAST.
Let's see how I can pimp it out for Ruby now..
 
Xeo
1:07 AM
 
merry atheismas
8
 
Xeo
Note that having a controller is advised.
And man, my hand hurts after ... checks clock ... 6h of continuous play.
That's the longest I've played any game at once recently
The story mode's pretty short with 3 1/2h (my time), but it got a good bit of extras to keep your attention.
 
I wanna remake levels of KotoR in Unity... but I suck at guessing the scale of objects, so I have to find a way to extract the games models T_T
 
most model formats are cracked relatively easily
someone else probably already did
 
Yeah but all the tools are obscenely old and not hosted
KotOR is like 11 years old
 
Ell
1:19 AM
KotOR?
 
Knight of the Old Republic
The Star Wars: Knights of the Old Republic series, often abbreviated as KotOR, is a comic book and RPG video game series based on the fictional universe of Star Wars by George Lucas. The first video game installment was developed by BioWare, while the second was done by Obsidian Entertainment per LucasArts' request. and they were both published by LucasArts. The comic series was published by Dark Horse Comics. This series acts as a prequel to the films. Gameplay The game's system is based on Wizards of the Coast's Star Wars Roleplaying Game, which is based on the d20 role-playing game syst...
 
Ell
Ohh
I want to make a game, but I am not good enough :o
 
I just want to learn Unity so I figured recreating levels from my favorite game would be a good start
but it'd be much easier if I had access to the original models
 
Ell
Yeah
 
eh
I really need more focus
every time I wake up I'm full of new ideas for every project I want to do
 
Ell
1:27 AM
doesn't everyone?
Do you write them down?
 
not usually
 
is there a difference of writing template<typename T::X*> to template<class T::X*> ?!
 
I find the translation to be rather lossy
 
Ell
Yeah That is a problem :/
 
or can typename and class be used interchangably?
 
Ell
1:29 AM
Interchangeable in that context IIRC
 
@JohannesSchaub-litb AFAIK, the only difference between typename and class as template parameters occurs in template templates.
apart from that, they're totally interchangable
 
do you mean template<typename T> struct A { template<typename U> typename B { }; } ?
instead of template<typename U> class B { };
 
no, I mean template<template<class X> typename Y>
 
ah that thing
 
I believe that X can only be declared with class and not typename, although VS accepts both.
 
1:31 AM
what's the difference in my example of typename to class :(
 
@JohannesSchaub-litb Well, none, except that typename B {} doesn't make sense, it would have to be class.
oh, you mean, in your original example?
none, as far as I'm aware
 
i mean template<typename T> struct X { template<typename T::X*> class Y { }; template<class T::X*> class Z { }; };
what's the diff of Y to Z
 
Well, I just finished HL2. I say this game this not steal its status as "Game of the Decade".
 
will it be my new quiz for christmas
 
1:36 AM
@JohannesSchaub-litb None (except that one is named Y and the other named Z, of course).
@EtiennedeMartel Wat? Grammatical fail.
 
@DeadMG Damn
Replace the second "this" by "did".
 
still makes no sense
steal it's status from what other game?
 
It's fucking GOTD.
 
right, that makes a lot more sense :P
 
I tried to be fancy here.
 
1:38 AM
@DeadMG incorrect!
see this counter example:
 
@EtiennedeMartel Couldn't you have just said "It's fucking awesome" like everybody else :P
 
to be honest
it's hard for me to identify HL2 as GOTD
there were other shooters around that time, and later, which I enjoyed immensely, if not more
 
template<typename T, typename T::X *> void f() { }
template<typename T, class T::X *> void f() { }
struct A { typedef int X; };
struct B { void X(); class X{ }; };
class B::X x1; int x2;
int main() { f<A, &x2>(); f<B, &x1>(); }
this code is rejected by GCC (GCC is wrong to reject it!), and accepted by clang
 
like Wolfenstein: Enemy Territory, and CSS
and there was always Warcraft 3 and Supreme Commander
 
Ell
Ugh my face tastes of soap
 
1:39 AM
clang accepts, because for the first call to f, the second f SFINAEs away. and for the second call to f, the first call SFINAEs away
 
@Ell Try not to lick your face.
 
@Borgleader I'm one of those "'games are art' hippies".
 
plus
 
Ell
I try and Try but I just can't help it
 
whilst I dislike the game personally, there's no question that any serious list for most important game this decade has to include World of Warcraft as a potential contender
 
Ell
1:41 AM
Also I thought watercraft and supcom were ffs?
 
watercraft lol
I expect that if you're in Guantanamo Bay, then Watercraft is a FFS.
 
Ell
*warcraft *rts
 
yes
 
@EtiennedeMartel And that keeps you from speaking like a normal person? ;)
 
and personally
 
1:42 AM
@Borgleader Yes.
 
I think of early 2000s, when I got broadband, as that time where it was definitely too late for games that had a linear single-player campaign only.
you just can't get enough out of them
HL2 was fun but when you were done, there wasn't much reason to go back
 
@DeadMG Yes, but what a ride it is.
You know the thing I noticed the most? Pacing.
HL2 has pacing.
Something that many modern games seemed to have lost.
 
yeah, like how you spend about the first half the game with no meaningful weapons
 
Yes, but when you get real weapons, then you enjoy them much more.
 
only if you weren't playing another game where you get to use real weapons all game long
 
1:46 AM
I don't know how to tell VS to target the regular Windows 7 SDK, without all the DirectX stuff in it.
All the redefinition warnings. Alll of them. ;~;
 
in which case you think "What a goddamn waste of time the first half the game was."
like, say, Unreal Tournament 2003 or Enemy Territory or CS:S or something like that
 
@EtiennedeMartel Uncharted had pacing, imo
Unlike MW
 
Xeo
I just noticed that my left thumb is swollen from all the gaming.
 
"You should seek out your Medical Professional and consult the Health Information in your Console's Manual."
 
Xeo
Well, Freesia does require dashes and quick movements, which translates to fast stick movements on my xbox controller, which means swollen thumb.
Especially after 6h.
 
1:54 AM
My thumb never got swollen,
but when playing the old Street Fighter Alpha II, I would get those indents.
Those super-gnarly indents from dem combos.
 
Xeo
@ThePhD I didn't play any game that required hard control of the stick for a long time, the last I believe being Melty Blood: Act Cadenza nearly 2y ago.
 
alright
I guess I'm going to have to man up and accept that actually, no sickness is impending and I should go to bed
 
Xeo
I'll head to bed too, it's friggin 3AM.
 
I passed out in the middle fo the day because I had to sneak around to get Presents for my family without them all noticing.
It was largely a success and they were all pleasantly surprised that Scrooge McCoder got anybody anything.
 
Xeo
hehe
 
1:57 AM
What I'm saying is: I'm not sleeping. GO GO, FULLY-AWAKE-SAN!~
But for all you going to bed, G'night.
 
Xeo
Indeed g'night.
Still can't believe how much fun I apparently had with that game.
 
2:26 AM
When a header says Offset to X is Y. Is it Y from where I'm at right now or Y from the beginning of the file >.>
 
user142019
 
user142019
lol
 
Sweet tits.
 
user142019
Bitter tits.
 
Sour tits.
 
user142019
2:38 AM
Salty tits.
 
Offset to FILETABLE (0x440000). ... Why the 0x440000
 
2:51 AM
Tasty tits?
@Borgleader Usually it tells you if its absolute or relative. Generally, most files I've experienced (e.g. BItmap and friends) are absolute. What're you working with?
 
Well.. I'll.. be damned.
My division fails in GCC.. but..
...it works in VS2012
 
M$ Master Race
 
:O
Great Scott, Rapptz. What have you done.
 
I don't know man.. I'm just as lost as you are.
With GCC when I open the exe I get "not responding" but it's just fine with VS2012
I only put in VS2012 to debug..
 
2:54 AM
Does anyone know what this is called? I want to open a process and change the value of engine.dll+618AB8 to 1. I'm attempting to find a tutorial on how to do so, but I'm not so experienced in C++.
 
but now I have nothing to debug..
okay now it failed in VS2012 :D
 
Not sure you should be happy about that...
 
Small division worked but 1234560128874817327 / 931278481927172 failed
This is probably my 7th division algorithm so I'm close to just giving up
 
@Rapptz 1.325661606955676
 
Rioell casts Fireflash.
Rioell is no longer pinned. (because he blew himself up dammit)
:<
 
2:58 AM
My program closes because I have division by zero somewhere.
 
user142019
Use a debugger.
 
@Rapptz This sounds like a job for the friendly neighborhood debugger.
 
I am, how do you think I found out I'm dividing by zero
 
Play a game instead of reinventing the wheel
 
I have no friends to play with, they're all doing Christmas shit.
 
3:00 AM
Play with yourself
 
Fuck this shit, I really want Coke and chips.
BRB
 
Don't do drugs kids
 
user142019
Hmm u prefixes are back in Python 3.3.
 
@ThePhD Turns out I wasn't looking at the right format T_T
 
@Borgleader Lulz. Nice.
 
3:14 AM
I was looking at V1.1, I needed V1
 
How did you not catch that when reading the header?
Part of the header's information is the version number
 
I assumed the header hadn't changed -.-;
Most of it made sense anyway
 
=l
Always read the whole header. Always do version checking.
Binary files are not like text files: they are absolute in their structuring. There's no whitespace fudging when reading binary.
 
Yeah, I'm learning that the hard way
 
3:45 AM
Well, Merry Christmas to all!
 
Merry xmas to you too
 
:D
I did it.. I implemented it and it works
2
oh man, after 3 days
such a good feeling
 
Damn it... theres a mistake in the new one I found too
T_T
 
@Rapptz: sorry for not searching the chat history, but what did you implement?
 
BigInteger division and modulus
 
3:50 AM
oh those are difficult
i remember using newton/raphson approximation just as a Very Inefficient way to get the results in order to test things. as i recall i never implemented them for real
 
Awwwh, FUCK TITTIES
I have to do Text in raw DirectX
This is gonna be bitchin'-hard.
 
fuck titties?
That's an insult? I'm sure many would like to do that.
 
i think that's a Greek sexual act
 
... Um. Yes? No? Maybe? I'm not sure. :c
 
3:53 AM
@Cheersandhth.-Alf Greek?
A "tit fuck" is indeed a real thing. I'll let you Google it.
 
It is quite popular in pornography.
 
From what I've heard, in France, they call it a "branlette espagnole" (litt. "Spanish wank").
No idea why it would be Spanish.
 
Spanish as in Spain?
 
^ Someone Else(TM) maintains that the lobster is really a giant shrimp. Is he right?
It's from the cover of Euclid's "Elements" (the 1570 London edition), if anyone's interested.
oh
0
A: getting a specific window name in c++

Cheers and hth. - AlfHow to obtain titles of Notepad windows. You ask, “ I need to get one specific window name which belongs to the "notepad.exe" process” Well, C++ is the wrong language for that task. It's a task more naturally and simpler done by scripting. For example, here's a Windows batch fi...

^ It's maddening with those anonymous downvoters. It shouldn't be allowed! :-)
^ So, you thought you could fib your way out of the car crash? Hah. We know everything!
 
 
1 hour later…
user142019
5:32 AM
Woohoo I wrote my first parser!
 
user142019
A parser for a Lisp dialect. :^)
 
@Zoidberg'-- Lisp? You mean the language that was specifically designed to be easier to parse than to read?
 
user142019
Yup. :P
 
0
Q: What is the difference between inline function deff and normal function deff?

user1532043What is the difference between #include <iostream> using namespace std; int exforsys(int); void main( ) { int x; cout << "n Enter the Input Value: "; cin>>x; cout << "n The Output is: " << exforsys(x); } int exforsys(int x1) { ...

dupe
 
@Zoidberg'-- Well, you have to start somewhere.
 
user142019
5:35 AM
:P
 
user142019
    (def sqall [xs] (map (lambda [x] (* x x)) xs))

    (def foo [] (< 32 42))
    (def bar [] (> 32 42))
    (def qux [] (<= 32 42))

    (print "Hello, world!")
    (print (sqall [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]))
 
user142019
It parses that code correctly, so I'm happy.
 
user142019
5:57 AM
no wait fuck
 

« first day (802 days earlier)      last day (4145 days later) »