« first day (1822 days earlier)      last day (3125 days later) » 

@Obviously what is it you're trying to do?
trying to see what event listeners your page has registered?
 
I have an idea for a visual studio extension
one that displays warnings in the editor for ConfigurationManager.AppSettings["MissingKey"]
 
does R# not do that?
 
oracle is the biggest pile of crap ever
5
 
@TomW you mean 'Orrible?
 
3:03 PM
R# doesn't
 
Oracle as a DBMS? or as a company?
 
yes
the company, dunno. The DBMS...not so much, more just everything they do
 
So what i want to do is: I have a kendo drop down, and below that drop down there is a grid. When I click on the clear filters option for the grid, some how it resets the drop down
and the drop down value is reset to empty like ""
Its soo weird like why?
 
@TomW IME yes I completely agree with you. All their products are 100% geared toward vendor lock-in, and they're hideous to maintain or integrate with.
 
You ever used APEX? @Squiggle
 
3:09 PM
APEX? nope
what is it?
 
!!google APEX
 
!!wiki APEX
 
Apex (Latin for top, peak, summit) may refer to: == ArchaeologyEdit == Apex complex, a prehistoric cultural tradition == AstronomyEdit == Atacama Pathfinder Experiment, a radio telescope operated by the European Southern Observatory Solar apex, the direction in which the Solar System travels through the Milky Way == BiologyEdit == Apex, the apical meristem or its remnant on a flower Apex (entomology), the anterior corner of a butterfly's wing Apex of the heart, the lowest superficial part of the heart Apex of the tongue, the tip of the tongue Apex of the root of a tooth, the tip or extreme end...
 
Oracle Application Express (abbreviated APEX, previously named Oracle HTML DB) is a web-based software development environment that runs on an Oracle database. It is fully supported and comes standard (at no additional cost) with all Oracle Database editions and, starting with Oracle 11g, is installed by default as part of the core database install. APEX can be used to build complex web applications which can be used in most modern web browsers. The APEX development environment is also browser-based. == Releases == Oracle Application Express can be installed on any Oracle database from version...
?
 
3:13 PM
whoever come up with that abbreviation should be executed instantly
 
It's probably horrible.
 
gaah.
I've often wondered whether I could run an http server out of SQL server, for the lols
NOT as an actual product
p.s. that abbreviation reminds me of DAC, which stands for Data-Tier Application
 
Just found the worst designed database of all time.
@Squiggle yeah that
fucking awful :D
 
3:32 PM
@Sippy there are MANY contenders for that title, btw. Is it first normal form?
 
@Squiggle No
 
:D
 
All fields are nvarchar(max) and there are no keys
Every "form" has its own table
 
that's beautiful
 
There is a table at the top which contains all the fields of every table with the first value that form is submitted with for some reason
And there's a table which contains the names of all the tables.
I should put the schema on dailywtf lol
 
3:35 PM
is this to record feedback from telesales or something?
 
Kinda.
It's called 'forms reporting dashboard'
Likely made by some contractor
 
roffle
 
The back end service is flakey as fuck
Been told I have to use it because putting a new service in the DMZ would be too difficult hahaa
 
ouch
 
Ah well
 
3:37 PM
"too difficult" = "the responsibility of another team and we cba to deal with Stephen"
 
Lol
Replace "Stephen" with "Capita" hahaha
 
aha
 
@ton.yeung so, yeah, whatcha using for forms?
formly?
oh, schema-form
seems like it does sooooooo much instead of "one-thing-really-well"
yes
Just glancing at the docs, formly seems better
I still feel in favor of writing html to create a form though
I'm not sure I like writing json to define a form
then again, maybe thats historical bias
truncate, so fun
 
3:53 PM
there a way to pin an array expanded so you could see all the indexes?
nm it kinda conforms
so what if I have one that has 9 I have to pint the next 2
it is a ktm ring for a cylinder?
judging by the size
 
