« first day (1770 days earlier)      last day (3184 days later) » 

2:00 AM
@nabijaczleweli Hey do you know how chat.SO sends messages? Is it in JS?
 
missed "treated as ___ by the C++ compiler"
 
I'm super confused.
 
@Nooble By REST API calls, prolly
 
@VermillionAzure Not about this by the way, about everything web.
 
Im not an expert at all
 
2:02 AM
I'll have to spam @ʞɔᴉN's skype with questions then, poor guy,
 
@Nooble What about it.
I'm technically developing a "web" appliation anyways
 
@Nooble Hello.
 
@VermillionAzure Where is the function that forms and sends the packet for messages here in chat?
I've been thinking of making a Lounge Bot.
 
@Nooble Call it Nooble Bot.
 
@DeanSeo Hehe yeah I was thinking of doing that.
 
2:05 AM
@Nooble Then it gets banned.
Lol
 
@Nooble it's pretty easy to find
it's minified so it's gonna be hard to read it directly
I have the buttons and the ids and stuff
and the functions you're looking for are probably under cdn-chat.sstatic.net
 
Hmm
 
@VermillionAzure What are these functions written in?
JS?
Yes, JS.
 
user3047181
i think js is the best lang
 
@Nooble What else?
It has to be JS right now if I'm not mistaken
 
2:11 AM
@VermillionAzure Dunno.
JS can do networking stuff?
@MeltyButter I think binary is better.
 
user3047181
js does loads of stuff that c++ does, just automatically
 
user3047181
also, its' already on browsers. so its defo better
 
@MeltyButter Don't know if trolling...
 
yes trolling
I remember the name
 
@Nooble ....
 
user3047181
2:16 AM
eeeh I'm just sort of ignorant
 
Node.js...........
 
@VermillionAzure I seriously suck at web.
 
@Nooble Dude. Get Express.js and NPM start learning Node.
 
But I'll Get Better™
 
Just do something like a simple calculator.
 
user3047181
2:17 AM
Do I need to know node.js to be able to say I know javascript?
 
Plonks butter
 
@MeltyButter Ecmascript.
 
@MeltyButter actually, the reverse.
 
@Nooble so when's the official release of NooBot?
 
user3047181
all the funny jokes you guys make go over my head
 
2:19 AM
@nabijaczleweli When I figure out the data structure of the packets for sending and receiving messages.
I'll then write it in C++ because I like C++.
 
user3047181
@Nooble also because you're a smartarse?
 
Use this library: https://github.com/whoshuu/cpr
It's amazing
 
@MeltyButter I don't know what you mean.
 
Yup, definitely plonks Butter now
 
@nabijaczleweli I was about to write packets manually lel.
Thanks.
 
2:22 AM
@nabijaczleweli thanks for that one.
 
This is the greatest library of all time
@Nooble Chyba cię posrało
 
user3047181
"ooooh i write in c++ because i loooove c++"
 
user3047181
if all the code in the world disappeared
 
user3047181
what code would you guys write in from now on?
 
@nabijaczleweli You think I'm crazy?
@MeltyButter How in the world does that make me a "smartarse"?
 
2:24 AM
@MeltyButter by code you mean languages?
 
I don't understand the optimizations g++ is doing.
 
user3047181
@WoLfulus i mean eeeeverything, all assembled code and concept of languages etc...
 
@Nooble This was in response to you writing packets manually
 
@nabijaczleweli I see.
 
@MeltyButter that doesn't seems to work. if everything is gone, and all knowledge disappeared, how can someone choose a language to start coding again if everything is gone? lol
 
2:26 AM
Haters gonna hate.
 
oh fuck off with the flags
 
God damn
Accelerated C++ is 100x better than everything I have.
 
user3047181
@WoLfulus well you can choose one, just one
 
I'm just going to encourage reading it since it's free.
 
@MaiLongdong Who got flagged?
 
2:28 AM
@MeltyButter c++
 
@Nooble Both my messages.
 
@MaiLongdong Hmm. Starting to think Don has an alt.
 
