« first day (676 days earlier)      last day (4498 days later) » 

19:00
I wish the pizza guy got the nomination I totally would have voted for him
now GM is making profit and we made profit from bailing them out
user457812
I think it'd have been better to let GM fail.
user457812
They failed because they were doing things badly, so they had it coming.
jobs would have been lost and we would have lost one of the biggest American car company
user457812
19:01
Let someone else take their place.
why is that a good thing?
user457812
I don't care if they're an american car company.
but they are home grown. They employ more people here
user457812
It's a good thing because it means there's more room for competition once GM is gone.
if a japenese car company took its place, you think they would employ us or their own people
user457812
19:02
Something new could rise up out of GM's corpse, like a beautiful disgusting spleen-covered butterfly.
user457812
If they're operating in the US, I think they'd have to employ us.
there is already competetion
toyota is number 1 right now
we have to do better
user457812
Doing better does not mean propping up failing companies.
most people buy japanese cars because they are cheap and reliable.
but now they are doing better and making us money.
We already got back all the money we spend on bailing them out.
user457812
Yeah, I'm not saying it didn't work out.
19:03
GM used the money we gave them to sell cars in China and that made us huge profits
so at the end how is that a disappointment?
user457812
It worked out fantastically well. I just disagree with it on principle -- I firmly believe that if you run your company into the ground, you shouldn't have a get-out-of-jail-free card in the form of a bailout.
^ yup
do you know why Israel is one of the top R&D place in the world where start-ups have the most success?
saving GM because it competes with foreign business is noble, until you see the huge cuts in private support, research, science, and space program
look at RIM - Dont expect the government to bail them out (although I wouldn't be surprised)
user457812
19:05
I think Canada might actually bail out RIM.
Its not because they have more scientist or engineers but because their government spends money on business that fail and bails them out
user457812
@Pyrodante That's another issue.
@Pyrodante yea but ... the space program.... what was the last thing they ever did but spend a shit load of money on nothing. (since 1973)
@nil I doubt it.
user457812
Especially when you consider we continue pumping money into defense, and it's necessary to put money into that, but not the amounts we've spent on it.
They have realized that starting a business venture is not always successfull but you have to keep trying which is what the culture there alows
19:05
RIM is not in debt. they just have lost all profits
user457812
@rlemon That's why I expect them to get a bail out -- RIM is basically the big company Canada has, and if they die, that'll look bad.
The space program needed to be privatised 30 years ago
if we keep this attitude up, China will beat us
user457812
If they do, it'll probably be completely justified
19:08
and not just in making pencils and pens but in high end technologies too
user457812
I'm not really opposed to China beating us though -- I'm not nationalistic in any way.
China recently gave its solar industries so much tax benefits and incentive that now their solar industries are beating us
@nil we have more than RIM - and RIM is not in debt, they seem to be managing their own finances by closing international plants and offices. so by the time they do "go under" meaning they have no money left and need to borrow... will be long away from now. and by that time I suspect they will have sold off most of their assets and downsized considerably.
well I am nationalistic
user457812
I have zero pride in my country because having that would be a failing for me.
19:08
how so?
user457812
I don't believe I could clearly look at the situation while being a nationalist.
would you rather be ruled by the Chinese communist party that oppress freedom?
user457812
Business success does not lead to the Chinese ruling us.
true that but you still need to have some nationalist values
not the way the Chinese do business
user457812
No, I really don't need to have nationalist values. I have beliefs that I'm stuck with thanks to indoctrination, but I can suppress those when I try.
19:10
they funded the government in Africa that caused a genocide so China could keep its oil supplies safe
user457812
The thing you fail to see here is that they're not going to invade or take over the country when they only need money.
that is just one example of how China does business
user457812
And we drove Egypt and many other economies into the ground because they sided with the Russians.
user457812
We're just as bad.
Are you serious?
user457812
19:11
Hell, we support Israel, which is just horrifying.
the dictator is egypt was mass murdering its own people
user457812
Which isn't to say the Israeli people are bad, but their government is really, really terrible.
user457812
@ProgrammerForNow No, I'm talking about back during the cold war.
well as you said it was the cold war
user457812
Egypt was making inexpensive equipment and we ran their economy into the ground because they got money from Russia to assist development.
19:13
well getting back on China. It claims the whole south-sea as its own
user457812
@Antigluk You've got write access. Read the rules, follow them, write them using crop circles, etc.
so it can get access to the oil supplies
user457812
And we invade countries for oil supplies.
many south-east Asian countries hate China. They don't like China's growing power and like us better there
user457812
So, who's worse? The one who claims some area of a map or the one who goes in and kills people?
19:14
does Afghanistan have any oil supplies?
Canada has enough Oil to supply itself and the entire US for 100+ years. We don't drill for most of it, and the stuff we do take out we sell 70% off then buy oil from other nations... it makes no sense.
no it does
we buy the raw oil but most of the oil is refined in United States
that is what we sell
@ProgrammerForNow yes it does. you know how much oil is under the ice up north? not to me. i c now
well we are better at refining oil which is where we make money
we really don't need to drill
user457812
And yet we do.
19:16
@nil dude, history of Canada. Great Britain claimed it without ever setting foot on it. the Hudsons Bay company (now known as just The Bay) purchased it for like $300K and a few beaver pelts a year. at the time we were Upper and Lower canada (Ontario and Quebec) - then the Hudsons Bay company slowly sold off land to the (now a country and not a monarch of great britain) new Canada
even after refining oil, we stick to true private policies. If it was China they would keep it themselves
the decision to invade Iraq was that of the United nations
user457812
Plenty of countries have just straight up claimed chunks of land from other countries (look at the colonization of Africa), so it's nothing new.
it's good for USA that you have blocked wells, so you can allow to drill them when world's amount of oil will be not enough to supply themselves. It's right economical decision
@ProgrammerForNow Heavily swayed by the Bush administration
Saddam Hussian was buying huge supplies of chlorine which is used in either in swimming pools or making wmd's
user457812
19:18
@ProgrammerForNow We never found any weapons.
Saddam hussian was warned to stop importing mass amounts of chlorine
user457812
That's what counts.
@ProgrammerForNow there is also mild amounts of it in your water supply for purification
we found mass graves of people suffering from wmd's
user457812
WMDs that didn't exist?
19:18
he had already used them on kurds
he couldn't make more
Weapons of Mystical Disturbance
user457812
At any rate, this discussion is getting annoying because it's not what the room is for.
user457812
Oh yeah, @Aracem, you have write access. Read the rules, follow them, paint them onto the side of a building and tell people they should follow them too, etc.
after repeatedly warning him, we with allies finally invaded him
WMD::WMDAbstraction::WMDFactory { ./..
19:19
it was interesting for me, entering Android discussion and reading world politics debate
user457812
@Antigluk It's uncommon. I blame @ProgrammerForNow.
ok I will stop

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
hey I am just giving you the facts
19:20
^ This room is not often on topic
it's ok!) where you can discuss it but here?)
user457812
Most rooms aren't 100% on topic.
user457812
It's like the rule of IRC: the discussion is always the opposite of the channel topic.
I see the room topic as more of a "guideline" and not a hard rule. We are (mostly) all adults and coming into the room I expect everyone here knows something about Android and is just chilling and waiting to help the stranded users who finds his way here. For the rest of the time however, the topic is whatever is currently interesting you.
@Pyrodante lets talk about eve
19:22
because discussion of one topic forming primitive society, and when all topics are discussed you wouldn't go to another room, because you have simple trust to people in chat
um... K :P
user457812
I believe it's time I go read more manga. Because I'm bored while waiting for classes to start.
in a meeting zombie eyes
user457812
Also, I'm the room owner who hates Android development.
when you send me the ISk..it will be in my eve mail or inventory?
19:24
it will be a notice in your wallet
@nil we can talk politics whenever you like
user457812
So, I don't help stranded users, I just share cynicism.
I own the jQuery room and my first advice to all is "stop using jQuery*"
* there is always explanation
user457812
Good advice.
19:24
I love jquery.mobile
@ProgrammerForNow and I now hate you with the fury of 1 million bengal tigers fighting over a single gazelle
jquery is useful for fast making front-ends like admin page
jquery+bootstrap is great
for this purpose
jQuery is not needed for bootstrap - I just haven't gotten around to re-writing all of the components yet.
however it is a pretty good use of it (the component code is nice, after you add a few ; back to it)
I can't picture 1 million bengal tigers fighting over a single gazelle
sounds too crazy
19:27
question one) Do you know Javascript? question two) Can you open up the jQuery source and honest to god understand it?
If you answered yes to both of those and you understand the limitations of the toolkit and when it is proper to use it... by all means. go for it.
if you are at all confused about Javascripts language agnostics why in the name of pete would you use one of it's abstraction toolkits.
I recently started in javascript
still getting the hang of it
notice how I call it a toolkit and not a library... virtually the same thing but with modularity now it's more of a toolkit, and this distinction keeps more newbs from thinking it is a language replacement to js
I had to develop mobile apps across multiple platforms and we used jquery mobile for that
i'm not front-end developer, but sometimes i have to do some pages. i don't want to learn entire javascript and implement one simple animation or something, i just use jquery
same things with bootstrap.
I mostly used backbone.js and underscore.js
for my back end work
19:30
@Antigluk and if you had to do some "minor home repair" would you put your new toilet in with duct tape or would you pick up a book and learn how to do things properlly
Javascript takes at most a week to learn, it's frigging easy
DOM API is a beast because of... well ... IE
so you get a SHIM and you're set.
or just learn the caveats of IE (pro tip: support latest two versions only and this is not as huge an issue)
i know javascript, but why should i learn it DEEP? especially differences in browsers
i just know that jquery works in most cases
there are no real difference in browsers unless you are talking about the DOM API
but you don't know why it works which is the issues i'm pegging at. hey if it works for you cool - but if you took a week... just a week... you would be able to do so much more without any problems at all because you will have gained more understanding.

