Show more

Yay! I have officially made and published my first GNOME desktop application. ๐ŸŽ‰๏ธ๐ŸŽ‰๏ธ๐ŸŽ‰๏ธ

It is called "Short Circuit" , it is a developer scratch pad. If this description does not make sense (Most probably it does not) check out the repo's readme for a clear explanation of what it does gitlab.gnome.org/Bharatkalluri.

A GIF is more than thousand words

@philipwhite
Eh, no.
Github actually does a good job in a a lot of their functionality (despite much not working without js).
Every action is a post request, so they just send forms over. JS just autosubmits the forms in the background and maybe reloads part of the page (in jquery, that's like `$('').load('url/of/page ');`)

(Where they go wrong is by hiding the submit buttons with CSS rather than with noscript tags)

I just published my first project on sourcehut - sr.ht/~philipwhite/webpad/.

My goal is for it to be "notepad.exe for the internet". Not that I necessarily want it to get hugely popular. I just want something extremely simple that provides some of the benefits that Google Docs provides without all the downsides and bloat that comes with Google Docs.

The server is written in Haskell, which may cut down the audience of who would contribute, but please don't be shy. I would enjoy if more than just me were interested in the project.

@philipwhite
Looks like you're trying to write a text editor ๐Ÿ“Ž!
Atom's teletype uses commutative replicated data types. (github.com/atom/teletype-crdt) may be a little overkill (server to client changes possible), but it has some links which may be worth reading.

@sjb
Yes. On input time, sanitize (if the field is supposed to be only alphanumeric, make it alphanumeric). On output time, escape.
If the users want to enter raw html into the field, they should just know that it's going to get escaped.
Escaping before putting into the database is just going to end you up with a bunch of double escaping problems. (Double escaping is not best practice).
@philipwhite

@philipwhite
Forms cannot **yet** submit DELETE or PUT requests. It would be much safer to just use an arbitrary verb, like `e880ccc6-d32f-4eaa-b850-2e513eb7b97b-ing`.

@sir
Is it internally consistent for someone to be a nihilist **and** promote a software development and design philosophy as being more good than other philosophies?

@claudius @switchingsoftware
On version 2, and it's still promising... I just wish it didn't trigger a 1GB avalanche of JavaScript dependencies on install.

@sir
Not too convinced about the conclusion drawn here: it could also mean that blind people learn gestures by *hearing* the gestures performed by others, especially when falling raindrops allow precise three dimensional echo location imaging...

@sir
If you wanted to do that, you should have used the anonymous enum declaration
//in module foo
dec enum {
OPTION_A,
OPTION_B,
}
dec enum {
TACO_A,
}
def example = enum {OPTION_A}
//elsewhere
return foo::OPTION_A === foo::TACO_A == foo::example::OPTION_A;
@nergal

"When I picture it in my head I think of the early web as more of a library. Over time it has transitioned into a shopping mall." - chris_f (via HN)

@sir
I'm just saying laziness may have been the biggest motivator for them here.

@sir
And did anyone offer a pull request that would fix it during that year?

Show more
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml