« first day (2152 days earlier)      last day (3021 days later) » 

05:35
Morning.
I saw a job listing that said "Must provide a WOW experience to all stakeholders". And I wonder, do they just need a healer, or will a paladin tank be enough?
lolz^^
I never liked WoW
grafiks where to soft for me :D
I prefered the riged, broken badly designd world of kalonline :D
I loved WoW's graphics because it didn't try to maximize graphics capabilities for realism - which leads to not-quite there uncanny valley graphics only supported by high-end machines - and instead opted for a more cartoonish style that was a) more widely supported, and b) better looking because style wasn't limited by technology.
Then again, I last played WoW in 2006 or so, so things might have changed.
05:55
I love the animations. It's so polished.
@AvnerShahar-Kashtan yep, it has a adventure/fairytale feel over it.
@AvnerShahar-Kashtan You need to soak at lot of time into it, so tank it is :>
It feels like the "rockstar" developer aka you will give your live away for us kind of thing.
The worst thing is that it was a listing for an R&D team leader. As an R&D team leader, the word "stakeholder" shouldn't really be part of my job description.
"We want an R&D team leader who's in touch with the investors and VC". Umm, why?
That wouldn't lead to much research
I like people who are honest, and says things as they are, not trying to wrap it in to look nice.
There was a job listing some time ago in the UK iirc. It was straight to the point, saying that it was a boring job, with lots of maintenance on old crappy tech and should've-been-thrown-out-years-ago codebases.
People still applied for it.
Australia, I think. I saw it too.
I guess they were tired of luring people in with false promises only to have them leave within the year/month/hour.
06:28
o/
06:44
Good morning everybody.
I have a (stupid?) question today: What happens "under the hood" when compiling / calling extension methods? Are there any possible disadvantages of making a static method "public static void DoSomething(MyType myInstance)" an extension method "public static void DoSomething(this MyType myInstance)" ?
@Bechi +1 for going out and checking. :)
07:00
Morn all
I'm so sorry: my first google search was a perfect match for the question on SO
07:11
Under the hood there really isn't much going on. The compiler takes myObject.DoExtension() and replaces it with ExtensionClass.DoExtension(myObject).
07:26
@JakobMillah \o
@Bechi +2 now
user6096770
hello
user6096770
what do i do if html code get's large? in c# i can just create a class and create public methods, but in html i feel helpless
@FluffyWuffy You have one single huge HTML page?
Split it into several pages, which is usually more convenient for the user anyway.
user6096770
@AvnerShahar-Kashtan the page is small at the moment but is going to get large if i dont do something about it, my idea was to run html based on a logical condition
user6096770
if (true) --> run this html code, so i want to isolate pieces of html code in methods, how do i do that?
user6096770
07:37
ex: js: function() {html code}
user6096770
do you notice that with separate js files, i can run the function names in html by calling them based on a condition
user6096770
razor: if (true) --> html test(); --> js file (function test() {html code})
Your use case seems odd.
Oh, so you're talking about MVC Razor Views
Go look up Partial Views.
user6096770
if condition met (razor) run html code that calls js function that includes html
> Partial views are an effective way of breaking up large views into smaller components. They can reduce duplication of view content and allow view elements to be reused.
> If you have a complex page made up of several logical pieces, it can be helpful to work with each piece as its own partial view. Each piece of the page can be viewed in isolation from the rest of the page, and the view for the page itself becomes much simpler since it only contains the overall page structure and calls to render the partial views.
user6096770
07:40
yes the html page is a partial view, but partial views can get large
@FluffyWuffy So break them up further.
@AvnerShahar-Kashtan concering uses, is it always usefull to use the uses - Funktion or is it irrelevant in small enviroments(programms)
Also, your description of the flow ("run" html code which "calls" js function) is unclear to me.
user6096770
okay so if in 1 partial view (main partial view) condition is met (true) --> call other partial view?
HTML describes the markup, the visual layout.
It's not "run".
user6096770
07:41
if (x) --> run partial view?
@FluffyWuffy Yes. If your view can display either Subview1 or Subview2 depending on a condition, then those two Subviews are logically separate and should reside separately.
user6096770
ah
user6096770
of course, i was trying to use js
morning
user6096770
@AvnerShahar-Kashtan it worked! thanks
07:59
@FluffyWuffy You're welcome.
@AvnerShahar-Kashtan What about DPS?
damage per second?
@RoelvanUden DPS is like a junior dev job. There's always someone to fill the position.
Hah! Touche.
08:15
Building a big solution through a Citrix remote desktop to a weak virtual workstation with a slow drive in a different continent. We're talking 50-60 seconds build time + about the same startup and attach time. Every time.
This is the second slowest development experience I've had.
The worst was using ClearCase source control, way back, that was configured so the entire codebase sat on remote shares, not on the local machine. The remote shares were forwarded via proxy from a shared unix server in a different vlan. Saving a file took 3-4 seconds every time. 3-4 seconds where the UI would freeze.
Lol
Sounds lika allota time for stack overflow chät
Jaaaa.
Additionally, once the app builds and runs, it's still a WPF app, running on a virtual machine without hardware graphics rendering. Everything is slow! Everything is terrible!
Haha :D

