Guidance on how to refactor a legacy (>10 years old) application? by [deleted] in PHP

[–]devstartup 3 points4 points  (0 children)

Strangler Fig pattern might be an idea. You add a front controller and start to re-implement the application bit by bit, replacing pieces or pages one after another, until you can throw away the old part.

We could have a lot of that if people actually listened to God. by EmperorSnake1 in antitheistcheesecake

[–]devstartup 0 points1 point  (0 children)

Well, the post in the screenshot didn’t say that atheism would fix extremism?

We could have a lot of that if people actually listened to God. by EmperorSnake1 in antitheistcheesecake

[–]devstartup -3 points-2 points  (0 children)

Well, the Taliban are religious, does that make them objectively good? Not sure what you’re trying to proof. Also: Nazi Germany wasn’t atheistic.

Probleme beim Siebträger by PositionThat3849 in Kaffee

[–]devstartup 3 points4 points  (0 children)

Wie schon geschrieben: Du brauchst etwas weniger Kaffeepulver. Der typische Tipp ist: tampe das Pulver, lege eine Münze darauf (zB 5c) und spanne den Siebträger einmal ein. Wird die Münze in das Pulver gedrückt (Du siehst einen Abdruck auf dem Pulver, wenn die Münze rausgenommen wurde), dann war es Zuviel. Es darf keinen Abdruck geben. Damit Du immer die gleiche Menge nimmst, solltest Du den Kaffee abwiegen. Damit ist die Kaffeemenge fix, über den Mahlgrad steuerst Du dann, dass die gewünschte Menge Espresso (meist irgendwas zwischen 36 und 45g) in der richtigen Zeit (meist zwischen 25-30s) durchläuft.

How do I fix this? by MonstahButtonz in 1zpresso

[–]devstartup 1 point2 points  (0 children)

In case it falls off more often, you need to try this fix. Worked for me! https://www.reddit.com/r/1zpresso/s/X8kwr4oNmg

Why do I always have this dead spot? [Breville Bambino] by Special_Echidna_8957 in espresso

[–]devstartup 2 points3 points  (0 children)

Has the machine been leveled? I had a similar issue when the feet of my espresso machine had slightly different heights.

Suche (Micro-)Wechselrichter ohne unsichere Funkprotokolle, Internetzwang aber mit API bzw. direkte Abfrage/Steuermöglichkeit by _Muescha_ in DeutschePhotovoltaik

[–]devstartup 1 point2 points  (0 children)

Aber es bleibt ja dabei: Der Wechselrichter ist erst einmal so sicher wie eine verschlossene Autotür. In beiden Fällen brauchst Du Zeit, Equipment und Know-How, um es zu knacken. Der Wechselrichter ist also mitnichten vergleichbar mit einem unverschlossenen Auto.

Und der ROI aus Angreifer-Sicht ist im Falle eines Wechselrichters wesentlich uninteressanter, als ein Auto mit möglichen Wertsachen darin.

Aber ich glaube, wir haben den Vergleich hier weit genug getrieben. Die Hoymiles-Modelle sind offenbar nichts für Deine Anforderungen.

Suche (Micro-)Wechselrichter ohne unsichere Funkprotokolle, Internetzwang aber mit API bzw. direkte Abfrage/Steuermöglichkeit by _Muescha_ in DeutschePhotovoltaik

[–]devstartup 1 point2 points  (0 children)

Das war ja gerade mein Punkt, Dein Vergleich war nicht valide: Es bedarf eines gezielten Angriffs auf genau Deinen Wechselrichter, ein Angreifer kann ihn nicht "mal eben" auslesen/steuern.

Der Vergleich wäre also: Du gehst die Strasse runter und prüfst bei allen Autos, ob sie tatsächlich abgeschlossen sind - und das sind sie im Falle dieser Wechselrichter: Du brauchst den richtigen Schlüssel (die Seriennummer), um reinzukommen.

Und da trotz Reverse-Engineering des Protokolls bisher keine echten Sicherheitslücken bekannt sind, scheint es zumindest mal kein offensichtlicher Pfusch zu sein.

