« first day (894 days earlier)      last day (3255 days later) » 
08:00 - 22:0022:00 - 00:00

8:06 AM
Anybody here use any free icon libs?
 
9:05 AM
hi
 
 
1 hour later…
10:23 AM
Is it super slow to have resources in app.xaml?
 
10:49 AM
HELLO!
 
HI!
 
wazzup?
 
joined functionalprogramming.slack.com
 
ohh
I haven't even looked at that yet... functional programming...
is it nice?
 
it's awesome :)
 
10:54 AM
is it? it's not like linq is it?
 
it's like linq yes
 
hmm
so it's impossible to do any fault tracking? :)
 
fault tracking ?
 
error tracking?
troubleshooting
 
it's amazingly elegant to do fault tracking
 
10:57 AM
linq as well?
 
linq as well ?
sorry
can we do linq in fp ?
 
what I asked was, is linq like fp? and you said yes
and then I claimed that linq is hard to troubleshoot
 
ah you mean runtime debugging ?
 
so "linq as well" meant, do you think linq is elegant to troubleshoot
yes in runtime
 
I thought you meant error handling
 
11:00 AM
na, I meant debugging
 
there's no bug so there's no need to debug
problem solved :p
 
hehe sweet!
so how do you do a hello world in fp?
 
I'm kidding, but I think FSharpInteractive can be helpful to debug
yes :p
printfn "Hello world"
 
that didn't sound that hard...
 
It feels like learning to program for the first time
even better :)
 
11:04 AM
not the printfn part, right?
 
nope
understanding type inference engine, pipe forward, function composition, high order functions, etc
lunch time
 
so how do you create a message box? messageboxfn.show("kjaksdf")?
ok
this late??
 
yep like in c#
 
well, you'll have to explain to me later on what you would typically write different.
 
11:20 AM
Every time I try to use this lumia I feel like learning WPF.
Because the phone and os are neat, but I need to write every goddamn app I need to function. :-/
 
:)
how is your bitcoin collection doing?
 
Just cashed some in for a 3d printer. :)
I don't think there's a worthwhile bitcoin wallet on wp8.1. I haven't looked too hard though.
 
ohh 3D printer. I would like one of those. I could start cad:ing again
 
It's gotten a lot easier.
I'm waiting on a replacement part, but I think I'm going to print out a custom sized server rack. :D
 
Once upon a time I used to amuse myself with ray-tracing and cad... but that was a long time ago...
it's just the time... and size... could you really print a server rack? how many parts are you planning to user?
 
11:32 AM
Well, a proper rack is probably not going to work. All the weight rests on the post screws. It's going to be more like a server shelf.
I ran the numbers, assuming pla has the same sort of strength as mdf I should be able to make it work.
About 1/3rd inch per shelf and it should hold fine. I'm hoping to make a pillar of tech, my modem/router/printer/3d printer will all be on this thing. The 3d printer part is a bit scary since it moves a lot.
 
do you really think it's the same strength as mdf?
 
That was the estimate I was given when I asked around.
 
ok
 
It is way more brittle though.
 
in solid print then?
 
11:36 AM
not quite solid, but high fill.
 
ok
i would also love to have a mini precision lathe and milling machine
 
The design is pretty neat, I think. The leg/rail part will be 1u tall, with a 2 inch nub on the bottom and a 2 inch prong on the top. There'll be a base for it to slot into (aprox 19 inch x 24 inch) and they'll stack a bit, with the shelves having the appropriate nubs/reciprocals and a "top shelf" that has no nub.
I might do the cading tonight, since you're twisting my arm.
 
but.. theres no way your printer will print 19x24 inch right?
 
my printer can do 12 inch cubed.
Something like this to overcome that problem: canadianwoodworking.com/sites/default/files/styles/…
 
mm 12 inch must be a rather large printer?
 
11:46 AM
More likely I'll do .5 inch tabs and concaves along the inner edges and have it snap together.
It's not so big that it'd be out of place on a large desk.
 
 
2 hours later…
1:39 PM
@franssu so, would the "service layer" be called in view models? models? say you're writing security software and need IAuthService to access domain objects... where would you call authService.Authenticate(usrname,pass); ?
 
in the VM I guess
I wouldn't be able to write it in the models because it has no references to the service layer
 
right
idk if you saw my comment yesterday, but basically in my COM projects (which would be models) one thing you can/have to do is set the "application access level"
and that doesn't belong in the model i don't believe. because the model represents an external device, andi don't need to enter an application access level/mode in order to configure the device
 
