« first day (2698 days earlier)      last day (2248 days later) » 
02:00 - 13:0013:00 - 21:00

1:01 PM
@KendallFrey Shepton Mallet? Great Yarmouth? Cropton-On-The-Wold?
 
@ABuckau my elder son used without any forcing the potty for the first time yesterday
 
hooray!
 
1:17 PM
@Squiggle Ah yes I was 11
So you wouldn't have served me then
 
Depends on how good your fake ID was
So I start my windows server 2016 datacenter VM, and on login I immediately get a java malformedURLException.
How do I find out what application made that?
I'd sure like to know if there's malware trying to find its daddy
 
1:34 PM
@RudiVisser I dunno, you were only a couple of years younger than my wife when she started going ;)
@Squirrelkiller Event Viewer?
 
Squirrel powa
 
anyone knows a good guideline for rest service routes?
i see a lot of guidelines for "resource" paths
aka, /api/orders/{id} and stuff like that
but this service is something that takes in json and pukes out json
simple input -> process it -> output
nothing is stored and fancy shit like that
i cant find any guidelines on that
 
/api/stuffinstuffout/mythingy
 
/mythingy?
 
yourthingy is okay too
 
1:48 PM
I was a bit more thinking about /api/myprocessor/process
aka, ../noun/verb
 
Serious answer: Just make a namespace 'tasks' or something and put the actions there. For example, POST /api/task/downloadAll
Or that, same idea.
 
since the noun does the verb (with the given the input)
I could put it all in tasks
then i'd have /tasks/things/engine/justdoit
maybe /api before it though
but is it so rare to have such a thing?
or is everyone like "it is so straight forward, we dont need guidelines for this shit"
 
REST is an idea. There are no strict guidelines for it in the first place. Do whatever feels right. :-)
 
but having guidelines on how to make them really makes it easier to use them
if there is 0 consistency in this world, it will fall apart
look at USA
 
there are guidelines. They're just not strict.
 
1:53 PM
The world still isn't falling apart. If you just adhere to 'Hey this is a HTTP call with GET/POST/PUT/DELETE/PATCH to some URL that returns stuff', people will understand.
 
HATEOAS.
;)
 
POTATOAS
 
POTOOOOOOOO.
 
pot-eight-Os
 
2:03 PM
squirrel and roach having a seizure
 
poo-tate-toes
 
1 hour.
 
@RoelvanUden potayto potahto
 
private UserMapper _um;

[Dependency]
protected UsERMapper um { get => _um; set => _um = value; }
I'm looking at this code
Apparently the [Dependency] Attribute is deprecated, and it's part of Unity containers
I had never seen a syntax like that, and it returns errors, but it compiles correctly and works
so I have a question, what's the meaning of the => operator in those examples?
I thought it was part of this draft: github.com/dotnet/roslyn/wiki/…
 
It's a getter function
Or setter.
In short lambda form
 
2:45 PM
yeah, but get => _um doesn't work according to the error view
then it does compile
maybe a csc incompatibility?
a bug?
or am I just too tired
 
Sounds like the compiler is roslyn and your VS uses its own older compiler
 
could be a combo of the others
 
I'm guessing VS doesn't support it and csc does
something like that
 
unless it's built in the project, it seems unlikely that there are 2 different compilers installed in my computer for VS2015
I haven't installed it myself
I did however download .NET Framework 4.7 to make this project run, maybe that has something to do with the whole deal
 
3:05 PM
What have i done?
ARRGH
My WPF designer only shows me a NullReferenceException xD
 
You put in a designinstance that doesnt have a default constructor?
Or something
 
And added a "designtimecreateable" to false
 
git > undo changes
 
Or a usercontrol that cant be instantiated
 
^^ luckely i am the only one here who uses git
It's a converter he doesn't like
 
3:07 PM
omg looks like the squirrel dropped down the roof
 
It only throws error there
 
!LatestC#Version
meh this did not work
 
try doing double !!
 
!!LatestC#Version
 
@HéctorÁlvarez That didn't make much sense. Use the !!/help command to learn more.
 
3:08 PM
nah
 
:)
can we make custom bindings?
 
!!why do I feel so sticky?
 
so !!LatestC#Version will call api and return the value?
 
@HéctorÁlvarez because you touch yourself at night
 
!!/help
 
3:09 PM
@Teomanshipahi Information on interacting with me can be found at this page
 
Thanks
 
At night, at day, at noon, at dusk, mid day, at home, at work, right now, in 15 minutes... it's all relative @Cap
 
