Increase sensitivity of travis

I've seen that travis still passes even though the current master hasn't been able to build correctly without warnings.
https://travis-ci.org/Karsten1987/roscon2018/builds/533585910
I was wondering if we can somehow change the granularity of error reporting to see that the current master comes with warnings.

TL;DR I don't think there is a satisfying way of doing this.
colcon doesn't provide (that I know of) a way to return a different return code if stderr/warnings
IIRC ci.ros2.org uses a plug-in that parses the console output looking for warnings.
One issue is that if the action files generation create a bunch of CMake warnings related to connext so the job will always fail. We would need to have boilerplate to install connext, accept their licence, source connext setup file before every build and eat he extra build time, so no really a great solution.
We could register this repo on rosdistro to leverage the dev jobs and the warning reporting. But it will not be triggered nightly and will be based on the released packages and not the latest nightly build.


Did some gramma corrections

I think it should be the BGW not just BGW.
added some minor corrections

No "the" sounds better as a brand name :-).


Added FAQ about why Zsh will not work with youtube-dl and how to fix it

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[ ] Read adding new extractor tutorial
[ ] Read youtube-dl coding conventions and adjusted the code to meet them
[ ] Covered the code with tests (note that PRs without tests will be REJECTED)
[ ] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.
I added an FAQ about using youtube-dl with Zsh and how to fix an issue where Zsh returns a "no matches found" error. The fix is to put quotes (single or double) around the URL in use when using ytdl in Zsh. -- It appears that this question has shown up in the issues section but not in the pull request section

This is already in FAQ.


google-api-php-client auto-refresh does not update internal access_token and created fields

[Apologies if this is not an actual bug, but it seems to me it should work this way, and the quickstart.php example seems to suggest it should.]
Version: 2.4.0   google/apiclient
After the library does an auto-refresh of the access token, it seems that the internal [access_token] and [created] values as returned via the getAccessToken() method do not update.  This results in the pre-refresh values being used and returned by subsequent calls, something that is going to be unnecessarily hiking load values on the Google side.
Unless I'm missing something, I would intuitively expect these to be updated to the latest value, so that subsequent calls do not repeat the refresh operation, and so that the new values are available via the getAccessToken() method.
The values do update correctly, and are returned correctly, when using $client->fetchAccessTokenWithRefreshToken() when tested as of 2.4.0.
I expect that few people are using the auto-refresh functionality so far, but as time goes on you will see access tokens being refreshed on every access as a symptom of this problem.
Current workaround code in a setTokenCallback() function is:
$tokenCallback = function ($cacheKey, $newAccessToken)
  use (&$accesstoken, $TOKEN_FILE, &$client) {
    $accesstoken['access_token'] = $newAccessToken; // workaround 2.4.0
    $accesstoken['created'] = time(); // workaround 2.4.0
    file_put_contents($TOKEN_FILE, json_encode($accesstoken, JSON_PRETTY_PRINT));
    $client->setAccessToken($accesstoken); // workaround 2.4.0
    echo "callback: New access token obtained ck=$cacheKey - ".print_r($newAccessToken, 1)."<br />\n";
};
$client->setTokenCallback($tokenCallback);

Version from composer.lock:
"name": "google/apiclient",
"version": "v2.4.0",

Hi Brian, thanks for the report. We'll look into this further. Could you share an example of the code and configuration you are using to setup token refreshing?

Hi John,
This is the callback code I used to workaround and ensure the refresh token
is saved:

$tokenCallback = function ($cacheKey, $new_access_token)
  use (&$accesstoken, $TOKEN_FILE, &$gclient) {
  // auto-refreshed token is not correctly exposed

 $accesstoken['access_token'] = $new_access_token; // workaround

2.4.0         $accesstoken['created'] = time() - 2; // workaround 2.4.0 bug*
saveToken($accesstoken);

  $gclient->setAccessToken($accesstoken); // workaround 2.4.0 bug*

echo "callback: New access token obtained ck=$cacheKey - "
. print_r($new_access_token, 1) . "\n";
};
$gclient->setTokenCallback($tokenCallback);

Everything else is pretty much standard code as provided; the bold lines
were the change required to make it work.
If the access token isn't saved at that point, you lose the refresh_token
(and possibly the id_token, but haven't investigated) and can't get it
offered again unless you force it with setPrompt or setAccessPrompt (?).
Should be only a few lines fix.
Cheers,
Brian
On Sat, 21 Dec 2019 at 01:54, John Pedrie<EMAIL_ADDRESS>wrote:

Hi Brian, thanks for the report. We'll look into this further. Could you
share an example of the code and configuration you are using to setup token
refreshing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/google-api-php-client/issues/1758?email_source=notifications&email_token=AD7QK5QB3Z6I6TQOKUH73W3QZTMCTA5CNFSM4J2YLKM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHNEFLY#issuecomment-567952047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7QK5T6XSMTP4GITCR2F3LQZTMCTANCNFSM4J2YLKMQ
.

Have same issue and also had to put in a workaround

This is indeed a bug. Some ways to fix it:

Add a default token callback which updates the local token when a new one is fetched.
have getAccessToken pull from the cache using the cache key when $this->token is null, and set $this->token to null when it's expired.

@bshaffer @jdpedrie is there a fix in the works?

@danoscarmike sorry for the delay. Please check out https://github.com/googleapis/google-api-php-client/pull/1926 and see if this fix works for you! Feel free to leave a review, and hopefully we'll have this merged and released soon.
You can test by using dev-fix-caching as the version of this library in composer.


[Timeline] Limitations of using Vue component as items or groups

I'm just starting to use your (awesome :wave: ) project. I'd like to show some complex items (with images) in timeline, and since I already have some Vue components to handle this, I used your example to try it.
However, I noticed some limitations:

Reactivity is non-existent. Moreover, the template function is called on every select and unselect event, and it build a new component every time. I kind of solved it by caching instances of component items, but it doesn't solve the fact that changes in component state are not reflected
Only HTML and CSS from the initial state. The rest is ignored, and it includes events. For example, I used some router links, and they are not handled by JS event, but trigger a page reload, which is… undesired :wink:

I don't know if those limitations can be lifted. The template method from visjs-timeline seems out of control. Maybe there is something to do to hook on Vue component and call redraw when needed?
And for JS and events, I don't even think this is possible, so maybe it could be good to write it somewhere in the documentation.

I'm glad you like it @Glandos. I too use some complex vue components in the items and I also use a JS Map to cache the components to avoid to recreate them.
For the lack of reactivity within the component, I either use this.$parent either vuex. It is a bit clunky but I haven't found a better solution yet.
I'm not sure I fully understand/encountered your second point, if you ever have the time to show me an example.

Right, you remind me that I found another solution, that works really better for me.
Here is a quick excerpt. First the template:
    <Timeline
      ref="timeline"
      :items="timelineItems"
      :options="timelineOptions"
    />
    <div v-show="false">
      <TimelineCard
        v-for="(item, index) in items"
        ref="itemCards"
        :key="index"
      />
    </div>

Timeline is your component, and TimelineCard is a custom component I made.
Then, the data:
  timelineItems = [] // Put your stuff here
  timelineOptions = {
    template: (item) => {
      // If using typescript, see https://github.com/visjs/vis-timeline/pull/836
      return this.$refs.itemCards[item.id].$el
    }
  }

And… this is basically it. As you can see, the trick is using refs embedded in an v-show="false" div. And now, your element belong to the Vue tree, are debuggable, reactive, hot-reloaded, etc.


Battery discharges with power adapter enabled

Under a ~30W load with a 96W charger, the battery discharges to the lower limit set in the app then charges up again. Power adapter is set to be enabled. Expected behaviour is all power will be taken from the power adapter without draining the battery.

Battery Toolkit 1.4, MacOS 14.5

Well, are you sure it’s a consistent 30 W load? Macs, especially the 16”, will use the battery if AC is not enough. Battery Toolkit has no control whatsoever over this behaviour.

I have a 14" MBP which should not be able to use more power than the 96W charger can provide. ~30W is seen under Mx Power Gadget, which along with monitor, etc. (monitor is set to medium-low brightness) should only be around ~40W.

I can’t find any hard facts on this right now, but I think it can very well use more than 96W, especially the Max models. The 16” just has a better thermal headroom to sustain the high clock speeds (and supports faster charging), I’m not aware of it having a larger maximum theoretical power draw. And again, the tool cannot influence this behaviour either way.

To show I was not using more power than the adapter, I let the battery charge under the same load, and despite being under load the battery was still charging with 13 W.


fatal: unable to access '...': .netrc parser error

What were you trying to do (and why)?
brew update with .netrc file present in $HOME directory
What happened (include all command output)?
> brew update
==> Updating Homebrew...
fatal: unable to access 'https://filippo.io/age/': .netrc parser error
fatal: unable to access 'https://github.com/Homebrew/brew/': .netrc parser error
fatal: unable to access 'https://str4d.xyz/rage/': .netrc parser error
Error: Fetching /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/filippo.io/homebrew-age failed!
Fetching /home/linuxbrew/.linuxbrew/Homebrew failed!
Fetching /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/str4d.xyz/homebrew-rage failed!

It's more of a FYI as the issue is with underlying cURL: https://github.com/curl/curl/issues/15496

Thanks for the heads up. I'm closing this as there's currently nothing actionable from Homebrew's side. But we can update our curl when upstream ships a fix.

Hello i have same error, but my action with golang private repository, before ist ok, but now error

I have the same error as @mnasruul-xxi

As a workaround you may run brew with system Git, like:
HOMEBREW_GIT_PATH=/usr/bin/git brew update

In case someone else finds this, the root cause for alpine to be broken is a libcurl update to 8.11: https://github.com/curl/curl/issues/15496
The curl team is already working on a fix.

Thank you @LKaemmerling

In case someone else finds this, the root cause for alpine to be broken is a libcurl update to 8.11: curl/curl#15496
The curl team is already working on a fix.

thanks for the information bro

Homebrew curl will be updated when Homebrew/homebrew-core#196952 is merged in a few hours.

The fix is in. You can now get it with brew update && brew upgrade curl.

this is still broken in brew on linux - is linux-brew updating at a different cadence ?

oh - wow. yes, I'm hitting the >128 char issue (the error message is basically the same unfortunately). should we build curl --HEAD to get this fix ?

should we build curl --HEAD to get this fix ?

I've opened Homebrew/homebrew-core#197094 to backport that fix to Homebrew curl too. Once that's merged, you can do brew reinstall curl to get the updated version. If you want it fixed now, brew install --head curl is also an option.

FYI @mellery451: Homebrew/homebrew-core#197094 is now merged. You can now do brew update && brew reinstall curl to get the fix.

working now - thank you!


wechaty 有人退群的时候报错

error: no id
    at Firer.<anonymous> (/.../node_modules/wechaty-puppet-puppeteer/src/firer.ts:349:13)
    at Generator.next (<anonymous>)
    at fulfilled (/.../node_modules/wechaty-puppet-puppeteer/dist/src/firer.js:22:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)

报错是这里的代码 报出的，而且我看注释也写了 fixme。啥时候可以修复呀。

@huan

It would  be great if you can provide:

the reproduce-able code
the Pull Request that could fix this issue.

Otherwise, we will not be able to look into it very soon because we have very limited resource to maintain this module.

我也遇到了 但是暂时没有定位出来 请问 @yuqingc 你解决这个问题了吗


Couchapp template application with standard bits used by all our couchapps

Create a template (skeleton) couchapp with the commonly shared bits:

Yui;
Replication filter (to avoid replicating design documents);
jquery.couch* vendor java scripts with fixes to properly work when behind the frontend (when mounted under "/couchdb");
Other commonly used vendor files (json2.js, sha1.js, etc).
... ?

It should not include unnecessary files/directories as those generated by the couchapp generate command.

@ticoann you are the master and will know by heart whether this standard template is in place or not :-)

