Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions

Submissions

comment 2y ago · link · parent

Automation may be a concern. Not because of Hinton, though. There is only so much time in the day. You don't become a leading expert in AI like Hinton has without tuning out the rest of the world, which means a random Average Joe is apt to be in a better position to predict when automation is capable of radiology tasks than Hinton. If an expert in radiology was/is saying it, then perhaps it is worth a listen. But Hinton is just about the last person you are going to listen to on this matter.

comment 2y ago · link · parent

> Yes, but that's irrelevant. "Regular" return values don't have this coloring effect

It is certainly not irrelevant as that is the very topic of conversation. The topic of conversation was clearly and specifically defined by "In Go or Rust, returning an error is also a “color” that spreads out to the top of the call stack." But you're right to finally come around to realizing that there is no coloring effect created by that. Glad you were able to learn something today!

> errors suppose a specific kind of control flow that is different than non-error values

They might want a different kind of control flow in some circumstances, but it is not supposed. Email addresses might also want a different control flow in some circumstances (e.g. a "local" address).

> Again the correct analogy is the input type

It is quite possible to introduce an indirect dependence through inputs as much as it is possible through outputs, if that is what you are trying to say. I'm not sure your example successfully demonstrates that, though. There is nothing to suggest that email isn't relevant to `bar`, even if the actual "black box" implementation happens to call upon `foo`. I see no evidence of implementation details leaking, which can be demonstrated by removing `foo` and refactoring `bar` to:

    function bar(name, email){
      sendMail("Hello ${name}", email);
    }
> You're projecting your own mindset on me

No, but I read what you wrote. Perhaps I have misinterpreted it? What did you mean by "tone" if not something that pertains to your emotions?

> despite repeated attempt on your side to heat things up.

Admittedly, in context, this too reads like you are referring to your emotions. But as you also seem to be trying to assert that they are not weighing on you, what are you actually trying to say here? You have not made yourself clear, I'm afraid.

comment 2y ago · link · parent

Strictly, it is just SQL. It doesn't stand for anything. The project was originally known as SEQUEL, a fun word play on QUEL (from the Ingress/Postgres camp), but trademark issues saw it later lose the vowels.

"Structured Query Language" is a so-called backronym. "Standard Query Language" fits the pattern as well. As does "Super Quick Lookup", if you want to have some fun with it.

comment 2y ago · link · parent

> Also, this should have a (2022) in the title.

Is there something about the current state of world that has invalidated some or all of the content in the article?

comment 2y ago · link · parent

If that is the case, pick another interpretation and describe to us what "non-scripting" then might be.

comment 2y ago · link · parent

What's missing that would necessitate an update?

comment 2y ago · link · parent

> Your email address example is backwards: you can indeed get function coloring with just regular functions but its not the return value that causes it, but the input parameters.

Uh, what? Convention in Go and Rust sees errors be returned. Earlier, when you defined the topic of conversation, which hasn't changed, you even said "In Go or Rust, returning an error is also a “color” that spreads out to the top of the call stack.", so you seemingly knew this at one time. Where did you get the idea that they are taken as input parameters now?

> or you need to propagate it upwards

Perhaps like you need to propagate email addresses. But that's the "normal color" of a function. If that is all you are doing, there is no secondary color. That's just "normal" use of a function.

async/await, and perhaps even "?", are not "normal" as they introduce to the caller dependencies on functions the caller didn't even call. This breaks the "black box" nature of a function, seeing implementation details leak, thereby no longer guaranteeing that a function is "black" and thus establishing functions that are of other "colors".

> When you use this kind of passive-agressive tone, don't be surprised if a charitable reader simply discards it

Oh, I wasn't surprised. It was clear from your first comment that your emotions aren't letting you think straight.

comment 2y ago · link · parent

> I don't understand what you mean with your email address example.

But you didn't think to ask any followup questions to help with your understanding?

> The key thing is that as long as you have some effect [...] happening somewhere in the call stack then it infects all the call stack no matter what the language does.

In the same way email addresses do, I suppose. But that is the "natural color" of a function. Consider:

    fn getEmail() {
        return "joe@example.com"
    }

    fn getPerson() {
        email = getEmail()
        return "Joe Blow", email
    }

    fn getUser() {
        name, email = getPerson()
        return "joeblow123", name, email
    }

    fn main() {
        username, name, email = getUser()
        print(username, name, email)
    }
