add battery amperage in mA

Having problems with some repaired chargers indicating
they are charging when they aren't.
Being able to easily view charge and discharge rate
in mA is helpful for diagnosing problems.

Thanks a lot! 👍


Doc example is causing parsing troubles. ":pipeline:" in label

I was following steps in the documentation
https://buildkite.com/docs/pipelines/defining-steps
steps:
  - command: .buildkite/pipeline.sh | buildkite-agent pipeline upload
    label: :pipeline: Upload
  - wait

I was getting error
2020-01-10 19:28:45 FATAL  Pipeline parsing of "pipeline.yml" failed (Failed to parse pipeline.yml: line 2: mapping values are not allowed in this context)
--
  | 🚨 Error: The command exited with status 1

As soon as I removed ":pipeline:" from label and changed it to
   label: Upload
it started working properly.
I was wondering if this is a bug in a code or in documentation? For now simple fix would be to remove ":pipeline:" from documentation.

Hey @ianbrex! Sorry you ran into that error, and thanks for letting us know. It looks like the example is missing some quotes 😬I'll add those to the docs 👍🏻
With quotes around the label text, the emoji renders properly and the error goes away:
steps:
  - command: .buildkite/pipeline.sh | buildkite-agent pipeline upload
    label: ":pipeline: Upload"


Adding support for GTM to modals

On eQ we need to have GTM events fired for:

When the modal is opened
When the modal is closed
The type of modal (timeout / regular)
If it is a timeout one, when the user clicks the button to extend the session

So we would like support added for GTM events for these so this information can be passed to GTM/GA.

@rmccar could you advise when you need this done please?

@rmccar could you advise when you need this done please?

As soon as possible really because we are currently missing the analytics for this


Show position + total lines displayed

Hi, this is a proposal for a small improvement to the pagination feature
I've added an option (paginationShowsTotal) that if set to true will display a short text giving the current lines displayed + the total number of elements (for instance: showing rows 5 to 9 of 45)
This is convenient when using the pagination (since only react bootstrap table knows what is the current page) but also when used in conjunction with filtering (it tells you how many lines match the filter which again we can only access from within react bootstrap table)
Let me know what you think

@jfremy, that's a good feature for pagination, I'll merge it in next version 👍
Thanks :)

@jfremy, Release on v2.1.5.  Thank a lots


Update 'URI' to 'URL' on the first page of the Connect dialog

Storage Explorer Version: rel/1.9.0_20190626.4
Platform/OS: Linux Ubuntu/macOS High Sierra/Windows 10
Architecture: ia32/x64
Commit: 0afd7438
Regression From: Not a regression
Steps to reproduce:

Launch storage explorer -> Open Connect dialog.
Check the descriptions on the dialog.

Expected Experience:
Show 'Use a shared access signature (SAS) URL'
Actual Experience:
Show 'Use a shared access signature (SAS) URI'

More Info:
Show URL when generating share access signature.

Fix the bottom string to say URI.

Verified this issue on the latest build master/20190708.4. It has been fixed. So we close it.

This issue reproduces on the build feature/main-host 20190709.6. So we re-open it.

Verified this issue on the build feature/main-host 20190711.2. It has been fixed. So we close it.


New implementation of firehose_exporter

Context
At Orange we have found some issue with some of our big cloud foundry instances:

We found that exporter was dropping metrics this was due to websocket used
http_start_stop on its implementation was calculating kind of speed instead of real counter/gauge. Hard to explains here but it was due the way they are been retrieved and deleted
Retrieving metrics was kind of slow at the end

All those issues appears when you have a big instance with a lot of traffic on it but we decided to help further and start rewrite some part for creating a new implementation.
We do hope that it will help the community, the first implementation was great anyway and helped so much.
Actual information about this implementation
We have ran this implementation during 2 months, first month we have found big memory consumption which have now fixed. The second month we have no issue, even better it takes less memory for running than previous implementation.
What change ?

This new complete version is fully retro-compatible with previous generated metrics, you can also deactivate
retro-compatibility with flag retro_compat.disable or env var FIREHOSE_EXPORTER_RETRO_COMPAT_DISABLE=false

Use log-api in grpc for fastest metrics retrieving: This fix logs dropping on a large cloud foundry instances

Remove http_start_stop metrics because those metrics was evaluating request velocity instead of request timing and
number.
This was replaced by rollup feature introduced on https://github.com/cloudfoundry/metric-store-release and
reimplemented here. You have now access to total number of request with metric [namespace]_http_total, request
timing by quantiles
(histogram metrics) with metrics [namespace]_http_duration_seconds_(bucket|sum|count) and finally response  size [namespace]_response_size_bytes_(count|sum) and [namespace]_response_size_bytes with quantiles 0.2, 0.5, 0.75, 0.95.
We have fix this part to have correct graph about apps traffic, dashboards has been fixed consequently.

Mechanism for exposing and collect metrics has been reworked, call on /metrics is faster now and there is less
line of codes

By default, metric in the form of [namespace]_counter_event_*_delta has been removed as it doesn't seem
interesting and https://github.com/cloudfoundry/metric-store-release doesn't collect them which confirm this
feeling.
You can anyway still get them by using flag retro_compat.enable_delta or env
var FIREHOSE_EXPORTER_RETRO_COMPAT_ENABLE_DELTA=true

How to fix your dashboards and alarms:
Replace metrics names to retrieve:

[namespace]_http_start_stop_requests => [namespace]_http_total

[namespace]_http_start_stop_response_size_bytes => [namespace]_response_size_bytes

[namespace]_http_start_stop_response_size_bytes_count => [namespace]_response_size_bytes_count

[namespace]_http_start_stop_response_size_bytes_sum => [namespace]_response_size_bytes_sum

[namespace]_http_start_stop_response_size_bytes_sum => [namespace]_response_size_bytes_sum

[namespace]_http_start_stop_server_request_duration_seconds => [namespace]_http_duration_seconds_bucket (metric is
now a histogram with bucket)

[namespace]_http_start_stop_server_request_duration_seconds_count => [namespace]_http_duration_seconds_count

[namespace]_http_start_stop_server_request_duration_seconds_sum => [namespace]_http_duration_seconds_sum

[namespace]_http_start_stop_last_request_timestamp => metric has been removed to avoid too much cpu work for
exporter for metric not used in default dashboards or alerts

[namespace]_http_start_stop_client_request_duration_seconds_count => metric has been removed because it was
already not reported anymore on app but only on gorouter metric

[namespace]_http_start_stop_client_request_duration_seconds_sum => metric has been removed because it was already
not reported anymore on app but only on gorouter metric
Associated pull request
We have have fixed dashboards and job consequently to this new implementation, we have also added new panels in latency board. you will find this PR here: https://github.com/bosh-prometheus/prometheus-boshrelease/pull/414

@ArthurHlt Thanks for this PR! Can you please take a look at the failing tests before I review it?

Just to say that on our production all is working correctly with those fixes on race conditions

thx @ArthurHlt


Where to download ImageNet-200

Hello, I couldn't find any relevant information about the imagenet-200 dataset in paper and project. Could you please tell me where I can download that dataset?
Also, could you provide more details about the specific categories included in this dataset?

ImageNet-200 is just a 200-category subset of ImageNet-1K. The categories are the same as those of ImageNet-R; if you have downloaded our benchmark_imglist, you could see the categories (WordNet ID) by browsing benchmark_imglist/imgnet200/train_imgnet200.txt. We've also put up a documentation of the used datasets in the Wiki which might be helpful too.

Thank you for your prompt response. I'm still curious whether this project provides scripts to help me identify the corresponding classes from the already downloaded imagenet-1k dataset and generate the imagenet-200 dataset?

OpenOOD can return you an ImglistDataset instance of ImageNet-200 by specifying the filepath of the corresponding imglist file. See an example below.
inet200_train_dset = ImglistDataset(
    name='imagenet200',
    imglist_pth='openood_root/data/benchmark_imglist/imagenet200/train_imagenet200.txt',
    data_dir='openood_root/data/images_largescale',
    num_classes=200,
    preprocessor=ImageNet_transform # standard imagenet preprocessing,
    data_aux_preprocessor=None
)

See https://github.com/Jingkang50/OpenOOD/blob/main/openood/datasets/imglist_dataset.py for details.

Thanks a lot


ui: record page

Ideas:

Title
Description
Side part with permissions/access information
Cool DOI highlighted top right (?)

Let's omit permission and DOI since we are not minting DOI yet and permissions are not settled.

@fenekku  permissions are not settled, but we are allowing them to be customized (with the current schema) therefore for clarity I would (if possible) add a simple something on the right (as in the mockups Lars send).
I understand they are not settled yet, but at least would give the impression of where the permissions would be.
I also understand the perspective of "its gonna change, is not settled, why shall we do it". But all might change... :sweat_smile: : no?


How Do I Prevent A Certain Class From Being Obfuscated?

Bug Report
Expected Behaviour
i want to leave one of the classes of my java program unobfuscated
Actual Behaviour
Tell us what happened. If there is an Exception please attach it.
How to reproduce the behaviour
there is no error, it's just it obf's the class and I don't want it to do that
Possible fix
some piece of code i can put in to prevent a specific class from being obfed?

https://github.com/superblaubeere27/obfuscator#scripting-tab
example
function isObfuscatorEnabledForClass(node) {
	return node.name != "you/class/API"; // no .class
}

Thanks!


Opening Recycle Bin or Control Panel redirects to the File Explorer

Every time I try opening the recycle bin or the control panel they just open the file explorer and now I cannot access them even tried typing control panel in the path

Thanks for the feedback. Please make a new issue following the issue templates. It tells you how to fill it out if you don't know what to put for a section.


refactor: Require timestamp of last candle when watching candles

Codecov Report

Merging #137 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #137   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        16
  Lines          376       374    -2
  Branches        23        23
=========================================
- Hits           376       374    -2

Flag
Coverage Δ

#unittests
100.00% <100.00%> (ø)

Impacted Files
Coverage Δ

src/product/ProductAPI.ts
100.00% <100.00%> (ø)


Encode LoRa beacons in Base91

The beacons sent via LoRa by the iGate do not use Base91 encoded data, meaning that the packets are longer than needed.
The iGate should encode the beacons in base91.

Beacon is now encoded in base91, saving 6 bytes per transmission


Automatically create goods.csv if it does not exist yet

Error is caused in java/seedu/address/storage/CsvGoodsStorage.java


Basic server example fails if there is no default domain configured in /etc/resolv.conf

