« first day (3183 days earlier)      last day (1763 days later) » 

mr5
2:00 PM
we want it to be in a form of NuGet so less hassle when setting up a new project
but
it's kind of hassle to open a new solution just to update something from the library while we are doing this project
though we could set up CI to automatically build & pack the NuGet for us
and another option is to just link it as a project
where there is a single branch
or separate branches for each dev and just merge together before pushing
so, which setup would you guys recommend while supporting to upgrade of our base library?
 
I use the linked project method
If there's a lot of people involved, CIing a nuget package together on updates is easier
The idea being you shouldn't have to add stuff to the library that much
 
mr5
@CaptainObvious but it would take more time to reflect the change
 
It should only add a few extra minutes
 
mr5
do you have an experience setting up a CI?
build & pack & deploy?
AppCenter looks promising
 
Nope
I use appcenter for keeping an eye on my xamarin forms app
I use Teamcity for the CI on one of our libs
But I didn't set it up
 
mr5
2:18 PM
It's nice to have the CI setup. Since I can't still foresee the benefit of it, I think we would go for project dependency atm
 
@mr5 you mean like a library with just general stuff in it you would use for most projects?
we put it in nuget
when you want something to be changed, you change it and update the nuget
 
mr5
@Wietlol yep
collection of common stuffs among previous projects we made
 
at this point, it doesnt change much any more
 
mr5
@Wietlol it's actually kind of buggy when we are building our library. what do you use to build the .nupkg?
it took us 5 days to finally pack the library
 
we have a cmd that builds and pushes it to nuget
we just do pushtonuget 1.2.3
 
mr5
2:25 PM
do you push it into your private repo?
@Wietlol the versioning is as easy as that?
did you use PS?
 
ye, we use a private repo
the versioning is as easy as that, yes
 
mr5
Did you guys use PS to do that?
 
and we didnt use powershell (iDunno what PS means, but I assume powershell)
 
mr5
yes powershell
which scripting language you use?
 
iDunno
the thing that you put in cmd files
 
mr5
2:27 PM
@RoelvanUden hey, remember our convo? we're starting the project now :)
 
bash?
 
mr5
did you do it?
tell me how did you do it.
 
I didnt make it, no
i can take a look at the script tho
 
mr5
can u share the script?
:D
 
Wait you manually push?
We use teamcity to build, package and push to the repo
We push new code to the git repo, about 10 minutes later check nuget for updates and it'll be there
 
mr5
2:29 PM
welp.. yeah. but I know we could put that in the post build settings
I saw that!
 
mr5
It's the auth token right?
 
@CaptainObvious for the time being, we push manually, yes
we want to do it via CI, but we arent there yet
 
mr5
@Wietlol is that the script you're talking about?
 
ye
all you have to change is the lines about the project and the repository
> set project=TODO.csproj
set server=//127.0.0.1/nuget
 