Diego did this already wrong time ago and we are using it.


Add Chung-Ang university

@coli-geonwoo I am sorry, the domain cau.ac.kr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


How can I use it to rank document after the model trainned?

I want know how can I feed the input data and get the ranking result from the trained model?

Hi,
Sorry, for the super late reply - I forgot to monitor the repo. We have now updated the library and especially for dense retrieval we have many evaluation settings (via dense_retrieval.py). If you want to do re-ranking evaluation only you can use the --continue-folder setting of train.py
Best,
Sebastian


Update Cisco Mobility Express module version

Description:
Update Cisco Mobility Express module version.

There seems to be use of f-strings in the library. We can't merge this PR during this release cycle and until our CI has bumped minimum compatible Python version to 3.6.

There seems to be use of f-strings in the library. We can't merge this PR during this release cycle and until our CI has bumped minimum compatible Python version to 3.6.

Thank you. I have removed the f-strings now so hopefully too will pass now.

@pvizeli CI seems to be stuck.

Please rebase on latest dev branch to let the build pass.

Try to open a new PR to let he build pass. Sorry for the inconvenience.


Fix grafana dashboards. Fixes #1958

Grafana dashboard JSON needs to be wrapped in "dashboard": {} when
POSTing to /api/dashboards/db [1]. The bare dashboard is usable when
importing via the UI as it handles that wrapping for us. The wrapped
dashboard also imports just fine in the UI.
[1] http://docs.grafana.org/http_api/dashboard/)
This reverts commit e960cd47fb14847f642ef275da01726496e7faff.

This change is

Don't know why this didn't auto-merge.  Manually merging.


How can i modify the view

How can I do so that the view generates a form that is not in a modal view if not with the view of it

If you want a form in not modal mode, you can use a panel. See EntityDialogAsPanel sample https://github.com/volkanceylan/Serene/tree/master/Serene/Serene.Web/Modules/BasicSamples/Dialogs/EntityDialogAsPanel


5.22.0 broke my usage of JavaScript mode syntax highlighting

Somewhere in these changes. Syntax highlighting was broken:
v5.21.0

v5.22.0

I'm not sure what caused this. I'm not getting any error messages in the console (before or after) and I'm not changing any of my code.
My usage is fairly straightforward. I am using react-codemirror but I've verified that it's simply forwarding my options. I'm including:
<link href="node_modules/codemirror/lib/codemirror.css" rel="stylesheet">

on my page and I'm importing:
import 'codemirror/mode/javascript/javascript'

My options are:
{
  lineNumbers: true,
  mode: 'javascript',
}

I hope that's helpful. Let me know what else I can do to help debug this issue. Thanks!

I'm not sure what caused this.

Neither are we, and the report doesn't contain enough information to act on.


GKE <-> GCS Bucket storage auth problem

Environment details

Specify the API at the beginning of the title. For example, "BigQuery: ...").
GKE, GCS
OS type and version: Compute Engine
Java version: 1.8
storage version(s): 1.106.0

Steps to reproduce

GKE deploy java application with storage library's upload
403 error

Code example
[kotlin]
private var storage: Storage = StorageOptions.getDefaultInstance().service
val blobInfo: BlobInfo = storage.create(~~)
(*I just follow example upload code)
Stack trace
error code: 403
message: Primary: /namespaces/{ProjectName}-{ProjectId}.svc.id.goog with additional claims does not have storage.objects.create access to {imgUrl}.",
Any additional information below
I'm using GKE and GCS.
I made GCS bucket private and give that bucket's storage manage auth to compute engine service account.
When I set my local computer's credentials by compute engine service account' json file, upload is OK.
But in Compute engine(GKE), upload is fail... TT
Log output is
"Primary: /namespaces/{ProjectName}-{ProjectId}.svc.id.goog with additional claims does not have storage.objects.create access to {imgUrl}."
It seems that Compute engine service account is not using for auth.
what is svc.id.goog..?
Help Plz..
thank you for reading my issue!!

Hi @RoysyLee
Thanks for filing the issue.
Which role did you grant the Compute Engine default service account?

I granted "roles/storage.objectAdmin" role to Compute Engine default service account.
So my local server can upload image to private gcs bucket by using that account's auth.
I verified my local server use Compute Engine default service account user's credentials.
when i remove "roles/storage.objectAdmin" from that account, local can't upload image.
But in Compute engine, can't upload whenever.
Log shows
"Primary: /namespaces/{ProjectName}-{ProjectId}.svc.id.goog with additional claims does not have storage.objects.create access to {imgUrl}"
If compute engine use Compute Engine default service account, log's output must be
<EMAIL_ADDRESS>does not have storage.objects.create access to {imgUrl}"
What is "{ProjectName}-{ProjectId}.svc.id.goog"?

I haven't seen this error before either. I suspect it's not associated to your Compute Engine default service account.
After reviewing: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
I suspect you need to look for a service account with svc.id.goog in your project.
Could you verify?

Thank you!!!
The problem is Workload Identity.
I have to connect k8s Service account to Google service account.
Solved it. I really appreciate it for you! Have a nice day.


[test/cipher_overhead_test] Error 2

when I run "./Configure linux-x86_64 no-shared -fPIC; make " , I get this error? But I ensure that the there function in the picture exits in the right place! Can anybody help me out of this issues?
More Info:
{
host : centos6  64bit
perl : perl5.10
}

what version of openssl?  that test builds all the time ... any previous error?

the most refresh version of openssl i think , because i just clone it from this repo

ssl3_num_ciphers is in ssl/s3_lib.c  did that library build correctly?

yeph,it is in.

that doesn't show the library being built.  libssl.so,.a,etc in the toplevel directory

I am out of ideas, sorry.  Maybe someone else has a clue.

thanks any way ,Sincerely

interesting， i run “make clean” and run "./Configure linux-x86_64 no-shared -fPIC; make | tee log.txt" which i try to record the long build log.  and the error just gone~~~@richsalz

So it seems your problem is resolved. Closing this.


Optimize first-time sync

See https://github.com/couchbase/sync_gateway/issues/1503

iOS implementation: https://github.com/couchbase/couchbase-lite-ios/commit/eef3f86b0255fd852e45a3828a4784cf659da89c


Issue with Checksum

My question is not directly related to this great plugin, but I use it build a framework, the zip and the package.swift.
I put that on a gitlab repo, with the download url pointing to a permalink of the zip file.
When I tried to setup my ios project with this dependency, I get an issue of checksum !
When I download the zip file, the checksum is the good one.
Any idea ?

Hi @afaucogney,
thanks for your feedback. The checksum is actually calculated by the swift binary. So it should be correct.
How did you integrate the package into the Xcode project?

Hi @afaucogney,
thanks for your feedback. The checksum is actually calculated by the swift binary. So it should be correct.
How did you integrate the package into the Xcode project?


refactor(state_key): only use raw keys to build  KeyValueRequests

This PR fixes #1022, here's a breakdown of what it does:

[x] make all state_key methods return their respective raw path instead of KeyHash
[x] make downstream consumers of state_key modules meet the new API
[x] protobuf: remove the key_hash field from the KeyValueRequest message definition
[x] pd: modify how "specific" Info requests for key_value are executed (always use get_with_proof)
[ ] pcli: stop using KeyHash in query commands for ShieldedPool (WIP - I have questions about this)
[ ] cargo fmt
[ ] testing

There are two chunks of code that require increased scrutiny from reviewers:

[ ] pd: check that the new logic for the key value req builder makes sense (see diff here)
[ ] pcli: augment pcli::command::query::ShieldedPool with a key: &ShieldedPool -> String method (or replace key_hash) (WIP - not yet implemented)