Learn Javascript Videos

Apr 27 at 15:10, 1 minute total – 7 messages, 1 user, 0 stars

Bookmarked Apr 27 at 15:13 by rlemon

I suggest these to everyone old and new to JS.
wait
i said that i know javascript
the title is condescending.
just look at the title to each video (minus the first if you are comfortable with the DOM)
i don't know it such deep to understand fully jquery code
19:33
so is this about learning about videos about javascript
or videos about learning javascript
:P
@Pyrodante the first vid is about the DOM API and why it is so..
the second video is about optimizing speeds and performance.
the rest are just really good talks on writing proper clean efficient js.
I have been writing JS since like 1998 - I still watched these.
I should have made the title less condescending but ohh well.
the videos are gold.
and @Antigluk a DEEP understanding is meaningless.. you realize how small the Javascript language is compared to others. also duck typing making things even better.
thanks, look at leisure
jQuery source is full of hacks and shit to make it full compatible. you don't need to know these "hacks" you just need to know agnostics, scope, scope chain, and the basics behind the DOM API and what makes the DOM API and Javascript different.
user457812
Note to self: never look closely at my left leg ever again.
19:37
@nil that is strange dude.
@rlemon about duck-typing i absolutely agree
user457812
My entire left leg has a birth mark, but I noticed that there are little dark red spots that seem to be blood on it.
i love python and one reason is duck-typing
not only about this, but it's crazy nice
@nil mosquitoes?
user457812
The amount of mosquitos necessary for this would be roughly equivalent to hanging out in a swamp, naked.
19:41
@nil please make a doctor's appointment
it's strange
user457812
This is most likely just because the blood vessels in my leg are dilated.
user457812
Though this does make my leg useful as a thermometer.
user457812
It's normally red if it's warm and turns purple if it's cold. This freaks out some people because they assume purple is bruising/no blood flow and red is burn marks.
@nil I have 3 of them on the back of my hand. and have for as long as I can remember, the doctors tell me they are not blood filled but it's the pigment in the skin has changed.. they told me not to worry about it.
user457812
19:44
Yeah, it's a non-issue for me.
user457812
I've had it since I was born, doctors said it's completely harmless.
over my lifetime they have slowley faded and are almost none visible anymore (although if you have many this might not be the case for you)
not the birth mark, the red spots (we are talking about that right?)
you can make pallete and paint scale by temperature in respect of color :p
user457812
Well, the red spots I don't care about. They aren't an issue.
user457812
It's only a problem if I'm in pain.
user457812
19:46
And my leg's never had problems.
I have psoriasis (small patches) on my face and arms... in the winter they get little white bumps (smaller than a pimple, but still visible) and in the summer they do not tan.
you wouldn't notice it unless I was there and pointed them out. but it's strange to have a small patch of skin that wont tan
user457812
Most people don't notice my birthmark unless I wear shorts, which is pretty uncommon.
ok I am getting out of here now
user457812
You can see the difference in skin color in this picture if you want, though I won't onebox it since it's a pretty big picture and nobody really needs to see my skin colors.
user457812
Alright, I got lazy enough to register my actual name on Twitter as a separate account
user457812
19:59
Just to ensure nobody else takes it.
You got lazy enough to do something....?
how does one get lazy enough to take action?
sometimes i register on resource and got error that such nick already exists... and when i click restore password it happens that i did register there long time ago
crazy
'cause it happens wery often
hmmm
so the stacks are getting tangled
when i do inter-application intents
user457812
@FoamyGuy I basically accomplish things by being so lazy that it becomes necessary to do something to ensure future laziness.
user457812
.. That's going in a tweet now.
20:16
I see
20:28
posted on August 22, 2012 by Tor Norbye