mr5
2:36 PM
but u ping buttler instead of me :(
 
keep in mind, This file should sit in the same directory as the csproj file you want to package
@mr5
better now?
 
mr5
yeah =P
@Wietlol I'll try to learn this thing. thanks!
 
Ew that's horrible
 
Am I weird that I always have to have my solution file outside of all the project folders. I cant bear to create a project that has the same name as the solution, because VS creates it in the project folder rather than outside. I also want my solution called MySolutionName and my project called MySolutionName.Web. It annoys me when I see sln files buried away somewhere - or even worse multiple sln files without any purpose. #firstworldproblems
 
mr5
sln file not being on the root project directory?
how are those people do VCS?
 
2:50 PM
I use the VS default which works wonderfully.
Repo folder, which contains .sln and project folder
 
I have to create an empty sln to be happy
 
project folder contains the csproj and all of the rest of the project files
What's wrong with default? It makes the most sense to me,
 
I see it too many times with other peoples code
didn't they change it a little while ago?
AND another thing that really grinds my gears - multiple repos containing projects for the same system
so i have to maintain 5 solutions to get 1 system running.
 
Wat's wrong with that
 
What's right with that?
I tell you what - instead of installing windows next time - how about you dl each dll separately and drop then in the System32 folder?
 
2:54 PM
SRP is right with that IMO
 
sounds good to me
 
id love that
 
What if some of those seperate solutions are part of other systems too?
 
and don't get me started with GAC vs references
Well then that's OK Captain Obvious
 
And if your multiple projects are all API's, seperating them into different projects makes sense
 
2:54 PM
But if they aren't then it sucks
 
GAC is cancer
 
I wrote a LiveChat System that had 4 different projects
 
yeah - it's probably the leading cause of "works on my machine"
 
The server, the api, the agent & the javascript client
Granted, in hindsight i could have coupled the server & api together, but thats a different problem
But it helps sometimes for clarification so you know where everything is for the individual parts
 
2:57 PM
yeah aiming for scalability of a decoupled system but then finding your api is a one trick pony isn't a rewarding part of dev
 
I mean we only had 2? api's when i left
One was a text api for incoming texts that was never really finished
One was that livechat api
and the livechat api had two jobs
It would connect to the livechat & monitor the amount of people and stop others from starting a session if there were too many clients connected or it was out of office hours
and you could also download a transcript
 
mr5
you only have 2 jobs!
why download? why not just a link?
 
Sorry i got that bit wrong too
It was a unique link that would use the person's email address (From their logged in account) and would send an email to said address with the transcript in the body of the email
There was also support for non logged in clients but that was never implemented
It was part of the POC though
 
mr5
point of code?
 
Proof Of Concept
 
mr5
3:03 PM
oh
 
I would love to re-create a livechat system but i don't think i want the stress again lmao
 
I've thought about building a CQRS system with 2 rest API's talking to the Event Store but REST conflicts with CQRS right?
 
I'm gunna make a c# version of Discord that you can host yourself
 
mr5
hey. I have implemented a live chat system not too long ago using js. Not so proud of if though because I'm doing an pull interval from db if there was an available messages :(
 
like a mixture of Discord & Teamspeak
IMMA DO IT
 
3:06 PM
Just Do It!
 
I WILL
YOU WATCH
 
mr5
> Use crystal clear sound to communicate with your team mates cross-platform with military-grade security, lag-free performance & unparalleled reliability and uptime.
 
We have one core library which is used by another 40odd projects
it's fun
 
mr5
I'm persuaded with their marketing punchline
 
guys
 
3:10 PM
@mr5 I did exactly that and it was horrendous. I posted a screenshot a few weeks ago
 
mr5
I never thought you could pull military grade to sound very powerful in terms of software
 
is there any way to prevent a user from resizing a window past a size of say, width600px, height 500px;
 
@Harry what type of window
browser window or desktop
 
Jun 12 at 8:42, by Captain Obvious
user image
@Harry Yes.
 
mr5
@CaptainObvious it's kind of hard to sync messages with that kind of design right?
 
3:11 PM
browser
 
mr5
@CaptainObvious UI looks '90sh
 
Not really/. Send is just an insert, when when its done it refreshes the entire conversation
 
@Harry Technically, you can stop your UI from scaling up with max-height/max-width
But AFAIK there is no way to stop the actual browser from being resized
 
body{max-height:600px;max-width:800px;}
 
3:14 PM
Except with the right values
 
I think you Techically can stop the browser from doing it
OR you can open a window from your window and force the size of that
 
Not all browsers are created eqial though, and some will ignore some parts
 
no i dont want them to have it small so it'd be min-height surely?
 
Limit generally means maximum but sure
 
mr5
3:15 PM
@CaptainSquirrel you can't resize VS twice than your monitor size
 
When you go to high school you'll find out about weird English features like that
 
mr5
It's possible on Mac though
 
ok, better question, is there a way to have a minimum window size
 
Well damn
@Harry yes
 
@mr5 Yes you can.
 
3:15 PM
If you're doing new stuff just use grid box
 
body{min-height:600px;min-width:800px;}
 
ok great
 
mr5
I can resize the window as long as the type that holds the value supports it
 
When the user's browser resizes, it will just continue to render the content at that height & width
 
mr5
@CaptainObvious tried it earlier, did not work.
 
3:16 PM
and your user will have to scroll around
 
its not really my responsibility tbh i just want to make sure that im not writing unusable code
 
@Squirrelintraining laters, enjoy dota 2
 
you werent even here all day??
 
3:16 PM
He was, he just didn't speak
 
oh
 
Holy shit I have 679 images in my snips folder
 
noice
pick one at random and paste it
 
Oaky hold on
 
mr5
snips folder? are you constantly snipping (using Windows key + shift + S) and paste it on MSPaint then save it?
 
3:18 PM
thats what i do
 
@CaptainSquirrel will do if i get around to ti
 
@mr5 there's an actuall snippet tool
 
@mr5 No I use snipping tool
I regularly use Win++Shift+S for pasting into things which support image pasting directly
But stack chat and some other things don't
 
mr5
I find it hassle to do it. Why don't Windows just store the image somewhere accessible, like Desktop folder and rightfully create the image for us instead temporary storing it in the clipboard.
 
3:19 PM
@mr5 Sounds liek you're looking for Win+S
Wait
 
mr5
wat
 
Win+Prntscr
 
mr5
Monosnap does it better
Win+shift+S is lagging
 
WisShiftS is fast for me
 
mr5
where did it go?
 
3:22 PM
 
mr5
oh under Pictures
 
mr5
But it doesn't have snipping
 
"Stack chat doesn't support pasting from win+shift+s"
bollocks i say
BOLLOCKS
 
It doesn't?
Not in Firefox anywya
 
3:22 PM
It just did for me
 
mr5
Your dark theme sucks
 
That's because your using shitfox
 
Nope, confirmed doesn't work
 
not Chrome Ultron
like me
chrome ultron best browser 2k19
 
mr5
@CaptainSquirrel "bulok" means "rotten" in our language
 
3:23 PM
Jesus christ there's some shite in my snips
 
mr5
so I kinda agree with u
 
Also what's wrong with my theme
 
Dum colors
 
mr5
way better
 
3:24 PM
oh god i'm going to be sick
SO BRIGHT
 
HSSSSSSS
 
THE BRIGHT
IT BURN
 
mr5
lol
I don't always like dark theme
 
I prefer dark themes because it doesn't hurt my eyes nearly as much
 
I really feel stupid at times
 
3:26 PM
Explain
 
user image
2
 
user10864482
@mr5 and bulok mean something fake in my :)
 
