Selamat Datang di Editor Gutenberg

Contoh Gambar Cover
Of Mountains & Printing Presses

The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of pieces of content—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you’ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.

What you are reading now is a text block, the most basic block of all. The text block has its own controls to be moved freely around the post…

… like this one, which is right aligned.

Headings are separate blocks as well, which helps with the outline and organization of your content.

A Picture is worth a Thousand Words

Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you’ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.

Beautiful landscape
If your theme supports it, you’ll see the “wide” button on the image toolbar. Give it a try.

Try selecting and removing or editing the caption, now you don’t have to be careful about selecting the image or other text by mistake and ruining the presentation.

The Inserter Tool

Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That’s the spirit behind the inserter—the (+) button you’ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.

Go give it a try, you may discover things WordPress can already add into your posts that you didn’t know about. Here’s a short list of what you can currently find there:

  • Text & Headings
  • Images & Videos
  • Galleries
  • Embeds, like YouTube, Tweets, or other WordPress posts.
  • Layout blocks, like Buttons, Hero Images, Separators, etc.
  • And Lists like this one of course 🙂

Visual Editing

A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:

The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

Matt Mullenweg, 2017

The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It’s always easy to add it back.

Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.

You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.

Media Rich

If you combine the new wide and full-wide alignments with galleries, you can create a very media rich layout, very quickly:

Accessibility is important don't forget image alt attribute

Sure, the full-wide image can be pretty big. But sometimes the image is worth it.

The above is a gallery with just two images. It’s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.

Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:

You can build any block you like, static or dynamic, decorative or plain. Here’s a pullquote block:

Code is Poetry

The WordPress community

If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the GitHub repository.

Thanks for testing Gutenberg!


Critical Thinking: Mike’s 10 Ways to Stay Curious

So, these are the golden informations I got from edx course. Of course, I will write it on this blog after I finish it.

#1 Always challenge what you see and hear

This is the hardest step because it is so easy to accept things the way they are. But why is that? For example: if you don’t know how the device you are reading this on displays type and images, go find out…

#2 Focus on What Fascinates You

If you literally question everything you won’t have time to live. So focus on the things that fascinate you. For example: I’m fascinated by design, unusual shapes and the quirks of human nature. Therefore I tend to really dive into these things. It’s also why my Instagram feed tends to have images of a lot of this stuff.

#3 Try Something New

A reasonable starting goal might be to try to learn something new or taste a new food once a week. But once you get into this curiosity thing, aim for one new experience per day. It really stimulates your brain.

#4 Learn How to Ask Good Questions

“Why” and “How” are simple starting questions, but think of questions that go a bit deeper. For example: “What causes the sky to be red in the morning before bad weather arrives?”

#5 Ask People not Google

Yes you can get answers to anything on the web, but what you read there will not stick with you the same way a conversation with a real person will. The in-person query can also lead to unexpected places – something a web search seldom does – or at least in a surprising and interesting way.

#6 Become Perceptually Curious

Instead of just finding intellectual answers to your questions, look for physical experiences. Ever wonder how something is made? Find a way to make it yourself or volunteer to help someone who knows how.

#7 Vanquish Boredom

The act of being bored simply means you’re not paying real attention to the world around you. For example: even waiting in the doctors office is full of opportunity to catch interesting snippets of conversation, hear words you can later research or even to browse a magazine you would otherwise have no other reason to look at. All of this is great fodder for curiosity.

#8 Be Conscientious

That’s right, work hard and stay on task to ensure you get each task done in a way you’d want, to be proud of your work. Some research indicates the conscientious among us are more likely to be curious and more likely to be successful.

#9 Get Some Exercise

The connection between a healthy body and an active mind is well-documented. The difference with curiosity is that during a strenuous walk or time at the gym you can let your mind wander, alight on a topic and give it some deeper thought. Turn it over in your mind while the body is otherwise occupied.

#10 Stay Vigilant

It’s easy to let things slide; let the curiosity flame dim. The danger is that this is a slippery slope and before you know it, you’re drifting through life with a ho-hum attitude. This is deadly for your curiosity and it becomes a self-fulfilling prophesy where you lack the very thing that can get you back on track – curiosity!


Post Terakhir 2017

Mhhhhhhh, ini post terakhir 2017 ya. 2017 bagi gw salah satu tahun terbaik gw selain 2016. Jika tahun 2016 lalu achievement terbesar gw adalah lulus kuliah, tahun ini gw udah bener2 jadi free-man! Iya, bener2 free.

Gw udah mulai lepas dari bayang2 orang tua. Tahun 2017 gw sebisa mungkin nggak tergantung dengan siapa pun.

Okey, berikut ini hal-hal yang gw lakuin di 2017.

  1. No Soda
  2. No Big Burger. Filed! gw makan burger 4x di tahun2017.
  3. No spend money for games more than 5. Gw cuman beli: Zelda, Horizon Zero Down, Mario Kart, Skyrim on Switch

Things to do in 2017:

  1. Getting Project UN done. Filed! gw drop aja project ini, dan mulai project baru.
  2. Getting wet with Datomic
  3. Learn how to marketing (Coursera/EdX)
  4. Learn Arachne with making a project. Filed! sampai saat ini Arachne belum final release!
  5. Learn re-frame and other with making a project, pada akhirnya gw bikin app serius dari re-frame.
  6. Getting Pabelog up and running
  7. Solve Euler problems at least 24, Filed! gw postpone aja ini.
  8. Solve hard level 4clojure problems at least 6, Filed! gw postpone juga ini.
  9. Finish SICP, Filed!
  10. Buy a house, Filed! Postpone jadi 2018

