I'm not able to install emmet on windows atom

I tried to solve it by myself, but no success
When I try to install through the packages in settings of atom I get this issue:
npm http GET https://registry.npmjs.org/emmet
npm http 304 https://registry.npmjs.org/emmet
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/requirejs
npm http 304 https://registry.npmjs.org/lodash
npm ERR! notarget No compatible version found<EMAIL_ADDRESS>npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.5.0-rc.1","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.7.0","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2","0.10.0","1.0.0-rc.1","1.0.0-rc.2","1.0.0-rc.3","1.0.0","1.0.1","1.1.0","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1","2.0.0","2.1.0","2.2.0","2.2.1","2.3.0","2.4.0","2.4.1"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\Program Files (x86)\Atom\resources\app\apm\node_modules\atom-package-manager\bin\node.exe" "c:\Program Files (x86)\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js" "--globalconfig" "c:\Program Files (x86)\Atom\resources\app\apm\node_modules\atom-package-manager.apmrc" "--userconfig" "C:\Users\Deividy.atom.apmrc" "install" "C:\Users\Deividy.atom.node-gyp.atom.apm\emmet\2.2.1\package.tgz" "--target=0.18.0" "--arch=ia32"
npm ERR! cwd C:\Users\Deividy\AppData\Local\Temp\apm-install-dir-114112-4608-xjmvjs
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.4
npm ERR! code ETARGET
npm
and when I run the cmd of the windows it says that apm or npm doesn't are commands
please, could some one help me?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Hello, I am having this issue now on Windows 10.  Was there ever a solution to this?
Thanks!


Increased Istio logo size

Signed-off-by: Parth<EMAIL_ADDRESS>Description
This PR fixes #6446
Notes for Reviewers
New Behavio

ur
Signed commits

[x] Yes, I signed my commits.

@parthn2 while the ss looks good but  aren't the two sizes equal but just different ?

@parthn2 while the ss looks good but aren't the two sizes equal but just different ?

The size didn't need to be changed. The size of the image(logo) is relative to the width of the SVG. So just it was needed to be reduced to increase the size of image.

Hey @parthn2 thanks for the PR, if you look closely you'll notice that the height at the top of the logo is not the same as that at the bottom. Ideally the logo should be equidistant.

I hope it seems better now. Please tell if any changes are still needed


Update Ember to 3.7

Updates us to the latest Ember.js releases to set us up for future improvement

Old
New

Ember
3.3.0
3.7.2

Ember Data
3.2.0
3.7.0

Ember CLI
3.3.0
3.7.1

Fixes

