React win, Rails win, Lit win for now.
Hope Rails + Lit
win for tomorrow.
BTW:
https://shoelace.style/tutorials/integrating-with-rails
看来只有社区内活跃分子才有机会参加这样的聚会。
Rails is getting more beautiful now. I love it.
This is what I am looking for. I am writing a book with Markdown, and so happily that Writebook support Markdown.
Hello Mark. I am afraid what you said was wrong. Here: code for nested iteration is an example that ERB works well enough in Sinatra. Please describe clearly if I misunderstand you. I am satisfied with ERB.
1 楼我的评论被删除了。有什么问题吗?请删除的管理员回复下。谢谢。
Shenzhen is a wonderful place.
Hope you are still using Ruby during your daily work. I am using Ruby only when doing Leetcode questions, or when I have the power to decide which language to use. Taking Ruby back is the responsibility of us all.
I remember 8 years ago I had a debate with @Rei on ruby-china about gender discrimination. Finally he taught me a lesson. Sometimes we didn't realize that what we have done or thought was wrong. I support @Rei Administrator should do things. That is their privilege. If not @Rei , there will be other administrator standing out to do so.
Rails girl is unstoppable in China. The girls are Rubiest's girls friends or wives.
Still ugly. Far behind Rails. Not even catch up with Rails 3.
Wake up, bosses! This is your solution. Give us the chance to use this attractive technology before you get bankrupt.
I am using Django. Let me tell you how ugly Django template is: https://docs.djangoproject.com/en/4.2/topics/templates/
For example.
{% extends 'layout_basic_table.html' %}
{% block title %}Need Further Translation Texts{% endblock title %}
{% block header_title %}Need Further Translation Texts{% endblock header_title %}
{% block table_content %}
<thead>
<tr>
<th>#</th>
{% for field in fields %}
<th>{{ field }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for item in need_translation_texts %}
<tr>
<td>{{ forloop.counter }}</td>
<td>
<a href="https://api.pagg-prod.com/admin/api/translationdictionary/{{ item.0 }}/change/">
{{ item.0 }}
</a>
</td>
<td>{{ item.1 }}</td>
</tr>
{% endfor %}
</tbody>
{% endblock table_content %}
template
!Template in Django is just for display.
You can never write any Python code in template
!
That means if you want to make the item.1
to be lower-cased, no direct way in template to do it.
You have to prepare the item.1
well in the backend controller code.
So for Ruby developer, you are probably want to write code in views like "#{school.name} #{school.ranking}"
.
This is not allowed in Django template. You have to do it in the Django views.py
(like: Ruby controller), and create variables like school_name
, school_ranking
and use them directly in template.
So Django is awful. Web companies using Django are on the edge of bankrupt.
I was just wondering when you guys have lunch? Since leaving office at 7:30pm would be a little hungry. Having dinner before 7:30pm at the office, which would be somehow a slacking off.
You are a real geek. That works.
I am 40. You are too young. But I suggest you do full-time non-remote work. Because full-time non-remote work provide you more compensation. I don't like remote work.
Good article.
Because they are both bullshit!
Sometimes you want to use Ruby, but there are not good work opportunities in your city. So you have to switch to use Python. For me, I will not accept using Java since it is nasty to code.
@canonpd Are you mainly using Ruby as your coding language?
Nice post.
这一步:add_index :notifications, :order_id, unique: true
,因为是大表,所以会花些时间。
但由于老索引并没有被删除,所以查询效率不受影响。
在add_index :notifications, :order_id, unique: true
完成后,其实是针对同一个 column order_id
同时有两个索引。
原理是这样的吗?
@luolinae86
Dreaded not hate.
Never go there. You may incur loss.
小白打印啊,我家在用。
Great share! Thanks 吕戈。
965 is a good improvement.
I was forced to use Python. But whenever I have the opportunity, I will use Ruby.
Rails really makes everybody happy! From Hello world to IPO!