/tech/ - Tech

Technology.

catalog
Mode: Thread
Name
E-mail
Subject
Message

Max message length: 8192

Files

Max file size: 20.00 MB

Max files: 3

Password

(used to delete files and postings)

Misc

Remember to follow the rules


bunker performance issues Comrade 03/12/2020 (Thu) 22:33:35 No. 461 [Reply] [Last]
As I'm sure most of you have noticed, bunkerchan has been having a lot of performance issues lately, with Nginx gives 500 internal errors while clicking on random threads or the catalog. When replying you occasionally get a 'connection lost' message. Image links are broken or disappear or don't expand when clicked. The site itself is much more sluggish and slow. The fact is the bunkerchan userbase has grown from 200ish people to about 750+ people and high amounts of engagement and posts per hour. This is good news but also brings the need for a higher level of technicality. What exactly is the problem? some possibilities: - Lynxchan is fundamentally unscalable. as many anons have pointed out this is actually the largest and most active lynxchan install ever created, so its possible that the code itself is shit at scaling having never been tested at that level before. - The server hardware is inadequate. It's possible the app server hardware is not adequate to the problem. The expensive solution, scale vertically by buying bigger, buffer servers. - Configuration. The fact that the errors are 500 seems to indicate not a problem with nginx, but the app on the backend that its reverse proxying (lynxchan). Maybe its possible to increase performance and scalability by using Nginx caching/microcaching of images/pages. This would allow present servers to be able to scale to many hundreds of more users, if done correctly, there are guides to this online but it requires mucking around in the dirty details of nginx config. Cloudflare itself already does alot of caching so the perf improvement from this might not be as great as a non-cloudflare site. any other ideas? (not a member of the technical staff of bunker).
20 posts omitted.
(69.67 KB 866x768 1579818286058.jpg)
>>506 I don't have one
(72.83 KB 650x507 gore.jpg)
>>506 >>519 I mean I voted yes in the poll but lets speak frankly. This was supposed to be a temporary space, then 8ch was obliterated and it seems like the new site owner isn't overly concerned for the users wants. If the only problem that could have ever happened due to that trait was with the rogue mod, we should be assured of that. Space_ himself wasn't very apologetic about it and was last seen saying he'd rather delete the whole site rather than do what the users wanted. So it'd be nice if when he asked for server money said something to the effect of "yeah that was fucked up, i cannot foresee this ever being a problem in the future however you should trust me :-)" the minimum gesture would go a long way. And if space_ doesn't want to do it, then the mod team of leftypol is going to have to once again step up and take the responsibility for what they're asking us to do. When this all possibly goes to hell and the people who donated feel robbed they need someone who will accept the blame for it.
(103.35 KB 562x574 idktho.jpg)
>>520 >>490 So the poll should really be: should we pay for a better server or should we start making plans to move to another site. And my answer in that case would depend on the future, if the tech guy who is supposed to be on break in a few weeks(maybe sooner now with the 'chink flu' as trump calls it) can fix all the little user-side annoyances and inconveniences in lynxchan then we should stay here. If the software is never going to get any better then i think maybe it is worth losing some users who get lost in the move and seeing if we can move to leftypol.org. I'm sure comsopolitonmongrel will give you the domain if you ask, he's said as much in discord when i met him. or another domain if that doesn't work out. Cause we're currently hampered by bad software and an absence of leadership. And we can survive one but not both. just my opinion.
STILL GETTING INTERNAL SERVER ERROR 500'S
>>621 I get these as well from time to time

(541.34 KB 420x300 bunkerstarcraftgif.gif)
FLOSS imageboard software Comrade 01/29/2020 (Wed) 09:42:40 No. 283 [Reply] [Last]
https://github.com/8b2eef7c901269e8e9a6ec532d57b6b1/supremereality Cons - Terrible CSS - No use of redis/memcached or any caching - cuck BBcode formatting until the last version PROS - Written in a functional language (Clojure) - Way less lines of code than Vichan - No CAPTCHA, uses honeypot method of spam prevention - User created boards unlike Lynxchan Maybe the CSS can be modified to make it better?
16 posts and 3 images omitted.
>>294 Twitter runs like absolute dogshit
>>605 >i know programming better than engineers at a top company in the world strong "i have over 300 confirmed kills" energy
jannies please bumplock this thread
>>606 Have you tried using it lol?
>>607 Why the fuck should they?

Cyrilic Encoding in the 1990s? Comrade 03/24/2020 (Tue) 12:40:38 No. 611 [Reply] [Last]
>>>/leftypol/391425 >There are some Russian posts but they have some weird encoding >>376661 >I was reading about usenet a couple of months ago and stumbled upon a website that has an archive of posts during the August coup from the 19th of August to the 22nd. It has some posts on the website but most of them must be downloaded. They are in the .tar format but they can be read with notepad or notepad++, or any other text editor. >collapse.su
Fug second link should be >>>/leftypol/376661
It's either KOI8-R or KOI8-U, there's not much difference. I uploaded the original files along with them converted into UTF-8 here: https://files.catbox.moe/twrgxo.7z I accept payment in the form of meganekko.

Comrade 02/17/2020 (Mon) 11:27:07 No. 40 [Reply] [Last]
Is protonmail a honeypot? >Trying to sign up on .onion links back to .com >Can't sign up with vpn >Only accepts crypto after you've signed up There's absolutely no reason for not allowing sign-ups with vpns/TOR and activating the accounts after the payment has gone through Do there exist any alternatives that aren't glowies?
7 posts omitted.
>>47 Go away NSA
>>48 >Anyone who criticize my lifestyle is a federal agent! The begginers' guide to anarcho-liberal political discourse.
>>49 Not today CIA
It was pretty much advertised in Mr.Robot, so most likely.
>>46 They only ratted out actual scammers tho.

(275.43 KB 2508x2043 nntpchan.png)
Seizing the Means of Anonymous Discussion Comrade 03/22/2020 (Sun) 21:45:19 No. 575 [Reply] [Last]
Recent events have once again highlighted the necessity of a truly communal, self-governed anonymous discussion forum. This thread is for the development of new forms of decentralized anonymous image boards. The problem in need of a solution is this: How can we develop a forum that genuinely empowers its community and allows them to resist censorship? One recent attempt is NNTPChan/Overchan. NNTPChan is a decentralized imageboard that uses the NNTP protocol (network-news transfer protocol) to synchronize content between many different servers. It utilizes cryptographically-signed posts to perform optional/opt-in decentralized moderation. I'm still rather confused on how moderation works there myself. This seems like a great idea, by distributing a forum across a collection of servers one can resist the disruption of any single server. When 8ch was shutdown by its DDoS provider, however, its community didn't find the motivation to learn from this and migrate to a censorship-resistance platform. Instead its subcommunities were scattered to the winds, the ones that survived coalescing back on a number of individual websites using the classical top-down server-owner structure, with all the authority and alienation from its userbase that it necessarily contains. What lessons can be learned from this? Is there more that can be done?
it's not user friendly and nobody likes to pay server hosting fees
>>576 Okay, so what are some solutions to that?
(148.26 KB 1139x503 webring.png)
Another recent attempt was used by a number of 8ch diaspora communities (sadly not including bunkerchan). They all put together a "Web Ring" where they would include each others' boards from the board catalog. This is much like the old link chains of web 1.0 before search engines became really adept at crawling the web. This can provide "options" in a libertarian sense, allowing people to move to another part of the web ring when there is discontent with how one community is ruled. But we know from the experience of board ownership on 8ch, and even the history of most 4chan alternatives, that these usually aren't real options. Unless a substantial fraction of a community moves in unison to a new space they often don't have enough to sustain themselves. Much like the illusion of choice under wage labor in capitalism, you can choose to post somewhere subjected to the fickles of one owner or another owner, but you can't choose to post somewhere without owners who can exercise power over your discussion. Furthermore, at the end of the day the communities still have to answer to higher powers: the person who owns the website, the person who provides DDoS service, etc.
>>578 maybe make cryptocurrency donations to owners of "nodes" like a core feature, should be no more than a 2-step process, you can see plenty of idiots are willing to throw their money around like it's nothing on twitch, youtube live chats, live sex cams, patreon, gofuckme, etc., it should be the same way here but with cryptocurrency not credit cards/paypal
>>576 It is user friendly. Server cost is only an issue if you don't value the community that much. >Theoretical architecture I think the primary thing is identifying the common denominator between socialists on here - in terms of what it is we equally/generally talk about. The answer may be anti-capitalist topics, news, history, /trash/, etc. This could be hosted on "one" (redundant) main server. Then surrounding this you could make three-four different communities for the ideological differentiation, i.e. ML, leftcom, ancom, socdem, each with their own (redundant) servers. This would help develop theoretical understanding in the comrades, by letting threads on theory really allocate more high quality discussion, free from incessant shitflinging (which is the case on leftist unity chans thus-far). I think something like this would take the community to another level. But it would require a common code-base / a wiki for making setup easier. Onion services would of course come with the territory, in line with the history of the protocol/community. Servers (???): · Anti-capitalist (critique, news, etc.) + .onion · Strategic (political ideology) + .onion · Formal (gitlab/wiki/booru/archive) + .onion

Comrade 03/22/2020 (Sun) 03:25:51 No. 560 [Reply] [Last]
I've just recently started to learn how to code, can google my way through basic shit in python, javascript, java How can I contribute to the world while locked up?
3 posts omitted.
(37.40 KB 583x436 anal.png)
You fucks whining is more annoying than the milk-n-toast """coom""" SFW bikini girls you keep derailing threads over. If this doesn't stop I'm going to start replying to you vermin with gaping orifices, seminal fluids and fetishistic deviancy that would cause concern for most. So, in regard to your question OP, I would suggest helping out riot-web, i2p-browser and/or building a lynxchan-NNTPchan crossover with onions, garlics and a wiki and booru in the same "system" of services. Maybe FreedomBox would help out with this, I'm not an expert (more of a hobbyist). Big up learn Rust, it'd be easy for you (and many important projects are migrating to it for some sort of lang-based security improvements over the others).
>>566 thanks for the actually helpful response!! I'll look into all of that.
>can google my way through basic shit in python, *can search the web through basic shit in python Please avoid using G*gle to refer to web searching
(147.31 KB 1280x720 hold_sicp.jpg)
Read SICP!!
>>560 If you want to contribute then you'll have to learn how to read code as well as write it.

(166.40 KB 1164x960 C_kk-kjW0AAJU5m.jpg)
Capitalism Ruins Everything Comrade 03/08/2020 (Sun) 08:59:52 No. 412 [Reply] [Last]
Thought this story was worth sharing. A bit of an interesting case example as capitalism ruining everything in the end no matter how benign it starts out and a good cautionary tech security tip/tale. https://krebsonsecurity.com/2020/03/the-case-for-limiting-your-browser-extensions/ The Case for Limiting Your Browser Extensions >Last week, KrebsOnSecurity reported to health insurance provider Blue Shield of California that its Web site was flagged by multiple security products as serving malicious content. Blue Shield quickly removed the unauthorized code. An investigation determined it was injected by a browser extension installed on the computer of a Blue Shield employee who’d edited the Web site in the past month. >The incident is a reminder that browser extensions — however useful or fun they may seem when you install them — typically have a great deal of power and can effectively read and/or write all data in your browsing sessions. And as we’ll see, it’s not uncommon for extension makers to sell or lease their user base to shady advertising firms, or in some cases abandon them to outright cybercriminals. >The health insurance site was compromised after an employee at the company edited content on the site while using a Web browser equipped with a once-benign but now-compromised extension which quietly injected code into the page. >The extension in question was Page Ruler, a Chrome addition with some 400,000 downloads. Page Ruler lets users measure the inch/pixel width of images and other objects on a Web page. But the extension was sold by the original developer a few years back, and for some reason it’s still available from the Google Chrome store despite multiple recent reports from people blaming it for spreading malicious code. You can click through for the rest but long story short the malware adds ads to the page(how late stage capitalism is that? Everything's about the ads.)

Message too long. Click here to view full text.

4 posts omitted.
>>437 If they are proprietary then yes it is, lol
>>437 dumb post. it's always fine until it isn't
(376.07 KB 1514x1308 inbox.png)
>>437 Even if you vet your addons (I always read the source code), there is a real risk from automatic updates and acquisitions. I'm the developer of a moderately popular open-source extension (< 100k users), and I constantly get spammed with this shit.
>>492 holy fuck porky really is hard for your extension
>>492 How do you monetize it if it's open-source?

(9.98 MB 650x345 serveimage.gif)
Comrade 02/11/2020 (Tue) 23:20:05 No. 162 [Reply] [Last]
I made a mild college CS alarmist post today on /leftypol/ and was asked by a student for advice on what to avoid in school. I'm well aware of how contentious programming can get, often with people disagreeing on what even constitutes fact vs. opinion, so feel free to argue against anything I say or provide your own advice to any potential CS students. Disclaimer: If you want to be a web-dev, none of what follows is applicable. Offer up your soul to the mad gods of JavaScript and prepare to live out your days in unspeakable agony. Here is my generalized advice in terms of CS: take any class that is focused on implementation rather than theory. Theory is also very important but it is absolutely useless unless it relates to your actual programming experience. If you are not being assigned large or challenging projects, make your own. Things to avoid or be skeptical of: - You are primarily being tested on pen-and-paper. The only time programmers have to write algorithms without a debugger or at least a console to print to is in job interviews. You can fail every single test in algorithms class and still be a boss programmer. Tests like these are more akin to Math exams where you must provide proofs. - You are being force-fed OOP (Object Oriented Programming), either by an academic ideologue or simply by virtue of using Java which basically forces it. OOP in programming epitomizes "ideology" in Zizek sense, it's an abstract model adored by academics who don't write code for actual users because of its perceived elegance and simplicity. However, real-world code ALWAYS has to deal with reality's messy edge cases, which renders any OOP code into a nightmare. There are about a million other reasons it's bad, there are many good lectures on YT. - Dynamic languages. If you have never programmed you might not even know what this means. Some examples include Python, JavaScript, Lua, etc. These are good for very small applications, like scripts, support tools, toy programs, hobby use, etc. The problem is that they can often be slow, and generally let you make fatal mistakes that you won't even know about until you actually hit the bug in testing. Compiled languages (C, C++), on the other hand, have a huge amount of rules that the programmer must obey before they even run the program. If all the rules are satisfied, the compiler translates your code to a fast, efficient format that gets directly executed by the cpu. This ends up saving an enormous amount of time by catching mistakes before running the program, and it produces a faster result. You should ultimately learn both dynamic and compiled languages, but only the latter ultimately leads to enlightenment. And FOR GOD'S SAKE if you are making a large, non-trivial project, make it in an actual, compiled language. Things to do: - Figure out which direction to go in. Programming has an almost unlimited array of applications. Eventually you will have to specialize to a certain degree. - Learn how to read code. This is brutal at first and only comes with time, but eventually you will learn how to. Whenever I find something interesting on github, I poke my head in and see if I can get any good ideas, or just observe how others solve the same problems I have. - Learn a god-damn text editor. I use Vim. It's horrible at first, then it's pretty nice, then it's great, then it becomes part of your being. - Be optimistic. Yes, I know, this sounds retarded, but hear me out. I knew before I ever started programming that it absolutely MUST feel amazing to be a really good programmer. I still have a lot to learn but these days I can tackle most problems that come up without consulting the internet and holy fuck does it feel good.

