not not
119 karma · joined October 17, 2022
not not
I understand not every language can have Go's amazing stdlib, but I would much prefer Pyhton's approach where every now and then some package/function from the stdlib gets deprecated/removed. Rust's 3rd party ecosystem is the worst thing from the language, worse than the compile times.
The frontend was in React because the company that got the contract initially used React for everything. The frontend was a 5MB SPA, but it could've been (mostly static) HTML files with some interactivity for forms like TFA. Everyone working on the project agreed React didn't make sense, but we couldn't do anything about it because someone from the government IT department would have to admit they made a mistake. There was no budget for rewrites in the contract. The few times a developer attempted to remove any "React monstrosity" they got in trouble.
Sometimes developers care, but the people in charge don't, and in government environments every change must go through them first.
At least you can opt-in to automated migrations in Elixir if you use Ash.
I have one question: are there any plans for interop between Oban and the new Django Tasks[1]?
This is likely going to change since the organism responsible for collecting the fees is undergoing a big restructuring.
- England is an homogeneous country in terms of geography. There is no 40C degree temperature difference between north/south clubs. Playing in weather conditions one is not used to can affect the away team.
- England is also a small country. The away team can arrive at the stadium within the day. Not only it means they are better rested but also home fans cannot bother them at the hotel making noise, throwing fireworks, etc. preventing them from sleeping.
- The FA is not as corrupt. Sure, certain teams can get away with playing dirty, but in general referees will show red card to a home team player, or call out a penalty for the away team.
- Less threatening environment at the stadium, both for the away team players and the referees. Nobody is throwing food, beer or anything at the players during the game, and hooligans will not try to harm the referee if the home team loses.
The president has power to make only small changes in Argentina, but the previous system was so flawled that any minor change resulted in noticeable changes to the general economy.
[1] https://en.wikipedia.org/wiki/Law_of_Bases_and_Starting_Poin...
def square_vals(x : list):
return (val * val for val in x)
is a function that takes a list and returns a generator. While def square_vals(x : list):
for val in x:
yield val * val
is a generator itself.The first case creates an anonymous generator. When in doubt you can always use the dis module: https://docs.python.org/3/library/dis.html