• 3 Posts
  • 42 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2023

help-circle




  • The other problem with hyperfocus is that along with not controlling when it happens, we also can’t control what we’re hyperfocusing on.

    I failed university because I spent the first 2 weeks making a Minecraft mod. University was more important and also very interesting, but I just couldn’t stop.
    I’m still pretty proud of the mod though.







  • I have used AI to give me the syntax and function names I need, then researched those functions and found better ones instead.

    I once asked AI to show me how to do something and it gave me a 20 line script. After 2 hours working with it, I finally got it to work. Another 30 minutes of optimizing and got it down to 3 lines. A bit more research and I discovered that what I wanted was actually a language feature, and I just needed to call a single function with a single argument.

    AI occasionally saves me time, and usually causes a significant time waste.




  • Is “main” a valid Java identifier?

    yes
    package main;
    
    public class main {
    
        static main main;
        String Main;
    
        main(String main) {
            Main = main;
        }
    
        main(main main) {
            System.out.println(main.Main);
        }
    
        main main(main main) {
            return new main(main);
        }
    
        public static void main(main...Main) {
            main:
            for (main main : Main) {
                main = (main instanceof Main) ? new main(main): main.main(main);
                break main;
            }
        }
    
        public static void main(String[] args) {
            main = new main("main");
            main.main(main, main);
            main = main.new Main(main) {
                main main(main main) {
                    return ((Main)main).main();
                }
            };
            main.main(main);
            main.main(main,main);
        }
    
        abstract class Main extends main {
            Main(main main) {
                super("main");
            }
    
            main main() {
                main.Main = "Main";
                return main;
            }
        }
    }
    

  • Tracking is not unique to electric cars, just new cars.

    Large power stations are more efficient than small engines.
    Many electric car owners also have solar panels.

    Refining enough fuel to transport an average car 100km uses enough energy to transport an average electric car 50km. That’s just refining, not including searching for or collecting the oil, or transporting the fuel to fuel stations.
    It’s so much electricity that most oil refineries have dedicated coal or gas power stations.

    As long as you are only considering cars, electric cars are superior in almost every way, and are constantly getting better.

    A diesel bus is still better than an electric car (although an electric bus would be better still). Trains and trams would be ideal, but require more upfront cost, so are easier for lazy or corrupt politicians to oppose.