« first day (2139 days earlier)      last day (2800 days later) » 

12:02 AM
The most common version is basically a person typing TASKKILL virus.exe (or using a task manager), then deleting the associated files.
 
I wonder if scrambling the function table would perturb the kind of buffer underflow gadgets (ROP) used to circumvent the NX bit.
 
@jaggedSpire You ... you popped the green bubble? :(
 
@Borgleader It was an accident!
 
12:10 AM
I'm so sorry for your loss!
 
I'd just found the keyboard shortcuts option and I was playing with it :(
2
 
@Borgleader Why do people not want to click it?
 
> Solution: write a browser plugin that doesn't click the green bubble and instead redirects to your rep page
 
lol
 
@Borgleader thank you for your emotional support
 
12:11 AM
It's a sad day for everybody in our Lounge, seeing one of our own fallen from the great green grace
 
u_u
it was more than half my total rep, too
 
@AndreasPapadopoulos Down Syndrome
 
I was so looking forward to 1500 even
 
@jaggedSpire xplain rep bubble pls
y u no wanna click
oh wow
this conversation is great
 
12:14 AM
@Darkrifts well you see
I decided to not click it
 
The memes
 
@James did you just say memes?
 
Yep
 
and then it became sort of like a high score
 
Did you know I have a whole stockpile ready to paste here :P
 
12:15 AM
Oh god
 
if you click on a user's name you can choose to ignore them
 
Hello, Cruel World!
 
Damnit, this is a serious chat for not-serious people. Memeing only works if it's in moderation.
 
NUUUUUUUUUUUUU!
Foiled again!
 
12:16 AM
if the memes are disturbing you
@Code-Apprentice hello
 
Fine, I wont post them all :P
 
What's happening in the Lounge tonight?
 
Jagged clicked rep
rip in rep
 
;_;
there was an accident with the keyboard shortcuts feature
many regrets were had
 
@sehe bartek pls
 
12:39 AM
user image
11
 
12:57 AM
violent tendency :p
 
Inzendiary remarks
 
> To repair the damage, we will have to roll back the state of the game and characters to prior to this morning’s release.
@AndreasPapadopoulos wow that’s a first
 
"The C++ standard does not provide a hash for this type."
> const int
 
> Added green and orange commander tags.
 
@ThePhD \0
 
1:08 AM
@Code-Apprentice Hiyo. o/
 
\o/
 
1:20 AM
How's it going?
 
wrapping up on my current app, how about you?
 
I'm bouncing back and forth between making a simple game and finding questions on SO to answer.
 
std::vector<const int> does not compile with glibc
Nice.
At least it works in VC++.
 
Does that mean you cannot change any values in the vector after they've been added?
Been a long time since I've done any C++. Even then, I didn't use const qualifiers as much as I probably should.
 
I'm just trying to vet my library.
So I'm throwing const all over the place and shit.
As far as I can tell, if you put const int as an element in a vector, yeah, it should prevent writes after the initial write.
 
1:38 AM
@Xeo So I just finished watching Arpeggio of Blue Steel. It's very similar to Kantai Collection. And yes, when you google for the ship names, you still get Kantai hits ahead of the real ship names. lol
 
That was the biggest commit I've made in a long while.
That really overhauls some features...
 
@LucDanton wow, indeed. ANet has always had a to notch record in that field. What happened?
@LucDanton just what the world needed
 
@AndreasPapadopoulos I wasn’t there when it happened but apparently the patch broke soulbound items in that they ended in the 'soulbound to another character' state
 
Wouldn't have happened if they had written the game in Rust
 
1:55 AM
@ThePhD Try throwing in volatile. From what I've seen, most libraries break on it (often pretty badly--like code won't even compile).
 
@JerryCoffin otoh I’m half-convinced that’s one of the main purposes of volatile when it involves class types
 
Rust prevents memory errors, but unfortunately there will never be a programming language that prevents PEBKAC
 
2:34 AM
How to run you finance III: spend 20c on an ID photo instead of $14.95 - instead of going to the post office and spend $14.95 to get your ID photo taken, taking a selfie with your phone using a passport photo app, edit it to the right size, go to k-mart, spend 20 cents to print it.
call as many times as necessary to get your credit card annual fee waived
I used to need to call once to get it waived, now I need to call twice ...
 
Is there a reason to own a credit card?
 
yes, 45 days interest free period + bonus ($100-$200 rebate a year)
 
What is the annual fee about?
 
so I am spending nothing and getting about $200 free each year by holding a credit card
err, credit card annual fee? many credit cards require fees, usually the higher the rebate the higher the annual fees.
 
Is it still a net profit for the user?
 
2:41 AM
you need to spend enough to get those benefits, but since I either have to fork out cash or using credit card and they cost the same, I usually put everything on credit cards
 
