HNHacker News
TopNewBestAskShowJobs

maybeOneDay

261 karma · joined June 18, 2020

submissionscomments
maybeOneDay··on I am a heroin user. I do not have a drug problem
What would you characterize as a benefit? Medical, certainly. Recreationally, certainly (it feels good). Socially, I imagine so for some people and some doses.

Here's a reddit famous account from someone claiming to be an opiate addict that some find enlightening/haunting: https://www.reddit.com/r/IAmA/comments/wnj2d/iama_heroin_add...

maybeOneDay··on I am a heroin user. I do not have a drug problem
Black market incentivises dealers doing things like mixing fentanyl into heroin in order to make it vastly more profitable (fentanyl is cheap and incredibly potent), with the side effect of increasing its deadliness massively.

Users often mix heroin with benzos and/or alcohol which increases the level of risk enormously. The vast majority of overdoses are caused by mixing CNS depressants in with heroin, not by heroin use alone.

If you can't get a steady supply then withdrawals are vicious and can cause a host of other problems (crime in order to get money for more heroin being a commonly cited one).

One of the ways that heroin itself can cause overdose deaths is relapses - users may take a dose that they were previously tolerant to. I believe this is still far less of a danger than combining with other substances.

maybeOneDay··on Implementing the Elo Rating System (2020)
This is what rocket league uses. While it can be unpleasant as a high ranked player to jump in a lobby with your much less skilled friend, overall the matchmaking system and equality of matches is in my opinion utterly fantastic
maybeOneDay··on Implementing the Elo Rating System (2020)
I accept your premise and the fact that matchmaking is hard but:

> You could, for example, play 100 matches where you were given the closest opponent but at a disadvantage for every single match.

not really, you'd derank aggressively and end up playing people at a lower level and presumably winning comfortably after some time.

maybeOneDay··on Domestic Terrorism Prevention Act (DTPA) of 2021 Introduced in House
From what I've seen, Americans on either side of the political spectrum react exactly as you might suspect.

Those on the left have often maintained BLM movement was largely peaceful and characterise the rioting elements as a symptom of oppression rather than terrorism. They often make the comparison that even the most violent aspects of BLM were not trying to overthrow federal government and a democratic election (which they call treason). There are also comparisons drawn between videos of peaceful BLM protestors being pepper sprayed for sitting down on the floor and videos of capitol police taking selfies with the capitol protest moments before it became an insurrection (and removing barriers).

Those on the right often view this as hypocrisy, say that the BLM protests were acts of domestic terrorism and largely not peaceful. There is a divide within the right as to whether the election was indeed "stolen" and therefore tend to be either sympathetic or massively condemn the invasion of the capitol.

This is just my opinion from what I've seen on the internet over the last few weeks and months, I'm aware it's essentially anecdata.

maybeOneDay··on Domestic Terrorism Prevention Act (DTPA) of 2021 Introduced in House
> "After 911, our government correctly took bold steps to defend American lives against foreign terrorism, and prevent another attack against our nation." said Rep. Lou Correa (CA-46).

I haven't followed this Act at all (not a US citizen), but a direct comparison to the Patriot Act does not bode well.

maybeOneDay··on Bison rangers wanted to oversee U.K. herd
Excellent, thanks for the chuckle.
maybeOneDay··on Double Blind Passwords a.k.a. Horcruxing
They'd still need your master pass phrase though? So the security is only as flawed as a password manager
maybeOneDay··on Tesco removes 20M items of plastic from Christmas range
The UK recently required a 5p charge for plastic bags. As far as I'm aware this has seen an excellent reduction in usage (even that tiny incentive is enough to make customers grab a bag from home instead of being lazy) and hasn't induced a switch to paper bags.
maybeOneDay··on CD Projekt Conference Call with the Management Board [pdf] (Dec 14)
I believe tsss is referring to things such as terrible AI on PC, and other complaints about the game such as a lack of interactability with the world outside of quests. Not bugs necessarily (although the AI certainly is in a grey area) but issues with the game, certainly. Whether they'll be fixed remains to be seen
maybeOneDay··on Record Breaking Number of Journalists Arrested in the U.S. This Year
If you're so keen on implying it, wouldn't it be more honest to phrase your sentence accurately?

> Black people seem to physically resist arrest more than others. That's really not a smart thing to do, and leads to related stats like that.