The Space Shuttle Challenger disaster occurred on January 28, 1986, when the NASA Space Shuttle orbiter Challenger (OV-099) (mission STS-51-L) broke apart 73 seconds into its flight, leading to the deaths of its seven crew members, which included five NASA astronauts and two Payload Specialists. The spacecraft disintegrated over the Atlantic Ocean, off the coast of Cape Canaveral, Florida at 11:38 EST (16:38 UTC). Disintegration of the vehicle began after an O-ring seal in its right solid rocket booster (SRB) failed at liftoff. The O-ring failure caused a breach in the SRB joint it sealed, allowing...
Dem o-rings... :(
 
howdy folks
long time no see
 
want to see that and the spy one
 
The spy one?
 
that is Good - the Martian one
 
3:59 PM
You mean The Man from UNCLE?
 
@CharlieBrown One of the benefits is that you can store a form definition in a database more easily I guess
Hmm
 
I like that idea
 
Yeah probably
Also makes development of a form builder less work
If that's yo thang.
 
form fo days
 
unless you have no databases
 
4:03 PM
@CharlieBrown Didn't even consider that.
 
In my case, I would just like to do something like...
 
Sounds like a no :P
 
<form>
    <textbox label="First Name" value="account.firstName" required />
    <email label="Email Address" value="account.email" required />
</form>
 
There's always HTML6
 
this is angular, so the above is possible
 
4:06 PM
Ooo
Looks like the above is actually a thing in HTML6, I was just joking ..
Oh wait they're still input types.
Nevermind.
 
@CharlieBrown How do you like Angular?
 
@Sippy guess you are still joking
 
I like it, been doing it for a couple years now
 
@juanvan Nop
 
4:11 PM
I haven't checked it out, a lot of people seem to enjoy it though.
 
      <!-- Simple input (defaults to text) -->
      <form:input>
      <!--  A new HTML6 match example -->
      <form:input type="password" name="user_password">
      <form:input type="password" match="user_password">
      <!-- Advanced example -->
      <form:input type="email" placeholder="user@site.com" autofocus required>
Cannot recommend that extension enough btw
Has syntax highlighting for code and everything
 
why is it only for chrome
 
Cos @rlemon only developed it for Chrome :P
Dunno if Oli Salzburg is still developing it
Rob has put a lot of effort into it though
 
ya he has done a bunch in JS
anyone look into how the new Credit Cards work?
 
wat
 
4:18 PM
those chips they put in them
EMV Chip
 
Didn't know it was changing :D
 
in the states they are trying to - but not many people are ready.
 
Wait what
The US still uses magnetic strip cards?
 
most places - the lowes Just put in the new ones last week
 
WAT
 
4:21 PM
lols
 
Right
Live in Now where
 
I've had an EMV card since I was old enough to have a bank account
That's over a decade hahahaha
 
I haven't even seen a magnetic strip for almost a decade
 
@RoelvanUden sup roel. did you fix the wrong pixels problem? because i still see sometimes currpot image
 
we're already switching over to contactless payments here, too
/me -> home
 
4:27 PM
> screw you guys .. home.
 
@Sippy got my first one last month - funny how behind we are..
 
hey guys
 
use my cards once a month maybe, mostly deal in cash
^^ Good point - but eh
that is about tax
 
same here
@ton.yeung lol that's a good idea
 
wow, I gotta try that shit
 
4:36 PM
guys, somtthing i just wanted to ask
what's actually the differnce between Socket.Receive() and NetworkStream.Read()?
i mean is there any difference between reading from networkstream to reading from socket?
 
4:49 PM
one is via a stream, one is via a socket
:D
@ton.yeung I just use creditKarma
 
yeah so i ask what's the actualy differnce? haha
 
well... have you looked at MSDN?
 
@Sippy they don't plan on the US having total EMV chips till the end of 2017
 
Reads data from the NetworkStream.
Receives data from a bound Socket.
 
4:55 PM
same.
 
they are both in the Sockets ns
 
with Socket.Receive you can omit the size and offset
 
Good afternoon
 
howdy
so, who in here is from Milwaukee? I know there's one or two from my neck of the woods
 
Im near there
bout 30 miles or so currently
 
5:05 PM
Well, I'm currently in the market for a job
 
lol should have met me a month ago
just filled our dev position
 
I was hoping to get a quick answer to an easy question. Im trying to make a class which will have a generic collection (List<>) of some object. That object itself is a generic class. In java I can handle this by saying something like

List<MyGenericType<?>> myList;

Can I do something similar in C#?
 
generics in C# are not really in my stronger skill set
 
5:07 PM
List<MyGenericType<T>>
 
Yeah, that should be possible
 
lemme give it a shot
 
Yesterday I realized that C# isn't strong enough to enforce a monad contract :(
 
just to clarify, the class which contains the list is not generic
 
ILike<Tacos<Chicken,Lettuce,Cheese<Queso>>>
 
5:08 PM
Either that or I'm missing something obscure
@MarkW Oh
Then how do you know what type the list contains?
 
but yeah, I'm in the market for a C# or Java position in the Milwaukee area
 
Well im trying to sorta work though this design... its really rough code currently and subject to a lot of change
but at the current point I don't really care what they stuff in htere
and when they use it I have a public method exposed to get the underlying type
 
Are these all custom types you guys own, or are you stuffing Integers or Connections in there?
 
more often than not it will be strings and numeric types of one flavor or another
 
If they're all custom stuff, make an interface and have them extend it; otherwise, make a wrapper class that can tell what type.
 
5:11 PM
doubtful any complex times will be in there
types*
 
So yeah, throw them in a lightweight box or something
 
@MarkW You can't store objects of different types in one list
 
what type of application is this for?
 
its sort of a configuration framework
im trying to base it on an implementation we have in java
but improve on it
 
How important is execution speed?
 
5:12 PM
but types are handled pretty differently in java
well it depends
um lets see...
 
Like, is this being used in embedded stuff with startup time requirements?
I'd assume not since it's C#
but I could be wrong
 
well the goal is to create a rather generic configuration provider type deal. I want a settingsproviderfactory type thing that returns an imp of an interface to get and retrieve arbitrary settings from any number of possible sources (IE JSON files, XML, database, etc)
 
Okay, so closer to a parser/lexer
 
so I wanted to break it out were you get a provider, which gives you access to groups of, or individual settings of arbitrary types
hence the genrics
in java its no big deal, you just use the ? in the generic field, and it doesn't really care what you put in there
granted it comes at the cost of casting
maybe it would be better to have concrete classes for the various setting value types?
it would make it so I couldn't have any complex types in there... but maybe its better that way
 
You could just get away with boxing and casting to Object, but it's sloppy
 
5:16 PM
(I don't plan on needing them)
 
then again, your reference implementation seems just as sloppy
 
well we group settings logically by domain, not by their data types... EG we could have a few string settings for say... DB, and integer values for timeouts or something
I wanted to be able to return a collection of these settings for that domain, instead of having to group them by their data types
does that make any sense?
lol it is a monday
 
xp: do the simplest thing that solves the problem, then refactor
 
Yes... you're right, I didn't come here for design patterns to follow, already had one in mind, it was more the generics question.
I'll figure it out
 
amen @CharlieBrown.
 
5:27 PM
Why does this always fail and say it won't for for an undefined.
    $(document).ready(function () {

        jQuery.validator.addMethod("alphanumeric", function (value, element) {
            return this.optional(element) || /^\w+$/i.test(value);
        }, "Letters, numbers, and underscores only please");

        var form = $('.Alpha-Numeric');
        $('.Alpha-Numeric').validate({
            rules: {
                field: {
                    alphanumeric: true
                }
            }
        });
    });
 
@Greg post the exact error message
 
@MarkW Just a wild guess: do you need generic constraints? e.g. List<MyGenericType<TFoobar>> and then your class containing this is something like MyClass<TFoobar> where TFoobar : IFoobar
Or maybe instead of List<MyGenericType<TFoobar>> you want List<IMyType>, and make sure that MyGenericType<T> implements IMyType
 
the latter might be what I need @MikeAsdf
getting side tracked here
ill let ya know how it works out
 
5:50 PM
@tweray Uncaught TypeError: Cannot read property 'addMethod' of undefined
 
@Greg did you load jquery.validation js file?
 
@KendallFrey Can you help me out a second with a Git issue?
 
@Sippy KendallFrey is afk: bubble soccer
 
fuuuuuuuck
 
sounds like someones workspace just got corrupted ;)
 
6:00 PM
@Greg - Are you using jquery.validate.unobtrusive.js?
@CharlieBrown - How has your boat stowing process been?
 
slow, the weather sucks
 
just cold or actual rain/snow?
 
its ready now, havent heard a date yet from the marina
just cold/windy
 
@MarkW I refactored some shit and now Git doesn't understand wtf has happened lol
And I don't know how to Git so I'm not even sure what to Google to fix it :D
 
Is the marina usually slow responding or are they just slammed at the moment?
 
6:02 PM
Its just run like any local place, at its own pace.
 
@CharlieBrown where are you stowing?
 
yeah
 
I dont have to be there for it, so its fine by me
 
like, east coast?
 
lol thought you said "what"
 
6:03 PM
@ShotgunNinja Wisconsin
 
Oh yeah, you're a fellow Wisconsinite
I'm down in Milwaukee
 
35+ winds later today, so I dont think they are moving many today
 
That is pretty windy, probably more with gusts. Is there a protected area where they are parked or is it just an open lot?
 
just an open lot...but the crane doesnt like too much wind
I need to strike the sails, but its been too windy
 
6:05 PM
You ever visit Southport Marina in that thing?
or are you not on the lake?
 
lol igot an ad first
 
@ShotgunNinja We haven't gone south yet, mostly northern MI and Door County
 
lol nooooo
 
Next year we plan to roll down towards milw/chicago
 
6:06 PM
@CharlieBrown Ah, yeah. Ever stop in at Egg Harbor? It's pretty nice.
 
We have a 15mo old baby, so we are limited right now
Yeah we did egg harbor this year for a couple nights
I live in Appleton, but the boat is in Manitowoc
 
Okay, so not too terribly far, but still quite a ways from me
I actually just interviewed for a job in Fond du Lac
dunno if I'm gonna take it though, that commute is killer
 
not terrible, but its time way from other stuff
 
There's so many Wisconsin regulars in here it's crazy
I mean, I'd expect there to be more people from Washington State, or California, or New York City, but my own state is disproportionately represented
 
Anyone know of a phrase I can search for or a good article about implementing workflow?
Well, a workflow is just a graphical representation of options that a user has to take.
However, this one spot has such a large "fork in the road" to it that I am having some writer's block about approaching it.
 
6:17 PM
um... you mean an activity diagram?
 
There are a bunch of names for these things. I didn't actually draw one out.
 
!!google uml activity diagram
 
I wish I didn't also have to do all the UI work =/ It is a real hassle at times to make stuff work and have it be user friendly
@tweray - "Activity diagrams are graphical representations of workflows" ;)
 