Right now, pcli uses a key_hash to query ShieldedPool data. I'm trying to evaluate if using a raw key is OK. After taking a look at ShieldedPool, this seems fine but I need confirmation before I proceed!
Once that's cleared, we will be able collapse this branch in pcli/srccommand/query.rs so that QueryCmd::Key and QueryCmd::ShieldedPool use the same logic to build their KeyValueRequests.

Querying with the key, rather than the key hash, seems fine (from a privacy point of view -- not 100% sure if that's the concern?), because the key hashes aren't actually hiding: if a full node wanted to monitor queries, they could do that just as easily with key hashes as full keys.
I looked briefly at

check that the new logic for the key value req builder makes sense

and it seems fine -- it will compute a proof every time, but that doesn't seem terribly important relative to having simpler code.

I've done some cursory manual testing with the following queries, and they all return the same result as the main testnet branch:
cargo run --release --bin pcli -- q key staking/validator/penumbravalid142jc0tm6dkweww3z5t6rqdj4mkcsdw3qn329rys8vsvrp3fgvc9srtsvf6

cargo run --release --bin pcli -- q shielded-pool block-anchor 137359

This is great, thanks!


Client certificates support

Sometimes, we need to query (HTTP-RAW tile) endpoints secured with client certificates. Could you please confirm that currently this tool doesn't support it ?

Hello !
You can disable ssl check with MO_MONITORABLE_HTTP_SSLVERIFY=false. See : https://monitoror.com/documentation/#http
Btw, But if you use self signed certificate, you can install your self signed CA Root in your system

@jsdidierlaurent hey, I'm talking about client certificates, with disabling ssl check, the connection will not be established.

@jsdidierlaurent - Many APIs now a days are protected by mTLS - and requires clients to present a Client Certificate as part of the TLS handshake.
@apolegoshko - One work around you could try is to proxy the request via Ghostunnel and monitor Ghostunnel also (it has a health endpoint over http).

Hey there. Assuming it's re opened for the future development. Is it correct ?

From the Go documentation for Linux the certificates are picked up from these directories:
// Possible directories with certificate files; all will be read.
var certDirectories = []string{
	"/etc/ssl/certs",               // SLES10/SLES11, https://golang.org/issue/12139
	"/etc/pki/tls/certs",           // Fedora/RHEL
	"/system/etc/security/cacerts", // Android

put the client certificates to the directories should help. If you run monitoror from container image you can mount the required certificates easily from your host system.


mathlib has regular expressions

Check out mathlib's version of regular expressions
https://leanprover-community.github.io/mathlib_docs/computability/regular_expressions.html

The library is incomplete, so rather going to define our own for now


Fix: Promotion ActiveDateRange time

1. Why is this change necessary?
ActiveDateRange filter will exclude the last day of a promotion, cause $todayEnd is set to 23:59:59 and the user can only set Time to 23:59:00 in backend.
23:59:59 (Current time) > 23:59:00 (Promotion time) => Promotion is not active for the last day
2. What does this change do, exactly?
Use the actual current DateTime for the ActiveDateRange filter
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

This PR was closed due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://docs.shopware.com/en/shopware-platform-dev-en/contribution/contribution-guideline


isinstance deserves more compat

simpletypes = (int, float, bool, str)
isinstance(1, simpletypes)
isinstance('a', simpletypes)
isinstance(1.1, simpletypes)
isinstance(True, simpletypes)

all fail with
``` Uncaught TypeError: Cannot use 'in' operator to search for '__class__' in a(…)isinstance @ ```

because of
        return '__class__' in anObject ? isA (anObject.__class__) : anObject instanceof classinfo;

I think there could be simple typeof checks before the  '__class__' in anObject check
can be assigned to me (low prio, simple)

I would welcome if you look into this
It's something that you'd have to run through the shipment test (= manual tests + automated tests) since, while maybe in itself not too complicated, it may make some things fall over in subtle ways.

see latest PR.
it is still not complete but is covering the 95% I guess.

Problem with es6 and Closure. Not yet clear what...

oh, so the autotester has to be run with different js compile switches? which ones do you use normally?
just tried:
/Users/klessinger/GitHub/AXGKl:Transcrypt/transcrypt/run_transcrypt -bn -e 6 autotest.py
works as well, same result than cpython. can I have your output ?

The switches are those used in shipment_test.py.
From the head -e 6 and -f. (apply the -e 6 switch also in combi with the -r switch)
Also the .js and the .min.js files are tested.

understood regarding the test procedure:

e 5 and -e 6
-f and no -f
min and normal

-> 8 combinations.
just pulling the jre, never use min I must admin...

Another thing I must admit: Testing isinstance I deleted all tests except classes - since I have a failure: Uncaught ReferenceError: complex is not defined(…) , var a = add (234, complex (0, 3.0));  , thought the tests are currently not running, and isinstance is not used in any other test => thought its safe to only test classes.
I  do not see a change of classes/__init in the current head.
When I do run_transcrypt -bn -e 6 -f autotest.py with
~/GitHub/AXGKl:Transcrypt/transcrypt/development/automated_tests/transcrypt $ cat autotest.py
from org.transcrypt.stubs.browser import __pragma__
import org.transcrypt.autotester
import classes
autoTester = org.transcrypt.autotester.AutoTester ()

autoTester.run (classes, 'classes')
autoTester.done ()

it works with all 4 switch combis except the 4 for min.

Autotest also requires -c and -da switch.
But if you run the shipment-test its all done for you: python3.5 shipment_test.py -d -c -f in its most complete form (or on windows python35 I believe).
It will even open browser windows for you.
It requires node.js to be installed, because some tests are about node.

Don't invest too much trouble in repairing isinstance, think I'm close to a solution (ever optimistic...)

Seems to work now. Will be in next commit. I've used your autotest, which was quite effective.
One improvement that I directly took from your sourcecode, is the fact that classinfo can also be a tuple, rather than a single class. Had never noticed that.
Another  improvement that was in your source code, is to account for the fact that isinstance (True, int) is True.
Another piece of the puzzle  is that I had to look to the  type (so py_typeof) and isinstance functions together. Because my py_typeof had problems, implementing isinstance was needlessly difficult. Now they're both improved.

and again we witness my ability to judge time and effort required : "can be assigned to me (low prio, simple)".
travis I also thought costs me an hour or so. argh..

My experience is that effort estimates only work if I'm doing the same trick over and over again.
With anything new its completely uncertain.
And the more 3rd party products you depend upon, the more uncertain it gets.
So if you say you cannot estimate efforts, you're in fact telling me:
I am not the person who sells the promises, but the person who in the end has to fulfill them.

you are one year older: did you find a way to explain your wife why you picked the second camp ;-) ?

Well, she has been working in IT too, from programmer to project manager for I think some 20 years. But rightnow she teaches classical languages. However, she still understands...

tell her dankewell from munich ;-)


Would all the generated ideas be released in future?

Hello,
One generated idea is mentioned in Table 3. Would all the other generated ideas be also released sometime in future?

Hello,
One generated idea is mentioned in Table 3. Would all the other generated ideas be also released sometime in future?
If you're interested, we can provide you with the ideas we've generated. Of course, creating ideas is straightforward; you can use our code to generate them directly.

If you could share the generated ideas which were used in the paper (human study) that would be very helpful @jianghuyihei

We have newly provided the case in the GitHub repository, located at path case/case.json.

We have newly provided the case in the GitHub repository, located at path case/case.json

@jianghuyihei that only includes 1 generated idea (EvoResearchAgent).
Can all the ideas generated by CoI agent be shared?

I have uploaded the experimental results to case/all_case.json. May I know your specific purpose for using it, if possible? If our method has inspired you, please be sure to let us know. Thank you very much.


Show transactions and its parts nested or as hierarchy to better understand what belongs together.

I like the extra details the 2.20.1 version gives I have one more suggestion to emphasize the relationship as part of the contract call, a nexted view:

Some additional thoughts. Users would prefer not seeing all the parts of a contract call by default.
There seems to be a preference for a, default, collapsed view. Example from an upcoming upgrade to the explorer:
https://user-images.githubusercontent.com/33360391/216013370-810bcd66-3f7e-4a5c-a754-457fd5725066.mp4
According to another user the most important thing to show is tokens going in and out  Earlier we got the suggestion to show color coding on outgoing (red) and incoming (green) tokens. Something like this:

Based on this feedback on Twitter: https://twitter.com/herogamer21btc/status/1620476936274444294
And Discord https://discord.com/channels/621759717756370964/745197302255321108/1070032844467994666 and https://discord.com/channels/621759717756370964/745197302255321108/1066054997550321724


better handling of : and drive letters

Continued from https://github.com/npm/node-tar/issues/75#issuecomment-301614671
cc: @AlmirKadric

Handle : chars using lib/winchars.js just like <|>? are handled now.  However, do not convert the character that is a drive letter separator (ie, the one at /^[a-zA-Z]:/.)
Strip drive letters on Unix as well as Windows when preservePaths is not set.  (Following behavior of gnutar and bsdtar.)  Absolute path stripping is not system-specific.

# unix
$ tar cvf blep.tar *blep
a ab:c\\tar\\blep
tar: Removing leading drive letter from member names
a tar\\blep
a xc:\\tar\\blep

$ tar tvf blep.tar
-rw-r--r--  0 isaacs staff       5 May 14 20:58 ab:c\\tar\\blep
-rw-r--r--  0 isaacs staff       5 May 14 20:53 tar\\blep
-rw-r--r--  0 isaacs staff       5 May 14 20:58 xc:\\tar\\blep

$ tar cvf blep.tar -P *blep
a ab:c\\tar\\blep
a c:\\tar\\blep
a xc:\\tar\\blep

$ tar xvf blep.tar
x ab:c\\tar\\blep
tar: Removing leading drive letter from member names
x tar\\blep
x xc:\\tar\\blep

