« first day (1847 days earlier)      last day (3100 days later) » 

12:04 AM
@rlemon - does caprica have a ban functionality?
 
@TravisJ yes
!!ban
 
@rlemon 895174 (?), 1355043 (?), 1858108 (?), 10 (?), 1005250 (?), 1941949 (?), 990192 (?), 2428683 (?), 1455016 (?), 2645256 (?), 2664200 (?), 3350338 (?), 3106345 (?), 1800668 (?), 1593459 (?), 2509223 (?), 3586251 (?), 3517363 (?), 2959554 (?), 3141603 (?), 2249815 (?), 91696 (?), 2272617 (?), 4155172 (?), 4463826 (?), 3967621 (?), 4202350 (?), 4330208 (?), 2668766 (Queue Overflow), 3277047 (?), 5128971 (?), 5029740 (?), 5521842 (?)
 
Does that prevent users from interacting with "her"?
 
none of those id's will be able to use her
yes
 
Yeah, I meant a room ban :)
 
12:05 AM
you want to ban a user from a room?
or ban a user from using her in a specific room
 
I already have, I just thought caprica might have had that built in so I don't need to run a browser
Oct 30 at 21:29, by Travis J
@Codeman - teh ban script http://jsfiddle.net/65rwqytm/
 
ew
user MutationObserver
 
haha yeah, it is just for local use, it doesn't hit the socket
 
neither does MutationObserver
 
I meant the script doesn't hit the socket
 
12:07 AM
it is the proper way to watch the dom
function parseNode(node) {
    if (node.classList && node.classList.contains('message') && !node.classList.contains('pending')) {
        // check the node for w/e
    }
}
var chat = document.getElementById('chat');
// get all existing messages
[].forEach.call(chat.querySelectorAll('.user-container .message'), parseNode);
// listen for new messages
new MutationObserver(function(records) {
    records.forEach(function(record) {
        [].forEach.call(record.addedNodes, parseNode);
    });
}).observe(chat, {
es6 is even shorter, but doesn't work out of the box in chrome
 
Chrome used to be the best, but it's just shittier and shittier
 
nahh it's great still.
es6 adoption is a little slower than others
but still, dev tools are best
and if you run canary es6 support isn't bad
@TravisJ my dark theme extension uses MutationObservers for everything
 
hm, stored it for later
anyway, the gist is that if a user in the ban list talks they get kicked
 
yea cap doesn't have that
too abusive
the SE team likes to crack down on bots that have things they can complain about
 
yeah I thought that might be the case
It is definitely invasive.
 
12:14 AM
they complained about Cap greeting people on the room enter event
 
Mod came in here and told me that I could handle it on my own and they weren't going to deal with it. So I made the script. Then they banned the user for a week the next day.
 
we had to patch it to greet them when they post their first message
 
I remember that whole deal in meta
What a hassle
God forbid a new user to the room learn the rules
 
which user ?
wait
I have the id
 
12:34 AM
> 3 protesters gather at Westlake Park on Guy Fawkes day, Thursday November 5, 2015. All three masks were purchased from Amazon for $6 each using the Amazon Prime account of gold mask’s mom. (Alan Berner / The Seattle Times)
lolz
 
1:16 AM
anyone still around?
um, you're supposed to say yes if you are
fyi
 
1:31 AM
0
Q: Design view in aspx doesnt load

JABFreewareIf I click "Design" the code still shows (but is not selectable). If I minimize and maximize it shows the below instead of the designer. I have tried repairing VS2015 and safe mode, still doesn't work. I also tried setting the default "Open With" program, but nothing changed no matter what I set...

 
@ScottSelby And if we're not?
 
lol - whats up Kendall
 
A pretty bland white ceiling
 
do you have any experience with authentication across different websites using different sub domains ?
 
1:38 AM
you mainly do like console apps , right?
you're always into complicated no-web-related algorithims
 
and binary stuff
 
Most of my time at work is spent on libraries
 
thats not very fun
weren't you just in highschool either last year or the year before?
 
I occasionally do web in the evenings, but never with C#
@ScottSelby Actually, it's very nice. I only have do deal with developers, who, although stupid, are less stupid than users.
 
1:40 AM
what do you do , let me guess..... I would say php... but you know too much for php, I woul say rails.. but nooooo, I';m going to say nodjs
 
@ScottSelby Um, let's see. I guess I graduated three years ago
 
oh wow - times flies
 
@ScottSelby yep :)
or occasionally something else
 
I remember getting your help at my job from your highschool library
 
hahaha
I remember chatting here in school
 
1:42 AM
haha, like fuck your teacher! I need help here
 
That was probably during a spare period
I had a lot of those for some reason
 
backup lol
 
1:59 AM
hey @JABFreeware - what about you? have you used OAuth across subdomains?
 
nope
 
that sucks
I'll go backc to doing nothing
 
@ScottSelby by doing something?
 
 
2 hours later…
4:40 AM
@SebastianL I like this one: xkcd.com/277
 
@torvin :D
 
@SebastianL also this one xkcd.com/163 (it is a little crazy)
 
i really like this one xkcd.com/386
 
@SebastianL classics! :D
 
 
1 hour later…
6:01 AM
posted on November 06, 2015 by Scott Hanselman

Microsoft Azure has a Redis Cache as a Service. There's two tiers. Basic is a single cache node, and Standard is as a complete replicated Cache (two nodes, with automatic failover). Microsoft manages automatic replication between the two nodes, and offers a high-availability SLA. The Premium tier can use up to a half-terabyte of RAM and tens of thousands of client connections and be clustered a

 
 
2 hours later…
7:50 AM
i need to compare two enum, one enum is a parameter in my method. can u please help
i am using .net 2.0
 
both from the same enum type?
 
no they are different
public enum Severity
{
/// <summary>
/// Default severity.
/// </summary>
Unspecified,

/// <summary>
/// Informational severity.
/// </summary>
Information,

/// <summary>
/// Non-critical error severity.
/// </summary>
Warning,

/// <summary>
/// Critical error severity.
/// </summary>
Error
}
public enum LSSeverity
{
/// <summary>
/// Default severity.
/// </summary>
Unspecified,

/// <summary>
/// Informational severity.
/// </summary>
Information,

/// <summary>
/// Non-critical error severity.
/// </summary>
Warning,

/// <summary>
/// Critical error severity.
/// </summary>
Error
}
these are the two enum
 
7
Q: When are two enums equal in C#?

PeterI have created two enums and I know they are not the same but still I think it makes sense they would be equal since their string representation as well as their numeral representation are equal (and even the same...). In other words : I would like the first test to pass and the second one to fa...

 
.net 2.0? but why
 
thats what i my project is developed on
 
8:01 AM
Could cast to int
 
i have checked but one of the enum is a parameter for my method . i cannot fetch int or string value from the method parameter enum
public void BMW_Logger(string strMessage, Logging.Severity messageSeverity)//messageseverity is an Enum
{
if(Logging.LSLogSeverity.Debug.toString()==messageseverity.Debug.tostring())
{
console.writeline("Success");
}
}
LSLogseverity is an enum
@nt
@ntohl
 
bmw as in the car manufacturer?
 
8:19 AM
yes
can u please help me out
 
8:37 AM
@SupriyoBhattacherjee you can't compare apples to oranges.
what you're doing there is checking whether both the apple and the orange are called "Dave"
I might make a static IDictionary<Logging.LSLogSeverity,Logging.Severity> and use that as a lookup to compare them instead.
also hello good morning everybody
 
Hi Guys, Have anybody used Asp.net Zero boilerplate template if so can you please take a look at my question stackoverflow.com/questions/33561400/…
 
8:53 AM
@Squiggle you can check that both Apple and Orange are Nth in the list of fruits or technology companies, hence the suggestion of casting to int. That should work, right?
 
@TomW yeah, but it's a bit flaky and unmaintainable. At least when you a lookup it's explicit.
 
Works, fiddled it
 
still ugly
 
It looks as though this case is two enums that are obviously the same set of options that is copied for boring technical reasons. In general I agree with you
 
Basically "it sucked already, so why care?"
;)
The broken windows theory is a criminological theory of the norm-setting and signaling effect of urban disorder and vandalism on additional crime and anti-social behavior. The theory states that maintaining and monitoring urban environments to prevent small crimes such as vandalism, public drinking, and toll-jumping helps to create an atmosphere of order and lawfulness, thereby preventing more serious crimes from happening. The theory was introduced in a 1982 article by social scientists James Q. Wilson and George L. Kelling. Since then it has been subject to great debate both within the social...
 
