« first day (2285 days earlier)      last day (2889 days later) » 

19:00
@peterpep - Yeah edulinq is awesome. SQL like? Method, or "fluent" is the .Where(x => x) type of notation (which is what most everyone is using now)
@ton.yeung Stupid
Either everything she puts on it is valid and necessary, in which case there's no problem, or it's not, in which case fire her
How does making it more difficult to get necessary materials reduce spending on unnecessary materials
You started right before the downfall? or a year or two?
You got hired when others got fired? Sweet
Didn't Uber just open a large hub in your area?
Although, not sure what tech stack they use
@TravisJ Überstack ofc.
Yeah, Houston
unless I am mistaken
> Uber’s engineers primarily write in Python, Node.js, Go, and Java. We started with two main languages: Node.js for the Marketplace team, and Python for everyone else. These first languages still power most services running at Uber today.
(was curios)
Go seems to be rather on the up lately in tech
I think that even part of Stack Exchange has Go code compiled into it
19:10
@peterpep so why were you saying to change to a 2d array? Optimization I know but what did that relate to?
Do you guys know if I need to bother changing the assemblyIdentity name attribute in the manifest file?
currently it says "MyApplication.app"
Looks like it is meta data used by other applications and internally. It should probably be consistently named, but that was all I could glean from a quick search and haven't actually worked with windows app dev
@TravisJ yea the method/"fluent" notation in linq confuses me at times
sorry for delay
look at this article
about writing to excel
if you write the array to a range instead of cell by cell its 100-1000 times faster
19:25
well apparently something is out of bounds still
values.Any(x => x == 5)
public bool Any(List<int> values, int value)
{
    foreach(int x in values)
    {
        if(x == value) return true;
    }
    return false;
}
Those two are the same
gotchya
in the (x => x == 5) portion you can only do compartive operators?
and can you link them
It depends on what the expected return type is and what the method is doing
One complex part of linq is the "deferred execution"
like .any(x => x > 10 && x < 20)
yeah you can do that
anything after the => is essentially the method body
19:27
you can include variables in there?
yeah
.any(x=> x > y)
it shares the same scope that the call was started from
wow
thats awesome
19:28
thing with learning c# and .net
is there are so many concepts you hear and are like i need to learn this
and youre like shit but i have so many things i want to learn!
A good way to test with linq is to start with
var list = Enumerable.Range(1,100).ToList();
this will create a list from 1 to 100 that you can test by using things like Any, Where, OrderBy, etc
i need to start making a cheat sheet
It's called MSDN
^
yeah just preface all your c# or .net searches with msdn
you know what
theres nothing i can argue with that
the msdn is quite frankly the best documentation ive seen in any language so far
19:35
I wrote this about the fundamental way data is composed in linq using an enumerable and an enumerator. Not sure if that may help with some understanding, or if I wrote it too technically, or if Documentation as a feature sucks. One of the 3.
19:50
is there a downvote button? :P
wow this is really good
20:08
I wish I could go backwards in the debugger
Yeah, doesn't work like that unless you have a fancy third party extension that can create timeframe windows.
Just break out, and start over :P
Or, just for debugging, create a variable holding the information you feel is getting lost while stepping
Well you can drag the execution arrow (or whatever it's called)
So you can drag it backwards
But that can come with....side effects. Use with caution.
it's usually only an issue when you have to go through a loop 300 times
whats the issue?
this is why you make a small version as a tes
test*
getting index out of bounds still
but I think it's somewhere else
20:13
dont test on huge data sets
post code
yeah that's true
ill find bug
I'm going to find a smaller data set first
since I don't know where the index is out of bounds
I have like 50 loops in this thing at this point
index out of bounds is usually logic error
LOL apparently I screwed up my test.xlsx at some point
and now all the cells being written just say "Test"
I hadn't opened it for a while
wait what
my breakpoint isn't being hit?
my breakpoint hit on the 10th time through
20:18
Is it a conditional breakpoint?
post code
you might need all of it at this point
because I don't know where or what is causing this
this is on the reading or the writing part?
somewhere in the reading writing part I guess
because I can add network locations fine
20:21
did you output to console or somewhere the code to confirm that your reading is working correctly?
the output* not code
Anyone know of any good primer on more complicated SQL relationships/using Entity Framework? All the example I find are quite trivial but I have a few questions in a real-world situation with more complicated table structures
@peterpep I thought I had
@TeeSee im curious on that too. so if you end up finding something please post here
Will do, sometimes the "Student Course" example doesn't quite cut it!
so my master loop went 9 times then it broke
so they the contents array was empty 9 times
because I put the break on the return of the contents array
not the empty array
20:29
it broke on the reading?
of the text file
I'm not sure
I might be getting some weird network behavior hold on
i would create a test file and just run it off that before trying to scale it
but thats me
yeah it's kicking back to the empty array
I think I'm going to have to take a break for now, I keep getting different network errors
wait until this calms down
I know that I can use [Authorize] to prevent a page from being hit without a user being logged in. In this case, I have 2 different logins to my application( a user and an admin). How do I redirect the user to a different page than the admin with the authorize attribute?
This sounds dumb...but what is the value of bob...
bool bob = (1 == 1);
I am having a c# breakdown
20:40
true
hmmm...I would love to know why VS is telling me false!
try this
if ( 1 == 1) { bool bob = true;} and see what happens
Well bob will immediately go out of scope in that example
Yeah I am getting false
Should I go away and research scope?
I can't believe I'm saying this but...can you post a screenshot?
And/or actual code
20:49
anyone have experience with Xamarin and sharing Resources (layouts/menus) between multiple "white labeled" Android applications (ie com.company.app1 and com.company.app2)?
@LemusThelroy the assignment hasn't happened yet
Step over the statement
bob defaults to false
@peterpep - re: complex relationships, do you know what 3nf (third normal form) is?
Sorry I started writing in c# a month or so ago and thought I knew how to assign variables...but apparently not. Thank you
@TravisJ are you sure your question is directed to me?
20:54
@LemusThelroy the assignment is fine, it's just that when you're paused on that line the assignment hasn't happened yet
31 mins ago, by peterpep
@TeeSee im curious on that too. so if you end up finding something please post here
i dont know what 3nf is
im still learning SQL and entity, but seeing real life examples instead of bs examples is great learning tool
@LemusThelroy i just ran bool bob = (1==1); and it came out as true
It defines the structure that you should use to define objects so that they can be used in one to many and many to many relations while also reducing redundant data.
!!wiki 3nf
Third normal form is a normal form that is used in normalizing a database design to reduce the duplication of data and ensure referential integrity by ensuring that (1) the entity is in second normal form, and (2) all the attributes in a table are determined only by the candidate keys of that table and not by any non-prime attributes. 3NF was designed to improve database processing while minimizing storage costs. 3NF data modeling was ideal for online transaction processing (OLTP) applications with heavy order entry type of needs. == Definition of third normal form == The third normal form (3NF...
interesting
20:57
If you want to play with Cap's various functions please use the sandbox, that's (one) of the things it's there for
@mikeTheLiar hey i build dope sandcastles. thanks for sending me to play time!
😀 have fun
how to access the sandbox?

Sandbox

Where you can play with regular chat features (except flagging...
20:58
thanks
Here's my real code...On line 19 I am referring to an asp:checkbox which is checked, and when you hover over "chicken_cb.Checked" in run time, it shows as true. However, when evaluating that piece of cargo later on, it states ischecked is false...
https://gist.github.com/lemusthelroy/52cf53604ef08d62c7f2a0382d22da7a
21:15
is anyone here familiar with hiring people in SW development?
Probably most of us
so im looking at the job description that a recruiter sent me. what if im familiar with a lot of the things in the JD, but there are certain aspects im not. how do i handle that?
posted on January 17, 2017 by Scott Hanselman

This time last year we did a Microsoft Virtual Academy class on what was then called "ASP.NET 5." It made sense to call it 5 since 5 > 4.6, right? But since then ASP.NET 5 has become .NET Core 1.0 and ASP.NET Core 1.0. It's 1.0 because it's smaller, newer, and different. As the .NET "full" framework marches on, on Windows, .NET Core is cross-platform and for the cloud. Command line concepts

@peterpep depends on the job and the job description. A lot of job descriptions are there are complete fluff
"5 years of experience in a platform that's only existed for 2 years" that sort of thing
for example, its talking a lot about C# and .net, but then also mentions ASPNET. im not super familiar with ASPNET yet
literally stopped at first sentence
LOL
javascript short being java. so dumb
who writes that shit
but my main question is how to handle when you have a knowledge gap
We are recruiting for a C# developer currently and have listed asp.net on the JD. However, it somebody comes across as quite experienced and has used other web frameworks then we are just as happy to interview them
@peterpep most places probably won't care if you're not completely familiar with their toolset
And if they are you probably don't want to work there anyway
21:24
basically i should present myself as understanding the concepts even if i am not familiar with that particular stack?
Hole in one.
my actual background is in engineering and i just started applying for SW developer positions, so learning the lingo and the JD is new to me
trying to do a career pivot
@peterpep hey, I went from being a cook to being a software developer so it's far from impossible
that gives me hope
I think it is important for the interviewer to believe that you pick up whatever concept you are not familiar with. For me to believe it as an interviewer, I would like to hear an example of how you have learnt a language/framework recently, so that I can see you doing that with the framework you are not familiar with e.g. aspnet
21:27
my github is all small personal projects i worked on for myself and the big side projects i worked on at work i cant show the code due to NDA
I have that issue with NDA code, I was thinking of printing off some physical screen shots of the application running and hoping people would believe me
I am a manager who is a wannabe developer btw
One of my earlier internet handles was Wannabe Geek
lol
the recruiter asked me for my github
You should be able to explain the sort of thing the application does without violating a NDA
but i literally just have 3 little projects i have on there for personal use. a plex notifier, task reminder application that sends emails and a project folder creator
yea i can talk about the projectg
i just cant show code
and those projects are the more involved ones ive worked on
21:31
Are you based in the UK by any chance? We are looking for C# developers...
basically one of the projects was instead of doing data entry into excel (very easy for the user to make mistakes) it creates a UI and helps monitor what changes were made, creates reports and then saves the data back into excel
i can work remotely ;)
im based in NY
there are a bunch of developers that work remotely
I would be happy if a candidate showed me what they have done on some projects on Git, even if they're small
not sure my company is geared towards remote work
good luck anyway
fingers crossed
22:04
Hi.
I'm based in NY and also work remotely. When I have to.
Hey this is IIS, not #, but... why doesn't my static HTML site work with "/" single forward slash as root, when served in IIS? If I remove the forward slash it's fine.
you mean 192.168.1.200/ versus 192.168.1.200 as the browsing url?
If that was the case, then I would assume it is because .200 was the assigned application in the IIS manager and as a result it will automatically look for /index.html if using just .200, however, if using .200/ on its own, since it isn't a hosted location, it will look verbatim and thus find nothing since nothing is present.
localhost:xxx/index.html is the browsing url, but the a href="/imgs/xxx.jpg" does not work in HTML, I require "imgs/xxx.jpg"
so my relative urls in the html don't use forward slash as root.
"imgs/xxx.jpg" is a static url, not a relative url, and wont work for that reason
hmmm... can you please define a relative url for me?
I misspoke anyway, it's file sources, not hyperlinks that I'm referencing.
So src="/imgs/xxx.jpg" does not work in HTML, I require "imgs/xxx.jpg"
OK, I just needed a base tag
22:23
a relative url is one that does not start with the location and instead refers to the current location as the starting point of the path
Base href="/"
a base tag can negate the requirement of the leading /
Essentially that means that every href on that page starts with /
@TravisJ Oddly enough, it's working in reverse for me.
In my case the leading / is enable by the base tag. Whatever, it works. When I got the file all the paths were defined in this format /~xxxx/yyyy/zzz.jpg
where "/~xxxx/" was a unix directive/reference of some sort.
file was hosted on a mac
so preserving the /, though trivial, will allow efficient find/replace to restore to original state before sending back to client.
I couldn't think of another way to tell IIS to act like unix, so I just did find replace. Is this a common scenario getting static html files from unix server to IIS? Or was this a dev issue?
Hey guys if I have this:
`var resultVsos = _context.Vsos
                .Include(v => v.Keywords.Select(k => k.Kw));`

And what I want to do is grab any Vsos which have a keyword that is a specific string, how would I do that?
In other words, I want to select * from Vsos where the vso's keyword's text is equal to some text. The keyword is a separate, related table
var resultVsos = _context.Vsos
.Include(v => v.Keywords.Select(k => k.Kw.Contains("xxx")));
oh you want a join?
22:38
Well, that may work actually, it's just giving me errors saying it needs to be a nav property. Basically I have ICollection Keywords inside Vsos and ICollection Vsos inside Keywords, which should be a many-to-many
but its not letting me pull out Vsos where their keywords contain the text like above, its saying "The Include path expression must refer to a navigation property defined on the type."
But AFAIK, they are navigation properties
var innerJoinQuery =
from category in categories
join prod in products on category.ID equals prod.CategoryID
select new { ProductName = prod.Name, Category = category.Name };
essentially, that's what the LINQ is doing, huh?
23:01
If that's what you tell it to do, I guess.
23:48
hey :)
can anybody tell me what an association bonus is?
nevermind found it

« first day (2285 days earlier)      last day (2889 days later) »