• 3 Posts
  • 77 Comments
Joined 2 年前
cake
Cake day: 2023年6月20日

help-circle
  • i second the comment that you need to consider why you want to do this. You generally need a pretty good reason to split your codebase into multiple languages.

    As far as actually doing it, you have a ton of different options, some of which have been mentioned here. Some i can think of off the top of my head:

    • create a library (dll or so file or the like)
    • set up a web server and use communication protocols (either web socket or rest API or the like)
    • use a 3rd party communication/messaging framework like MQ or kafka or something
    • create your own method of communication. Something like reading and writing to a file on disk, or a database and acting on the information plopped in

    basically every approach is going to require you to come up with some sort of API that the two work together through, though, an API in the generic sense is basically a shared contract two disconnected pieces of code use to communicate.





  • They were ripping off both their users and anyone using affiliate links (including the content creators who promoted them)

    During checkout, when you clicked the “find coupon” button in honey (which it prompted you to do on screen during checkout), it would strip out any affiliate link and add their own. So if you clicked on a product from a review, they would strip out the referral link from the YouTube video or website that sent you and indicate they sent you instead and get the commission.

    In addition, they were working with online retailers and basically extorting them. They said that if retailers paid them a fee, they got to pick the discount code that was used during checkout. So if there was a 20% coupon and a 5% coupon, stores could pay them to ignore the 20%.

    This, in turn, was basically faking out their users, thinking they were giving them the “best deal” like they claimed to.


  • You’ve obviously gotten the base level answer, but to add some color here - certain types of food, such as dried pasta, rice, beans, grains, high proof alcohol, vinegars, and basically anything frozen to name a few, never spoil in the sense that they’re unsafe to eat.

    Flavor, however, is an entirely different matter. Just ask anyone who has eaten freezer burnt food.

    Pretty much any high proof alcohol will fall into this category. And, if it’s unopened, it should retain most of its flavor for a very long time. Once opened, however, it can deteriorate relatively quickly, depending on how it was stored.



  • yeah, its hard to predict what will happen to it, especially after gabe steps down or dies, but depending on how much of the company is broadly owned by employees vs individuals, it can help to shield it from bad decisions. Unfortunately, we don’t know the exact numbers. If gabe + mike own 51+% then it could potentially lead to overriding employee will in a bad decision for money (either through their actions or through inheritance like you say). Or the employees could just collectively make a bad decision too.













  • As an interviewer, I think that certs are only useful if you take the test with a different company than you studied with. So I don’t think I’d care if you have a coursera cert, because I’d assume it just meant you finished the course that you paid for.

    It’s worth noting that some coursera courses are created and maintained by actually accredited institutions, and some courses qualify as college credit with ACE accreditation. Also, many tech certifications host their courses on coursera too, like microsoft has official azure cert courses on there.

    That doesn’t necessarily mean anything for any given random cert, though, because that means that the entire site is a pretty big grab bag in terms of the usefulness of their certs.