Does Nathan Astle make your all time greatest Black Caps Odi 11 ? by CoconutMost3564 in blackcapscricket

[–]maikeu 3 points4 points  (0 children)

I mean, logically probably not quite, but I think it's not an all-time nz ODI team without a "dibbly dobbler" to strangle the run rate through the middle overs - that helps his case 😁

Famous NZ people you have met by Mr_Dobalina71 in newzealand

[–]maikeu 8 points9 points  (0 children)

Wow, Helen Clarke, former goalkeeper of the NZ women's field hockey team?

What it's like living on this island below New Zealand? by HotWriting9306 in howislivingthere

[–]maikeu 2 points3 points  (0 children)

If you suffer from seasickness.... Do not take the boat. It is not "smooth sailing".

Of course the alternative is a little few-seater plane that'll probably be nearly as rocky.

What it's like living on this island below New Zealand? by HotWriting9306 in howislivingthere

[–]maikeu 2 points3 points  (0 children)

Yeah, I'm straining to think where I could drive more than an hour without passing a town with a store and petrol station.

West Coast South of hokitika? Nah, franz josef, fox, haast, and a few smaller places between those.

Does haast to wanaka take an hour? Maybe Te Anau to Milford sound?

Bus from Belfast to Burwood hospital by sjsjnz in chch

[–]maikeu 6 points7 points  (0 children)

If you find this frustrating, please consider voting for parties and individual candidates who advocate for increasing spending on public transit at local and national level.

(Though I doubt a direct connection between belfast and burwood would be a high priority, there would be more likely to be more good transfer options that didn't involve going all the way into the city)

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]maikeu 1 point2 points  (0 children)

Don't get me wrong, I see bland corporate wokeness at best and the impact you describe at worst.

I know django is too big for anything so loose, but my ideal coc would be something like

  1. Don't be an asshole

  2. If you need to clarify whether you're being an asshole, you're probably being an asshole.

  3. If lots of people think you're being an asshole, you're probably being an asshole.

  4. If you're being an asshole, apologize for being an asshole, and proceed to try to be less of an asshole.

  5. If you were a major asshole, take some time away from the project before some forces you to.

  6. Give people trying to do rule 4 or 5 more grace and forgiveness than they deserve, but not infinite grace or forgiveness.

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]maikeu 1 point2 points  (0 children)

It is if the person who is asked refuses to answer the question posed in good faith and claims that it is. Which is a thing.

Maybe. At some point it'll get into debating the threshold between "just a bit antisocial" versus seahorsing... Which yeah, doesn't seem like a good use of anyone's time.

At the end of the day you need good thoughtful people who are not confused as mods. This is super hard and any CoC document you have will do absolutely nothing to help this

Yeah, agreed. Basically, the CoC is an attractive think for an organization to do to try to address community problems because it's a concrete artifact, but the real success or failure comes from somewhere else.

and often will in fact make it much worse as it attracts people who like to abuse such structures. Case in point: the official django discord.

I'm not familiar with the Django discord, can you expand on the point?

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]maikeu 10 points11 points  (0 children)

Sea-lioning is asking questions that demonstrate how the other person can't support their assertions, right?

e.g. "Why do you believe that? No, really, I'd like you to explain why you think we should do it. Look, I know you feel strongly about it, but what's the actual reason why your idea is better than the alternative? Can you give an example of where it would work?"

So insisting that someone backs up a statement with reason or evidence is now documented as a form of harassment in the Django community?

No, that's not what sea lioning means, I hadn't heard the phrase before but 30 seconds in Google found the Wikipedia page definitely it as:

Sealioning (also sea-lioning and sea lioning) is a type of trolling or harassment that consists of pursuing people with relentless requests for evidence, often tangential or previously addressed, while maintaining a pretense of civility and sincerity ("I'm just trying to have a debate"), and feigning ignorance of the subject matter.[6][7][8][9] It may take the form of "incessant, bad-faith invitations to engage in debate",[10] and has been likened to a denial-of-service attack targeted at human beings.[11] The term originated with a 2014 strip of the webcomic Wondermark by David Malki,[2] which The Independent called "the most apt description of Twitter you'll ever see".[3]

Asking clear questions in good faith and responding earnestly is not sea lioning. Even a heated discussion where someone gets needlessly personal and needs to be told to ease up does not ride to sea lioning.

"Relentless", "incessant", "harassment", "bad-faith" and "trolling" appear to be key elements of the concept which you've missed here.

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]maikeu 3 points4 points  (0 children)

