边界条件之场
又是被 #wtf logseq 猛创的一天,它们 markdown parser 写的什么狗屎(至少不兼容 CommonMark) 我写: *A **B*** 理应是: <em>A <strong>B</strong></em> 它渲染出来: <em>A B</em>** 我写: *A **B** C* 理应是: <em>A <strong>B</strong> C</em> 它渲染出来: <em>A B</em>* C* 百思不得其解,难道 logseq 用的 parser 读的是 (*A *)(*B*)**…
CommonMark 给的例子:
Logseq 不分段渲染出来 P1,分段渲染出来 P2。
弄对的连一半都没有 💀
***strong emph***
***strong** in emph*
***emph* in strong**
**in strong *emph***
*in emph **strong***
Logseq 不分段渲染出来 P1,分段渲染出来 P2。
弄对的连一半都没有 💀
学习 svelte 遇到的第一个坑: https://github.com/sveltejs/svelte/issues/8220
与开发者对自己输入的 vanilla html 行为预期不一致,因为 svelte 生成的 markup 剥除了默认值……
与开发者对自己输入的 vanilla html 行为预期不一致,因为 svelte 生成的 markup 剥除了默认值……
GitHub
<input type="reset" /> clears form instead of respecting values · Issue #8220 · sveltejs/svelte
Describe the bug Using <input type="reset" /> on a form with hardcoded values clears the form when it shouldn't. Reproduction Repl here: https://svelte.dev/repl/fa8b042ada144734...
跑通了自己的第一个前端学习项目;rust 写业务逻辑,编译到 wasm 暴露接口给 js;sveltekit 写 ui 和交互逻辑,编译到没有服务端的 spa;tauri 包装 sveltekit 编译出来的静态资源,生成桌面端可执行文件。
整个过程中体验最烂的是第一步中尝试给 wasm-pack 挂代理,以及第三步中在傻逼 windows 下编译 tauri ……
svelte 里的一点小坑跟这两个相比什么都不算 😇
整个过程中体验最烂的是第一步中尝试给 wasm-pack 挂代理,以及第三步中在傻逼 windows 下编译 tauri ……
svelte 里的一点小坑跟这两个相比什么都不算 😇
👍1
I am so glad clap is a thing, so I don't have to do this each time I need to define a cli 😨
(Also
(Also
cargo, makes dependency easy (compare to C, and probably everything else too?))YouTube
Forbidden Rust
Previous Episodes: https://www.youtube.com/playlist?list=PLpM-Dvs8t0VZ1tPn-Qqdro3p_5s1HuMyF
Referencs:
- Tsoding - 4at - https://github.com/tsoding/4at
- Tsoding - Command Pattern - https://github.com/tsoding/command-pattern
Support:
- BTC: bc1qj820dme…
Referencs:
- Tsoding - 4at - https://github.com/tsoding/4at
- Tsoding - Command Pattern - https://github.com/tsoding/command-pattern
Support:
- BTC: bc1qj820dme…
前端真____混沌无序,input field 最小宽度不受控制,看了半天 inspector 找是哪条浏览器内置 css 设置了宽度,无果。上 stackoverflow 一查才知道这玩意的最小宽度不在 css 里,在 html <input> tag 的 size attribute 里……
翻出 <input> 的 reference (P1) 看了下确实有写……但没踩过这个坑谁____知道平常用 css 控制的宽度属性到了 input 上默认值要去 html 里改 😡
html+css 那么巨量的文档,加上数不清的历史遗留 can not break 的古怪特性,只能说太 awesome 了 🤮
#trash #web
翻出 <input> 的 reference (P1) 看了下确实有写……但没踩过这个坑谁____知道平常用 css 控制的宽度属性到了 input 上默认值要去 html 里改 😡
html+css 那么巨量的文档,加上数不清的历史遗留 can not break 的古怪特性,只能说太 awesome 了 🤮
#trash #web
边界条件之场
前端真____混沌无序,input field 最小宽度不受控制,看了半天 inspector 找是哪条浏览器内置 css 设置了宽度,无果。上 stackoverflow 一查才知道这玩意的最小宽度不在 css 里,在 html <input> tag 的 size attribute 里…… 翻出 <input> 的 reference (P1) 看了下确实有写……但没踩过这个坑谁____知道平常用 css 控制的宽度属性到了 input 上默认值要去 html 里改 😡 html+css 那么巨量的文档,加上数不清的历史遗留…
而且这个默认 size="20" 在 inspector 里显示的 dom 上是没有的,真的是完全隐蔽,没踩过就不知道
边界条件之场
先是遇到了上面提及的 form reset 问题,尝试解决的过程中遇到了一连串更加让人不安的灵车行为 😨 #svelte #web
If the binding points into a component (i.e. event_type -> component prop -> binding inside component) then flip state also won't work 😕. The outer variable flipped but the variable inside the component won't.
I feel like this is partially due to some js async shenanigan?
I feel like this is partially due to some js async shenanigan?
心灵魔法站
自2023年11月2日起,中国开发者在GitHub上删除或存档翻墙工具 这些话本来是不想说的,但是现在看到有些人真的很离谱。 我在墙内的任何平台,关于翻墙的话题从不参与讨论,一方面是考虑到自身的账号安全,另一方面是这个东西在国内不能明说。我到现在也很难理解,为什么对于一些开源项目,即使作者已经在仓库README中写明了“不要在国内的任何平台传播”依然会有很多人置若罔闻,更有甚者拿那些免费的软件去二次售卖,当个人好吗?既然知道翻墙不合法,那就不要在国内社交平台上摆弄你手机桌面上那“了不起”的国外软件,不装逼不会死。…
clash 相关文档刚开始那几天看了是没跟仓库一起删的,今天想改点配置文件发现文档最终也还是删了 🤔
toymil
「afaik it's a licensing issue, try switching to ltsc non-iot with the kms key, launching it, and changing back」— Windows Sandbox does not work on Windows 10 IoT LTSC WTF???
才知道 IoT LTSC 2021 现在能用沙箱了! #windows
「Sandbox - Initial release (19044.1288) of Iot LTSC didn’t have sandbox but non-Iot version had. Later updates enabled it in Iot as well, so there is no difference anymore.」
-- https://massgrave.dev/windows_ltsc_links.html
「Sandbox - Initial release (19044.1288) of Iot LTSC didn’t have sandbox but non-Iot version had. Later updates enabled it in Iot as well, so there is no difference anymore.」
-- https://massgrave.dev/windows_ltsc_links.html
边界条件之场
才知道 IoT LTSC 2021 现在能用沙箱了! #windows 「Sandbox - Initial release (19044.1288) of Iot LTSC didn’t have sandbox but non-Iot version had. Later updates enabled it in Iot as well, so there is no difference anymore.」 -- https://massgrave.dev/windows_ltsc_links.html
另, MAS (Microsoft Activation Scripts) 的网站上关于 Windows 版本差异与激活方式的信息好丰富啊,不像以前很多信息都散落在 My Digital Life Forums 论坛里。
边界条件之场
android 上怎么用 rsync 啊,adb push/pull 不保留时间戳很烦
“If the universe were really dangling on the precipice of some kind of cataclysmic event like this, then really, we shouldn't be here to talk about it.”
https://www.youtube.com/watch?v=iNiE293-EvE
https://www.youtube.com/watch?v=iNiE293-EvE
YouTube
Could Quark Stars be the Engines of Self-Replicating Strange Matter?
Check out https://NordVPN.com/coolworlds for 4 months for free when you sign up today, thanks to Nord for sponsoring us!
Could there be a bizarre exotic type of star out there made of quarks? What would these things be like and how could they form? Join…
Could there be a bizarre exotic type of star out there made of quarks? What would these things be like and how could they form? Join…
What happened to the Goose?? 😢
“AGI will not be designed by humans. It will be evolved through relentless evolutionary computational processes designed by humans.”
+ https://abstrusegoose.com
+ https://lemmy.world/post/9364159
“AGI will not be designed by humans. It will be evolved through relentless evolutionary computational processes designed by humans.”
+ https://abstrusegoose.com
+ https://lemmy.world/post/9364159
lemmy.world
Anybody know what's up with the abstrusegoose comic? - Lemmy.World
cross-posted from: https://lemmy.ca/post/10994517
[https://lemmy.ca/post/10994517] > Sorry if this isn’t relevant to the
community, but couldn’t think of anywhere better to post. I saw something
curious in my RSS comics feed last night for the Abstruse Goose…
[https://lemmy.ca/post/10994517] > Sorry if this isn’t relevant to the
community, but couldn’t think of anywhere better to post. I saw something
curious in my RSS comics feed last night for the Abstruse Goose…