so... you are more like looking for a storyboard something?
 
6:21 PM
No, sorry for being vague
I just am looking for some tips or advice on implementing the diagram.. getting it from a simple representation to an actual working solution
 
no worries, my colleague can do 10 times more vague than u xD
 
@ton.yeung - I looked at all of the implementing workflow links but they were basically for actual building and not software
I guess I will just take some paper and make a very large checklist of stuff that needs to be done and see how that goes.
 
@tweray @TravisJ I was trying to avoid adding the file by adding the method.
 
@ton.yeung - Well, that is basically what I was looking for. Advice on how to convert the diagram into code. Except it will in my case be a rather involved piece of code so there is no one button converter. This will require UX analysis, actual UI implementation, server side endpoints, some supporting logic, and a small db refactor for two tables. So I was hoping there was some sort of generic idea of mapping that process to the design in order to get to the implementation.
@Greg - Adding which file?
 
@TravisJ The method:         jQuery.validator.addMethod("alphanumeric", function (value, element) {
            return this.optional(element) || /^\w+$/i.test(value);
        }, "Letters, numbers, and underscores only please");
 
6:26 PM
@Greg - Yes but how does that avoid adding a file?
 
@Greg jquery.validation.js file is mandatory as long as you want to do validation and don't want to write your own library
 
