Quantcast
[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr / vt ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Due to resource constraints, /g/ and /tg/ will no longer be archived or available. Other archivers continue to archive these boards.Become a Patron!

/g/ - Technology


View post   

[ Toggle deleted replies ]
File: 55 KB, 600x600, 123123123.jpg [View same] [iqdb] [saucenao] [google] [report]
67939919 No.67939919 [Reply] [Original] [archived.moe] [rbt]

90% of the faggots on here are using sandy bridge desktops and laptops, with maybe a couple of FX users.
Why are the intel/amd shill larping threads? None of you are going to buy anything

>> No.67940000

>>67939919
"encryption"
"Oh wow your so smart Anon here it's on the house"
>Coffee house cheers as the first man to claim a free coffee walks out

>> No.67940041

>>67940000
he cute

>> No.67940050

>>67939919
I stopped reading at the second line. Why is one variable color coded white while the other is green?

>> No.67940104

>>67940050
probably used emacs to write it, the font-lock system is a piece of shit

>> No.67940240

>>67939919
>.reverse()
wtf is this supposed to do? The function requires an argument, doesn't it?

>> No.67940270

>>67940050
Because it's initialized with a function?

>> No.67940276

>>67940240
Use Gentoo

>> No.67940283

>>67940240
>your_drink is not defined

this is kode with klossy levels of coding

>> No.67940288

>>67940270
Why would that matter though. We can already see that from the assignment side.

>> No.67940298

>>67940240
Hmm, not an expert but isn't reverse() a method of string class? If so you could call it on a string like that.

>> No.67940335

>>67940288
Probably to be consistent with how the name would be syntax highlighted in
function reverse(s) {

>> No.67940372

>>67940298
yeah, I was confused by the fact that it was defined as a function a line before it

>> No.67940423

>>67939919
I've been looking at this code for a solid 2 minutes and I'm so confused.
>why is the barista the one doing the request
>why is a variable being assigned a function signature with a body
>what does s.split("").reverse().join("") mean

>> No.67940548

"undefinedSecret word:encryption"
amazing

>> No.67940638
File: 54 KB, 777x818, ayymdeee.png [View same] [iqdb] [saucenao] [google] [report]
67940638

>>67939919
>maybe a couple of FX users
There's probably a shitload of us on here, but many aren't proud enough to say they were on a budget and got it, I'm definitely getting a T420 to accompany this motherfucker.

>> No.67940669

>a function that does nothing but call another function

hmmm

>> No.67940676
File: 242 KB, 2018x862, 12321414123515.png [View same] [iqdb] [saucenao] [google] [report]
67940676

>from FX user
>to Intel

it feels so good bros, everything loads so much faster now, it's like I upgraded my Internet connection instead of my CPU

>> No.67940692
File: 140 KB, 1038x1000, 1523433903969.jpg [View same] [iqdb] [saucenao] [google] [report]
67940692

>>67940676
>M5A99X guy
Congrats on the upgrade, my dude

>> No.67940705

>>67940692

Thanks anon, went with a good mobo this time around too

>> No.67940730

>>67940548
>barista empties cash register into a bag and hands it to you

>> No.67940767
File: 24 KB, 549x471, skeltel;.jpg [View same] [iqdb] [saucenao] [google] [report]
67940767

>>67940423
1. good question
2. functions are first class objects in javascript
3. split string into array, reverse array, rejoin the array

>> No.67940869

>>67939919
Took me a minute to know what it is. I guess I should have started reading from the bottom up, could've gotten to the answer faster. Wish I could get a free coffee for solving this right now

>> No.67941053

"Abort, retry, fail?"

Cafe is in MS HQ.

>> No.67941109
File: 101 KB, 1920x1080, maxresdefault.jpg [View same] [iqdb] [saucenao] [google] [report]
67941109

>>67939919
>large black encryption
Sounds like a sex move

>> No.67941123

>>67939919
i don't know how to code but i found the word in 30 seconds. reverse str 2 + str 3 + str 1 = encryption
don't thank me though, enjoy your free coffee.

>> No.67942584

>>67939919
fuck off poorfag

>> No.67943592

>>67939919
would not go in there
no way

>> No.67943610

>>67939919
if you are such a good coder - why are you working in a coffee shop?

fuck off

>> No.67943618

>>67942584
>Poorfag because you won't buy 5% incremental ipc improvements every year when 32nm crap is still pretty relevant

>> No.67943662

>>67940676
I did the same. I went from
>FX/hd7970
To Intel/nvidia.
Changed my whole world view.

>> No.67943712
File: 61 KB, 605x497, Screenshot 2018-10-06 18.06.25.jpg [View same] [iqdb] [saucenao] [google] [report]
67943712

>>67939919
>maybe a couple of FX users
it's almost winter lads, rev up those BOINC projects and turn that FX into a space heater

>> No.67943779
File: 1.59 MB, 4032x3024, IMG_0213.jpg [View same] [iqdb] [saucenao] [google] [report]
67943779

>>67943712
FX is pretty cool at stock or a mild OC but the temps jump dramatically past 1.44375v, my thicc heatsink can't even cool it without throttling.

>> No.67943816

>>67943662
7970 was god tier gpu
today its performance is on par with 1050ti which is enough for [email protected] gayming

>> No.67943842
File: 2.07 MB, 4032x3024, IMG_0218.jpg [View same] [iqdb] [saucenao] [google] [report]
67943842

>>67943816
I'm trying to get a cheap used 7970 for my FX-8350 rig, so I can have the ultimate 2012 AMD machine, it's still a better than console gaming experience.

>> No.67943899

>>67943779
ey, I have the same heatsink and things do start to volcano at 1.44v. I used to OC but I keep mine stock because I prefer a quiet machine. My CPU is the underpowered 95w TDP version too. Still gets the job done, don't need to upgrade yet but I've been eyeing the AM4 cpus.

>> No.67943912

>>67943816
I'm not arguing that the 7970 wasn't god tier for it's time, but I used to buy nothing but and hardware. Switching to Intel/nvidia was a fucking eye opener.
I currently don't have the same issues that I used to, and I don't have problems with software that I used to.
Even trying to make an HTPC, or running vms was a pain in the ass when I only used amd.

>> No.67943920

>>67943899
I'm in the same spot, the ipc of RYZEN is so ridiculously good, but my AMD FX rig still does fine and it's a beautiful machine.

>> No.67943945

A6-5400k here, what a shitty APU on linux I'll tell you what.

100fps in low-graphic mode of counter strike 1.6

>> No.67943946

>>67939919
your_drink was never defined

>> No.67943950

Had an FX8350/R9 290x

Went to a 3770k/1080

Amd is utter dog shit

>> No.67943991

>>67943950
WTF is this bullshit, delid this

FX-8350 is amazing and I would buy an new build with one RIGHT NOW if I could get a decent motherboard new.

>> No.67943992
File: 3.15 MB, 3888x2916, IMG_1869.jpg [View same] [iqdb] [saucenao] [google] [report]
67943992

>>67943842
dafuq? your build looks so much like mine.

>> No.67944003
File: 1.25 MB, 400x400, 1513640157160.gif [View same] [iqdb] [saucenao] [google] [report]
67944003

>>67943992
>brown motherboard
WHY

>> No.67944023

>>67943992
Smaller GPU=no sag
Also T4 is best am3+ cooler because you just latch it on without any backplates, screws, or other bullshit.

>>67944003
It's the copper showing through because it's not matte like the 990 boards but I still think it looks good.

>> No.67944038

>>67943950
>went to a 6 year old processor and a 2 year old graphics card

Sure thing, champ.

>> No.67944049

>>67939919

encryption

>> No.67944053
File: 72 KB, 600x450, 5616351351.jpg [View same] [iqdb] [saucenao] [google] [report]
67944053

>>67944003
It's black but flash makes it look weird. Besides, baaack then there was only green, red, or brown mobos and brown was OG AF

>> No.67944057

>>67944023
oh for some reason i thought they made them brown, kek

>> No.67944058

>>67943991
absolutely atrocious single thread performance
throttles at the drop of a hat

>> No.67944070

>>67944058
so what, games perform about the same. They last a long time, I don't notice a difference. Mine is 6 years old and still ticking. Probably go to 10-12 before it's ridiculous.

>> No.67944151

>>67939919
"NULLSecret Word:encryption"

What did they mean by this?

>> No.67944168

>>67944070
>Games perform about the same
Only if you automatically avoid all the good games that don't perform the same.

>> No.67944173

>>67944058

You play older titles on a 60hz monitor

Shut the fuck up

>> No.67944182

>>67944168
And if you avoid those games you might as well just buy a console.

>> No.67944185

>>67939919
>None of you are going to buy anything
Cose AMD FX still perfect

>> No.67944191

>>67939919
is .split .reverse .join part of the language or i had to interpret what those things do?

>> No.67944240
File: 1 KB, 100x125, 1538864774575.jpg [View same] [iqdb] [saucenao] [google] [report]
67944240

>>67939919
>naming a custom function after an integrated function which just calls the integrated function

>> No.67944268

>>67939919
>undefined
Do I get a free coffee now?

>> No.67944395

>>67944240
The reverse function is on the array prototype. Smarter thing would be to create a reverse function on the string prototype and call that.

>> No.67944438
File: 21 KB, 350x350, 1515743681438.jpg [View same] [iqdb] [saucenao] [google] [report]
67944438

>>67939919
what?

>> No.67944783
File: 114 KB, 412x351, vwmpn.png [View same] [iqdb] [saucenao] [google] [report]
67944783

>>67944438
>tfw phenom II has almost 10% better ipc than FX

>> No.67944791

>>67940298
no it's part of the array object
this is js by the way

>> No.67944795

who da fuck uses var anymore. let and const only you noobs.

>> No.67944976

>>67944783
ya that, plus I unlocked mine to a X6 1605T

>> No.67945029

>>67944438
Haha, I'm still rolling with my trusty 955 right now. Unless your gaming with newer games really why the fuck would you even upgrade anyway? Toss 32GB of ram + a SSD at it and be done with it. I did (back when DDR3 was cheap as dirt). Rolling along fine and dandy

>> No.67945065

I don't know how to code at all in any language but I can still figure out this coffee shop sign well enough to say the word "encryption" to the barista and expect some kind of free coffee

>> No.67945318
File: 69 KB, 424x417, E6700 CPU-Z.png [View same] [iqdb] [saucenao] [google] [report]
67945318

>>67939919
>Sandy-Bridge
more like Conroe

>> No.67945570

>being a consumerist whore

Kill yourself

>> No.67945645

>>67939919
I have a SB laptop that I've added memory and a boot SSD on. My desktop (which I'm typing this on) is a Ryzen 7/X370/GTX 1080 system. I also have a Haswell based system which I use for a home server.

>> No.67945668

>>67939919
>2018
>using var

>> No.67945707
File: 265 KB, 800x522, Why the fuck everything single threaded.png [View same] [iqdb] [saucenao] [google] [report]
67945707

>>67944783

>> No.67945712

>>67945645
Oh, and I have an FX-8350 in an old gaymen rig I turned into a NAS, it's mostly used as a backup destination for all the other shit on the network, as well as archiving for all my shit.

>> No.67945857
File: 85 KB, 471x635, 1529592750108.jpg [View same] [iqdb] [saucenao] [google] [report]
67945857

>>67945712
>1 ton of coal a year is dedicated to powering a NAS

>> No.67945931

>>67945857
You say that like I give even a single fuck. It's not drawing full TDP anyway, so that's not even true.

And I'm not going to go and buy a purpose built NAS or hack together an ODROID setup or something when I have the hardware laying around. Take your bullshit and GTFO.

>> No.67946268
File: 2.10 MB, 432x242, The_Doctor_calls_OP_out.gif [View same] [iqdb] [saucenao] [google] [report]
67946268

>>67945931
>take your bullshit
>>switching from a FX 8350 to an R5 2600X saves me 12$ a month in power

>> No.67946295

>>67946268
The fuck are you talking about? Are you saying I could save money? Power is fucking cheap here, and $12 a month is next to nothing.

>> No.67946361

>>67939919
Do JS strings really not have a bulit-in reverse function?

>> No.67946375

>>67940000
Checked.

>> No.67946607

>>67939919
>undefinedSecret Word:encryption
>code has no side effects

>> No.67947325

>>67940730
kek

>> No.67947678

>>67944791
there's no string class in js? well, i guess javascript is not the same as java.

>> No.67947888

>>67946361
They do. He even uses it inside the user defined reverse() function.

>> No.67947996

>>67939919
Because real world performance gains have been minimal if you had a server cpu or HEDT from even seven years ago.

>> No.67948041
File: 51 KB, 469x827, 1c706b9e76e5e7a715903aed9a9e008b.png [View same] [iqdb] [saucenao] [google] [report]
67948041

>>67939919
Um?

>> No.67948064

>>67948041
>using new processor in 2018
lol

>> No.67948074
File: 241 KB, 1280x960, ryzenvegabuild.jpg [View same] [iqdb] [saucenao] [google] [report]
67948074

>>67948064
Hardware is almost a hobby for me.

>> No.67948076

>>67940000
Your post ID has low entropy

>> No.67949033

>>67943662
Ssme bro went from a 8350/7870 to a 4770 / 970. They are worlds apart in performance and temps are not even close.

>> No.67949065

faggot op encryption

>> No.67949256

>>67940283
They should define it with an argv so the customer gets to pick their drink.

>> No.67949276

>>67940000
Fpbp
Also checkd

>> No.67949348

>>67939919
Javascript code looks so disgusting

>> No.67949498

>>67940000
>0000
naice

>> No.67949913

>>67944795
>Let in global scope

>> No.67950561

>>67945707
Kek

>> No.67952449

>>67940283
Why is this? explanation?

>> No.67952557

Woah that perfectly describes me actually. I have a Sandy Bridge laptop that I will probably use for the next couple of years at least, and a dead FX desktop that I really want to fix up but not enough to actually go to newegg and buy a new heatsink, GPU and case.

>> No.67952715

>this thread
turns out hipster faggots are better at programming than /g/

>> No.67952833
File: 650 KB, 982x878, rms.png [View same] [iqdb] [saucenao] [google] [report]
67952833

>good sir I cannot request my fucking drink cause 'your_drink' is undefined and I cannot input shit from that code. Declare a main function which passes 'preference' to barista.request() or you'll have a bar full of angry people claiming drinks.
>also assuming your_drink = "coffee" why the hell would you return me 'coffeeSecret word:encryption' for any drink request I make? I just want a coffee god damn it!

>> No.67953927
File: 202 KB, 962x542, DeepinBildschirmfoto_deepin-terminal_20181007133846.png [View same] [iqdb] [saucenao] [google] [report]
67953927

>>67939919
Fuck you, I'm using arrandale faggot.

>> No.67953992

>>67939919
>you could probably use
I hate the way Americans talk.

>> No.67954017

>>67943992
Clean up your fucking cables, Jesus.

>> No.67954082
File: 1.65 MB, 4000x2248, 2017-08-26-486.jpg [View same] [iqdb] [saucenao] [google] [report]
67954082

>>67954017
>Not having every cable available just in case

>> No.67954165

>>67939919
So this is in what JS devs work

>> No.67954260
File: 599 KB, 1366x768, Screenshot_20181007_190220.png [View same] [iqdb] [saucenao] [google] [report]
67954260

>>67939919

>meanwhile, in a non-shit programming language

>> No.67954585

>>67954260
>globals
>python
>stackoverflow: how to reverse a string in python
Jesus. Embarrassing.

>> No.67954613

>>67954260
ctrl-g

>> No.67955028

>>67948076
entropy is a measure of a distribution

>> No.67956462

>>67939919
I'm using a shitty laptop with an APU from 2012. Literally all I need a computer for is writing C++, writing/compiling LaTeX, and basic internet browsing. I do everything computationally difficult through the massive computers provided by the university. Why the fuck would I buy anything?

>> No.67956537

>>67945668
>using let
you are the faggots

>> No.67957002

I've been running a 2500k since launch. Trying to hold out for Zen2

>> No.67957152
File: 43 KB, 453x604, AAAAAAAAAH.jpg [View same] [iqdb] [saucenao] [google] [report]
67957152

>>67939919

>> No.67957459

>>67939919
>fx
You wish. I've literally been rocking a thuban 1100t BE hexacore for ~7 years up until this month and swapped it, ironically, for another six-core, coffee lake this time. How far we've come brehs...

>> No.67957500
File: 115 KB, 653x726, 1491349230554.jpg [View same] [iqdb] [saucenao] [google] [report]
67957500

>>67957459
>watching video of Thuban 4.2GHz getting 7.60 on cinebench R11.5
>tfw FX-8350 at 4.4 gets the same score
I still like this chip because multithreading and it does that score with a low vcore, but that ipc is crazy bad when all the modules have two cores fully loaded.

>> No.67957506

>>67943946
Obviously they intended for it to return "undefinedSecret Word: encryption"

>> No.67957547

>>67952449
They're passing an underfined variable into the method.

>> No.67957736

>>67954260
set ion rcne ypt
printf '%s%s%s\n' $(printf $2 | rev) $3 $1

>> No.67957873

wish i still had the cpu-z screenshot from muh five-core unlocked 960T

might well have been the only one to get it working

>> No.67957929

>>67940000
I just used a mitm and gave the same password to the barista.

Morons can't even code it so it resists repetition attacks.

>> No.67958215

>>67948074
I don't understand the need for the fan on the ground. Are you making it an intake or output fan? Intake just causes turbulence of the front/rear fans.

>> No.67958272

>>67939919
>js
360 and walk away

>> No.67958400

>>67958272
But rotating 360 would put u in the same direction

>> No.67958437

>>67958400
At this point I can't tell if this is bait or newfag. Not knowing this meme is now a meme.

>> No.67958886

I have never wrote a single bit of code in my life and I figured that out no problem

>> No.67959277

>>67958437
this is the problem with out this shit community functions. its all a secret club everyone's a part of. 4chan isnt a personality, kid.

>> No.67959735

>>67959277
It's only a "secret club" to newfag brainlets who start posting the moment they feel like they have something to say.

>> No.67960137

>>67940767
but strings are arrays. of characters. javascript is such a shittily designed language

>> No.67960420
File: 9 KB, 217x248, 1537753272607.jpg [View same] [iqdb] [saucenao] [google] [report]
67960420

>>67948074
>Dat cable management

>> No.67960485
File: 294 KB, 1720x642, New Free Laptop.jpg [View same] [iqdb] [saucenao] [google] [report]
67960485

>>67939919
>None of you are going to buy anything
Didn't pay for this laptop, am not paying for coffee.

>> No.67960510

>>67939919
Because the stupid drones are going to repeat the same shit they see here. Just like the CoC drama or any meme, they gonna post on reddit or make a shitty youtube rant.

>> No.67960652

Let's see; blow several hundred dollars on building a new pc or keep what I got now which does all I need and is still working fine. All choices should be this hard... Damn fools, instead of blowing your money why don't you save it instead? When you retire from whatever job you got that extra money will come in real handy. Or in case you know, "Shit Happens" you can cover it.

>> No.67960666
File: 682 KB, 1680x1050, 2018-10-07-224059_1680x1050_scrot.png [View same] [iqdb] [saucenao] [google] [report]
67960666

>>67954260
Here's an example that's more in line with OP's example. OOP is so unnecessary and stupid for this. The barista who wrote the sign probably thought they were clever too

>> No.67961453
File: 3.62 MB, 4000x3000, IMG_20181002_161848.jpg [View same] [iqdb] [saucenao] [google] [report]
67961453

My board doesn't even support FX. Recently got a x6 1055t

>> No.67961738

>>67939919
It's almost as if 90% of the faggots here are due for an upgrade

>> No.67961747

>>67944003
phenom IIx4 here>>67944438
based>>67944783
based>>67944976
based

>> No.67961759

>>67952833
fucking hilarious response

>> No.67961768

>>67954082
>>also assuming your_drink = "coffee" why the hell would you return me 'coffeeSecret word:encryption' for any drink request I make? I just want a coffee god damn it!
This actually makes me angry.

>> No.67961790

>>67952833
I thought gentoo was stallman approved?

>> No.67961829

>>67961790
No

>> No.67961849

>>67961829
What is then

>> No.67961865

>>67961849
Gentoo isn't FSF approved because they don't have FSF rhetoric in their mission statement or something simple

>> No.67962882

>>67960137
Strings are immutable in some memelangs
not sure if js strings have a reverse method though since i'm not a faggot

>> No.67964514

>>67960666
yes mistress, please, with extra cream

>> No.67964840
File: 70 KB, 1000x482, spec.png [View same] [iqdb] [saucenao] [google] [report]
67964840

>>67940638
I can see myself using this machine for the next five years.

>> No.67964903

>>67940000
I can't even program, but I saw "secret word" and three sets of three letters also couched in quotations, so to me 8 figured it was an anagram or something. Is programming really that easy or is this some barista's suicide note?

>> No.67964942

>>67964903
programming is incredibly easy

>> No.67964973

>>67939919
x5650 @ 4.0 Ghz here (gen before Sandy bridge but 32nm process, 6 cores + HT)
Runs great with 1060 3gb, even modern games

The only drawback is sleep is fucked due to OC, consumes more power and MB doesn't support things like ddr4, m.2 or w/e, native Intel USB 3, SATA 3, etc.

1k Cinebench score, only around 25% less than a 6 core coffee lake made 8 years later, rofl

>> No.67965104
File: 27 KB, 723x435, 2680v2.png [View same] [iqdb] [saucenao] [google] [report]
67965104

>>67964973
DDR4 prices are still sky high and you can buy 16GB*4 DDR3 1866 ECC memory for cheaper than 16GB*2 DDR4 2666 no heatsink bargain value ram.

E5 2670/2680/2695 V2 10/10/12 core chips with HT and similar chips paired with cheap X79 Huanan motherboards that can take DDR3 or DDR3 ECC and you can stay toe to toe with everything on the market today up to the Ryzen 7 2700.

>> No.67965287
File: 1.23 MB, 3840x2160, Screenshot from 2018-10-09 00-24-39.png [View same] [iqdb] [saucenao] [google] [report]
67965287

>>67939919
>sandy bridge desktops
Please

>> No.67965300

>>67939919
>None of you are going to buy anything
Just recently build 2 PCs with AMD 2600/2400g for my dad's workplace.

>> No.67965410

>>67965287
>1700x
>8gb ram
Full pleb ramlet I see.

>> No.67965433

>>67965410
6 GB is just enough, 8GB is a bonus. Anything past 8GB is either mental illness or being underage.

>> No.67965564

>>67965433
That means you don't even need the 1700x for the shit you're doing.
I'm sitting at 12.7/64GB with my 1700x @ 9% utilization and regularly hit 24~3X gigs running photoshop or encoding video.

>> No.67965605

>>67965564
>running photoshop or encoding video.
I don't do liberal arts. I need multicore performance for occasional VM testing and quicker compilation.

>> No.67967469
File: 19 KB, 1920x1200, dab.png [View same] [iqdb] [saucenao] [google] [report]
67967469

99% of the shit that /g/ posers do all day can be done on this computer.

Prove me wrong(protip: you can't)

>> No.67967493

>>67940283
It's a global, probably initialized elsewhere (which makes me want to kill someone, but still)

>> No.67967499

>>67939919
Yeah maybe because upgrading to anything new means you have to use windows 10 or spend a few hours making windows 7 works right. Also the fact that new intel processors are only 5% faster than haswell.

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
Captcha
Action