[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
If I want to program a black hole, how would I do it?
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: 46
Thread images: 5
File: bg_iCFgk9fkdlLhKCDS.jpg (496 KB, 1600x1200) Image search: [Google]
bg_iCFgk9fkdlLhKCDS.jpg
496 KB, 1600x1200
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 (19 KB, 253x296) Image search: [Google]
1426740948044.jpg
19 KB, 253x296
>>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 (24 KB, 710x403) Image search: [Google]
1426648943552.jpg
24 KB, 710x403
>>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 (69 KB, 640x480) Image search: [Google]
1426742346457.jpg
69 KB, 640x480
>>47111544
Why does rm even exist; why not using the black hole method like:

function rm
{
mv "$@" /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 (130 KB, 500x333) Image search: [Google]
1426742006395.jpg
130 KB, 500x333
>>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 replies: 46
Thread images: 5

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.