[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 - 6177. 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: java-bg-672x372.jpg (19KB, 672x372px) Image search: [Google]
java-bg-672x372.jpg
19KB, 672x372px
is this what people always say when they talk about how painful java is to use?

I have this function (and yes I know it doesn't work right):
public static int[] integerBubbleSort(int[] list){    
for(int i = 0; i < list.length - 1; i++){
if(list[i] > list[i + 1]){
list = switchpos(i, i + 1, list);
}//else: implicitly if list[i] <= list[i + 1], do nothing.
}
return list;
}

which is called later:
int[] list = new int[]{70,5,10,40,20,3,7};
System.out.println(Arrays.toString(integerBubbleSort(list)));
System.out.println("Sorted from original array: " + Arrays.toString(list));


Printing the array after it's gone through the function is what I expect, but then the "sorted from orignal array x" is not at all what I expect; that being it's the same both times.

So I guess what's going on here is that, in the bubble sort function, there's the line assigning list to something, which means that Java sees that variable as the same one of the same name I define later.
Like what the fuck, like, that just seems so messy and weird. Why can't the function just be closed? In math if you define a function in terms of x, that doesn't fucking mean x is always defined in that way, it's called a FUCKING VARIABLE for a reason.

I don't want to write functions with side-effects, how do I make that clear to the compiler?
16 posts and 3 images submitted.
>>
>bubble sort
You must be 18 to post here.
>>
>>57356151
19 2bh
I am indeed concerned that I am too far behind in skillz but everyone else in my intro to CS is far behind me so whatever.
>>
http://www.java-made-easy.com/variable-scope.html

unless I'm reading this wrong though, list in the bubble sort method should already be in method scope. So why is it affecting the list declared in main?
Or is something else going on?

Just to clarify both print statements have outputs where 70 is at the end.

File: 1476848298968.jpg (55KB, 320x240px) Image search: [Google]
1476848298968.jpg
55KB, 320x240px
/g/ what is the best Linux OS for breaking WPA/WPA2 wifi passwords?

Also in general what is the easiest way to do this.
I want to have access to some signals around me, in case my internet gets turned off, ill have an emergency access point.
I don't want to leech forever, this would just be used for emergencies in case you're wondering.

I have planned to purchase a strong wifi wireless PCI Express card. I can upgrade my desktop with the card to have more bars & such. So my question here is what card do you recommend? I'm looking at the http://www.tp-link.com/ brand, perhaps their archer series of cards, they seem powerful.
13 posts and 4 images submitted.
>>
>>57356111
You would get caught if you are on the US

Do you wanna get fucked in the ass so hard, OP?
>>
>>57356111
never heard of kali?
>>
>>57356111
Cracking WPA is a meme.
But, if your new to this stuff just install Kali. It will have all of the tools you "need"

File: web.png (5KB, 800x600px) Image search: [Google]
web.png
5KB, 800x600px
I dare you.
explain a browser as simple as possible in as few words as possible.
26 posts and 1 images submitted.
>>
install gentoo
>>
install gentoo
>>
install gentoo

File: Capture.png (32KB, 940x651px) Image search: [Google]
Capture.png
32KB, 940x651px
So how do i make an empty C++ project in the latest version of Visual Studio?

How the fuck could MS fuck up the new project window this bad?!?!?
10 posts and 2 images submitted.
>>
File: Capture.png (15KB, 447x506px) Image search: [Google]
Capture.png
15KB, 447x506px
>>57356081
I pressed the Install tools for windows desktop and now this showed up.

4!!!! fucking GB
>>
>>57356138
Why are you nerds freaking out over 4gb? Doesn't everyone have at least a 1TB HDD nowadays?
>>
>>57356150
I almost fell for your troll post, 6/10 good try but too obvious

File: IMG_6747.jpg (49KB, 534x401px) Image search: [Google]
IMG_6747.jpg
49KB, 534x401px
>What will you burn or microwave first?
15 posts and 3 images submitted.
>>
Nothing.
I encrypt everything that might get me behind the bars.
>>
>>57356076
nuttin, i have like 3 wared games on my ssd, i dont give a fuck if fbi raids me, ill pay the fine
>>
>>57356076
nothing to hide and besides watching some jihadist webms on /b/ I don't do illegal activities on my computer

File: SparSS[1].png (8KB, 200x200px) Image search: [Google]
SparSS[1].png
8KB, 200x200px
I'm looking for a non botnet rss/atom reader that WORKS.

It has to be able to import .opml files and autenticate, like pic related. (which doesn't download the articles for some reason on my cyanogenmod 13)
8 posts and 1 images submitted.
>>
>>57356064
Not OP here, but it also has to NOT want access to my contacts, microphone, photos, and banking information.
>>
>>57356064
Courrier, it's on F-droid. You just have to a ctivate the Guardian project repo (tap the 3 dots > repositories)
>>
>>57357791
Last update 2 years ago...

File: comp sci.jpg (114KB, 959x617px) Image search: [Google]
comp sci.jpg
114KB, 959x617px
So I'm currently sitting in my Comp Sci I programming class and wondering...
Why Java? Or more specifically why am I still here?

Why not teach a more universally useful language like C/C++, or Python (which they teach in an even lower level programming class)? I did all this stuff in high school and hate sitting through it.
13 posts and 2 images submitted.
>>
>>57356033
All the lecture notes that your tenured prof is using are from 1997 and he doesn't want to re-invent the wheel.
>>
>>57356033
>Why Java?

Because you picked a shit school, anon... also >>57356137
>>
>>57356033
Is this your first semester in CS? Many schools start with java rather than C because noobs have difficulty with pointers.

Does your school not offer an "accelerated" course for this? Or allow you to test and skip this course?

File: 1472694632273.jpg (85KB, 708x816px) Image search: [Google]
1472694632273.jpg
85KB, 708x816px
Hey /g/

I've got the cash on hand now to drop on a gaming notebook (pls don't crucify me I need the portability), and I was looking at the Asus ROG GL552VW, the only thing holding me back is the 2GB GTX 960M

Do you think it would be worth saving up an extra $600 CAD to invest in the GL502VW, which is packing a GTX 1060M 6GB? $1400 vs $2000

Just a quick yes or no.

>thx /g/
19 posts and 2 images submitted.
>>
File: 1459338905461.gif (73KB, 282x243px) Image search: [Google]
1459338905461.gif
73KB, 282x243px
>>57355962
>1060M
>M
ITS NOT GTX 1060M ITS JUST GTX 1060 FOR FUCKS SAKE

>worth
Yes
>>
>>57355962
1060 will run everything you want
>>
>>57355962
Just curious, why do you need a portable machine for gaming?

You should ask yourself if you really need portability or if you are just being a faggot, like most OPs

File: external-harddrive.jpg (112KB, 1000x887px) Image search: [Google]
external-harddrive.jpg
112KB, 1000x887px
>safely remove drive
>drive proceeds to spin to full speed
>"You may now eject your drive"
>still at full speed after 5 minutes
>still at full speed after computer shuts down

Thanks Linux

It's easier to open a terminal and type "sudo hdparm -y /dev/sdb"
9 posts and 2 images submitted.
>>
how can your drive spin without electricity
>>
>>57355824
>tfw OP has created perpetual motion on accident
>>
>>57355824
I mean clicking the "safely remove drive" option, not actually removing the drive with my hands. It does the opposite of what it's supposed to do.

Is there a more stylish dumbphone than this?
44 posts and 14 images submitted.
>>
>>57355932

Probably not, but, for the price of the thing though, it certainly is not good value.
>>
I don't think so, but fuck that price tag. Completely unjustified
>>
File: Nokia-230-Dark-Silver.png (386KB, 800x800px) Image search: [Google]
Nokia-230-Dark-Silver.png
386KB, 800x800px
pic related

Winfag friend needs a new GPU. Here's what he's considering:
> RX 480 4GB: 212€
> RX 470 8GB: 212€
> RX 480 8GB: 260€
> GTX 1060 3GB: 195€
All retail prices, all MSI I think. Will be for playing on 1080p. Games will mostly be pre-DX12, but AFAIK the gain you got for a 1060 over a 480 on DX11 was around 3FPS, while the loss for DX12 was way bigger.

No memes, no obscene misuse of the word 'literally' as on most graphic cards general, no general shitposting. Just helping out an anon. You can do this /g/.
14 posts and 3 images submitted.
>>
File: 1477736317445.jpg (119KB, 777x656px) Image search: [Google]
1477736317445.jpg
119KB, 777x656px
>But 3Gig V 8Gig
thread
>>
Bong
>>
>>57355839
>no general shitposting
You failed, anon.

File: hackertyper.png (11KB, 715x402px) Image search: [Google]
hackertyper.png
11KB, 715x402px
What's your $PS1?
38 posts and 8 images submitted.
>>
zsh with powerline-shell
>>
>>57355724
somehting cool im not sure
>>
>>57355724
PS1="\[\033[01;34m\]\u\[\033[00;37m\]@\[\033[01;34m\]\h\[\033[00;37m\][\W] \$ "

File: PC v1.jpg (95KB, 1193x918px) Image search: [Google]
PC v1.jpg
95KB, 1193x918px
what do you think about this?

i use adobe suite and cinema 4d for work, i play a lot of games and i use ableton to make music. so im looking for something powerful, silent and packed in a nice case.
i have only basic knowledge of building a pc, so what do you think about the parts from the pic?

im currently running on:
Sapphire Radeon HD 7870
Intel Core i5-3470
Asrock B75 Pro3
16gb ram

it's already couple of years old and beside the ocassional blackscreen its sometimes just not enough.
7 posts and 1 images submitted.
>>
>>57355653
That PSU is way overkill. Everything else looks fine.
>>
I hate when people post their wishlists
fuck off
>>
>>57355675
Get this instead if you can find it.
https://seasonic.com/product/m12ii-620-evo/

Whats the name???
13 posts and 3 images submitted.
>>
Help
>>
>>57355696
I dunno, look on the card stupid motherfucker
>>
>>57355696
Check the image filename

>graphics-card-amd-radeon-r7_734634.jpg

File: 1473175069072.jpg (78KB, 600x394px) Image search: [Google]
1473175069072.jpg
78KB, 600x394px
ITT: we post typical /g/ OPs. I'll start:
>HOW WILL *insert company here* EVER RECOVER
32 posts and 3 images submitted.
>>
>>57355661
>i like cock
>>
>{x}fags BTFO
>>
>I KNOW THIS ISN'T MY PERSONAL TECH SUPPORT BUT PLEASE HELP ME ANYWAY

Pages: [First page] [Previous page] [6167] [6168] [6169] [6170] [6171] [6172] [6173] [6174] [6175] [6176] [6177] [6178] [6179] [6180] [6181] [6182] [6183] [6184] [6185] [6186] [6187] [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.