« first day (1391 days earlier)      last day (3563 days later) » 

7:04 AM
good morning internet
 
morning
 
evening
 
Good afternoon.
 
afternoon
 
7:17 AM
After the user has done enough spamming he may be able to afford his college degree. — joeytwiddle yesterday
lol
 
I have 2 text fields, I was wondering why the 2nd text did not show up, thought there might be something to do with layout_toRightOf ... took me an whole hour - turns out the I used android:layout_width="match_parent" for the 1st field ...
 
7:36 AM
PHP, the server-side IE. — Marek Mar 23 at 15:03
 
ctrl + - is pretty handy in VS
I should really learn all of the useful hotkeys
 
if (numb != 1,2,3) WTF
0
Q: If statement returns wrong output C++

HarryHLI have a if field containt a simple expression I can't find out what is causing the issue, the statement is produced no matter what figure is used if (pos != string::npos) { mystring.erase (0,10); { int n...

 
this is the first time I see the comma operator
int a = (statement1, statement2);
does this essentially mean statement1 is evaluated before statement2 and statement2 is returned?
like, it's not UB to refer to things manipulated in statement1 inside statement2?
yeah wikipedia confirms
#prosources
 
@MarkGarcia You can do if $numb != 1 & 2 & 3 in Perl 6. :P
 
7:47 AM
@AlexM. Tell the person who does that to just do statement1; int a = statement 2;.
@PolymorphicPotato :( That's scray.
 
why isn't this the accepted answer?
6
 
Hah! I like this site: thenounproject.com
 
@VáclavZeman interesting..
 
@thecoshman lol
 
8:05 AM
@thecoshman I feel your pain: meta.stackoverflow.com/a/252077/922184 :)
 
