« first day (2894 days earlier)      last day (2053 days later) » 

mr5
1:51 AM
o/
\o
\o/
I want to learn ML but have no motivation
@Wietlol AS?
 
 
4 hours later…
5:57 AM
Goooood moorniiiiing CeeeShaaarp!! Have you learned any new libraries or frameworks lately? Tell stories, send links, and let us partake in the accumulation of knowledge!
@mr5 Have you found an answer to you ML dilemma? I always wondered: Can you just write a program that takes lots of text dokuments, prints them to pdf (the image kind, not the text kind), and then feed the pdf to an AI to read it and then show it the original text for correction?
 
mr5
@Squirrelkiller ugh. that's. ugh. I don't know.
 
6:17 AM
Go to MVA, they have a course on it
ALso azure lets you play around with ai for free iirc
 
@Squirrelkiller I didn't use any new libraries, but I did try this yogurt without sugar and try to add raisins to it to replace the sweetness
Turns out you still kinda need the sugar. Blech
 
Try honey
It's from bees, so you can pretend it's not as bad as sugar!
 
Well I've tried with marmalade too
I think I prefer marmalade
 
Haven't actually tried that
 
otherwise you get a mouthful of this sour cream stuff until you chew the raisins enough to get the sugar
rather revolting experience. do. not. recommend.
 
6:24 AM
I love greek yogurt: Standard yogurt with walnuts and honey.
 
My wife's really big on reducing sugar intake, so we've been avoiding foods which tend to have a lot of sugars in them
that does sound good
 
No more sugar? Ok, Steaks all week!
 
hah
she also wants to reduce protein intake :)
nice try
 
I already considered that actually
 
6:25 AM
What else do you even eat now
 
veggies, pasta, the occasional omelette maybe
 
Also looked up the filipino recipe from yesterday, it's quite easy to make actually
 
that's protein, but I guess that's acceptable since it isn't meat
Which recipe?
 
Cut eggplant into slices, throw into scrambled egg, throw into parmesan, throw into pan. DOne.
 
I would totally eat that
 
6:27 AM
Conversation around there:
24 hours ago, by mr5
or this one, tortang talong as we called it
 
I remember we talked about it, but I don't recall that recipe being mentioned
 
No recipe was mentioned, just the stuff itself
I then discussed the recipe with my filipino colleague sitting beside me
(Who saw the picture and immediately recognized it!)
 
low carbs too
I have to see if I can't convince my wife to do that one night
I'd cook it, but she shoo's me away if she sees me trying to cook
 
Just say you cook today and do it :D
Gotta be home before her then!
 
Hah
I need to buy an eggplant then
 
6:30 AM
Get like 4, you can make lots of stuff with it
 
true, it is quite a versatile vegetable
goes with a lot of things
 
Put cream cheese and tomato on it, then optionally yellow cheese on top and throw it in the oven :D
I start to see a pattern. eggplant + cheese = boss
Hey also zucchini
Get eggplant and zucchini so you have a few new things
zucchini + tomatoes + cream cheese [+ yellow cheese on top] -> oven -> delicious
Why limit protein intake though, doesnt she want you to get totally buff?
 
tomatoes + zucchini + eggplant + cheese = greatness?
 
Probably, yeah :D
Gotta try that
 
Because she's been following some vegans on youtube
 
6:38 AM
Oh
OH no
 
I don't think she wants to become vegan, she was only talking about reducing protein intake, not eliminating it
I don't think I would accept going full vegan mode either :P
 
eliminating would be a whole different problem
but still, reducing protein will prevent you from getting totally buff
 
But we're trying to reduce calories, so I can't help but encourage better eating through veggies and carbs
 
*or being buff, I dont know your life
 
Well, I'm not a skinny dude, but I'm not fat either. I like steak as much as the next guy
But I don't absolutely have to have it every day
 
6:42 AM
Here's a completely carb-less aweosme easy meal: Get ground meat (and since we're there anyway: eggplant, make a layer of eggplant in a casserole), put a thick (all of the meat!) layer of ground meat in the casserole, put cream cheese on top, and throw it on the oven for 20 minutes.
Super tasty, no carbs.
My cousins husband is buff, and he like to make that in his lunch break.
 
what are the uses of bash code in .NET development.. I see repos in GitHub utilizes it but can't understand what it can do , that C# can't!
 