kEK
aaarrgh
@Squirrelkiller I can't get the exception to go away, kill it!
 
@Squirrel Show me your tits XAML
 
Flagged
 
3:18 PM
Flagged
 
Flagged
 
Fagged
 
Flogged
 
@Squirrelintraining I've never seen squirrel tits
 
3:21 PM
!!c#
 
May 5 '16 at 15:17, by BoltClock
THIS ROOM IS OUT OF CONTROL
 
!!failsafe
 
et tu brute?
 
Si claro
 
@Squirrelintraining OH.... MY.......................... GABEN
 
@Squirrel If you remove that one xaml line, it works?
 
I'm repelling the urge to lol
 
Oh wtf squirrel
 
3:23 PM
xD
2 mins ago, by Héctor Álvarez
@Squirrelintraining I've never seen squirrel tits
@Squirrelkiller ye
 
That looks like from drawn together
Do you have other converters there that work?
 
@Squirrelkiller this Converter kind of works
 
Annotate the converter with [ValueConversion]. Just because verbosity. Maybe intellisense makes some sense of it.
 
Morning fellas - from professional experience, what have you seen more often used in desktop apps for databases - EF or SQL queries or anything else
 
3:27 PM
>Kind of
 
what do you use now if you don't mind asking
what's like the standard in the c# world
 
Prefer EF, but our current product has...its own framework. Which isnt nice. Bad, hacky framework.
 
[ValueConversion]
class DtTermToTimeDiffernce : IValueConverter
{ .. }
?
 
EF or dapper-like SQL shells are most common. On a green project, there is no real reason not to pick EF if you're doing SQL. Just use EF when you have the chance.
 
EF is decent nowadays
 
3:29 PM
That said, desktop apps doing SQL are wrong on a conceptual level.
 
EF is only good when used correctly, can soon get out of hand
 
they really cut down the processing time which was one of the biggest reasons to switch to something like dapper in the first place
EF5 was horribly inefficient
 
@Squirrelkiller you mean :
 
i remember an article comparing execution times somewhere
 
@Squirrelkiller There is no argument given that corresponds to the required formal parameter 'sourceType' of 'ValueConversionAttribute.ValueConversionAttribute(Type, Type)'
 
