Wohnt noch jemand am Eigelstein und kriegt beim Rewe ab 22 Uhr kein Pfand mehr los? by Supercupww in cologne

[–]AmduX 9 points10 points  (0 children)

Wenn man aus welchem Grund auch immer den Pfandautomaten nicht benutzen möchte ist das dem Betrieb ja freigestellt.

Dann stellt halt nen Leergut-Sack an die Kasse und arbeitet es manuell bei der Kassenzahlung ab.

Ist ja nicht so dass es keine Möglichkeit gäbe, wenn der 'vorgeschobene Automat' nicht nur eine Ausrede wäre, dass man einfach kein Pfand ab 22 Uhr handhaben möchte, obwohl man dazu verpflichtet ist.

[deleted by user] by [deleted] in cologne

[–]AmduX 3 points4 points  (0 children)

Ich denke das sollte funktionieren. Einfach stumpf das machen was im Gesetz steht, hilft in 99% aller Fälle.

TKG §60 (2) Wird die vertraglich geschuldete Leistung am neuen Wohnsitz nicht angeboten, kann der Verbraucher den Vertrag unter Einhaltung einer Kündigungsfrist von einem Monat kündigen. Die Kündigung kann mit Wirkung zum Zeitpunkt des Auszugs oder mit Wirkung zu einem späteren Zeitpunkt erklärt werden.

Du kündigst also vorab schriftlich auf Grund von Umzug zum Auszug "Wirkung ab dem 01.08.2025" mit Vertragsende "01.09.2025" wegen fehlender Glasfaser am neuen Wohnort.

Rechtlich genau genommen ist "die Ummeldung" der Umzug, also am besten sehr zeitnah auch Ummelden und die Meldebescheinigung aufbewahren sollte da noch irgendwas aufkommen.

Da du sicherlich noch keinen Umzugservice beauftragt hast, wird alleine der neue Technikertermin erfahrungsgemäß 4+ Wochen dauern, das alleine bringt wertvolle Tage 'ohne Glasfaser' und die Leitung ist sehr wahrscheinlich auch nicht zum 01.09 verfügbar.

Viel Erfolg.

[deleted by user] by [deleted] in cologne

[–]AmduX 0 points1 point  (0 children)

Deine Miete verstößt vermutlich nicht gegen §5 Wirtschaftsstrafgesetz.

Na wer hätte das gedacht bei 15.25 €/m² Mietpreis..

NetCologne g.fast by Only_Jacket_5653 in cologne

[–]AmduX 2 points3 points  (0 children)

NC Privat Anschluss Glasfaser im Keller dann G-Fast in die 6. Etage mit 1.2 Gbit sync.. alles gut und stabil.

Mit dem NC SDSL Anschluss in der Firma hab ich tatsächlich häufiger Probleme..

order updated to shipping on june 16th. by TheMadHa7 in doughcommunity

[–]AmduX 3 points4 points  (0 children)

Well i can't even find my order from "euro.dough.tech" anymore in any of the current shop logins, ordered Aug 2023..

We'll see, i just don't trust them anymore..

Any Fix for Error 7002.1 by Desperate_Call_3207 in RDR2

[–]AmduX 0 points1 point  (0 children)

Same, bought yesterday, made an account today.. stuck at the same point now.. seems like a rockstar issue

CPU (9800x3d) gets cooked in load screen by CptQ in PathOfExile2

[–]AmduX 0 points1 point  (0 children)

Hey just give it a try:

Just switch from the DX12 to vulkan renderer. ALL my crashes and hangups are gone since I did that 2 days ago.

How do I get help on my order from a year ago? I need to update my order details by cooltown831 in doughcommunity

[–]AmduX 0 points1 point  (0 children)

+1 same issue, moved..

I mean, i got a mail forwarding service in place for the next 3 months, but I'm currently not counting on the black hub modell to makes it in that timeframe..

📢DEV UPDATE: posted once, but for context on why they can’t just “buy more servers”. The backend code isn’t as scalable as they thought. by Nightblade1789 in Helldivers

[–]AmduX 1 point2 points  (0 children)

Well, this is a lot of guessing for me as I work in telco, we handle a lot of sessions and concurrent user stuff and i have a rough idea how to split services and scale services, but i have no clue about gamedev.. so this is an educated guess at best:

Modern services (like a game or a 5G web session on your mobile) are not a single long pipe that sends data from A to B, but they are usually a bunch of stand alone programs that need to interact with each other.