maybeOneDay··on Record Breaking Number of Journalists Arrested in the U.S. This Year
I think this comment is dangerous as it legitimises the (clearly documented) widespread arrests of openly marked journalists behaving entirely non aggressively, almost surely because they were pointing cameras at police officers behaving violently. Whether or not you think that the police violence was justified (disclaimer: I don't, at all. I think the psuedo military tactics US police demonstrated were the opposite of sensible de escalation strategy) I'd be surprised if you think that police should have the power to decide whether or not they are filmed.
maybeOneDay··on .NET 5.0
The "mass" of code is an API controller, not just a way to get settings. It's an example of config use in real code. There are roughly 4 lines of code to get two variables out of the settings.json. This scales quite nicely - if we needed 8 different variables from settings then it would be 10 lines of code for 8 variables.

Sure, it could be done in one line. My point wasn't to say that this is the most terse environmental variable code possible. My point was to say that it's disingenuous to say "look at the sheer length of that answer" as a way to state that the way to get env variables is hugely bloated. It's literally one ctor param and one private variable. If you don't like that for stylistic reasons, that's fine. I understand the argument saying "there should just be a static class with a readonly prop per variable", I just don't think that this particular code is in real terms actually any worse.

maybeOneDay··on .NET 5.0
The sheer length of the answer? That's because it shows optional, more advanced ways to get config stuff.

Is this so hard?

    public class AccountController : Controller
    {
        private readonly IConfiguration _config;
    
        public AccountController(IConfiguration config)
        {
            _config = config;
        }
    
        public IActionResult ResetPassword(int userId, string code)
        {
            var vm = new ResetPasswordViewModel
            {
                PasswordRequiredLength = _config.GetValue<int>(
                    "AppIdentitySettings:Password:RequiredLength"),
                RequireUppercase = _config.GetValue<bool>(
                    "AppIdentitySettings:Password:RequireUppercase")
            };
    
            return View(vm);
        }
    }
maybeOneDay··on Facebook widens ban on political ads as alarm rises over election
Perhaps I'm misunderstanding but does this not potentially incentivise political organisations running their opposition's ads (it's probably feasible to do so in such a way that they don't really reach anyone) and then reporting the infractions and thereby getting their opposition punished?
maybeOneDay··on Covid-19: UK faces 50k cases a day by October without action
What's the betting the UK Government puts off action until comfortably after the ideal time to enforce restrictions once more?
maybeOneDay··on Rocket League now requires an Epic account to play, even through Steam
This isn't an argument in support of Epic account requirements, but they never lied about it. See here from the initial announcement: https://www.reddit.com/r/RocketLeague/comments/i7vhcd/_/g14e...

Edit: Also from the text of the announcement blog post on cross account progression: "Rocket League’s cross-platform progression is made possible with an Epic Games Account. So, creating one or signing into your existing Epic Games Account is the first step of the process. You'll be prompted to do this when you start up Rocket League for the first time after the update. Once that's completed, there are a couple of different ways to connect your Rocket League platforms to your Epic Games Account and complete the process for cross-platform progression. "

maybeOneDay··on A-Levels: The Model is not the Student
A single or few data point(s) of less privileged people managing to work hard and become hugely successful is not a valid argument against:

> It's an outright lie, because the reality has always been "Go to the right school and have the right parents and get ahead."

There have been and will always be exceptions, cherry picking a few of these is a form of straw man.

maybeOneDay··on Saying thanks: testing a new Reactions feature
Stackoverflow have pretty solid metrics that show large numbers of users find the site unwelcoming. Just because you aren't one of those people doesn't mean that other people can't benefit from changes like this.
maybeOneDay··on A concise guide to the latest Go generics draft design
If this is in reference to my bringing up of C# - I did so in order to talk about whether or not Go has generic constraints which are unique (which would be awesome!). I used C# as an example of a language that has constraints that are the same as/as powerful as those in this Go proposal so as not to be making an unsubstantiated claim.
maybeOneDay··on A concise guide to the latest Go generics draft design
I was questioning the uniqueness of the feature is all - it seems to me that there isn't anything unique about the constraints available in Go.
maybeOneDay··on A concise guide to the latest Go generics draft design
Unless I'm missing something I can't see any constraining ability that isn't possible in C#[0], for example?

[0] https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...

← PreviousPage 3 of 3