HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rtoway

no profile record

Submissions

Holding Apple Accountable: The Future of the Internet Economy Depends on It

newsroom.spotify.com
38 points·by rtoway·3년 전·86 comments

So you want to write a GUI framework

cmyr.net
9 points·by rtoway·5년 전·0 comments

comments

rtoway
·2년 전·discuss
> Where I live in SE England they seem to be trying to take productive agricultural fields out of use

I think this is an unfair characterisation. Many farmers in the UK _want_ to build solar installations on their fields as it is a fantastic way to get guaranteed income while keeping other land for agriculture. Additionally, you can graze animals with solar panels. And also the solar panel installations are usually temporary (land is leased for x amount of years), they can be removed and used as farmland after.

> how much space all these battery and solar farms

Chris Hewett, head of Solar Energy UK says this:

"We need less than half a percent of UK land, for a fully decarbonised energy grid. That is the amount of land we use for golf courses – and less than we use for airports."

https://www.bbc.co.uk/news/articles/c4geq9v60kro
rtoway
·3년 전·discuss
FWIW, in the UK unemployment is also very low at the moment.
rtoway
·4년 전·discuss
I was under the impression that must of Rust's compile time comes down to LLVM
rtoway
·5년 전·discuss
Swift tooling is surprisingly bad especially when It's made by a trillion dollar company. Rust's free rust-analyzer extension provides much faster and much more feature filled IDE features than XCode.
rtoway
·5년 전·discuss
You can do this in Rust today, with the standard library's reference counter
rtoway
·5년 전·discuss
The lint is on by default in the latest version of the compiler
rtoway
·5년 전·discuss
Rust has a lint against this kind of attack + you can explicitly disable non-ASCII identifiers if you really want to
rtoway
·5년 전·discuss
Housing in your area might get vastly more expensive, but housing somewhere else might not see the same price increase. The CPI is for the entire country
rtoway
·5년 전·discuss
Because people like meat? I like meat. I don't like what happens to the animal though. I don't think it gets that much more complicated than that
rtoway
·5년 전·discuss
Last I checked, studies on the issue of social media and mental health are pretty mixed and inconclusive. But it is a popular belief regardless
rtoway
·5년 전·discuss
I was thinking of following the book but with Bevy. How do you replace bracket-lib?
rtoway
·5년 전·discuss
Bevy, while an ECS based library, can easily be used to program a game in a more traditional way (excuse my formatting):

struct Player { health: Health, }

  // ECS style
  fn update_player(query: Query<&mut Player>) {
    
  }

  // Traditional "OOP" style
  impl Component for Player {
        fn update() {
        
        }
   }
rtoway
·5년 전·discuss
Thanks for educating me. I am affected by recency bias
rtoway
·5년 전·discuss
Interesting perspective. FWIW a lot of modern languages now have put the types on the left for a good reason, it's a lot easier to parse. Plus for a reader, at least in Rust, wherever you see a `:` you know that a type is coming after. For the other stuff, I don't know, I got used to it pretty quickly. Not that much of a big deal in my opinion
rtoway
·5년 전·discuss
Wacky, quirky stuff?
rtoway
·5년 전·discuss
I'm not a Go fan but the language to me looks very readable and clean. However in my opinion syntax is usually not that important, you can and will get used to anything
rtoway
·5년 전·discuss
> It is a statement of fact, we cannot be any more certain; it is unequivocal and indisputable that humans are warming the planet.

How do you convince the deniers of this? It seems that more graphs and facts only make them deny harder
rtoway
·5년 전·discuss
Not mentioned, but I believe this release finally activates mutable-noalias by default!
rtoway
·5년 전·discuss
Ah you are right about that. Yes, it would be a nice place to avoid an allocation
rtoway
·5년 전·discuss
In Rust, many times this kind of code will compile to the same code using plain old loops and if statements