I remember a neat file sharing program. I think it was encrypted. You connect to a key and you're one of many users sharing and browsing each other. Pretty cool.
Some /g/ users made a /g/ one. I can't remember what the program was even called. Anyone have a name of the program?
napster
was it gnunet?
IPFS? ZeroNet? BitTorrent Sync?
Why wont this shitty Javascript collision detection system work?function colCheck(shapeA, shapeB) {
// get the vectors to check against
var vX = (shapeA.x + (shapeA.width / 2)) - (shapeB.x + (shapeB.width / 2)),
vY = (shapeA.y + (shapeA.height / 2)) - (shapeB.y + (shapeB.height / 2)),
// add the half widths and half heights of the objects
hWidths = (shapeA.width / 2) + (shapeB.width / 2),
hHeights = (shapeA.height / 2) + (shapeB.height / 2),
colDir = null;
// if the x and y vector are less than the half width or half height, they we must be inside the object, causing a collision
if (Math.abs(vX) < hWidths && Math.abs(vY) < hHeights) { // figures out on which side we are colliding (top, bottom, left, or right)
//var oX = hWidths - Math.abs(vX), oY = hHeights - Math.abs(vY); if (oX >= oY) {
if (vY > 0) {
colDir = "t";
shapeA.y += oY;
} else {
colDir = "b";
shapeA.y -= oY;
}
} else {
if (vX > 0) {
colDir = "l";
shapeA.x += oX;
} else {
colDir = "r";
shapeA.x -= oX;
}
}
}
return colDir;
}
Chrome dev tools says it's an illegal return statement
>>56272368
post your shapea and shape b too
>>56272368
>repeating arithmetic operations instead of storing the result in a variable
>variables instead of consts
>longass lines with comments behind instead of above
>code in comments
>writing comments of no value like "add half the height"
>returning results as strings instead of something like public consts or other enum-likes
how was le code bootcamp? :)))
>>56272395player = {
x : width/2,
y : height - 100,
width : 5,
height : 20,
speed : 3,
velX : 0,
velY : 0,
jumping : false,
grounded : false
};
box = {
x: 0,
y: 0,
width: 10,
height: 100
};
im mediocre at best
because my useless programs written in intelligible functional programming are better than anything you write, now i'm off to do some coke, and write some monads and lambda functions so I can get another imaginary Pajeet degree and go to USA
But I am not. The most I've made was some shitty application with GUI that connected to a database and was used to update/administrate said database and a shitty text chat client. Both were in Java and both were a long time ago. I haven't even touched programming since then.
>2016 will be AMD's year! Their price per performance is so good!
Kek that 1060 is already oc, and amd still using reference model/stock card.
AMD just can't win
They release a card and say it's going to go for like $200, and then the lowest price is $280, putting it next to a much better card
>sell laptop on eBay
>install fresh copy of Windows 7 but don't bother to install drivers on it because lazy
>buyer gets the laptop and asks me why no drivers
>tell him that I thought he would be able to install those himself
>buyer gets pissed as fuck and talks about how if you buy something you expect it to work out of the box
>I give him link to drivers page and he DL's drivers
>next day says drivers didn't work
>gave him wrong model number (off by 1 digit)
>now he has to DL the drivers all over again
>am probably gonna get shit reviews for this and/or return request based on how mad this guy is
Fug why am I such a lazy retard... I just didn't feel like installing some drivers. I autistically expected normies to be able to handle this shit on their own.
nice fake story
>>56272223
It's not fake brah. Why would I make something like this up?
>>56272207
What you essentially did was sell someone a car without a drivetrain and didn't tell them it had no drivetrain. If you're so smart you would have done a proper job the first time.
/g/ related cringe stories thread? /g/ related cringe stories thread.
>be me in freshmen year
>fallen for the CS meme
>programming lab
>i get to sit beside a cute grill, taylor
>i try to make small talk and joke with her all the time
>learning about strcmp
>strcmp("taylor", "anon");
>she doesnt talk to me the rest of the lab
>High school
>Doing some project with hot grills
>I had to burn a presentation on a dvd
>Mom forgot to buy me a blank dvd on her way back from work
>Take my Ubuntu live dvd to school and pretend that it had gotten infected by a virus when my team mates couldn't find the presentation
>>56272338
Baaamp I need stories I can't sleep
Fuck off normalfag
When any girl sits next to you stop being her dog and act like a autist near her
So tell me why does firefox keep track of this?
Degenerate.
>>56272175
Did you use incognito mode?
>>56272175
A simple count(*) where history=mypornsite is cheap.
Consider suicide and private browsing.
>Intel makes cpu with 2 cores
>adds "Hyper Threading" feature
>now 2 threads show up as 4 and performance magically goes 200% up.
Intelcucks at their best
So you even know what hyperthreading is?
>>56272206
I don't think he knows.
>>56272206
It forces a single core to work on two threads.
How do I make Windows 8 into dark theme?
U can't
>>56272019
pls
You have to be a member of a dark hacking group Frist Chris
So this happened.
A stupid fuking italian cunt hit my car and run away.
I am in need of a dashcam but dont want to pay alot of money.
Post your dashcams.
>>56271998
Bump. Good Pi project could amount here
>>56272277
the pi is a piece of shit for this, it's not meant to actually do things. it's for learning and very low-demand applications. fuck off with the pi
that clone of a clone of the gopro is pretty good. around $60
So I need a new laptop today and I do not have the privilege of having time to get one on the Internet
I went to a local shop and found these laptops but due to my lack of knowledge when it comes to processors I just wanted to ask you guys what you thought was the best deal or just the best build for the associated price. Is i3 shit and not recommendable? should one ALWAYS buy i5?
>Aspire E15 - Inten Core i3-6100U
>GeForce 940MX
>8GB DDR4
>256GB SSD
>499€
low price and good RAM + SSD but the processor is I3. is that bad or should I really stick to i5?
>Acer ES1 - Intel Core i5-4210U 1,7Gh (Turbo Boost 2,7)
>4GB DDR3
>1TB HDD
>Intel HD Grafik 4400
>499€
>Acer ES1 - Intel Core i5-4200U
>4GB RAM
>128GB SSD
>Intel HD Graphics 4400
>549€
>Acer Aspire - Intel Core i5-4200U
>8GB
>256GB SSD
>GeForce 920M
>599€
good specs but 100€ more (than my budget)
>inb4 Acer
I know there are better ones but these ones are the choices I have available
>>56271944
cmon, anyone?
>Acer
>>56271944
this board is shit, OP, but don't worry
basically the differences concerning the i3 and i5 are marginal. the i3 and i5 both have dual core and hyper threading
the actual difference is that i5 offers a turbo mode. if you ask me, the turbo mode rarely offers any faster processes so you might as well stick with the i3 and get 8gb of RAM + 256gb SSD
What is happening here? Will they ever become relevant?
Bump forma interest
I use it, works fine. It doesn't need to be relevant, just needs to be good.
When people realize what a mistake systemd was, then they might become more relevant. They're not completely systemd free yet but they should be soon.
>ITT: everything VIM related
Any tips for a beginner?
I've been using it for couple hours, installed vim-plug, nerdtree, lightline and vim-go
>>56271764
use neovim
use nano
>>56271764
>Any tips for a beginner?
Make sure you're a proficient touch typist. It's not designed to be used by filthy casuals.
>I've been using it for couple hours, installed vim-plug, nerdtree, lightline and vim-go
Uninstall all that shit and use it vanilla with only a .vimrc for your settings.
vi/vim exists on nearly any *nix you can think of but not all the features are there, so learn vanilla and you'll be set.
t. dev for 15 years.
Yes, we know everything already is from China but in here we discuss the no/low-name cheap shit you see on Gearbest, AliExpress, eBay and similar sites.
>IRC channel #/csg/ on rizon
>Discord channel
https://discord.gg/Xyx4fG9
>Chink Shit Randomiser
http://chinkshit.xyz/random/
>Chink Shit Wiki:
wiki.installgentoo.com/index.php/Chink_shit_general
>News
• Anon blindly buys a mechanical keyboard off eBay >>56264370 ends up with a rubber dome keyboard with fake switches >>56264384 >>56264403
• Anon received his pot for making clones of plants and a audio cable >>56265553
• Anon shows off his Chinese keyboard, customised with cheap chinese keycaps >>56265564 >>56265669
• Cheap $2 Kermit the Frog plushies are already being memed>>56265970 >>56265913 >>56265788 where to get them >>56265759
• As promised anon provides pics of his Jinhao 599 >>56266296 >>56266306 >>56266318
• Anon has been using his knock off Samsung Charge for a year, says it works fine but overheats and shuts down needing to cool down before charging again >>56266558
• Anon has never been complimented on his Baoer 8 Horses pens, they look nice >>56266847
• Cheap few cent deals found on AliExpress >>56266949
• Anon just got some Pu-erh tea and reviews it >>56267641
• Anon's run in with Gearbest support has been a positive one, anon ordered two microphones but they sounded like shit. Anon offered to send them back, instead GB told him to keep them + offered full refund >>56267772
• Anon bought a Thinkpad keyboard (or is it Chinkpad?) >>56268009 >>56268082
• Pu-erh tea anon also reviews a 18650 flashlight >>56268620 and a 10 port Orico USB 3.0 hub >>56268942
• Anonreviews a phone wallet case, the leather feels weak and fake >>56269271
• Aussie anon has a colourful folding knive arrive he bought off Gearbest >>56269847
• Another anon with a knive >>56270077 does unboxing of different things >>56270364 >>56270387 >>56270399 >>56270406 >>56270441
Previous thread >>56264728
More cent deals
>tracking hasn't updated since 'arrival at customs office' on monday
W-Will I still get my package this week?
>>56271721
你是种族主义者美国猪。中国是最好的,他妈的白痴西部。
>>56271681
I would rate a girl like that
>>56271681
>I want to reverse engineer malware /g/
Do it, faggot.
>Do we have reverse engineers on /g/
Anyone who can use a debugger can be a reverse engineer, anon.
>>56271681
Yes I'm an engineer, I don't mind turning 360 degrees and becoming your reverse engineer
>>56272624
360 degrees would rather make you an all-round engineer - or a reverse-reverse engineer