News for hackers. Stuff that matters.

rtoway

Re:Solar will get too cheap to connect to the power grid on Tuesday September 03, 2024 @04:35AM (#41432649)
> 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

Re:HashiCorp just let go 8% on Thursday June 08, 2023 @07:53AM (#36240337)
FWIW, in the UK unemployment is also very low at the moment.
Re:I'm making a Typescript type-checker in Rust on Saturday January 22, 2022 @05:45AM (#30035535)
I was under the impression that must of Rust's compile time comes down to LLVM
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.
Re:Does the Bronze Garbage Collector Make Rust Easier to Use? on Thursday December 23, 2021 @11:01AM (#29663098)
You can do this in Rust today, with the standard library's reference counter
Re:The Invisible JavaScript Backdoor on Wednesday November 10, 2021 @12:44PM (#29177645)
The lint is on by default in the latest version of the compiler
Re:The Invisible JavaScript Backdoor on Wednesday November 10, 2021 @03:49AM (#29172507)
Rust has a lint against this kind of attack + you can explicitly disable non-ASCII identifiers if you really want to
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
Re:Can we stomach the latest emerging food innovations? on Tuesday November 02, 2021 @04:15AM (#29078398)
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
Re:Most Canadians believe Facebook harms their mental health on Friday October 15, 2021 @12:22PM (#28879522)
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
I was thinking of following the book but with Bevy. How do you replace bracket-lib?
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() {
        
        }
   }
Re:So You Want to Rust the Linux Kernel? on Monday October 11, 2021 @05:22PM (#28833247)
Thanks for educating me. I am affected by recency bias
Re:So You Want to Rust the Linux Kernel? on Monday October 11, 2021 @03:23PM (#28831974)
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
Re:So You Want to Rust the Linux Kernel? on Monday October 11, 2021 @02:44PM (#28831493)
Wacky, quirky stuff?
Re:Go is a terrible language (2020) on Sunday October 10, 2021 @08:08PM (#28823126)
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
Re:IPCC: Sixth Assessment Report on Monday August 09, 2021 @04:31AM (#28113935)
> 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

Re:Rust 1.54.0 on Thursday July 29, 2021 @11:55AM (#27997970)
Not mentioned, but I believe this release finally activates mutable-noalias by default!
Re:(Risp (In (Rust) (Lisp))) on Monday July 12, 2021 @03:15PM (#27813877)
Ah you are right about that. Yes, it would be a nice place to avoid an allocation
Re:(Risp (In (Rust) (Lisp))) on Monday July 12, 2021 @01:37PM (#27812879)
In Rust, many times this kind of code will compile to the same code using plain old loops and if statements
Re:Amazon acquires MGM for $8.5B on Wednesday May 26, 2021 @09:18AM (#27290120)
Release The Apprentice outtakes! You know you want to, Bezos :)
Re:Scala 3.0 on Friday May 14, 2021 @06:20AM (#27152703)
The optional brackets really makes the code look clean and easy to read!
Re:Dave Herman’s contributions to Rust on Monday May 03, 2021 @07:00AM (#27023568)
I think their reasoning for things that are shortened is that if it's something you will be writing a lot, it's nicer to have it shortened. So pub fn mut etc. are shortened, but return isn't
Re:Rust Language Cheat Sheet on Sunday April 25, 2021 @07:35AM (#26931964)
I think it's fair to say the compiler does a lot of heavy lifting in Rust
Re:Can you tell an assembly language when you see one? on Saturday April 24, 2021 @06:14AM (#26923752)
Isn't x86 assembly not directly executed by the CPU? IIRC it's turned into microcode instructions. I could be wrong though