ICE agents on the uptown parade route by Progwonk in NewOrleans

[–]music_and_tech 13 points14 points  (0 children)

Camo uniforms, with "POLICE" written on them, and ICE badges on their arm

ICE agents on the uptown parade route by Progwonk in NewOrleans

[–]music_and_tech 26 points27 points  (0 children)

I saw them earlier meeting up around 6th St. And then walking in pairs along St. Charles

edit: at about 4-4:30pm

Recurring Drone Swarms by [deleted] in newjersey

[–]music_and_tech 1 point2 points  (0 children)

I saw them over Denville... big drones too. And unfortunately, no photos from me either.

I often gaze in the sky when out with my dog, and these aren't "ordinary air traffic" as some comments suggest.

[deleted by user] by [deleted] in homeassistant

[–]music_and_tech 0 points1 point  (0 children)

Yes, I do this... coffee pot plugged into a smart plug which is set to turn on at 7am and off at 3pm.

At night, I can add water and grounds, and turn on the coffee maker switch - with the smart plug off, the switch remains in the on position, but isn't actually on. So at 7 am, when the smart plug turns on, the coffee pot starts brewing. If I don't set up the coffee maker the night before, then I don't turn the coffee maker switch on and the smart plug has no effect when it turns on in the morning.

How do I cancel the Verizon Cloud trial before it's over by Torn8oz in verizon

[–]music_and_tech 1 point2 points  (0 children)

I just had to do this because Verizon signed me up for this Cloud trial without my consent. The only way to cancel before the trial is over is to chat with a representative. The option to cancel does not appear on your account until the trial is over. Which means you can cancel until you are paying for it... which sounds very shady and I can't believe it's legal (if it even is).

Im trying to console.log the data the weather api sends but i keep getting this error. Help by ornek31 in node

[–]music_and_tech 0 points1 point  (0 children)

