[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 - 1511. 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: gibs.jpg (32KB, 506x459px) Image search: [Google]
gibs.jpg
32KB, 506x459px
If you haven't please explain why below so that the rest of us can chastise you.
98 posts and 8 images submitted.
>>
File: eng.jpg (45KB, 687x389px) Image search: [Google]
eng.jpg
45KB, 687x389px
>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)))
29 posts and 10 images submitted.
>>
>>61435618
holy shit
>>
>>61435618
>buying a phone with a speaker on the back
>>
>>61435796
why not? its better

File: 1499728912193.jpg (5KB, 225x224px) Image search: [Google]
1499728912193.jpg
5KB, 225x224px
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
42 posts and 10 images submitted.
>>
>>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.

File: FHSY433FQ6E5F22.MEDIUM.jpg (35KB, 338x450px) Image search: [Google]
FHSY433FQ6E5F22.MEDIUM.jpg
35KB, 338x450px
Write a needlessly complex "Hello World" in a computer language of your choice.
21 posts and 2 images submitted.
>>
|-|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

File: 1484164088092.jpg (21KB, 312x345px) Image search: [Google]
1484164088092.jpg
21KB, 312x345px
>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
19 posts and 5 images submitted.
>>
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?
31 posts and 2 images submitted.
>>
>>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.

File: tumblr_inline_mqgeperMlM1qz4rgp.jpg (37KB, 460x276px) Image search: [Google]
tumblr_inline_mqgeperMlM1qz4rgp.jpg
37KB, 460x276px
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.
6 posts and 1 images submitted.
>>
>>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.

File: metasploit.png (9KB, 674x478px) Image search: [Google]
metasploit.png
9KB, 674x478px
How many pull requests have you submitted to Metasploit?
18 posts and 3 images submitted.
>>
>>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.

File: performance.png (401KB, 1834x946px) Image search: [Google]
performance.png
401KB, 1834x946px
adblock and ublock origin are slowing lot of websites for me

what is best way to block ads outside the browser?
9 posts and 1 images submitted.
>>
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

File: rosetta.jpg (103KB, 495x600px) Image search: [Google]
rosetta.jpg
103KB, 495x600px
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.
44 posts and 4 images submitted.
>>
File: c.png (77KB, 1200x1276px) Image search: [Google]
c.png
77KB, 1200x1276px
>>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;
}
>>
File: lua.png (72KB, 1200x1200px) Image search: [Google]
lua.png
72KB, 1200x1200px
>>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())))
>>
File: python.png (8KB, 512x512px) Image search: [Google]
python.png
8KB, 512x512px
>>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.
22 posts and 5 images submitted.
>>
>>61435287
Sure thing, buddy.
>>
File: IMG_0737.gif (142KB, 1221x1007px) Image search: [Google]
IMG_0737.gif
142KB, 1221x1007px
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?

File: 1475832341555.jpg (48KB, 253x229px) Image search: [Google]
1475832341555.jpg
48KB, 253x229px
>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
13 posts and 2 images submitted.
>>
>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?
39 posts and 7 images submitted.
>>
firefox
>>
The one it comes with.
>>
>>61435229
https://sourceforge.net/projects/dplus-browser/files/Releases/dplus-0.5b/

File: cbac8fe798eb19d92533985b0c67d9b4.jpg (759KB, 1720x845px) Image search: [Google]
cbac8fe798eb19d92533985b0c67d9b4.jpg
759KB, 1720x845px
So this... THIS... is ArchLinux... so THIS was my true potential.... so this is True intelligence...
10 posts and 2 images submitted.
>>
Why... do... you... write... like... this? Are you retarded or something?
>>
File: combo_fedora.png (431KB, 556x644px) Image search: [Google]
combo_fedora.png
431KB, 556x644px
>>61435223
the tinfoiling is real
>>
>>61435223
>not using i3wm
pfff... TRUE intelligence... please...

File: atvR61D.png (10KB, 288x357px) Image search: [Google]
atvR61D.png
10KB, 288x357px
>unplugging internet for productivity
Does it work
58 posts and 7 images submitted.
>>
>>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.
>>
File: smoking_da.jpg (94KB, 1050x591px) Image search: [Google]
smoking_da.jpg
94KB, 1050x591px
>>61435255
>Just get good and focus

Pages: [First page] [Previous page] [1501] [1502] [1503] [1504] [1505] [1506] [1507] [1508] [1509] [1510] [1511] [1512] [1513] [1514] [1515] [1516] [1517] [1518] [1519] [1520] [1521] [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.