« first day (1328 days earlier)      last day (3620 days later) » 

1:02 PM
can't finish the assignment on time... oh well
I'll just see what I'll have to do in the exam session
the networking prof allows you to not present any assignments as long as you agree to take a practical exam
 
the RDBMS prof does the same as long as you get >= 7.5/10 in the practical exam
I wish all profs were like this
because at the end of the day a student who knows stuff will pass exams
and assignments done & attendance != what the student knows
the AI prof is the worst, I can't attend the normal exam w/o assignments done; I have to present the assignments and take the exam on what would have been the 2nd try to pass the exam
 
@LightnessRacesinOrbit I'm guessing the actual article is "Couple get married on plane" which enough of a cute story for the travel section
 
user1804599
@NeelBasu do you mean UTF-8?
 
@LightnessRacesinOrbit lol
 
1:08 PM
@TheForestAndTheTrees I think it's sorta also related to the plane crash below
 
Yay MSYS2!
0
A: Differences between MinGW from msysgit (aka Git on Windows) and MinGW from MinGW.org

rubenvbWell, there a few misconceptions at play here. Let's first get them out of the way: The Unix-like shell environment you are talking about is called MSYS. It was originally developed by MinGW.org as a fork of Cygwin. This was forked to be improved slightly so that git could run with it, which be...

 
@TheForestAndTheTrees Bah, you ruined it
 
@NeelBasu uint32_t is just a typedef to a fundamental integral type.
 
@rightfold I mean multibyte character
 
user1804599
1:12 PM
@LightnessRacesinOrbit That's what she said.
 
@Arcoth Yes I want the custom manipulator to construct a byte sequence (or an intermediate std::string) from uint32_t and write it
 
@TonyTheLion is there a rule on how to spend the money he received?
 
@TonyTheLion Why?
 
If he is legally obliged to spend the money however he feels like it then he did nothing wrong (legally).
 
@NeelBasu well just memcpy it into an array of chars...
 
1:13 PM
@DeadMG in the UK they kill using school meals
 
If you tag that money as disposable income then where it came from doesn't really matter
 
@TonyTheLion I kinda disagree.
 
@Arcoth ya I want that to be done in a manipulator
 
I heard about the recent 500 pound a week benefit cap in the UK
 
unless you're arguing that people on benefits shouldn't have any disposable income
 
1:14 PM
@NeelBasu yeah thats easy
 
then whether you dispose of it buying computer games, which I bet many people on benefits do, or on silly competitions, doesn't really matter.
people are just irritated because he got lucky and won a bunch of money and they feel like they deserve it more than him
 
@Arcoth so std::cout << (uint32_t)0x99b will print the unicode character for that codepoint
 
Not like state will save him from starving if he mismanages the money he has vOv
 
