2345加油吧

这几天又安装了19台电脑,看着蛮舒服的,有时候觉得自己真是错过了太多的机会,98年如果不选择当老师,现在应该会过的更好吧.

Advertisements

这世界哪有个安静的地方呢?

突然 很想念在一起走过的一年时光,虽然接触的也不算多,可毕竟是这种单身的生活,未来估计也没啥机会体验了吧。

生活的意义

学校每年花4万购买了一个垃圾的不能再垃圾的网站,我用心十数年建设的学校网站却不值5000块,这年头就是国家经费到处送给权势部门的机会吧。

真不想再坚持下去了,做的再多有什么用呢?普通人永远不会有机会享受到经济发展的红利吧,教育就是TMD扯蛋。

累。

Welcome to the Gutenberg Editor

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
  • 画廊
  • 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 endeavor 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:

代码如诗

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!

👋

今年怎么了

运气真够差的,支教没评到优秀,还开了一次刀,两个女人没有搞到,都是差了最后一步,还为个妓女浪费几千块,加油卡被人坑了几千块,连代理个车险都能遇到傻逼众安保险,被一些装逼的货拖着加班N次,心烦气躁啊。*今天晚上宝宝还因为吃多了撑吐了😭

教师节亮灯,你们是真心的吗?

一年一度的教师节到了,广大老师队伍上街了吗?听说今年有些地方搞了为教师节亮灯的祝福活动,老师们晚上还可以在光线下继续了。

搞笑〜( ̄▽ ̄〜)

不切实提高教师待遇,都是耍流氓,拿着勉强温饱的收入让大家奉献,你(ノ=Д=)ノ┻━┻怎么不来奉献

灵魂没有肉体的依托,那就是鬼而已。

Scratch 2的哪本书比较好?

本来是打算写在zeronet上的,结果想想这些其实是很简单的东西,又是合法的内容,为什么不在自己的网站上公开讨论呢?
我们已经被政策吓的不敢讨论政事了,现在就来讨论一点简单的技术问题吧。
今天发现软件升级到了458版:https://scratch.mit.edu/scratchr2/static/sa/Scratch-458.0.1.exe然后在京东上找了几本相关的书籍,目前在困惑两本中的哪一本比较好:

Scratch 2.0趣味编程指南【下文简称趣味】 http://item.jd.com/12037347.html

Scratch少儿趣味编程2【下文简称少儿】 http://item.jd.com/12064525.html

两本都是国外的译作,《趣味》是Jerry,Lee,Ford,Jr,李福特 著;李强 译 ,《少儿》则是[日] 阿部和广,仓本大资 著;陶旭,项远方 译,两者的商品介绍看上去都不错,《少儿》在豆瓣上的评分也达到了7.8https://book.douban.com/subject/26148626/

不过我从目录中看到《少儿》这本中包括了一部分涉及到与硬件互动的内容,也就是当前很热门的机器人,Scratch2是支持lego wedo的机器人方案的,不过这个部分的内容并不太适合新学习的儿童吧,而且机器人的投资也较大,不是每个家庭都能轻松购买的。《趣味》本中的目录则显示完全是编程设计方面的内容,或许更适合普通学生的阅读与使用。

现在的困惑就是我该买哪本来读一读,毕竟下周可能就要做个小手术了,一周的时间在床上总要找点书读读的好。

今天在实验中发现1.4对摄像头的调用比2.0的要清晰的多,不知道是不是因为2.0使用的是adobe air中转的原因,不知道adobe的发展会不会对2.0产生不利影响呢?或者我应该买一本1.4的书?

再对比了一下,1.4对于机器人模块并没有提供相应的支持,而2.0则可以通过扩展直接支持3种硬件模块:

而且2.0还可以通过编程支持更多的模块,所以2.0应该是面向未来更优秀的选择,如果仅限学校编程兴趣教学的话我倒是觉得1.4更合适一些。不过现在已经找不到1.4的书籍了,京东上可购买的书都是以2.0为范例的,只有《少儿》还有个1.4的版本,是2014年出版的,也附加了2.0的部分内容。