« first day (674 days earlier)      last day (3114 days later) » 

12:13 AM

OOP for Noobs

A room for noobs pretending to try to learn OOP. Ask anything ...
 
12:35 AM
SO chat huh. pretty new to this!
 
welcome
 
1:03 AM
who let the poser doge in?!
 
1:43 AM
who?
 
2:07 AM
mosho
 
Moshi moshi?
 
3:07 AM
!!urban smh
 
@CSᵠ smh Acronym for 'shake my head' or 'shaking my head.' Usually used when someone finds something so stupid, no words can do it justice. Sometimes it's modified to 'smfh' or 'smmfh' by those that prefer profanity in their internet acronyms.
 
 
2 hours later…
5:19 AM
morning
 
Hi
 
yo
                                                                      hi
 
6:07 AM
hi
is there a way to make string capital in html
<md-select md-theme="teal" placeholder="Chart type" ng-model="widget.chartConfig.options.chart.type"  >
            <md-option ng-value="t.id" ng-repeat="t in widget.chartTypes">{{ t.id }}</md-option>
          </md-select>
i want to make this t.id capital
 
style="text-transform:capitalize"
 
where should i apply that
 
Wherever you want the text capitalized?
In this case md-option
 
posted on March 05, 2015

New Cyanide and Happiness Comic

 
6:23 AM
@BoltClock @FrontpageExpert Thanks
 
i can't find the msie9 installer for windows 7 x64
lol
only vista and windows server
@JonathanSampson why i'm not allowed to download msie9 anymore for windows 7?
 
7:05 AM
one question from JSP
 
7:35 AM
posted on March 05, 2015 by kbironneau

/* by Reaper */

 
7:52 AM
Hi, got a quick question regarding LocalStorage
I know a value but I don't know the key with it, is there a possibility to remove an item in the Localstorage with knowing the value, and not the key..? Thanks!
 
8:06 AM
@HuubS for (n in localStorage) localStorage[n]===known_val_here?console.log(n):'';
 
8:25 AM
@CSᵠ Thanks!
 
:)
 
hi, i have two forms in my jsp and they are pointing to seperate actions to their destined servlets, one servlets retireves the textbox as null and other servlet retrieves the textboxbox value as empty whats the reason of it?
 
9:20 AM
morning ppl
 
mornign
you are a bit late out of bed
 
O/
!!hello
 
@Persijn You iz in mindjail
 
9:25 AM
Bot doesn't like me :(
!!sad
 
:D
I have a upload application (asynchronous) which uploads a file to a server, im checking with an if statement if a url has updated and then I save it to the database, is this the best solution?

for (var i=0; i<jsonObj.length; i++) {
if (jsonObj[i].cardurl.indexOf("file://") => 0) {
uploadPhoto(jsonObj[i].cardurl);
if(document.getElementById('cardurl').value.indexOf("file://") > -1)
{
jsonObj[i].cardurl = document.getElementById('cardurl').value;
}

}
}
 
posted on March 05, 2015 by kbironneau

/* by Kingos */

 
9:49 AM
Anyone knows why I'm getting an XML error when trying to AJAX it in ONLY on Safari (Mac version)? Getting a parsererror and a "missing declaration" of the first node
 
@Eirinn that sounds a lot like missing ";" or missing "{ }" error
 
@Persijn just weird that it's only on Mac Safari
the XML is dynamically generated by a system and I'm thinking it might be a content issue somewhere
 
how to make text font fit the whole div area (enlarge to 100% width)
 
10:05 AM
@CSᵠ justify
 
will that increase font size?
 
no that will make the text space out so it fills the entire thing. You actually want to make the font wider?
!!mdn text-align justify
 
So down?
 
10:19 AM
Lol, I solved an alignment issue by using display: table-cell. Had to explain to three separate colleagues why this really is the way to solve this. They really don't like table-cells
 
@mikedidthis tyvm
so... no css trick?
 
@CSᵠ maybe vw?
!!mdn vw
 
Its possible with vw if you know the word: jsbin.com/gecohereru
!!caniuse vw
 
hmm
good point
 
I'm so happy i don't have to develop for opera mini. It seems it does not have support for anything XD
 
What's the point in a mini browser?
Or does mini refer to mobile?
In which case why is it not called Opera Mobile .. or just Opera ...
 
Opera Mini is a really basic browser, with built in data saving. Opera Mobile is more like Chrome Mobile
Opera Mini is great if you are on payg and are out and about. Also works around age related content :D
 
10:42 AM
what is age related content?
 
gambling / p0rn etc
 
"Opera Mini is one of the world's most popular web browsers that works on almost any phone." that's a bold statement with 3.4% of users.
 
Opera Mini is forced onto Blackberry
could explain the 3.4
 
@Sippy opera mini is a brilliant browser. instead of rendering pages, it transfers rendered pages as images from opera servers
it works like a vnc software basically
 
^which is crap and breaks a lot of things
 