Speaking of virtual machines, is it possible to run CSS on a virtual machina in VM ware?
Any expierences anybody?
War
War
that's a very confusing question @Nerdintraining
CSS is a web technology for styling web pages
you can use it anywhere you have a browser
VM Ware virtual machines are for hosting Operating systems ... any operating system that can't handle a browser today is likely not worth putting on a VMWare VM
08:35
has anyone here been brave enough to debug in Production environment?
Oh wauw. xD hi :P
@JackyNguyen Yes :)
Well... Debugging connected to the production db
I'm wondering if someone could help me with a small problem. I'm quite new to c#.
Hello and go ahead and ask
If you that new, I might even be able to answer lolol
Nice! Okay let me think about how I'm gonna explain.
08:40
@JakobMillah: sound risky to me LOL
@JackyNguyen Depends on what you are doing and what kind of production environment
my coworker just did that because he could not reproduce the issue
and i was sitting here be like: huh?
:P
I have made orders through debugging in prod, but of course, I removed the orders from the db afterwards
I think I've eaten a small dog's weight in sriracha-covered peas in the last two days.
that doesn't sound too nice tbh
RIP stomach
08:44
Okay I have an string array. Filled with just dots. What I would like to do is (re) fill the array with letters.
I have 2 static ints for the, what I call it, coordinates. Everytime I hit a letter, by one of them is added one, so 0,0; 0,1; 0,2 and so on.
What I've already done is transport the value of each coordinate to a label. That is fixed. That's perfect and it works.
But the only problem is, when I'm typing some letters, the previous label is changing back to the dot form the array. It looks like that the typed letter aren't saved in the array.
How could I do that?
(A-P-P-L-E is happend like A . . . . ; . P . . . ; . . P . . ; . . . L . ; . . . . E)
I am trying to understand what you are trying to achieve since I am 110% certain that could be done way easier than what you are currently doing
Is this homework @Donovan?
Nope, it's a small project that I want to achieve for entertaiment. It's a small game.
Homework? ( ͡° ͜ʖ ͡°)
No, not homework. I don't go to school anymore
08:50
Niema problemu, at least by me
@JakobMillah So what I want to achieve is that each letter I'm hitting on a keyboard, is placed to the current coordinate in the array and shown in a label.
@War I am a very confused person^^
@War CSS as in counter strike source XD
And it works halve now, The current letter I'm hitting is shown, but when the next letter is hit, the previous is changed back into the dot in the array.
@Nerdintraining Then no, not really. Graphic card acceleration in a VM isn't exactly normal
@Donovan Gonna need code for that issue. Could be everything from your code being messy or postback calls
08:53
Oh yeah, sure. One moment.
Tried to debug step by step to see what every line does?
Then you can see when the dot is added back
i noticed :D
I trtied running the lan version of css and host a server like that in Company-School (Berufsschule in german is a place where u go during your trainingship) in a virtual machine.
static int huidige_letter = 0;
static int huidige_regel = 0;

string huidig_woord = File
.ReadLines(@"C:\Users\Gebruiker\Documents\Visual Studio 2015\Projects\Lingo 1.0\Lingo 1.0\Resources\Woorden\nl_5.txt")
.Skip(woordnummer - 1)
.FirstOrDefault();

string[] te_raden_woord = huidig_woord.Select(c => c.ToString()).ToArray();

