Posts by wasamasa@lonely.town
(DIR) Post #AXlNIAyx3YAU76fLKS by wasamasa@lonely.town
2023-07-16T20:06:11Z
0 likes, 1 repeats
Revisited my #OverTheWire solutions because they apparently adjusted the flags and machines and figured out two things in the process:- When using #pwnlib, it's very tempting to use their gdb helpers to programmatically interact with gdb and extract program state from it. This turns out not to be intended, it's merely assistance so that you can have gdb running alongside with your exploit for easy debugging of a process. I ended up launching a regular process querying gdb for information about register/memory state.- The #Emacs markdown-mode has a useful `TAB` command that either cycles visibility of headlines or toggles between indenting the current line (which can be used to quickly indent/unindent code)
(DIR) Post #AXmL5stwRte5oOIGaO by wasamasa@lonely.town
2023-07-17T07:44:08Z
1 likes, 0 repeats
@icedquinn Well that's interesting. I've only seen programmable debuggers for specific languages, such as youdebug for JVM manipulation.
(DIR) Post #AZ9M3bxb2HXzWg4Hxo by wasamasa@lonely.town
2023-08-27T07:20:34Z
0 likes, 0 repeats
@ayo I guess it's a step-up from the solitary beg bounty people? Or just a one-person company using the same strategy?
(DIR) Post #AZnzzUlL2x77qbpV8S by wasamasa@lonely.town
2023-09-15T22:33:38Z
0 likes, 1 repeats
Ended up shelving the previous #Emacs project in favor of a new one I plan to present at #EmacsConf. Finished the easy parts, now doing some highly advanced mathematics. Finally some use for group theory!
(DIR) Post #AZrRM4060rXtmYu8kS by wasamasa@lonely.town
2023-09-15T22:43:06Z
0 likes, 0 repeats
The glitch was easy enough to resolve. It appears I've successfully simulated scrambling a Rubik's cube because if I apply the move sequences printed at the bottom to the real thing, I get the same scrambled colors as displayed at the top of the buffer. Amazing.
(DIR) Post #AZrRM4vWZLU0efm0GG by wasamasa@lonely.town
2023-09-17T14:31:03Z
0 likes, 0 repeats
Added SVG rendering support and decided to use svg.el this time. It's acceptable overall. Next up: Stopwatch functionality.
(DIR) Post #AhYcOzy7Mm5CufLq3E by wasamasa@lonely.town
2024-05-04T19:09:42Z
0 likes, 0 repeats
> In the Ruby space, there is also Crystal, a Ruby-like language that is statically compiled with type inference. This language is intentionally not Ruby-compatible, it has chosen to diverge from Ruby, but has still seen limited success. I think this is interesting because it gives us a broader perspective. Rubyists don’t like Crystal because it’s almost-Ruby-but-not-quite. It looks like Ruby, syntactically, but has many subtle differences and is very much incompatible in practice. This just confuses people, it breaks their expectations. Crystal probably would have had better luck if it had never marketed itself as being similar to Ruby in the first place.@ayo Why is it that I find myself thinking of you, I do wonder...https://pointersgonewild.com/2024/04/20/the-alternative-implementation-problem/
(DIR) Post #AiWBq7jJFZM35lcpHs by wasamasa@lonely.town
2024-06-02T12:19:57Z
1 likes, 0 repeats
There is this meme that an #Arch install is inherently unstable and that Arch users spend a good amount of their time fixing their systems.I've long maintained that given sufficient experience, this is not true. And in fact, as soon as I found something else to pursue (for example, configuring Emacs), Arch maintenance started to look trivial in comparison.So the occasional time Arch breaks things for me, it surprises me. Most recent breakage: The ZNC package changed the home/data directory. Migration of the config/data files was easy enough, but I forgot there's an extra moving part in the form of TLS certificates for ZNC provided by an ACME client. That ACME client failed to copy the files into the ZNC data directory. Only reason I noticed was my IRC client warning me about an expired certificate, so at least that part worked fine.
(DIR) Post #Ak7DeESpJ2cyhgc4OG by wasamasa@lonely.town
2024-07-20T07:47:30Z
0 likes, 0 repeats
@foone Can't really make sense of your writings on VFL, bytecode and so on, but is any of that code online? Kinda tempted to port the flag generation parts to Emacs and having machine-readable flag definitions sounds better than rewriting the C++/BASIC code I've found on GitHub so far.
(DIR) Post #Am06yZUgrMNtXBY0oa by wasamasa@lonely.town
2024-09-14T17:19:59Z
0 likes, 0 repeats
@foone Worst pun in the Univers
(DIR) Post #AmQvlqkLYDW138WIca by wasamasa@lonely.town
2024-09-27T15:47:56Z
1 likes, 0 repeats
Finished the #FSWA training by @stevenseeley and found something cooler than calc.exe to pop: The almost 30 years old dialer.exe. And yes, it's on PATH :blobcatgooglytrash:
(DIR) Post #Aw3FstToRtrJJOJIC8 by wasamasa@lonely.town
2025-05-19T18:32:20Z
0 likes, 0 repeats
Gardening updates:- The 5 sunflower seeds all germinated, with one of them rooting itself to the very bottom of the starter pot and forming the first leaf pair. I put all of them into separate pots and waited for them to recover. Pictured is seed that had a head start, with the shell fully shedded- 5 chili seeds have been planted today in that starter pot. I remembered reading about this technique of using a stick to gently push them down until the suggested depth. Here's hoping they will germinate...
(DIR) Post #Aw3Fsv8yGMNMTKZfzE by wasamasa@lonely.town
2025-05-26T10:46:47Z
0 likes, 0 repeats
Gardening updates:-Nothing new on the chilis front, but give that only one out of five sunflower seeds germinated and fully rooted, I put them all in dedicated tiny pots to transplant each when its ready- Sunflower is spreading its second leaf pair and seems to be growing every day- I've transplanted two tomato plants and one mint plant into fresh soil. My only mistake was doing that while they were still freshly watered, so the block of soil fell apart and trying to split the mint plant one into multiple parts for more horizontal growth only made things worse. Let's see whether any of the parts survive...- Spread out basil and poppy seeds on compostable paper pots to be transplanted into dedicated soil later. Said pots are incompatible with "dehydrated soil" or whatever else these pressed discs made from coco coir are called
(DIR) Post #Aw3FswGS61xDwp5AHo by wasamasa@lonely.town
2025-06-07T14:50:20Z
0 likes, 0 repeats
More gardening updates:- Sunflower kinda stopped growing as rapidly. May be the several days of rain in a row...- There is a lavender bush now. I put it into a round pot without a self-watering system for now. Not only did it recover fine, but started unfolding tiny flowers.- Completely overlooked tomato plants growing a lot. Had to prop them up and noticed that even lacking fruit, they smell very much of tomatoes.- The mint plants have recovered fine after making cuttings and putting them in soil. However, the plant started producing leaves towards the sides rather than on the very top, so it will grow bushier I suppose.
(DIR) Post #Aw3FsxIyE9YxAvGgqm by wasamasa@lonely.town
2025-06-18T10:06:21Z
0 likes, 0 repeats
Gardening updates:- Cactus is growing yet another offshoot- Tomatoes have reached 50cm height. There seem to be attempts at sprouting flowers/fruit, but also the first pests showing up.- Speaking of which, the reason for the sun flower growing slowly was a lot of bugs sucking it dry, so after repotting I sprayed nettle juice all over it and hope for the best.- Found a drip watering system for kitchen plants, let's see how well it works. Probably meant to work for plants demanding little water.- Repotted raspberry into huge pots and consciously looked into mixing dry soil in there to prevent excess water being a problem
(DIR) Post #Aw3Fsy4TNXYnYFUctM by wasamasa@lonely.town
2025-06-27T10:42:59Z
0 likes, 0 repeats
On gardening:- Prepared two long pots sprinkled with random seeds and kinda overdid it. Months later, the first flower popped up- Tomatoes keep growing and falling over, so I propped them up with metal- Chocolate flower has been added to the collection. Smells tasty, but inedible.- Kitchen herbs are growing remarkably well, particularly the basil. Much better survival rates than without a watering system.
(DIR) Post #Aw3FsywM9Cf6FMhesa by wasamasa@lonely.town
2025-07-03T18:02:04Z
0 likes, 0 repeats
Just a bunch of flowers. Turns out if you expose a basil plant to lots of sun/water, it produces tiny white flowers. Therefore, chances are most basil plants are malnourished :blobcatnervous:
(DIR) Post #Aw3FszxSMb8VP4E3EW by wasamasa@lonely.town
2025-07-12T08:13:42Z
1 likes, 0 repeats
Temperatures have relaxed a bit and I had to rehydrate everything after a weekend of absence. Somehow, the tomato plants overtook the sunflower in terms of overall length, which kinda shows the power of adding fertilizer. Yet, I think the sunflower is in a good spot as well because the leaf density has increased and the new ones look healthier than the old ones. Cactus should soon be ready for propagation as well, kinda curious how long until the offshoot outsizes the main plant.
(DIR) Post #AwQq4bQNkCD9iAlwi8 by wasamasa@lonely.town
2025-07-23T17:30:31Z
0 likes, 0 repeats
@grickle Shinji, is that you
(DIR) Post #B0y9Hu6xNzO3ViY4I4 by wasamasa@lonely.town
2025-12-05T22:20:41Z
1 likes, 0 repeats
Made an oops and deleted main.py in a Python project not under version control. Thought file recovery is trivial thanks to procfs, except that trick doesn't work with Python. Double oops. Here's what worked:- Identify the underlying EXT partition with `mount` (it was /dev/mmcblk0p2 due to it being on a RPi)- Open it with `debugfs /dev/mmcblk0p2`- Execute the `blocks` command in the debugfs shell on the project directory and other files related to the deleted file to discover the associated blocks- Given that the file was most likely written to a newer block than that, `dd if=/dev/mmcblk0p2 bs=4096 skip=<blocknumber> count=100000 | grep -a -F <unique line in deleted file> -C <number of lines of deleted file> | less` and go through the matches until the last one containing the last revision of the deleted file.Going through this felt like an incredibly cursed variation of git, so I copied the last decent looking version of the file contents and backed them up :)