10:52 AM
^
 
but anyway... i don't think people still use it
it was popular when mobile browser sucked
 
Is there browser support for those kindle things?
 
0/
 
fuck it, i hate frontend
i don't get it
 
11:00 AM
it hates you 2
 
it has no soul man
and also it can't hate me
 
hai
 
Oh also yall need to know, MAC IS FUCKING AWESOME
mmkay
 
gtfo
 
11:03 AM
bullshit
 
nerd
Can we stone you for that?
And no that doesn't mean what you want it to mean
 
try upgrading that shit and come back to me
 
what, get stoned? :P
 
Got it yesterday and upped to yosemite
that 2 :P
 
11:04 AM
@BasementKeyboardHero coz your homosexual
 
The day mac is mmkay is the day i use tables for layout.
 
(please don't flag me)
 
@FrontpageExpert I thought we weren't gonna go public about that night in italy....
 
@BasementKeyboardHero sorry, I mean hardware upgrades
 
@FrontpageExpert Phtephen announced his arrival yesterday with "SUP NIGGERS", I think you're okay.
 
11:05 AM
@BasementKeyboardHero ahah
@Sippy ahahahah
 
@FrontpageExpert Because his homosexual what?
(Poking fun at you misusing "your")
 
@SomeGuy you're
i was being illiterate on purpose. asshole :D
 
^ ya rite
:D
 
I got this one
15-inch: 2.5GHz
with Retina display
Specifications
2.5GHz quad-core Intel Core i7
Turbo Boost up to 3.7GHz
16GB 1600MHz memory
512GB PCIe-based flash storage 1
Intel Iris Pro Graphics
NVIDIA GeForce GT 750M with 2GB GDDR5 memory
Built-in battery (8 hours)2
 
you see i even know the word "illiterate"
 
11:07 AM
Is it safe to say I won't need an upgrade anytime soon? :P
 
Basement your on a laptop?
 
how much did you pay for that, like 5000lebandollars
 
hahahahha
2599$
!!> 2599 * 1500
 
@BasementKeyboardHero 3898500
 
11:08 AM
that's a lot
an equivalent pc notebook would cost half that
 
Nvidia 750M, plebs
 
I have a pc ^^ I wanted the OS
 
Ah k
 
@Eirinn getting the 980 in april, i ll be in the states that's 300$ difference from here, that ll go into my desktop
 
@BasementKeyboardHero what is happening to you. first you leave isis then you buy macintosh...
 
11:10 AM
hahahahahhaha
 
starbucks bro
American propaganda
 
resolution?
 
the display is the only cool thing about apple notebooks actually
quality is at best
 
the display looks sick
@CSᵠ 2880 smth
It really is one hell of a machine
 
11:13 AM
ossm!
 
And it's retard mode to use it
Like really
 
feed it brains
 
So you get to focus on developing instead of setting shit up
I was up and running in 30min after yosemite installed
 
was looking at a lenovo yoga
 
Thing is every laptop i v ever bought here sucked ass, last one was a 1600$ hp dv6 that sucked dick and served as a toaster
 
11:17 AM
@BasementKeyboardHero sounds like my gf
9
 
@BasementKeyboardHero what's the passmark on that cpu?
lol :(
 
@BasementKeyboardHero check this out: shop.lenovo.com/us/en/laptops/lenovo/yoga-laptop-series/… then rush to get your 30day moneyback guarantee
 
lol
cough superfish cough
 
11:22 AM
that's in the bios right?
otherwise, ditch the os and install what you want, like... FreeDOS or smth
 
@mikedidthis That is so perfect
 
@SomeGuy do you know her? :D
 
Oh shit, it was supposed to be a secret!
 
His girl makes great toast, that ain't no secret.
 
@CSᵠ and start looking for drivers and shit :D
I d rather just have shit work out of the box
 
11:37 AM
yea, prolly
 
11:56 AM
@CSᵠ My mom has a Yoga 1
 
@Eirinn so, how is it?
 
@CSᵠ Some trackpad issues, but besides that it's kinda neat. The convertible feature is awesome.
 
just made a shit: cs1000.github.io/phi
 
@CSᵠ I r 2 dum
what does it actually do?
 
umm... let it ride
it'll stop and tell you
 
12:01 PM
Hello
for SEO experts :
i know that it is good to make ur site have a friendly URL
for example mywebsite.com/news/
SO why youtube have an old url structure that has parameters
look this is url of youtube : youtube.com/…
 
because they don't care
 
youtube . com / watch ? v=wiNV12JP0jg
 
and because they're everywhere
 
but they should stick with url friendly structure
i think they have a reason for ignorin it .
 
youtube is owned by google you know
 
12:03 PM
:D
so u don't think that they have a reason by doing this
 
@Eirinn computes the value of PHI, via the fibonacci sequence
@Bassem i don't care, maybe someone else knows
obvious reasons would be: 1. "why?!?!?!?" and 2. "break BC"
 
reason 3, replacement videos can be made
 
i am also don't care but i was asked to prepare a presentation for SEO that why i need to know the reason :D
 
title may no longer make sense
 
@Bassem not really. As mentioned, Youtube is owned by Google anyhow and is very well known. The use of pretty urls would make them need to use static routing, which adds an (probably marginal, but still) extra computation layer over a request, as you'd need to determine the id of the video somehow out of it.
 
using a parameter that gives you the exact ID is pretty straight forward
 
@GNi33 considdering the millions of requests this could actually amount to quite a lot
 
and, how would a pretty url for yt-videos look like anyhow?
@Eirinn exactly, I would guess performance is a reason here
 
The meta data is more than enough
 
reminds me of the signed int DB issues they had with gangnam style lol
caused overflow
 
12:06 PM
@Eirinn rly?
 
@Eirinn well, yeah. that was an architectural issue
 
damn that one broke the charts
 
A stack overflow? :D :D :D :D :D
 
guess they didn't think a single video would spark this much interest
 
12:07 PM
Gangnam Style overflows INT_MAX, forces YouTube to go 64-bit
@GNi33 exactly
The maximum value of this number type, 2,147,483,647, is well known to C programmers as INT_MAX. Once INT_MAX is reached, attempting to record another view will normally roll over to -2,147,483,648.
 
that's hilarious
 
posted on March 05, 2015 by Remy Porter

Renee’s company was a Silicon Valley managed services company. They needed the best data-center they could find to house their infrastructure, and cost was not an object. They loaded up a dump truck full of money and went shopping for the most expensive hosting they could find. For Renee, this meant lots of data-center tours. She played the tame geek for her management, ostensibly

 
this is happening more than one would imagine
 
why don't they just start at -2,147,483,648 and start counting there
 
Wasn't there talk about going from signed to unsigened to fix that issue?
 
12:08 PM
then on display just add that amount to make it look like it starts at 0
 
@StephanMuller using unsigned would net them the same result no?
 
it makes no sense to use a signed int for this anyway
 
^^ this
 
I have no idea what all of this means
I'm just talking to hear myself
 
@gni33 but parameters now called "OLD URL STRUCTURE" as per SEO topics
 
12:09 PM
signed int -> there's an extra bit to determine if the number is negative or positive
 
signed just means it can be negative
 
you're all nerds
 
@mikedidthis , what is this link for
 
!!phanks
 
that means this bit cannot be taken by a number of the int, making the range (much) smaller
 
we outsmart Stephan :D
 
@Bassem shows you what data google picks up from the link, using micro data
 
unsigned just means the number is positive by design and the extra bit can be used to store "number-information"
 
@GNi33 half smaller
 
I'm running out of english here...
yeah
 
12:10 PM
Unreal Engine 4 went free and gave me $30 in store credit as thx, I like Epic :D
 
don't mention UE4
:(
 
Unit 5 goes free as well
@GNi33 why not? :)
 
don't mention Unity :(
:D
 
I'm sensing a disturbance in developer dreams here :P
 
reading about it always makes me want to play around with it... thus reminding me that I don't have any freaking time for this at my hands, which in turn makes me haz a sad
 
12:12 PM
Where is @FrontpageExpert?
I want to tell him I just did his mother
 
@GNi33 I'm doing some development for Virtual Reality using UE4 :)
 
Played around with Unity 3(?) for some time, loved it
but it's a time-sink of unbelievable depths
 
@PeeHaa you are disgusting, my mum is 65yo and fat
:D
 
<3
 
@FrontpageExpert SEXEH
 
12:13 PM
Morningi all
 
being a 3D-Modeller (wannabe, time is a problem here too) makes it even better
 
@PeeHaa Hi Pee
 
@PeeHaa check the first pinned message -> i made a room for specifically annoying you
:D
 
hnnngh.
screw it, downloading Unity now. dammit
 
12:16 PM
Valve's headset looks amazing
 
wait, when did Unity 5 come out?
 
If you get UE4 you can add me as friend in the developer console
like...yesterday
 
haha
jesus. I just realised I already downloaded Unity 4 like last week
 
xD
 
jesus, okay, I'll just get the new one then ;)
alright, as I'm getting the choice now. Unity or Unreal Engine?
 
12:20 PM
Do you know C# or C++?
 
Ima unity lover here, but i never tryed Unreal Engine
 
@Eirinn both, haven't done too much with those languages for a long time though
 
Unreal Engine 4 uses primarily visual coding
so nodes you connect to each other
I msut admit I'm a fan of this
 
ewwwww
that doesn't sound really motivating though
might have to try it
 
12:42 PM
You can code in C++ however :)
 
cc @BoltClock
Can you fire people who don't work for SO?
 
12:54 PM
@Eirinn could be a good way to get into c++ again, thanks
 
@GNi33 what's your UE4 account name? :)
 

« first day (674 days earlier)      last day (3114 days later) »