Establish Special Request Desk for seldom needed operations

I have an idea, for seldom needed operations: have a Special Request Desk, documented in the iD Help Menus.
That way software features need not be added to the editor, but users could still be able to get special tasks done, e.g.,
https://github.com/openstreetmap/iD/issues/3088#issuecomment-522949463 via staff doing it for them.
Users could get one-time tasks done without needing to learn a whole new tool (JOSM, etc.)
Maybe call it Special Edit Desk, or "Operator assisted editing" (like an Operator assisted phone call.)
Anyway, that is to distinguish it from generic "help: how do I do this?" being instead "please do this for me."

@jidanni This is an interesting idea. It might be hard to convince other people to do work for you, but there could be some people in the OSM community interested in helping with unique and challenging tasks if you ask politely.
However, this sort of system is outside the scope of iD. I suggest discussing it on through another channel:
https://lists.openstreetmap.org/listinfo
https://forum.openstreetmap.org/


fb_procfs: Can't tell which Stat::cpus entry matches to which CPU when CPUs are hot[un]plugged

Stat::cpus is Option<Vec<CpuStat>> which is populated by each cpuN line in /proc/stat. However, /proc/stat CPU numbers may have holes. Here's an example from a 4 CPU qemu instance:
# cat /proc/stat
cpu  113613 21 2406 5547556 641 0 144 0 0 0
cpu0 26133 18 1309 2725972 370 0 134 0 0 0
cpu1 32707 2<PHONE_NUMBER> 266 0 2 0 0 0
cpu2 28312 0 587 67 0 0 7 0 0 0
cpu3 26460 0 86 111532 5 0 0 0 0 0

After taking cpu2 offline with echo 0 > /sys/devices/system/cpu/cpu2/online, the file looks as follows:
# cat /proc/stat
cpu  113618 21 2412 8207884 686 0 145 0 0 0
cpu0 26136 18 1312 2733593 371 0 135 0 0 0
cpu1 32708 2<PHONE_NUMBER> 268 0 2 0 0 0
cpu3 26460 0 87 119161 6 0 0 0 0 0

KernelStats::cpu_time will contain 3 entries but without any way to reliably find out which three CPUs are being reported. Corroborating other sources doesn't really work as there may be intervening hot[un]plug operations between reads.
It seems like KernelStats::cpu_time, instead of being a Vec, should be keyed with CPU ID read from /proc/stat.

#8193 should fix this. I will try to tag a new version in the next week so you can use it.


Add arrays of buffer descriptors

This PR adds support for arrays of buffer descriptors, and represents them like this in rust-gpu:
#[spirv(fragment)]
pub fn main(
    #[spirv(descriptor_set = 0, binding = 4, storage_buffer)] sized_buffer: &mut RuntimeArray<SizedBuffer>,
    #[spirv(descriptor_set = 0, binding = 5, storage_buffer)] unsized_buffer: &mut RuntimeArray<[u32]>,
) {}

This is a breaking change to how RuntimeArray operates. However, on all previous versions using it in such a way would result in a warning similarly to below. So I'm hoping this should have discouraged anyone from using it like that,  and this change does not actually break anyone' code.
  warning: use &[T] instead of &RuntimeArray<T>
   --> example-shader/src/image_shader.rs:8:78
    |
  8 |     #[spirv(descriptor_set = 0, binding = 0, storage_buffer)] _sized_buffer: &mut RuntimeArray<SizedBuffer>,
    |                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  warning: `example-shader` (lib) generated 1 warning

But while trying to record that warning, I've noticed that even with a #![deny(warnings)] in the lib.rs of my shader crate, it would still only emit as a warning, thus when building via a build script not even show up to the end user.
Background
Currently we can represent the following glsl buffer declarations in rust-gpu:
layout(set = 0, binding = 0) buffer SizedBuffer {
    Mat3 model_matrix;
    uint id;
} sizedBuffer;

layout(set = 0, binding = 1) buffer UnsizedBuffer {
    uint data[];
} unsizedBuffer;

layout(set = 0, binding = 2) uniform image2D singleImage;
layout(set = 0, binding = 3) uniform image2D manyImages[];

pub struct SizedBuffer {
    pub model_matrix: glam::Mat3,
    pub id: u32,
}

#[spirv(fragment)]
pub fn main(
    #[spirv(descriptor_set = 0, binding = 0, storage_buffer)] sized_buffer: SizedBuffer,
    #[spirv(descriptor_set = 0, binding = 1, storage_buffer)] unsized_buffer: &mut [u32],
    #[spirv(descriptor_set = 0, binding = 2)] single_image: &Image!(2D, type=f32, sampled),
    #[spirv(descriptor_set = 0, binding = 3)] many_images: &RuntimeArray<Image!(2D, type=f32, sampled)>,
) {}

While we can have arrays of image or sampler descriptors, we cannot represent arrays of buffer descriptors, like we can in glsl. The proposed syntax for rust-gpu at the very top of this PR equals the following in glsl:
layout(set = 0, binding = 4) buffer SizedBuffer {
   Mat3 model_matrix;
   uint id;
} manySizedBuffers[];

layout(set = 0, binding = 5) buffer UnsizedBuffer {
   uint data[];
} manyUnsizedBuffers[];

About concerns about breaking change, To me that warning is basically same as deprecated, use this instead. so I think it's fine to make breaking change.

Sorry if you didn't see this PR (which I should've landed a while back, oops!):

#1014

Crucially, it fully disambiguates the existence of a "buffer resource", and while it doesn't require it in the simple case, it is pretty important semantically.
The reason the SPIR-V types are weird and Block is needed, is because an OpTypeStruct with Block is closer to an OpTypeImage resource than to an actual data type. I really wish they had used pointer types instead, but it is what it is.
Using pointers (and ignoring the missing length for the outer one), the type of an array of buffer would be something like &[&[u32]], with the outer & being in the same address space as e.g. image types (UniformConstant in SPIR-V, WGSL does this better and calls it "handle" IIRC), and only the inner & being in the StorageBuffer address space (and pointing into the buffer).
Also, as another aside, for mutable buffers, the correct type would have to be something like &[&[AtomicU32]], because the outer & points into read-only memory (which just contains the buffer handles aka "descriptors", and if you could write to that memory, you could be corrupting the actual buffer handle representation etc.).
But for now, #1014 should work without breaking changes or ambiguous situations etc.


Add ThreatJammer.com to Domains/DNS/IP

Threat Jammer.com is a Data Enrichment API for developers, security engineers, and IT professionals to access high-quality threat intel data within their applications to detect and block malicious activity. Thanks to its community approach, users can enrich the platform with their data and take the quality of the data to the next level.

Thank you! I added this API to the list


Include a screenshot of what the Linux console looks like...

[Enter feedback here]

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

ID: c6ba2ac9-6097-7af1-5200-190d2bbbbd08
Version Independent ID: 35206463-40cf-7af2-a713-cecb70972a1e
Content: Connect to a Linux VM using Azure Bastion
Content Source: articles/bastion/bastion-connect-vm-ssh.md
Service: bastion
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@Xergy Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

#reassign: @AbdullahBell

#reassign: @cherylmc

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


🚀 Feature: Display sources in the react web widget

🔖 Feature description
display sources in answers inside this widget.
It should be a parameter that is passed to the widget. sources true/false
Sources should be little boxes on top of the answer, and should be clickable if possible similarly to normal frontend. Should only display title + filename, no need to display content
🎤 Why is this feature needed ?
To show users sources
✌ How do you aim to achieve this?
Capture data from the stream endpoint, it should be already send.
Test pdf files and remote ones.
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
None

Will assign @utin-francis-peter to it

Please do.

Hello, I'm a first time contributor, I would like to work on this.


Operational Logs

Need

As a developer
I want to be able to see/query service logs
for help with debugging/monitoring the system

Approach

[x] integrate with logs service
[x] log aggressively in beta

This is complete


Create a base image for router with its user

Can we use a more unique uid:gid? 1000 is too generic.


add migrator to dist bundle

@secondsun Could you review ;) ?

@sebastienblanc Would you mind pulling https://github.com/aerogear/aerogear-unifiedpush-server/pull/624 in as well?  Two birds, one stone for me ;)

@secondsun I cherry-picked it !

@sebastienblanc WDYT making the names in the archive follow the format of finalName?

@secondsun you mean the name of the dist zip/tar ?

@sebastienblanc Actually I found a better workaround than using a final name param for my usage.  I just get maven to give me the project version and I can do everythign I need with that

+1

landed in f9b1be84e14c6d71100ba0d2bd6b5637829828be


Update on the project

upcoming:
Yolov7
Yolov5
Yolov3
Prolog

?

Why u close dis
(其实只是想试试能不能正常发东西)

Like this. Very good!

Yolov7 Done - 2022.8.21

Flask API done - 2022.8.24

Flask API done - 2022.8.24

upcoming: network comparison & network adjustment

Also upcoming: Android mobile app deployment

Included in the update.
New version today include some modifications to the network


todo: find downgraded vulnerable packages

We should sometimes run a timer to check for packages that may be vulnerable again because of epoch bump and pkgver downgrade.

Where do we display those, in the TODO list?
How do we mark such as invalid if according patches were backported for the downgrade?

example of a case why this is needed: https://bugs.archlinux.org/task/63649

This example definitely shows why we need such a tool, but it does raise the fascinating question, "what do you do if the vulnerable version is represented by a newer pkgver".
In such a case I guess the forked version would be flagged as also vulnerable, so we could check if that known-vulnerable pkgver reappears.


socks5 proxy not working -

I wish to take advantage of the ability to use custom ip server and so I tested with 2 different socks5h proxy servers today.
Both proxies return same Error: Failed to get proxy ip
Here is my code below. If I change the proxy to use 'http://' instead of socks5:// the proxy2 I am testing works good.
The proxy1 that I am testing does not work with http or socks5 is fails with Error: Failed to get proxy ip.
It appears socks5 does not work correctly based on this test below.
Thank you very much for this amazing software.
`
const { plugin } = require('puppeteer-with-fingerprints');
// The default proxy value is just an example, it won't work.
const proxy1 = 'socks5://user:password@gate.proxy1.com:7000';
const proxy2 = 'socks5://user:password@anotherproxy2.com:12321';
(async () => {
plugin.useProxy(proxy2, {'ipInfoMethod': 'ip-api.com'});
const browser = await plugin.launch({
headless: false,
});
const page = await browser.newPage();
await page.goto('https://bablosoft.com/', { waitUntil: 'domcontentloaded' });
const result = await page.evaluate(() => document.body.innerText.trim());
console.log(result);
await browser.close();
})();`