Message too long. Click here to view full text.

27 posts and 4 images omitted.
>>186 This program looks pretty damn good, anon!
From a programmer: Don't become a programmer. The only fun stage is the initial stages where you start planning but the actual work and problems you run into later on are stress inducing, you can never achieve what you want, you can't do something "good enough", all your mistakes catch up on you. Programming is hell.
>>186 Damn, that's an easy cource. In my uni there's a lot of hard math and telecomms, which are very hard. Also i notice that it doesn't have many network related classes or many math related ones.
>>176 Suddenly started sweating when I realized my university course has had little to no maths until now. We did a bit of sets and relations and some combinational logic but nothing like your curriculum. I might be misunderstanding though, are the "related requirements" section pre-university? If so I did all of that and more in high school. Some days I wish I was doing a maths major instead. I'd post my github but I'm new here, not sure if bunker-chanians are OK with light-doxxing lol.
>>558 related requirements are courses from other departments that you have to take but are required for your degree. The calc 1/2 and physics 1/2 could have been taken either in college or AP (high school) if you're a burger. IF you're a european then you likely learned those things in secondary education except for some of the advanced classes like linear algebra, diffeq, and calculus-bases prob/stats. in real life programming you rarely use that stuff anyway outside of very specific things in machine learning or 3d graphics.

Making an Image Board Comrade 03/19/2020 (Thu) 16:38:29 No. 533 [Reply] [Last]
I am a retard when it comes to programming and shit, but I was wondering how image boards are made. I tried looking it up on Youtube but found very limited results. Wondering how it's done, and what's needed
1 post omitted.
>>533 see: >>283 the source codes available on github
Protip: don't.
(42.47 KB 1280x720 maxresdefault.jpg)
It's actually quite simple. An imageboard is a text board with image (or more generally multimedia) attachments. A textboard in turn is built up of three things: - A frontend with a HTML form for composing new posts and responding the existing threads - A backend that generates the threads in HTML - A storage mechanism (file system, SQL database, plaintext file) to which new posts are appended and threads/boards/... can be queried. Connect these three components, figure out how to store images, and you've got a basic image board. If you want to go on, you would consider adding an administration interface, more fancy CSS, image previews via thumbnails, highlighting references, etc. Everything that makes a 8ch or a bunkerchan is just more features upon this base.
>>534 vichan is deprecated, says so right on the github page

(183.20 KB 1200x900 1200px-HTC_Dream_Orange_FR.jpeg)
Smartphones Comrade 03/13/2020 (Fri) 01:36:02 No. 477 [Reply] [Last]
Yes, smartphones are cool gadgets: You can read theory, browse /leftypol/ and listen to music on the go! Let's talk about these awesome devices in this thread! What models are you using?
>>477 Cheapass Android one. Though I will be getting a Librem 5 in a few months.
(2.28 MB 5472x3648 zero phone.JPG)
Touchscreens are cancer and I'll continue using buttons for as long as I can. Looking forward to the Zero Phone when someone finally comes up with a shell for it.
(47.10 KB 368x368 consider the following.jpg)
>You can read theory, browse /leftypol/ and listen to music on the go! But do you need to?
I have an iPhone 6( bought from a flea market), had it since 2016 I believe and don't want to switch because of the audio jack
>>553 Yeah not all of us have constant access to and from libraries. Using it for anything other than studying, socializing, and CONSOOMING a little entertainment is pretty cringe though. >>477 I have an iphone 6 I got as a teenager. I limit my usage of it to studying and socializing only though. Everyone should imo I only CONSOOM for a few minutes at the end of the day as a reward for completing everything I wanted to do

Delete
Report

no cookies?