Query attribute doesn't work on drive.files.list v3

When calling
const req = drive.files.list({q: "name='BC01-TSP10'"}, (error, response) => {
        if(error) reject(error)
        console.log(response)
        resolve(response)
      })

The q property does nothing. Actually it seems to me none of the identified properties do anything. I tried searching through the source but was unable to determine what was wrong. When using the API tester it works fine.

Greetings!  Can you please check to see if google-auth-library is in your package.json?  If it is, please remove it, run npm install, and try again :)

Thanks Justin. It is in there, but all the examples are using it to generate the Oauth2 object. Should I look at a different library for OAuth2 authentication with google?

Not at all!  We include a specific version of google-auth-library inside of this npm module.  You really just have to follow this guide:
https://github.com/google/google-api-nodejs-client/#generating-an-authentication-url
const google = require('googleapis');
var oauth2Client = new google.auth.OAuth2Client(
  YOUR_CLIENT_ID,
  YOUR_CLIENT_SECRET,
  YOUR_REDIRECT_URL
);

Let me know if you have any questions!

In case anyone else finds this it is new google.auth.OAuth2(...)  not OAuth2Client.

ooooops :) Updated!

@gorangio OAuth2 is a function in that library try  var OAuth2 = new google.auth.OAuth2(....) like in Justin's comment.

@mbbender Thanks, and I see what you mean, but the error message "TypeError: Cannot read property 'OAuth2' of undefined" is referring to "auth" being "undefined". So adding the parameters to OAuth2 doesn't change anything.

I believe these are the important part of the code that got it working for me
var google = require('googleapis');
...
// If modifying these scopes, delete your previously saved credentials
// at ~/.credentials/sheets.googleapis.com-nodejs-quickstart.json
const SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly','https://www.googleapis.com/auth/drive.metadata.readonly'];
const TOKEN_DIR = (process.env.HOME || process.env.HOMEPATH ||
    process.env.USERPROFILE) + '/.credentials/';
const TOKEN_PATH = TOKEN_DIR + 'sheets.googleapis.com-nodejs-quickstart.json';

/**
 * Create an OAuth2 client with the given credentials, and then execute the
 * given callback function.
 *
 * @param {Object} credentials The authorization client credentials.
 * @param {function} callback The callback to call with the authorized client.
 */
const authorize = async () => {
  const credentials = JSON.parse(fs.readFileSync(path.join(__dirname,'../google_client_secret.json')))
  const clientSecret = credentials.installed.client_secret;
  const clientId = credentials.installed.client_id;
  const redirectUrl = credentials.installed.redirect_uris[0];
  const oauth2Client = new google.auth.OAuth2(clientId, clientSecret, redirectUrl);

  // Check if we have previously stored a token.
  try {
    const token = JSON.parse(fs.readFileSync(TOKEN_PATH))
    if(!token) { throw new Error('Invalid token file on disk. Attempting to get a new one.') }
    oauth2Client.credentials = token
    return oauth2Client
  } catch (error) {
    return await getNewToken(oauth2Client)
  }
}

I did just notice I have version 25 though.
    "googleapis": "^25.0.0",


Sequence changed from starting at 1 to starting at 0

I did not see it in the patch notes, was it something to do with the "auto-magical sequence setup" thing that was mentioned.
I am currently switching everything over to compensate for this change, as currently most of my tests fail (I use Sequence on pretty much all my factories), but before I push all my changes I wanted to make sure this was an intentional change.

Yes, this was indeed intentional (and a side effect of no longer looking at max(pk) + 1).
Sorry for the breakage however; 2.4.1 is still available on PyPI if you need.

I'll just stick with 1.5, I already did the work switching it over, just didn't want to push until I knew for sure. Thanks for the info.


[Doc] [Improve] can not find config about sub-table in connector-tdengine document

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
I tried to sync data from http to tdengine, opened browser and copied example on the website, but It didn't work as it didn't tell me how to set sub-table name.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

link https://github.com/apache/seatunnel/pull/6088


Remove GitLab CI

GitLab CI only allows testing on Linux. By comparison, Azure Pipelines, which was added in a previous commit, has support for Linux, macOS and Windows.

I hereby agree to the terms of the Jupiter Collection Testers Contributor License Agreement.

It's worth noting that it means we now can't use GitLab CI's support for dependency scanning and license management in the future unless we reintroduce GitLab CI, which for whatever reason makes me feel a bit uncomfortable.

To clarify my last comment, what I find uncomfortable is reintroducing GitLab CI itself, as it would mean we'd have two CI solutions running at the same time.

Note for self: I'll also need to remove the integration between GitLab and this project so that GitLab CI doesn't attempt to run the default pipeline which fails.

The integration between this project and its clone on GitLab has been removed now, as well as the repository clone on GitLab.


If json files are added to folder then the wrong json is loaded.

This is in Reaper (Linux). Does SmartPedal not lock for the name of the json but instead what position among files like i.e. "the seventh file"?

Yes, this is a problem that has been fixed for Proteus, so I just need to do the same update to SmartPedal to reference the file name instead of the index number. I’ll include this in the next release.


Healing Draught effect is moved to Temporary effect

https://github.com/moo-man/WFRP4e-FoundryVTT/issues/1790
Hey, after some tests, I can say that: After You invoke/appy Healing Draught effect then this effect is not proper deleted and stay in Temporary Effect.

To fix that - effect should have this option checked:

I disagree. Instead it should have script to remove it on combat start (or end).
Healing draughts are limited to 1 use per encounter, so I think it is nice to have some reminder that it was used.

Ok, or at least a message should be displayed (when you have this effect already) that you can't drink another healing potion. Now these effects are stacked, and that's it.

Interesting. So maybe something like this?
Healing-Draught.json
Since there is no combat start trigger, I used get initiative to delete the effect.


open current sql script always opens the last sql-script

Description
First, I have to say, what great tool dbeaver is.
I have been using it a while, i keep finding interesting features.
However I've recently upgraded to the lastest version 22.1.4 and opening the recent sql script from a connection.
Always opens the last recent sql-script of all connections instead of the one associated with the connection.
The last recent sql-script is then also reassociated with the current connection.
Has this functionality changed or is there a new preference that I can select (i don't find any)
Thanks in advance for your response and in any case thanks for a great product!
Bart
DBeaver Version
Community edition Version <IP_ADDRESS>208051447
Operating System
Windows 10
Database and driver
Postgresql v 13
Postgresql JDBC driver 42.2.5
Steps to reproduce

multiple postgresql connections.
sql-scripts associated with each of them.
select a connection
right-click on a connection and select "sql-scripts > recent sql script" or press Ctrl+Enter
--> this always opens the same script (the last one) and associaties it with the current connection.

Before it opened the most recent script associated with the connection.
Additional context
No response

Thanks for the report.
The issue should be fixed in #17316.
The fix will be available in DBeaver 22.1.5.


Integrate More with rust-bitcoin ecosystem

Should probably avoid needless effort duplication and see what code can be shared with https://github.com/rust-bitcoin/rust-lightning and other rust-bitcoin libraries since everyone having their own lightning implementation means more effort for no gain, and both look to be pretty early, so lots of room for collaboration.
Also, you may be interested in @sgeisler's excellent BOLT11 implementation at https://github.com/rust-bitcoin/rust-lightning-invoice since it seems y'all haven't started that work yet.

It is a good idea. We probably will use https://github.com/rust-bitcoin/rust-lightning-invoice
About https://github.com/rust-bitcoin/rust-lightning : is there any demo implementation of Lightning node to see how parts feet together?

I have a demo implementation of a lightning node using rust-lightning and rust-lightning-invoice at https://github.com/TheBlueMatt/rust-lightning-bitcoinrpc which connects to Bitcoin Core's RPC for its block data and on-chain wallet (rust-lightning does not act as a full wallet/node - it doesn't know how to download blocks, write to disk, etc - very much on purpose as it's goal is not to compete with lnd/c-lightning/eclair/etc but to provide a way for existing wallets to integrate lightning instead of being a standalone daemon).
Obviously rust-lightning, being only about a year old, is pretty early, but has made a lot of progress towards getting most of the BOLTs implemented, the structure of things is pretty much all there, but lots of pieces still need to be fleshed out fully. The demo app above can open/close channels, send/receive payments, etc but rust-lightning is still missing a few on-chain handling cases and the fee update story isn't quite there yet.
Also in the rust-bitcoin project umbrella, Tamas has been working on a full neutrino on-chain SPV wallet implementation which should be able to integrate rust-lightning at some point in the future, though that's a little less far along.
I'm curious where you think peach and rust-lightning/rust-bitcoin can collaborate more - definitely value in working together to make progress much faster, and both seem to be early enough that they're both good learning projects still in terms of learning lightning protocol by implementing it. What's the high-level set of goals for lpd, aside from just being yet another lightning node?

Thanks for the demo!
Objectives:

have own implementation with full source control due to security reasons
have an implementation in Rust:
-- to ensure memory safety, performance, etc...
-- possible compilation into new platforms such as WASM or SGX. Go can be compiled into WASM but not into SGX
-- possible integration with Exonum which is written in RUST. Lightning over some token. Lightning over Bitcoin is a good first step to it.

We also work on SPV wallet to include into the node. Maybe we can cooperate there?

have own implementation with full source control due to security reasons

It looks like you're still depending on other rust-bitcoin projects, which means tighter integration/more working together only gets you more visibility into security-critical dependencies, not less =D. I'd be curious to see what parts of lpd you think are furthest along? Would love to steal some code and see where I can utilize more of y'all's effort to build rust-lightning :).

-Lightning over some token. Lightning over Bitcoin is a good first step to it.

I'm curious if you've started much work on this yet. Obviously the lightning protocol supports arbitrary assets, and there have been some work by others to implement it and move the spec forward to ensure interoperability there instead of folks going off on their own.
As for SPV wallet, you should reach out to @tamasblummer, who is primarily working on rust-bitcoin SPV stuff, and take a look at the various repositories in rust-bitcoin to see where you might be able to contribute!

