pvik's recent activity

  1. Comment on India bans PUBG, Baidu, WeChat, Alipay, and 114 Chinese apps in the third ban wave in ~tech

    pvik
    (edited )
    Link Parent
    I guess there would be 2 step to banning a app/service within a country. A request to the app stores to remove the application from that country's store. Apple and Google have the capability to do...

    I guess there would be 2 step to banning a app/service within a country.

    • A request to the app stores to remove the application from that country's store. Apple and Google have the capability to do this and when a country's Govt. request this, they comply.
    • The Telecommunications branch of the country will blacklist the IPs used by these services.

    Obviously, people may still be able to side-load the apps and use VPN services to get around those, but I suppose the majority of folks aren't going to be bothered by it.

    2 votes
  2. Comment on The path to autocracy; A second Trump term will leave America’s political system and culture looking even more like Orbán’s Hungary in ~misc

    pvik
    Link Parent
    The Transition Integrity Project simulated various scenarios and here is their report. Tristan Wont Shut Up on youtube made a video about it as well.

    The Transition Integrity Project simulated various scenarios and here is their report.

    Tristan Wont Shut Up on youtube made a video about it as well.

    4 votes
  3. Comment on India bans PUBG, Baidu, WeChat, Alipay, and 114 Chinese apps in the third ban wave in ~tech

    pvik
    Link Parent
    Just a nitpick Crore is unitless and does not convert to INR or USD 1 Crore = 10^7 1 Crore birds would be 10^7 birds 51000 Crore INR = 51 x 10^10 INR ; Which approx. is 7 x 10^9 USD...

    Just a nitpick

    unaware of what a crore is and how it converts to INR or USD

    Crore is unitless and does not convert to INR or USD

    1 Crore = 10^7

    1 Crore birds would be 10^7 birds


    51000 Crore INR = 51 x 10^10 INR ; Which approx. is 7 x 10^9 USD
    (6,962,229,967.96USD @ 1 INR = 0.0136514 USD)


    Another Indian numbering term is lakh = 1 x 10^5

    5 votes
  4. Comment on Netflix announces they are working on an adaptation of the Chinese science-fiction trilogy "The Three-Body Problem" by Liu Cixin in ~tv

    pvik
    Link Parent
    The books were great! They were also well translated! (at least to English).

    The books were great! They were also well translated! (at least to English).

    2 votes
  5. Comment on Netflix announces they are working on an adaptation of the Chinese science-fiction trilogy "The Three-Body Problem" by Liu Cixin in ~tv

    pvik
    Link Parent
    Did not know about this, googling led me to this. I do like alternate history stories and enjoyed PKD's Man in the High Castle, what was your issue with this? edit: sp

    and that god-awful idea about a show where the Confederates won the Civil War.

    Did not know about this, googling led me to this. I do like alternate history stories and enjoyed PKD's Man in the High Castle, what was your issue with this?

    edit: sp

    7 votes
  6. Comment on Weekly coronavirus-related chat, questions, and minor updates - week of August 24 in ~health.coronavirus

    pvik
    Link Parent
    Not really surprising, given the bombardment of propaganda Republicans subscribe to where they are constantly told if not for their Lord and Savior Trump, <insert abject fear-mongering>. Anything...

    That last bit is what really gets me.

    Not really surprising, given the bombardment of propaganda Republicans subscribe to where they are constantly told if not for their Lord and Savior Trump, <insert abject fear-mongering>. Anything making Trump look bad is just fake-news.

    3 votes
  7. Comment on Weekly coronavirus-related chat, questions, and minor updates - week of August 10 in ~health.coronavirus

    pvik
    (edited )
    Link
    Thousands of Bikers gather for a Motorcycle rally in Sturgis, South Dakota that is expected to last from Aug 7-16. Expected to become a super-spreader event. Harleys Everywhere, Masks Nowhere:...
    5 votes
  8. Comment on Trump issues executive orders taking effect in forty-five days that ban "transactions" with Chinese owners of TikTok (ByteDance) and WeChat (Tencent) in ~tech

    pvik
    Link Parent
    Google and Facebook may be a bad example, but @stu2b50's point stands that China can negatively impact American economy by targetting American companies. What? How?

    Google and Facebook may be a bad example, but @stu2b50's point stands that China can negatively impact American economy by targetting American companies.

    this executive order is leveling the tech playing field.

    What? How?

    5 votes
  9. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    Link Parent
    Programming at its core is just defining logic. The programming language is just semantics on how you define your logic :) Perl is still a case-sensitive language, so be wary of that I do...

    Programming at its core is just defining logic. The programming language is just semantics on how you define your logic :)

    where capitalization and formatting are pretty flexible

    Perl is still a case-sensitive language, so be wary of that

    I do understand the frustration with tabs in python, setting up your editor or IDE for the language you are coding in can definitely help a lot in terms of avoiding language-specific annoyances like this (even for Perl).

    If you are using Perl scripts at work already, you could also fork them and add functionality to those that may make your life easier/better!

    3 votes
  10. Comment on Priya Krishna, Rick Martinez, Sohla El-Waylly exit Bon Appétit Test Kitchen in ~food

    pvik
    Link Parent
    Reminds me of this video :)

    They just need a camera guy or two and a bit of editing to make very good stuff.

    Reminds me of this video :)

    1 vote
  11. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    Link Parent
    Project Euler: A huge set of problems you can work through in any programming language. This will also help you pick up CS concepts along the way! Great to get your feet wet in a new programming...

    Project Euler: A huge set of problems you can work through in any programming language. This will also help you pick up CS concepts along the way! Great to get your feet wet in a new programming language.

    There are also sites like leetcode which aggregate coding problems.

    The above may not necessarily be fun, but would be helpful if you are trying to transition to a coding career.

    If you like Koans, there is this for Perl.

    A general advice I give to programmers who are learning a new language, is to solve a problem they have already done so in a language they already know, in their target language.

    This doesn't work for the first language you learn! so I would suggest try to pick an inconvenience that you face in your day-to-day workflow and see if you can automate it or alleviate it. (This is similar to the premise of the (free) book Automate the Boring Stuff @Deimos suggested above, however that is for python).

    If you deal with lot of reports at work, you could write a script that processes the data from those reports and displays what you want;

    or a script that lets you keep track of things to do/fix around the house, etc

    You could try building a webapp and host it locally so you and all your family members can post notes, like a digital whiteboard on the fridge, except it's on all your phones!

    You could also try building a simple game! libraries like LÖVE and pyGame have made this much easier, I am not sure how feasible this suggestion would be for perl tho.

    You should also check out the perl IRC channels and subreddit, they should be able to give you a lot more perl specific suggestions!

    Off Topic: I haven't had to use Perl in over a decade, if you don't mind me asking, what made you want to learn Perl?

    3 votes
  12. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    (edited )
    Link Parent
    This is a great book for picking up python! The author also has a course on Udemy and is currently giving it away for free (I think for another day) with coupon code COPSHOTMEINPORTLAND2 (relevant...

    This is a great book for picking up python!

    The author also has a course on Udemy and is currently giving it away for free (I think for another day) with coupon code COPSHOTMEINPORTLAND2

    (relevant reddit thread here)

    (edit: mention @crdpa for notification)

    4 votes
  13. Comment on The Good Lord Bird trailer - Ethan Hawke as Abolitionist John Brown in ~tv

    pvik
    (edited )
    Link Parent
    Agreed! After Blindspotting I would watch anything Daveed Diggs is in as well ( Guess you were rfefering to the TV show, which I did not know existed. Will have to check it out.)

    Agreed!
    After Blindspotting I would watch anything Daveed Diggs is in as well

    (Do not remember seeing him in Snowpiercer, will have to re-watch it Guess you were rfefering to the TV show, which I did not know existed. Will have to check it out.)

    1 vote
  14. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    Link Parent
    I forgot to include this in my initial post: If you go down the road of learning CommonLisp and like learning from videos, Baggers has a set of videos on setting up your CommonLisp dev environment...

    I forgot to include this in my initial post:

    If you go down the road of learning CommonLisp and like learning from videos, Baggers has a set of videos on setting up your CommonLisp dev environment and starting development here (Emacs with slime or sly adds a lot of value when working with common-lisp)

    He also has another set of videos (each avg about 5 mins long), and each one deals with a single topic in common-lisp

    I would also like to add that Common Lisp has been around for a while, which means it does have a bit of historic cruft/baggage that comes along with it, which may put off new comers to the language!

    2 votes
  15. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    Link Parent
    I am not sure if I would consider go a lower level language exactly, it is garbage collected and handles a lot of memory management (however understanding the underlying memory implications of...

    I am not sure if I would consider go a lower level language exactly, it is garbage collected and handles a lot of memory management (however understanding the underlying memory implications of your code is often needed when dealing with arrays/maps being passed around functions.)

    I would say python offers a lot more abstractions to the programmer allowing for more expressive and/or terse code to be written.

    Up until Java7 there were no lambda functions and streams in Java either, I would definitely not be calling Java7 a low level language ;)

    However the relative meaning of higher level language does factor here I suppose [1]

    The terms high-level and low-level are inherently relative. Some decades ago, the C language, and similar languages, were most often considered "high-level", as it supported concepts such as expression evaluation, parameterised recursive functions, and data types and structures, while assembly language was considered "low-level". Today, many programmers might refer to C as low-level, as it lacks a large runtime-system (no garbage collection, etc.), basically supports only scalar operations, and provides direct memory addressing.

    3 votes
  16. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    Link Parent
    Go is by design a very small language which can be learnt fairly quickly (excluding channels and goroutines the language can be taught in a few hours) This may cause it to be more verbose, as in...

    Go is by design a very small language which can be learnt fairly quickly (excluding channels and goroutines the language can be taught in a few hours) This may cause it to be more verbose, as in explicitly having to loop over an array, etc.

    Python does also include imperative loops similar to go, however python also has functional constructs like list comprehensions, lambda functions, fold, map-reduce, etc which is what I believe you are referring to.
    These are just functional concepts sprinkled in python :)

    I think the Learn you A Haskell for Great Good! book does an excellent job at explaining these basic functional concepts, this books explains these in terms of Haskell but the core concepts remain the same if you are going to be applying them in python or Java or some other language that supports those constructs (this chapter deals with list comprehensions and this chapter that deals with folds and map-reduce)

    3 votes
  17. Comment on ‘Mulan’ to skip theaters for $30 rental (September 4th on the Disney Plus platform) in ~movies

    pvik
    Link Parent
    That would on an average be 3 movie tickets in the US as well, however in most cities the cost of 3 tickets for a Disney movie is going to be much more (probably closer to $40-$45). (Anecdotally...

    $30? I assume that's US dollars, so it's about $42 Australian dollars - which is equivalent to about 3 cinema tickets, give or take.

    That would on an average be 3 movie tickets in the US as well, however in most cities the cost of 3 tickets for a Disney movie is going to be much more (probably closer to $40-$45). (Anecdotally the last few movies I saw in the theaters have all costed me about ~$45 for just 2 tickets, within the first few weeks of release)

    For a lot of families, getting access to a new Disney movie for unlimited number of repeat viewing for $30 would be a no-brainer. Especially in the current climate with people stuck at home. For most American families it would also be much cheaper than actually going to the movies, not having to shell out at the concession stand to get snacks and drinks for the kids, it only get cheaper the more kids in the family!
    I am sure Disney has a lot of smart accountants/analysts who arrived at this pricing.

    Also, to be honest, most people buying this are not going to be factoring in the cost of TV, seats etc at home when comparing the price of this against the price of taking the kids to the theaters to see this movie. If a movie I really wanted to see was being released this way, I sure wouldn't be considering the cost of my TV, Couch, etc (those exist irrespective of whether I purchase this movie from Disney or not). The cost of snacks at home are also going to be exponentially cheaper than what you would be buying at the concession stand.

    The fact that they're not willing to hold off for a year to release this movie which needs to be seen in cinemas tells me they're desperate for cash. This isn't about a new business model, or delivering what fans want. Disney needs cashflow - simple as that.

    Sure, Disney isn't raking in the dough with their parks mostly closed or devoid of patrons. The way I see it Disney is trying a different model. Distributing movies to people for a premium for almost no overhead on their part is just pure profit, and depending on how aggressively they market these movies being released to their platform, I am sure a lot of kids would be clamoring to get their parents to buy the new Disney movie. From a business perspective it makes total sense! Netflix for all its popularity has not been able to be profitable yet, and I wouldn't be surprised if they tried something similar as well.

    I am not happy about this model of distributing movies, but I can see the business sense in them wanting to do it. I am also afraid more streaming services are going to follow suit and start releasing "premium" content, which you will have to pay extra for.

    5 votes
  18. Comment on Fortnightly Programming Q&A Thread in ~comp

    pvik
    (edited )
    Link Parent
    In terms of learning new programming concepts I would suggest the following: Haskell Purely functional language. Java has been introducing functional concepts slowly (lambda functions, map,...

    In terms of learning new programming concepts I would suggest the following:

    Haskell

    Purely functional language. Java has been introducing functional concepts slowly (lambda functions, map, reduce, etc), but in Haskell you will be forced to do everything in the functional paradigm.

    Learn you a Haskell for Great Good is a great starting point.

    Lisp

    I would suggest Scheme or Common Lisp. There is a reason lisp has influenced so many languages and to this day continues to be used. A few things to expect:
    * hot code reloading and pretty great introspection capabilities with the runtime
    * One of the best object system out there (CLOS)
    * Macros which allows you to manipulate AST directly.

    Practical Common Lisp and Land of Lisp are nice books to start learning common lisp.
    I will also be remiss if I do not suggest SICP

    Rust

    Memory management using borrow-checker. Coming from C, this would be a great language to learn.

    The Rust Programming language book is great and is what I used.

    Erlang/Elixir

    Concurrency with Actor model (You can try Akka in Java to get a taste).

    Learn you Some Erlang for Great Good in the same vein as the Haskell book is nice.

    Edit: You can also check Clojure, if you want to try out a lisp that runs in JVM. It is not CommonLisp, but is still a lisp [1].
    There is also Hy for python

    6 votes
  19. Comment on Which gaming account should I get/setup for my teen daughter? in ~games

    pvik
    Link Parent
    I thought PS Now was only for PS2 and PS3 games, thanks for the correction.

    I thought PS Now was only for PS2 and PS3 games, thanks for the correction.

    3 votes
  20. Comment on Which gaming account should I get/setup for my teen daughter? in ~games

    pvik
    (edited )
    Link
    A few quick points: You can sign up for a PSN account, You can use it chat with other friends from your phone, etc As @Grendel pointed out, you can use PS Now on PC to play PS games. It depends on...

    A few quick points:

    • You can sign up for a PSN account, but you cannot use it to play games from a PC
      • You can use it chat with other friends from your phone, etc
      • As @Grendel pointed out, you can use PS Now on PC to play PS games.
    • It depends on the game if it supports cross-platform multiplayer (i.e. allows players from different consoles and PC to play a game together). As far as I can tell, most games do not.
    • Playstation 5 is expected to come out towards Christmas 2020, or early next year; which would likely mean your Kids rich friends would most probably get that.
      • PS5 is going to be backwards compatible with PS4 games, so they might still be playing PS4 games, but expect them to move over to PS5 exclusives.
      • This might however drop the price of PS4
    3 votes