queue local was shadowing the helper in comment-box.hbs and create-post.hbs
utils/getter.js broke when Ember changed their computed-attribute system.  I've aliased it to computed for now, so we can slowly remove it from the codebase while it still functions.
ember-cli-document-title broke when Ember finished the public Router API.  It's unmaintained, so I switched to a maintained fork.
Updated ember-concurrency (and forcibly updated it within `ember-power-select) for the following fixes:

0.8.22
Fixes ember-metal related issues on Ember Canary.
0.8.21
Fixes ES5 getter syntax on Ember Canary (#248)

There are some things I have not included in this, which have come in newer Ember versions:

lint:hbs is extremely spammy, so I haven't enabled it yet.  Looks like a lot of fixes to be made to shush it.
There's some codemods waiting to be run, notably to convert get(this, 'property') to native ES6 getters. I chose not to include this because it changed pretty much every file, so it can be its own PR.

:rocket: Deployed at https://a02b963.production.kitsu.io/


Add Smooth Scroll to the Web Page

Hey Saloni! I  found your website really cool and want to contribute to your repo as a part of Hacktoberfest. I want to add Smooth Scroll and some CSS styling( like designing the scroll bar, etc) to your webpage as it will look good.
Can u please assign this issue to me.
Thank You! :)

Why not @CodesbyUnnati ... Go for it...💯

Hey, just make sure to work on styling single component only like scroll bar as we can have more issues for different components.


'The "path" argument must be of type string. Received type undefined' in Quasar Framework

Good day! I'm trying to play around using serialport and Electron from Quasar Framework for Arduino projects. When I try to run my project, this error occurs instead of running gracefully.
NodeError: The "path" argument must be of type string. Received type undefined
 at assertPath (path.js:39:11)
    at dirname (path.js:1270:5)
    at Function.getRoot (webpack-internal:///../node_modules/bindings/bindings.js:151:13)
    at bindings (webpack-internal:///../node_modules/bindings/bindings.js:60:32)
    at eval (webpack-internal:///../node_modules/@serialport/bindings/lib/linux.js:1:92)
    at<EMAIL_ADDRESS>(http://localhost:8080/0.js:89:1)
    at __webpack_require__ (http://localhost:8080/app.js:768:30)
    at fn (http://localhost:8080/app.js:131:20)
    at eval (webpack-internal:///../node_modules/@serialport/bindings/lib/index.js:14:22)
    at<EMAIL_ADDRESS>(http://localhost:8080/0.js:67:1)
logError @ vue.runtime.esm.js?e832:1737

Here's my code snippet:
[Vue.js]
import SerialPort from 'serialport'

.....

created () {
    const port = new SerialPort('/dev/ttyUSB0', {baudRate: 9600})

    port.on('data', (data) => {
        console.log('Data: ' + data)
    })
}

The error occurs during the line import SerialPort from 'serialport'. I also tried using const SerialPort = require('serialport') but the issue persists. I've already tried researching for about half a day and still can't find any solutions.
Here's my current environment:
[package.json]
 "scripts": {
    "install": "electron-rebuild"
  },
  "dependencies": {
    "serialport": "^7.0.2"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.1",
    "devtron": "1.4.0",
    "electron": "3.0.8",
    "electron-debug": "2.0.0",
    "electron-devtools-installer": "2.2.4",
    "electron-packager": "^12.0.1",
    "electron-rebuild": "^1.8.2",
    "eslint": "^4.18.2",
    "eslint-config-standard": "^11.0.0",
    "eslint-friendly-formatter": "^4.0.1",
    "eslint-loader": "^2.0.0",
    "eslint-plugin-import": "^2.9.0",
    "eslint-plugin-node": "^6.0.1",
    "eslint-plugin-promise": "^3.7.0",
    "eslint-plugin-standard": "^3.0.1",
    "eslint-plugin-vue": "^4.3.0",
    "quasar-cli": "^0.17.0",
    "strip-ansi": "=3.0.1"
  },
  "engines": {
    "node": ">= 8.9.0",
    "npm": ">= 5.6.0",
    "yarn": ">= 1.6.0"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ]

serialport: ^7.0.2
Node.js: v11.2.0
npm: 6.4.1
OS: Kubuntu Linux 18.04
Thank you in advance for the help. :)

It also seems that the node_modules/serialport does not have a build folder.

I tried this: https://github.com/node-serialport/node-serialport/issues/1271#issuecomment-320144084
But still the issue occurs

@snow-drop Do you know if Quasar is doing any sort of compression when building the app? I have seen a similar error when the bindings package is run through uglify.

@HipsterBrown I think it does not do compression stuffs during dev mode, only during production.

I tried cloning https://github.com/johnny-five-io/electron-serialport and it works, seems that there is some magic going on with Quasar. Anyway, I've already give up on this for now. I'll try this again next time if I have some time.

@snow-drop Ok thanks for letting us know. Closing the issue for now.

@HipsterBrown Your welcome. Thanks! :)

Hi guys, I have the same issue in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>but not with 6.2.0 version, I think the problem may be coming from webpack

+1

@lexetam Can you create a new issue with details about what you're trying to accomplish with vue + serialport, plus the error message from webpack?

@mkarliner could you mention again what were the necessary steps to get it working for you?
i have done the extendWebpack...cfg.externals... and including the require('serialport'); in the src/index.template.html file.
in the developer console i can use require('serialport'); all fine..
but the require in the html does not find it..

i created a minimal example at https://github.com/s-light/quasar_serialport_test


Promisify signals.fireSignal

Coverage remained the same at 93.832% when pulling 3c15d1c7f22c750e40f20a8b9dd98d45fc16d005 on promisify_signals_fireSignal into 949a45a8e147b6918c3ad49023c638252fa49fba on master.


Remove interactive shell check when opening browser on start

Browser launch can still be suppressed using BROWSER=none
Closes https://github.com/facebookincubator/create-react-app/issues/1263

Looks good to me. Thanks!

I'm tagging this as 0.9.x so it will take a few weeks for this to get out.

@gaearon is there an ETA on the 0.9.x release? Cheers

@Timer is working on getting it out within a few days, #1430


feat: add decimal to binary converter project

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Edit: Converted to draft to ensure this doesn't get merged before the tests are in. Will open this up for early feedback now that the tests are passing.

Awesome, thank you for your helpful feedback @naomi-lgbt. I'll address all of your review comments ASAP.

I hate to throw a wrench into this, but I've got a few accessibility concerns with this project. I know that the focus of this project is not accessibility but I think we should try to model accessibility best practices whenever possible.
My first concern is that the input is using only placeholder text to give it a label. This is a big thorn in the side of accessibility professionals. Ideally, we would have an actual label element with text describing the purpose of the input and we would not use placeholder text at all. I understand that stylistically it looks more compact using the placeholder text, but I'm hoping we can put up with a slightly "uglier" interface for the sake of accessibility, especially since we teach that inputs need labels in our RWD accessibility course. Another option would be to use a floating label to keep the compact look, but then we are introducing a lot of extra code for a small gain. Additionally, I think the label text should be something like "Enter a decimal number" (or even just "Decimal number") to make it clear that the conversion only goes from decimal to binary, since entering a number like 1001 could be either decimal or binary.
The other issue is that the output should not be in an h2 element. HTML provides an output element for just this type of thing and we should probably use it here. The advantage of using an output element is that screen readers will treat it as a live region and thus will announce the text placed in the output automatically after the Convert button is clicked.
It might not be a bad idea to have an h2 above the output just to make it clear. The text could be something like "Binary result". If you didn't want it to show on the page then we could visually hide it. But for such a simple app I don't think it is 100% necessary to have an h2.

 I learn something new every time. 💜

No worries @bbsmooth, thank you for catching all of that, and for your detailed feedback. It's much better to fix these issues now than later after we release this new certification.
I'll convert this PR back into a draft, and will update the prototype based on your comments in the CurriculumExpansion repo. Once those updates are finished, I'll request a review from you.
Like you mentioned, this is a pretty simple project, so hopefully we can all the accessibility issues over the next few days.

This is neat. And I think it's good to go.
Kris, what's the decision about showing the decimal converted and whether or not to clear the input?
Once I get an answer, I'll gladly approve.

Thanks for taking a look at this, @Ksound22. I'll work on updating the UI to show the original decimal number in a followup PR.


Use unified commit id for all Gradleception builds

We found that Gradleception builds are not reproducible because of
commitId in build-receipt.properties (generated API jars are used
as runtime classpath). Now let's unify it.

@bot-gradle test and merge

OK, I've already triggered a build for you.


[Release-1.28] Enable longer http timeout requests

Proposed Changes
Backport a portion of https://github.com/k3s-io/k3s/pull/9340, the parts not related to Secrets Encryption in 1.29

Enable Timeout modification on a HTTP request

Linked Issues
TBD

User-Facing Change

Further Comments

There is nothing to QA, the code here is not actually currently in use on older branches. Its exists to prevent cherry-pick conflicts in future PRs.


feat: cmd-library-check

Codecov Report
Attention: Patch coverage is 38.36478% with 98 lines in your changes missing coverage. Please review.

Project coverage is 42.11%. Comparing base (b4db945) to head (95cb4f8).
Report is 7 commits behind head on main.

Files
Patch %
Lines

alzlib.go
13.04%
40 Missing :warning:

cmd/alzlibtool/command/check/library.go
0.00%
22 Missing :warning:

cmd/alzlibtool/command/check/check.go
0.00%
6 Missing :warning:

tools/checks/checkAllArchitectures.go
62.50%
3 Missing and 3 partials :warning:

archetype.go
0.00%
5 Missing :warning:

cmd/alzlibtool/command/root.go
0.00%
5 Missing :warning:

tools/errcheck/checkerError.go
69.23%
3 Missing and 1 partial :warning:

tools/checker/checker.go
85.00%
3 Missing :warning:

cmd/alzlibtool/main.go
0.00%
2 Missing :warning:

tools/checks/checkAllDefinitionsAreReferenced.go
88.88%
1 Missing and 1 partial :warning:

... and 3 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   43.20%   42.11%   -1.10%
==========================================
  Files          16       28      +12
  Lines        1178     1401     +223
==========================================
+ Hits          509      590      +81
- Misses        570      707     +137
- Partials       99      104       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


⚠ Samsung has degraded performance

In c62c122, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2291 ms

Resolved: Samsung performance has improved in 6ad312b.


Can't use Nats.java lib for android < android O

Can't use Nats.java lib for android < Android O.
Because the lib using java.time.Duration only support android > Android O

Duration is available in Java 8. What is meant by Android O? maybe you can use the version names identified here: https://en.wikipedia.org/wiki/Android_version_history

@ngoluuduythai Duration is available in Java 8. What is meant by Android O? maybe you can use the version names identified here: https://en.wikipedia.org/wiki/Android_version_history. If you have to have that version, you may have to fork the client and remove the uses of duration.

Thanks for your answer, I just ask does lib support for Android old version lower android O. I will try with the fork solution.


[Feature] When will feature 'auto_scale_lr' be available in master

What's the feature?
https://github.com/open-mmlab/mmdetection/pull/7482
We want to use the new 'auto_scale_lr' feature.
May I ask when this feature will be open?
Any other context?
No response

This feature has been merged into master https://github.com/open-mmlab/mmdetection/blob/94afcdc6aa1e2c849c9d8334ec7730bb52b17922/tools/train.py#L90

@330205812  For example: when you want to run with a provided config, such as detr_r50_8x2_150e_coco.py.
see the 8x2 in config file name, which means the model uses 8 GPUs and 2 samples_per_gpu. Total batch size is 16.
But if there is more or less GPUs in your experiment platform, or the memory of your GPU is limited, i.e., you can not ensure that the total batch size is still 16. The lr need to be scaled then. For example, if total batch size is 8, the lr should mult 0.5.
The --auto-scale-lr can be opened then, to auto scale the lr.


add configuration options to kcp-front-proxy Service to expose it directly

The current options to expose the front proxy to the Internet are OpenShift Route, Ingress or Gateway. This PR adds some configuration that allows to reconfigure the kcp-front-proxy Service to be a load balancer directly.
To account for port changes, this PR also automatically reconfigures the kcp Deployment to make sure the Service port (8443) is respected for external URLs if LoadBalancer is chosen.

/cc @mjudeikis


Allowing Column.DataType to handle DataType and UserDefinedType's

The model that was generated for Column.DataType only allowed the return of the relationship for Microsoft.SqlServer.Dac.Model.DataType.TypeClass but Column.DataType can also be a Microsoft.SqlServer.Dac.Model.UserDefinedType.TypeClass so calling Column.DataType with a user defined data type would cause an exception in the TSqlColumnStoreIndexReference constructor.
I am not sure if this is the correct way to fix it but I added an additional RelationshipOverride property "AdditionalTypeClasses" and an extra attribute to the modelmetadata.xml and allowed the TSqlColumnStoreIndexReference ctor to take an array of types that it supports.
If there is a better fix let me know :)

Hello Ed
Thanks for your submission. I have submitted an alternate fix for the issue here: https://github.com/Microsoft/DACExtensions/commit/515b91716ef7a6ec7b6bbeee1d9cc535bf60d1f2
Have a look and let me know if this addresses your issue.

Lonny


Enable support for fix --edition for 2021.

This adds support for using cargo fix --edition to migrate to 2021.
This also uses the new, currently unstable, --force-warns flag. This was added because there were a significant number of crates that were "allow"ing lints that are required for migrating the edition. This wasn't a problem for 2018, because its lints were new, and all "allow" to start.  For 2021, several older "warn" lints are becoming hard errors.  "allow"ing them would cause the migration to fail.

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+
👍

:pushpin: Commit 5825206acf80e4ef63f2faebba4d40193deaf78e has been approved by alexcrichton

:hourglass: Testing commit 5825206acf80e4ef63f2faebba4d40193deaf78e with merge 7cdf5344ff2147d2dd2a662787b32a058716107f...


Describe the 2014 i2b2 dataset

Describe the 2014 i2b2 dataset here:
https://github.com/nlpsandbox/nlpsandbox-website-synapse/blob/staging/wiki/608223-2014i2b2NLPDeidChallengeDataset.md
Provide a short paragraph describing the history and content of the dataset, number of notes in the training and evaluation dataset (it's public information), include References section with a few references to papers, website, etc.

Hi Thomas, I send a PR for this issue. However I don't have permission to assign a reviewer.

Done in #39


Add WebSocket support

This is the server change for my fix for mailhog/MailHog#58
This PR adds a new endpoint to APIv2, which can be used to listen for new messages. The APIv1 event stream is preserved, so new emails are broadcast through both the event stream and websockets.

thanks @GREsau


Is there a way to disable auto encoding?

Is there a way to disable auto % encoding?

In which component? for which purpose?

so our system uses flags that look like [%code%] in the query string. It resolves those placeholder values before passing this on to the client with additional queries generate by users.  Some users have queries stored with encoded special characters. In the past I had been using .decode to solve this issue. I didn't consider that we sometimes store encoded queries from users. Decode decodes the whole query, and I only need to ensure that the [%code%]/ (internal) parts as well as the user entered queries stay intact. Our system isn't concerned with encoding urls what so ever and I was wondering if there was a way to disable this feature as it seems to do this by default.

Do you have some code showing what you're doing / what you expect to be doing? Possibly with some dummy data?

I'll have to put something together.

Same thing here I am working with solr.
I am constructing part of the url like such
  const path = new URI('')
              .directory('/solr/restaurants')
              .filename('select')
              .addSearch('q=*:*&facet=true&facet.mincount=1&facet.field={!ex=tagForState}state&facet.field={!ex=tagForCity}city&facet.query={!ex=tagForPrice}price:[*%20TO%205}&facet.query={!ex=tagForPrice}price:[5%20TO%2010}&facet.query={!ex=tagForPrice}price:[10%20TO%2020}&facet.query={!ex=tagForPrice}price:[20%20TO%2050}&facet.query={!ex=tagForPrice}price:[50%20TO%20*]&fq={!tag="tagForState"}state:California')
              .addSearch('wt=json');

const uri = new URI('http://<IP_ADDRESS>:8980' + path);
console.log(`formatUrl2: ${uri}`);

I get this result:
http://<IP_ADDRESS>:8980/solr/restaurants/select?q%3D%2A%3A%2A%26facet%3Dtrue%26facet.mincount%3D1%26facet.field%3D%7B%21ex%3DtagForState%7Dstate%26facet.field%3D%7B%21ex%3DtagForCity%7Dcity%26facet.query%3D%7B%21ex%3DtagForPrice%7Dprice%3A%5B%2A%2520TO%25205%7D%26facet.query%3D%7B%21ex%3DtagForPrice%7Dprice%3A%5B5%2520TO%252010%7D%26facet.query%3D%7B%21ex%3DtagForPrice%7Dprice%3A%5B10%2520TO%252020%7D%26facet.query%3D%7B%21ex%3DtagForPrice%7Dprice%3A%5B20%2520TO%252050%7D%26facet.query%3D%7B%21ex%3DtagForPrice%7Dprice%3A%5B50%2520TO%2520%2A%5D%26fq%3D%7B%21tag%3D%22tagForState%22%7Dstate%3ACalifornia&wt%3Djson

but solr is not expecting this value and return an empty response.
The same request not encoded give me a good response
http://<IP_ADDRESS>:8980/solr/restaurants/select?q=*:*&wt=json&facet=true%E2%80%A6:[20%20TO%2050}&facet.query={!ex=tagForPrice}price:[50%20TO%20*]&fq={!tag=%22tagForState%22}state:California

I could do
URI.decode(uri)

but it would have been better if it hadn't been encoded in the first place
adding a .encode(false)

@casertap addQuery() assumes the second argument to be one value. Your example should work fine if you use .search() instead of .addSearch for setting that first big chunk of query data.

That is right, this solved the problem.
  const uri = new uri('')
              .directory('/solr/restaurants')
              .filename('select')
              .addsearch('q=*:*')
              .addsearch('facet=true')
              .addsearch('facet.mincount=1')
              .addsearch('facet.field={!ex=tagforstate}state')
              .addsearch('facet.field={!ex=tagforcity}city')
              .addsearch('facet.query={!ex=tagforprice}price:[*%20to%205}')
              .addsearch('facet.query={!ex=tagforprice}price:[5%20to%2010}')
              .addsearch('facet.query={!ex=tagforprice}price:[10%20to%2020}')
              .addsearch('facet.query={!ex=tagforprice}price:[20%20to%2050}')
              .addsearch('facet.query={!ex=tagforprice}price:[50%20to%20*]')
              .addsearch('fq={!tag="tagforstate"}state:california')
              .addsearch('wt=json');

```

I was just about to start working on this again! 👍

actually I still need to do URI.decode(path) when creating the URI how I describe before but this is fine.


nmap command for checking cluster has wrong parameters (fix included)

The nmap command in https://github.com/fraenki/puppet-galera/blob/master/manifests/init.pp#L586 has wrong parameters; $server_list already contains the ports, so nmap is trying to use my_server.foo:4567 as target (which fails).
Fix is to use $galera_servers instead of $_nodes_tmp in line 582.

Fixed in https://github.com/fraenki/puppet-galera/pull/162.


What is the meaning of * in Type<*> .

Is it a new feature in Flow? Looks like it imply that will resolve later with more detail codes ? (can not find information for * in docs, are there more details about it?like restrict, recommend style ... ).
Maybe should have a separate page in docs for polymorphic type. There are many behaviours changed over time.

"existential types" are (embarrassingly) undocumented on flowtype.org, but here's a great article about it: http://sitr.us/2015/05/31/advanced-features-in-flow.html#existential-types

@mroch Thank you.

This Stack Overflow question asks the same thing, showing the need for this documentation: What is the use of asterisk (*) type in Flow and what is the equivalent of that in TypeScript?
The answer on that page would be a good start for the documentation.
Search keywords: asterisk, star

Hmm, it looks like existential types actually are documented now, on the Utility Types page: https://flow.org/en/docs/types/utilities/#toc-the-existential-type.
However, that section is difficult to find by searching due to its lack of searchable keywords. Searching the “Search docs” field for “*”, “asterisk”, or “star” doesn’t bring up the relevant section, nor does searching Google for “Flow type” with the same terms. Two independent improvements could help with this:

Reword the description of the * feature to include relevant keywords, so that search engines find it
Enhance the “Search docs” field in the Flow docs to understand punctuation

Not sure why this issue has been found. @roryokane 's suggestions do not seem to have been implemented and it has taken searching through this repo's issues to find info about what * does.
It would be great if the doc's search functionality showed info on * for search terms such as 'inference', '', '<>'.

Looks like 39968bcd1f5badccfd4303b2245a88203fa49377 deprecated * types and was released in version 0.72.0.
However, I see the docs still mention using _ when supplying type arguments to callables.

If you only want to specify some of the type arguments, you can use _ to let flow infer a type for you:
//@flow
class GenericClass<T, U, V>{}
const c = new GenericClass<_, number, _>()

Is _ not deprecated? Does that replace *? Or are those two different things?


Ensure we don't 'eat' network errors

This is very much a sticking plaster. A more extensive fix was resulting
in errors which were previously getting 'caught' instead failing
silently.
Rather than change the behaviour, I've instead ensured that the original
error propagates outwards. This won't actually fix the intermitted
failing cypress test, but should ensure we get a more useful error.
It also improves the network error messages users may see in reality.
Closes #
Changes proposed in this pull request:

...

Good. It would obviously be better to use responseHelper but that would take a while to change and I haven't got time and you're leaving! Maybe it would be worth adding a comment to this to mark it as deprecated wrt to responseHelper?

There already is one at the top of the file


MSID: 93284 Version: 1 DOI: 2<IP_ADDRESS>7873

"msas": "Evolutionary Biology"
"msid": "93284"
"preprintDoi": "10.1101/2<IP_ADDRESS>7873"
"Reviewed Preprint posted": "2023-12-01"
"Sent for peer review": "2023-10-09"
"Posted to bioRxiv": "2023-10-13" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>7873v2/")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=93284)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/93284/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>7873)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[x] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/93284/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/93284)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/93284

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/93284

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/93284/v1/93284-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/93284)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Ref 16 missing citation details