What if I set up a business and buy a load of stuff from myself. Free money?
 
you have to repay the credit card the amount you borrowed
 
Yeah, but if I get a percentage back?
 
yes
depends on your credit card, some have reward program, some don't & some reward programs are not worth it
 
Pooh, I forgot about sales tax
Can you get cashback on donations to churches?
I could start a church and do it tax free
 
2:46 AM
lol
 
2:57 AM
@James Although even if this is legal, the proceedings alone would mitigate any returns you see. I'm pretty sure it would be easily attacked by an equivalent of piercing the corporate veil, so I would look into investing money instead ;)
A lot of get rich quick schemes work for a little while until you piss somebody off...
 
I guess the smart thing is to only do them for a little while then
Or I could start a church and get donations the old fashioned way
 
But if you bought a few ratty clothes from a second-hand store and began begging for change every few days, you can legally make the equivalent of ~$60/hour
Or busking if you have some musical skill
@James That is very true! (imo $60/hour is better than what you'll make in rebates)
 
I see less potential for growth
That'd be good for startup money though
 
user406009
@James No. Credit cards charge high fees to merchants who accept them.
 
Hush, I am trying to establish my reputation as a cheapskate. Let's not concentrate on how I spent nearly $50 on de-flea/tick/mice/lice products over the years for my chickens
 
3:06 AM
The most reliable means of getting rich seems to be long-term investment. Exponential growth and having growing people/companies in your debt ftw
 
user406009
Your "cash back" comes straight out of the merchant's pocket.
 
user406009
So selling to yourself gains you nothing.
 
Pooh
 
@Lalaland Fees, anyway. At least in the US, the usual is about 3%. I'll leave it to you to decide whether that really qualifies as "high" or not.
 
But to be fair I'm only 1% higher than inflation on a modest $1,500. So the 'rebate' on my first year of investment won't total more than ~$20... When I begin working again, I should easily be able to scale it to $50 or $100 next year.
 
3:17 AM
The C++ standard. AKA retarded nonsense that is self-contradictory sometimes and without sensible choices, all while saying they have features that you can't use because they're broken
 
user406009
@Darkrifts If you spot a contradiction, you can report it to the C++ standards committee thingy and they will try to fix it.
 
user406009
They have a whole list of bug fixes with every release.
 
I guess so, but still, the const int thing
Darkrifts AWAAAAAAY
 
@Darkrifts Like democracy, it's just about the worst thing possible--except for practically everything else we've ever tried.
 
3:38 AM
speaking of bad investment decisions, I have hundreds of Chinese Yuan, US dollar, Euro, British Pounds & HK dollar (says yuan on the note) laying in my drawer from overseas travel years ago, probably depreciated into oblivion ...
 
@Telkitty Sell the old coins to collectors at flea markets; $5 each
 
interest I could get from those annually would be many times of $5
thus bad investment decision or mainly being lazy
 
Oh, but renting space in a flea market. Dammit, there's a deficit to that. Yeah, investment might be a better plan
 
4:02 AM
Next, let's assume the decision of whether to take the Axiom of Choice is made by a deterministic process ...
6
 
@DonLarynx 357 days :p
 
 
1 hour later…
5:12 AM
how large does the clam have to be?
 
Ven
5:57 AM
hi
Ce n'est pas moi qui clam !
 
I like clams.
 
@Nican Could have been an oyster or mussel (though given its shape, a clam certainly seems the most likely).
 
 
1 hour later…
7:14 AM
I really hate it when you are almost done with 3 hours testing, then found a bug and you have to fix the bug and re-test everything again ...
 
@Telkitty Definitely a pain. Mostly manual testing?
 
yes
location based, so ..
 
And a GPS spoofer isn't going to help I presume. I think testing and debugging are the hardest part of programming
I'm probably just going to buy some red and black 2H refills for my mechanical pencils this year because I prefer more durability and sharper lines. But I love that these coloured leads exist
 
@Aaron3468 omg yass
 
> Package includes the following refill colors (1 tube of each color): [colour green]Red, [colour blue]Blue, [colour yellow]Yellow and [colour brown]Brown
> [colour green]Red
I found a typo ^^;
 
7:49 AM
fuck's sake
if you're thinking about buying >600cc motorbike as a first one, stop, drop, and roll
it wanted to rip my hands off
 
8:04 AM
Oh look, someone on std-proposals want to implement Rust's mutable ref semantics for shared_ptrs.
 
8:23 AM
Can I get a downboat on this?
 
> A guildie got Energizer during the rollback period, and anet had already mailed it to them without them needing to contact them first.
@AndreasPapadopoulos looks like the rollback is being handled sensibly
 
nwp
8:38 AM
@набиячлэвэли you may want to revert an edit
 
@nwp I wanted to delete it at <-3 for badge :v
 
nwp
oh, oops
 
@набиячлэвэли lol
@набиячлэвэли sorry man, I just couldn't resist upvoting it
 
:V
Bes way to get upboats is to ask to get downboated to oblivion
 
@Xeo you actually don’t have to. in this example the minimal argument is selected, and then it’s returned. only that last step is made safe and potentially involves construction, so that auto&& x = min(0, 1, 2); remains sane.
although as a testament to how fiddly that sort of business is I actually had the wrong return type at first :/
 
Xeo
8:55 AM
@LucDanton Well, for min because you know what you get back. For a generic fold over any function you have to, as it can return a prvalue. No?
 
@Xeo no, it’s because the fold expressions is only fed xvalues
@Xeo you always know what you get back—how else would that compile?
 
Xeo
@LucDanton Sorry, I meant that you know you get a reference to one of the arguments, so lifetime is not an issue within the fold.
 
did you consider min(0, 1l)?
 
Xeo
Gah, sorry, can't think about it right now. I feel like there should be an issue, but I can't make a coherent argument as to why
also, work work work again
 
row, row, row your boat work, work, work that dick
 
9:01 AM
@Xeo point being the result can be a value of the common type (e.g. long for int ref and long ref), not a reference
 
Xeo
Yes, but that still involves repeated moving, no?
 
well that value has to be passed along, yes
it’s the right thing to do
and where there is no value that needs to be passed along, it does the right thing there, too
@Xeo put another way what do you think i + j + k mean, whether overloaded or not?
 
Xeo
Yeah, as I said, totally not in the mindset for that right now, sorry.
 
no worries
 
Ven
9:26 AM
A true imposter confuses TDD/BDD as foundations, utters them in the same breath as λ-calculus & calls them practical https://t.co/GLJZngqSex
shots fired
"The same installation" Where same means what? Which version of Ruby, Rails? What about your bin folder? — Ven 8 secs ago
 
@AndreasPapadopoulos meanwhile, at the Trading Post’s (there’s something going on with destroyer cores, but don’t ask me)
 
Ven
people answering associativity and precedence questions in 2016
"you should get rep for marking as duplicate"
 
9:47 AM
Whoever came up with the idea to call the current development version of Visual Studio <<VS "15">> when the currently released version is called <<VS 2015>> ... wondering if that's some kind of intelligence test by MS ... :-)
3
 
the more I hear about MS code practices and marketing the less I believe that the people in power there actually care about the product
 
nwp
@MartinBa or maybe it is a genius marketing trick to tell all your fellow developers about VS and you fell for it
 
@MartinBa Yes - it has always had two versions, a marketing one and an actual one.
 
Oh, Microsoft made their own Range-v3 fork that works with MSVC.
 
@Luc at 8k gold I don't feel too terribly sorry
 
10:10 AM
> internal compiler error: in tsubst_pack_expansion, at cp/pt.c:11050
2
 
10:27 AM
550km for a concert. It looks like this weekend will be long.
Or even long long.
 
Ven
where is that?
 
Near Angoulême.
 
Ven
oh I see
I need to go their BD festival someday
 
Last time we played there, it was the week before the festival.
And they were so happy that we get to play there again less than one year later :p
In other news, the crowdfunding for the album should start soon enough.
 
Ven
\o/
 
10:37 AM
Looking at C TSs, it seems that they try to solve every problem by adding new keywords.
 
Ven
link to some?
also hey, I'd rather they add keyword rather than overload "static" to mean max array size -_-
 
Unicode? Let's add new keywords. Complex numbers? Add new keywords. Fractions? Add new keywords. Parallelism? Yay, let's add 15~20 new keywords!
@Ven Oh yeah, that one was a tad bit moronic too :D
As if every new type needs to be fundamental type.
 
Ven
that's fundamentally wrong
 
Atomics types? New keyword.
 
nwp
and there I thought we already had atomics without any new keywords
 
10:43 AM
In C++ we do.
 
nwp
ah, right, C
I missed that
 
C odesn't have templates, so they write _Atomic int.
 
Ven
typedef _Ayyyy _Lmao;
 
They solved the problem of ugly function names with _Generic, but still add ugly function names just in case.
 
nwp
I just unlocked a programmers achievement: get the syntax for a C-array of function pointers right the first try without looking it up.
 
10:49 AM
use typedefs
 
Achievement unlocked: unreadable type.
 
nwp
apparently programming achievements actually exist
 
11:04 AM
Ooooh, there's a totalorder function in the Floating Point TS Part 1 :o
And a function to check whether a NaN is signaling.
 
@nwp Well actually yes that may be possible: It's confusing as hell and we nearly got caught by it a while back: Looked for the VS2015 update that incorporated that cool feature, only to learn it's in the Next version. :-)
 
