[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

Archived threads in /g/ - Technology - 417. page


File: fizzbuzz.png (6KB, 160x160px) Image search: [Google] [Yandex] [Bing]
fizzbuzz.png
6KB, 160x160px
So, this time you are only allowed to use 2 if blocks with optional else.
Every variable you declare should be final / immutable.
The only exception is the outer loop.

If you wish extra difficulty: no arrays allowed.

Just a reminder:
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".

Syntactic sugar to avoid the restrictions is NOT allowed. Examples of what is not allowed:
import fizzbuzz
test ? if_true : if_false
del varname
93 posts and 9 images submitted.
>>
>>55325748
Easy.
Print ("1")
Print ("2")
Print ("Fizz")
Etc
>>
>>55325811
Wonder if that would take more or less CPU cycles than an algorithm that goes through a loop with nested if statements.
>>
>>55325748
why would you ever need more than 2 ifs ?

File: IMG-20160606-WA0014.jpg (38KB, 550x404px) Image search: [Google] [Yandex] [Bing]
IMG-20160606-WA0014.jpg
38KB, 550x404px
I am just going to buy a amd r9 380
22 posts and 6 images submitted.
>>
>>55325728
ok
>>
>>55325929
Edge
>>
>>55325728
Get a 290. NewEgg has them for like $180.

File: animation.jpg (168KB, 898x592px) Image search: [Google] [Yandex] [Bing]
animation.jpg
168KB, 898x592px
I don't think I've ever seen this discussed on /g/ before, I don't think this more of a /gd/ thing? Either way that board is ded.

Which animation software do you use /g/? I'm looking for a free one. Feel free to discuss animation in general.
7 posts and 3 images submitted.
>>
File: sad owl.jpg (205KB, 580x739px) Image search: [Google] [Yandex] [Bing]
sad owl.jpg
205KB, 580x739px
polite bump.
>>
File: Poly-fox.png (2MB, 1920x1080px) Image search: [Google] [Yandex] [Bing]
Poly-fox.png
2MB, 1920x1080px
>>55325702
Krita 3, though you have to export the frames into another program which is kinda stupid, but it has very unique line quality for an animation program.

Blender is an open-source 3D modeling program. Once finished creating, and rigging a character, you can then animate. I'm 2 weeks in, and so far I can model some low-poly animals Pic related.
>>
>>55327031
that's pretty cool dude. I'm trying to fuck around with some stuff to start. I would like to make a 2D cartoon style animation.

You are using blender or krita or both?

File: apg.png (325KB, 600x600px) Image search: [Google] [Yandex] [Bing]
apg.png
325KB, 600x600px
Previous thread >>55323216

ITT we discuss air purifiers and similar devices.

>inb4 fell for the air purifier meme
14 posts and 5 images submitted.
>>
>falling for the air purifier meme

>>>/out/
>>
Does anyone have one of those older Sharper Image air purifiers with the electrode cartridge and three wires running down the inside?

I had one that was sparking really badly, so I took it apart to clean it and found not only was it full of disgusting sticky shit that hadn't stuck to the electrodes, but at the very bottom of the unit there is a sharp, pointed blade of metal that has no conceivable purpose other than to injure anyone who attempts to disassemble it.
>>
My air conditioner has a HEPA filter built in, why the fuck would I need another one?

File: jeff bezos.jpg (27KB, 580x388px) Image search: [Google] [Yandex] [Bing]
jeff bezos.jpg
27KB, 580x388px
What's it like working for a Amazon, /g/ents?

I'm interviewing there in August for a programming job.. Not sure what to think of them.
24 posts and 1 images submitted.
>>
Pure sex.
>>
>>55325417
does the term slave labor mean anything to you?

Just for an example of how they treat employees:

There are amazon warehouses that are actually MILES long.
You are not allowed to eat except outside, or in the cafeteria, which is near the entrance.

If your lunch starts at 12:00, and you're on the far end of the complex, you need to spend YOUR LUNCH TIME walking out to the cafeteria to eat, then WALK BACK to your station.

There are some people who I know worked in a warehouse, and they'd only get 5-10 minutes for lunch unless they ran from their station to the eating area.

Oh, and you'll be fined by any supervisor that sees you running, as its a health hazard.
>>
>>55325417
Doesn't it have an extremely high turnover of staff because working there is so awful? I remember reading that.

File: APL.jpg (58KB, 493x340px) Image search: [Google] [Yandex] [Bing]
APL.jpg
58KB, 493x340px
If you don't program in APL, FORTH, Coq, Iota, or Idris, you are inefficient and a normie.
20 posts and 1 images submitted.
>>
Suck my Coq, dude.
>>
Good, I'd hate to be autistic.
>>
>>55325430
this desu

WTF /g/ all I want to do is strip the metadata from a video file in OS X. Is that too fucking much to ask?

I know I'm a retard because nothing in pic related is working.
11 posts and 3 images submitted.
>>
Why are you asking a community that hates everything Apple and anything else popular with women?

Try asking at these places instead:

https://discussions.apple.com/community/mac_os

https://www.reddit.com/r/apple

irc://irc.freenode.net/macosx
>>
>>55325326
>OS X
>I know I'm a retard
Found your problem.
>>
ffmpeg -i in.mp4 -map_metadata -1 -map 0 -c copy out.mp4


Very easy with ffmpeg. To do that for every mp4 video in a directory on a Unix-like system (Including OS X of course)

mkdir out

for vid in *.mp4 ; do
ffmpeg -i "$vid" -map_metadata -1 -map 0 -c copy "out/$vid"
done

File: BjarneStroustrup.jpg (41KB, 432x324px) Image search: [Google] [Yandex] [Bing]
BjarneStroustrup.jpg
41KB, 432x324px
Sup
4 posts and 1 images submitted.
>>
can anyone identify the keyboard, monitors or shoes ?
>>
>>55325086
>falling for the dual monitor meme.
>1998
>>
Greetings Mr. Stroustrup.

File: FB_IMG_1467058765964.jpg (22KB, 569x398px) Image search: [Google] [Yandex] [Bing]
FB_IMG_1467058765964.jpg
22KB, 569x398px
Hey /g/ why do i have to write random numbers all over my harddrive multiple times to wipe all the data? Why isnt writing a 1 in every "memoryslot" enough to make everything non restorable?
26 posts and 1 images submitted.
>>
Id really like to know why i have to let my laptop clear itself for over 90 hours and why even that might not be enough
>>
https://en.wikipedia.org/wiki/Data_erasure#Full_disk_overwriting
>>
>>55325079
cat /dev/one > /dev/sda

File: s-l300.jpg (21KB, 300x300px) Image search: [Google] [Yandex] [Bing]
s-l300.jpg
21KB, 300x300px
What can be done with and old Intel Xeon Processor 3.20E GHz, 2M Cache, 64-bit processor?
Should I bother with it?
7 posts and 1 images submitted.
>>
>>55324973
frame it and then after many years show it to your grandchildren.
>>
run it as a seedbox with funtoo
>>
is it in a full system, or by itself?
it's nothing super special, lower tier of its release batch (best of them was the 3.6E) and okay for a file server, web surfer or the like but not something I would spend the money sourcing a board and other components just to run it, with how cheap netburst chips are nowadays and how undesirable they are to collectors there's no real reason to go with anything less than the best of a particular time

if you've got it in a system already though, use it for whatever, it's fine for most shit that XP can run

File: libreboot-t400.jpg (26KB, 300x300px) Image search: [Google] [Yandex] [Bing]
libreboot-t400.jpg
26KB, 300x300px
Once you taste freedom, you can never go back.
Nobody switches back from GNU to Windows.
14 posts and 2 images submitted.
>>
i did switch from gnu to osx tho lol
>>
>>55324950
i've been bouncing back and forth for a like a decade now.

I feel i understand both worlds...

Now all i need to do is somehow getting a free (gratis) Macbook Pro...

also in i'm thinking of messing around with ReactOS next
>>
>>55324950
dear diary,
today OP wasn't a fag.

File: 1421280801317.jpg (23KB, 447x444px) Image search: [Google] [Yandex] [Bing]
1421280801317.jpg
23KB, 447x444px
Why doesn't someone just port DX12 to Windows 7/8?
34 posts and 4 images submitted.
>>
>why doesn't someone spend thousands of hours reverse engineering directx 12 and create patches for the kernel so that a few hundred people who wants to use windows but not windows 10 because of muh botnet will be happy
I don't know, OP. Good question.
>>
Yeah, that's really easy. Not like it's all closed source. Maybe you should try it OP.
>>
>>55324746
i'll do it. you got a download of the source code?

File: 1c5d730167.jpg (33KB, 500x282px) Image search: [Google] [Yandex] [Bing]
1c5d730167.jpg
33KB, 500x282px
Does anybody know a good but cheap braille keyboard?
25 posts and 2 images submitted.
>>
Does this look like a consumer electronics board to you?
>>
>>55324650
Yes, now are you going to answer the question?
>>
>>55324650
Yes

File: paycheck.jpg (26KB, 400x300px) Image search: [Google] [Yandex] [Bing]
paycheck.jpg
26KB, 400x300px
hey /g/ how do you make money online?
11 posts and 1 images submitted.
>>
Fucking bitches for money
>>
>>55324457
are you a hot trap or girl? stream on twitch
>>
>>55324457
>/biz?

File: tux_sh-600x600.png (118KB, 600x600px) Image search: [Google] [Yandex] [Bing]
tux_sh-600x600.png
118KB, 600x600px
is ubuntu 16.04 stable yet? i tried it on release and it had a lot bugs.
26 posts and 1 images submitted.
>>
I can't even run steam
>>
>>55324441
OP here, Since ubuntu is fucked what os do you guys recommend as a replacement?
>>
Xubuntu 16 has it's quirks as well, wait for point release.

Pages: [First page] [Previous page] [408] [409] [410] [411] [412] [413] [414] [415] [416] [417] [418] [419] [420] [421] [422] [423] [424] [425] [426] [Next page] [Last page]
[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.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK