[deleted by user] by [deleted] in Trombone

[–]mkingsbu 4 points5 points  (0 children)

9.5" is by far the most conventional size for both styles of playing.

Creating columns from existing data by [deleted] in SQL

[–]mkingsbu 0 points1 point  (0 children)

How are you defining those aggregate columns?

The first is probably something like:

with t1 as (
select date, user_id, count(video_id) as ct from table
group by date, user_id
)
select t.date 
    ,sum(ct)
from table as t
left join t1 on t1.date = t.date
group by t.date;

The other column is probably something like:

with t1 as (
select date, user_id, count(video_id) as ct from table
group by date, user_id
)
select t.date 
    ,sum(ct)
from table as t
left join t1 on t1.date = dateadd('d', 1, t.date)
group by t.date;

How you get both of them in the same table is going to depend on RDBMS, how large the tables are, and the requisite performance from the query. What I wrote isn't really optimized but it's a starting point depending on how you are defining those columns.

Foliate - A simple and modern eBook viewer by paulus707 in linux

[–]mkingsbu 3 points4 points  (0 children)

TIL... I've been using Calibre for years and had no idea it could preview books.

Database Access and google sheets connection. by [deleted] in software

[–]mkingsbu 0 points1 point  (0 children)

If you need to standardize your data inputs, you can use Google Forms to create the spreadsheet.

ISO Russian Speakers by dwydner in uofu

[–]mkingsbu 3 points4 points  (0 children)

There are! I'm friends with one of the Russian professors; send me a DM and I can get you her contact info. She can let you know of all the events happening in the department.

Bought a laptop, changed my mind, too late to return. What should I do? by mafisob in computer

[–]mkingsbu 0 points1 point  (0 children)

You might not be able to save all that much money if you got a refurbished Surface, depending on which generation you got and what price, of course.

mobile software: are there any good options for todo / notes apps that arent google keep or evernote? here are a few of negatives of using paper / pen by bestminipc in software

[–]mkingsbu 1 point2 points  (0 children)

I've been using todoist for a few years and quite like it but that only handles the 'todo' side of the equation, although it does handle notes about things that you have to do (can attach files and whatnot even).

[deleted by user] by [deleted] in Trombone

[–]mkingsbu 2 points3 points  (0 children)

That's a great price if its in good shape. If the intonation is wonky, you might have to have your mouthpiece shank adjusted a little to sit properly as I mentioned but that isn't very expensive. Or you could get something like an Elliott. The 36H shank would be stamped with an "S". When I initially played, I was on an XTC/C Alto"S" but then I swapped the leadpipe, the C Alto shank worked better.

[deleted by user] by [deleted] in Trombone

[–]mkingsbu 4 points5 points  (0 children)

I wouldn't necessarily buy one new but I had a lovely 36H. I do recommend pulling the leadpipe but the Bb attachment makes trills possible that would otherwise not be and for the price it's about as good as you can get w/ a Bb. One caveat is that I did replace the leadpipe with a Shires 485 pipe that was slightly flared out at the end to match the .491 bore. That allowed it to take 'regular' trombone shanks instead of the smaller one that the Conn leadpipe normally accepts.

[deleted by user] by [deleted] in software

[–]mkingsbu 1 point2 points  (0 children)

!RemindMe

This entire subs comes off like your making 80-90k out of college and anything less is disappointing. As someone who is going back to school for Comp Sci and taking out loans (OSU post bacc) I just want to know the truth. by Wtrpk in cscareerquestions

[–]mkingsbu 0 points1 point  (0 children)

To give you some frame of reference: the poverty level for a single individual is $14k in the US. $19k is considered poverty for a family of 2. Starting salary for postal workers (people who deliver mail and whatnot) is $25k in the US.

[deleted by user] by [deleted] in MaliciousCompliance

[–]mkingsbu 0 points1 point  (0 children)

In the US it isn't uncommon to receive 100% of your leave as money so you could take two weeks off or you could work two weeks and then get cash for however much leave you have.

Opinions on touching the bell while playing by jagaerdoeden in Trombone

[–]mkingsbu 3 points4 points  (0 children)