Not coming up with a solution in time as compared to others
 
@CaptainSquirrel Command serialkiller learned
 
3:27 PM
Hmm
 
👍
 
oh god what the fuck
kill it with fire
 
mr5
@user23333 just learned what "bollocks" means in English.
 
Jan 2016
 
how can I become like the likes of John Skeet and Eric Lippert
?
 
3:28 PM
Create the universe
Jon Skeet is god
 
By not doing pic related just above
 
And created the universe
 
:/
 
There is only one Jon Skeet
 
3:29 PM
Jon Skeet IS the conding standard
 
mr5
Is saying "I have recently read/learned <something>" the same as "I just read/learned <something>"?
 
With Computer Science, like sh*t tonne of comp sci! !0,000 hours dude :)
 
hmm
 
mr5
@Shad be unemployed first and solve questions in SO as much as you can. That's the fastest way to learn and become jack of all trades.
 
I'm curious to find out how many hours i've spent coding in my career so far
 
3:30 PM
@mr5 close, but can be interpreted differently I guess. "just" as in you just put the book down. recently is a bigger span of time
 
I find breathing without air is easier most days.
 
mr5
@Default so the latter is more correct?
 
@mr5 but questions on SO contains questions from various sub technologies
@HollyStyles :O
@Default thank you
 
@mr5 I'm not a native english speaker :s so don't take my word for it :D
 
mr5
@Shad yes. that's why you're going to become jack off all trades. you'll have a wider knowledge of things.
 
3:34 PM
@mr5 jon and eric aren't JOAT though.
 
mr5
@Default say like, 5 seconds just pass since I read that thing. I want to tell to someone that I "just" learned this shit. How would you construct your sentence?
@Default JOAT of C# perhaps?
 
that I can agree with :)
 
I agree with Default, recently seems like a bigger timespan
 
@mr5 like you suggested: "I just read/learned <something>"
 
mr5
C# covers a lot of tech though
from mobile, web (server and client side), TV OS. I think, C# can be used for embedded too? (by transpiling I think?)
What's the other term to describe the field of embedded programming again?
 
3:40 PM
Clipping the devils pubes while he dines from your skull? Or was that web development? I can't remember.
 
mr5
I think you're confusing with working with legacy codes
 
legacy codezzzz!
Code that lives more than 24 hours is legacy.
 
xD
 
@mr5 on a side note, do you have experience with Java?
I remember you were doing stuff with pushing to nuget with CI and stuff
 
