Hacker Newsnew | past | comments | ask | show | jobs | submit | yoghurtwere's commentslogin

> Not because pine trees, which have been around for a long time, and have never burned so badly.

Are you sure?

https://en.wikipedia.org/wiki/1949_Landes_forest_fire


I responded to this elsewhere on this thread: https://news.ycombinator.com/item?id=49065156

Basically they had no way to fight those fires at the time, as the article explains.


[Answering here to @applepearlime bc limits of my green acct]

They do have firebreaks, paths for trucks to go in many places [1]. I've seen many.

But you could argue they're not wide enough to actually break fire. And when I see videos of how tall and wide the flames are, I have no idea how wide they should be... It's a managed forest though, definitely looked after because economics interests (wood, tourism).

[1] https://cnes.fr/geoimage/aquitaine-littoral-landais-massif-f...


> And when I see videos of how tall and wide the flames are, I have no idea how wide they should be...

Up to 40km, depending on the wind. Embers can travel a long way.


I can't say that I buy your argument.

Either way, firebreaks and green firebreaks seem like they could be a reasonable mitigation approach, whatever the overall causes.

Does anyone here know whether the Landes forest has good firebreaks? If not, does anyone here know why? I failed to find anything about it online.


I grew up there. I used to bike along stretches of firebreaks between plots. These firebreaks are nowhere nearly enough. Trees are young, pine needles spread everywhere, and ground is sandy.

The forest is a giant tinderbox.


You know this was once, 77 years ago?


> difficult to correctly use concurrency primitives,

Rust async has a bad reputation in Rust circles, due to difficulties like deadlocks and poisoning (also regarding the messy panic system Rust has).

> Rite of passage for a Rust developer is creating a deadlock through an if-statement.



You pasting this comment link on all the replies clearly shows you don't understand what actually went wrong in this Cloudflare outage. But Rust bad.



Unwrap is an explicit action. Checking an error is usually just forgotten. No unwrap can enter your code without the dev being accutely aware of it.


Your Go code won't compile if you don't check the error, though.


Did you ever use go?

``` package main

import ( "errors" "fmt" )

func getMessage() (string, error) { return "DO NOT INSPECT", errors.New("something went wrong") }

func main() { msg, _ := getMessage() // Ignore the error. fmt.Println(msg) } ```

Compiles normally and prints "DO NOT INSPECT"


> Did you ever use go?

Don't make me spit my tea. That monitor is expensive. Of course, yes: https://git.sr.ht/~bayindirh/nudge

Jokes aside...

You used "_" to ignore the error variable, which I call "IDGAF" placeholder.

So, you willingly ignored the error and tell me that you don't have to check the error? You told the compiler that you don't care about the error explicitly (via "_"). That's on you then.

In my first comment I noted in the P.S. section:

    ...if you ignore the error, this is a deliberate choice and the burden is on the developer.
You used "_" knowingly. Compiler/linter didn't add it there by itself.

I mean, do you even read the language documents to understand how a language works?


Are you really being so obtuse? Of course in real code you might use the error. For printing, forwarding it to a logging frame or anything else. The point is the error does not guard access to the return value. Here basically the same example:

package main

import ( "errors" "fmt" )

func getMessage() (string, error) { return "DO NOT INSPECT", errors.New("something went wrong") }

func main() { msg, err := getMessage() fmt.Println(msg) fmt.Println(err) }


It does if you reuse the error variable, which is very common. Example: https://go.dev/play/p/ofL2fG-OIcC

This can't happen in Rust.


.unwrap().

I am skeptical about Go's error handling, but there are cases where it is desirable to return both a result and also an error, like returning what can be returned while warning users about any errors. That can be modeled in Rust and other languages as well, though it is the default for Go.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: