« first day (3313 days earlier)      last day (1618 days later) » 

7:13 AM
why it's called await when the caller doesn't wait?
 
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' squirrelerinos!
@V.7 -- WHERE should do the trick
 
V.7
@Squirrelintraining Nonsense
Morning o/
 
V.7
-- means a comment anyway
 
I once had an old MySql server scream at me for ussing --COMMENT instead of -- COMMENT
The space after -- is important
--some text << error, unknown "some text"
-- some text << ohh it's just a comment, fine by me
 
7:25 AM
@Squirrelintraining fuck syntax like that
stuff like that pisses me off
whitespace should not be part of the grammar
it should be strictly a separator
just like you couldn't do substring(string,1,3), you had to have a space, so substring(string, 1, 3)
 
@Neil Sorry to piss you off with my not so old stories </3
 
T_T
 
7:51 AM
o/
 
good morning
 
good morning
 
Buenos diaaaaaz CeeeeShaaaaaarp! Como estan?
 
hola, che tal?
 
8:07 AM
good morning
@Neil I'm guessing you don't like python much, huh?
 
@AvnerShahar-Kashtan I can see that for python. It doesn't have brackets afterall
 
@Neil also, indentation is part of the syntax
so whitespace matters
 
@AvnerShahar-Kashtan yes, yes it is.
 
A lot of C* developers have a hard time with that at first, mostly conceptually, not practically.
 
making "," + whitespace character part of the syntax is the sort of syntax that's impossible to remember
if the separator were ",," I could remember that
 
8:13 AM
I think it's mainly a matter of convention. Curly bracket languages mostly don't care about whitespace (except when they do), so we've gotten used to it not being important, so we don't pay attention to it.
 
maybe
my solution to the problem is just to always use comma and space everywhere
I fortunately have yet to see syntax complain about the existence of a whitespace character for a substring call
 
It's not as if C# whitespace usage is entirely consistent. You can have 0 or more whitespace characters between function arguments, but 1 or more in some places for parsing (so int num = Multiply ( 1, 2, 3 ) ; can be phrased as int num=Multiply(1,2,3);, but notice that you still must have one space after int)
 
whitespace serves a purpose where the lack thereof would cause ambiguity
 
@Neil I've seen people insist that Substring(str,2,3) is more readable than Substring(str, 2, 3). Of course, I corrected them, forcefully if necessary. But that's style, not syntax.
 
@AvnerShahar-Kashtan except in situations where it is syntax
 
8:17 AM
here we force space everywhere...
 
@ntohl <insert star wars joke here>
 
@Squirrelkiller esta mui bien, gracias(?)!
 
@Neil Which is exactly the problem, when it's usually just style, but not always. In my example statement there, I can remove all spaces except for one.
Of course, it's pretty obvious and intuitive why we need that space between variable type and identifier but still.
 
lol. My colleague just showed me that her daughter went in to her wedding to the Imperial March
 
@ntohl mad props to her ^_^
 
8:19 AM
Also, I had another two interviews yesterday, both featured linked lists. *shrug* chat.stackoverflow.com/transcript/message/47750745#47750745
 
@SiT: *Estoy
 
ZABIVAT' VREMYA!
 
Gesundheit
 
@AvnerShahar-Kashtan what were the questions about LinkedLists?
 
@ntohl One was to design a LRU cache with O(1) for Get, Add or Update.
 
8:21 AM
@Squirrelkiller DID YOU JUST ASSUME MY GENDER?!
 
And the other was another whiteboard design question about building a memory allocator, and how to keep track of freed memory blocks to be reused
 
I did not
 
YOU DID TO
 
Squirrels, squirrels. Since you are both fictional entities showing up on a screen, neither of you has gender, and you can both relax.
 
@Squirrelintraining how?
 
8:27 AM
@AvnerShahar-Kashtan Who was it that said it? LinkedLists are useful for interviews?
Someone in this chat anyway
 
@Neil Follow the link
 
ah there you go
you said it
 
Of the two use cases in the interviews, the first was a bit of an artificial choice because of the relatively arbitrary requirements.
The second made a lot more sense to use, but it illustrates the point that for the common usages in everyday application code, linked lists don't make sense as a general purpose data collection.
 
