This analysis shows how Rust atomic operations with different memory orderings (Acquire, Release, Relaxed) translate through LLVM IR to actual ARM64 assembly instructions.
Rust Source:
| function() { | |
| var e = document.getElementById("tt-px-url").value, | |
| l = document.getElementById("tt-el-url"), | |
| t = e.replace("https://nubela.co/proxycurl/api", ""), | |
| a = !1; | |
| if (0 !== t.indexOf("/linkedin/school/students")) | |
| for (var i = 0; i < o.length; i++) { | |
| var c = o[i]; | |
| if (0 === t.indexOf(c)) { | |
| t = t.replace(c, n[c]), "/linkedin/company/employees/count" === c && (t = t.replace("linkedin_employee_count", "estimated_employee_count")), a = !0; |
| -- https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Actions-DynamicProjects.html | |
| myProjects :: [Project] | |
| myProjects = | |
| [ Project | |
| { projectName = "chat", | |
| projectDirectory = "~/", | |
| projectStartHook = Just $ spawn "Discord" | |
| }, | |
| Project | |
| { projectName = |
| use r2pipe::{R2Pipe, R2PipeSpawnOptions}; | |
| /// Filename of GALE01 v1.02 GCM disk image. | |
| const SSBM_ISO: &str = "ssbm.iso"; | |
| /// Filename of converted main.dol -> main.elf, converted with doltool. | |
| const MAIN_DOL: &str = "main.elf"; | |
| /// Offset of get_rand_int in main.elf and in memory. | |
| /// |
when i'm biking i listen to music on my ipod (hacked to run rockbox), i like using last.fm so i record a scrobble.log file
i was going to upload the scrobbles but i noticed some of the dates were from before 2001
$ cat /mnt/.scrobbler.log
...
JPEGMAFIA EP2! FEED HER! 6 176 L 1616925238
Yuzo Koshiro Actraiser Opening 131 S 946994845
...
| //! https://github.com/Rockbox/rockbox/blob/3c89adbdbdd036baf313786b0694632c8e7e2bb3/apps/plugins/lastfm_scrobbler.c#L29 | |
| use chrono::{DateTime, TimeZone, Utc}; | |
| use nom::{ | |
| bytes::complete::take_until, character::complete::char, multi::count, sequence::terminated, | |
| IResult, | |
| }; | |
| fn main() -> std::io::Result<()> { | |
| let log = std::fs::read_to_string("scrobbler.log")?; |
| [src/main.rs:284] (filter, file) = ( | |
| Mimetype( | |
| "text/plain", | |
| ), | |
| FileSnapshot { | |
| input_name: "/home/djanatyn/query.graphql", | |
| absolute_path: "/home/djanatyn/query.graphql", | |
| last_mtime: 1643587565, | |
| mimetype: "text/plain", | |
| }, |
So in Final Fantasy 14, you have a cute companion, a Chocobo! You can change the color of your Chocobo:
The default color of the chocobo is Desert Yellow. Players can change the color of their Chocobo by feeding them snacks...
The color value is tracked in RGB, so the default value (Desert Yellow) is 216/180/87.
Different fruit will change the Chocobo color in different ways:
Snack Effect R G B
--------------------- ----------------------------------------------------- ----- ----- -----
| insertDate :: X () | |
| insertDate = pasteString "<>" | |
| -- this is outputting ">>"! |