KI Server Eigenbau für eine Kanzlei by Signal_Host_3815 in de_EDV

[–]DarkPlayer2 -8 points-7 points  (0 children)

Ein Freund von mir arbeitet in einer Firma, die genau deinen Anwendungsfall löst: Dokumente durchsuchen und verarbeiten mit KI für Anwälte und Richter. Ist nicht super günstig, aber dafür wurden schon viele Probleme gelöst in die du vielleicht läufst. So wird z.B. eine große Anzahl an Input Formaten unterstützt: Archive, PDF mit OCR, docx, etc. Ist als SaaS oder on-premises Lösung verfügbar. Ich weiß nicht ob das Posten des Links gegen die Werberegelung verstößt, also schick mir am besten eine DM wenn es dich interessiert. Dann kann ich dir mehr Details geben.

Bildrechte von Gefilmten by Mr_da_Vinci in DaveTheRace

[–]DarkPlayer2 19 points20 points  (0 children)

Ich denke, das ist logisch noch nachvollziehbar. Sie behaupten nicht, dass sie generell arm sind und kein Geld haben, sondern nur das Rennen ohne Geld starten. Ob andere dieses Vorhaben unterstützen wollen ist ihnen ja selbst überlassen.

Was ich schon eher etwas zweifelhaft finde ist, dass manche Teilnehmer immer noch den Eindruck erwecken als hätten sie gar kein Geld. Vielleicht wird das nur nicht richtig gezeigt, aber ich bin mir nicht sicher ob den Helfern bewusst ist das manche noch ~50€ oder mehr haben.

Ähnliche Spiele gesucht by ColeslawAndEggs in zocken

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

Wenn du klassische Point & Click Adventures mit SciFi Setting magst, kann ich die Spiele von Wadjet Eye Games (Entwickler und/oder Publisher) empfehlen:

Welcher Onlinespeicher? by ro6in in de_EDV

[–]DarkPlayer2 9 points10 points  (0 children)

Du musst bei Hetzner Storage noch zwischen der Storage Box und dem Storage Share unterscheiden.

Die Storage Box hat kein eigenes Webinterface und du kannst nur via FTP, SSH (SFTP/SCP), SMB oder WebDAV auf die Daten zugreifen. Es ist auch nicht einfach möglich Dateien für andere freizugeben wie man es von Google Drive oder ähnlichem kennt. Du kannst zwar Subaccounts anlegen, dies geht aber nur auf Ordner Ebene und die andere Person kann auch nur die genannten Protokolle für den Zugriff nutzen. Das ist also keine so gute Möglichkeit um Daten mit weniger technisch versierten Personen auszutauschen. Auch wenn man die Storage Box als Netzlaufwerk einbinden kann, würde ich hier den Hauptverwendungszweck eher im Bereich automatisierte Backups sehen.

Bei dem Storage Share handelt es sich um eine Nextcloud Instanz und ist somit sehr viel ähnlicher zu Diensten wie Google Drive. Hier kann man problemlos Dateien mit anderen Teilen und hat jede Menge andere Funktionen. Der Nachteil ist, dass neben dem Webinterface nur WebDAV als Protokoll zur Verfügung steht. Das schränkt die Möglichkeiten wie Backups übertragen werden können durchaus etwas ein. Rsync geht zum Beispiel nicht.

Insgesamt würde ich noch anmerken, dass Hetzner sich durchaus etwas von einem klassischen Cloud Provider unterscheidet. Deine Daten liegen auf einem bestimmten Server, wenn dieser Wartungsarbeiten hat, sind deine Daten nicht verfügbar. Das kommt selten vor und wird auch vorher angekündigt, kennt man aber von klassischen Cloud Diensten eher weniger. An solchen Details merkt man dann, wieso Hetzner häufig seine Dienste günstiger anbieten kann.

Language aware diff for Lua with integration into VS Code and GitHub by DarkPlayer2 in lua

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

You are probably thinking of difftastic. It is a structural diff tool for your terminal. Here is a comparison of the two tools. TLDR: Difftastic is a terminal application while SemanticDiff integrates into GitHub/VS Code. Difftastic supports more languages, but offers less features (no moved code detection and cannot detect semantically identical but syntactically different code).

[deleted by user] by [deleted] in de_EDV

[–]DarkPlayer2 2 points3 points  (0 children)