Not sure if LinkedList would be ideal for a LRU cache
 
In a scenario where you manage a block of memory and want to use the absolute mininum of overhead to manage it (i.e. don't want to hold a list of allocated/freed memory locations in addition to to the memory itself), it makes a lot of sense.
 
8:31 AM
I mean, getting the least recently used is O(1), but everytime it gets requested, you need to find it in the list and bump it to the front, right?
 
@Neil The cache itself was a Dictionary. The linked list was an auxilliary data structure there to allow O(1) removal of an item.
 
Nov 4 at 15:11, by Avner Shahar-Kashtan
Linked Lists are used in special cases and in job interviews. :)
 
ah well that would make sense in conjunction with a dictionary
 
@Sarseth Stop distracting fromt he root problem here!
 
The Dictionary held a CacheEntry struct, which held both the data, and the ListNode of the item in the doubly-linked-list, which made it easier to remove it from the LRU cache in O(1) time.
 
8:33 AM
yeah, you'd just need a quick way to get the pointer to the linked list
from there, you can do everything else in O(1)
 
well done
 
I prefer mine medium rare
 
So I'm done with technical interviews. I've got a manager interview tomorrow, and more on Thursday, and I hope to get offers next week and choose one and get it over with.
 
        private static readonly Random getrandom = new Random();
        public List<NaptariMunkaDTO> DummyNaptariMunkak( NaptariMunkaDTO minta,
                                                         int minInterval, int maxInterval,
                                                         DateTime kezdetIdo, DateTime vegIdo )
        {
            List<NaptariMunkaDTO> dummyMunkak = new List<NaptariMunkaDTO>();
            NaptariMunkaDTO       dummyMunka;
            DateTime              dummyKezdetIdo, dummyVegIdo;
look at that style... Like C++ hard
and the spaces are very rare in this one. Usually is like:
 
@ntohl That came from C, where you were obliged to declare all local variables at the start
 
8:40 AM
Ugh. I hate fixed-width indents. I hate multiple variable definitions on one line.
 
You weren't obliged in C++, but it sort of stuck
 
        private static readonly Random getrandom = new Random ( ) ;
        public List < NaptariMunkaDTO > DummyNaptariMunkak( NaptariMunkaDTO minta,
                                                            int minInterval, int maxInterval,
                                                            DateTime kezdetIdo, DateTime vegIdo )
        {
            List < NaptariMunkaDTO > dummyMunkak = new List < NaptariMunkaDTO > ( ) ;
            NaptariMunkaDTO       dummyMunka;
            DateTime              dummyKezdetIdo, dummyVegIdo;
 
this guy clearly started off in C
 
@Neil This came from very old versions of C, specifically.
 
I think this came from Oracle SQL
 
8:41 AM
just like the awful awful habit (lets call it for what it is) to name class members m_pVariable
that's a very C++ thing to do
 
which we also do... m_ is the standard prefix
 
and it's awful.. awful!
 
not full yolo hun notation
 
@ntohl It's not in the common Microsoft C# naming coventions.
 
the point was to distinguish from local variables and not override them potentially, but god was that ugly
 
8:44 AM
come on... I don't have any problem with just _
 
if snake case were the norm, maybe I could see that
but m_pMyVariable is just vomit-inducing
 
The p prefix made sense when you really did need to know whether to access a variable's value via . or ->.
But generally speaking, styles are just styles. I'd take any convoluted faux-hungarian notation, pointless as it might be, over yoda conditions.
 
before you had IDEs that would make it clear which one you were supposed to use
the only way to know would be to open up the header file and check
but as long as I've been programming in C++, that hasn't been an issue
 
"IDEs that would make it clear which one you were supposed to use"
My exception for that is I hate when you have to point and read instead of just read
 
it was probably a mistake to make -> the syntax rather than make it all "."
but I suppose they were afraid people would then neglect to free up the pointer if it were treated as a reference
plus it is what they used in C so
 
9:02 AM
hapy mondae
 
@Neil But if you didn't have both . and ->, you couldn't distinguish between operations on the pointer, and operations on the dereferenced struct the pointer points to.
 
@AvnerShahar-Kashtan for example?
 
\o
 
@Neil Dunno, I haven't written any C in decades. There aren't really any members of a primitive, right? So there isn't really any pMyPointer.getValue() or something.
So yeah, I'm guessing that for C and early C++ developers and designers, accessing a struct and dereferencing a pointer to a struct were two very different operations and the design favored exposing the actual operation being performed over abstracting over the technical details to favor a unified syntax.
 
if you could reference it, then you could also create a pointer from that
I suppose you couldn't do some of the fancier things like have a double pointer to the start of a linked list so that you could potentially change where head points to if you wanted to
everything would have to be a pointer for that to work
probably way more complex than what they were going for with C++
 
9:16 AM
Guess who fucked up againn
 
Harry?
;)
 
Nah, it is I
 
@CaptainObvious *again
 
sigh
@JackSparrow sup
 
9:23 AM
 
alright
HELLO @JackSparrow
nvm
 
9:37 AM
Holy fuck
18 billion row reads in an hour and a half
 
thats..
a lot
 
in ~21 million queries
 
because
 
I think I've mastered the art of not caring at all when someone else screws up and tries to put them blame on me
 
9:47 AM
@HéctorÁlvarez good talent to have as a programmer
 
@CaptainObvious Now imagine this was a cloud-based database that charges by the transaction.
 
comes in handy often
 
I just copy-pasted the string of mails where I ask for very basic information we need before we can proceed after I was asked why the first set of flows wasn't ready yet, and laid down the answer "I warned you"
 
I'm honestly sick of people who are quick to point the finger and don't actually contribute anything
 
Exactly.
All they do is complain
 
9:48 AM
like, just do your job, and maybe it won't happen
 
@AvnerShahar-Kashtan We (very briefly) looked at moving to the cloud a couple of years ago, when azure only priced by DTU
 
most people at my workplace aren't like this, but there is one that comes to mind..
 
That was very quickly dropped when it suggested we'd have a like 30k/month database bill or something stupid
 
@CaptainObvious The question is whether you're paying that 30k/months on something else now.
 
Well the database is running on a relatively low spec VM on our on-prem hyper-v cluster
Which costs practically nothing to run
So no, we absolutely are not paying anything even resembling that
 
9:53 AM
Yeah, for these scenarios usually a hosted cloud database doesn't make much sense (though running the same MariaDB on a low-spec VM that happens to run in the cloud instead of on-prem might, in some cases).
 
Yeah well we re-priced it a couple of weeks ago and running the same spec VM is only a couple hundred a month
 
@Hans1984 harry!
@ntohl kieran2
 
ahoy mateys
 
Yoyo
"Average per second; SELECT: 2115.3
hmm
4 million row reads per second average
 
@AvnerShahar-Kashtan are you saying per transaction would be cheaper or more expensive
 
9:59 AM
@misha130 DTU is a hilariously bad idea if you database is busy
 
but you dont get charged per dtu
its like a resource allocated and then you scale up or down based on the need
 
No there is an option to pay per DTU
 
its not like you use 40 dtus at this exact moment thus your billing is that
oh
 
It's great if your database is super quiet
 
must be the new azure pricings
 
10:00 AM
DTUs have always been an option on the hosted databases, VMs are the new option
 
the unmanaged VMs?
 
No the database VMs
The option to run your own database on a VM was always an option though
 
I mean I have like 10 dbs right now and each of them have 100 DTUs max
as in the maximum possible DTUs allocated to the database
 
@Squirrelintraining yep
 
well forget it, I must be missing something
 
10:21 AM
Vive have terrible internal communication lmao
 
wouldn't it make more sense to have multiple databases on the same instance rather than attempt to create a VM for each database?
in terms of resources at least
 
wat r this
 
quantum simulator
And Q# in action
 
The fuck
 
10:30 AM
 
because quantum, every company have some projects on quantum
On microsoft, they have QDK, Q# is a part of it
 
I refer to my early reply
Why?
What practical application does this have, keeping in mind i have no quantum computer
Also, i should hope everyone is performing a minute silence for remembrance today
 
every beginning of successful are impractical, dont let but why limit your actions
@CaptainSquirrel today? for bank deposit?
 
That's why ^
 
it was too far away
 
10:40 AM
@nyconing could they not like, you know.. integrate it as a library or something?
do they have to necessarily make a new language for this?
probably not mainstream enough to matter, but still
 
DO U ALL HAV UR POPPIES 2DAY
 
just google it, dont ask another BUT WHY
because of love
 
@Harry I don't but only because I've not seen any
 
POPPIES != POOPIES
 
@CaptainSquirrel i was told the company might not be doing it so i was more than ready to go and stand out in the cold on my own and do my own
but we are doing one its ok
 
10:42 AM
@Harry Sounds like treason to me
 
what doe
 
> i was told the company might not be doing it
Sounds like treason
 
yes but we are doing one
 
I've just had our email about it
@Harry but it was considered
OFF WITH THEIR HEADS
Apart from Harry's head
 
noo i asked someone who didnt really know
i asked if there would be one to someone who wouldnt know
its fine boomer
 
10:44 AM
Oh, well that person should be tried for treason
Also, how in the actual fuck am i a boomer? lmao
 
Nobody has said anything to us
 
@CaptainObvious sounds like treason to me
 
its a meme
poppy patrol meme
 
But nobody speaks to us unless it's all fucked soo....
Also fuck "ok boomer"
It's so retarded
 
@CaptainObvious ....ok boomber
 
10:45 AM
OH SHIT
 
boobmer
 
@JackSparrow learn KieranSpelling <>https://chat.stackoverflow.com/transcript/message/47808284#47808284
 
I've learned the command KieranSpelling
 
@JackSparrow KireanSpelling
 
10:46 AM
....Come Again?
 
Who owns Jack?
 
@Harry ...
 
3 mins ago, by Captain Squirrel
OFF WITH THEIR HEADS
 
@CaptainObvious Me
 
@CaptainSquirrel did u not detect the irony
 
10:47 AM
YES BUT ITS ALSO RIGHT THERE ON THE SCREEN
 
But is he writtne in a superior language
 
I WAS TAKING THE PISS OUT OF YOU
 
we should also have a minute of silence for the hundred years war
some people (quite a lot) were born during that war, and died a hapy (perhaps not that many because they were at war) and long life while the war was still going on
those people had a full life of war
 
@CaptainObvious You ask silly questions sir
Of course he is
 
There might be a handful still alive
 
10:48 AM
He uses the glorious c#
 
But where is his sauce
 
His sauce is bbq and is on my tiddies on DevOps
 
on ur boobmers
 
And is closed for the time being
 
10:49 AM
Boooooooooooo
 
@JackSparrow KieranSpelling
 
10/10
FUCKING A*
 
You can contrib if you like, but you are not allowed to comment on the spagheto
@JackSparrow commands
 
10:49 AM
I know the following commands: commands, learn, tell, echo, save, info, forget, ban, unban, c#, kieran, panini, lenny, shrug, KieranSpelling, funfriday
 
link me up inside
 
@JackSparrow KieranSpelling
 
nice
 
10:50 AM
I think you need some contribs my friend
 
sec
lemme see if he is erroring
 
@JackSparrow forget forget
 
@Wietlol There's no command called , Savvy?
 
you still havent fixed him?
 
ur bot is retard bro
 
10:52 AM
I would hope he's erroring
 
He's not
ffs
I'll maybe fix on my lunch
@CaptainObvious brother, give me the slant email
 
Sounds like you fucked it
 
@CaptainSquirrel butler1233@hotmail.com
 
@JackSparrow funfriday
 
kms
 
Why does that work
 
ofc that command works
i cant wait to teach it the hmm command
 
10:55 AM
@CaptainObvious invited
 
Oh fuck
I cba finding all my hmm links
Is there a caprica backup anywhere
 
There is a cap update somewhere
 
is lemon kill too
 
@CaptainSquirrel what command doesnt work as expected?
 
jack, wat
@CaptainObvious yes
Madara already answered that
you can find its in the javascript room
 
益ಠ༽୨
 
Oh thank god
 
I want to spend time and import them, but i cannot be arsed atm
@Wietlol the KieranSpelling on i just added
oh well
 
I've learned the command kieran2
 
10:59 AM
*This room was placed in timeout for 1 minute; Minute silence for WWI Remembrance *
 

« first day (3313 days earlier)      last day (1618 days later) »