We've just released an updated preview of ADT 21. See the ADT 21 Preview page for installation instructions and a list of new features and bug fixes.

does that get posted to here automatically?
yea
/not installing
user457812
ADT updates are irrelevant to me, seeing as I don't use Eclipse.
Hard work pays off later.... Laziness pays off now!
user457812
20:45
It pays off especially well when I wrote software precisely so I can be lazy.
user457812
The only downside is I end up not getting to spend my time being lazy.
22:01
@nil you're right on that! Israel is just terrible... I don't why so many people assume you are an antisemite if you support palestinians(and/or are against Israel), this has nothing to do with religion.
I don't get*
oh.. this is out of context now.... should have refreshed the page before wrighting something... :/
I want a regex that checks if a string has more than one "." (dot). I was looking at the documentation and I found "X{n,m}?" which mean "X, at least n but not more than m times". So instead of "X" I would put a "."? something like: string.matches(".{1, 2}?"); ??
user457812
22:36
@0gravity That depends on whether the string only has dots.
I posted a question on SO. but my question is how to know how many dots does a string has. for example: "Hel..lo."
user457812
If you wanted to do that, I think a regex is a bad way to go about it
user457812
If you need to know the actual count .. holy crap my eyes hurts.. damn onion.. you should write code to do it.
1
A: How many dots are in a string. (Java)