I think it belongs to your application's model
 
which is application domain
?
 
the model of the applicative domain
by opposition to the model of the buisness domain
the model which contains application settings and application users
(which is under application.services)
 
1:54 PM
gotcha. thanks for having patience with me
 
I've never done that however so take it with a grain of salt
 
either way my assumptions and your knowledge are lining up, so it feels good :p
 
:)
 
2:09 PM
@Julien around?
 
literally just sat down. whattup
 
do you remember who it was that was writing the custom datagrid where they were flattening a structure, so had to deal with dynamic # of columns?
 
asheh ?
@Asheh it was him
 
no, before then
it was Branden I think
ahh it looks like those two talked already
 
datagrids suck. roll your own
lol
 
2:24 PM
i already knew you're take :p
your* -_-
 
3:20 PM
@franssu so i'm kinda thinking in terms of client/server role right now
client submits login credentials
server gets it. calls what I would call a service (DB query) to validate the credentials.
then server gives user a cookie granting user access
may be dumb of me, but i'm trying to relate server = application domain, client = business domain, service = service layer.
so I'm trying to think, how do inform my business domain of "access level" change. an event right?
actually scratch all that. thinking out loud.
 
your business domain doesn't know about access level change
 
well in this corrupt world, it does lol
 
lol
your VM should register to some applicative events
 
and this is why i've been bashing my head... because the models are expecting to know of the change
 
why do they need to know ?
maybe they do
but they wouldn't be applicative credentials then
 
3:28 PM
that's what you would think
they need to know because 150 projects were already developed and i ccan't really change it now
so its a flaw with the model
 
maybe not a terrible one
 
not really until you see what little value it provides
my bashinghead/result ratio is very high right now. i should not have bashed my head this much. but looking at all the DDD material is helpful
 
3:45 PM
it takes time but I hope now you see the light at the end of the tunnel :p
 
 
1 hour later…
4:54 PM
morning @NETscape
figuring out your domain issues?
 
kinda. screws me over that the model is expecting a user to "log in" in order to change a property
 
For what its worth, I usually have a totally separate class that handles all authentication stuff. Then models can check against the current status, VMs can try to login, etc.
 
right, which is kinda what i'm doing.
but i just never know about how to show dialog windows
seems like a pain
thinking, should I just show a usercontrol over mainwindow
 
Dialog windows are always a pain
If the dialog is complex enough, using a user control seems like a good plan
 
right. does it make sense to just show a control over the main window? opening these controls in a new window is not giving me any type of advantage
the only thing I sacrifice is a plain usercontrol or whatever, or the main window isn't draggable, which isn't a big deal
 
5:07 PM
If you use ShowDialog you have the advantage of it being modal, and disabling the other parts on the app until it is closed
So if you need a modal dialog, I think it does give you an advantage
 
well can you just put a control under <Window> which will expand to the width/height of the window to disable user from using controls beneath it?
then just show it via a binding
 
Probably
though letting windows handle it is probably harder to mess up
 
5:27 PM
yeah
i wish there was a correct way haha
this seems like an okay question, but also a "do it for me," and the answer could also work if they showed some code or something. right now its just a "recommend things for me" isn't it? stackoverflow.com/questions/29396436/wpf-responsive-ui
 
It could be a lot worse
The answer needs a lot of help
The issue sounds complicated enough I think it should be left alone
He does ask for a way to do it, but its narrow scope and he indicated what he knows doesn't work
not exactly "give me teh codez"
 
 
1 hour later…
7:03 PM
knock knock
 
who's there?
kind of obvious, really ;)
Though I'm going to lunch, so if you post your question I'll get back to you in about an hour.
 
haha
no questions brad. have a good time
I am just visiting. cya
 
if you have a class which is all strings and one enum, how should you override GetHashCode
 
7:24 PM
hello everyone
 
Greetings
 
man windows mobile development sucks some ass
 
@NETscape use the string hashes, and an approach something like stackoverflow.com/a/263416/65358
 
you would think it wouldn't take 2 and a half hours of googling and praying to get a unit test to work
 
mobile development, in general, is kind of a pain
 
7:26 PM
yeah, this is old school though
stuck in VS 2008
with the compact framework
im trying to reinstall the mobile SDK atm
if this doesn't fix my unit test woes, then im not writing them
lol
ill just write a CE application and use my project as a reference
do my testing there
assuming I can get that to work :/
nope... its even more broken now
sigh ok... I wont test my code
lol the most useful exception ever

