« first day (2445 days earlier)      last day (2510 days later) » 

12:53 AM
Its just me in here, you can't stop me!
 
This room was placed in timeout for 42 seconds; Yes I can!
 
1:09 AM
howdy anyone around?
is there a C# library that allows me to create http servers as easy as node.js
 
I'm around, but I don't know neither C# nor Node so can't help
there's ASP.NET MVC but it's a rather heavyweight framework
 
node.js is so easy everything else feels hard
 
@William HttpListener, I reckon
 
genius if I can figure it out
 
 
1 hour later…
2:25 AM
What would be the equivalent of the following in C# or C# api?
var http = require('http')
, url  = require('url')
, fs   = require('fs');
var neededstats = [];
//var p = __dirname + '/' + req.params.filepath; //there is some error here you haven't defined req yet
http.createServer(function (req,res) {
    if(req.url=='/index.html' || req.url=='/') {
    fs.readFile('./index.html',function(err,data){
        res.end(data);
    });
    } else {
        var p = __dirname + '/' + req.params.filepath;
        fs.stat(p, function(err, stats) {
            if (err) {
forgive the long text
 
2:46 AM
what does it do
serves up html?
 
2:58 AM
@hsimah yes exactly
 
i'd do File-New Project-New Web Application or something like that in VS
 
ok and the apis used?
 
it's all in the framework, you shouldnt need anything additional to run a simple website in IIS
but to be honest, if its this simple id run it in express instead of c#
 
ok so I'm not using VS studio but something called .NET link which requires C#
inside mathematica
 
oh okay
 
3:00 AM
thank you for the help
 
you can get a free version of VS called Community. Might be easier to 'learn' in that and then port the code over to mathematica
 
WHEN IS MICROSOFT UNIFYING CONNECTIONS TO AZURE DB?
 
good idea
 
in MVC you use one, in UWP it's ANOTHER METHOD, and for a local one it's a 3d method
ffs MICROSOFT we hate you
we fucking hate you
 
i dont hate them
dont lump me in with your rant
 
3:22 AM
how do i use service.svc to connect to my azure db?
this shit is annoying
 
 
3 hours later…
5:56 AM
hi
oh, so my starred message made me unable to speak for 30 minutes on saturday at 5 am... ok.
 
what kind of message?
 
someone said a movie sucked, and the book was better, I said "sucking is good so the book must be great"
and when I logged in, it said I was suspended by feeds for inappropriate content.
 
What a cruddy monday morning.
Yello guys how r ya
 
not good
doing the boring project for company
 
+42 on that^^
 
6:08 AM
what is +42
 
!!monday
 
Only i forgot my longboard in the train and i mistooke the box with applesauce for my the box with my lunch^^
 
!!mondays
 
6:10 AM
@Nerdintraining you called them to ask to keep it for when you go back home?
and, at least you have something to eat.
 
6:37 AM
@satibel called them and if someone brings it to the conductor, it will be returnd to lost and found
aswell very relevant
 
Good morning.
 
Crudoff!
@MichaelMao baisically means i agree with you to the limits of the universe
 
ohayou
 
hellou
 
6:58 AM
morning
 
morning butters
 
@Proxy wether its a south park reference or not, I disapprove of you calling me butters. I hate butter in general. (Unless its used as a cooking ingredient
 
well it was not aimed at you so i don't care :)
 
7:14 AM
:D
Butters is cute, nice guy
 
sure he is :)
 
@MichaelMao MhmhmHMMHmhhmhmHMhmhmhMhMHm!
 
Morninga
Anyone doing DevOps ;)
 
But butter as a sandwich spread is a devils invention
Also lol, I didn't notice Michael had butters for his profile pic :D
Mondays are the best
 
Crud off @Kamil!
 
7:20 AM
Butter on toast. Mmmm...
 
@ntohl \o
 
good morning
@KamilSolecki Dzień dobry!
 
CRUD OFF ALL YOU GOOD MORNING CALLLERS
 
:)
@AvnerShahar-Kashtan there is also some people who do the abomination of butter with nutella / jelly
Which, to me, is world-class disgusting
There is so many better things you can put in place of butter in a sandwitch
 
@Nerdintraining it's just ugt thing. If it were "rotten bananas" as universally accepted greeting, than I would say that. Nothing linked to good or morning
 
7:28 AM
!!urban ugt
 
@Nerdintraining No definition found for ugt
 
Wat is ugt
 
ugh?
 
Rotten Bananas sounds much nicer today!
 
@KamilSolecki nutella butter is indeed bad... But butter prevents jelly to be absorbed by the sandwich, and become soggy.
 
7:29 AM
Nah, the t is to for away form the h for that to make sense
 
@ntohl coco butter, chocolate and ground nuts.
 
@satibel exactly... Why add more butter to it?
 
you know what is better with jelly
 
spoon?
or fish?
so it becomes jellyfish
 
7:32 AM
natural white chocolate spread
 
coal cheese
 
how can a chocolate be white naturally? Cocoa beans are not white
 
@ntohl cocoa butter is.
 
white chocolate isnt chocolate exactly
its cocoa butter milk and sugar
 
what is BUI from the starboard?
 
7:38 AM
Chocolate purists will go on about how white chocolate isn't really chocolate. *shrug*.
It's cocoa-derived and tasty, that's good enough for me.
 
Yeah I love white chocolate as well
 
how can chocolate be real if our eyes aren't 🤔
 
I like white chocolate. I just don't know what makes a white chocolate natural. Is there such a big white chocolate sommelierism like with the pure chocolate? Is there so much synthetic white chocolate?
 
white chocolate is actually the best chocolate since its not too sweet and not too bitter
but opinions
 
@ntohl "natural" is a word that doesn't mean much.
I mean, it's not like you have a lot of supernatural chocolate.
It's a word that can be used for any distinction you like.
 
7:43 AM
@AvnerShahar-Kashtan :D "oh super chocolate! You saved the day again!"
 
@ntohl Nanananananana Chocolate!
 
I have a shirt "24 reasons why chocolate is better than sex."
 
@ntohl When I said natural, I meant "not random store grab for 0.99 cents /1kg jar"
 
@satibel obviously the inventor had only chocolate yet.
 
7:51 AM
Less than 1 cent?
 
YOU KNOW WHAT I MEAN XD
 
@KamilSolecki ok. Got it
 
:D
 
@satibel I should get myself a shirt: x things that are worse than shower sex
It should be around 3 things I guess
 
@KamilSolecki it depends if the partner is of the preferred sex or not...
 
7:54 AM
@KamilSolecki depends on the shower.
 
@ntohl Do Apache Helicopters shower?
 
Depends on the time span :/
 
@ntohl still, having chocolate in front of your mom is a lot less awkward.
@RoelvanUden almost only on a rainy day.
 
@RoelvanUden well it can be tiresome to demolish half a building to get a shower sex with a helicopter.
 
@satibel Not if you're doing it right.
 
7:59 AM
mmmmm
 
@RoelvanUden model ones do
 
@AvnerShahar-Kashtan I always have chocolate in front of my parents the RIGHT WAY
which is a chocolate bar at once
 
@AvnerShahar-Kashtan Looks like devs creating automated UI tests :D
 
8:17 AM
coding.stop();
graphics.start();
 
8:29 AM
Hi! Could anybody help me installing Entity Framework?
 
@QuicoLlinaresLlorens giyf.com
 
@Nerdintraining I have done but it doesn't work
 
@QuicoLlinaresLlorens do you use VS?
 
@KamilSolecki yes
 
then add it to your project with nuGet
 
8:31 AM
@QuicoLlinaresLlorens i have done it and i have found multiple youtube videos.
 
@KamilSolecki it says that solution is missing some packages
 
Which ones.
 
But if I try to restore them it says that the packages that is trying to restore are not in my SDK
 
AHOY MATEYS
 
Microsoft.CodeDom.ProvmovieIders.DotNetCompilerPlatform.1.0.3
 
8:33 AM
ProvmovieIders
 
The word "movie" really shouldn't be there.
 
jQuery.ValmovieIdation
 
jquery?
!!abortmission
 
8:35 AM
@KamilSolecki That didn't make much sense. Use the !!/help command to learn more.
 
And why do I have that packages?
with the "movie" word?
 
@RoelvanUden oh I forgot to ask, did the concert you were talking about already happen?
 
Andre Rieu?
 
Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform this command says that my solution is missing some NuGet packages
 
Why do you need all of these for EF?
Are you installing EF.Core in a non-.NET Core project?
 
8:38 AM
@RoelvanUden youp.
 
@AvnerShahar-Kashtan I am doing Install-Package EntityFramework
 
@KamilSolecki January 6th 2018, new years concert, so nope.
 
@RoelvanUden ooooooh. Thats a wait!
 
Yeah. In 6 months. :)
The better news is, puppy in 2 weeks.
 
@QuicoLlinaresLlorens And which version is it pulling?
If you answer "I don't know", stop what you're doing.
 
8:40 AM
@RoelvanUden puppuh!!! What breed?
 
@KamilSolecki Old german shepherd :-)
 
oh nice!
 
@AvnerShahar-Kashtan it doesn't says nothing
 
And, she's black.
 
only that is missing some packages
 
8:41 AM
 
but when I do the restore packages
 
!!giphy ooooow
 
version 1.0.3 for DotNetCompilerPlatform
 
@RoelvanUden cute
 
8:42 AM
1.0.3 sounds incorrect
do uninstall-package EntityFramework
and
Install-Package EntityFramework -Version 6.1.3
 
ok
@KamilSolecki returns the same; missing some NuGet packages
 
Which VS are you using? Is your project set to an older version of .NET?
 
@Kieran o7
 
@AvnerShahar-Kashtan 2017
 
Is it .NET Core or .Net Framework?
 
8:49 AM
it is a asp.net MVC
 
that doesn't change the question
you can do asp net in .net core or .net framework
 
.net framework
sorry
I am a bit new in .net world
 
@AvnerShahar-Kashtan isn't it that when you open a new asp net project, you don't even need to install EF?
i mean if you go add -> new data model, it lets you choose to go with EF, correct?
 
@KamilSolecki Dunno.
Haven't created a new ASP.NET project in a while. :)
 
I believe that either VS pre-references EF for every Asp.net MVC project OR references it when you add a new EF data model (probably the latter)
Ive never really had to download anything.
@QuicoLlinaresLlorens can you remove that EF again
and just add your data model as you normally would
select EF there
see if it works
it should.
 
8:58 AM
ok, thanks
 
9:10 AM
@QuicoLlinaresLlorens so, does it work properly?
 
9:36 AM
Holy shit guys!
Did anyone of you know the $ operator infront of strings?
 
The pope's shit?
 
@RoelvanUden gotta start that one :)
 
It's called string interpolation @Nerdintraining ;-)
 
uhhhh thanks for clarifiying me on that
Anyways just learnt about it, only knew about the @ that you could bust infront of strings
 
Yeah, string interpolation is useful instead of string.Format :)
 
