Skip Navigation

Posts
0
Comments
51
Joined
2 yr. ago

  • There's a really big difference between a college kid dealing weed to his friends and a fentanyl distributor. There are some substances you just can't allow to move freely through the country.

    Are you aware of how little fentanyl it takes to kill someone? How badly heroin addiction changes people and ruins their lives? I am absolutely in favour of more lax rulings on recreational drugs, but not ones so completely destructive and destabilizing.

  • What? You expect the FDA to conduct raids on cartels trafficking fentanyl and heroin?

  • But that's functionally no different than what's already there...

    The reason the lines are so long isn't because of anything Java related, it's because of the field names themselves.

  • That is an interesting point, but it's not Java specific, you could do this exact thing in most other languages and it would look pretty much the same.

    Considering the fact that in a lot of enterprise projects the data structures are not necessarily open to change, how would you prevent reaching through objects like this?

  • This just tells me you don't use Java. Factory classes are just used to create objects in a standardized way, but this code isn't creating anything, it's just getting nested fields from already instantiated objects.

  • Sure, but most of the lines in the screenshot break down to:

    object1.setA(object2.getX().getY().getZ().getI().getJ().getK().getE().getF(i).getG().toString())

    Aside from creating a method inside the class (which you should probably do here in Java too) how would another language do this in a cleaner way?

  • Sadge

    Jump
  • If you honestly believe the standard, sterile, grandma-friendly, value-brand emojis typically available to mobile devices convey tone and response in the same way then nothing I could say would convince you otherwise.

    That's not to mention the fact that non-mobile devices typically have no emoji keyboard available.

  • Sadge

    Jump
  • We unironically need these Twitch/pepe emotes to spread further, they're great for quickly and easily conveying a tone or emotion.

    There's a massive range of these emotes that we're all missing out on... Madge

  • 50% ad revenue says otherwise

  • One of the topics I've seen become more prevalent in recent years is the idea of limiting your use of privacy addons and softwares, with the aim of trying to prevent your fingerprint becoming too unique.

    For example, there are probably a billion users with 21 inch monitors, running Windows 11, browsing on Google Chrome. Providing them with that information just makes you one more in the bunch, but if you stack up privacy addons you end up creating a more easily identifiable picture of yourself through the hole you created by hiding information.

  • Like most things, it's about balance. All changes to open source software must be approved by the community managing it, and if that community is lazy or poorly managed or simply too busy then there's an opportunity for new vulnerabilities to be created, either accidentally or maliciously.

    But for well managed software, as other people have said you can get more changes more frequently, more security as many people are evaluating the code base, and greater attention to what users want rather than what's profitable. Whereas with closed source software there is a greater focus on profitability, and sometimes that leaves vulnerabilities open when development is rushed and/or vulnerabilities are not seen as important enough to justify the cost to fix, but sometimes that tendancy towards profitability can also ensure the product stays a market leader. Steam may be a good example of a good closed source product.

  • It would be interesting to see exactly how Meta is managing to block VPN users. Is it simply a matter of looking up instagram or facebook account related to email addresses used to sign up? Is it evaluating some sort of browser fingerprint? That's assuming VPN users are doing so via desktop, if it's an Android device for example is the OS itself providing information that's not getting obfuscated by the VPN?

  • This is the issue with the new "own nothing, subscription only" and "if you're not the customer, you're the product" type models. Everyone went to Threads to take a look at the brand new thing, but now everyone has seen the new thing they're gone.

    All the hype that was built up initially based on that curiosity comes across as arrogance and empty promises as users inevitably get bored of the new shiny thing that's really just another attempt to harvest them for their metadata and ad-sense.

  • Yes, fair correction. Perhaps that is a point itself, the way debates between political opponents are presented as formal and official when in fact they are entirely at the whim of the broadcaster and the politicians involved.

  • Is it not? I was under the belief that official political debates have a large influence on the format and rules of these debate clubs.

    If not, it shouldn't be that difficult to verify whether competitor's statements are backed by evidence, or if they're made up, or if they're really opinions disguised as facts.

  • That's because that's how politics works. If you can get enough people to believe that what you say is true and act on that belief, it doesn't really matter whether it's actually true or not.

  • I don't know if I'd go that far. If you're talking about a quick script then sure, whatever gets the job done. But for any actual project the use of good, consistent typing does a lot for readability and future-proofing. And in strongly-typed languages it can have a notable affect on the overall functionality too.

    If you can't tell from context whether something is a float or if it'll overflow the int max then you probably need to re-think the entire method.

  • This isn't the exact recipe for OPs mushrooms, but I have a similar recipe:

    Bacon lardons, challot, garlic, red wine, parsley, button mushrooms.

    Peel and slice the challot, add to hot oiled pan with bacon and garlic. Once they're softened/sizzling turn heat down to medium, optionally add splash of red wine and stir in, then add mushrooms. Stir to coat, cook until ready, add shredded parsley on top.

    Can be turned in to a full meal by adding fresh cream and cheese to create a sauce, add another ingredient (I like to pre-cook courgette or sausage and slice them up), and then stir in your pasta of choice. And of course season to perfect it.

  • But it's definitely only part of the solution, that alone is not enough, but nothing else will have a strong effect while so many guns are on the streets and easily accessible.

    No I didn't, I think I was pretty clear. We need to reduce the number of guns available, nothing else will be effective until we do. I do believe any solution that does not involve removing guns at some point is incomplete. But removing guns on its own is not enough.