Parts that a not highly coupled are routing(handling routing information), wire, encryption, key derivation. So they may be useful for rust-lightning.
Yes, we have done some preliminary work on Lightning over other blockchains. It seems there are  https://github.com/rgb-org/spec  and Raiden(for Ethereum). Could you suggest other projects?

Heh, all of those things are complete in rust-lightning. By lightning over other blockchains, I meant lightning, not other payment channel protocols. Lightning routing information carries fields for routing the same payments via other per-peer channel protocols, potentially via other blockchains. Obviously it's been demo'd on litecoin but there's nothing to prevent it from being applied elsewhere as well.
On October 29, 2018 10:05:17 PM UTC, mkl-<EMAIL_ADDRESS>wrote:

Parts that a not highly coupled are routing(handling routing
information), wire, encryption, key derivation. So they may be useful
for rust-lightning.
Yes, we have done some preliminary work on Lightning over other
blockchains. It seems there are  https://github.com/rgb-org/spec  and
Raiden(for Ethereum). Could you suggest other projects?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/LightningPeach/lpd/issues/2#issuecomment-434098337

Then you cannot steal anything from us) Maybe we can use some code from your implementation.
I  will check rust-lightning more closely, maybe found some cooperation points. It seems you give presentation about it on a recent conference. Is there any video of it?
Make Lightning over litecoin is not very hard because they are very similar. Lnd already support it. Making Lightning over not outpoint-based blockchain more complicated because it is different (on the other hand it simpler because smart-contract can be created with much easier settlement). In order to support Lightning blockchain should have time checking operations, ... Not any blockchain is supported. We planned to do lightning over bitcoin, then lightning over Exonum, then maybe allow cross chain  payments.
 By lightning over other blockchains, I meant lightning, not other payment channel protocols. Lightning routing information carries fields for routing the same payments via other per-peer channel protocols, potentially via other blockchains. Obviously it's been demo'd on litecoin but there's nothing to prevent it from being applied elsewhere as well.
On October 29, 2018 10:05:17 PM UTC, mkl-<EMAIL_ADDRESS>wrote:

Parts that a not highly coupled are routing(handling routing
information), wire, encryption, key derivation. So they may be useful
for rust-lightning.
Yes, we have done some preliminary work on Lightning over other
blockchains. It seems there are  https://github.com/rgb-org/spec  and
Raiden(for Ethereum). Could you suggest other projects?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/LightningPeach/lpd/issues/2#issuecomment-434098337

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
--
THIS COMMUNICATION AND ANY ATTACHMENTS MAY CONTAIN CONFIDENTIAL INFORMATION OF THE SENDER.   THANK YOU.


added a funny line

@tiffanywilson Could you fix the merge conflict? Thanks for adding a funny line!

@1egoman resolved

@tiffanywilson I'm really sorry, but I think I caused another conflict. If you'd be willing to fix it again I'll make sure to merge yours in first next time as to not cause any more trouble.
Thanks!

@1egoman no worries! fixed again

Thanks! 😄


info.xml

newer backups dont use the info.xml unless backing up everything. possible to skip info.xml?

Would you please specify what changed besides the info.xml? From which version? thanks


Rename all async methods with an Async suffix

Pull Request
What does this PR do?
Fixes #196, #181
Renamed all async methods with an Async suffix to match .net coding style.
All async methods now contains an optional CancellationToken parameter.
All async calls are using ConfigureAwait(false)
PR checklist
Please check if your PR fulfills the following requirements:

[X] Does this PR fix an existing issue?
[X] Have you read the contributing guidelines?
[X] Have you made sure that the title is accurate and descriptive of the changes?

Another pair of eyes could be necessary to check nothing is missing !

