“Somewhere, Something Incredible Is Waiting To Be Known.”

“Somewhere, Something Incredible Is Waiting To Be Known.”

“Somewhere, something incredible is waiting to be known.”

—Carl Sagan

Tags

More Posts from Tres-4b-blog and Others

6 years ago
A New Neutron Star Merger Is Caught On X-ray Camera

A new neutron star merger is caught on X-ray camera

Two stellar remnants smashed together in a galaxy more than 6 billion light-years away, forming a single monster magnetic star.

In October 2017, astronomers announced the first detection of gravitational waves from the merger of two neutron stars earlier that year. The event also rung in the era of multi-messenger astronomy, as more than 70 telescopes observed the event’s afterglow in optical light, X-rays, gamma rays, and more. Now, an X-ray signal dubbed XT2 from a galaxy 6.6 billion light-years away has revealed another neutron star merger, which left behind a single, heavier neutron star with an incredibly powerful magnetic field: a magnetar.

Read more ~ astronomy.com

Image: Chandra observations show the flare-up and subsequent dimming of XT2, which matches predictions for the signal from a pair of merging neutron stars and the birth of a magnetar. Credit: X-ray: NASA/CXC/Uni. of Science and Technology of China/Y. Xue et al; Optical: NASA/STScI


Tags
6 years ago

Advice to a New Programmer

So much advice is heaped upon beginners that it can be hard to know where to start. However, these five practices are the foundation upon which everything else is built. The beginner I have in mind has a basic understanding of how programming works, has written mostly small programs of varying complexity, and is heading off to either a career in the field or committed to excellence for his or own personal projects. There is only one truly foundational activity in programming: writing code. To be good at it, you’re going to have to write a lot of code. That big body of work can be a vehicle for growth, or an exercise in repeatedly practicing a limited set of skills. To avoid the latter, you need to: Read a lot of code. Specifically, read a lot of code by excellent programmers. Not just good programmers, like the guy down the hall, but excellent ones. Due to the huge amount of open source today, this is easy to do. When I was learning Java, I read code from the Tomcat project and from the CI server, Cruise Control. I’ve read lots of good code since. It might be tempting to look for main() and start from there, but you’re likely to spend a lot of time just reading set-up code and command-line parsing. I prefer to scan the filenames to look for some activity that interests me and then dig into those files. It’s not crucial to understand the whole project or the ins and outs of the entire design, you’ll wear yourself out doing this. Read the code. Look at the comments, see what the authors are doing, and how they went about it. Learn your tools thoroughly. I think the greatest loss of programming time is not in debugging or rewriting code, but in the innumerable seconds lost here and there by developers who don’t really know their tools. I am referring to: the IDE, the language, the build system, and the VCS. Of these, the IDE and the language are by far the most important. You should, after a few weeks of practice, know almost every keystroke combo in the IDE, so that you touch the mouse only when it saves a lot of keystrokes. If you know the keystrokes, you know the commands. If you use the mouse only, you know only menus on which you tend to click on the same one or two entries. Knowing the IDE is pure discipline. Knowing large languages, such as Java or C++, takes more than discipline. They’re huge, as are their libraries. Reading is the best approach, in my view. Read code that uses features you don’t know and you’ll look for opportunities to use them. Books (rather than blogs) are another excellent source. Read about features that are on the periphery of what you use currently, and soon you’ll find the periphery expanding. Knowing the VCS and build systems make you a desirable team member — who doesn’t waste time due of ignorance of important operations. Plan your code before you write it. I think this is the most difficult item on this list. In exchange, it probably delivers the most benefit. I’m not thinking of formal design — at your stage, that’s unlikely to be necessary. But you do need to plan out the code in some manner other than carrying it around in your head. The simplest approach is to write up a small document (I frequently use a mind map): What are the requirements for this code? How will you implement it? What do I need to know that I don’t know now? What are the objects I will need or need to create? And write this out. Only then begin to code, you’ll find the code much easier to write, to document, and to get correct. Save your notes — they’re great reference material. Write lots of code and have it reviewed. If your site does not do code reviews, do them yourself. Find the best programmer who’ll give you useful advice in a way that can be heard and understood. Don’t be a pest, but don’t avoid the process because you’re shy, busy, or feel you’re good enough, etc. Code reviews should be part of your programming life. Be creative. Try pair programming with someone more senior than you for an afternoon. The important thing is that you need feedback that you cannot give yourself. Write tests as you code. This advice is perhaps the only controversial item here. It’s not an endorsement of TDD. But it is an endorsement of knowing that your code works in most scenarios it will face. Start with unit tests and exercise new code with edge-case values. For example, does your function work if it is passed a negative value, or the maximum integer size? If not, does it throw an informative exception or just blow up? If not an exception, have you narrowed the range of inputs with asserts? If so, test the asserts. Use the planning you did earlier to write mocks, and then begin testing your new code with objects you still need to write. This will clarify design issues in your current code and the upcoming objects. Save your tests and run them prior to every check-in, so that they can be early warning systems for later code that breaks your current code.  There’s a lot more advice and many wise sayings that can be added to this list. But that’s part of the problem: There’s so much advice available that it’s difficult to know exactly where to start. For that reason, I purposely limit my recommendations to just five points. If you apply them with diligence, you’ll soon find two things: You’ll be able to handle progressively larger and more important tasks, and you’ll look back in embarrassment at code you wrote just a few months ago. Both experiences are sure signs of progress. Good luck!


Tags
6 years ago
Why Do People Do That?

why do people do that?


Tags
6 years ago
Jupiter And Its Fifth Moon, Io. Credit: NASA

Jupiter and its fifth moon, Io. Credit: NASA


Tags
5 years ago
Views Of Earth And Intrepid, Apollo 12, 14 Nov 1969.
Views Of Earth And Intrepid, Apollo 12, 14 Nov 1969.
Views Of Earth And Intrepid, Apollo 12, 14 Nov 1969.

Views of Earth and Intrepid, Apollo 12, 14 Nov 1969.


Tags
6 years ago
Scenes From Apollo 16 Mission To The Moon, April 1971: Pre-landing Pics Of Earthrise, With The Command
Scenes From Apollo 16 Mission To The Moon, April 1971: Pre-landing Pics Of Earthrise, With The Command
Scenes From Apollo 16 Mission To The Moon, April 1971: Pre-landing Pics Of Earthrise, With The Command

Scenes from Apollo 16 mission to the Moon, April 1971: Pre-landing pics of earthrise, with the command module visible just above the lunar horizon to the left of Earth.


Tags
6 years ago

Productive Things That Aren’t Studying

washing the dishes

making your bed

tidying your book/dvd shelf/shelves

cleaning the cupboard/wardrobe

reading

sleeping

writing a blog

planning your month/week/day

replying to messages or asks

responding to emails

sorting through letters/mail

clearing your email inbox

organising stationery

clean your sinks

clean your toilets

pet your pet

sort through old clothes

give to charity

go on a walk

go on a run

clean down any surfaces

work out

meal prep

get rid of empty shampoo bottles from the shower

clean out old food from the cupboard/fridge

empty out your school bag

call your parent

unfriend/unfollow people you no longer interact with

watch a TEDTalk

empty the bins/trash

clean the mirrors in your house

hug your pet

wash some clothes

buy any birthday cards/presents that you need to

reply to any old texts

make a tumblr post on productive things that aren’t studying


Tags
6 years ago

world never says hello back :(


Tags
6 years ago
This Is The Binary Code To The “Hello, World!” Program, A Simple Computer Program Used In Beginner

This is the binary code to the “Hello, World!” program, a simple computer program used in beginner classes to introduce basic programming syntax. The program’s sole function is to print “Hello, World!” on screen: an uplifting, symbolic gesture in which the computer (an emerging technology when the program was first created) greets the world full of hope, and of wonder.


Tags
Loading...
End of content
No more pages to load
  • tupsirock
    tupsirock liked this · 4 years ago
  • mightysmallz
    mightysmallz liked this · 5 years ago
  • tres-4b-blog
    tres-4b-blog reblogged this · 5 years ago
  • tres-4b-blog
    tres-4b-blog liked this · 5 years ago
  • sundazed-blog
    sundazed-blog liked this · 5 years ago
  • nowonlyghosts
    nowonlyghosts reblogged this · 5 years ago
  • supersnarky
    supersnarky reblogged this · 5 years ago
  • hellodepressionmyoldfriend-blog1
    hellodepressionmyoldfriend-blog1 liked this · 8 years ago
  • hellodepressionmyoldfriend-blog1
    hellodepressionmyoldfriend-blog1 reblogged this · 8 years ago
  • antifragiles
    antifragiles liked this · 8 years ago
  • outerbodyinexperience
    outerbodyinexperience reblogged this · 8 years ago
  • rrrick
    rrrick liked this · 8 years ago
  • porksweats
    porksweats liked this · 8 years ago
  • internethanley-blog
    internethanley-blog liked this · 9 years ago
  • silentcountdown
    silentcountdown reblogged this · 9 years ago
  • quirkinessrequired
    quirkinessrequired reblogged this · 9 years ago
  • motorpsycho--nightmare
    motorpsycho--nightmare reblogged this · 9 years ago
  • mandellafirewalker
    mandellafirewalker liked this · 9 years ago
  • potatoloch
    potatoloch reblogged this · 9 years ago
  • tooshortforaclonetrooper
    tooshortforaclonetrooper reblogged this · 9 years ago
  • rafawriter
    rafawriter reblogged this · 9 years ago
  • rafawriter
    rafawriter liked this · 9 years ago
  • astrafera
    astrafera reblogged this · 9 years ago
  • hardestwalk
    hardestwalk liked this · 9 years ago
  • seventytimesseba
    seventytimesseba reblogged this · 9 years ago
  • vilethottie
    vilethottie reblogged this · 9 years ago
  • mrsknopfler
    mrsknopfler reblogged this · 9 years ago
  • caize
    caize reblogged this · 9 years ago
  • solidvessel
    solidvessel reblogged this · 9 years ago
  • benpassikoff
    benpassikoff reblogged this · 9 years ago
  • elderrskelterr
    elderrskelterr reblogged this · 9 years ago
  • yoldabirivar
    yoldabirivar reblogged this · 9 years ago
  • kxt3me
    kxt3me liked this · 9 years ago
  • steppensloth
    steppensloth reblogged this · 9 years ago
  • zombimanos
    zombimanos liked this · 9 years ago
  • fuckitimfabulous
    fuckitimfabulous liked this · 9 years ago
  • themagnetictree
    themagnetictree liked this · 9 years ago
  • fan-maddson
    fan-maddson liked this · 9 years ago
  • thelokidone
    thelokidone reblogged this · 9 years ago

astronomy mixed with nostalgia and future

218 posts

Explore Tumblr Blog
Search Through Tumblr Tags