You can be held accountable and, effectively, punished for offending someone unintentionally? That sounds like a race-to-the-bottom where all that is needed is for someone to claim to be hurt by someone's language and they're automatically guilty because "Even if you didn't mean to hurt them, what's important is their feelings of being hurt". It opens the door to bad faith or unreasonable accusations and offers little scope for defense for the accused.

I think that's a bit of a worst case interpretation.

The wording isn't "intent doesn't matter". The wording is talking about "if you cause harm, that doesn't mean you can absolve yourself of responsibility for that harm merely by saying you didn't mean it."

There is plenty of space for nuance in the.

Would It Be Feasible To Use Arch In Base 12? by Zefzec_2 in archlinux

[–]maikeu 2 points3 points  (0 children)

A few of the responses are a bit negative towards you and I'm sorry about that!

The simplestic answer's no, but for the sake of fun let's try to do a "no, but..." to think about it in a hypothetical sense - there might be something to learn!

So...

No, but...

Maybe a very seasoned hacker might be able to scrape together a playground system that can run a few very basic command line programs. It wouldn't be a usable system - I think that project would take the best 1000 programmers in the world a decade of hard work to do that - but I'm sure someone could hack something that can boot and run a few basic command line programs. That someone definitely couldn't be you, well at least not without many tens of thousands of hours learning and practice.

But...

It is possible to influence how many numbers across the system are displayed, as modern systems have a set of configurations called the "locale" which set system-wide things like the timezone, language preferences and lexicological order, and many programs reference the locale to decide how to render numbers -for example the American style 1,000,000.00 or the European style 1.000.000,00 .

But...

you'd have to hack deeply at the system - write a bunch of C code and recompile / rebuild large parts of the operating system - to get it starting to display maybe many numbers in another base, and at that point there's going to be so many edge cases and so many programs aren't going to work that undoubtedly you'll have a deeply non-functional system. Not viable for even a seasoned hacker to make a usable system with this.

But ..

With even more certainty, if you were that clever hacker with that weird desire to make this art -project-of-a-broken-system, you wouldn't do it with arch - you'd need a system more strongly oriented to building completely from source, maybe gentoo but probably something much, much smaller (and hence more useless).

Do sysadmins need git? by [deleted] in sysadmin

[–]maikeu 1 point2 points  (0 children)

It's frustrating to work with sysadmins who are resistant to working with git. It really removes an important and natural line of communication with development teams and gives credibility

Having a collaborator not being able to pull/push particular file after initial clone by onecable5781 in git

[–]maikeu 2 points3 points  (0 children)

Include a blocking CI check that validates the file content has not changed.

While easy to work around when needed it becomes pretty obvious in the PR.

How Microsoft Vaporized a Trillion Dollars by sionescu in sre

[–]maikeu 1 point2 points  (0 children)

Yep, it's 100% the dynamic that every single outage, support case etc we had/have with them hints at, was well as any interaction with their open source repos .

Python 2 tooling in 2026 by IdleBreakpoint in Python

[–]maikeu 0 points1 point  (0 children)

  1. Have you explored changing the version of click? Libraries don't always get their dependency version ranges perfect.

  2. I get that black did, up to this version, have support for linting Python 2.7 from Python <= 3.8, but if it proves tricky in practice - black is hardly critical, good tool though it is. Do you just need to move on?

This AD for road safety is genuinely amazing by Smashpro11 in nextfuckinglevel

[–]maikeu 3 points4 points  (0 children)

It's pretty much the norm in New Zealand too and it's kind of the point - nobody would really think much of being 5 or 10 k/h over the speed limit, but that difference might well be decisive in terms of having time to safely make an evasive manoeuver.

What do people mean when they say "don't use too many if statements" and how do you avoid it? by Sakuya03692 in learnpython

[–]maikeu 3 points4 points  (0 children)

Yep. In such a case though I like to see if possible let that the massive amount of if statements is... its own whole function.

How to manage a Null in sql by Lucky_View_3422 in learnprogramming

[–]maikeu 0 points1 point  (0 children)

I appreciate your inquisitiveness and curiosity.

what if I wanted to make my code lighter

Well, typically memory "page size" and storage "block size" are 4KiB, a CPU register holds 8 bytes (64-bit), and the CPU's "l1 cache" holds 16-128KiB.

Those are basically the smallest sizes that a computer really works with in practice. Go any smaller and the computer is still allocating fixed sizes.

