Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

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

Submissions

comment 3y ago · link · parent

> Twitter is for pumping illegitimate, unregulated securities like LunaCoin / Terra and other failed cryptocoins.

Okay, and if you don't get wrapped up in thinking the message is true, what difference does it make? You could get yourself in trouble if you are concerned about the truth, and then pick the 'wrong truth', indeed. But why would you do that?

> And this has seemingly gotten worse over the past year, at least in my eyes.

They say the Twitter algorithm feeds you what you want to see. This may be a "you" problem. I've never seen anything about crypto on Twitter. Mostly weather-related content and sometimes farmers posting pictures from the field. That's about it.

comment 3y ago · link · parent

> And it seems reasonable.

It does seem reasonable. But is it true? We must ensure it is true before we do anything else!

Just kidding. Whether or not it is true makes no difference.

comment 3y ago · link · parent

Well, yeah, Reddit is a comedy website. It's not supposed to be truthful in any meaningful sense. It's there for when you want a laugh. The CEO even admits to editing other people's comments when they are deemed not funny enough.

Like I stated in another post, I only really ever see weather forecasts on Twitter, from people who have allegedly dedicated their lives to meteorology and not just some "pretty weather girl" like you find in more common weather channels. I have found them to be as truthful as forecasting the weather can be, and are open about the limitations of their models. They don't always get it right, but that is entirely understandable. We don't understand the truths of weather. Nor do we need to because not worrying about the truth has allowed us to focus on what is actually important.

So, I don't know, Wikipedia's weather forecasts have been far less reliable in experience. That's not really its thing. I see no reason to trust either because it doesn't matter what the truth is – the weather will come the same either way – but if I had a gun to my back forcing me to choose, Twitter would win. But, realistically, they're not meaningfully compared. They offer a completely different service.

comment 3y ago · link · parent

> Trolls are creating misinformation and using it for political gain. That's my point.

Yes, I understand that is your point. Just as I could make it my point that the sky is blue. But why would we want to make these points? These non-sequiturs add nothing of value.

comment 3y ago · link · parent

> Like, does Ivermectin work? Answer: no.

And what if you told me it did? What would change? The answer is nothing. Not getting wrapped up in what is true also means not getting wrapped up in what is false. It cuts both ways.

Honestly, I don't know what these non-sequiturs are trying to serve. They have nothing to do with the discussion taking place. It seems like you just want to go on some weird political rant or to express your emotions in some strange way. A discussion has no place for either of those things.

comment 3y ago · link · parent

> We literally just had anti-mask protesters and anti-vaccine protesters take over one of the major political parties.

We also, at one point, had top doctors letting it be known that cloth masks increase the chance of infection. Not an unreasonable thing to say as the 2015, if I recall correctly, study in hospitals shows that medical professionals wearing cloth masks were at greater risk of infection of disease over wearing no mask due to increased incidents of face touching.

Not unreasonable, but not true, was it? Followup studies around COVID-19 in the general population found very different results. Now imagine if we got wrapped up in being concerned about what is "true". We'd be left thinking cloth masks are detrimental. But as we weren't concerned about what is true, we were willing to keep evaluating the situation.

> if you don't see why this is an important issue of our times.

As opposed to all the other times the Anti-Mask League showed up?

comment 3y ago · link · parent

> COVID19 literally killed people I knew because they were too stupid to mask up and/or vaccinate people.

A fantastic example of the truth not mattering. Is a lion or just the wind? What difference does it make? Run either way!

I put no effort into ensuring that it is true that masks are helpful, or if the vaccine would stave off the illness. Simply, the mental model of the world indicated that they posed no real harm in trying, so why not go for it? If it actually helped, great. If I wasted my time, also great! Who cares?

I'm sure all of us have flaws in our mental model of the world that will cause us to do something we shouldn't in some circumstance, but sharing of truths do nothing to correct those flaws. It is not like the truth about COIVD-19 isn't out there, but obviously it didn't help those who suffered.

> I'm also in the business of programming, which is largely in the business of truths.

Funny, I am too and it is exceedingly rare to find anyone who goes beyond gut feeling. Understandably so, as that's how our mind evolved to function. In fact, programmers love to argue about which gut feeling is right.

comment 3y ago · link · parent

> If Reddit says X but Wikipedia says Y, do you trust X to be true or do you trust Y to be true?

