« first day (3329 days earlier)      last day (1623 days later) » 

10:00 AM
Wait until somebody has answered it, and if they haven't after a couple of hours then come back and ask again
 
Ah darn he was faster
 
If you for some reason can't pull it from the source, go there in a webbrowser, download the .nupkg, put it in a folder like C:\NuGet, and set that folder as a feed in the package manager settings. Boom, available.
 
@ZMAX It looks like it's searching in a private nuget repo, not the public one.
 
I just read that as "But I want answers NOW you NEED TO help me NOW"
 
ok
 
10:00 AM
Are you sure it in Volvo's repo?
 
@RoelvanUden That's basically what I was trying to defend against
 
@AvnerShahar-Kashtan so how do i change it to public path
no it's not in that
 
This is the C# room, how dare you discuss C# related development matters!
 
@ZMAX Should be in a nuget.config file somewhere.
 
A console app has a reference to a framework class library. The console will run 100 instances or more in the server. Some code that has to run separately for each such instances are written in the library and not in the console application itself. Is it safe ?
 
10:02 AM
If you're installing via VS, there's a drop-down in the top-right corner of the Nuget screen to choose the source.
If via command line, it should search all sources.
You can specify the source, though.
 
Or in visual studio go to package manager settings
 
@Sakthivel Yes, the library will be running a bunch of different instances too
 
ok
 
Awesome thanks @CaptainObvious !
 
Basically it's the same instance as the console app itself. However, I am questioning why you're running 100 instances of the same thing on 1 server
 
10:03 AM
@Sakthivel What's safe? If each console app will run in a separate process, then the different instances are entirely isolated from each other. Assuming, of course, the framework code doesn't access out-of-process resources like files on disk, which might have conflicts.
 
My wife just told me that the sole of her left shoe completely detached this morning, and she went home to swap shoes and the sole of her right shoe followed suit
is this a thing that can legitimately happen?
 
I mean
You can sort that by putting the sole back in the shoe
and then putting the shoe on
 
yes, but the sole of a shoe shouldn't just fall off all at once
 
mr5
@AvnerShahar-Kashtan should I be downloading Humanizer.Core or Humanizer? I just realize we also have a hard coded for "{0} seconds ago", "{0} minutes ago", etc... also
 
oddly it happened to both shoes at the same time
I assume she's not actively sawing away at her shoes with a carving knife
 
10:07 AM
@mr5 in the example I posted, I only used Core
 
mr5
do you think it also cover the timespan?
 
certainly does
 
you know the day when your premium mode for your homepage was activated(for money)
 
var duration = new TimeSpan(1, 2, 13);
Console.WriteLine(duration.Humanize());
> 1 hour
 
and you have zero motivation to work on it
dang!
 
10:09 AM
@AvnerShahar-Kashtan I tried to install this nuget package from nuget console but it shows error
changed the source to ALL
but nothing works
 
@mr5 Humanizer.Core includes US localization (I think)
Humanizer includes all the packages
 
mr5
okay got it.
installing...
I wish it's only a few kb
 
238KiB
!~convert 238Kib to kb
 
@Wietlol 243.712 kb
 
that is... a lot
a bit too much
ow wait, I mistyped
!~convert 238KiB to kb
 
10:14 AM
@Wietlol 1949.696 kb
 
@mr5 it is only ~1950kb
 
mr5
I'm confused
is it almost 2MB?
 
no
 
2Mb isn't too terrible, even at 3G speeds.
 
it is almost 2Mb
 
mr5
10:17 AM
Mb means megabytes?
Megabits?
mibibits?
 
which is not nearly as much as 2MB and definitely not near 2MiB
 
soo how you use an image as a background for your page and still make the text on top readable
i put a white color background for the text but on top of the image background it looks kinda shitty
hmmm
 
mr5
> My superpower is reading error messages (and Googling them) before posting them to StackOverflow.
@John_ReinstateMonica I like your superpower
 
@Hans1984 shade?
you need some sort of outlining
look at how memes do it
they are usually white text with a black border around the letters
 
shade on the text box ?
 
10:20 AM
it is a textbox?
or a label?
 
im using wix.com they have different tools
 
