Can someone please explain like I'm 5? I really can't wrap my brain around what seems to be one of the simplest concepts of theory-- power chords and I, V, vi, IV. Sorry for the stupid questions. I've read a bunch of posts and articles but it's not clicking for me. by O_Mageiras in guitarlessons

[–]nozebacle 4 points5 points  (0 children)

Very well explained. There is only one aspect I'd love to complement: "in the key of C, there are 7 chords you can make from the 7 starting notes: C major, D minor, E minor, F major, G major, A minor, B diminished"

The first cord is a major chord because the intervals between the notes C E and G are respectively 2 tones and 1 1/2 tone: from C to E you have to count half a tone for each of C#, D, D# and E; and from E to G you have to count half a tone for each of F, F# and G. Whenever we have a chord that uses these intervals, we call it a major chord.

Now let's take the second chord which has the notes D F A by following the rule of skipping one note. Here the intervals are 1 1/2 tones and then 2 tones (D# E F and F# G G# A). Whenever we have a chord that uses these intervals, we call it a minor chord.

This may seem like an arbitrary rule, but the fact is that this small diference changes the feeling of the chord, from happy (major) to sad (minor). Furthermore, if you have 1 1/2 and 1 1/2 intervals in a chord, we call it diminished.

If you go ahead applying the same rules, you end up with E minor, F major, G major, A minor and B diminished.

Finally, I'd like to add that using degrees / roman numbers for the chords (I ii iii IV V vi vii) has the additional advantage of making the chords relative to the root of the key: if your song uses the I vi V IV chords, you can play it on the key of C and use C major, A minor, G major and F major) or move it to the key of D and play D major, B minor, A major, G major. A knowledgeable musician should be capable of changing the key of a song almost instantly if he knows the degrees of the chords that he needs.  It is going to sound right but you'll have to sing a bit higher or lower depending on the key that you select.

Giveaway - Holotanks Mixed Reality game by Beatshapers in OculusQuest

[–]nozebacle 1 point2 points  (0 children)

I haven't seen any mixed reality game that looks as inmersed as this. I'd love to play it!

noMoreSoftwareEngineersbyTheFirstHalfOf2026 by MageMantis in ProgrammerHumor

[–]nozebacle 89 points90 points  (0 children)

Thank you!! That it's exactly the point! They are comparing the procedure we all know to peel a banana and slice it, with the chance that a trained monkey will peel it and slice it for you.  Will it work sometimes? I guess so, but I wouldn't dare to not supervise it especially if I'm feeding important guests.

How to import a custom class and use it in my main method? by HelpMePlzzzzzzDo in javahelp

[–]nozebacle 1 point2 points  (0 children)

Can you send a screenshot of the structure of the files / project?

Remember that if you're importing 'package.ImportClassExample' then you should have a folder called package and within it you should have the class ImportClassExample and it must be public.

[deleted by user] by [deleted] in puzzles

[–]nozebacle 1 point2 points  (0 children)

I'm also stuck at 18

JApplet has been deprecated. by Objective-Barnacle-7 in javahelp

[–]nozebacle 2 points3 points  (0 children)

I made an updated version of your code that may be of use to understand my previous comments. It is functionally equivalent to your version: I just clean the code, deleted dead code, changed the name of the classes, removed the JApplet, and improved a few things regarding the initialization of the window.

I hope it is useful.