Yes, you could say in a sense `getEmail` "infected" `getUser` in its need to get the email address to the top of the stack, but the dependence at each step remains direct. getUser returns an email address because an email address is relevant to the result of `getUser`, not just because it happened to call `getEmail`.

That is different to async/await, where `main` now has to become aware of what `getEmail` is doing because `getUser` happened to call it transitively. The dependence is indirect.

    async fn getEmail() {
        return background { return "joe@example.com" }
    }

    async fn getPerson() {
        email = await getEmail()
        return "Joe Blow", email
    }

    async fn getUser() {
        name, email = await getPerson()
        return "joeblow123", name, email
    }

    async fn main() {
        username, name, email = await getUser()
        print(username, name, email)
    }
I may be inclined to agree that the "?" operator can introduce a similar indirect dependence:

    fn producesError() {
        return ProductionError("an error occurred")
    }

    fn doesSomething() {
        value = producesError()?
        return true   
    }

    fn main() {
        result = doesSomething()
        match result {
            ProductionError:
                print("Error", result)
            OK:
                print("OK", ok)
        }
    }
Like async/await, `main` now has to be aware of what `producesError` is doing without calling it directly. But, then again, much like as we discussed in your Go example, you'd never actually write production code like that. There are so many things wrong with it. So, I'm not sure how significant that coloring actually is. And, regardless, is not related to the original discussion.

comment 2y ago · link · parent

> It does! In both case you need to "unwrap" the value

Just as you do with any value, such as an email address, returned by a function. It is curious that you avoided my question as it would help us better understand where you are trying to come from. If that is the stance you are trying to take you're not exactly wrong about there still being some sort of dependence – there is an inherit dependency created when calling a function, always - but there is not a different color of dependence found within that. You're missing the intent of "coloring" if that is what you are trying to say.

async/await introduces a different type of dependence than a function would normally present, where the dependence is no longer direct. I may even agree that the "?" operator introduces a similar indirect dependence. But a function returning an email address (or error; the type of the value is immaterial) is the "natural color" of a function. If that is all you have, there isn't a secondary color.

> as soon as you start calling a function that returns an error, you're going to write something that looks like

Only for internet memes. You would never write production code like that for so many reasons.

comment 2y ago · link · parent

You're misunderstanding. async/await creates a dependence. errors do not – at least no more than any other type. Would you say your perspective on "coloring" is equally applicable to email addresses?

I might buy into your idea the "?" operator colors functions. But that's something else entirely and obviously isn't what you were talking about originally as it isn't found in all of the languages originally mentioned.

comment 2y ago · link · parent

Script usually implies some kind of task that runs once and the exits. As opposed to a system that is expected to run indefinitely.

There are good reasons for why scripts are often interpreted and why systems are often compiled, but that's not what defines them. There are definitely scripts that are compiled and systems that are interpreted out in the wild.

comment 2y ago · link · parent

> In Go or Rust, returning an error is also a “color” that spreads out to the top of the call stack.

Not unless you're doing it wrong. Errors need to be handled. That may, in some cases, mean handling it with another error, but that isn't adding any "color". The new error is independent of any previous error state.

comment 2y ago · link · parent

The trouble with your position is that economic conditions haven't changed through the rise of college. Incomes have held stagnant as can be from when college was unheard of right through until today. While the labour market is certainly driven by supply and demand like any other, college doesn't have an impact on the supply or demand in any meaningful way.

comment 2y ago · link · parent

> It rather seems to me that fewer men (proportionally) are attending college because the value proposition has substantially declined.

That's exactly what the article is saying. It, however, argues that the presence of women is what has caused that decline in value.

> In the particular case of college it's been ever more clear for more than ten years now that college is mostly only valuable if you treat it as a trade school

Right, while it posits that the historical value of college was that it offered a higher social status to those involved, which for those not reading between the lines means that it offered improved mating opportunities for men. Now that women are going to college in droves, men are no longer seeing a higher social standing from attending college – with it placing them on the same social plane as women. So men are moving on to the "next big thing" that offers higher social status today.

> something which cannot be prestigious because it is common and cannot command large wages.

It seems you are essentially on the same page as the article. I suspect that it would suggest that money is only a proxy for status, while you seem to be suggesting that status is a proxy for money, but I'm not sure that makes any difference in the grand scheme of things.

