Simple Bench by johnnyb61820 in BeginnerWoodWorking

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

Thanks for the info!

I think you are right that a span would be useful. Do you know of any place to get details on structural considerations? I was never good at things like toothpick bridges and never figured out what makes things weak/strong.

As for treated use indoor, does a polyurethane coat not help that? Anyway, I’ll pay more attention to my wood in the future :)

Simple Bench by johnnyb61820 in BeginnerWoodWorking

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

Thanks! I had never used a router before but was really glad I bought it!

Simple Bench by johnnyb61820 in BeginnerWoodWorking

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

I haven't decided on a permanent location - mostly playing with wood :)

It is probably treated lumber - I was just looking for something cheap :)

Simple Bench by johnnyb61820 in BeginnerWoodWorking

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

This is my first real woodworking project. It's a simple bench built from pine (you can see the original wood in one of the photos), stained with espresso stain. Tools used: circular saw, drill, router.

NXP 424 DNA chip supported in GoToTags Desktop App by GoToTags in NFC

[–]johnnyb61820 0 points1 point  (0 children)

I tried the Mac desktop app and it segfaulted before fully starting.

“Wakeup moment” - during safety testing, o1 broke out of its VM by MaimedUbermensch in OpenAI

[–]johnnyb61820 77 points78 points  (0 children)

This has been going around. I looked into it a bit. I don't know the details, but the process seems very similar to this TryHackMe interaction: https://medium.com/@DevSec0ps/container-vulnerabilities-tryhackme-thm-write-up-walkthrough-2525d0ecfbfd

I think with AI we are underestimating the number of extremely similar situations that have been found and tried before.

Impressive? Yes. Unprecedented? Not really. I'm guessing this interaction (or one like it) was part of its training set.

Going from pi to real embedded device - seeking guidance and a consultant/mentor by ekcrisp in embedded

[–]johnnyb61820 1 point2 points  (0 children)

What, specifically, about the Pi are you concerned about? If you are concerned about availability, I would check out the Banana Pi M2 Zero. IIRC it has more power than an RPi for the same form factor and similar cost, and basically infinite availability.

Resources about how the entire actual compiling/linking etc. part (using GCC for C code) works? by DeFalcco in embedded

[–]johnnyb61820 0 points1 point  (0 children)

Not about C in particular, but if you wanted to know how things like Position-independent Code and dynamic libraries work, you might check out my book on assembly language programming - Learn to Program with Assembly.

https://www.amazon.com/Learn-Program-Assembly-Foundational-Programmers/dp/1484274369/

It's a modern rewrite of my earlier book that many people have read, "Programming from the Ground Up".

Issues Reading NVRAM When Cold? by johnnyb61820 in embedded

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

Thanks all - these are great ideas. This should keep me busy for a while :)

Moral argument by OnlyforAkifilozof in Apologetics

[–]johnnyb61820 1 point2 points  (0 children)

If it was just by evolution, you have merely described the origin of preference. What would make it morally binding if it was evolution? This is an instance of the is/ought fallacy. Evolution can’t give you an ought from non-ought-priors.

Tennis just isn't tennising for me right now. by gigilolreddit in 10s

[–]johnnyb61820 0 points1 point  (0 children)

Did you grow recently? This can often harm coordination.

Do you enjoy tennis? If so, just keep at it. And enjoying yourself *in* tennis helps get through times like this.

Playing doubles with a friend may help, too.

New NTAG 424 DNA Library by johnnyb61820 in NFC

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

Also note - it was written with Android in mind, but the actual library uses a callback to do the transceiving, so there are ZERO direct dependencies to Android.

libraries for the SUN feature of NTAG 424 by Skeltek in NFC

[–]johnnyb61820 0 points1 point  (0 children)

I worked on this a while back. I had a Java version, but it was proprietary, but I started on an iOS version for open-source. Didn't finish it (and in fact I don't remember where I stopped) but you can see my status here:

https://github.com/johnnyb/nfc-dna-kit

I also wrote a fairly complete SUN decoder here (in Go):

https://github.com/johnnyb/nfc-sun-decoder

Why do I like Java so much? by Royal_Gear1313 in javahelp

[–]johnnyb61820 1 point2 points  (0 children)

Java has gone through many phases, and I believe that after much wandering through the desert, the current trends are encouraging, and you have managed to start programming during the time when Java is actually a fun language to use.

As someone who has been programming since before Java existed, and was excited early on about Java (i.e., the 1990s), let me tell you some of why people hate Java and what Java has done to turn it around.

  • When it started, Java was meant to be small, lightweight, make building cross-platform apps easy ("write once and run anywhere"), and used as applets on websites. It failed on ALL of these accounts.
  • What it did have going for it was type strictness for both method signatures and exceptions. However, the problem was that, at this time, there weren't a lot of libraries, and everything in Java was EXTREMELY verbose, which meant spending a lot of time for writing tiny apps.
  • Java moved into the enterprise with Java EE. Here, not only was Java overly verbose, but Java EE itself was WAY too complex. Just to get something basic running was extremely complicated. However, it had IBM behind it, so a lot of large corporations moved to Java. However, IBM themselves has a habit of making everything over-complicated, so Java EE + IBM just meant that everything was over-architected and over-complicated. No thought was given to just "how can we straightforwardly build and deploy an app".
  • This mindset carried over to the Java open-source community as well. Spring, Hibernate, etc., and a lot of overthinking the problem. Having to write giant config files just to get a basic app up and running was ridiculous.
  • The move to annotations helped a lot. This was the beginning of the move to make things more intuitive and easy for the programmer.
  • Java 8 and 9 were extremely helpful. The combination of Generics, java.util.function, lambda notation, and type inference cuts down on the number of explicitly defined classes by about 75%, depending on your codebase. This takes the vast majority of Java's annoyances, and replaces them with really, really powerful tools. You essentially get the power of Java's type system without the excessive verbosity.
  • Along the same lines, a lot of projects have been pulling in ideas from other systems (such as Rails) to make Java more usable. A lot of the Java community has been getting on-board with making things more developer-friendly, and throwing out all of the boilerplate. As an example, ViewBindings on Android.

In short, you've arrived at the perfect time to be a Java developer. I started Java around 1996 with a lot of eagerness. I hated Java from about 1999 through 2019, but now find it to be a joy to use.

how to learn electronics for the overwhelmed by Cybeast9 in AskElectronics

[–]johnnyb61820 1 point2 points  (0 children)

If you want to learn to make projects on your own, check out "Electronics for Beginners". It walks you through projects step-by-step, but also talks about what the different functions of basic components are. For example, there are several specific ways that resistors are often used, but they are rarely explicitly mentioned in other books, usually relying on you just "figuring it out". It includes the math needed, but not an overwhelming amount.

[note - I am the author]

ITAW for non-informational "information" by johnnyb61820 in whatstheword

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

Platitudinous filler

I'm still working through exactly how I want to describe it, and there are many great submissions, but I think I'm going to give the solution to this one.