« first day (737 days earlier)      last day (4201 days later) » 

8:01 AM
I know the techniques exist in C++, I just never seen such a fuss made over it
'oh look at us, our class is not tied directly to this exact instance, aren't we clever Java developers'
And I have never seen any one think it worth the time to use XML to do this shit in C++
though I am sure some twat has decided to solve yet another non-problem with xml
 
Xeo
Brain, understand the fourth dimension, dammit!
 
¬_¬ are we talking time of 4 dimensional shapes?
 
Xeo
Well, there are theories that say "time" is a spatial dimension. :)
 
indeed, but for the most part, we can not consider it as such
 
Xeo
I'm simply talking about the next higher dimension, whatever it might be.
Whether it's a duration from one time point to another, or something else entirely
 
8:07 AM
as in shapes who's 'surface' have volume rather then area
but thinking of four dimensions as three spacial and one temporal is trivial
 
Xeo
Learning with 4D shapes sucks, though, since what we're actually conceiving is a 2D projection of a 3D projection of a 4D shape :s
@thecoshman Except then the fourth dmension is commonly called "space-time"
 
that's not the forth dimension, that's the four dimensions that we perceive
 
@thecoshman yeah, that really baffled me as well
 
@jalf I was expecting something complex. The only complex part is trying to work out what all the fuss is
 
8:10 AM
@LuchianGrigore huh. That is strange indeed. The type is defined, so why is it complaining??
 
My whole world is turned upside down...
 
Xeo
@LuchianGrigore What are you surprised about?
 
does it need be const X x = {0};?
@Xeo why it fails of course
 
@Xeo well... the error.
 
Xeo
I'm more surprised you still don't use LWS :)
GCC 4.3.4 is old
 
8:12 AM
ok... so... compiler bug?
 
Is LWS better than Ideone?
 
@Pubby by far
 
Xeo
Well, maybe it's just a warning in GCC 4.3.4 and Ideone has -Werror
@Pubby GCC 4.7.2 vs GCC 4.5.1 (at best)
+ Boost 1.51.0
 
cool
 
Xeo
You can use Boost with Ideone, but not in C++0x mode
And having it still named "C++0x" really says all
Anyways, off to sleep, maybe I'll suddenly understand 4D after waking up.
 
8:16 AM
@Xeo first you have to understand what exactly you want to understand
 
Xeo
Oh and @Luchian, the built-in operator& is always there, but overload resolution just doesn't select it if the user provides an overloaded one.
oh and
struct X;
X* ptr(X& x){ return &x; }
is UB if the definition of X includes an overloaded operator&
Overload resolution falls back to the built-in one if it can't match the user-defined one
Something like that, anyways.
Good night.
Or good day, rather, in Europe
 
Cheers
 
@sehe bit early for drinking isn't it?
 
@thecoshman I don't know what you're [hic] talking about
 
I have to be awake 6 more hours oh no
 
8:26 AM
@sehe oooh, still drinking :P
 
Typing "hic" ever is pretty sure indicator that you're in fact not drunk
 
@LuchianGrigore >The candidate operator functions that represent the built-in operators defined in Clause 5 are specified in this subclause. These candidate functions participate in the operator overload resolution process as described in 13.3.1.2 and are used for no other purpose.
 
I love duplicate emails! Thanks shitty system!
 
That's odd. There is no candidate function for unary operator&.
 
8:30 AM
This is pretty cool kinda related to that new BioShock trailer.
I'm sleep and punctuation deprived
woop woop
 
Okay, there is no candidate function but there is special wording in 13.3.1.2 Operators in expressions [over.match.oper] to make everything work.
 
C++ masters of undefined behaviour and duct tape
 
Ya I don't get why a T* operator&(T&); for every cv-qualified class or enumeration type isn't introduced. I must be missing some piece.
 
