If you haven't please explain why below so that the rest of us can chastise you.
>donations go to pay salaries of STEM women
>>61435705
This thread is baiting me into making a statement about my political beliefs, though I might as well go as far as to say that I strongly believe that women have no place in programming or employment in technological fields sheerly because a bunch of inbred newborn fuckwits started screeching "ekwalitee" just because they got out of the snatch without enough oxygen, and off their ma's tit without enough milk.
In addition, Mozilla is dumping support for the addons that are quite literally the lifeblood of their browser, and therefore have given up to Google. They're worthless, just like Hiroyuki.
I set my homepage to about:blank and disabled that stupid "firefox home" start page, so I don't have to deal with this.
it works 3 times powerful, why waste the cash on the portable (((speaker)))
>>61435618
holy shit
>>61435618
>buying a phone with a speaker on the back
>>61435796
why not? its better
I'll go first
>retard friend destroys his cpu and mobo when he merely opened and closed it to do whatever
>give him recomendations on what to buy for his next cpu+mobo combo
>guy assembles it for him
>skip forwards to sunday, a year and a half later
>his pc (i5 4460, 2x4gb ram, gtx 970, 500w psu, 500gb ssd, 1tb HD) turns on but doesn't post
>give him a bunch of advice to correctly pinpoint the point of failure
>he tries like half of them, rips out the mobo, cpu and ram from the build and literally throws it into the trash
>he's an IT """""""""""""""""""""""""professional"""""""""""""""""""""""""
Flávio você é um retardado
>>61435596
This doesn't make me too mad since it's his own money he's burning.
1
2
34
/thread
I myself am tech illiterate and wiped my MBR and nuked my network card once.
I was trying to install Arch and it all went downhill from there.
Took two weeks for me to figure out how to install a GPU.
I tried replacing mobo pins with paperclips because they fell into my case's cable management nook.
I've already sworn not to breed so as to not taint the genepool.
Write a needlessly complex "Hello World" in a computer language of your choice.
|-|3|_ |_0 \/\/0|2|_ |)
Tibasic
:ClrHome
:0->x
:Lbl A
:(x+1)->x
:If x=1
:then:Output (1,x,"H"):Goto A
:Else
:If x=2
:then:Output (1,x,"E"):Goto A
:Else
:If x=3
:then:Output (1,x,"L"):Goto A
:Else
:If x=4
:then:Output (1,x,"L"):Goto A
:Else
:If x=5
:then:Output (1,x,"O"):(x+1)->x:Goto A
:Else
:If x=7
:then:Output (1,x,"W"):Goto A
:Else
:If x=8
:then:Output (1,x,"O"):Goto A
:Else
:If x=9
:then:Output (1,x,"R"):Goto A
:Else
:If x=10
:then:Output (1,x,"L"):Goto A
:Else
:If x=11
:then:Output (1,x,"D"):Goto A
:Else
:Pause
Already implemented.
https://savannah.gnu.org/projects/hello
>Dial 911 on your new OnePlus 5
>Phone reboots
https://www.reddit.com/r/oneplus/comments/6nx4eo/i_had_to_dial_911_on_my_op5_yesterday_saw_a/
CHINK'ED
The iPhone with Retina display doesn't have this problem
>>61435503
>expecting chink shit to work
>buying chink shit above 200 bucks
>>61435628
chinko shito besto y u so meano?
Why do a lot of Linux distros look like Mac OS?
>>61435478
Because it looks good, so why not
>>61435497
Why can't it look more like Windows? Especially with all the *buntu distros.
>>61435478
Because you can only organise and interface with programs graphically using dialogues and windows in so many different ways.
Remember, don't throw electronics that are perfectly usable away.
That old laptop you're replacing? Give it to a friend or a charity.
Most of electronics and computers thrown to the bin end up in huge landfills. No recycling whatsoever.
>>61435434
>Most of electronics and computers thrown to the bin end up in huge landfills
Not in my country. Not in any western country I know of.
You probably live in a poor country.
>>61435441
>You probably live in a poor country
most 1st world countries have no idea how to deal with electronic waste
what's your country ?
>>61435434
>Give it to a friend or a charity.
Oy vey, stop hurting sales of new electronics, goy. Antisemite.
How many pull requests have you submitted to Metasploit?
>>61435376
>distributing software that causes harm to others
No, thanks.
>>61435752
>pentesting
>harming others
What?
>>61435752
>being a moralfag
This is how the west is being conquered. You cuck are first to get your head chopped.
adblock and ublock origin are slowing lot of websites for me
what is best way to block ads outside the browser?
Using a hosts file.
>>61435345
ublock origin is literally the best way. The hosts file slows down every single solitary web request your computer makes, and iptables firewalls in the router do the same thing for every single solitary web request your entire network makes.
The solution is to stop using fucking Firefox.
>>61435373
I use Chrome tho and I need to disable ublock for certain sites that don't even show any ads otherwise they are very slow
ITT:
>Solve a problem in a programming language(s) of your choice
>Solve a solved a problem in a different programming language
>Improve an already posted solution in the same programming language
>Discuss posted solutions
>General programming language flame wars
I'll start: https://github.com/MariusMacijauskas/deadline
I will post the solutions here anyway, for convenience.
>>61435322
C// Print how much ahead/ago the deadline is
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
struct tm DEADLINE = {
.tm_year = 2017 - 1900,
.tm_mon = 7 - 1,
.tm_mday = 16,
.tm_hour = 23,
.tm_min = 59,
.tm_sec = 59,
.tm_isdst = -1
};
static int makeStr(char *buff, size_t buffSize, long n, const char *name) {
const char *fStr;
if (n > 1) fStr = "%ld %ss, ";
else if (n == 1) fStr = "%ld %s, ";
else fStr = "";
return snprintf(buff, buffSize, fStr, n, name);
}
int main(void) {
time_t now = time(NULL), deadline = mktime(&DEADLINE);
if (now == (time_t)(-1) || deadline == (time_t)(-1)) return EXIT_FAILURE;
double diff = difftime(deadline, now);
if (diff >= LONG_MAX || diff <= LONG_MIN) return EXIT_FAILURE;
long sec = diff;
const char *postfix;
if (sec > 0) {
postfix = " ahead.";
} else if (sec == 0) {
postfix = "Now.";
} else {
postfix = " ago.";
sec = -sec;
}
long days = sec / 86400;
sec %= 86400;
long hours = sec / 3600;
sec %= 3600;
long min = sec / 60;
sec %= 60;
char bigbuff[256] = {0}, tinybuff[32];
const long counts[] = {days, hours, min, sec};
const char *names[] = {"day", "hour", "minute", "second"};
for (int i = 0; i < 4; ++i) {
if (makeStr(tinybuff, sizeof(tinybuff), counts[i], names[i]) < 0) {
return EXIT_FAILURE;
}
strcat(bigbuff, tinybuff);
}
char *lastComma = strrchr(bigbuff, ',');
if (lastComma != NULL) *lastComma = '\0';
strcat(bigbuff, postfix);
if (puts(bigbuff) == EOF) return EXIT_FAILURE;
}
>>61435322
Lua#!/usr/bin/env lua5.3
-- Print how much ahead/ago the deadline is
local DEADLINE = os.time{year=2017, month=7, day=16, hour=23, min=59, sec=59}
-- Convert os.difftime output into a more human-friendly string representation
local function difftimeStr(sec)
assert(math.tointeger(sec) ~= nil, "arg for difftimeStr must be an int")
local postfix = ""
if sec > 0 then
postfix = " ahead."
elseif sec == 0 then
postfix = "Now."
else
postfix = " ago."
sec = -sec
end
local days = sec // 86400
sec = sec - days * 86400
local hours = sec // 3600
sec = sec - hours * 3600
local min = sec // 60
sec = sec - min * 60
local function s(value, unit)
if value > 1 then
return ("%d %ss, "):format(value, unit)
elseif value == 1 then
return ("%d %s, "):format(value, unit)
else
return ""
end
end
local S = s(days,"day")..s(hours,"hour")..s(min,"minute")..s(sec,"second")
return S:sub(0, S:len() - 2)..postfix
end
print(difftimeStr(os.difftime(DEADLINE, os.time())))
>>61435322
Python#!/usr/bin/env python3
from time import time, mktime
DEADLINE = mktime((2017, 7, 16, 23, 59, 59, -1, -1, -1))
# Convert second difference into a more human-friendly string representation
def difftimeStr(sec):
sec = int(sec)
postfix = ""
if sec > 0:
postfix = " ahead."
elif sec == 0:
postfix = "Now."
else:
postfix = " ago."
sec = -sec
days = sec // 86400
sec %= 86400
hours = sec // 3600
sec %= 3600
min = sec // 60
sec %= 60
def s(value, unit):
if value > 1:
return "{} {}s, ".format(value, unit)
elif value == 1:
return "{} {}, ".format(value, unit)
else:
return ""
S = s(days, "day") + s(hours, "hour") + s(min, "minute") + s(sec, "second")
return S[:-2] + postfix
print(difftimeStr(DEADLINE - time()))
OO programming is a bad meme.
>>61435287
Sure thing, buddy.
Hold the presses, we got a hot shot programmer over here with a brand new non meme idea!
What will drive() do with so few attributes?
>new massive exploit in package
>panic
>run pacman -Syu
>no update available
>panic even more
>check installed version
>turns out it was patched last month
>using arch
bet you have no job and are also a stupid autistic neet. Fuck you
>>61435261
>arch is the only bleeding edge OS with pacman
I don't even know if that's what you're implying
>new massive exploit in program I have installed
>never find out about it because I'm not some kind of autistic loser that reads news about computer viruses
>poorfag neet with no financial info on computer so have nothing to hide anyway
Are there any good browsers on windows?
firefox
The one it comes with.
>>61435229
https://sourceforge.net/projects/dplus-browser/files/Releases/dplus-0.5b/
So this... THIS... is ArchLinux... so THIS was my true potential.... so this is True intelligence...
Why... do... you... write... like... this? Are you retarded or something?
>>61435223
the tinfoiling is real
>>61435223
>not using i3wm
pfff... TRUE intelligence... please...
>unplugging internet for productivity
Does it work
>>61435203
Depends on your line of work. I have to look things up, and it's usually a lot faster to do that online.
It's about will power and getting "into the zone" for my part. It's difficult to get started, but once I have, I can work for hours on end.
>>61435224
Yea this
In this day and age internet is a huge resource no matter what you do. Just get good and focus on the stuff you want to get dobe istead of getting distracted.
>>61435255
>Just get good and focus