Posts by binarycat@pleroma.envs.net
(DIR) Post #AMpJ6VWUe4I0MsJfHs by binarycat@pleroma.envs.net
2022-08-23T17:33:19.848936Z
0 likes, 0 repeats
@ae you can still marshal the source code to text for transfer if you want.things like smalltalk get the worst of both, you are still editing text but it gets saved in a monolithic binary image.there have been languages that only work with a few editors, however most of them are still fundamentally text editors (i mentioned smalltalk before, colorforth is another that comes to mind)
(DIR) Post #AMpM3BfeIbK9n5hu08 by binarycat@pleroma.envs.net
2022-08-23T18:06:14.456188Z
0 likes, 0 repeats
syntax errors are just not a thing in several forths.the syntax is non-whitespace seperated by whitespace, which is what all text is, technically.
(DIR) Post #AMzYeQPhafFxGBN0aG by binarycat@pleroma.envs.net
2022-08-28T16:14:37.941055Z
0 likes, 0 repeats
data compactness is often not worth the code complexity, as the added code may use more space than it savesthis is part of why it can make sense to represent 8 booleans using 8 bytes instead of 1.of course, as soon as you have several instances of some datatype, it quickly becomes beneficial to make that datatype as compact as possible.
(DIR) Post #ANMp17mdeoIKNZiiky by binarycat@pleroma.envs.net
2022-09-08T21:36:22.409835Z
0 likes, 0 repeats
forth has an interesting philosophy of compartmentalizing logic but not state.individual words (functions) are usually quite small, but most state is just stored in unnamespaced global variables.
(DIR) Post #ANMudlAm9lrBJmFhnE by binarycat@pleroma.envs.net
2022-09-08T22:39:23.353114Z
0 likes, 0 repeats
i think an interesting measure of a programming language is how many features go unused in a given programming project.
(DIR) Post #AOZnPekjTwCo3rKixs by binarycat@pleroma.envs.net
2022-10-15T01:41:43.726360Z
0 likes, 1 repeats
* using watchpoints and other fancy debugger stuff to understand what your code is doing* using a debugger just to step through code and print stack traces* unit test everything and then some* look at the line number where the program crashed and scatter assert() around there until you find the problem* remove code until things work to find the problem* scientific method* insert print/log statements that output the value of variables* vauge print statements* print singular characters because you don't want to loop over a string in assembly* reimplement until it works* "it's a feature"* hope
(DIR) Post #AOaEsZ6aFvTNhpYzCa by binarycat@pleroma.envs.net
2022-10-15T06:49:30.348357Z
0 likes, 0 repeats
the julia repl has an example of using a try/catch block... it's responding to _every error_ by printing "file not found"
(DIR) Post #AOziGi3sK56XWNH9yi by binarycat@pleroma.envs.net
2022-10-27T13:46:35.773631Z
0 likes, 0 repeats
software can be good sometimes.i was having really bad problems with editing large markdown files on my phone, like a second of lag whenever i typed anything.decided to update the app because why not. lag is completely 100% gone.i'm so used to software just staying semi-broken forever as they get ui reworks that noone asked for.(app is markor if anyone is wondering)
(DIR) Post #AP025SYnc7qtLJeYtM by binarycat@pleroma.envs.net
2022-10-27T17:28:40.638974Z
0 likes, 0 repeats
weird how nintendo went from barely describing patches at all to giving huge lists of every bug fixed in an update.very few projects will actually go through the effort for that (how many times have you seen "various bug fixes" in a changelog)
(DIR) Post #AP2jWrPO1P6gZWTyK0 by binarycat@pleroma.envs.net
2022-10-29T00:44:11.801063Z
0 likes, 0 repeats
if you have a list of things, and don't allow me to easily reorder them, please reconsider.i would like to change the order of my accounts in a fedi client, but no...
(DIR) Post #AP4f7VZw2Jzg7yzZEO by binarycat@pleroma.envs.net
2022-10-29T23:04:53.004461Z
0 likes, 0 repeats
spent several hours reading the HTTP/3 spec.a stateless protocol this is not
(DIR) Post #AP4fbMID7qeE11w35U by binarycat@pleroma.envs.net
2022-10-29T23:10:16.992418Z
0 likes, 0 repeats
9p, a protocol not built for TCP, deals with it's "slow start" mechanism quite well.http, which afaik was always supposed to be on top of TCP, does not, and had to have connection management stuff tacked on after the fact
(DIR) Post #AP4fpKxcsIL1wFyLs8 by binarycat@pleroma.envs.net
2022-10-29T23:12:48.609232Z
0 likes, 0 repeats
"mandatory extension" that's a weird way to say "part of the core protocol"
(DIR) Post #AP4gJGPQMVmaVeFFEu by binarycat@pleroma.envs.net
2022-10-29T23:18:12.298618Z
0 likes, 0 repeats
@Seirdy http hasn't been truly stateless since 0.9
(DIR) Post #AP4h5d23YM2mZdNQgK by binarycat@pleroma.envs.net
2022-10-29T23:26:57.407084Z
0 likes, 0 repeats
several hours was enough for me to understand "wow, this is a mess" and give up.
(DIR) Post #AP4j2qqZvujqSXoOH2 by binarycat@pleroma.envs.net
2022-10-29T23:48:51.958071Z
0 likes, 0 repeats
@Seirdy why would you use http/2, then switch to http/3 mid connection??yeah QUIC is like... fine? it does some neat stuff with bitpacking extra significance into stream ids and stuff...but yeah, server push, pseudo headers, stream types being variable length for some reason (is 256 not enough???)...also, i really think they could've really used this opportunity to break some backwards compatibility more. they already removed Transfer-Encoding and Connection, imo they could have removed more.
(DIR) Post #AP4jGmAy64pO1gzMMy by binarycat@pleroma.envs.net
2022-10-29T23:51:23.883726Z
0 likes, 0 repeats
@Seirdy also, "mandatory extension"
(DIR) Post #AP4mEAOZtPZM8Snm8O by binarycat@pleroma.envs.net
2022-10-30T00:24:30.453324Z
0 likes, 0 repeats
@Seirdy you can make multiple requests in one connection tho??unless you're telling me that HPACK sticks around after you close the TLS connection?
(DIR) Post #AP6CPZVvdPq5BuIbAm by binarycat@pleroma.envs.net
2022-10-30T16:52:37.026381Z
0 likes, 1 repeats
forgot to increment my iterator variable in a while loop, when i ran it my entire computer locked up.what decade is it again???
(DIR) Post #AP91X4Nbicd4SdTd7g by binarycat@pleroma.envs.net
2022-11-01T01:34:52.348629Z
1 likes, 0 repeats
app developers: please stop opening the camera frivolously. it draws a significant amount of power and can cause the phone to die earlier than normal. this is expecially the case for phones with old batteries