« first day (3201 days earlier)      last day (1746 days later) » 

2:12 AM
If anyone happens to magically come online later and sees this, and knows an answer or can give advice, please ping me...

Basically Im getting this error:
************** Exception Text **************
System.InvalidOperationException: Cannot start process because a file name has not been provided.
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName, String arguments)
   at FlashExecutive.Form1.flatButton1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
I have the correct usages
Im still kindof new to C# so Im unsure whats going on
this is the chunk thats causing the error:
private void flatButton1_Click(object sender, EventArgs e)
        {
            Process.Start("", Application.StartupPath + "/apps/fl/ps.exe");
        }
???
Please help...
 
2:48 AM
@TaylorSpark Read your exception, you didnt provides file path which where your process need to execute
Maybe you mean Process.Start(Application.StartupPath + "/apps/fl/ps.exe");
 
3:11 AM
@nyconing Its alright, turns out, i wasnt supposed to include 2 operations in a process start sequence. So it SHOULD look like:
private void flatButton1_Click(object sender, EventArgs e)
        {
            Process.Start(Application.StartupPath + "/apps/fl/ps.exe");
        }
 
 
1 hour later…
4:15 AM
@TaylorSpark: Process class in c# is use to run an exe or open web page using its start method. There are 6 overload method of start class. In start method accepting 2 string parameter, first parameter is the path name of your process to initiate and second parameter is command line arguments which you are passing to initiate you process (if needed).
You can also check the same on this link
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.start?view=netframework-4.8#System_Diagnostics_Process_Start_System_String_System_String_
 
 
2 hours later…
6:30 AM
morning
@TaylorSpark That would asume a linux filesystem. / is linux/unix directory separator and `\` is windows one. You can check System.IO.Path.PathSeparator
 
7:00 AM
ohayou
 
Hello everyone. First time using this chat. I had a small question converting C# code to VB.NET, just a quick thing; didn't warrant to raise a post for it. How do I convert the following line into VB, cant figure it out:
starter += () => {
// Do what you want in the callback
};
Full code:
ThreadStart starter = myLongRunningTask;
starter += () => {
// Do what you want in the callback
};
Thread thread = new Thread(starter) { IsBackground = true };
thread.Start();
 
!!welcome @FarazAzhar
 
@@FarazAzhar Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
Nasty Caprica, this is not javascript chat
 
@FarazAzhar nose starts to bleed wat!?
 
7:07 AM
Umm whats happening
 
why to VB.NET?
 
Cuz my whole project is already built on VB. I ran into a situation where I need to "know" when a background thread completes. So found this code that's supposed to fire an event when the thread completes. However the syntax is beyond me.
 
But my VB.NET is very rusty, I coded in bv.net when there was framework 1.1
 
Ok. I suppose the code is trying to hook/delegate to a function that doesn't exist, it's going to be defining the function within the parenthesis.
But still can't seem to write it in VB
 
g'morning.
@FarazAzhar Generally speaking, the Thread objects give you relatively little control regarding starting/stopping/monitoring them. Using Task objects can be a lot more convenient.
 
7:19 AM
I had a friend who started his programming career with VB.NET
he said doing even reasonably simple tasks, if it wasn't supported, was a long and arduous journey full of pain and suffering
 
@Neil Yeah I know the feeling. I made the same mistake. I'm a hobbyist programmer, only making personal projects or tools to help me out at my job. I tried a lot to move onto C# but I'm just too comfortable in VB by now. Maybe someday I'll make a plunge.
 
@FarazAzhar don't wait too long. Fair warning :)
 
@AvnerShahar-Kashtan Can a completion event be raised from Tasks ?
 
C# would be a natural language to learn for you, since it does share much of the same framework
in my friend's case, he learned Java
 
I used to get stuck in syntax conversions in C# and never got time to read books on how to get something done what's in my mind. Now that I've just discovered this chat room, I suppose I can seek help when I'm stuck.
I'm ok in Java, python and few other languages. I understand C# too. But it's just these tricky conversions (like the question I mentioned above), I get stuck at it. For example, what exactly is that code doing? How is the event/function going to be fired subsequent to completion of thread
 
7:26 AM
The "()" does declare a function with no arguments
 
@FarazAzhar see, I'm not that familiar with C# to know what goes on under the hood. Java is sort of my thing, and lately Kotlin
 
It would be the equivalent to "Function(m, n)" in the link I posted
 
@bradbury9 Ohk. Thanks. I'll have another look. I'll also look into Tasks to see which one works out for the best.
Thanks everyone.
 
@Neil aha, I got one
1 down, 17 to go
 
7:42 AM
good morning
 
ohai
 
o/ ntohl
 
8:10 AM
im baaaac
 
Cameron: "We're looking to cast a new film about old composers and thought of you two. Which part would you both want?" Stallone: "I'll be Mozart!" Schwarzenegger: "I'll be Bach!"
 
@Neil Note to myself, dont be rude with jokes like this xD
 
@bradbury9 I'm old enough to be a dad, so I get the privilege of making dad jokes
 
I did get the joke, terminator 1, plus old swarzeneger vs stallone rivals. But dad jokes != bad jokes
 
Oh I'm a full believer in the "so stupid it's funny" type jokes :P
it can exceed stupid overflow and jump directly to epic jokes
 
8:25 AM
@Neil I have forwarded that one to a friend that likes bad jokes because of that
 
there were a lot of 4th wall jokes in the expendables
I think that was one
 
im mad at EF
:(
again
 
what is EF again?
 
That what ORM's do, all of them
Entity Framework, LinqToSQL, whatever you use
you will get mad at them because they try to be smart, and sometimes are not
 
I call those ORMs
 
8:31 AM
I have used 2 ORMs and EF is the only one that is being hideous
 
Hibernate is the worst ORM, except for all the rest.
 
I do migrations add and it doesnt frigging detect a new column
so, I added it manually to the DbMigration... and it doesnt apply to the database
 
In a project I support we had a subqueries problem, its ORM was LinqToSQL, devs blamed the ORM, I dig into the source code
there was:
```
 