@Firegarden greetings! You should use ipExtraction options instead of ipInfo.
The last one used for retrieving general info about IP - for example, location and so on.
In turn, the first one are just responsible for getting your output IP - just where you have an error:
plugin.useProxy(proxy2,  {
  ipExtractionURL: 'https://api.ipify.org/',
  ipExtractionMethod: 'raw',
  ipExtractionParam: '',
});

You can use any other service to get the address, I'm just using this one as an example.
Also you can found examples here.


[Feature Request]: Allow specifying more floating menu CSS selectors on Tearsheet component family

The problem
When using <Tearsheet>, we have floating element attached outside of the tearsheet DOM element, and <Tearsheet> does not allow moving focus onto the floating element.
The solution
In the <TearsheetShell> internal component, selectively destructure selectorsFloatingMenus from rest, and join the existing hardcoded selectorsFloatingMenus property value:
// TearsheetShell.js
const { selectorsFloatingMenus, ...restWithoutSelectorsFloatingMenus } = rest;

<ComposedModal
  {
     ...restWithoutSelectorsFloatingMenus
  }
  selectorsFloatingMenus={[
    `.${carbonPrefix}--overflow-menu-options`,
    `.${carbonPrefix}--tooltip`,
    '.flatpickr-calendar',
    `.${bc}__container`,
     // join `selectorsFloatingMenus` here
]}

Design link
No response
Links to other materials
carbon selectorsFloatingMenus
https://react.carbondesignsystem.com/?path=/docs/components-composedmodal--overview#focus-management
Owner/main maintainer(s)
Nate(me)
Second/backup maintainer(s)
No response
Product/offering
No response
Business priority
High Priority = pressing release
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

I can work on this if this is considered a possible enhancement 😉


Add examples, docs to the README

There is no docs and no examples in the README, Please consider adding them

Many of the extensions are pretty straight forward and do not need examples to do so, I believe anyone with common knowledge can get a grasp of them.
However this is an open source project and there's too many of them, as i'm working on another things...
I would be needing help/contributions in adding the examples/wikis and/or READMEs, feel free to make a pull request regarding this.

I'd recommend you re-open this issue if you'd like help with it.

if someone can add dokka, i'd appreciate it, currently busy with other stuff

need a helper(extension)  fo make readme doc and examples.

Agree, would be nice to have this. I have seen this repo a few times but had no clue whether it is actually helpful, as there are no examples

Agree, would be nice to have this. I have seen this repo a few times but had no clue whether it is actually helpful, as there are no examples

feel free to open a PR, it'll help a lot
dokka would be nice and easy integration

It seems that Dokka does not support configuration cache, and in order to integrate Dokka, it needs to be disabled. For specific information, please refer to this link: https://github.com/Kotlin/dokka/issues/2612.


Fig dangling check crash when no soma

Instead, set all neurites as dangling
Note: I know right now NeuroM does not support empty soma but it will in the future and already can no the morphio branch. So I prefer to commit here and then to cherry pick on morphio.

I need this to fix a bug on MorphService which uses morphio branch.

closing in favor of #900


ja: Make docs/concepts/workloads/pods/pod-lifecycle.md follow v1.17 of the original text

Close #21460

/approve


Add gazebo/gz_ros2_control

As suggested with #108: I'd like to add gazebo_ros2_control and gz_ros2_control to control.ros.org
A preview, until the ReST files are merged in the two repos.

Very good idea! I think we should also add the mock systems as a much simper baseline tool

Very good idea! I think we should also add the mock systems as a much simper baseline tool for more stable testing

We have at least an issue to add this to the demos ;) https://github.com/ros-controls/ros2_control_demos/issues/254

The PRs for gazebo_ros2_control and gz_ros2_control got merged, let's go live!

@mergifyio backport humble


Allow image lambda to fetch remote images

Consider following scenario:

URL for images is stored in database,
backend is using private S3 bucket to store data,
when request is made, backend signs image URL,
frontend displays image url (ERROR 500 currently).

next.config.js allows us to specify domains allowed.
Image lambda should check if URL is absolute or relative. If relative, use internal S3 bucket, if absolute, fetch remote image.

As of version v4 handler can be used to fetch and optimise any image.


Web application view update

For web application some changes are required regarding mandatory/optional fields and model changes

done


Extra slash at beginning of a line

When using the Fragment or PropsTable Plugins, a \ is being added to the beginning of lines that have components on them.  This causes an MDX compilation failure and the page doesn't load.
Issue first observed in this PR --> https://github.com/jpmorganchase/salt-ds/pull/1889
Screenshot of broken source MDX

Dev Notes
Both of these plugins make use of remark to process the page content so that could be the source...

remarkMdx missing from both plugins...


Accept absolute paths

json2csv --input /tmp/shortenTokenEmails.json
module.js:338
    throw err;
          ^
Error: Cannot find module '/home/starfall/workspace/foreach/tmp/shortenTokenEmails.json'

Would be great if absolute paths were supported. Good job otherwise!

Yeah, it should work.
Note to self: us this https://www.npmjs.com/package/path-is-absolute

Released as 2.10.0

Thanks!
On Mon, Aug 24, 2015 at 3:31 PM Ilya Radchenko<EMAIL_ADDRESS>wrote:

Released as 2.10.0
—
Reply to this email directly or view it on GitHub
https://github.com/zemirco/json2csv/issues/61#issuecomment-134173779.


MAINT: Update codecov action

Codecov Report

Merging #442 (3fe7381) into main (7f2d979) will decrease coverage by 0.22%.
The diff coverage is 98.07%.

@@            Coverage Diff             @@
##             main     #442      +/-   ##
==========================================
- Coverage   99.87%   99.65%   -0.23%
==========================================
  Files          46       46
  Lines        1653     1716      +63
==========================================
+ Hits         1651     1710      +59
- Misses          2        6       +4

Impacted Files
Coverage Δ

pfhedge/_utils/hook.py
100.00% <ø> (ø)

pfhedge/_utils/operations.py
100.00% <ø> (ø)

pfhedge/nn/modules/bs/black_scholes.py
100.00% <ø> (ø)

pfhedge/nn/modules/mlp.py
100.00% <ø> (ø)

pfhedge/instruments/base.py
96.00% <66.66%> (-4.00%)
:arrow_down:

pfhedge/instruments/derivative/base.py
98.23% <90.47%> (-1.77%)
:arrow_down:

pfhedge/_utils/parse.py
100.00% <100.00%> (ø)

pfhedge/autogreek.py
100.00% <100.00%> (ø)

pfhedge/features/_base.py
100.00% <100.00%> (ø)

pfhedge/features/container.py
100.00% <100.00%> (ø)

... and 22 more

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 bc4ae30...3fe7381. Read the comment docs.


Add new documentation

All that I could find so far. Still missing TCPServer and a few others

Went as far back as December and added everything I could find in the meta templates. The toHex function descriptions was something I was unsure about, probably all wrong.

isGodmode fails for both player and human
spawnProtection works though

updated to add new functionality as well


Docs: Support search for components

Currently the VitePress docs uses local search which means that all static content is indexed during build-time.
But since the components and their properties/events etc. are only embedded from Storybook using an iframe, their data is not available for the search.
We could use some 3rd party search crawler like Algolia which is natively supported by VitePress and commonly used in documentations like Vue.js, Vite etc.: https://vitepress.dev/reference/default-theme-search
We should check the license and pricing of it. Usually Algolia is free for Open Source projects by should double check this.

Why?
Currently the VitePress docs uses local search which means that all static content is indexed during build-time.
But since the components and their properties/events etc. are only embedded from Storybook using an iframe, their data is not available for the search.
Definition of Done

[ ] we can search dynamically added components
[ ] follow up tickets were created if necessary
[ ] updated version + documentation is deployed
[ ] Storybook can show the feature
[ ] Set task to In review

Review
-  add link to deployed storybook
- add link to deployed docs
- [ ] approved by designer add designer tag
- [ ] approved by dev add dev tag
Implementation details
Check the explanation in the previous comment
Reference implementations

https://vitepress.dev/reference/default-theme-search

Take into consideration after documentation workshop

Closed as no longer needed due to #955.
If needed: we can make a community poll to check how easy they can search the content and check if we need to change anything


Daggerboard could not upload spdx SBOM file in the docker container image

I am having issues uploading the SBOM spdx file in the docker container image. I will be grateful if someone can help me with this issue. A screenshot is attached for understanding the issue in depth.
Kind regards

Same issue here

any update on this issue?

@rhr407 thanks for posting this issue. Can you provide us with the log message?

JSON SPDX is not currently supported by Daggerboard, but we are working on adding support. Based on my testing, I was only able to get the Microsoft tool to output JSON SPDX. In the meantime, tools for converting the SPDX format can be found here: https://spdx.dev/spdx-tools/.
See the wiki for additional information on supported SPDX formats: https://github.com/nyph-infosec/daggerboard/wiki/Supported-SPDX-Formats-&-Upload-Troubleshooting.


updated ms.author

Docs Build status updates of commit c876ed6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/asset-creation-process.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Mandatory Modules] Implement Metrics

Description
With https://github.com/kyma-project/lifecycle-manager/issues/1052 the mandatory metrics reconciler is introduced. It is still missing metrics and should be implemented with this ticket.
Reasons

Better Debugging
Needed for Alerting
Check performance

Acceptance Criteria

[ ] Implement new metrics for Mandatory Modules Reconciler
[ ] Adapt the controller names to visualize the controller runtime metrics in existing dashboards
[ ] Reuse already existing metric endpoint from lifecycle-manager
[ ] Cover new metrics in E2E test
[ ] Metrics which should be covered

[ ] Mandatory ModuleTemplate count
[ ] Status of Mandatory Module manifests

Adapt the manifest status panel to exclude mandatory modules
Add a new panel to visualize the mandatory module manifest status

Feature Testing
No response
Testing approach
No response
Attachments
No response