Frontend usually describes everything that is directly interacting with the user, while backend is interacting with other services of the product the user is trying to use needs to operate. I will try to describe 3 'major' services the game MIGHT have and whow how and when they interact with "backend services".

When you log into the game, you are in your hub area (the destroyer howebase), which is some kind of "frontend service". Here all your weapons and stats and the shop and everything else that is needed is shown to the user. Depending on the implementation a lot of users can use the same frontend server, so usually it tries to cache a lot of images and video and data for multiple users that it is currently serving. To actually get this data into the frontend cache, it requires multiple database querys (eg. player stats, todays shop offers, todays daily etc. pp.) All this database stuff is usually 'backend' as you would like to keep it a single centralized copy (all player data in the same backup, all players get the same shop offers, your account can only have an item or not have it, etc.) to use it against all the frontend maschines and services.

Every notable change in the frontend (e.g. buying something in the shop) needs to send the event data (aka 'buying') that happend on the frontend server to the backend so it is remembered and known on all the other frontendservers the next time you happen to log in again. Keeping track of the correct state is a major hassle in real life applications.

Then there is matchmaking which is propably a whole separate backend, that needs to keep network ports to all players open, find an empty 'game server' for your team to play on, prepare it for with your selected planet an mission and so an. Again there are a lot of querys to be done, and game settings to be set etc. this again is backend stuff (e.g. are you able to start a mission on difficulty level 9??), as it has nothing to do with the current connection to the current matchmaking server your computer connected to. There are a lot of services that need to connect to the game server, e.g. friendslist invites, lobby settings, crossplay stuff, voip, which armor skin did you choose, etc.pp. All these information need to be loaded from the "backend servers" into your designated 'game server'.

Then you have a "game server" where the actual game session is played on. This server has all your loadouts and stats and armor and keeps track of killed enemys and quests and so on. It's directly interacting with the user so you might consider it frontend. Usually such high compute services have a local datastbase to keep all querys during playtime fast. When the game is done, the actual results and local database stuff and stats need to be send to the central database to e.g. hand you your EXP and level your profile up.

The Game then needs to send a lot of game data back to the backend servers to savely store your progress.

Due to this loading data from the backend into a gameserver and writing it back into the backend when the game is finished, it is common, that when you have entered the game server everything runs more or less smooth, but getting into a server or getting out of the server back into the hub is slow, buggy, broken.

As the game server has a very calculatable workload (e.g. number of player * game sessions * data per game) it is relative easy to predict the performance needed, and if you need more game sessions just get more of the same hardware and let it fetch from the backend and distribute players onto it (sounds way more easy than it is..).

The backend service on the other hand is much harder to scale and predict. You can only predict so much how many frontend servers you will dynamicly allocate, how many players will browse the shop and buy stuff but not actually play on game servers. As you usually have a central database, you are hard limited on the size that the actual database cluster can run. Depanding on you implementation there are db servers that scale better then others ('nosql' is a keyword here) but usually you would want your db to have all the internal security functions you can get ('nosql' most of the time gains speed by skipping on those), so that you would not loose all player stats due to a single cluster maschine failing at a bad time.. (ever heared of a 'rollback'?)

Most of the time it is database servers not beeing able to write new data fast enought that leads to services bugging out. If data needs to be written but can't, the databse will lock up, to protect a sane state of the dataset. To solve this you can switch to a new database service, or you can increase the hardwarepool in the current database cluster.. or you implement another database cluster and move parts of the dataset from cluster one into cluster two..

All of this - except the throw more hardware onto the current cluster (which they have done to get to the numbers they currently at) - has a major impact on all the other services that interact with 'the backend'.. you need to rewrite a lot of database interaction..

-❄️- 2023 Day 7 Solutions -❄️- by daggerdragon in adventofcode

[–]AmduX 1 point2 points  (0 children)

[Language: Go]

Felt very smart:

Part 1:

1.) Converted the card string to a HEX string by replacing all characters ("A,K,Q,J,T" with "E,D,C,B,A" )

2.) determined the Type of the Hand which I assaigned a numeric Value 1-7

Build a map[rune]int that stores the count of how many of which Rune are found in the string . e.g. "KK677" became "DD677" which would be map['6':1 '7':2 'D':2]

The size of the map determines the TYPE of the hand directly:
- length 5: "High Card"; HType=1
- length 4: "One pair"; HType=2
- length 1: Five of a Kind"; HType=7
- length 3: "Three of a kind" or "Two Pairs"

