« first day (617 days earlier)      last day (1811 days later) » 

12:04
public void onSensorChanged(SensorEvent event) {
{
if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {

x = (int) Math.pow(event.values[1], 2);
// y = (int) Math.pow(sensorEvent.values[1], 2);
//Log.i(tag, "Get_Angle onSensorChanged..X is.." + x);
txtanglex.setText(x.toString());
//txtangley.setText(y.toString());

getAccelerometer(event);


}
if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) {

}
//init();
}
}
1 message moved from Android Discussion
 
9 hours later…
21:24
0
Q: Setting two element's position(relative) using javascript and css - Stopping them move across

Jordan RichardsI'm having trouble with setting 2 div's position without one of them moving to the right/left the width of the other div. They push any elements either side over by they're own width. What I mean by this, a visual: How can I stop this from happening, whilst keeping both of the divs relative?

whoops wrong room!
2 messages moved from PHP
 
2 hours later…
22:57
@Cheersandhth.-Alf That's some seriously fucked up formatting :)
@JerryCoffin when editing xml with a schema, it freezes the UI regularly while it re-downloads the schema.
@zneak Well, I wouldn't use it just for editing. I live in VS2010 during the day, and I like it, but I'd use gvim if it weren't fro ReSharper (and I use VsVim)
@sehe you're just seriously space-challenged, and/or taking the position of programmers too lazy to format correctly
@Cheersandhth.-Alf 'correctly' - troll on :)
@sehe of course, when u have no arguments u start name calling
23:00
@zneak Mmm. I'd suggest loading the files from outside the the solution anyways, having them 'there' wouldn't really add much. Perhaps there is a VS extension/plugin that lets you browse physical folders, like you seem to desire?
first challenge, then giving up already, call names
@Cheersandhth.-Alf And 'u' start dropping words
@Cheersandhth.-Alf Hey. It's obviously not about 'correct'. So, case closed. It's about taste, and you are clearly not interested in discussing it.
@sehe At one of my jobs this style was prescribed in the coding guidelines. To be fair it was only to be used to break up lengthy expressions. But still.. :)
23:01
@Cheersandhth.-Alf "taking the position of programmers too lazy to format correctly" - GTFO, please
@StackedCrooked I actually use similar conventions. But ONLY if readability is served, yes
@sehe hey, enough offensive words already. and you have already given up. so no point!
@StackedCrooked other than ( on it's own line, I do that for long/complex expressions
@Cheersandhth.-Alf meh. Troll on :)
@sehe and also enough name calling already. can't you stay down, dog?
ok
@Cheersandhth.-Alf ?!?!? What are you doing? Seriously, I don't follow
23:04
Are we calling each other dogs now? Oh wait..
he called me an ugly troll, several times
i feel justified in then calling him a dog
but not "bastard"
Is there any real point to this conversation except calling each other names, and then whining when you get called names in return?
I dunno are you troll or not, but definitely behave like a troll. sometimes.
Ell
Ell
stop fighting :'(
@Cheersandhth.-Alf Link, or it didn't happen. Seriously, stop the windmill fighting
23:06
Silly bickering should be binned.
also, that formatting sucks. IMO.
@Cheersandhth.-Alf If my comment about the formatting crossed you, I apologize. I thought it would be fair game in this lounge. Tastes differ. I'm wholly unable to see why you pick a fight over it, and aiming so low from the start. I'm going to assume you're not feeling too well/having a bad day.
@StackedCrooked Welcome to it, I concur
I can't control-click :( My Mac makes that a right click.
@sehe just shut up. everybody saw you call me a troll several times. and it's you who (1) started and (2) are continuing, everybody can see that too
@StackedCrooked ROFLMAO :)
23:07
@StackedCrooked aren't Macs AWEOME?
@Cheersandhth.-Alf yes we can. He insulted your code formatting, you insulted him. I'd say you started. Also, takes two people to continue an argument. You're both equally guilty there.
Hold on to that thought, grabbing some popcorn.
@Cheersandhth.-Alf So, when did calling someone's action "trolling" become calling that person an "ugly troll"? I didn't even call you a troll, because you aren't (...). Your first response was clearly full of troll, as I pointed out earlier:
10 mins ago, by Cheers and hth. - Alf
@sehe you're just seriously space-challenged, and/or taking the position of programmers too lazy to format correctly
@Cheersandhth.-Alf He has called you a troll, but the "ugly" part seems to be purely in your imagination (a quick search shows that "ugly troll" appears in only one post other than yours, and it was talking about Apple).
i think your comment that i responded to, using the term fucked up, was quite trollish
also the rest
@Cheersandhth.-Alf It was intended to be trollish, indeed. -ish. I dislike that formatting. A lot. The strong wording was to make it non-serious
23:11
@Cheersandhth.-Alf It was not trollish. I'm fairly sure of that.
Both to your rooms!
2
@StackedCrooked you're saying @sehe failed?
@JerryCoffin Hehe yeah.
Time for me to grab popcorn :)
67 messages moved from Lounge<C++>
23:18

« first day (617 days earlier)      last day (1811 days later) »