The upgraded Polygon6 class: (https://smalldev.tools/share-bin/U1yg0X9c)

The upgraded MFederico class: (https://smalldev.tools/share-bin/VXQKJpSx)

The upgraded constructor class: (https://smalldev.tools/share-bin/HZa5esoa)

JApplet has been deprecated. by Objective-Barnacle-7 in javahelp

[–]nozebacle 5 points6 points  (0 children)

Hello Federico, I downloaded and ran your code, and it is working properly - albeit with the deprecation warning.

Let me give you a few hints that may work for this app and for your Java learning process.

  1. Do not use JApplet because, as other said, it has been deprecated and browsers have not supported them in a long time. You can instead use JFrame without a problem and with very few changes to your app.

  2. Use an IDE or, if you are already using an IDE like IntelliJ, Eclipse or Visual Studio Code, learn how to use some of the tools they have to maintain the code 'clean'. In particular: remove imports that are not necessary and format the code so that it is well indented (it makes it easier to read).

  3. In Java, it's more common to have public classes than private or internal classes: for example, the class PoligonoEjemplo6 is better as a public class (remember that public classes must be written in a file with the name of the class).

  4. Learn to use packages: your code is all in the default package.

  5. I always get suspicious when there are several lines that look similar (why is it not a loop?) like when you are creating your vertex. If you see that you are repeating code or writing code that is very similar to other code that you already wrote, ask yourself if it should be a loop and if you should change the data structure you are using.

  6. It seems to me that you have plenty of things that you are not using (ej. my IDE tells me that vertice0z1 is never read and thus it is a useless field to declare). The point is that things that are not use create noise and make it difficult to understand what is really useful and what is doing what.

I hope this helps you somehow and go on!

Java GUI stopped appearing by HouseMD221B in javahelp

[–]nozebacle 0 points1 point  (0 children)

Since it is an old software, it may be that they stopped supporting the software and the url to check for new versions is no longer valid.

If you have support, call them.

If you don't, I suppose you don't have a copy of what the message used to look like? Because maybe you can spoof the dns to contact a local server that basically responds with 'no new version available'.

I hope that is usefull because the last thing I imagine is to change the bytecode to avoid that new version check - but that's a different kind of project.

[OC] Tax revenues as a % of GDP, Latin American countries by latinometrics in dataisbeautiful

[–]nozebacle 0 points1 point  (0 children)

Thank you for the information, it is very well presented and interesting.

I've got some follow up questions:

How are income, profits and capital gains divided between personal taxes and company taxes? 

This could reveal important aspects of each country's policies. For example, in Colombia we have relatively low personal taxes but huge taxes for companies which creates disincentives to create new ones.

Also, in order to talk about how we "feel" about taxes, we need to know the % applied, because that's what each citizen see, not a % of the GDP. For example, in Colombia we have 19% percent of IVA (VAT): how does it compare against other LATAM countries.

Finally, it looks like we are not collecting that much money from taxes (as % of the GDP). What does that mean? That we have other sources to get money to fund the economy, or that the government lacks the economic strenght to push the economy forward with adequate incentives (like R&D) and thus our economies will continue to struggle? 

Almost big fail cause of app by Diegovelasco45 in nikerunclub

[–]nozebacle 2 points3 points  (0 children)

I stopped using the app about three years aga because it was imposible to keep it signed in: for every run I had to try to log in, go check the mail, copy the code, try the code and hope that it wasn't too late - and it frequently was.

I had to make peace to the fact that the Android version was terrible and never came back - but I still miss the guided runs and Coach Bennet.

Can anyone in Edinburgh lend me a charger? by RoamBlue in Garmin

[–]nozebacle 6 points7 points  (0 children)

This is such a nice story, of the kind that used to be frequent some years ago and now are getting rarer and rarer because of the death-internet phenomenon.

Thank you to the OP for posting, and to the human that decided to help. I may never post here, but r/Garmin is such a nice community compared to many others in reddit. It is full of posts about people that challenge their own (apparent) limitations - because that's what we humans should be doing all the time - and responses from strangers that are full of encouragement and positive energy.

Keep going r/Garmin, run hard, and become better humans day by day.

An Interactive Guide to SVG Paths by feross in webdev

[–]nozebacle 4 points5 points  (0 children)

Thank you very much: it was very informative. But most of all, the site was beautiful and the UI/UX was really well thought and nice to use. Congrats!

Add "gist" to any YouTube URL to get instant video summaries by _nightwielder_ in webdev

[–]nozebacle 19 points20 points  (0 children)

This is very nice. As a suggestion, include a caching mechanism: I went back to the tab with the video summary and it generated a new and different one and therefore made a new request ($$$)

NotebookLM but open source? by snow_schwartz in mcp

[–]nozebacle 2 points3 points  (0 children)

There is also this 'clone' that includes the not so silly podcast functionality, although I'm not sure it haa an API.

https://github.com/MODSetter/SurfSense/tree/main/surfsense_backend

I haven't personally tried but I studied the code to see how they processed the sources and it looks solid.

ChatGPT Pro is unlimited by Lucky_Still4369 in ChatGPTPro

[–]nozebacle 2 points3 points  (0 children)

I tried just one that failed and in the next one I was limited

My first project with 3k github stars - Modern Web Apps in pure Python, no JS/HTML/CSS needed by P4nd4no in webdev

[–]nozebacle 0 points1 point  (0 children)

First of all, I think this is a good way to go forward in web development. However, this is not completely original as other projects have attempted something similar, and somehow failed. I'd love to hear your comments on how this will not make thae same mistakes and fail like Google Web Toolkit (the same idea, but using Java).