artoria2e5
artoria2e5
29 posts
i suck at makeup / check out my github page
Don't wanna be here? Send us removal request.
artoria2e5 · 1 year ago
Text
so i've heard that you're supposed to use a recent-ish image of your face with a non-negative amount of joie de vivre on linkedin. unfortunately i don't take selfies often, so my current, supposedly-professional avatar is cropped from a nude.
i have enough self-preservation instinct to not posting the original, but here is a more unhinged, out-of-focus version from the same "fun session" in front of a mirror with someone else's camera
Tumblr media
1 note · View note
artoria2e5 · 1 year ago
Text
oh right. so I’ve gotten to losing weight. Between calorie counting, metformin, exercise, and salbutamol, I managed 6 kg in 3 months. And now that I’ve stopped counting calories it’s… not… moving
but my body is good looking now. not good enough for that skirt you perverts probably like (hey I like it too) but good enough for posing with a dslr in front of a big hotel mirror. of course my home doesn’t have a hotel mirror so that’s also kinda pointless lol
2 notes · View notes
artoria2e5 · 2 years ago
Text
Some code I've been meaning to perfect, but don't have the energy to.
I know this is a very sharp departure from what I used to post. I haven't had the energy to take them for a while; plus I'm fat now. Sorry about that. There was a good time when my boobs were big and the belly not as round -- more like triple-stacked -- but come on. We don't post nipples on this site.
I also didn't have enough energy to follow through on many of my things. A lot of them are still VERY USEFUL things to me at least, but everything's just too much of a drain. There's a possibility of someone also finding these things useful, so I figured a blog post will help make them somewhat findable with a search engine.
Well, I suppose GitHub pages would be a better place. But I've already got kind of a blog here...
Windows argument passing in node and cygwin
Python plistlib for openstep formats
Windows argument passing
The thing about command-line on Windows is that it's the wild west. Programs do not actually receive an argv[] array like you have been conditioned by C to believe; instead they get a "cmdline" string to do whatever the hell they want with it.
Still, in that sea of insanity, there is one constant. Regular programmers are lazy. They just use whatever the runtime library does with the command line. In these cases you get a somewhat predictable behavior -- "somewhat", because even amount Microsoft runtimes the behavior differs -- and you can write some sort of an escaping function.
Beyond the runtime, cmd.exe also has its own understanding of how quoting works. Most disgustingly, it understands where double-quoted parts start and end differently from msvcrt. I've got a trick for that.
Node
The node PR, at https://github.com/nodejs/node/pull/29576, is focused on quoting. It's got proper quoting for bash, pwsh, and cmd + msvcrt. It's got very strong test cases (throw them at other people's things: they might break!) and good documentation. What it didn't have is communication and rizz. You're advised to skip to the "files changed" tab.
The cmd "trick" is explained at https://github.com/Artoria2e5/node/blob/c0a6aff35cd3ff6d3bd0e3687776158e97466c93/lib/child_process.js#L850. The gist is that msvcrt and .NET treats two double-quotes as if it's an escaped double-quote. It's undocumented, sure, but Microsoft's own code relies on it.
doc/api/child_process.md has a good chunk of text explaining how Windows cmdline works and who deviates from the norm. And that leads to our next suspect: Cygwin.
Cygwin
Cygwin is the way to run POSIX things on Windows these days. Sure there's MSYS2, but guess what? It's a Cygwin fork. If you are using the official Windows build of git, you're using MSYS2, which in turn means you're using Cygwin code.
Cygwin is not msvcrt, obviously. But what's less obvious is that it doesn't process cmdline the same way. That bites you HARD when you want to run a Cygwin program on a file with weird characters.
The patchset at https://github.com/mirror/newlib-cygwin/pull/5, formerly a botched e-mail exchange ending with me being too tired to split the patchset (come on, it's almost impossible to have intermediate stages that build, let alone work!), was my answer to the problem. It rewrites the cmdline parser to be msvcrt-compatible, while still keeping the Unix-style globbing and @-expansion features.
It's fucking awesome is what it was. It's written in C++ with in-place processing. What else can you ask for.
Oh, in case you want to know what my current answer to the problem is: roll into a ball and cry.
Openstep plistlib
So if you use an Apple product and do things that Apple don't really like you to do, you have probably came across a "plist". Nowadays plists are either an opaque binary file or a very wordy XML. Back in the good old days plists were not like that at all: they read more like JSON, except they only supported strings and dicts.
Python's plistlib does not care about the old style. It should, because it's fucking beautiful. It's also as functional as the new stuff is, as long as you use the GNUStep extensions.
I wrote a Python package to do just that (or did I? does it work yet?). https://github.com/Artoria2e5/text-plistlib As far as I can recall it works on a round-trip smoke test, but some extension decisions needed to be hammered out. It uses tatsu though, so there's no chance of getting into the plistlib part of the standard library.
I think I've also got some other things related to this plist format open somewhere. I wanted to write a parser for opencore to cut down on this XML misery, but COME ON IT'S C. I can't even keep track of a plain recursive descent parser in Python (why else am I using a parser generator?), to do it in C? No way. I'm also too lazy to learn yacc, thank you very much.
Other things
something about https://marc.info/?l=openssh-unix-dev&m=168509072920594&w=2
Dream the DRM receiver/broadcaster has bad Opus options. Dev said I should open a branch. I think I can't, because I can't even get the official binary to run. I also lost my slightly illegal SDR kit.
I've definitely forgotten older things.
0 notes
artoria2e5 · 5 years ago
Photo
Tumblr media
From Zach Weinersmith in our SCAMS issue.
152 notes · View notes
artoria2e5 · 6 years ago
Text
#461
Make a triconsonantal root-based language, where the roots are taken from Internet slang or other common abbreviations: b-r-b “to return”, w-t-f “to be surprised”, s-f-w “to be appropriate for children”, t-b-h “to speak frankly”, etc.
2K notes · View notes
artoria2e5 · 6 years ago
Text
#494
A conlang in which there are genders corresponding to each of the Pokemon types. Transitive verbs are conjugated based on how effective the subject’s type is against the object’s type.
i.e.
“The sprinkler(water) watered(not very effective) the lawn(grass)”
“The boxer(fighting) punched(super effective) the statue(rock)”
2K notes · View notes
artoria2e5 · 6 years ago
Photo
Tumblr media
380K notes · View notes
artoria2e5 · 6 years ago
Photo
Tumblr media
lookbook
4K notes · View notes
artoria2e5 · 6 years ago
Photo
Tumblr media
Made some manga style fanart of VA-11 HALL-A after playing the demo, it took forever to draw! Context behind the image is I kept screwing up the drinks and ended up with those #!20%# ones, so I had to play it twice.
Check out their demo if you haven’t already. [link]
146 notes · View notes
artoria2e5 · 6 years ago
Text
u know that thing where an animals grow in a far off place and some idiot introduces him to a new habitat and it turns out its characteristics that help them in their own sometimes are too helpful in the new one and they become like an invasive species yeah thats the word i was missing anyway back to my point i think i saw a human version of that just now i was driving in tonights snow storm and i saw a man wearing a big ass cowboy hat to keep the snow off him and a bandit red bandana to keep it off his face and a big ass pancho to keep him warm and nice ass cowboy boots to keep his calves dry and he was prancing along while everyone on the road looked miserable and frozen solid and idk i guess the point im trying to make here is i feel like cowboys would have taken over russia if given the chance or something
310K notes · View notes
artoria2e5 · 6 years ago
Text
老子即使是再羡慕别的女孩子
也不会他妈的去学化妆的(振声
(懒人.exe))
0 notes
artoria2e5 · 6 years ago
Text
从没有药吃到药就在手边懒得吃。
倒是单吃螺脸也不油,脸颊还干得很。
0 notes
artoria2e5 · 6 years ago
Text
lazy person . jpg
Tumblr media
1 note · View note
artoria2e5 · 6 years ago
Text
“If I should have a son, who one day comes to me and tells me of the daughter living in her bones - the flesh of my flesh, blood of my blood I will take her chin in gentle hands and kiss her forehead with soft lips. I will whisper nothing but, “You are beautiful. You are beautiful. You are beautiful.” I will bury the ashes of my shattered son, and rise on the wings of my phoenix-born girl. I will speak her chosen name with confidence - I will say it like a prayer each night as I tuck her in to sleep.”
— For Leelah
10K notes · View notes
artoria2e5 · 7 years ago
Photo
Tumblr media
513K notes · View notes
artoria2e5 · 7 years ago
Text
脸油到爆炸。翻出来的非那雄胺只够八天。真的是一周变回臭男人。
3 notes · View notes
artoria2e5 · 7 years ago
Text
想约好看的小姐姐吃火锅或者萨莉亚。嗯藤椒鸡排大概也可以。
0 notes