Searching We.Love.Privacy.Club

Twts matching #writing
Sort by: Newest, Oldest, Most Relevant

Struct Tags with Underscore Before Function Names
In the Go world, an underscore (_) before an expression is called a blank identifier. As you may already know, identifiers—user-defined program components, e.g., name of a function, variable, or package—in Go must be preceded by an underscore or a letter (a-z or A-Z). If they aren’t, you’ll receive the compile- time error which essentially means Go cannot read the syntax of your code (you didn’t write your code correctly … ⌘ Read more

⤋ Read More

Got to love the sense of humour:

Blog.txt supports multiple options for the chronological order of posts. If you start writing new posts below old posts, the default post sort is descending. If you start writing new posts above all the old posts, like I do, then the post sort algorithm will default to ascending. But if the user would like to change the sort order of the posts, they can press the “End” button on their keyboard to reverse the default chronological order!

⤋ Read More

** Data Types and Variables in C **
I’ve been writing a heap of Lua lately — this has lead to my becoming interested, again, in C. Here are some ancient notes I dug up on the most basics of data types and variables in C.

All of a computer’s memory is comprised of bits. A sequence of 8 bits forms a byte. A group of bytes (typically 4 or 8) form a word. Each word is associated with a memory address. The address increases by 1 with each byte of memory.

In C, a byte is an object that is as big as t … ⌘ Read more

⤋ Read More

@movq@www.uninformativ.de To clarify, Markdown is just text. 😊 I can do bolding, link things, and if single return multilines ever comes to jenny, I would be able to do bulleted and numbered lists.

Headings are OK too

The only things—that I know of—that doesn’t work is “> “, but I can use “>”, like so:

D’oh!

So, jenny allows me to write Markdown almost just fine!

⤋ Read More

@movq@www.uninformativ.de I am getting this when I run it on cron (extra lines in between becuase otherwise jenny will make them a mash):

Traceback (most recent call last):

File “/home/quark/jenny/jenny”, line 565, in

if not retrieve_all(config):

File “/home/quark/jenny/jenny”, line 373, in retrieve_all

refresh_self(config)

File “/home/quark/jenny/jenny”, line 294, in refresh_self

process_feed(config, config[‘self_nick’], config[‘self_url’], content)

File “/home/quark/jenny/jenny”, line 280, in process_feed

fp.write(mail_body)

File “/usr/lib/python3.8/encodings/iso8859_15.py”, line 19, in encode

return codecs.charmap_encode(input,self.errors,encoding_table)[0]

UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\U0001f4e3’ in position 31: character maps to

⤋ Read More
In-reply-to » @jlj I like your website's look, but i was disappointed to find that 'finger' doesn't seem to actually work. ;-)

You need better pen test scripts. :-) Seriously, the protocol is absurdly simple. Turn it on! Don’t trust any of the implementations? Write your own!

⤋ Read More

i remember having quite strange & unusual qualia as a child (kind of hard to describe & varied, i remember 2 specifically (not just the old “having more imagination” or “being easier to frighten”, but on a similar level as déja vu)), but these have faded over time as i went through adolescence. i wonder whether this is common. perhaps i should write that up, together with a rough description of those qualia

⤋ Read More

Nobody’s saying he can’t write code any more (I mean, I think his code is crap and wish he’d stop, but that’s another issue). But he should not be on any board, should not be in any leadership position, should not be held up as a role model or even vaguely okay.

⤋ Read More

I agree clients should present things better (part of why I’m writing one!). But that should be additive. There’s a reason we’re not passing json around.

⤋ Read More

my plan would involve writing the code for a seed asi and giving it a completely senseless goal, such as maximizing the number of paperclips & spreading as far as possible. this would benefit no one & cause untold damage. i will take no questions

⤋ Read More

@prologic@twtxt.net yeah it reads a seed file. I’m using mine. it scans for any mention links and then scans them recursively. it reads from http/s or gopher. i don’t have much of a db yet.. it just writes to disk the feed and checks modified dates.. but I will add a db that has hashs/mentions/subjects and such.

⤋ Read More

okay. txtnish is now officially sketchy. sometimes feeds don’t update, even if I run txtnish update, and this means missing replies. I gotta find something else if I’m going to make this more than a write-only experience.

⤋ Read More

being able to render TeX math equations to PNG files is pretty empowering, because it allows me to write about more technical things here that would otherwise be more difficult to communicate in plaintext.

⤋ Read More