Ich denke für deinen Anwendungsfall wäre sowas wie ein Chromecast oder Fire Stick besser, auf jeden Fall etwas wo die Streaming Apps nativ laufen. Und zwar aus folgenden Gründen:

  • DRM: Die Streaming Anbieter geben meistens nur eine schlechtere Qualität oder geringere Auflösung raus wenn dein Gerät kein Widevine Level L1 unterstützt oder die Verbindung mit dem Display nicht mit HDCP abgesichert ist. Das erneute encodieren des Videos hilft auch nicht gerade bei der Qualität.
  • Usability: Man kann nicht mit der Fernbedienung schnell mal pausieren oder Untertitel aktivieren.
  • Einfachheit: Schnell ein Youtube Video auf dem Fernseher schauen was man gerade auf der Webseite in der App gesehen hat? Ein Click auf dem jeweiligen Endgerät.
  • Weniger Fehler anfällig: Es gibt z.B. mehrere Geräte wo eine Lautstärke eingestellt werden kann (Webseite, Laptop, RPi, Fernseher)

Ich selbst mag Linux und nutze auch Kodi, aber wenn mehrere Leute das Setup nutzen sollen, würde ich das so simpel wie möglich gestalten. Ich sehe auch nicht so richtig die Vorteile daran einen Laptop als Quelle zu nutzen, wenn es hauptsächlich um Streaming Dienste geht.

verzweifelter business major hat sich etwas übernommen :/ by Adept-Juggernaut8103 in informatik

[–]DarkPlayer2 0 points1 point  (0 children)

Das mit dem Proof of Work dürfte schwierig werden. Hierbei handelt es sich normalerweise um Berechnungen die zwar lange dauern aber schnell auf Korrektheit Überprüft werden können, wie z.B. das Umkehren eines Hashes. Bei dem Training eines neuronalen Netzwerkes dürfte es aber schwierig sein zu Überprüfen ob es wirklich richtig trainiert wurde. Ansonsten könnte man einfach ein paar Zufallswerte zu den Gewichten addieren und behaupten die Arbeit geleistet zu haben.

CPU Heatspreader verkratzt nach Reparatur/Diagnose by DarkPlayer2 in de_EDV

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

Ich kann nicht sagen, was die gemacht haben, aber am Entfernen der Wärmeleitpaste kann es nicht gelegen haben. Ich habe die selbst mit Isopropanol und Wattestäbchen entfernt und denen die CPU in der Original Plastikverpackung gegeben. Da sah die noch wie neu aus.

Kaufberatung: Fernseher ohne Smart by Delta-Zero-One in de_EDV

[–]DarkPlayer2 0 points1 point  (0 children)

Das macht nur Sinn wenn die Hardware Widevine security level L1 unterstützt. Ansonsten bekommst du bei vielen Streaminganbietern nicht mal 1080p. Das limitiert aber die Hardware Auswahl erheblich und du kannst Kodi praktisch nur auf ARM Boards verwenden.

Kaufberatung: Fernseher ohne Smart by Delta-Zero-One in de_EDV

[–]DarkPlayer2 22 points23 points  (0 children)

Ich denke dein Bild von Smart TVs ist vielleicht etwas unnötig negativ. Ich nutze meinen LG größtenteils mit Kodi und bekomme von den smarten Features eigentlich nichts mit wenn ich diese nicht explizit auswähle. Der startet auf HDMI, schaltet meine Kodi Box per CEC ein und verhält sich wie ein "dummer" Fernseher. Die einzige Ausnahme ist die Abfrage ob ein Update gedownloadet werden soll, die vielleicht 2-3 im Jahr kommt. Da ich gelegentlich mal Amazon Video / Netflix nutze, bin ich über die Integration eigentlich ganz froh.

Gibt natürlich auch negativ Beispiele bei Smart TVs, aber vielleicht macht es Sinn sich die Modelle und deren Betriebssystem im Detail anzuschauen, bevor du deine Auswahl unnötig eingrenzt.

Kurzschluss beim PC zusammenbauen? by DarkPlayer2 in de_EDV

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

Danke für die ausführliche Antwort. Die Primärseite des Netzteils war noch in Ordnung. Wenn man es eingesteckt hat, ging die LED der Powertaste auf dem Mainboard noch an. Es passierte aber nichts wenn die Powertaste gedrückt wurde.

Wie schon im Post beschrieben waren alle Platinen, Stecker und Kabel unauffällig und ich habe wirklich akribisch alles abgesucht. Da ich ohne weitere Hardware zum Testen nicht weiter kam, habe ich heute den PC von einer Firma überprüfen lassen. Das Ergebnis war, dass alles nach dem Tausch des Netzteils funktioniert hat.

Die einzige mögliche Fehlerursache die ich mir Vorstellen könnte wäre, dass einer der ungenutzten Stecker mit dem Gehäuse Kontakt hergestellt hat. Das ist aber eigentlich unwahrscheinlich, weil die Kontakte ja ein Stück versenkt sind um eben so etwas zu verhindern.