@Squirrelkiller I think I'll have to try that
I'll have to convince the wife though
My cousin used to be a bodybuilder, and for lunch, sometimes he'd ask for an entire chicken
He'd eat an entire baked chicken for lunch sometimes
Admittedly, that was after his workouts
 
morning all
 
MOrning bug o/
@Neil an entire chicken is just crazy :D
The dude I know isnt a bodybuilder, he just goes to the gym thrice a week after work and actually researched how to eat and stuff.
Dude looks like what I wanna be when I'm an adult.
 
6:59 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
 
'sup Squirrel
 
@Squirrelkiller You're not an adult?
 
No idea dude, no idea.
I still don't know what I'm doing
 
@Neil I don't like steak
 
People give me lots of money for writing text into a pc for some reason
 
7:01 AM
That doesn't sound right
 
@Squirrelkiller Sounds like you're an adult to me
 
I'm trying hard 👌
Lol wanted to type into google, firefox sent me here.
 
mr5
@Squirrelkiller how old are you?
 
mr5
7:06 AM
but you're already an adult
I have the motivation to go to gym but I don't have the motivation to eat
 
I do like to pretend I was, especially in front of children.
 
mr5
feels like eating is a chore that's why I'm still skinny af
 
I have the motivation to eat, but not the motivation to go to the gym
I'm skinny because genetics, but that luck will run out one day
You gotta get yourself some better food bro
 
mr5
I would like to eat right now but then I have to leave my seat and go in the canteen't
to much hassle
I have started to go to gym a week ago and I'm losing weights
 
right after gym, go eat a nice steak
isnt just tasty, but also good for building muscle
I don't know about the Philippines, but here in germany I can simply go to a supermarket, get like a 2-pack of pork for 5€ and a kilo of tortellini for 2€, put the pork in a pan at home and a few tortellini in a pot and boom - 10 minutes later I got a delicious meal.
Not entirely nutritious, but not too bad either.
 
mr5
7:24 AM
@Squirrelkiller don't you need to add some condiments for it to have some taste?
it's like you're eating water without those
 
@Squirrelkiller Not knowing what you're doing is the hallmark of being an adult, didn't you know that? ;)
I suppose that would mean that the hallmark of being a child is not knowing what you're doing, but assuming someone does
 
@mr5 The meat makes the taste. The stuff in the pan when the meat is done - that's the sauce. Put it on the tortellini.
Of course you can enhance that in several ways with some side dish or condiments - but this is the gist of it with minimal effort for more than acceptable result.
 
7:47 AM
What I wouldn't give for a good shepard's pie
 
8:08 AM
You guys ready for today's fun fact?
Fun fact: platypuses don't have stomachs. The food passes directly to their lower intestines. However the males do have a venomous spur on their legs.
 
platypus are cute
 
@Squirrelkiller Already?!
 
@mr5 ass?
oh wait
no, IntelliJ
I wouldnt write android in Java
or kotlin that compiles to jvm
I'd use Kotlin Native
 
mr5
8:35 AM
err AS supports kotlin right
 
i suppose so, kotlin is considered the primary language for android development
with kotlin-jvm
 
Java is considered the primary language for Android AFAIK. Yes, Kotlin is supported, but it's not primary.
 
> Ever since Google announced Kotlin as the official language for Android development at Google IO in 2017, programmers who want to become Android developers are in a dilemma. The big question in front of them is whether they should learn Kotlin or Java.
sounds like the "official" language, but still a dilemma
 
Official != Primary tbf
 
^ Exactly what I'm pointing out.
 
8:39 AM
Official = company says this is the right one
Primary = this language is used most of the time
 
i considered them the same :D
 
Official just means that "we support it". Which they do.
 
Javascript is also supported, but not official
 
It doesn't mean that Android OS nor most of its apps are suddenly written in Kotlin.
 
C# is also supported
 
8:40 AM
And isn't AS based on IntelliJ?
 
yes, yes it is
as are Rider, PyCharm, PhpStorm, WebStorm, CLion, and everything else
 
So why use IntelliJ over AS?
 