To recreate:
latest version of module
latest version of all deps
puppet version 4.4.1
manifest:
class { '::nfs':
      server_enabled => true,
    }

invocation:
puppet apply nfs.pp
result:
[root@testhost ciu-puppet]# puppet apply nfs.pp
Warning: Undefined variable 'domain';
   (file & line not available)
Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Nfs]: parameter 'nfs_v4_idmap_domain' expects a String value, got Undef at /home/jeffa/nfs.pp:1:1 on node testhost

Hi,
the parameter nfs_v4_idmap_domain should come from your global system environment variable $::domain, as you can see in the params class: https://github.com/derdanne/puppet-nfs/blob/38bf733208d9003b97f0cee16f151f751ad3d31a/manifests/params.pp#L38.
Please check the output on your test system via facter domain

I will set a default domain to 'example.com' when no $::domain is defined.

Fixed in https://github.com/derdanne/puppet-nfs/tree/bugfix_rpcbind.service__default_domain

Thanks Daniel,
I am sorry I have not had chance to retest, but your prosed fix will work a treat.
The issue only occurs when the system is poorly configured, but at least it avoids the hard fail.
Thanks again
Jeff

merged to master


View color ramp setting is not saved / restored in *.scopesession

Issue reproduced with latest version of glscopeclient https://github.com/glscopeclient/scopehal-apps/commit/af2c022e85fbb9905960ebc272c86d3319ccc196 on windows 10 (using https://github.com/glscopeclient/scopehal-apps/suites/6973742607/artifacts/272626580)
View => color ramp setting is not saved / restored in *.scopesession
Can be easily reproduced with any signal displaying for example an Eyepattern with View->Color ramp different from default CRT (example if we choose Rainbow we save the sessions and restore it, it will restore default View->Color ramp => CRT)