9:00 AM
I also dislike enums for lists of options. They're labels for numbers. If there is no logical relationship between 'Error' and the number 3, use something else
 
like actual Types?
Log(new Error("Something fucked up", e);
much nicer
 
Depends. I'm not sure there's a better choice in c#, but just because there's no alternative, didn't mean I can't moan about it
 
have separate methods for each severity
LogWarning(), LogError()
poof no more enum
 
poof
 
LogDebug("poof")
 
9:04 AM
// Zauberhaft!
 
You can't say that anymore
 
what, poof?
it's onomatopoeia
 
suing intensifies
 
using intensifies;
urgh this coffee is awful
I'm gonna start a petition to get better coffee.
 
@Squiggle I think that's a tactic. Provide coffee, make sure it's so terrible that people buy it instead
Preferably from your on site cafe
 
9:08 AM
@TomW I did buy it! It cost 1Fr!
(70p)
($1)
+-5%
 
Well that's not on. Client has a bistro in the building, good coffee for £1.10
At least double that in any high street chain
My own office has a free percolator, filled with 'coffee' that I suspect might actually be debris from the garden
Leaves, dead woodlice etc
 
9:32 AM
I normally drink mine Americano or with milk, to mitigate the nasty taste. Today I had it straight, and realised how horrid it is.
 
9:43 AM
our coffee machine taps water from the sewers
 
It's the circle of life
 
Good morning lads.
 
jkd
good morning to all....
 
10:23 AM
How can it be a good morning with bad coffee?
 
cause there's a bug in the code
 
there's always a bug in the code
 
10:41 AM
morning everyone
 
uuuuuuuuuuuuuuuuuuuuuuuuunnnnnghh
 
@Sippy go somewhere private if you're going to do that.
 
@Squiggle no
I'm activating @Tom's idea
Oct 23 at 17:28, by Tom W
1) Check in undetectable prank
2) Blat source control history such that prank is unremovable
3) Expose genitals, be asked to leave and not return
 
11:11 AM
hi all
ng-Upload return every value in string like "null" instead of null and "false" instead of false
anyone know where I am doing wrong?
 
@vishuminhas not parsing the JSON properly?
what are you ng-upload-ing?
 
@Squiggle I am pasting my code in pastie wait a min
 
waitiiiiiing
 
@Squiggle How did your deploy go lol
 
11:17 AM
@Sippy ...it went. It's more-or-less fine, and the Big Important Event will run smoothly.
 
@Squiggle Lol, decent
 
I am beginner(In angular) please help me @Squiggle
 
I guess the fact that nothing blew up even with 11th hour changes is a good sign
 
11:29 AM
@vishuminhas And we're supposed to use our psychic powers to extrapolate the code you have written for Upload.upload?
(Which is HORRIBLE naming, by the way)
 
@RoelvanUden ur horrible naming
I've just realised, you know the Utility class pattern, that's technically an antipattern right?
 
I wouldn't call it a pattern
 
It kinda is
 
@RoelvanUden Updated please check pastie.org/10533965
 
Roflmao
Post the new link ...
 
11:49 AM
@vishuminhas That's still not it.
 
can I send whole file @RoelvanUden
?
 
good morning
 
who are you kidding
 