type: System.NotSupportedException
message: " at System.IO.__Error.WinIOError(Int32 errorCode, String str)\r\n at System.IO.__Error.WinIOError(Int32 errorCode)\r\n at System.Host.HostNative.GetCurrentDirectory(String& fullPath)\r\n at System.IO.Directory.GetCurrentDirectory()\r\n at ScannerCore.Core.Scanner..cctor()\r\n at TestProjectForTesting.Form1..ctor()\r\n at TestProjectForTesting.Program.Main()\r\n"
I think that means I cant get the current directory of my application
using Directory.GetCurrentDirectory()
 
7:46 PM
my mobile development experience was so slick. xamarin ftw
 
yeah, my mobile dev for tables and stuff has been easy
this is for scanners though
and scanners are always like 30 years behind the times in tech
 
@Reed do you have a techi blog that i can follow >
 
@codebrain I think reed wrote the book on tech blogs
 
cant read books or carry i read blogs ;)
 
omg!
I started this morning at like 10am and now, at almost 3pm, I finally hit my first breakpoint in this project!
granted I had to completely abandon unit testing
I can debug!
:D
 
7:50 PM
@MarkW haha good luck
keep up
 
@codebrain reedcopsey.com ?
 
haha cool
 
though I haven't been writing as much there lately
 
it ll take a lifetime to read the existing ones, thanks
 
@ReedCopsey you wouldn't happen to have any good resources or anything that I could look at for solutions to good ways to deploy plugins (really its just an assembly that a windows CE's reference will load at runtime) would ya?
 
8:02 PM
no idea - never dealth with CE
 
ah ok
 
but writing your own (simple) plugin system is pretty easy in .NET
as long as reflection still works
 
well the problem is the deploy step
I have all that worked out
CE application -references-> my class library -dynamically loads assemblies that contain classes that implement an interface defined in the class library
but meh
ill figure it out
 
8:15 PM
@MarkW I think GetCurrentDirectory refers to something nonintuitive iirc
what if you set currentdirectory then try to call that?
 
I stole an imp from an SO post
resolves the path using the active assembly
worked like a charm
hey netscape
you should totally hire me
so I don't have to write in the compact framework anymore
im a decent developer, but work equally well as a paper weight / foot stool / body to occupy space
:D
 
working with old stuff sucks
 
8:30 PM
yeah... I spend most days getting to do like 2-3 hours of C# dev in WPF, and the rest supporting old VB6 applications or this windows mobile crap
 
hi every one :)
 
still feel weird writing code in VB6, seeing as how it was EOL before I even started college
sup buddy
 
how are you doing?
 
been better
but not to bad
you?
 
haaah!! glad to hear that ;)
I'm stuck bro, need some help on project regarding wpf
 
8:32 PM
I might be able to help
I typically observe in here
but im sure Netscape and Bradley are lurking
so ask away!
 
Haaaah!!! I don't remember exactly, but somewhere I heard netscape ;)

Well even a little guidance would be appreciated!
0
Q: How to move object with mouse during drag&drop - WPF

Sikander HayyatHello stackoverflow community:)) I'm doing a project which simulates chemical experiments. I have a Expander which expands whenever user clicks on it. This expander consist of laboratory tools used in this project like Bowls, Beakers etc(can ellipse, viewbox etc). Now I'm facing some problem...

This is my question, but nobody is able to answer it :(
I'm really discouraged about the response
 
@MarkW want to take my spot. I don't want to be here... sometimes... too haha
you can work all by yourself with no one to help but SO chat!
 
yeah, I understand that!
 
lol
@SikanderHayyat I don't know about having an icon / picture next to the mouse cursor during a drag and drop
but I suppose you could override the cursor yourself
30
Q: Custom cursor in WPF?

Alan LeI want to use an image or icon as a custom cursor in WPF app. What's the best way to do it?

^ that might potentially lead you in the right direction, but bear in mind that I am not an WPF expert
I am a passive learner around these parts
 
i've never touched drag&drop stuff. I would assume on drag you'd copy the source object and set it to the target rather than take the literal drag object and move it. @LynnCrumbling has been dealing with D&D recently though
 
8:39 PM
@SikanderHayyat Consider tagging with C# (or whatever language) as well in the future
More people follow that tag's active page than WPF
might get you more views (16 when I just looked at it)
honestly though, it seems a bit broad
could you narrow down what you are really asking?
 
Let me explain it, got list of pictures
1.user will drag the picture from expander and he will placed inside a grid.
2. When user is draging the picture from exapnder to grid, an icon or small picture will be shown to mouse icon (just like when we drag an object in windows).
 
I had figured that out so far
 
Thanks @MarkW. appreciated your help ;)
 