@nyconing what library did you use for the convert tool?
> * mass: lb, lbs, kg, Da, dr, st, tn, ct, oz
* volume: tb, pt, tbs, cu, qt, bu
* magnetism: Wb, Oe, Mx
* length: mi, in, ft, yd, ls, ly, rd, pc, AU
* time: yr, hr, wk
* counting: nt, bp
* luminous_power: lm
* force: lbf
* resolution: px
* charge: Ah
* speed: kt, kn
* prefix_only: dz, gr
* logarithmic: dB
* solid_angle: sr
* energy: th, Wh
* luminosity: cd
* power: hp
* pressure: Pa
* viscosity: St
* radiation: Sv, Ci, Bq, Gy
* frequency: Hz
this is quite a list
 
mr5
maybe she's using humanizer?
 
Lets find out
!~>DateTime.Now.Humanize();
 
@CaptainObvious 'DateTime' does not contain a definition for 'Humanize' and no accessible extension method 'Humanize' accepting a first argument of type 'DateTime' could be found (are you missing a using directive or an assembly reference?)
 
10:24 AM
No she's not
 
mr5
maybe maybe maybe you need to include the extension first?
 
@CaptainObvious you need a using for extension methods
 
mr5
and the command for conversion already does it but explicitly calling it does not?
 
its npm install js-quantities
 
10:25 AM
Didn't need to when we were messing with reflection though
 
!~> Humanizer.TimeSpanHumanizeExtensions.Humanize(new TimeSpan(1, 2, 13));
 
@Wietlol The name 'Humanizer' does not exist in the current context
 
but it still doesnt exist
 
mr5
!~>Humanizer.TimeSpanHumanizeExtensions.Humanize(TimeSpan.FromSeconds(1))
 
> js
 
10:26 AM
@mr5 The name 'Humanizer' does not exist in the current context
 
ew
 
mr5
so nyc is running bot js and c#
 
afaik, the js bot is setting up a C# container
then compiling and running the C# code
 
@AvnerShahar-Kashtan Files are assigned to these console application to process. 10 folders assigned to 10 console apps. They run, once done with the files the app will exit. They have nothing to do with the files in the middle of processing.
 
mr5
@Wietlol from this example, does it already round from MB/GB/TB/PB?
 
10:31 AM
@Sakthivel In that case, it's just code that's loaded separately into several processes(*) and run separately on different data. Should be fine. What are you worried about?
 
@mr5 what do you mean?
 
mr5
err
how can I remove the unit in case it's 0?
 
Check the value before stringing it up
Label.Text = value>0?value.ToSizeStrignThing():"0";
 
mr5
ew. who still directly access UI stuffs this MVVM days?
 
or just "none"
true, your ui code should look like this
 
mr5
10:38 AM
we're following specs. It should be 0 without units
 
I don't know what you're doing
 
label {
    text = if (value > 0) value.humanize() else "0"
}
 
I mean to me, it looks like you're making an app in xamarin which weighs 40MB to display something which is displayed in the system already
For users who have shitty 3G connection who will spend about an hour downloading the app
 
mr5
It's an internal data consumption for video
There's no built-in way to determine that
 
I put attachments on a gun in unity last night
twas mucho interestingo
 
mr5
10:42 AM
API is excluded
 
I'm going to use @Harry's avatar as a target so i can test my bullet collision too >:)
 
Excellent plan, post results
 
I was worried that my coworker written the file processing code(external library SDK) in the class library and not in the console app. I thought number of console apps != Number of ocr instances. I believed all the ocr implementation (SDK referring code) should be in console and not in library
 
@Sakthivel Splitting each processing task to a different process might be a good idea if you want to make them robust, ensure that bad code won't take down the entire system but only one process. But it has its drawbacks - harder to manage, takes more resources.
It's a trade-off.
 
@CaptainObvious i will do so tonight
But for now, take this
 
10:51 AM
Omg how is a single gun so laggy
 
Laggy
what the fuck are you talking about
 
There were mad frame drops?
 
ahhh i see
I think that was potentially OBS being shit
¯\_(ツ)_/¯ I'm still figuring this unity stuff out
 
mr5
@CaptainSquirrel are you good in trigo?
 
trigo?
wat
 
10:54 AM
 
trigonometry?
 
Trivago?
 
@Neil same happened to me. I haven't used the shoe for a long long time, and the glue become super weak.
 