Functions to read and write the payload of a NaN too. Shiny.
 
wow finally something useful
 
Part 2: decimal floating point numbers? New keywords! :D
No complex decimal types though.
 
Ven
@Morwenn payload?
 
11:11 AM
@Ven There's 2^24-2 (I think) possible float NaN values
so you can store a value there for debugging purposes
 
float is a glorified std::expected<number, NaN>.
 
Sep 12 '15 at 15:14, by milleniumbug
yep, not all of x111 1111 1xxx xxxx xxxx xxxx xxxx xxxx are NaNs. x111 1111 1000 0000 0000 0000 0000 0000 are infinities
 
Ven
thanks :)
 
11:27 AM
Oh, the floating point TS part 3 adds even more keywords.
Add to that the transactional memory TS being backported from C++ to C, and... C eventually has more keywords than C++.
 
nwp
maybe they should add templates to C, and maybe classes too :P
 
one funny video - if you want to laugh at some terrible CGI effect
 
I just had the sudden realisation that all compiler errors that aren't internal are external. @Luc
 
@Morwenn Wait, the TM TS is a straight backport?
 
@Griwes IIRC yes
@nwp And attributes to avoid shitload of new keywords.
 
11:45 AM
_Class
_New
:D
 
@Griwes Hey, smileys are not allowed yet D:
We need PO4116r0 to be accepted first.
 
