/over/ Overboard /int/ Son of KC /map/ Map Board /b/ Random /o/ About /tech/ Technology /oc/ Original Content /war/ War /out/ Outdoor /v/ Video Games /pol/ Política /ru/ Русскоязычная /tv/ Movies and Television /sht/ Shit Talk /stalin/ Capitalism Bashing /t/ Torrents /s/ Sports /mu/ Music /ban/ Ban appeals /c/ Court /d/ Images /de/ Deutsch /fit/ Fitness /h3d/ 3d Board /hs/ Hispanics Paradise /kb/ Dating Apps & Related /ml/ Military /z/ Anime /igor/ Igor Blog /bog/ Bog 

Browsing via Lite mode. Switch to Full mode.

United States Bernd 2024-02-29 18:26:08 ⋅ 2d No. 302277
I've been working on getting a p2p imageboard functioning for a while and I decided to start fresh more recently with a new project. It's still not fully featured per se, but I feel like releasing it in it's current form since it's still functional and I want to see if it works in the wild. Hopefully you'll be able to see the existing boards and start posting. To install: >install node and yarn (or npm instead of yarn) >run "yarn build" to get the dependencies >run "yarn start" to start the server And you can add whatever boards you like. This basically works like a torrent. Moderation is local, so you can delete files and posts that you don't like, but it won't be deleted for others necessarily (unless everyone else blocks them and there are no more seeders). "Subscribing" to others as moderators so you can trust them to delete for you is also possible I just haven't hooked it all up yet.
United States Bernd 2024-03-01 21:00:19 ⋅ 1d No. 302347
>>302337 Oh thanks for pointing that out., I'll add it in.
United States Bernd 2024-03-02 01:55:03 ⋅ 1d No. 302354
>>302341 Just updated some stuff, I'm inclined towards minimalist design like that, but custom css selector is something on the to-do list. Also I looked into what you mentioned about the dependencies, I think maybe you built it using >yarn install or npm install instead of: >yarn build There's a subfolder with its own package.json so yarn build takes care of that. I also want to get this into an executable so people can just extract-and-run and also create a browser-based frontend that's compatible with the same p2p database in the backend as the desktop client. And I upped the replication factor on the seedbox node (and also made this into a config option, if you want to replicate everything instead of having it be dynamic, set replicationFactor to 1 in config/config.json) hopefully that will help avoid issues with data availability. If there are particular boards you'd like me to seed in addition to the defaults, let me know.
Germany Bernd 2024-03-02 05:29:01 ⋅ 1d No. 302356
>>302354 oh yeah i did npm install because npm build didn't work
United States Bernd 2024-03-02 15:00:45 ⋅ 20h No. 302376
>>302356 Okay yeah the directory structure (and also install) was excessively complicated, I put everything in one folder with one package.json now, so you should be able to install with npm install. Also makes the dependencies folder much smaller for some reason.


Peru Bernd 2024-02-29 00:12:18 ⋅ 3d
No. 302222
I asked a guy to give it maintenance and now it dissapeared, i havent checked yet if he removed it, all my games were there but im mostly worried about some ilegal files i saved there, how can i solve this problem?
Uruguay Bernd 2024-02-29 00:37:30 ⋅ 3d No. 302223
jajajajaja peduanito le descubrieron el sepesito :v
Peru Bernd 2024-02-29 00:52:29 ⋅ 3d No. 302224
>>302222 can you tells us more about those "ilegal files"?
Netherlands Bernd 2024-02-29 01:49:58 ⋅ 3d No. 302228
>>302222 > Gave a drive with illegal files for maintenance What could possibly go wrong...
Mexico Bernd 2024-02-29 03:51:15 ⋅ 3d No. 302230
Ajajajaj. Te robó el sepesito y de paso te borró todo ahajajjaja

Russia Bernd 2022-06-07 12:25:58 ⋅ 1y No. 163451
Have you tried talking to AI before? You can feed it some sexual stories and it will try to finish your thought
Russia Bernd 2024-02-21 13:07:16 ⋅ 1w No. 301660
>>301585 Nice How do you get this dress pattern?
Russia Bernd 2024-02-21 13:08:39 ⋅ 1w No. 301661
i thought it was memes, but Gemini is really that bad and it generates pictures only if you have VPN in USA
Russia Bernd 2024-02-21 13:47:27 ⋅ 1w No. 301663
>>301661 answer killed me
Slovenia Bernd 2024-02-21 14:50:54 ⋅ 1w No. 301667
>>301660 The laced one? I throw in lingerie into the prompt at random place :^)

