« first day (3835 days earlier)      last day (1096 days later) » 

12:13 AM
Hi folks, where is the latest c# 9 located in my computer? I have installed .net 5 sdk with default settings.
@mr5: Are you still here?
 
 
2 hours later…
2:14 AM
 
 
2 hours later…
mr5
4:29 AM
@MoneySetsYouFree yeah
what's up
@Wietlol do you see any issue by doing this WeakReference(this)?
@nyconing your computer?
 
 
1 hour later…
5:34 AM
Good morning
@mr5 Her computer
 
5:45 AM
So one of my modules this semester is "Automaten und formale Sprachen" - automatas and formal languages. Short form is "AF". So naturally, every topic there has a certain excitement coming with it like "Regex AF" and "Grammars AF".
"Parsing AF"
 
mr5
6:04 AM
lol
ez af
is the formal languages for computer or for human?
 
We'll see. first topic was proofs via complete induction, that sucked
@mr5 Computers mostly
 
mr5
ic
why is it described as formal though?
 
Because these languages have a formal definition
Say you have an alphabet A={1,0}
Now your language is defined as zero or more elements from the alphabet
So {0, 1, 01, 10, 11, 100, 101...}
But your language could also be defined as any combination of zero to two letters
 
mr5
6:21 AM
ic
there is a back up logic behind formal languages
contrary to informal languages which is full of irregularities
 
Exactly, they aren't made up on the spot like spoken languages
 
ohio
@Squirrelkiller what's your discord, may I add you?
 
6:37 AM
Depends - do you play Sea of Thieves?
 
noi
 
Then no, I'm keeping SO and discord separate for now :)
Also SoT is one of the very few reasons I actually use discord
 
ah okay
hope you are around here forever! <3
 
Another being my brother not shutting up about how much easier and better it is than TeamSpeak/Xbox Live
@Shad For the foreseeable definitele :)
 
haha
haha
 
mr5
6:55 AM
hue hue
 
7:06 AM
@mr5 not necessarily
it depends what you use it for
weak references are powerful, but work differently than normal stuff and can bite you in yo butt if you arent careful
 
how do you guys posses so much knowledge
.....
 
internal class Memory : Collection<Knowledge> {
    public override Knowledge Remove(Knowledge knowledge) {
        throw new NotImplementedException("I'd rather keep this.");
    }
}
 
Friday!
 
Fredas!
 
Donkey?
 
7:12 AM
oof
 
@Wietlol That is a problematic implementation, better an empty/commented method. If you saw something sensitive and someone ordered you to forget it, you could say "fine, done" instead of making your head explode
 
...
 
@Cleptus nah, error handling would catch it
 
mr5
@Wietlol did you know that I just farted a few hours ago?
Wietlol's immune system: remove that knowledge
Wietlol: "I'd rather keep this."
 
that doesnt even get added to memory
 
mr5
7:16 AM
mwuehehehe
 
that stuff goes directly to the garbage collector
 
I just realize we all have 24 hours and how different it is for everyone else
 
@Wietlol Only if the fart has additional solid matter
 
8:23 AM
friyay, lets start VS
wohooooo, last week published successfully, now this... wtf? thanks to an update?
 
lol thank you very much VS
Angular language service also still keeps crashing when you compare two versions of a file
 
mr5
yep
I noticed that when your solution is flooded by projects (about 8 or more), VS starts go crazy
it's TIME to duel!
 
8:39 AM
why do i have to start from scratch when it comes to regex once every now and then
 
Not entirely from scratch I bet
 
mr5
Make a repo of common regex then
 