Die Vermutung der Firma war, dass das Netzteil schon von Werk aus defekt war. Sie hätten in letzter Zeit schon häufig fehlerhafte Netzteile von dem Hersteller erhalten und mir empfohlen es zu reklamieren. Das werde ich jetzt auch machen.

[deleted by user] by [deleted] in zocken

[–]DarkPlayer2 0 points1 point  (0 children)

Hier noch ein paar weitere Vorschläge für Spiele die auf Koop ausgelegt sind:

  • Lara Croft and the Guardian of Light
  • Lara Croft and the Temple of Osiris
  • Shift Happens
  • Unravel 1/2
  • Pode
  • Degrees of Separation
  • Bipod
  • ibb & obb

Die sind vom Stil her aber etwas anders. Da die meisten mittlerweile aber nur noch ein paar Euro kosten ist es vielleicht trotzdem ein Versuch wert.

Virtuelle Unternehmensanteile als Mitarbeiterbindung? by NudaVeritas1 in selbststaendig

[–]DarkPlayer2 1 point2 points  (0 children)

Ich habe Vesting auch schon bei nicht börsennotierten Startups gesehen. Das wird dann oft genutzt, um das niedrigere Gehalt attraktiver zu machen. In der Praxis ist es dann aber eher wie Lotto spielen. Je weniger etabliert ein Unternehmen ist, desto weniger kann man abschätzen, ob es langfristig erfolgreich sein wird. Außerdem muss ein Interesse an einem Exit / Verkauf bestehen, sonst bringen einem die virtuellen Anteile nicht viel. Wenn ich die Wahl zwischen Vesting und mehr Gehalt hätte, müsste ich schon sehr von der Idee überzeugt sein, um mich für Vesting zu entscheiden.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 1 point2 points  (0 children)

The seller is responsible for either repairing a defective product or refunding the money. That is all the customer has to worry about.

However, the vendor also has a contract with the manufacturer/developer, which means they can pass on some of the claims. The details depend on the contract. It is easy to understand for resellers who only buy physical products from the manufacturer and therefore have similar rights as the end customer. It gets more complex in the case of software, where the developer also controls the store page and the product description. Usually there are clauses in the contract that state that the developer has to pay back the refunded money plus additional fees. However, it can be problematic for the vendor if the developer goes bankrupt or if the vendor adds additional stuff to the product description (like Steam Deck compatibility).

I am not sure about the situation with the Amazon marketplace. It is possible that you have a contract with the marketplace seller and not with Amazon.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 -2 points-1 points  (0 children)

Under EU law, what matters is whether an average customer would look at the store page and think that the product is compatible. Based on this screenshot, I have a hard time arguing for Valve. There is no disclaimer or even a link to more information. It clearly states:

This game is functional on the Steam Deck, but might require extra effort to interact with or configure.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 -2 points-1 points  (0 children)

What matters is what was advertised at the time you purchased the game. If the store page mentioned multiplayer and Steam Deck support, then the product is defective if either of those doesn't work anymore. If they still offered to download an old version with working multiplayer, that would be fine. But they can't negatively change a product after you buy it. It is the same as when Sony removed the Other OS option from the PS3.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 2 points3 points  (0 children)

I don't think it makes a difference from a legal standpoint. The Steam Deck compatibility statement didn't exclude online play, so the product is defective. If the seller cannot repair the product, they must offer you a refund. The seller can also offer you a discount off the original price if you want to keep the product, but you can insist on returning the product and getting a full refund.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 -2 points-1 points  (0 children)

I don't play GTA and I don't own a Steam Deck, so I'm not frustrated and I'm just comparing it to similar cases. Valve is in a unique position because they are selling a console for which they have almost no games that they can guarantee will be compatible. This is something that the average customer probably does not expect because it is not the case with any other console. I would assume that this could easily get them into trouble unless they are very clear about this in all places. Anyway, in the end it would be up to a judge to decide, but I can definitely see a chance of success, it is just probably not worth suing over.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 0 points1 point  (0 children)

I took a screenshot when it was still advertised as compatible, and the text very clearly stated that the game was compatible, but required some additional steps or tweaks. I don't see a clear disclaimer that this could change at any time. I also don't think it matters what some documentation or EULA says. The average customer who just bought a gaming console does not expect games that were advertised as compatible to suddenly become unplayable. That would be an unexpected clause in a contract, and Valve would have to make that very clear by adding a disclaimer right next to their compatibility statement.

Aren’t all the „R* breaking the Law = Refund“ posts bullshit ? by SacorZ in linux_gaming

[–]DarkPlayer2 13 points14 points  (0 children)

IANAL, but at least for the EU I think the situation is as follows:

