« first day (2413 days earlier)      last day (2536 days later) » 

mr5
9:03 AM
damn
it's hard to switch from Java to C# esp. when dealing with bracket styling
I just hate the default indentation
so effing ugly
 
you mean
{
}
?
 
mr5
yeah
...and hard to read
 
i effin hate {
}
 
mr5
since the code is all over the monitor
 
@mr5 btw there should be an option under tools -> options to change that
 
mr5
9:08 AM
oh really?
 
its not like its a standard way to do this
 
mr5
compare the readability of these two: ugly vs beautiful
 
go your own way, just make sure to be consistent throughout the code
 
mr5
I have to follow since our code base is already created
 
I wouldn't do either to be honest :D
I'd personally do get { .... }
set { .... }
 
mr5
9:10 AM
I should because according to experienced devs out there, you should follow the style of the existing code base
 
I am getting this error .
cannot convert from system.collections.generic.list to string to Vba.collections
How can I resolve this error ?
 
I prefer ... {
}, but our codebase is ...
{
}. So I follow latter
first called K & R style
 
mr5
@ntohl same. but it's hard
 
if You want to set it in resharper
 
hows resharper? I never used it tbh
i might wanna grab the free trial if its worth it
 
9:23 AM
By all means, do
It's nice and it does all the things
 
None pays attention to my words
lol
 
my hypothesis: people were scared of the "Vba"
 
why ?
 
mr5
its syntax is kinda scary
 
Should I install resharper only or do you recommend other addons too
 
9:26 AM
In vb6 the prototype of function is as follows :
Public Function FamIdentify(agentList As Collection, strName As String, strIdentifyTemplate As String, strIP As String) As Boolean
From C# I am calling this function As follows :
 
@KamilSolecki install all stuff. They are all great
 
public Boolean IdentifyFinger(String name, String SampleModel, String REMOTE_ADDR)
{
List<int> agentList = new List<int>();
FamServer.FamApp famApp = new FamServer.FamApp();
famApp.FamIdentify(ref agentList, ref name, SampleModel, REMOTE_ADDR);
For this coding I am facing this error
cannot convert from system.collections.generic.list to string to Vba.collections
 
@KamilSolecki I luv the test explorer of jetbrains, and code coverage, and etc..
 
@KamilSolecki first and foremost, resharper. I also have other stuff, like XAML styler, useful if you work with UWP, WPF, etc. Also, unit test runners if you use a non-common one
 
oke, got them
lets see them in action
 
9:30 AM
it's a shame I cant bring it in to company, because I would need a representation about resharper, and how good it is for company, but the trial is expired, so I can't represent it... It's a catch-22
 
@KamilSolecki check out the ctrl-t navigation. It's rocks hard
 
I guess Ill just apply for a student free version!
 
well, if you're a student, you should have done this loooong time ago
 
shhh. I never noticed that tab there :(
 
9:32 AM
I use resharper pretty much only for "Refactor this" feature
I mean, I'm not sure what else because I haven't used C# in visual studio much without resharper
So I have no idea how do the original VS features even work
 
@ntohl OH BOY THATS COOL
 
oh, and Ctrl+N is nice
(that is, not the "new file", but the resharper feature)
 
isnt it almost the same as ctrl shift a
in vs
no its not
oh noes what is the shortcut for new item now :O
docs docs docs
 
I never used that
 
mr5
so resharper is generally just a code refactorer with some shortcut keys?
 
9:39 AM
Creating a new class? Just type it inside an existing file, go near the name of the class with the cursor -> alt+enter -> move to name_of_the_class.cs
 
@mr5 It's has a fantastic set of code navigation tools - Ctrl-T - to jump straight to any method in any file.
 
oh that is noice
the resharper is awesome so far
its smart
as hell
 
Ctrl-Alt-Shift-A is very useful. It's a much smarter Find Usages.
For instance, "find all usages that set a value into this property".
Or "usages that set teh value of this property into a different var"
 
@mr5 I could describe what resharper does, but this text box doesn't do justice at explaining why is it nice
 
mr5
I might try that in the future. In the mean time, I still have to teach my self how to Xamarin =P
 
9:42 AM
@AvnerShahar-Kashtan , can you plz see this question ?
https://stackoverflow.com/questions/44177145/cannot-convert-from-system-collections-generic-list-to-string-to-vba-collections
 
"Pull specific methods into a new base class" is also nice.
 
I have coded according to your words
 
mr5
@milleniumbug I think I get it. lol
 
But it is not working
 
rip vb6
spooky
 
9:43 AM
Resharper just completely raped my method
In a good way I guess
 
0
Q: cannot convert from system.collections.generic.list to string to Vba.collections

Icche GuriI want to pass a list of int from C# to a dll written in vb6 . In vb6 the prototype of function is as follows : Public Function FamIdentify(agentList As Collection, strName As String, strIdentifyTemplate As String, strIP As String) As Boolean From C# I am calling this function As follows : pu...

 
But it made it so much less readable
 
mr5
Would you recommend this kind of model to be serialized from a web service?
@IccheGuri how did you even make the two completely different language to talk in the first place?
 
@mr5 What do you mean ?
 
are you seriously calling VB6 (and not VB.NET)
 
9:46 AM
yes
I have to call a dll which is written in vb6
 
mr5
So, are you doing it in C# or in VB6?
 
well, then, have fun
 
@mr5 I prefer this:
class ContactViewModel : BaseViewModel
        {
            private Contact model;

            public string DisplayName
            {
                get { return model.displayName; }
                set { SetField(ref model.displayName, value); }
            }

            public string Email
            {
                get { return model.email; }
                set { SetField(ref model.email, value); }
            }

            public string Thumbnail
            {
                get { return model.thumbnail; }
 
I want to pass a list from c3 to vb6
@mr5
 
VB6 is oooooooooold, some people here may be able to remember the past memories with it, but not sure if they want to
 
9:49 AM
But the sdk provider has written their dll in vb6 .
Now I am modifying their code .
I also do not want to code in vb6
 
mr5
@KamilSolecki yeah it might seem pretty cool to do it on one-liner code, but I still prefer the K & R style for general cases
 
Their serverside code was in classic asp .
I have converted this to asp.net
 
I usually use the above for properties, and
{
}
for other means
also
{
}
for multiline properties
 
mr5
I think it is not so cool to serialize a model which notifies something every time some of its property changes right?
@IccheGuri just rewrite it all in C#
 
C# is similar to java right ?
 
9:52 AM
...
@mr5 sometimes it's not a viable option
I mean, if this is third party binary code, it may not even be possible
 
Im having a bias here
    // Product Search Parameteters Object
                var = new getProducts.paramsType();

                // Number of products returned in one API request (max: 100)
                request.@params.results_limit = 100;
                request.@params.results_limitSpecified = true;

                // Number of page with results
                request.@params.results_page = optionalResultsPage;
                request.@params.results_pageSpecified = true;

                // Set parameter for producer ID
This way, its much more clear to me, but resharper really forces me to go the {} way
with object intialization
 
@KamilSolecki You know that you can tell Resharper to stop badgering you about every specific warning, right?
 
I guessed so, im currently searching how to make it ignore stuff
 
somebody please give the answer of my question .
 
@KamilSolecki whenever you see a warning, you can click the lightbulb icon -> Inspection <inspection name> -> Configure inspection severity.
@IccheGuri Try sending an ArrayList instead of a List<int>. VB6 probably doesn't support generic lists.
 
10:07 AM
ok trying
 
Or convert the List<int> to an int[].
Arrays should work.
 
@AvnerShahar-Kashtan got it thanks
 
ArrayList is not supposed to work
Now I am trying with integer array
 
G K
Hi all,
I have some query regarding razorviews in WPF project. I wanted to create cshtml pages in my WPF project but I could not able to add any templates from Add option. I tried with RazorEngine but I could only see to create dynamically but not like load a cshtml page which is already created.
 
@AvnerShahar-Kashtan
 
G K
10:11 AM
Any suggestions
 
@KamilSolecki When you're done setting it up, you can export the settings to afile, and reuse it. You can have your whole team use the same settings, so one dev doesn't check in code that registers as a warning for another.
@GK Templates are just that - templates. You can create the files in an MVC project and copy them in.
 
ArrayList is not working
 
G K
Okay but how we can bind data to them?
 
mr5
Does anyone know some cool way to temporarily suspend INotifyPropertyChanged from triggering?
 
G K
Should we need to copy even controllers also?
 
10:14 AM
@mr5 I recently did something similar for INotifyCollectionChanged. It was a bit of a hack.
@GK ...why are you having controllers and binding in a WPF project?
@mr5 Who's raising the event itself?
 
@AvnerShahar-Kashtan nice, thanks:)
 
@IccheGuri get a clue, if no one is answering, badgering for help is unlikely to get you sympathy
 
I am not seeking sympathy
 
In fact, you're getting annoying
 
mr5
@AvnerShahar-Kashtan I want to temporarily suspend it during serialization. You know, who might else want to listen to it?
 
10:17 AM
ok
 
mr5
ayt
 
Thanks
I am exploring the possible solutions
 
@mr5 The question is who is raising it. In most cases, you have to raise the PropertyChanged event yourself. The interface simply defines the existence of the event.
 
@IccheGuri Your question is on the border between C#/VB6, so you need people who know both. Given you haven't got an answer here, it's likely people here don't know VB6 and don't want to mislead you by giving you a wrong answer.
 
Thank you man for pointing me to a clue .
I am gettting annyoing to sdk provider
Why have they wrote code in vb6 ?
 
10:20 AM
And the reason people here don't know VB6 is because it's fifteen years old and it's not maintained anymore
It pretty much belongs to the same category as COBOL mainframes nowadays or Fortran 77
 
I have understood your point
 
Posting a question on SO is a correct choice. You may also re-ask here, but on different hour, where you may encounter different people (different time zone), not every 10 minutes
 
Hi guys
Anybody here from Usa or london?
 
@milleniumbug *cough*twenty*cough*
@Learning That's an unbalanced set of options.
 
@AvnerShahar-Kashtan ouch
 
10:30 AM
@milleniumbug Almost, anyway. 1998.
And to think I started with VB5...
 
Actually i wanted to know why it is so tough nowadays to get visa for Usa or Uk
 
I blame Trump and Brexit
(not a US or UK citizen though)
 
Trump is responsible for this
 
@milleniumbug Vice versa, I think.
The geopolitical situation in the western world is swinging towards isolationism for years now. Trump and Brexit are results of that, not the cause.
 
@Learning , but what is your purpose of going to USA ?
 
10:33 AM
For good earnings
Either Usa or Uk
 
I will go for study
 
It is so damn costly to study in Usa or UK
 
I will get scholarship
Many of my friends have go there for study purpose
 
they will be very rich then
it not possible for common man
 
They have got scholarship man
 
10:37 AM
How?
 
What is your highest degree ?
 
I have one post graduation
in computer science
 
Then you can apply for phd degree
 
but cant i get a visa for job
 
what is name of your country ?
 
10:43 AM
India
 
THen you can passthe exam of GRE and TOEFL
After that exam you can apply for phd degree with scholarship
The CEO of Google are from your country
Write a letter to him to give you a job . lol
 
He wont help me na
Hehehe
 
why will he not help you ?
 
But it too tough nowadays
Ha ha ha
Buddy why he will help me
 
Beacause he is from your country lol
 
10:50 AM
@IccheGuri I think you are living in a dreamland :D
 
Yes I am just making a fun lol
@KamilSolecki
 
Ok lets say you are CEO of google and lots of people from dhaka writes a letter to you to offer them job in google
What you will do?
 
wow you have made me CEO of google
 
Just gonna put this out there
UK != good earnings
If you want good earnings, USA if you're good enough for H1B, otherwise go central Europe
 
what is the average salary of a devloper in uk ?
 
10:53 AM
@Sippy H!B visa have become a dream to get now
 
Not as high as everywhere else.
 
please tell
 
That's why I said if you're good enough.
 
I want to know
 
Google it
I don't have the stats memorised
Bear in mind London != UK in the same way as Seattle != USA
 
10:56 AM
@Sippy Can you recommend any good place in central europe where visa getting process is not so hard
 
A Software Developer earns an average salary of £30,651 per year in uk .
 
That's for an average developer with 3-4 years exp
 
£ means euro ?
 
@IccheGuri it's British Pound
€ is eur
 
GBP - british pound sterling
 
11:01 AM
You can earn a lot in the UK
If you're a contractor
In London
And you don't suck
 
That is not a huge salary
 
Its fair I'd say
 
Depends on the developer
It's shit if you're any good
 
Bt still you get a good salary in UK or Usa no matter what job you are doing
 
Some days ago , I had applied for a job in singapore
The salary was almost twice of the developer in uk .
How is this possible ?
 
11:04 AM
Did you get the job?
 
NO I have passed online programming test and first viva
I cannot pass 2nd viva
 
Its not that there is a certain amount of money that a dev will get
you can earn between 50K $ / year and 1m $ a year
depends on how good you are
 
How about poland
How job oppurtunities are there?
 
I know a dude who's a lead dev in LA, he does under 700K a year
In poland, it depends
also
for a junior dev
you can get from 2,5K PLN to 4K PLN
To 6k*
A month
Divide by 3.7 and u get usd
For senior, you can do as much as 10-20k usd a month
 
Is it tough to get visa for poland>
 
11:09 AM
If you are really good
Not many countries need visas here
 
700k?
That's not a developer
 
He is a dev / project manager now
 
Developers cap at about 300k USD and those are fucking rare
Directors can get more than 300k
But again, you need to be astoundingly good
 
Honestly speaking i am not dat good in developing
 
He's good, AND he has about 28 yrs of experience @Sippy
 
11:10 AM
So i dont want a high package
 
@Sippy for writing code?
holy shit sign me up for 300k a day
 
28 years experience ?
holy shit
 
Ye dude is forty something
 
What is LA ?
700 k USD dollar ?
 
La is Los angeles
Afaik he also became a shareholder at some point
 
11:15 AM
@KamilSolecki Is it tough to get visa for poland?
 
11:34 AM
@Learning No not really
Rather very easy
But we don't earn that much really
Devs earn well compared to the living costs
But it's still gonna be a half of what u can earn in us
 
But life style wont be costly as compared to Usa
 
No not at all lol
You can get a really nice one person apartament for about 2100-2300 PLN
Though you would need to get used to the fact that our high tech area in Warsaw is literally called Mordor
As in, LOTR Mordor @Learning
 

« first day (2413 days earlier)      last day (2536 days later) »