Dashboards are now available


Sampling from a loaded replay checkpoint

I'm testing a pipeline where I train a SAC agent, checkpoint its replay buffer and then try to restore it. The client.server_info() command seems to indicate that the checkpoint is loaded fine:
{'priority_table': TableInfo(name='priority_table', sampler_options=uniform: true
, remover_options=fifo: true
is_deterministic: true
, max_size=1000000, max_times_sampled=0, rate_limiter_info=samples_per_insert: 256.0
min_diff: 115200.0
max_diff: 1.7976931348623157e+308
min_size_to_sample: 500
insert_stats {
  completed: 100073
}
sample_stats {
  completed: 25503488
}
, signature=Transition(observation=TensorSpec(shape=(2,), dtype=tf.float32, name='observation'), action=TensorSpec(shape=(1,), dtype=tf.float32, name='action'), reward=TensorSpec(shape=(), dtype=tf.float32, name='reward'), discount=TensorSpec(shape=(), dtype=tf.float32, name='discount'), next_observation=TensorSpec(shape=(2,), dtype=tf.float32, name='next_observation'), extras=()), current_size=100073, num_episodes=1169, num_deleted_episodes=0, num_unique_samples=99701, table_worker_time=sleeping_ms: 11776
)}

However, running the following causes a StopIteration exception:
dataset = reverb.TimestepDataset.from_table_signature(
        server_address=f'localhost:{server.port}',
        table='priority_table',
        max_in_flight_samples_per_worker=1,
        rate_limiter_timeout_ms=10).batch(1).as_numpy_iterator().__next__()

I suspect that the server somehow gets closed before sampling. Any ideas on what might be happening?

Hi Bogdan,
Just eyeballing the numbers in that server_info indicates to me that you can't sample from that table as it hitting the samples_per_insert ratio. I.e. the number of completed samples (25503488) is roughly 256 times bigger than the number of completed inserts (100073).
We can verify that this is correct by doing the math that the rate limiter does to check if samples are allowed:

100073 *<PHONE_NUMBER>8 = 115200

We can then compare that to the min_diff in the server_info response and see that they are exactly the same. This means that sampling one more item would violate rate limiter and thus the sample action is blocked.
If you were to sample without specifying a rate_limiter_timeout_ms in the dataset constructor then it would block forever but you do specify it so the dataset will "complete" after 10ms and raise the StopIteration exception.
I'm afraid that the checkpointing in Reverb was designed exclusively for handling unexpected experiment failures and the data format therefore is not very useful if you wish to reuse the data from a previous experiment in a new one. If you want to hack around this then I would suggest doing some hackery to manually change the value of min_diff in the raw checkpoint file.

@acassirer Thanks for the thorough explanation, I definitely understand how checkpointing works a bit better now! I've manually changed the RateLimiter loaded from the checkpoint to have these client.server_info() stats:
{'priority_table': TableInfo(name='priority_table', sampler_options=uniform: true
 , remover_options=fifo: true
 is_deterministic: true
 , max_size=1000000, max_times_sampled=0, rate_limiter_info=samples_per_insert: 256.0
 min_diff: 2.2250738585072014e-308
 max_diff: 1.7976931348623157e+308
 min_size_to_sample: 500
 insert_stats {
   completed: 50048
 }
 sample_stats {
   completed: 12812287
 }
 , signature=Transition(observation=TensorSpec(shape=(2,), dtype=tf.float32, name='observation'), action=TensorSpec(shape=(1,), dtype=tf.float32, name='action'), reward=TensorSpec(shape=(), dtype=tf.float32, name='reward'), discount=TensorSpec(shape=(), dtype=tf.float32, name='discount'), next_observation=TensorSpec(shape=(2,), dtype=tf.float32, name='next_observation'), extras=()), current_size=50048, num_episodes=577, num_deleted_episodes=0, num_unique_samples=49839, table_worker_time=running_ms: 34171
 sampling_ms: 1421
 inserting_ms: 486
 sleeping_ms: 262707
 waiting_for_inserts_ms: 3657805
 )}

However, I'm still getting a StopIteration exception. The min_diff is set to -inf so I'm not sure what's blocking it now?
Thanks a lot!

min_diff: 2.2250738585072014e-308
This doesn't look like a negative number to me but more like (almost) 0. Doing the math again for the rate limiter we get:

50048 *256 - 12812287 = 1

So if we were to sample once more then that becomes 0 which is smaller than 2.2250738585072014e-308 so it looks like you are hitting the same thing as before but with new numbers. I'm guessing that the -inf might have resulted in some overflow issue.
Maybe you'll have better luck if you tweaked the sample_stats.completed and/or samples_per_insert?
Just to be clear: if you never insert any more data then it will always eventually reach the StopIteration.

Oh, you're right, I was not paying attention and didn't see that sys.float_info.min is close to 0 and not -inf. Setting min_dif=-sys.float_info.max did the job and everything is working. Thanks a lot!


Add ica_data objects for published datasets

We should add tar.gz files for E. coli, B. subtilis, and S. aureus to a folder in the root directory called published_data.

The three published iModulons are now in this package as part of the example data. Future iModulons will not be bundled in this package, but rather in a different repo or on iModulonDB
https://github.com/SBRG/pymodulon/tree/master/src/pymodulon/data/objects


User-selectable modern ui style

This PR contains the new modern ui that began as a project explorer prototype created by Vishwas Adiga during Google Summer of Code 2021.
It includes ui switching and dark mode support by Jennet Zamanova. Dark mode needs more review of its color selection before it is ready for release.
The user interface can be switched using the new "User Interface Settings" option under Settings (which is the gear icon in the modern ui).

It's not the most important thing, but I notice that there are a bunch of files/folders with "GSoC" in their name.  I understand why they may have started that way but perhaps they should be renamed something more meaningful before this all gets merged.

It's not the most important thing, but I notice that there are a bunch of files/folders with "GSoC" in their name. I understand why they may have started that way but perhaps they should be renamed something more meaningful before this all gets merged.

Yes, Evan and I were just talking about that. They're going to be renamed. The question is to what. We've also used "modern," but that seems excessively generic to me. In theory, any new UI is going to be more modern than the last.
So, really, what do we want to call it? I've kicked around something color-related, like Citrus or Key Lime, assuming we're going to keep the green accent color. (I like it a lot, but it seems to be controversial.) I thought it would be fun to come up with a word or name that evokes this decade, being that this is a big modernization. But I haven't come up with one. Artemis might be a possibility, named for the Artemis Project.
Suggestions welcome!  I'd love to get people to throw some stuff out.

Android uses dessert names.
On Wed, Jan 10, 2024 at 6:03 PM Susan Rati Lane @.***>
wrote:

It's not the most important thing, but I notice that there are a bunch of
files/folders with "GSoC" in their name. I understand why they may have
started that way but perhaps they should be renamed something more
meaningful before this all gets merged.
Yes, Evan and I were just talking about that. They're going to be renamed.
The question is to what. We've also used "modern," but that seems
excessively generic to me. In theory, any new UI is going to be more modern
than the last.
So, really, what do we want to call it? I've kicked around something
color-related, like Citrus or Key Lime, assuming we're going to keep the
green accent color. (I like it a lot, but it seems to be controversial.) I
thought it would be fun to come up with a word or name that evokes this
decade, being that this is a big modernization. But I haven't come up with
one. Artemis might be a possibility, named for the Artemis Project.
Suggestions welcome! I'd love to get people to throw some stuff out.
—
Reply to this email directly, view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/3079#issuecomment-1885885270,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGAXN7Z6KQGMPQAMR35TQDYN4M5PAVCNFSM6AAAAABA5NG6HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVHA4DKMRXGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I thought it would be fun to come up with a word or name that evokes this decade, being that this is a big modernization.

Some possibilities:

GenZ
TaylorSwift
Beyonce

I thought it would be fun to come up with a word or name that evokes this decade, being that this is a big modernization.

Some possibilities:
* GenZ

Another term for GenZ would be Zoomer.

@AppInventorWorkerBee retest this please

There are still a bunch of "todos" here but at this point I don't think it is worth holding up the PR any further. I've addressed a few low hanging fruits and the rest we can revisit in another update.


Serialized netlink packet larger than maximum size - Inn Server

This is related to #174 .
We've been testing v1.5.3-beta2 in our nodes for 2 or 3 days now and so far it's looking good. Yesterday however I spotted the following error in our innernet-server (This is not happening in any of the client nodes)
Error: Serialized netlink packet (4104 bytes) larger than maximum size 4096

We deployed this new version on Jan 12th at around 7am UTC and spotted the first error at Jan 13th 14:53 UTC. We're adding new peers daily and I guess that's what made the netlink packets from the innernet-server to grow above maximum serialized size, though I'd expect this to grow exponentially as we add new peers if that was the case. FWIW it seems stuck at 4104 bytes.
See the full output in the file below
innernet-server serve interface.txt

Thanks for the helpful debug info! Hopefully I've caught the culprit, and will be releasing a 4th beta shortly.


Add missing properties for api version 2020-02-02-preview of securityAlertPolicies

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

please fix the validation errors triggered by your example files in the DSMainDev repo firstly. Then you can update in this github PR.

and also let me know why add new properties in a existing version. it is required a new API version if it is adding a new feature,

@ericshape - I fixed the errors in DsmMainDev
@akning-ms - I am doing this change becuase of many CRIs we got for this API version. These properties don't apply a new behavior. They exist in the previous versions of these APIs (2017-03-01-preview for servers and managed instances and 2018-06-01-preview for databases). We tried to remove these settings, but got a lot of CRIs of customers complaining on this change, therefore we want to return the properties that exist in the previous versions. Moreover, this API was published less than one year ago, and since it is a preview version we can add these properites. please approve this change

@ericshape - I fixed the errors in DsmMainDev
@akning-ms - I am doing this change becuase of many CRIs we got for this API version. These properties don't apply a new behavior. They exist in the previous versions of these APIs (2017-03-01-preview for servers and managed instances and 2018-06-01-preview for databases). We tried to remove these settings, but got a lot of CRIs of customers complaining on this change, therefore we want to return the properties that exist in the previous versions. Moreover, this API was published less than one year ago, and since it is a preview version we can add these properites. please approve this change

