Bitte um Feedback zu git repo zu ersten größeren app.

Hi bitte freundlich um rückmeldung zur folgenden app:

https://github.com/samsamsen/tagebuchapp_1.0.git

Ist eine Tagebuch app mit kleinem Menü. Man kann einträge eintragen welche mit datum und uhrzeit gespeichert werden. Man kann einträge löschen und man kann einträge anzeigen lassen.

Da ich selbstlerner bin würde ich mich freuen über pros und cons.

Also auch was immerhin gut geklappt hat ,neben den fehlern die ganz klar auch da sein werden, für nächstes mal.

Danke schonmal im vorraus

ps:

zum hintergrund:

selbstlerner mit java seit 6 monaten , davor python aber nur theorie.

Seit kurzem erstmals methoden eingebunden und try catch blöcke. Ebenso dateien schreiben und auslesen.

Edit: repo geupdatet 2.7

reddit.com
u/codeman1233 — 6 days ago

Long hair good ? anything else?

Which look is the best?

Once again: im not sure about look hair . But since short hair always made head appear even bigger... idk .

Old post:

Hey, is the long hair look benefitial for well for my face proportions ? The beard: im glad i have a stronger grown one and would leave that

But mostly with long hair stillt struggeling if it's ok for my type

u/codeman1233 — 12 days ago

Bitte um feedback zur ersten app

Ich lerne Java, habe diese Tagebuch-App gebaut.

Funktion

  • Beim Start fragt das Programm nach einer Eingabe für einen neuen Tagebucheintrag.
  • Danach werden alle bisherigen Einträge angezeigt.
  • Anschließend wird der Nutzer gefragt, ob er einen weiteren Eintrag hinzufügen möchte.

Bedienung

  • Eingabe "ja" → neuer Eintrag wird erstellt
  • jede andere Eingabe → Programm beendet sich nach kurzer Wartezeit

Ziel des Projekts

Dieses Projekt diente zum Üben von:

  • Dateioperationen (z. B. BufferedWriter / File Handling)
  • einfacher möglichst übersichtlicher Programmstruktur mit Schleifen, Bedingungen und Methoden
  • Feedback

Ich freue mich über Feedback zu Struktur, Lesbarkeit und Verbesserungsvorschlägen.

Hier ist die Main:

import java.io.IOException;
import java.nio.*;
import java.nio.file.*;
import java.nio.file.StandardOpenOption;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.Scanner;

public class Main {

public static void main(String[] args) {

//datum

LocalDateTime datum = LocalDateTime.now();

var datumformattiert = datum.toLocalDate();

//zeit

LocalTime jetzt = LocalTime.now();

DateTimeFormatter jetztf = DateTimeFormatter.ofPattern("HH:mm");

Scanner sc = new Scanner(System.in);

Scanner scc = new Scanner(System.in);

String current = System.getProperty("user.dir");

Path txtfile = Paths.get(current, "Einträge.txt");

System.out.println("Tagebuchapp:");

//programmstart

while (true){

System.out.println("Wie gehts dir heute?..."+"\n");

String eingabe = sc.nextLine();

dateischreiben(eingabe, txtfile,jetzt, jetztf,datumformattiert);

System.out.println("Deine Letzten Einträge:"+"\n");

dateilesen(txtfile);

System.out.println("Willst du jetzt noch etwas eintragen?");

String eingabe2 = sc.nextLine();

if(!eingabe2.equals("ja")){

System.out.println("Ok das Programm wird jetzt beendet.");

schlafen();

break;

}}}

//bufferedwritter/reader part:

public static void dateischreiben (String eingabe, Path txtfile, LocalTime jetzt, DateTimeFormatter jetztf, LocalDate datumformattiert){

try (var bw = Files.newBufferedWriter(txtfile,

StandardOpenOption.APPEND,

StandardOpenOption.CREATE

))

{

bw.write(datumformattiert.toString());

bw.write(" ");

bw.write(jetzt.format(jetztf));

bw.write("\n");

bw.write(eingabe);

bw.write("\n");

bw.write("\n"); } catch (IOException ex) {

ex.printStackTrace();

}}

public static void dateilesen (Path txtfile){

try (var br = Files.newBufferedReader(txtfile)){

String line;

while ((line = br.readLine()) != null)

System.out.println(line);

} catch (IOException ex){

System.out.println("fehler!");

} }

public static void schlafen (){

try {Thread.sleep(1500);

}

catch(InterruptedException e){

System.out.println("Es hat einen Fehler gegeben.");

}

}}

reddit.com
u/codeman1233 — 26 days ago

Colours over backend

I’ve been learning backend development for about a year and I genuinely enjoy coding more than I expected.

But I’ve started noticing that I’m also a very visually and creatively oriented person. I seem to need aesthetics, colors and visual expression more than I realized before.