@Neil in fact... hibernate was the other I used... but it was only the back side of Spring Data, which is where the magic happens
that one works better than any database library I have seen so far
and it is far beyond my skill to recreate that lib in any way
 
hibernate when it works, it's lovely
but getting it to do certain joins or joining tables not covered by hibernate can get to be a pain sometimes
I've learned to use hibernate only when hibernate fits like a glove
 
8:34 AM
ahoy mateys
 
string AccountName
{
	get
	{
		DAL dal = new DataContext();
		return (reg in dal.Accounts where reg.id = this.id return reg.Name).FirstOrDefault();
	}
}
 
tis warm today
 
@Neil have you tried Spring Data?
 
That did that, and do blame the ORM
 
@Wietlol nope, hibernate and spring play well enough together
though I suppose I should give it a try
 
8:35 AM
spring data is much richer tho
I get amazed everytime I use it
 
Load a 10k records grid, have that property, and blame when the code executes 10k SELECT statements
 
you basically replace your hibernate with Spring Data repositories
the only sad thing about it is that it requires spring
and, for normal applications, that is fine, but for a micro-application, it is quite bad
-_- why!?
 
@bradbury9 tf..
They blamed the ORM for that?
 
SQL: Foo.BarId = "12345"
EF: Foo.BarId = null
 
@Wietlol if you were going to use spring anyway
 
8:40 AM
for a microservice architecture, you want extremely fast startup times
 
we really should stop calling spring a library. It's a friggin' framework
 
spring is not a microservice DI framework
 
maybe you could have called it a library when all it did was DI
 
I am actually wondering if you even need a DI framework in a microservice architecture
 
8:42 AM
well like I've always said, using hibernate for database management in a small project is like using a bulldozer on your flower garden
spring is just as bulky
for a microservice, I would avoid it if I could
 
hence why I looked at recreating the repository stuff
 
Git people, I require assistance
My entire repository has decided that Everything has changed
 
in such a way that it would fit a microservice application
 
what do
 
but... its just too difficult
 
8:45 AM
Oh I forgot about you guys, morning all
 
@Wietlol what, you mean write your own DI?
 
not DI
the Spring Data Repository
 
