« first day (1875 days earlier)      last day (3074 days later) » 

8:06 PM
$scope.canEdit = function() { return true; /* TODO Add logic */ };
just did one of those today
 
8:17 PM
function generateGuaranteedRandomNumber() { return 4; } still wins :P
 
user47589
aaarrrrghhhh. dt.toLocaleString('en-US', { year: 'numeric', month: '2-digit', day: '2-digit' }); returns different values in different versions of IE. in IE11 I get "01/01/2016". In IE10, I get "Friday, January 01, 2016 12:00:00 AM".
 
user47589
//cry
 
user47589
!!cry
 
@Amy That didn't make much sense. Maybe you meant: fry
 
user47589
bah
 
8:23 PM
user image
2
 
user47589
awwww
 
question: is anyone familiar with how to clear a session in a flex app so it doesn't persist in flashplayer
 
have you tried googling it? :^) stackoverflow.com/questions/34096728/…
 
That is his question
 
@MikeAsdf Now i feel bad for Internet Explorer .... now that it's gone too and Edge Replace it xD
 
8:26 PM
I know lol
 
What is a flex app?
Android?
 
user47589
flexjs, its a facebook offering
 
user47589
probably.
 
So are you trying to programmatically clear flex session? or like clear from browser/flash settings to make sure it forgets your porn?
 
Don't lose those special moments
 
8:27 PM
Flex is a flash thing, unless I'm thinking of something different.
 
ya it is adobe
 
I dabbled in flex briefly in 2008 I think
 
lol
 
Flex is flash
Its Flex 4.6
 
8:30 PM
"but if I log out and log in another user (user B), user B is taken to the spot where user A left the app"
Huh, well where & how is it remembering that?
 
I'm not sure. I haven't set anything to remember session data
 
@SethKitchen did you await for them before capture the photo?
 
and its a very simple session state
 
Are you relying on some authentication framework or are you just shoving your own usernames and tokens somewhere?
 
@tweray I'm not capturing a photo. It a preview. But yeah both the focus and exposure were awaited
 
8:32 PM
Just throwing ideas: Maybe it's not a session problem but a caching problem?
Maybe user B is fully logged in but seeing residual cached outcomes meant for user A
(assuming there's a cache in place responsible for the data in question)
 
I have a controller I wrote which flex passes the user inputs into and its authenticated against the SQL Server DB. If its validated then the controller returns a struct with a loggedIN value = '1'. Flex UI processes that and loads the appropriate dashboard perspective for that user based on the other values passed within the structure sent to flex
 
@Amy - I tried improving on the pad function but couldn't
 
user47589
funny thing, i'm using one of our pad functions right as we speak
 
nice :)
 
user47589
its going into production!
 
8:34 PM
woohoo! ob-fu-sca-tion
 
user47589
trying to fix how i format dates because IE10 and lower don't want to play nice
 
use valueOf and extract?
chrome returns "12/04/2015"
@Amy - Are you using <meta http-equiv="X-UA-Compatible" content="IE=edge" />?
 
user47589
no, i'll add that and see if it helps
 
@Amy - Did it help? The toLocaleString isn't actually supported by IE10 or below
@Amy - It also will not work on mobile. You may want to consider a custom function for that.
Or a "shim" as it were.
 
user47589
yeah
 
user47589
8:46 PM
i'm just doing concatenation now
 
user47589
var val = month.padLeft('0', 2) + '/' + day.padLeft('0', 2) + '/' + year;
 
yup
nice :D
heh, so you removed the v+="" from your function but now you always have to use '0' when calling :P
 
user47589
yeah
 
user47589
Number.prototype.padLeft = function(padChar, width) {
    var a = "";
    for (var i = 0; i < width; i++) {
        a += padChar;
    }

    return (a + this).slice(-width);
}
 
oh, in that case you don't need to call it with '0'
just plain 0 will work
 
user47589
8:49 PM
true
 
9:11 PM
Scott Hanselman should stream his testing stuff I think
 
@SethKitchen FocusAtPoint?
 
I an try that is that under FocusControl?
 
@Amy - congrats on 10k :)
 
user47589
yay ty
 