I hope I can do this too in 2017:

  1. Buy a switch
  2. Buy a VR, Filed! Gw bisa aja beli, cuman waktu udah gak bakalan kebeli
  3. Make a new popular blog, Filed! Susah!


Tahun 2018, target besar gw adalah bikin App serius for long term target. Ide appnya udacity like app. Tahun 2018 gw juga mulai pengen serius untuk ngemastering satu bahasa pemrograman.

The Final Architecture of Project UN

Sambil nungguin GoT final, gw bisa update udah sampe mana project UN sekarang.

Hampir satu bulan terakhir ini gw akhirnya nemu arsitektur yang pas buat project ini. Sebelumnya, dari awal tahun 2017 emang ngebingungin. Ganti-ganti stack, teknlogi, tapi selalu gagal karena ngerasa arsitekturnya gak pas.

You know, arsitektur yang bener itu ngaruh buat jangka panjang. Of course, gw selalu pake Clojure, arsitektur pertama yang gw coba Luminus stack, yaa tapi gitu deh, banyak deps aneh dan kode-kode yang buat gw susah untuk debug nya.

Arsitektur kedua gw coba from scaratch ring + reagent + prostgres SQL. It works well until the frontend break. Yup, ketika kerja di bagian frontend gw secara gak sadar nambah terus accidental complexity.

Arsitektur ketiga ring + om next + postgres. It went wrong when I went wire up postgres and om next. Entah kenapa gw ngerasa selalu ada yang salah dengan kode gw. So, gw mutusin untuk ngeberhentiin stack ini.

Arsitektur ke-empat gw akhirnya pake framework untangeld (sekarang jadi fulcro) ini juga keren, karena di untangled ini based on om next lib dan gw gak terlalu musingin reconciler dan parser logic. Sampe akhirnya gw nemu much better server architecture.

So what architecture?!

Jadi, setelah kemaren dapet kesempatan sebentar ngebantuin project temen, yang secara gak sengaja gw liat stack dia cool banget. Mereka pake stack Pedestal + Datomic + Re-Frame + Material UI.

Pedestal over ring itu segalanya, hal-hal rumit yang gw lakuin di ring bisa dilakuin di pedestal dengan mudah banget, routing, middleware, server dll. Apalagi di pedestal gw bisa pake enterprise grade server kayak immutant!

Sayangnya, mereka ngaak pake Om Next dan Figwheel! Figwheel bagi gw tooling cant live without with. Sedangkan Om Next over Re-Frame karena Om Next punya reconciler dan Query yang bisa gantiin REST architecure.

Gw masih inget talk-nya data over api over dsl dari Stuart Halloway. Yang intinya gw baru sadar kalo Pedestal dan Om-next ngeimplementasiin ini.

Btw gw juga bikin template chestnut like but with Pedestal.

Yes, it much like coding with react kalo pake om-next, gak sesimple pake re-frame. Tapi gw yakin kalo apps udah gede Om Next bisa ngebantu di bagian Query dan Networkingnya. Apalagi wiring om-next dan datomic itu kyk PHP with mySQL.

Seneak peek time!

Gimana keren bukan! di atas gw pake om next + material-ui. 😉

Lebaran Pertama

Well, well, well!, lebaran taun ini jadi debut lebaran gw as not being as collage student. Udah ketebak, pressure taun ini bakalan berat banget!.

Apaan?? “Kapan kawin?”

Bagi kebanyakan fresh graduate yang tinggalnya di pinggiran kyk gw, pertanyaan itu bisa jadi horror dan tekanan. 1000x salaman dan saat salaman, kalo gw charge harga per pertanyaan itu 10 rebu, gw bisa beli iPhone 7 deh.

Tambah parahnya, banyak temen seumuran yang sekarang udah mulai tunangan, nikah, punya anak, dan bahkan punya banyak anak!. Apa gak tertekan tuh pas ketemu mereka bawa istri dan anak, sementara gw masih kayak anak kecil!

Dulu, iye dulu. Gw bisa ngeles dengan jawaban “masih kuliah, fokus dulu namatin” Lah sekarang?? ngomong “mau fokus kerja? nyari karrir dulu?”. Well, it not bad excuse sih!

Status gw saat ini, sendiri! happy!, still catching my dream, namatin game yang gw beli taun kemaren dan taun ini yang belum kemaenin, guling-guling di pasir, dan banyak hal-hal tolol sampe serius lain yang pengen gw lakuin as a single person yang gak punya tanggung jawab serius.

Gw masih belum mau mikirin popok bayi gimana, besok makan apa, nidurin bayi pas bangun malem, ngejemur selimut yang kena ompol, dll.

Nah kalo gw udah fokusnya nyari pasangan, ngga deh. Trade-off nya kemahalan. Waktu gw terlalu berharga buat nyari tuan putri sempurna.

Lagi pula, biarpun kelakuan masih kayak anak 15 taun, Gw tau apa yang harus gw lakuan. Yah, gw udah punya masterplan buat idup gw kedepannya gimana. Yang paling deket ini. Yang intinya sih, I don’t mess around with my future and dream. Cukup sekali aja gw tau rasanya gimana sakitnya cita-cita itu gagal.

Eh tapi, kalo gw langsung nemu, gak mikir dua kali deh. I will marry her for sure!

So, What Next?!

Yang pasti ngeberesin project UN dan pengen ngabil nanodegree Udacity juga.

Ngomong-ngomong soal project UN, statusnya sekarang sudah pasti stack-stacknya dan arsitekturnya mau gimana. Mudah2an 2 bulan kedepan sudah bisa demo :).

Taun ini juga gw lagi sibuk ngeberesin target yang gw tulis sebelumnya.