@sander1095, if you are around, feel free to check your issue (#207) is implemented as you expected :)

@sander1095, if you are around, feel free to check your issue (#207) is implemented as you expected :)

I had a quick look, LGTM! 👍


Error Response code 401 (Unauthorized)

For some time the Codetime is starting. Please provide the problem response code 401 (Not authorized). Both VS (Visual Studio) and Intlijj. Well this starting. I gave up and installed it again and nothing worked. What could've happened?
I am sorry my English.

Our website is www.codetime.dev. It seems that you are not using our service, even though the name is also codetime.

"In VS CODE, I managed to do it, but in JetBrains IntelliJ, I'm encountering the following problem:"

"I did my best, but it always says 'invalid token'."

I’m sorry, our IDEA plugin might be having issues. It hasn’t been updated in a long time, and the person responsible for this part is no longer available. We will address this as soon as possible!

I’m sorry, our IDEA plugin might be having issues. It hasn’t been updated in a long time, and the person responsible for this part is no longer available. We will address this as soon as possible!

In Vscode it is normal, but in Intellij there is a problem. I did everything here, and it didn't work. I realized when I saw that it hadn't been working for a few days.

Hello, I have rewritten the plugin for IDEA, but it still needs to be reviewed. It should be ready for use in a day or two!

It seems that our new JetBrains plugin is now live!
You can access it here: https://plugins.jetbrains.com/plugin/25617-codetime/. Please note that it is an entirely new plugin, so do not upgrade from the old plugin. Instead, uninstall the original plugin and reinstall this one.

Excellent! I tested it and it's working. Thanks. Sorry for the inconvenience.


Update finagle-core, finagle-mysql, ... to 20.8.1

Updates

com.twitter:finagle-core
com.twitter:finagle-mysql
com.twitter:scrooge-serializer
com.twitter:util-core

from 20.8.0 to 20.8.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.twitter" } ]

labels: library-update, semver-patch

Codecov Report

Merging #429 into develop will increase coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #429      +/-   ##
===========================================
+ Coverage    77.16%   77.25%   +0.09%
===========================================
  Files           46       46
  Lines         1051     1051
  Branches        30       30
===========================================
+ Hits           811      812       +1
+ Misses         240      239       -1

Impacted Files
Coverage Δ

.../main/scala/com/twitter/bijection/Bufferable.scala
91.95% <0.00%> (+1.14%)
:arrow_up:

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 62c7e03...58fe7b9. Read the comment docs.


API View links are not shown when scheduling a meeting from the Release Planner app

When scheduling an SDK Review from the Release Planner app, the instance of the Scheduler app won't show the APIView links.
However, if the meeting is created and then you click on edit, the links will be there.

I was able to replicate this error.
Looks like the artifacts are not loading when the meeting is in draft mode.

Looks like the artifacts are not loading when the meeting is in draft mode.

Yes, this was the reason why the list was blank: we were not retrieving the artifacts when the mode was set to "new". Now, if it's a new meeting but a draft record, the artifacts are retrieved.

@JonathanCrd I made a change on where you added the implementation and did some testing,  but to double check, could you test again this scenario? Also, let's talk tomorrow about draft meetings and how that is happening in all of our apps


Weblate-Icon incorrect (always "Translator not available at Weblate"

The Weblate icon at iobroker.dev is always false and signals "Translations not available at Weblate". This is incorrect at least for some adapters.

Its no real problem, but if this link is displayed it should be correct. Low prio of course!

We are only loading the first 20 projects from Weblate. This needs to be fixed in the frontend, but also the backend proxy must support parameters and it must rewrite the response with the right "next" link.


feat: Added Comments with Hyperlinks

PR Fixes:

Implemented a regular expression to match URLs within the comment text
Opens the URLs in a new tab

Resolves #126
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Hi @hkirat, can you please check this PR. It enables hyperlinks for comments that contain links in the comments section. Thank you

/bounty $20


Updated to use MathJax 2.7.1

Ticket
https://openscience.atlassian.net/browse/EOSF-602
Purpose
Update to use the latest version of MathJax to ensure there is no dependency on the now defunct MathJax CDN. See: https://github.com/mathjax/MathJax/releases/tag/2.7.1
Changes
Changed app/index.html to include MathJax 2.7.1 from cdnjs.
Side effects
Should be none since MathJax 2.7 was primarily just a bugfix release with a few opt-in features.

Easy enough. Thanks for noticing that.


minor correction to example file

In the example file "idtoken.php" line 61 is not needed.
61  $client->setAccessToken($token);
The page is redirected before the $client is ever used.

Good catch! This is probably a carry-over from when setAccessToken did more than just set a class variable.


Added invert option to zoom with mouse drag

Small change to address #296.
Now inverting the config changes how zoom behaves on mouse drag events, in addition to mouse wheel events.

Coverage decreased (-0.004%) to 4.22% when pulling ac828d6e8dde09034109ae4074b8e0fcc15e5200 on ComputerComps:296-zoom-enhancement into 80fea04c09598c5490fd1037d033f7005d3e29d3 on cornerstonejs:master.

Any news on this PR? I'd need it, inverting the mousewheel only is not enough for us!


imposm3 mapping

Hello. Is it possible to use imposm3 with osm bright? It looks like imposm3 does not support mapping for imposm2 (example-mapping.yml). How to convert it? Thank you.

+1
How to use old imposm-mapping.py from osm-bright project for imposm3 util?

example-mapping.yml create not compatible with osm-brigth tables at postgresql database =(

imposm 2 does not support updating with "osc" files, osm2pgsql and imposm 3 does support it. We have to use osm2pgsql with multi-geometry key. It is extremely slow.

BTW We can import data with imposm 2, but we couldn't update it with osc and osm2pgsql. imposm 2 and osm2pgsql schemaы are completely different.

BTW osm2pgsql in multi polygon mode can throw random segfault while updating world's region. I've received 30% chance to receive a segfault. Please move to imposm 3.

It seems there is no support for this project anymore. Meanwhile I see that you guys are much more advanced than me. Would you mind sharing how you generate the tiles?
I load the data in postgres with:
osm2pgsql.exe -c -G -S .\default.style -U postgres -d gb --hstore -C 32000 great-britain-latest.osm.pbf
But when I preview the map in Tilemill the map is mostly wrong. The cities are in correct places but the roads are in the wrong places and most of them appear simply as straight lines. Also other objects like lakes and forests are missing.

@kaktus40 I gave your mapping a go but it wasn't entirely compatible. Did you have an updated version?
If not I might have a go at fixing it up.

Hello, I corrected the file but I can't access the updates version until the next two weeks. Sorry

I have a compatible imposm3 mapping file (json file) if that's any help:
imposm-mapping.json.txt

imposm-mapping.json.txt
@clementmas
Hi! Is that mapping file for osm2pgsql?

No @Lokks, it's for imposm3.

No @Lokks, it's for imposm3.

sorry, wrong question. Of course it's for imposm, but does it fits for "osm2pgsql-friendly" style named  osmbright?

I don't know about the compatibility with osm2pgsql, I just needed the imposm3 mapping file.

Had you please been successful importing to OSM-Bright with imposm3?
Using the .yml mapping by @kaktus40 I cannot import a .pbf, imposm3 complains:
0:00:00 SQL Error: pq: column "name" specified more than once in query
        CREATE TABLE IF NOT EXISTS "import"."osm_buildings" (
            id SERIAL,
"osm_id" BIGINT,
"name" VARCHAR,
"name" REAL,
"type" VARCHAR,
PRIMARY KEY ("osm_id", "id")
        );

Using the .json by @clementmas, the import goes through but TileMill complains:
Postgis Plugin: ERROR:  relation "osm_landusages_gen0" does not exist
LINE 2:   FROM osm_landusages_gen0
               ^
in executeQuery Full sql was: 'SELECT * FROM ( SELECT geometry, type, area
  FROM osm_landusages_gen0
  ORDER BY area DESC
) AS data LIMIT 0'
  encountered during parsing of layer 'landuse_gen0' in Layer

Is this related to the mapping file, don't you know?


Non-local + MaskRCNN

🚀 Feature
I am wondering will you add the feature that employs the non-local block. As it can improves the performance for more than 1 point compared with the baseline.
Here I paste the related results reported in the non-local paper,

Motivation
I think the non-local is very hot recently. I want to further propose better module to optimize the current non-local method.
Additional context
Here I provide the paper of non-local.
Non-local Neural Networks

Hi,
Thanks for opening the issue.
There is currently no plans for adding support for Non-local Neural Networks in this repo.
Contributions are more than welcome though :-)

The Non-local-like modules (NL and CGNL) in PyTorch are provided in our repo. Hope it can help ease the research.


Enhancement Request: Improve Copy-Paste Compatibility with Text Containing Tabs for Mind Maps

Hello,
I have been using various mind mapping tools such as XMind, FreeMind, and others, where I could easily copy and paste text with tab indentation into different mind mapping programs or even a simple text editor. The "tab" key in these tools would create subtopics correctly, preserving the hierarchical structure of the mind map.
However, when attempting to migrate to Markmind, I encountered several issues:
Flat Structure: Pasting text with tabs into Markmind results in all entries being treated as siblings rather than maintaining the parent-child relationships indicated by the tabs.
Undo Functionality: The undo feature only reverses the last individual entry rather than the entire paste action. This makes it cumbersome to revert changes when pasting a large hierarchical structure.
Request:
I would like to request an enhancement to improve the copy-paste functionality in Markmind to better support text containing tabs. Specifically:
Hierarchical Pasting: Ensure that text with tab indentation pasted into Markmind correctly reflects the parent-child relationships, maintaining the intended hierarchical structure.
Comprehensive Undo: Improve the undo functionality to allow reverting the entire paste action, not just individual entries.
These enhancements would greatly improve the usability and compatibility of Markmind with existing mind mapping workflows, ensuring a smoother transition for users migrating from other tools.
Thank you for considering this request.
Best regards,
Daniel

You can convert the data to xmind format then import it into markmind

You can convert the data to xmind format then import it into markmind

Ok, great!
But in day-to-day use, it is very convenient to be able to paste into a text editor and then paste back into the mind map, etc. Do you think it would be possible to add this functionality?
Also, I've noticed some issues with selecting multiple entries in the mind map. When I hold the control key and try to select everything in an area, it often fails to capture all the items. Additionally, if I use ctrl+c to copy and then try to paste into a child entry, it doesn't allow me to copy everything.
Do you think these improvements are within reach? If you could enhance these aspects, the tool would be even more perfect!
Apart from these details, your tool is incredible! I will purchase it to support the project. Thank you!

hold on ctrl , then right click to select nodes
use copy and paste  command in ctrl p command board to  copy node
Paste text needs to be optimized


command materia start don't work after a global installation

Expected behavior
launch the server with the command line materia start
Actual behavior
Error in the console when running materia start:
command not found
/usr/local/bin/materia: line 3: syntax error near unexpected token `('
/usr/local/bin/materia: line 3: `let argv = require('minimist')(process.argv.slice(2))'

Actually the server can be run with forever start ./node_modules/materia-server/cli/index.js start
Step to reproduce the behavior

sudo npm install -g materia-server

materia start

Materia Version: v0.1.1

The commit https://github.com/webshell/materia-server/commit/718e4ab56abf8e8b8bc674b367c413527eb2e936 should fix this issue. It has been released in v0.1.2.
Thanks for the feedback ! :)


Fix test discovery in VS 2015 by swapping the TFMs

@filipw mentioned that the TFMs can be swapped in the project.json files to make the VS 2015 Test Window properly discover tests. This change does exactly that.

I don't think this needs a code review. So long as CI passes, this should be fine.


Handling of connection error exceptions

I'm running OrigamiBot as part of a multi thread server process.
From within the telegram communication thread, I run bot.start() (which starts more Origamibot threads in the background), then I use that thread for forwarding messages from the system to the bot asynchronously (i.e.: from the main thread, not triggered by incoming bot messages; I don't use the asyncio concept).
This all works quite well.
Things seem to become a bit ugly when for example the network is down, or the server is not reachable for any other reason.
This leads to a flurry of messages like these:
2024-03-11 19:23:03,398 | bot.py:1443 | PID 2282 | ERROR | Exception while polling
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1017, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7b90347264d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 756, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /BOTID:BOTTOKEN/getUpdates (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7b90347264d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/marc/.local/lib/python3.10/site-packages/origamibot/core/bot.py", line 1441, in _listen_loop
    updates = self.get_updates()
  File "/home/marc/.local/lib/python3.10/site-packages/origamibot/core/bot.py", line 314, in get_updates
    updates = get_updates(
  File "/home/marc/.local/lib/python3.10/site-packages/origamibot/core/api_request.py", line 115, in get_updates
    updates = request(
  File "/home/marc/.local/lib/python3.10/site-packages/origamibot/core/api_request.py", line 91, in request
    response = requests.post(
  File "/usr/lib/python3/dist-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 544, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 657, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /BOTID:BOTTOKEN/getUpdates (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7b90347264d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

(Bot data has been replaced with BOTID and BOTTOKEN in above log).
I would like to somewhat gracefully catch these, log them as a single concise message to syslog ("Telegram Server Connection lost"), and then try to recover (i.e. the system should continue to operate, and silently try to reconnect to the telegram server in the background).
How is this best done? Is it even possible with Origamibot? Is the above behavior a bug? Or am I doing something wrong?
My code looks about as this (edited for brevity):
bot = Bot(bot_token)
bot.add_listener(MessageListener(bot))
bot.add_commands(BotsCommands(bot))
bot.start()
...
while(True):
    bot.send_message(chat_id, "testmessage") # chat_id stored globally, the chat we want to send info to
    # sleep for a while

Funny: The bot seems to reconnect, and commands I type in the telegram channel do get through to the system. But messages my systems send to the telegram channel via the bot (see above example) are lost.

Maybe you have already found a solution yourself. If not, here is my guess.
First of all, you posted the log of the update polling running in the background. This is logged, but should run properly again as soon as the internet connection is re-established. (you wrote this as the funny postscript)
As far as I can see, this library has no integrated error handling for sending a message.
However, you should be able to integrate this yourself quite easily.
bot = Bot(bot_token)
bot.add_listener(MessageListener(bot))
bot.add_commands(BotsCommands(bot))
bot.start()
...
while True:  # your default task loop
    while True:  # loop to retry after exception
        try:
            bot.send_message(chat_id, "testmessage")  # chat_id stored globally, the chat we want to send info to
        except IOError:  # may be more precise, e.g. requests.exceptions.ConnectionError
            logging.exception("Telegram Server Connection lost")
            time.sleep(5)  # wait 5 seconds before retry
            continue
        else:
            break  # break inner loop if send_message was successfully
    # sleep for a while

But my example has one big problem. It keeps trying to send the message until it succeeds. This could end in an endless loop.
I hope this helps you.

I did not find a solution, I ran into more issues like this and decided to switch to a different bot framework that offers better error handling. Thanks for trying to help!


fix(rosetta): diagnostics from infused snippets were not ignored

Recently we implemented the infused metadata that turns strict=false
and loose=true for the specific snippet. However we still output the
diagnostics along with other snippets (with isError=true). One thing we
could do is make these diagnostics isError=false, but I argue that we
want to ignore these diagnostics entirely. They aren't actually diagnostics;
we will find them in the cache and they do compile.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I agree with the conclusion, but I'm not sure the premise is right. There is a bug, but I think it lies somewhere else:

Recently we implemented the infused metadata that turns strict=false and loose=true for the specific snippet. However we still output the diagnostics along with other snippets (with isError=true).

AFAIK setting strict=false should prevent isError from turning true, no? Why is that not working?

I argue that we want to ignore these diagnostics entirely. They aren't actually diagnostics; we will find them in the cache and they do compile.

The diagnostics must originate from trying to compile the snippet. So my counter-question to this observation would be: if we find them in the cache, then why are we trying to compile them in the first place?


Empty space when scrolling to the right on mobile

When a note with a banner is open (not the case with headers or icons), an empty space can be horizontally scrolled to on the right. It does look like it's the banner's size's fault, but am unsure if that's completely true (and it's harder to debug since it seems to only can be replicated on mobile devices)
https://github.com/noatpad/obsidian-banners/assets/21282515/e08200cc-98ac-4ef3-9148-3ada104492d9

Do you have any thoughts on the cause of this or the remediation plan? Anything I as a heavy mobile user could do to contribute to this effort?

I am seeing this too! Please fix!


MasterDetailRelation Attribute  used question?

@volkanceylan
HI .
I find some code in source.
source file :MasterDetailRelationBehavior.cs
private void DetailListSave(IUnitOfWork uow, object masterId, IList oldList, IList newList)
{
.....
if (oldList.Count == 0)
{
foreach (Row entity in newList)
SaveDetail(uow, entity, masterId, null);
return;
}
.....
}
I try to set detail AsGuid and PrimaryKey but  failed..
is there any solution fix it ?
question is Because the newly created detail object does not pass values to the database, this is based on the specific way of int type  for PrimaryKey and Identity。
Thanks much.

MasterDetail works with non-integer types, i didn't understand the question


Obtain POST - "request_IDs" returns empty set of documents.

Via an Obtain POST, one should be able to request a list of IDs. However, the "request_IDs" elements seems to be ignored. I see no related bugs in GitHub or PT.
Submission:
{
    "by_resource_ID": true,
    "request_IDs": [
        {"request_ID": "http://<IP_ADDRESS>/node/46"},
        {"request_ID": "http://<IP_ADDRESS>/node/47"},
        {etc...},
        {etc...}
    ]
}

Result:
{"documents":[], "resumption_token":null}

This is true regardless of:

variants to the case of the request_id / request_ID element name.
submitting by_doc_ID or by_resource_ID;

Also, if "by_resource_ID" is not explicitly set to true, it appears to be treating it as if it were "false", rather than the default "true".
Submission:
{
    "request_IDs": [
        { "request_ID": "http://<IP_ADDRESS>/node/46"},
        { "request_ID": "http://<IP_ADDRESS>/node/47"},
        {etc...},
        {etc...}
    ]
}

Result:
{"message": "by_doc_ID and by_resource_ID cannot both be False", "OK": false}

request should be
{
"request_IDs": [
http://<IP_ADDRESS>/node/46",
"http://<IP_ADDRESS>/node/47",
etc...,
etc...
]
}

Not a bug. Error was in user docs.

Send error was a bug


bug(python):

LanceDB version
v0.6.6
What happened?
For _rerank method for Cohere reranker, the value "result" has no attribute "relevance_score"
def _rerank(self, result_set: pa.Table, query: str):
    docs = result_set[self.column].to_pylist()
    results = self._client.rerank(
        query=query,
        documents=docs,
        top_n=self.top_n,
        model=self.model_name,
    )  # returns list (text, idx, relevance) attributes sorted descending by score

    indices, scores = list(
        zip(*[(result.index, result.relevance_score) for result in results])
    )  # tuples
    result_set = result_set.take(list(indices))
    # add the scores
    result_set = result_set.append_column(
        "_relevance_score", pa.array(scores, type=pa.float32())
    )

    return result_set

AttributeError: 'tuple' object has no attribute 'relevance_score'
Are there known steps to reproduce?
No response

Thanks for reporting. This is broken due to a change in cohere API. I raised a ticket here to confirm this https://github.com/cohere-ai/cohere-python/issues/446
I'll get to fixing it today EOD


not working for ng-minLength and ng-required

Hello,
Adding ng-minLength and ng-required (not tested with other angular validation) will break ng-model
Thanks

Please update the issue with a Plunker or Fiddle re-creating.

Closing this ticket as a duplicate of #145. I will add min-length to that ticket.
Ng-required alone should be fixed now. Thanks for reporting.


Hardware solution no longer works since Microsoft changed the hosting of the check site.

"For users behind an external hardware-based firewall, we recommend that customers work with their hardware vendors to build the appropriate rules for their environment as each have different controls and configurations in implementation. NCSI probes follow the same requirement as Windows Updates regarding allowing the hostnames through and not mapping to specific IP addresses."
Sorry but that will no longer work effectively now you have moved this site behind a CDN (in this case Akamai's Kona Site Defender). If you query Anycast DNS servers (like Googles <IP_ADDRESS> or <IP_ADDRESS>) then you can get different A records back which means the firewall will be allowing different IP's though to the client is able to resolve. Very shortsighted here Microsoft.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 9e2a58ef-a61c-900a-f075-63fa41373ab9
Version Independent ID: 9e2a58ef-a61c-900a-f075-63fa41373ab9
Content: Network Connectivity Status Indicator FAQ for Windows
Content Source: WindowsServerDocs/networking/ncsi/ncsi-frequently-asked-questions.md
Product: windows-server
Technology: networking
GitHub Login: @Xelu86
Microsoft Alias: wscontent

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Update to all IESO public report links

Summary
Changed all http://reports.ieso.ca/public/ URL parts to https://reports-public.ieso.ca/public/ to reflect the IESO links update.
Details
The IESO changed public report URLs to start with https://reports-public.ieso.ca/public/ since October 23. Source: https://www.ieso.ca/Sector-Participants/IESO-News/2024/10/New-url-for-Accessing-IESO-Public-Reports-Site.

@BrianWeiHaoMa Sorry, without the verify=False two of the IESO tests fail so we'll have to add it back. My fault, I was hoping the new URLs might resolve the issue.

Apologies, I should have run the test suite locally myself before committing. The other tests using the new URL all passed so I'm guessing this is the result of a difference in configuration on the IESO's end for that specific download link, as the link that failed is an old one. I'll revert it back to the previous change.


type error on my local dataset "TypeError: init() got an unexpected keyword argument 'silent'"

hi, I am runing deepwalk model on my dataset, my dataset is an weighted and directed edgelist. without label file. I run following command:
python -m openne --model deepwalk --local-dataset --root-dir ../penpa/city_graph/data/edgelist/move_in/ --edgefile 2020-01-10-edgelist.txt --weighted --directed --name citygraph
but I got : TypeError: init() got an unexpected keyword argument 'silent'.
For what you have provided dataset, there will be ok.
here is the detail feedback:
Traceback (most recent call last):   File "/data/GAOZip/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main     "__main__", mod_spec)   File "/data/GAOZip/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code     exec(code, run_globals)   File "/data/GAOZip/OpenNE-pytorch/src/openne/__main__.py", line 240, in <module>     main(parse_args())   File "/data/GAOZip/OpenNE-pytorch/src/openne/__main__.py", line 227, in main     graph = Graph(silent=train_args['silent'])  # prepare dataset TypeError: __init__() got an unexpected keyword argument 'silent'
waiting for your replay : )
thanks

hi, I am runing deepwalk model on my dataset, my dataset is an weighted and directed edgelist. without label file. I run following command: but I got : TypeError: init() got an unexpected keyword argument 'silent'. For what you have provided dataset, there will be ok.python -m openne --model deepwalk --local-dataset --root-dir ../penpa/city_graph/data/edgelist/move_in/ --edgefile 2020-01-10-edgelist.txt --weighted --directed --name citygraph
here is the detail feedback: Traceback (most recent call last): File "/data/GAOZip/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/data/GAOZip/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/data/GAOZip/OpenNE-pytorch/src/openne/__main__.py", line 240, in <module> main(parse_args()) File "/data/GAOZip/OpenNE-pytorch/src/openne/__main__.py", line 227, in main graph = Graph(silent=train_args['silent']) # prepare dataset TypeError: __init__() got an unexpected keyword argument 'silent'
waiting for your replay : ) thanks

Hello, the result of my operation is the same as yours. How to solve this problem？thanks.

Hi @ZipGao and @Zhuandong0721 ,
Sorry for the inconvenience. This bug occurs because class SelfDefined which is defined in create_self_defined_dataset from dataloaders/graph.py does not accept silence as parameter. The bug is now fixed. Thanks for bringing up this issue!


Install Confusing for HASS

Version of the custom_component

Configuration

Add your logs here.

Describe the bug
Attempted to install this on my home assistant, where I also have frigate installed.  The default URL (some magic URL I don't recall it specifically) didn't work though I expected it to.   I just guessed I could write "http://ha.local:5000" (has is my host name, and I think 5000 was the port) instead and it did work. But then I thought perhaps http://localhost might have been a better choice, lest I rename the host?  But there is no way to change it.
Debug log

Add your logs here.

What is the question?

Home Assistant does not offer any way to change initial config flow variables (such as url/hostname). If you submitted the wrong URL for your backend, you'll need delete the integration and re-add it using the 3-dots menu, from the
Settings -> Devices & Services page:

What is the question?

Should the default URL the integration provides work, if frigate is installed via the home assistant add-on?  It had a weird host name (not localhost), seemed to be  default for the integration.

depends which addon you install, they are all listed in the frigate docs https://docs.frigate.video/integrations/home-assistant#hassos-addon

Please re-open if there is more to discuss.


v0.13.1

I've started testing on Mac and Windows.
Create Torrent is broken again. Will fix before shipping.

Testing

[ ] Create Torrent page

[ ] Single file
[ ] Multi file
[ ] Ways to get there: drag folder, Ctrl+N, click the + button in the torrent list
[ ] Comment and private flag. Use parse-torrent, check that the fields are right

[ ] Preferences

[ ] Set a different download folder
[ ] Start a torrent. Delete the folder. Restart the app. Note "missing path" warning.
[ ] Set a different fallback player. Play something the video tag doesn't support
[ ] Set always use external player. Play something the video tag does support.

[ ] Playback

[ ] Video. Try all the player controls.
[ ] Drag and drop soft subs
[ ] Audio

[ ] Casting

[ ] DLNA
[ ] AppleTV
[ ] Chromecast

K, everything works now, as far as I can tell.
It would be awesome if someone could test on Linux. Maybe @grunjol ?
Planning to release tonight

@feross merging since this is already on npm. I'll wait until later to update the website and auto updaters in case someone wants to test Linux first.

tested in linux, working fine

@grunjol Good point. Will fix.

@grunjol PR here: https://github.com/feross/webtorrent-desktop/pull/922


Test Credhub

Is your feature request related to a problem? Please describe.
Credhub is part of CAP 1.x and works with scf. We need to verify that it will also work kubecf.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This is covered by https://github.com/SUSE/kubecf/issues/29.


1291 split view progress bar in wrong position after entering fullscreen mode if the width ratio of two views adjusted

Motivation and Context
See Issue #1291.
Description
Adjusting size of players in splitview when in fullscreen mode (or vice versa) doesn't result in the control bar being in the wrong position anymore. This applies to subtitles as well.
Currently, the control bar of the right video player is used as the control bar for both video players, the one on the left is hidden. This results in said weird issues as the control bar has to have (potentially high) negative left margins. As I couldn't figure out what exactly is the issue with updating the left margin, this is fixed by switching roles of the two control bars (left is "global" control bar, right is hidden). This may have side effects! Only side effect known to me is that the subtitle settings menu is now an overlay of the left video player (instead of the right player).
Steps for Testing
Prerequisites:

1 Livestream / VOD (preferably with subtitles)

Navigate to a Livestream
Play around by adjusting sizes and toggling fullscreen mode.
See no errors.

This may have side effects! Only side effect known to me is that the subtitle settings menu is now an overlay of the left video player (instead of the right player).

This one and only side effect is irrelevant imo and as far as I can tell, but I my have missed something. I'd guess, that there was a reason for choosing the non-straight-forward solution of making the right control bar the main control bar, but I haven't found anything plausible yet. This may be on me though. If anyone knows more, let me know.


Can't connect to external TFS build after enforcing TLS 1.2 on Release Server

Hi,
We have 3 TFS servers installed, one in our development environment (which is the artifact source), then two other installations in our test and production environments which consume the build artifacts from the dev TFS instance and deploy them to their respective environments.
We have recently began enforcing TLS 1.2 communications on our test environment in preparation for it being enforced on our production env. Connections from both test and prod to dev are via https.
Since we have done that we can no longer connect to artifacts on our dev instance from test (but still can from prod). The error returned from the endpoint configuration screen in the services tab is:
"Failed to query service endpoint api: https:///tfs//_apis/projects. Error Message: The underlying connection was closed: An unexpected error occurred on a receive.. "
Note we can still connect directly to the dev instance from test using a browser - and can also retrieve the JSON file form the url it says it cannot connect to.
All TFS servers are on premises running version 15.117.26714.0.
Any help or ideas for a resolution would be greatly appreciated.
Thanks,
Ruairi.

This is pretty old issue. Closing this for now. Please re-activate if this is still an issue.

Hi,
This is still an issue for us. We need to enforce TLS 1.2 in our production environment for our PCI security certification.
At the minute we have to implement compensating controls to work around it, but that can only be a temporary measure.
Please re-activate this issue, we still need a fix for it.

Can you try steps mentioned in https://developercommunity.visualstudio.com/content/problem/186106/tfs-compatibility-with-tls-12.html

It is only the release extension that does not support TLS 1.2, not TFS itself.
When TLS 1.2 is enforced on the production (release) server, I can still access the TFS web portal on the development (build)  over https, but the release extension does not work, as described above.
When I allow TLS 1.0 client to work from the production server in the registry, the release extension starts working again too.
(note that we are also have another issue with the latest release of the extension as reported in issue #521, so we'd need both issues resolved before we can deploy an update to our production environment)
Thanks!

@ruairiohagan What version of tfs server is running on dev and test instances?
Can you run the below powershell command from both dev and test servers and share the results?
(Invoke-WebRequest -Uri https://www.howsmyssl.com/a/check).RawContent
Run the below powershell command from the test server and share the output. Replace the pattoken with the generated pat token and serverurl with your server.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$base64 = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes(":pattoken"))
$headers = @{ Authorization = "Basic $base64" }
Invoke-WebRequest -Uri https:///serverurl/_apis/projects -Headers $headers

@omeshp ,
howsmyssl from TEST TFS server:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: close
Strict-Transport-Security: max-age=631138519; includeSubdomains; preload
Content-Length: 1231
Content-Type: application/json
Date: Wed, 11 Sep 2019 07:40:39 GMT
{
"given_cipher_suites": ["TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_AES_256_CBC_SHA", "TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_3DES_EDE_CBC_SHA", "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", "TLS_RSA_WITH_RC4_128_SHA", "TLS_RSA_WITH_RC4_128_MD5"],
"ephemeral_keys_supported": true,
"session_ticket_supported": true,
"tls_compression_supported": false,
"unknown_cipher_suite_supported": false,
"beast_vuln": false,
"able_to_detect_n_minus_one_splitting": true,
"insecure_cipher_suites": {
"TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA": ["uses 3DES which is vulnerable to the Sweet32 attack but was not configured as a fallback in the ciphersuite order"],
"TLS_RSA_WITH_3DES_EDE_CBC_SHA": ["uses 3DES which is vulnerable to the Sweet32 attack but was not configured as a fallback in the ciphersuite order"],
"TLS_RSA_WITH_RC4_128_MD5": ["uses RC4 which has insecure biases in its output"],
"TLS_RSA_WITH_RC4_128_SHA": ["uses RC4 which has insecure biases in its output"]
},
"tls_version": "TLS 1.0",
"rating": "Bad"
}
howsmyssl from DEV TFS server:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: close
Strict-Transport-Security: max-age=631138519; includeSubdomains; preload
Content-Length: 1232
Content-Type: application/json
Date: Wed, 11 Sep 2019 07:43:41 GMT
{
"given_cipher_suites": ["TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_AES_256_CBC_SHA", "TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_3DES_EDE_CBC_SHA", "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", "TLS_RSA_WITH_RC4_128_SHA", "TLS_RSA_WITH_RC4_128_MD5"],
"ephemeral_keys_supported": true,
"session_ticket_supported": false,
"tls_compression_supported": false,
"unknown_cipher_suite_supported": false,
"beast_vuln": false,
"able_to_detect_n_minus_one_splitting": true,
"insecure_cipher_suites": {
"TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA": ["uses 3DES which is vulnerable to the Sweet32 attack but was not configured as a fallback in the ciphersuite order"],
"TLS_RSA_WITH_3DES_EDE_CBC_SHA": ["uses 3DES which is vulnerable to the Sweet32 attack but was not configured as a fallback in the ciphersuite order"],
"TLS_RSA_WITH_RC4_128_MD5": ["uses RC4 which has insecure biases in its output"],
"TLS_RSA_WITH_RC4_128_SHA": ["uses RC4 which has insecure biases in its output"]
},
"tls_version": "TLS 1.0",
"rating": "Bad"
}
Response of last PS script running on test server pointing to dev server:
StatusCode        : 200
StatusDescription : OK
Content           : {"count":1,"value":[{"id":"4b6bece7-ad1f-4a53-8fb3-ff2be21ee65a","name":"Main","description":"General
Repository","url":"https://dev-tfsserver/tfs/DeciphaDev/_apis/projects/4b6bece7-ad1f-4a53-8fb3-ff2...
RawContent        : HTTP/1.1 200 OK
Pragma: no-cache
X-TFS-ProcessId: e704a1e6-952d-4871-9ea6-d2e21aa18af0
ActivityId: 7cf6cf3f-9057-42ae-a1db-1ace2bd7b4de
X-TFS-Session: 7cf6cf3f-9057-42ae-a1db-1ace2bd7b4de
X-VSS-E...
Forms             : {}
Headers           : {[Pragma, no-cache], [X-TFS-ProcessId, e704a1e6-952d-4871-9ea6-d2e21aa18af0], [ActivityId, 7cf6cf3f-9057-42ae-a1db-1ace2bd7b4de],
[X-TFS-Session, 7cf6cf3f-9057-42ae-a1db-1ace2bd7b4de]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        : mshtml.HTMLDocumentClass
RawContentLength  : 271

@ruairiohagan Thanks for that info, looks like by default TLS 1.0 is getting used on test server.
Can you run the below query too:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(Invoke-WebRequest -Uri https://www.howsmyssl.com/a/check).RawContent

Hi @omeshp ,
We current have tls 1.0 enabled because if we enforce TLS 1.2 the connection just doesn't work.
Running your script (with TLS 1.0 still enabled) I get:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: close
Strict-Transport-Security: max-age=631138519; includeSubdomains; preload
Content-Length: 1768
Content-Type: application/json
Date: Thu, 12 Sep 2019 01:59:11 GMT
{
"given_cipher_suites": ["TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_AES_256_GCM_SHA384", "TLS_RSA_WITH_AES_128_GCM_SHA256", "TLS_RSA_WITH_AES_256_CBC_SHA256", "TLS_RSA_WITH_AES_128_CBC_SHA256", "TLS_RSA_WITH_AES_256_CBC_SHA", "TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_3DES_EDE_CBC_SHA", "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", "TLS_RSA_WITH_RC4_128_SHA", "TLS_RSA_WITH_RC4_128_MD5"],
"ephemeral_keys_supported": true,
"session_ticket_supported": true,
"tls_compression_supported": false,
"unknown_cipher_suite_supported": false,
"beast_vuln": false,
"able_to_detect_n_minus_one_splitting": false,
"insecure_cipher_suites": {
"TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA": ["uses 3DES which is vulnerable to the Sweet32 attack but was not configured as a fallback in the ciphersuite order"],
"TLS_RSA_WITH_3DES_EDE_CBC_SHA": ["uses 3DES which is vulnerable to the Sweet32 attack but was not configured as a fallback in the ciphersuite order"],
"TLS_RSA_WITH_RC4_128_MD5": ["uses RC4 which has insecure biases in its output"],
"TLS_RSA_WITH_RC4_128_SHA": ["uses RC4 which has insecure biases in its output"]
},
"tls_version": "TLS 1.2",
"rating": "Bad"
}


avoid chaining hooks; fix error handling for existing cases

Fixed a couple of these in #117, but https://github.com/stevekuznetsov/avalanche-forecast/blob/dfce2c50130e4f292ba2cfa9b3fb8f2e876c8f72/hooks/useMapViewZones.ts still has this problem - not sure if there are others, as well.
general rule:

if a hook ends up with a call to useQuery, then that should be the only hook referenced
the query fn passed to useQuery has a lot of latitude in terms of calling async functions - just write out an async function that calls other async methods in sequence, and use that

Is there a good blog or set of blogs on composing hooks? Seems weird that you wouldn't be able to do that cleanly.

Haven't seen any blogs, this is just stuff I figured out through staring at code.
I'd say the problem is really useQuery, as opposed to hooks generally. Or maybe I'd say the problem is directly exposing the return type of useQuery as part of the hook. Like if you have a setup like this you're going to be unhappy (and we had this pattern in a couple of places):
export const useTwoQueries = () => {
  const {
    data: hello,
  } = useQuery<string, Error>(['key_one'], () => {
    if (Math.random() > 0.5) {
      throw new Error('oh no');
    } else {
      return 'hello';
    }
  });

  return useQuery<number, Error>(['key_two'], async () => {
    // sleep for 5 seconds
    await new Promise(resolve => setTimeout(resolve, 5000));
    return hello.length;
  },
  {enabled: !!hello});
};

The way this hook is written, if the first query fails, the second one just hangs in the idle state forever
You can naively think that you should return the result of the first query if it fails, but then the return type of useTwoQueries changes based on what happens. Also, early returns + hooks will cause something to whine at you 😄
The return type of useTwoQueries as it's written is UseQueryResult<number, Error>, but that's not covariant with the result of the first call to useQuery, and getting them aligned requires a lot of manual property copying.

An approach that probably also works is to make the return value of the hook something explicit, as opposed to just returning the result of the final useQuery:
export const useTwoQueries = () => {
  const {
    isLoading: isLoadingOne,
    isError: isErrorOne,
    data: dataOne,
  } = useQuery<string, Error>(['key_one'], () => {
    if (Math.random() > 0.5) {
      throw new Error('oh no');
    } else {
      return 'hello';
    }
  });

  const {
    isLoading: isLoadingTwo,
    isError: isErrorTwo,
    data: dataTwo,
  } = useQuery<number, Error>(['key_two'], async () => {
    // sleep for 5 seconds
    await new Promise(resolve => setTimeout(resolve, 5000));
    return dataOne.length;
  },
  {enabled: !!dataOne});

  return {
    isLoading: isLoadingOne || isLoadingTwo,
    isError: isErrorOne || isErrorTwo,
    data: dataTwo,
  }
};

@floatplane this looks like the authoritative suggestion  (at least as of the time of writing...) from the author of the library: https://github.com/TanStack/query/discussions/889#discussioncomment-105882
Yikes.

@floatplane one issue with the bundled awaits is that you don't end up caching those intermediate requests, and you don't get deduping, etc. I'm thinking let's hoist all the data fetches into hooks and up to the top level in the components and I'll write a nicer wrapper to handle all the intermediate loading and error states.

Kind of an enormous bummer that this is not easier. I feel like I'm saying that more and more lately ...


Update left arm calibration file for working with calibration type 14

And Update mechanical file with limits

@sgiraz @AntonioConsilvio update robots-configuration for right arm too

Awaiting tests on the arms before merging.


Question regarding clients and ssl

Let me first explain the setup:

host1, host2, host3 are cluster members
hosts4,host5, etc are set as proxies to the above cluster
all etcd servers have for clients the listen urls and advertise urls set to <IP_ADDRESS> without ssl and for peers <IP_ADDRESS> with ssl

Can a client installed on the same machine with a proxy connect to the cluster through localhost with no ssl?
When I tried it failed, complaining that the certificate (there where no certificates involved for clients, obviously) was not good.
I was expecting for this setup to work.

all etcd servers have for clients the listen urls and advertise urls set to <IP_ADDRESS>

This does not work. Proxy needs to use the advertised client url to contact etcd members. If you set it to localhost, proxy will try to talk with localhost(which is probably proxy itself in your case). So it fails to connect to the real etcd members.
You should set the advertised url correctly. Then everything should works.
Please check https://github.com/coreos/etcd/blob/master/Documentation/proxy.md for more information.


Problem with saving cyrrilic symbols

Hi, peolple. Thans for your great tool.
I'm trying to use label-studio, but I faced problem with saving cyrrilic symbols. For exampl I type all cyrrilic symbols within TextArea and they looks greate:

But when I perform export to JSON_MIN I see that all CAPSED symbols corupted. And symbol 'я' was saved as '¤'.
"йцукенгшщзхъэждлорпавыф¤чсмитьбю ёЅ№“»ћ—„яЁ∆ƒЋќ–ѕј¬џ‘…÷” ≈Ќ√Ўў«’"

I use windows 10. How I can fix this problem?

My config file:

<Label selected="true" value="Клиент" />

<Label value="Менеджер" />

<Header value="Введите текст выделенной фразы" />

Hi, Ruslan, thanks for reporting the issue. Could you please tell which Label Studio version do you use? I can't reproduce from the latest 0.6.1 however haven't checked it under Windows.

I install my version last week.  pip freeze shows:
ppdirs==1.4.3 attrs==19.1.0 blis==0.4.1 certifi==2019.11.28 chardet==3.0.4 Click==7.0 cymem==2.0.3 Flask==1.1.1 Flask-API==2.0 idna==2.8 importlib-metadata==1.6.0 itsdangerous==1.1.0 Jinja2==2.10.3 jsonschema==3.2.0 **label-studio==0.6.0 label-studio-converter==0.0.16** lxml==4.5.0 MarkupSafe==1.1.1 mixpanel==4.4.0 numpy==1.17.4 orjson==3.0.0 pandas==1.0.3 Pillow==6.2.1 pyrsistent==0.16.0 python-dateutil==2.8.1 pytz==2019.3 rarfile==3.1 redis==3.5.2 requests==2.22.0 rq==1.0 six==1.12.0 srsly==0.2.0 tqdm==4.40.2 urllib3==1.25.7 wasabi==0.4.2 Werkzeug==0.16.0 xmljson==0.2.0 zipp==3.1.0
I use russian version of windows 10.

I have instaled label-studio on linux docker container and now all save without errors. I think errors happend because I use russian localisation WIndows.

Hi, @32r81b.
If you have time try this PR for Label Studio please:
https://github.com/heartexlabs/label-studio/pull/300
and this for label-studio-converter:
https://github.com/heartexlabs/label-studio-converter/pull/5


improve and simplify scripts

Maybe combine watch and serve to make a simple start script would be more user friendly.

npm start is in there, closing out.

npm start is in there, closing out.


Sealer run kubernetes 1.20.x using containerd , build and delete error

What happened:
What you expected to happen:
Sealer run kubernetes 1.20.x using containerd,  when building, Report an error ：

and when delete ,Report an error ：

The mirror I made is as follows:
registry-1.docker.io/bryantrh/kubernetes-withflannel-containerd-amd64:v1.20.11
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

sealer version (use sealer version): v0.5.0
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):  Ubuntu 18.04.5 LTS
Kernel (e.g. uname -a): 4.15.0-136-generic
Install tools:
Others:

hi,@bryant-rh ,at present ,our sealer registry still use docker as its runtime.we need to be compatible with containerd not only the k8s runtime.i will open an issue later to handle this.

hi,@bryant-rh ,at present ,our sealer registry still use docker as its runtime.we need to be compatible with containerd not only the k8s runtime.i will open an issue later to handle this.

我通过修改基础镜像，已经解决了这个问题。即部署1.20版本的k8s，runtime采用containerd，但是修改了基础镜像init-registry.sh 脚本，依然在master安装了docker来启动私有镜像仓库，就解决了这个问题，目前我这边已经制作了k8s-1.20.11版本，runtime为containerd的基础镜像（包括支持amd和同时支持amd64&arm64）,已经在几个环境中用起来了。sealer的确很灵活


Training guide updates

[x] progress bar
[x] center first page
[x] update lane change speed
[ ] update road image

Would be nice to update the road image if we can get something, but otherwise the training guide is in a good state.


... applies to multiple internal GET/PUT calls in item_update_identifier

as I'm adding dots arguments today to pass to curl, this is the first case i've seen where the same dots have to be passed to multiple functions - in this case, within item_update_identifier, the dots go to both query_item_identifier and to sbtools_PUT. I'm introducing this oddity because I don't know how else to handle the dots - should we be accepting two different well-formed, single-item config lists rather than allowing the user to pass in the info in standard curl dots format?

this issue emerged in addressing #79

I'm going to close this for now. While this usage does result in some potential weird behavior, it's not first-class functionality, so I'm not that worried about breaking them out separately until we run into a clear problem. Then the nature of the problem will help direct us towards an architectural solution.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/kn-plugin-operator-approvers
/assign knative-sandbox/kn-plugin-operator-approvers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping k8s.io/apimachinery 276a8a7...276a8a7:
bumping k8s.io/client-go b425fb6...97582f2:
  > 97582f2 Update dependencies to v0.23.5 tag
bumping knative.dev/operator b1e9c9d...0f37c1e:
  > 0f37c1e upgrade to latest dependencies (# 1011)
bumping k8s.io/api a1613d7...cd271e7:
  > cd271e7 Update dependencies to v0.23.5 tag
  > a6b2207 Merge pull request # 108139 from liggitt/automated-cherry-pick-of-# 108138-upstream-release-1.23
  > 80b93d4 Revert v1beta1 PodDisruptionBudget select patchStrategy
bumping knative.dev/hack 14f832e...f067737:
  > f067737 Adding code of conduct to reference knative/community's CoC (# 162)
bumping knative.dev/pkg e6e3cf0...0a1ec2e:
  > 0a1ec2e upgrade to latest dependencies (# 2474)
  > 1f7514a bump k8s deps to v0.23.5 (# 2469)
  > 19a2589 fix coverage settings (# 2471)
  > 2daa86a Electors can provide an initial set of buckets (# 2473)

/lgtm
/approve


kontena-cli: installation problem

After running 'gem install kontena-cli' and then 'kontena -v' I've got this error message:
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in to_specs': Could not find kontena-cli (>= 0) amongst [] (Gem::LoadError)         from /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in to_spec'
from /usr/lib/ruby/1.9.1/rubygems.rb:1210:in gem'         from /usr/local/bin/kontena:18:in '
=============================================
Some related information:

At the beginning I had ruby 1.8.7 on my Ubuntu comp. Then I installed ruby 1.9.3 by this command:

sudo apt-get install ruby1.9.3

Then I changed the default ruby link (to change from ruby 1.8.7 to 1.9.3) by running command:

sudo update-alternatives --config ruby

After that I run 'gem install kontena-cli' and 'kontena -v' as mentioned above.

We support only >= Ruby 2.0.


how to install licode on redhat linux

My linux version is 'Linux version 2.6.32-279.el6.x86_64', and I found only 'installUbuntuDeps.sh' in scripts directory(the 'master' branch), can I use it on redhat linux?Thanks in advance!

We only support Ubuntu 14.04. Please use discourse to ask questions to the community.


Mapper does not affect Bar Series fill

How to reproduce?
Create a mapper
CartesianMapper<VolumeValue> mapper = Mappers.Xy<VolumeValue>()
                        .X((item, index) => index)
                        .Y((item) => item.Volume)
                        .Fill((item) => item.Fill)
                        .Stroke((item) => item.Stroke);

                    GColumnSeries vol = new GColumnSeries
                    {
                        Configuration = mapper,
                        Values = new GearedValues<VolumeValue>()
                    };

With a value class:
private class VolumeValue
        {
            public SolidColorBrush Fill { get; private set; }
            public SolidColorBrush Stroke { get; private set; }

            public int Volume { get; private set; }

            public VolumeValue(int volume, SolidColorBrush color)
            {
                Volume = volume;
                Fill = color;
                Stroke = color;
            }
        }

and then add values to your series:
 _NamedSeries["volume"].Values.Add(new VolumeValue(bar.Volume, bar.Open <= bar.Close ? Brushes.Green : Brushes.Red));
Extra notes
I would expect with this code that bars for days where prices went down be filled red, and days where prices went up be filled green, but Mapper doesn't seem to be applied on bars.
This mapper works on a GLineSeries, but the result isn't as satisfying as if they were bars.
I am using
LiveCharts <IP_ADDRESS>
LiveCharts.Geared <IP_ADDRESS>
LiveCharts.Wpf <IP_ADDRESS>

Fixed in PR (https://github.com/beto-rodriguez/Live-Charts/pull/644)

Same Bug on the GScatterSeries.
Only fixed for the non-geared version.

I just purchased the Geared license because I have a lot of points to plot. I've made different series with fills and strokes that don't need a mapper. But that isn't dynamic.
Any other work around with GScatter Series?

Very annoying that this bug is not fixed in the geared version yet. At least the paid version should be maintained until 1.0 comes around some day.

Workaround from my side is to set the ColumnWidth property to some negative value, for example, -5 and you will be able to see your bar minimum width to 10 pixels.
But please take a look in this link that explains what you should do:  https://lvcharts.net/App/examples/v1/wpf/Date Time, see the The Bars Problem


Search section does not reset when after an invalid search query

Describe the bug
When the user enters a search query, the previous image thumbnails are removed from the grid. If the new query is invalid, then there are not any images to fill the grid as the API response returns a validation error. Though the user is notified that the query is invalid, the image grid is of the same size. Refer the gif below.
To Reproduce
Steps to reproduce the behavior:

Search for something
Load a couple more images.
Prepend ';' to the search query (this is an invalid query)
See error

Expected behavior
The search section should reset to the default state.
GIF

I've resolved the issues in the PR can i take up this issue

@DantrazTrev I have reviewed the PR and added some comments. You can work on a different issue after the PR is finally merged.

Is it still available? Can I take it up.

@cristomathew Sure, go ahead!


support sizes for Resize op

The resize op optionally supports specifying the target shape using the optinal sizes argument. The current implementation does not seem to support this argument. Please add this functionality.

Do we have a model that need support sizes argument? According to operators.md, only one of 'scales' and 'sizes' can be specified. Currently when we convert to onnx Resize, we always specify scales, so no need for sizes. What is the use case here? Thanks.

@jiafatom our usecase is a unet which uses tf.image.resize in the decoder path, instead of a classical upsample layer. This allows us to match the tensor shapes for the concat operation without padding or slicing. If it helps, I can provide a minimal working example.

@liob Yes, please provide a minimal working example for us to debug, thanks.

@liob  Hi, if this is still an issue, please go to onnxruntime  to open an issue.


Improved hooks monitoring

...to work for specific edge cases with a simpler solution.
Re-reads hooks directories after any changes are detected by the watchers.
Added monitoring test for adding a different invalid hook to primary directory.
Some issues with prior code:

ReadDir would stop when it encounters an invalid hook, rather than registering an error but continuing to read the valid hook.
Wouldn’t account for Rename and Chmod events.
After doing a mv of the hooks file instead of rm, it would still think the hooks file is in the directory, but it has been moved to another location.
If a hook file was renamed, it would register the renamed file as a separate hook and not delete the original, so it would then execute the hook twice - once for the renamed file, and once for the original name which it did not delete.

Signed-off-by: samc24<EMAIL_ADDRESS>

/approve

@samc24 thanks for the PR.  I think you shortened the PR title in GitHub, but did not do git commit --amend -s, shorten it there too, then repush.  You'll need to do that to get the git validation happy.

Validate is failing on the first line of your commit being over 90 characters in length

I do like the simplification in the code a lot, though.

oops, messed something up while trying to fix and squash commits. ignore above, will try to fix that!

@saschagrunert I thought we had determined ReadDir was not working correctly and would fail differently then in the past.  Basically we need ReadDir to complain about bad hooks, but to continue loading the other hooks, before returning the error.

@rhatdan @TomSweeneyRedHat @giuseppe @saschagrunert PTAL

LGTM
Tests are green! @mheon @vrothberg @rhatdan PTAL

/lgtm


coriolinus feedback

Closes:

https://github.com/solidiquis/ez_encrypt/issues/1
https://github.com/solidiquis/ez_encrypt/issues/2
https://github.com/solidiquis/ez_encrypt/issues/3
https://github.com/solidiquis/ez_encrypt/issues/4
https://github.com/solidiquis/ez_encrypt/issues/5

Thanks @coriolinus for the very valuable feedback. Great to learn more idiomatic ways to do things in Rust!


Select Arduino board and port manually [enhancement]

I really like your plugin for Atom and I use it everyday but it would be even better if you added a board and port menu on the bottom bar.

The board menu is at the bottom bar (it only shows up if you are in a source file of an arduino project) and the port is automatically determined, making the port menu obsolete

Duplicate of #36

@Sorunome If I have 2 Arduino connected to 2 USB ports it doesn't work.


Crowdin translation issues

Looking for someone who have experience in using Crowdin as translations management. To look into a bug which causes Crowdin to automatically add an empty language key (" ") into the translation.csv file.
It is such a mystery to me as it should only be adding language keys like en, fr, zh_CN into the the csv file but here, it also adds an extra column with an empty key and it causes godot to not automatically re-import and read the translation.csv file when pulling the commits from crowdin.
As of now, the workaround I do is to manually delete the extra column by editing the translation.csv file itself.
Read how to edit the file here: https://docs.godotengine.org/en/stable/tutorials/assets_pipeline/importing_translations.html#doc-importing-translations

@Andrulko helped me with the initial setup. Do you know what could cause the empty string? 🤔

i really do not know. lol

@Andrulko helped me with the initial setup. Do you know what could cause the empty string? 🤔

i really do not know. lol

I fixed the translation.csv file with commit 16a10d30a97cb711b5423b04966a92b74065e95e hopefully.

Let's keep an eye on it. I will close this issue for now.


WCF Connected Service breaks the RC2 app

Hi,
I started a new RC2 Web App. Copied Service References over from an RC1 project.
Inserted these 2 lines in project.json
    "System.ServiceModel.Primitives": "4.1.0-rc2-24027",
    "System.ServiceModel.Http": "4.1.0-rc2-24027"

The web app compiles.
After start the web app I get this exception:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeAssembly.get_DefinedTypes()
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.GetCollection()
   at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()
   at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()
   at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)
   at Microsoft.AspNetCore.Routing.RouteCollection.<RouteAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()

Has anybody an idea?
Regards,
Ladislav

I needed to add all WCF packages to project.json eg.
"System.ServiceModel.Duplex": "4.0.1-rc2-24027",
"System.ServiceModel.Http": "4.1.0-rc2-24027",
"System.ServiceModel.NetTcp": "4.1.0-rc2-24027",
"System.ServiceModel.Primitives": "4.1.0-rc2-24027",
"System.ServiceModel.Security": "4.0.1-rc2-24027",


Purge deleted and expired events on schedule

Is your feature request related to a problem? Please describe.
Purge deleted and expired events on a schedule.
Add a settings option to toggle and configure the period when this job runs.
Describe the solution you'd like

Maintenance worker purges deleted and expired events on schedule.
Enable flag and period should be configurable.

Describe alternatives you've considered
None

@Cameri is there currently a way to manually purge events?


Dependency Problem

I have added the plugin using command line, but after that when I add a dependency to my angular module, something like this:
angular.module('ionicApp', ['ionic','ion-floating-menu','starter.controllers','starter.companycontrollers', 'starter.directives', 'starter.services'])
then after starting app in browser using  " ionic serve --lab " command, the white output is shown, meaning the app crashed because of wrong code. things work fine after I take out this dependency. (,'starter.controllers','starter.companycontrollers', 'starter.directives', 'starter.services' are my controllers and services, please ignore). I am pretty sure the plugin is installed as I have tried installing multiple times. Could it be an Angular JS version problem?
I have also added CSS, JS link in my index.html.
my www folder:
www.zip
my output screenshot:

Hi @ng22792,
I see that in your index.html file you load ion-floating-menu javascript file before the ionic bundle, i.e. before the angular library. This is the reason why you are getting the error angular not found.
Please assure that you always load angular library first, e.g.

Cheers


Replace h.setpointer() with more intuitiveseg._ref_somevar_suffix = ptr

Robert McDougal:
"ever since 7.7, you can directly set pointers using e.g.
seg._ref_somevar_suffix = ptr
(instead of using h.setpointer which is somewhat nonintuitive)"

Thanks! Someone with more influence on Neuron development should tell them that such things need to be documented rather than being secret knowledge, e.g., in the form of release notes :)
@salvaord do you want to make the pull request? I'm also happy to do it if you don't have time


SAK-32558 Unescaping any html entities in titles before sorting.

Proposed fix for SAK-32558
Unescaping any html entities in titles before sorting.

So it looks like because of the complexity of SAK-29138 we can't just use Site.getTitle() and sort earlier.
I'd prefer it if we did the sort on the raw list of Sites and then after they are correctly sorted converted them into a map. That means calling SiteService.getUserSpecificSiteTitle() for each site  which can be expensive. ugh...

How do we move this forward? Are we waiting for review or for a different, better fix?

Looks like TitleSorter actually has the site objects. Could it just use getUserSpecificSiteTitle instead or is that expensive?
Also, List<Map>.... wtf are with those types!

Hi @LHSnow , could you please submit a licensing agreement so that we can accept your contributions?
Information about the Apereo Licensing process and a link to the ICLA online form (individual contributor license) can be found at
https://www.apereo.org/licensing

@ncaidin Thank you for the reminder, licenses are now signed!

Thanks @LHSnow  ! License on file.


chore: update error metrics report

Related to #65
TODO

[x] Track the 3xx status code as "RedirectRequestException".

[x] add response_code via labels

[x] Track the 413 status code as "PayloadTooLargeException"
[x] Track 408 status code, and we should handle it as a timeout error.
[x] Implement adding more information via labels for Unknown errors, so we don't spend too much time debugging.

[x]  Add error_message and response_code to the ErrorMetricsEvent labels

Tests

[x] Track the 3xx status code as "RedirectRequestException"

[x] add response_code via labels

[x] Track the 413 status code as "PayloadTooLargeException"
[x] 408 errors, and we should handle it as a timeout error.
[x] Implement adding more information via labels for Unknown errors, so we don't spend too much time debugging.

[x]  Add error_message and response_code to the ErrorMetricsEvent labels

hi @cre8ivejp , please help me to take a look on this PR. Thank you.

@duyhungtnn, can you remove the comments linking to the issue?
// https://github.com/bucketeer-io/ios-client-sdk/issues/65

I think we don't need them for this PR. We can just check the git history.

hi @cre8ivejp
I removed a comments also I fixed one test that fail randomly.


Consume messages from beginning after calling MarkOffset in Consumer

Hi,
I am using the example provided in cmd/sarama-cluster-cli and see that messages that are read have their offset marked using consumer.MarkOffset(msg, ""). After reading messages in the consumer, I want to read messages again after restart of consumer.
Is it possible to read the messages again in the same consumer after restarting the consumer?
I see that it is possible to do the same in the default implementation of consumer provided with Kafka tar i.e. after restart of kafka-console-consumer.sh, I can read the messages from beginning.
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning

@mohigup we had several discussion recently in https://github.com/bsm/sarama-cluster/issues/133#issuecomment-306146528. this is something that would require coordination between consumers within a group. to achieve this (cleanly), you need to:

stop all consumers
wipe the consumer group offsets
restart consumers


Use official CNA names to identify vulnerability sources

Current Behavior
Currently, vulnerability sources are identified based on the Vulnerability.Source enum.
Proposed Behavior
It would be better to use official CNA names instead, where applicable:
https://www.cve.org/PartnerInformation/ListofPartners
As identified in https://github.com/DependencyTrack/hyades/issues/1295, GITHUB should ideally be either GitHub_P or GitHub_M.
Checklist

[X] I have read and understand the contributing guidelines
[X] I have checked the existing issues for whether this enhancement was already requested

Needs more research and clarification. CNA partner list does not include the sources clearly and the hardcoded list in the script is missing some of names like ossindex, retire.js, npm etc.


Fixes #5475 Disable DataVirt UI when Komodo server isn't present

Depends on https://github.com/syndesisio/syndesis/pull/5726
https://github.com/syndesisio/syndesis/issues/5475

PR Storybook available here

Agree, I think we should leave config.xxx.json enabled for development


ValueError: ' ' is not in list

I'm training my own dataset. Here there is my actual alphabet from
CHARMAP = ['', '', ''] + list("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,.-! ")
note my alphabet it has a space lane at the end because cmd return me the next message
ValueError: ' ' is not in list
any help would be great as its for an urgent project. Thanks all!

Actually i have found that this message changes, sometimes says ' ' is not in list, '.' is not in list.....
But you can check it exists  in my before character list

I tryed with FULL_ASCII = True but it's not work.
And somes times in getting assert len(lex) < self.bucket_specs[-1][1].
I configured the next parameters MAX_PREDICTION = 20 but actually havent words with that size. Something is going wrong i think :S

I will attach a screenshot of my problems.
Here what the cmd return
https://pasteboard.co/IoFcXoa.png
Here my data_gen.py
https://pasteboard.co/IoFe3z1.png

fixed, i was ritting in the wrong place

I am curious how
CHARMAP = ['', '', ''] + list("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,.-! ")
is wrong?

I was writing in an incorrect file :)

Hey, how did you fix this issue?


Updating flatbuffers to 1.8.0: case issue

I am porting flatbuffers 1.8.0 to hunter, but I'm getting a case issue in linux.
Upstream is using "Flatbuffers" while hunter's current version is using "flatbuffers"
This cause an error on linux where files are case sensitive
Using the capital in projects fix the issue:
hunter_add_package(flatbuffers)
find_package(Flatbuffers CONFIG REQUIRED)
             ^

But this will break backward compatibility for current verison.
Should I just remove the previous version and rename hunter package to "Flatbuffers"?
Used flatbuf's commit:

https://github.com/google/flatbuffers/tree/ba08b0ec0266f505bfe06e49e993091157e19c93

CI tests:

https://ci.appveyor.com/project/Meoo/hunter/build/15

mingw fails because M_PI is not standard (I'll open an issue for that)
Otherwise, all green

https://travis-ci.org/Meoo/hunter/builds/310195737

OSX seems to work fine
Every linux build can't find flatbuffersConfig.cmake, FlatbuffersConfig.cmake is present

Upstream is using "Flatbuffers" while hunter's current version is using "flatbuffers"

Upstream version was not working from the box, Hunter use patched version:

https://github.com/ruslo/hunter/blob/c4491353ebef3a57b4165dacc66f42db7cac2df5/cmake/projects/flatbuffers/hunter.cmake#L12-L21

If new upstream version work from the box then let's use their filenames, i.e. let it be find_package(Flatbuffers ...) instead of find_package(flatbuffers ...). Just mention it in documentation.

Alright I changed the name and added comments in documentation
PR https://github.com/ruslo/hunter/pull/1241


Seeing progress from one viewlet showing up in other viewlet

I wonder why the progress service gets disposed in compositePart.ts https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/browser/parts/compositePart.ts#L180 ?

I would think it was there before we converting this code to work with composits.
From how I understand the progess service gets created on line 166 and thus needs to get dispoed later. Though why don't we use a centralized progress service like in debugViewlet.ts?

@isidorn but the progress service is scoped per viewlet so that it can be used in each viewlet and is scoped to that viewlet (e.g. when you switch to another viewlet while one shows progress, we stop the progress).
I am lately seeing that progress from the git viewlet leaks into other viewlets and wanted to understand why this happens.

I have updated the summary to reflect the issue I see. When I have a large repository like TypeScript, open the git viewlet, trigger a refresh and click on another viewlet, I see the progress from git in that other viewlet.

Nice finding, I will investigate.


AbstractConnectionFactory - addressShuffleMode RANDOM as default

Expected Behavior
When using a RabbitMQ cluster, client applications using Spring's ConnectionFactory abstraction connect by default to the first host configured in the list of addresses provided. Using a RabbitMQ cluster provides not only fault tolerance in the case of node failures, but also resiliency when client connections are distributed among all nodes. I can't think of a single use-case where it is desired to let all client applications connect to the same node in a cluster. Therefor I would expect the default value of addressShuffleMode in AbstractConnectionFactory to be set to RANDOM so clients randomly choose a node to connect to, resulting in a somewhat even distribution of client connections among nodes in the cluster.
Current Behavior
The default addressShuffleMode is NONE, resulting in all client applications connecting to the first node defined in the addresses.
Context
In our cluster a single node handles almost all of the client connections, resulting in unnecessary load on the node. Additionally, performing an upgrade of that node or observing a crash would result in all client applications losing their connections instead of just a portion.
Happy to make a PR if this sounds feasible.

Seems reasonable; NONE was chosen because it was added in a patch release and we can't make behavior changes until minor/major releases.
Since the upcoming 3.0 release is a major release, we can make such a change; a PR would be appreciated; we would also need a change to the doc as well as an entry in the what's new section.
Thanks.


Change require statement at README

Change require statements at README.md from
const uuidvX = require('uuid/vX');

to
const uuidvX = require('node-uuid');

From README

[Deprecation warning: The use of require('uuid') is deprecated and will not be supported after version 3.x of this module. Instead, use require('uuid/[v1|v3|v4|v5]') as shown in the examples below.]


No module named torchensemble.method

@AaronX121, Dear AaronX121,
I tried to follow the code snippet provided on the README.md, but it complains with a run-time error of ModuleNotFoundError: No module named 'torchensemble.methd'.
The run-time error seems to make sense since there is no method function inside of the torchensemble folder.
Could you help me how to fix or get around this issue?

The keyword method in README.md indicates one of {fusion, voting, bagging, gradient_boosting}. You can see scripts in /examples for details on how to use.
Let me know if there is still a problem :-)

Feel free to open another issue if you have any problem.


link in SAE to get to graphical editor of same model

This wasn't really necessary in the older version of Noctua since you had to go back up to the top level to start a new model anyway.
However, now that you can start a new model from the SAE, I find it really frustrating that I can not easily get from the SAE to the graphical editor for the model I am currently entering annotations on. I would really like to be able to open the corresponding graphical view of the model I am currently working on in the SAE directly from the SAE, preferably into a new window, like when you open the SAE from the graphical editor

To go to graphical editor and other conveniences, click view and click link. A new tab will appear

Thanks!


Pages's parent_name argument not working as documented

Either the documentation is outdated, or there is a problem in the source code. Calling this attribute from a normal page currently returns "None" instead of the name (which can be easily called by using self.section.name from within a page hook). If there are no dependencies to this attribute, I suggest removal (either from the documentation or both code and documentation if the attribute still exists)

Curiously, I just tested this again and everything works as expected. The problem might have had a different cause when it occured earlier.
Closing this for the time being.