[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 - 7358. 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.

Hello /g/, show me your best code snippets
7 posts and 1 images submitted.
>>
>>56216273
        public static void run()
{
int startsize = 8000;
int targetsize = 5000;
int maxiterations = 1000;

//conn = new SqlConnection(logconstr);
//conn.Open();

organisms = new ConcurrentBag<Organism>();
for (int i = 0; i < startsize; i++)
organisms.Add(new Organism(i));
int count = 0;
bool fail = false;
while (count < maxiterations)
{
ConcurrentBag<Organism> temp = new ConcurrentBag<Organism>();
Parallel.ForEach(organisms, (i) =>
{
var t = i.run();
if (t != null && t.isAlive)
temp.Add(t);
if (i.isAlive)
temp.Add(i);
});


if (temp.Count > targetsize && count > 100)
organisms = new ConcurrentBag<Organism>(temp.OrderByDescending(i => i.getHealth()).Take((int)(temp.Count * (-temp.Count / (targetsize * 10) + 0.90))).ToList());
else
organisms = temp;

//new Task(() =>
//{
// sqlInsert(temp.ToList(), count);
//}).Start();

Console.WriteLine("iteration: " + count + " total: " + temp.Count);
if (organisms.Count <= 100 || organisms.Count > 500000 || fail)
break;
count++;
}
generateAndInsertSummaryData(organisms);
}
>>
<code><script>
for (
i = 0; i < 100; i++
) {
alert('Op sucks ' + i + ' cocks'); }
</script></code>
>>
>>56216354
>Op sucks 1 cocks

File: penn-jillette.jpg (47KB, 1000x726px) Image search: [Google]
penn-jillette.jpg
47KB, 1000x726px
>She uses a iPhone
>She uses Windows or OS X
>She says it just werks and Steve Jobs is a hero
In the trash she goes.

I'd rather keep my virginity.
7 posts and 2 images submitted.
>>
Steve jobs was a manipulative prick but not everyone knows that
Not everyone has time to look for UNIX programs just for memepoints
iPhones used to be "the good phone"
She's outdated, just overclock her then your sex should be at minimum satisfactory
>>
>>56216364
Even normies think that iPhones suck now lmao.
>>
>>56216203
You're most likely a freetard, which means you wouldn't have lost your virginity anyway

File: image.jpg (2MB, 4032x3024px) Image search: [Google]
image.jpg
2MB, 4032x3024px
What are you playing your music on /g/?
4 posts and 1 images submitted.
>>
The same as you
>>
>>56215842
also same, with rockbox
>>
I just use my phone because my Sansa Fuze broke or something.

I bet none of you have as many tabs open as me

>39

Chrome fags go die
18 posts and 8 images submitted.
>>
Got like 50, and that's with tab grouping
>>
>>56215913
>doesn't post an image

Well clearly you're lying.
>>
I have something like over 500 with treestyle open. It's a weird problem.

File: EEE.jpg (72KB, 1200x436px) Image search: [Google]
EEE.jpg
72KB, 1200x436px
?????????????????????????

EMBRACE
EXTEND
EXTINGUISH
31 posts and 7 images submitted.
>>
File: fDNdhVT.jpg (77KB, 1080x519px) Image search: [Google]
fDNdhVT.jpg
77KB, 1080x519px
Firefox was destroyed by Mozilla.

RIP Phonix
>>
>>56215736
Really? So if Chrome didn't exist you'd be using IE?
>>
File: 1471473738794.png (517KB, 800x450px) Image search: [Google]
1471473738794.png
517KB, 800x450px
>>56215736
Goddamn it mozilla, keep politics out of my browser.

File: 2016-08-22-233311_1024x600_scrot.png (188KB, 1024x600px) Image search: [Google]
2016-08-22-233311_1024x600_scrot.png
188KB, 1024x600px
Desktop thread
27 posts and 10 images submitted.
>>
Hello here is my virtual workstations
>>
File: irony.png (1MB, 1000x1000px) Image search: [Google]
irony.png
1MB, 1000x1000px
>>56216089
>>

wtf amd adopted cuda? how?
12 posts and 1 images submitted.
>>
>>56215630
wtf. I hate amd now
>>
>>56215630
King CUDA
>>
AMD give you everything and leave it up to the users to use it. Nvidia cut everything down but add planned obsolescence.

How does /g/ feel about no headphone jack?
54 posts and 7 images submitted.
>>
Apple made the right choice. I care about phone thinness. I mean who listens to music while their phone is charging?
>>
/g/ mocks people who listen to music on their phones and those that use spotify and apple music but they get mad when apple removes it to improve its device.
>>
>>56215631
>who listens to music while their phone is charging?
this is the most retarded question i have heard this month, and there are only 7 days left. good job mate.

File: 1442989417625.png (1010KB, 2000x2210px) Image search: [Google]
1442989417625.png
1010KB, 2000x2210px
How accurate is this?
25 posts and 2 images submitted.
>>
>>56215577
Not accurate at all. 90% of that python should lead to javascript. Nobody uses python.
>>
File: 1467831278588.jpg (59KB, 395x401px) Image search: [Google]
1467831278588.jpg
59KB, 395x401px
>>56215577
>Python
>rated easiest language
>tops avg salary

whats going on
>>
>>56215604
Nothing should ever lead to JavaScript, except for "I want to animate snowflakes on a webpage".

File: typical_patel_guy.jpg (84KB, 400x400px) Image search: [Google]
typical_patel_guy.jpg
84KB, 400x400px
hey /g/uys

So i just got my certification on cisco CCNA.

What should i do next?
13 posts and 2 images submitted.
>>
>>56215537
change your passowrds.

https://medium.com/@exocpm/cisco-to-plunge-on-the-release-of-nsa-spying-tools-7-layoff-c8fb3e1af6c#.vsntm4pf5
>>
>>56215537
thread theme;
https://www.youtube.com/watch?v=5PsnxDQvQpw
>>
File: eca.png (92KB, 403x195px) Image search: [Google]
eca.png
92KB, 403x195px
>>56215639
right on the feels.

Thank anon

File: 2016-08-22_231854.png (104KB, 645x474px) Image search: [Google]
2016-08-22_231854.png
104KB, 645x474px
will those fat 3D buttons ever have a return?

look at those chunky fuckers, you want to click that shit all day
17 posts and 5 images submitted.
>>
>thicc
>>
well that's a new one
thank you for helping me explore my sexuality OP
>>
>>56215521
They intuitively look like a button. Just started in an office job where I am forced to use win7 classic theme and I absolitely love the feel. I changed themes on my gnome to give this oldschol vibe.

File: url.png (3KB, 262x192px) Image search: [Google]
url.png
3KB, 262x192px
Systemd.
Now with "mount".

Because fuck you /g/!
- Poottering

> Systemd-mount is the newest tool added to systemd by Lennart Poettering.

https://www.phoronix.com/scan.php?page=news_item&px=Systemd-Mount
61 posts and 6 images submitted.
>>
>>56215397
At least present a reasonable argument to why that is a bad thing.

What a useless thread. Just like your life.
>>
>>56215472
hello there, poettering.
how are you doing on this fine day?
systemd-wayland when?
>>
>>56215653
>doesn't present an argument
>when asked for an argument, resorts to ad hominem

You won. I give up. Systemd a shit.

A SHIT, I TELL YOU!

File: Nokia-1110.jpg (241KB, 1280x720px) Image search: [Google]
Nokia-1110.jpg
241KB, 1280x720px
Need a new phone and I am poor.

What's a /g/ recommended phone for someone that needs to only call and text (preferably on a reliable network, but w/e)?

Tried using my old backup Nokia but I guess tracfone dropped 2G recently, and they won't let me upgrade to a new phone for free :^)
5 posts and 1 images submitted.
>>
my dick
>>
>>56215275
nicee
>>
ask /csg/, they got a lot of dirt cheap androids.

File: amor01.jpg (284KB, 646x744px) Image search: [Google]
amor01.jpg
284KB, 646x744px
http://www.photo-palette.com/?g=ROAD

Compare the performance of Firefox to Chrome
5 posts and 1 images submitted.
>>
>>56215106
you look beautiful OP
>>
They both perform equally as poor. However, I'm on a mac, so...
>>
>>56215106
>browser
>performance
Nice meme

File: c plus plus my dude.png (35KB, 512x512px) Image search: [Google]
c plus plus my dude.png
35KB, 512x512px
Hey! I'm starting college today for software engineering and was wondering if my C++ textbook from 2004 is still usable and relevant in 2016? It's a huge and detailed book, I just don't want to learn irrelevant information! Thanks!
14 posts and 1 images submitted.
>>
>>56215103
barely anything changed since 2008 to now so i doubt it famlam
>>
>>56215350
c++11?!?!?!?!?
>>
>>56215103
Doesn't your class have a book you're following?

In any case, it's still useful for learning the basics of C++.

Pages: [First page] [Previous page] [7348] [7349] [7350] [7351] [7352] [7353] [7354] [7355] [7356] [7357] [7358] [7359] [7360] [7361] [7362] [7363] [7364] [7365] [7366] [7367] [7368] [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.