ORM?! you're crazy
 
(DI is simple)
 
@CaptainSquirrel Discard the lot and reclone it
If you've made any actual changes, stash them
Hey Héctor's back
 
8:50 AM
morn
!!Is it monday already ?
 
@Hans1984 Doubtfully
 
@CaptainObvious that's the thing, i don't know which of these i changed
 
Have you got a gui for git?
 
its literally everything in my repo that for some reason is being tracked
I've got source tree
i've just removed everything from unstaged
or at least i'm trying to
 
Good enough, root through everything and find changes you want to keep, discard the rest. Then stash wqhat's left and mvoe the head toa known good position
 
8:54 AM
Sourcetree has crashed
this is bad
 
Sounds about right for sourcetree tbh
 
Where tf is the "remove everything and resync to a branch" option
TFS SOURCE CONTROL HAS THAT OPTION
I WANT
 
Just doubleclick a commit you want to move to
 
38° this week
!!Will I survive this week ?
 
@Hans1984 All signs point to yes
 
8:57 AM
:o
 
You're in luck
 
@CaptainObvious source tree isn't even picking up the fact that i have a repository
so i can't even see my commits
 
!!Will I take massive brain damage ?
 
@Hans1984 Of course not
 
8:57 AM
well, if you say so...
let me remind you that we dont have ac nor fans in our office
 
You won't guess who is unemployed again
 
@HéctorÁlvarez good
That last place seemed toxic as fuck
 
It was, but how is this better?
 
@HéctorÁlvarez because now you're not in a toxic environment
granted, its one extreme to another
 
sorry to hear
 
9:00 AM
No, but I starve now
 