Thanks, few more questions, Can I know  the PR#  which removed these properties?  and CRIs of customer complaining is from SDK?  BTW, you may need to remove the package-lock.json in this PR.

@ericshape - I fixed the errors in DsmMainDev
@akning-ms - I am doing this change becuase of many CRIs we got for this API version. These properties don't apply a new behavior. They exist in the previous versions of these APIs (2017-03-01-preview for servers and managed instances and 2018-06-01-preview for databases). We tried to remove these settings, but got a lot of CRIs of customers complaining on this change, therefore we want to return the properties that exist in the previous versions. Moreover, this API was published less than one year ago, and since it is a preview version we can add these properites. please approve this change

Thanks, few more questions, Can I know the PR# which removed these properties? and CRIs of customer complaining is from SDK? BTW, you may need to remove the package-lock.json in this PR.

@ayeletshpigelman I have replied to the comments in your DSMain PR and tag @akning-ms in the comment as well.

@ericshape - I added the changes to version 2020-11-01-preview and version 2020-08-01-preview as well
@akning-ms - The pr of removing these settings in the new version is: https://github.com/Azure/azure-rest-api-specs/pull/9565
CRIS for example: https://portal.microsofticm.com/imp/v3/incidents/details/217576651/home
I also sent you over email 2 other examples

LGTM

the breaking changes are expected. it seems because @ayeletshpigelman would like to add these features to V5 SDK. The version of v5 SDK I will merge is based on 2020-08-01 preview.
lintDiff throws an exception. I think it is fine in that the exception is systemData. cc: @akning-ms
.NET sdk test is failed due to @xaliciayang has not updated the test in .NET repo. It is expected.

@jianyexi to check why there is exception for Linter, this error can not be skipped, as it stops the linter validation

@jianyexi Jianye Xi FTE to check why there is exception for Linter, this error can not be skipped, as it stops the linter validation

The  systemData is referenced by https://github.com/Azure/azure-rest-api-specs/blob/26a8083f016be439122fe390dacd27a5b7ef2649/specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/ServerDevOpsAudit.json#L225  , but is conflict with the systemData at  :
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/common-types/resource-management/v1/types.json#L441
please use the latter one

@jianyexi - I don't under the explanation. ServerDevOpsAudit.json is not owned by me. In my files I used the following ref: "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData"
which leads to the file you suggested to use.
If there is a problem with ServerDevOpsAudit.json please fix this, but it is not related to my changes.
@akning-ms - Appreciate your approval, we got another CRI regarding this during the weekend. Customers are waiting for the fix
thank you

@jianyexi - I fixed the lint diff
@akning-ms - Appreciate your approval, we got another CRI regarding this during the weekend. Customers are waiting for the fix
thank you

@ayeletshpigelman  @jianyexi
please use the SQL specific systemData: https://github.com/Azure/azure-rest-api-specs/blob/47b422a4d1ea9f4736739a4a6a19d4a8a2fe54d9/specification/sql/resource-manager/common/v1/types.json#L100

the systemData filed in all SQL DB APIs is a dummy. we did not impl it. I think Jenny has let all the ARM reviewers know it.
the SQL DB specific common file is different from the global common one. We have a lot of specific enum values which global one does not support.


Certificate Manager certificates support for Application Load Balancer modules

Describe the request
Please add Certificate Manager certificates support for the  Application Load Balancer modules, as it is in General Availability.
https://cloud.google.com/load-balancing/docs/release-notes#March_12_2024
resource "google_compute_region_target_https_proxy" "default" {
count            = var.protocol == "HTTPS" ? 1 : 0
project          = var.project_id
region           = var.region
name             = var.name
description      = var.description
ssl_certificates = local.proxy_ssl_certificates

Add support for Certificate Manager Certificates here

ssl_policy       = var.https_proxy_config.ssl_policy
url_map          = google_compute_region_url_map.default.id
}
Thanks

Added here https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/pull/2415


Pylance plug-in caused incomplete auto-completion

There was no prompt for ContentHandler when I imported the xml.sax package. It worked after I disabled Pylance
Environment data
Pylance v2022.6.20
Python: 3.9.12
VsCode: 1.68.1 (user setup)
Language Server version: 2022.6.20 (pyright 979d9c9e)
OS :Windows_NT x64 10.0.19043
Expected behavior

Actual behavior

Logs
The log when I enter a period
(16724) [FG] completion at c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py:3:8 ...
(16724) [FG]   parsing: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (0ms)
(16724) [FG]   binding: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (0ms)
(16724) [FG] completion at c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py:3:8 [found 23 items] (3ms)
(16724) Background analysis message: setFileOpened
(16724) Background analysis message: markFilesDirty
(16724) Background analysis message: analyze
(16724) [BG(3)] analyzing: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py ...
(16724) [BG(3)]   parsing: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (0ms)
(16724) [BG(3)]   binding: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (0ms)
(16724) [BG(3)]   checking: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (3ms)
(16724) [BG(3)] analyzing: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (3ms)
(16724) Background analysis message: resumeAnalysis
(16724) [BG(3)] indexing: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py [found 0] (0ms)
(16724) Indexing Done: c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py
(16724) Background analysis message: getDiagnosticsForRange
(16724) Background analysis message: getDiagnosticsForRange
(16724) Background analysis message: getSemanticTokens delta
(16724) [BG(3)] getSemanticTokens delta previousResultId:1655692870684 at c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py (1ms)
(16724) Background analysis message: getDiagnosticsForRange
(16724) Background analysis message: getDiagnosticsForRange
[Info  - 10:41:18] (16724) SourceFile: Received fs event 'change' for path 'c:\Users\stfujnkk\Desktop\work_space\python\autoTest\main.py'
(16724) Background analysis message: markFilesDirty
(16724) Background analysis message: analyze

The type information that pylance uses for xml.sax comes from the typeshed project. It indicates that ContentHandler is not exported directly from xml.sax but is instead available only through the submodule xml.sax.handler. If you think this is an error, please consider opening a bug report in the typeshed project. Pylance and other static type checkers within the Python community all consume these typeshed stubs.

The most important thing is that after I disabled the Pylance plug-in, it worked normally.
What I mean is that this plugin interferes with the ms-python.python plugin working properly.

The Typeshed stub indicates that the symbol ContentHandler is not re-exported from the xml.sax module. If it is intended to be re-exported from that module, the type stub would need to use a redundant import form to indicate this.
from xml.sax.handler import ContentHandler as ContentHandler

Without that redundant form, ContentHandler is considered a private import, and pylance will not recommend it for completion. The behavior of type stubs is specified in PEP 484, and pylance is following the specification here.
If you think that xml.sax is intended to re-export the symbol ContentHandler, then you can file a bug or a PR with the typeshed project.


Permission Denied on Windows