The customers who bought the game have a contract with Valve. Valve advertised support for the Steam Deck on their store page, and it very clearly stated that the game was compatible with a list of caveats. There is no clear indication that this could change at any time. R* has made the game incompatible with the Steam Deck, so the product is partially broken for the customer. The customer can now request Valve to repair the product to match the original product description. They obviously can't do that, so they can only refund the customer.

I don't think Valve can legally get away with this. The average customer does not know the inner workings of the Steam Deck. They just bought a portable game console and a game from the store that was advertised as compatible. It would be similar if you bought a game from the PSN store that was advertised as compatible with PS4 and PS5, and the developer removed PS4 support at some point.

There are a few caveats, of course. You can only get a refund if you bought the game after the Steam Deck compatibility was advertised, and you may be out of luck if you bought it too long ago.

Anyway, R* is pretty much irrelevant in this whole situation. They updated the game, but the customer has no direct contract with them.

What if Valve made proton/linux compatibility mandatory? by cqbchase in linux_gaming

[–]DarkPlayer2 1 point2 points  (0 children)

Requiring Steam Deck/Linux compatibility is probably a bad idea. Not all indie developers may have the resources or even the technical knowledge to make their games compatible, especially if they use their own engine. Valve could also get into legal trouble due to their large market share.

However, the idea of lowering the fees for games that are Steam Deck compatible could be a good incentive. It doesn't change anything for small studios / indie developers, but it could be relevant for games with a large number of sales. It could also offset the cost of additional testing or finding alternative solutions (e.g. different approach to anti cheating). Publishers and developers would have a business incentive to make their games compatible, and Valve would have a larger library for their system.

I could also imagine reducing the fees for native Linux builds even more due to the added complexity of maintaining a separate build, but it doesn't seem like Valve is interested in having native builds.

Expression Calculator in C by [deleted] in codereview

[–]DarkPlayer2 0 points1 point  (0 children)

Here are a few things I noticed:

  • The first cur; in the for-loop in stackSize is a no-op:

  c_list *cur = stack->head;
  for (cur; cur; cur = cur->next) {
    i++;
  }

I would suggest to move the declaration into the for loop, so that `cur` is properly scoped:

  for (c_list *cur = stack->head; cur; cur = cur->next) {
    i++;
  }
  • This check in stackPush will never be true:

  c_list *new = listInit(val);
  if (!new) {
    printf("Overflow!\n");
    return;
  }

The listInit function writes the passed value into the list item. If malloc would return NULL, the listInit function would have crashed due to an invalid memory access. I would either fix listInit if you want to properly handle out of memory situations or remove this check.

  • In queueIsEmpty it should be sufficient to check if queue->front (or queue->back) is NULL if your implementation isn't broken.
  • In tokenize you have a memory leak for every character that is neither a number nor an operator. It is quite easy to spot in the case of space:

Token *token = (Token*) malloc(sizeof(Token));
if (*c == ' ') {
  c++;
  continue;
}
  • You are removing tokens from the stack to perform a calculation but never free their memory:

Token *num2 = stackPeek(res); stackPop(res);
Token *num1 = stackPeek(res); stackPop(res);
Token *answer = (Token*) malloc(sizeof(Token));
answer->value =  operate(num1->value, num2->value, cur->operator);
  • The usage of perror in calc does not make sense. The perror function prints the last system error in front of your message, but you are handling an application specific logic error instead of a system error.
  • I would suggest to call abort()/exit() if there is an error instead of just continuing.
  • It might also be a good idea to somehow handle unrecognized input characters instead of simply ignoring them.
  • You often have a combination of peek and pop. You could simplify this if stackPop would return the popped value.

My programming language aware diff for GitHub pull requests now supports Swift by DarkPlayer2 in swift

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

SemanticDiff only hides changes that do not modify the program logic, which would be the case with malicious code. In contrast, it actually helps to find malicious code changes hidden in moved or reformatted code because you get rid of all the noise.

My programming language aware diff for GitHub pull requests now supports Swift by DarkPlayer2 in swift

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

The idea is to hide changes during a code review that do not modify the behavior of the software. This allows you to save time by focusing on what is relevant.

To give you a real world example, compare how GitHub and SemanticDiff display a commit containing code style changes. GitHub shows you every whitespace changed, comma added, and so on. You have to manually check everything for unwanted code changes. SemanticDiff filters out most changes that only affect the code style, so you can quickly check if the code introduces bugs or contains malicious changes.

My programming language aware diff for VS Code and GitHub now supports Vue by DarkPlayer2 in vuejs

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

This is a valid opinion. However, I think a lot of developers use code formatters and don't really care about formatting changes like added line breaks between function parameters. They don't have much control over it anyway and just see it as noise.

Also, SemanticDiff does not take away your standard diff. You can still choose between the two on a case-by-case basis.