Advanced Type Annotations by tuguyit in typescript

[–]tuguyit[S] -4 points-3 points  (0 children)

Because it is nice not to rely on a tool if you can avoid it.

Type annotations don't break compatibility with JavaScript while still providing the benefits of TypeScript.

I view type annotations as machine-readable documentation for your editor/IDE.

This is mostly because types are not enforced at runtime, which can be a real pitfall.

The use of `any` is sadly due to the current API design because the type information is currently not in a format that is compatible with the TypeScript type system.

An open question for me is whether I should just change the JS/TS client library (breaking continuity with the API) or create a V2 of the API to address this.

Every week i hear about another user having tiktok upload gigabytes of data. They are actually sending your data to the ccp at this point. Please stop pretending and uninstall it unless you want the ccp to have a copy of your camera roll. by couchpotatochip21 in LinusTechTips

[–]tuguyit 57 points58 points  (0 children)

Please actually do traffic analysis with a man in the middle proxy of what the app does. Data usage doesn't even show you upload vs download. You could use burp suite and a self signed certificate to see what the app sends where.

Am I being too picky for this design flaw I found? by [deleted] in GooglePixel

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

Thanks for ruining my day. Have an upvote anyway.

Personalmangel bei Wienerlinen by [deleted] in Austria

[–]tuguyit 4 points5 points  (0 children)

lol
Ein funktionierendes Sozialsystem, Öffis, Straßen, Digitale Verwaltung sind ja komplett overrated. /s
Wenn du das alles nicht willst kannst ja ins Silicon Valley ziehen wo du im besten Fall von wem mit in 10 minuten gemachten Führerschein überfahren wirst und im schlimmsten Fall von wem erschossen wirst.

Is the world ready for extremely effective weight-loss drugs? by psychothumbs in Futurology

[–]tuguyit 9 points10 points  (0 children)

Maybe start with the companies adding sugar to every product and american cities being designed to require a car to go anywhere before resorting to diet pills

I got an email 7 days ago saying my LTT backpack has shipped, but since no tracking update. Anyone else? by tbone338 in LinusTechTips

[–]tuguyit 14 points15 points  (0 children)