Result after execute my hello world script :
PermissionDenied: Access is denied. (os error 5)
at unwrapResponse ($deno$/ops/dispatch_json.ts:43:11)
at Object.sendSync ($deno$/ops/dispatch_json.ts:72:10)
at Object.kill ($deno$/ops/process.ts:6:3)
at Process.kill ($deno$/process.ts:89:5)
at Runner.run (https://deno.land/x/drun@v1.1.0/src/helpers/runner.ts:73:17)
at async Watch.run (https://deno.land/x/drun@v1.1.0/src/commands/watch/watch.ts:78:5)
at async main (https://deno.land/x/drun@v1.1.0/drun.ts:7:3)
at async https://deno.land/x/drun@v1.1.0/drun.ts:12:5

Thanks for reporting this issue.
This was fixed with https://github.com/MarcHanin/drun/pull/7 but it's not release yet.
You can install the master version if you want to use it now:
deno install --allow-read --allow-run --unstable -f https://deno.land/x/drun/drun.ts

hi marc thank you so much, looking forward to help this project to increase my productivity :)

Hi @gungunfebrianza,
Thanks, I'm happy if this project can increase your productivity :)


Modify -vid parameter to support inference on YouTube videos

This PR allows users to pass YouTube video link on which DepthAI should download and run inference on.
Usage example
depthai_demo.py -vid https://www.youtube.com/watch?v=Y1jTEyb3wiI

resolves #373

This will be great to have!


Menunda agak lama

Steps to reproduce
1.saya mengunduh bab novel
2. menelusuri novel lain
3. Mengklik novel
4. Jeda terlalu lama
https://github.com/user-attachments/assets/bd79b313-fa22-4cf4-aa2b-68e5a34b1de7
Expected behavior
Ketika tidak ada kegiatan latar belakang mengunduh bab, ini normal tidak ada jeda terlalu lama
Actual behavior
Jeda terlalu lama ketika ada kegiatan latar belakang mengunduh bab novel
LNReader version
2.0.0
Android version
Android 12
Device
Galaxy A02s
Other details
Ya meskipun tidak masalah bagi saya, saya harap ini dapat di perbaiki
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 2.0.0.
[X] I will fill out all of the requested information in this form.

This has always been the behavior because background actions are resource-intensive operations, and there isn't a direct fix for this issue.
Additionally, please create issues in English, as there are no Indonesian contributors.

Steps to reproduce
1.I downloaded the novel chapter 2.browsing other novels 3.clicking on the novel 4. Pause is too long
floatee-video-1722770539520_8ByCJvXG.mp4
Expected behavior
When there is no background activity downloading chapters, it is normal that there is no too long pause
Actual behavior
Too long pause when there are background activities downloading novel chapters
LNReader version
2.0.0
Android version
Android 12
Device
Galaxy A02s
Other details
Yes even though it doesn't matter to me, I hope this can be fixed
Acknowledgements

[x]  I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[x]  I have written a short but informative title.
[x]  If this is an issue with a source, I should be opening an issue in the sources repository.
[x]  I have updated the app to version 2.0.0.
[x]  I will fill out all of the requested information in this form.

Ok,thank you


Pass Swagger UI paramters to html function

Hello,
This package has been extremely helpful to me.
The transition from FastAPI was very seamless. However I did notice I lost some of my swagger UI customization.
This addressed it correctly for me locally.
Thank you for your time!

Thanks for the PR - this looks good to me.  I'll get this merged and will try to cut a new release towards the end of the week.

Thank you for the quick response, very appreciated.

This should be up on PyPi as v1.7.0 - thanks again for the PR!


Dulicate class error on Android

Hello, Thanks for good library.
But I have a problems introduce Klock version 1.9.1 into our Kotlin multiplatform project.
My project is the following dependencies:
// SharedCode project
commonMain.dependencies {
    implementation "com.soywiz.korlibs.klock:klock:1.9.1"
}

// Android project
dependencies {
    implementation "com.soywiz.korlibs.klock:klock-jvm:1.9.1"
}

And compilation failed with the above settings.
(This is a partial excerpt:)
Duplicate class com.soywiz.klock.Date found in modules jetified-klock-debug-runtime-debug.jar (com.soywiz.korlibs.klock:klock-android:1.9.1) and jetified-klock-jvm-1.9.1.jar (com.soywiz.korlibs.klock:klock-jvm:1.9.1)
Duplicate class com.soywiz.klock.Date$Companion found in modules jetified-klock-debug-runtime-debug.jar (com.soywiz.korlibs.klock:klock-android:1.9.1) and jetified-klock-jvm-1.9.1.jar (com.soywiz.korlibs.klock:klock-jvm:1.9.1)
...

Am I doing something wrong setting? How can I avoid the problem?
Thanks!

@soywiz
What is the status of this issue?
If it's difficult to tackle, I'll try removing klock-jvm as a dependency.

Instead of:
// Android project
dependencies {
    implementation "com.soywiz.korlibs.klock:klock-jvm:1.9.1"
}

Have you tried?
// Android project
dependencies {
    implementation "com.soywiz.korlibs.klock:klock-android:1.9.1"
}

@soywiz
Thanks. I succeeded compile ; )
README.md written that you can use klock-jvm If you are using only Android.
what is this klock-android ?


Update program.vb

I was going to suggest these changes in #1677 but it was merged.

I was going to suggest these changes in #1677 but it was merged.

@Youssef1313 I understand. It's much easier for us to review PRs when they have a single focus. #1677 fixed a functional issue with a sample. Finding that important one line change in a PR with multiple style-only fixes complicated the review. That becomes a much larger problem for PRs that have multiple functional fixes and multiple style changes.


Bot doesn't display a message when it starts

I have integrated my chatbot with a webpage, however the message that is supposed to display on startup/when the bot is toggled for the first time doesn't display. If I type in any of the expected patterns in the blank bot, it continues as normal.
This first message works if I run the bot on Botkit provided HTML page. It is defined in the file startUp.js
module.exports = function (param)
{
   var controller = param['controller'];
   controller.on('hello', hello_there);
   controller.on('welcome_back', hello_there);

   async function hello_there (bot, message)
   {
      let someData = await something();
      let speak = {
         text: 'Hi!',
         quick_replies: [
            {title: 'Option 1', payload: 'Option 1'}, // and so on
         ]
      };
      bot.reply(message, speak);
   }
}

Botkit version: 0.7.0
Messaging Platform: Web
Node version: 8.11.1
OS: Windows 8.1

This first message works if I run the bot on Botkit provided HTML page.

It looks like you missed client side code which sends hello message:
https://github.com/howdyai/botkit/blob/master/packages/botbuilder-adapter-web/client/client.js#L177-L201

@Naktibalda The highlighted code is present in client.js, but it's still not working

Was there ever a resolution to this case? I realize that this is also the case for my own bot (I hadn’t tried to get this to work earlier, as odd as it sounds). As Samar first reported, the code within ‘client.js’ appears to be in place (note: this refers to botkit 0.7+) but no ‘hello’ event is ever emitted.

@pgoldweic There wasn't a solution from Botkit, but I managed to find a workaround.
If you look at the code I posted, there's a function call.  I just moved the function call to another method and it worked. Had to change some logical structure of the bot, but got it to work.

Hi @samar14641 , could you please clarify what your solution entailed? In my case, I see that the client emits the event (I added debugging code to client.js's 'deliverMessage' method, so I know that the method gets called with 'welcome_back' -never hello-) but the 'controller.on('hello', function)  and 'controller.on('welcome_back', function) don't seem to have any effect. The only thing that seems to work in my bot's case is controller.hears.

@pgoldweic The function call I mentioned returned a bunch of HTML, which included a few small icons, from another server (i.e. not the server the bot was running on). All I did was remove this function call from the hello_there method, and moved it to another function. This worked for me, but I didn't get deeper into why because these functions were dealing with trivial messages like greetings.
When I had added debugging code to client.js, I saw what exactly what you've mentioned: the client emits the event, but doesn't trigger the function. Removing that function call was the only solution that worked in my case.

Thanks @samar14641 for clarifying this. Sounds like our use cases are not very similar, so I will have to continue debugging my situation (essentially in my case, it looks like the controller.on('welcome_back') and controller.on('hello') are never triggered.

@Naktibalda, could you perhaps suggest why none of the message.on(,) get triggered in my bot? I've been using successfully controller.hears to handle all conversations till now, but none of the others. Early on I attempted to use controller.on('message'), but not even this one worked at the time, so I think there is a generalized problem that prevents all these handlers from getting triggered. I ended up managing with controller.hears through all this time though. For more info, I'm using version 0.74, and the bot client is embedded in an IFRAME. I can see that the 'welcome_back' event is emitted by client.js, but nothing seems to trigger the event handlers on the controller. In my watson_middleware.js skill file, I have the following:
  controller.on('welcome_back', function(bot, message) {
	console.log("Attention! Returning user connecting..." + message.user)
	  //bot.reply(message,'Welcome new user!!');
});

located right after all my controller.hears method calls. Thanks in advance for any suggestions.

I have't worked with Botkit 0.x for almost 2 years, but I looked at the old version of my project and it used controller.on:
controller.on('hello', handleHelloEvent);
controller.on('message_received', handleWatsonResponse);

thanks @Naktibalda for your reply. The problem is exactly that none of those get ever called in my case, and I can't figure out what is blocking them, given that the client appears to emit the events :-(

The message may end up getting captured by a "hears" or somewhere in the middleware stack.
The handlers are fired in the order in which they are loaded in your code - try moving this early in the code order and see if it works.

Interesting idea @benbrown. Will try moving them and see if it helps.

It actually did help! Thanks again for suggesting this @benbrown (I thought it would have a much more complicated solution :-))


OMX_CHECK: macro argument should be enclosed in parentheses

Can we also do this for the other macros like CL_CHECK?


Training dataset

Thanks for your great work. Can you provide the high-quality FHD training video dataset you created by  youtube-dl? Thanks.

Hi @Zhang-Jing-Xuan. Unfortunately, I cannot share the training dataset since the videos are not under the Creative Commons license.


remove comma in description of GO:0007187

Hello,
In the term:
GO:0007187
G-protein coupled receptor signaling pathway, coupled to cyclic nucleotide second messenger
The comma is annoying (there should never be commas in OBO ontology's term description IMHO). When removed, we uncover the problem. A coupled to B coupled to C. The first "coupled" comes from a typo. The correct spelling should be "G Protein-coupled receptor". Cf https://en.wikipedia.org/wiki/G_protein–coupled_receptor
But a better definition would be something along the lines:
"G-protein coupled receptor signaling pathway regulating cyclic nucleotide second messengers"
(Note the S at the end of messengers).
Because a "pathway" cannot be coupled to a "second messenger". A G protein can be coupled to a receptor because they are both molecules.
Best regards

Thanks for the feedback @lenov !
I see what you mean about the label being not very elegant, although I dont know if 'regulation' is the best term, given that we have such a hard time defining it in GO. Would 'involved in' be OK?
@pfey03 @vanaukenk @ukemi What do you think ?
Thanks, Pascale

Maybe the issue of "regulating" with all its conceptual baggage and "coupling" with its difficulties can be evaded here. It looks like the point of the definition is to distinguish signaling processes initiated by G protein-coupled receptors that involve cyclic nucleotide second messengers from signaling processes that involve direct effects on ion channels from ones that involve activation of phospholipases. The different signaling processes can be distinguished according to the immediate effect of activating the receptor, without having to specify whether the interaction counts as regulation or coupling or something else.

@deustp01 What are you suggesting?
Do you think G-protein-coupled receptor signaling pathway involved in cyclic nucleotide signaling' would work ?

It looks like GO:0007186 "G-protein coupled receptor signaling pathway" has a group of children (GO:0007187 "G-protein coupled receptor signaling pathway, coupled to cyclic nucleotide second messenger") is one of them, that are intended to differentiate various G protein-coupled receptor signaling processes according to the immediate effect of receptor activation, so any word that links the "G-protein-coupled receptor signaling pathway" part of the GO term name to the part that differentiates the process subtypes, and that does it without falling into semantic traps, ought to be OK.
Here, "involving" might be better - "involved in" implies that the G protein-coupled receptor signaling process somehow mediates a separate cyclic nucleotide signaling process which (I think) is different from a G protein-coupled receptor signaling process that makes use of cyclic nucleotides (or ion channels or phospholipases or ...). I think the second is what we're trying to say, in order to classify the various G protein-coupled receptor signaling processes into subgroups according to what molecular mechanism is used to convey the signal from the activated G protein-coupled receptor.


fix(testing-kit): Issues with executable

What it solves
This PR solver several issues with the testing-kit executable

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

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

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
777

Relevant Lines:
948

💛  - Coveralls


Support from VSCode

Currently the @dcl/asset-packs dependency is only included in Web Editor but it does not work on the VSCode Extension. We should add support for it at least on the Inspector Template

Add it to the export from Web too


Add SOAP vs REST text

This should address user/developer questions around this topic.

@pczeeuw can you do a review?

All is well.

All is well.

All is well.


Docs: Recommend pretty-quick?

Is this a bug report?
No.
Description
In the README template's Formatting Code Automatically section, the combination of husky, lint-staged, and prettier is recommended.
pretty-quick is an alternative to lint-staged that is custom-built to support Prettier, and as such requires no configuration (other than wiring up "precommit": "pretty-quick --staged" in package.json). We recommend it on https://prettier.io/ due to its simplicity to set up, and its speed (it doesn't run sub-shells).
Would this project welcome a PR to recommend pretty-quick in place of lint-staged? Or perhaps document both approaches?

Disclosure: I am the author of pretty-quick.

As it's recommended in the Prettier site now I'd be 🆗 with updating the docs to match it.

Feel free to submit a PR. 😄

If pretty-quick can format partially staged files, then let's switch this. Otherwise, let's stay with lint-staged since it can format partial files.


Some kind of traits system for data types

I've recently had to implement min and max for each of the number-like data types. There are other functions which rely on min and max, such as clamp.
It would be nice to have a way of recording implementations of traits such as orderability and equality, so that other functions can easily use the appropriate method.
At the moment, we have Numbas.util.equalityTests, which contains functions for determining if two tokens of the same type are equal.
I suppose you could evaluate a JME expression with the tokens subbed in, and let the type-checker do the work, but that feels like it adds a lot of overhead.
A sketch of a system:

A function Numbas.util.register_trait_implementation( method, type, fn) which registers a function implementing the given method for a particular type.
A function Numbas.util.get_trait_implementation( method, type) which returns a function implementing the given method for a particular type.

What would be really clever would to be able to derive traits, e.g. if you have <= and >=, you can get =, < and > by combining them.

The collection-like data types are another opportunity to use traits: I've wanted "index" and "slice" traits for a long time.


Improve Search with Highlighting and Debounced Input

Description

Highlight Matching Text: Highlight matching text in search results.
Debounced Search: Improved search performance with debouncing.

Changes

Updated script.js to highlight matching text.
Added debouncing to the search input for better performance.

Testing

Verify matching text is highlighted.
Confirm improved performance with debounced search input.

img -

if u want then i can show u prototype

Hi @PATILYASHH, as I could see there was an issue through the image you shared during the PR. Review the changes and modify the code.
can you tell me what is issue ?

https://5500-patilyashh-nmoji-f6n8a2lq40h.ws-us115.gitpod.io/    take a look and you think there is any issue then tell me i will try my best to fix it

I can't access the link you provided, @PATILYASHH.
Can you help me with another issue if you're willing? It involves HTML & CSS. I'll look further into the code and get back to you about the issue you faced in the meantime.
You can check out the details here: github-issue #3.


Issue in connecting hive with elasticsearch

I am trying  to pull data from elasticsearch to hive .I did configuration in hive classpath using:
bin/hive -hiveconf hive.aux.jars.path=/users/mjuttuba/elasticsearch-hadoop-2.1.0.jar
Elasticsearch data json:
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 1,
"hits": [
{
"_index": "testindex",
"_type": "test",
"_id": "1",
"_score": 1,
"_source": {
"field1": "value1"
}
}
]
}
}
i am using following to create external table on hive:
CREATE EXTERNAL TABLE testserver1 (
field1 STRING
)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'
TBLPROPERTIES('es.resource' = 'testindex/test','es.nodes'='http://<IP_ADDRESS>',
'es.port' = '9200',
'es.index.auto.create' = 'false')
When i hit
desc testserver1;
i am successfully  getting schema description.
But I am getting following error when i hit select query:
select * from testserver1;
Error:
Failed with exception java.io.IOException:org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection error (check network and/or proxy settings)- all nodes failed; tried [[http://<IP_ADDRESS>]]
Need somebody help in the community.

Please use the forum not the issue tracker for
questions.
The error is likely caused by the hive server not having access to the
actual ES nodes.
On Feb 17, 2016 3:05 AM, "Anish Ratnawat"<EMAIL_ADDRESS>wrote:

I am trying to pull data from elasticsearch to hive .I did configuration
in hive classpath using:
bin/hive -hiveconf
hive.aux.jars.path=/users/mjuttuba/elasticsearch-hadoop-2.1.0.jar
Elasticsearch data json:
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 1,
"hits": [
{
"_index": "testindex",
"_type": "test",
"_id": "1",
"_score": 1,
"_source": {
"field1": "value1"
}
}
]
}
}
i am using following to create external table on hive:
CREATE EXTERNAL TABLE testserver1 (
field1 STRING
)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'
TBLPROPERTIES('es.resource' = 'testindex/test','es.nodes'='
http://<IP_ADDRESS>',
'es.port' = '9200',
'es.index.auto.create' = 'false')
When i hit
desc testserver1;
i am successfully getting schema description.
But I am getting following error when i hit select query:
select * from testserver1;
Error:
Failed with exception
java.io.IOException:org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException:
Connection error (check network and/or proxy settings)- all nodes failed;
tried [[http://<IP_ADDRESS>]]
Need somebody help in the community.
—
Reply to this email directly or view it on GitHub
https://github.com/elastic/elasticsearch-hadoop/issues/701.

As mentioned before - for questions, please use the dedicated forum not the issue tracker.
Closing the issue.


CS-1847 - Form overview

---The overview tab looks correct once a second tab is added ---

Hi, Jonathan: we need add nav link in dashboard as well.


fix: install missing kubenet ebtables drop rule

What type of PR is this?
/kind bug
What this PR does / why we need it:
In kubenet, the script ensure-no-dup.sh is supposed to install ebtables rules to prevent traffic to service IPs from being duplicated when the bridge is in promiscuous mode.
The script reads the pod CIDR from the CNI conflist. However, this broke when the CNI conflist format changed to support kubenet dual-stack in commit<PHONE_NUMBER>73769ae24e130afeef3f0dd865c6ef
Since the field ipam.subnet no longer exists in the CNI conflist, the jq expression was returning "null", which was rejected by ebtables. The result is that when the client and server pod are on the same node, and the client sends traffic to the service VIP, the server will see duplicate packets (the same issue described here: https://github.com/kubernetes/kubernetes/issues/25793)
This commit fixes the issue by updating the jq expression to read .ipam.ranges[0][0].subnet instead.
This addresses the immediate issue for IPv4, but longer-term we need to:

Test whether IPv6 is also seeing this issue (likely yes)
Consider configuring the bridge plugin to use hairpinMode=true, promiscMode=false and removing the ensure-no-dup script entirely.

Which issue(s) this PR fixes:
Fixes #
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
install missing kubenet ebtables drop rule to fix duplicate packets between pods on the same node when using service cluster IP

What test can verify this functionality so we are sure this change doesn't cause issues and catch the current issue too?

Is it possible to add such a test in agentbaker e2e?

good call, added E2E tests to validate that the ebtables rules are added. I put it in ubuntu2204 and mariner scenarios, since those use kubenet, but please let me know if you'd prefer me to create new scenarios @ganeshkumarashok


Rethink stop action of overlapping timers

When a timer T2 starts thats overlaps with a running timer timer T2 implicitliy stops the media that was started by timer T1. After T1 has run out the timer T2 is stopped.
Timer 1         |---------------------------------------|
Timer 2                                 |----------------------------------------|

t            |--|-----------------------|---------------|------------------------|------------------------------------>
                |                       |               |                        + t4: stop M2
                |                       |               + t3: stop media M1 (but stops current running media i.e. M2)
                |                       + t2: start media M2 (stops M1 impicitly)
                + t1: start media M1

Suggested Strategy:

IF

there is a running timer T1 of type that stops media at end
there is a running timer T2 of type that stops media at end
AND T2 ends later than T1

THEN

The stop media action of T1 should be ignored

ALSO:

If T2 starts at the same time when T1 ends then T1 stop action should be ignored

Solved with version 2.0.4


Problem with Navigation controller transitions

Hi there,
I am trying to push to a new view controller with a custom transition animation using AMScrollingNavBar. Unfortunately the default UIKit transition runs as a result. When I try to present the VC modally, the custom animation runs fine.
I see that the UINavigationControllerDelegate methods are not called. I set the navigation controller delegate in its ViewDidLoad method.
Setting the navigation controller to UINavigationController causes the custom animation to run as expected but then I lose the excellent scrolling nabber behavior which is critical to my app. I really don't want to change all my transitions to modal presentations - that would be a lot of work.
Do you have any suggestions as to how to set up AMScrollingNavBar for custom transition animations for push and pop? Thank you very much for this excellent library.

After much debugging, it turned out to be an issue outside of ScrollingNavBar of my making.  My fault.


debugger cursor moves to start of method after compiling

If you save a method in the debugger's coder, the cursor moves to the beginning. It should remain positioned where it was before compiling:
https://github.com/feenkcom/gtoolkit/assets/16563825/9d53b035-6f47-4989-bf43-e153fb4f6322

https://github.com/feenkcom/gtoolkit/assets/16563825/f78dd093-7133-4d3f-bc99-e052d664425a


NTRs for siRNA production

Hi,
I would like to request the terms
production of primary siRNA involved in chromatin silencing by small RNA
production of secondary siRNA involved in chromatin silencing by small RNA
descendants of "production of siRNA involved in chromatin silencing by small RNA"
Production of secondary siRNA is a way of amplifying the primary siRNA signal. The siRNAs are different - I believe secondary siRNAs are generated 3' and 5' to the primary siRNA
From pombe I am going to use this term for PMID:20062003
but this worm reference might be better
PMID: 22542102

Sounds good @Antonialock
Can you provide suggested definitions?
Once I have those, I can go ahead and add the terms.
Thx.

Do we have any experts on silencing/rnai?  @rachhuntley you've worked on this quite a bit right?
I'm not sure if microRNA signals are amplified by the same mechanism? (if so then a term for amplification of RNAi signal might be more appropriate?).
@ValWood

Hi,
I've never come across this for miRNAs. Also, gene silencing by miRNA is not classed as RNA interference (see screenshot), probably because it's defined as performed by double-stranded RNA, whereas miRNA is single-stranded.

ah ok....so I think their production are similar in some ways (e.g. by dicer, and RISC?)y, but it looks like they act in slightly different ways so it's ok to separate the processes?:
" siRNAs and miRNAs share many similarities, both are short duplex RNA molecules that exert gene silencing effects at the post-transcriptional level by targeting messenger RNA (mRNA), yet their mechanisms of action and clinical applications are distinct. The major difference between siRNAs and miRNAs is that the former are highly specific with only one mRNA target, whereas the latter have multiple targets. "
On Tue, Aug 6, 2019 at 8:31 AM Rachael Huntley <notifications<EMAIL_ADDRESS>wrote:
Hi,
I've never come across this for miRNAs. Also, gene silencing by miRNA is not classed as RNA interference (see screenshot), probably because it's defined as performed by double-stranded RNA, whereas miRNA is single-stranded.
[Screenshot 2019-08-06 at 08 27 46]https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F7962316%2F62519969-7b641200-b824-11e9-96d4-c69fd62b916f.png&data=02|01||6f236dea73764a313ca908d71a4015ec|1faf88fea9984c5b93c9210a11d9a5c2|0|0|637006734861532483&sdata=LG6m7JEJV9nUxGxPp1S5rHxLeVYL5vSxa9oCkhYIxw8%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/17660?email_source=notifications&email_token=ADBDJUX3DSX3X7EF5I3NPETQDESEVA5CNFSM4IHC2UXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UF7MQ#issuecomment-518545330, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADBDJUXTCRRU55J3MMD2OSDQDESEVANCNFSM4IHC2UXA.
--
Antonia Lock, PhD
PomBase Biocurator, http://www.pombase.org
Department of Genetics, Evolution and Environment,
The Darwin Building,
University College London
London WC1E 6BT, UK

(afaik siRNA is single stranded once it is loaded onto RISC?)
On Tue, Aug 6, 2019 at 9:40 AM Antonia Lock <a.lock<EMAIL_ADDRESS>wrote:
ah ok....so I think their production are similar in some ways (e.g. by dicer, and RISC?)y, but it looks like they act in slightly different ways so it's ok to separate the processes?:
" siRNAs and miRNAs share many similarities, both are short duplex RNA molecules that exert gene silencing effects at the post-transcriptional level by targeting messenger RNA (mRNA), yet their mechanisms of action and clinical applications are distinct. The major difference between siRNAs and miRNAs is that the former are highly specific with only one mRNA target, whereas the latter have multiple targets. "
On Tue, Aug 6, 2019 at 8:31 AM Rachael Huntley <notifications<EMAIL_ADDRESS>wrote:
Hi,
I've never come across this for miRNAs. Also, gene silencing by miRNA is not classed as RNA interference (see screenshot), probably because it's defined as performed by double-stranded RNA, whereas miRNA is single-stranded.
[Screenshot 2019-08-06 at 08 27 46]https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F7962316%2F62519969-7b641200-b824-11e9-96d4-c69fd62b916f.png&data=02|01||6f236dea73764a313ca908d71a4015ec|1faf88fea9984c5b93c9210a11d9a5c2|0|0|637006734861532483&sdata=LG6m7JEJV9nUxGxPp1S5rHxLeVYL5vSxa9oCkhYIxw8%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/17660?email_source=notifications&email_token=ADBDJUX3DSX3X7EF5I3NPETQDESEVA5CNFSM4IHC2UXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UF7MQ#issuecomment-518545330, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADBDJUXTCRRU55J3MMD2OSDQDESEVANCNFSM4IHC2UXA.
--
Antonia Lock, PhD
PomBase Biocurator, http://www.pombase.org
Department of Genetics, Evolution and Environment,
The Darwin Building,
University College London
London WC1E 6BT, UK
--
Antonia Lock, PhD
PomBase Biocurator, http://www.pombase.org
Department of Genetics, Evolution and Environment,
The Darwin Building,
University College London
London WC1E 6BT, UK

Yes, I thought there was a reason that miRNA silencing wasn't under RNA interference, but I can't recall and can't find a ticket relating to this. Maybe it was the way RNAi is defined in GO, specific to siRNA. It was once thought that siRNAs are from exogenous sources and miRNAs are endogenous, so perhaps these were thought of as distinct processes, but there is evidence of endo-siRNAs now and RNAi seems to cover both siRNA and miRNA (https://en.wikipedia.org/wiki/RNA_interference).
This looks like a good reference https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2675692/ and it describes siRNA amplification, which makes me think it's not been found (yet) for miRNAs.

Hmm, I am going to close this ticket after more thought. I don't think there is anything wrong with the terms per se based on what is known from other organisms but I don't think I should make this annotation for pombe based on this paper.


(enh) re-works merge function caching for thread-safety

Moves caching for Merge Functions to per-Upsert instance
Fixes #37 properly
May have additional benefits in reducing memory leaks if upserts are done many times over time
May have very visible benefits in reducing segfaults (due to the connections no longer being shared across thread boundaries)

threads = 10.times.map { |x|
  Thread.new {
    ActiveRecord::Base.connection_pool.with_connection { |c|
      Upsert.batch(c, :students) { |upsert|
        loop {
          Thread.current[:iterations] = 1 + (Thread.current[:iterations] || 0)
          puts "ITER #{ x }"
          upsert.row({ id: '10c273b5-4803-4af7-8149-284feb433d56' }, { gender: 0 })
          puts "ITER’d #{ x }"
        }
      }
    }
  }
}

threads.each(&:join)

@seamusabshere the ‘re-uses merge functions across connections’ spec failed (expectedly), but I think it should be removed anyway… we can tell people who want high performance to use the batched syntax. Thoughts?

In addition

The thread-safety test cases may need to be expanded to iterate for a longer period — I have observed that adding a short sleep in the loop frequently makes the segfaults go away; this kind of tests should run more threads and run for longer than 2 rows if the goal is to force failures
Performance testing failed for one of the Rubies (will pick up later) which is weird. Which version of activerecord-import was the original benchmark coded against? It might have improved since then.
Some other tests failed due to newer dependencies not playing with Ruby 1.9.2.
We do not have Ruby 2.0 / 2.2 in the TravisCi matrix, can these versions be added to the base project?

@thbar does this fix your use case?

@seamusabshere I cannot tell at this point, since I do not work on that codebase at the moment, at all. Sorry!

I put this into production running 24/7 and the workers have stopped dying.

@evadne this is an exceedingly elegant fix.

per your suggestion, please remove the "re-uses merge functions across connections" spec
per your suggestion, please add Ruby 2.0 / 2.2 in the TravisCi matrix

@seamusabshere I will nix the spec. For Travis changes, there does not seem to be a travis.yml in the repo, should I create one?

@evadne look for .travis.yml

@evadne I would love to merge this, please fix the arg order in https://github.com/evadne/upsert/commit/8cccfdf37223cab7e89c700d5f9309aceeb00a3e#commitcomment-10109303 and I will!

@seamusabshere you beat me to it! I’d still like to fix this

@evadne i think i fixed it in https://github.com/seamusabshere/upsert/commit/b1b645afce089d9c9ccddf1fcc3f44f6b17a06c6 - is that what you're talking about?

Yep

@seamusabshere this segmentation fault / worker death issue returned in Sidekiq 4 and I somehow suspect it has to do with its use of Concurrent Ruby

Just a thought but presumably the higher level of concurrency in Sidekiq 4
is making it more likely for existing thread-safety issues to be revealed.
Le ven. 15 janv. 2016 à 02:46, Evadne Wu<EMAIL_ADDRESS>a
écrit :

@seamusabshere https://github.com/seamusabshere this segmentation fault
/ worker death issue returned in Sidekiq 4 and I somehow suspect it has to
do with its use of Concurrent Ruby
—
Reply to this email directly or view it on GitHub
https://github.com/seamusabshere/upsert/pull/47#issuecomment-171842705.

The interim solution I came up with was to replace use of ActiveRecord::Base.connection with ActiveRecord::Base.connection_pool.with_connection { |x| … } and that seems to have fixed the issue. Still not satisfied with this workaround and will keep an eye on this solution

@evadne where did you implement that? in your app? (FWIW i generally like replacing connection with connection_pool.with_connection)

@seamusabshere yes — in my application. Something along the lines of…
-      Upsert.batch(self.class.connection, entry_class.model_name.collection) { |upsert|
-        upsert.row(selector, setter)
+      ActiveRecord::Base.connection_pool.with_connection { |connection|
+        Upsert.batch(connection, entry_class.model_name.collection) { |upsert|
+          upsert.row(selector, setter)
+        }
       }

It may have to do with the fact that this particular upsert can fail with NULL constraint violations; in these cases I let it fail and have New Relic log these exceptions.

Sorry I was wrong with earlier FUD regarding Sidekiq 4. @thbar is correct after all and this is not an issue in Sidekiq nor Upsert. :+1:
Long version:
It turns out that there was a C extension which expected an explicit shutdown call after use which was throwing a tantrum. I was able to replicate that failure by using up all memory allocated for Redis; the Sidekiq process then tries to handle this issue and dies due to said tantrum in quite a similar way to the error mode I have observed in Production. Once the fix was rolled out I was no longer able to reproduce this error.
Lastly, the former fix (regarding use of connection pool) was incorrect because:
> puts ActiveRecord::Base.connection.object_id
70298436863660
> ActiveRecord::Base.connection_pool.with_connection { |connection| puts connection.object_id }
70298436863660


Use LocalDateTime in birthday tests

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.33%. Comparing base (b37c566) to head (1f2a3ed).
Report is 15 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1100      +/-   ##
============================================
- Coverage     92.35%   92.33%   -0.02%
- Complexity     2821     2822       +1
============================================
  Files           292      292
  Lines          5609     5610       +1
  Branches        599      598       -1
============================================
  Hits           5180     5180
  Misses          275      275
- Partials        154      155       +1

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


perf: Context independent, shared null && undefined

Currently null and undefined are created per JavascriptLibrary.

We can't compare a JsVar to null or undefined because we don't know its' origin.
JsVar -> ToRecyc..Object -> Compare...  is unnecessarily more complicated
There are some places we know JsVar is actually a Recyc..Object hence things are easier (this improvement is already merged to master). Yet, those places are very limited

Any objections to making null, undefined values are allocated per framework only once?
Is there anything else that we could use the same approach?

true and false are potentially useful additions.
I like the idea of sharing more static data between contexts, but I'm concerned that there may be a number of places where the ScriptContext is considered and will lead to us going down slow paths, and that you may run into a bunch of asserts.

but I'm concerned that there may be a number of places where the ScriptContext is considered and will lead to us going down slow paths, and that you may run into a bunch of asserts.

@MikeHolman could you provide more context on this?

The example I'm thinking of is that for property caches, if an object's scriptContext isn't the current context we won't cache it. I think there are a number of places where we will do these type of comparisons.

I see. How your scenario could prevent us from having a single undefined or null framework wide?  (this is the part I didn't understand though)

I'm having a hard time coming up with anything that will concretely be a problem, so maybe there isn't any issue. I just have a feeling that there will be a number of subtle issues.


CB-1006 Add LDAP support for Ranger using CM

Outstanding items:

To be clarified if the following settings are needed:

ranger.ldap.group.searchfilter
ranger.usersync.ldap.searchBase
ranger.usersync.ldap.user.searchfilter
ranger.usersync.ldap.user.nameattribute
ranger.usersync.ldap.user.groupnameattribute

No unit tests

Refer to this link for build results (access rights to CI server needed):
ci-cloudbreak.eng.hortonworks.com/job/cloudbreak-pull-request-builder/18/


how to update layer to 170?

I found the layer 169 is lower than offical app layer 170,how to update it? I can't find any document about this

TDLIb has its own API and doesn't expose any particular server-side API layer. There is no way to just update it without changing correspondingly TDLib's source code.

Supporting a different server-side API scheme requires really a lot of changes.

Supporting a different server-side API scheme requires really a lot of changes.

I know, So Is there some document about this?

There is no documentation. You just need to change all code accordingly.

Where can I get the data structure in https://github.com/tdlib/td/blob/master/td/generate/scheme/td_api.tl?

This is scheme for server-side API. It will be available at https://core.telegram.org/scheme at some point in the future.

This is scheme for server-side API. It will be available at https://core.telegram.org/scheme at some point in the future.

OK, I need to wait the document update, Do you have plan to update LAYER to newest version?

Yes, it will be updated in the future.


Clarify behavior of --interactive when STDIN not attached

When 'docker run' or 'docker create' are called without --tty and without STDIN attached, input is silently discarded. This is somewhat confusing, to the point where it was reported as a bug (https://bugzilla.redhat.com/show_bug.cgi?id=1189865), but doesn't seem to be harmful behavior. Documenting this should help prevent future confusion.

This is not really true, but if you are in front of a keyboard and wanting to type in commands, you should use --tty. -i allows this:
$ echo hello | docker run -i busybox cat
hello

Now imagine this not in front of a keyboard and being used in a script where you can actually write to the processes stdin through something better than a shell |
Checkout https://github.com/docker/docker/blob/e4cfd9b3924fae0369956b4f0e7f73a7e3b0cbf7/integration-cli/docker_cli_attach_test.go#L139 for an example

Thank you for the PR.  @mheon I read through your bug report.  It seems like the situation you encountered is a bit of an edge case.  Rather than trying to squeeze the explanation into the flag, would you up for adding an example illustrating the situation?  See docker attach or docker build for examples of adding an example section.
Also,  adding the same example to this page: http://docs.docker.com/reference/run/ would be great and pretty much a cut and paste job.

ping @mheon Hi, what do you think? Would you like to continue this PR?

@moxiegirl That sounds like a reasonable approach to me. I'll get a reworked version in sometime tomorrow morning.

ping @mheon I'm going to go ahead and close this.  If you want to reopen it and complete it, ping me back, I'll be happy to help.


Question

We were wondering if you could please provide a description, website, and\or topics?

Sure! mEditor is a purpose-built metadata editor used by GES DISC to manage its data holdings. Please see our ReadMe for more information.


add password and email Change Function（for Team）

This function is not only for team users. Move the relevant view/form/template to user module and remove all word 'team' in variable names.
Add a panel named 'Account' under each group's control panel, with a link to password change page and email change page alike.


Feature request: floating layer

Thanks for the excellent window manager!
Are there any plans to add a floating layer in a similar way to PaperWM for Gnome?

Hello, I don't have any immediate plans to add a floating layer feature. However, I'd be happy to review a PR!
There is a option in your hammerspoon config to modify the window filter to ignore matching windows or applications. From the README:

Overwrite PaperWM.window_filter to ignore specific applications. For example:
PaperWM.window_filter = PaperWM.window_filter:setAppFilter("Finder", false)
PaperWM:start() -- restart for new window filter to take effect

Maybe you could make a keybinding to dynamically add or remove a specific window from the window filter.


Fix changeset check failure on versioning PR

This unblocks #804. It's technically feasible that someone reverts a changeset in a PR (bringing the count to zero) but also changes a package intentionally, but that is nearly indistinguishable from the versioning PR.

It worked locally but it failed in CI, ugh. Probably pipefail, will try again


Setup Mailgun or Amazon SES

Related to PR #61

I've decided to go ahead with Mailgun

PRs #45, #61


fix: atPlatform Logo in light mode

atPlatform logo url doesn't resolve in light mode, update the light mode url so that it resolves correctly.
@JeremyTubongbanua please investigate.

fixed in #106


formlyApiCheck.disable()

In the documentation http://docs.angular-formly.com/v6.1.0/docs/tips you have this tip:
angular.module('yourModule').config(
  function(formlyConfigProvider, formlyApiCheck, onProd) {
    if (onProd) {
      formlyApiCheck.disable();
      formlyConfigProvider.disableWarnings = true;
    }
  }
);

When I was running version 5 formlyApiCheck.disable() would work. I upgraded to the latest 6.3.2 and now I get TypeError: formlyApiCheck.disable is not a function.

Thanks for letting me know. Docs can be hard to keep updated! :-)

Kent C. Dodds

(Sent from my mobile device, please forgive typos or brevity)
On May 4, 2015 7:53 AM, "Pedro Catré"<EMAIL_ADDRESS>wrote:

In the documentation http://docs.angular-formly.com/v6.1.0/docs/tips you
have this tip:
angular.module('yourModule').config(
function(formlyConfigProvider, formlyApiCheck, onProd) {
if (onProd) {
formlyApiCheck.disable();
formlyConfigProvider.disableWarnings = true;
}
}
);
When I was running version 5 formlyApiCheck.disable() would work. I
upgraded to the latest 6.3.2 and now I get TypeError:
formlyApiCheck.disable is not a function.
—
Reply to this email directly or view it on GitHub
https://github.com/formly-js/angular-formly/issues/272.

This has been updated. Thank you!

For anyone encountering the issue, the link to the doc is: http://docs.angular-formly.com/docs/tips
apiCheck.globalConfig.disabled = true;


[Feature Request] Add BS5 Navwalker support for WP NAV Widgets

Describe the feature that you'd like
For consistency and proper classes NAV widgets should use the BS-5 Navwalker by default.
The function is simple enough:
add_filter('widget_nav_menu_args', 'my_args'); //for menus in widgets
function my_args($args) { //$args is only argument needed to add custom walker
   return array_merge( $args, array(
        'walker' => new bootstrap_5_wp_nav_menu_walker(),
   ) );
}

The Navwalker would need to be updated to remove 'nav-link' discovered in  LI  elements.
Add after line 58 in class-bootstrap-5-navwalker.php
$class_names = str_replace('nav-link ', '', $class_names);
Why is this feature needed? What problem does it solve?
Any NAV menu will require BS classes which the BS-5-Navwalker solves for the most part.
Checklist

[X] I have searched the issues and this feature has not been requested.

Thank you for this feature request. I've been thinking about this for a while and generally it's a good idea. But there's a reason why we shouldn't do that, let me explain.
Theme disabled Gutenberg widgets and enabled classic widgets by default. In order to keep up with the times, we have now reactivated Gutenberg in widgets https://github.com/bootscore/bootscore/pull/660 and we will add Bootstrap support for them step-by-step.
By enabling GB in widgets, existing nav-widgets move into legacy mode and support for them in WordPress will end. There is currently no GB nav-widget available, but if WP adds a new nav-widget block that will not be supported by the nav-walker. If WP adds a new nav-widget block, we can do nav support for them by adding a filter.


Add Superposition Testnet

Description
Include Superposition Testnet network.
Type: New Network
Network(s): Superposition Testnet
Other notes
Does not include any deployments.
Backward compatibility
Testing
No

@jmrossy Thanks for your feedback. Let me know if these changes are in line with what you were looking for.

@af-afk Thanks for the fixes! Sorry but a few more tweaks are needed

@af-afk Thanks for the fixes! Sorry but a few more tweaks are needed

No problem at all. Let me know if you need anything else now.

Hi @paulbalaji, I saw you included the code. Let me know if you need me to reopen and make changes in line with your request.

please make the suggested fixes and we can merge this, I will pull in your changes to my branch after

please pull the latest changes from main in order to merge


Can txtjs be used with fabricjs?

Could you please point me to documentation on the interfaces and dependencies with createjs. I would like to use txtjs with fabricjs.
Is txtjs same is TLF(Text layout framework) in flash?
Is there any other alternative to txtjs for rich text editing on html5 canvas?
@kangax @diverted247

The workflow for txtjs in rendering is:

Take SVGPath of font chars to drawing api commands.
Layout characters using font metrics and adding glyph chars.
Text

I am not sure fabric has the same rendering model, it is likely similar but the differences would make this a hard port. As we already depend on createjs, we made txtjs render dependent on createjs.


docs(changelog): add bump to v0.48.0 OT core

We are definitely missing changelog gh action :sweat:


Unexpected Error: Traceback

This error occurred many times and i disconnected because of AFK.
This is copy from log file.please help me.
[23 Jun 2023 05:31:08] [WARNING] [main                 ] Unexpected Error: Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\lol-bot-main (5)\lol-bot-main\scripts\bot.py", line 40, in main
client.loop()
File "C:\Users\Administrator\Downloads\lol-bot-main (5)\lol-bot-main\scripts\client.py", line 76, in loop
game.play_game()
File "C:\Users\Administrator\Downloads\lol-bot-main (5)\lol-bot-main\scripts\game.py", line 47, in play_game
utils.click(GAME_CENTER_OF_SCREEN, LEAGUE_GAME_CLIENT_WINNAME)
File "C:\Users\Administrator\Downloads\lol-bot-main (5)\lol-bot-main\scripts\utils.py", line 57, in click
pyautogui.moveTo(updated_x, updated_y)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyautogui_init_.py", line 597, in wrapper
failSafeCheck()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyautogui_init_.py", line 1722, in failSafeCheck
raise FailSafeException(
pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen. To disable this fail-safe, set pyautogui.FAILSAFE to False. DISABLING FAIL-SAFE IS NOT RECOMMENDED.

Drop the whole log file and I'll look into it

logs.txt

I think I know what this issue is from looking at this, will try and have a fix out this weekend

having the same issue with the failsafe

Should be good to go now