#earley — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #earley, aggregated by home.social.
-
https://www.readingchronicle.co.uk/news/26262706.heat-job-loss-fears-data-centre-near-reading/
Roux Davies: “Reading council has a housebuilding target of 800 homes a year, included in that are energy-efficient green homes and affordable council homes."
“In 2023, they had issues building 50 affordable homes because of the lack of capacity on the electricity grid.
“Because they couldn't have the capacity on the grid to have green infrastructure like heat pumps, they instead installed gas heating."
#Reading #Earley #Wokingham #UK #technology #environment #energy
-
#Microsoft offices on TVP to be demolished and replaced with a data centre
"Fears about increasing temperatures and the threat AI poses to jobs were raised at a public exhibition for a planned data centre near Reading."
https://www.readingchronicle.co.uk/news/26262706.heat-job-loss-fears-data-centre-near-reading/
#Reading #Earley #Wokingham #UK #technology #environment #energy
-
Context free grammars (CFG) are better than parsing expression grammars (PEG), because CFGs represent how we think.
Parser combinators are similar to PEGs, so they are worse than CFGs, too.
So, don't use Rust libraries
nom,combine. Uselalrpop.Don't use Haskell libraries
parsec,gigaparsec,attoparsec,megaparsec,trifecta. UseEarley,happy.See more detailed story in my new article https://safinaskar.writeas.com/this-is-why-you-should-never-use-parser-combinators-and-peg .
The story also includes some cases, where PEG and parser combinators may still be useful. Also, the article gives links to my Haskell parsing libraries.
#haskell #rust #parsing #parse #cfg #peg #combinators #parsercombinators #parsingcombinators #nom #combine #lalrpop #parsec #earley #happy
-
Now we can evaluate nice looking expressions, like this one √(-4²) with our #Earley parser.
-
CW: Advent of code
I just completed "Distress Signal" - Day 13 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/13
Today is also the first day, I use external libraries. Using a real parsing library made things so much easier.
Additionally I started an "Aoc" Library of useful Aoc related functions, like `splitOn :: a -> [a] -> [[a]]`, that divides a list by some a.
Code is here: https://git.k-fortytwo.de/christofsteel/aoc2022/-/blob/main/day13.hs
#haskell #earley #adventofcode #adventofcode2022 #coding #code