mr5
@Default the word "just" tells a different meaning to me. I only learned that word through observation of patterns in English sentences. I skipped the class when our teachers taught its meaning.
 
3:48 PM
and I remember a colleague of mine, to which I always respond like
"wouldnt it be nice if you could just specify the repository to publish to, and have a tool that just deploys to there? and that the CI simply uses that tool? and that everything just works out of the box?"
 
mr5
@Wietlol yep
 
"oh, yea, someone already made that, it is called Maven"
<distributionManagement>
	<repository>
		<id>maven_repository</id>
		<name>maven_repository</name>
		<url>git:releases://git@github.com:Wietlol/maven_repository.git</url>
	</repository>
</distributionManagement>
 
mr5
@Wietlol ehh. nuget has a push command which you can specify which repo it should push
 
such configuration, very maven, much repository, wow
 
mr5
I hate those tools who create their xml in camel casing
 
3:50 PM
@mr5 cool
 
you mean like cmd /c nuget push %%l -Source %server% ?
 
mr5
yeah
 
I wouldn't even know how to start describing that word
 
but you would have to specify the server in the command and you have to package first
I just use the command mvn deploy
for nuget, the commands would be too much and I would need a special script for it
 
mr5
mvn deploy triggers the MSBuild?
 
3:52 PM
or some graphical user interface
 
I wanted to make the project i worked on at my lasteplace legacy as soon as it went live because it was utter shite
Spec creep & Constantly changing goalposts will do that
 
mvn deploy doesnt work with MsBuild tho
at least... not last time I checked
 
did u do it rite?
 
I assume you can use maven to build .net projects, but it would all have to be done via cli commands
 
mr5
@Default we have a word in Tagalog similar to the word "just" which is "lang". I am noticing, our "lang" is more versatile since it can also be used to ridicule some thing or describe something in lesser value or to make appear something is fast
 
3:54 PM
you would have to configure each stage to do what you need
but for Java, I can specify the mvn phases I want to run per command
 
Why use Maven when you can haz Cake?
 
mr5
and I'm trying to find an English word similar to that but it does not seem to exist yet
 
for deploy, I use clean/validate/compile/test/package/install/deploy (skipping only verify and site)
@HollyStyles because Jaba?
 
mr5
@Wietlol how about the unit testing?
 
> test
oh, you mean the test phases?
only compile/test
 
mr5
3:57 PM
but you don't have a loop there
 
loop?
 
mr5
if the test fails, it would still package it ;)
 
nope
 
You want to package Java in a NuGet package?
 
if any phase provides an error, it wont continue with the next phase
@HollyStyles hell nah
 
3:59 PM
I am confused then. What is the goal?
 
although... I didnt actually test to see if it would deploy if tests failed
maybe I do need verify
 
mr5
@Wietlol what is the install phase?
 
but I only deploy when I am certain that everything is how I want it... which I do after test
anyway, im off
 
user10864482
4:18 PM
@mr5 we have a meaning for it in french too. (quebec french-english slang)
 
4:45 PM
@mr5 the install phase is for your local repository
when you reference a library from a maven repository, you download that library to your local repository, that is how maven only needs to download the library once and all projects can use that version of the library without having to download it again and again each time (only that version, when you reference other versions, it downloads those too)
when you deploy, you should also install into your local repository
> Maven Phase:
A Maven phase represents a stage in the Maven build lifecycle. Each phase is responsible for a specific task.
This won’t only execute the specified phase but all the preceding phases as well.
For example, if we run the deploy phase – which is the last phase in the default build lifecycle – that will execute all phases before the deploy phase as well, which is the entire default lifecycle:
> Here are some of the most important phases in the default build lifecycle:
- validate: check if all information necessary for the build is available
- compile: compile the source code
- test-compile: compile the test source code
- test: run unit tests
- package: package compiled source code into the distributable format (jar, war, …)
- integration-test: process and deploy the package if needed to run integration tests
- install: install the package to a local repository
- deploy: copy the package to the remote repository
it appears my life cycle is skipping integration-test and test-compile
or I just cant invoke them independently
 
5:48 PM
merica
 
 
5 hours later…
10:49 PM
Wow, so apparently I have been living under a rock for ages now, I met some interesting yoths who make 300$/day E-whoring.
 

« first day (3183 days earlier)      last day (1763 days later) »