• 1 Post
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle



  • Pika@lemmy.worldtoNo Stupid Questions@lemmy.worldWhat happened to NSFL?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    4
    ·
    edit-2
    1 year ago

    ok, let me clarify. Obscenity is not protected under the first amendment. Accidental gore/maiming is maybe allowed, at most it’s a grey area until its concidered obscene, however once it hits the obscenity level the supreme court has declared that it is a violation of federal law and therefore illegal. It’s a huge reason that many sites actively take the content down and have it against TOS. Most enforcement/regulation with the standing is generally in relation to minors, but it isn’t exclusive to minors.






  • I am actually debating canceling my yt premium sub over it and im going to twitch turbo, I have been progressively using yt less and less anyway and to be honest, the new price point (which was 13.99 for me) is not worth the benefits it provides. mobile queuing can be used via playlist or watch later, adverts are annoying but avoidable with new found apps approaching. Downloading for offline use is a joke, it barely has ever worked for me. Picture in Picture mode is buggy and for the most part I don’t use it. This combined with the absolute crap recommendation system they have had the last few years(like seriously its all either stuff in my watch history or stuff that is unrelated to anything I watch). I’m sure they are just following every other company but, it might just push me off lol

    Also to clarify your nuking account thing. I expect you signed up via either apple subscriptions or google play subs, both of which take a chunk out of the money given. So that might be what is going on with the price diff.



  • Yeah I fully agree typescript does help in terms of knowing what type of types you should be supplying to functions, and for the most part I do use it for non-library purpose/anything that doesn’t rely on a third party, I just feel like typescript isn’t worth it when you have data that’s returned at run time that’s controlled by a third party service. You end up coding more in class definition files then you would just using normal tests


  • So the biggest issue is the project relies extremely heavily on a third party API service, and since the data is received over said service, typescript is unable to infer what the objects the API is sending is because it sends during runtime, to get around this I have to define everything that I expect that the library is going to have to handle that would be Recieved, since any object that the API is going to return is just going to have a type of any if it’s not defined, this on top of the fact that the API has stated that the data being sent should not be relied on for being accurate and types may change randomly(usually it does not but it has happend, it sucks but out of my control) means that I generally also have to have a function level test the data when it’s received to make sure that the value is being supplied are the correct type and are formatted in a way that the library can still understand it. Which means that it’s able to catch any inconsistency of typing before it would be processed anyway, and would either warn or throw depending on how important the function is to actual operation.

    The reason why I would call it standard is because it seems like basically anywhere you look if you are using node, you’re using typescript they go hand in hand it seems as of the last two or three years, but honestly I’ve never really understood the benefit of, I’ve always thought it was a fairly standard to have at the beginning of a function the documentation of what each perimeter should be unless it is easily verified by looking at it.

    As for my setup, it’s not very advanced it’s just Sublime Text with linter hooked to it, which does tell me on save if there’s a typescript error or if I formatted something wrong, but again even if one did happen to slip through that it would fail during the testing phase due to the fact that it would throw at the function level.

    My opinion of my experience with typescript has been that it’s great if everything is operated in house, but the second you start having to deal with stuff that comes from an external source any advantage of the check just seems not worth the extra effort to make sure typescript works right.


  • I mean I guess that could be helpful, I’ve never really had that issue so I have yet to see the benefit of it. I just find it useless work that you’re typing out for something that the engine itself isn’t going to be able to see anyway, which means you’re going to have to have unit tests coded in regardless. And I wouldn’t say just a little more coding, typescript when implemented into my project doubled the amount of code provided, I’m trying to use it because I do understand it’s a standard, but I really don’t understand why it’s a universal standard, considering that everything it does is completely syntax sugar/coder side and it doesn’t actually interact with the underlying engine. I feel the same way about coffee script honestly.


  • I’m in this post and I don’t like it.

    That being said I try to have specific types in my typescript but coming from working without typescript, there’s so much more words involved using typescript and for what I use it for I don’t really see the use case. Sure it helps you realize what part of the script needs what data types but it adds so much more complexity in the code that I’m not really sure it’s worth in the first place.




  • It’s not a strict deal breaker for me, I use an Android myself. But I will definitely preach to people the differences between Apple and Android, because in the US there is a vast divide and for some reason they think that it’s a status symbol to have an Apple device, and they will boast like it’s some great thing. It’s super fun to pull up the hardware specs and show them that my phone Beats there new iPhone in almost every category. Then I end it with saying that both systems have ups and down, apples biggest Pro is going to be their interface, but if you are a techie or want actual control over the phone itself stick with Android. Most of the “incompatibilities” between the two systems, are Apple generated, meaning that they’ve gone out of the way in some way to actively forbid it. Bluetooth is a perfect example of this, Apple devices support it for audio transfer and Airdrop uses Bluetooth for its transfer medium, but you can’t transfer files strictly over Bluetooth because the functionality has been intentionally removed to allow the walled garden state.