The SDK is written in java still, and "Android apps can be written using Kotlin, Java, and C++ languages"
As far as I know, Xamarin C# is JIT'd by mono into something that works natively, so doesn't actually work nateively
Also Kotlin will never become the dominant language for Android (unless google pulls one of the common tricks and says "Java apps are banned, learn Kotlin or suck a dick") because most common android apps have been around forever and the developers will not want to rewrite the entire thing
 
8:56 AM
because AS is for Android, IJ is for JVM
big difference
@LeeButler kotlin, scala, groovy, fantom, clojure, jython, jruby, janything compile to JVM bytecode, as does Java
javac (java's compiler) understands how to compile them at the same time and you can code in any jvm language with full interop as if it were all the same language (jvm languages)
so, writing in kotlin for android is often done via JVM bytecode, which means that it uses the same Android SDK and compiler stages and has similar output
 
javac is only for java though
 
however, Kotlin also has Kotlin Native, which generates LLVM code, which can be used to make Android/IOS/Windows/Linux/Mac/etc applications
 
kotlin will have its own
 
hmm...
 
Oh hellou
 
9:00 AM
iDunno, but it works :D
maybe its maven that combines everything
 
Oh no it's kotlin again
 
maven is an excellent example of how not to deal with dependency management
 
maven is also a build tool
not just dependency management
 
Maybe therein lies the problem
It tries to do too much
 
but yea, you mostly use it as dependency manager because you often dont care about the build process, you just want it to build
 
9:03 AM
I assume the creators of maven have never heard the expression "convention over configuration"
 
I think the build tool depends on the dependency manager
 
well they're related
 
combining that would make sense
 
I see why they did it that way
 
I dont feel maven does too much though
 
9:05 AM
Maybe the problem comes from the fact that there is no real standard for project organization
 
I often use Java/Groovy/Kotlin together to make applications
 
so that needlessly complicates the actual build configuration
 
if they get larger
maven is the standard
 
We get it, you love Java.
 
I dont
 
9:06 AM
He hates it in fact
 
I just dislike C# more
I just dislike everything else more
 
Including Java
 
yes, I dislike Java too
I even dislike Kotlin
 
Great, so you're a pessimist through and through. Glad we've established that.
 
and TypeScript
@RoelvanUden I dislike it because they do stuff that I wouldnt even dare do in the way that they do it
because I know of a much better way of doing it
 
9:07 AM
An optimist sees a glass as half full, whereas a pessimist sees a glass as half empty. An engineer wonders why you needed a glass twice as tall as required.
 
a simple comparison, consider each language have one feature that they are really great at
and all of those features are different ones
I would like those features
but I would dislike the language because all other features are worse than the ones from other languages
 
I don't think anyone likes the features which are done better in other languages
 
if there would be a language that takes those best features and combines them, that would be a language I would like
@Neil trust me, I do
 
This was established a long time ago
 
Lets make a new language!
!!xkcd 927
 
9:10 AM
 
the issue is that each language progresses in its own way
based on the needs of the developers or the ideas of the makers
and one language might get new feature X and another language might get feature Y
 
what features would your ideal language have?
 
and that master language has to keep up with everyone
 
Supports multithreading?
 
@Neil is that a rhetorical qusetion?
 
9:13 AM
@Wietlol no, it's a legitimate question.. would your ideal language support multithreading?
there are ways of getting around multithreading
 
a language that wont do multithreading wont be able to be used optimally for a lot of cases
 
So the answer is yes? It would support multithreading?
 
yes
 
Ok, do threads share memory? Or would they each have their own?
 
by default, they would share, but you can have thread-local providers
and thread-local storage
 
9:15 AM
Ok, so concurrency is an issue.. how will you address concurrency? mutexes? synchronized blocks?
genuinely curious :)
Not judging
 
@Neil JNode
 
well... taking a look at kotlin, concurrency issues are mostly handled by the compiler
mutable values are not guaranteed to be correct based on earlier assumptions
there are also other ways to prevent these things
also, by default, classes are immutable
lemme write you a simple example
 
ok, but concurrency is still an issue if you allow mutable classes
it's fairly easy to force synchronization of reads/writes of data, but not all concurrency issues are data related
 
