[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 | | Home]

Archived threads in /g/ - Technology - 668. 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.

Is there an IDE on Linux that just works out of the box for C++ on Linux? I fell for the visual studio meme but now want to branch out on Linux, and I'm new to all this shit.
21 posts and 3 images submitted.
>>
>IDE
Just use Vim like a real programmer
>>
>>62089316
Code::Blocks, but some people like Geany
>>
>>62089328
thank you

File: sicp_anime_girl.jpg (2MB, 1920x3272px) Image search: [iqdb] [SauceNao] [Google]
sicp_anime_girl.jpg
2MB, 1920x3272px
Let's be productive edition.

Previous thread: >>62083699

What are you working on /g/?
321 posts and 35 images submitted.
>>
First for C.
>>
File: anime97.png (143KB, 800x1000px) Image search: [iqdb] [SauceNao] [Google]
anime97.png
143KB, 800x1000px
Fucking finally finished my bubblesort script
#takes an unsorted list, and sorts it using the bubblesort method
interim = 0
unsorted = [5, 1, 6, 4, 3, 9, 0, 8, 2, 7]
first = 0
second = 1
loop_value = 0
success = False
while not success:
for i in unsorted:
try:
if unsorted[first] > unsorted[second]:
interim = unsorted[first]
unsorted[first] = unsorted[second]
unsorted[second] = interim
first += 1
second += 1
elif unsorted[first] < unsorted[second]:
first += 1
second += 1
if loop_value > len(unsorted):
success = True
continue
except IndexError:
first = 0
second = 1
loop_value += 1

print(unsorted)

tell me how inefficient my code is daddy
>>
>>62088982
>What are you working on /g/?
Learning what are cgroups and namespaces.
I want to reach the next step in security.

File: cute-anime-girl.jpg (2MB, 1600x1200px) Image search: [iqdb] [SauceNao] [Google]
cute-anime-girl.jpg
2MB, 1600x1200px
I-is my code good enough anon?

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>

/*Here starts the code :3*/

bool is_sorted(int *a, int n) /* Checks if the list is sorted ^_^ */
{
while ( --n >= 1 ) {
if ( a[n] < a[n-1] ) return false;
}
return true;
}

void shuffle(int *a, int n) /*Shuffles the list because it's fun :-D*/
{
int i, t, r;
for(i=0; i < n; i++) {
t = a[i];
r = rand() % n;
a[i] = a[r];
a[r] = t;
}
}

void sort(int *a, int n) /*<---This is the sorting function you'll know because it is named "sort" *_* */
{
while ( !is_sorted(a, n) ) shuffle(a, n);
}

int main() /*Main program where the fun starts!! :DDD*/
{
int numbers[] = { 1, 10, 9, 7, 3, 0 };
int i;
sort(numbers, 6);
for (i=0; i < 6; i++) printf("%d ", numbers[i]);
printf("\n");
}

/*Here ends the code :3 Remember to check my last github commit about changing master/slave definitions */
36 posts and 15 images submitted.
>>
File: 1502135172639.jpg (90KB, 957x621px) Image search: [iqdb] [SauceNao] [Google]
1502135172639.jpg
90KB, 957x621px
dumb 2d poster
>>
>>62088941
But why? Pepe-kun? Did I do something wrong?
>>
Didn't even bother to read after seeing the shitty >Look at me I put emotes in my comments
comments.

File: meme.jpg (8KB, 480x360px) Image search: [iqdb] [SauceNao] [Google]
meme.jpg
8KB, 480x360px
So I see you're running GNOME
87 posts and 18 images submitted.
>>
File: 00:34:02.664.jpg (47KB, 1280x720px) Image search: [iqdb] [SauceNao] [Google]
00:34:02.664.jpg
47KB, 1280x720px
I'm more of a homosexual myself.
>>
Epic win thread family!
I would like to be included in the picture of this epic win
>>
Didn't he use KDE himself? What a fucking joke.

File: 150273897822.jpg (268KB, 2560x1600px) Image search: [iqdb] [SauceNao] [Google]
150273897822.jpg
268KB, 2560x1600px
What's the most efficient way to print "hello world" in C?
36 posts and 4 images submitted.
>>
What do you mean by efficient?
>>
>>62088619
O(logn) time
>>
#include <stdio.h>

int main(int argc, char* argv[])
{
printf("fuck\n");
return 0;
}

That's the cause of the disapointing situation where Linux is these days, GNU never came with something useful or superior to commercial alternatives, their philosophy is very impractical and the people behind it lacks actual technical knowledge.

When people ask me why all Linux OSes look like toys, hobbyistic malfunctioning systems bloated and overcomplicated, I can't defend Linux, because they are right.
61 posts and 10 images submitted.
>>
>>62088559
GNU is the collectivist cancer killing Linux, every sector Linux is dominant or in a good position (server, embedded, mobile), the only area where Linux is under performing is on the desktop, coincidentally this is where GNU has more influence over the development.
>>
>>62088559
You have no idea what you're talking about. Gnu is dominant in all of Enterprise. Hence why all servers, super computers, etc. Use gnu/Linux and not shit like bsd.
Gnu/Linux suffers on the desktop because there is no profit in it. When there is profit (say like chrome is which uses gnu utilities) it works fine and people like it.
>>
>>62088559
You are fucking retarded.

File: v7ARfeA.png (609KB, 854x640px) Image search: [iqdb] [SauceNao] [Google]
v7ARfeA.png
609KB, 854x640px
http://www.gamersnexus.net/guides/3032-vega-56-cost-of-hbm2-and-necessity-to-use-it

>Regardless, we’re at about $150 on HBM2 and $25 on the interposer, putting us around $175 cost for the memory system.

>A recent DigiTimes report pegs GDDR5 at about $6.50 for an 8Gb module, though also shows pricing for August onward at $8.50 per module. With old pricing, that’s around $52 cost for an 8GB card, or $68 with new pricing. We do not presently know GDDR5X cost. This puts us at around 3x the cost for HBM2 which, even without factoring in yields or the large GPU die, shows why AMD’s margins are so thin on Vega.

AYYMD IS FINISHED & BANKRUPT

AYYMDPOORFAGS CONFIRMED ON SUICIDE WATCH
119 posts and 10 images submitted.
>>
>>62087778
>take GaymursNexus word as a fact
>>>/reddit/
>>
>>62087778
Why not just raise the prices? It will still sell out irregardless.
>>
>>62087840

why would someone recreate this image. it's low image quality and poor design are what helped make it funny.

File: Screenshots 1066.jpg (303KB, 759x720px) Image search: [iqdb] [SauceNao] [Google]
Screenshots 1066.jpg
303KB, 759x720px
https://www.theverge.com/2017/6/1/15726778/chrome-ad-blocker-early-2018-announced-google

do you think they are doing this in an underhanded bid to get ad blockers banned as anticompetitive

all they have to do is block more non-google ads to get someone to sue, and then they've won and adblockers are gone forever


even if you keep your adblocker running from some shady repo, google has won because normies wont use it. and also both chrome and firefox mainstream releases wont allow unsigned addons anyway
91 posts and 14 images submitted.
>>
>>62087758
Terry Davis was right.

