Did you know …? 15 less known webpack features in 15 minutes
Did you know …? 15 less known webpack features in 15 minutes Goals Goals • Overview over less known features • Short • Learn something new • Code Samples Non-Goals • Detailed How-to-Use the features0 码力 | 21 页 | 695.29 KB | 1 年前3electron中文教程
indicator.innerText = ""; 11. } 12. webview.addEventListener("did-start-loading", loadstart); 13. webview.addEventListener("did-stop-loading", loadstop); 14. } 15. webview 标签有下面一些属性 spinner停止spinning,并且加载事件处理. Returns: errorCode Integer errorDescription String validatedURL String 类似 did-finish-load ,在加载失败或取消是触发,例如提出 window.stop() . 返回: isMainFrame Boolean 当一个 frame 完成 加载时触发..getWebContents() DOM 事件 Event: 'load-commit' Event: 'did-finish-load' Event: 'did-fail-load' Event: 'did-frame-finish-load' Event: 'did-start-loading' File 对象 - 66 - 本文档使用 书栈(BookStack.CN) 构建 0 码力 | 203 页 | 2.72 MB | 1 年前3The Rust Programming Language,2nd Edition
Regardless of your operating system, you should see the string Hello, world! print to the terminal. If you did, then congratulations! You’ve officially written a Rust program. That makes you a Rust programmer! everything, and everything is in its place. If you started a project that doesn’t use Cargo, as we did with our project in the hello_world directory, you can convert it to a project that does use Cargo and Result is an enum that has the variants Ok or Err. We’re using a match expression here, like we did with the Ordering result of the cmp method. If parse is able to successfully turn the string into a0 码力 | 617 页 | 1.54 MB | 1 年前3Celery 3.1 Documentation
to an app so that they can read default values from the configuration. The “default app”. Celery did not always work this way, it used to be that there was only a module-based API, and for backwards compatibility following operations: • successful() Return True if all of the subtasks finished successfully (e.g. did not raise an exception). • failed() Return True if any of the subtasks failed. • waiting() Return import with_statement – Every future import must be on its own line, as older Python 2.5 releases did not support import- ing multiple features on the same future import line: # Good from __future__ import0 码力 | 607 页 | 2.27 MB | 1 年前3The TypeScript Handbook
our code spans across different lines of code, and tries to keep comments around. What about if we did introduce a type-checking error? Let's rewrite hello.ts : If we run tsc hello.ts again, notice that that date should be a Date object. We'll also use the toDateString() method on date . What we did was add type annotations on person and date to describe what types of values greet can be called Downleveling One other difference from the above was that our template string was rewritten from to Why did this happen? Template strings are a feature from a version of ECMAScript called ECMAScript 2015 (a0 码力 | 184 页 | 647.99 KB | 1 年前3Celery 3.1 Documentation
to an app so that they can read default values from the configuration. The “default app”. Celery did not always work this way, it used to be that there was only a module- based API, and for backwards following operations: successful() Return True if all of the subtasks finished successfully (e.g. did not raise an exception). failed() Return True if any of the subtasks failed. waiting() Return True __future__ import with_statement Every future import must be on its own line, as older Python 2.5 releases did not support importing multiple features on the same future import line: # Good from __future__ import0 码力 | 887 页 | 1.22 MB | 1 年前3Filtering and sampling streams - CS 591 K1: Data Stream Processing and Analytics Spring 2020
query, timestamp> query stream Example use-case: Web search user behavior study Q: How many queries did users repeat last month? ??? Vasiliki Kalavri | Boston University 2020 Solution #1: uniform sampling integer ri between 0 and 9. We then select an input element i if ri=0. 8 Q: How many queries did users repeat last month? ??? Vasiliki Kalavri | Boston University 2020 Solution #1: uniform sampling an input element i if ri=0. 8 Will this approach provide the right answer? Q: How many queries did users repeat last month? ??? Vasiliki Kalavri | Boston University 2020 Ted has issued n queries in0 码力 | 74 页 | 1.06 MB | 1 年前3TiDB 2.1.7
T1: r(34, [2 1]), append(36, 5), append(34, 4) T2: append(34, 5) T3: r(34, [2 1 5 4]) Because T1 did not see T2’s append of 5 to 34, we know T1 must have executed before T2. We call this an anti- dependency in after 4.5 T1 and T2 appear to observe separate copies of key 7. If there were separate copies, did TiDB merge them to- gether? Some databases, like Cassandra, might pick one copy (say, [1 2 3 7]) and timestamp—but this cannot have happened in TiDB, because we observe both 4 and 7 in a subsequent read. Did TiDB merge the list structures? Doubtful, because we (anticipat- ing this possibility) chose to store0 码力 | 9 页 | 141.29 KB | 5 月前3Finding Your Codebases C++ Roots
people in the same organization/company 15 of 45 CppCon 2023 - Finding Your Codebases C++ RootsWhat did they specialize in? • Workflow wise • Language wise • Design wise 16 of 45 CppCon 2023 - Finding documentation guidelines like? 17 of 45 CppCon 2023 - Finding Your Codebases C++ RootsWhere did they work in the code? • Did they primarily work in one area? • Where will you expect to see their work in the code CppCon 2023 - Finding Your Codebases C++ RootsWhy did they make their choices? • Did they work fast/sloppily? • Did they tend to clean up around them? • How did they tend to architect solutions? 19 of 45 CppCon0 码力 | 45 页 | 1.35 MB | 5 月前3PostgreSQL 9.3.25 Documentation
starts the database server at boot time, you should try to find out how that is done. • Anything you did at all differently from the installation instructions. • The PostgreSQL version. You can run the command or, if that is you, the documentation to make sure that your environment is properly set up. If you did not understand the preceding paragraph then read the next section. 1.2. Architectural Fundamentals but now you want to allow one order to contain possibly many products (which the structure above did not allow). You could use this table structure: CREATE TABLE products ( product_no integer PRIMARY0 码力 | 3002 页 | 7.47 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100