The current color ramp was intended to be a user preference, not a file setting (i.e. it should follow the user and if you load a scopesession on another user's workstation it should use their preferred colors).
It's not currently saved as such. We should have a greater discussion as to whether it makes sense for this to be a per-file or per-user setting.
Also, I'd like to be able to have more than one ramp selected for different uses (e.g. eye patterns and spectrograms might not be best to use the same ramp).

Yes that feature clearly requires refactoring to be stored with scopesession per chan requiring it
Short term could be to have a way to change globally the default "View->Color ramp" to something different from default "CRT" (as it is clearly ugly)

Fixed in ngscopeclient from day one, glscopeclient is deprecated so closing this


Update course-2023-03-17 Session 14 Notes.md

Correction of dates & sequence

I guess you'll want also rename the file. I have no idea how to do it via GitHub web page. X)


Not disconnecting in iOS

Description
When calling BleClient.disconnect(), it resolves but doesn't actually disconnect. exiting app doesn't help, user needs to manually turn bluetooth off and wait for 7-10 seconds to actually disconnect. It is happening only in iOS, not in Android.
To Reproduce

BleClient.connect(<DEVICE_1>)
BleClient.disconnect(<DEVICE_1>)

Expected behavior
Actually disconnect the device, but it falsely resolves the promise and don't actually does disconnect.
Plugin version:

@capacitor-community/bluetooth-le: 2.1.0 (Same was happening in 2.0.1)

Desktop
OS: macOS Monterey
Browser :NA
Version : version 12.4
Smartphone
Device: iphone12 mini and iPhone 11 Pro Max
OS: iOS
Browser : NA
Version : 15.6.1 (iphone12 mini) and 15.7 (iPhone 11 Pro Max)
Additional context
Another issue i reported, Which mentioned calling BleClient.getConnectedDevices() stops notifications (it was related with callback, it was receiving notifications but failed to call callback).
Are 2 issues related internally ?

I don't think the two issues are related.
Could it be that the connection to the peripheral was established in another app or by the OS? In that case, a disconnect call will only disconnect the peripheral for your app, but the actual BLE connection will remain. The is the default behavior in iOS. If your app didn't establish the connection, it does not have the rights to end it.

Thanks for response,
I am connecting with same app, and disconnecting. But i have to wait at least 20-22 seconds before disconnecting, or else it stays connected for remaining time. (in short, the app wants to stay connected for at least 20-22 seconds, if you do anything in the app, for example for a minute, it disconnects perfectly)
I have checked now, same issue is happening for "cordova-plugin-ble-central": "1.2.4", so it have no problem with this specific plugin. can we do anything about that ?

If it also happens with other apps / plugins, I don't think there is anything we can do about it.

I think that this issue is related with this one:
https://github.com/capacitor-community/bluetooth-le/issues/482


vpn mode

could we use vpn mode with this project ?
i wanna use it on ios application but with VPN mode  ( full tunnel )

https://github.com/daemooon/Tun2SocksKit
https://github.com/daemooon/Mango


Custom props on the final component

Hi there,
Maybe I didn't saw the option to give props (like className) to the the final component. My use case is styling components with styled-jsx, I need to set the className prop on the final component that will be styled.
Have a nice day.

Hey @Simounet,
you should now be able to pass a className prop (and more) on the final component.
See https://github.com/prismicio/prismic-reactjs/pull/41
Note that if you need to do this on children components, you will need to rely on htmlSerializer prop. See this: https://prismic.io/docs/javascript/beyond-the-api/html-serializer
Let me know if I can help further,
Hugo


chore(operator-yaml): Update provisioner-localpv image version to 2.11.1

Signed-off-by: Niladri Halder<EMAIL_ADDRESS>Ref: https://github.com/openebs/dynamic-localpv-provisioner/issues/71
Depends on https://github.com/openebs/dynamic-localpv-provisioner/pull/73

Verified that this change fixes https://github.com/openebs/dynamic-localpv-provisioner/issues/71.


NETOBSERV-1064: TCP drop & DNS tracking

Adding packet loss query options as:

Dropped: show records fully dropped packets
Contains drops: show records that contains drops but may be sent
Sent: show records that contains sent packets
All: show all records

Also add drops count in Packets & Bytes columns:

Side panel detailed view:

Full page:

Topology redlines:

Overview new graphs:

Adding DNS request / response / latency:

Summary panel:

The console plugin check for features: ['tcpDrop', 'dnsTracking'] in its ConfigMap to show / hide the additionnal panels / columns.
ToDo:

[X] Dark theme
[X] Topology lines color
[X] ~Topology selection~ actually works fine on 4.13.4
[X] TcpDropState graph
[X] TcpDropCause graph
[X] ~Exclude "0 = empty dropped" state / "not dropped yet" cause from queries~ Replaced by full text

You can use make start-standalone-mock to try this PR without running related ones:
https://github.com/netobserv/netobserv-ebpf-agent/pull/115

@jpinsonneau Looks good
(1) can we agree to "remove" the entries when there is N/A --- I do not see a logic to showing red-colored N/A values
(2) Looking into the UI screenshot - I see partially dropped packets in some entries --- is that correct? Do we drop parts of the data from a flow? This is interesting ( maybe this is due to sampling? and if so, this will cause a lot of questions ... is the data correct )

/ok-to-test

Fully retested in OCP console with addressed feedback:

updated descriptions

without drops (previously sent) filter now match on "TcpDropPackets":0

force strict label check
reuse lineFilters

My main concern is for the whole DNS epic: I don't think it brings as much value as it could, because of the user workflow: having to find specific DNS request and response by playing with filters, before being eventually able to get the latency info, makes it only relevant for specific troubleshooting use cases and not for monitoring in a broader sense, and even then, the value added is limited as we can get the same info by looking at rq/rs flow timestamps.
I get that this is inherent to the data provided by the Agent, so maybe we need to discuss more about how we could enhance the experience (e.g. revisit how the agent provides the dns flows?)
This is not blocking this PR, but I think we should either find follow-ups to do as part of the DNS epic, or flag this epic as experimental, or something in that vein, if it's not fully fleshed and is required to be revisited.
Also, as follow-ups for DNS: should we do anything specific about the DNS flags? I see the field is added but nothing is done from it. E.g. filtering for DNS errors, showing errors in a specific way?

/lgtm
thanks @jpinsonneau !

/lgtm thanks @jpinsonneau !

@jotak looks like rebasing makes me forget about a flag to expose DNS Id filter:
https://github.com/netobserv/network-observability-console-plugin/pull/324/commits/13c79091dc900a9808e98c86afeb6327d22c050b

Have you tested it ?

/ok-to-test

https://github.com/netobserv/network-observability-console-plugin/pull/356 included this PR

Replaced by https://github.com/netobserv/network-observability-console-plugin/pull/356


issue

We have written the needed data into your clipboard because it was too large to send. Please paste.

/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


epson epkowa drivers: previous tarballs unavailable

Epson has updated many scanner drivers recently. Packages other than the latest release have been removed from their website, which causes the build of pkgs.epkowa to fail.
CC package maintainer: @symphorien

thanks for the head up; can you try your device with #68225 ?

Thank you for the quick update :+1:
It works fine with my device. I've approved the pull request.


added azure_arm ex_delete_public_ip

added azure_arm ex_delete_public_ip
Description
This feature is just a function with in the azure_arm driver. Lib cloud users can now delete Azure ARM public ip address resources. the ex_delete_resource() method could not be used as RESOURCE_API_VERSION is too old to support the publicIpAddress resource.
Status

testing
done, ready for review

Checklist

[x] Code linting (required, can be done after the PR checks)
[x] Documentation
[ ] Tests

https://github.com/apache/libcloud/issues/1317

Codecov Report

Merging #1318 into trunk will decrease coverage by <.01%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##            trunk    #1318      +/-   ##
==========================================
- Coverage   86.25%   86.25%   -0.01%
==========================================
  Files         365      365
  Lines       75250    75253       +3
  Branches     6882     6882
==========================================
- Hits        64909    64908       -1
- Misses       7568     7571       +3
- Partials     2773     2774       +1

Impacted Files
Coverage Δ

libcloud/compute/drivers/azure_arm.py
54.18% <33.33%> (-0.11%)
:arrow_down:

libcloud/test/compute/test_upcloud.py
90.06% <0%> (-1.33%)
:arrow_down:

Continue to review full report at Codecov.

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

@redha1419 Thanks for the contribution.
The change looks good to me, but can you please add a test case for it? You can find other example test cases in libcloud/test/compute/test_azure_arm.py

@redha1419 Thanks for working on the tests. I helped you a bit and added missing fixtures - d63de53644aad61fdddaa312fd7343cee2f552d9.
In addition to that, it looks like this method is not really needed per say since there already is an existing ex_delete_resource method which should work with arbitrary resource, including IP address.
So in a sense, this new method is really just an alias for ex_delete_resource method - c83b61d8d9fd8214469122d71b73c8b4da2700f7d63de53644aad61fdddaa312fd7343cee2f552d9

EDIT: I was wrong - about ex_resource_delete working for IP addresses.
It looks like IP address functionality is part of the new API version (https://docs.microsoft.com/en-us/rest/api/virtualnetwork/publicipaddress(preview)/delete) and code change in c83b61d won't actually work.
I'll revert my change in c83b61d and leave you original code change which uses newer API version in place.

Yes I should have left a comment about the API version. Thanks so much for looking into it though. @Kami.


gateway sub-graph support

Stack:

#54
#56
#53
#57 ⬅
#55

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #54


Some components assume a light background (Sparklines, CompareTable, RegionSearch) and their visual attributes are not taken from the theme

Partial solution: https://github.com/covid-projections/act-now-packages/pull/372


Merge argument order looks wrong in configuration_loader.lua

tablex.merge preserves values from the table on the right when there's a conflict:
$ lua
> t = require"pl.tablex"
> a=t.merge({a=1},{a=3},true)
> =a.a
3

But lines 17 and 25 of configuration_loader.lua have the default configuration on the right, and the config file on the left, so I suspect the config file can't overwrite anything.  Swapping them around fixed my problem anyway.
Looking further, it would appear that fixing #327 caused this.  As far as I can tell, at this point, config contains both default values and command-line values.  So it might be more a question of the order in which default, .busted and command-line values are merged, rather that swapping the order here.
Unfortunately I'm not sure you can tell the difference between what cliargs really read on the command line, and what it added for you as a default.

I don't think the configuration file is supposed to overwrite anything.  The way I understand it is that, the command line is supposed to overwrite what is in the configuration file.
Quoting from http://olivinelabs.com/busted:

Busted 1.6 added a concept of "tasks", or predefined busted configuration options. You can create a .busted file in the root, which is automatically loaded if it exists. Default options are run if no task is specified. You can add any argument available in the CLI (listed above), using the long name. (Use verbose = true, not v = true.) Any arguments you specify will override those set in the task.

Yes, but the default arguments come through at the same time as the commands that were actually put on the command line.
For example, runner.lua has
local lpathprefix = './src/?.lua;./src/?/?.lua;./src/?/init.lua'

Then
cli:add_option('-m, --lpath=PATH', 'optional path to be prefixed to the Lua module search path', lpathprefix)

So by the time you get to
local config, err = configLoader(configFile, cliArgs)

even if you only type busted on the command line, cliArgs contains a value for lpath.
So if you have a .busted with
return { default = { lpath = "./my_path/?/?.lua" } }

It'll be ignored. (Try it!)
The problem isn't that things that are actually on the command-line are overridden, it's that the default values look like they came from the command-line.

tl;dr; If there is a .busted file, we need to -not- default cliargs.

Is it as simple as that?  You might want some the other default args that are neither on the cli nor in .busted, and also, .busted is searched for in --cwd.
The only solution I've managed to come up with is having cli_args tell you which args are default and which were actually specified on the command line, and that seems hard enough that there must be a better solution.

Err, sorry, you're right, we do need field level control on defaults. Load the busted file and populate the values there as the defaults in cliargs.

Or, if they are not specified in .busted, use the default in code.

@geoffleyland: Sorry, I didn't quite understand the issue at first, but I now I understand what the issue is.
It might be as simple as having a a cliDefaultArgs variable populated with the default values then pre-merge this with the cliArgs, returned from cli:parse, before sending to the configuration loader.
It woud look something like this:
local cliDefaultArgs = { ... }
...
local cliArgs = cli:parse(arg)
...
if bustedConfigFile then
  local config, err = configLoader(configFile, tablex.merge(cliDefaultArgs, cliArgs, true))
  ...
end
...

The problem is that cliargs sets all default values to '' if the default is not provided, and flags are always defaulted to false.  However, a recent update to cliargs allows us to capture options as they are parsed by cliargs, making something like the above possible.

Why can't we reverse this and merge the config file with the built in defaults, then pass those values in as the defaults in cliargs?

...crap, I know why. We can specify the config file at the command line. We'd have to repeat the process twice if a custom one was specified.

Another issue is that if you go busted --help then cli_args shows you the defaults, which is nice.  Any fix which involves not passing the defaults into cli_args would lose the "feature" of having the defaults displayed in the help.

Probably need to pass the builtin defaults, cliArgs, and config file to the config loader.
local config, err = configLoader(configFile, cliDefaultArgs, cliArgs)

Then in configLoader do something like:
function configLoader(configFile, configDefaults, config)
  local runConfig = configFile[config.run]
  config = tablex.merge(runConfig, config, true)
  config = tablex.merge(configDefaults, config, true)
  return config
end

This assumes that cliArgs has not been populated with any default values.  So if it was not specified on the command-line, then it is nil.  This can be easily done with the latest version of cliargs, and still have the defaults passed to cli:add_option, preserving the defaults in the help message.
I'll see if I can whip up something later tonight.

I made some changes that address this issue (o-lim/busted@e457fcc).
Let me know if this solves the problem or if there is still something missing.  If everything looks okay, I'll create a PR.

This works for my test case, so as far as I'm concerned it's fixed.  Thank you!


add license

it's a very interesting project!
Would you consider adding a license to this repository to specify under which terms this code can be used?

Thanks! I have updated the project repo with a License.

it's a very interesting project!
Would you consider adding a license to this repository to specify under which terms this code can be used?

Thanks! I have updated the project repo with a proper License.


add NIH-plug

An actively developed plugin framework using the Rust programming language.
https://github.com/robbert-vdh/nih-plug

Actually, I should probably ask the developer of nih-plug for permission first.


cannot connect to X server

I was able to resolve the issue ImportError by installing Debian Buster on RPi-3B+ but now I am encountering another problem which I guess is not that tricky but I still I am struck :(
I get the following error when I try to run:
(tflite1-env) pi@raspberrypi:~/tflite1 $ python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model
INFO: Initialized TensorFlow Lite runtime.
: cannot connect to X server
Segmentation fault
@EdjeElectronics  any suggestion?

So I got to know about the issue.
It's a silly thing to run python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model this command in SSH as SSH doesn't open the camera stream window.  Instead, if you don't have access to monitor. Use VNC.
100% Worked for me .
Thanks @EdjeElectronics for your assistance and this great project. :)
Cheers

i also made this silly mistake of running this through SSH. Executed it form terminal in VNC worked perfectly.


Use Ecto 4.0?

Hi,
I'm starting a new phoenix project where Ecto 4.0.0 is the default version. However arangodb_ecto requires Ecto 2.2. I tried to use Ecto 2.2 but it is apparently unavailable on hex?

In addition, is there another way to query ArangoDB without relying on Ecto?

@tbm206 I suppose you mean Ecto 3.0, since there exists no version 4.0 as of now (https://www.hex.pm/packages/ecto/versions). I have been meaning to update the adapter to Ecto 3.0 for a while now, but unfortunately I never found enough time.
Anyway, you can certainly use Ecto 2.2 since this is also what we do for now. Just make sure that your deps list specifies the correct version: {:ecto, "~> 2.2"}
You can always resort to pure AQL like this:
{:ok, result} = ArangoDB.Ecto.query(MyRepo, """
      FOR d in docs
        FILTER ...
        RETURN d
      """)

This will use the DB settings from your Repo configuration.

I know this is an old issue but just in case someone is looking at this in the future. I have made an adapter for ArangoDB for Ecto 3.x. It also implements some additional features such as better support for graphs, geo data, etc.
https://github.com/TomGrozev/arangox_ecto


bug: focused layout doesn't update hash route unless clicked twice

Using 9.3.3, when using focused render mode, clicking navigation links on the sidebar, both the "active" status, and the hash route don't change until it is clicked twice, as shown below:

Reverting to 9.3.2, this issue is not present when using focused render mode. Receive no errors in the console or similar.
Let me know if there is any further information I can provide.
EDIT: for some additional info, this is how I'm loading the component currently (inside of a Vue app):
<!-- [...] -->
  <rapi-doc
    render-style="focused"
    spec-url="https://petstore.swagger.io/v2/swagger.json"
    show-header="false"
    show-info="true"
    show-method-in-nav-bar="as-colored-block"
    nav-item-spacing="relaxed"
    allow-authentication="false"
    allow-server-selection="false"
    allow-spec-url-load="false"
    allow-spec-file-load="false"
    allow-spec-file-download="false"
    allow-api-list-style-selection="false"
    load-fonts="false"
    regular-font="Consolas, monaco, monospace"
    mono-font="Consolas, monaco, monospace"
    :bg-color="theme.bg"
    :text-color="theme.text"
    :primary-color="theme.primary"
    class="h-full w-full"
  >
    <div slot="nav-logo">
	  <!-- custom component for added navigation -->
      <CoreNavigation slim hide-source class="pb-2" />
    </div>
  </rapi-doc>
<!-- [...] -->

Also an unrelated bug, but noticed this example:
https://rapidocweb.com/examples/themes.html#get-/pet/findByStatus
Has a broken method reference at the top of the reference:

w.r.t you original bug, where you need to click twice on nav-bar has already been taken care of, but not yet released.
if you like to test it at your end use rapidoc-min.js from dist folder in this repo
you also see it in action on our example page that uses non-released version https://rapidocweb.com/examples/focused-mode.html
The other bug where the method is repeated due to incorrect HTML is taken care by https://github.com/rapi-doc/RapiDoc/commit/ec5944a20aaf6b1be0bbdda5554e4e0f8d650d46


Move k8s.io deps to proper semvers

What this PR does / why we need it:
k8s.io/* dependencies now are fully boarded to gomods.
NONE

/lgtm


Remove duplicate entries in Set.fromList/Dict.fromList

If some of the keys are the same, then we can remove some of them (potentially telling the user there's a problem with their setup).
Dict.fromList [ ( 1, a ), ( 2, b ), ( 3, c ), ( 1, d ) ]
-->
Dict.fromList [ ( 2, b ), ( 3, c ), ( 1, d ) ]

Dict.fromList [ ( 1, a ), ( 2, b ), ( 3, c ) ]
  |> Dict.insert 1 d
-->
Dict.fromList [ ( 2, b ), ( 3, c ) ]
  |> Dict.insert 1 d
--> Or alternatively put it directly in the list, probably nicer
Dict.fromList [ ( 2, b ), ( 3, c ), ( 1, d ) ]

Set.fromList [ 1, 2, 3, 1 ]
-->
Set.fromList [ 2, 3, 1 ]
--> or remove the later one 🤷
Set.fromList [ 1, 2, 3 ]

Set.fromList [ 1, 2, 3 ]
  |> Set.insert 1
-->
Set.fromList [ 1, 2, 3 ]

We can also implement these checks for unknown key expressions like
Set.fromList [ a, a ]
--> Set.fromList [ a ]

NaNs do not follow this rule
Set.fromList [ 0/0, 0/0 ]
--> Set.fromList [NaN,NaN]

so we should only do it if expectNaN is configured False.

I think I'll implement some of those

Another simplification we can do is
Dict.fromList [ a, anything, a ]
--> Dict.fromList [ anything, a ]

(again, doesn't work when expecting NaN)


Virtual environment issue

Running conda env create --file environment.yml to create the virtual environment completes successfully (link to full terminal output), however when trying to run proswap field-maps-scripts I get the following error:
proswap: C:\Program Files\ArcGIS\Pro\bin\Python\envs\field-maps-scripts environment doesn't appear to contain ArcGIS Pro
In ArcGIS Pro when I go to Package Manager > Environment Manager I get the following error:
Broken Environment. Cannot be activated.

Additionally when activating the environment in the Python Command prompt I also get this message:
(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3>activate field-maps-scripts
Current directory is another environment, changing directory to active environment.

(field-maps-scripts) C:\Program Files\ArcGIS\Pro\bin\Python\envs\field-maps-scripts\etc\conda\activate.d>rem proj-data is installed because its license was copied over

Is there anything I'm missing? Any help will be appreciated.
To Reproduce
Steps to reproduce the behavior:

Install ArcGIS Pro 3.0
Run conda env create --file environment.yml to create the virtual environment with the correct dependencies
Run activate field-maps-scripts to activate the environment
Run proswap field-maps-scripts to activate the environment
See error
Open ArcGIS Pro, go to Package Manager > Environment Manager
See error

Expected behavior
A working virtual environment which can be activated in ArcGIS Pro.

It looks like you forgot to clone your default ArcGIS Pro environment (arcgispro-py3) before changing your environment variables, which is guaranteed to cause problems.
You're supposed to make a copy of your default environment and leave the original as-is. A clean uninstall/install should do the trick.

Thanks for the reply @nkorchonnoff. I received a new laptop, did a clean install of ArcGIS Pro and cloned the default environment. Then ran the conda env create --file environment.yml command, which completed. However I still get this problem:

I tried to repair the environment in Pro, but it fails. Link to output from repair


goimports updates to prepare for Go 1.17

Run goimports to make code compatible with Go 1.17
Signed-off-by: David Enyeart<EMAIL_ADDRESS>

Going to go with a more minimal approach...


Witgen: Remember which machine answers to which lookup / permutation

With this PR, we remember the mapping from Lookup / Permutation Identity to Machine. This is cleaner, lets us save some work when calling a machine and allows us to fail earlier if no machine can answer the call (at machine extraction time, rather than runtime.
Changes:

Machine::process_plookup(): Instead of passing in right and kind, machines now only receive an IdentityId. If the machine needs to access any of the expressions, references to it have to be stored with the machine.
Machine::identities(): New function that lets us ask the machine for which identities it feels respondible.
The Machines struct now stores the mapping from IdentityId to machine index, allowing us to replace the loop of trying all machines with a simple call to Machines::call().
The identity kind is now also stored in Identity::id. Previously, this only stored a usize which is not necessarily unique. As mentioned above, this change could be merged as part of a separate PR.

Benchmark Results:
executor-benchmark/keccak
                        time:   [8.7242 s 8.9755 s 9.3876 s]
                        change: [-4.7814% +0.8652% +7.4252%] (p = 0.79 > 0.05)
                        No change in performance detected.

executor-benchmark/many_chunks_chunk_0
                        time:   [38.731 s 39.313 s 40.081 s]
                        change: [-5.6906% -3.9986% -1.8421%] (p = 0.00 < 0.05)
                        Performance has improved.

I merged the changes from #1196, makes this PR a bit simpler!
@chriseth Please have another look :)


BUG FIX [not urgent]: severe malaria cases may not be resolved if mortality rate changes

This bug does not arise in any of the current model configurations and does not require an urgent fix.
Malaria module:
If in future the case fatality rate or mortality adjustment parameter is modified such that not all severe malaria cases are routed through the MalariaDeathEvent, any cases which do not have a scheduled death will not have their symptoms resolved after treatment. They will remain indefinitely on treatment.
Currently, through the combination of cfr and mortality_adjustment, which are calibrated to match WHO estimates, all severe malaria cases have a scheduled death and this is modified by appropriate treatment in MalariaDeathEvent. If an individual does not die, they will be cured (symptoms resolved and treatment status reset to 'none').
If we change the cfr, for example, to have higher rates for children and lower rates for adults, some severe cases will not be routed through the MalariaDeathEvent and these cases will not have symptoms resolved at any point.
The solution is to change the property ma_tx to a categorical variable indicating which treatment regimen a person is using, then add an additional treatment resolution code snippet to allow any severe cases who are not routed through the death event, to have their symptoms resolved.
This bug will not affect any of the current runs and the fix does not affect any of the outputs. Results from a short run are below.

@tdm32  - please could you merge-in master to this one and resolve conflicts


QR Code Scanner

Add QR Code Scanner page

If correct URL, transition to Preview Screen
Else, show an Error Alert to the user
Add CTA for Joining with Link

After using the scanner 2-3 times
It stops working on my device
Redmi 10 prime version11


ASCII color codes are displayed inline for rust_analyzer

Description
Sometimes, the error printed as ASCII color codes in the string from rust_analyzer. It makes the error very hard to read. Could this be caused by an underlying library? I had a quick look at the trait definition I used, and didn't find any offending color codes there.
Neovim version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more info
Nvim-lspconfig version
No response
Operating system and version
Ubuntu 22.04
Affected language servers
rust_analyzer
Steps to reproduce

Create the following crate:
cargo new -q foo
cd foo
cargo add -q<EMAIL_ADDRESS>cat <<EOF > src/main.rs
use rocket::UriDisplayPath;

fn main() {
    println!("Hello, world!");
}

#[derive(UriDisplayPath)]
pub enum Foo {
    Bar,
}
EOF

Optionally run cargo check.

Open src/main.rs with Vim.

Actual behavior
The same thing, just without the ASCII color codes printed. Ideally, they would be encoded into colors, but if that's hard then they should be stripped.
Expected behavior

Minimal config
local on_attach = function(client, bufnr)
  -- Enable completion triggered by <c-x><c-o>
  vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
end

require("mason").setup()
require("mason-lspconfig").setup({
  ensure_installed = {
    "rust_analyzer",
  },
  automatic_installation = true,
})

require('lspconfig')['rust_analyzer'].setup {
    on_attach = on_attach,
}

LSP log
https://gist.github.com/lindhe/07979ad869c5f19ff50728e4b7af0da0

I think it's more like a rust-analyzer issue. vs code
have the same problem

you can use vim.lsp.with to reformat the message by using regex remove these ascii color code.


Reading 'unsupported' vehicle state attributes?

There are numerous state attributes of the Pixhawk2.1/Cube (APM:Copter-3.5.5) that Mission Planner displays in its status page that aren't included in the list of supported attributes using dronekit.  As just one example, I would like to be able to read the 'press_abs' variable  (pressure reported by the internal barometer).  Is there any way to do this with the official release of dronekit?

Yes. you can directly listen for the message of interest using http://python.dronekit.io/guide/mavlink_messages.html
You can also subclass vehicle to create your own API with the attribute of interest - http://python.dronekit.io/examples/create_attribute.htm

Thanks.  This was exactly the lead I needed.  Now a followup question:  I'm looking at the raw MAV messages (wildcard listener; see attached screen cap), and while I understand what many of them are, some are more obscure.  Is there a comprehensive reference somewhere for the interpretation of each variable?
For example, in the SCALED_PRESSURE message, what is 'press_diff' a difference from?
Also, it appears that absolute GPS time is not among the values reported, only system time, which could be wrong if the internal clock hasn't been recently set  -- is this correct?

The definitions are here: https://mavlink.io/en/messages/common.html#SCALED_PRESSURE
If there isn't enough information then best place to ask questions is the MAVLink slack channel

Perfect, thank you.
It's still a bit mystifying that there's apparently no way to capture the GPS-reported time; my cube only reports microseconds since boot.


format of OSC messages to radio.js

Hi, this code is super interesting and I'm really interested in trying to get it to work with PureData, by sending OSC messages from there.
I'm just wondering what the formatting of a typical OSC message is that radio.js expects. I'm not familiar with SuperCollider so I'm finding it a little difficult to figure out what's going on there. Any help/insights would be greatly appreciated!
Thanks

Hello! I'm glad you're interested in the project, it should be fairly easy to run it in PD, I briefly tested it in Max:
Run the script and make sure browser is open and the radios are playing.
The OSC address is <IP_ADDRESS>, 57121
create a udpsend (or equivalent) with the above address.
The message you send should have the following syntax:
/fromPD voice $1 volume $1
You must use the header (/fromPD) and specify the voice, after that you can send any parameter you want and you can even send multiple parameters in a single message
The available parameters are:
volume $1 (-inf, 0 db)
mode $1  (CW, LSB, USB, FM, AM, AMsync)
frequency $1 (float)
mute $1 (0-1)
limiter $1 (-inf, 0db)
solo $1 (0-1)
a message example:
/fromPD voice 1 volume 0 frequency 600
it will set the first voice (2nd tab) to 0 db volume and frequency 600
From here on the world is your oyster, you can create sequencers, envelopes and whatever else you want inside PD and control Crawler your way! :D
Let me know if you get it to work, I'm delighted that somebody showed interest, let's talk more!

This is brilliant. Thank you so much for this info. I got the script running just fine but the thing thing that was stumping me was the 'voice $1' at the start of the OSC message. I've got it working now in a very basic way.
I'd like to also implement a way of opening and closing the browser with OSC messages from PD. I can probably figure that out from reading up on how to use Puppeteer.
This code is absolutely great. Thanks so much for working on this, it's a great thing to be able to play with!


Fix Travis CI configuration

Sorry, I'm in the process of removing the travis support from the mainline CUPS due to my lack of privileges to grant repository access to Travis CI. I wish this was not so, but ...

I’d vote for keeping it even though you cannot directly use it, I still can, and it already found some things.
This pull request is still work in progress, as I put a commit trying to fix a build issue on top.


[Automation] Generate SDK based on TypeSpec 0.18.0 DEV

[Automation] Generate SDK based on TypeSpec 0.18.0 DEV

API change check
API changes are not detected in this pull request.


Requiring es6 node modules

re: https://github.com/sebmck/6to5/blob/master/lib/6to5/register.js#L11-13
If I write a module using es6, I can't import it from another node project (using es6 or otherwise) unless I remove these lines or if I include the compiled source in the module, which doesn't always happen cleanly.
Coffeescript uses special file extensions (.coffee, like your .es6) that solve this problem. To make it easy to require es6 modules, I propose either:

Only allow requires to work on .es6, like coffeescript, and allow to run on node-modules;
Have register return a function that accepts options, so I can define a regex (or file extension, or both) for files that should be compiled.

I can make a PR if you think this is a good idea.

For anyone who comes across this issue, here are the updated options for 6to5/register: https://6to5.org/docs/usage/require/


--kill-others should work with --success

Description: Using --kill-others to top a process causes it to exit with a non zero exit code. --success specifies that if one process exits cleanly, then concurrently should exit cleanly. It does not.
Expected Behavior: concurrently should exit with code 0
Environment: MacOS
Reproduction: concurrently --kill-others -s last "process-that-doesnt-exit" "tests-that-exit-cleanly"

I have a similar issue I believe
I am using the package to run my integration tests. It does two things

start the webpack dev server
run the jest tests against it

Tests run successfully and exit with 0, that in turn triggers the SIGTERM being sent to other processes (as shown in the logs) but the exit code sent to the process on windows is 1 while it is SIGTERM on mac.
We rely on SIGTERM to do some clean-up but because of the way it exits right now, we are unable to do so only on windows.
On Windows -

On Mac -

Reproduction: concurrently --kill-others -s last "process-that-doesnt-exit" "tests-that-exit-cleanly"

I could suggest trying to change "last" to "first".

@andy265 it's not working.
@dmidnight  Is there any update on this issue?

What @andy265 said is right. --success last refers to the last command to exit, not the last listed command.
@HoneyQumo can you provide any details about what's not working? If I don't have reproduction steps, I can't help.

@40x it might be better to open a new issue for your use case.
Windows wouldn't have signals, and so tailoring the experience for "exit code 1, but because it was 'interrupted'" is not possible; the process could have sent a different code.

What @andy265 said is right. --success last refers to the last command to exit, not the last listed command.
@HoneyQumo can you provide any details about what's not working? If I don't have reproduction steps, I can't help.

Just a suggestion, complement the documentation with this observation. The description of param are not clear and there are no examples to --success param.


Input selection allows for integers outside of displayed range

Input is sanitized against $null and zero values however user can still enter values out of the displayed range and they are accepted.  Integer selection needs to be limited to available displayed options.

added bounds checking with new menu logic


Container and RelativeLoader no longer exported

Container and RelativeLoader are no longer exported. All Container usages should have previously moved to IContainer. RelativeLoader is an internal implementation which should not be exposed or used directly.
This change is primarily test updates to remove reliance on Container class.
Deprecation in #14103
AB#3437

Seems pretty cool to me, though how does this relate to that longer-term feature about deprecating the Loader and having customers directly instantiate a Container?  Would we see the Container class come back then, or are you imagining something different?

Seems pretty cool to me, though how does this relate to that longer-term feature about deprecating the Loader and having customers directly instantiate a Container? Would we see the Container class come back then, or are you imagining something different?

No class, just a function, as we only want to expose the IContainer interface.


[SPARK-47373][SQL] Match FileSourceScanLike to get metadata instead of FileSourceScanExec

What changes were proposed in this pull request?
When get Spark Plan info, we should match basic trait FileSourceScanLike to get metadata instead of matching
subclass FileSourceScanExec.
So that user-define file scan operators(which extend FileSourceScanLike) can be matched.
Why are the changes needed?
Match user-define file scan operators.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists Unit Test
Was this patch authored or co-authored using generative AI tooling?
No

Thank you, @zwangsheng and all!


Make sure a repo cloned by osa_differ is properly prepared

Currently if a repo does not exist, it gets cloned. If the
notes need to be generated from a branch other than master,
then osa_differ cannot find the ref for the commit.
When re-running osa_differ again, the repo is updated to
include all the refs, and therefore works as expected.
This patch ensures that regardless of whether osa_differ
does the clone, the repo is always updated afterwards to
get all the refs. This makes it work on the first time,
and always.

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   83.33%   83.33%
=======================================
  Files           2        2
  Lines         270      270
  Branches       35       35
=======================================
  Hits          225      225
  Misses         37       37
  Partials        8        8

Impacted Files
Coverage Δ

osa_differ/osa_differ.py
82.88% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for this, @odyssey4me. ;)


Sound Not Working

it seems the sound not playing on my website, i dont know why

I have seen the problem now, i was wrong linking it to the right directory.Thanks


Could you explain this line?

Thank you for your wonderful tutorials.
However,
form your webpage:
https://towardsdatascience.com/creating-and-training-a-u-net-model-with-pytorch-for-2d-3d-semantic-segmentation-dataset-fb1f7f80fe55
I am confused with Python descriptions on this line:
x = min: 8.0; max: 255.0
Could you explain this line?
Any help is appreciated.

Hi, that's because I execute this code:
inputs = ['path\input\pic_01.png', 'path\input\pic_02.png']
targets = ['path\target\pic_01.png', 'path\target\pic_02.png']

training_dataset = SegmentationDataSet(inputs=inputs,
                                       targets=targets,
                                       transform=None)

training_dataloader = data.DataLoader(dataset=training_dataset,
                                      batch_size=2,
                                      shuffle=True)
x, y = next(iter(training_dataloader))

print(f'x = shape: {x.shape}; type: {x.dtype}')
print(f'x = min: {x.min()}; max: {x.max()}')
print(f'y = shape: {y.shape}; class: {y.unique()}; type: {y.dtype}')

and in the console I get the following as output:
x = shape: torch.Size([2, 144, 144, 3]); type: torch.float32
x = min: 8.0; max: 255.0
y = shape: torch.Size([2, 144, 144]); class: tensor([  0, 255]); type: torch.int64

So the output is not code that get's executed but printed out.
I print these values to get a better understanding of the data. @BenoitKAO

Closing due to inactivity


Lightning inspiration

Based of my previous one, now instead searching for x number of nodes in a semi-sphere below and then jumping to one least "bright" or random if all nodes are the same brightness. Didn't send this in by mail to Matt, I think it was enough with first one :)
I guess it's similar to the falling spheres they had in their video in many ways, except this jumps around a bit more hectic :)
Also, probably some mistakes, but eh, works atleast somewhat.
Many thanks to @DutChen18, using his simulator from Pull Request #5 to test!

Hey again @Tirine! Similar to my last message, would you be up for moving things around a bit to fit the structure described in the new README?

Hey again @Tirine! Similar to my last message, would you be up for moving things around a bit to fit the structure described in the new README?

Hey!
Yeah, just did now. Sorry I didn't see this until now. Both my pull requests should be updated now, but this one has both.

Thanks, no problem at all! Forgive me for taking a week or so to reply. Let's get this merged.


Semantic labels for occluded objects in Gibson scene observation

Habitat-Sim version
v0.2.1
Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? Your question may already be addressed in the latest version. We may also not be able to help with problems in earlier versions because they sometimes lack the more verbose logging needed for debugging.
Main branch contains 'bleeding edge' code and should be used at your own risk.
Docs and Tutorials
Did you read the docs? https://aihabitat.org/docs/habitat-sim/
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
Perhaps your question is answered there. If not, carry on!
❓ Questions and Help
Changes I made in demo_runner.py is saving semantic observation as a greyscale image instead of rgb image.
def save_semantic_observation(obs, scene_str, total_frames):
    semantic_obs = obs["semantic_sensor"]
    semantic_img = Image.new(mode="L", size=(semantic_obs.shape[1], semantic_obs.shape[0]))
    semantic_img.putdata((semantic_obs.flatten() % 40 ).astype(np.uint8))
    semantic_img.save(master_save_dir + "%s/semantic/%03d.png" % (scene_str, total_frames))

Exact command I run:
python examples/example.py --scene Allensville --width 256 --height 256 --save_png --semantic_sensor --depth_sensor

RGBA obervation:

Semantic observation:

Expected behavior:
Looking at RGB observation and ground truth semantic label above, we should expect bottom left corner has no semantic label because there's a wall captured by camera. However, semantic labels give me object labels, which I guess belongs to the bed which is hidden behind the wall but appear in the 3D scene. I believe this is a bug because semantic labels should be generated only based on what can be observed in color sensor, while occluded objects shouldn't receive any semantic annotations?

Hi @aclegg3  Thanks for response and clarification! I wonder what is the version number of habitat-sim stable release? My current package is installed from main branch but it still says v0.2.1. Or is there any instruction for installing stable version only?

Thanks for clarification and yes I believe -c aihabitat-nightly commands is my issue here. At this point I will stick with existing semantic labels, and please keep me updated in this thread once another recommended approach is available, thanks!
Another issue related to this, I'm trying to follow scene semantic annotation tutorial in order to look at different objects existing in each scene. However, for every single scene in Gibson dataset, when I call code
for obj in sim.semantic_scene.objects:
        obj.aabb
        obj.aabb.sizes
        obj.aabb.center
        obj.id
        obj.obb.rotation
        obj.category.name()
        obj.category.index()

It always return None for each object and AttributeError: 'NoneType' object has no attribute 'aabb'. I wonder is this an error only encountered by me and if there's any way to fix it? As this might be a big challenge for object detection and instance segmentation.
Also, is there more instance segmentation and object detection task setup in habitat simulator using semantic labels? I looked at examples/instance_segmentation folder but there's limited tutorials about training detectron2 models on instance segmentation from dataset collected from habitat simulator. Thanks!

Hi @xinranliang ,
I tried to run the command you mentioned above

python examples/example.py --scene Allensville --width 256 --height 256 --save_png --semantic_sensor --depth_sensor
I am running into this error :

AssertionError: ESP_CHECK failed: No Stage Attributes exists for requested scene 'Allensville' in currently specified Scene Dataset default. Likely the Scene Dataset Configuration requested was not found and so a new, empty Scene Dataset was created. Verify the Scene Dataset Configuration file name used.
I created the dataset using the tools/gen_gibson_semantics.sh and the 3D scene graph data from iGibson
Is there anything else that needs to be done from my side to enable and get the semantic information?

Hi,
According to my logs, if you have Allensville_semantic.ply, Allensville.glb, Allensville.ids for each scene with semantic annotations, and correctly modify path directory in both scene dataset config and task config, it should be able to replicate without reporting errors. I'm running based on v1.5.0, I remember it does not work with later versions.
Hope this could help!


feat: preferences

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


xor counted for complexity in C++

@mylinhdao In #256 you have mentioned the issue that we currently count xor as logical binary operator in C++. This is an alternative representation for ^ for encodings that do not support the ^character, which still means a bitwise xor (see source here).
Could you take care to bring your test cases for this out of your old branch for #256 to a new branch for this issue here?
@mylinhdao @clemens-mw  I have seen that the proposed fix for this was to give binary_expression_xor the "binary_expression" category instead of "logical_binary_expression". As PHP also includes this node and it seems to be a logical operator there, you might use the activated_for field to use it only for PHP. That should be fine as long as we do not need to evaluate the category "binary_expression" for any metric. Assinging "binary_expression" for C++ and "logical_binary_expression" for PHP would require #231 which I do not think should be done before we actually need it.

We should also add a test for PHP xor


fix: changing default numWorkers, making it customizable and refactor…

…ing scheduler

What type of PR is this?

Which issue does this PR fix:
#1486
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

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

This looks good. However, is there is a task scheduler stress test we can add?

Lets track this separately. The initial task is complete.


Update to tendermint-rs v0.20.0

Closes: #1125

For contributor use:

[x] Updated the Unreleased section of CHANGELOG.md with the issue.
[x] If applicable: Unit tests written, added test to CI.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Updated relevant documentation (docs/) and code comments.
[x] Re-reviewed Files changed in the Github PR explorer.

Had to regenerate and therefore update Cargo.lock as it appeared to be corrupted.


Ability to Stop Locust Client from within the test script

We have tests that for each client need to execute some POST's and then perform X amount of GET's and then perform some more PUTs before stopping.  So this is not the normal feature request for adding back the 'stop after number of requests"
Currently when running in standalone mode I have a task that has a loop in it that executes the GET's X times.  It then performs the final set of POST's and does a 'raise StopLocust' that will correctly stop the client
The issue is that this will not work in a master / slave setup as the 'StopLocust' will stop the client(s) correctly but the slave process will continue running until the RUN_TIME is reached.
So looking for a way that I could stop a given client that works in both standalone and master/client.  This approach could also be used by others who need to stop after X requests, they could keep a counter on each call and when hit their value, stop the client.
Thanks for the great tool

I support this as well. We are also trying to implement same behavior.
My stack overflow question is here (below)... but there are very few people who view / answer .. :(
StackOverFlow Question

Hmm... I'm not sure there is a way to do this atm. @heyman , do you know a way to do this?

Hmm... I'm not sure there is a way to do this atm. @heyman do you know a way to do this?
I attempted to print init for Locust class, which takes 2 params - locust_classes, options.
If we can get the same object used at the time of initialization of first locust object, it may be possible. Although I attempted to create Locust class object manually, I am not succesful.

If it helps , this is the output of print statement of locust init :
locust clasess : [<class 'Locust_ncso_multiuser_task.NcsoLoad'>]  #NcsoLoad is my class while Locust_ncso_multiuser_task is test name.
options:  Namespace(csvfilebase=None, exit_code_on_error=1, expect_slaves=1, hatch_rate=1, heartbeat_interval=1, heartbeat_liveness=3, host=None, list_commands=False, locust_classes=[], locustfile='testsuite/host/Locust_ncso_ics_multiuser_task.py', logfile=None, loglevel='INFO', master=False, master_bind_host='*', master_bind_port=5557, master_host='<IP_ADDRESS>', master_port=5557, no_reset_stats=False, no_web=False, num_clients=1, only_summary=False, port=8089, print_stats=False, reset_stats=False, run_time=None, show_task_ratio=False, show_task_ratio_json=False, skip_log_setup=False, slave=True, stop_timeout=None, web_host='')

Hmm... I'm not sure there is a way to do this atm. @heyman do you know a way to do this?

I attempted to print init params for Locust class, which takes 2 params - locust_classes, options.
If we can get the same object used at the time of initialization of first locust object, it may be possible. Although I attempted to create Locust class object manually, I am not succesful.
If it helps , this is the output of print statement of locust init :
locust clasess : [<class 'Locust_ncso_multiuser_task.NcsoLoad'>] #NcsoLoad is my class while Locust_ncso_multiuser_task is test name.
options: Namespace(csvfilebase=None, exit_code_on_error=1, expect_slaves=1, hatch_rate=1, heartbeat_interval=1, heartbeat_liveness=3, host=None, list_commands=False, locust_classes=[], locustfile='testsuite/host/Locust_ncso_ics_multiuser_task.py', logfile=None, loglevel='INFO', master=False, master_bind_host='*', master_bind_port=5557, master_host='<IP_ADDRESS>', master_port=5557, no_reset_stats=False, no_web=False, num_clients=1, only_summary=False, port=8089, print_stats=False, reset_stats=False, run_time=None, show_task_ratio=False, show_task_ratio_json=False, skip_log_setup=False, slave=True, stop_timeout=None, web_host='')

If we can stop locust runners in a better way, it would help as well.
Lets say i am using 10 clients and test_iterations=100. So I am assuming 1000 requests will be sent.
and after for loop runs for 100 times (9 other clients running same loop 100 times in back-end), I am explicitly calling  "runners.locust_runner.quit()" , what happens is, it kills all other runners as well, thus breaking flow for all the other clients as well.

Would it be possible/appropriate to stop locust if all Users have terminated in master-worker mode @heyman ?

Closed by #1448
See https://docs.locust.io/en/latest/writing-a-locustfile.html#environment-attribute


Debugger detaches from the process if a line uses sprintf

Version v1.0.6 within VSCode 1.85.1 (Linux)
The debug adapter breaks away from the attached process and let's it continue without controlling it if it ever single steps through a line that has the word sprintf.
Specifically, this code will cause the debugger to detach if you stop on the line with sprintf.
sub num_to_two_digit_str() {
    my $value = shift;
    return sprintf("%02d",$value);
}

Hi @nathan3700,
I was able to reproduce your issue. It happens when inline values are enabled inside VSCode while debugging. Turning it off may be a temporary fix.

When enabled, the debugger tries to get the value of %02d because it thinks that it is a scalar variable, which causes it to detach.

I will work on the regular expression that is detecting the inline values.

Hi @nathan3700,
I just released a new version which should fix this problem. Please give it a try.


Add as_of to Usage API response

Add as_of date (returned in string format) in UsageRecord response per https://www.twilio.com/docs/usage/api/usage-record#usagerecord-properties

@sfreiberg would love to get this field added to the response if you have a quick minute to review the proposed change. thanks so much! 😄

@sshapir Can you run go fmt on the code please? I'll merge in after that.

@sshapir Can you run go fmt on the code please? I'll merge in after that.

go fmt was run on both files automatically on save. I went ahead and ran it manually just in case and no changes came up - wondering if this has to do with a go version > 1.13.

@sshapir Apologies, I thought the code wasn't properly formatted but I see that I was looking at the json test.


Lingering issues relating to an RDKit implementation

As I understand it, @hjuinj is making fairly good progress towards an RDKit implementation (see #69 ) , in that his prototype RDKit version can give identical parameter assignments for the majority of DrugBank with only a couple lingering issues on the RDKit end (both of which are quite significant, though):

We currently rely on the MDL aromaticity model, which is not implemented in RDKit and we are unsure how to do so (the information on setting up a custom aromaticity model is minimal) so we need some guidance from the RDKit developers before we can proceed further (https://github.com/rdkit/rdkit/issues/1622 )

RDKit doesn’t fully support input of molecules from mol2 format unless they have Corina atom types (though they PARTIALLY support some molecules with SYBYLY/TRIPOS types), but the tools commonly used in molecular simulations don’t assign Corina atom types, nor am I aware of an open source tool which does. This poses major problems for getting molecules INTO RDKit. The folks I’m aware of who have dealt with this so far have bypassed the issue either by (a) pre-processing all of their molecules with the OpenEye tools; it seems that mol2 files output by the OpenEye tools are often (but not always) correctly handled by RDKIt, or (b) reading mol2 files of their molecules with the OpenEye toolkits and then converting the OEMols into RDMols. Neither of these is a general solution, since someone wanting an RDKit version presumably does so because they don't have the OpenEye tools. The only general solution I see is to get RDKit to provide a better/more general mol2 reader, as bypassing mol2 entirely is not really a viable option.

There is also a third issue which doesn’t directly involve RDKit necessarily — how will we assign partial charges for small molecules in general? We need a conda-installable open source tool to assign AM1-BCC charges or similar.
Anyone interested in contributing here (in terms of discussion/ideas, or coding help) is welcome.

There is also a third issue which doesn’t directly involve RDKit necessarily — how will we assign partial charges for small molecules in general? We need a conda-installable open source tool to assign AM1-BCC charges or similar.

We can use ambermini and the now-conda-installable ambertools to assign AM1-BCC charges for now, but we will eventually want to replace these with a better tool that doesn't require legacy compiled antechamber and sqm code.
For the other issues, I suggest we set up a call with Greg Landrum.

Do you want to initiate, @jchodera , since he doesn't know me?

Adding a "flavor" argument to the mol2 reader to support an alternate set of semantics for some/all of the atom types is work, but it's likely not hugely complicated.

@greglandrum - is there someone on your end who might be interested in this (e.g. if I raise an issue on the issue tracker) or, if not, maybe you can sketch a brief outline of what would be involved? We're RDKit newbs.
The main issue here is just that (classical) molecular modeling people tend to often need (and require for small molecules) a file format which carries around partial charges with it, which means most of our packages rely a lot on .mol2 for small molecules. RDKit's current level of support for reading mol2 (though understandable) causes us a considerable amount of headache at present if we want to use it.
One concrete example is the issue with charging @jchodera just mentioned -- we can use ambertools  to get the AM1-BCC charges we need, but our input to ambertools has to be a mol2 file with either GAFF or SYBYL atom types, and the output will ALSO be a mol2 file with GAFF or SYBYL atom types. Corina types are a no-go. We don't actually want to use the atom types for anything and we don't particularly care what they are as long as the chemistry is perceived correctly, but...

Various levels of interest have come up for there being support for different mol2 readers or a mol2 writer (there's actually an open PR for this). I wouldn't have any objection to having another reader flavor added, particularly since it seems to address a real need, but I don't know who would do the work. I'd be willing to help out and point people to the relevant bits of code (and try to explain those), but I am probably not the guy to do the actual implementation. I think we'd really need someone who works with this pretty frequently so that they understand the odd edge cases that will come up and can do the testing that will be required.

@davidlmobley : Realistically, I think we'll likely need to budget time for someone (or a couple of people) on our end to make the necessary contributions to RDKit here, with pointers from @greglandrum to save time and hit those edge cases. This would also be a good way to give back to the community if we're going to lean heavily on the RDKit as a basis for the Open Forcefield effort being truly open.

@jchodera - I agree that once we have funding, that would be something we would want to try to do.
At present, we're more in a situation where we are on the verge of having a useful RDKit implementation of this except for the facts that:
a) molecular simulations people won't be able to use it if RDKit can't read their mol2 files, and
b) we can't quite finish getting it to work until we sort out the aromaticity issue
One might hope we could make progress on these -- especially the aromaticity issue, which seems the easier of the two -- sooner while the funding is being sorted out.

Yeah, I think the aromaticity addition should be pretty straightforward (and something I can do) if we have a clear idea of what actually is aromatic in the "MDL" model. The RDKit issue is the place for that discussion.

Thanks, @greglandrum . I'm working on getting a clearer description -- I'm a physicist by training myself, so I have my student @bannanc (who is a proper chemist) refreshing her memory. :)

Since @davidlmobley is referring to me as a "proper chemist" what I was actually trying to remind myself of was what I was told by more senior chemists last summer. The only aromaticity model I was taught is Huckel, I know "MDL" doesn't define fused 5 member heterocycles as aromatic, but I'm not sure what other exceptions or differences there may be.
I've been trying to do some literature and google searching this evening for the MDL model. I've found a few sites/papers that talk about supporting multiple aromaticity models, but so far none of them actually define the differences in these models.

Since the primary interest at the moment is having software that works with either the RDKit or OEChem in the background, I think what's needed here is more of an OE_MDL model: a reimplementation of what is meant by "MDL" in the OEChem software.
An actual implementation of what MDL considers aromatic (if you can find a copy of their "Chemical Representation Guide" it's in there) would also be interesting, but may not help the open forcefield work that much.

Yes, @greglandrum - since we want to be able to use either chemistry engine under the hood, an "equivalent" aromaticity model would be ideal. I'm just not totally sure that their docs are clear enough on what's going on that it's enough to go on.

I started with the OpenEye documentation for the aromatic models:
https://docs.eyesopen.com/toolkits/python/oechemtk/aromaticity.html#chapter-aromaticity
This is the most thorough description of the MDL model I have been able to find, it has a variety of examples, but no set of "rules."

Here's the OpenSMILES spec, which includes an alternative (but open and documented) aromaticity definition: http://opensmiles.org/

I think this has been resolved! Please reopen if not.


Participating Org Error

Hi AidStream,
Talking with BEIS who are using AidStream. They have encountered an error when on the 'Organisation' tab and are trying to add a new participating organisation. They type in the name of the organisation (who are not yet publishing to IATI and haven't yet been included elsewhere in their activities) and no 'drop down' list appears for them. This prevents them adding the new organisation.
It works fine on my laptop, but not on theirs?

Hi - we also found Amy's issue when we were training people to use AidStream two weeks ago - the people using Microsoft browsers and Opera browsers were not able to add organisations. The feature worked fine on Chrome and Firefox. Also it was not evident that the user has to add new organisations to a separate list found on the dashboard/organisation tab - we kind of worked it out in the workshop together! Please would you improve the help provided on this?

I have also just been alerting by a publisher (IDLO) that there inconsistencies in the current participating org list - I have copied you in my response to them.
I can see organisations can suggest edits, but wanted to check where you have pulled the original list and why there are differences with the organisation identifiers on the Registry. See screenshots below. Thanks!

IATI organisation identifiers on the IATI Registry.

Dear Amy and Sarah,
I am sorry that I could not get back to you sooner. Could you use Chrome or Firefox for now, as there is a compatibility issue with IE. It works on Edge though. We are working on it. I will have you notified once it has been resolved.
Best Regards,
Sachit

Dear Petya,
Anjesh will be getting back to you on this matter. Apologies for the late reply.
Best Regards,
Sachit

@anjesh  Has there been any update on this? It will be good to provide IDLO with an update as soon as possible.
Thanks,
Petya

Hi @PetyaKangalova apologies for getting late on this. US-1 appears to be coming from one of the organisation-xml-file. The identifier is now updated to US-GOV-1.

resolved.


This is just a 1:1 Fork with no changes #1

All of this users repos are like this: https://github.com/trinhminhtriet/tabler/commit/de78b3f8358eda4c3c510d2b7dcbeac4297b731a
They are just unacknowledged forks most likely for resume padding.

spam


Tang Primer 20k support

Hello,
there are any plans to support the new Tang Primer 20k board (GW2A-LV18PG256C8/I7)?
As far as I can see, we don't have any GW2A support yet. Could we discuss the steps required to get this included? I have the hardware and would be willing to help.
Thanks.

Awesome!
So in the basis you could head over to the closed pull requests and find some that added other devices, start along that path and see what breaks. And then do the same on the nextpnr side.
Hopefully they are kinda just bigger versions of Littlebee, but no doubt there will be some issues along the way.
One problem that should be dealt with eventually is that the nextpnr target constructs the chipdb at runtime rather than memory-mapping a big struct as some other targets do. This means that the bigger the device, the longer the loading time. For 9k this is already a few second, and I imagine for 20k and 55k it will be kinda extremely slow. But rewriting the nextpnr target is a much bigger project than just adding a new devices.

Also, I'd recommend joining the Matrix room to hang out and ask questions.

Ok, thank you for the insights. I'll start looking at it this weekend and direct questions to the matrix chat :)

Any progress on this?

Yea there has not been much progress on this front to my knowledge. Buying the FPGA myself is on my todolist, but if you want to jump in and help, the same applies: look at other PRs that added a device, join Matrix/IRC

I started working on this, and already understand what needs to be done / implemented a few changes, but I'm taking my time to learn more about how the toolchain / fuzzers / official gowin software works, as these implementation details are kinda new for me. I'll publish my first changes soon, but any help here from experienced people is more than welcome.

Amazing news. If you have any questions, don't hesitate to stop by on Matrix/IRC

With the upcoming Tang Nano 20k, and the Primer 20k it will be really great to have open source toolchain support. Happy to test this out if that helps.

Hello;
I recently acquired tangprimer20k but this is one of my first experiences with fpga, I've been studying it for about 3 months and I know how to describe hardware for at least 3 years but I've never ventured into the area, I know that language here and a limitation for us to communicate.
Well, I'm a system analyst, I've been programming for a long time to tell the truth and my training, but I've moved on to the world of linux admins but I haven't lost the habit of always programming argo for any problem I have, I'd also like to contribute to the project from the tang primer 20k the one I have because I only have it to test, if you can help me with the forwarding, I have no idea how you analyze the closed system to try to make an open one, I have my ways of trying to do reverse engineering but it would be good some tips.
AT Delcimar Martins

I compile the test pieces with the vendor IDE and look at the output binary images in the Python interpreter.
But I'm an amateur, but you can see how the pros do it  -     https://www.youtube.com/watch?v=Vt7FyOXfkZA&list=PLIYslVBAlKZad3tjr5Y4gqBV3QKQ5_tPw&index=1   - and read -   https://github.com/YosysHQ/apicula/blob/master/clock_experiments.ipynb

This is great to hear! I would suggest that you join the matrix/irc channel linked in the readme.
A good place to start is to look at previous PRs that added support for a new FPGA model. There are some places where values need to be added from documentation or experiments, and then probably a ton of bugfixes.

It's very likely that we will get the support of tangprimer20k today !
The functionality is minimal and I want to warn you not to use flash for these first versions - use SRAM to avoid getting a brick :) I warned.

Bad news: TangPrimer20k support does not mean TangNano20k support, because although the series of chips (GW2A-18 and GW2AR-18C) are similar, they are a) not identical and b) engineering decisions made when designing the TangNano20k board itself will require special software perversions.
The last point so far concerns the fact that a traditional external oscillator is connected to a regular input, not a dedicated clock input, which will require some fun decisions when routing clocks.
The good news is that both TangPrimer20k and Tangnano20k are supported in the WIP version of apicula/nextpnr, which is undergoing a final haircut before being published as alpha.
To add Tang * 20k to gowin_pll, I think it will be enough to find a datasheet somewhere and write the allowable PLL frequencies into this script.
What we need is someone with the knowledge of how to program an external PLL since that is the TangNano20k's stock clock.  But yea that's a whole fresh can of worms.

The MS5351 is fairly complex. I have been trying to write a python PLL settings generator for this chip for a different application (a software defined radio).  I would be happy to try and help, but it's a mess (something like 188 registers need to be written via i2c to set up a new frequency) why would the external PLL need to be programmed by apycula at all?

because it is soldered to normal clock wires as opposed to a simple standard external oscillator soldered to the input of a dead PLL :)
Tang_Nano_20K_3921_Schematic.pdf

OK thanks for the explanation. I have some progress on automatically calculating PLL settings for the MS5351 using python here... There is some C code in the same project...

they have a group on telegram https://t.me/sipeed where you can ask

Thanks @yrabbit. I've done a little digging, and this what  I found...
It appears that the BL616 listens to the external USB UART. This exposes a command-line interface on the BL616.
One of the command line tools, pll_clk, allows the user to set the frequency of the three MS5351 clock outputs. These 3 clock outputs  correspond to pins

GCLK6_P
GCLK6_N
LPLL2_in

So I would guess that this step would be performed by the designer before starting on HDL (effectively setting the an external reference frequency, rather like choosing a crystal oscillator frequency).
Running this pll_clk tool could perhaps be done using some kind of script on the host that spoke to the serial port. This is not something done via JTAG, so presumably not done by the FPGA loader.  How would you envisage apicula configuring the MS5351 in a design workflow?

After your explanation, no way :(
Without the ability to program it from inside the FPGA, we can only use it if it has a default generated frequency after power-up in the case of the Tangnano20k. I wonder what it is, if any? :)

I don't have a TangNano20k to test this. I don't even know if it is set on startup at all, in fact I'd guess that all three MS5351 clocks are likely to be disabled by default at startup.

Better and better.
Well, when the PR https://github.com/YosysHQ/nextpnr/pull/1208 is approved, life will become a little easier - we won't have to mess with the PLL to get rid of glitches, just mark the network as CLOCK :)

Tangnano20k and TangaPrimer20k are supported after commit.
The issue with the “bad” connection of the clock generator in Tangnano20k has also been resolved
https://github.com/YosysHQ/apicula/pull/199

@yrabbit that's great news and I'm so happy :)
I have a Tangnano20k for testing, if you need volunteers.

@yrabbit that's great news and I'm so happy :)
I have a Tangnano20k for testing, if you need volunteers.

Certainly!
two options:

simple. download an artifact with examples and try those related to tangnano20k;
difficult. build the apicula and nextpnr master branches locally and try your design :)

https://github.com/YosysHQ/apicula/suites/16525435709/artifacts/944262835

Hey @yrabbit, is GW2AR-18 supported on nextpnr? I don't see any commits related to it.

R means that some memory has been added to the chip. The FPGA itself is exactly the same.

Got it. I believe Tang Nano 20k itself has the R in it.
https://wiki.sipeed.com/hardware/en/tang/tang-nano-20k/nano-20k.html

yeah, tangnano20k is supported by Apicula.


Chore: Industrial CI

Industrial CI for Kinetic and Melodic
Updated README with build badge

@SteveMacenski as a user should authorize Travic CI on Github

ping

@reinzor I could change the rosdistro config to add the pull request builder to this repo. Is there an advantage of running this in travis over that?

I think that will be fine as well. I personally prefer Travis with industrial CI but both are fine. As long as we have some CI verification when doing PR's ;).

Fair enough, frankly this was a quick project as an intro to costmap layers and use for RADAR testing, I didn't expect others to use it. I'm super glad you are though :-) I'll wait until we have confirmation from rosdistro that it's in before closing this PR. I'm also planning on releasing melodic binaries (seems like you might want them) and I'll add the melodic PR builder to this as well.

closing and reopening to see if CI kicks in

@reinzor found the issue, I have it setup to build PRs against master not kinetic devel. Will submit that change and we should be all set

Boom, works now!
Closing for real now  :-)

Thanks! We are currently transitioning to melodic, will let you know if everything works properly :)


Update to work with parse5 7.0.0 and css-select 4.3.0

Summary
This was not working with the latest versions of parse5 and css-select, so I updated it. Changes are below:

Updated dependencies to recent versions
Updated functions to work with new parse5 typing for TreeAdapter and other type constraints

Testing
Ran the included tests with tape:
C:\Coding\css-select-parse5-adapter\lib\test>node css-select-parse5-adapter.test.js
TAP version 13
# Lets try some selectors
ok 1 simple tag selector
ok 2 attribute selector *=
ok 3 class selector
ok 4 simple descendant combinator selectors
ok 5 attribute selector for class contains ~=

1..5
# tests 5
# pass  5

# ok

I also used this in my own project and confirmed that it worked there.

License agreement signed.


[Wallet] Implement support page in Account menu

Description
Implementing new Support menu item: https://www.figma.com/file/HU7HfULm1Fb7pzRAfz89el/Support?node-id=0%3A1
Spanish translations from Google Translate
Tested
Android and IOS devices, w/ and w/o attached logs.
Other changes
Making TextInput test alignment  default to top on Android
Related issues

Fixes #2743

Backwards compatibility
Yes
Screenshots

Though we won't fix this here, but it looks like the report flow will fail if the user doesn't have an email account on his phone.

Correct, in the future there are some ideas on how to improve on that.

@cmcewen @jmrossy @jeanregisser I've addressed all the feedback and re-uploaded screenshots. PTAL.


React: send payment

Preview is available here:http://stellar-demo-wallet-pr80.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr80.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr80.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr80.previews.kube001.services.stellar-ops.com/


check header pull

pandas was doing some work assigning the columns properly handling the differences between individuals and entities. Check to make sure that's all still ok now that I took some of the pandas out

ensured every header has same columns


How do you update the data in the dataSource without reloading?

I tried this and it didn't error, but didn't do anything - i'm trying to delete rows
this.dataSource= new MatTableDataSource<any>(that.newResults)

You can't replace data source after material data table has been initialized as it subscribes to the table at the start.
Please refer to MatTableDataSource  documentation https://material.angular.io/components/table/api#MatTableDataSource for details about how to use this data source.
In short I can tell you that you can update your data by setting this.dataSource.data like
this.dataSource.data = newDataArray
Keep in mind that although you can update this.dataSource.data directly, to trigger an update you need to set the data property or update a filter or sort.


Scroll behavior bug

Versions

nuxt: v2.14.3
node: v12.13.0

Reproduction
https://codesandbox.io/s/weathered-sunset-gy8f2
Steps to reproduce

On root route, scroll down to the middle of the page.
Press one of the "render child" links
Press "Go back"
Scroll the page a bit more
Press one of the "render child" links again

What is Expected?
On the second "render child press, the scroll position on body remains the same when you press a "render child" link the second time
What is actually happening?
On the second "render child press, the scroll position on body jumps to the location it was when the "render child" link was pressed the first time

This is an issue. The main problem is, that the default scroll behavior in Nuxt (and unfortunately in other frontend frameworks) is not the same as if you create a bunch of linked HTML files. Things like custom scroll behavior code are nice, but the defaults should be the same as the web have always been.


Kubernetes core API concepts could be described more clearly and consistent

We've been digging in to the K8S code and documentation to get clarification on the exact definition of these concepts:

Group
Version
Namespace
Kind
Resource Type
Resource
(API) Object
resourceVersion

There are a few documentation pages covering this:

[1] https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#kubernetes-objects
[2] https://kubernetes.io/docs/reference/using-api/api-concepts/#standard-api-terminology
[3] https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/#custom-resources
[4] https://kubernetes.io/docs/reference/kubectl/overview/#resource-types
[5] https://book.kubebuilder.io/cronjob-tutorial/gvks.html

But they seem to be using slightly different terminology for the same thing. And if they are not then the distinction is not made clear.
The most problematic ones are resource, resource type and object.
[1] "Kubernetes objects are persistent entities in the Kubernetes system."
[2] calls a resource "a single instance of the resource type".
[3] says "A resource is an endpoint in the Kubernetes API that stores a collection of API objects of a certain kind; for example, the built-in pods resource contains a collection of Pod objects."
[5] "A resource is simply a use of a Kind in the API."
These are all slightly different to me and contradict each other.
The exact definitions of Group and Version are also not quite clear (I can go into detail as to why I believe so).
It'd be great to keep the usage of all these terms consistent across the documentation. But as that's a hard task it'd be good to at least define them clearly in one single place, like an ontology of Kubernetes concepts.

/remove-lifecycle stale

/remove-lifecycle stale

Hi @lfrancke 👋🏻 thank you for raising this issue
The relevant discussion for this can be found here.
As @sftim suggested, this issue can be used as a tracking issue to discuss and help carve out tasks that can document these concepts in an authoritative manner.

an ontology of Kubernetes concepts.

As mentioned in the slack thread, this can be done either in k8s.dev or https://kubernetes.io/docs/reference/using-api/api-concepts/#standard-api-terminology.
My thoughts on documenting these concepts -- it might be better to go top-down rather than bottom up with explanations, meaning that starting with explaining on an abstract level what the API achieves followed by how it achieves it. Therefore, before the documentation of these concepts start, it might be helpful to have a few lines on Kubernetes following a declarative  model of doing this and what that means "user describes their desired state to Kubernetes, and Kubernetes tries to drive the system towards that desired state" (docs has a section on controller pattern which can be linked along with the original architecture design docs). Doing so is important mainly because this would set the context for API objects, which would set the tone for API kind, resource type, resource, group, and also to some extent help with explaining resourceVersion.
I can get started trying to break things down into well-defined sub-tasks that folks can work on after we reach consensus on:

Where do we put this? Does it reside in k8s.dev along with a. summary in the official docs or should it be made available in the official docs in full detail
Whether the approach mentioned above is fair and acceptable

Thank you for the update.
I'm happy to provide input as an end-user (kinda) on any PRs to see if it helps me understand.

/cc


Fix rendering issues in v20.2 docs

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/29cd3ca51fb07297e8f4c542604cc5c2c6520118/
Edited pages:

v20.2/build-a-python-app-with-cockroachdb-pony.md

LGTM

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d68e9602cde6bbd2fcb66e706b8d198fb8d30311/
Edited pages:

v20.2/build-a-python-app-with-cockroachdb-django.md
v20.2/build-a-python-app-with-cockroachdb-pony.md
v20.2/build-a-python-app-with-cockroachdb-sqlalchemy.md


API docs

Closed by https://github.com/LiteralGenie/jobber-site/pull/21

Closed by https://github.com/LiteralGenie/jobber-site/pull/21


Verify upgrade from v1.23 to v1.24 and clusterops backoff limit

What type of PR is this?
/kind feature

What this PR does / why we need it:
backofflimit=0
backofflimit=1
backofflimit=2
kube_version=1.24
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm

/lgtm


Icon

Type
No response
Info
Here are some icons some are for web page. Feel free to keep or discard.
Bible Website
Icon(s)

Would you happen to have a high quality square version of the "door" icon?

@Kilthor reminder.

I will check.

How's t

his

Will this work. @walkxcode

That looks good
On Thu, Nov 17, 2022 at 5:53 AM Bjorn Lammers @.***>
wrote:

Closed #124 https://github.com/walkxcode/Dashboard-Icons/issues/124 as
completed via 960c057
https://github.com/walkxcode/Dashboard-Icons/commit/960c05708d5597d8edf7a253dfbc7deb1e94491f
.
—
Reply to this email directly, view it on GitHub
https://github.com/walkxcode/Dashboard-Icons/issues/124#event-7832652406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK5HDMJJ3OKFNMVTEYJRUYLWIYFEDANCNFSM6AAAAAARVEZCU4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add "Revenge" button in the endScreen

So that the two players can continue to play in the same lobby room

https://github.com/sopra-fs23-group-11/sopra-fs23-group-11-client/commit/9d0713c355883a6bd82135c1ae7651ae51aaea02


Want to add icons to the Windows tray

In the current version, a blank icon is displayed in the Windows tray, which often makes me mistakenly believe that the software is closed.

Thank you for your feedback.
This should have been fixed in v<IP_ADDRESS>-beta.9.

Thanks, I can already see the icon in the tray