[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>example is in pseudo-code
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 114
Thread images: 20
File: 13934356_gal.jpg (29 KB, 378x462) Image search: [Google]
13934356_gal.jpg
29 KB, 378x462
>example is in pseudo-code
>>
File: grinev.jpg (44 KB, 562x579) Image search: [Google]
grinev.jpg
44 KB, 562x579
>please enter your e-mail address to download
>we'll never spam you, but we will add you to our mailing list
>>
File: 1369446960901.png (20 KB, 256x310) Image search: [Google]
1369446960901.png
20 KB, 256x310
>example is in Java
>example is in anything but C
>>
File: theroux.jpg (141 KB, 576x387) Image search: [Google]
theroux.jpg
141 KB, 576x387
>question on support forum
>only response is "why would you want to do that?"
>>
>>47571174
>pseudocode uses one-based indexing

fucking CLRS algorithms book
>>
autism much
>>
>>47571203
Based lua-desu uses indexes at one
>>
File: arino.jpg (53 KB, 662x560) Image search: [Google]
arino.jpg
53 KB, 662x560
>"here's my attempt, PM me for download links"
>hasn't been online since 2011
>>
>>47571198
>question on support forum
>response: "I don't know. Sorry"
>>
>topic status: RESOLVED

>last comment: thanks for the help, but it's still not working
>>
>amusing /g/ thread
>dies
>>
>Thread Closed
>"Thanks guys, I got it"
>>
>class title is "Object Oriented Design"
>class is about using OO in java
>>
>>47571709
>class title is "Data Structures and Algorithms"
>class is about using data structures and algorithms in c++
>>
File: 1421334984571.png (78 KB, 300x300) Image search: [Google]
1421334984571.png
78 KB, 300x300
>>47571174
>examples in c++
>system("pause")
>>
>example is in anything other than pseudocode
>>
>while true
>fork
>>
File: 1426511297369[1].jpg (10 KB, 251x241) Image search: [Google]
1426511297369[1].jpg
10 KB, 251x241
>pm'd you the solution :)
>thread closed
>>
>example in C
>half the lines are related to allocating/freeing memory
>segfaults anyway when you try to run it
>>
File: 1428604639399.jpg (272 KB, 710x592) Image search: [Google]
1428604639399.jpg
272 KB, 710x592
>hit the blunt too hard
>forget and hit it again
>>
Why would you want anything but pseudo code?
>>
>>47571722
>class title is "Software Systems"
>class involves Bash, C, Perl, Python, CGI
Wow there, this is just my second semester.
>>
File: 1365671625505.jpg (91 KB, 786x581) Image search: [Google]
1365671625505.jpg
91 KB, 786x581
>>47571709
>Intro to programming course
>The pseudo code is Java without the brackets
>>
>>47571198
>4 year old thread on support forum
>your exact problem
>only response is 'oh i figured it out. nvm'
>>
>you must register to use the search feature
>>
>>47571218
>based
>indexes at one
Pick one.
>>
>>47571948
>support forum
>your exact problem is posted
>last reply: 2011

FUCK
>>
>>47571935
>not Egg^2
>>
File: sadcat.jpg (204 KB, 1240x824) Image search: [Google]
sadcat.jpg
204 KB, 1240x824
>thread about your problem'
>edit: nvm fixed it :)
>>
>thread from 2008
>your exact problem
>"no, forget about doing X, instead do Y"
>thread closed
>Y doesn't work
>>
>>47571722
where do you go to school
>>
>>47571174
I hate verilog so god damn much
>>
>your exact problem
>mods link to solution page
>thread closed
>page does not exist
>>
>>47572191
Why are you using verilog and not vhdl?
>>
File: tina_fey_eye_roll.jpg (19 KB, 535x380) Image search: [Google]
tina_fey_eye_roll.jpg
19 KB, 535x380
>amazon reviews
>all just questions about the product
>>
>>47572050
>want to use X
>thread from 2009
>your exact problem
>"no, forget about doing X, instead do Y"
>"It works, thanks"
>Y was depreciated in 2010 and replaced by X
>>
>>47572010
>cube
>^2
Remember not to skip class children, or you'll make yourself look stupid.
>>
>To download a trial, please enter an email and a sales representative will contact you soon
>>
>>47572569
I was going for
Egg^squared
>>
File: vchild_m_voodoo_rk.jpg (18 KB, 170x200) Image search: [Google]
vchild_m_voodoo_rk.jpg
18 KB, 170x200
>>47571198
>go to apple store
>ask one of the geniuses how to open a single terminal or xcode
>their response is "why would you want to do that?"
>>
>>47571799
I hate this shit.
>>
>example is in C
>>
>example is in Prolog
>>
>>47572010

Exponents weren't yet invented in the 1970s.
>>
>ask teacher why java's Math.pow method is slower by 30 fold than a home made recursive power function
>"Why does it matter?"
>>
>example is in brainfuck

am I cool too?
>>
>python book
>example is in python
>>
>example is in binary

what do?
>>
>>47571965
Google 'site:' searches are always better anyway
>>
>example is just a list of instructions of what to carve into my ssd with a magnetized needle
>>
>>47573118

You would NOT believe the amount of shit Java's math.pow does.

Math.pow delegates to StrictMath.pow.

Linky: http://developer.classpath.org/doc/java/lang/StrictMath-source.html

Ctrl+F "pow" and take a look for yourself.
>>
>>47573171
>why
>>
File: 1428366288688.png (85 KB, 500x500) Image search: [Google]
1428366288688.png
85 KB, 500x500
>example uses 3 spaces to indent
>>
File: 1386730052528.jpg (139 KB, 600x796) Image search: [Google]
1386730052528.jpg
139 KB, 600x796
>you know how to program, right?
Well, yeah...
>can you fix my computer?
>>
>>47573237
I fucking know.
>can you help me x is wrong with my mac
>I dont have a mac
>your good with computers though, why cant you do it?
>>
>>47573202

That is why, you fuckerberg. It does about 1,100 different things.

Do you mean "why did they create this abortion?" I don't know.
>>
>>47573237
>do tech support for computers
>"what smartphone should i get?"
>>
>>47573237
>>47573264
>not being flexible and having IT skills (and at the very least some light sysadmin skills)

Are you trying to be employable or nizzaw?
>>
>>47573237
>be studying CompE at uni
>dad calls
>"my computer crashed and it's showing error code 0xFE4350AC, what does this mean"
"I dunno dad, I'll have to look it up..."
>"what do you mean look it up? you should know this, you're a computer engineer!"
>>
>>47571799
>what to use instead of system("clear") and system("pause")?

Yes I'm gay
>>
>>47573284
Sorry I don't magically know how to navigate every arbitrary GUI known to mankind.
>>
File: 1422237527244.jpg (20 KB, 291x301) Image search: [Google]
1422237527244.jpg
20 KB, 291x301
>>47571438
>>47571842
>>47572021
>>47572372
triggered
>>
> example is in x86 assembly

> 0041CEB4

> CALL DWORD PTR SS
>>
>>47573268
why do they have simple methods that should be done in 3 lines max, go down a chain of 400 other methods instead.
>>
>>47573381

It's Java-thonic, baby.
>>
>>47571203
blame pascal
>>
>>47573154
>Please log in to view this thread
>>
>>47573309

git gud.
>>
>>47573300

There's no good way to do it.

cout << string( 100, '\n' );
>>
>>47573171
>http://developer.classpath.org/doc/java/lang/StrictMath-source.html
im cumming
>>
>>47573381
>implying a three line math power function is better than that.

that function is actually covers a lot of cases that your shitty method would probably shit itself on; does yours do non positive powers or fractional powers too?
>>
>>47573300
Anything else that works

system("pause") is windows only
>>
File: x11-logo-not-even-once.jpg (18 KB, 600x600) Image search: [Google]
x11-logo-not-even-once.jpg
18 KB, 600x600
>>47572493
>want to program X
>google how how to program X
>all results are just people telling you it's impossible
>>
>>47573300
send ^l to the terminal window

just use getc() to halt ops.
>>
>>47573446
Give an example when I would need negative powers in a non math analysis application
>>
>>47573479
Xlib makes the winapi enjoyable to use
>>
>>47572493

>using X
>not wayland

ISHYGDDT
>>
>>47573282
>which iphone should I get?
>>
>>47573446
>>47573503
>#rekt
>>
>>47573430
>>47573465
>>47573481

