wolfx
wolfx
> Please provide more details here. Like, what are some of the examples of the Chinese text, and how it's supposed to wrap, and how does this compare to the...
设置compress之后会转换成blob,格式为 image/jpeg,后台保存文件的时候重命名到xxx.jpg就可以了
> 除了我们的storge,记得在毕业的时候,遇到了一个刁难的面试官问我,如何用h5的新特性操作一个100mb的存储和读写; > > localstorge仅仅可以存储3-4mb的大小,在特殊的场景下可以更多,cookie就更少了;只有几kb; > 用h5操作数据库也可以,但是面试官说不能操作数据库; > > 所以面试官的答案是:h5可以对本地的文件有777权限,可以任意读写;所以用h5存一个100m的东西到本地,然后再读出来; > > 这个不知道是胡说的还是什么,但是感觉很牵强,所以也算是一个答案吧 浏览器不可能对本地文件有777权限的,不然就乱套了,打开个网页操作磁盘文件,完全无安全性可言。操作大量离线数据可以用浏览器内置的DB,如IndexedDB。
> > 除了我们的storge,记得在毕业的时候,遇到了一个刁难的面试官问我,如何用h5的新特性操作一个100mb的存储和读写; > > localstorge仅仅可以存储3-4mb的大小,在特殊的场景下可以更多,cookie就更少了;只有几kb; > > 用h5操作数据库也可以,但是面试官说不能操作数据库; > > 所以面试官的答案是:h5可以对本地的文件有777权限,可以任意读写;所以用h5存一个100m的东西到本地,然后再读出来; > > 这个不知道是胡说的还是什么,但是感觉很牵强,所以也算是一个答案吧 > > 这个回答就像是我在第53天提问的另外一个问题:#210 > 那个面试官说的h5可以对本地文件操作,估计是遇到了个假的面试官 哈哈确实算假面试官了,H5能读文件,但不能写。如果需要读写文件,需要配合Native插件,如IE的ActiveX。但这个不属于H5。现在的浏览器也基本不支持这种用法了(安全隐患过于严重)。
Also missing Replace, I can't replace keywords in batches.
> Thank you for the report. You wrote "in some games" does that mean that in general it works? Also Windows makes a difference between `Key::Shift`, `Key::LShift` and `Key::RShift`. All...
> Can you please open Notepad and then run this slightly changed example > > ``` > use enigo::{Enigo, Key, KeyboardControllable}; > use std::thread; > use std::time::Duration; > > fn...
And in-game chatting also works, just not when binding skills.
> Maybe the old API to simulate input will work. Could you please try this changed example: > > ``` > use enigo::{Enigo, Key, KeyboardControllable}; > use std::thread; > use...
Same problem, when there is a lot of data, the UI rendering becomes slow. Is there any progress?