Category: notes


  • 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
  • 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
  • [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] the columbo method

    ,

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

    Read This Post: [hn] the columbo method
  • [hn] block stackoverflow clone for DDG

    ,

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

    Read This Post: [hn] block stackoverflow clone for DDG
  • [hn] music theory for nerds

    , ,

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

    Read This Post: [hn] music theory for nerds
  • 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
  • prairie fire

    , ,

    Been heavily into the Arma 3 CDLC recently and an excerpt of this harrowing recording is played at the end of the co-op missions https://www.professionalsoldiers.com/forums/showthread.php?t=15653   This is a recording of two Recon Teams (RT’s) who are in dire straits. Both RT’s are loosing a battle wherby death is immenient.   RT Colorado is the…

    Read This Post: prairie fire
  • 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”
  • linux find

    Write this up as a response to someone on hackernews but didn’t submit it. Dumping here for reference… search for exact pattern in all basenames find . -name “<pattern>” search for pattern at the start of basenames find . -name “<pattern>*” search for pattern at the end of basenames find . -name “*<pattern>” search for…

    Read This Post: linux find
  • github/coqui-ai: mitigating tts misuse discussion

    original posted here: https://github.com/coqui-ai/TTS/discussions/1036 I’ve spent most of my PhD figuring out ways to attack Mozilla DeepSpeech but my PhD supervisor and I spent some time discussing this topic for generative image models so I’m gonna chip in here… I’ll heavily caveat: I’m not up to speed on TTS in the slightest (abusing properties of…

    Read This Post: github/coqui-ai: mitigating tts misuse discussion
  • aws lightsail – wordpress site

    Raison D’Etre I used to use GitHub pages to host a very minimal (only HTML and CSS) personal webpage. But I’ve always struggled to keep track of interesting links and/or music, so have consistently been on the lookout for a suitable application / methodology to keep track of such things. Turns out an application/methodology already…

    Read This Post: aws lightsail – wordpress site