@WoLfulus It would have to be assembly, if all the languages disappeared.
 
@VermillionAzure i know that, but he said i could choose one xD
 
@Nooble lol witchhunt
Would be good if @JonClements could do something about it
 
2:30 AM
If I could choose a language, I'd choose Python or maybe Ruby.
 
user3047181
well you can choose any one that like fully works no matter what..
 
@MeltyButter C++.
 
user3047181
i mean oviously it'd be js or the like!
 
@MeltyButter Why is that?
 
user3047181
so it can spread across the massses etc
 
2:31 AM
python is amazing. but yet i write extensions in c++ most of the time
 
@Nooble where did you get your fancy DNS?
 
user3047181
what are you gonna go, plz donwload my cc binary guys, plz x x x
 
user3047181
while im just showinlg people my pretty js site, eh?
 
@nabijaczleweli Bought it for a dollar.
namecheap is selling xyz's for a dollar.
Hey I could buy you one if you'd like.
@MeltyButter I'll show you my pretty hardware-accelerated graphics demo.
Try doing that in JS.
 
I would very much
 
2:34 AM
@nabijaczleweli Ok. Make a namecheap account first.
 
user3047181
@Nooble huh? never seen a js only graphics demo?
 
@MeltyButter I've never seen one that's performant.
 
lol
troll in the dungeon
 
@Nooble done
 
I need to get better at CS:GO.
@nabijaczleweli So you kinda need to make a password that you can give me so I can login so I can buy it under your account.
We should do this on Skype...
 
Skeyp
 
@MeltyButter You must be really bored
 
@Nooble oh hey thats cool
 
user3047181
2:40 AM
oh stop :embarrassed face :p i didn't make it just especially for this argument, obviously :P
 
user3047181
see, js is better than c++ after all
 
very low quality attempt
yawn
 
@MaiLongdong what
what is wrong with his work?
 
Not the work you fool the troll tentative
 
Guys
Lunch time soon.
 
2:42 AM
In 1h.
 
Writing code for lunch finally pays off.
I'll be back in an hour, and make more code for dinner.
 
user3047181
you people literally think anyone who thinks js > c++ must be trolling?
 
@MeltyButter he's dumb. don't listen to him
 
@MeltyButter Don't you know that JS stands for "JavaScript Sucks".
It's right in the name you see.
It's one of those fancy recursive acronyms.
 
user3047181
well I'm very new to the whole programming thing, plz explain to me why this is
 
2:44 AM
@MeltyButter @JerryCoffin says so.
 
Javascript is patriarchal
 
You can write JavaScript anywhere. You don't need a compiler, you can see the same, expected result on any machine. You can find a C++ compiler written in JavaScript on Github.
Lol.
But I love C++.
 
@VermillionAzure That's what I've been telling poor @noob
 
user3047181
yeah exactly, how many js compiler are on fancy c++ frameworks??
 
user406009
2:47 AM
That sentence makes no sense. You need a JavaScript interpreter.
 
user406009
Also, C++ is cross platform.
 
user3047181
@Lalaland js is the very definition of cross platform
 
JS is no-platform
 
Java Sucks.
 
@MeltyButter do you realize that this is like trying to discuss religion right?
 
user3047181
2:48 AM
yeah, life is cross javascript
 
user3047181
@WoLfulus only it's actually relevant to people's lives
 
but yeah, java sucks. my jaw dropped when i discovered that it doesn't have byte data type.
 
It... does?
 
user3047181
@WoLfulus doesn't it have byte[]?
 
user406009
C++ is usually necessary for compiling most JavaScript intepreters nowadays anyways.
 
2:49 AM
@WoLfulus What? It does.
 
unsigned char?
 
user406009
Java doesn't have unsigned bytes though.
 
user406009
Which gets darn annoying sometimes.
 
user3047181
@WoLfulus same thing!
 
not the last time i actually tried it, i had to use int instead and do some malabarism with bitwise operators
 
user406009
2:50 AM
Unsigned ints are overrated, but unsigned bytes are darn useful.
 
thats what i meant... and byte by definition is unsigned, at least on majority of the languages
 