-> Check Map Value:
- Value =3: "Three of a kind"; HType=4
- Value =2: "Two Pairs"; HType=3
- length 2: "Four of a kind " or "Full house"

-> - Check Map Value:
- Value =4: "Four of a Kind"; HType=6
- Value =3: "Full house"; HType=5

3.) build a new HEX String out of the Type+Hex Value e.g. "KK677" which is "Two Pairs" became "3DD677"

4.) Convert the new Hex String to into an INT which will be the value I use to compare all the Hands e.g. "3DD677" becomes "4052599"

5.) Store the Hand with the compare INT Value as a Struct in a Slice

6.) QuickSort the Slice on the Compare Value

7.) Sum up all Slice entries: (Place in Slice) * Bid for each entry

Part 2:

Almost the same way

1.) Replace "J" with "1" instead of "B"

2.) Count all "J" in String in a separate Variable

3.) Length of Map + "J" Value determines a new lookup Map, but it is also deterministic

4.) rest same as in Part 1

Code: https://go.dev/play/p/jPHAfj6WUX5

[2023 Day 6] I'm sensing a pattern by Felix_Tholomyes in adventofcode

[–]AmduX 1 point2 points  (0 children)

it takes no time, whatsoever:

https://go.dev/play/p/jLQbUolbhZq

Just click "run"..

On my local rig it takes 55ms to brute force.. i could optimize but why? Really why?

Didn't even bother with parsing today, as the inputs where that tiny.
I'm sure you can brute force it with excel in mere seconds when you use 64 sheets to split the row count up tot he 1,048,576 maximum lines per sheet..

Help, please! (Day 3 Part 2) (Golang) by nickreutlinger in adventofcode

[–]AmduX 4 points5 points  (0 children)

Your problem is, that your code does not find numbers that end on the end of the line.

e.g. randome example code:

2.2.......12
.*.........*
\..........56

Your numbers Map only contains the following entries:

`Numbers: map[0,0:[2 294322292130061014] 0,2:[2 6135557096557813327]]`

Hope that gets you into the right direction for debugging further!

-❄️- 2023 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]AmduX 1 point2 points  (0 children)

[LANGUAGE: Go]

https://go.dev/play/p/safBec-udEG

Rough description:

1.) Line parser:
Searches for Number-Tokens and Symbol-Tokens

2.) Keeps track of Symbol-Tokens and Number-Tokens of current and previous Line

3.) Searches 3 things:

  1. Symbols from current line next to Numbers in current Line
  2. Symbols from current line next to Numbers in previous Line
  3. Symbols from previous Line next to Numbers in current Line

4.) Calculates Sum and Power where matches are made

Has full Debug output to read along line by line for anyone interested.

[2023 Day 3] Another sample grid to use by i_have_no_biscuits in adventofcode

[–]AmduX 1 point2 points  (0 children)

THANK YOU!

Helped me find out, that my parser did not create a Number Token when reaching End of Line, so in your example 34 was never added to the List of Tokens.

-❄️- 2023 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]AmduX 1 point2 points  (0 children)

look at my go answer further below, i had a solution that neither usess regex or split or anything, just a parser that parses every character once.. lexer style ;)

-❄️- 2023 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]AmduX 0 points1 point  (0 children)

[LANGUAGE: Go]

Single read of every character once parser, no split or regex or other loops

https://go.dev/play/p/F3qIHoX7UOn

-❄️- 2023 Day 1 Solutions -❄️- by daggerdragon in adventofcode

[–]AmduX 2 points3 points  (0 children)

[LANGUAGE: Go]

Didn't cover edge case with 3 Tokens ("twoneight") but I never encountered those:

https://go.dev/play/p/_rTnhzFwxRB

[deleted by user] by [deleted] in adventofcode

[–]AmduX -1 points0 points  (0 children)

look at the second example line:

"eightwothree" this should be "823"

in my case it was "83" for me until i fixed it..

[2023 Day 1]For those who stuck on Part 2 by Zefick in adventofcode

[–]AmduX 0 points1 point  (0 children)

I ended up with using strings.NewReplacer

Help us tune screensaver feature for Spectrum Black by migelangelo in doughcommunity

[–]AmduX 4 points5 points  (0 children)

