/g/ - Technology

Computers, Software, Technology


[Start a New Thread]
[Hide]
Posting Mode: New Thread
Säge
Subject
Message

Max message length: 5000

Files
Captcha
E-mail
Password

(used to delete files and postings)

Misc

  • Supported file types: GIF, JPG, PNG, WebM, OGG, and more
  • Max files: 5
  • Max file size: 50.00 MB
  • Read the global rules before you post, as well as the board rules found in the sticky.


02/27/20 IRC/Matrix/and Discord servers are now available, join here.
02/09/20 /ausneets/ has been added!
11/23/19 Donations can now be made via PayPal, thank you for all of your support!
11/21/19 We have successfully migrated to LynxChan 2.3.0, to see all of the changes to 16chan, click here.


[Catalog] [Archive] [Bottom] [Refresh]

(223.45 KB 1365x630 Screenshot_2019-09-20_21-14-27.png)
Anonymous 09/21/2019 (Sat) 04:50:51 No. 91 [Reply] [Last]
Hi everyone! I have a question about image serving. I'm making a 4chan clone, and currently what I do is I download the image from the client, make thumbnails on the web server, and then I use rsync to send it to my "image server" which is just an Ubuntu box that serves a folder impartially. An issue (I think) is that I end up downloading the user's file twice. I download it once on the web server, and then again on the "image server."

I also have to make thumbnails, in which case I just use imagemagick. Currently, I make the thumbnails on the web server because I will likely have multiple instances of them running, it seems fitting to have harsher processes there. As a result, I also send the thumbnails and more to the "image server."

One issue I have is that I also have to manually delete files via rsync. While nginx is fast, if I were to soft delete a file in my database (the database contains basic file information like filename, format, date, and more), I wouldn't be able to forward the changes and prevent the box from serving the files. I depend on rsync to work, when I would prefer "checking" if a file is allowed to be shared before I send it to the client. Do you think it would be worth it to write up a REST api to ensure more control?

As you can see, there is no sync between the file system and the database, and this can result in me serving illegal content or for stale content to stack up and waste space.

Do you guys have any suggestions to how I can improve this architecture? Are there better ways to handle this? I'm going to have one instance of an "image server" and multiple instances of my web servers. I really don't want some random power outage to occur and end up serving illegal content unknowingly because I would have no way to sync my file system the database.

One solution I was thinking of was forwarding the request to a custom REST api that would communicate with the database and check if the files are safe to share. The only issue is that this doesn't solve the duplicate download....

Any advice would be helpful!

(pic related, it's what the app currently looks like)
16 posts and 3 images omitted.
>>291 Wut?! Uh... using thumbnails will SIGNIFICANTLY reduce bandwidth and increase loading speeds... also browser resizing is usually shit level bicubic or bilinear... or if you're using IE I think they're still stuck back in nearest neighbor resizing. I like using PHP with the Lanczos algorithm, in conjunction with cached thumbnails. You can create "perfect liquid" websites like this one I made back in the early 2Ks... http://mimkrys.epizy.com/qausi.html (you can also click on the window and drag it around) Resize your browser to any size you like and the entire site will recode itself on the fly... http://mimkrys.epizy.com/internals.js God Level coding! :D ...not very practical, but fun for "proof of concept" stuff.
>>638 your website is just a blank white page without javashit turned on and with it it's Google telling me they won't let me on unless I let them store cookies in my browser
>>655 Well it sounds like you need an adult to help you figure out how turn on javascript and enable cookies. I mean, I guess it ~sounds~ pretty... self-explanatory, but uh... some tards are just slower than others I guess. *shrugs*
>>743 OpenNSFW wasn't designed for hentai. I'll need to learn how to use Tensorflow and train my own model, but until then keep posting haha

(30.81 KB 520x320 cultured-pepe.jpg)
Media Creation Software Thread Anonymous 09/23/2019 (Mon) 18:06:55 No. 114 [Reply] [Last]
This thread is for discussion of free software that allows one to create and modify cultural works in all their forms.
14 posts and 14 images omitted.
>>270
>5 af M afrikaans other/af
Why are africans in eSpeek?
>>261
More Wine! Emulator!
Bumping this thread cause you faggots aren't posting enough OC ~step it up~
>>260 >espeak I think flite and flitevox voices are more coherent. Do you think? Am I not using espeak right to have it better sounding than flite?
(121.95 KB 1024x768 foo.png)
>>118 Xpaint is the simple, old school equivalent for *nix.

/spg/ - Smartphone General Anonymous 01/18/2020 (Sat) 01:02:14 No. 709 [Reply] [Last]
Death to Cuckchan Jannies Edition If requesting purchasing advice, please provide your country and what carrier you will be using, along with wanted features, budget, and size. Before posting, narrow down your options by using the links below. >What phone has X and Y feature? Don't ask, use these! https://www.gsmarena.com/search.php3 https://www.kimovil.com/en/compare-smartphones https://www.phonearena.com/phones http://phonedb.net/index.php?m=device&s=query Good Resources: >Reviews http://www.gsmarena.com http://www.phonearena.com https://www.notebookcheck.net

Message too long. Click here to view full text.

Friendly reminder that every single smartphone is backdoored and non secure.
the pinephone is kind of interesting

(115.66 KB 640x1286 ios12-iphone-x-activation-lock.jpg)
How to get around an iCloud lock Anonymous 12/04/2019 (Wed) 19:25:08 No. 644 [Reply] [Last]
Some nig is payinge to fix a phone they stole. How do I get around an Icloud lock on ios13
4 posts omitted.
>>644 This is why I use Apple products despite them being overpriced with inferior specs. When niggers swipe them they’re rendered into fruit themed paperweights. Lmfao
>Get bootleg reflashed mb chip with stolen IMEI >Reball and solder to board >profit Anything else is a scam
Are there exploits on any of the markets?
>>644 >Apple ID jewd_u@icloud.com >Password another1000 your welcome
>>702 chill.

Nano Tech Anonymous 01/02/2020 (Thu) 21:32:14 No. 703 [Reply] [Last]
A message is mandatory.

(36.17 KB 469x326 PXL 2000 Video Camera.jpg)
Video Editor Recommendations Onideus 12/20/2019 (Fri) 10:17:51 No. 683 [Reply] [Last]
Wut is your favorite video editor? I captured a two and a half hour stream today and I started to edit it in Adobe AfterEffects 2015 and... that was a mistake. I threw the initial edit into the render queue and... oh yeah, it only saves in lossless formats, which was gonna result in like an 800 gigabyte file... NO THANKS! So then I started poking around in Google searches and all I'm getting is this corporate con crap, like "here's a free* editor" ...but then you download the shit and it's all gimpy and retarded unless you fork over your credit card. Like... tha'fuck?! Isn't there like a modern version of VirtualDub? I did find this one program, MKVToolNix and it's really handy for messing around with remuxing and editing tracks and such, but it doesn't really have much in the way of editing ability. Same with XMedia Recode, it's a nice little conversion program, much better than that sloppy TVC crap... but uh... I need a decent editor! It doesn't have to be super complex either, I mean I don't need gawd damn 3D rendering 'n shit, I just want to splice clips and do simple editing WITH COMPLEX SETTINGS! I don't want the fucker messing around with the resolution, or using some default codec settings... simple editing... complex encoding... preferably freeware... does such a mythical beast exist?! D:
(160.80 KB 1600x900 Dazzle DVC - 01.jpg)
>>683 Well, so far the "best" alternative I've found is just using regular Adobe Premiere instead of AfterEffects... neither of which is free though. Pleh.
kdenlive blender and ffmpeg these are tools I use. they have community addons you could use too
I work with Premiere Pro/After Effects, and I started out with Sony Vegas - maybe you could try that? >I threw the initial edit into the render queue and... oh yeah, it only saves in lossless formats, which was gonna result in like an 800 gigabyte file It can do that depending on the project settings, sometimes Premiere comes with another program called Media Encoder, which encodes it to a more compact file that's appropriate for uploading to YouTube, for example. Free programs like Handbrake do the same sort of thing.

(190.53 KB 559x480 ClipboardImage.png)
/tpg/ - 16chan edition Anonymous 09/25/2019 (Wed) 14:55:29 No. 142 [Reply] [Last]
First one on 16ch!
Don't buy anything OTHER THAN IBM/Lenovo ThinkPad T, X, and W/P Series if you want the Real Business Experience™ >Other business laptops are welcome in /tpg/ (Dell Latitude/Precision, HP EliteBook/ZBook). Why ThinkPad?
>Used machines are plentiful and cheap
>Excellent keyboards
>Great durability (excl L and E series)
>Utilitarian design
>Docking stations that easily turns your laptop into a desktop
>Most models are easy to repair, upgrade & maintain thanks to readily available service manuals for every model and spare parts are easy & cheap to obtain
>The best TrackPoint™, easier to use when typing
>Good for Hackintoshing Libreboot-compatible models: >T60 (check lcd), X60(s/t); X200(s/t. -s requires soldering), T400(s)/500; W500 Models before *40 series can be Corebooted
Modern models:
>X220/X230 - 12", 768p, cheap
>T420/T430 - 14", 900p, widely available for a good price, socketed CPU (Ivy Bridge CPU support on T420); Quad Core Compatible >T520/530; W520/530 - 15", 1080p, DTR, 32GB RAM on quadcore models, USB 3.0 >T440s - best price/performance ultra portable >T440p/540p; W540/1 - Last Thinkpads with socketed processors, easily replaceable trackpad (W541 doesn't need trackpad replacement) Chink Upgraded models: >X210 - X200/X201, i5 8250u quadcore >X62 - X61, i5 5250u >T70 - T60, i7 7700 hq IPS displays, USB 3.0, m.2 x4, miniDP https://forum.51nb.com/forum.php?mod=forumdisplay&fid=117 >ThinkWiki - Info on ThinkPads & running GNU/Linux on them: https://www.thinkwiki.org/wiki/ThinkWiki >BIOS logo booru: http://biosimage.booru.org
13 posts and 2 images omitted.
>>142
my T40 thinkpad will no longer recognize USB devices, but only for booting. A while ago, one day it stopped being able to boot from my USB drives which it used to be able to use. What's worse, the CD drive is broken so I have no way of booting it from anything. Luckily it hasn't needed to, but I'm pretty sure it must be a hardware issue.

am I going to have to replace the motherboard soon?
What's the cheapest thinkpad that can support either
>1 monitor at 4k/60 or
>3 or 4 monitors at 1080/60?
Not counting the built in LCD panel.
>>264
I'm pretty sure a T460 can do 4K output. Check for yourself obviously.
(922.55 KB 2007x1267 galaga_pro_corenigger.png)
>>208
Take the meme pill and preorder lmao system76 new line of laptops that come with coreboot.
I bought two t420 a while back figured the first one would last a while. Love this thing. Best laptop I ever owned. Such a travesty that they don't make them like this anymore. Would kill for a square monitor.

(36.12 KB 854x570 ya_i_use_iphone.jpg)
Technology boards Anonymous 12/11/2019 (Wed) 11:05:20 No. 663 [Reply] [Last]
Post your favorite technology boards here. This seems like the most active board outside of 4channel/g/ and 8kun/tech/ is 8kun/tech/ ever coming back? is it worth going back to?
I can post stupid threads about what's the best browser, rust trolling and fagioli if you miss 8ch/tech/.. I CAN'T BRING BACK TERRY!
any good nntpchan boards out there?

(15.53 KB 1011x277 activePerlbuild.PNG)
Anonymous 12/10/2019 (Tue) 07:58:10 No. 660 [Reply] [Last]
ActiveState used to build a nice Perl but the latest is missing packages that ppm needs to run. So I tried out their slick custom build tool. Not so slick: 4 days, only half done. inb4 Win: Gotta run engineering design software that only runs on Win. :-(
You can always use the cygwin version, or even build perl yourself from the upstream source. Then just use cpan for modules.
(11.00 KB 727x187 activePerlbuildFailed.PNG)
Well, after 5 days, it failed to make-install the PPM, so yeah, I guess I'll be taking advice above and installing Cygwin at some point. For now, and maybe indefinitely, I'll stick with Perl 5.18. ActiveState Perl was very nice while it lasted. Roughly a decade for me.
>>662 I remember some distro called strawberry perl or some shit like that. Maybe that still lives?
>>665 Apparently so: https://learn.perl.org/installing/windows.html There it is, right on perl.org, and it looks easy. Maybe it's killing ActivePerl.

(174.28 KB 1200x1600 soidjfosdijfodsifjdsoifj.JPG)
Anonymous 10/05/2019 (Sat) 19:57:44 No. 235 [Reply] [Last]
This technology will grow back your foreskin.
4 posts omitted.
>>235 How do you grow back a foreskin? That's like having someone's face burned off and then grafting more onto it and being able to feel your face.
>>630 It's not an exact replacement, but it's as good as it get currently... The main function of the foreskin is the act as a gasket and as lubricant during copulation. By stretching the skin out, you restore these two functions. You also undo the keratinization caused by the exposure of the glans. So by restoring, you are undoing a lot of damage. Of course an all natural foreskin is better than this (mostly because it contains specialized nerve endings) but restoring is the best option for men who want to reclaim their sexual pleasure... it's not perfect, but it's a substitute until foregen is finished with their product.
>>635 It's pretty fucked up that religous nutjobs are able to mutilate baby's genetals and get away with it.
>>651 I completely agree. It's barbaric and violates the basic human right of bodily autonomy.
>>235 based

Delete
Report


no cookies?