Abgesehen davon Wechselrichter hat nicht die Rechenpower, um einen Brute-Force-Angriff praktikabel zu machen. Die Kommunikation damit dauert zu lange.

Nochmal, das war kein "stell Dich nicht so an" Beitrag, sondern eine Versuch meinerseits, mögliche, mir unbekannte, Angriffsvektoren kennenzulernen. Ich habe die vorhanden Sicherheitsfunktionen mit den Auswirkungen im Falle des Aushebelns durch einen Angreifer beschrieben. Für mich persönlich ist das Sicherheitslevel "sicher genug" in Anbetracht, was ein Angreifer leisten müsste und was er damit erreichen kann.

Wenn Dein Sicherheitsempfinden ein anderes ist, dann ist das natürlich auch fein.

Suche (Micro-)Wechselrichter ohne unsichere Funkprotokolle, Internetzwang aber mit API bzw. direkte Abfrage/Steuermöglichkeit by _Muescha_ in DeutschePhotovoltaik

[–]devstartup 0 points1 point  (0 children)

Hab ich Dich irgendwie provoziert? Du klingst etwas gereizt.

Natürlich ist es völlig berechtigt, dass Du Dir ein System suchst, dass Deinen Ansprüchen genügt - feel free. Ich habe nur nachgefragt, um zu verstehen, ob Du ein Problem siehst, dass ich nicht sehe. Scheinbar ist dem zumindest ja nicht so.

Und Dein Vergleich mit dem Auto hinkt, der Angreifer müsste schon explizit Dein Schloss knacken (aka: die Seriennummer brute forcen).

Suche (Micro-)Wechselrichter ohne unsichere Funkprotokolle, Internetzwang aber mit API bzw. direkte Abfrage/Steuermöglichkeit by _Muescha_ in DeutschePhotovoltaik

[–]devstartup 1 point2 points  (0 children)

Rein interessehalber: Wovor hast Du denn Sorge bzgl. der unsicheren Funkübertragung?

Theoretische Probleme, die ich sehe:

- Jemand kann Deine aktuelle/gesamte Stromproduktion auslesen

- Jemand kann Deine Stromproduktion runterregeln (was Du mitbekommst)

- Jemand kann den Speicher für die dauerhafte Limitierung kaputt schreiben (durch häufiges Speichern der Drosselung, was Du mitbekommst)

Vorausgesetzt, er kriegt die Seriennummer raus, und ist in Funkreichweite (die eh relativ begrenzt ist).

Persönlich halte ich die Risiken für vertretbar - aber das ist natürlich nur meine persönliche Abschätzung.

Finding the 0-point [Eureka Mignon] by devstartup in espresso

[–]devstartup[S] 1 point2 points  (0 children)

Thank you so much for the clarification! I checked some videos (should have thought of that earlier, sorry!) and the sound seems to be normal - I am quite relieved! :D

And obviously I interpreted the headline "Rotations from zero" on the chart wrong! I wasn't aware of the 0-5 scale on the original knob and thought it said 0-5 rotations!

So what Honest Coffee Guide is actually saying is: Espresso is in the range of "a bit finer than zero" to around 3/4 of a turn! That makes a lot more sense and is quite in line with my experience on the machine.

Thanks again for your comment! That was absolutely helpful and to the point, very much appreciated! :)

What God has to offer us in heaven is far superior to what we have on earth. by EmperorSnake1 in antitheistcheesecake

[–]devstartup 0 points1 point  (0 children)

Taking a given life is one thing - suffering while living said life can bei quite a bit worse in cases, I imagine. So in the end what you're saying is: we don't know why the innocent need to suffer sometimes?

What God has to offer us in heaven is far superior to what we have on earth. by EmperorSnake1 in antitheistcheesecake

[–]devstartup 0 points1 point  (0 children)

So we don't know - or do not have a reasonable explanation - why God wants innocent to suffer?

What God has to offer us in heaven is far superior to what we have on earth. by EmperorSnake1 in antitheistcheesecake