comment 2y ago · link · parent

It seems a bit strange to frame it as a struggle. Like the article alludes to, men seek high social status. University no longer provides greater social status. So men have moved on to the next thing that will give them what they seek. They're not bothered by it. It is not like university is some kind of magical deity that will send you to the fiery pits of hell if you don't attend. It's just a tool, and if the tool isn't working it is no big deal to not use it.

comment 2y ago · link · parent

I am a farmer, although one that isn't big enough to buy new equipment. Essentially, what happens is that only the big operators buy new – or more likely lease new – where they only keep it for a season or two. They aren't apt to be too worried about right to repair as the machine will be under warranty the entire time they keep it. Once it goes onto the used market, well... You're at the mercy of what is on the used market.

comment 2y ago · link · parent

> but something tells me if you do you'll find our Canadian [...] friends are doing drastically better than those in Jackson, MS.

Perhaps true, but also keep in mind that Canada and the US were on more equal standing until the last five years or so, when we started to see a significant divergence emerge. You can ride on the past for a while. Assuming the trend continues, it may simply be that it is too early to see Canada turn into Mississippi.

comment 2y ago · link · parent

Programming languages are quite uninteresting and not particularly notable. What ended up being so horrible about the codebase that you couldn't take any developer and throw them at the code?

comment 2y ago · link · parent

> The bit that you're (intentionally?) missing is that this is just a polite way of saying "you're full of shit".

If someone is full of shit, and assuming you care, then logically you would put in the effort to fix their misunderstanding, not tell them off. Exclaiming that someone is "full of shit", politely or not, is stupid. If you don't care, then why not own it? Don't care.

> The only person being stupid here is the person making strong empirical claims without qualifying them or providing supporting evidence.

There can be more than one stupid party involved.

> I could see a reasonable complaint that asking for studies is being passive-aggressive

It is just straight up nonsensical. I get that is was only ever a silly meme and always understood to be nonsensical, but a meme that has become quite tired. It was funny 20 years ago, perhaps, but at this point it is time to lay it to rest. I mean, anything goes in discussion. If you still think it is edgy, go for it. But the rest of us will still think it is stupid.

comment 2y ago · link · parent

You're thinking of Extreme Programming (XP). Many of the Manifesto group participants came from that camp. You might say that Agile is mostly based off of XP as a result, although Schwaber is certainly among the signatories.

Kanban comes from the manufacturing world. You might find some overlap with Agile, but is not directly associated. Agile is abundantly clear that it is about software.

And yes, if you want to be pedantic, it might be more accurate to say that Agile is a generalization of XP and Scrum, rather than XP and Scrum being formalizations. Agile was written after. But I'm not sure that changes the intent of the original comment.

comment 2y ago · link · parent

Questioning the person who made the claim, sure. Get them to elaborate. That improves the discussion. But halting discussion until they can come up with the words of someone else to justify their claim, as seen here, just makes you look stupid. If you would rather talk to someone else, go talk to someone else instead. At the end of the day, all is fair in discussion, so go for it – call for someone else to enter the discussion if you want. But as all is fair, we're also going to call out your stupidity when you do.

comment 2y ago · link · parent

Perhaps it is actually you who misunderstood my question?

comment 2y ago · link · parent

Maybe. If more people are less willing to have sex, does that harm the animals (meaning humans) who still seek it/want more of it?

comment 2y ago · link · parent

> Generally here if you make a claim it's totally fair to be asked to substantiate it.

Anything is fair. It is a discussion forum. You can say whatever the hell you want. But it is equally nonsensical.

> so I'm looking to see why they think otherwise.

You looked for someone else – someone who prepared a study – to tell you why it might be otherwise. But if you want to talk to someone else, go talk to that someone else. If you want to come here, be happy with the people who are here. They might actually teach you something without having to defer to random other people.

comment 2y ago · link · parent

Does it matter? This is a discussion forum, not a scientific journal. If you have something more informative to add, just do it.

comment 2y ago · link · parent

> In short, some would argue suffering is multiplied by the number of sentient beings that experience it

Factored by how cute the animal is. As a producer of plants for human consumption, it's quite obvious that orders of magnitude more animals are harmed in that process than are ever harmed in traditional meat production. But they're mostly ugly insects, so nobody cares.

1
91011
256