std::getchar, mongoloids
>>
>std::this_thread::sleep_for(std::chrono::duration_cast<std::chrono::milliseconds>(xyz));
>>
>>47573542

My example was for screen clearing, mong.
>>
File: whatredditorsthink.jpg (21 KB, 905x92) Image search: [Google]
whatredditorsthink.jpg
21 KB, 905x92
>>47571174
>sees a release for an amazing new open source product
>two hundred comments shitposting about the language choice
>pic related
>>
>>47573503
literally:
>>47571198
>>
>>47572401
god i hate her
>>
>>47573542
>std::getchar

sorry i don't use Bjarneware
>>
>>47573556
Only you're not asking a question on a support forum, you were trying to contradict me and I corrected you.
>>
>>47573100
kek
>>
>>47573588
>first reply in chain

>>ask teacher why java's Math.pow method is slower by 30 fold than a home made recursive power function
>>"Why does it matter?"

>your shitty reply reworded
>>hurp derp why do I need to have a power function that is mathematically correct? I'm not a math nerd, lel.

fucking hypocrisy is a bitch.
>>
>>47573588
I'm a different guy, but can you really not see an application for multiplying by a negative power? I mean just this week I've had to use it for my sigmoid function in a neural network. You may as well have asked about bitshifting and other bitwise operators.
>>
>>47571971
i choose matlab
>>
>>47573618
What are you talking about? I'm the one who asked the question lol.
>>
>>47573523
>wayland
>not weyland-yutani
>>
File: 3187_windows.jpg (66 KB, 631x1024) Image search: [Google]
3187_windows.jpg
66 KB, 631x1024
>>47573503
>>47573588
>>47573636
Give an example when I would need to be this dense and not be trying to dodge questions

Just correcting you bro
>>
>>47573392
blame natural numbers
>>
>>47571198
>>47573056

I hate this so much. A big problem on Linux forums
>>
>>47573555
This quote makes me mad and I don't even know exactly why
>>
>>47573562
Why?
>>
>>47573682
I kind of like that Universe. It seems cyberpunk but less fixated on grit
>>
>>47574877

As much as most of 4chan is upset about sjw's ranting about "privilege", OSS users have become some of the most overprivileged dicks in existence.

"Hey I spent 400 hours of my own time writing an application that perfectly solves the problem it was designed to solve"

>GTFO. Even though this was written a use case involving an intranet with three users, I'm going to demand it be written in NodeJS for "muh concurrency". And you'd better fucking do it.
>>
>>47573506
That's why you use GTK. Or use Xlib/xcb, it's not actually impossible.
>>
>>47572602
But its a cube
>>
>>47573158
I'm pretty sure you mean into your disk. Don't use needles on your SSD.
>>
>>47573430
I'm pretty sure it's done by printing some terminal escape sequence. You'll have to look up the details.
>>
>>47575311
>I'm pretty sure it's done by printing some terminal escape sequence.

That's not platform agnostic, breh.
>>
File: 1417295682511.gif (78 KB, 253x230) Image search: [Google]
1417295682511.gif
78 KB, 253x230
>How do I do X with language Y without using libraries?
>Just use these 124 simple libraries!
>>
>>47571898
my nigga
>>
>"Hi, I'm learning [New Language] but I'm having a problem with the new syntax, can someone explain [example]
>"Why are you using [New Language]? Don't waste your time, learn [Obscenely obscure language]
>Entire thread dissolves into which language is better.

Seriously I just wanted to know what the fuck was up with the syntax.
>>
File: 4bb.png (40 KB, 200x200) Image search: [Google]
4bb.png
40 KB, 200x200
>>I won't give you an answer because you said this is a homework question
>>
>>47571174
>example is in lisp
>>
>>47573056
>applefags tell me "it has all the benefits of a unix system!"
>applefags dont even know how to open a terminal and get at all the benifets of a unix system
>>
>>47573555
>mfw i have many projects in straight c89 on github
>mfw x86-64 asm is much nicer to read than x86 asm
wonder what these people would think
>>
>>47574952
The people who write the software aren't the privileged ones
the idiots who just take other projects and copy/paste them into their own sources are the entitled ones.
>>
>>47575476
And that's why OS X has brew and mac ports
Thread replies: 114
Thread images: 20

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.