Category: tech


  • HN: Push ‘if’ up and ‘for’ down

    ,

    https://matklad.github.io/2023/11/15/push-ifs-up-and-fors-down.html Note: I rewrote a horrendous scheduler implementation a few months ago. It was an absolute mess of logic branches hidden deep down in small OOP methods. Turned it into a series of function calls in a single ‘main’ while loop using the pattern above (although I didn’t have a snazzy name for it at…

    Read This Post: HN: Push ‘if’ up and ‘for’ down
  • [hn] DRY is an overrated programming principle?

    https://news.ycombinator.com/item?id=32010699

    Read This Post: [hn] DRY is an overrated programming principle?
  • rust-pinger service status slack notifications

    ,

    https://doc.rust-lang.org/std/thread/fn.sleep.htmlhttps://doc.rust-lang.org/std/time/struct.Instant.html#method.nowhttps://rust-lang-nursery.github.io/rust-cookbook/file/read-write.htmlhttps://doc.rust-lang.org/std/fs/struct.File.html#method.openhttps://doc.rust-lang.org/std/io/trait.Read.htmlhttps://docs.rs/chrono/latest/chrono/https://stackoverflow.com/questions/27312069/how-can-i-iterate-over-a-vector-of-functions-and-call-each-of-themhttps://doc.rust-lang.org/book/ch12-02-reading-a-file.htmlhttps://stackoverflow.com/questions/26643688/how-do-i-split-a-string-in-rusthttps://stackoverflow.com/questions/37888042/remove-single-trailing-newline-from-string-without-cloninghttps://stackoverflow.com/questions/14154753/how-do-i-make-an-http-request-from-rusthttps://docs.rs/reqwest/0.11.9/reqwest/https://docs.rs/reqwest/0.11.9/reqwest/blocking/index.htmlhttps://docs.rs/reqwest/0.11.9/reqwest/blocking/struct.Request.htmlhttps://api.slack.com/apps/A03404BKQ1G/incoming-webhooks?success=1https://doc.rust-lang.org/std/macro.format.htmlhttps://docs.rs/toml/0.5.8/toml/https://toml.io/en/https://doc.rust-lang.org/std/net/struct.TcpStream.html

    Read This Post: rust-pinger service status slack notifications
  • [aws] docs

    ,

    Need these for some part-time work Launch Templates https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html Spot Fleet Scaling https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-step-scaling.html EC2 Auto Scaling Limits https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-capacity-limits.html EC2 Spot Instance Requests https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html?icmpid=docs_ec2_console Launch template –> AMI User data MIME scripts https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#example-mount-an-existing-amazon-efs-file-system Static (Elastic) IPs https://aws.amazon.com/premiumsupport/knowledge-center/ec2-associate-static-public-ip/ AWS EC2 autoscaling (external blog guide) https://www.cloudsavvyit.com/2043/getting-started-with-aws-autoscaling/ [StackOverflow] literally the point of Spot Instances https://stackoverflow.com/a/11996798/5945794 AWS SLA https://aws.amazon.com/compute/sla/ AWS…

    Read This Post: [aws] docs
  • [aws] intro to automated reasoning

    https://www.amazon.science/blog/a-gentle-introduction-to-automated-reasoning

    Read This Post: [aws] intro to automated reasoning
  • [hn] docker optimisation guide (top 12)

    Docker optimization guide: the 12 best tips to optimize Docker image security  

    Read This Post: [hn] docker optimisation guide (top 12)
  • [hn] ssh-tools

    https://news.ycombinator.com/item?id=30338289 https://github.com/vaporup/ssh-tools

    Read This Post: [hn] ssh-tools
  • [scala] slack client api

    ,

    https://github.com/slack-scala-client/slack-scala-client/issues

    Read This Post: [scala] slack client api
  • [hn[ front end redesigns are stupid

    , ,

    https://news.ycombinator.com/item?id=30382520

    Read This Post: [hn[ front end redesigns are stupid
  • [hn] block stackoverflow clone for DDG

    ,

    https://github.com/quenhus/uBlock-Origin-dev-filter

    Read This Post: [hn] block stackoverflow clone for DDG
  • new mice [bought]

    my mouse is shockingly bad at at higher sensitivity settings so cloud do with a new wirless mouse, currently logitech looking like the likely long term likely choice (anyone know of a synonym for choice that begins with the letter l?) https://www.logitechg.com/en-gb/products/gaming-mice/g305-lightspeed-wireless-gaming-mouse.910-005283.html https://www.logitechg.com/en-gb/products/gaming-mice/g403-hero-gaming-mouse.910-005633.html https://www.logitechg.com/en-gb/products/gaming-mice/g604-lightspeed-wireless-gaming-mouse.910-005650.html update — went for this one becuase (a) it’s cheaper (b)…

    Read This Post: new mice [bought]
  • remarkable

    ,

    Folks keep telling me I probably have some form of ADHD and the wealth of random pieces of paper that I scribbled on 14 months ago yet still occupy space in my living room may attest to that. So this might be a worthy £400 expenditure to solve the “paper” problem without buying a full…

    Read This Post: remarkable
  • atlas – database schema migration cli

    https://atlasgo.io/

    Read This Post: atlas – database schema migration cli
  • auth0 jupyterhub authenticator

    ,

    i’m sysadmin of some linux gpu servers in the phd working group and having to manually setup new users is a massive PITA. a few options for replacements Auth0 Authentication https://github.com/jupyterhub/oauthenticator/blob/master/oauthenticator/auth0.py account required will it be able to communicate with servers behind firewalled school of computing network? KeyCloak OIDC / OAuth2 Authentication https://www.keycloak.org/ functional+tested implementation…

    Read This Post: auth0 jupyterhub authenticator
  • sig-mlops

    ,

    https://lists.cd.foundation/g/sig-mlops This is a public list for the CDF MLOps SIG. All meetings and discussions are held in the open, and everyone is welcome to join. The current membership, calendar, and meeting documents can be found at https://github.com/cdfoundation/sig-mlops. the Sig-MLOps 2021 roadmap speaks volumes to me and my experience as a machine learning phd student… At…

    Read This Post: sig-mlops
  • “hacker laws”

    ,

    https://github.com/dwmkerr/hacker-laws the robustness principle is pretty apt for adversarial example research…. https://github.com/dwmkerr/hacker-laws#the-robustness-principle-postels-law

    Read This Post: “hacker laws”