Java does not have the unsigned byte type?
 
no
 
user3047181
@WoLfulus what stops you from defining one?
 
So byte[] in Java is always signed?
 
2:52 AM
no
Arrays don't have signs
 
user406009
@MeltyButter Two reasons. Java has special primitive types you cannot implement yourself. Second, Java doesn't allow you to override operators.
 
AHAHAAHAHAHA
 
4
A: Can we make unsigned byte in Java

aioobeStrictly speaking the byte datatype in Java has the range -128 - 127 and there's nothing you can do about it. I.e., you can't write for instance unsigned byte b. Here's a quote from the documentation on Primitive Data Types: The byte data type is an 8-bit signed two's complement integer. It h...

> there's nothing you can do about it.
 
Cross plotform is dictated by who wants to put it on their platform
 
@Lalaland thanks for that.
 
user3047181
2:53 AM
what's wrong with making some shitty class around a byte[]?
 
wat
wow
 
actually even C# (that I love) pissed me off.
 
@MeltyButter nothing
they dont understand it haha
 
user3047181
yyeah exactly
 
i'm working on my final project (university) and I'm working on a serialization + reflection stuff
 
user406009
2:54 AM
@MeltyButter That would be a decent solution in C++. But Java isn't as "powerful" as C++ in terms of user defined types.
 
and i realized that it doesn't have template specializations and generics just receive type-value
 
@Lalaland *overload
plz terminology
 
Define your own byte in Java.
 
user406009
You can't.
 
user406009
That's what I am trying to say.
 
2:55 AM
public class my_byte{byte[] hello;}
 
oh gzus
 
user3047181
@Lalaland hm. I don't get why. I think this is no longer a safe environment for me
 
user406009
Yeah, but that would be an absolute pain to use. It wouldn't work like any of your normal number types.
 
if the byte returned is negative, use a method to turn it positive. finish.wmv
 
Lounge<C++> has been taken over.
 
2:57 AM
like casting it to an int? lol
 
You can't overload operators in Java. (I think)
 
lol yes lol
 
@DeanSeo Yes you are right.
 
@Nooble Well.. now what?
 
user406009
@Nooble By what?
 
2:57 AM
Any way to tell JVM explicitly to box/unbox your own type?
 
user406009
No.
 
user406009
Like I said, Java is a little bit more limited than C++ in terms of user defined types.
 
JS.
Java Sucks.
 
user3047181
you cant overload operators in java?! how do you do... things?
 
user406009
@DeanSeo I am going to have to steal that joke.
 
2:59 AM
15 mins ago, by Nooble
@MeltyButter Don't you know that JS stands for "JavaScript Sucks".
 
user406009
@MeltyButter In a very ugly way with lots of methods. See docs.oracle.com/javase/7/docs/api/java/math/…
 
You're gonna steal a joke that was stolen from me, who stole it from someone else!
 
@Nooble Yeah I was the first one who had to stole the joke.
Lol.
 
user3047181
@Nooble why does anyone choose to use Java
 
user406009
Because Java is a pretty decent, relatively simple, statically typed, GC language.
 
3:00 AM
@MeltyButter just because sometimes you have to
 
@MeltyButter Good question. Ask it on the Java room!
 
user406009
Why do people like Go?
 
user406009
Java is relatively simple.
 
user406009
Same idea.
 
> By avoiding operator overloading, it's more opaque which function is called when. A wise design move in some people's eyes.
30 secs ago, by Lalaland
Java is relatively simple.
easier to use
 
3:01 AM
@Lalaland Hey why can't I see events in the network tab of FF.
That would be a great feature.
 
user406009
@Nooble ? What do you mean by events?
 
> a + b is just "syntactic sugar" for a.Add(b)
 
Also I can't see incoming messages in there.
 
> syntactic sugar
 
user406009
Have you tried refreshing the page and looking for the websocket?
 
3:01 AM
@Lalaland Event stream.
 
user406009
You only see the polling when signed out.
 
user406009
Usually the websocket has a stupid name, random string of letters and numbers.
 