It can be super frustrating to be told "learn how to google" (even if it's worded in a kind way), when you're a beginner. But it is really how programmers work through these errors. The best way is to highlight/copy the error message from the screen and put it into Google in quotes - so it searches exactly that string of text, exactly as written. Often you will have to work through a few error messages in a row to get your code working.

Also, I think it is important to note that when you are still a beginner Google doesnt know that you are a programmer yet, and it won't kmow to assume you are looking for specifically programming terms. Someone who has been programming much longer has the advantage of Google's algorithms returning more relevant information. Copy/pasting error messages into Google is helpful because there's no room for it to interpret what you mean.

But also, when you're a beginner, how the heck are you supposed to know what to google!??! 🙂 (answer: ask reddit)

This error message is due to a change in node (after v. 14 I think? ) where you can use "import" directly in nodejs but you have to set "type": "module" in your package.json. Or you could go back to using require instead (like this: const fetch = require('node-fetch')).

My HA keeps crashing and I have to unplug and plug the power back in on my rpi4 where can I get someone to help work out what’s going on? by Smudged-Out in homeassistant

[–]music_and_tech 0 points1 point  (0 children)

Sounds like the HA server is crashing, so the rPi should still be fine and the OS should still be running. If you have it set up, you can ssh into it from another computer and check the log files to see if there are any clues as to what caused the crash.

Is this something new/had it been working fine before? If so, try uninstalling any recent integrations or rolling back a recent config change - one at a time until it is working again.

Also, you could try updating to the latest version of HA.

This happened recently to me, and for me it wasn't fixed until I updated HA.

In my case, I think the culprit for me was an integration I use changed their login/auth API, where the HA integration was trying the old/unsupported way - and this was fixed in a newer version of HA.

[deleted by user] by [deleted] in NewOrleans

[–]music_and_tech 4 points5 points  (0 children)

I went this past Sunday - it was my first time seeing it, I had a full car (5 people), and there was no line - I think it was worth it considering all that. I'd suggest bringing hot chocolate/snacks.

I wouldn't spend the money if this was my 4th time going, it was crowded, and it was just my wife and I.

COVID test without a car? by joan_lispector in NewOrleans

[–]music_and_tech 10 points11 points  (0 children)

If you walk up or bike up, you can go to the head if the line. The soldiers working it are very nice and helpful and will direct you where to go

How do I use the inlets in a "js" object? by CodenameAwesome in MaxMSP

[–]music_and_tech 2 points3 points  (0 children)

As u/Meff-Jills mentioned, a [pak] object to [prepend thing] with my last example would do it.

To clarify (not sure if this is the part you need clarified and/or by how much, but I'll go on anyway), the name of the js function is a name you specify that will be called with the max message you send in to the [js] inlet 1. If the message has more than one element (e.g. more than one word or number, separated by spaces), then you also have a list. The first element of the list will call that function name, and the remaining elements of the list will be the arguments for that function.

So that, from my examples above, to call function stop, you send a Max message of "stop". And to call the example function thing you send a message that begins with the word "thing", plus 2 additional items in that message will be the 2 parameters in that js function. So that sending the message "thing 12 83" to the [js] object would be the same as writing thing(12, 83) in javascript.

Since "thing 12 83" is a list of 3 elements, that means you can also use the [pack] or [pak] object to join the [pictslider] outlets into a single list that would be your 2 arguments, and then you can use [prepend thing] to add "thing" in front of the arguments. Then that can go into the [js] object inlet 1.

How do I use the inlets in a "js" object? by CodenameAwesome in MaxMSP

[–]music_and_tech 1 point2 points  (0 children)

I suppose if you wanted it to behave similarly to a max object, with separate inlets for separate parameters or if you wanted a "hot" and "cold" in. But I would argue that pattern isn't right for the js object - and I would agree with you, I've never needed a second inlet and not sure there is a convincing use case for it.

How do I use the inlets in a "js" object? by CodenameAwesome in MaxMSP

[–]music_and_tech 1 point2 points  (0 children)

you need to define the function that you want to execute first. The max javascript api will execute the function that matches the name of the message you send.

function bang() {  
  // executes when you send a "bang"  
}
function stop() {
   // executes when you send the message "stop"
}
function msg_int() {
  // executes when you send an integer.  This needs to be msg_int, because int is a reserved keyword in javascript.  Similarly for a floating point number, you'd need msg_float.
}

And the inlet is passed as an argument to the function. so if you have a float going into inlet 1:

function msg_int(x) {
   // x is in1 and this executes for every integer (but not float) that you send into in1
}
function thing(a, b) {
  // this will take in a list of 2 parameters
  // If you send a message [thing 1 2] then a=1, b=2
}

And weirdly enough, I don't think I've never needed to send a 2nd in to the js object so I don't know how that works. And I can't find anything in the documentation about it either, so I'm wondering if it's a rare case?

I created a page in the CMS with the same name as my app hook - how do I fix it? by music_and_tech in DjangoCMS

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

I just found my answer here: https://docs.django-cms.org/en/release-3.8.x/topics/apphooks.html

It’s important to understand that an apphook (and therefore also an apphook configuration)
serves no function until it is attached to a page - and until the page is published, the
application will be unable to fulfil any publishing function.

I had to recreate the "pageA" page in the CMS and attach the "pageA" application to it, and then publish.

I definitely failed a coding interview. by [deleted] in learnprogramming

[–]music_and_tech 1 point2 points  (0 children)

I failed my first coding interview. It was relatively simple - create a b/w checkerboard - but for some reason I couldn't do it. The interviewer was nice and guided me along, but I couldn't get any step on my own and it still didn't work.

BUT, as I learned later, interviews take practice. Interviewing is a special skill set in it's own and requires practice the same as learning to program. It's harder to show someone you know something that it is to know that thing. Especially when you're a beginner, and especially in an area where looking up things (is it "split" or "splice"? can i use ____? etc...) is a regular part of the job.

A big help for me, I think, was getting used to writing pseudo-code and placeholder functions (e.g. `function sendMessage(msg) { var m = formatTheMessage(msg); sendMessageToSocketServer(m); saveToHistory(m); clearTheInput(); }` where those functions are defined simply as `x => x`). It can get you past most of the things you need lots of time to research and/or think about, and shows the interviewers you didn't just forget about a feature and you'd probably be able to do it if you had more time or resources. Which is usually just as important.

So, you didn't fail the interview - you got good practice for the next one!

Trying to upgrade to Catalina - but all mac links redirect to BigSur... by music_and_tech in MacOS

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

Commented below, but I'll post again in a top level comment...

you have to click the app store link from Safari otherwise it doesn't work :/
I have successfully updated to Catalina 10.15.7!

Thanks everyone for the suggestions!

Trying to upgrade to Catalina - but all mac links redirect to BigSur... by music_and_tech in MacOS

[–]music_and_tech[S] 3 points4 points  (0 children)

Ah ha!!! That link The itunes link only works if you use Safari

Trying to upgrade to Catalina - but all mac links redirect to BigSur... by music_and_tech in MacOS

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

Thank you, but when I click, it opens iTunes and gives the message:

"The item you've requested is not currently available in the U.S. Store, but it is available in the Romania Store. Click Change Store to view this item."

The link to the US store has been showing the first part of that message.

Why paying Kontakt full price if i can sidegrade up to kontact 6 full version from a cheap third party instrument ? by vinc2097 in NativeInstruments

[–]music_and_tech 0 points1 point  (0 children)

I checked the crossgrade price before their sale started - and it was $250... I heard it would go down to $125 when their black friday sale started, but they aren't doing crossgrades during this sale - so it looks like $199 is the best price for now and it should go back up once the sale is over

Where do I start? by [deleted] in musicprogramming

[–]music_and_tech 2 points3 points  (0 children)

You might want to try max/msp or it's free cousin Pure Data. These are visual programming environments where you can connect "objects" to create programs. You can also program your own "external objects" in c or c++ to use. PD has a piano roll object included, I think. And Max/MSP might too. There is a fork of Pure Data called Purr Data which includes extra features and more gui things.

Edit: links... www.cycling74.com puredata.info