Hey /g/entoomen
Just bought pic related, a Dell Latitude 14 7404 Rugged, what am I in for?
for what purpose
>>58042732
why
>>58042738
>>58042742
i have no impulse control
Post your bash scripts, oneliners and aliases.
zsh hipsters don't need to apply.
chsh -s /usr/bin/fish
>using the superior shell is being a hipster
>>58042709
this is to grab torrent files with transmision daemon without needing the gtk version, just put this on a file and make an open with#!/bin/sh
/usr/bin/transmission-remote --add "$1"
create torrents#!/bin/sh
/usr/bin/transmission-create -o "$1" -t "udp://tracker.openbittorrent.com:80" -t "udp://open.demonii.com:1337" "$2"
QEMU script to install new distros#!/bin/bash
# Author: svchost
# Date: 08.27.2016
# Purpose: QEMU loading
# License: GPLv3
qemu-system-x86_64 -m 2G -hda $1 -cdrom $2 -boot d
update and clean the system#!/bin/bash
# Author: svchost
# Date: 05/08/2016
# Purpose: Clean and update Devuan
# License: GPLv3
sudo apt-get autoclean; sudo apt-get clean; sudo apt-get autoremove; sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade
bind it to the super key, use ratpoison, and youll have a quick and easy window switch#!/bin/bash
# Author: svchost
# Date: 05.08.2016
# Purpose: dmenu window switch
# License: GPLv3
ratpoison -c "select `ratpoison -c "windows %t" | dmenu -nf gray -nb black -sf black -sb gray -b -l 20`"
What are you working on, /g/?
Old thread: >>58036933
ive got a problem
im trying to make a java text area where when i press enter in the textbox it lets me write in new row or whatever. the problem is when i try to print the text it prints it out as if it were all in a single row.
i cant for the life of me figure out what to do. i would really appreciate some help here.
im using netbeans, btw.
Stop re-using the same fucking image every time you lazy shit.
Make something new
>>58042656
your png is now optimized
What's happening to my GPU /g/ ? The display suddenly turns off while I'm working, or I see these red lines all over the screen. This came up after a restart.
Is my HDMI cable bad ? Or is my GPU kill ?
your video ram is kill
time to get a replacement
>>58042688
Or time to get a heatgun and reflow the chips.
>>58042650
Got cats? vacuum out your case once in a while. Maybe replace the video card before it kills everything.
do you use a laptop bag or sleeve when traveling, anon? if so what?
I use a briefcase because I am an adult.
Messenger bag with a laptop compartment, also has soft padding on the bottom of it.
> not balancing on head
good one op
>"superior" Linux users on /g/
>mfw the "Linux users are depressed virgins" is not a meme
>>58042508
>tfw to intelligent too not be depressed
>tfw to intelligent too not use Ark
>>58042691
this, manjaro for life baby
>mfw to intelligent too use arch
?
It's aight.
meme
Finding it better than SJWfox
>2016
>needing to unmount optical drive just to remove a disk
>>58042319
dumb animeposter
>>58042319
>2016
>optical disc
>>58042339
anime website
Hey, /g/,
Can you recommend any good resources on embedded programming? I'd like to get into that.
Now, after almost 5 years of C-programming working experience I feel quite comfortable in C enough to start thinking about embedded AVR programming, however it's quite difficult to find good resources on that.
Can /g/ recommend anything? That'd be cool.
I would really appreciate resources, that explain everything that's going on from ground up - so I can have better understanding of the topic. Thanks.
>>58042282
Fuck man, an embedded thread on /g/? Talk about misfits
Well anyway, I've been tinkering around with embedded for about half a year now, and holy shit i agree with you, its fucked tough to find quality resources to learn any kind of microcontrollers. I learned using AVRs and 8051/8052 family microcontrollers solely by reading someone else's code and the datasheet side by side. This is probably the best advice, look up other's code online for doing something specific, like maybe lighting an LED, and then try to understand that. Go straight to the datasheet for any technical queries regarding what a register is or what a bit in a register does. The datasheet is your bible
The datasheet also has code examples for a lot of important stuff like using UART and SPI etc, but i dont think any for the really basic stuff. That should help you a lot
Also keep away from Microchip, or PICs, their documentation is not too good, stick with AVRs
>>58042792
Like this guy said there's going to be some ICs out there without great documentation and it will basically be only you autistically trying to figure out how to make shit work.
For me, I started off with Arduino (I know huuur tarduino). It helped me start with simple concepts, and I just branched out on my own from there. I found out what I would need to do if there wasn't a library for a component I needed to use (using data sheets), how to hook up said ICs (using data sheets), and basic electrical theory (reading online). If you haven't got the hint yes, like this anon said datasheets are basically your bible. Be prepared for lots of reading.
I learned how to program for the freescale hcs12 in a computer architecture class. We used this textbook and a Dragon-12 dev board:
https://www.amazon.ca/HCS12-9S12-Introduction-Software-Interfacing/dp/1435427424
HCS12 isn't all that popular in hobbyist projects, but it was nice being able to learn all the basics from one, well-written source.
my grandparents are stubborn about the internet, they don't want to pay for it. at the same time, they live a few humdred kilometres away but still want to see photos of their great-grandkid.
they are also pretty terrible with computers.
the missus uses Tinybeans for photosharing.
I've recently just setup a dial in server for them so that they can get free internet. only problem is it will be slow for image sharing and the Tinybeans site is not coded for dial up connections, everyone has fat pipes amirite?
I'm trying to figure out if there is a way I can have their computer dial into mine late at night, access the Tinybeans website and then have a local cached copy ready for them in the morning when they get up and have a look.
other options that I have been considering include:
- BitTorrent Sync, I'd save the images shared on Tinybeans to my PC, have theirs dial in and sync them over, then they access them (or I setup a slideshow to display them)
- I build a PHP slideshow on my PC, BitTorrent Sync or rsync it to theirs at night, they then have a local webserver running to view the slideshow and they just click a shortcut on the desktop
I've been trying to automate as much as I can, they are a bit forgetful, I'd love to set it up so that they click one or two buttons on the computer and the photos just start scrolling through.
any suggestions?
Have you tried mail? Who cares lel
Once a day, direct satellite transfer
>>58042225
Isn't phone is more expensive than Internet connection?
Smartphones PEAKED at iPhone 6 and Galaxy S5.
Everything after these is unnecessary.
Because NO ONE and I mean NO ONE needs on their phones:
>128 GB of memory
>Octa core processors
>Over 12 MP cameras
>Over 2 GB of RAM
>Over 24 hours of battery
>5 inch of screen
Prove me wrong.
Those things are all nice to have.
>Over 24 hours of battery
Fuck you. I hate charging my phone.
>>58042223
>Over 2 GB of RAM
If I want to browse 4chan, and have some chrome tabs open while I browse [spoiler]Reddit[/spoiler], I definitely need more than 2GB.
>Over 24 hours of battery
24 hours of battery might mean 12 hours of actual use, so I'm all for that.
>5 inch of screen
I like bigger screens. 5.5" is pretty comfy to use desu.
The rest of the features might no be that useful TO ME, but I'm sure other people need for their own reasons.
Now /g/, I turn to you for some answers I can't find.
So I love shitcore metal music with fast double bass and bass drops etc, and I want to build the ultimate casual speaker setup for my car.
I'm essentially thinking of a 5.1 setup 6.5" components in the front with a HPF of 80hz, and then a speaker box in the trunk with 2x 8" subwoofers with an 80hz LPF and a 12" subwoofer with a 50hz(ish) LPF.
I'm thinking this will give me all the mids/treble up front from my components, super punchy drums from the 8" subs, and nice vibrating sub drops from the 12".
Is there something I'm overlooking here? I feel like this could be great.
bermp
>>58042212
>trying to gain spatial audio in a car
Not worth the effort.
Also, don't put speakers at the rear part behind the rear window, they can become deadly projectiles due to velocity.
Punchy low end from smaller drivers is a myth. Even an 18" driver is perfectly controlled to 500hz.
/marked/ general edition
Previous thread >>58037965
>Not sure what private trackers are all about?
The mission of /ptg/ is to promote the highest possible standards of tracker service by providing members with opportunities for professional development, by recognizing technical competence through examinations and by advancing the interests of its members.
>Have a question?
https://wiki.installgentoo.com/index.php/Private_trackers
https://gitla.in/ptgGuide/ptgGuide/tree/master
Use >>>/g/ptg as a link to find the /ptg/ thread.
Remember the following:
>Staff occasionally read these generals and have posted here before.
>This is a thread for educational purposes only don't offer or ask for invites.
>Staff may pretend to be normal users asking for invites and when you invite them, they ban you for inviting strangers.
First for
>zed is our guy
LETS
Please stop messing with /tv/! It's not nice to bully people who aren't as privileged!
Deep learning thread.
What is anon working on?
http://alpha.openai.com/miniwob/index.html
I wonder if anyone working on machine translators with neural nets on big scale
would be nice someday to forget about language learning completely
>>58042041
I'm taking Stanfords machine learning course on Coursera. After that I wan't to fuck around with OpenAI's Universe and try some challenges on Kaggle.
I'm learning R and wanted to train a nnet classifier (from the caret package) that could correctly output the class of an object based on 5 arguments (2 possible classes, "Yes" or "No")
But my classifier is actually shit, I split my data into training and test set, but basically my classifier almost gives no "Yes" label, less than 2% of its calculated output is "Yes" even though it should be around 35%.
Even when I give it the training data it was built with it gives me less than 0.5% Yes, so it's not even overfitting it's just shit
ctrl= trainControl(method = 'cv', number = 10, summaryFunction=twoClassSummary ,classProbs = TRUE)
paramGrid <- expand.grid(mtry = c(1,2,3,4), size = 4, decay = 0.1)
model = train( /... set training data and labels./)
metric = "ROC",
method = "nnet",
maxit = 1000,
algorithm='backprop',
learningrate=0.25,
preproc = c("range"),
tunegrid = paramGrid,
trControl = ctrl)
anybody here knows about nnet ? Because idk what I'm doing wrong
>>58042019
Get a brain Moran
>>58042019
I feel your pain. Data types correct? NN like numerical i think. Also if you have too many hidden nodes/layers, otherwise im at a loss with limited info in ur post m8.
>>58042053
this