BUT
Yeah, that's the issue
Now just apply for all the jerbs
OR
Look at some freelancing type jobs
@CaptainObvious tried git reset --hard, somehow still have untracked changes
The following untracked working tree files would be overwritten by checkout
>:(
 
Freelancing smells like work 12 hours and get paid for 4
 
fixed it
@HéctorÁlvarez maybe for a little, but you'd have some money at least
 
and you can work from home and decide when to put in the hours
if everything works out
 
I have this free money for being unemployed for another 4 months
 
9:05 AM
and then the Roach appeared...
 
i was always here
 
hey Harry o/
 
o/
 
@Hans1984 Today it will be 37 where I live
 
@bradbury9 hell :(
 
9:05 AM
And they say it will get hotter
 
I tried git reset --hard master
And everything is tracked again
why god
 
it will reach 38 on thursday over here
but France ist even worse they say it will be 40 and feel like 50
 
FIXED IT
FINALLY
 
lol, terrible :(
but theres also a downside to ac
because if you go outside you almost get run over by the heat
the contrast is too much
 
the highs today will be 31 fortunately
thank god for partial cloud cover
 
9:09 AM
sourcetree works again
and i can now see i've made terrible mistakes
I've got branches from branches
\o/
 
ive just come from a country that was 35 every day to home, which is 20 every day
its beautiful
 
they say it will be sunlight all daylong from morning to evening all week
what a mess...
 
thunderstorms this friday and saturday
northern italy at any rate
 
WTF, spanish meteorogical agency says tomorro 42º celsius. There must be something wrong
 
20 Sounds like paradise
/*_*/
oh
 
9:11 AM
At least the lows are 1147 degrees
 
lmao
friday Looks good
 
too hot for my taste
 
Someone just kill me now.
 
lol
scrub
 
@CaptainSquirrel Sounds like a dream come true ot me
 
9:13 AM
man, you got some nice weather
:(
 
gonna be 32C at home this week
 
I wish had your kind of weather.
 
even tel aviv is colder than germany
 
And today was relatively pleasant.
 
wtf is this shit
 
9:14 AM
Yesterday we had ~36
 
21C here today :)
 
@MadaraUchiha Its not too bad
but when its warm, my house gets hot
 
@Hans1984 Today, maybe. But Germany goes up and down. It could be hot today, rain tomorrow.
Here, we know it's going to be hot until November.
 
30 in other countries is not 30 in israel
 
i blame those immigrants from those hot countries
 
9:14 AM
I'd prefer it to back to being regular british weather
where's the gray skies
 
they brought the heat with them
 
@CaptainSquirrel theyre in coventry today
 
:D
just kidding of course
 
@Harry SEND THEM THIS WAY
THE HEAT IS TOO MUCH
 
no
 
9:15 AM
AM DOING A MELT
 
Two days ago was the hottest day ever to be recorded in Israel's history.
 
melt. boy
 
anyway when i was Young we had normal summers it got to 30° like 5 days in a summer
 
We got 49°C in the Dead Sea.
 
im no wizard
 
9:15 AM
fookin rip m9
 
we never had 36,38
 
I checked a weather site to see the temp here and it was accidentally set to Fahrenheit and it said "86 degrees" and I said "yup, yup, sounds about right in Celcius too".
 
Unless its going to snow this winter, this weather can fek off
 
The highest temperature ever recorded: 54°C, at Tirat Tzvi, on 21/6/1942.
hold up
 
@AvnerShahar-Kashtan I see
yeah good point
 
9:16 AM
@misha130 Well, technically it's before "Israel", as such. :)
 
oh i see
 
In Spain today we go from 25 to 41. North coast is warm, center and south you get melted. aemet.es/es/eltiempo/prediccion/espana?w=13
 
@misha130 Yeah, since foundation
 
well its still july maybe we will break more records
 
hell no!
!!WIll we break more records ?
 
9:19 AM
@Hans1984 Not a chance
 
good
 
ok fam
 
9:29 AM
!!is this function overused?
 
@Harry Not at all
 
facts
!!Is this function underused ?
 
@Hans1984 But of course
 
see
 
9:43 AM
!!are you lying
 
@CaptainSquirrel Of course!
 
!!Do all bots lie ?
 
@Hans1984 Doubtfully
 
9:56 AM
Only Liebots.
 
haha
 
10:14 AM
!!why am I here?
 
@BlackSquirrel because you touch yourself at night
6
 
lmao
 
Oh wow
 
disables web-cam
 
10:49 AM
I've managed to get a few job offers here and there
 
written contract offers?
 
Damn already?
 
not written, I mean people who were interested in hiring me and would give me an interview
I mean that's really far from that xd
I might do a python course
 
@MadaraUchiha Is from Israel? Why this is not shocking me
 
Oh god
 
11:03 AM
 
:)
 
I tried to search for B& memes and all I got was pictures of B&Q.
 
@J.Doe Why is this not shocking you?
 
What are B& memes and what is a B&Q
 
all i know is BBQ
mhhhh
 
11:29 AM
B&Q is a chain of D.I.Y/Hardware superstores in the UK
 
indeed it is
 
B&Q sell BBQ's :)
 
I Need BBQ
now!
:(
 
I do want bbq ribs for my lunch now
Technically i could get some
 
B&Q brandish Broilmaster Bar-B-Ques for your barnacle broiling pleasure.
 
11:47 AM
Oooh my lunch is amazon
amazing
 
@CaptainObvious does jeff know?
 
Mexican chicken & bacon batch
 
i went for a chicken pasta salad
bliss
 
So basic
 
basic is brilliant
 
11:49 AM
Nah this is brilliant
 
I feel like mine will be basic again
 
@CaptainObvious thats what your mum told me
 
Although, i could go for some steak poutine right now....
Exhibit 12 of why Harry is 12, "Your Mum" jokes
 
im 20 in 8 days :(
 
I bet he owns an xbox
 
11:50 AM
dont like it :(
i own a ps4
 
good boi
 
@Harry You're 8 in 20 days?
 
@CaptainSquirrel man was fine
 
Double digits soon
 
@Harry I'm half way to 50, so calm yer teets
 
11:51 AM
my company dont employ 7 year olds
im a fifth of the way to 100 tho
 
I'm a quarter of the way to 100
rekt nerd
 
is this anonymous property: new NavigationParameters { { "a", "b" } }; I don't understand this initialization syntax :/
 
Also @Harry how is 12 a fifth of 100?
;)
 
kms
 
8 is a 12th of 100
 

« first day (3201 days earlier)      last day (1746 days later) »