np buddy
 
Yeah, I thought that too, But I have an experience of mixing stuff.
Well Bradley, I think its not impossible because windows has this functionality as built-in. So any clues buddy?
let me try to add tag of C# ;)
 
8:47 PM
I'm not saying its impossible
I'm asking you to narrow down what you are asking
The way I read it, you asked "How to I implement drag-and-drop with a ghost in WPF?"
which is really broad
I have 0 doubt that what you are asking is totally possible
Consider reading my related meta post: Why is "Can someone help me not a "real" question?"
 
Thanksss!!! it really helpful, now I've changed my question, can you please review it :)
0
Q: How to drag an object from expander with mouse and drop it in grid - WPF

Sikander HayyatHello stackoverflow community:)) I'm doing a project which simulates chemical experiments. I have a Expander which expands whenever user clicks on it. This expander consist of laboratory tools used in this project like Bowls, Beakers etc(can ellipse, viewbox etc). Now I'm facing some problem...

 
Its still pretty darn broad, though I appreciate the attempt at improvement
Have you gotten anywhere on it yet?
 
let me re-edit it ;)
no :'( still nothing
 
I mean, what have you tried?
For starters, the documentation you linked is a great start
how far did you get on using it?
 
9:04 PM
I would think you could just detect when the item is being dragged from the expander, then on that event, just change the mouse cursor to a custom cursor which has the image you want, then on drop, change it back to the regular ole cursor
but, then again, I too am not quite confident on what exactly ou want SikanderHay
 
Or when the drag starts, create a new object at the position of the cursor and use standard drag-and-drop from there
but neither of those is a complete answer to your question, which asks for the entire implementation.
 
you know what sucks? virus scanners on development envirnoment machines
 
no shit right!?
common corporate....
stop doing this to us!
 
@SikanderHayyat Getting better...
 
our It department is a little weird too
I remember a few months ago, the company bought me a new PC
 
9:09 PM
at one point i was messing around with assemblies in my project. is there a easier way to determine which ones are actually needed without deleting one reference at a time and see what fails?
 
I received an email from the IT team asking me to send them my domain credentials unencrypted in a plain text email
to which I responded "Why do you need my credentials?"
and immediately got yelled at by my bosses for "not letting IT do their job"
which evidently is to not observe solid security practices
@NETScape could the autogenerated class diagram show usages from inside of a referenced assembly?
guess not
nvm
but you can check out the reference in the object browser to see the namespaces that it has
then do a find all
but I don't think that's 'faster' than deleting and re adding
@BradleyDotNET out of curiosity... do you normally remove text from posts such as "Hello SO" or "I appreciate any help"
I normally add them to my questions
so that I can appeal to people on an emotional level, hopefully to leverage that to get an answer
but then they are usually removed shortly there after by an editor
 
@MarkW I do if I'm editing for other reasons, yes
its just noise
Especially the salutation
"Help is appreciated".... isn't so bad
but its still irrelevant to the question
And as an answerer, has 0 impact on whether or not I answer it.
 
yeah but imho... the people, and the impressions you get of them, arent
dotn get me wrong
 
Saying "I need this NOW" is a good way to get me to ignore it though :)
 
from a strictly logical point of view, it has no value in the question
but we are talking about a community of people
not a community of questions
 
9:20 PM
Good writing, formatting, and a well posed question do more to put a good impression on me than any fluff.
That may not be all people of course
 
hehe
I probably will just omit that from my questions in the future
seems to be standard practice to snip that stuff out
and its incentivized with the character modification minimum on the edits
 
yeah, just removing it is a stupid edit
but if you are fixing the rest of the post, sure, remove the fluff
 
lol you said remove the fluff and I got a picture of a shaved poodle in my head
ive been here too long
 
And especially the salutation, since it takes up valuable "summary" real-estate on the questions page
 
yeah... I have to agree
 
9:28 PM
think i have my dialog situation under control
not pure, but whatever!
 
Thanks Everyone! You guys are great. Thankyou for providing me some direction. God Bless you all :))
 
9:45 PM
hey @BradleyDotNET did you say my communication library would be more service layer, or domain, or??
well it must be my domain... mhmmm
i'm confusing myself because my model is an abstraction of a real device which supports X communication protocol, but only in a way that it can receive information, interpret it, and send a response
it cannot send information without a request
 
08:00 - 22:0022:00 - 00:00

« first day (894 days earlier)      last day (3255 days later) »