I would immediately write that for you if i wasnt on my phone :(
 
@Arcoth would an overload for uint32_t work ?
 
1:15 PM
@DeadMG this
 
@CatPlusPlus when, not if
 
the state is paying him, from money that comes from hard working people paying tax
 
besides
 
no
 
and there he goes wasting it on shit
 
1:15 PM
the question is, does this count as income and disqualify him from means tested benefits, or benefits that don't allow you to work while you receive them
 
@TonyTheLion it's not shit. Also, he's not wasting the state is "paying" him (giving is more appropriate)
 
@Arcoth then what simple solution ?
 
@TonyTheLion There is absolutely no difference between what he has done, and people spending their benefits money on chocolate, cigarettes or entertainment.
 
@TonyTheLion state employees are also paid from money that comes from taxes
 
@NeelBasu write a manipulator that returns a proxy object
 
1:16 PM
@AlexM. they had to work for it, this person on benefits didn't work for his
 
@Arcoth ummm not getting subclass ostream ?
 
@AlexM. yeah, they should not be allowed to go on holidays
 
@NeelBasu what?
 
@Rapptz He did nothing wrong legally but he's a cunt
 
@TonyTheLion indeed he did not. However, he did work to win the prize. In fact, he was willing to take a lot of risk. Anyone could have done the same
 
1:17 PM
@Arcoth not getting proxy object of what ?
 
I have no problems whatsoever in admitting straight up that I'm wildly jealous. I work my arse off and that never happens to me. He's sitting around at home with questionable medical issues -- sorry but if you can walk around and kneel down and lift up a bottle of champagne with your arms over your head, there's a job out there for you somewhere.
 
@TonyTheLion that's true, but also employees are paid more than the money he received
 
I would lol if the tax on the 63000 pounds of winnings was >10000 and he didn't have enough to pay it so he had to sell the car to pay it
 
@TonyTheLion That's just as true as if he spent the money in any other way.
 
@AaronKyleKilleen haha
 
1:18 PM
@NeelBasu you need a proxy object that returns a stream-insertable object
 
@TonyTheLion Yeah. Shit that actually ended up giving him more money.
 
Like so: std::cout << mymanipulator( myuint32 );
 
besides, the taxes and means-tests on his benefits will mean that a good chunk of that money will eventually end up going back to the taxpayer.
 
@DeadMG Technically true.
 
TBH this happens all the time but people here don't seem to care as much because people typically lose.
 
1:19 PM
He has fucked back and depends on state benefits what is there to be jealous of really
 
lol 250 pounds is still more than what a game tester makes in Romania
bahhaha
 
If he were to now repay some benefits out of goodwill now that he does not need them, that would be great.
 
if he gave the government every penny of his earnings they'd just end up paying them back to him in benefits anyway.
 
@Arcoth and how will I convert from uint32_t to that proxy object ? here uint32_t is the value_type of unicode iterator. and I am using std::copy
 
or imagine if he pissed away the 10k and then crashed the car without insurance and then doesn't have enough to pay the revenue service and goes to jail
 
1:19 PM
@AaronKyleKilleen or dies
 
Good for him on a good bet
 
£250 of benefits on gambling is a bit shit though
 
I'm jealous of him too
 
Point is I don't think someone on benefits should spend their money on lottery type things, but instead maybe toward getting themselves a job and being a contributing member of society.
 
kinda implies he was getting too much. benefits are not supposed to be saving money. they are supposed to keep you alive for a temporary period
 
1:20 PM
That's what its supposed to be for
 
if I won that money I'd have tried to invest them in something
maybe start my own small gamedev studio
 
it always bothers me when people who win some money playing the lottery try to act like they were smart to play the lottery
 
@TonyTheLion So if I spent my benefits money on a game, or a chocolate bar, then I'm also scum?
 
haha
yeah
"good on you. good thinking. top bloke."
@DeadMG Oh, you're scum anyway dear
 
I knew you'd say that
 
1:21 PM
@NeelBasu hold on. What exactly are you trying to do? What unicode_iterator? Show an example of how it should work.
 
@DeadMG If you spent £250 on a game or on chocolate bars then yes you are.
Benefits are not for frivolities. They are an emergency source of funds, provided by other people for you, with the intent that you will use it for heating, shelter, clothing and food.
 
depends on over how much time.
 
I think I'll order a pizza
 
£250? that must be one hell of a game
 
Now of course there's no reason you can't enjoy your life. Go on a cheap holiday once in a while, maybe have some drinkies.
 
1:22 PM
@DeadMG If you just spent it all on that, and not on actually sorting yourself out to get in a state where you can go get a job, then yea
 
@AaronKyleKilleen hey, did you know there are knife skins for counter strike GO that cost $450 or more?
 
But if you're consistently spending a fortune on luxuries -- and there's no reason to think that he didn't bet this much all the time -- then something's gone wrong.
 
FUCKING UGLY TEXTURES
COSTING $450
 
I really don't work this hard so he can spend my money on trying to win yet more free money.
 
@TonyTheLion Pretty clear that beyond going to the doc, there isn't much I could do about crippling stomach pain.
 
1:22 PM
The decision is quite frankly stupid (he could have lost all the money, it's dumb to do so, morally wrong, etc) but it worked out for him in the end.
 
I think @LightnessRacesinOrbit made my point
for once we agree :)
 
"Just get a job" is a bit silly cos it's not always that easy
 
@LightnessRacesinOrbit There is a reason to think it and it's that benefits really don't pay that kind of money.
 
@LightnessRacesinOrbit I guess it depends how much he paid into the system when he was working or if he's just been on the dole most of his adult life
 
1:23 PM
So much jelly
 
but even if you're stuck in a long-term situation you should still be aware that it's other people paying for your living. It may not be your fault that you're ill but it's sure as fuck not theirs either
so don't piss it away on frivolities like a cunt
 
£65,000 buys you half a bathroom here ... so you have to choose between a toilet or a shower but you can not have both with your £65,000
 
@AaronKyleKilleen Yeah if he used to be a multimillionaire with a huge tax burden then I'd let him off
@AlexM. LOL
 
yes
 
1:24 PM
@DeadMG Um, yes they do.
"That kind of money" are you on drugs? I mean other drugs?
 
> The row comes a day after a mother of nine who rakes in benefits of £33,500 a year defended her family’s £7,000 taxpayer-funded holiday.

Cheryl Prudham, from Gravesend, Kent, insisted she was not concerned about using state support to pay for the trip to Menorca, Spain, and is planning another similar trip next year.
 
£250 per month is like an eighth of the average benefit payout (~£25k pa)
 
Honestly, I'd rather complain about that instead.
It's a larger sum of money.
 
Yeah the problem there is that she does not have a job yet KEEPS HAVING FUCKING KIDS
 
Is it UB if I delete a class via base-class pointer if the derived class doesn't add anything to the non virtual base?
 
1:25 PM
I am using utf8cpp library on http://utfcpp.sourceforge.net/
Thiss library provides an iterator wrapper around std::string's iterator
 
though she's kinda cute so I can see how it happened
@BaummitAugen what
 
@LightnessRacesinOrbit that's an issue in Romania
parents w/o a workplace keep on having kids so they can get benefits for each
 
She's way more scummy than that guy by quite a massive amount IMO.
 
@LightnessRacesinOrbit typical of western countries, the welfare state is a huge dysgenics program, most of the people on welfare in the US being paid to have kids have low IQ's
 
@LightnessRacesinOrbit Found a vector that derived from std::vector, but overrrode operator[] with at() in Stroustrup's C++ programming language.
 
Wondered if it is dangerous to use.
 
@BaummitAugen What is Bjarne thinking?
Wth?
 
@BaummitAugen oh my
 
if you have not figured out, in developed countries, young, single high salary earners are the biggest losers tax wise - especially when you have no other asset such as a house or a side business
 
Sometimes I think Bjarne deliberately teaches people crappy ways to write C++, so that other people (us) will keep referring newbs back to books.... including his own.
 
1:28 PM
@LightnessRacesinOrbit if you take a look at the graph you can see people actually paid $420 and stuff on that crap
why they did that is beyond me
lowest ever price at which was sold was ~$300
 
@BaummitAugen no
You need a virtual dtor though
 
I am using utf8cpp library on http://utfcpp.sourceforge.net/
This library provides an iterator wrapper around std::string's iterator
I use `std::copy(utf8_it, utf8_it_end, std::ostream_iterator<std::iterator_traits<utf8_it_type>::value_type >(stream))`
and that value_type is uint32_t
 
As long as thats given' its fine
 
I'd rather have my tax money go to other people's frivolities than politicians :v
 
@NeelBasu and now what do you want to do?
 
1:30 PM
But std::vector doesnÄt have a virtual dtor?
 
@BaummitAugen of course not
 
super rich/high income earners actually pay little tax (the top %0.1) because they can afford good lawyer & tax accountants
 
"no" will suffice
 
Too much overhead and bloat that would be
 
@Arcoth I want the std::copy usage will be same I'll just apply a manipulator around std::cout that will print unicode character instead of printing the integer directly
 
1:31 PM
@chmod711telkitty taxes tailored to incomes are a communist thing
 
I mean I will never delete this derived vector via pointer to std::vector, but others might.
 
@NeelBasu aha
 
@Arcoth so is there a way ?
 
@NeelBasu so... Convert the character to a MB-string and print that one, aye?
 
-2
Q: PHP create a new page that has html and php

user3662126What I want to do is create a new page which contains quite a lot of html. Im currently using this: function createPage($name){ $filename = "$name.php"; $handle = fopen("w/$name/index.php", 'w') or die('Cannot open file: '.$filename); fwrite($handle, $fdata); } So $fdata would be...

 
1:33 PM
The again there are heaps of people who earn a lot but contribute little to the society, such as some investment bankers, lawyers, accountants etc
 
@Arcoth Yes right
 
@NeelBasu i can really not help on my phone :(
Im sry
 
@Arcoth Hmm thanks that someone listened
But is there any solution ?
without subclassing ostream ?
or without written a wrapper around std::sostream
 
@NeelBasu just dont use std::copy, just write a loop
 
terrible advice
 
1:36 PM
Hm is there a better way to get a rangechecked vector then?
I mean I could use an std::vector member and copy all public members, but that would be pretty tedious.
 
And do the conversions in that loop
 
@BaummitAugen Just use at
 
@Arcoth That I want to avoid. I've already solved the problem using my own copy template. just checking if there exist any other solutions to that
 
@NeelBasu so you want a one-liner?
 
@Arcoth 3 liner will also work :-P
 
1:37 PM
oh this one is good
-2
Q: #1267 IIIigle mix of collations error mysql

user2749823SELECT * FROM pg_products pp WHERE (`ProductMeasure` = '1Kg' OR `ProductMeasure` = '1Piece' OR `ProductMeasure` = '12Pieces') AND ( select IFNULL(sum(qty),0) from purchase p1 where p1.productname = pp.productname ) > (select IFNULL(sum(Quantity),0) from order_detail od where od.productname=...

 
Oh look another crazy gunman in north america
yawn
 
@Rapptz Thanks.
The nice thing about the other solutions was that I could toggle rangecheck on operator [] with a makro in my makefile. :)
 
@NeelBasu use std::transform with a lambda :P
Actually, nonsense - i meant for_each
Thought you wanted to convert or sth
But just print it
 
It's news only because it happened in north america - pretty sure more children starve to death in Africa
 
1:40 PM
@chmod711telkitty Children starve to death in Africa every day. This particular gunmen doesn't kill those particular policemen and women every day. That's why it's news.
Also I think to a large extent people over here are fed up with African aid going into the pockets of corrupt dictators, who should "sort it out themselves" at this point
 
@LightnessRacesinOrbit Wow, the two countries of NA have a higher homicide rate than all the european countries in the list combined.
Scary
 
@WilliamAndrewMontgomery US alone does, by quite a large margin
 
Alright, thats it, phone batery gone - bb
 
@chmod711telkitty More people die from drunk drivers each day in the US too... Lightness has it right it's only news because it's different
 
even if Canada has sane gun control, they probably have too many guns coming in from the US
 
1:42 PM
@LightnessRacesinOrbit You know the saying
 
user1804599
There are no countries but the USA.
 
> Lightness has it right
get used to it baby
 
user1804599
bakainu
 
b.. but raiteupoldeu sama~
 
you're an idiot dog
(???)
 
1:44 PM
well there are more than 2 million burglaries in the US per year so you'd be crazy not to own a gun
 
it's a fucked up country
 
you're not going to get burgled 2 million times per year
do you have any idea how many homes there are in the US?
 
1 + 1 for free pizza offers are really 2 x price of pizza - 2% of price of pizza
 
1:45 PM
117.5m in 2009
 
@AaronKyleKilleen um... even the NRA says that's the wrong reason to own a gun. In most home invasions a gun becomes a liability not an asset as it can be used against you. Tonight watch a reallllly scary movie, then turn off all the lights in your house, get drunk and thats about the state you're in when you have a home invasion.
 
1.7% houses burgled per year on average. The majority I'm sure are fairly minor and involve no firearms of any kind. You think that's enough to make you "crazy not to own a gun"?
lol "home invasions"
"Honey, we're being invaded!" "Quick, Ron, protect our left flank!"
 
someone breaks into my house, I want a gun
 
No you don't
 
yes I do
 
1:47 PM
You're just a power-hungry totalitarian "big boy" who needs something in his hands to make him feel safe
Whatever happened to talking people down? Tackling them to the ground? A simple punch to the face?
It's like american football.. you're all a bunch of fucking wimps
 
@AaronKyleKilleen Actually what you want is REALLY bright flashlight, it will literally stun anyone who sees it and will keep them down until you can call the cops
 
the power of friendship
 
no no no
that's an intelligent solution, @Mgetz
can't do that
 
okay so you call the cops and then what are you going to do for the next 10 minutes?
 
1:48 PM
Hold them down. It's not that hard.
simple arm lock
 
@LightnessRacesinOrbit (that's a lot btw, what are the superior, european stats?)
 
talk to the person to find out why the person broke into your house and make them realise the error of their ways. be a good citizen
 
@AaronKyleKilleen They blind, in a LOT of pain, at that point a good kick is all the weapon you need. Also a bright flashlight makes a nice baton
 
what if you're old or female?
 
god damnit and these guys with cheap pizza only deliver if you order for at least the price of what's essentially two pizzas
 
1:49 PM
then what do you do?
 
is there a goddamn honest restaurant around here
 
or if the burglar is stronger than you?
 
you're weak and deserve to die
@AaronKyleKilleen NICE MISOGINY THERE
 
@AaronKyleKilleen Again they are on the ground in PAIN from having their retinas burned.. literally the most painful thing you can do
 
25.7m households in the UK in 2008, ~700k burglaries. That's ~2.7%. It's MORE.
@AaronKyleKilleen what the fuck? "what if you're female"???
 
1:50 PM
@LightnessRacesinOrbit I said europe, not new pakistan
 
@WilliamAndrewMontgomery I don't care about Europe tbh
 
@LightnessRacesinOrbit I was responding to people who were saying "just beat up the burglar"
 
@LightnessRacesinOrbit i know since you're pakistani
 
@AaronKyleKilleen Yes, and I'm responding to you being a total asshat assuming women can't do that? Are you actually serious?
@WilliamAndrewMontgomery yeah sir
 
yay!
the magical powers of RTTI are mine.
 
1:51 PM
@LightnessRacesinOrbit why do we have women's basketball/softball/chess?
 
mostly, I need to implement dynamic_cast, then I'm pretty much done.
 
It astounds me how the US is still like fifty years behind the rest of the world in its attitudes towards women. You should be fucking ashamed of yourselves.
But if you need a gun to reinforce your image of how a man should be - macho, protective, all-American - then go right ahead. Just know that the real men in the rest of the world are collectively laughing in your wimpy face.
 
@AaronKyleKilleen Those environments are competitions for the peak, not in the average situation.
 
anyway why do you think the UK has more burglaries despite having much lower crime overall? maybe not having guns has something to do with it
 
Woooooah there LRiO. Douchebags are douchebags everywhere, AKK here is the exception, not the rule.
 
1:52 PM
@LightnessRacesinOrbit "rest of the world"
 
@SamDeHaan IME he's the rule, not the exception.
 
1:53 PM
I've had this experience with every American I've worked with. The way they talk to their female colleagues is insane
It's just ingrained in the society, still
 
@LightnessRacesinOrbit so humans are not a sexually dimorphic species?
 
<- Murican. It's not ingrained in the society. It IS ingrained in a lot of the portions of society well represented in software, though, sadly.
 
hmmm.
my function works... and I don't know why.
 
@LightnessRacesinOrbit to the contrary, I think this attitude of "just beat him up" is more of a macho man attitude, it's more challenging and more risky to do that, having a gun and knowing how to use it is the safer option
 
1:55 PM
fuck this, I'm going out to eat my pizza
I've had enough of their "delivery offers"
 
thankies
 
@AlexM. be careful, it's dangerous in the outernet
 
@AaronKyleKilleen Not really, cause for one, you probably can't aim for shit, and two, he'll probably shoot you back.
 
@AaronKyleKilleen and yet most gun owners never complete a FREE NRA safety course... or ever shoot their gun... or clean it on a regular basis
 
1:58 PM
@AaronKyleKilleen It obviously isn't
God yanks are so stupid
 
@LightnessRacesinOrbit what obviously isn't?
 
> outernet
 
frankly, a couple punches to the face are way LESS risky and challenging than the risk of being shot at.
 
hahaha
 
oh god
plonk
not talking to morons who encourage other morons to do moronic things and put everybody in danger of HYPER-SPEED FLYING PIECES OF METAL
 
1:59 PM
is it not safer to have a gun or is is not more of a macho man attitude to want to fight with your fists?
 
crawl back into your pool of primordial ooze for the rest of the day plz kthx
 
a gunfight is certainly a far more dangerous situation to be in than a fistfight
 
@LightnessRacesinOrbit I resemble that remark
 

« first day (1328 days earlier)      last day (3620 days later) »