I have a comment with 303 score on meta :(
 
@VáclavZeman In their about page: i.imgur.com/qeuAdlH.png
Nice guys.
Or perhaps, just typical of start-ups.
 
It's not a startup if it doesn't have a team page with photos and trying to be clever and funny
 
@MarkGarcia Hehe, nice.
 
@CatPlusPlus this
 
8:14 AM
It hasn't been original for a few years now
 
the more you move from startups to big guys
the more you see a switch from "us" to "you"
as in, the customer
and less funny
and less clever
 
@Rapptz I should have flagged that question.
 
I wonder if you can really live and employ that many people off designing icons. Not that icons are not needed, but is it that profitable?
 
I think it may have something to do with big companies trying to create loyalty among clients, the more the client seems to be at the center of attention, the more likely it is he'll stick to the company "forever"
or maybe not I dunno marketing LOL
I'm just a programmer
 
@VáclavZeman Private contracts, but then there will be a point where it'll stop.
 
8:18 AM
anyway, if I wanted to be loyal to a company, I'd rather it was a serious company full of people in suits
not one in which dogs are advertised as employees
for teh lulz
 
@AlexM. Work for IBM.
 
does IBM force suits?
 
If only they actually didn't treat themselves very seriously
But eeeeeeverone does this shit
 
@MarkGarcia I can imagine a trickle of new customers/orders. But yeah, it does not seem sustainable from just the icons.
 
man IBM employees must be hot <3
 
8:19 AM
I don't believe for a second it's not forced humour for 99% of them
 
work for an investment bank ... or a funeral service provider, they wear suits right?
 
actually I saw that portrait approach to presenting the team on the website of a startup located in my city
I found it funny that the two founders had their real portraits shown
+ real names
and the 4 employees or w/e had generic portraits (e.g. the Users icon in Windows) with generic first names
 
boy
 
I like the website of these guys fuerogames.com
 
my tests are failing so fast I can't abort fast enough.
 
8:23 AM
(they're the 3rd party making the new witcher moba)
 
dear god, the variable names, WHY
0
Q: c++ passing class member function pointer to another function

rezzai searched in internet and i found some solution but i don't want to change my hole code ! i want to search in vector<my_class *> for different object , so i wrote this , but not work. static vector <attendant *> attendant_vec; template<typename V3C,typename __R3t_v4l_of_func__> int binary_se...

 
@Yuushi 1337 code.
 
> typename __R3t_v4l_of_func__
 
L4sT_C3LL
 
@MarkGarcia 1337 code that uses reserved identifiers...bad on so many levels
 
8:28 AM
> but i don't want to change my hole code
his code is a hole alright
 
> so i wrote this , but not work
 
D47'$ $0/\/\3 L337 (0D3 d00D — Alex M. 25 secs ago
 
Xeo
@Yuushi Yay, UB code
(reserved identifiers)
 
@Xeo Indeed. This is the sort of code that should make the compiler refuse to compile it and launch nethack instead.
 
Wow. Pretty terrible.
 
8:33 AM
> Twitch now has Audio Recognition technology which will mute '30 minute blocks' of unauthorized audio content.
google never forgives
 
I changed the code variable names
3 minutes of my life I won't get back
 
you're too kind
 
I've edited your code to be human readable. Rollback if it's not 1337 enough for you. — Rapptz 6 secs ago
 
call me paranoid
 
@Rapptz My previously bleeding eyes thank you
 
8:38 AM
but I think this a troll
 
Yeah, it probably is.
 
was the prayer to god array guy also a 1 rep troll?
I can't see it because <10k rep
 
what I want to know is who voted to undelete it...
 
was thinking that they might be the same guy
 
> (The word “referrer” has been misspelled in the RFC as well as in most implementations to the point that it has become standard usage and is considered correct terminology)
HTTP header field ^
da fuq
 
8:44 AM
you're like 20 years late or so :v
 
Xeo
@AlexM. also 1 rep, but not the same guy
 
well clone of
 
uh
WTF std::sqrt
why.
(complex case is an overload)
 
It's not that simple.
 
8:58 AM
I read that as std::squirt
5
 
STD squirts are the worst.
 
no squirt is bad
 
@PolymorphicPotato saw that coming
anyway, should be a specialization
not an overload
 
How would you implement generic square root?
 
1 min ago, by Bartek Banachewicz
anyway, should be a specialization
 
9:02 AM
Let's put it another way: a specialization of what, where what would be generic?
 
a specialization of std::sqrt<T>, as std::sqrt<std::complex<T>>
now it's written as std::sqrt<T>(std::complex<T>)
 
@Mysticial lol
 
std::squirt<Harder> vs std::squirt<Faster>
 
doc
9:21 AM
Use this tag for questions about code... - C++ tag excerpt is IMO retarded as many C++ questions do not contain any code and are still fine
 
@doc Hello?
 
doc
@JEffrey hello
world
)
 
Hm, I need a good name for the exception that will be thrown when trying to reach an off-link IPv6 when no router is present in the local network. I have "RouterRequired" for now..
 
shouldn't exceptions be named more like NoRouter(Exception)?
 
doc
why not RouterOffline?
 
9:27 AM
or RouterNotFound
 
RouterNotFound?
@doc I like that.
 
doc
RouterStoned
@MarkGarcia np
I just transliterated of what you have write)
 
Error0xDFE89
 
doc
:o
 
very descriptive exception name
 
doc
9:30 AM
soo pro)
 
but what if the router is online but actively blocking whatever the app asks of it :O
 
@doc Stahp. Please.)
 
you clearly need something like RouterInaccessible
 
doc
@Alex M. but what if router is accessible, but does not respond in application understoodable manner?
 
it's not in the exception's scope
 
doc
9:33 AM
hah
so you have found optimum between description and madness
 
@StackedCrooked YourNetworkFuckedYo
 
doc
@CatPlusPlus LOL and that's how you should look at it
and Im asking myself why they didnt make IPv6 ipv4 compatible :/
 
because reasons
 
doc
Yeah, but there's so many crap that is backward compatible
 
fuck yeah nestea
tho lipton is a bit better
 
doc
9:38 AM
@TonyTheLion like DNS servers which use punny-code
Instead of break compatibility and go into unicode
and when backward compatibility would be useful
 
Define IPv4 compatible
 
doc
they just break it :/
 
You can't fit IPv6 address into IPv4 header
Changing the header is breaking the compatibilty
There you go
 
doc
@CatPlusPlus but you could other way around
 
And you can, 4-in-6 is a thing
 
doc
9:40 AM
@CatPlusPlus tunneling?
 
google it
 
doc
or bing)
 
There were also mapped addresses, but I don't think anyone uses that
It's not that important
ISPs need to deploy v6 either way
 
doc
yeah 4in6 is just tunnels
 
@BartekBanachewicz Why? Overloading is generally accepted to be the superior option.
 
