optimization
Here are 4,901 public repositories matching this topic...
-
Updated
Jan 21, 2022 - JavaScript
-
Updated
Oct 19, 2021 - HTML
-
Updated
Jan 5, 2022
With Closure Compiler v20210106 and the following flags:
--language_in=ECMASCRIPT_NEXT
--compilation_level ADVANCED
--js tmp/wrap.js
This works fine:
/**
* @param {string} str
* @param {string} [prefix=aa]
* @param {string} [suffix=bb]
*/
function wrap1(str, prefix="aa", suffix="bb") {
return prefix + str + suffix;
}
window.wrap1 = wrap-
Updated
Nov 25, 2021 - Python
-
Updated
Sep 2, 2020 - LLVM
-
Updated
May 23, 2021 - Java
-
Updated
Jan 26, 2022 - JavaScript
xe^x atom
Is your feature request related to a problem? Please describe.
We should add an atom for the function xe^x.
Describe the solution you'd like
xe^x is convex when x >= 0 (actually for x >= -2). A simple approach would be to take the (non-DCP) rewrite -entr(exp(x)) and package it as a class so we can define the convexity properties. This works because -entr is increasing for arguments >=
-
Updated
Jun 10, 2021 - HTML
-
Updated
Jan 25, 2022 - C++
-
Updated
Jan 27, 2022 - Shell
-
Updated
Jan 18, 2022 - Python
-
Updated
Jan 21, 2022 - C
in my old project , using webpack 1.x. And I use esbuild-loader replace babel-loader will print error
` building for production.../Users/wanglihui/WebstoreProject/onionfph5/project/node_modules/esbuild-loader/dist/plugin.js:12
compiler.hooks.thisCompilation.tap('esbuild', compilation => {
^
TypeError: Cannot read property 'thisCompilation' of undefined
-
Updated
Jan 27, 2022 - Java
-
Updated
Nov 7, 2021 - Java
-
Updated
Oct 14, 2019 - JavaScript
-
Updated
Jan 19, 2022 - Python
.three {
background-color: var(--my-var, var(--my-background, pink));
--border-color: linear-gradient(to top, var(--secondary-color), var(--used-color, white));
}When jimplifying com.reddit.frontpage-214190.apk(Reddit v. 2.26.2), the following exception is thrown:
Exception in thread "main" Unexpected type null
at soot.jimple.toolkits.typing.integer.ClassHierarchy.typeNode(ClassHierarchy.java:152)
at soot.jimple.toolkits.typing.integer.TypeResolver.typeVariable(TypeResolver.java:121)
at soot.jimple.toolkits.typing.integer.ConstraintCollecto
-
Updated
Jun 23, 2021 - C++
-
Updated
Mar 23, 2018 - JavaScript
-
Updated
Dec 9, 2021 - JavaScript
Need to create /etc/hosts entry for non-wildcard alias domains in site create and site update.
-
Updated
Nov 29, 2021 - TypeScript
-
Updated
Feb 3, 2021
Improve this page
Add a description, image, and links to the optimization topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the optimization topic, visit your repo's landing page and select "manage topics."
According to FastAPI's docs,
response_modelcan accept type annotations that are not pydantic models. However, the code referenced below is checking for the__fields__attribute, which won't be on type annotations such aslist[float], for example.https://github.com/ray-project/ray/blob/e60a5f52eb93c851b186cb78fa1f70d