Like, you probably still know that . is a wildcard and what ?/*/+ mean
 
@Squirrelkiller yeah the entire part is negligible
@mr5 good idea
@Squirrelkiller yea i even remember ?! ?> ?= etc., just cant put them together to wrok
match integer group if there are three digits after a decimal and the third\last digit is 1
 
\d{2}1
Two digits and a 1
 
8:45 AM
@Squirrelkiller the decimal
 
\.\d{2}1
 
@Squirrelkiller this would match 10167
 
Or [,\.] as decimal in case of multiple languages
 
@Squirrelkiller are there any language that uses , as decimal ?
 
German
1,5Kg
 
mr5
8:46 AM
sorry, I'm gonna repooost:
 
20,001.00 i dont want to match this
 
mr5
[+] Shared
	- IProductProvider
[+] WebApi
	- ProductController : IProductProvider
[+] Mobile
	- ProductRepository : IProductProvider
Consider the project structure above
Shared would contain the main contract that WebApi and Mobile should comply with
My problem with WebApi is the varying return type. It either be ActionResult<T> or IActionResult, but it's manageable.
In Mobile, it maybe a similar issue.
Ideally, varying return types is manageable.
But my main dilemma is, I am using Refit to generate client web APIs which requires the target class to be an interface also
 
@Squirrelkiller that sucks
 
oh and swedish too
 
mr5
1.500,00g
 
8:50 AM
@mr5 Im shaking I am gonna pretend i didnt see this.
now i understand why some american companies (german based) have their employees payslips with numbers "1000,00" and "500,00" okay whatever its their problem
 
yessser
 
mr5
I have encountered that too on my previous company.
Moral of the story is, don't parse numbers in regex
I'm not part of this system
How do I make an interface comply to another interface?
 
@mr5 Isnt there any other way around this ? doesn't sound you supposed to do that
@Squirrelkiller can i not match if there are any preceding characters present in the group ? match : 23.041 and not match 23.0412
 
mr5
The other way around is not to do it.
 
9:00 AM
\.\d{2}1\b
 
mr5
Or I need to look for Refit alternative
 
Or [^\d] in the end
 
@mr5 yeah, if something seems too difficult, its probably not the right way to do it
 
~!shiba
!~shiba
 
9:05 AM
That lighting...
 
@Squirrelkiller \.\d{2}1\b
this is doing it
 
9:29 AM
 
does anyone know any good resources to learn how to wrap Windows APIs in C#
I've only really found out about [DllImport("...")] but when I try to wrap the functions I see things like DWORD and PVOID method parameters that I have no idea how to translate
 
NuGet packages lol
 
unfortunately my company is very strict about nugets
 
Copy shit from github then
 
hmm yeah that's a valid workaround I guess
 
9:40 AM
Which particular feature do you need?
Most of the time there is already some .NET API you can use
Unless of course you wanna fuck around in windows itself like user management or settings lol
 
connecting to wifi, so that would be Native Wifi using the Wlanapi.dll dll
 
If my work laptop tried to connect to my home wifi without my knowledge I would throw it out the window
 
UWP has a wifi api
 
yeah but I'm using WPF
I should've mentioned that earlier I reckon
 
Oh there was a big chance you're not using UWP, it's not in wide use^^
How about NuGet-packages by microsoft? Microsoft.WindowsAPICodePack
 
9:50 AM
oh I didn't know that existed, I'll check it out
 
Or like, copy this stuff: github.com/cveld/ManagedWifi
 
thanks, ManagedWifi seems to be the better option here
though I don't see any dll imports, I wonder how the guy did it
 
@JansthcirlU they have a full class dedicated to dll imports: github.com/cveld/ManagedWifi/blob/master/ManagedWifi/Interop.cs
 
oooh
interesting stuff, thanks guys
 
9:58 AM
@JansthcirlU Proof of maximum encapsulation lol
 
10:29 AM
@Squirrelkiller Im tempted to star this
 
10:54 AM
welcome
 
mr5
hahaha masterrace
oof I forgot huehue
 
What exactly is the Y-axis here?
 
mr5
usage I think
crazy that numbers are in order. except 0
since it's a relatively recent number
 
11:09 AM
crazy? no
google benford's law
 
mr5
11:21 AM
but why is zero at bottom in this case though
> In sets that obey the law, the number 1 appears as the leading significant digit about 30 % of the time, while 9 appears as the leading significant digit less than 5 % of the time.
000webhost should have rebrand to 111webhost
oh it exist
 
@mr5 what does this graph show?
 
mr5
it shows numbers
 
ah, I see
I was confused at first, because I thought it showed lines
 
mr5
usage overtime I think
 
usage where?
 
mr5
11:28 AM
it's from Google's Ngram
prolly books and websites
 
Doge to the moonb
 
11:45 AM
meanwhile me, having 35k dogecoin, waiting for it to get to $1
 
mr5
how much is 35k in $?
 
atm...
 
mr5
I thought one of the founder of that just recently died, no?
 
$10k
 
mr5
whoa
 
11:47 AM
@mr5 havent heard of it yet...
 
mr5
indeed. doge coin is on blast
meanwhile my little investment Y_Y
 
12:21 PM
that's how much my Ethereum is worth now :)
so I posted the picture of the demon chick with my OC and it got a TON of attention on INsta
like wtf it's always the super cartoony / chibi stuff that gets this kind of attention
 
mr5
12:46 PM
@Freerey are you using ledger to store your ETH?
Are you familiar with spot & fiat vs cross margins?
 
I'm using nanopool
 
mr5
how do you use that?
 
I set the miner to send there
 
mr5
this address seems belong to a miner
damn
how about hosting your miner on AWS. Would it be profitable?
 
1:02 PM
hosting on Amazon? how does that work?
 
mr5
basically, you'll pay Bezos to run your miner there.
the advantage is that, vertical scaling is easy with just click of button
but not sure about the profitability
 
uhhh so I pay for the wallet, right?
that sounds fine with me
 
mr5
you pay for the computing power
as for the wallet, I am not sure about your setup
do you have the private key? if so, you don't need wallet
 
>you pay for the power
what??? then what's the point?!
 
mr5
I thought you said you run your own miner
 
1:11 PM
I do
 
mr5
so by hosting on it cloud, you can ditch out your hardware
 
so someone else can use it?
 
mr5
use what?
 
THE HARDWARE
the miner
wait, if I'm hosting my miner on the cloud, why would I ditch it? how could Id itch it? if it needs to be servicing to the cloud, then I can't get rid of the miner because then it won't be able to provide service to the cloud, so..?
 
mr5
it's up to you. you can still use it.
 
1:17 PM
so the miner is a software miner?
you pay Amazon for user of one of their hardware miners?
 
mr5
point is, you can just easily upgrade the hardware when using cloud services such as AWS. You can still use your miner. As long as you do the Math that hosting your miner on cloud is profitable, then it's a wise thing to do.
yeah, I'm referring to the miner software
 
I am still extremely confused but I'm done with the headache for now; I'll figure it out later
 
 
1 hour later…
somehow my system is managing to send empty emails to myself and other users in the company for seemingly no reason at all :D
 
3:00 PM
@mr5 profit usually stinks for mining... in general
for most major coins, the power consumption (electricity, and usage of machine) are more expensive than actually getting the coins out
 
meow
!~shiba
 
3:33 PM
!~shiba
 
:o
so fluffy
 
3:57 PM
Dang that's one fluffy doggo
 
4:08 PM
ikr ?
FluffinessOverflow
 
 
2 hours later…
6:09 PM
[flixius] cutee
 
7:08 PM
@Hans1984 We need a site for that
 
 
1 hour later…
8:20 PM
[Hans1984] 👀
[Hans1984] the fluffiness is almost unbearable
 

« first day (3835 days earlier)      last day (1096 days later) »