myself :(
positive mindset, keep a positive mindset steve
 
@RoelvanUden this time its full code pastie.org/10533988
 
11:52 AM
I have the weirdest cold right now
It's making me slightly trippy
 
@vishuminhas That's still not it.
 
@RoelvanUden do you need html part too?
 
whats missing?
:(
 
@vishuminhas No. Geez. All I'm asking is what the hell Upload.upload is and I'm getting a thousand or 10 lines of code I really don't give a shit about.
 
11:58 AM
"I'm Bonzi!" hahahaha no ur fukin not Stephen Hawking
 
@SteveG <3
Lol
 
;)
 
12:24 PM
@vishuminhas sorry - I was dragged out for lunch
 
@Squiggle dem zombies
 
cocking zombles
 
12:42 PM
 
1:02 PM
"That's what you get when you try to divide by potato"
 
Lol
 
lol
 
lol
 
it's ok.
just don't smash it anymore
 
1:13 PM
i have this controller and i can only seem to get the actionresult (a GET) that is "last" in my controller to actually be called. the others (beside the default GET actionresult) cannot be found (404)
is there a reason for this?
 
.......
 
public class ActivityController : Controller
    {
        // GET: Activity
        [HttpGet]
        public ActionResult ProfessionalActivityForm()
        {
            return View(new Activity());
        }


        public ActionResult TradeShow()
        {
            return PartialView("_AddTradeShow");
        }
        public ActionResult InsertTradeShow(TradeShow TradeShow)
        {
            TradeShow.Insert(TradeShow);
            return Content("Trade Show submitted successfully");
 
"Bug: Functionality missing from bullet point lists."
"Was the functionality part of the finalised spec?"
"no, there was no spec."
"Then how is this a fucking bug?!"
 
I can call /Activity/Conference but I cannot call /Activity/TradeShow
and im not sure why
if i switch the order of my action results so that conference appears above TradeShow.... then I can only call TradeShow
 
"Workaround: Please do not double-click these buttons"
urgh
 
1:21 PM
That's not a workaround
That's a ...not...workaround
 
:D
 
@ntohl just once more...
 
a doesn't-workaround
 
it's a regression
either way
It still amuses me how so many users still double-click EVERYTHING.
 
@JABFreeware okok. One more if You insist
 
1:22 PM
my mom double clicks all website links
drives me crazy
 
@SteveG I know someone who double clicks EVERYTHING. I even told her to single click once. Three times in a row she just couldn't contain herself. She knew what I meant but habit took over... sad
 
Lol
 
@ntohl hulk smash
ahhhhh feels better
 
@JABFreeware send us a picture, where a gVim is on the screen :D I know You are a big fan of it...
 
1:29 PM
@ntohl I see dead people now
 
sweet
 
@JABFreeware cmon. Decide what are You... Hulk or a boy with 6th sense
 
I am both, bitches!!
 
wow jeez. Just found out that there's some data replication process here that goes through 7 exports before it hits our system.
outsourcing--
 
embrace the exports!
 
1:40 PM
HTTP.sys is awesome, and Skype sucks
 
@KendallFrey You just realized that?
 
no, but it happens to be forefront in my mind
 
This is a great friday! Hope ya'll feeling the same ^^
 
it's going to be great in 2 hours
 
@JakobMillah :)
 
1:48 PM
@JABFreeware lol
 
Just got a bug report of some broken UI components... turns out that someone is using IE7 compatabilty mode in IE11 because one of their department's "business critical" apps doesn't work otherwise.
I. E. Seven.
 
So you mean that you got some non-working components for IE7? Now that's some serious shit
 
@Squiggle R. I. P.
 
IE7 still exists?
 
FOREVER
 
1:59 PM
Some where some sinner is using IE7 with a blank over their head
 
@juanvan I'm not religious but I still agree
 
2:10 PM
> Checking in 129 items
:D
 
@JakobMillah no no the components work for IE9 (broken in IE11 and IE7). We've got an enterprise policy which forces IE9 compatability mode for IE11 browsers - but someone has overridden that and is forcing IE7 compatability mode because IE9 is too modern.
clear as mud
@KendallFrey you replaced all indents with tab-spacing, didn't you?
 
no
just about 3 weeks of work
 
Are you putting all the items in one changeset
 
Britney Spears wtf.
She looks like that woman from Dragon's Den
Lol
 
2:15 PM
We don't use git, why would you expect me to be able to abide by best practices?
I have 8 shelvesets from various points in the development of this project.
 
Lol
 
We have no ability to track history for changes that don't pass all integration tests
 
Lol you have integration tests?
The only respite I get is that I do things as well as I know how in this place
Like drinking tea with your pinky out at a death metal concert.
 
@Sippy Yes, we call them unit tests lol
 
Lol
Of our something like 45 developers and maybe 8 sizable teams, none of them use unit testing here. :D
 
2:20 PM
We have a few unit tests maybe, but it's all just lumped into one test suite
I wish we could branch...
 
haha
 
;)
 
I suggested they set TFS up properly in our last sprint retro
They were like "How do you mean? TFS is set up properly."
We have two branches, one for development (which 7 people work on) and one for release.
"It really isn't."
 
Hey, two branches would be an improvement here
 
You mean a trunk and a branch?
 
2:23 PM
Well, no.
Maybe
 
a trunk and a deploy?
 
We work on development, and at some point someone shouts CODE FREEEEEZE
At which point, the dev branch gets merged into release and everyone stops checking in code
Until we release.
Then we can check in everything we work on during code freeze
 
that's backwards. Trunk never gets merged into anything.
 
I'm aware lol
 
Branch for a release, then any small fixes you do on branch get merged back to trunk ASAP.
 
2:24 PM
Tried telling them and they were like "Well this has been working fine for a year so ..."
 
haha
 
I get the "You're just a junior" look a lot.
 
@Sippy Wait, so release isn't even a real branch, it's just a substitute for tags?
 
It is a real branch.
 
@Sippy assembly has been working fine for 50 years or so
 
2:25 PM
Lol
 
@Sippy real as in used like a branch should be used, or real as in it's a branch?
 
I think when I brought up the fact that we have a huge dev department and no code practices docs or anything they asked "So, you've worked in environments where things like this exist have you?"
And obviously no I haven't.
That doesn't mean they are stupid or wrong
@KendallFrey Oh, it isn't used like a branch should be used.
It's just a repository which no one is meant to merge broken code into lol
 
@Sippy I haven't either, but they don't know that. Let me at em
 
Because we use it to build releases from
 
@Sippy That's how I view trunk
 
2:27 PM
vOv
 
dev branches are for broken code, trunk is for working code
 
I'm leaving in December and I will never be working in the UK public sector again
Onto better things hahaha
And coding practices <3
 
@Sippy where you moving to? got any where yet?
 
@Squiggle Northward
Moving closer to girly
 
"girly"
Is that a real place
 
2:40 PM
No
It is a girl
Lol
 
oh lol
Sorry I can never tell when it concerns the motherland
 
Lol
 
hey guys
 
hmmmm my test/broken iphone called 911. Thats not good.
 
is there a way to allow cors
using jquery
 
2:45 PM
wonder how GPS tracing works without a sim card
 
I', getting ther error
No 'Access-Control-Allow-Origin' header is present on the requested resource.
 
probably with a GPS receiver
 
@JABFreeware Location works without a SIM
 
40
Q: A CORS POST request works from plain javascript, but why not with jQuery?

MagmaticI'm trying to make a Cross Origin post request, and I got it working in plain Javascript like this: var request = new XMLHttpRequest(); var params = "action=something"; request.open('POST', url, true); request.onreadystatechange = function() {if (request.readyState==4) alert("It worked!");}; req...

 
when I try to get images from instagram api
 var myurl = "https://api.instagram.com/v1/tags/nofilter/media/recent?client_id=mash";
            $.ajax({
                url: myurl,
                type: "GET",
                crossDomain: true,
                dataType: "json",
                success: function (response) {
                    $.each(response.items, function (i, item) {
                        $("<img/>").attr("src", item.media.m).appendTo("#myimgs");
                    });
                },
                error: function (xhr, status) {
 
2:46 PM
@Failsafe guess I need to get going :P
 
@GotaloveCode You can proxy the instagram api from your server
 
@Sippy elaborate please
 
@JABFreeware Wifi
 
@Sippy ?
 
@GotaloveCode Never done it, ask @Roel, he knows but he might be busy.
 
2:48 PM
all I have gathered so far is I have to add the header like with php or whatever
 
Wi-Fi-based positioning system (WPS) or WiPS/WFPS is used where GPS is inadequate due to various causes including multipath and signal blockage indoors. Such systems include indoor positioning systems. Wi-Fi positioning takes advantage of the rapid growth in the early 21st century of wireless access points in urban areas. The localization technique used for positioning with wireless access points is based on measuring the intensity of the received signal (received signal strength or RSS) and the method of "fingerprinting". Typical parameters useful to geolocate the Wi-Fi hotspot or wireless access...
WPS is used in iOS and Android afaik
 
@Sippy ahhhh yeah heard that
 
hey
any advice on where I should put my connection and query code for a database? I'm following the MVVM pattern and have the following folder structure: Model, ViewModel, View.
 
in a service folder
 
ok
so services, and then call that class? Connection?
 
2:57 PM
does your data live in its own project?
 
no it's on the cloud
 
then use a service to create a Repo that is used in the ViewModel
 
in a MongoLab database
 
then a repo in the service folder and use that in the viewmodel
 
110.88 hours logged. I call that a finished project.
 
2:58 PM
repo? as in the connection class, where the connection is established and query's are specified?
 
yes, there would be queries or results returned to the viewmodel to use
 
ok
 

« first day (1847 days earlier)      last day (3100 days later) »