Russia Bernd 2021-08-14 12:51:43 ⋅ 2y No. 119879
What do you think of Starship and SpaceX? Can they land this white tower on the Moon by 2024 ?
Azerbaijan Bernd 2023-11-10 20:34:27 ⋅ 3mn No. 293315
>>119882 stage ready to go orbital nukes
Russia Bernd 2023-11-10 21:21:07 ⋅ 3mn No. 293319
>>293307 he lost money on twitter
France Bernd 2023-11-30 12:39:25 ⋅ 3mn No. 294906
Russia Bernd 2024-02-20 20:59:49 ⋅ 1w No. 301592

Turkey Bernd 2024-02-17 13:41:55 ⋅ 2w No. 301220
Is there anyone who can help me with the functions of the pen button on please?

United States Bernd 2024-01-15 20:33:09 ⋅ 1mn No. 298534
PEARL OF GREAT 8.05 GB Download

TOP SECRET DOCUMENT- Restricted Information.pdf 108 MB Download

United States Bernd 2024-01-10 14:55:53 ⋅ 1mn
No. 298217
TOP SECRET DOCUMENT- Restricted Information.pdf 108 MB Download

Russia Bernd 2023-11-08 14:57:04 ⋅ 3mn No. 293169
> The first "cryonauts" met gruesome fates. A few of them decomposed into a "plug of fluids" and were scraped off the bottom of a capsule. The state of cryonics is much more advanced today, but the question remains: Is any of this scientific, or is it just wishful thinking? So far, bodies that have been examined following cryopreservation are hopelessly beyond repair. its funny because i remember being 16 year old boy and already understanding this shit, without a buck to my name, yet seeing millionaires who were dumber than me, trusting their bodies to strangers, hoping that they would care for their DEAD bodies as if they were alive and their own children. Like really, what a fucking bunch of retards who think they are high IQ, yet can't understand basic shit. When you are dead, you are not protected by law. I could go and piss into your cryopod and what are you going to do? Maximum i could be fined for desecrating corpse, lol, but who would even know, who would even check on your cryopod to see if the ice is piss-stained? No one. Because no one gives a fuck about you once you die, no one is going to to pay electricity bills to keep freezen your corpse for thousands of years, with electricity bill prices rising. Or maybe company will just declare bunkrupcy in a decade and your corpse won't be buried, just defrosted into goeey mass and drained into a toilet. or war will start and electricity would be cut out with your corpse spoiling due to heat. its not new arguments, its how i understood this shit even when i was a kid, but still nice to read about it now, knowing the corpses of those smug fuckers are rotting and they will never wake up
Russia Bernd 2023-11-09 09:04:30 ⋅ 3mn No. 293214
>>293169 Worst thing is, they failed to utilize the beauty of Alaskan permafrost
Russia Bernd 2023-11-09 09:10:03 ⋅ 3mn No. 293216
>>293214 >>293176 Siberia, Alaska - dude, this is initiative of techbros and sci-fi lunatics who only live in big cities, they aren't going to build anything in remote areas, they want to work in big city where they can order Uber eats and hang out at night clubs after work, not in some cold desolate permafrosten asshole of the world
Russia Bernd 2023-11-09 09:11:56 ⋅ 3mn No. 293217
this is also reason Mars travel by private companies is not going to happen, lol Mars is worse than Alaska, no 5G internet, no hookers, no uber eats, no netflix, no nothing - no tech bro like Musk would ever go to Mars.
Russia Bernd 2023-12-11 05:56:01 ⋅ 2mn No. 296014
>>293169 LOOOOOOOOOOOOOOOOOL Those guys were a fucking hope for the humanity Without them, were fvked