string[,] letters = new string[6, 5]{ {".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
@Nerdintraining A server should be okay under a VM
I know I may programming on a strange way but this is indeed quite new for me.
08:56
@RoelvanUden then I'll read into that, next time around (was to lazy and tried doing it under the UI version )
<<<Lazy Ass
Hey, we're devs, we're all lazy.
What do you mean with that? XD
If you're a dev, and you're not lazy, you're not a very good dev yet. :3
But what means lazy? Try to write as less as possible?
08:58
Yeah, don't do more work that necessary. Re-use whatever you can. Don't write things twice. Keep things simple and organized, to reduce reading effort. etc, etc
"Don't write things twice"
Sometimes it is quicker to do CTRL+c CTRL+v then writing a function :D
Oh uhu yeah that sounds logical. But the problem in my case is that I don't know everything what's possible so...
@Donovan I fell you brah
I'm Dutch btw, so that could explain the strange words in the code xD
@Nerdintraining thanks!
@Nerdintraining Yeah, that's lazy in the short-term, but that's stupid lazy. You want to be smart lazy.
09:01
Indeed! But that's something for the future. Step by step.
@JakobMillah What do you mean with that? XD
@RoelvanUden whats the use of being smart, if stupid is so much more fun :D
@Donovan Also, I highly recommend you never use your native language in code. It's confusing and annoying for everyone involved, including yourself and potential future colleagues.
Nah but i get you
What ido you mean with native?
hahaha i have that problem!
I code in englisch (mainly) and write comments in englisch/german
@Donovan Mothertongue
09:03
@RoelvanUden Yeah, I'm with @Roel here. Sure, you might say "I'm the only one who's going to read this, so I might as well use Dutch for my variable names". But then you come on to Stack Overflow to get help and suddenly you're not the only one who has to see the code.
@Donovan Dutch. Don't use Dutch. Don't use Dutch variable names, method names, class names, comments, whatever. Keep it all in English.
I mean, I am Dutch and I can read it but it already annoys me to no end to even bother with reading the code :3
And then someone who might have taken the time to help you sees the code and says "screw this, I don't speak Dutch and it's too much hassle to understand what this code's supposed to do", and doesn't bother helping.
Aah yes got it!!
@RoelvanUden Now imagine how bad it gets with people writing Hebrew variable and class names, clunkily transliterated into Latin characters.
@AvnerShahar-Kashtan @RoelvanUden waht do you senpais think about native-language-comments?
09:05
Stupid, I haven't even thought about that.
And i totally forgot!
Hello Sensai @RoelvanUden
@Nerdintraining A big no-no. If the Japanese even write English comments in their code, so can we. We all have a much better mastery of English anyway.
@Nerdintraining I'm against. Go for a lowest-common-denominator in code, since you don't know who'll be reading it.
So I have to find the quick option in Visual Studio to replace text :P
Refactor -> Rename
09:06
Haha my mastery of the englisch language is perfecti!
Generally speaking I am for writing documentation in your native language, since a staggering percentage of software bugs are caused by bad communications between requirements, specs and design.
So the Dutchees do understand it here? XD
the code :P
But that has other problems. Most companies these days want to have their documentation available for external inspection in case a potential investment or acquisition wants to do a full due-diligence check.
Our bug tracker and manual is in Dutch, our code is not.
Okay. But you understand what my issue is?
09:09
Y'all work in real software development companies?
@Donovan I don't think we can see the issue from what you posted. There are no event listeners or anything :)
just the keypress event
Yeah, but is all that code in the same method?
oh whoops, I've copied to much xD sorry
I changed some words to English, so it may be better understandable
else if (ActiveForm != null)
{
if (e.KeyChar >= 97 && e.KeyChar <= 122 && check == 0 && current_letter < 5) /// letters a-z
{
letters[current_line, current_letter] = e.KeyChar.ToString().ToUpper();
So in this event I
try at least to fill the array
string[,] letters = new string[6, 5]{ {".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,
{".", ".", ".", ".", "."} ,};
Try pasting it here gist.github.com
In my opinion one can read it better there
09:14
Yeah, post on git or any other place. And I want to see the entire class
the whole code document?
@Nerdintraining Yeah, well, sort of?
@RoelvanUden ^^ waht does that mean?^^
@Denovan as much as possibru would be coolek
09:17
We're not only a software development company, we have a software development department for the software suite we deliver. But we can also deliver other services, from telephony to texting, and even hardware for standalone stuff. It's not purely software development.
@JakobMillah line 185 is the keypress event where my issue is.
182 sorry
@Donovan You are creating your array every time
Place your debugger in that key press event and you'll see
09:20
that?
Tiebreak_5_KeyPress
Debug from there and you'll notice. Pay attention to each line
It'll only work for one letter
lol let's have a look
ah i see
but atleast you seem to develop "real software"^^
Dim Conn
Set Conn = Server.Createobject("ADODB.Connection")
Conn.Open "Driver={Oracle in XE};DBQ=xe;UID=biotpl;PWD=biotpl;"
Dim CPw2 As ADODB.Command
Dim QSQL As String

QSQL = "adoinsert"

Set CPw2 = New ADODB.Command

With CPw2
.ActiveConnection = Conn
.CommandText = QSQL
.CommandType = adCmdStoredProc
.Parameters.Append .CreateParameter(, adInteger, adParamInput)
.Parameters.Append .CreateParameter(, adDouble, adParamOutput)
End With

CPw2(0) = 16

CPw2.Execute

Response.write("Return value from stored procedure is " & CPw2(1) & ".")
Pretty serious software, yeah.
09:24
I am using this code to call stored procedure
But I am getting error
Why ?
Please help me
@RoelvanUden
What does the error tell you
Internal server errror
Don't randomly ping me. I have no inclination to help you.
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
@RoelvanUden löl^^ we dont do shot :DDD
09:25
@Nerdintraining Oh? What do you do?
@JakobMillah @Donovan Isn't better to isntantite the "SoundPlayer Lingo" once in the constructor of the class and always call the .PaySync() then doing it over and over again?
@osimerpothe You sure you can even connect to the server in first place?
I am a trainee in the IT department of a logistics company that uses Lotus Notes
*yeahy*
Yes
@JakobMillah , this code can insert data in table
But this code can not call stored procedure
Alright. Never called stored procedures so can't help you further
09:27
What is the keycombo to go to the next step at a breakpoint in Visual Studio?
@Donovan F10, next. F11 step into
@osimerpothe Use fiddler
aah okay, thaks
thanks*
What is fiddler ?
@Guffy
09:29
What is the task of this ?
So, do I have to move the array just in the keypress event?
I love a good fiddle
If you want to see what happened on your server For example if you get 500 Interval server error you can debug it
@Donovan You need to prevent it from initiate the array every time you press a key
How you do it is up to you. Many ways to do it :)
So, because of the initiation, the label is changing back to the dot?
09:33
Well, if your array is filled with dots, the label should be filled with dots? :P
Just debug and check why it's filling it with dots again. you can do it!
@JakobMillah Ignore me!
Yeah okay, but just to get it. I'm understand it just a little bit now. But the initaion is new. I have
'nt heard about at
@Nerdintraining I am not. Just too smart question for me to bother :P I was heading for lunch
09:34
@JakobMillah haha okay, thenn "Guten Appetit"!
string[,] juiste_letters = new string[1, 5]; //Initiation
juiste_letters = { { ".", ".", ".", ".", "." }, }; //Declaration
Anyway. Food-in-my-belly-time
Hmm..
@Guffy , can you tell me how can I debug with it ?
@JakobMillah Bon+
But do you know aleady what the game is that I'm creating?
@Donovan Guess outa the blue (didn't read code), Snake?
Nope. It is a word game
Wordgame that is on tv at GSN
(game show network, America)
09:49
Need to find a mistery word by spelling
This game
Good god. Windows Phone. Stahp.
HAMMAHTIME!
> Windows Phone: Store Application Review Results: REVIEW RESULT "Non-Compliant". File encoding test: FAILED. HTML, CSS, and JavaScript files must be encoded in UTF-8 form with a corresponding byte-order mark (BOM) in order to benefit from bytecode caching and to avoid other runtime error conditions.
WHAT YEAR IS THIS?!
@Donovan dutch
sounds
wicked!
HAah it is
09:56
It's like Mastermind but with words
Isn'T mastermind uSUALLY iwth words?
Colors
Indeed!
and with a combo of numbers in Bingo
but first the mastermind game
NL is such a... Weird language. It's a complete mindfuck. Ohh french, Ohh german.. Ohh, British "R"...
:|
Ohh plattdeutsch
Have i told oyu guys that i found a dutch book on my holiday in the sand (abadond) and i started reading it
or trying atleast
09:59
XD uhu. And here another game. Same principal but only harder
My question to you @Donovan after watching that video. Why don't you send in entire words instead of checking each letter?
that was mindfuck!
But i managed 5 pages bevor giving it up
Because a letter could be wrong, correct or just in the word
Yeah, but people might missclick letters? They might want to write it in full text before the commit to easier see what word it could be? :) Just me and my UX-mind talking
And it would also ease your method a lot
I don't let people to fill in
someone is behind the computer
10:03
besides.. if the word is APPLE and I start typing:

A....L (which gives me right and right but wrong location). What if I write "L" again?
Again with another word?
Then even more so you'll want to write a letter/word before you commit (press enter to check if the word is correct).

Nope thinking about same word
What happens if I write A...L...L
0
Q: How to call stored procedure from vb.net

Sagor AhmedI have the following code to create an procedure : CREATE OR REPLACE PROCEDURE BIOTPL.adoinsert ( insnum IN NUMBER, outnum OUT NUMBER) IS BEGIN INSERT INTO FIN_DATA (USER_NAME,KEY,DATA) VALUES ('Sultan','Sultan','ABC'); outnum ...

I can't remember the rules of Mastermind, but if I were to write ALLXXX, that would have given me a right + right with wrong location
Just me trying to exchange some ideas :P But I still think the initiation of your array is causing the problem. And maybe something else along the line
Fist L is out of position
a second L is not in the word
And a incorrect word, or a word that doesn't fit
is the control to the other side
and if they waiting too long
same procedure
and a bonus letter for the team that's in control then, unless that all of the letters are knows except one.
10:16
is anyone here good with udp? like the connection to send things
@RachelDockter Hi Rachel, are you stil lworking on your media streams?
yes but ive gotten pretty far
ive made a client and server, but the client only receives and the server only sends
if i post the SO question, would u mind taking a look at it?
Why UDP?
tcp is very slow and for stuff like voice calls, its ok if some packets get lost
Uhm okay.
10:23
@RachelDockter A quick sanity check: are you sure you need to implement whatever-it-is yourself, and there aren't existing solutions, tested and stable and accepted?
yes i was trying to find example code for a voice call application on c# and only found 1 that works
Like I don't know.. WebRTC voip..
I'm pretty sure there are many solutions. Most commercial and proprietary, some probably free and/or open sourced.
They probably aren't simple plug-and-play solutions and might require integration (and money to pay for them), but unless all your developers are working for free, they're probably worth the money.
i think the one i use uses rtp, but the connection isnt the problem, it streams perfect
not that i could find avner
i found java ones and stuff, just not c# that works
One more step back. Why are you even building this?
10:27
long story, its just a small part of a bigger program
I love a good story.
lmao u wont like it
can i just post my question here and if any of u want to take a look at it u can?
Wait a sec, bringing the popcorn
if u must know im trying to program a rat and this is the last part i need to finish it
im not gonna use it or anything, just for educational stuff
u know
Well, I find it really hard to take a question like this seriously if said person can't whip up a convincing argument as to why he's making voip from scratch
10:31
^ +1
#foodtime
im not a he lol but its beccause the rest of it is in c# and i just want to be able to add the code in
Hey guys
plus i like doing stuff from scratch, i learn more
anyone who has developed apps on windows phone?
10:32
Nein
Implementing two-way voice/video streams from scratch? How many years do you have to invest in this project?
well ive almost got it and its only taken about 3 days lol
but you're struggling with creating a connection?
no ive got the connection, the voice streams perfectly, but its only one way
so the client can only receive and not send if u get what i mean
and you're doing this in UDP?
10:37
popcorn sounds good right now
you have multiple machines to test this on?
Isn't that the whole problem? Both has to be listening and sending at the same time
I need help fixing a combobox issue.For some reason it dropsdown but gets trimmed instead of being able to scroll.Some how I had it sorted until I added an extra control on the page
yeh udp, i got my laptop and pc to test it
jakob when i did stuff with tcp, i could send and receive
its defo possibile with udp
my code sample
<ComboBox Width="Auto" Margin="15,20,15,5"
ItemsSource="{Binding Locations}" Background="{StaticResource MyBlue}"
PlaceholderText="Choose your Location"
SelectedItem="{Binding SelectedLocation,Mode=TwoWay}" />
10:39
why not just use TCP?
Yeah, done it using TCP (not as voice). Never looked into UDP though
TCP introduces delays instead of dropping frames when the connection is bad
probably not what you want in VOIP
i did abit of research, everything was telling me not to use tcp for stuff like video and audio
you're putting this on the Internet? or is it just a local network proof-of-concept?
its just for me, proof of concept and i learn abit about it
10:42
🐭
10:57
Well, nice then. Go on trying.
To my belief the internet (tm) has so many ope nsource projects and classes out there, one can simply put together even complex things rather than creating a project on its own.
But, does this really help you to get an "understanding" of the things you are using? I'm not sure... However, byting through problems can never be wrong.
i mean coding something from scratch instead of using a pre coded one or just copying will always give u a better understanding surly
for me anyway

« first day (2152 days earlier)      last day (3021 days later) »