$ ls -laF *blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:58 ab:c\tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:53 c:\tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:53 tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:58 xc:\tar\blep

$ rm *blep

$ tar xvf blep.tar
x ab:c\\tar\\blep
tar: Removing leading drive letter from member names
x tar\\blep
x xc:\\tar\\blep

$ ls -laF *blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:58 ab:c\tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:53 tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:58 xc:\tar\blep

$ rm *blep

$ tar xvf blep.tar -P
x ab:c\\tar\\blep
x c:\\tar\\blep
x xc:\\tar\\blep

$ ls -laF *blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:58 ab:c\tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:53 c:\tar\blep
-rw-r--r--  1 isaacs  staff  5 May 14 20:58 xc:\tar\blep

# windows
c:\tar>cp d:\js\tar\blep.tar .

c:\tar>tar tvf blep.tar
-rw-r--r-- isaacs/staff      5 2017-05-14 20:58 ab:c\\tar\\blep
tar: Removing leading `c:\' from member names
-rw-r--r-- isaacs/staff      5 2017-05-14 20:53 c:\\tar\\blep
-rw-r--r-- isaacs/staff      5 2017-05-14 20:58 xc:\\tar\\blep

c:\tar>tar tvf blep.tar -P
-rw-r--r-- isaacs/staff      5 2017-05-14 20:58 ab:c\\tar\\blep
-rw-r--r-- isaacs/staff      5 2017-05-14 20:53 c:\\tar\\blep
-rw-r--r-- isaacs/staff      5 2017-05-14 20:58 xc:\\tar\\blep

c:\tar>tar xvf blep.tar
ab:c\\tar\\blep
tar: Removing leading `c:\' from member names
c:\\tar\\blep
xc:\\tar\\blep

c:\tar>dir xc\tar
 Volume in drive C is Windows 10
 Volume Serial Number is 905D-2DA8

 Directory of c:\tar\xc\tar

05/15/2017  02:55 PM    <DIR>          .
05/15/2017  02:55 PM    <DIR>          ..
05/14/2017  08:58 PM                 5 blep
               1 File(s)              5 bytes
               2 Dir(s)  28,046,295,040 bytes free

c:\tar>dir abc\tar\blep
 Volume in drive C is Windows 10
 Volume Serial Number is 905D-2DA8

 Directory of c:\tar\abc\tar

05/14/2017  08:58 PM                 5 blep
               1 File(s)              5 bytes
               0 Dir(s)  28,046,295,040 bytes free

c:\tar>tar xvf blep.tar -P
ab:c\\tar\\blep
c:\\tar\\blep
xc:\\tar\\blep

c:\tar>dir blep
 Volume in drive C is Windows 10
 Volume Serial Number is 905D-2DA8

 Directory of c:\tar

05/14/2017  08:53 PM                 5 blep
               1 File(s)              5 bytes
               0 Dir(s)  28,046,295,040 bytes free

c:\tar>

Will give this a test to see if all our cases have been covered

Gave it a test, and it seems that our tar files are working fine. Everything was extracted just fine. 👍


commitOffsets can be passed the offsets to commit

This adds another version of commitOffsets that takes the offsets to commit as a parameter.
Without this change, getting correct user code is very hard.  Despite kafka's at-least-once guarantees, most user code doesn't actually have that guarantee, and is almost certainly wrong if doing batch processing.  Getting it right requires some very careful synchronization between all consumer threads, which is both:

painful to get right
slow b/c of the need to stop all workers during a commit.

This small change simplifies a lot of this.  This was discussed extensively on the user mailing list, on the thread "are kafka consumer apps guaranteed to see msgs at least once?"
You can also see an example implementation of a user api which makes use of this, to get proper at-least-once guarantees by user code, even for batches:
https://github.com/quantifind/kafka-utils/pull/1
I'm open to any suggestions on how to add unit tests for this.

This adds another version of commitOffsets that takes the offsets to commit as a parameter.
Without this change, getting correct user code is very hard.  Despite kafka's at-least-once guarantees, most user code doesn't actually have that guarantee, and is almost certainly wrong if doing batch processing.  Getting it right requires some very careful synchronization between all consumer threads, which is both:

painful to get right
slow b/c of the need to stop all workers during a commit.

This small change simplifies a lot of this.  This was discussed extensively on the user mailing list, on the thread "are kafka consumer apps guaranteed to see msgs at least once?"
You can also see an example implementation of a user api which makes use of this, to get proper at-least-once guarantees by user code, even for batches:
https://github.com/quantifind/kafka-utils/pull/1
I'm open to any suggestions on how to add unit tests for this.

This adds another version of commitOffsets that takes the offsets to commit as a parameter.
Without this change, getting correct user code is very hard.  Despite kafka's at-least-once guarantees, most user code doesn't actually have that guarantee, and is almost certainly wrong if doing batch processing.  Getting it right requires some very careful synchronization between all consumer threads, which is both:

painful to get right
slow b/c of the need to stop all workers during a commit.

This small change simplifies a lot of this.  This was discussed extensively on the user mailing list, on the thread "are kafka consumer apps guaranteed to see msgs at least once?"
You can also see an example implementation of a user api which makes use of this, to get proper at-least-once guarantees by user code, even for batches:
https://github.com/quantifind/kafka-utils/pull/1
I'm open to any suggestions on how to add unit tests for this.

This adds another version of commitOffsets that takes the offsets to commit as a parameter.
Without this change, getting correct user code is very hard.  Despite kafka's at-least-once guarantees, most user code doesn't actually have that guarantee, and is almost certainly wrong if doing batch processing.  Getting it right requires some very careful synchronization between all consumer threads, which is both:

painful to get right
slow b/c of the need to stop all workers during a commit.

This small change simplifies a lot of this.  This was discussed extensively on the user mailing list, on the thread "are kafka consumer apps guaranteed to see msgs at least once?"
You can also see an example implementation of a user api which makes use of this, to get proper at-least-once guarantees by user code, even for batches:
https://github.com/quantifind/kafka-utils/pull/1
I'm open to any suggestions on how to add unit tests for this.

This adds another version of commitOffsets that takes the offsets to commit as a parameter.
Without this change, getting correct user code is very hard.  Despite kafka's at-least-once guarantees, most user code doesn't actually have that guarantee, and is almost certainly wrong if doing batch processing.  Getting it right requires some very careful synchronization between all consumer threads, which is both:

painful to get right
slow b/c of the need to stop all workers during a commit.

This small change simplifies a lot of this.  This was discussed extensively on the user mailing list, on the thread "are kafka consumer apps guaranteed to see msgs at least once?"
You can also see an example implementation of a user api which makes use of this, to get proper at-least-once guarantees by user code, even for batches:
https://github.com/quantifind/kafka-utils/pull/1
I'm open to any suggestions on how to add unit tests for this.

This adds another version of commitOffsets that takes the offsets to commit as a parameter.
Without this change, getting correct user code is very hard.  Despite kafka's at-least-once guarantees, most user code doesn't actually have that guarantee, and is almost certainly wrong if doing batch processing.  Getting it right requires some very careful synchronization between all consumer threads, which is both:

painful to get right
slow b/c of the need to stop all workers during a commit.

This small change simplifies a lot of this.  This was discussed extensively on the user mailing list, on the thread "are kafka consumer apps guaranteed to see msgs at least once?"
You can also see an example implementation of a user api which makes use of this, to get proper at-least-once guarantees by user code, even for batches:
https://github.com/quantifind/kafka-utils/pull/1
I'm open to any suggestions on how to add unit tests for this.


Sending data as binary

Is sending data with opcode BINARY supported?
I see that send takes a parameter binary, and it also has send_binary method. Whatever method I call, it always sends the data as TEXT.
The code for send and send_binary seems to be doing the same thing!

    def send(self, msg, binary=True):
        if binary:
            return self.send_binary(msg)
        self.send_queue.put(msg)
        self.send_event.set()

    def send_binary(self, msg):
        self.send_queue.put(msg)
        self.send_event.set()

Am I missing something, or is binary opcode not supported?

It's not yet supported with gevent, but is pretty easy to add.

Thanks. I have added a 'hack' to make this work. It will be good to have the support though.


create source list

fetch source list, https://raw.githubusercontent.com/emmabostian/developer-portfolios/master/README.md for example

example sources

https://github.com/emmabostian/design-inspiration
https://github.com/emmabostian/developer-portfolios

raw view

https://raw.githubusercontent.com/emmabostian/developer-portfolios/master/README.md


color support detector is wrong

got confused and used the wrong numbers in getColorDepth(), to fix replace 2 with 1, 16 with 4 and 256 with 8. see https://nodejs.org/api/tty.html#writestreamgetcolordepthenv

i'm pretty sure 8a869f4aa793663b1a7848911a3382738a17cbf5 won't be necessary after fixing this, 8bit colors is just ansi256

ok nice. go ahead and remove then. i can test on my machine after.

the colordepth on my machine/terminal is 8 when i console.log out that check

yes exactly, i had assumed the check would return 256 for 8bit colors but instead it returns 8, the getColor related functions need to get updated

working great now


Update patchstarter.py

Fixes issue #10
Replace non-existent readplist method.

plistlib.load is new to Python 3.x. plistlib.readPlist was removed starting in Python 3.9.
While everyone should have migrated off of Python 2 by now, this would be a breaking change for some Jamf admins.
It might be worthwhile to leave this tool compatible with Python 2.7-3.8 and focus on completing PatchCLI which can be made Python 3.8+ compatible only.


i18n dependency issue