9:39 AM
And instead of "Hello " + client.Name + ", nice to meet you."
 
!!wiki interpolation
 
In the mathematical field of numerical analysis, interpolation is a method of constructing new data points within the range of a discrete set of known data points. In engineering and science, one often has a number of data points, obtained by sampling or experimentation, which represent the values of a function for a limited number of values of the independent variable. It is often required to interpolate (i.e., estimate) the value of that function for an intermediate value of the independent variable. A different problem which is closely related to interpolation is the approximation of a complicated...
 
You can do this in JS/TS too: Hello ${client.name}, nice to meet you.
In tildes.
(JS not supported in all old browsers)
 
Anyway, lernt a new word and a new Operator today.
HURRAY may i go home now? ^^
 
9:44 AM
!!giphy no
 
i got a js question (don't kill me)
 
:(
!!murder Proxy
 
@Nerdintraining That didn't make much sense. Use the !!/help command to learn more.
 
9:45 AM
i have a function call onBack
and i need to call it from a "arrow" function as in
proxyFunction() => {onBack();}
however i get an undefined error cause i cannot acces on back from my scope
but i'm not sure how can i bind it
 
is this js/ts?
or C#
 
12 mins ago, by Proxy
i got a js question (don't kill me)
 
proxyFunction(() => this.onBack());
right my bad
 
its still undefined
 
the arrow functions operate on the same scope as your execution code
unlike function() {}
 
9:58 AM
oh sorry im calling that inside a function as well
 
ok
 
so its bound to that function scope
 
yea probably
 
@Proxy Show full code
 
okay senpai :(
handleBackButton: function(prompt) {
    let promptActive = prompt;
    const {navigator} = this.refs;
    if (navigator && navigator.getCurrentRoutes().length > 1) {
      navigator.pop();
      return true;
    }


   if (this.props.tab !== 'MainScreen') {
      this.props.dispatch(switchTab('MainScreen'));
      return true;
    }

   if (this.props.tab === 'MainScreen' && !prompt) {
       //Prompt the user when he is on the main screen and wants to exit the application

      Alert.alert(
        'Upozorenje',
ah
this is an anonymous function
 
10:09 AM
is there such a thing in js?
anonymous functions?
they are just types of variables
 
@Proxy Where's the onBack?
@misha130 There is such a thing.
`function n()` <- named function
`function()` <- anonymous function
so myVariable = function myFunction() is still a named function
 
I mean the definition is kind of lost
 
how so?
 
since you can do var anything = function() {}
i'd say its on the same scale as all the other types
its like saying 'something' is an anonymous string
 
It's not. You can define code like this
 
10:20 AM
of course, I am just saying the name "anonymous" doesn't fit here unlike C#
 
var res = helloWorld();

function helloWorld() {
  return 'I am a doggo.';
}
helloWorld, even defined later, still works, because JS scans the file first to find and declare named functions
 
yes I know
 
so a named function is really a different beast entirely
 
ok in C# you'd call a var test = new { ... };
an anonymous object
 
10:21 AM
but in javascript var test = { ... };
it isnt
 
It's an object, because it doesn't have a concept of named objects.
So there's no point differentiating between named/anonymous there.
 
you are basically saying because you can do function foo() {} there are named functions
 
Using C#, is there a way to get convert data formatted towards XML into a PDF?
 
@misha130 Yeah.
 
I've seen loads of methods to go from HTML to PDF/XML, but I feel like the XML -> PDF methods i have looked at seems somewhat outdated
 
10:25 AM
@misha130 well in c#, for example with delegates you can have anonymous functions in a similiar fashion:
 
 TestDelegate testDelC = (x) => { Console.WriteLine(x); };
 
@misha130 Also see the JS AST.
 
I so rarely see this already that I jump to the conclusion of lets ignore it exists :^)
 
10:40 AM
morning :)
 
@RoelvanUden i need to call this.handleBackButton(true)
sorry went to lunch
i just used onback as an example
 
@KamilSolecki It doesn't work
 
what happens?
 
but don't worry
I am waiting for a person to help me
thanks
 
10:56 AM
Anyone here that happens to be familiar with Spire.Doc at all?
 
@Xariez just ask your question, if anybody will know they will answer
 
I did. It's not a concrete question as such but more of a interesting thing.
If this.. interesting thing evolves into anythnig though, i'll have a concrete question
 
oh right its above
 
@Xariez XML -> HTML -> PDF. There you go. HTML is like the intermediate format.
 

« first day (2445 days earlier)      last day (2510 days later) »