nice!
gratz
i dropped my phone earlier :( my screen appears to have shattered
 
user47589
9:21 PM
uh oh
 
on a brighter note ... i think i am 1 good answer away from having a complete solution to being able to generate and render on the gpu entire 3d worlds
just need to figure out why the dam thing can't call my meshing compute shader
anyone here know hlsl?
 
@Wardy good fucking luck with that, lol
 
the guys that hang in the game dev chat room are rarely helpfull
 
lol right
I hang out there myself sometimes
 
yeh i basically live in there
the chat is good
but still
 
9:27 PM
indeed
 
not the place to be if you want to be productive
 
mhm
I'd take a look but I'm right in the middle of something
 
omg... I wish I could buy this... will probably sell for $150k over asking all cash redfin.com/WA/Seattle/932-NW-Market-St-98107/home/493499
 
I think that SO thinks of chat as the emergency room at the hospital, when actually we're the break-room/water-cooler
 
no worries man
@Nick yeh ... except in the game dev room where its more like morgue
 
9:28 PM
@Codeman meh
 
full of creepy people who like graves and the dead
 
@Codeman Go try
What's your limit?
 
400k for that piece of shit
what a rip off
 
@SteveG Seattle baybee
 
i'd say, shit, 400k for 1300 sq ft
 
9:29 PM
@Codeman outside's not much to look at, but holy shit that interior
 
lol
 
That almost makes up for the dumpy size and exterior
 
$400 in england thats about £260k ... that'll get you a small 3 bed with basically no land around it
 
yeah, the inside looks nice
 
1300 sqft is a pipe dream in england
 
9:31 PM
:/
 
and you could probably build it up through expansions if you really wanted
 
@Nick my limit is that I only have about $15k cash and $15k in my retirement account :P
 
it's got some land to it
 
@Codeman Then it's apartment living for you mister
 
yep, that's rental territory
 
9:32 PM
that's where I'm at now. I'm super lucky I have such a cheap apartment
 
I pay $430/mo :^)
 
I am getting a $20k cash signing bonus at MSFT and close to a $20k raise :P
 
you're already in the SEA area?
like, you already rent there?
 
yeah
my current place is a smokin' deal
 
who died in it
 
9:33 PM
$1495 for 1200sqft and a washer and dryer. street parking though
 
i could never live there
 
like seriously, look up the address and see if anyone ever died in it
 
like, those prices, seriously just make me angry, just hearing about it, let alone having to pay it
maybe i'm cheap, yeah i'm cheap
 
this is what buying a house looks like in Seattle:
~$475K
Price
2
Beds
2.25
Baths
~1,250
Sq. Ft.
My clients wrote a solid offer but lost out to 9 other offers!
 
I forget how much space mine is, it's probably just shy of 1000sqft, two bedroom one bath apartment in an artsy neighborhood, and it's $650/mo
that's in Milwaukee, WI
 
9:35 PM
i'm paying 900/month and i'm pissed about that
 
no washer/dryer though
 
@Codeman, that's pretty great. Apartments in NYC in good neighborhoods run up $700k!
 
and outdoor parking lot
 
for a 2 bedroom
(I mean in Queens at least)
 
yeah, but fuck Queens
Manhattan's where it's at
 
9:36 PM
@KalaJ that's the most expensive city in the world though. Except maybe for London
 
upper east side, yes plox
wait is west or east better, i dont remember
 
I think east
 
Why would someone pay that for such a small house
 
@Pac2015 Seattle
 
Comparatively thats not much better than the people who pay 2 million for 3 bed 1 bath in San Jose, California
 
9:37 PM
Basically "So I heard you like developing software?"
 
My family is from the silicon valley and prices are exhorbitant
 
also, I find it funny that hipsters congregate in areas with the highest rent
and then dress like homeless people
 
haha
 
but yeah, Milwaukeeeeeeeeee~
 
certains parts of brooklyn
 
9:38 PM
@ShotgunNinja Gag me, that's my problem with San Francisco
 
cheap as fuuuuuuuuuuuuck
Decent jooooooooobs
Lots to doooooooooooo
 
user47589
o_O
 
Not enough room to move your elbows and more people want to stuff themselves into the sardine can known as the San Francisco bay area
 
i'd rather, work remotely, in a 500k house on a lake in the country
 
and no one knows where the fuck it is so we don't have to worry about terrorists and shit
 
9:39 PM
live like a king
 
worst place to live in usa: South Carolina. Period.
Glad i moved
 
i
 
@Obviously At least they have a couple of college towns and good food
 
SF is crowded?
NYC is crowded haha
 
@Codeman I wish I could short the seattle real estate market
 
9:40 PM
@KalaJ both are crowded
 
There are lines to everything
 
Granted NY is moreso than SF
 
or the real estate market more generally
 
@ShotgunNinja in Seattle we have people that got communications/film degrees and work as baristas complaining that they can't afford to live in the trendiest neighborhoods without roommates
 
