V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Cbdy  ›  全部回复第 26 页 / 共 140 页
回复总数  2794
1 ... 22  23  24  25  26  27  28  29  30  31 ... 140  
@lookcos alt="",空字符串
<img class="imgBg" alt="背景图片" src="/img/bg.jpg">

这里的 alt 不要加,不然图片没有加载出来的时候会出现文字

或者可以优化成,图片在加载的时候,显示加载动画
2021-06-14 15:55:20 +08:00
回复了 x940727 创建的主题 程序员 彦祖们,写 CRUD 的时候会使用设计模式吗?
CRUD,看一下 Clean Code 我觉得就可以了
2021-06-14 13:56:45 +08:00
回复了 Knuth 创建的主题 分享发现 monyhar 浏览器
2021-06-14 13:27:42 +08:00
回复了 vlinx 创建的主题 Java 使用 Protector4J 2.x 加密和保护 Java 程序
@vlinx 他是用了 Spring Native 吧,Spring 大量依赖了反射,所以把类都打到了 native image 里面,一般没有这个问题
2021-06-14 10:46:37 +08:00
回复了 vlinx 创建的主题 Java 使用 Protector4J 2.x 加密和保护 Java 程序
不过我现在用 graalvm aot 了,直接编译成 native 的二进制
2021-06-13 19:25:34 +08:00
回复了 einQimiaozi 创建的主题 程序员 为什么 mysql 要搞出 having where on 三个关键字?
HAVING and WHERE are often confused by beginners, but they serve different purposes. WHERE is taken into account at an earlier stage of a query execution, filtering the rows read from the tables. If a query contains GROUP BY, data from the tables are grouped and aggregated. After the aggregating operation, HAVING is applied, filtering out the rows that don't match the specified conditions. Therefore, WHERE applies to data read from tables, and HAVING should only apply to aggregated data, which are not known in the initial stage of a query.

To view the present condition formed by the GROUP BY clause, the HAVING clause is used.

---

当然,如果你一定都要“复用”WHERE 这个关键词也可以(万物皆虚,万物皆允,你可以设计一个基于“喵喵喵”关键词的的结构化查询语言),通过上下文来决定的“WHERE”的含义,这个是设计的问题,而我不认为这是一个好的设计
2021-06-13 18:02:39 +08:00
回复了 einQimiaozi 创建的主题 程序员 为什么 mysql 要搞出 having where on 三个关键字?
可以找本书系统学习一下
2021-06-13 17:26:26 +08:00
回复了 zhanbiqiyu 创建的主题 随想 找不到自己每天活着的意义
拼写警察来纠正一下拼写:curd -> CRUD,还是要提高姿势水平
Weex,已经不维护了
2021-06-11 19:51:12 +08:00
回复了 noroot 创建的主题 macOS Linux C++ 后台开发能用 M1 吗?
听说 C++是一门跨平台的语言
用.mjs 后缀名或者给项目的 package.json 加上"type"="module"
2021-06-09 12:55:02 +08:00
回复了 bagel 创建的主题 macOS M1 Mac 装哪个 JDK 好?
我用了几个月 zulu 了,个人开发用,感觉良好
2021-06-08 18:53:57 +08:00
回复了 chonger 创建的主题 macOS 在 mac 上求一个批量去视频片头的软件
如果片头长度是固定的,写个脚本就好了
2021-06-08 12:13:48 +08:00
回复了 madlifer 创建的主题 奇思妙想 为什么长久以来没有一个组队创业的平台在国内出现?
国内很多人忙着 996,不 996 的自己一个人也能做东西
电子书开除书籍?
2021-06-08 09:54:04 +08:00
回复了 hrbwaxdoll 创建的主题 Apple macOS 12 微信疯狂闪退
造这么多轮子还做得这么烂
2021-06-07 08:39:51 +08:00
回复了 810244966 创建的主题 程序员 客户端还是后端
其实我觉得学前端也不错
1 ... 22  23  24  25  26  27  28  29  30  31 ... 140  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   914 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 19:43 · PVG 03:43 · LAX 12:43 · JFK 15:43
Developed with CodeLauncher
♥ Do have faith in what you're doing.