Notices by Zergling_man (zergling_man@sacred.harpy.faith), page 13
-
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 14:39:21 JST Zergling_man @dcc @realman543 But I agree that a very simple braindead "map folder to port 80" server would be very nice to have. I don't know if such a thing exists. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 14:37:01 JST Zergling_man @realman543 @dcc If I were to do it in python it'd probably be about 20 lines just for error-handling, like the wtf one in this, which is a reasonably complete http server for file sockets only; a lot of the stuff in it can be stripped if you just want to spit out a file, but about half of run will have to stay. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 14:37:00 JST Zergling_man @dcc @realman543 Oh also if you want it to actually read the path and serve a file from there you need to make sure it lives in a chroot or something so someone can't request /../../../../../../../../../../../../../etc/passwd -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 14:36:59 JST Zergling_man @realman543 @dcc If you just want to serve one page and you don't care about the path, it's pretty safe; it can ignore everything in the request and just immediately return page.
If you care a little bit about the path you can put a check for req.split('\n')[0].split(' ')[-1]=='/', that's still pretty safe. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 14:23:17 JST Zergling_man @realman543 @dcc >how to host without a webserver (I shouldn't need to for one web page).
You need something to listen on port 80 and map paths in the request to paths in the filesystem. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 02:49:25 JST Zergling_man @Suiseiseki @mischievoustomato He's definitely acting retarded deliberately. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 01:57:46 JST Zergling_man @cajax And hate irony, doubtless. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 01:51:47 JST Zergling_man @Escoffier @sickburnbro I assume it's meant to be about the scientism cultists? -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 00:59:37 JST Zergling_man @clacke You should try it anyway, it's 7z afterall.
I don't actually expect it to work, but it's worth a try. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 00:59:22 JST Zergling_man @clacke Have you tried 7z? -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Tuesday, 24-Sep-2024 23:57:50 JST Zergling_man @noyoushutthefuckupdad >niggermarine -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Tuesday, 24-Sep-2024 22:17:39 JST Zergling_man @lunarised Blow up banks -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Tuesday, 24-Sep-2024 22:16:19 JST Zergling_man @lunarised Lack of purpose? -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Tuesday, 24-Sep-2024 22:02:30 JST Zergling_man @p @mint @lanodan @tadano @kirby @NEETzsche @PurpCat Fuck governments and their payment reuglation shit into infinity -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Tuesday, 24-Sep-2024 21:15:07 JST Zergling_man @r000t @lanodan @NEETzsche @p It's because the webdevs found python.
My python programs run anywhere, though they do pretty much all use fstrings and async so they don't run on anything older than like 3.8. -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Monday, 23-Sep-2024 19:20:12 JST Zergling_man @Humpleupagus @cowanon I can't believe it's not loss -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Monday, 23-Sep-2024 17:34:56 JST Zergling_man @Suiseiseki @nugger_ebooks Are you really arguing with an ebooks? -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Monday, 23-Sep-2024 13:42:46 JST Zergling_man @p @LovecraftEnthusiast @dcc I did, I think? -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Monday, 23-Sep-2024 13:42:41 JST Zergling_man @p @LovecraftEnthusiast @dcc RIP dqn btw -
Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Monday, 23-Sep-2024 13:42:40 JST Zergling_man @p @LovecraftEnthusiast @dcc ? Didn't it die? It moved from the unpronounceable instance to somewhere else and only lasted a few months.