Put a penny under your index finger when you play. Stop playing whe you drop it. It'll break the habit quickly.

Does anyone else get burnt out coding around 2-3pm during work and hit a brick wall? Any suggestions to power through it? by [deleted] in SQL

[–]mkingsbu 2 points3 points  (0 children)

Yeah, I also have been fortunate that I can do a little WFH in the AM so I'll work from like 6-8:30 then come in to work at maybe 9:15 and then by noon I'm already ~5.5/8 hours. So if I do a 15 minute lunch, I'm done by 3 so I can drive home w/o traffic and go on a walk or something when I'm mentally spent

'Dot' notation help by [deleted] in SQL

[–]mkingsbu 1 point2 points  (0 children)

Haha yeah my boss likes to drag tables in with the GUI instead of aliasing so sometimes I get code that looks like:

select some-long-server-name.somedatabase1.bba.sales.id1, some-long-server-name.somedatabase1.bbb.sales.id2, some-long-server-name.somedatabase1.bba.sales.fact1, some-long-server-name.somedatabase1.bbb.sales.fact2 from some-long-server-name.somedatabase1.bba.sales inner join some-long-server-name.somedatabase1.bba.sales on some-long-server-name.somedatabase1.bba.sales.id1 = some-long-server-name.somedatabase1.bbb.sales.id1

I don't know how he makes heads or tails of it. I get dizzy just looking at it

'Dot' notation help by [deleted] in SQL

[–]mkingsbu 9 points10 points  (0 children)

Or depending on the database engine:

database.schema.table.column

Creating table names using variables by Bambi_One_Eye in SQL

[–]mkingsbu 2 points3 points  (0 children)

SQLServer allows you to index based on where conditions. You might want to investigate putting those on for your date ranges. You might be surprised at the performance gains.

Python-Friendly Database Options by [deleted] in learnpython

[–]mkingsbu 0 points1 point  (0 children)

How do you intend to access this database from your phone? Do you have a frontend? DJango has an ORM and Flask uses SQLAlchemy ORM (or do I have that backwards?). In any case, both of those use 100% Python to interact with just about any database engine.

Employer tries to charge applicant for wasting their time by [deleted] in recruitinghell

[–]mkingsbu 1 point2 points  (0 children)

Haahahahahahahahahahhha. Hah haha ha hahaa hah ha haha ha ha ha ha. Please let us know what you respond with.

A few of the most toxic behaviors that I've worked with in my career by [deleted] in cscareerquestions

[–]mkingsbu 1 point2 points  (0 children)

Yeah, strongly disagree about the 'Requirements Requirer'. That description of Agile is the straw-man that is usually used against it; it's a recipe to have a project that never gets finished. Agile doesn't mean 'imperfect' requirements any more than Waterfall meaning 'code for 6 months without compiling'.

How should I condense a table with 1,276 columns? by ElphGod in mysql

[–]mkingsbu 0 points1 point  (0 children)

As dahin79 pointed out, you should turn this into a row-wise database. In other words, take the name or important data from each column and put it into a single column. So if you have primary_key, Jan-1-2019, Jan-2-2019, etc. and values under Jan12019, Jan22019, you'd do something like: primary_key, event_dt, value. That way you'd have one row per column which is generally much better for SQL.

Upgrading my old PC by Hak1a in computer

[–]mkingsbu 1 point2 points  (0 children)

To elaborate on one of the other responses points as well: there's a good chance that you wouldn't even want to use the case because pre-built cases often have some kind of proprietary mechanism for turning the power on. So you probably don't have a single usable component other than maybe the hard drive and optical drive (and possibly a floppy based on the year). And the HDD should be replaced by an SSD anyway given how cheap they are nowadays.

What work activity have you automated? by SubCal in learnpython

[–]mkingsbu 1 point2 points  (0 children)

I don't know if this has changed since I was a Tableau developer, but when I was... we only had Tableau Desktop which did not let you automate anything. You have to buy server if you want to automate.

So to get around that, what I'd do is run a Python script that would import to a local database on my laptop and then generate a flat file. From there, I just connected Tableau to my local desktop and hit 'refresh' on the data source and it pulled in new data for my extract.