doc
9:44 AM
@CatPlusPlus the costs are high. We will need additional hardware dedicated to tunneling for a long time. It's not only ISPs. IPv4 is used everywhere in industry
AND BTW despite of what one my think industry is like 10 years behind
 
Fuck industry
 
s/my/might/
 
doc
All factories, atomic plants they will continiue to operate on ipv4 for years
 
@doc that parenthesis at the end of your sentence annoys me to no end
 
@doc and?
 
9:45 AM
PLEASE KILL IT WITH FIRE
 
I'm surprised there are plants using Ethernet
And IP
 
doc
@TonyTheLion my smiley)? it's modern.
 
Thought the rage was specialised networks
 
@doc Yeah, dood. We use . (dot) to signal the end of a sentence.
 
it's an impossible problem. There was no way to ensure compatibility. All IPv4hardware is going to choke if you send non-IPv4 packets. It doesn't matter how expensive or difficult an upgrade is, or how many people rely on it. The option of not breaking compatibiltiy was never there.
 
9:47 AM
@doc Its not modern, its an abomination and its triggering my OCD :|
 
inb4 "Am I doing it right?. (dot)"
 
doc
Conservative bastards)
 
Shouldn't that be "Conservative bastards("?
 
@doc At the very least change your nickname to "doc(".
 
doc
@CatPlusPlus yes they are! Industrial PLCs are communicating via Ethernet
there are other protocols as well. But Ethernet became quite popular.
 
9:48 AM
@Puppy superior my ass
 
It still doesn't really matter for Internet
 
also you know what I want in C++?
 
Ethernet used to be non-deterministic. That's why plant operators didn't want to use them.
 
@BartekBanachewicz Haskell?
 
doc
@Jefffrey how rude(
 
9:49 AM
an ability to specify that a nested class constructor requires this of the outer class.
 
Internal networks can stay on v4 for as long as they waaant
 
Plus fragile switches :p
 
@BartekBanachewicz Why not?
 
But that's not the case anymore
 
nested classes are pretty useless without that
 
9:50 AM
@BartekBanachewicz Sure. It's called Nested(Outer&).
 
@Puppy because I can pick a specialization explicitly, but not an overload
@Puppy I'd like that implicit, but well.
 
@BartekBanachewicz You can use a cast to pick an oerload. Or just, you know, call it and let OR do it's job.
 
@Puppy *overload
 
doc
@jalf @jalf imagine ipv6 packets as ipv4 packets with additional data. This additional data if recognized can be used to route traffic more precisely. If not it would work just like multicast address for two or more hosts.
It's not only possible, but quite easy to implement.
 
And if it's not recognised then do what with it, precisely?
Unaware applications can't ignore it, because they're unaware
It turns the encapsulated data into garbage
Congratulations
 
doc
9:55 AM
@CatPlusPlus ipv6 hardware can remove such data
 
@doc Right, I send one of these packets to a router. The router doesnt' recognize the additional data. How is it supposed to route the package?
 
If you have IPv6 hardware, then it doesn't matter if packets are IPv4-compatible or not
 
doc
@CatPlusPlus easy to implement on software level too
 
It is not a matter of "more precisely", it's a matter of not knowing the destination address
 
The entire issue is with IPv4 hardware
 
doc
9:56 AM
@CatPlusPlus but router doesn't analyze what's behind IPv4 packet it only needs valid IPv4 packet
 
@doc I see two problems with your fallback scheme. First, how does IPv4 hardware know to look at the "additional data" to figure out that "oh, there's something here that isn't plain IPv4. I should do a multicast"?
 
It needs to know where to route the thing
And if your IPv6-IPv4 packets are only limited to IPv4 addresses then what's the point
 
Second, you'd pretty much flood the entire friggin' internet if all IPv4 routers just started multicasting everything
 
There are a lot of smart people in IETF working on this shit, you know, if this was so trivial it would've been done
 
protip: when you come up with a "quite easy to implement" solution to a problem that hundreds of engineers have spent the better part of 20 years on, then most likely your solution will not work
 
doc
9:58 AM
@jalf such lookup is not required. It would just route it to some IPV4 address
and behind that address many ipv6 hosts may exist
 
@doc ... what good would that do?
 
What you just described is called 'tunneling' congrats
 
doc
Along the time there would be more and more ipv6 aware routers. So it would end up with ipv6 network emerging naturally from ipv4
 

« first day (1391 days earlier)      last day (3563 days later) »