They want us all impotent nigger cattle that can only fart in mud.
>>
>>62087758
(((They)) already blocked AdNauseam:

https://adnauseam.io/free-adnauseam.html
>>
>>62087820
I heard that if you used it they would block ads for you
KEKED

File: maxresdefault.jpg (109KB, 1280x720px) Image search: [iqdb] [SauceNao] [Google]
maxresdefault.jpg
109KB, 1280x720px
Tell me why I shouldn't buy this over the macbook pro.
71 posts and 10 images submitted.
>>
>>62087460
No
>>
>>62087460
>Tell me why I shouldn't buy this over the macbook pro.

I'm gonna be honest with you, if you care about build quality then you shouldn't be buying Lenovo computers - of any brand, including thinkpad.

Play the Lenovo lottery if you want, but know that some small part of your laptop is always not gonna be what you expected.

My display has bleed in issues and one dead pixel, and when it was being fixed there is a small nick on the body which I can't stop noticing.

Overall is the laptop nice, sure, but be ready to send it back when you get it and something is inevitably wrong.

With apple this isn't a problem. You know exactly - EXACTLY - what you are buying. You get a Macbook pro, you get a new computer with no problems. (like 99% of the time). With Lenovo, you can't do that.
>>
>>62087460
It's not a macbook pro

File: opendns.jpg (96KB, 900x475px) Image search: [iqdb] [SauceNao] [Google]
opendns.jpg
96KB, 900x475px
Who here OpenDNS master race?
>blocks malware and malicious domains
>blocks porn (a.k.a. time wasting sites, including 4chinz)
>secure
>just works
>fast
26 posts and 5 images submitted.
>>
>>62087416
You forgot
>sells your data

Use dnscrypt
>>
>blocks porn (a.k.a. time wasting sites, including 4chinz)
>just works
Clearly it doesn't
>>
>nxdomain hijack
yeah no

File: IMG_6681.jpg (17KB, 250x163px) Image search: [iqdb] [SauceNao] [Google]
IMG_6681.jpg
17KB, 250x163px
>got corrected at work for using the "deprecated" terminology "master/slave".
45 posts and 7 images submitted.
>>
>>62087119
how do sjws use older hard disks then?
>>
>>62087143
Switch from IDE mode to BLM mode
>>
>drwx------ 8 root root
in case you want to check them...

File: dban_story.jpg (37KB, 760x405px) Image search: [iqdb] [SauceNao] [Google]
dban_story.jpg
37KB, 760x405px
Is DBAN the best drive wiping software?
21 posts and 5 images submitted.
>>
>>62087095
dd if=/dev/urandom of=/dev/sda
>>
not OP, but stuck with Windows and need a drive wipe that runs while in Windows

What else we got?
>>
File: image.jpg (389KB, 1226x813px) Image search: [iqdb] [SauceNao] [Google]
image.jpg
389KB, 1226x813px
Don't be a paedophile terrorist nazi and you will be fine.

File: bubble pipe.jpg (27KB, 240x270px) Image search: [iqdb] [SauceNao] [Google]
bubble pipe.jpg
27KB, 240x270px
/g/ lets be honest with this board and ourselves, do you HONESTLY think that any big company gives a flying fuck about you in general?

I watch this board go nuts over the lamest shit like what OS you're using or browser and act like using Ubuntu, Mint, Arch, Gentoo or whatever is going to be the end of the world. Nothing is going to happen. No agency cares about you. You're not John Wick or Agent 47, you're good.
You're nothing more than a nerd on the internet. So why does it HONESTLY bother you?

You're what? Torrenting the latest show of something or some obscure flac music? NEAT. I do it too (not flac dear god no, too fucking big of files.)

My question is, why does it matter if you're basically a "nobody"

>muh privacy!!!
If you have ANYTHING with a camera or a mic, you've likely been monitored the entire time. I'm not saying it's right but at the same time, I'm saying you can't do shit about it. So just be happy with everything else.
28 posts and 4 images submitted.
>>
>be complacent about things you don't like

what sort of defeatist attitude is this?
>>
>>62087046
It's not anon. What literally can you do? It's not like you have the money to buy Google, Microsoft, or anything else, so what's the best thing you can do? They don't care about you so why bother?
>>
Stupid Question

Who bring this kid?

File: 1495421102088.gif (505KB, 1080x1080px) Image search: [iqdb] [SauceNao] [Google]
1495421102088.gif
505KB, 1080x1080px
385 posts and 48 images submitted.
>>
>>62086880
how about you make this thread when you actually want to ask something?
why does it need to be up
>>
>>62086880
luddite here

what is the difference between C and C++?
>>
>>62086976
basically C++ is built on top of C and can do lot of stuff C can't

File: internet-2017.jpg (243KB, 1680x840px) Image search: [iqdb] [SauceNao] [Google]
internet-2017.jpg
243KB, 1680x840px
Have you all ever thought about how shit the internet is
>highly centralized infrastructure
>essentially all backbone hardware controlled by state level actors
>have to pay some ISP jew for access due to heavy centralization
>everything is traceable due to state level actors controlling most of the hardware
>DNS is centralized and easily censorable
>ICANN jews run the entire naming system
>verisign and other fucktards making SSL harder than and more expensive it needs to be

what are our options here? I2P and Tor both utilize the same hardware as the conventional clearnet, seems the public is too retarded / doesn't care enough to set up a meshnet, and the current system is basically a shit stack a mile high, so it's only a matter of time before it all falls over.
64 posts and 56 images submitted.
>>
>>62086707
meshnets can't be built because people are too far away from each other
a radio transmitter with enough power to cross across countries would jam so many frecuencies you would have the feds at your door the first day
>>
>highly centralized infrastructure
Not much to do about this, there are things like ZeroNet but it still relies on all clients being on the Internet.

>essentially all backbone hardware controlled by state level actors
Logic since it costs billions to provide the infrastructure for an entire country.

>have to pay some ISP jew for access due to heavy centralization
Most things in life cost money.

>everything is traceable due to state level actors controlling most of the hardware
Use Tor or a VPN. Tor is safe as long as you don't enable JavaScript and VPN is maybe a bit of a gamble but they are not legally obligated to keep logs nor do they have any motivation to do so when their income comes from not keeping logs.

>DNS is centralized and easily censorable
Anyone can set up their own DNS.

>ICANN jews run the entire naming system
See previous answer. Your DNS can even accept your own TLDs (e.g. .faggot or .nigger) but of course only people using your DNS will be able to access those websites without direct IP access.

>verisign and other fucktards making SSL harder than and more expensive it needs to be
Use Let's Encrypt. You don't really pay for the certificate with others you pay for them to verify your identity, which is fucking pointless since no one bothers to check that.
>>
File: Clipboard01-embed.png (3MB, 1500x1449px) Image search: [iqdb] [SauceNao] [Google]
Clipboard01-embed.png
3MB, 1500x1449px
[row row fight the power]

Pages: [First page] [Previous page] [658] [659] [660] [661] [662] [663] [664] [665] [666] [667] [668] [669] [670] [671] [672] [673] [674] [675] [676] [677] [678] [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]
Please support this website by donating Bitcoins to 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
If a post contains copyrighted or illegal content, please click on that post's [Report] button and fill out a post removal request
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 4Archive shows an archive of their content. If you need information for a Poster - contact them.