Neither. One – or both – of them might be true, but who cares? It is not advantageous to give it much concern. We have evolved to not rely on truths. "Is that a lion rustling those bushes or just the wind? Let me be absolutely certain it is a lion before I run." said no one who successfully passed on their genes ever. Truths don't matter much, and the reality is that we're not capable of processing full truths anyway, having to rely on simplifications that lose a lot of the important nuance.

> Wikipedia's editors are highly respected by everyone. Reddit... not so much.

That's like saying librarians garner more respect than comedians. That might be the case when observed through some particular lens, but they're really not comparable. What would that even mean? And if this is the measure of success we want to use, I am struggling to understand why Wikipedia and Reddit were brought together for comparison.

comment 3y ago · link · parent

If access to moderators is the metric of success, Wikipedia claims to have ~900 moderator accounts currently. Reddit, in 2017, claimed to have ~75,000 moderators. Unfortunately the later figure is severely dated, but has Reddit really lost over 74,000 moderator accounts since? That seems unlikely.

Perhaps Wikipedia has never been successful, just something that has managed to continue to exist?

comment 3y ago · link · parent

Meaning that the marker of success is stable revenue? In other words, someone who keeps a minimum wage job their entire life could be the most successful person around?

comment 3y ago · link · parent

Being a farmer, that is likely. So wouldn't those who seek other types of up-to-minute news continue to see that for the same algorithmic reasons?

comment 3y ago · link · parent

What says that Wikipedia is successful and not just existing like Twitter and Reddit are likely to continue to?

comment 3y ago · link · parent

> reporters found it to be a great way to get breaking stories out in the public sphere.

Isn't that how it is still used? At least with a weather bent? That's about all I ever see in my Twitter feed is information about upcoming weather risks, with far more detail than you get from your usual weather forecasts.

It's great and I've been able to learn a lot more about the weather because of it.

comment 3y ago · link · parent

Your experience reads simply like there is a lack of practice. The discipline most definitely takes practice. It's not unsurprising that new engineers are not well practiced – that is what it means to be new.

comment 3y ago · link · parent

The only thing an IDE brings to the table is a different user experience. A better user experience can be beneficial, but is not akin to giving up tooling. There is no reason (purposeful attempts at vendor lock-in aside) for the same tools to not be available outside of the IDE.

It's more like GUI vs the command line. Both can ultimately get the same job done, but the experience is different. And, frankly, I'm not sure there is one winner takes all. Sometimes GUIs allow you to do more, better, and be more efficient, but other times it is the command line excels at those things. There is situational dependence.

comment 3y ago · link · parent

Depreciation costs should already be factored into the capital investment. You should not be accounting for it twice.

comment 3y ago · link · parent

I fail to see how one could get excited about Next.js, young or old. It makes so many poor design decisions for the type of tool it presents itself as. It is my understanding that the original intent of the project differed, so I can understand that the design choices may have been sensible in that context, but are a terrible fit for the change in project scope and, indeed, how people are trying to use it today.

I'm old. I still get excited about technology that is worth getting excited about. But Next.js brings nothing to the table.

comment 3y ago · link · parent

> worrying too much about the performance of error handling in these relatively rare cases is absolutely premature optimization.

It's not something to worry about, but it's also a premature optimization to include when there is no need. The Go team considered adding stack traces as described before 1.13, postulating that it would be useful, but measurement determined that they were rarely used in the real world.

If your measurements (you are measuring, right?) that pertain to your specific situation tells a different story, they aren't something to be afraid of, but would be silly to make the default for everyone. The standard tools don't need to serve every single use case ever imagined.

The reality is, unless you forget how to program every time you see the word error (which seems to be a thing), in the real world you are never going to just `return err` up, up, up the stack anyway. Even ignoring traceability concerns, that is going to introduce horrible coupling. You wouldn't do that for any arbitrary type T, so why would you for type error? There is nothing special about errors.

comment 3y ago · link · parent

Before the days of digital maps I'd only ever quickly glance at a paper map to get a feel for where my destination is and then... just drive. You get there. Maybe you go an intersection too far sometimes, but who cares? If you've chosen a motorcycle over a car, it is no doubt because you enjoy riding. Enjoy it.

comment 3y ago · link · parent

I find it interesting how, as soon as the word error shows up, people seemingly forget how to program.