take a look at this for example
we have a mutable class and an immutable class (not truly immutable, but the properties cannot be overridden)
String is a non-null string and String? is a nullable string
the first case, where the value is mutable, the check for == null is not guaranteed to still be true inside the then block
in the second case, that myThing is guaranteed to be true
this is to avoid multithreading issues
a way to solve it would be to get a local variable and store the string in there
then you are guaranteed that no other thread is messing with you
this is still an issue if you use reflection to change the readonly property (because reflection can do anything)
but that is reflection's issue
 
But if you had a mutable instance, you'd have no way to avoid concurrency issues this way
 
9:24 AM
as I said, you would have to get local variables of the values you want to use
or get a copy of the object
 
mr5
So make a language that synchronization is not an issue, same way the need to mark your variable volatile in Java and C# eliminates the use for it
 
I mean you could say that the programmer should just use immutable instances and be done with it, but you may genuinely need to share a mutable instance between multiple threads for some task
 
hence why I allow mutable classes
the main features that I would have differently is using Go-like async processing
async in C# for example is horrendous
 
Like say you have a list of tasks to be performed. All the threads have this instance and can remove an object from the task list and start working on it. You need to ensure this list can be safely updated
otherwise two threads may work on the same task
 
it either isnt used or adds noise everywhere and requires you to duplicate your code a lot
 
mr5
9:26 AM
- Same way garbage collection eliminates the need to free/deallocate pointers
- Same way the need to mark your variable volatile in Java and C# eliminates the use for it
- Same way ARC eliminates the explicit call for deallocation in Obj-C
- Same way smart pointers eliminates tracking of pointers in C++
 
So you'd include a keyword like volatile to make certain data safe from concurrency issues?
that's one approach
 
I am not sure about if I want to use struct types though
however, structs have 2 main features, and I think I can get at least one of them without drawbacks
but I would also have different kind of generics
 
mr5
Eliminate all the complicated stuff so everyone can be a programmer
 
and MI
 
oH MY GOD ARE YOU STILL GOING
 
9:29 AM
hya lee
 
That wasn't meant to be in caps but ah well
 
if you want to change the subject, be my guest
but its silent if I dont talk
 
mr5
we are still going bcoz we have nothing else to do
 
I prefer silence than people shittalking C# in the C# room
 
mr5
or, it just bore me to do my task atm
 
9:31 AM
Most people in here are here when they're in work (at least regular active people) so you could do some work
 
also... there is one thing in particular that I thought about recently
class Number : Comparable<Number>
consider this class/struct/interface/whatever
the instance is comparable to other number instances
but that means that the class would be the comparator
or the comparer
but that one doesnt implement the comparer interface
 
Wat
How can other instances of Number not implement Comparable<Number> when Number is defined as implementing Comparable<Number>
 
the class could be used as comparer of numbers
 
mr5
I think Wiet should start to make his own language
 
@LeeButler that is not what I said
 
mr5
9:34 AM
Wiet++ or Wiet#
 
@mr5 too late, already started
I try to have a fiddle up at the end of this year
Wietlang
(I am open to any other name)
 
I'm gonna remember that
 
mr5
why are you not linking it to your profile then
 
And what is the USP(s) of this language
 
The whatnow?
 
9:35 AM
I, for one, don't really care about this theoretical master language. Every design decision in any programming language is a compromise between several options, all with their own pros and cons, and none of them is perfect. All this moaning about decisions in X or Y and how Z does it better is moot. They're only better for one particular specific scenario that you so happen to care about. I'm really done with this topic.
 
@mr5 because I dont care about my profile
 
<3 Roel
 
@LeeButler me having made it :D
 
@RoelvanUden That was sort of my point as well
If you chose multithreading, you choose amongst several advantages and disadvantages
 
I dont expect anyone to use it
 
9:36 AM
C# does everything I need it to. I have no issue with how it works
 
but those disadvantages don't go away, you just decide they're not important enough to consider
 
Precisely. I personally am one that leans towards a single-threaded but concurrent model, but multi-threading has its own advantages (and complexities). I'm not going to bash languages for including multi-threading though. :-P
 
@Neil I believe we could make a general purpose language that can be used for anything
 
C# and Java are examples of such general purpose languages.
 
@Wietlol That's incredibly vague though
What do you mean by "it can be used for anything"?
 
9:38 AM
for anything you would use a programming language for
 
so, like quering a database?
putting shadows under a textbox?
 
