« first day (1944 days earlier)      last day (3010 days later) » 

3:00 PM
Let me think harder on that. But my first thought is "its a place to hold the requests"
 
Normally you use a BlockingCollection as a simple mechanism to queue "things to do" into, which is then processed by the thread that is processing the items from the BlockingCollection. Essentially, it enables a trivial implementation of n producers with 1 consumer. In your case, the 'consumer' just spawns more threads, making the entire queue.. moot.
 
It keeps them in order (multiple threads can enter items into the queue at a time, there is a mechanism to block other threads at insertion so specific items can be added in specific order
)
 
@KDecker The order is undetermined since you don't really control the task scheduling.
 
Because the underlying TaskScheduler?
Does what it wants?
 
user47589
So gangster
 
3:05 PM
I knew that. Idk why I just realized that might the answer to another issue.
 
Launching concurrent threads, by definition, loses ordering.
 
@RoelvanUden I did that in java once
 
The TaskScheduler can do what it wants, sure, but at a lower level, the OS scheduler can make the processing order undertermined.
 
I think it's called BlockingQueue
 
The only way to ensure the ordering you to be Task.ContinueWith?
 
3:06 PM
That was fun, spawning hundreds of threads then looking at them with jvisualvm
 
the ordering would be to use**
 
user47589
I use ** at every opportunity.
 
@KDecker The only way to ensure items are processed in order is to process them sequentially. Either by chaining your tasks with await/ContinueWith, or simply by having your main listener task process them synchronously, taking them out of the queue one by one.
 
user47589
If you're going to process them sequentially, there's no point to using threads.
 
There is a point if multiple threads produce things and you just want to process them on one.
 
3:08 PM
@RoelvanUden No point using threads for the consumer.
 
user47589
hm
 
Right.
 
that was kinda funny
 
Thank for y'alls counseling. I need to go think some stuff about things
 
@KDecker Remember: LESS THREADS, MORE BETTER!
 
3:10 PM
* FEWER
 
lol
 
thread throttle?
 
LESS THREADS, MORE FEWER
 
Single threaded is bliss. Just schedule completions for async operations to run on that one thread. NEVER A RACE CONDITION!
And no stupid guard code for things that can't happen.. ahh I love single threaded apps
<333
Tripple love.
 
Hmm, does Task.ContinueWith use the same underlying thread?
 
user47589
3:12 PM
Stannis the Mannis: "fewer"
 
I'm compulsively replacing all the "foo " + bar + " baz" with $"foo {bar} baz". Good or bad?
 
user47589
Yeah, I prefer using non-async code for reliability. We have some async for things that actually need to be async.
 
@KendallFrey GOOD
 
user47589
good
 
@KendallFrey Great.
 
user47589
3:13 PM
@RoelvanUden that wasn't one of the options
 
user47589
the available options are "Good" and "bad"
 
one of these days I'm going to write a regex to replace string.Format() to $"{0}..."
 
@Squiggle Or you use ReSharper
 
@RoelvanUden nevar!
 
Or you use JicamaJS
 
user47589
3:14 PM
Before I got Resharper, I didn't understand what was so great about Resharper. Now I understand.
 
user47589
@Failsafe, JicamaJS changed my life.
 
Find all "string.Format("", Subfolders, Find Results 1, Entire Solution, ""
Matching lines: 390    Matching files: 126    Total files searched: 3455
could be worse...
 
I only use like ~10% of resharper
 
@Amy makes your dev box so slow you need a better one?
"Hey boss, look how slow my dev box is"
 
@KDecker Depends. It can either attempt to marshal back to the original thread that started the task, or just continue on a new available thread. See msdn.microsoft.com/en-us/library/…
 
user47589
3:15 PM
nah
 
@Amy I think me and @Wardy had this exact conversation a few hours ago.
 
user47589
Sorry, please clarify: what conversation?
 
user47589
There's like 3 conversations going on at once right now.
 
@AvnerShahar-Kashtan yup we did and @Amy I used to use resharper but its such a ball ache i got rid of it
It literally has 1 use
 
@Amy "ReSharper is good, and the more I use it the more I use it"
 
3:16 PM
a large refacter
 
user47589
ah
 
These days I just mash wildly on the keyboard and hit alt+enter until my code works.
 
once code is up to a decent standard and doesn't need large refactors I see no point to having resharper as all it does is get in the way of vs doing its job IMO
 