But for its size SF is too crowded
 
9:40 PM
things looking super bubbly again
 
@KalaJ i've never thought about that, that'd be super annoying
 
@Nick I agree, but there is a real demand here and limited inventory
 
Too many people moving to SF and the silicon valley
 
@Codeman inb4 Macklemore
 
I would have never left Seattle, if the rain was not annoying af
Gets really depressing
 
9:41 PM
I saw an apartment in santa clara, CA for $7,000/month for 2,000sqft of living space
 
@Obviously really? I rather liked the Carolinas. Asheville was a nice little town, lots to do
 
@Obviously Don't move to Canada lol
 
@Obviously where are you at now?
 
@KendallFrey I might move to Victoria and get a job from @RyanTernier if we elect Trump :P
 
user47589
canada's too cold for me
 
9:41 PM
michigan is too cold for me too
 
Atlanta
 
Oh, that's the other thing I like about Milwaukee, the weather
 
I'll take cold over hot
 
Cold is fine. You don't have to shovel the cold.
 
no way, i'd take hot as hell over snow
 
9:42 PM
NorCal summers are hot (102-114)
 
I was born in Buffalo NY in late November. I was made to handle the snow.
 
I'm from Michigan, I could handle Victoria easily, lol
 
me too
hot as hell is how I live
 
@Pac2015 a bit cooler if you're in the bay
 
West Michigan, we'd get 2+ feet of snow overnight sometimes
 
9:42 PM
i always forget you're from mi
 
@Nick, I know. I'm from Piedmont, CA
 
I like to wake up to a 90F room
 
SE Wisconsin gets tons of snow off the lake
 
right next to Berkeley and Emeryville
But I grew up in the Sacramento valley
 
> July is the hottest month in San Francisco with an average temperature of 14°C (57°F) and the coldest is January at 10°C (50°F)
 
9:43 PM
So many people from MI
 
I hate the cold and when we get the snow storms here, they're nothing compared to Buffalo or Michigan
 
Lol, san francisco doesn't have seasons
 
Milwaukee has fucking seasons.
 
Buffalo gets epic snow storms
 
One year (2008?) San Francisco had a heat wave
 
9:43 PM
It's trying to decide whether or not it wants to snow right now
 
blame lake erie
 
@ShotgunNinja Really? I want a season for that
 
San Francisco reported 103
and a few people died from heat stroke
 
no way in SF?
 
@KendallFrey It's called "whenever there's not snow on the ground"
 
9:44 PM
Yes
 
SF was cold in June when I visited
Where are the hot summers?
 
@ShotgunNinja isn't fucking season usually when there is snow on the ground though?
 
@KalaJ south side
 
when it gets cold you gotta snuggle up...
All those August/September/October birthdays aren't a coincidence.
 
9:45 PM
I suppose
but that's TMI so I'll just go ahead and bin that
poof
 
Personally I'd love to live in Fort Bragg, CA
 
@Pac2015 So you can Bragg about it?
 
But unfortunately theres nothing to do there and no IT jobs
 
isn't fort brag in nc?
 
9:46 PM
There's 2 fort braggs
@SteveG You are right about Fort Bragg, NC
 
oh i didn't know that
 
But Fort Bragg, CA is right on the coast
 
user47589
... shouldn't forts have unique names?
 
Its a small town in Mendocino county bordering the Menodcino National Forest
Its where people go for abalone diving
Abalone diving, mussels, and other popular seafoods
Used to be a big timber town till environmentalists sued the paper companies and logging companies
then they shut down. Georgia Pacific paper used to have a huge facility there
 
"The hottest temperature ever recorded in the state of California is 134 degrees, which occurred on July 10, 1913 in Death Valley."
Death Valley, it has to be true
 
9:50 PM
@KalaJ yes, its suppose to be the hottest temperature recorded on the earth's surface according to some sources
 
Crazy thing is that people live there
 
One guy died driving through there
When google maps was in its infancy
 
Desert people...
 
wow, what?
 
Google gave him wrong directions
And he and his family were stranded
 
9:51 PM
You know the randomest things lol
 
They are like freaking tusken raiders
 
because it showed an unmanaged county road
He went out for help
 
I thought you'd describe Arizonians as such
 
@KalaJ Bananas are going extinct
 
Died of heat stroke
And was found dead by a ranger
 
9:51 PM
Noooo not bananaas!
 
@KendallFrey - Never. Although, Bananas have no seeds.
 
Family sued google
 
134 huh, just think, a steak cooked to 140 is considered 'done'
 