not a special language for AI, not a special language for maths, not a special language for data science, not a special language for querying a database, not a special language for browser side website stuff, etc
 
So, JavaScript. You're saying JavaScript.
 
Communicating the data from that textbox to the server and handling that request?
all from the same language?
 
mr5
I believe we can make a computer that eliminates the use for multi-threading
 
9:39 AM
but no JavaScript
 
The fact that C# offers both is awesome. Sometimes I need ♪ A little bit of concurrency in my life, A little bit of multithreading by my side, a little bit of multi-platform support is all I need, A little bit of C# is what I see ♫
 
mr5
If we have made super-duper-very-very-fast computer, we would eliminate several computer jargons
 
We have done, and we piss those resources around doing stupid shit like running electron instances
 
@Neil why not?
 
Eh, absolute performance takes time. I'll take the ease trade-off.
 
9:41 AM
they would be different applications though
but dont need different languages
 
So... Javascript then
 
the only issue would be performance, this language would probably not run as fast as C++ or whatever, but it should be able to reach Java/C# like performance
 
Or typescript
 
@LeeButler no javascript
 
> Java/C# like performance
 
9:42 AM
typescript could be if it were cut off from javascript
 
They are not comparable
 
they are fairly equal
 
@Wietlol It would be horribly complicated
But I admire your ambition
 
@Neil why would it be?
it doesnt have to be
 
mr5
@Neil you mean like this? <Label Text="{Binding Source=https://google.com, Path=document.getElementById('a').value, Mode=TwoWay}" />
 
9:43 AM
@mr5 these are two languages, not one
 
@Neil That's actually a really easy example
 
mr5
yeah but that would be sick to do. Imagine, your control is binded to a particular page
 
XAML isn't a language, it's markup
 
@mr5 that is html + some language and is configuration, not instructions
 
Omg you don't thing HTML is a programming language do you?
 
mr5
9:45 AM
wat?
 
@mr5 Hey, it was your example, not mine
 
mr5
I'm just introducing an idea
 
I dunno.. If you used C# to write javascript to do things you could do only in javascript, does that mean C# made that possible?
I would argue not
That's not a single language, that's just combining existing languages
 
@LeeButler not programming, no, but still a language
I had to learn this the hard way
when you write a web application in lets say... web forms for whatever reason
you have aspx files right?
which are basically html templates
we grew into templates and used them in many places
we wrote our own templating engine for whatever reason
 
That sounds like an issue with your end
 
9:48 AM
starting off really simply by providing it a dictionary of values which would be injected like "{myvariable}"
but at some point, we needed conditional expressions
like if (this) {a} else {b}
 
Sounds like you should have been using MVC
 
but then... {if:(this)then:({var(a):})else:({var(b):})}
@LeeButler we should have been using anything else
but this is not just for the web views
this is for many other things
mail templates
 
Alternatively, pass the variables through after the condition
 
etc
but then we also needed an iterating mechanism
and then the templates got big
 
mr5
so they made razor
 
9:52 AM
and we needed some way of making it modular and reuse pieces
and then we needed to make it better structured because what not
 
I'm not seeing the issue with the languages or the framework
 
and we sorta ended up with a full programming language
a horribly ugly, annoying programming language
 
eureka?
 
mr5
then you go back writing into C
 
the same with html templates
 
mr5
9:53 AM
then you kill yourself because everything gets complicated
 
you want a looping mechanism, conditional expressions, modular pieces, etc
 
I do think http could use a major overhaul
Though it would be way too much of a mess
 
so, I prefer an approach similar to react, where your html template is in your code
you can use the same language, same if statements, same loops, same functions, same classes and it will work the way you are familiar with it
 
Sounds like you created PHP
 
we created PHP... but an uglier variation
 
9:55 AM
That's impossible
 
trust me, it is
 
mr5
it's just that react is slower
 
doesnt need to be
 
mr5
it's slower. you just need to believe me
 
react would probably start slower, but after that, its much faster
 
9:58 AM
I would love to see an implementation of react that doesn't suck up resources
Unless you're talking about development time, in which case I'd love to see an implementation of anything which doesn't need 10 bazillion node_modules
 
use kotlin, you dont need node modules
you can use them, but you write kotlin, who needs node modules?
 
React in kotlin? Show me
 

« first day (2894 days earlier)      last day (2053 days later) »