« first day (3658 days earlier)      last day (1512 days later) » 

00:44
why is there a birthday party in this room every day?
mr5
mr5
00:58
p3k mimimized
 
4 hours later…
04:28
good morning to all. Is there anybody who knows the complete succesful way to run a cmd.exe inside IIS (Win 10 Pro x64 v.2004)? I have tried almost everything suggested
i've tried code inside my Form.cs (System.Process.Start...) with no luck. Inside VS2012 embedded IIS works fine but when I try this in IIS Web Server the result is nothing. Thnx in advance :)
05:23
I wanna make a model called instalment which is identified by a unique IP
It has to hold data for 20 sensors
What kind of model would you suggest?
05:51
Good morning
@ΒασίληςΠαππ For one, start using a more modern IDE. VS Community 2019 is free for personal use.
What kind of .exe is it you're trying to run? A .NET web service?
@d4rk4ng31 Depends on what you do with it I guess. Try starting with the business logic and working your way outwards, then on the outermost layer map the data into the model. What is this application supposed to do with this data? Is it one big entry that gets shoved into storage? Are people making graphs from it? Maybe one big object per entry suffices. Do you do calculation across it? Maybe a Dictionary<int, List<Model>> would help you better organize by IP. Or maybe several smaller models.
@Squirrelkiller The 20 sensors are boolean which will be used to determine if the parameter they measure is functioning, and an alert will be generated accordingly
Try talking about it with colleagues that don't program but are experts in the field. Base your model on how the expertise sees the data.
That's a BEProject
and my colleagues/group members are absconding :(
It's just there to send an alert if a sensor notifies you of a failure?
Because I'd probably try building it reactive, using events.
class SensorEventsArgs : EventArgs { IP Address; bool IsWorking; }
event EventHandler<SensorEventArgs> SensorEvent;
OnSensorEvent(SensorEventArgs args) { if(!args.IsWorking) SendAlert($"Sensor at address {args.Address} failed!"); }
Very pseudocodeish
Because I just wrote it by hand into chat
06:15
@Squirrelkiller I'd like to run cmd.exe with rwrun60.exe inside.
@Squirrelkiller Thanks :)
@ΒασίληςΠαππ What's that? IIS is a web server, not sure about running other stuff in it.
@Squirrelkiller rwrun60.exe is a command that runs Oracle Reports 6i Live Previewer
@Squirrelkiller I need to avoid developing new reports using Telerik Reporting (per example)
No idea what that is, I'm not very well versed in oracle products
@Squirrelkiller The problem begins from cmd.exe. it does not open at all inside localhost IIS meanwhile it opens in VS2012 embedded IIS
06:21
How do you open cmd.exe in VS IIS?
Also why not VS2019?
@Squirrelkiller System.Diagnostics.Process.Start("C:\windows\system32\cmd.exe")
What type of project? Console Application?
@Squirrelkiller Asp.net Application (C#)
And where do you call this Process.Start?
In a controller method?
@Squirrelkiller I call it inside a MyForm.cs (not a Controller). ASPX Form not MVC
06:31
Ouchi
No idea about how exactly aspx works
Have you put log statements before and after the call to see the code itself executes?
@Squirrelkiller I have already done this. No desireable result at all :( Anyway, thnx a lot for your assistance. Pls let the squirrels live :P )
Maybe I kill using squirrels
Or maybe I'm a squirrel that kills
Also: Did that code block execute or not?
07:02
I too like ambiguous names
when I play town of salem, I regularly play as "Polish Nail" which when read backwards holds a completely different meaning
Or Top Tank or Gaudy Bard (there's a role called bodyguard)
 
1 hour later…
08:13
using squirrels;
KillThemAll();
#squirrel-lives-matter
bbq(squirrels);
@Neil I dont get the joke, what is "liaN hsiloP" supposed to mean?
@Wietlol ಠ_ಠ
Nail Polish
i like to play as "level" because when you read that backwards, you are on a totally different level
08:18
As in a nail from Poland I guess :D
@JBis to this day, I am still wondering why I havent removed that event yet
but on the other hand, considering I celebrate my birthday year, I cant really complain, can I?
> why don't you write unit tests for your classes?
my classes:
public class DictionaryAttachmentTemplateMapper : IAttachmentTemplateMapper
{
    private IDictionary<String, String> Mapping { get; }

    public DictionaryAttachmentTemplateMapper(
        IDictionary<String, String> mapping)
    {
        Mapping = mapping;
    }

    public IOptional<String> FindTemplateName(String attachmentType) =>
        Mapping.Find(attachmentType);
}
if you need unit tests to guarantee that this code works, you have anxiety problems
Integration tests it is!
08:40
hello
I have a class derived from Label, which object instances are created by Activator.CreateInstance when XamlReader.Load does its work. I need to do some post processing of the loaded object. Is there some like AfterXamlRead event where I can grab it?
this class has a DependencyProperty.Register("LabelText", typeof(string), typeof(WpfLabelControl),
new FrameworkPropertyMetadata("????",
FrameworkPropertyMetadataOptions.None,
null, null));

I want to override it if the LabelText is not defined in the file, but the Content is and in such case assign LabelText = Content.ToString(); or somet
09:24
to ask the obvious, can you not just set the value yourself if there is none present?
I guess the value gets set when the control gets loaded and rendered by xaml, so at first will always be empty
Yeah, but would it be this huge hassle to just set the label afterwards?
my guess is there's probably even a way to do so before the form is shown
no, it will be "????"
09:45
so change it
find some on load event and change the label yourself anyway that you want
I wouldn't try to add a hook in how Labels work.. you could get yourself into trouble that way
> find some on load event
This is exactly what he asked
> Is there some like AfterXamlRead event where I can grab it?
no, sounds like he's trying to extend Label to change how default values are loaded
ok, so his question is "what's the name of the on load event?" He should have probably just asked that, no?
I don't think that's what he's asking exactly
10:04
I am asking if I can add an "after xaml reader load" event handler in the class
like we do with other events with +=
why does it have to be expressly on the Label class?
can you not just use the form event handler for load?
10:19
Data storage is on fire, burn baby burn...
mr5
mr5
I only have 1 C#-related question in SO for over 3 years. That's how good the language, documentation, and its community is.
mr5
mr5
Asking questions in SO is the last resort when you got stuck on a problem.
or at least it should be
I'm convinced there are people who have www.stackoverflow.com as their search engine of choice
"where are the milk and eggs in the supermarket closest to my house? anyone know?"
I have 0 question in SO, that's mean everything is so good
mr5
mr5
10:28
prolly you're more smarter than me, das why.
Actually most of my questions already get answered by a lot of people lol
mr5
mr5
whenever I use Google products, I always get stumble on a problem where I can't find the answer on the internet, or at least, the answer is non-existent yet.
to be fair, it's rare when I get a problem which hasn't already been answered, but when it happens, a part of me thinks, "Oh dude you are totally f***ed"
mr5
mr5
lol
or when you found a question in SO from 6 years ago but there's no answer.
like dude, what happened? did you figure it out?
So you dig deeper...
mr5
mr5
10:35
you've reached the last page of Google search result so you resort in dark web
finally, the answer was given to you by this psychopath user named no0bmaster69
next day, he knocks on your door
I don't put a question on SO until I'm convinced nobody has seen something similar before
I'll even check questions which don't precisely fit my situation and see if that'll work
mr5
mr5
tf
that came out of nowhere
patrick's gone self-aware !
11:04
!~eeeaaaooo
o/
@mr5 ngl, my approach of getting stuck on a thing that has basically 0 questions online about it
is
either ask in here
OR look at my problem again because clearly i'm doing it wrong
@mr5 i have to disagree, but I assume you could guess that :)
||xkcd 979
user image
2
@mr5 ^
someone who understands!! 😭
mr5
mr5
11:23
@Wietlol kekkk
that's what I feel every time I dive into non-C# environment
@CaptainSquirrel or the API/SDK docs sucks
@Wietlol yes
that xkcd speaks to me
@mr5 like Java where a single problem can have a thousand different solutions that rely on a thousand different frameworks
Java has a pretty decent framework. Most things can be accomplished using the standard library
it's only, say, when you want to have a JSON serializer or a web host library that you'd need to use other libraries, and even then, there's a skeleton structure for writing your own in the standard library
> Most things can be accomplished using the standard library
you wouldn't think so after the shit I had to look up just to make a GUI 8D
11:35
that's javafx or swing, both part of the standard library
maybe you used another library, but you didn't have to
yeah I think my teacher wanted us to use javafx, but all the good help was on the swing side
It's because swing is older
and frankly, swing is remnant of the old days of mfc type window building
yeah it's coming back to me.... holocaust noises
it's not a very good library, I'll admit
javafx takes a lot of the boilerplate work out of it
I just remember nobody being able to figure out javafx and spending months trying to figure out the third assignment we were given, since every assignment required building on top of what we already knew
11:38
you can construct an xml that represents the GUI and all its data, and there are editors for helping you do that where you just drag and drop
when were you given this assignment?
I'm actually trying to remember if we used XML in any useful way
this was like September 2018....and hardly anyone could figure it out until November
you don't have to of course, but it lets you avoid doing all of this in code
unlike in swing, where that's the only way to my knowledge
I think if I had to do a GUI now, I'd check out some external libraries
I can do it in javafx, but I suppose there's better
honestly idk at this point; I hope that if I ever have to work with Java again, it's not in making a GUI
it can do other things and it should just stick to what it's good at
!~shiba
11:59
yup
there it is
p3k mimi mamimi mamimi
I would choose Swing... because I know it and it is probably the only thing capable of doing what I want
p3k mimi "I walk a lonely road" "the only one that I have ever known"
I swear if it's the bird
sure ok
its actually a fitting pic
p3k mimi "Squirrels are filthy" "so are roaches"
wtf is that thing supposed to even be? the "lazar" face on a fish?
12:18
how
dare
you
p3k mimi ha ha
short question: I am still using VS 2017, what are the most important reasons to update to a newer version? (i have to convince other people)
12:36
I can't say cause I'm still on 2017
mr5
mr5
new bugs
lol the summary at the end: "[...] and switch when you think it's stable enough for your needs. [...]"
so if you switch, and it isn't stable, well.. it clearly wasn't stable enough for your needs ya doorknob!
Hah
12:49
damn those time-travelers from the year 2015
So basically they improved the search experience and added better git support?
that feels kind of underwhelming
all updates to established software are pretty underwhelming these days
When I first started on '19, it was missing some features; mainly support for RDL/C editing. Was added soon after
I have never seen someone refer to it as rdl/c
!~>null
!=>null
12:55
New tech word created. You're welcome
we could totally just create tech words if we wanted
A friend of mine, we've got this acronym for bugs/features we'll never get to... "Mark that as SMN" Someday Maybe Never
"I just need more time with the bus manifest so I can complete the cloud symbioses "
tech bullshit generator?
would be sweet
12:58
wait someone actually said that?
yes, I did just now
"Linear envelope-tracking platform"
"Accelerated intelligent design" .. ooh that's a good one, I should use that
i bet you used your "Accelerated paradigm-shift circuit" to come up with that
Our exploratory research points to deconstructed transitional mobility.
The stuff this generates sounds like cr*p I've heard in meetings
@SebastianL No, used the website Alex posted
13:04
At next meeting, going to say, "We're going forward with our plans to implement synchronised incremental innovation."
My brother had an ongoing game with a colleague where you get 1 point if you create a new word and use it in a sentence in front of your boss
you get 5 points if they got their boss to use it too
"You can see in this chart, the rates are interscending as expected"
13:21
That's cool. I think many managers in my past would have fallen for the fakery
Real or Fake: "Use 3 DigitalOps Technologies to Drive Operational Resilience for Global Uncertainties"
13:37
@Alex that must be fake..
come on, what would that even mean otherwise?
It's a real title for a Gartner article in my inbox: imgur.com/a/qw38JUj
DigitalOps is now a thing apparently
Who knew
13:55
well ok, what is operational resilience?
and global uncertainties... all pretty vague.. Sounds like the kind of title you'd write if you were afraid someone might actually attempt to read your article
I see the subtext, and by global uncertainties, they mean covid, but I mean hell, they could just say that instead
Also, DigitalOps == Ops. As opposed to AnalogOps? But you can't write articles and call them "Improve efficiency during Covid"
14:10
no, but are you really defending that title?
I'm sure a better alternative exists
Nah, not defending at all. Just finding funny words in there to ridicule
Saw an article on mesh app and service architecture (MASA). Everything needs an acronym now?
My org uses ASTA: Abacus & Stone Tablet Architecture
Somewhere in one of the server rooms, there's still an NT machine
mr5
mr5
14:35
!!xkcd 42
!~xkcd 42
why is it drawn in crayon?
mr5
mr5
which one?
Quantum Intelligent Algorithm™
mr5
mr5
14:39
BTC is 💯💯💯💯
!~eeeaaaooo
mr5
mr5
izz soaring high like a corona cases
14:50
going up 500% from what I heard
I was also paranoid last night cause a transformer blew up in a thunderstorm, so I shut down my cypto station for the night
mr5
mr5
do you also have BTC miner?
gonna buy ledger rn
nah
not worth it for me
I'll trade eth for btc if I really wanna
have you considered making something of actual value?
Create a new crypto coin?
maybe an improved form of contraception
15:03
I'm flattered you think I'm smart enough to know how to make contraception of any kind, but no
its perfect
💯 % shiba
!~shiba
15:37
Sara Chipps on October 21, 2020
We review our ticket smash event, lay out our roadmap for Q4, and talk about what we’ve been learning from our moderators.
hurr durr
16:12
p3k mimi "na na na na na na na na na na na na na na na na" "batman"
p3k mimi "mommy's alright, daddy's alright" "the guitar player's a little weird"
mr5
mr5
17:09
p3k mimimized
 
2 hours later…
18:45
hi everyone.
I'm having a big problem with something that seems like literal voodoo
I want to serialize a list of the type MethodInfo, after passing a valid MethodInfo object to a serializer class I made. (It still uses default Csharp serialization though).
The serialization works, but deserialization throws errors about "Can't find assembly"
Now here is the part that is voodoo about it, I'm using Microsoft.CSharp annnd... Compiling an array of strings (C# code), during runtime, getting the MethodInfo of something from the compiled results (They sit in memory), and then Serializing from there. That's where all hell breaks loose... for some reason, I can't deserialize it back... during the same running program instance/session that created the Serialized file in the first place.
If you guys can help me I'll be really happy like hugely happy thanks chat.
 
2 hours later…
20:58
SerializeThisShit exactly my name convention. But sorry, I don't know the answer. Both MethodInfo and List<T> is serializable

« first day (3658 days earlier)      last day (1512 days later) »