« first day (1362 days earlier)      last day (3812 days later) » 

11:00
And it's even more annoying when you don't even understand the flag!
YOURE NOT ABOVE STACK EXCHANGE RULES (unless you don't speak English)
Now you're reducing the problem to "let's delete a bunch of rooms because flagging is broken"
which is insane
@zigi As just one of many obvious examples that @SecondRikudo was wrong when he said "[Hindi is] the only language that's being spoken here on chatrooms other than English".
user1804599
Stack Exchange zit vol idioten.
11:00
@LightnessRacesinOrbit Yup, I was wrong. I admit it.
ja dat is waar mijn vriend
@SecondRikudo It's not "very annoying". It's a minor inconvenience at worst.
@SecondRikudo Sorry, didn't mean to bring it up again; was just replying to @zigi.
yes
To me this is not dissimilar from when people like @Puppy and @Jefffrey go ape-shit at one person writing one "can u help me" message, as if that individual had just broken into their house and shat on all their clothes. The ensuing crying is far more disruptive and annoying than what is otherwise a single message/flag that may be ignored with practically nil effort.
jesus christ
user1804599
11:02
@SecondRikudo use custom CSS to hide everything flag-related problem solved.
So, is the conclusion that your proposal is really "we should ban Hindi in SO chat rooms", but that you realise it's ridiculous enough to not actually include that in your post on meta? If so, perhaps this entire enterprise is doomed from the outset.
@rightfold No! I still want to see chat flags. Moderation is part of the solution, not the problem.
ice tea after two hours of walking around town while 30* C
@rightfold kekeke
error: undeclared identifier `C' in expression `30 * C'
11:03
I think I'll get my head in the freezer and start eating the ice around the walls
ew
frozen sweat
lovely
I usually have p good reasons to be angry and frustrated at people asking for help.
looks at starred messages
oh dear, something happened, right?
@SecondRikudo I just realised. Shitting on carpets is something puppies do.
9
delayed joke
11:06
I know.
You said it, not me :D
You starred it though
Nope. Well yeah :D
Did you know it's actually possible to see who stars and flags any message in any room that you're in?
Wooo got paycheck I'm not in red anymore
11:09
for few more days
@SecondRikudo teach me, grand meister
Xeo
Xeo
@CatPlusPlus I don't think my account even allows me to go in the red
@Jefffrey Chrome?
yes I'm using chrome, unfortunately
11:10
you mean it's like
a HACK?
whoa
> Approximately 23 buses have been set ablaze in Sao Paolo, Brazil following the World Cup defeat to Germany.
I want to see the haxx
@Xeo I mean on the budget, I have some buffers so I don't get to absolutely nothing on the account
I'd have to apply for a renewable credit to get to actual negative yeah
@Rapptz Is it any surprise I read au.news.yahoo.com as answers.yahoo.com
11:11
pro headlines
@SecondRikudo not now chief, cops arrived
I think @BoltClock is already aware of the vulnerability.
I wouldn't call it "vulnerability"
More like "accidental feature"
Xeo
Xeo
@CatPlusPlus ah
@CatPlusPlus Exposing confidential information about who votes (stars and flags == votes) is a bug
11:14
@SecondRikudo is it something like ...user... = "moderator"; // in console?
@HamZa No
What I'm saying is that it shouldn't be ~~confidential~~
@CatPlusPlus No, I agree that it should
Close all other chat tabs, open the console on the Network tab, and refresh chat
Filter by WebSockets and you'll see the websocket for chat
Switch between the Headers and Frames view occasionally to see the websocket responses.
Parse the JSON for some niceness
It was already reported on meta, but last I checked it still works.
that looks like such a tedious process I'd much rather enjoy the secrecy flags normally bring
some wonders of the world need not be destroyed <3
@AlexM. Someone built a bot that takes advantage of it and posts who stars what XD
11:18
@SecondRikudo that's very nice
That might get rid of idiots who think it's funny to star everything in sight
4
lol
Hence, a feature
@CatPlusPlus We used it to nail Sumer to the wall the other day.
@Jefffrey Some sort of neurological disease?
who is "Sumer"? some kind of SO wrestler?
11:23
This beam of sunshine ^
The moron who's constantly making the "death to america, death to stackoverflow" bullshit
Repetitive, unfunny
Must be a reddit user
@SecondRikudo I don't get it
Beh, I have no food left
@LightnessRacesinOrbit It's a restraining order someone put against him
I like how he posted that LL thing himself and quoted his own name
@SecondRikudo Yes, I got that...
11:25
guyz, brazil is out!
@CatPlusPlus only money
@LightnessRacesinOrbit You know? Why am I trying to talk about things I can't bring evidence of
Yeah I need to go buy shit finally
@SecondRikudo I just don't understand why this is notable or what happened or who's in the wrong or whatever
@JohannesSchaub-litb I don't know how you figured that?
11:26
So there's a restraining order... what now?
> Added: Nov-22-2012 Occurred On: Nov-15-2012
> By: SUMER__KOLCAK
> In: Citizen Journalism
> Tags: E-TRACE LLC, RESTRAINING ORDER, SUMER KOLCAK, TERRORISM, GREED, 1099 TAX DOCUMENTS
hah
@BoltClock could you kindly tell us who Sumer Kolack is? :P
Xeo
Xeo
Ugh, one of my coworkers has this habit of writing f( arg ) instead of f(arg) :(
Vlad does that
btw, habit*
Xeo
Xeo
11:27
@LightnessRacesinOrbit I was just fixing that
That is not Sumer Kolcak
@TonyTheLion hold on. I analyzed the reflection of the light emission of the light bulb in my room that came off my TV and it seemed that the result was that bazil lost!
@JohannesSchaub-litb aaahhh I get it now. :)
@LightnessRacesinOrbit The guy with the axe? No. Sumer doesn't have the mental capacity.
11:28
@JohannesSchaub-litb You can't see TV images using reflections from light bulb
@SecondRikudo I thought he had the capacity to be a mental
@Xeo my colleague puts not space before bracket: if(
@LightnessRacesinOrbit lol
@LightnessRacesinOrbit you are a clever guy
@StackedCrooked if (true) shoot_them();
11:29
and no space after comma
Xeo
Xeo
@LightnessRacesinOrbit if(true) shoot( coworker );
@LightnessRacesinOrbit Perhaps this will shed some light
Wee, now unis will train people in Python badly instead of training them in Java badly woo
woo
All you need to know about Sumer is that you will recognize his distinct poetic writing style and his conspiracy theories and his affinity with Python
(Why @SecondRikudo feels I need to tell you guys of all people about him is beyond me)
11:31
I don't know.
@Xeo >.<
@JohannesSchaub-litb ikr
17 hours ago, by rightfold
http://cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introd‌​uctory-teaching-language-at-top-us-universities/fulltext
@BoltClock I hadn't heard of him
me neither
@LightnessRacesinOrbit still worth celebrating twice
python is the introductory language at my uni too
@Mgetz <west_wing_s04e01>I didn't celebrate it the first time; don't plan on celebrating it the second time. </west_wing_s04e01>
11:36
C with classes is an introductory language at my uni, then there's PHP + MySQL and finally Java.
and when you finally get your degree you automatically get a free ticket to the nearest mental hospital
> While I plan on teaching my students C++ eventually I don't want to confuse them with the boilerplate until they understand what the boilerplate is - Dirk Grunwald, Professor University of Colorado
Use Haskell then
Seriously. Haskell makes for a great introductory language.
from FB:
> Two middle-aged Indian ladies on the train having a conversation in Hindi, suddenly switch to English "...but Brazil, like what the fuck yaar?". I don't think anyone could put it more accurately than that.
Grunwald might actually do that, he's a bit mercenary. But I suspect he'll stick with python as it's still mostly procedural and doesn't penalize the students that know better
@Jefffrey introductory for what?
11:39
Programming.
mainstream?
I mean like professional programming?
...is there...
I should really take this old crap out of the box and work on it further
looking at old screens always causes nostalgia
Xeo
Xeo
The price fluctations on these is so crazy: mindfactory.de/…
user3010322
11:44
@Rapptz It's a great idea. D:
Xeo
Xeo
sometimes, the 2gig one is 209eur, sometimes it's 235.10eur and sometimes the 4gig one is 235.05eur (aka cheaper than the 2gig one)
@LightnessRacesinOrbit How fitting
(to the chat.SO discussion)
user3010322
@rubenvb To allow for arbitrary ratios, of course.
user3010322
pi<T, 5, 4>()
@BoltClock (and many many other Lounge discussions :P)
We are very inclusive here. Indians particularly welcome
user1804599
11:49
17 hours ago, by rightfold
As of today Python is officially horrible.
how so
@rightfold ben jij een nederlander?
user1804599
Yes.
goed zo jongen :D
user1804599
mevrouw
I am not but I am sucking the precious resources of your glorious country
soon to be a dutchman
user1804599
11:50
Uitkeringstrekker.
pardon, mevrouw
@rightfold it's not true, I work as an IT specialist and pay all my taxes
user1804599
Cool.
user1804599
Where do you work?
I am helping your country develop with my work
den Haag
@LightnessRacesinOrbit I'll hold you to that ;)
11:52
@rightfold you?
user1804599
In Roosendaal.
ah, dichtbij
actually I also study at TU Delft
I don't know that many IT people around actually
@BoltClock whoops
so I am really pleased to meet you
said nobody in the Lounge, ever
user1804599
11:54
I studied at Rotterdam University for one year and it was horrible.
haha I am a Bulgarian, we are polite :D
@zigi pfft I've dated two; replace "polite" with "chronically passive aggressive" and you're about there
so what do you do now
user1804599
I work.
@LightnessRacesinOrbit the girls are pretty but they are gold diggers I really hate it
@LightnessRacesinOrbit you just don't know the right one, the passive aggressive are the ones going abroad
11:56
@zigi well, I'm abroad :)
are you in bulgaria right now
@zigi no, I'm abroad...
user1804599
I'm a brood.
I see, but the ones that go to live outside bulgaria are mostly like that, passive agressive with aspirations for success
@zigi yep I got it.
so, next unconference is in Bulgaria
11:57
and really looking for a dumb foreigner to carry them all the way
user1804599
Volkorenbrood.
haha
@rightfold English only, scum.
user1804599
The English only cum.
11:59
@rightfold so what do you work
Xeo
Xeo
Hm. So, I have differently sized tiers for values. And I need to find out which tier a certain value belongs to. Currently, I do that with a map (containing the tiers in ascending order) and upper_bound the value. That's O(log N). Any O(1) ideas? :D
user1804599
I work myself. :v
user1804599
No idea.
eenmanszaak?
user1804599
@Xeo hash table of (value, tier) pairs. Boost.MultiIndex?
12:00
^
Xeo
Xeo
I should've mentioned that the max value is 1.000.000.000
@LightnessRacesinOrbit Why do you care? You won't show up.
you can't have more than one decimal points
user1804599
They're thousand separators, nub.
user1804599
12:01
@Xeo buy more RAM and use an array!
@zigi That's interesting coming from a Bulgarian.
haha you Dutch people and your lame thousand separators
In Bulgaria you use commas for decimal points and dots for thousand separators.
not true
Xeo
Xeo
@rightfold it's sparsely populated, too :P
12:02
we use coma for decimal
and space for thousand
and dot for multiplication
so I am coming from the position of an English person
@R.MartinhoFernandes besides, how come you know about that
Xeo
Xeo
@rightfold the tiers are sparsely populated, I mean. As in, there aren't all that many tiers
user1804599
So use a hash table. :v
@R.MartinhoFernandes sniff
12:03
@zigi Oh, got that wrong.
FINALLY
a proper "write my code for me" question
@zigi I have an unhealthy interest in such things.
-4
Q: How to get data from this JSON

user3820108{ "code": 200, "success": true, "message": "Successfully", "total": 5295, "data": { "53bbc5a121df8f2541000000": { "id": "53bbc5a121df8f2541000000", "createdBy": "user", "status": "activate", "stats": { "at...

literally, just the question in the title
Xeo
Xeo
@rightfold That's not helping if I want to know which tier a value belongs to?
user1804599
@Xeo (tier, value) pairs then? :v
Xeo
Xeo
12:04
I mean, I know I can leave it with the O(log N) solution, but knowing if there's an O(1) solution would be cool.
and random crap that we're supposed to use as guidance in the body
nothing else
@ThePhD because pi*N/D is ... longer shorter?
0
A: How to get data from this JSON

Lightness Races in Orbit Select all Copy Paste ???? PROFIT

literally, just the answer in the onebox
@R.MartinhoFernandes me too, where do you come from?
Spain?
user1804599
@Xeo if you want to look up V by K, use hash table from K to V.
12:05
ooh burrrn
ah, Deutschland mein Freund :D
@LightnessRacesinOrbit And this is why I don't see the point in "closing questions ASAP" as is so often harped on on meta
Exactly. Agree with you. — Prince 1 min ago
@BoltClock well I shouldn't have posted that
i'm just repwhoring because I barely give a flying fuck any more :)
@LightnessRacesinOrbit -1, not enough jQuery
@AlexM. the jQuery is in step 4, dumbass
12:09
OOOOH
@rightfold is your father's side Polish?
user1804599
Yes, why?
hah, just wondering
I just like freaking people out by knowing stuff about them without them even suspecting
@zigi Portugal.
Portugal what?
ah, why does it say Germany in your profile then
12:14
That's where I live.
I see
some guy from Holland placed a 600 eur bet and guessed BRA - GER's score
and then won 1.3 mil eur
ITT LRO is a twat who is either too thick, or too fucking arrogant, for reasonable limits.
11
@AlexM. that man is anti-Robin Hood.
Stealing from the poor and stupid to give to himself.
12:18
how the hell do you guess scores like that
I bet he was like
"lol I'm going to throw 600 eur away because I can"
and after the match ended
"fuck"
Probably placed more bets.
I had 1 euro on "1-3, 1-4, or 1-5", at 23:1.
Was quite annoyed when Germany scored 0-6.
@thecoshman LRiO*
lolflag
user1804599
Fucking jQuery piece of shit.
ok done with college for some 3 months
for the first time in three weeks, I'll go to sleep and not care when I wake up
I'll do this now
cya
I do that every day.
I realised that I have a tendency to wake up at around the same time regardless of the time I go to sleep. That time is about half an hour late to work.
12:26
@R.MartinhoFernandes lol
@R.MartinhoFernandes tell your bosses you would start 30 min later and finish 30 min later
otherwise you are just another wheel from the corporate machine
programming is a creative work, they shouldn't force you to worke
when you hate it
cause you are more unproductive
@thecoshman Go on then, what did I do to deserve this?
user1804599
I want to work from nine to five.
user1804599
Nine PM, that is.
@rightfold Really? I don't want to work at all.
user1804599
12:30
I get bored if I don't work for a long time.
@LightnessRacesinOrbit Went too far with the language thing.
@rightfold There are alternative things to do.
@LightnessRacesinOrbit He doesn't like sex.
@R.MartinhoFernandes I'm not sure that joking about his inability to spell is on the same level as "a twat", "too thick", "too fucking arrogant" and "[beyond] reasonable limits". But okay...
and I said "no offence"!
though, granted, I did recognise upfront that he wouldn't be able to read that :D
@R.MartinhoFernandes Well, you could like do a hobby or get drunk or play games or something
@zigi That's what I do.
12:32
perfect then
@R.MartinhoFernandes Same, but five hours later. Or I would if not for my alarm. As it is I only get up because a daily call means my subconscious knows I have to; consequently I'm about an hour later than the other latest people. I more than make up for it by working into most evenings, though.
Pisses me off when people say "just go to bed earlier", as if that makes any fucking difference whatsoever
Alarms don't work on me.
There's a ton of ignorance and passive stigma attached to things like DSPS
Practically every ailment I have is entirely invisible and half of them nobody even believes
@LightnessRacesinOrbit whoops
12:35
I've been giving this play.google.com/store/apps/details?id=com.urbandroid.sleep a try, though, and it has managed to wake me up consistently so far.
this shouldn't have been deleted, though
It uses the accelerometer to guess your sleeping cycle phase and rings the alarm around the time you requested when you are in a suitable phase for waking up easily.
@R.MartinhoFernandes huh, might give it a go, at the weekend
@R.MartinhoFernandes so you have to wear your phone at night?
But it might just be the "new alarm effect", which on me wears off after a couple days and makes me immune again.
@LightnessRacesinOrbit Just put it on the mattress.
12:38
roarrrr
@R.MartinhoFernandes hm
Of course in mysql you add two dates with DATE_ADD, but you subtract them with DATEDIFF. What was I thinking?
If you have a smartwatch it has some integration thing, but I don't do smartwatches.
beautiful rep numberz
@R.MartinhoFernandes can't imagine wearing a watch to bed, either
@TonyTheLion om nom nom
@LightnessRacesinOrbit Yeah, me neither.
If it can still wake me up after the two weeks trial I'm buying it.
12:41
I quite like this pattern, too
gosh my rep-gathering really has stalled
lol?
My mind associates 1-3-2-4 with ignition sequences.
@Jefffrey seems pretty self-explanatory
queries would be a ton more complicated to optimise were that allowed
12:42
so what now?
function?
you're doomed
terrible
SELECT *, DATEDIFF(`expires_on`, CURDATE()) AS `remaining_days`
FROM (
   SELECT *, DATE_ADD(`given_on`, INTERVAL 6 MONTH) AS `expires_on`
   FROM `pink_papers`
   ORDER BY `given_on` DESC
   LIMIT 0, 30
) AS `_`
cheap as inner query has only 30 rows max
trwtf is DATEDIFF vs DATE_ADD
5 mins ago, by Jefffrey
Of course in mysql you add two dates with DATE_ADD, but you subtract them with DATEDIFF. What was I thinking?
user1804599
12:44
Crap.
Later, I don't feel like it right now.
@Jefffrey thumbs up smiley
@Jefffrey ....
what was the point in me spending time answering your question then, fucknut
@LightnessRacesinOrbit I don't want to crap right now.
Xeo
Xeo
@rightfold Lemme try again: I get tiers defined through some data. [1, 10, 1000, 100000], something like that (first tier is just value 0, second tier is 1-9, etc). Then, I get a value and need to find the bucket (tier) that value falls into.
12:46
@LightnessRacesinOrbit That really scales well with 3 or more chained "columns".
how can you show a person who thinks he knows all that he should think more and listen to other people's opinion and not only think he knows best?
SELECT *
    , DATE_ADD(given_on, INTERVAL 6 MONTH) AS expires_on
    , DATEDIFF(DATE_ADD(given_on, INTERVAL 6 MONTH), CURDATE()) AS remaining_days
FROM pink_papers
ORDER BY given_on DESC
Falls in love. Dies on impact.
dat pun
Oh, it's "firing order" not "ignition sequence".
The listing is so short I don't see any code :) — sehe 17 secs ago
12:51
@zigi I think that person has to find that out for themselves. Hopefully walk into enough walls to realize they're wrong.
yeah
he's been waling for several years
he's just stubborn
and thinks he knows it all
always
does blender work on linux?
@TonyTheLion Walking into walls doesn't help anyone. I know.
@Crow yrd
@R.MartinhoFernandes lol
12:55
@zigi You can't. Wait for him to learn through failure.
Oh, as Tony said
that's bad
I work with him
I'm sorry
user1804599
@Xeo ooh, I see.
I have local variables in my class method. Should I capture local variables with copying? — Narek 2 mins ago
yawn
user1804599
12:58
Hash 1-9 to the same value.
@Xeo Interval tree
Maybe

« first day (1362 days earlier)      last day (3812 days later) »