I thought if I created the selector it wouldn't need the whole file.
 
@ton.yeung - No, I don't do them because they are tedious, but I know what this part would look like if I were to draw the diagram.
 
@TravisJ do you mean Workflow Foundation, or the general notion of a workflow?
 
@TomW - The general notion of taking a workflow and implementing a piece of it. Not the whole thing in its entirety, just one step.
 
6:29 PM
I'm not really sure what you mean, but there is a bunch of tooling support for building diagrammatic editors for domain-specific languages in the .net framework
I've never seen anybody use it for anything, but it exists
 
I just wanted to find advice online somewhere like a blog post from a credible source, I figured someone might have a good link or know of an author who wrote on the topic.
It's not a big deal, I will just go back to what I usually do.
 
I would take a look at the modelling SDK. Never used, but looks comprehensive
OR: Take a look at it, and port it
 
Even if I add the file, it still says undefined can't add.
 
Is there an Ethics stackexchange?
Or would that come under Philosophy?
 
$.validator.addMethod(
    "VALIDATIONNAME",
    function (val, elem, arg) {
        return SOMEBOOLEANEXPRESSIONFORVALID;
    },
    "ERROR MESSAGE"
);

//Now you can use the addClassRules for your custom validator.
$.validator.addClassRules(
    "NAMEOFCLASSTOVALIDATE", //element's class name for validation
     {
         VALIDATIONNAME: true //valid if true
     }
);
@Greg ^
@ton.yeung - How is the kvp defined? By the user or from a set?
Or do you mean in the db
@ton.yeung - Really that probably needs to be two fields.
 
6:45 PM
F# discriminated union:
type ValueOrKeyValuePair =
| Value
| KeyPair of string, int
or whatever
 
@ton.yeung Hard to tell what the logic is... What are the implications of a single value versus a dictionary? Can the dictionary simply contain only the single value? Does the single value negate some process that the dictionary causes? It seems holding both of those in the same variable name violates cross cutting concerns imo
 
I got bored with trying and failing to remember the correct syntax
 
can you just use a placeholder to indicate the string is not tied to a natural key?
 
2
Q: How to design a non-flat UI in XAML

Lix0rIs there any possibility to create non flat designs in C#? XAML doesn't seem to have a feature to implement inner shadows for buttons, dropdowns and other control forms without any borders? http://imagr.eu/up/RSsvY_presentation_2.jpg http://imagr.eu/up/3uaE1_presentation_3.jpg

if anyone has a second
 
I am not a xaml user
 
6:50 PM
any other nice librarys for guis in c#?
 
For those interested, I found this article which seems to be along the lines of what I was looking for earlier uxbooth.com/articles/…
lol found this image in that article
 

« first day (1822 days earlier)      last day (3125 days later) »