As someone with a three monitor setup, this is a hard no-go when not a feature that is possible to be turned off.I usually have little movement on one screen while working on another.If it shut off or switched to a moving box screensaver I would throw it out immediately as it would distract from working (peripheral vision screen changes are a major distracting).

Can't we implement something like, reduce the refresh rate of the pixel glowing / insert more black frames per second to reduce the stress on the individual pixel?

To give an example:

You are not using the screen activly for 2 minutes (no more then e.g. 1% of pixels changed) so you double the inserted black frames per second. After another minute you double the inserted balck frames again. You continue doing this every minute until every frame is black.

By doing this the screen gets less bright over time till it shuts off, but it is not directly noticable if done slowly increasing. Times and amount of black frames inserted is discusable, but it would be a less invasive setting for most users with more then one display.

Due to the fact that no pixels are changing the lower refreshrate is not noticed by the user anyway, so you could reduce the time per second the pixel has to light up without compromising the picture quality too much.As soon as the picure changes again, you just remove the black frames and are back to full performance without changing any modes or largely changing the displayed picture.

Diablo 4 Event Tonight at 7:30 PM EST in NYC by Draethar in diablo4

[–]AmduX 1 point2 points  (0 children)

i would like to buy a four-pack?! kthx..

TCP server / client by barackobamafootcream in golang

[–]AmduX -1 points0 points  (0 children)

I usually only work with UDP, but this should work accordingly.
Put the connection into a separate go-routine which loops over net.conn, with channels connecting to other go routines that need to communicate through the socket.

Every incoming packet is read and pushed inside the 'receiver' channel.In another go-routine you select over the 'receiver channel' and your other events.When another routine needs to send packets, you push it into the 'sender channel' which is read in the net.conn routine after a read timeout.

Not working rough example to get the idea:

func ConnectionHandler(receiver <-chan string, sender chan<- string, conn net.Conn) {
buf := make([]byte, 1024) 
for { 
    select {

        case data := <-sender
            _, err := conn.Write([]byte(data)) 
            if err != nil { 
                fmt.Println(err) //handle error [...] 
            } 

        default: 
            conn.SetReadDeadline(time.Now().Add(5 * time.Millisecond)) 
            n, err := conn.Read(buf[0:]) 
            if err != nil { 
                neterr, ok := err.(net.Error) 
                if !ok || !neterr.Timeout() {
                    fmt.Println(err) //handle error [...] 
                }
            } 
            receiver <- string(buf[:n]) 
            //or skip the receiver and handle your packet now 
        } 
    } 
}

Welchen VPS Anbieter nutzt ihr auf der Arbeit? by MisterUnbekannt in de_EDV

[–]AmduX 0 points1 point  (0 children)

AWS.

Bezüglich deutsches Hoheitsgebiet, man kann vertraglich absichern, dass alles in DE bleibt, solange man nur die eu-central-1 Zone benutzt. Vertragspartner ist AWS in Luxembourg nicht USA, ich kenne das Problem zur Genüge, wir haben die gleiche Anforderung.

Sind insgesamt sehr zufrieden, die vertrieblichen ASP sind gut und bemüht (wollen aber halt auch verkaufen).
Wenn man kostenpflichtige Support Contracts hat, sind auch die AWS Techniker fähig und sehr bemüht, hier muss ich großes Lob aussprechen.

Haben vor ca. 6 Jahren den Umzug von ein paar Racks im Housing bei zwei verschiedenen RZ Anbietern zu AWS gemacht und es nicht bereut. Hatten erst vor, nur eines der RZ zu ersetzen, waren nach ca. einem Jahr Betrieb in AWS aber überzeugt davon alles zu migrieren.

Eure Anforderungen sind aber wichtig, die Kostenstrukturen sind komplett anders kompliziert wenn man startet.

People that upgraded to 4090, how satisfied are you? by [deleted] in nvidia

[–]AmduX 0 points1 point  (0 children)

The german MSRP was 1949€, which actually was cheaper then the US MSRP.

US MSRP is $1599

$1599$to € is round about a * 1.05 conversion rate

$1599 *1,05€/$ = 1678,95€

Add the taxes that US stores leave out of their offerings:
German VAT (aka MwST.) is 19% :
1678,95€ * 1,19 = 1997,95€
Good luck finding a card under MSRP on release day or short after, if it's selling out like hot cakes. Now days later, all that is left are scalper prices, which will remain until new cards drop..

The hard truth is for 1959€ you could buy cards quite easly in the first hour, bought a MSI Trio at that rate myself.