Ignore the word error for a moment. Think about how you program in the general case, for a hypothetical type T. What is it that you do to to your T values to ensure that you don't have the same problem?

Now do that same thing when T is of the type error. There is nothing special about errors.

comment 3y ago · link · parent

> that only works if enough places in the code add context.

It would be a bit odd to not add context, wouldn't it? Same goes for any value. This is not exclusive to errors. If you consider a function which returns T, the T value could equally be hard to trace back if you find you need to determine its call site and someone blindly returned it up the stack. There is nothing special about errors.

While ideally you are returning more context than Errorf allows, indeed, it is a good last resort. If your codebase is littered with blind returns, the good news is that it shouldn't be too hard to create a static analyzer which finds blind returns of the error type and injects the Errorf pattern.

comment 3y ago · link · parent

Its flaws or merits aside, when you have no other useful context to add to the error, that's precisely what Errorf is for.

  func bar() error {
    err := baz.Transmogrify()
    return fmt.Errorf("transmogrify: %w", err)
  }

  func foo() error {
    err := bar()
    return fmt.Errorf("bar: %w", err)
  }

  func main() {
    err := foo()
    fmt.Printf("foo: %v", err)
    // foo: bar: transmogrify: not found
  }
There's your callstack, without the cost of carrying around the actual callstack.

comment 3y ago · link · parent

> providing a core library way of wrapping with stacktraces would be a very useful next step

What eventually became the standard library error wrapping proposal evolved from the work done on the Upspin project. It did include stacktraces, and believed like you that it would be useful to have them. But analysis of the data showed that nobody ever really used them in practice and, for that reason, was removed from the final proposal.

> particularly given the most popular package doing that previously is now unmaintained.

Lacking wide appeal doesn't mean there isn't a niche need, of course. However, with the standard library accepting a standard for error wrapping, which this package you speak of has been updated to be compatible with, what further maintenance would be needed, exactly? It would be more concerning if it wasn't considered finished by now. It seems the solution for niche needs is right there.

comment 3y ago · link · parent

You are quite right that another notable person came along and, to buck the trend, decided it would be entertaining to watch "the help", and then the rest started to follow thinking that must be what is required to become notable.

But it could have gone the other way. The first notable person could have recognized the entertainment, and the later notable person could have decided it was better to keep hidden. We don't know why the first one decided to go with hidden, and likely it was just a random choice.

comment 3y ago · link · parent

Exactly. (T, error) simply cannot be used in any real program. Like you say, if you try to use nil your program will crash, and error is asserted to be nil when there is no error, and you have to use that useless nil value in order to utilize T per the style guide, therefore your program will crash essentially all the time. It is impossible to write code that is valid if (T, error) is present.

It's not a question what is or isn't better. That's off-topic. It's just a question of how can we actually deal with the situation with the tools that Go gives us? MarhsalText no doubt contains the answers, but we aren't sure where to find it given the ambiguity. You went to all the trouble of looking it up to tell us about it, but now want to keep it a secret?

comment 3y ago · link · parent

The cooking is still exclusively done by "the help" in restaurants, but the article indicates that the theatre, so to speak, of food preparation has come to be considered a desirable trait by those occupying the dining room.

So this doesn't quite answer why they settled on keeping it hidden instead of a display of entertainment. There is no reason to think people in that time wouldn't have found the same enjoyment in watching the food get made.

Most likely the answer is that it's just what one notable person happened to decide, by random chance, to do with his kitchen arrangement, and everyone else copied it in hopes that it would make them equally notable. Pretty much all human behaviour can be explained that way.

comment 3y ago · link · parent

The context specifies a world average, though.

Back then cities were more dense and, as well, individual households were more dense. It is possible, maybe even likely, that those pockets would measure louder than anything we're accustomed to today. But, at the same time, you would also have more places completely free of human activity to balance that out and then some when computing an average.

comment 3y ago · link · parent

I was recently looking at an old map of the township that my family farm is located in from the mid-1800s. Quite interesting! Anyway, included in that map was location of all the churches that stood at the time.

Around my family farm, at that time, there was a church every 100 chains (1.25 miles). This is out in the middle of nowhere farming country, then and still today.

If they had enough people to fill a church every mile or so, imagine how many churches the densely populated urban areas must have had in close proximity. And then if they are all ringing bells...

1
102103104
256