Spyke

Posts

lemmydev·Lemmy App Development byHerrLewakaas

API sometimes returns no posts and comments

Sometimes an API request returns {"comments":[]} and {"posts":[]} respectively, for a post and community, where posts and comments show up on the web frontend. Is that happening to any of you too? How do I handle it?

Edit: did some more testing, it's most definitely a federation issue. If I query the instance that the post was made on for the comments, everything works fine. If I query my home instance, the result comes back empty.

Edit 2: As always, just after publicly showcasing my lack of programming abilities, I discover it's been me the entire time. Make sure to await promises and to fetch posts from the correct instance, guys.

View original on feddit.de
roosterapp·Rooster, a Lemmy readerbyHerrLewakaas

A sneak peak at my Lemmy app for android: Rooster

As a fun project, I started developing an Android app for myself a few weeks ago, because I already missed Boost for Reddit, even though it's still usable. So I took Boost as an inspiration and started working. It's come quite far and I have decided to publish it on Google Play, in case others feel the same way. It's still lacking some features, most notably the ability to see when someone sent you a message or replied to your comments, as well as the ability to create posts, but for casual lurking it's already quite nice I think. It will hit Play Store in a fews days.

View original on feddit.de
6

Wieviel ist mein Fahrrad wert?

Servus zusammen. Ich will bald mein Firmenfahrrad von meinem AG abkaufen und muss dazu wissen, wieviel es ca. noch wert ist. Dabei wärs mir natürlich lieb, wenn der Betrag so niedrig wie möglich aber trotzdem begründbar ist.

Ein paar Fakten zum Fahrrad:

  • Modell: Rose Backroad GRX RX810 Di2
  • Alter: ca. 1 Jahr
  • Kilometerstand: ca. 2000km
  • Neupreis aktuell: 3.599€
  • Zustand: Leichte Gebrauchsspuren, u.a. kleinere Kratzer und ein großer, bei dem das Carbon bereits rausschaut

Zusätzliche Infos: Das Rad ist aktuell in der Werkstatt weil es hinten einen brutalen Achter hat und mir eine Speiche rausgeflogen ist (anderes Thema).

Meine Recherchen haben ergeben dass ein Fahrrad im ersten Jahr ca. 30% seines Werts verliert. Weil ich relativ viel damit gefahren bin würde ich den Prozentsatz evtl. sogar noch ein bisschen steigern. Das gleiche Fahrrad wird auf Ebay für zwischen 2.950€ und 2.500€ angeboten, allerdings sind die Räder quasi wie neu und kaum gefahren.

Wieviel meint ihr kann ich dem AG bieten? Ich will hier keine Brücken verbrennen, aber ich habe nicht vor hier nochmal zu arbeiten, also wenn die leicht genervt sind ist mir das recht. Ich hätte jetzt mal so 2500€ geboten.

Vielen Dank euch! :-)

View original on feddit.de
7

You reached the end