166 karma · joined January 18, 2014
[0] - https://www.typescriptlang.org/docs/handbook/2/narrowing.htm...
- CERN started planning its computing grid before AWS was launched.
- It's pretty complicated (politics, mission, vision) for CERN to use external proprietary software/hardware for its main functions (they have even started to MS Office like products.)
- [cost] CERN is quite different than a small team researchers doing few years research. the scale is enormous and very long lived, like for decades continue
- and more...
HPC and scientific computing aside, I would have loved to be able to use AWS when I worked there, internal infra for running web apps and services wasn't nearly good & reliable, neither had a wide catalog of services offered.
I really appreciate this! btw some DS have that too
https://ant.design/docs/spec/overview
https://carbondesignsystem.com/patterns/notification-pattern...
Ideally you have metrics for all flags and their values, so you can easily tell if one becomes redundant and safe to remove entirely after a while.
I've also seen making it a requirement to remove a flag after N days, the feature is completely rolled out.
[0] - https://jsonnet.org/
[1] https://github.com/minimaxir/big-list-of-naughty-strings/blo...
I work at CERN, no we do not.
For example for what you said about "JSON objects received from the API" has no type validation, it doesn't unless you define the types for it. You can write interfaces that defines the API responses and use it across whole code base.
Well, I am sure many companies doing better than we did, with poly repos though.
[1] https://github.com/ant-design/ant-design [2] https://github.com/grommet/grommet
Disclosure: I work at the same section as scoap3 team, at CERN.
Also some of you could be interested in optional.js[1], it's Java's Optional for js, makes it arguably more pleasant to deal with null values, no help for chaining though!
[0] https://github.com/facebookincubator/idx [1] https://github.com/JasonStorey/Optional.js
I was building the client library (wrapper) of an old external third party service we were running, for the our new system (re-write).
By the way, this old third party supposedly has REST interface which was added later, when REST was getting popular. So I needed to get all ABCs but couldn't figure out how because there wasn't any `GET /abc` for ABC but `GET /abc/<id> on the docs. So I just checked how it was done in legacy code.
Then I found a for loop 0 to 100 which was doing 100 `GET /abc/<index>`. It was working because ids were incremental and there were only less than 50 ABC records. Unfortunately there was no caching or `break;` after `404`. :(
There is actually another problem when you want to develop reusable UI component library project is that you have to inline style files and template file into ts component.