Germany Bernd 2023-12-08 19:18:54 ⋅ 2mn
No. 295739
Why does'nt this HTML, CSS and Javascript-code work? "<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" contect="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href=""> <link rel="stylesheet" href=""> <script defer src=""></script> <style> .demo-list-control { width: 300px; } .page-content {padding: 0px 100px;} </style> <script> function addTodo(){ todolist.innerHTML = ` <li class="mdl-list__item"> <span class="mdl-list__item-primary-content"> <i class="material-icons mdl-list__item-avatar">label</i> Todo1 </span> <span class="mdl-list__item-secondary-action"> <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="list-checkbox-1"> <input type="checkbox" id="list-checkbox-1" class="mdl-checkbox__input" checked /> </label> </span> </li> `; } </script> </head> <body> <!-- Always shows a header, even in smaller screens. --> <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> <header class="mdl-layout__header"> <div class="mdl-layout__header-row"> <!-- Title --> <span class="mdl-layout-title">To Do Liste</span> <!-- Add spacer, to align navigation to the right --> <div class="mdl-layout-spacer"></div> <!-- Navigation. We hide it in small screens. --> <nav class="mdl-navigation mdl-layout--large-screen-only"> <a class="mdl-navigation__link" href="">Link</a> <a class="mdl-navigation__link" href="">Link</a> <a class="mdl-navigation__link" href="">Link</a> <a class="mdl-navigation__link" href="">Link</a> </nav> </div> </header> <div class="mdl-layout__drawer"> <span class="mdl-layout-title">To Do Liste</span> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="">Link</a> <a class="mdl-navigation__link" href="">Link</a> <a class="mdl-navigation__link" href="">Link</a> <a class="mdl-navigation__link" href="">Link</a> </nav> </div> <main class="mdl-layout__content"> <div class="page-content"><!-- Your content goes here --> <form onsubmit="addTodo()"> <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> <input class="mdl-textfield__input" type="text" id="todofield"> <label class="mdl-textfield__label" for="todofield">To Do einfügen...</label> </div> <button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored"> SPEICHERN </button> </form> <ul class="demo-list-control mdl-list" id="todolist"> </ul> </div> </main> </div> </body> </html> " I wanted to create an Todolist and it was compiled too, and there is a note too, but then the page gets reloaded for some reason. Do you know why? Should I just start from scratch?
Hungary Bernd 2023-12-08 19:38:19 ⋅ 2mn No. 295742
So basically you want a form where you add items to your to do list and a table (of one column) which displays the items? I dunno why the above code don't work. What I'd do: The form would be in input text field, and a button. In js I would create an p element, which I would clone and append to the table container every time I click the button, it would get it's textcontent from the input field. The button would get an eventlistener with the function doing this appending. The "table" can be above ofc, and the "form" below (neither needs to be form and table html elements ofc). The structure of the html would be: - body < main < div1 (table) + div2 (form). - div1 < h4 (To Do List) + p + p + p + p... (these generated by js) - div2 < input (text) + button Make the main flex, and center the content both vertically and horizontally. Make the divs fixed width. Add margins padding and whatnot to your liking. Leave out the 3rd party crap (fonts and js).
Hungary Bernd 2023-12-08 19:45:37 ⋅ 2mn No. 295745
Also the function which adds the items to the table would also clear the input value so don't have to do it manually.
Hungary Bernd 2023-12-08 20:18:11 ⋅ 2mn No. 295749
Actually you need a container for the 'p' elements, to make it easy to add a "clear list" button , which would clear this container from elements. And now I have more ideas like numbering the items, plus adding buttons for each to delete em individually. Rabbit hole.


Bavaria Bernd 2023-12-06 14:49:33 ⋅ 2mn
No. 295554
I was trying to run this java code: "import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.JPanel; public class GUI{ public GUI(){ JFrame frame = new JFrame(); JPanel panel = new JPanel(); panel.setBorder(BorderFactory.createEmptyBorder(30, 30, 10, 30)); panel.setLayout(new GridLayout(0,1)); frame.add(panel, BorderLayout.CENTER); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setTitle("Our GUI"); frame.pack(); frame.setVisible(true); } public static void main(String[] args){ new GUI(); } }" but then this error appeared: "java -cp /tmp/AzkXKsnCdS GUI Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.desktop/java.awt.GraphicsEnvironment.checkHeadless( at java.desktop/java.awt.Window.<init>( at java.desktop/java.awt.Frame.<init>( at java.desktop/java.awt.Frame.<init>( at java.desktop/javax.swing.JFrame.<init>( at GUI.<init>( at GUI.main(" I am just a beginner in programming and I dunno how to fix it, can you help me?
Azerbaijan Bernd 2023-12-06 14:54:20 ⋅ 2mn No. 295555
its linux issue, just google it
Germany Bernd 2023-12-07 06:26:03 ⋅ 2mn No. 295611
On Stackoverflow someone meant it could be handled with this command: „java -Djava.awt.headless=true -jar gate-5.0-beta1-build3048-installer.jar“ is that right? Where to put it?