ainar-g's recent activity

  1. Comment on Shadow Gallery - The Dance Of The Fools (1992) in ~music

    ainar-g
    Link
    I've been going down the prog rabbit hole recently, and this is one of the gems I found out. The whole album is pretty good 1990s prog, imo. Haven't listened to a lot of other stuff from them yet,...

    I've been going down the prog rabbit hole recently, and this is one of the gems I found out. The whole album is pretty good 1990s prog, imo. Haven't listened to a lot of other stuff from them yet, but planning on a thorough œuvre inspection, heh.

    1 vote
  2. Comment on Go proposal: expression to create pointer to simple types in ~comp

    ainar-g
    Link Parent
    I seriously recommend you to read the Go 2 Change Template that he filled at the end of the issue. Just one gem:

    I seriously recommend you to read the Go 2 Change Template that he filled at the end of the issue. Just one gem:

    Would you consider yourself a novice, intermediate, or experienced Go programmer?

    I have some experience.

    4 votes
  3. Comment on Go proposal: expression to create pointer to simple types in ~comp

    ainar-g
    Link Parent
    I mean, you have just said it yourself: it's to support fields and values being nil or null. An example of a place where that is useful is JSON, especially when you work with APIs, standards, and...

    I mean, you have just said it yourself: it's to support fields and values being nil or null. An example of a place where that is useful is JSON, especially when you work with APIs, standards, and protocols in which {"a":null} and {} are two different values with different semantics, such as JSON Merge Patch.

    Would I like that to be supported through sum types instead? Yeah, and some post-generics proposals allow you to do that. But until then, I'll take pointers with a more comfy notation, heh.

    3 votes
  4. Comment on Go proposal: expression to create pointer to simple types in ~comp

    ainar-g
    (edited )
    Link
    Apparently, Rob Pike was forced to work with some Go code generated for ProtoBuf 2, heh. Jokes aside, this is a utility that has been requested for a very long time, and I'm happy that it finally...

    Apparently, Rob Pike was forced to work with some Go code generated for ProtoBuf 2, heh.

    Jokes aside, this is a utility that has been requested for a very long time, and I'm happy that it finally has a decent (but not 100 %) chance of being added to the language.

    3 votes
  5. Comment on Intelligency - August (2020) in ~music

    ainar-g
    Link
    I've had this here track stuck in my head for about a year now. I was actually surprised to find out that the lyrics are in Russian, because they're rather incomprehensible. Hopefully, the stuff...

    I've had this here track stuck in my head for about a year now. I was actually surprised to find out that the lyrics are in Russian, because they're rather incomprehensible. Hopefully, the stuff happening in Belarus right now won't hurt the band, because I expect them to produce more good stuff in the future.

    1 vote
  6. Comment on Mask off in ~misc

    ainar-g
    Link Parent
    The rap segment was surely… haunting. Especially considering that until this moment Lindsay didn't really talk a lot about her personal life, if at all. The video was probably one of the most...

    The rap segment was surely… haunting. Especially considering that until this moment Lindsay didn't really talk a lot about her personal life, if at all. The video was probably one of the most unsettling videos I've watched on YouTube, to be honest, but I think it's a good thing, because the things she talks about are hella fucked up, and the impact on the viewer is, imo, appropriate.

    1 vote
  7. Comment on What's a question you want to ask, but you're worried about how it might come across? in ~talk

    ainar-g
    Link Parent
    Careful there! Another couple of steps and you might trigger Linguistics nerds into starting another Sapir&Whorf vs. Chomsky flamewar downthread, heh.

    Careful there! Another couple of steps and you might trigger Linguistics nerds into starting another Sapir&Whorf vs. Chomsky flamewar downthread, heh.

    1 vote
  8. Comment on What's a question you want to ask, but you're worried about how it might come across? in ~talk

    ainar-g
    Link
    Specifying pronouns. I'm mostly on board with the idea, but there are a couple of questions about the most common form that people use to specify them that bother me, and they are probably not...

    Specifying pronouns. I'm mostly on board with the idea, but there are a couple of questions about the most common form that people use to specify them that bother me, and they are probably not what you think.

    In English, most people who list their pronouns (of those I've seen) do it like this: “he/him”. The two questions I have about this form:

    1. Why include the Objective case pronoun (“him”) when pretty much everyone knows what it is from the Subjective case one (“he”)? Does it ever happen that someone would like to be a “he” when the person is the subject of an action but also be “her” when they are an object?

      And I can already hear you typing about new pronouns like “xe/xir”, but that leads us to my second question:

    2. If we include the new pronouns into the equation, why isn't the Possessive case specified as well? Using the example of “xe/xir”, I can now way “Xe has a cat” and “I brought xir a pack of cat food”, but how do I say the “xe” equivalent of “His cat is black and white”? Should I use the same “xir” as in the Objective case, just like with “her”? Or is there another, already agreed-upon form of Possessive case that is hidden just like “his” is hidden from “he/him”?

    I know I'm probably overthinking, and the answer is probably “It's been like that, so it is what it is”, but still. Also, English isn't my native language, so I might be missing something obvious here.

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

    ainar-g
    Link Parent
    Judging by the content of the link they provided, I think that hedy meant a library for building interpreters as opposed to flag parsing. For flag parsing there is stdlib's package flag. It's...

    Judging by the content of the link they provided, I think that hedy meant a library for building interpreters as opposed to flag parsing. For flag parsing there is stdlib's package flag. It's simple and is enough for 95 % of use cases, imo.

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

    ainar-g
    Link Parent
    As a senior Go developer, I don't think there is a module like that. Frameworks are just not how we do things in the Go world, and Go modules tend to have a much more coarse granularity, so to...

    As a senior Go developer, I don't think there is a module like that. Frameworks are just not how we do things in the Go world, and Go modules tend to have a much more coarse granularity, so to say, leaving details of implementations to the programmer. For a simple case like the one that the docs of that Python package show you can simply use a bufio.Scanner instance and a map of handlers for each command.

    5 votes
  11. Comment on Our brain typically overlooks this brilliant problem-solving strategy in ~science

    ainar-g
    Link
    This strategy or removing stuff from a thing to make the thing better in some way is actually not at all a secret to many software developer communities. Ken Thompson, one of the fathers of Unix,...

    This strategy or removing stuff from a thing to make the thing better in some way is actually not at all a secret to many software developer communities. Ken Thompson, one of the fathers of Unix, famously said:

    One of my most productive days was throwing away 1000 lines of code.

    Further creative developments at Bell Labs, such as the experimental operating system Plan 9 From Bell Labs, had removing things as one of the tenets of their philosophy. In Europe, meanwhile, Niklaus Wirth, one of the Elder Gods of software development, has been working on his Oberon series of programming languages which is notable for the fact that each consecutive language was smaller than the previous one.

    5 votes
  12. Comment on RMS addresses the free software community in ~tech

    ainar-g
    Link
    A classic example of an Influencer Apology, if I've seen one. He still doesn't seem to realise just how poisonous he has become and doesn't seem to express a desire to distance the FSF from...

    A classic example of an Influencer Apology, if I've seen one. He still doesn't seem to realise just how poisonous he has become and doesn't seem to express a desire to distance the FSF from himself. It's honestly rather sad.

    15 votes
  13. Comment on Russia outlaws same-sex marriage and Trans people adoption in ~lgbt

    ainar-g
    Link Parent
    As a Russian national, and I don't really find that that odd. The amendments were indeed approved more than half a year ago, and anyone who had any doubts that Putin will sign them is absolutely...

    As a Russian national, and I don't really find that that odd. The amendments were indeed approved more than half a year ago, and anyone who had any doubts that Putin will sign them is absolutely delusional. For people like me, the reaction is less of a “Oh no, look at what they did!” and more of a “Business as usual”. Russian laws have been getting more and more regressive for more than a decade now.

    10 votes
  14. Comment on Signal adds a beta test for a payments system with cryptocurrency MobileCoin in ~tech

    ainar-g
    Link
    I was hoping that the publishing date of the article is 2021-04-01. If Telegram, with its hundreds of millions of dollars, couldn't get their TON thingy off the ground, what makes the people from...

    I was hoping that the publishing date of the article is 2021-04-01. If Telegram, with its hundreds of millions of dollars, couldn't get their TON thingy off the ground, what makes the people from Signal think that they can?

    And also, why? Surely launching your own cryptocoin isn't the most direct way to gather funds, is it?

    14 votes
  15. SCOTUS sides with Google over Oracle

    @SCOTUSblog: BREAKING: In major copyright battle between tech giants, SCOTUS sides w/ Google over Oracle, finding that Google didnt commit copyright infringement when it reused lines of code in its Android operating system. The code came from Oracle's JAVA SE platform. https://t.co/vAK7jMPa8e

    46 votes