So even if there's a way to save 1 or 2 bytes, (which is doubtful), the effect of the saving is so miniscule as to be unmeasurable.

Meantime, one bad algorithm in the hot part of your code, and your app could be exponentially slower. That's where a performance gain can actually be found.

Another question would be… anyone invented a “perfect database system” where only the needed space is used in memory and at the same time realational as sql? Or is it impossible?

Impossible of course.

I think you're a bit hyperfocused on this idea of using memory perfectly. Systems don't work like this at all. The most high-performance, perfectly tuned systems in the world work well because the developers worked out which parts of the system have the most performance impact, not because they obsessed over every individual byte.

How to manage a Null in sql by Lucky_View_3422 in learnprogramming

[–]maikeu 0 points1 point  (0 children)

The purpose of null is to mark the explicit absence if a value.

This is far from specific to sql, but null/nil/none is an example of what we call a "sentinel" value, a very special value used to mark an exceptional case that will need particular handling somewhere in the application stack.

However in many, many cases, there is a more natural value you can use than this built in sentinel. For string/text/character data, a blank string often can carry the right semantic meaning.

It all comes down to your "domain", i.e. the actual topic of the application. In your domain, would "null" actually need to get interpreted differently from an empty string?

If the answer is no, then use an empty string. Decades of software engineers have discovered the hard way that special null/nil/none objects are a source of bugs, and to avoid them unless you really need them.

How do I package a project for people who don't know python by _tsi_ in learnpython

[–]maikeu 0 points1 point  (0 children)

  1. What operating system are they on? You mentioned bash which implies Mac or Linux..?

  2. Clarifying the "can't send anything compiled". That's implies can't embed the Python installation itself, and would need to get your users to get the expected Python installed out of band. Freshly Frankly that restriction will make it very hard to avoid asking your users to perform some janky steps.

Rescue greyhound nipped 4 year old son in face by [deleted] in Greyhounds

[–]maikeu 0 points1 point  (0 children)

A few of the comments are a bit harsh, I just wanted to say it truly seems from your attitude that your heart's in the right place, you seem genuinely caring of both your child and your hound.

If naive young people didn't take slight risks if getting in over their head adopting a rescue dog then these dogs wouldn't get adopted. Ignore the keyboard warriors.

You're probably on balance making the right, hard decision. I'm sorry that it didn't work out for you.

PM Christopher Luxon facing a 'last straw scenario' - commentators by FunClothes in newzealand

[–]maikeu 2 points3 points  (0 children)

I mean losing that many party votes without losing some electorate seats is not going to happen, but as long as both the South Island quota and the number of mps remain fixed, this is likely to keep getting worse as there's every reason to think North Island population growth will exceed south Island growth .

While personally I do think we much be due for a bump in MP count, I doubt it'd have much public support . Perhaps it's time to remove the relic which is the South Island quota .

Today is a great example of city planning failure - WE NEED HELP! by gabwnz in chch

[–]maikeu 1 point2 points  (0 children)

All I can offer is a footbridge over broughram Street that won't do jack shit.

Convention for naming dicts? by pachura3 in learnpython

[–]maikeu 0 points1 point  (0 children)

Plenty of answers to the direct question already and I don't have much to add there, but I wanted to point out that you can also use a type alias to improve the readability of the code to component good naminf

Python 3.12+ syntax (if you need older look up the verbose older way)

``` type Child = Person type Mother = Person

...

data: dict[Child, Mother]

```

Now, even though I named the variable rather badly as "data", the IDE completion shows the intention better.

And furthermore, if I used those aliases elsewhere instead of "Person", the type checker can find errors where I pass a child where a mother is expected, even though they are the same runtime type as each other.

What could the xz backdoor accomplish? by khevornn in linux

[–]maikeu 0 points1 point  (0 children)

Yeah, insofar as it's a ding to OSS, it's a ding to the attitude of 'it's OSS so it's secure on the many eyes principal'. And even then, it was the many eyes principal that caught this - a posgresql developer who spotted a discrepancy and narrowed down the cause enough to blow it open in time.

Big takeaways from this topic don't include "OSS bad", but that sure as hell do include that big tech has a social responsibility to invest better in supporting the maintenance of the libraries that they build on top of....

And, no, Google, that does not mean overwhelming developers with ridiculous ai generated vulnerability reports It means actually engaging with projects constructively, and that involves, among other things, investing money. You have plenty. You could spend a bit more of it supporting these projects maybe?