@mr5 are you asking if i'm good with trigonometry?
@Neil i'm glad you suggested that
 
@CaptainSquirrel could be completely wrong still :P
@ntohl she hadn't used it in like 3 months admittedly
just a weird thing to have happen
 
10:59 AM
yeah. It was a hiking shoe, and I haven't got the time for hiking for years in it. So I wandered around in a forest without soles and carrying around 2 really muddy soles in my hand (didn't want to just drop them)... Most of the time with a children on my shoulders
 
@AvnerShahar-Kashtan True,resources isn't a concern for me. a code that works with document and which is basically built on top of a sdk should be independent of our own implementations. lets see
 
@CaptainSquirrel fuck u
 
@Harry I'll shoot you
....in my game
 
mr5
@CaptainSquirrel yes
 
@mr5 I mean its math, so i'm already at a disadvantage
Depends on the context really
 
mr5
11:06 AM
I only know sin and cos
 
I know of them
Tbh i've not had to do any complex math stuff yet
 
mr5
sqrt is still a mystery for me even though it's taught in grade school
 
squirt?
 
square root
 
that was my second guess
 
11:07 AM
square root is a fairly simple concept
 
ye, what is the square root of -1?
or the square root of 1
 
imaginary
 
mr5
I mean, I could use square root if I have to and probably do it correctly but I never "understood" what it's for
 
what is the square root of the square root of 1?
@mr5 pythagoras?
 
"My girlfriend is like the square root of -100.. a perfect 10, but also imaginary.."
7
 
mr5
11:10 AM
Pythagorean theorem is used to determine if two 2D circles are colliding
 
thats a real number you did there mate
 
@mr5 isnt that if (distance <= a.radius + b.radius) ?
== case might be special tho
because it is a valid state, but still considered collision in most cases
 
mr5
yeah
 
so, depending on what you do with it, it is either < or <=
 
mr5
I mean, I think I understood a Math if I know its application
And can derive it on my own
 
11:13 AM
but circle collision isnt sqrt related tho
 
@Wietlol so how do you calculate distance if not via the pythagorean theorem? :P
 
mr5
yeah that's why I still don't know sqrt
 
@Neil distanceBetween(a.position, b.position)
but I suppose that is a good point
 
you say that like it means something :P
 
the implementation of it would probably use pythagorean theorem
 
11:15 AM
assuming you were using coordinates of course
 
keep in mind, I strictly follow SLA
 
and you would either need to square root it or get the square of the radii
 
actually, you dont need sqrt
which could increase performance
 
no, if you leave it squared, and then you square the sum of the radii
probably a lot more efficient way of going about it
 
distanceSquared <= (a.radius + b.radius) ** 2
 
11:17 AM
Did lists ordering can be parallel? .AsParallel()?
 
@nyconing certainly can
 
I have a third party interfaces. Those interfaces do not have functionalities i need. If i want to improve those interface with functionalities of my own, without removing any of the default functionalities and convert any data of original interface to my own interface with added functionalities what should i be doing ?
 
LINQ probably doesnt do it tho
merge sort is an algorithm that could nicely do stuff in parallel
insertion sort for example might have more difficulties with it
 
I bet those third party implementations do not implement your extended interfaces tho
 
11:25 AM
They don't have to
As long as his interface inherits theirs then itll be fine
 
hmm...
@Sakthivel can you give an example?
 
dammit I've spent 3 hours setting up the new phone
 
Haha
Sorry hecti
 
@Wietlol external sdk has an interface ITableBlock which represents a table but does not have any implementation for rows, columns if the table has headers (properties) etc. I want to have an adapter class (?) or somehow implement this interface and add functionalities like GetRows(ITableBlock block); etc..
 
hmm... ui elements
expect a lot of pain
 
11:37 AM
Sounds like you should be binding the table to a collection instead
 
Cap, The table interface is like 30k ft deep. I wouldn't want to dismiss any info that it actually carries
 
Guys do you use any kind of custom android launcher?
Been looking around and it seems like there's this Nova launcher
and then there's the competition
But Nova full version costs about 6 bucks
 
I only use Evie or Samsung stock
Samsung stock from OneUI
 