Xeo
12:01 PM
@Morwenn That one is, tho!
(as a label, D:)
 
12:32 PM
My best technical skill isn't coding, it's a willingness to ask questions, in front of everyone, about what I don't understand
damn those help vampires
 
@Ven Are you making a side scroller in PostScript? :p
 
Ven
stop stalking me :'(
 
GitHub notifies me :o
I don't explicitly stalk anyone.
 
Ven
means you followed me
 
Of course. GitHub is boring when you don't follow anyone :(
 
12:49 PM
or working with someone
 
Ven
@Morwenn ... I must get very spammy tho?
 
@Ven It's nothing compared to rightfold from time to time.
 
Ven
\o/
 
inb4 @набиячлэвэли whines about my one-time comment spam accident
 
:P
but for real doe
 
1:31 PM
Most of my GitHub feed is full of issues related to the Solarus engine nowadays anyway.
 
Ven
2:03 PM
yo
 
2:27 PM
Hey guys, quick question: Is it OK to inherit from std::vector<T> and override size_type with typedef long size_type;?
 
nwp
depends on the definition of OK
it is not straightup illegal
 
I just want to change it to long instead of unsigned long.
Are there any bad side effects?
 
nwp
you will probably get issues with slicing (passing a derived thing to something that actually takes a vector), but it should be mostly ok as long as you don't add data members
 
"as long as you don't add data members"?
 
guys. Are there a lot of jobs for C++ programmers nowadays?
 
2:32 PM
@TheQuantumPhysicist is this to silence unsigned/signed warnings?
 
@ratchetfreak Partially. It's mainly to maintain compatibility with negative indices when running reverse loops.
 
nwp
vector will not be ok with negative indexes
 
I know. At least I'll be able to detect it. That's my motivation. I can catch long(-1), but not unsigned long(-1)
 
nwp
@TheQuantumPhysicist why is that?
also the vector itself will know nothing of your change and still use unsigned
 
Because long(-1) is catchable as a negative number, while unsigned long(-1) is a huge positive number.
 
2:36 PM
which will be larger than the size of the vector
 
consider a loop for(unsigned long i = 10; i >= 0; i--) {...}. This will fail, unless the compiler is smart enough to understand it.
 
nwp
why not just use rbegin and rend?
 
I have a matrices application, and I use operator[] to access elements.
 
for(int unsigned long i = vec.size(); i-- > 0; )
 
It's way more convenient for me to use operator[] over iterators when I don't use std algorithms
@ratchetfreak There's always a way to fix it, I don't say no. But consider convenience and safety.
 
2:40 PM
but for 0 based indexing you will want to decrement from the size before entering the loop
 
I'm sorry I don't understand this statement @ratchetfreak
 
when doing a reverse loop you start with index equal to the size of the vector
then decrement each iteration
but because the indexing is 0 based you need to decrement before each iteration so the first access is size-1
 
I don't say it's impossible to use unsigned. It's just not convenient for me, and there's zero losses when switching to signed. That's what I'm trying to verify
 
Don't write these kind of loops
They're borderline unreadable
 
> int unsigned long
 
2:45 PM
@milleniumbug Some times it's necessary to use them when using indices
 
make sure the bounds checked functions also check for positive (there is no need for that when using unsigned index type)
 

« first day (2139 days earlier)      last day (2800 days later) »