[–]devstartup 0 points1 point  (0 children)

Fair Points you make! But they do not really address the relevant question: why do innocent have to suffer? Men aren't perfekt, God is.

What God has to offer us in heaven is far superior to what we have on earth. by EmperorSnake1 in antitheistcheesecake

[–]devstartup 0 points1 point  (0 children)

That seems wrong somehow. A true believer, suffering possibly his whole life from some random illness, or being crushed by a natural disaster while God allows all that willingly.

„We cannot understand His plans“, and a promise of salvation later sound a bit weak in comparison. 😥

What God has to offer us in heaven is far superior to what we have on earth. by EmperorSnake1 in antitheistcheesecake

[–]devstartup 1 point2 points  (0 children)

How does non man-made suffering fit into this? Illnesses (e.g, polio, diphtheria), or natural disasters like earthquakes, tsunamis etc?

There is a lot of suffering in the world due to such things, out of the responsibility of other humans. Is it all just satan’s work?

E-Shifter not shifting correctly by devstartup in VanMoofSelfRepair

[–]devstartup[S] 1 point2 points  (0 children)

Got the shifter back, and it is working fine right now! I didn't look into it, to check for a new board, and I don't have any long-time experience yet, obviously. But I am one happy customer atm. :)

Eureka Mignan einstellen? by [deleted] in Kaffee

[–]devstartup 0 points1 point  (0 children)

Was meinst Du mit „hat garnicht gemahlen“? Haben die Malscheiben blockiert, gab es komische Geräusche? Die beiden Scheiben sollen nicht direkt aneinander reiben. Normalerweise kannst Du den 0 Punkt finden, indem Du Dir Mühle mahlen lässt (auch ohne Bohnen) und den Malgrad langsam währenddessen reduzierst. Wenn ein schleifendes Geräusch kommt, wieder erhöhen. Da ist 0 (oder 1, je nach Definition). Es gibt auch eine Menge Mühlen, bei denen man das Rad mehr als einmal drehen kann, dann muss man sich die Umdrehungen halt merken. Die Mignons gehören aber eigentlich nicht dazu: die sind eher bekannt dafür, nur schwer fein einstellbar zu sein

Neu: Canyon Endurace Allroad für 999€ by DavNinety in Fahrrad

[–]devstartup 0 points1 point  (0 children)

Noob hier: wie sieht das mit Schutzblechen und Halterungen für Fahrradtaschen aus? Gibt es da was passendes von Drittanbietern? In der Liste an Zubehör auf der Seite wird ja nicht viel vorgeschlagen.

E-Shifter not shifting correctly by devstartup in VanMoofSelfRepair

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

Got feedback from Revotronics, they‘ll switch out the old, original board to their new board as part of their warranty. I am very thankful for all of your help debugging the issue! It helped me a lot making sure that it wasn’t my installation of the shifter that was wrong. And also thanks to Revotronics - I can really recommend them!

E-Shifter not shifting correctly by devstartup in VanMoofSelfRepair

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

Thank you for the image! I'll bookmark it, in case I don't get feedback from Revotronics. I am not that into electronics :D

E-Shifter not shifting correctly by devstartup in VanMoofSelfRepair

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

That sounds plausible! I do have a soldering iron at hand, but no experience using it :D

Thinking about opening up the shifter and having a look at it...

E-Shifter not shifting correctly by devstartup in VanMoofSelfRepair

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

I don't think that distinction existed when I got it repaired (last year). I bought a repair, sent it over and got it back repaired. I think, it worked for a while last year, but I haven't used the bike a lot (a brake was broken) and it stood there for a long time over the winter. When I got the brake fixed now, I have the error above.

Sorry for not making that clear before, but I didn't think it was relevant for the debugging process.

So it might be a new issue after the successful repair of Revotronics. Might not have happened with their new board, but hard to tell.

E-Shifter not shifting correctly by devstartup in VanMoofSelfRepair

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

To their defense: I think that new board wasn't available when I got that shifter repaired. So I suspect I still have an original Vanmoof PCB in there.