4evrAStudent

u/4evrAStudent


r/linuxquestions•

Hi all,

I'm trying to run a script at boot-up on a beaglebone. Information about the system running Debian.

The script is saved in rc.local and sh's to a script at the "top level" (sorry if my terminology is incorrect, here's the path: root@beaglebone:/# ). The methods I've tried so far are summarized here:

LINK, response by Radu Rădeanu

LINK, response by shvahabi

Does anyone know how I can make a script run at boot-up or what I may be doing wrong?

I've also seen cron and crontab methods. Have thos

11


r/arduino•

Hi everyone,

I recently got a Sparkfun Redboard and have been trying to configure it with my Windows 8.1 computer. I've been trying to follow instructions here.

Unfortunately, my computer seemingly cannot recognize the device, and the only link I've found recommends replacing the USB cable, which I have yet to try. I'm not sure how helpful this would be, as I have succesfully connected my TI-84 calculator using the same cable. Can anyone point me in the right direction? Thanks!

12

r/linuxquestions•

Hi, there!

I'm working on a robot using the BeagleBone Black, and I'm trying to copy all the programs on the machine to an SD card(including the operating system) and then, using the SD card, boot a different BeagleBone from the SD card with the software functioning. If anyone could point me in the right direction or even tell me how to take the first steps, it would be greatly appreciated.

I apologize for being vague, but my instructions are also vague themselves.

Thanks in advance!

11

r/learnpython•

I'm working on this assignment from dailyprogrammer, but trying to solve using the object-oriented paradigm. Here is the code:

class Todo(object):

    def __init__(self, lst = [1, 2, 3]):
        self.lst = lst

    def add(self, item): #why isn't lst defined?
        self.lst.append(item)
        print(lst)

Here's what I'm trying to run it in the interpreter:

>>> todo = Todo()
>>> todo.add(4)

The error I'm getting is "NameError: Name 'lst' is not defined. How can I write this code so that 'lst' is recognized as a variab

28

r/sandboxtest•
class Todo(object):

    def __init__(self, lst = [1, 2, 3]):
        self.lst = lst

    def add(self, item): #why isn't lst defined?
        self.lst.append(item)
        print(lst)
10

r/musictheory•

I'm trying to learn Borne on the FM Waves of the Heart by Against me. I'm trying to figure out how to count the rhythm from the passage between approximately 0:00 to 0:02.

I have two ideas.

  • The passage has two measures in 3/4 followed by one measure of 2/2. The first two measures use quarter note rhythms exclusively, while the third measure uses half note rhythms exclusively.

  • The passage is in 4/4, and uses a two triplets across the first three beats of the measure, followed by two eighth notes which take up the fourth beat of the measure.

I'm more inclined towards my second idea, but that would mean that two triplets would span three be

14

r/musictheory•

I'm a guitarist whose currently transcribing the vocal part to "Someone Like You" by Adele. I've never really tried transcription, and I admit that I am not very well trained.

As I go, I'm comparing my work to this person's and noticing some subtle differences in our rhythmic choices.

When interpreting vocal rhythms, is there a certain "fudge factor" that happens, or is my ear not refined enough?

Thanks for the responses!

33


r/Khan•

I'm working through the JavaScript lessons right now, and ran into a problem. I can't seem to animate two objects at once. I am trying to complete the shooting star project, and therefore have very little knowledge. Any pointers would be appreciated! Thanks!

40

I've been trying to solve this trig identity, but I've been having some trouble.

secx + cscx = (sinx + cosx) * (tanx + cotx)

I've been trying to do this by simplifying the right side. I'm using FOIL as the first step. Any thoughts? Thanks!

13

r/chemhelp•

I'm given the following empirical formula problem: "A 1.35 g sample containing C, H, O, and N was burned in air. 0.810 g H[sub]2[/sub]O and 1.32 g CO[sub]2[/sub] resulted. In a separate reaction, .735 g of the compound reacted to form .284 g of NH[sub]3[/sub]." I have two immediate thoughts. The first one is to try and write out chemical equations and work backwards. The second is to multiply the numbers in the first reaction by .735, and the numbers in the second reaction by 1.35. Any thoughts would be helpful.

15

r/Guitar•

Poster in r/AdviceAnimals said that the neck on his ovation snapped due to changes in air pressure on a flight. Can anyone elaborate on this? Is this true? I've flown with my Washburn Rover (carried on) several times, and the neck has survived to this day.

418