
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
belgium_2050_model
Advanced tools
A C version and ruby wrapper for the Belgian 2050 calcualtor
Some versions have a special formula in 2050!B2 that the translator doesn't recognise. Just write 2050 in that cell and recompile.
Some tests fail for columns AN and AM on OUTPUT. I think this is due to rounding differences between excel and C.
This has ONLY been tested on OSX and on Ubuntu 64 bit EC2 ami. Grateful for reports from other platforms.
In the util folder there is an example script that creates a new EC2 EMI, installs all the dependencies and then compiles the gem. It may be useful if you are trying to figure out the complete set of dependencies.
Note that this compiles the underlying c code, which might take 10-20 minutes or so
gem install belgium_2050_model
First of all, you need to be working on the github version of the code, not the rubygem:
git clone http://github.com/decc/belgium_2050_model
Then put the new spreadsheet in spreadsheet/2050Model.xlsx
Then, from the top directory of the gem:
bundle
bundle exec rake
The next step is to check whether lib/belgium_2050_model/belgium_2050_model_result.rb and lib/belgium_2050_model/model_structure.rb need to be altered so that they pick up the correct places in the underlying excel.
The final stage is to build and install the new gem:
gem build belgium_2050_model.gemspec
gem install belgium_2050_model-<version>.gem
... where is the version number of the gem file that was created in the folder.
Now follow the instructions in the twenty-fifty server directory in order to ensure that it is using this new version of the gem.
FAQs
Unknown package
We found that belgium_2050_model demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.