Aleksander BlomskøldAs mentioned in the other answers, your regex contains a bug. You could either fix that (escape the dot), or use String.contains instead: if (myString.contains("..")){ System.out.print("it works"); }

any ideas?
Rule of thumb if your stack overflow question does not gets an answer that works by 30 min. The odd of getting an answer that works decrease exponentially.
23:00
are you trying to get a count of how many dots? or just to know that there are 2 or more? @0gravity
I just want to know if the string has more than two dots that's all.
like He.lo.lol.
hel.......looo
ok
you want (dots >= 2) or (dots > 2)?
dots>=2
Did you try MadProgrammer's answer? that seems to work for me
Ok this works. tempString.indexOf('.', tempString.indexOf('.') + 1) != -1)
23:13
if (myString.indexOf(".") != myString.lastIndexOf(".")) {
Yea I just tried that one too, and it works.
23:30
anyone worked with the maps api much?
23:47
Hey gents. Can you confirm ExifInterface only works on "jpegs," and not "jpgs?" The only question on SO about my issue has that has an unaccepted answer.
uhh
i could be wrong here but im pretty sure jpeg = jpg
That's what I thought too.
I'll post a proper question; thanks JMR
it looks like theyre the same
that being said ExifInterface won't work with pngs im pretty sure
but any jpg or jpeg (images with info in their header) should work just fine with that class
right, but that doesn't mean the library interrupts them as the same.
I agree... give me a minute to post some code/explain what's happening.

« first day (676 days earlier)      last day (4498 days later) »