@Wardy when I said I didn't really like ReSharper the client's dev wizard colocated with us looked at me as though I'd grown an extra head
 
@Amy jicamaJS cured my asthma
 
user47589
3:17 PM
Ah, you must have played a Paladin in WoW, @Squiggle
 
@TomW oh well ... their loss
 
I use 20% , if that, of .Net framework
 
You guys think it would be a terrible idea to name sql columns like "9:00" "10:00" etc ?
 
user47589
.... did you grow an extra head?
 
user47589
yes, that would be a terrible idea.
 
3:17 PM
@Bubbas yes
 
@Amy ...yes...
 
@TomW have you considered that this may be a sign that they write poor code and thus need smart tools to help them navigate their disaster?
 
wonder if its even allowed
 
@Bubbas probably ... whats the requirement?
 
....because that database isn't going to stop you from being stupid?
 
user47589
3:18 PM
It's allowed.
 
@Bubbas what if it changed... 0915 1015
 
putting in columns for a user's selection of conference sessions
 
user47589
You'll have to wrap the column names with [ ] though
 
you can almost name sql cols virtually anything you can get in between []
 
im used to using [] for everything i do in sql
 
3:19 PM
why not session 1 session2
 
db table and col names
 
@Wardy I think anything other than an empty string is allowed if it's in []
 
yea i think im just gunna do session1, session2
 
I think. Totally might be wrong about that.
 
hmmm ... i wonder if i can name a col [select * from SomeTable]
 
3:19 PM
lol
 
user47589
15
Q: What special characters are allowed in T-SQL column name?

tomaszsI would like to know what special characters are allowed to be used in column name in T-SQL, MSSQL. So I know I can use letters and numbers, but are the other characters that are available without using brackets [] to refer to this column?

 
@Bubbas why around you making these columns? These don't sound like columns
 
@Wardy go
 
