« first day (4021 days earlier)      last day (910 days later) » 

Ben
12:36 AM
 
Ben
1:21 AM
Apologies for the incredibly delayed responses.
My issue is that any time I run the program, it uses a Class Library to run bitmap comparison processes. If it doesn't work, it just throws an exception: "Image extraction has failed. Please ensure that you have used the right sheet name and database address. Also read the \"How to get accurate detection\" guide on the code-project page. Otherwise, return to me with the error code: 02080315"
After investigating this, the best response I could find was "Try to use the actual project and not the DLL. It will give you better visibility to the issues than the DLL"
Again, after some googling, I've come to the potential conclusion that I need to rebuild the Class Library as a different Output type? I've added the dependency to the Class Library in question, but that still has the exact same problem.
 
 
3 hours later…
 
3 hours later…
7:39 AM
[Squirrel in Training] GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
 
8:07 AM
im feeling mad lethargic this morning
 
[Captain Cuck] Morning
[Captain Cuck] @Harry but why
 
dunno
burnout maybe
 
[Captain Cuck] Did you also have a weird dream about being in an office inside an asda store which felt like it went on for ages and went into great detail about some of the legacy hardware they probably have running those places
[Captain Cuck] Just me? oh okay
 
🤯
 
[Captain Cuck] For reference I've only ever maybe been in a store office when I was like 7, and even then it's unlikely
 
9:01 AM
[Squirrel in Training] Maybe u need lunch
 
 
3 hours later…
11:38 AM
what's with the degenerate nickname?
 
Hello friends!
[Captain Cuck] god damn it squitty
[Captain Cuck] botler fixed
[Captain Cuck] I did nothing other than invite him from the sandbox 🤷‍♂️
[Squirrel in Training] ALl prais captain
[Squirrel in Training] With his new weird name..
[Captain Obvious] What's wrong with my name
[Hans1984] yeah
[Hans1984] wtf
[Hans1984] its
[Hans1984] Cpt. Cuckold ffs
[Hans1984] or wasnt it
[Hans1984] 🤔
 
11:58 AM
[Squirrel in Training] I wonder if you did it or kieran lee
 
12:19 PM
what happened to your art ? @Freerey
you havent posted in a while
 
12:41 PM
[Squirrel in Training] he's abandon being social online
[Hans1984] 😮
 
(☞゚ヮ゚)☞☜(゚ヮ゚☜)
 
[Hans1984] DONT DO IT HARRY !
 
୧༼ಠ益ಠ༽୨ riot ୧༼ಠ益ಠ༽୨
 
@Hans1984 what SiT said....I've been very quiet lately
 
caprica or...
益ಠ༽୨
@Freerey I see
 
12:47 PM
my personal server hasn't seen me in almost a month now
 
:o
how come ?
 
cause I'm trying to find friends irl; I've made a few so far
and one online friend started dating for the first time, I tried giving them advice, then realized much of my advice was completely wrong and had an existential panic
 
cool
good luck
oh no
well at least you tried to help him right ?
 
I don't really think it matters that I tried; ifthey took my advice, things probably wouldn't have ended well
 
[Hans1984] ୧༼ಠ益ಠ༽୨ riot ୧༼ಠ益ಠ༽୨
[Squirrel in Training] Welp you fucked up man 😄 but thats okay
[Squirrel in Training] live and learn
[Hans1984] lesson learned: dont help ppl EVER
 
1:04 PM
sometimes you just learn the wrong things, and take forever to realize they're wrong
 
[Squirrel in Training] That could be a Title of a movie..
[Squirrel in Training] Sometimes you just learn the wrong things, and take forever to realize they're wrong - A day in the life of an avergace american citizen.
 
long movie title 😶
 
[Hans1984] too long for americans too remember
[Squirrel in Training] Wasn't Brüno a movie with a long title as well?
[Squirrel in Training] > Bruno: Delicious Journeys Through America for the Purpose of Making Heterosexual Males Visibly Uncomfortable in the Presence of a Gay Foreigner in a Mesh T-Shirt'
 
1:20 PM
i hate winforms
so much
 
the best movie title must still be The Hudsucker Reduction
 
Annoying question, with likely a really easy answer I'm not seeing: I have an IEnumberable<Foo>, which I filter with .Where(f => f.Bar > 0), and then against the resulting collection I then do .First().Bar = 0 ... that first element is then removed, presumably because it matches the predicate. How can I stop that from happening?
I realise I could cast it to a list, but I guess I'm just trying to find a more efficient way of doing it.
 
1:42 PM
Removed from what? Do you keep on using this IEnumerable?
Also it's possible calling .First() pushes the pointer so the first one is now out of the IEnumerable
 
2:39 PM
hey guys, if I have a many-to-many relationship in Entity Framework Core, e.g. Book * - * Category, what sort of LINQ query should I write to get a book with all its categories or a category with all the books that have it?
I get that I can manually add a BookCategory link table and query on it, but I was wondering if EF Core or LINQ can figure it out automatically, something like var booksWithCategories = Books.Include(b => b.Categories)
 
@BobTway casting it wont help
as for a more efficient way, perhaps you should describe what you are doing rather than what you think is going on
@JansthcirlU have you tried var booksWithCategories = Books.Include(b => b.Categories) ?
 
wouldn't I have to add a List<Category> Categories property and populate it outside of the LINQ call then?
or is there a way to project all the categories that correspond with some BookId to that list?
 
what do you currently have?
 
nothing, just wondering
 
have you wondered what the documentation of Entity Framework says about many to many relations?
 
2:53 PM
I suppose what I'm wondering more specifically is, can I still use Include(b => b.Categories) if I make my own link table between Bookand Category (so not using the EF Core convention)
 
if you make your own join table, then you probably have to include on both levels
 
I see, thanks
 
.Include(it => it.BookCategories).ThenInclude(it => it.Category)
 
@Wietlol I used .ToList() in the end but I'm still curious. So what I'd originally done was this: 	var foo = foo.Where(f => f.Bar > 0);
	foo.First().Bar = 0;
If foo had four elements going in, one with Bar == 0, it'd come out with two elements
 
rule #1 of enumerables, do not re-use them
an enumerable does not have elements
an enumerable is basically a pipeline of instructions backed by a source (often a collection of some sorts)
when you use an enumerable, you pull elements from the source, through the pipeline and then use them
if you re-use an enumerable, you pull the elements again from the source, through the pipeline (which filters your elements)
to keep things simple, if you put an enumerable in a variable, only use that variable once
I assume you do not
 
3:08 PM
@BobTway your example is too minimal, you might be fooled by the XY
||XY
 
1811
Q: What is the XY problem?

GnomeWhat is the XY problem? When asking questions, how do I recognize when I'm falling into it? How do I avoid it? Return to FAQ index

 
@BobTway what are you trying to accomplish anyway
 
3:40 PM
 
4:24 PM
anyone have problems with updating Linq to SQL dbml file?
 
 
2 hours later…
6:29 PM
@Botler @Hans1984 starting to feel this, but unironically
 

« first day (4021 days earlier)      last day (910 days later) »