They have been bred for so long to be seedless that there are no longer any strains with seeds.
 
@TravisJ kinda
 
9:52 PM
@TravisJ that's the cavendish specifically
 
@SteveG - Put a fork in me Jerry!
 
haha
 
so all bananas are GMO?
 
user47589
not all bananas are seedless, just the Cavendish variety
 
9:52 PM
can anyone explain what kind of code this is. I know its based in c# I just have never seen an If encapsulated like this
{#foreach $T as tag}
<div class="tag">
<a href="#" class="tagLink" tag="{$T.tag}">{$T.tag}</a>
</div>
{#/for}
 
not all, all the ones we eat
 
No, GMO is different than natural selection
 
probably
 
They are all clones though
 
GMO is (primarily) human selection
 
9:53 PM
looks a bit like razor....but there is no @
 
according to neil degrass tyson, human selection is a form of GMO
 
and yeah, since all Cavendish bananas have the same genes (outside of mutations), they can all catch the same diseases
 
@ShotgunNinja I don't think so
 
@Skullomania, web forms? :O
 
human selection is just breeding
 
9:54 PM
@ShotgunNinja - GMO was originally done by using cow dna to select genes in plants.
 
@KalaJ
not like any webforms I ever built
 
That is kind of where the controversy began.
 
user47589
 
so then what's different between GMO vs cloning?
 
They don't do that any more, but people still seem to cling to the idea that GMO uses cow dna in plants.
 
9:54 PM
@KalaJ technically every product you eat is GMO. The only difference is that the stuff labelled as "GMO" is modified manually whereas everything else uses selective breeding
 
Cloning is just taking a snippet of a plant and using it to grow a new one
 
your DOG is GMO, for god's sake
 
GMO is gene manipulation with a "gene gun" that changes the proteins in the dna.
 
I am gonna buy tons of stocks when this time stock market will crash
 
Cloning is cutting a plant in half and watching both halfs grow.
 
9:55 PM
And Will sell it again whne the market will get stable
will only buy when market goes down
 
user47589
@Skullomania you can confirm what kind of code that is by looking in your global.asax for the configuration of view engines.
 
and will sell when it come backs to normal
Anything wrong with this plan?
Can it work?
 
@Obviously if you think you can time the market, you're just the latest person to believe they can make money out of nothing :P
you might get lucky... you might lose all of your money
 
It could work, if you are sure on when the markets will crash
 
9:56 PM
@Obviously If making money were easy, it wouldn't be worth it.
 
But if you keenly follow some stocks
 
> August is the hottest month in Santa Barbara with an average temperature of 19°C (67°F) and the coldest is January at 12°C (53°F) with the most daily sunshine hours at 13 in August.
 
and know their worth
 
you basically have to wait on a crash, then pray the stocks you buy revaluate after the crash recovers
 
you can time it
like when Ali baba was 60
 
user47589
9:56 PM
@Codeman a study was published recently which showed that the Fed leaks things on regular intervals. knowing the timing of those leaks would allow you to game the market to a degree.
 
I knew it, its going to be back at 80 at least
 
ah ok cool, thanks guys
 
Part of what makes money valuable is making it hard to get
 
You know how to game the stock market? Buy low, sell high.
 
it's called 'artificial selection'
 
9:57 PM
At a tech meetup, the organizer told me to invest in github
 
user47589
that's part of what makes anything valuable
 
After that it's just luck.
 
the best way to make money in the stock market is to buy a stock and hold it for 30 years.
 
You gotta know when to hold 'em
 
anything else is just gambling
 
9:57 PM
Know when to fold 'em
 
We allowed to talk about UWP around these parts?
 
@Codeman, any old stock?
 
@JacobSchultz University of Wisconsin Platteville?
sure I guess
 
@KalaJ well, if you're young, growth stocks like AMZN and such are best. If you're old, dividend stocks and bonds are best.
 
user47589
Universal Windows Poops
 
9:58 PM
I don't see AMZN going away any time soon, for example... so I hold onto the stock even as it continues to go up and up
 
I have a 401k plan with stocks but I'm not sure what stocks are being invested in....
someone is managing it
It's a growth plan though
 
The problem with growing company stocks is that if the company divests, gets shut down, or otherwise loses valuable assets, their stock can dip
other than that they're basically free money if you can get in when they're cheap
 
but is it a good idea to invest in github when they go public?
All major tech companies are relying on them
 
@Amy no globals.aspx, it is a DNN module
 

« first day (1875 days earlier)      last day (3074 days later) »