name it [1=1;' DROP TABLE MASTER_TABLE]
 
or better still ... [drop database]
 
3:20 PM
These sound like they should be records
 
@mikeTheLiar ROFL
 
they should
you are right
 
user47589
imo, you shouldn't have spaces or special symbols in column names. bad idea.
 
but im doing a "quick and dirty"
literally putting up a form and report in like a couple hours
 
This doesn't sound "quick". It does sound dirty.
 
3:20 PM
and i dont need it to be dynamic or anyhting
ok fair enough
 
user47589
I killed a junior dev who did that. They never found the body.
 
lol
well
 
insert into wtf [drop database] values 'drop database2'
 
@Amy beware of any man with a pony farm
 
user47589
Beware any pony with a man farm.
 
3:21 PM
table Sessions...table session times/details.... table Linkthetooo
 
i always try to not do it like this on these little one-off's, but then my manager swoops in and tells me otherwise. so i just do what he wants :/
 
OMG your making us design this for you ...arent you
 
lol
no
yes i know there should be multiple tables
 
@Bubbas there is no such thing as a one off IMO
 
user47589
I'll design anything you want, but it'll cost you. I charge 3 hugs per hour.
 
3:22 PM
yeah rinse and repeat
 
either its right or you hacked in some technical debt
 
shit
could you do 2.5?
 
@Amy great go solve my unity issue ... i think 3 hugs is reasonable for that
 
user47589
That's not design.
 
ok...Question...if you had to write 1 system and that had to last you for most of your career...how many tables would you need?
 
user47589
3:23 PM
one table.
 
@Ggalla1779 somewhere between 1 and a hundred million billion
 
come on its not Superbase time
 
@Ggalla1779 none ... i'd write a system that could generate databases and tables as it needed them
 
user47589
that table will have one column, and one row. all of the data will be in that single cell.
 
@Ggalla1779 That depends entirely on the branch you're in, and the future you'll be living in.
 
3:24 PM
@Amy I chuckled
 
@Amy isn't that the basic premise of xml
 
user47589
@Wardy that's the joke.jpg
 
here's a blob data but its ok ... you can write backword code to use it
 
Use Linq to SQL to obtain XML to use Linq to XML
 
@Wardy Wardy stop cheating!
 
3:25 PM
haha
 
!!joke
 
how is that cheating ?
 
sqwee!
 
user47589
The problem given was how many tables would you need to last your entire career. Since I can't know how many that is now, I will move the problem domain into XML space, which doesn't have to be specified.
 
3:26 PM
your using yout programming ninja skills...this is a mental / database challenge
 
in this theoretical future do I have access to quantum computing technology ?
 
user47589
Thus I can know with certainty how many tables I'll need. And can expand the XML as needed.
 
However many a good OWL implementation has
Probably 3
 
The answer is zero databases. Keep everything in memory forever.
 
user47589
I'm allergic to owls. Call the exterminators.
 
3:26 PM
no its ...How many tables you need
 
if thats the case then all my data can always be described by a fractal function
 
Or just store everything in a .txt file
 
in which case I literally just need some space to store my computed fractal function
 
@Wardy that's nothing, every program I've every written in stored in Pi
 
so @Amy could be right ... 1 single cell is all we need
 
3:27 PM
int32.MaxValue tables
 
possibly
 
@mikeTheLiar isn't that the case fore everyone
if you compute pi far enough
 
!!joke
 
user47589
Tomorrow is friday. I have jury duty tomorrow. Ugh. How should I get out of it? Display a preoccupation with Jews?
 
3:28 PM
Maybe a preoccupation with Jawas
 
user47589
hm
 
you look il;
 
Or just go with the classic - panini obsession
 
@Amy you never know, once you're there you may decide you can't pass on an opportunity to fuck this SoB up
 
Actually, that's it. Just go out to lunch, get a panini, come back to the court house and stick the panini in your asshole.
 
user47589
3:29 PM
good idea.
 
@Amy claim you already have the answer ... because of a natural tendency to eval gov conspiracy
 
death by pannini
 
user47589
I like that, @mikeTheLiar. Apply programming solutions to life problems.
 
ow wait...dress up in star trek uniform
you will be out of there in no time
 
user47589
!!youtube How to Get Out of Jury Duty
 
My old man was called to sit on an obscenity trial once. That sounded quite cool.
 
Back street cinema 'allegedly' showing pornography. This was back in the 70s. They would have had to determine whether the material was obscene, and the measure in English law is 'a reasonable person will know it when they see it'
The prosecution objected to the number of young men on the jury, so he got the boot.
 
its apparently about some guy named einstein ...
he's kinda a big deal i hear :)
 
user47589
who?
 
user47589
3:34 PM
never heard of him
 
Cool!
 
I read this article every few months for great laughs.
 
user47589
i worked at one company that went full-bore agile. It was a miserable experience. We spent so much time in meetings.
 
user47589
All the voting was stupid and pointless.
 
Why Scrum Managers Should Basically Just Die In A Fire
 
3:39 PM
Only one place I've worked actually did Scrum properly. It worked surprisingly well.
 
voting?
 
user47589
Read the article CB posted, @Ggalla1779
 
I worked at a place...daily scrums/ standups... it drove us on
 
1 full day every 2 weeks was dedicated to estimation, pruning and planning. We were a good team.
 
We have standups. They work well.
 
user47589
3:39 PM
Then you didn't get the "full" agile experience.
 
user47589
I like standups.
 
stand-ups <3
 
it was a v good way of sharing knowledge
 
Has anyone attempted "kanban"?
 
but not if someone people cherry pick what your doing
 
user47589
3:40 PM
isn't kanban agile-lite?
 
sort of?
It's basically scrum without sprints, less time spent estimating, more time working.
 
@Squiggle we're sort of doing it now
Got rid of sprints
There is an outline goal of "deliver N major features by [date]"
 
Sprints are like stabilizers for Agile-noobs.
 
We do stuff as we get to it
We're not estimating yet, because the estimates will be useless
 
aye
 
3:44 PM
> Time-boxed iterations are very useful, but there's a fundamental cognitive dissonance between "sprints" and "sustainable development," because there is no such thing as a sustainable sprint.
Hahaha :-D
 
Sprints are useless anyway. Stuff is done when it's done and trying to get things to land gracefully on the N-week boundary just doesn't work
 
It's so true it hurts
 
amen to that, @TomW
When we Scrum'd properly we sometimes spent half of the end-of-sprint day playing XBox because there was no work we could pull in to the sprint.
that was fine by me
 
sometimes you wait
 
I am becoming convinced that by and large the reason things don't work in some organisations is that the people running those organisations are pathological
 
user47589
3:51 PM
The Dilbert Principle is probably relevant.
 
Anything that changes the organisation so it's not all about them, doesn't suit them
so why should they
 
In most scrum teams, people focus on "doing scrum" instead of "doing work"
 
we only tell people we do scrum
 

« first day (1944 days earlier)      last day (3010 days later) »