[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /g/ - Technology - 3078. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: smack-slack.png (25KB, 428x428px) Image search: [Google]
smack-slack.png
25KB, 428x428px
https://josephg.com/blog/electron-is-flash-for-the-desktop/

>And right now Slack is sitting on somewhere between 300 megs to 1 gig of my laptop's ram

>a chat client using 1 GiB of memory
>newfags will defend this
17 posts and 2 images submitted.
>>
>>59996295
Uhhh dude it has a /giphy command that puts a gif in the chat automatically. That's worth 1gig of memory, it's not like I don't have 7 others.
>>
Use the slack website. Why would you install it? I haven't installed a chat app since aim back in 1998
>>
I was once put on a project to finish an Electron based application.

Oh god that was my worst nightmare come to life. It was the embodiment of everything I hate about modern web development, a complete mess of angular, insane gui frameworks, endless upon endless npm dependency libraries, obscure architecture patterns, strange node.js services, could only be compiled with "make" scripts, and I could go on, jesus fuck it was a nightmare. It was made by three young hipsters fresh out of school, god knows why they were hired, and got kicked out due to contractual disputes and as the lead web dev in the company I had to finish this mess.

And it was supposed to work in a citrix environment for several big ass enterprise compananies, but it wasnt compatible because they had made some piggyback nodejs services that runs alongside the electron app (because Electron is fucking shit as it is a glorified chrome browser and therefore sandboxed) so it could PRINT PDF FILES JESUS CHRIST AND THE PROGRAM WOULDNT RUN WITHOUT IT. They did not inform us of this until after release and every customer started to complain.

>tl:dr
FUCK ELECTRON AND THIS FUCKING WEB HIPSTER MOVEMENT

>be me
>reading books at library
>overhear 2 QT3.141592653's talking
>"francine, what can't i sudo apt-get mpv on this windows pc?"
>"i dunno i dont use that botnet os LOL"
>go over, night-in-shining-armor.webm
>"h-hey do you need to install mpv on windows?"
>they both say "fuck off pajeet"

MFW
16 posts and 1 images submitted.
>>
>>59996087
Poo in loo, obvi
>>
>>59996087
Where the fuck do you live?
TELL ME
>>
amazing thread

File: 1475666184195.png (293KB, 633x758px) Image search: [Google]
1475666184195.png
293KB, 633x758px
>macOS desktop poster will never marry you
good bye everyone
22 posts and 2 images submitted.
>>
Is this the new desktop thread?
>>
>>59996035
owo
>>
>>59996126
stop sexualing my daughter nigger

File: 1360356228995.gif (842KB, 240x196px) Image search: [Google]
1360356228995.gif
842KB, 240x196px
Do you write your own .bat/.sh files to deal with menial everyday tasks on your computer?
If yes, What kind of tasks do they perform?
If no, why won't you make your life easier?
26 posts and 3 images submitted.
>>
Yes.
>>
>>59995903
Yes. I'm going to dump some of them.

#!/bin/bash

day=$(date +%F%R%S%s)
Folder=$1
BACKUPDIR=$2


if [[ $# -ne 2 ]]; then
echo "This script takes in only 2 parameters. Exiting...."
exit 0;
fi


if [[ -d $BACKUPDIR ]]; then
File="$BACKUPDIR/$day.tar.bz2"
elif [[ ! -e $BACKUPDIR ]]; then
mkdir -p $BACKUPDIR
File="$BACKUPDIR/$day.tar.bz2"
elif [[! -d $BACKUPDIR ]]; then
echo "$BACKUPDIR exists but isn't a directory"
exit 0;

fi

if [[ -d "$Folder" ]]; then
tar -cvpjf $File $Folder
find $File* -mtime +7 -exec rm {} \;
elif [[ ! -d $Folder ]]; then
echo "$Folder exists but isn't a directory"
exit 0;
elif [[ ! -e $Folder ]]; then
echo "Invalid directory name"
exit 0;
fi

Works great with cron
>>
>>59996405
Forgot to say that this was my backup script

Here's my youtube-dl script:
#!/bin/bash

CURRENT=$PWD
VIDEODIR=$1
FILELOC=$2
INDEX=$3
if [[ $# = 2 ]]; then


if [[ -d $VIDEODIR ]]; then
cd $VIDEODIR
elif [[ ! -d $VIDEODIR ]]; then
echo "$VIDEODIR exists but isn't a directory"
exit 0;
elif [[ ! -e $VIDEODIR ]]; then
mkdir -p $VIDEODIR
cd $VIDEODIR
fi
read -p "Download playlist [1] or individual videos [2]? " answer

if [[ $answer = 1 ]]; then
echo "$(<"$FILELOC")"|xargs youtube-dl -f best -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' -i
cd $CURRENT
elif [[ $answer = 2 ]]; then
echo "$(<"$FILELOC")"|xargs youtube-dl -f best -i
cd $CURRENT
else
echo "Not a valid option. Exiting..."
exit 0;
fi


elif [[ $# = 3 ]]; then



if [[ -d $VIDEODIR ]]; then
cd $VIDEODIR
elif [[ ! -d $VIDEODIR ]]; then
echo "$VIDEODIR exists but isn't a directory"
exit 0;
elif [[ ! -e $VIDEODIR ]]; then
mkdir -p $VIDEODIR
cd $VIDEODIR
fi
read -p "Download playlist [1] or individual videos [2]? " answer

if [[ $answer = 1 ]]; then
echo "$(<"$FILELOC")"|xargs youtube-dl -f best -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' --playlist-start $INDEX -i
cd $CURRENT
elif [[ $answer = 2 ]]; then
echo "$(<"$FILELOC")"|xargs youtube-dl -f best --playlist-start $INDEX -i
cd $CURRENT
else
echo "Not a valid option. Exiting..."
exit 0;
fi
else
echo "This script takes in only 2 or 3 parameters. Exiting...."
exit 0;

fi

File: 6Dl2Gyw.jpg (609KB, 1280x1600px) Image search: [Google]
6Dl2Gyw.jpg
609KB, 1280x1600px
How do you reduce an array of like-objects into a single object in JS? The Array.prototype.reduce method is confusing to me.

> inb3 meem lang
23 posts and 3 images submitted.
>>
such as:

var data = [
{count: 1},
{count: 4}
];


with the expected output of:

  {count: 5 }
>>
>>59995835
also note that not all elements in the array are valid (that is, some are null, so the reduce(function (prev, next) ...) signature doesn't work.
>>
>>59995835
>such as:
>var data = [
> {count: 1},
> {count: 4}
>];
>with the expected output of:
>{count: 5 }

Like:
var reduced = {count: 0};
for (var d in data){
reduced.count += data[d].count;
}

?
I could be wrong, I just learned JS last week

File: file.png (722KB, 808x607px) Image search: [Google]
file.png
722KB, 808x607px
Why haven't we got holograms like yugioh yet?

I want to use shit like Skyscrapper and yumi in a 4 way intersection and scare the shit out of people with it.
43 posts and 11 images submitted.
>>
>>59995630
why the fuck would people be scared if they knew shit like that exist?
>>
>>59995630
Because you touch yourself at night.
>>
>>59995683
Not everyone would know what it is dude. I know people who have no idea what the fuck Pokemon STILL is in 2017... You really think they would know jack shit about Duel monsters?

>>59995689
(._. )

File: programming challenges.png (302KB, 1920x1080px) Image search: [Google]
programming challenges.png
302KB, 1920x1080px
Roll with me bois
65 posts and 10 images submitted.
>>
>>59995625
le role
>>
Rollin'
>>
>>59995625
Rolling.

Just got a server rack from a friend, like the one in this pic. what are some things that I can do with it?
33 posts and 3 images submitted.
>>
If you reinforce the front, you could probably lock someone in there against their will for a while.
>>
>>59995593
Build a cluster out of cheap used dual socket xeons, you can get them for like $30
>>
>>59995607
I'm american so most people would be to wide to fit :(

File: Hackerman.jpg (57KB, 1200x1600px) Image search: [Google]
Hackerman.jpg
57KB, 1200x1600px
Which mobile browser do you prefer /g/?
33 posts and 4 images submitted.
>>
>>59995591
Puffin Browser with a VPN
>>
>>59995591
Safari
>>
>>59995650
Working on the VPN situation rn so

File: 1.png (370KB, 869x859px) Image search: [Google]
1.png
370KB, 869x859px
http://web.casio-intl.com/asia/en/calc/sp/s100/?topics
96 posts and 24 images submitted.
>>
File: 2.png (117KB, 437x523px) Image search: [Google]
2.png
117KB, 437x523px
>>
>>59995543
so was this posted on the 1st and no one noticed?
>>
File: 3.png (359KB, 892x813px) Image search: [Google]
3.png
359KB, 892x813px

File: filter1600[1].png (6KB, 1600x1600px) Image search: [Google]
filter1600[1].png
6KB, 1600x1600px
Who was the fucking retard who made this thing a filter icon?
20 posts and 5 images submitted.
>>
You.
>>
is it a highlighter?
>>
>>59995342
Me

File: macbook 4,1 transparent .png (2MB, 2197x1963px) Image search: [Google]
macbook 4,1 transparent .png
2MB, 2197x1963px
I need some advice /g/

I've had a 4,1 Macbook for about 9 years now and the most recent version of mac OSX it supports is no longer receiving updates. I've tried putting linux on it several times but I've never gotten the trackpad drivers to work the way they should.

What linux distro is the most 'mac hardware' friendly?
22 posts and 7 images submitted.
>>
>>59995298
I've gotten Ubuntu to run on the same computer easily with no problems.
>>
>>59995298
my path was osx->ubuntu->osx->manjaro
>>
>>59995360
>>59995298
this is for the black core2duo model

File: 1463613610380.jpg (85KB, 540x568px) Image search: [Google]
1463613610380.jpg
85KB, 540x568px
>website has custom selection/highlight color
15 posts and 7 images submitted.
>>
File: 1460832005222.jpg (94KB, 700x447px) Image search: [Google]
1460832005222.jpg
94KB, 700x447px
>website disables right click
>>
File: 1488305310828.jpg (197KB, 800x705px) Image search: [Google]
1488305310828.jpg
197KB, 800x705px
>website has scroll down ad on mobile
>>
>>59995142
What is this image meant to signify?

Previous thread: >>59982478 (Cross-thread)

Welcome to /fglt/ - Friendly GNU/Linux Thread.

Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
3) Go balls deep and replace everything with GNU/Linux.

Resources:
Your friendly neighborhood search engine (try to use a search engine that respects your benis such as searx, ixquick or startpage).

$ man %command%
$ info %command%
$ help %command%
$ %command% -h
$ %command% --help

Don't know what to look for?
$ apropos %something%

Check the Wikis (most troubleshoots work for all distros):
https://wiki.archlinux.org
https://wiki.gentoo.org

/g/'s Wiki on GNU/Linux:
https://wiki.installgentoo.com/index.php/Category:GNU/Linux

>What distro should I choose?
https://wiki.installgentoo.com/index.php/Babbies_First_Linux

>What are some cool programs?
https://wiki.archlinux.org/index.php/list_of_applications
https://directory.fsf.org/wiki/Main_Page

>What are some cool terminal commands?
http://www.commandlinefu.com/
http://bropages.org/

>Where can I learn the command line?
http://mywiki.wooledge.org/BashGuide
http://linuxcommand.org/tlcl.php
http://www.grymoire.com/Unix/

>Where can I learn more about Free Software?
https://www.gnu.org/philosophy/philosophy.html

>How to break out of the botnet?
https://prism-break.org/en/categories/gnu-linux

/t/'s GNU/Linux Games: >>>/t/749768
/t/'s GNU/Linux Training Videos: >>>/t/713097

/fglt/'s website and copypasta collection:
http://fglt.nl && https://p.teknik.io/wJ9Zy
312 posts and 44 images submitted.
>>
File: 1491541149991.png (78KB, 412x351px) Image search: [Google]
1491541149991.png
78KB, 412x351px
>(Cross-thread) (Cross-thread)
>>
Are proprietary fonts /fglt/ approved, or do they hurt my freedom somehow? What does rms say?
>>
>>59995163
>proprietary font
Enjoy your cache exploits

File: Akarin.png (15KB, 1280x720px) Image search: [Google]
Akarin.png
15KB, 1280x720px
dis just for fun /g/entomen

want to listen to some music while watching to ANIME girls in sync with music in HTML5? Enter 0x40 hues....

http://420.mon.im/ (420 edition)
http://0x40.mon.im/ (main kawaii edition)
^ if these don't load for you your browser is SHIT!!! haha

sauce: https://github.com/nolanlum/0x40hues (JS/HTML5)
https://github.com/nolanlum/0x40hues (C++)

bumping my earlier thread since 4/20 is bout to end: >>59988409 :p

Akarin loves you.
11 posts and 1 images submitted.
>>
>requiring javascript
>>
>>59995148
Is the JavaScript nonfree?
>>
>>59995164
probably

Pages: [First page] [Previous page] [3068] [3069] [3070] [3071] [3072] [3073] [3074] [3075] [3076] [3077] [3078] [3079] [3080] [3081] [3082] [3083] [3084] [3085] [3086] [3087] [3088] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.