3:30 PM
[ValueConversion(typeof(DatafoxTerminal), typeof(long)) or something
 
@Squirrelkiller that might have done the trick, now it complains with other 1
 
I didn't think that would actually fix anything^^
 
@Failsafe wowhee. EF Core 2.0 is quite an improvement :o
 
the question is, what if you have multiple databases to work with, that might get a bit tricky with EF
 
3:33 PM
@Squiggle that article doesn't mention OrderBy time or LinqtoSql time
 
or simply not as straight forward unlike having a few connection strings and using them as you please
 
so i bet at base value its even better
 
@Koosh EF abstracts the database implementation. Why would switching the RDBMS difficult?
 
@Squirrelkiller crud you
 
so long as the provider is feature-complete
 
3:35 PM
@Koosh It's actually trickier with plain SQL because the dialects of the flavors of SQL can be different, whereas a EF supported provider will handle that for you.
 
You just have to rebuild the DbContext when you want to switch db, right?
 
@Squirrelkiller why? It ought to be as simple as changing the query string, right?
 
that's how i'd think it would be
 
unless you've written raw SQL for performance reasons
 
Exactly, and the query string gets inserted&used in the DbContext ctor AFAIK
 
3:36 PM
Still, let me stress this point a little more: doing SQL in a desktop application is conceptually a bad idea to begin with
 
+1 ^
 
Then how to access a db from a desktop application?
 
You kids never lived through the era of Microsoft Access, did you?
 
"you kids with your googly docs and your tweeters"
"dave you're like 3 years older than me"
 
@Squirrelkiller You build an API layer with which you can strictly control access and permissions.
 
3:38 PM
TFTS taught me to hate MS Access
 
I've grown a beard and I'm going bald. I'm allowed to pretend to be old.
 
"It says I can't access the database"
"Oh, did you map the network drive?"
 
Oh lord
 
@Failsafe it me
 
3:39 PM
its-a me
 
what's the standard in web apps from your professional experience
 
Standard of what
 
storate
storage/databases
 
@Koosh Gripr and .Net Reactive Swing is pretty much industry standard IME
 
3:41 PM
wat
what industry are you in
 
but personally I prefer the JavaType-DataPro-BindX stack
 
It's the wild west out there bro. Sometimes you see MSSQL with EF, sometmes Oracle with SQLDataReaders, there is some Mongo, some Casandra, some Dynamo, with various access layers in various programming language.
 
oh i see
 
There isn't any standard. And rightfully so. It's VERY situation dependent
 
@RoelvanUden and some IBM Notes*
 
3:42 PM
HAHA FUNNNNNNNNNYYYYYYY JOK
 
I work in healthcare small non-profit. we have an EHR system (Web Forms) but it has a custom built process, each time we make a change to our tables in SQL server we have to run a codesmith
 
The only thing I can really confirm is that WebForms is no standard to speak of.
 
@Failsafe Don't laugh, it's hurts my feelings
 
roach is back
 
I am aware
 
3:43 PM
Yur a roach, harry.
 
@RoelvanUden
 
Kill the roach!
!!giphy oggy
 
in all seriousness, my preferred stack Azure/CosmosDB/.Net Core WebAPI/React.
 
@Koosh have you ever heard of JicamaJS
 
3:44 PM
wow i cant believe you disregard me so
 
I prefer .NET Core+EF+WebAPI+MSSQL and React/MobX/TypeScript
 
^
 
negative houston
 
i also prefer this
 
3:44 PM
Is what i ment :D
 
JicamaJS with PaniniDB is the best solution honestly
 
^ +100
 
JicamaJS is wicked
 
@Koosh DLR Core
 
3:48 PM
May 4 '16 at 14:23, by Caprica Six
Jan 12 at 16:55, by Markus Werner
to all stupid put all "Panini" in your asshole
 
4:06 PM
@Squiggle what API do You use in CosmosDB?
 
There any way to pass a List<t> to an action result in MVC?
I tried AR(List<t> sometingList) and it did not like that
 
@ntohl the .Net API, mostly. But it's a fairly thin wrapper.
@ntohl apparently the Spark connector supports more features than the standard API though. Also it has a mongodb connector, so it's easy to port.
I'm honestly surprised at how accessible CosmosDB is
it's a "do everything!" database, and is pretty good at it
 
If your database doesn't do everything is it a real database anyway?
 
4:23 PM
...yes?
 
if a text file stores data is it not a database
 
#pragma warning disable S101
wow I love this sort of hack
when you refuse to follow camelcase procedures and name stuff however you like
 
#pragma disable all
 
On Error Resume Next
 
4:43 PM
GoTo
 
GC.Collect()
 
5:07 PM
while (true) continue;
 
Hello
Can someone help with instantiating class with DI
 
Hi. Sounds like you're gonna try some reflection.
Although this kinda sounds like an x/y problem too.
 
:(
 
Why would you instantiate an injected class, instead of injecting the instantiated object directly?
 
Cya tommorow
Feierbaend
aswell why is @Squirrelkiller still here?
bugger off!
 
5:21 PM
ENglish course this morning, so I gotta work longer on tuesdays now :P
Time to go home though. Cya!
 
public class TmxHandler
{
private readonly ILogger _logger;
public TmxHandler(ILogger logger)
{
this._logger = logger;
}
And I want instance of this class in my main WPF window
but it gives me null reference
and tells me that files is never assigned
 
!!tell Macie format
 
@Macie Format your code - hit Ctrl+K before sending and see the faq
 
5:24 PM
public partial class MainWindow : INotifyPropertyChanged
    {
        static ILogger Logger = new FileLogger();
        TmxHandler Handler = new TmxHandler(Logger);



        public MainWindow()
        {
            InitializeComponent();
            IsLoadFileEnabled = false;
        }
ooh
 
Way better :)
 
it is my absolute first time here
 
5:36 PM
Congratulations
 
thanks for the link but I cant make it work :/
My first try with DI and I will probably fail
 
 
2 hours later…
7:09 PM
DI is easy. Dealing with the bloat is the hard part.
@MaciejPL - You must be very close to a question ban.
 
7:23 PM
Wasn't it axiomatic that C# support local functions since lambda expressions made available? Cause the alternative is private methods which is not the same
 
@MohamedElshawaf the alternative is anonymous delegates, which existed before lambdas
Also, who says there needs to be an alternative?
 
It's a shorthand
Either you write lambda as a parameter to say Where method , or pass the function name, if it doesn't exist Visual Studio will resolve it to a private method
 
8:07 PM
I think you are a little bit confused what is happening where.
A book would probably be your best bet.
 
02:00 - 13:0013:00 - 21:00

« first day (2698 days earlier)      last day (2248 days later) »