Should be fixed now @rkcook312


added support for files in marker-url using 'file://' scheme

Supports both absolute paths (with file:///path/to/file.png) and paths relative to the current working directory (with file://path/to/file.png)
I added a test for loading relative files, but couldn't think of a good / reliable way to test with absolute paths without assuming too much about the particular os (like assuming that /tmp exists)

also, this includes the fixes for marker-color + marker-url in #20


Update to Typings

I've tried this ~2 months ago and didn't really get anywhere. Added the "help wanted" tag if anyone wants to take a look at it. Typings has updated since then, and it may work better with react now.
https://github.com/typings/typings

Resolved in dd12bee


bug: Vertical sub menu not showing in the drawer component

What version of daisyUI are you using?
v2.50.1
Describe your issue
please help, the sub menu in the drawer side is not showing correctly (need to horizontal scroll the menu)
here is the twplay link : https://play.tailwindcss.com/l6NmENIIji
What browsers are you seeing the problem on?
Chrome, Firefox
Reproduction URL (optional)
https://play.tailwindcss.com/l6NmENIIji

Thanks, but the problem still occur in drawer-mobile class
new twplay link for drawer-mobile: https://play.tailwindcss.com/LWvbi0JFIv?layout=horizontal


Wpf UI redesign gizmohd

THis is about 75% there I would figure... There are still some pieces that dont work just yet... namely the Authentication....  but that should be relatively simple to get working... I just ran out of time.. and after working on it all night..  :)

I didn't say work on it all night!!!! Thank you so much for helping out!!! I am speaking at .NET Conf today about PresenceLight, I will give you a name drop :)

Sounds good.. ;)
On Thu, Feb 25, 2021 at 12:37 PM Isaac Levin<EMAIL_ADDRESS>wrote:

I didn't say work on it all night!!!! Thank you so much for helping out!!!
I am speaking at .NET Conf today about PresenceLight, I will give you a
name drop :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/isaacrlevin/presencelight/pull/285#issuecomment-786077571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWIDO3VWGSDZQFNUS7Q73TA2DGPANCNFSM4YGOYXUQ
.

I just took your changes and added some UI fixes, so be sure to get a new PR when ready. It looks like there is an issue with Mediator and the SetColorCommand not being registered

I'll take a look at that this evening
On Fri, Feb 26, 2021 at 1:15 AM Isaac Levin<EMAIL_ADDRESS>wrote:

I just took your changes and added some UI fixes, so be sure to get a new
PR when ready. It looks like there is an issue with Mediator and the
SetColorCommand not being registered
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/isaacrlevin/presencelight/pull/285#issuecomment-786437767,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWIDL7EEPNEZLPWW5UAVTTA44AHANCNFSM4YGOYXUQ
.

I figured out that issue, but there seems to be a more sinister issue with settings savings. We might need to have a service at the Window level that gets updated and accessed. You can test by updating the Hue page and saving, and going to settings, update and save, THAN go back to Hue, and some settings aren't sticking.


Use openAiApi but custom request URL

I'm using a company-specific proxy to interact with OpenAI. Our proxy requires a different URL structure for sending queries, specifically http://gpt-proxy.xx.com/gateway/azure/chat/completions
I can customize the base URL using the spring.ai.openai.base-url configuration, but the OpenAiApi seems to always append /v1/chat/completions to the base URL. This doesn't work with our required URL structure.
Could we have a new configuration property that allows for customization of this appended URI? This way, we could configure our application like this:
spring.ai.openai.base-url=http://gpt-proxy.xx.com/

spring.ai.openai.completions-uri=gateway/azure/chat/completions

This change would make the OpenAiApi more flexible for users with unique URL requirements.

I think the reason why "/v1/chat/completions" is automatically added is because the chatCompletionEntity,chatCompletionStream method in OpenAiApi.java automatically added uri as /v1/chat/completions. I think it would be possible to overload the functions to receive additional uri. (ex:chatCompletionEntity(uri, ChatCompletionRequest)))
And I'd like to ask the maintainers if this idea is a good way or if it's okay for me to solve it.

Additionally, I think the modification for base-url can be done by overloading the generator for OpenAiConnectionProperties.

+1 for this issue, it also prevents Spring AI being used with (e.g.) CloudFlare AI Gateways (which would require the v1 to not be statically appended to the base URL).

+1 for the issue, encojnter the same problemwith company specific URL suffixes.  Custom uri in app properties would solve the issue. Has anyone managed to overload the function until then?