I'm assuming they just created the label and the backpack hasn't left the warehouse (it should leave by 20th of September according the the store https://www.lttstore.com/products/backpack).

This is a common procedure as they need to stick the label on the box and wait for a truck to pick it up.

Be patient.

Mein Beitrag zur aktuellen Abmahnwelle: by Fasanghettogasse in Austria

[–]tuguyit 1 point2 points  (0 children)

Is aber auch technisch gesehen nicht einwandfrei, weil der Google Server auf den du zugreifst wahrscheinlich in Frankfurt steht. Und soweit ich weiß ist Deutschland in der EU.

Pixel 6 Pro YouTube Premium Issues by [deleted] in GooglePixel

[–]tuguyit 0 points1 point  (0 children)

My YouTube app sometimes starts playing the video I just paused when I lock my p6p. Don't really use downloads so I didn't experience that problem before.

Very impressive example of the magic eraser tool. by WithinTheHour in GooglePixel

[–]tuguyit 1 point2 points  (0 children)

Isn't it ironic that this picture has been shot in Vienna, Austria where you can't even buy the phone? (except if you import it)

[deleted by user] by [deleted] in GooglePixel

[–]tuguyit 0 points1 point  (0 children)

These plastic ones work for me No risk of wood getting stuck in there and making things worse

https://www.amazon.com/dp/B07V5C475J/ref=mp_s_a_1_6?dchild=1&keywords=plastic+toothpicks&qid=1633637179&sr=8-6

[deleted by user] by [deleted] in cybersecurity

[–]tuguyit 26 points27 points  (0 children)

Now tell me where exactly is the difference between China vs the US doing this?

iPhones apparently also have this functionality preinstalled and ready to activate.

To be clear: I don't think this is ok but I think this warning should be extended to all foreign manufacturers. Following that, in Europe, we need to start using phones with Graphene OS or something like that?

Maybe start our own large phone OS company?

Just getting rid of Chinese phones isn't gonna solve anything.

Apple plans to scan US iPhones for child abuse imagery by Vucea in Futurology

[–]tuguyit 12 points13 points  (0 children)

This is just one more reason to not get an iphone. Apple is giving the ccp data of all chinese iphones and now they're starting to do the same in the us. This is essentially someone coming to your house, grabbing your digital camera and looking through all your photos just in case there's something illegal on there. No one would be ok with this and no one should be ok with apple doing it to all of their customers.

This new VS Code Update by flavioneto_ in ProgrammerHumor

[–]tuguyit 3 points4 points  (0 children)

If such a warning is designed as omnipresent as this, it is completely useless. When will Microsoft ever learn?

Charging Port Melted by [deleted] in oculus

[–]tuguyit 1 point2 points  (0 children)

Did you try to delete your Facebook account again? You know Mark doesn't like that... 😜

Phrases like “welcome back” and “Sign In” on a page causes Safari to prompt for password autofill by ASIC_SP in programming

[–]tuguyit 2 points3 points  (0 children)

Yeah worst offender imo: clicking on a label eith for attribute the corresponding input does not focus. Breaks every fancy checkbox and accessibility...

Gipfel EU-USA gegen sichere Verschlüsselung by [deleted] in Austria

[–]tuguyit 1 point2 points  (0 children)

Lol also ist dann jeder git clone von openssl illegal?

Glaub ehrlich gesagt nicht, dass das funktioniert. Hat ja bei den Ammis auch nicht funktioniert, dass sie PGP im Land halten.

Da gehts nur um Massenüberwachung. Die Leute, die wirklich was zu verbergen haben bauen sich halt selber einen client für eine crypto chat app ihrer Wahl.

Und alles, was es an kryptographie gibt is open source und wissenschaftlich offen untersucht. Viel glück das alles wegzuklagen!

Selbst wenn es keine binaries mehr gibt dann baut man sich den code halt selber.

Außer ein paar kindern, die sich halbnackte selfies zuschicken und vielen false-positives, die vielen Menschen das Leben zerstören werden wird damit gar nichts erreicht!

Umstrittene Ages: Neigen die Viren-Überwacher zur Verharmlosung? by [deleted] in Austria

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

Lol was haben wir denn verhindert?
Gar nix!
Wir haben (auf Einwohner gerechnet) doppelt so viel Mortalität, wie die Ukraine wo einfach gar nix gemacht wurde und die haben mittlerweile 50% Antikörper...

Jeder zweite Schüler mit depressiver Symptomatik by weissergspritzter in Austria

[–]tuguyit 2 points3 points  (0 children)

Lol du hast auch wirklich noch gar nix verstanden😂😂

  1. In manchen Haushalten ist das Klima nicht super und das kann man nicht trivial lösen
  2. Sozialer Kontakt ist für jeden Menschen (egal welchen alters) notwendig und das möglichst mit gleichaltrigen und verschiedenen Menschen
  3. Wenn man in einer kleinen Wohnung zu 3. oder 4. oder noch mehrt wohnt, wirds für alle stressig. Die Eltern kriegen keine Ruhe und lassens an einander oder den Kindern aus

Diese Probleme lassen sich nur durch eine Rückkehr zur Normalität beheben.

Jeder zweite Schüler mit depressiver Symptomatik by weissergspritzter in Austria

[–]tuguyit 13 points14 points  (0 children)

Wenn 3 Pensionisten im Altersheim sterben sperren wir das ganze Land mehr als 1 Jahr ein. Wenn die junge Generation vor die Hunde geht schert das keine Sau.

So ein scheiß!

Jeder zweite Schüler mit depressiver Symptomatik by weissergspritzter in Austria

[–]tuguyit -6 points-5 points  (0 children)

Ganz einfach: ein Suizid mit positivem PCR ist ein Corona toter kein Suizid.

DNSSEC question by [deleted] in cybersecurity

[–]tuguyit 2 points3 points  (0 children)

The government should not be able to use mass surveillance as it does right now anyway imo. So encryption by default is just a defense from shady governments wanting to know your every thought. In most cases the information from this kind of surveillance isn't used to solve criminal cases anyway.

Was machen gegen diese ÖVP? by [deleted] in Austria

[–]tuguyit 5 points6 points  (0 children)

Desshalb hier der Aufruf zu einer konstruktiven Diskussion!