[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 | Click for more| Home]

If I want to program a black hole, how would I do it?

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.

Thread replies: 46
Thread images: 5

File: bg_iCFgk9fkdlLhKCDS.jpg (496KB, 1600x1200px) Image search: [iqdb] [SauceNao] [Google]
bg_iCFgk9fkdlLhKCDS.jpg
496KB, 1600x1200px
If I want to program a black hole,
how would I do it?
>>
zero, divide, fork to self
>>
>>47109096
but i need to copy stuff into /dev/null before dividing, not?
>>
>>47109047
You'll need to know every Mersenne prime that exists. Then you can use that information to decrypt the universe's mysteries.
>>
find / -name '*' -exec cat {}\;>/dev/null
>>
compile a compiler with itself
>>
>>47109146
GCC already does that.
>>
>>47109124
This looks nice, but is /dev/null the best destination? Does singularity live in /dev/null?
>>
>>47109124
>find / -name '*' -exec cat {}\;>/dev/null
Why not:
find / -name '*' -exec mv {}\;>/dev/null
?
>>
Create a class "Blackhole" which inherits class "Star".
>>

physics = true

if (physics = true)
gravity = true

while (gravity = true)
gravity = gravity + 1
>>
>>47109164
but what compiled the first GCC?
>>
>>47109047
Ninth DVD Bibby Farah HNC Sabah HVDC Sagan big safe non task knobby fix such to h Schiff McCurry Assad inch Dutch blown sold adults xeric bobbin overwatch charitably law coal hay Silvia's officio oversee cymbal oxide.
>>
>>47109466
Stucco PSV useful Oct FM oft uucp stucco kHz ego OSI bei Fiji PC rock code Endicott RBC such scudo coho cocobolo zucchini cuckoo Odin Suffolk evil IFC KFC luck IFP muckraker stop Paul McCloud.
>>
File: 1426740948044.jpg (19KB, 253x296px) Image search: [iqdb] [SauceNao] [Google]
1426740948044.jpg
19KB, 253x296px
>>47109496
>>47109466
Hello botfriends.
>>
http://www.wired.com/2014/10/astrophysics-interstellar-black-hole/
>>
>>47109328
That's gonna end up being a white hole after some time.
>>
>>47109521
swiping the keyboard. I am no bot.
>>
dev/null
>>
>>47109047
it can be as simple or complex as you want it, so long as the final program output is null
>>
Pipe the command that pumps F into the console to dev/null
>>
If(this.distanceTo(blackHole) < blackHole.EventHorizon){
this.null;
}
>>
well you need to understand the basics of string theory first
>>
>>47110428
Autism triggered. You need to define a "IsInDist" function so you can save the sqrt operation.
>>
while $(read f); do printf $f > /dev/null; done
>>
you dont do swirl around the black hole faggot like its draining
>>
>>47110442
>>47110463
if I am near enough to enter stuff to the terminal, /dev/null will suck it
problem solved
>>
>>47109120
I totally do man, I bought this book once and it had that stuff in it I'm sure I think.
>>
>>47110435
nah general and special relativity should more than cover it.
>>
>>47109047
 cat /dev/random > /dev/null
>>
>>47109047
take a course on general relativity, program Einstein field equations, set boundary conditions for a black hole.
>>
Start with the logo.
>>
>>47109360
>This compiler compiles itself correctly on the 68020 and did so recently on the vax.
https://gcc.gnu.org/wiki/History
>>
File: 1426648943552.jpg (24KB, 710x403px) Image search: [iqdb] [SauceNao] [Google]
1426648943552.jpg
24KB, 710x403px
>>47110905
>>
>>47109146
its like you are not even using gentoo
what a sad day
>>
>>47109047

#!/bin/bash
for file in $(tree -afi /); do
mv $file /dev/null
done
>>
File: 1426742346457.jpg (69KB, 640x480px) Image search: [iqdb] [SauceNao] [Google]
1426742346457.jpg
69KB, 640x480px
>>47111544
Why does rm even exist; why not using the black hole method like:

function rm
{
mv "[email protected]" /dev/null
}


?

Afaik rm does only unlink the files, writing it into null would REALLY remove it.
>>
>>47113143 (You)
This would not only make rm obsolete, also shred.
>>
>>47113143
because a "move" operation is actually internally a "copy + delete" operation

you're basically just doing a copy operation for no reason at all
>>
>>47113550
I see, makes sense.
>>
>>47113568
yep, the aforementioned "shred" command would have the desired result here (data overwritten, then deleted)
>>
File: 1426742006395.jpg (130KB, 500x333px) Image search: [iqdb] [SauceNao] [Google]
1426742006395.jpg
130KB, 500x333px
>>47113645
Learned something new. 10/10 thread.
>>
>>47109496
>stop Paul McCloud
>>
Why does every level 1 support job require 2-5 years experience? Shouldn't this be the most entry level IT job? Am I supposed to just apply anyway?
>>
>>47114052
being a black hole is not an entry level IT job
>>
>>47114078
WHEN DO I GET MY COMFY LINUX SYSADMIN JOB
I DESERVE IT
REEee
Thread posts: 46
Thread images: 5


[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]
Please support this website by donating Bitcoins to 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
If a post contains copyrighted or illegal content, please click on that post's [Report] button and fill out a post removal request
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 4Archive shows an archive of their content. If you need information for a Poster - contact them.