@Lalaland For seeing incoming message packets?
@Lalaland Oh, right!
 
user406009
Yeah. You have to find the websocket.
 
user406009
Then you can look at the frames.
 
3:02 AM
Where would I search for it?
 
user406009
In the network tab.
 
Ok let's try...
 
asdfasdf
asdfasfdsadf
 
Nope, nothing here.
 
asdafasd for you too
 
user406009
3:04 AM
Ok, I'll take a screenshot.
 
it's in jquery.min.js
 
Only when I send messages do I get a POST and new.
 
user406009
First I have to login.
 
="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.d
search for that
 
user406009
I wish chat.stackoverflow enabled websockets for non-logged in users.
 
user3047181
3:05 AM
where do we stop with all this public jquery stuff?
 
user3047181
should everything under the sun be as public as shit?
 
idk what you guys are talking about
 
user406009
Are you talking about the extension development?
 
@MeltyButter what does this mean? O.O
 
user3047181
@VermillionAzure well i mean like finding packs of eggs underneath local bridges, should i start up some github style js library to that end?
 
3:07 AM
@MeltyButter O.O?
 
user3047181
no, some things should stay private
 
I don't understand what is bad about public JS libraries
 
user406009
@Nooble Actually FireFox, doesn't allow you investigate websockets yet.
 
user3047181
so maybe keep jsquery etc private and then webdevs would be more creative
 
3:08 AM
@Lalaland Yep.
But Chrome does!
 
user406009
 
user406009
You can find it, but you can't get any data out of it.
 
user406009
Vs.
 
So incoming (but not outgoing) messages are sent through websockets.
 
writing jquery plugins is a pain in the ... knee
 
user406009
3:09 AM
Yeah
 
@Lalaland That's sooo weird then.
Why the inconsistency.
 
user406009
 
user406009
There is chrome for comparison.
 
user3047181
$30000 a year!??!?! what magical land is this?
 
3:12 AM
@Lalaland Wait a second. I never see 101 GETs.
 
@MeltyButter sarcasm?
 
Damn it
fuck it compactcpp is done.
Over.
 
user406009
@Nooble Did you: 1 Make sure you have that "other" button clicked in the bottom right. 2. Refresh the page.
 
user3047181
@WoLfulus different countries than us :P
 
@VermillionAzure what is it?
@MeltyButter where are you from?
 
3:14 AM
@Lalaland For FF?
I set everything to all.
 
user406009
Yeah.
 
user3047181
ireland
 
When I see GETs they're the images of people's profiles.
 
user406009
Just use chrome.
 
user406009
And click the ws filter.
 
user406009
3:15 AM
And then you can actually inspect the frames.
 
user3047181
wats a GET
 
user406009
@VermillionAzure You never told us what compactcpp is?
 
@MeltyButter http term
 
@Lalaland it's his blahg
sweet I earned $0.29 in rewards last statement period, ty so much amex
in a few months I might be able to afford a small bottle of apple juice
 
user3047181
you can get some sunblock brands from just 20 cents, its like law
 
user3047181
3:20 AM
if you drink it properly, you get drunk without poison
 
@Lalaland Does "All" include "Other"?
 
drink sunblock?
 
user406009
@Nooble Yeah.
 
user3047181
@ʞɔᴉN but only if you eat a lot first
 
user406009
But it's a bit of a pain to locate the one websocket in the sea of other requests.
 
3:22 AM
@MeltyButter whyyy would you drink sunblock in the first place though
 
@Lalaland Wouldn't you see it synchronized with getting of a message on your screen?
 
user406009
No.
 
user406009
There is only one websocket.
 
user406009
You get it at the start when you load the page.
 
user3047181
@ʞɔᴉN its as 'safe' as drinking near the beach
 
user406009
3:23 AM
Look at the chrome screenshot.
 
user406009
Note the individual messages.
 
@ʞɔᴉN I'm telling you, .xyz is the next big thing.
 
Thanks, @Nooble
 
@Lalaland Wait I thought you had to be logged out...
 
user406009
3:30 AM
@Nooble Logged out if you want to poll.
 
user406009
Logged in if you want the websocket.
 
@nabijaczleweli No problem.
 
@Nooble never shall I fall for the hype
 
user406009
I went for polling. rlemon went for the websocket.
 
user406009
Polling should be pretty obvious. Just a bunch of posts to chat.stackoverflow/events
 
3:31 AM
If you have a .xyz domain you're probably the most l33t person in your area
 
@nabijaczleweli i already have .io get on my level scrub
 
2mlg4me
 
@Lalaland You POST and receive?
 
Of course
The server needs to respond
 
So POST and GET?
Wait no.
You POST and listen for a reply.
 
3:34 AM
use the websocket approach if you want to be respected
 
Noobot shall be a thing.
 
user406009
you POST to chat.stackoverflow/events to poll.
 
@ʞɔᴉN Why complicate things.
 
user406009
Watch the requests in action to get a better idea of the parameters and return format.
 
user406009
You can also open a websocket with GET.
 
user406009
3:35 AM
But that involves some other junk as well.
 
user406009
Cause you need to login for that.
 
@Lalaland Yes you poll and you receive data where?
 
user406009
The post request returns a list of new events.
 
user406009
Didn't I give you a nice curl example?
 
user406009
curl chat.stackoverflow.com/events --data 'fkey=603fae71ca2fb5a2c0b5c99262014089&r10=51678896'
 
user406009
 
user406009
Actually: curl chat.stackoverflow.com/events --data 'fkey=603fae71ca2fb5a2c0b5c99262014089&r10=0'
 
user406009
Make sure to get a correct fkey for your IP.
 
user3047181
what do you do when the question you want to ask is really really specific to the secret company stuff you work on?
 
user406009
Same thing you always do.
 
user406009
Create a minimal working example, like 100 LOC max.
 
user406009
3:42 AM
If those 100 LOC show something secret, then it's really too simple to be a secret.
 
@Lalaland I got "{reset":true}
 
user3047181
eehhh, but its so much effort to de-secretize it
 
user406009
@edition You didn't provide a good fkey.
 
user406009
You need to open an incognito window, and type fkey() into the javascript console.
 
user406009
I think they are tied to IP address.
 
3:44 AM
ok
 
user406009
@MeltyButter It always takes some work to write a good question.
 
user3047181
yeah well whenever i spend loads of time figuring out questions, i just end up figuring out the answer
 
user3047181
so gimme the answer and the glory
 
user3047181
do you mean uhhh. you deleted that comment hm...
 
user2628526
@MeltyButter ?
 
user2628526
3:50 AM
what do you mean kind sir?
 
user406009
@MeltyButter You can always download my extension.
 
user406009
It shows deleted comments.
 
user3047181
@MathApprentice its not my fault! its the weird guy who deeted his comments really quicj after he commented
 
user2628526
@MeltyButter some people have strange views on privacy.
 
user3047181
@Lalaland which extension
 
user406009
3:52 AM
@DonLarynx Some people get really paranoid though. I think it's a way of improving ego to believe you have something special.
 
@Lalaland dat der schizophrenic tendendies
 
user3047181
i thought clever devs didn't use firefox
 
user3047181
chrome is obviously better
 
user406009
Nah, they are roughly feature equivalent.
 
user3047181
3:56 AM
ff is like 20x slower at js
 
chrome used to be light years ahead of FF but now they're not too different
actually firefox's JS engine (spidermonkey) runs faster than chrome v8 in some tests
 
user406009
Even Microsoft's newest browser Edge is rather close to the pack.
 
user406009
Browser competition is quite fierce.
 
user3047181
ooooooh some tests!?!?!
 
good shit
 
user3047181
3:57 AM
stop the press!?!?!?
 
now if only we could get rid of vendor prefixes
 
user406009
They are already going away.
 
praise jesus
 
user3047181
whats a vendor prefix
 
this is a great time to get into frontend work
 
user406009
3:59 AM
Except for the fact that JavaScript is sorta bad.
 

« first day (1770 days earlier)      last day (3184 days later) »