Java programming is like teenage sex ….
Everyone talks about it all of the time (but they don’t really know what they are talking about);
Everyone claims to be doing it;
Everyone thinks everyone else is doing it;
Those few who are actually doing it:
Are not practicing it safely;
Are doing it poorly, and
Are sure it will be better next time.
I’ve got intrigued by this framework, they say that it would help your build your projects faster especially in the designing aspect. I started created a project for the response unit in our local Red Cross chapter which would hold all of their data for easy organization and documentation. I started this on the first week of April. The first module that I’ve created which is the storing of the information of the volunteers took me almost 4 days to complete provided with a PHP framework. Most of my time fell on the designing aspect and it always give me a migraine then suddenly I bumped up with the Twitter Bootstrap, I read it’s documentation and started creating the project all over again. I just started it 2 days ago and right now I’ve finished two modules (Login and Personnel module).
this is the homepage of the first project and I’m not yet using the Bootstrap (sorry, it’s kinda messy)
and here is the screenshot of the project with the use of Bootstrap
looks so neat isn’t?! :)
I recommend to all designers to use this and also to the developers which is most of the time our weakness is in the designing aspect.
Check their site at http://twitter.github.com/bootstrap/index.html
will start to create project Instagram after I got my Acer laptop from repair. Yes! Instagram, the most famous photo app right now in smartphones and I will create a browser version.
I will use CodeIgniter as my framework and some scripts that I’ve found in the web. Will update soon!
Must finish my other project. hahah
This is a VT220 serial console (circa 1983) set up as a terminal for my Mac Pro (circa 2010), a nerdy dream I’ve had for a long time that I finally made a reality yesterday.
Some quick history: in the early days of office computers, it was rare that you would actually have one on your desk. Instead there might be a central mainframe (running Unix) and everyone would have a terminal that connected to it over a long serial cable or modem connection. One computer, many users.
The terminal has a keyboard and monitor, but it’s not a full computer and worthless without the mainframe. It’s more like a teletype machine, all it can do is display the text sent to it (like a paperless printer) and send text back. It doesn’t have any knowledge of pixels or colors or graphics of any kind.
In modern times we don’t have mainframes in the average office, but Unix is more prevalent than ever. It runs on the servers delivering this page and the iPhone in your pocket. For developers and power users the command line has never gone away, but instead of a dedicated hardware serial console we have Terminal.app, which runs in a convenient window alongside all our other windows. The software is just emulating the old hardware, though; the protocols haven’t changed much in 30 years. The Unix underpinnings of OS X still have all the stuff required to use a real serial terminal.
I’ve always thought those old terminals were beautiful, and I’m not the only one—there’s a Mac app called Cathode that does a convincingly wonderful job simulating vintage terminals, using OpenGL to degrade things into a nice analog haze. But it’s not quite the real thing.
Hardware terminals regularly crop up on eBay for around $100. They’re actually still used in a lot of places (old warehouse systems, supermarkets, banks) and there are still companies that support and refurbish them. Back at Vimeo we discovered one abandoned in a server closet when we moved into the office. Finding one isn’t a problem, the main challenge is stringing together the right adapters to use an ancient serial port with modern USB.
My biggest source of information getting this going was Paul Weinstein’s post about setting up an Apple IIc as a terminal for his Mac mini (which is similar, but not quite the same since the IIc still has to emulate the terminal in software). I got the same USB-to-serial adapter, a Keyspan USA-19HS ($27), which has Mac drivers that I can happily confirm work well with 10.7 Lion. I also needed a null modem cable ($7) and 25-pin female/female gender changer ($4).
At first I used the same method as Paul to get it working, gluing together the terminal and OS with a utility called screen. As Paul notes, this is less than desirable. It still requires you to open a software terminal to make the connection, and you’re still operating through a layer of emulation. On most Unixes you can simply add a line to /etc/ttys and everything just works via getty, but apparently this has been disabled in OS X since 10.5.
Eventually I found this page, which explains the problem and how to fix it. After adding a line in /etc/gettytab to manually set the terminal type to vt220 everything works perfectly! A real hardware terminal directly connected the old fashioned way, with no emulation. Awesome.
If this is something you want to attempt yourself please drop me a line; I learned a lot about how terminals work over the last couple weeks and the final result is quite satisfying, a soft amber glow and one less window on my desktop. It’s also a nice reminder that we didn’t get to where we are overnight, user interfaces and software development have been evolving in an unbroken chain for a long time and some of the old ideas are so solid that they persist 30 years later. Why not use the proper hardware?
The Anatomy of Tumblr
I’m an Information Technology student and I’m so intrigued how Tumblr handles so many request in their servers and I’ve found this article how tumblr works.
- 500 million page views a day
- 15B+ page views month
- ~20 engineers
- Peak rate of ~40k requests per second
- 1+ TB/day into Hadoop cluster
- Many TB/day into MySQL/HBase/Redis/Memcache
- Growing at 30% a month
- ~1000 hardware nodes in production
- Billions of page visits per month per engineer
- Posts are about 50GB a day. Follower list updates are about 2.7TB a day.
- Dashboard runs at a million writes a second, 50K reads a second, and it is growing.
- OS X for development, Linux (CentOS, Scientific) in production
- PHP, Scala, Ruby
- Redis, HBase, MySQL
- Varnish, HA-Proxy, nginx,
- Memcache, Gearman, Kafka, Kestrel, Finagle
- Thrift, HTTP
- Func - a secure, scriptable remote control framework and API
- Git, Capistrano, Puppet, Jenkins
- 500 web servers
- 200 database servers (many of these are part of a spare pool we pulled from for failures)
- 47 pools
- 30 shards
- 30 memcache servers
- 22 redis servers
- 15 varnish servers
- 25 haproxy nodes
- 8 nginx
- 14 job queue servers (kestrel + gearman)