Spring AI 1.0.0-M2 introduced the spring.ai.openai.chat.completions-path property to specify a custom path (by default, it's set to /v1/chat/completions). Would that help in your situations?


Avoid malloc allocations in the runtime, part 2

This is a followup on https://github.com/apple/swift/pull/23131.
Removes even more memory allocations in the runtime. The most significant changes are:

making the old remangler allocation-free
avoid memory allocations in checkTransitiveCompleteness

See the commit messages for details.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test macOS

Build failed
Swift Test OS X Platform
Git Sha - d096fdaded2b33f776641c4d01a9171466da845f

There are a lot of unnecessary changes in this patch — renaming Out to Buffer, moving methods around in the demangler — that make it harder to review.  If you felt these were valuable (and I'm not trying to argue they weren't), you could've made them in a separate NFC PR.

That said, LGTM, thanks.


Intrusion detection interferes with port forwarding

While port forwarning and intrusion detection both active on my Opnsense, port forwarding misbehaves.
Packet retransmission loops, hanging connections.
See issues described in #1410
As soon as I disable Intrusion detection, port forwarding works as expected.
I do have v17.1.4 multiwan HA setup with CARP and LAGG interfaces...

So WAN1 and WAN2 are not real physical interfaces but LAG interfaces in failover mode.
Could those LAG interfaces be the issue?

@tkald does this still happen on 17.7?

I haven't upgraded to 17.7 yet.
I'll report back when I'm on the latest release...

@fichtner Yes, this issue still present in version 17.7.1

Thanks for testing. If it's really aborts in the IDS can you try turning off IPS mode just for confirmation?

When IDS is ON and IPS mode is turned OFF, it seems to work fine.

@tkald I have heard no other case like this until now. There also was a port forward fix for shared forwarding in 17.7.8 that was happening with multi-wan only. is this still relevant or fixed?
https://github.com/opnsense/changelog/blob/0ac8a37092bf5436323136fa02051e6298f7799a/doc/17.7/17.7.8#L55

Just checked, it's still an issue with version  17.7.10.
Shared forwarding is disabled on my setup.

Hmm, I'm totally unsure how we can inspect this further. ;(

Seems to me that IPS mode breaks things, as when it's off (and IDS is on), port forwarding works as expected.
I do have VLAN Hardware Filtering enabled though under interfaces: settings. I'll test it with disabled state in a minute...

Can you check /var/log/suricata.log for its statistics? If all we're seeing is dropped packages or reordering I'm simply not sure how "IPS" can be fixed from our perspective. It looks like an issue in the FreeBSD stack if Suricata does not misplace packets itself. Statistics counters from your interfaces where IPS runs helps too. How many interfaces do you use Suricata on anyway? Is it internal or external?

There's not a single dropped packet in suricata.log
No In/out errors or collissions on WAN1 and WAN2 interfaces.
There are blocked packets on Interfaces: Overview page but I assume those come from firewall?
I'll try testing LAN interface after christmas...

Closing this in the hope it’s not relevant anymore. If not please ping.


alrosbridge_bin does not stops on C-c

after pressing C-c, I had message as following:
^C[I] 5984 qi.Application: Sending the stop command...
[W] 5868 qitype.signal: Exception caught from signal subscriber: Call argument number 0 conversion failure from LogMessage to LogMessage. Function signature: (LogMessage).
[W] 5868 qitype.signal: Exception caught from signal subscriber: Call argument number 0 conversion failure from LogMessage to LogMessage. Function signature: (LogMessage).
[W] 5867 qitype.signal: Exception caught from signal subscriber: Call argument number 0 conversion failure from LogMessage to LogMessage. Function signature: (LogMessage).
[W] 5868 qitype.signal: Exception caught from signal subscriber: Call argument number 0 conversion failure from LogMessage to LogMessage. Function signature: (LogMessage).
[W] 5866 qitype.signal: Exception caught from signal subscriber: Call argument number 0 conversion failure from LogMessage to LogMessage. Function signature: (LogMessage).

Can you reproduce this all times? How do you launch the bridge?
I am not sure if this might not be an naoqi related issue.
For me C-c shuts down nicely.
^C[I] 1044 qi.Application: Sending the stop command...
Audio Extractor: Stop
Unsubscribe camera handle front_camera_0
ALRosBridge is shutting down..

Can you reproduce this all times? How do you launch the bridge?
I am not sure if this might not be an naoqi related issue.

yes, and i ran like this
./devel/lib/naoqi_rosbridge/alrosbridge_bin
--qi-url=tcp://xxx.xx.xx.xxx.:9559 xxx.xxx.xxx.xxx.
I thought both qi and ros has signal handler and could not catch C-c well,
but if this is working on your side, may be something wrong on my side...
For me C-c shuts down nicely.

^C[I] 1044 qi.Application: Sending the stop command...
Audio Extractor: Stop
Unsubscribe camera handle front_camera_0
ALRosBridge is shutting down..
—
Reply to this email directly or view it on GitHub
https://github.com/ros-naoqi/alrosbridge/issues/23#issuecomment-120304863
.

That is right, both have signal handlers. For this case, we disabled the ROS sigint for letting qi trigger the shutdown process.
https://github.com/ros-naoqi/alrosbridge/blob/master/src/ros_env.hpp#L84

does this still occur with the latest updates?

Thanks this is fixed now.


Can't use a class's type as an extends

Context
I noticed that the flow-typed project has a module definition for express which includes a naked top-level import of { Server } from 'http' which AIUI is problematic. I figured I'd pitch in and try to pull the import into the declare module block, now that Flow supports that (as of v0.37). Doing this means pulling in some top-level declare classes as well, because those are where the import is used. The result is something like:
declare module `express` {
  declare class $Application {
    ...
  }
  ...

  declare module.exports: {
    (): express$Application, // If you try to call like a function, it will use this signature
    static: serveStatic, // `static` property on the function
    Router: typeof express$Router, // `Router` property on the function
  };
}

whereas originally there were global declarations along the lines of:
declare class express$Application extends express$Router mixins events$EventEmitter {
  ...
}

Handy reference: https://github.com/flowtype/flow-typed/tree/master/definitions/npm/express_v4.x.x
Problem
The status quo declaration of express supports extending its declared classes by virtue of the fact that those classes are declared in the global scope (with a prefix), such as the following snippet from the flow-typed test for the module:
declare class test_express$CustomApplication extends express$Application {
  constructor(expressConstructor: () => express$Application): this;
  ...
}

But once express$Application becomes $Application and is moved into the declare module block, there doesn't seem to be a way to refer to it such that it can be named as a class to extend.
Because it's not exported as a value, saying import { $Application } from 'express' causes an error along the lines of:
  2: import { $Application } from 'express';
              ^^^^^^^^^^^^ Named import from module `express`. This module has no named export called `$Application`.

But it's also not exported as a type, so saying import type { $Application } from 'express' causes  pretty much the same error.
It looks like I can get the type to be exported by adding something like this to the module declaration: declare type $ApplicationType = $Application. If I do this, then I can import the type, but I can't actually use it in an extends clause in a class declaration:
  4: declare class Foo extends $ApplicationType { }
                               ^^^^^^^^^^^^^^^^ $ApplicationType. type referenced from value position
  2: import type { $ApplicationType } from 'express';
                   ^^^^^^^^^^^^^^^^ type $ApplicationType

Transcript
I have a branch of flow-typed with a new version of express as outlined above, at https://github.com/danfuzz/flow-typed/tree/express-on-v37. In this version (as of this writing), I have declare class $ApplicationClass ... in the module definition, which I try to import as a value in the tests.
When I run the flow-typed tests over it, here's the errors I get (with some duplication elided):
ERROR: express_v4.x.x/flow_v0.37.x-
 * express_v4.x.x/flow_v0.37.x- (flow-v0.37.1): Unexpected Flow errors(2):
   1-test_overrideUseMethodClassExtension.js:2
     2: import express, { $ApplicationClass, $RequestClass, $ResponseClass, Router } from 'express'
                          ^^^^^^^^^^^^^^^^^ Named import from module `express`. This module has no named export called `$ApplicationClass`.

   1-test_overrideUseMethodClassExtension.js:2
     2: import express, { $ApplicationClass, $RequestClass, $ResponseClass, Router } from 'express'
                                             ^^^^^^^^^^^^^ Named import from module `express`. This module has no named export called `$RequestClass`.

   1-test_overrideUseMethodClassExtension.js:2
     2: import express, { $ApplicationClass, $RequestClass, $ResponseClass, Router } from 'express'
                                                            ^^^^^^^^^^^^^^ Named import from module `express`. This module has no named export called `$ResponseClass`.

   1-test_overrideUseMethodClassExtension.js:57
    57:   // $ExpectError
          ^^^^^^^^^^^^^^^ Error suppressing comment. Unused suppression

   1-test_overrideUseMethodClassExtension.js:59
    59:   // $ExpectError
          ^^^^^^^^^^^^^^^ Error suppressing comment. Unused suppression

   1-test_overrideUseMethodClassExtension.js:63
    63: // $ExpectError
        ^^^^^^^^^^^^^^^ Error suppressing comment. Unused suppression

   Found 6 errors

   null

Related issue: https://github.com/flowtype/flow-typed/pull/545


Some feedback on the Org parsing

Hello,
This is a bit of a drive-by issue as I'm not really a neovim user but I thought I'd check out the tree-sitter parsing since I think it looks cool. I've only had a little look, but a few rough spots have become apparent in the three files I checked out.
System setup

Linux, OpenSUSE Tumbleweed
neovim version v0.5.1
orgmode.nvim commit c30b645315e37e77708a0bdfaaa9f05b28530099
tree sitter parser commit https://github.com/milisims/tree-sitter-org/commit/39a377f5072ee9f79884e227dc49d42c2eba67d8
nvim config http://ix.io/3FM3 (basically bach's defaults.nvim + recommended setup from readme + conceal)

config.org
This is the first file I looked at, it's my Emacs config file, and it's massive.
Experience
File took a few seconds to open, then I got hit with
Error detected while processing CursorHold Autocommands for "*.org":
E5108: Error executing lua ...ack/packer/start/orgmode.nvim/lua/orgmode/utils/init.lua:297: too many results to unpack

The header keywords are all grey and underlined, and the rest of the document is red and underlined.

Thesis.org (file available on request)
This is the second Org file I tried, it's a ~60 page Thesis I wrote this year. A fair bit is going on, but it's smaller and less complicated than config.org.
Experience
Upon opening the file I immediately see the warning gutentags: ctags job failed, returned: 1.
While there's no error being blasted in my face like with config.org, unfortunately, the results don't look great here either.
All of the header keywords are underlined grey, except for the commented out subtitle which is red for some reason.
The first header, * LaTeX setup :ignore: is also red for some reason.
A few lines later we have the first source code block, and from then on the rest of the document is underlined red except for headings.

2021-04-26-Welcome.org
This is the first file that wasn't mostly underlined red text! 🎉 It's a fairly short and simple file, the first blog post I published.
Experience
Links
I notice that concel can cause some funny visual results with links

For reference, this is how that looks in Emacs,

Quite a few links also seem to be incorrectly parsed, such as

I tried changing the link target to see what was happening and this threw another error
Error detected while processing TextChangedI Autocommands for "*"
E5108: Error while executing lua ....e/pack/packer/start/cmp_luasnip/lua/cmp_luasnip/init.lua:65: attempted to call field 'get_snippet_filetypes' (a nil value)

Ignoring this and trying a few different link targets, it becomes apparent that this issue occurs when the link target spreads over multiple lines.
Inline source blocks
These don't seem to be handled well at the moment.

Meanwhile in Emacs,

It's worth noting that even if src_*{} constructs weren't special, this still shouldn't be handled as an underline. Say I replace src with hey in the Org file. This is what I then see:

Final comments
There are a lot of elements that aren't parsed at all, but I thought it would be best to ignore those for now while there prominent issues with the current parsing.
Lastly, apologies if this isn't as helpful as it could be. As mentioned at the start, I am not at all familiar with neovim (or vim for that matter) and so have just tried to highlight the roughest spots I've noticed. All in all I think it's fantastic to see a genuine effort being made with using tree-sitter based parsing for Org and wish you all the best going forwards. If there's anything I can do to help with a next to no neovim knowledge but a good knowledge of Org and some big/complicated files I'd be happy to assist where I can 🙂.

Hi,
thanks for the detailed report. I'm a bit sorry that you didn't do this earlier, while tree-sitter support was not on the master branch. It apparently has a lot of issues. Now when I see this, it seems that I maybe introduced tree-sitter support too early. I'll give a short explanation for each section, since it's caused by different things:

config.org

This is a big file, but I tested with up to 30k lines and didn't had these issues. My test didn't include big "content" chunks, just bunch of headlines. This is failing on a place where tree sitter parses node text for some purposes. This should be fixable, and it is very valuable feedback!

Thesis.org (file available on request)

Underline issue comes from bad markup parsing, which I'm hoping it will be solved in the tree-sitter parser at some point. Currently tree-sitter has some limitations for it, and I'm using the Neovim one, which is also not too smart. I would appreciate if you could send me this file via email so I can look into it.
Error that you got is not from the orgmode, it's from the vim-gutentags plugin which generates ctags file. I'm not sure why it errors out here though.

2021-04-26-Welcome.org
Links

Unfortunately, Neovim's conceal is much less powerful then Emacs. It hides the concealed text, but it still uses all the place as a content. I already got a report for that here.
Error that you got is not from the orgmode, but instead from cmp-luasnip plugin which provides autocompletion for snippets. I'm assuming you are using some prepared config like LunarVim or something like that (Emacs equivalents of doom emacs and spacesmacs), and it's not loading some things properly here.

Inline source blocks

I wasn't even aware that this exists in orgmode. Seems like I just didn't set up proper highlighting for these, since tree-sitter parser seems to parse it as a subscript.
Underline issue is similar to the one I mentioned in the Thesis.org section.
As I said above, this feedback is very helpful, and thank you very much for this. I'm hoping to solve some of these (which I can). I'll test all of these "the-month-in-org" files to see if I run into some other issues.

Error that you got is not from the orgmode, but instead from cmp-luasnip plugin which provides autocompletion for snippets. I'm assuming you are using some prepared config like LunarVim or something like that (Emacs equivalents of doom emacs and spacesmacs), and it's not loading some things properly here.

Teco is using https://github.com/nvim-lua/kickstart.nvim which is the source of the gutentags/luasnip issues :) luasnip isn't configured to use any custom snippets, only those provided by a language server (which presumably isn't running). Ofc if there is an issue LMK.

I wasn't even aware that this exists in orgmode. Seems like I just didn't set up proper highlighting for these, since tree-sitter parser seems to parse it as a subscript.

Have you seen https://orgmode.org/worg/dev/org-syntax-edited.html ?

Not sure if this is entirely related, but recently, as of the last update as of this writing, my heading TODO and URLs lost their highlighting. DONE in headings are still highlighted for some reason.

@bronzehedwick what colorscheme are you using? There were some changes recently to default highlight groups, so maybe that's the issue. Try doing this to see if links get highlights: :hi @org.hyperlink guifg=red.

@kristijanhusak Yep, that was the issue, thanks!
For the record, I am using vim-colors-xcode.


Inconsistency in quickstart tutorial

year vs. release_year

Thanks, good catch! We're taking the long way round for this one though: https://github.com/edgedb/edgedb/pull/4163 It's more consistent with some other sample schemas we use.


add function for livestock biomass consumption

Write a function that extracts from a given landscape object or list of landscapes the current amount of annual productivity in terms of livestock consumption.
This should sum up the plants' probability of dying due to grazing in the upcoming timestep. (excluding intrinsic mortality rates)

done in commit 0a3178b0e9014965b56bd48fa59f8fbf9cd7a274
also, added description into package vignette: inst/doc/socialecological.pdf


It's about dependencies

This task looks for changes in dependencies not files, so it's more accurate to say "No dependencies have been modified" otherwise it can be confusing for the consumer.

@arnau-pujol do you agree?

Good point @d-asensio , thanks!


Any chance to replace vite-plugin-components too?

vite-plugin-icons and compents auto import are now depends on vite-plugin-components, and generate types in components.d.ts.
While  unplugin-auto-import in auto-imports.d.ts.
is there any chance to combine  vite-plugin-components in  unplugin-auto-import?

They are trying to solve different problem in different scopes. I don't see they share a general common solution. So probably no.


add a non-mutating incremental resolver interface

Motivation

When we're running queries on stale GlobalState (#5407), we may need to run resolver in a way that modifies the affected trees we're looking at, but deliberately does not modify the GlobalState we're using.  (We expect that either a) the new GlobalState resulting from a successful ongoing typecheck will replace it or b) mutating it for temporary changes, but then having to put it back without those changes if the ongoing typecheck is cancelled for some reason, is fraught with problems.)
This PR attempts to provide such an interface with a minimum of code duplication, leaning on templates and if constexpr to magically wall off mutating sections of the resolver.  This way the compiler will automatically flag misuses of const GlobalState in the templated function(s) and it should be relatively obvious how to proceed to satisfy the compiler.
What's not clear to me is how effective this version of the resolver is going to be, since the WIP being filed here shuts off quite a bit of the resolver, including things like resolving superclasses, etc.  But maybe the expectation is that the mutating incremental resolver wouldn't have found that many changes to make anyway...?
Test plan

Not sure how to test this.  Honestly this PR was just going to put the infrastructure in place; future PRs that actually call the non-mutating incremental resolver would need to figure out some sort of testing strategy.

I added a call to this in pipeline tests before we invoke the incremental resolver, and amazingly everything passes locally.
ptal @elliottt for the new test.


Allow partyinfo to update url

PartyInfo service should allow url to be updated for an existing key.
Warn log message to suggest users to switch on remote key validation.
Fixes #951

Codecov Report

Merging #952 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #952      +/-   ##
============================================
+ Coverage     99.31%   99.38%   +0.06%
  Complexity     2087     2087
============================================
  Files           320      320
  Lines          5709     5704       -5
  Branches        328      323       -5
============================================
- Hits           5670     5669       -1
  Misses            5        5
+ Partials         34       30       -4

Impacted Files
Coverage Δ
Complexity Δ

...quorum/tessera/partyinfo/PartyInfoServiceImpl.java
97.18% <ø> (-0.04%)
18 <0> (ø)

...a/config/cli/admin/subcommands/AddPeerCommand.java
100% <0%> (+2.63%)
11% <0%> (ø)
:arrow_down:

.../quorum/tessera/sync/SyncResponseMessageCodec.java
100% <0%> (+3.22%)
5% <0%> (ø)
:arrow_down:

...ain/java/com/quorum/tessera/p2p/RestP2pClient.java
100% <0%> (+6.89%)
9% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7fd8b8...97bc8b6. Read the comment docs.


Show power usage

Can you add the option to show power output?
One only need to reed this
cat  /proc/power/active_pwr*
with the proper * as id

yes will be great


S3: close FileHandles on reset

Fixes #5544

Codecov Report

Merging #5545 (694b4d8) into master (1a8f93d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5545   +/-   ##
=======================================
  Coverage   96.09%   96.10%
=======================================
  Files         736      736
  Lines       72520    72529    +9
=======================================
+ Hits        69691    69704   +13
+ Misses       2829     2825    -4

Flag
Coverage Δ

servertests
36.88% <77.77%> (+<0.01%)
:arrow_up:

unittests
96.04% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/s3/models.py
96.20% <100.00%> (+0.03%)
:arrow_up:

moto/awslambda/models.py
94.26% <0.00%> (+0.20%)
:arrow_up:

moto/s3/utils.py
99.02% <0.00%> (+1.94%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add spark operator CRDs

https://github.com/GoogleCloudPlatform/spark-on-k8s-operator

https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/tree/5f2efd4ff97e7c0bfdb726a066118d3401576730/manifest/crds


Disable certain files/directories

Please see https://github.com/pymedusa/Medusa/issues/4468

Could you please add a description to this issue? Its hard to keep context when switching between issues and PRs in different repos, and Tweets.

@JasonEtco how's that?

Cool @OmgImAlexis thanks.
I'm open to this - I'd love to have a config option that takes a RegEx, something like:
exclude: /.*\/dist\/.*/

I don't currently have the bandwidth to add new features to this project, but if you'd like to open a PR I will happily work with you on it.

If you could try and link me to where I should look at adding the filters that'd help a lot.

Sure thing. There's currently a check to see if a parsed out filename is the config file; I think it'd make sense to add the check here:
https://github.com/JasonEtco/todo/blob/f59f365ec5adc3c9ee741ce2d5ffda5cbbe58524/src/pull-request-handler.js#L25
This could be rewritten to something like:
if (parsed.filename === '.github/config.yml' || (config.exclude && parsed.filename.test(new RegExp(config.exclude))) {
  continue
}

This check currently exists in three places - the PR handler, the push handler and the PR merged handler.


local-completion: Passing Messages as List to Prompt Instead of Required String Format

We've encountered an issue while using a local endpoint deployed by Text Generation Inference (TGI) and the vLLM API. When evaluating using the local-completion format, we receive an error indicating that the input cannot be parsed into the required string format. The root cause of the problem is that the TGI and vLLM APIs expect the input prompt to be in string format, but currently, the messages are being passed in a list format.
You can find the specific line causing the issue here.
To resolve this issue, we have found that applying a chat template with a tokenizer and converting it to a string before passing it as a prompt works effectively. We would like to know if there is already a solution for this issue, or if we should proceed by implementing this fix and submitting a pull request.
If you have any suggestions for alternative solutions or feedback on our proposed approach, please let us know.

Can you provide the full command? the requests should be passed as a string if bsz = 1 and tokenized_requests=False. And vllm's completion endpoint supports both list[str, ...] or tokenizedlist[list[int], ...] inputs (or at least it used to).
#2174 fixes a bug where the string was processed incorrectly, but it should still have gone through.


[manager] Double click on item opens two modals, and doesn't save the top one

Need to prevent double click from opening a second modal.

This will go away when we bring back the "busy" behavior. I suggest we just
port the 0.5 busy spinner for now, which is effective at solving this
mounting list of UX challenges (:
On Fri, Apr 29, 2016 at 3:30 PM, Matthew Coppola<EMAIL_ADDRESS>wrote:

Need to prevent double click from opening a second modal.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/539

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

@mcoppola Could you verify that this is no longer occuring now that you implemented the global busy state? If so, we can close this.

confirmed!  this can be closed.


[DNM] asap-workflows | add quickfix to cross_docking.py

Description
A quickfix for #989 that gets around #997
Todos
Notable points that this PR has either accomplished or will accomplish.

[x] add quickfix to cross-docking
[ ] add quickfix to other workflows

Status

[x] Ready to go

Developers certificate of origin

[x] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

@hmacdope this didn't work, i got this error:
Traceback (most recent call last):
  File "/home/paynea/miniforge3/envs/asapdiscovery/bin/asap-docking", line 8, in <module>
    sys.exit(docking())
  File "/lila/home/paynea/miniforge3/envs/asapdiscovery/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/lila/home/paynea/miniforge3/envs/asapdiscovery/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/lila/home/paynea/miniforge3/envs/asapdiscovery/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/lila/home/paynea/miniforge3/envs/asapdiscovery/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/lila/home/paynea/miniforge3/envs/asapdiscovery/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/lila/data/chodera/paynea/asapdiscovery/asapdiscovery-workflows/asapdiscovery/workflows/docking_workflows/cli.py", line 269, in cross_docking
    cross_docking_workflow(inputs)
  File "/lila/data/chodera/paynea/asapdiscovery/asapdiscovery-workflows/asapdiscovery/workflows/docking_workflows/cross_docking.py", line 228, in cross_docking_workflow
    [r.posed_ligand for r in results if r is not None],
  File "/lila/data/chodera/paynea/asapdiscovery/asapdiscovery-workflows/asapdiscovery/workflows/docking_workflows/cross_docking.py", line 228, in <listcomp>
    [r.posed_ligand for r in results if r is not None],
AttributeError: 'list' object has no attribute 'posed_ligand'

I just realized - I think this is only an issue if you're not using dask

Yeah this line removes 'None'sfrom the result list when using dask:https://github.com/choderalab/asapdiscovery/blob/main/asapdiscovery-data/asapdiscovery/data/util/dask_utils.py#L193` We should homogenise the behaviour such that it also works without dask.

#1018 should fix this for dask and non-dask runs.

Should no longer be necessary @apayne97. If you confirm we can close here. :)

yep, #1018 did the trick!


[Bug] Missing Labels and Annotation on Kubernetes Job

Search before asking

[X] I searched the issues and found no similar issues.

KubeRay Component
ray-operator
What happened + What you expected to happen
Description:
I'm using Flyte to manage my workflows, which include Ray tasks that run on a Kubernetes cluster. I've set labels and annotations within a Flyte PodTemplate, but I noticed that these are not applied to the Kubernetes Job and Pods that are managed by Ray Cluster. The labels can be applied to the Ray head and worker pods, but they do not propagate to the Kubernetes Job or Pods.
Root Cause:
Upon investigating, I found that within the createNewK8sJob function in rayjob_controller.go, both labels and annotations are not set in the ObjectMeta object.
Relevant Code Section: rayjob_controller.go L381-L382
Expected Behavior:
Labels and annotations set in the Flyte PodTemplate should be applied to the Kubernetes Job and Pods managed by Ray Cluster.
Actual Behavior:
Labels and annotations are missing in the Kubernetes Job and Pods managed by Ray Cluster.
Environment:
KubeRay version: 0.6.0
Flyte version: 1.9.1
Reproduction script
Steps to Reproduce:

Create a Ray job custom resource.
Observe the missing labels and annotations from the pod that is controlled by the Kubernetes Job (which is in turn controlled by RayCluster).

Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Hi @kevin85421, I'd like to highlight the issue linked below and offer my assistance in resolving it. I could use some guidance from the Ray team to proceed effectively.
On a related note, I'm currently unable to access the Ray Slack workspace. It seems it's restricted to Anyscale and Berkeley members.
Here's the GitHub issue for reference: GitHub Issue Link
Thank you!

On a related note, I'm currently unable to access the Ray Slack workspace. It seems it's restricted to Anyscale and Berkeley members.

Let me check with my colleagues.

Hi, @kevin85421 could we get assistance from the Ray team regarding the missing labels and annotation issue mentioned? We're eager to contribute and provide a PR, but some guidance would be invaluable. Proper labelling is essential for us to operate KubeRay in production in our organisation, as Kyverno, our K8 policy engine, mandates it. Your team's insights would be greatly appreciated. Thank you! :pray:

Does https://github.com/ray-project/kuberay/pull/1399#issuecomment-1709311405 make sense to you?

I think this is still an issue - the comment in #1399 only affects the job submitter, not the actual head pod or worker pod. In particular, if you set annotations in the https://ray-project.github.io/kuberay/reference/api/#headgroupspec_1 template field, it does not get passed to the resulting pod's creation. Same thing for the https://ray-project.github.io/kuberay/reference/api/#workergroupspec_1

@LeHyperion did you end up figuring out a work around?


✨ textual update

:tada: This PR is included in version 1.21.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Multi-person issue

What if my image has more than 1 people. I run the 3ddfa, dwpose, hamer and your code can only detect a pair of hands (or one head).

RealisHuman DONOT support multi-person yet.

Thx for the reply, an additional question:
For personal training process, the training data should be all regular human parts image or regular mix with counterfeit image. If it is the second one, what is the proportion of the regular and counterfeit?

For details on the training process, please refer to the data preparation subsection of the paper.


Chinese interface

Hi.
I've installed fresh SRS and whole web interface is in Chinese. Is there any way to switch to English?

http://ossrs.net:1985/console

I don't understand. Am I supposed to find language changing there? I didn't


Set up software supply chain security

This issue covers setting up a secure supply chain for all the software we provide, both for Kubernetes and non-Kubernetes use cases.
In particular, #83 has some setup for how we will push a container image to Docker hub, that we need to review to ensure that it works with securing our software supply chain.

I've started looking into this, and it seems like the easiest way to do this actually involves setting up goreleaser, and then using https://github.com/slsa-framework/slsa-github-generator to generate the provenance information.
There's even a new Github action (described in https://slsa.dev/blog/2022/06/slsa-github-workflows) that can handle provenance generation.
That will mean moving our builds to goreleaser though, so I'll open an issue to discuss that too.

There are other options as well - ko can already generate an SBOM, which is a key part of fulfilling SLSA level 3, but it seems like the github generator above would be the fastest.

I'm going to spend some more time talking to some of the folks involved in the various projects, and see what they recommend and what's the most complete. A lot of this is still either very new or still being built, but I think that's another reason why us implementing it will be useful for others.


HIVE-25113: Connection starvation in TxnHandler.getValidWriteIds

What changes were proposed in this pull request?
Pass dbConn to the function getOpenTxns so that it doesn't request another connection from pool.

Why are the changes needed?
If we let a thread holds more than one connection, a starvation problem might emerge when there are multiple simultaneous requests.

Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing tests

Can you write simple tests to ensure these methods are reusing the existing connection, if its not null ?
May be you can mock Connection ?

@kishendas @deniskuzZ Thanks for the suggestions. Please check if there is any concerns.


Link to data viewer is disabled for some datasets that are ncview-js-compatible

Environment: https://staging-leap-data-catalog.vercel.app/

Link is to the data viewer is disabled for both stores in this dataset. However, both stores are viewable in ncview-js.
cc @andersy005

Awesome!


fix: store the api key encrypted for new data sources and add backwar…

…ds compatibility for existing data sources

@mariusgiger any idea what could cause the actions to fail? the test/build for 14.x is just cancelled and the one for 12.x requires a newer node version somehow :roll_eyes:

@mariusgiger any idea what could cause the actions to fail? the test/build for 14.x is just cancelled and the one for 12.x requires a newer node version somehow 🙄
should we just disable the one for node 12.x?
<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=14". Got "12.22.12" please check what the requirements for the new Grafana sdk version are

<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=14". Got "12.22.12" please check what the requirements for the new Grafana sdk version are

hm, @grafana/toolkit has the depencency to react-dev-utils of ^12.0.0 but have no engine specifier. the<EMAIL_ADDRESS>hoever have an engine restriction of >=14, meaning we're either not upgrading to grafana 9.x or we'll need to drop the 12.x tests...


Potential vulnerability within Python's urllib3 library

As per the NVD a vulnerability is found within Python's urllib3 library 1.25.2 through 1.25.7 that can allow a denial of service (CPU consumption) because of an inefficient algorithm within the _encode_invalid_chars function. This vulnerability can impact Azure CLI and the CLI container since Python is a required dependency for Azure CLI.

hi @fengzhou-msft could you pls help to evaluate this and see upgrade plan? thanks

The fix will be released on Feb. 9 with azure-cli 2.19.0.

The fix will be released on Feb. 9 with azure-cli 2.19.0.


Removing this exception handling, that error should be caught above.

Coverage increased (+0.02%) to 66.301% when pulling f24943ab261f5d3d028c366724cdf6e5cd20f51f on kevgliss:iam-error into 221851abc1004a66513768b0941d74bb27ba93e4 on Netflix:master.


💄(project) add new template for a simple single column page

Purpose
Currently there is only a "full width" page where content takes the
full width which is a little rude to make simple page like Annexes.
Proposal
We need to add a new simple template which only include a single
column structure with a little vertical padding so we have a nicer
render for simple pages.
Sample screenshot

@sveetch should we justify the text?
I think we should also make sure that the common plugins are displaying nicely WDYT?

@sampaccoud ok this is a bit out of scope of this PR purpose and it would produces a lot of changes. I propose to validate this PR as it and we discuss apart on this subject for another new PR.

Of course!


Implemented Reactive Table for the Users dashboard (thanks @jshimko!).

Is there any way to make this responsive ? thanks @jshimko @SachaG

Do you know a good responsive table implementation?

I've used this before to good effect. Might be worth scoping it out
http://fooplugins.com/plugins/footable-jquery/

Bootstrap also handles responsive tables pretty well
http://jasonbradley.me/bootstrap-responsive-tables/

The bootstrap one might work. I'll have to see about adding that CSS.

Hey, folks! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video). If you know Crater, it runs on the latest version.
The Legacy version is no longer supported. I'm closing this issue.
I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


Fix: status check templates could trigger side-effects 3 times

Following discussion on IRC and OpenCL PR: https://github.com/nim-lang/opencl/pull/3

Thank you!


        By default, geometries use double precision coordinates (grid_size = 0).

        Coordinates will be rounded if a precision grid is less precise than the
        input geometry. Duplicated vertices will be dropped from lines and
        polygons for grid sizes greater than 0. Line and polygon geometries may
        collapse to empty geometries if all vertices are closer together than
        grid_size. Z values, if present, will not be modified.

        Note: subsequent operations will always be performed in the precision of
        the geometry with higher precision (smaller "grid_size"). That same
        precision will be attached to the operation outputs.

        Also note: input geometries should be geometrically valid; unexpected
        results may occur if input geometries are not.

        Returns None if geometry is None.

        Parameters
        ----------
        geometry : Geometry or array_like
        grid_size : float
            Precision grid size. If 0, will use double precision (will not modify
            geometry if precision grid size was not previously set). If this
            value is more precise than input geometry, the input geometry will
            not be modified.
        preserve_topology : bool, default False
            If True, will attempt to preserve the topology of a geometry after
            rounding coordinates.
        **kwargs
            For other keyword-only arguments, see the
            `NumPy ufunc docs <https://numpy.org/doc/stable/reference/ufuncs.html#ufuncs-kwargs>`_.

        See also
        --------
        get_precision

        Examples
        --------
        >>> set_precision(Geometry("POINT (0.9 0.9)"), 1.0)
        <pygeos.Geometry POINT (1 1)>
        >>> set_precision(Geometry("POINT (0.9 0.9 0.9)"), 1.0)
        <pygeos.Geometry POINT Z (1 1 0.9)>
        >>> set_precision(Geometry("LINESTRING (0 0, 0 0.1, 0 1, 1 1)"), 1.0)
        <pygeos.Geometry LINESTRING (0 0, 0 1, 1 1)>
        >>> set_precision(None, 1.0) is None
        True
        """

>       return lib.set_precision(geometry, grid_size, preserve_topology, **kwargs)
E       NotImplementedError: Unknown ufunc mode with args[0]=0x7f91f8161790, args[N]=0x1, steps[0]=8, steps[N]=0, dimensions[0]=13.

pygeos/geometry.py:737: NotImplementedError

cc @seberg I suppose this might be related to the changes in the ufunc loop determination from the dtypes work. Do you have any tips on what to look for / how to debug this?
The actual ufunc that is failing is defined with PyUFunc_FromFuncAndData:
https://github.com/pygeos/pygeos/blob/cec21ae5f11d9038a7d6cb5ba4fa6f4424eb9b3c/src/ufuncs.c#L3174
https://github.com/pygeos/pygeos/blob/cec21ae5f11d9038a7d6cb5ba4fa6f4424eb9b3c/src/ufuncs.c#L3042-L3045
and the actual function is:
https://github.com/pygeos/pygeos/blob/cec21ae5f11d9038a7d6cb5ba4fa6f4424eb9b3c/src/ufuncs.c#L2021-L2074

The error comes from your code https://github.com/pygeos/pygeos/blob/cec21ae5f11d9038a7d6cb5ba4fa6f4424eb9b3c/src/ufuncs.c#L33 but "Unknown ufunc mode" is a bit cryptic, when all this is: zero strided input detected.
I did modify one one of the fast-paths in NumPy, which means that NumPy recognizes more often that calling the unbuffered inner-loop is fine (a speed improvement, avoiding unnecessary buffering and overhead).  Would have to look again, but it is probably something like one input that is 1-D but not contiguous, and one input that is 0-D (or the result of np.broadcast_arrays).

Whoops, totally missed this was our own error .. Ahum, a bit embarrassing ;-)
But thanks for the input! The failing test case indeed has a second argument that is a scalar, so 0-D. Although I would think that the first argument is contiguous.
Will need to take a closer look again later today, but it might also be that the CHECK_NO_INPLACE_OUTPUT(4);  in the ufunc implementation should be CHECK_NO_INPLACE_OUTPUT(3); instead (since we should be checking the output array here, and we have three input arrays, so the 4th is the output, which should be index 3 not 4)

OK, let me know if you find anything, it probably is related to the contiguity flags not matching somehow.  The problem with continuity may just be that the scalar is both Fortran- and C-order contiguous, and the other argument(s) are only C- or only F-order contiguous...
I expect our change is good, but I may be able to undo it in the release branch if it gives you a lot of headaches.

OK, so actually for the failing test case, it doesn't seem something changed with the latest numpy version in the steps. So because of the out-of-bounds index bug, we probably just got undefined behaviour. This is fixed with #367.

If I add a print statement in the CHECK_NO_INPLACE_OUTPUT macro, we get the following for an older and latest version of numpy. After correcting the index, for set_precision with an array as input and output, we get the same steps (it's for the ufunc that receives a scalar as input that the steps of the output changed from 0 to 8, but that doesn't matter for us, it's also a single element output)
In [1]: from pygeos.test.common import all_types, point_z, empty_point, empty_line_string, empty_polygon
ufunc mode with args[0]=0x55ae3750ad00, args[N]=0x55ae3750ab30, steps[0]=0, steps[N]=0, dimensions[0]=1.

In [2]: geometries = all_types + (point_z, empty_point, empty_line_string, empty_polygon)

In [3]: import pygeos

In [4]: pygeos.set_precision(geometries, 1)
ufunc mode with args[0]=0x55ae375283a0, args[N]=0x55ae3753bce0, steps[0]=8, steps[N]=8, dimensions[0]=13.
Out[4]:
array([<pygeos.Geometry POINT (2 3)>, ...

In [5]: np.__version__
Out[5]: '1.18.4'

In [1]: from pygeos.test.common import all_types, point_z, empty_point, empty_line_string, empty_polygon
ufunc mode with args[0]=0x55d879227920, args[N]=0x55d879270b50, steps[0]=0, steps[N]=8, dimensions[0]=1.

In [2]: geometries = all_types + (point_z, empty_point, empty_line_string, empty_polygon)

In [3]: import pygeos

In [4]: pygeos.set_precision(geometries, 1)
ufunc mode with args[0]=0x55d878e9c860, args[N]=0x55d878df19c0, steps[0]=8, steps[N]=8, dimensions[0]=13.
Out[4]:
array([<pygeos.Geometry POINT (2 3)>, ...

In [5]: np.__version__
Out[5]: '1.21.0'


Strong-named assembly

Firstly, thanks for publishing this library!
I am working in an environment where all assemblies are strong-named. That means that I could only use this library in my project when it is also strong-named.
Feature request: Please publish a strong-named version of the assembly.
Hints:

https://docs.microsoft.com/en-us/dotnet/standard/assembly/strong-named
The Refit assemblies are strong-named since version 5.

So basically this would also need Camunda.Api.Client to use Refit 5 ...

Exactly and I guess that's what you did in #55

Resolved in version 2.5.1


Causes infinite loading on 1.2 Beta

Something in this mod, and it is this mod, causes the game to be stuck on the initial loading screen forever while on the 1.2 beta. Inevitably whatever changed in the update will also prevent the game from loading with this mod on actual 1.2

Not surprised in the least. I can't do anything about it because I don't have beta access (Gog user). I'll fix things for the actual 1.2 release.


XMLHttpRequest error

if response this format or other json:
{"listFias":[],"status":"NotFound"}
i recieved error:
XMLHttpRequest cannot load http://0001qwerty02:8888
  var client = new BrowserClient();
  var url = '/whatsit/create';
  var response =
      await client.post(url, body: {'name': 'doodle', 'color': 'blue'});
  print('Response status: ${response.statusCode}');
  print('Response body: ${response.body}');

This issue was moved to dart-lang/http#67


Allow community admins to change the sort order for blog posts

Is your feature request related to a problem? Please describe.
When creating a blog post, I cannot change what order the blogs are in. If you look at this image, I created the "blog 1" first and "blog 2" second but made the date of "blog 2" older than that of "blog 1" but "blog 2" still appears first.

Describe the solution you'd like
Minimum requirement: Allow community admins to sort blog posts by date, chronologically, alphabetically, etc.
Optional:

Allow community admins to swap blogs to whatever order they like, similar to the tabs on community pages
Allow normal users to sort posts how they like ( date, chronologically, alphabetically, etc.) and search for posts by author, title, words mentioned, etc.

Hi @PiVortex – thanks for filing this ticket. I incorporated this into https://github.com/NEAR-DevHub/neardevhub-bos/issues/599.


Prepare for Snapshots release 0.8.1

Current dependencies on/for this PR:

main

PR #72   👈

This comment was auto-generated by Graphite.


Renewal of DNS Challenge removes previous certificate that is in use

Issue description
Over the weekend I renewed a wildcard certificate for one of my domains, stored the result in both PEM files and the Windows Certificate store. I get an alert that something is wrong with one of my sites. I find in IIS that the 443 binding has certificate set to none, it was the one site on this server that was using that certificate. I look back at the logs and see

[INFO] Store step 1/2: PemFiles...
[INFO] Exporting .pem files to C:\path-to-pems\pem
[INFO] Store step 2/2: CertificateStore...
[INFO] Installing certificate in the certificate store
[INFO] Adding certificate [Manual] *.mydomain.net 2019/10/12 10:40:16 to store WebHosting
[INFO] Installing with None...
[INFO] Uninstalling certificate from the certificate store
[INFO] Removing certificate [Manual] *.mydomain.net 2019/8/21 6:58:19 from store WebHosting
[INFO] Next renewal scheduled at 2019/12/6 9:40:16
[INFO] Renewal for [Manual] *.mydomain.net succeeded

It uninstalls the certificate from the certificate store. This may be allowed and IIS just unbinds that certificate. Ideally it should check for usage in IIS. The code comments around the uninstall step suggest to look for usage but it may be relying on an exception for that.
Steps to reproduce
I have yet to reproduce it so I don't want to temp it on a production system. I'm thinking these are the steps.
DNS Validated certificate not tied to an IIS site, using the Windows Certificate Store
Setup IIS site to use that certificate
Maybe let IIS Set be unloaded due to inactivity.
Renew DNS Validated Certificate
Check on IIS Site and see if it still has a certificate.

Hi Josh, basically the program doesn't do anything you don't ask it to do, especially in the advanced mode (which you must have used to get those .pem files). If you want automatic updates of IIS bindings, then you have to add the IIS installation step to your renewal.
There is a command line argument (--keepexisting) that you can use at setup time to preserve previous certificates in the store during a renewal, but then they would just expire, which is not much better than having the binding fail.
Hope this clarifies the intented use of the program.

I'm going to close this issue due to it being quiet in the thread for while now. Please feel free to post again though if you keep having issues with the latest release. Thanks for using win-acme and providing us with feedback.


[Fall 2021] Step 3: Create GitHub action for Pysa with SARIF output

The goal is to document and probably implent a github action which can be used by python projects to integrate with Pysa and run it in the CI pipeline surfacing possible issues as comment in the diff.
In the past we did some collaboration with Zulip so their project can be a good starting point. We can fork https://github.com/zulip/zulip and experiment how this process should look like .
Some work to generate SARIF results was done for surfacing Pyre type checking issues in https://github.com/facebook/pyre-check/pull/427

I think I can do this!

surfacing possible issues as comment in the diff.

Should we show the SARIF results in the action command line itself, or make a bot that comments on the GitHub pull request diff?

I am not super familiar with SARIF results but I think this should be our way to go

Claiming this!

Quick update: To publish an action on the GitHub marketplace, we need to have a separate repository for it.

@r0rshark done in https://github.com/facebook/pyre-check/pull/440 , please review when you can.

@r0rshark here's the PR you requested: https://github.com/abishekvashok/zulip/pull/2 :D
Scroll down to checks section of the PR and see Code Analysis Pysa there (at place where SARIF results show up)

Clicking on which should lead you to the issues list. Github is robust enough to show even difference in issues!

Closed as it's done :)


Reorder User Tuning Bank

added “edit” button to user tunings
can now reorder and delete
reorder tunings pt 1: major refactor
refactoring to use an embedded navigation view controller
reorder

closing for now.  there is a crash in tuneup


Print a stacktrace when function evaluation fails

A better reimplementation of https://github.com/kframework/k/pull/61. I still do not know where to put the tests, though (see the mytest directory).
@dwightguth can you review this, please?
@chathhorn (if interested)

@dwightguth May you have a look at it after the simplification?

I found this online: https://blog.janestreet.com/pattern-matching-and-exception-handling-unite/
Dunno if it will help you or not, but it seems pertinent to the problem you're having, so you can give it a try.

I actually think it won't help though, because it's the tail recursive call that you're trying to put in a try block, which you just can't do. You might be able to work around it by putting everything /but/ the tail recursive call into a try block, at the cost of being missing some stack frames, but that's going to be a beast to implement. You're welcome to give it a shot though.
Honestly you might just be better off resigning yourself to using ocamldebug for debugging instead of trying to get this working though.

Closing. Reopen if it's still required.


withdrawInternal does not transfer on 0 quantity.

Pull Request Test Coverage Report for Build 2512

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
548 unchanged lines in 23 files lost coverage.
Overall coverage decreased (-95.3%) to 4.691%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/core/extensions/CoreAccounting.sol
1
4
25.0%

Files with Coverage Reduction
New Missed Lines
%

contracts/lib/CommonMath.sol
1
0.0%

contracts/core/SetTokenFactory.sol
2
20.0%

contracts/core/lib/auction-price-libraries/LinearAuctionPriceCurve.sol
2
0.0%

contracts/core/lib/ExchangeHandler.sol
4
0.0%

contracts/core/extensions/CoreFactory.sol
6
0.0%

contracts/lib/ERC20Wrapper.sol
8
31.82%

contracts/core/extensions/CoreRebalanceAuction.sol
9
0.0%

contracts/lib/Bytes32.sol
11
0.0%

contracts/core/extensions/CoreAccounting.sol
12
21.62%

contracts/core/RebalancingSetTokenFactory.sol
12
0.0%

Totals

Change from base Build 2492:
-95.3%

Covered Lines:
31

Relevant Lines:
582

💛  - Coveralls


eureka client registration determines wrong statuspageurl and healthurl after update from brixton m3 to m4

I am building an application that uses eureka and spring-cloud. I evaluated brixton m3 and everything works fine, but after an update to m4 the clients could not connect to each other anymore.
After some investigation I found out that the eureka client now sends the wrong statuspageurl and healthurl after the update.
I have attached the corresponding log with debug info from the apache http lib to show the difference:
brixton-m3.txt
brixton-m4.txt
The important part is this:
M3: "homePageUrl":"http://<IP_ADDRESS>:48090/","statusPageUrl":"http://<IP_ADDRESS>:48090/internal/info","healthCheckUrl":"http://<IP_ADDRESS>:48090/internal/health","vipAddress":"lunchdeals"
M4: "homePageUrl":"http://<IP_ADDRESS>:48090/","statusPageUrl":"http://<IP_ADDRESS>:8080/info","healthCheckUrl":"http://<IP_ADDRESS>:8080/health","vipAddress":"lunchdeals"
This is the eureka config that is used by the client:
Have a look at the ports, M3 uses the correct 48090 and m4 uses 8080 which is wrong the app is not bound to this port at all. (the port is completely free)
eureka:
  instance:
    preferIpAddress: true
    leaseRenewalIntervalInSeconds: 10
    statusPageUrlPath: /internal/info
    healthCheckUrlPath: /internal/health
    non-secure-port: 0
    metadataMap:
      instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
      password: ${security.user.password}
  client:
    serviceUrl:
      defaultZone: ${vcap.services.${PREFIX:}eureka.credentials.uri:http://user:password@dockermachine:8761}/eureka/

To clarify what I did:
do a clean build with m3 run against my eureka server, capture network traffic, switch to m4 clean again and run the app. So no residual old libs should be present.

Did you try with a snapshot?

So I tried the brixton snapshot and this is the result:
016-01-29 08:28:05.443 DEBUG 87556 --- [nfoReplicator-0] org.apache.http.wire                     :  >> "[\r][\n]"
2016-01-29 08:28:05.445 DEBUG 87556 --- [nfoReplicator-0] org.apache.http.wire                     :  >> "126[\r][\n]"
2016-01-29 08:28:05.445 DEBUG 87556 --- [nfoReplicator-0] org.apache.http.wire                     :  >> ","homePageUrl":"http://<IP_ADDRESS>:0/","statusPageUrl":"http://<IP_ADDRESS>:0/internal/info","healthCheckUrl":"http://<IP_ADDRESS>:0/internal/health","vipAddress":"lunchdeals","isCoordinatingDiscoveryServer":"false","lastUpdatedTimestamp":"1454052484592","lastDirtyTimestamp":"1454052485411"}}"
As you can see the management port os no longer 8080, but 0 is as wrong.

But you are using non-secure-port: 0. Isn't it expected that it uses that value in the URL it constructs?

Well, not really, setting the port to 0 should lead to a randomized port and I would expect to have the management port in the URL not the "placeholder", which is supposed to trigger the port randomization. How is a client supposed to determine the management port from the outside?

Must be a regression (#570 was supposed to fix it).

I understand. This change: https://github.com/spring-cloud/spring-cloud-commons/commit/14d54b196412d8046abdaa0c8695befaf82adaab is forcing the InstanceInfo to be created too early before the port is known. It's a pain.

maybe it's sufficient to update it once the port is known. The registration will heal itself in this case. If you combine this with the status not registering as up as long as this port is zero, you should be fine.

Actually it's a lot worse than that. The URLs are computed from the port, and so that has to be done again. But the killer is that the instance info (stuff that is registered with eureka) is baked into the EurekaClient when it is created. That's why we need lazy beans (per the commit above).

Great, I'll try the snapshot tomorrow!

So, today the metadata is has been updated.
The fix helps in most cases, but when I start all services at once, then I have one or two services that still have 0 as port and they don't recover. (I've waited a few minutes to see if it would fix itself)
I have a simple test application that consists of a few spring boot microservices:
https://github.com/orchit/spring-microservices-oauth/tree/enableOAuth
You can start the services with the startAll.sh script and I have the effect I described above, at least 1-2 services still register with port 0.
BTW: The project is supposed to by my learning project for spring-cloud-oauth. If you find any mistakes or bad practices, I'd be happy to hear about them. :-)

OK, I tried to switch my real project to the snapshot. Almost all services registered with the right port, but the zuul based service still registers with port 0.
In my small test project that I mentioned yesterday the zuul service registered with port 0 as well. So I think it may be related. You just added lazy to the bean, I guess that zuul accesses these beans too early, so your lazy annotation has not the desired effect.

@dsyer should I open another bug or can you reopen this one?

New one please because I think this one is fixed.

And please include the startAll.sh script once you create a new issue

Followup is #812

I have the same problem,
you can set instanceId to
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
and it resolve random instanceId generation


Update qhimm.xml

Updated Zendar Avatars to Mewsin's avatars adding lost Advent children options to the mod and reflecting my name change online.

technically looks ok, but consider just embedding your preview image inside the iro itself rather than relying on imgur

It has both that, the imgur thing was already there being my mod was uploaded by the community in my absence.


chore (Data.Rat.Lemmas): avoid importing OrderedCommMonoid

We can avoid importing Algebra.Order.Group.Defs in Data.Rat.Lemmas if we use Nat versions of some lemmas and slightly modify one proof.

We could also exile to Rat.inv_intCast_den (and Rat.inv_natCast_den) to Data.Rat.Cast.Lemmas since it doesn't seem to be used.

Thanks a lot!
bors merge