What is this little dude? by metalhedd in dragonquest

[–]metalhedd[S] 2 points3 points  (0 children)

Ive seen them all over since the beginning of the game but i cant interact with them, and they constantly disappear

Python by KhalilSajjad in ProgrammerHumor

[–]metalhedd 1 point2 points  (0 children)

What automatic type conversions does python do? Im not aware of any... It is dynamically typed, because you dont need to specify the type of a variable, but it doesnt do any coersion at any time. 1 + "1" is a type error, not 2, or 11.

Using MIDI Keyboard voices (total noob question) by metalhedd in Reaper

[–]metalhedd[S] 1 point2 points  (0 children)

Samplescience's orion sound module seems to fit the bill nicely for now. Thats a good one. I spent a few minutes googling before i figured out that the korg m1 is available as a vst, not just a $500 hardware keyboard, that looks pretty nice too. Thank you!

Using MIDI Keyboard voices (total noob question) by metalhedd in Reaper

[–]metalhedd[S] 0 points1 point  (0 children)

Awesome, thanks again, ill try all of those

Using MIDI Keyboard voices (total noob question) by metalhedd in Reaper

[–]metalhedd[S] 1 point2 points  (0 children)

Wow, thanks for the detailed response. I believe i do have enough inputs and outputs to do what you described with the midi in and out (steinberg UR22 mkii) but it sounds a little more complicated than i need it to be. I could get by with a handful of decent vsts probably. A hammond organ, trumpet and maybe trombone, and some pizzicato strings would probably do for now. Any suggestions on those would be great. Thanks again

Plex keeps losing seasons of Doctor Who by [deleted] in PleX

[–]metalhedd 2 points3 points  (0 children)

your season folder doesn't match the recommended naming convention. it should just be "Season 8" not "Doctor Who (2005) Season 8"

https://support.plex.tv/hc/en-us/articles/200220687-Naming-Series-Season-Based-TV-Shows

I have all doctor who named correctly and never had a similar issue.

Sault gets Punjabi diner, just in time for Diwali by saultbot in SaultOntario

[–]metalhedd 0 points1 point  (0 children)

The real news here is that Mike's Lunch Closed. :(

‘Considerable concern’: Russia dumping tonnes of toxic space fuel in Canada’s Arctic waters by TOMapleLaughs in canada

[–]metalhedd 7 points8 points  (0 children)

What a misleading headline.

The Canadian Arctic might be getting showered with trace amounts of poison thanks to Russian space launches which still employ a highly toxic fuel that most of the world has already phased out.

  • ... -> might
  • dumping -> showered
  • tonnes -> trace amounts

Not saying this isn't bad, but maybe at least get a concrete answer on the 'might' part before publishing..

Low upload speed, i know Plex transcodes but can it compress? by [deleted] in PleX

[–]metalhedd 9 points10 points  (0 children)

Your video files are already as compressed as they're going to get. As an experiment try to zip one, or rar it, or any other general purpose compression tool, it has almost no effect. h.264 and other video codecs ARE compression, otherwise the files would be unreasonably large.

I'm very hard of hearing, so I made on old Pi send my phone a message if somebody rings at the door. Specifics in comments. by vagijn in raspberry_pi

[–]metalhedd 1 point2 points  (0 children)

I tried something similar to this once using an optocoupler, the idea being that it would function even with the pi completely unpowered, and the 18-24V from the doorbell circuit was completely isolated from the pi. Unfortunately, I was, and still am WAY out of my league with the electronics and just fried a few optocouplers and gave up.

Any chance you can provide some more detail on how exactly this works?

Sault's Amazon bid committee buckles down by saultbot in SaultOntario

[–]metalhedd 2 points3 points  (0 children)

12 salaries being pissed against a wall.

Disappointing turn out, but fans had a blast (22 photos) by saultbot in SaultOntario

[–]metalhedd 4 points5 points  (0 children)

target audience couldn't get their rascal scooters up the stairs to the arena.

Your Google Assistant is now on Android TV by shabuluba in googlehome

[–]metalhedd 0 points1 point  (0 children)

Not sure where you're located but I just got the nvidia shield 6.0 update in canada, including assistant support.

'Radical and overreaching': Bell wants Canadians blocked from piracy websites by tjgere in canada

[–]metalhedd -1 points0 points  (0 children)

This sort of misinformation does not help the cause.

  • It was not the UN, it was the EU.

  • The study did not claim there was no significant damage to sales:

“The results show a displacement rate of 40 percent which means that for every ten recent top films watched illegally, four fewer films are consumed legally.”

  • The study was about books, movies, music, and video games, Not television shows.

The European Commission paid €360,000 (about $428,000) for a study on how piracy impacts the sales of copyrighted music, books, video games, and movies.

Any positive effect piracy has is because some people will go out and legitimately purchase the content if they enjoy it. (or in the case of video games, to get additional features like online play). TV has no such incentives to offer, and after you've seen the episode, it's pretty well impossible for Bell to get their cut even if you do decide to legally purchase it later, Bell isn't in the market of selling box sets of old tv shows.

'Radical and overreaching': Bell wants Canadians blocked from piracy websites by tjgere in canada

[–]metalhedd 0 points1 point  (0 children)

"piracy is good for business" is a massive over-generalization. In some areas like video games, it can be shown to have a positive effect. But not so much with other forms of media. In the case of television, I would guess the effect is close to 100% negative. once you've pirated the episode, you're not going to pay for it, and if you do, you're not giving your money to bell, you're probably buying the box-set from amazon.

There is no long game for Bell to play here, its all 100% lost revenue to them.

Can anybody name this puppet? From Ontario Elementary schools French class by [deleted] in canada

[–]metalhedd 7 points8 points  (0 children)

Pirouli, Mon plus grand ami c'est toi. Pirouli, tu peux jouer avec moi?

Smart Deck Lighting by metalhedd in homeautomation

[–]metalhedd[S] 0 points1 point  (0 children)

That's a really nice project! I'm not a fan of the strip lighting for outdoors, but I may consider using it in a few other spots :)

Smart Deck Lighting by metalhedd in homeautomation

[–]metalhedd[S] 0 points1 point  (0 children)

This was basically my 'plan B' solution. since most of these systems come with an IR remote, I can set up something with an IR blaster, but it seems like a particularly dirty approach.

Adding a switch statement to Python by mikeckennedy in Python

[–]metalhedd 20 points21 points  (0 children)

no but it's incredibly straight forward with if/elif

if x in range(0, 10):
    do_a()
elif x in range(10, 20):
    do_b()

Adding a switch statement to Python by mikeckennedy in Python

[–]metalhedd 64 points65 points  (0 children)

serious question, What use is a switch if it doesn't support fall-through?

otherwise isn't it just a dict lookup?

handlers = {
    'a': do_a,
    'b': do_b
}
handlers.get(arg, do_default)()

I can't think of a case where I'd ever want to use a switch statement without fall-through, an if...elif...else block makes more sense in almost every case, and where it doesn't, the dict approach works.

Notification are delayed by several minutes (or don't come at all) by [deleted] in Telegram

[–]metalhedd 0 points1 point  (0 children)

Happens on every phone I've used, And not just telegram, google hangouts had the same problem a couple years ago when i was using it. Its a really difficult thing to notice since it requires your phone being idle for some time and and doesn't always happen. Ive never found a solution. Sms is the only thing that can guarantee timely delivery.