Backend work feels interesting intellectually, but I wonder whether doing it full-time long term might feel too abstract or “invisible” for me.

So I’ve been thinking about frontend development.

I know frontend is still technical and logical — not just “making things pretty” — but does it feel more fulfilling for people who are more visually/artistically wired?

Has anyone here moved from backend toward frontend or UI-focused work for similar reasons?

reddit.com
u/codeman1233 — 1 month ago

Problems Remembering Radicals

After using HelloChinese for a while, I started experimenting a bit with learning 54 radicals in Anki, just to see how well I could memorize the characters together with the pinyin and translation.

At first it went well. After some difficult beginnings, I was able to remember all 54.

But after a while it became just: translation + pinyin, while the tones were missing. Now I’m missing the tones for about a third of them, and I just can’t remember them.

I would like to continue using HelloChinese because it offers a good overall package, but it doesn’t really have the kind of separate radical explanations I’m looking for.

How would you learn it?

For personal reasons, I don’t want to take lessons yet. I’d rather learn through radicals so I can better remember the characters in apps like HelloChinese.

reddit.com
u/codeman1233 — 2 months ago

Hey everyone,

I’ve been thinking about switching to a tablet (like an iPad or Samsung Tab) for studying math, mainly because it seems like it would reduce friction a lot.

My thinking is basically:

I could just open it instantly and start solving problems No setup like getting notebooks, pens, space, etc. Easier to sketch things like vectors or graphs quickly Feels more like a “digital whiteboard” where I can try things out freely

A bit of context about me: I was never really into math before, but recently I’ve started enjoying trying to understand more complex concepts. The issue is that I always struggled with actually sitting down and starting. I live in a small apartment, and somehow the whole process of getting pen, paper, books, and making space just kills the momentum. I often just don’t have the energy to set everything up and actually start doing math.

That’s why I’m wondering if a tablet could help remove that barrier.

So my questions are:

Do you personally study math better on a tablet or on paper? Does a tablet actually make you do more math, or just change how you do it? Is there any noticeable difference in understanding or retention? Or do most people end up going back to paper for deeper problems anyway?

I’m especially interested in experiences from university-level math, engineering, or self-study.

Thanks for any insights

reddit.com
u/codeman1233 — 2 months ago

Here’s my problem: I need an app or setting that displays a reminder every 10 minutes (or 30, etc.) to take a short break while using any app on my Samsung phone. That’s it. No app blocking, no website restrictions—just a gentle nudge to pause, like YouTube, Instagram, and TikTok already do.

What I’ve Tried So Far:

  1. Samsung’s Digital Wellbeing:
    • Lets me lock apps after X hours, but the timer resets only at midnight. Not flexible enough for my needs.
  2. Firefox Extensions (e.g., "Tomato Clock"):
    • Works on PC, but on Android, Firefox doesn’t show extensions in the taskbar. So I can’t even start the timer on my phone. Frustrating, since it’s the official Firefox app.
  3. Apps Like StayFree/StayFocused:
    • These track usage and block apps, but they’re tied to analytics companies that collect even more data than usual. Hard pass for me.
  4. Minimalist Phone:
    • Turns your phone into a "dumbphone" with app timers, but it’s overkill. Also demands way too many permissions (and likely shares data).
  5. Manual Timers:
    • Not practical. If I’m doomscrolling on my phone, I won’t bother setting a physical timer every 10 minutes.

Why This Matters:

  • Social media apps (even TikTok/Instagram) now include built-in break reminders. They recognize the problem—so why doesn’t Android have a simple, system-wide solution?
  • With lawsuits proving these apps are designed to be addictive, you’d think there’d be more tools to counter that. Yet here we are.

My Ideal Solution:

  • No blocking: Just a notification every X minutes saying, "Hey, take a break."
  • No excessive permissions: The app only needs to know which app is open to start the timer. It doesn’t need my location, contacts, or browsing history.
  • Works across all apps: Not just browsers or social media.
  • Open-source/privacy-focused: Or at least vetted by a trusted source (like Firefox’s "recommended" extensions).

Why i focus on certain apps:

I stick to apps I’ve researched (Firefox, alternative search engines, etc.) because I’ve spent time understanding their privacy/security models. Switching to iPhone just for its built-in timer isn’t an option, and I won’t compromise on data privacy for convenience.

Questions:

  1. Does such an app exist? (Simple, no blocking, minimal permissions.)
  2. Workarounds? (e.g., a desktop app that auto-starts with Windows and tracks browser usage.) (i do though search mainly for my android phone - there i spent to much time.)
  3. DIY solutions? (Could I build a basic app for this? If so, how?)

TL;DR: I want a YouTube-style break reminder for all Android apps—no blocking, no data harvesting.

reddit.com
u/codeman1233 — 2 months ago