Hi @tongueroo - saw your YouTube talk going through the various projects you've got. Had come across Ruby on Jets in the past, and finally have some use cases with a serverless architecture to start looking at using what you've built.
I'm looking for a CI/CD solution and Cody seems like the right fit, but the simple setup seems to have an issue on my system. I haven't come across this before.
Running cody init gives me cannot load such file -- i18n/core_ext/string/interpolate (LoadError).
Thoughts?
joels-mbp-2016:rembly-backend Joel$ gem install cody
Fetching: cody-0.7.1.gem (100%)
Successfully installed cody-0.7.1
1 gem installed
joels-mbp-2016:rembly-backend Joel$ cody init
/Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/activesupport-3.1.12/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
Traceback (most recent call last):
	21: from /Users/Joel/.rbenv/versions/2.5.6/bin/cody:23:in `<main>'
	20: from /Users/Joel/.rbenv/versions/2.5.6/bin/cody:23:in `load'
	19: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/cody-0.7.1/exe/cody:11:in `<top (required)>'
	18: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	17: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	16: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/cody-0.7.1/lib/cody.rb:13:in `<top (required)>'
	15: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/zeitwerk-2.2.0/lib/zeitwerk/kernel.rb:23:in `require'
	14: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	13: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	12: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/cody-0.7.1/vendor/cfn_camelizer/lib/cfn_camelizer.rb:5:in `<top (required)>'
	11: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/zeitwerk-2.2.0/lib/zeitwerk/kernel.rb:23:in `require'
	10: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 9: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 8: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/activesupport-3.1.12/lib/active_support/core_ext/string.rb:9:in `<top (required)>'
	 7: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/zeitwerk-2.2.0/lib/zeitwerk/kernel.rb:23:in `require'
	 6: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 5: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 4: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/activesupport-3.1.12/lib/active_support/core_ext/string/interpolation.rb:2:in `<top (required)>'
	 3: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/zeitwerk-2.2.0/lib/zeitwerk/kernel.rb:23:in `require'
	 2: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
	 1: from /Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
/Users/Joel/.rbenv/versions/2.5.6/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require': cannot load such file -- i18n/core_ext/string/interpolate (LoadError)

Thanks!

I should mention that Ruby 2.5.6 is a fairly fresh installation because I downgraded for Lambda compatibility. ActiveSupport/Rails are also not a dependency in my project, so any dependencies on that are presumably for Cody.

As I wrote that comment, I saw that by default somehow a really old version of ActiveRecord was installed. I updated that and the command works. However, I get this new error, likely because I don't have default AWS credentials setup? Seems that this is an assumption that isn't noted in the docs, from what I saw.
missing region; use :region option or export region name to ENV['AWS_REGION'] (Aws::Errors::MissingRegionError)
Seems Cody assumes some version of Rails is installed and AWS default profile are setup. Please let me know if that's right or something else is going on.
Thanks!

RE: Specific version of ActiveSupport required

You’re probably right. Been running the latest, so will probably just make that a requirement in the gemspec

RE: aws profile setup

Probably also right. Will have to add some docs on the install page.
Will take a look in time👍

Made activesupport ~6+ a requirement
Added notes about aws cli on the install page


DevOps demo generator source code

Please add git location for demo generator source (so I can submit issues and help resolve)

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

ID: a4208398-e77f-5bef-5739-6539c3ba53bb
Version Independent ID: f09154ed-0d77-6ed6-3dc8-4b91e6563236
Content: Use Azure DevOps Demo Generator
Content Source: docs/demo-gen/use-demo-generator-v2.md
Product: devops
Technology: devops-new-user
GitHub Login: @thomps23
Microsoft Alias: sdanie

@inverted360 Here it is: https://github.com/microsoft/AzureDevOpsDemoGenerator
Thank you.

Link provided by @steved0x is broken and doesn't appear in Internet Archives, did it ever exist? This issue is still an issue. Please re-open it!

The link is broken. Can you please share the updated link? Two questions:

Can we create custom templates and use it with the generator? If yes, do you have a documentation on how to create a template?
Are you planning to open source the Azure DevOps demo generator code?

Thanks,
Shaju


Search not working

After pressing enter to search, nothing happens...literally nothing.

It seems that the search is only enabled in the API and DOCS pages

I also encountered with the search problem. When I'm trying to use search box in react-native website - nothing happens...

It seems that the search is only enabled in the API and DOCS pages

Nothing changes on there

FYI:  https://github.com/facebook/react-native-website/issues/61 and https://github.com/facebook/react-native-website/issues/998

In the meantime, try this; it seems to work on docs prior to the latest version (0.60-rc ... which you don't seem to be able to change without specifying the initial URL):  https://facebook.github.io/react-native/docs/0.59/getting-started

I dig that


Provide a wrap-in-text fix

Given an invocation of a method that requires a Widget where the argument has the type String,
provide a fix to wrap the string in a constructor invocation for Text.

@devoncarew Are there likely to be situations in which the Widget parameter won't be a named parameter?

Not that I have run into.

https://dart-review.googlesource.com/c/sdk/+/139480


Remove redundant line of code

Realized I introduced a redundant line of code. Have removed extra line and added comment as to the purpose of the line to prevent its being overlooked again.

Change looks good, but GitHub is reporting that there's a merge conflict. Can you rebase the patch and update the pull request?

How is that?

Perfect, thanks!


[Feature][Zeta] Add Zeta Client ShutdownHook To Cancel Job

close #3924

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

This is client process.

This is server process.

Please add change log to release note

Done.

@EricJoy2048 @Hisoka-X PTAL .


Update Crystal Clemmys release pages

The first commit here adds Crystal to the Releases page and further commits will update the linked page.

While you created it a minute before me (#61) I will close this one since the other PR also contains two case fixes :wink:


Increment to v2.6.0

2 files (not in diff) in ...rg/edx/mobile/module were modified. more

Misses +9
Hits -9

@@             master       #742   diff @@
==========================================
  Files           484        484
  Lines         20897      20897
  Methods           0          0
  Messages          0          0
  Branches       2946       2946
==========================================
- Hits           6437       6428     -9
- Misses        14460      14469     +9
  Partials          0          0

Review [#742][cc-pull] on Codecov

Powered by Codecov. Last updated by [f4a0c9f...0e63463][cc-compare]
[cc-base-branch]: https://codecov.io/gh/edx/edx-app-android/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/edx/edx-app-android/compare/f4a0c9fb134bc88488239b80280e98973a0f1c26...0e634632137f3f533478edfcd6fb7cb16bc07488
[cc-pull]: https://codecov.io/gh/edx/edx-app-android/pull/742?src=pr


inhibit locks < 0. Brought back to 0.

Hey, I got a message from hypridle, himself!
❯ hypridle
[LOG] Registered timeout rule for 90s:
      on-timeout: loginctl lock-session
      on-resume:
[LOG] Registered timeout rule for 180s:
      on-timeout: hyprctl dispatch dpms off
      on-resume: hyprctl dispatch dpms on
[LOG] Registered timeout rule for 300s:
      on-timeout: systemctl suspend
      on-resume:
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_shm v1
[LOG]   | got iface: wp_viewporter v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: wp_alpha_modifier_v1 v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: ext_foreign_toplevel_list_v1 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_idle_notifier_v1 v1
[LOG]    > Bound to ext_idle_notifier_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: hyprland_focus_grab_manager_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v5
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: zwlr_data_control_manager_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v5
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: wl_output v4
[LOG]   | got iface: wl_output v4
[LOG]   | got iface: wl_output v4
[LOG] found 3 rules
[LOG] wayland done, registering dbus
[LOG] Using dbus path /org/freedesktop/login1/session/_32
[WARN] No cookie in uninhibit
[LOG] ScreenSaver inhibit: false dbus message from ? with content ?
[WARN] BUG THIS: inhibit locks < 0. Brought back to 0.
[LOG] ScreenSaver inhibit: true dbus message from firefox with content video-playing
[LOG] Inhibit locks: 1
[LOG] Cookie 1337 sent
[LOG] ScreenSaver inhibit: false dbus message from firefox with content video-playing
[LOG] Inhibit locks: 0

I had noticed there was nothing running after being idle for hours for some days, and decided to
manually run it.
This is my config:
general {
    lock_cmd = pidof hyprlock || hyprlock       # avoid starting multiple hyprlock instances.
    before_sleep_cmd = loginctl lock-session    # lock before suspend.
    after_sleep_cmd = hyprctl dispatch dpms on  # to avoid having to press a key twice to turn on the display.
}

listener {
    timeout = 90
    on-timeout = loginctl lock-session
}

listener {
    timeout = 180
    on-timeout = hyprctl dispatch dpms off
    on-resume =  hyprctl dispatch dpms on
}

listener {
    timeout = 300
    on-timeout = systemctl suspend
}

Same here but instead it's steam or zen (but I suppose it's not the application's fault). AFAIK it doesnt matter if steam is on an active workspace or not.
...
[LOG] Inhibit locks: 1
[LOG] Cookie 1346 sent
[LOG] ScreenSaver inhibit: false dbus message from Steam (owner: :1.329) with content Client interface
[LOG] Inhibit locks: 0
[LOG] ScreenSaver inhibit: true dbus message from Steam (owner: :1.329) with content Client interface
[LOG] Inhibit locks: 1
[LOG] Cookie 1347 sent
[LOG] ScreenSaver inhibit: false dbus message from Steam (owner: :1.329) with content Client interface
[LOG] Inhibit locks: 0
[LOG] ScreenSaver inhibit: true dbus message from Steam (owner: :1.329) with content Client interface
[LOG] Inhibit locks: 1
[LOG] Cookie 1348 sent
[LOG] ScreenSaver inhibit: false dbus message from Steam (owner: :1.329) with content Client interface
[LOG] Inhibit locks: 0
[LOG] ScreenSaver inhibit: true dbus message from zen-alpha (owner: :1.76) with content video-playing
[LOG] Inhibit locks: 1
[LOG] Cookie 1349 sent
[LOG] ScreenSaver inhibit: false dbus message from zen-alpha (owner: :1.76) with content video-playing
[LOG] Inhibit locks: 0

With the following config I am able to lock and unlock multiple times without issue (the first listener), but as soon as the second listener triggers hypridle will never trigger any listener again:
general {
    lock_cmd = pidof hyprlock || hyprlock
    before_sleep_cmd = loginctl lock-session
    after_sleep_cmd = hyprctl dispatch dpms on  on the display.
}

listener {
    timeout = 300
    on-timeout = loginctl lock-session
}

listener {
    timeout = 330
    on-timeout = hyprctl dispatch dpms off
    on-resume = hyprctl dispatch dpms on
}


V5 Docs Navs and tabs: Add Tabs to Dropdown button example

Live Example: https://codepen.io/themes4all/pen/PomBVMq

Not much traction here and this is low priority for us, so if you'd like to add it yourself via PR, please feel free to do so :). Otherwise we'll pass for now.


feat: Use github secrets for codecov token

Codecov Report

Merging #77 (07d013e) into master (d351737) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   94.17%   94.17%
=======================================
  Files           2        2
  Lines         206      206
=======================================
  Hits          194      194
  Misses         12       12

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 d351737...07d013e. Read the comment docs.


Fix typo in Attribute-Resolution.md

Add missing "e" to the end of "Therefor" in first paragraph.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Rename project from kubectl-prune to kubectl-reap

To add krew-index, we should rename the project so that this plugin name makes sense and become unlikely to collide kubectl future commands.
For details: https://github.com/kubernetes-sigs/krew-index/pull/793

Since the project name in .goreleaser.yml hasn't updated, the release workflow failed. https://github.com/micnncim/kubectl-reap/pull/83 would fix that issue.
$ git fetch --tags

$ git describe --abbrev=0 --tags
v0.10.0

$ git push --delete origin v0.10.0


ci: Run source clear before linting and tests.

Summary
Stages run sequentially on Travis. If a stage fails, all the following stages are not executed. We execute source clear only on cron, and if due to any reason unit or integration tests fail, the source clear is not executed. Hence, moving source clear stage before tests.
Test plan
All unit tests must be passed.
FSC must be passed.

Pull Request Test Coverage Report for Build 1471

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.419%

Totals

Change from base Build 1469:
0.0%

Covered Lines:
3955

Relevant Lines:
4423

💛  - Coveralls

Pull Request Test Coverage Report for Build 1471

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.419%

Totals

Change from base Build 1469:
0.0%

Covered Lines:
3955

Relevant Lines:
4423

💛  - Coveralls


How to create a customized method that you look for by uuid?

I'm trying to search by uuid, I know you can use the $oMessage = $oFolder->getMessage($uid = 1); but the idea is not to have to enter the message to know the ID, but every time I run it goes directly to search from the last Uuid onwards?
At the moment I took a criteria to do it but it doesn't work.
use \webklex\IMAP\Query\WhereQuery;

class FunctionWebklex extends Query{

    protected function validate_criteria($criteria) {
        $criteria = strtoupper($criteria);

        if (substr($criteria, 0, 6) === "uuid") {
            return substr($criteria, 6);
        }
        if(in_array($criteria, $this->available_criteria) === false) {
            throw new InvalidWhereQueryCriteriaException();
        }

        return $criteria;
    }

    public function whereUuid($value) {
        return $this->where('UUID', $value);
    }
}

Any idea to make it work? or how to do it correctly

Hi @alexv96  ,
please update to the latest release v2.3.0 and update the config option options.sequence inside your config/imap.php file to IMAP::ST_UID.
You can now use the following to query a message by uid:
/** @var \Webklex\PHPIMAP\Folder $folder */
$message = $folder->query()->getMessage($uid = 1);

See: https://www.php-imap.com/api/query
Best regards,

@Webklex I updated the version and changed it but now I get this error.

Hi @alexv96 ,
this exception indicates that the given id could not be found. Have you changed the sequence option to IMAP::ST_UID and does your id represent the message uid?
Best regards,

If you change it but do not change the error.

Ans this is my code
$oClient->connect();

            $aFolder = $oClient->getFolders(false);

            $aFolder = $oClient->getFolder('INBOX');
            $aMessage = $aFolder->query()->getMessage(165);
            //$aMessage = $aFolder->query()->getMessage(168)->get();
            //$aMessage = $aFolder->query(null)->since('11.10.2020')->limit(10)->get();

            foreach ($aMessage as $value) {

That screenshots still says IMAP::ST_MSGN and not IMAP::ST_UID? I just want to make sure we are talking about the same option :)
Best regards,

Sorry it does not show the error but I do not know if something I'm doing wrong, because it shows me now only the blank page when I indicate the sequence $aMessage = $aFolder->overview($sequence = "168:*");, maybe a method that is occupying wrong, because that overview is sought by uuid right?

Hi @alexv96 ,
it seems like we are a bit lost in translation :)
If you are using the laravel package (https://github.com/Webklex/laravel-imap), please update your config file config/imap.php and make sure to set the following options:
return [
    ...
    'options' => [
        'delimiter' => '/',
        'fetch' => \Webklex\PHPIMAP\IMAP::FT_PEEK,
        'sequence' => \Webklex\PHPIMAP\IMAP::ST_UID,
        'fetch_body' => true,
        'fetch_flags' => true,
        'message_key' => 'list',
        'fetch_order' => 'asc',
        'dispositions' => ['attachment', 'inline'],
        'common_folders' => [
            "root" => "INBOX",
            "junk" => "INBOX/Junk",
            "draft" => "INBOX/Drafts",
            "sent" => "INBOX/Sent",
            "trash" => "INBOX/Trash",
        ],
        'open' => [
            // 'DISABLE_AUTHENTICATOR' => 'GSSAPI'
        ],
        'decoder' => [
            'message' => 'utf-8', // mimeheader
            'attachment' => 'utf-8' // mimeheader
        ]
    ],
    ...
];

The original file can be found here: https://github.com/Webklex/laravel-imap/blob/master/src/config/imap.php
If you are using the standalone version, please make sure you have copied the config file vendors/Webklex/php-imap/src/config/imap.php into your project directory. Lets assume you've placed it under config/imap.php. Please go ahead and update the containing array the same way as described above.
Please note that the sequence has been updated to \Webklex\PHPIMAP\IMAP::ST_UID. This is very important if you want to use uids instead of message numbers.
Checkout https://www.php-imap.com/configuration/configuration if you want to learn more about the available options.
Once you've updated the config, you can now go ahead and actually search / query uids:
$cm = new ClientManager('config/imap.php');
$client = $cm->account('account_identifier');

// or if you are using the laravel wrapper:
$client = \Webklex\IMAP\Facades\Client::account('account_identifier');

$folder = $client->getFolder('INBOX');
$overview = $folder->overview($sequence = "168:*");
$message = $aFolder->query()->getMessage($uid = 165);

Best regards,


Credentials storage XDG

See #108.
This PR switches the code used for reading and writing credentials to being XDG-compatible, but also backwards-compatible.
It does that by having a list of candidate paths for the configuration that it checks, preferring the XDG-compatible path but falling back to the previous path. When writing, it will only write to the XDG-compatible path.
This PR is still a draft.

Overall comment: while resolving the appropriate config directory in a portable way is a great idea, we currently don't have support for actual configuration in Buffrs (see #94 for a discussion on how that might look like). The credentials file is technically data, not configuration, so I think dirs::data_dir() would be a more appropriate choice. Though I believe the current approach mimics Cargo, so it'd be interesting to do some research into why they went that way rather than use the OS defaults.
From another side, I actually think that we should reconsider using keychains for credential management (this feature was removed in #8). Even though stable Cargo uses a plaintext file, nightly has already implemented keychains as the default credential storage (https://github.com/rust-lang/cargo/issues/8933), so there must be a way to make this work sensibly.

@asmello i think, this could be sensible, as the host machine should be ultimately seen as secure to store a token. Thus I would not prioritize it. Maybe create a discussion?

But the host machine should be ultimately seen as secure to store a token

I disagree with this statement, any sensitive data should be encrypted at rest, that's just regular AppSec. Any program that does otherwise has weakness CWE-256 (or CWE-312) and cannot be considered secure by any official standard. But we don't need to block Patrick's contribution based on that (I just figured I'd point out that the file approach may be superseded in the future).
Created #119

The credentials file is technically data, not configuration, so I think dirs::data_dir() would be a more appropriate choice.

I don't know if I would agree with that! In my understanding, credentials is something that is explicitly configured by the user, and thus not data. In my understanding, data would be more static things that are needed at runtime. Anything that you need to back up when you migrate to a new machine and want to have your tools work should be configuration.

Though I believe the current approach mimics Cargo, so it'd be interesting to do some research into why they went that way rather than use the OS defaults.

There is a tracking issue on this. I think that the tl;dr is: XDG standard adoption is spotty, most UNIXy tools default to just putting things in dotfiles, and this works. I  think that for new tools, the XDG paths should be respected, just like for new web development it should use ARIA labels to be accessible, but one should expect to see a lot of projects that do not prioritize it.

I actually think that we should reconsider using keychains for credential management.

This is not a terrible idea. Although, maybe it should be done in a separate step. To have it where we check:

System-local keychain (macOS keychain, GNOME keychain, whatever Windows does)
XDG-path ($XDG_CONFIG_DIR/buffrs/credentials.toml)
Dotfile location (~/.buffrs/credentials.toml)
System-wide config (/etc/buffrs/credentials.toml)

And then you can basically use whatever you want, but we obviously prefer the keychain approach for saving new credentials, if your system happens to have a standardized keychain store.
It might be a nightmare to support it however, if there is not a crate with a nice abstraction.

Something you can look into @asmello: https://docs.rs/keyring/latest/keyring/. This crate purports to be a cross-platform keychain API, might do just what we need.

My main concern with using the config path, other than semantics, is security — this directory is often backed up and synced across devices, and implicitly sharing credentials this way is potentially not intended.

There are people doing strange stuff, but I think that generally, anything under $HOME is security sensitive. I have lots of secrets in ~/.config, ~/.ssh, ~/.mozilla, ~/.gpg, some of which are unencrypted (LUKS ftw). If people back this up and store it unencrypted or sync it willy-nilly, then that is potentially an error on their part rather than on ours.
The only scheme of syncing dotfiles that I know (and practise) is putting them into a git repo and cloning it on new machines. This is explicitly a one-way sync kind of thing. You have to explicitly add, commit and push things you want to sync, and never all of ~ or all of ~/.config. That would be a terrible idea, regardless of where we put our credentials!

There are people doing strange stuff, but I think that generally, anything under $HOME is security sensitive. I have lots of secrets in ~/.config, ~/.ssh, ~/.mozilla, ~/.gpg, some of which are unencrypted (LUKS ftw). If people back this up and store it unencrypted or sync it willy-nilly, then that is potentially an error on their part rather than on ours.

Let's make a distinction between dot-dirs like ~/.ssh and ~/.gpg, the entire $HOME directory and the XDG config path. We're discussing the last one, which by definition shouldn't contain any sensitive information. Arguably the data directory shouldn't either, because this wasn't explicitly intended as per the spec, although one can reasonably extend the definition of sensitive to cover all user data (as has been the trend with GDPR and other regulatory policies).
So to be clear:

Yes, we can consider $HOME, ~/.ssh, ~/.mozilla, ~/.gpg (and ~/.buffrs) all to be sensitive and expect users not to sync them across devices they deem insecure.
The same cannot be said about ~/.config, as it's supposed to only have configuration data.

Although I agree a cautious user will still avoid syncing this directory since there's nothing enforcing that apps follow best practices.

BTW this is not just my opinion, the issues I linked (especially the AWS one) show that this is a common interpretation.

Closing due to offline discussion, long-term buffrs will need to add a cache anyways and likely require a ~/.buffrs folder.


Missing link

This page is the destination of the link https://go.microsoft.com/fwlink/?linkid=852344 where the text promises me more information about YAML Builds.  Here's the full text 'Below is a clipboard-friendly view of your selection. To copy to the clipboard, either right-click and choose 'Copy' from the browser’s context menu or press Ctrl+C. [more information about YAML builds]'   This is in Azure Dev ops at a page similar to /_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=1&view=Tab_Tasks where I'm trying to figure out how to check in a YAML build definition to my source tree.  It would be nice if the go link pointed somewhere useful instead of this useless page.

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

ID: 7336a04e-5b38-d02f-8bba-a55445b2f094
Version Independent ID: 783c30b3-63b6-da7c-1336-b000bb8b4c66
Content: Create your first pipeline - Azure Pipelines
Content Source: docs/pipelines/create-first-pipeline.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: sdanie

@DonFrazier We had some content move around and get renamed, and then this getting started tutorial was simplified. I think the right place for that link to go would be here which gives more information about what the different parts of the YAML file do. I've updated that link, and thank you for letting us know.


Apply cmd directory structure

As with other more recent Go projects I'm working on, I want to go ahead and convert this project to follow suit. This is especially true with the work done to intentionally expose the teams subpackage for use by other projects.
This will require updating the Makefile, GitHub Actions Workflow and potentially a few other places (e.g., such as README).

Fixed by #43.


why do we need to assert that items is not empty?

In all constructors there is this assertion:
assert(items!.isNotEmpty, 'Items list must contain at least one item.',),

Why question is: why do we do need this? I have a case where the items come from the database and there is a high chance it might be empty so my code will be throwing whenever it returns an empty list from the database.

Hi @hbatalhaStch
This assertion removed in latest release 3.1.0. Thanks to you 😀


Warn users before deleting a connection

Is your feature request related to a problem? Please describe.
I learned the hard way, when deleting a connection, ALL logs are deleted.  A discussion with @jhthorsen on IRC suggests this is an expected behaviour.
Describe the solution you'd like
I would recommend asking for a confirmation when one clicks "delete".  Additionally, a warning that all logs of that connection will be deleted in big bold font would be really helpful.
Describe alternatives you've considered
None.
Additional context
I think this suffices.

I just want to say that even thought it is indeed expected, it's far from the wanted behavior.
I support this change request 100% 👍
I think however that I might show an input field where you have to enter the name of the connection to verify. Very much the same as when you want to delete a git repo on github.

This will be fixed in the upcoming release.


envoy: Remove un-necessary warning log filtering

Relates: https://github.com/cilium/cilium/pull/31108
Relates: https://github.com/envoyproxy/envoy/pull/30735

/test

We still set these runtime keys, is Envoy no longer logging these as deprecated?


bug: UI query highlights do work correctly and include query+* highlights

Describe the bug
When querying for "spa" all of the instances of "spa*" in the records are highlighted.
To Reproduce
Steps to reproduce the behavior:

Go to the PRE dataset tripadvisor-hotel-domains
Click on query "spa"

Expected behavior
I would expect only to see the actual matches.
Screenshots

Environment (please complete the following information):

OS [e.g. iOS]: MacOS
Browser [e.g. chrome, safari]: Firefox
Argilla Version [e.g. 1.0.0]: 1.1.1
ElasticSearch Version [e.g. 7.10.2]: PRE
Docker Image (optional) [e.g. argilla:v1.0.0]: 1.1.1

Additional context
N.A.

@Amelie-V  Yes, some other problems have appeared after fixing it

@leiyre @davidberenstein1957 can you confirm this still happens? Changes introduced in https://github.com/argilla-io/argilla/pull/3621 could fix also this issue

Tested on dev environment: still not solved:
Dataset : metadata_example
View ss:


Azure DB Migration Service IP Addresses for firewall rules

The article has several comments stating firewalls need to be opened to allow the 'Azure database migration Service to access the source DB'... Which is fair enough and pretty obvious I'd say as it's highly unlikely a DB Server will not be sat behind at least one type of firewall.
Some of the suggestions in the article include:
"When using a firewall appliance in front of your source database(s), you may need to add firewall rules to allow the Azure Database Migration Service to access the source database(s) for migration."
So, what is the source IP for configuring the firewall? Is this an Azure hosted service, using a specific FQDN or 'tag' that we need to open? Or is it using the IP of the destination DB Server?
It's not unusual for databases to be sat behind a physical firewall. In fact, I'd say it was pretty normal to have Firewalls only allow connections from explicit hosts so being clear about what the traffic flow is would be really useful.

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

ID: 261bad06-6551-260a-cbae-9f17f7e84246
Version Independent ID: 3e542277-4062-97dd-5039-b460d1e7f140
Content: Tutorial: Migrate PostgreSQL to Azure DB for PostgreSQL online via the Azure portal - Azure Database Migration Service
Content Source: articles/dms/tutorial-postgresql-azure-postgresql-online-portal.md
Service: dms
GitHub Login: @arunkumarthiags
Microsoft Alias: arthiaga

Thanks for the feedback @andrewCluey! We are currently investigating and will update you shortly.

@andrewCluey You are right in mentioning that normally databases sit behind a physical firewall system, and hence when the article says 'When using a firewall appliance in front of your source database(s)' it means that we need to add this firewall rule too on the Azure Data Migration Service for the on-premise source postgresql database and not Azure hosted service. There could be many ways to add the firewall exception on on-premise postgresql.
However, it is still not mandatory to have firewall configured on top to access postgresql (e.g. in development scenarios where there is no need to have firewall security) and in that case, there is no need to add any firewall rules specifically.

@andrewCluey We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


MAKE A LOGIN AND  SIGNUP FORM WITH VALIDATION AND INTRACTION

**### ### MAKE A LOGIN AND  SIGNUP FORM WITH VALIDATION AND INTRACTION
I can enhance and beautify the login and registration form of the webpage with all the dynamic validations of the email and password and all without any popup function and like wise make the form more secure for the user and the developer or the owner too.**

AS A EXPERIENCED WEB FRONT DEVELOPER I CAN SAY THAT I CAN ENHANCE THE LOGIN  AND SIGNUP PAGE WITH 10x .so i humbly request you to please assign this task to me with a gssoc badge. ~thankyou


🚧 [WIP] 🔢 Add support for numerical fluents

Proposed changes
Add support for numerical fluents introduced in PDDL 2.1.
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works

Further comments
I'm doing the Pull Request early so we can iterate quickly if I need to change something.

@MathisFederico Heya! This PR stalled? Anything I can help with to push it along?

@MathisFederico Heya! This PR stalled? Anything I can help with to push it along?

Hey !
I ended up using unified_planning because it fits my needs !
Sorry for this PR

Well that's quite unfortunate -- looks like you made a great start, and the broader planning community could really use the support.
Want to characterize where you left things off, and perhaps I can pick it up from here?

You can pickup from here if you want sure !


REE and SSLv2

Latest GNU/Linux distros have SSLv2 disabled by default. This patch adds a simple workaround commenting the offending lines in source/ext/openssl/ossl_ssl.c.

Thanks for the patch! However, this is the same issue as #75. REE needs an update.


added support for clasp

Hi there - we implemented a new Common Lisp implementation and wanted to use toot.
It's very much like ECL so I duplicated ECL's customization for set-timeout.

Hello - please - could you take a look at this pull request?


Illegal mod

The following mod violates the original mod license
https://github.com/KSP-CKAN/CKAN-meta/tree/master/AIESAerospace-Unofficial

How?

The license is:
All pieces AIES are creating Carmics
use is free to all users to Kerbal Space Program,
however it is not allowed for commercial use,
and distribution through other unknown links
I may be jumping too fast, but I saw that it had gotten an update today listed as "patched", which seems to include the whole thing.

It's exactly the same as the existing AIES module except it depends on your patches. No sign of anything illegal.

See KSP-CKAN/CKAN-meta#1904 for more details.

ok, thank you for the fast response


a very simple question

package main

import (
"context"
"fmt"
"github.com/chromedp/chromedp"
)

func main() {
	c, can := chromedp.NewContext(context.Background())

	run := chromedp.Run(c, chromedp.Navigate("https://www.google.com"))
	fmt.Println(run)
	defer  can()
}

I Use  JetBrains ide.golang debug mode result is
Context canceled
if is no debug result is nil

go version go1.12.5 windows/amd64
chromedp v.0.3

You need to call c.Wait()

I'm not sure how I can help you here. I don't use JetBrains, and like you say, this works on a regular console.
My best guess would be that the shell within JetBrains doesn't allow you to start Chrome. Perhaps try starting it directly and see what happens. Otherwise, enable debugging or add prints to investigate. I don't use said IDE, so there's not much I can do here.

github.com/go-delve/delve
The same is true with vscode, as long as debug mode is used.
Can you tell me which editor you are using?


[ansible] JFrog Platform 10.13.2 release

PR Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Title of the PR starts with installer/product name (e.g. [ansible/artifactory])
[x] CHANGELOG.md updated
[x] Variables and other changes are documented in the README.md

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #293 , #298
Special notes for your reviewer:

Thanks!


Feat generate pdf for coa

Description

[x] Render CoA as PDF
[ ] Refactor PDF generator helpers to avoid duplicate code
[ ] Add unit tests for generate-coa-pdf-template
[x] Refactor test suite for generate-pdf
[x] Add visual regression tests for generate-pdf

coa-v0.0.2-test3.pdf
Fixes #59
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@stiebitzhofer Can you have a look at the PDF attached to the PR description and give some feedback ?

Issues in the PDF:

Both "Order/Bestellung" and "Delivery/Lieferung" should be bold.
Both the quantity (the number) is not displayed for order quantity and delivery quantity.


build(deps): patch tokio-postgres-rustls to use ring 0.17

This change bumps all Rust dependencies to use the ring 0.17.x release stream, leaving one version of ring to build, and benefits from the pin to ring 0.17.5 which the Buck2/Reindeer fixup supports.
References: jbg/tokio-postgres-rustls#17

bors merge

bors retry


docs: try to get github link to appear on website

Doesn't seem to work even with every option enabled. We can revisit this another time


Reset/Forgot Password?

Great boilerplate.
There's a "Forgot Password" link on the main login page, but it's not hooked up to anything. Is there code somewhere to drive this link I'm not aware of? I'd prefer not to build this out since accounts-entry already has it out of the box.
Thanks!

And actually, when trying to implement this myself, the reset password link I get via email (i.e. http://localhost:3000/#/reset-password/7oGhD4ezUlyDm0Ov94boO5h94BKzOqni7DYOAeEoxDA) just gets rerouted to localhost:3000/#. I thought reset links were built into Meteor...

@nicholasalanbrown :
thanks for trying meteoris, I'll asap try this, then I'll share to You and update the meteoris.

Thanks!
Any progress on this?

Hi @nicholasalanbrown
I am still working on it and got some bugs with meteor when using Email template
http://docs.meteor.com/#/full/accounts_emailtemplates
the email message cannot be overwriten.
I already asking this to meteor git.
If You find the solution, just tell me. Regards


Preact

Current Status
Codebase in progress: Codebase
Interested in helping out? Say hello! 🎉 Preact Slack
Todo:

[x] 🏁 Fork the starter repo & post the link in this issue
[x] 🎨 Create logo for repo & update issue status (@EricSimons)
[ ] 🔨 Implement all of Conduit's functionality per the spec & API
[ ] 👀 Peer review of final codebase by RealWorld admins & community (RFC)
[ ] 🎉 Tag v1 release, move repo to main org, and officially list it on the README!

I have began working on this. :) I will most likely be using unistore for state. And sine Preact is all about performance and low file size, I'm going to see if I can shrink down the styles provided by the project.

Is this still being worked on @hassanbazzi

I dropped it at the time given the repo/ peoject seemed to go stale.

Hello, I recently implemented Realworld with Preact X.
If the original author doesn't have any updates, I would like to submit a PR and close the Issue.
Here is the project address: https://github.com/mutoe/preact-realworld-example-app

Great job @mutoe!
Found a couple of bugs - could you please fix them - that would be awesome!
Blocked by: https://github.com/mutoe/preact-realworld-example-app/issues/1

Great job @mutoe!
Found a couple of bugs - could you please fix them - that would be awesome!
Blocked by: mutoe/preact-realworld-example-app#1

@anishkny  I have fixed these bugs, could you please have a look again? thank you
Online preview


Change base api URL

Changed defaultIAMApiUrl from api.selectel.ru/iam/v1 -> to api.selectel.ru/
Simplified repeated code parts

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (53e8437) 62.42% compared to head (5899ea9) 62.15%.

Files
Patch %
Lines

internal/client/client.go
40.00%
2 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   62.42%   62.15%   -0.28%
==========================================
  Files           6        6
  Lines         535      539       +4
==========================================
+ Hits          334      335       +1
- Misses        140      142       +2
- Partials       61       62       +1

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

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (53e8437) 62.42% compared to head (17026f9) 62.15%.

Files
Patch %
Lines

internal/client/client.go
40.00%
2 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   62.42%   62.15%   -0.28%
==========================================
  Files           6        6
  Lines         535      539       +4
==========================================
+ Hits          334      335       +1
- Misses        140      142       +2
- Partials       61       62       +1

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

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (639aed1) 62.42% compared to head (58f9f88) 62.15%.

Files
Patch %
Lines

internal/client/client.go
40.00%
2 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   62.42%   62.15%   -0.28%
==========================================
  Files           6        6
  Lines         535      539       +4
==========================================
+ Hits          334      335       +1
- Misses        140      142       +2
- Partials       61       62       +1

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


Retry seems broken on subscription

Hey there. I'm trying to follow the advanced example. I've made one of my handlers immediately throw an error which results in a channel error. My issue is that the retry option is ignored and so I am experiencing hundreds of restarting channels per second.

rascal:Subscription Received message: undefined from queue: import_service:project:import +3ms
rascal:Subscription Handling channel error: crashed :( from import_project using channel: 2ecf933a-7575-4f01-8882-b8e47470352e +5ms
app:log subscription.on('error') +9ms
app:rascal crashed :( +8ms
rascal:Subscription Subscribing to queue: import_service:project:import +0ms
rascal:Vhost Requested channel. Outstanding channel requests: 1 +7ms
rascal:SubscriberSession Removing channel: 2ecf933a-7575-4f01-8882-b8e47470352e from session +8ms
rascal:Vhost Created channel 7879819d-ba7a-4995-b8da-869c69daa79f from connection: c736f742-5ad7-45f1-b7da-33c381788acc +2ms
> Subscription.js: attachErrorHandlers
> Subscription.js: channel.consume callback null { consumerTag: 'amq.ctag-v23v7N-_ej5WSBp4vQscmA' }

It seems the channel is restarted immediately regardless of retry's min property.. I've tried {retry:1000,retry:true,and leaving it out} My code is pretty similar to the advanced example, although for some reason in the example the errors aren't caught and the app stops.
Anyway, my question is, is this expected behavior to have the channel restarting so much or did I go wrong somewhere? Thanks for any advice and for this library!
Also: retry: { delay: 1000 } does nothing despite what the docs suggest. I think it was changed to retry: 1000? https://github.com/guidesmiths/rascal/issues/12

Hi akowald,
Sorry you're having problems. I'll take a look and see if I can find out what's going on. It would help if you can share your code, either via a link to a github repo, gist or by pasting here.
Thanks,
Steve

One thing it could be - are you listening for errors? As per the very important section about event handling

amqplib emits error events when a connection or channel encounters a problem. Rascal will listen for these and provided you use the default configuration will attempt automatic recovery (reconnection etc), however these events can indicate errors in your code, so it's also important to bring them to your attention. Rascal does this by re-emitting the error event, which means if you don't handle them, they will bubble up to the uncaught error handler and crash your application.

OK - been looking into things a bit and I think I can clarify.
The subscription retry option is for automatically re-subscribing after a channel emits an error. The re-subscription is attempted immediately and if successful, and we're all good.
If re-subscription fails, then rascal will attempt to re-subscribe. This could lead to an infinite tight loop, which can be mitigated by the retry delay option.
In other words the retry delay option doesn't apply to channel errors, only re-subscription errors.
In your example I think the following is happening...

Subscriber receives a message
Subscriber throws an error, resulting in a channel error
The message is rolled back
Rascal re-subscribes successfully
GOTO 1

To resolve these types of error  catch the error in your handler and pass it to the ackOrNack with a recovery strategy, e.g.
subscription.on('message', (message, content, ackOrNack) => {
  doAsyncStuff(content, (err) => {
    if (err) return ackOrNack(err, { strategy: 'nack', defer: 1000, requeue: true })
    ackOrNack();
  })
}).on('error', (err) => console.error(err.message))

You'll need to vary the above depending on whether your code is synchronous, uses promises or async await.

Firstly, thanks for the reply. I should have provided code from the start: https://gist.github.com/akowald/2bbef80a69567e004d0a05231a9bfb82
It's similar to the example except that I commented out the redelivery option in the subscription config so that it wouldn't catch the message.
I've added defer to the recovery strategies like you suggested but I'm still seeing the channel spam above.  It will always emit a subscription error, triggering debug('subscription.on(error)', err.message) so I'm uncertain how I can use ackOrNack and use defer in this instance.