11:58 AM
@HéctorÁlvarez I used Nova for a few years. It was quite good. I don't remember why I switched, but I use LawnChair now. It's very simple.
 
@AvnerShahar-Kashtan Hmmm cool. Do you have the paid version of Nova? If so, do you recommend it over the free one?
I see the difference between free and pro is just having a few niche features like effects when sliding around
 
@HéctorÁlvarez No, I used the free one. Was good enough.
I don't actually want many features from a launcher.
 
@HéctorÁlvarez ZenUI i like the most
Haha
I also use Lawnchair now :D
I prefer ZenUI over LawnChair and LawnChair over NovaLauncher.
I only stopped using ZenUI because it isn't supported on my huawei devices :<
 
Hmm interesting I'll check those. All I want from a launcher is:
1. Good item arrangement
2. No trash (e.g. MiUI left pane)
3. Low consumption.
so far Nova is getting it right
 
@HéctorÁlvarez Lawnchair's a good candidate, then.
 
12:07 PM
is ZenUI free?
And Lawnchair
 
Oh well that is very interesting
I like it
now I have to find a way to remove all the bullshit from the phone
lots of bloatware
maybe I will need to replace the ROM
 
just return to factory settings
install only what you use
 
perhaps when the phone starts to slow down
It's in factory settings
but it comes with a lot of BS like facebook, aliexpress, amazon, etc. preinstalled
 
oh ouch
 
12:17 PM
I don't need any of the Mi apps
as a matter of fact, I don't want them
 
what brand of phone do you have?
 
Mi 9t pro
 
That's why I got the Mi A2. It's AndroidOne and has very little bloatware.
 
facebook app is a freakin' plague
every now and again my wife posts something on facebook and asks me to check it out, so I'll login, and from that point onwards, continual notifications from facebook until I logout again
really when you think about it, "logging in" isn't really a concept that exists anymore, at least not for facebook
 
I haven't used the app in years. I stick to them mobile web UI.
But then again, I'm notification-averse and don't have notifications for anything except for texts and Whatsapp.
 
12:21 PM
I don't mind notifications for that or for e-mail
I just don't want to know that the guy I friended because I took an obligatory government course with him 5 years ago bought a new car and wants everyone to know about it
 
@Neil Ah, I don't want those notifications even inside facebook.
 
HEY @Neil LOOK AT WHAT I HAD FOR DINNER
HEY @Neil CHECK OUT THIS NEW THING I BOUGHT
Those types of notifications
 
I regularly prune my friends list, add most of it to Unfollow/hide, and disabled notifications for most groups. I want my content pulled, not pushed.
 
@mr5 got some news for ya deviantart.com/dean-scotty/journal/…
 
@CaptainSquirrel bingo
 
12:24 PM
I occasionally get those
I've not had them for a while specifically because i'll turn them off when they come in
 
@Squirrelintraining wat wat
 
@AlRey watwatawt
 
you said wat first
 
why'd you ask me wat last night?
 
12:30 PM
I didn't
I asked you wat this mornin
 
4 hours ago, by Squirrel in training
@AlRey wat
 
And screw you, your timezone sucks!
:squirrel_fite:
@AlRey Oh that, it was response to your ex gf trans thing which always confuses me.
 
she became a he, but didn't want his parents to know...and then after not being able to show any spine to his parents, I broke up and he became a they and now idfk what's going on
Asked multiple times if we could finally live together, but they weren't able to go all the way
 
what you doing in there ? @CaptainSquirrel
thats not where the nuts are
 
I'M LOOKING FOR MY SANITY
LEAVE ME BE
 
12:41 PM
:o
ALRIGHT
 
@AlRey wat
Al
 
If your stories are true, then your life is weird.
Weird AF
 
yeah it is weird af
why do you think I'm so neurotic?
 
12:49 PM
@AlRey neurowat
@Hans1984 word
the frig
 
thats why all these weebs are fkng weirdos
watching garbage like this
ugh
I mean you have to be twisted af to come up with something like this
let's rather watch funny,peacefull squirrels
 
@Hans1984 we squirrels get to have fun too!
 
@CaptainSquirrel of course
 
Ahem
3 hours ago, by Captain Obvious
We need to implement a ban on chains of animal picture spam
 

« first day (3329 days earlier)      last day (1623 days later) »