Does there exist a standard way to search for n objects in a list rather than searching each individual object in a list in n separate passes?
Standard as in, I don't have to write an algorithm myself to do it
 
What should the result of the search indicate?
 
8:40 AM
std::copy_if
 
I have a list 0 through 10, and I search the existence of items 0, 5, 7
Could be just as easily a map to get the value
@CatPlusPlus Hmm, that might do
 
I thought std::set_intersection could be abused for this kind of thing but it writes its result to an output iterator, so it's not super duper convenient.
So it ends up being the same as an std::copy_if solution but requires sorting.
 
seems that copy_if will suffice
 
@CatPlusPlus hmm... not bad
 
Repeated applications of std::find_first_of is an option.
 
8:48 AM
"[first, last)" does that mean, "including first, up to but not including last"?
 
Yes.
Half-open range.
 
also sometimes written [first, last[
 
Never seen that, that's silly
 
so if you had "0,1,2,3" [first, last) would be "0,1,2" right?
 
If I'd see this, I'd think someone made a typo
Yes.
 
8:49 AM
@CatPlusPlus I think it's a more logical notation. But yeah, trickier to parse. :)
 
yeah, I would see [a,b[ as a typo too
 
What I've seen in math notation is <> instead of []
 
I was taught [a, b[. Probably so as not to use the Anglo-saxon notation.
 
'Anglo-saxon' notation? As clever as those invaders were, I don't think they were dabbling in maths
 
8:51 AM
they not too good at language either
 
One more time
(I didn't even notice that first one haha)
 
shut it
 
I'm braindead
 
-3
A: What special rules apply to unary & operator?

Michael BurrNothing particularly special is going on - it's just calling ostream::operator<<( const void*)

dafuq
128k c'mon dude
 
Needs more duct tape
 
8:55 AM
You have missed the point big time. The legitimacy of those points is highly questionable — thecoshman 17 secs ago
 
You see, [a, b[ means you start at position A and you move until you hit positio
line 1: 15450 Segmentation fault
 
Bubbles are the best points
 
Computer is overheating and throttling CPU a lot just from browsing the interwebs. How convenient.
 
@LucDanton If it's not it is a new pc, might check for viri
 
I'd check for Chrome first
Today yesterday whenever the fuck is now I had Lazarus for Chrome go berserk and eat up 500MB of RAM on its own and a whole core too
 
9:01 AM
@CatPlusPlus How is that going to help when it throttles when e.g. I play with no browser?
 
@thecoshman Does that mean that White Anglo-Saxon Protestants are from another era?
 
@LucDanton My point was more, you can not really credit maths to the Anglo Saxon mash up
 
Move one definition of 'Anglo-Saxon' down in the dictionary? Again, how else do you make sense of 'WASP'?
 
Arabs contributed a lot to math on the contrary
In fact, arabs used a letter to indicate literally "something" but the Greeks, who studied the ancient arab texts couldn't translate it literally because the Greek alphabet didn't have that sound, so they replaced it with Greek letter gamma x
Hence, why x is a common representation for a value you do not know
 
9:07 AM
That sounds apocryphal as fuck. Also Greek gamma doesn't remotely look like Latin ix.
 
@Neil The real question is, why are we always looking for x?
 
@LucDanton Take it up with Terry Moore
@MarkGarcia If it weren't the letter x it would be another letter
 
@Neil I mean its value.
 
I think it's like anything else really.. why do we use x to describe x + 5 = 7 when we could just say "what is 7 minus 5?"
It's a way of thinking that merely serves to help us represent concepts
zero technically shouldn't even exist, but without it, we wouldn't be where we are today with mathematics by a long shot
 
wat
Go to bed.
 
9:13 AM
@Neil Why not just leave x as it is?
 
@MarkGarcia Not sure if you're being deep or disagreeable
 
I have no idea what the hell are you both talking about
 
hi
 
9:31 AM
hi
 
man, I have been sick all weekend
that sucks
 
:(
what did you have?
 
I don't know
The kind of stuff you get in winter
 
delicious
 
@kbok I read that as "I have to be sick all weeekend" I was wondering what the hell sort of job you have
 
9:43 AM
@thecoshman a sick job
Did you guys see that fancy torrent downloader ?
 
@kbok Where
Stupid referrer links!
 
This is a referral link since I'm such a douche.
 
Removed the /r/ part just to be a bitch
 
nooooo
 
1 message moved to bin
 
9:45 AM
meh
 
@LucDanton why?
 
I'm on to you.
@thecoshman No fun allowed!
 
@LucDanton ಠ_ಠ
 
What. So you mean this is a storage service that uses the users as their CDN? wow.
 
@DeadCicada CDN ?
 
9:47 AM
Content Delivery Network. Their cloud basically.
So they have 0 infrastructure, hohohoho
 
Absolutely not
You failed to understand the description
This is a storage service that fetches torrents for you
 
isn't it just a service that will download a torrent for you, so you can then download from them as a single file, but you are not having to deal with the torrent personally?
 
Yep
There's a media center backend
 
so it defeats the purpose of torrents, but saves you from having to get dirty with them
 
Ah. Well that's not new then ._.
 
9:48 AM
So you plug that to piratebay -> win
 
> Le media
seriously
 
That's not new, but that one is not an ugly porn-ridden linkbait
 
Hay! Us Engrish like to sound smart
 
1) get a (cheap if you want) server
2) install utorrent & webtorrent
3) add torrents
4) download from them
5) go to 3
 
9:51 AM
@DeadCicada patent that shit!
 
@thecoshman Ordered lists are © Apple.
 
@DeadCicada That's a dumb argument. It's like saying "gmail is nothing new, you can host your e-mails on a server and ssh-mutt it"
You can even install a webmail ! OMG horde rockz
 
@kbok It's an awesome argument in fact. It's much cheaper, faster, pretty and porn-unridden.
 
Getting a server online with acceptable performances is nothing cheap.
 
@DeadCicada shit
 
9:53 AM
And good luck getting faster than gmail
Also, gmail != horde
 
@kbok Define acceptable performances? Anything downloads torrents at a very fast speed at 5€/mo
 
@DeadCicada yeah, but with out the porn, where is the excitement?
 
@thecoshman With your GF ಠ_ಠ
 
@DeadCicada Where do you get your servers at 5e/mo ?
 
OVH?
Or any kind of virtual server hosting.
 
9:56 AM
@DeadCicada quite
 
You don't need any performance for downloading, just decent networking.
 
@DeadCicada The VPS offer starts at 18/mo
 
@kbok No
100 GB disk with unlimited bandwith for 6€/mo is way enough
 
@DeadCicada You don't download torrents with that -_-'
 
Ofc you do!
 
9:57 AM
It's mutualized hosting, you only get PHP
 
And exactly how is that not enough?
 
'mutualized' hosting?
 
Yeah that's virtual hosting, not VPS.
 
3 mins ago, by DeadCicada
Or any kind of virtual server hosting.
 
Also known as shared hosting, also known as utter shit.
You can't run background processes on those, usually.
 
9:59 AM
If you have PHP you can download torrents.
 
I.. don't... just read the descriptions.
 
If you're not a cheapo you'd get a VPS at 15€.
 
I really need to sort my self out with a host for web site shenanigans, but so much effort
 
You really can't do this shit with crappy shared hosting.
 
@thecoshman If you have the money, get a VPS.
@DeadCicada No you can't.
 
10:01 AM
@DeadCicada citation needed
@kbok still too much effort :P
 
@thecoshman If you don't, well, effort ahead. Either cloud providers like AWS or Azure, or shared hosting if you know your needs. Dreamhost is good is you're in the US.
 
@thecoshman It's worth it. I have a small 20€/mo VPS and I really find the investment useful.
 
@thecoshman If you know linux, it's the simplest you get.
@DeadCicada And you download torrents on your VPS ?
 
@DeadCicada what magic you use it for?
 
In computer security, a billion laughs attack is a type of denial-of-service (DoS) attack which is aimed at parsers of XML documents. It is also referred to as an XML bomb or as an exponential entity expansion attack. The example attack consists of defining 10 entities, each defined as consisting of 10 of the previous entity, with the document consisting of a single instance of the largest entity, which expands to one billion copies of the first entity. In the most frequently cited example, the first entity is the string "lol", hence the name "billion laughs". The amount of computer memor...
kill all the memory
 
10:03 AM
@kbok I used to.
@thecoshman VPN mostly and storage.
+ git hosting
 
I would not risk my machine with such things, with the torrent police running around
 
well, code hosting I would just stick to bitbucket, I don't see any reason to go through all the effort to redo what they all ready offer me for free
 
I have 20€/month dedicated server.
Don't ask me how this works, it's OVH logic.
 
@kbok It's completely legal torrents. Disk isos.
 
I have too.
 
10:05 AM
@DeadCicada wink wink
 
Ah well, that's a different story then.
 
Holiday pictures and such.
 
@thecoshman Does Bitbucket offer private collaborative repos?
 
They have dedicated hardware and shitty VPSes in the same price and it's :psyduck:
 
@CatPlusPlus really? what sort of stats?
 
10:06 AM
@DeadCicada Yes.
 
@DeadCicada up to five for free (a few more via referrals)
 
lol, turns out we all have the same hosting.
 
@CatPlusPlus OVH's great. The only thing I really dislike is that their prices for the same hardware vary across Europe.
 
@thecoshman Hell if I remember.
 
but they have the entire system set up, so I don't see the point in redoing it my self
 
10:06 AM
@thecoshman We're 6 lol.
 
do OVH have a English site?
 
The pricing page says 1.20GHz/2GB RAM but I bought it some time ago so it might be somewhat different. vOv
 
@DeadCicada Kyrostat? well, curently I am the only one actually working on shit, so it's a moot point
@DeadCicada ah, their .com redirects to french
 
@thecoshman No it's a private project - I have no idea what Kyrostat is anyway.
 
10:08 AM
@DeadCicada for up to 10 it's €10 a month, which is not that much considering they sort everything out for you. sure you can do it your self, but effort :P
so you guys think OVH is the bomb?
 
I use OVH for affordable hosting and I really think they're the best in terms of price/performance.
For more powerful machines I use Hetzner.
 
hmm... if I went for free for now, how easy is it to upgrade my package later when I can be arsed to do shit?
 
 
OVH is good if you want cheap duct-taped servers
 
^ trololol ^
 
10:11 AM
If you're lucky you might even get a server in actually stable datacenter.
 
@thecoshman You probably have to a) click a button and b) enter your credit card details so I assume it's pretty simple. You know, when it comes to money ALL sites try to be friendly.
 
@thecoshman There's a free offer ?
 
Free offers are literally worthless everywhere.
 
@kbok seems to be, though you might have to pay for the domain
 
@thecoshman Don't bother with that, they're useless
 
10:15 AM
well, £6 for dommain for year, or £24 for domain and some basic hosting for year
 
@CatPlusPlus I assume you're using one of these or whatever the Polish version is?
 
lol kimsufi
 
@kbok They're actually good.
 
Until they break yeah
 
10:16 AM
Mine never broke.
 
what's you up time like @DeadCicada
 
@DeadCicada I'm just making fun of the name
 
You're very lucky
 
But hell, why is that thing at the same price than the VPS but with 4x better specs ?
 
@thecoshman Um. It says 4 days o_O. wat
 
10:17 AM
@kbok Because
Therefore
@DeadCicada Ahahaha
 
12:16:59 up 4 days, 4:35, 1 user, load average: 0.41, 0.42, 0.35 shit son
 
¬_¬ £1.99 or €1.99 looks like I will use the UK site then
 
You just didn't notice when it broke
 
I'll switch for cat's stuff then
 
My theory is that when one breaks down completely they just duct tape it more and sell as a new one
Either way 5 hours till day's over
Fuck
 
10:21 AM
I don't really need super high availability anyway
If I actually notice to much downtime I'll just switch back
But my VPS is sloooooww
 
Honestly. I'm constantly VPN'd to it and I never noticed a downtime.
This low uptime is suspicious but it might be a cosmic ray YES TOTALLY
 
Hi.
 
hi
 
low
 
blbllbb
 
10:28 AM
My web/mail server thingie has 46 days, 1 VPS (tilaa) 34 days, another (Yourhosting) 102 days, and the third (linode) has 391 days uptime. This basically tells you I'm a lousy sysadmin. I'm updating the last one right now :)
Ha. The 391 days uptime won't suffer though, since there are no kernel updates.
 
Wow - must've been a really long time since I last visited BitBucket. Their front page actually looks like something now.
 
@DeadCicada It has been redesigned like two weeks ago
 
Hush
Anyway lunch time.
 
@ScottW ohai. Long time no seen
@thecoshman old
@DeadCicada Most likely
Anyways, upgraded kernel on the 34-day uptime thingie
Oh well, 34 days out of 573 is ~5%
 
TIL that 'relation' in 'relational database' does not refer to the Primary Key/Foreign Key relationships between tables.
 
10:39 AM
morning
 
but rather refers to a math definition of relation which means basically a header under which come a set of unordered tuples. (ie a table)
 
@TonyTheLion So, what does it refer to then?
@TonyTheLion Sounds like proprietary speak.
 
In a relational database, a relation is a set of tuples (d1, d2, ..., dj), where each element dn is a member of Dn, a data domain. Each distinct domain used in the definition of a relation is called an attribute, and each attribute may be named. In SQL, a query language for relational databases, relations are represented by tables, where each row of a table represents a single tuple, and where the values of each attribute form a column. E. F. Codd originally used the term in its mathematical sense of a finitary relation, a set of tuples on some set of n sets S1, S2,...
@sehe it's not proprietary. It's a definition of relation on which the relational database model is based.
and it's a bit more un-intuitively named than could be thought at first
 
@TonyTheLion Well. It's certainly not common speak. Informative, though. +1
 
@sehe I agree that it's not common.
 
10:47 AM
IOW, it basically refers to a table
and add on a giant pile of pointless mathematical wankery
 
@DeadMG Indeed. Or a record, an object/array types and other proprietary extensions that RDBMS-es like to supply
 
it may be wankery, however it explains the naming
and it's interesting to know
IMHO
 
IMHO was right in time
 
@DeadMG conflatulations with your anniadversary!
 
10:54 AM
ugh
 
so how old is that puppy now?
 
my parents gave me some cookies
I ate them
 
BANG, crippling stomach pain
 
you felt sick?
hahah what a joke.
 
10:55 AM
I found it extremely painful
for eight hours, in fact
 
I'm sure it was
so they tortured you for your bday
sounds like you have nice parents
 
well, I coulda just ate one of them :P
instead of all of them
 
oh I see
you did not restrain from having a cookie binge
you sir, are silly for doing that.
 
indeed
 
you are the cause of your own pain
 
10:56 AM
there was also a triple chocolate cake involved
 
lol
I hope that someday you will learn, through whatever means, that you have to apply some restraint to yourself when eating cookies and whatnot
so that you may not have to suffer pain in as much as you do.
 
I know
the problem is that it's so delayed, the association just won't form
 
well, you'll have to think twice than before grabbing yet another cookie
and look ahead... (ie think about the consequences of your action)
 

« first day (737 days earlier)      last day (4201 days later) »