Self-hosting the module, can't specify options

Hello, thank you for this cool lib.
I have some issues tho;
I've implemented @dicebear/avatars-avataaars-sprites into a simple express nodejs app, and it works, I can get a random avatar.
But when I try to put options relative to the style and the elements of the avatar, like "topChance: 10", the application refuse to launch properly. The "option" wherever its placed (for new Avatar(sprites, options) nor avatars.create(seed, options)) is waiting for the default options only (height, width, etc...). Somehow it doesn't extends the avataaars version of options.
Is there something I dont understand or it's just not possible?
Here a snipped of the code I've tried to use :
import express = require('express');
import Avatars from '@dicebear/avatars';
import sprites from '@dicebear/avatars-avataaars-sprites';

/* some code */

myApp.use('/example', (req, res)=>{
    var seed = req.url;
    let options = {};
    let avatars = new Avatars(sprites, options);
    var avatarsOptions = {
        topChance: 10
    }
    let svg = avatars.create(seed, avatarsOptions);
    res.send(svg);
});

Console output :
TSError: ⨯ Unable to compile TypeScript:
server.ts:27:40 - error TS2345: Argument of type '{ topChance: number; }' is not assignable to parameter of type 'Options & Options'.
  Type '{ topChance: number; }' is not assignable to type 'Options'.
    Types of property 'topChance' are incompatible.
      Type 'number' is not assignable to type '100'.

27     let avatars = new Avatars(sprites, options);
                                           ~~~~~~~

Is there something missing? (in the documentation, in my code)
thanks in advance.

Hi @Nakou
The types from option "topChance" were wrong. I corrected that with version 4.2.3.
So an update should help. Can you confirm that?
https://codesandbox.io/s/adoring-kepler-cfd5i?file=/src/index.ts

Thank you for your quick response.
The update partially worked for my case, it works now for the number-type options, but it doesn't recognize the array of strings type of options, like "top".
Here's what I tried and what I got in the console :
    var avatarsOptions = {
        topChance: 75,
        top: ['longHair', 'shortHair', 'hat'],
        facialHairChance:35
    }
    let svg = avatars.create(seed, avatarsOptions);

server.ts:44:40 - error TS2345: Argument of type '{ top: string[]; facialHair: string[]; facialHairChance: number; clothes: string[]; }' is not assignable to parameter of type 'Options & Options'.
  Type '{ top: string[]; facialHair: string[]; facialHairChance: number; clothes: string[]; }' is not assignable to type 'Options'.
    Types of property 'top' are incompatible.
      Type 'string[]' is not assignable to type '"longHair" | "shortHair" | "hat" | "eyepatch" | "hijab" | "turban"'.
        Type 'string[]' is not assignable to type '"turban"'.

44         let svg = avatars.create(seed, avatarsOptions);
                                          ~~~~~~~~~~~~~~

It do the same kind of errors for the options facialHair and clothes.
I am pretty new in NodeJS/Typescript so it's maybe a misunderstanding on how to do this kind of calls in TS/JS from my part and if it's the case, I apologize. If it's the case, maybe adding an option example in the documentation would be a wonderful thing, helping newbies like me :3.
Thanks in advance.

Your example looks correct. The types are still wrong in parts. My mistake. I'll correct it in about eight hours.
In the meantime, you can use this workaround:
    var avatarsOptions = {
        topChance: 75,
        top: ['longHair', 'shortHair', 'hat'],
        facialHairChance:35
    }
    let svg = avatars.create(seed, avatarsOptions as any);

Hopefully completely fixed with v4.2.5 😆


feat: add type branding to graphql in TS outputs

Description of changes

In order to brand the generated graphql for TypeScript, we need to know the underlying operation type (Query | Mutation | Subscription) and specific operation name (CreateBlog, ListBlogs, etc.) at the time the graphql is formatted for the language output. This PR:

Weaves op name and type through the statements map.
Derives relative types import path from config.
Conditionally adds types if the language is typescript.

Issue #, if available

Description of how you validated changes

Updated snapshot for new TS output (tests pass)
Ran through scenarios (To double-check functionality, these are combinations to replicate):

library
codegen
expected outcome

old
old
Base cases / no change
✅

old
new
Base cases / no change
✅

new
new
Base cases + API calls show specific arg and return types, preventing bad invocation
✅

new
old
Base cases + allows custom typing of both arguments and result
✅

Base cases

Untyped graphql has generic typing — API category cannot infer or enforce specifics
Overrides per the docs using GraphQLQuery and GraphQLSubscription wrappers provides return types

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] Breaking changes to existing customers are released behind a feature flag or major version update
[ ] Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified

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

Marking as draft again until PM's can review next Thursday. Happy to incorporate feedback between now and then though.


feat: add Zh Blogs

Fixes: #470
Changes:
add zh blogs separately according to this.

Hi @KishaniKandasamy, Could you please help deal with conflicting files? thanks

Hi @KishaniKandasamy, Could you please help deal with conflicting files? thanks

yeah sure


Added fixes to the url and improve the version check

This PR corrects the URL that is being used to retrieve the tarball and also improves the pkg-config version checking
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Cannot use Scan or Scroll with raw request body

Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[X ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
Please describe the expected behavior
We should be able to configure the body of the request from a valid JSON string, or at least a valid map[string]interface{}
Please describe the actual behavior
There is currently no way to do this.
Any steps to reproduce the behavior?
This is a fundamental API choice. To reproduce it, try to find a way to search from raw request body. There is no API method for this. SearchService has one, using a workaround that relies on a "source" attribute, which is distinct from its "searchSource" attribute, and is solely used to allow people to work around the SearchSource limitation.
I've spent enough time with the source code to understand that several core modules force the use of the DSL, such as Sort, SearchSource, etc. There is no easy way to rework things to truly support raw queries. From my perspective, this is a tremendous opportunity to improve the utility of this library. The DSL should be completely optional.
I've begun updating the library, and will invest the necessary time if @olivere supports this idea.
Feedback on the proposal is welcome!

Without knowing, you are actually touching quite a few different topics in this issue. First of all, I'm not negative on your proposal. I'm just asking to think through the choices before blaming the library of not supporting something that should be "the most basic thing that actually has to work."
First of all, the vast majority of the code in Elastic is due to the DSL. This is where I started, and this is still its core functionality. There were similar requests asking for Elastic to work as a kind of proxy for the responses from Elasticsearch. You may not like it, but this is not its purpose.
Second, if you ask for a feature that accepts something serializable as the body of a request to send it to Elasticsearch: Why not use net/http directly? Seriously. It's not that hard. If you want to scroll and pass just the query (and set other stuff via the DSL): You can do that too.
Third, if you want the services to accept "something" and then change properties via the DSL, this is going to be a lot of work. Setters like Source(...) or Body...(...) (yes, somewhat confusing) are there to enable callers to specify the body of the request. But they are all-or-nothing. If you go that way, you're on your own: You cannot use the DSL any more. Elastic will never contain a parser for ES syntax. If you think it can do that, you're underestimating the size of the Elasticsearch API.
Fourth, I really want a stable API. The Elastic API is definitely not be the best approach and may even not be idiomatic Go code. That is because in 2012 there simply was no best practices for idiomatic Go code. Some people even blame that Elastic choose to do client-side load-balancing and that it's a bad thing altogether. What they are people is that that's the approach all official Elasticsearch client have gone since 2012, and Elastic wanted to be a good citizen. Long story short, if you want to change major parts of the library, you have to do that in a way that doesn't break compatibility with existing code.
Fifth, there is probably a place for an alternative light version of Elastic. I have not published the code yet, but I've created the basics of a more modern client with an orthogonal approach towards DSL, interacting with ES, load-balancing etc. But then again, I don't see much value in publishing that code--as it's just asking for confusion--and I definitely don't have the time to support two different libraries for the same purpose.
Sixth, if you want to change SearchSource, you have to be aware that it's used by many different services: MultiSearch, Reindexing etc. Its definitely not for search only.
Seventh, ScanService is deprecated. There is no ScanService any more in Elastic v5. It was an error to have both a ScanService and a ScrollService.
Last but not least I wrote this library because I needed it for myself and I couldn't find anything suitable at that time. Its my way of paying back for the vast amount of Open Source projects I've been using throughout my professional career. I'm actually surprised day after day that so many other people think it is good enough to use it in their own applications.
Again: I'm not criticizing your proposal. I think it's a good idea to make simple things simple and complex things possible. However, I also think that what you're after is not going to be a simple change (or at least I cannot see it) and that you're probably facing some problems you might not see now.
But who knows. I might be surprised. Go ahead and "show me the code" (as Linus says). :-)

@olivere, first I hope that you read my (comment)[https://github.com/olivere/elastic/issues/286#issuecomment-250208009] about my belief that the library is excellent. It certainly seems to be the most complete go library, and it's unfortunate that Elasticsearch does not maintain an official one. I suppose this is one reason your library has grown to prominence, in addition to its independent merits.
Regarding your points:

Good to know. Purpose of a library is probably not singular, once the project is relied upon by many people, whether or not a feature should be included is a reflection of the needs of the community. Mine is a single data point, and may not count. There have been several issues similar to this one, for what that's worth.

Because it's a pain/re-inventing the wheel, and I don't want to lose the convenience functions this library provides altogether.

Yes, we agree on this, that is my impression as well.

Stable APIs are important! Agreed.

Probably not needed. Given that ultimately a request body is passed to PerformQuery, this seems to be overkill.

Agreed, again.

Yes I know. Unfortunately, as you've noted yourself, at the moment the ScrollService is somewhat more limited than the ScanService. I did my research before choosing ScanService.

Thank you for making the library.  It's clear that you made a particular decision. In my use case it is limiting, and I want to help reduce that limitation, because I think it may help other people, and because integrating it into the main package means a greater chance that the code that I write that will rely on it isn't going to be outdated as quickly.
Would you support a more limited change for now? Simply providing a Source function for ScanService ( I could make one for SearchService as well ), and modifying the Do() function to change the check on searchSource.hasSort() to one that encompasses a body set by Source().

Yes. The ScanService comment is outdated. There's no easy way to rephrase things recommended earlier.
And yes: I'd be happy to have Source or something like that in ScanService/ScrollService (and that's rather easy to implement). Please see my code review.

3.0.55 has been published. It contains a Body method for Scroll and Scan.


docs: release documentation preparation

Polishing of the documentation. The change to pay attention to - I merged two clumping pages into one.

Looks great!! I'll consolidate with the changes in the other branch first thing in the morning and I'll let you know for a final pass


"gflags" missing during colcon build

following the wiki https://github.com/osrf/vrx/wiki/2023-installation
on a fresh install on 22.04 with ROS Humble I get an error from the following step:
GZ_VERSION=garden colcon build --merge-install
I am encountering the following error:
rosdev@devcraft:~/vrx_ws$` GZ_VERSION=garden colcon build --merge-install
Starting >>> ros_gz_interfaces
Starting >>> ros_gz_sim
Starting >>> vrx_gazebo
Finished <<< vrx_gazebo [0.44s]
Starting >>> wamv_description
Finished <<< wamv_description [0.12s]
Starting >>> wamv_gazebo
Finished <<< wamv_gazebo [0.14s]
Finished <<< ros_gz_interfaces [1.07s]
Starting >>> ros_gz_bridge
Starting >>> ros_ign_interfaces
--- stderr: ros_gz_sim
/home/dev15440/vrx_ws/src/ros_gz/ros_gz_sim/src/create.cpp:15:10: fatal error: gflags/gflags.h: No such file or directory
   15 | #include <gflags/gflags.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/create.dir/build.make:76: CMakeFiles/create.dir/src/create.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:159: CMakeFiles/create.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< ros_gz_sim [7.97s, exited with code 2]
Aborted  <<< ros_ign_interfaces [35.2s]
Aborted  <<< ros_gz_bridge [37.5s]

Summary: 4 packages finished [38.8s]
  1 package failed: ros_gz_sim
  2 packages aborted: ros_gz_bridge ros_ign_interfaces
  2 packages had stderr output: ros_gz_bridge ros_gz_sim
  10 packages not processed

I fixed my issue by running:
$sudo apt install libgflags-dev
to get the missing library
now it colcon successfully builds with several stderr output notes about ignition namespace being deprecated, and only the warning:
Finished <<< ros_gz [0.96s]
Finished <<< ros_ign_gazebo_demos [1.01s]
Starting >>> ros_ign
Finished <<< ros_ign [1.25s]
--- stderr: vrx_gz
CMake Warning (dev) at CMakeLists.txt:85 (add_library):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /home/dev15440/vrx_ws/src/vrx/vrx_gz/src/WaypointMarkers.cc
This warning is for project developers.  Use -Wno-dev to suppress it.

---
Finished <<< vrx_gz [26.3s]

Summary: 17 packages finished [3min 43s]
  4 packages had stderr output: ros_gz_bridge ros_gz_image ros_gz_sim vrx_gz

while following the installation, I get an error with  GZ_VERSION=garden colcon build --merge-install

with step I missing?

@YeiSimon: try: sudo apt-get install ros-humble-xacro


updates in Navbar.tsx and package-lock.json

Button is moved into the navbar under li className='nav-item'

Do not review this yet, please. I'll make another change.


Cookie/Header based authentication of userDBs

Hi,
Currently the util.getDBURL API injects username and password into the private DB URLs. Is there a way to use session tokens for authorization instead of this? I understand that in Production, the Superlogin server will be behind SSL, but if there's an alternative, it'd be great.
Thanks!

The getDBURL API injects the session token and a randomly generated password into the database URL. The user's login information is not sent. When the session is closed this will no longer work. Regardless, any production system that is not behind SSL is insecure.

Thanks for your response Colin. I looked into the code for getDBUrl and it seems to simply append URI encoded dbServer.user and dbServer.password from the configuration settings. Could you please point me to the code where it generates and uses random password for getDBUrl?
Here's what it looks to me ->
In dbAuth/index.js/this.authorizeUserSessions -
var db = new PouchDB(util.getDBURL(config.getItem('dbServer')) + '/' + personalDB);
And then in util.getDBURL -
url = db.protocol + encodeURIComponent(db.user) + ':' + encodeURIComponent(db.password) + '@' + db.host;
Am I looking at the wrong method?

See here for the code that generates this. Username and password are a URL Safe UUID.

Thanks Colin, I am closing this issue.


Task - Build Skill Search bar UI

Description
Build a react component, given a list of skills, allows you to search and displays results. For this issue, build this in storybook.
For now, do simple case-insensitive string matching against the skill titles for the search.
If possibly, consider creating the search bar component in such a way that it could be reused for other purposes later (though the way the results are formatted will be specific to this Skill search).
For this task, don't worry about actually saving added skills to the server, but do have the component accept the list of skills that are already saved to the applicant, and present their results accordionly.
Images
The interactive wireframe can be found here.
But note that this issue the search bar and results:

@Jerryescandon We want error and loading states pls

Also need to consider accessible controls


Add the coloring behind illustrations in settings

@teolemon For the moment we don't have the corresponding colors for dark mode in figma, do we?

Or is that just the plain colorless dark background?


docs: Add DRAFT doc for Rust support to the cdk-rs repo (intro, hello tutorial)

I have move my DRAFT documentation for Rust support to this repo to be included in the SDK doc site.

I'd also like to addd BigMap in the context of a tutorial to this section.

Let's chat on Monday about this PR. I like it, but I'd like to see a few things, for example re-using the actual examples from this repo as the documentation instead of creating new files that are just copies.

I have an idea about how to make the profile tutorial more useful/meaningful, so I'm converting this to a DRAFT PR.

Hiding content about profile_inter_rs and adding a section about identity and extending this sample to create a LinkedUp example..

Took care of this in a different PR so closing this as obsolete now.


Merge dask.array.concatenate_axes logic with dask.array.concatenate3

Aiming to implement these TODO's. concatenate_axes can be expressed as concatenate3 so decided to take that route. Haven't tested for performance in a real application, but did run the tests. And it should perform as well as concatenate3 since it is just munging the lists of array references. Please let me know if I have overlooked anything as this is my first PR to dask.

A couple of small errors showed up in Travis-ci.  First this one:
=================================== FAILURES ===================================
____________________ [doctest] dask.array.core.reshapelist _____________________
3299  Reshape iterator to nested shape
3300
3301     >>> reshape((2, 3), range(6))
UNEXPECTED EXCEPTION: AttributeError("'tuple' object has no attribute 'shape'",)
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
    compileflags, 1) in test.globs
  File "<doctest dask.array.core.reshapelist[0]>", line 1, in <module>
  File "/home/travis/build/dask/dask/dask/array/core.py", line 2788, in reshape
    if np.isnan(sum(array.shape)):
AttributeError: 'tuple' object has no attribute 'shape'

Second, the use of Python 2 terms like xrange.  Code should be simultaneously 2-3 compatible (just use range).

This would be really useful.  Thank you for taking this on @chrisbarber

This is in.  Thanks @chrisbarber !


Add last_irreversible_block_time to get_info

Currently, chain/get_info returns last_irreversible_block_num and last_irreversible_block_id, but not last_irreversible_block_time. While for head block, all 3 are available.
By having last_irreversible_block_time directly available will also make it easier for developers to save timestamps in tables, and then on request, check if the table row is irreversible.
Currently, this requires an additional get_block of the last irreversible block to check the time of that block.

Closing this as this functionality has been added to develop ( see #9606 )and will be available in a future release. Please reopen if the version in develop does not meet your needs.


Reset activated state on entity start

Ensure that all entity users are active before testing. The addition of the actionDeactivateReactivate action may leave a user in a deactivated state if the test is interrupted abnormally.

@jwilander, I was thinking about this last night, and wanted to make sure this fixes the behaviour you actually ran into. I'm assuming you had trouble with some entities failing because their accounts were disabled, but I also recall your mentioning permission failures and I'm wondering if something else was amiss.

@lieut-data The permission errors are unrelated to this.


feat: upgrade Neo4j to 4.0

LinkedIn internally migrated to Neo4j 4.0. To better serve OSS, it's better to upgrade Neo4j to 4.0 here as well. The Java clients are already on 4.0 and they are compatible with 3.5 and 4.0. In this change, only Neo4j server is being upgraded from 3.5 to 4.0. If a user already has a Neo4j docker volume with a graph db created with Neo4j 3.5, with this change, that will be auto upgraded to 4.0 without any extra work.
Tests
Test1: In-place DB upgrade 3.5 -> 4.0

Run ./docker/dev.sh without this diff (Neo4j 3.5 running).
Run ./docker/ingestion/ingestion.sh to ingest sample data.
Stopped all containers.
Run ./docker/dev.sh with this diff (Neo4j 4.0 running).
Did tests using Neo4j browser and also confirmed that relationship tab for datasets (served by graph) is working as expected.

Test2: 4.0

Removed all Docker containers, volumes and networks.
Run ./docker/dev.sh with this diff (Neo4j 4.0 running).
Run ./docker/ingestion/ingestion.sh to ingest sample data.
Did tests using Neo4j browser and also confirmed that relationship tab for datasets (served by graph) is working as expected.

Checklist

[X] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[X] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Good job! 💯


add to documentation: st-flash write is ignoring 0xff at end of file

[X] Programmer/board type: Stlink/v2
[ ] Programmer firmware version:
[X] Operating system: Linux Ubuntu 16.04
[X] Stlink tools version and/or git commit hash: v1.3.0-9-g88c6162
[X] Stlink commandline tool name: st-flash
[X] Target chip (and optional board): STM32F415RGT6

Command:
st-flash write firmware.bin 0x8000000

Output:
Loading device parameters....
Device connected is: F4 device, id 0x10076413
SRAM size: 0x30000 bytes (192 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes
Ignoring 49004 bytes of 0xff at end of file
Attempting to write 213652 (0x34294) bytes to stm32 address: 134217728 (0x8000000)
EraseFlash - Sector:0x0 Size:0x4000 EraseFlash - Sector:0x1 Size:0x4000 EraseFlash - Sector:0x2 Size:0x4000 EraseFlash - Sector:0x3 Size:0x4000 EraseFlash - Sector:0x4 Size:0x10000 EraseFlash - Sector:0x5 Size:0x20000 2017-06-29T09:38:50 INFO /home/gerecsl/aha/workspace/ext/stm32/stlink/src/common.c: Finished erasing 6 pages of 131072 (0x20000) bytes
Starting Flash write for F2/F4/L4
Successfully loaded flash loader in sram
Starting verification of write complete
Flash written and verified! jolly good!

After reading the man page I expected that the whole file will be written,
but the end of the file was ignored because of 0xFF values.
So in this special case an erase should be executed first always.
I think that the documentation could have a warning for this.
I tried QSTLink2 for write, and there was no such feature.

Sorry for the late reply, but you could propose a pull request for updating the documentation.

@ponty or anyone else: Please re-test this with Releases v1.4.0 up to v1.6.0 to check if this has been fixed in the meanwhile. If not, please submit a pull request.

As far as I read, EOF (0xff 0xff) is returned by fgetc() due to end of input, so I assume that all further characters beyond are ignored, but I am not sure yet if this is the correct explanation for this behaviour.
I found the following commits that may relate to this:

6f194ad388fedf287a6200ea7efb16c4118ca4c1 -> Ignore NULL bytes at flash end when reading
379fcb3c614d540e2d854700d77c80268b207b3f -> Ignore ZEROs at end of file when writing
6ab0eb83becbe28ea3f97d52b6e5fef39145f08a -> While L1 has empty flash cell erased to zero, at least F1/F4 are erased to 0xff.

As far as I can see, this feature is an optimization.
Assuming we are flashing a STM F1, where after an erase, flash are set to 0xff.
From all over the internet, I found that padding the flash binary file with 0xff is a common practice.
I started from mikrocontroller.net, which is mentioned by https://github.com/stlink-org/stlink/pull/40.
One post reported that Atmel studio filled gaps in hex files.
This post a reply mentioned

but filling gaps (unused space) in actual Flash with 0xFF is common practice.
This avoids Flash wear, and keeps the programming times low.

Another post also mentioned

The erased flash will be 0xFF by default no need to rewrite.

This feature would be a bug only when there are problems that flashing violates the following 0xFF default values. I will write a test program to see if it is the case.
If no problems are detected and still there are people who want a precise, expected behavior, shall a new argument be added to stlink for disabling the optimization?

Indeed one bug here. Tested on v1.6.0, stm32f401, with 4KB page size.
If st-flash blindly ignores the ending FF, at least under one circumstance will it cause errors.
Supposing that there is one binary file that ends with consecutive 0xFF. During flash, the addresses that are expected to be filled by 0xFF is ignored. If there was a flash that had wrote some non-FF values, chances are that the non-FF values can be kept.
My proof of concept:

Flash one binary file that ends with 0x01010101 (exactly at the boundary of flash page size)
Comfirm that the flash is in effect.
Flash another binary file that ends with 0xFFFFFFFF at the same boundary.
Confirm that 0x01010101 persists.

poc_binary.zip

Since the optimization is useful in most cases, I suggest adding an arguments for this optimization and disable it by default.

Good, thank you very much for looking into this.
Based on your explanations and finding I'd also consider it a good idea to remove optimisation from the default operation and make it optional by argument. If the latter is then added to our documentation people could then decide just as they wish. Furthermore it is very helpful that you found and confirmed that somehow nasty bug here as well. If you have and idea how to clean this up, you may submit a PR.

Thx for the PR. :+1: Is the feature-request part

Since the optimization is useful in most cases, I suggest adding an arguments for this optimization and disable it by default.

intended as well on your side? If so, then I'll leave it open for a while.

Is the feature-request part intended as well on your side?

In my view, after the coming PR, the documentation shall be updated, providing information about  the current default optimization being disabled and how to reenable if in need.
BTW, I am considering the proper argument name to enable the optimization.
--optimize-empty-ending or some other names?

Why not a simple --opt together with adding the related definition to the man-page of st-flash? I think that's likely the best place for it, as everyone can directly call it via st-flash --help then.

I thought there could be more optimizations in the future. If no more optimizations are coming, --opt is fair enough.

Yeah, however I wouldn't bother too much about this right now. We'll see how the cookie crumbles. ;-)

Kind of weird behaviour for this optimization:
https://github.com/stlink-org/stlink/blob/99a8aaab253a1cda634291b6a975d1560bb89c0a/src/common.c#L2635
If I got this right, (num_empty == length) ? (uint32_t) length : (uint32_t) length - num_empty would flash the whole file when its input is completely empty and four bytes (one word) aligned (rounding down code leads to this requirement)
My current commit keeps this behaviour, while still I think it is not straightforward enough.
Another implementation issue is that I suggest no hint for this optimization on option byte.
Option byte is small enough to prevent any possible optimization and a misconfigured one is really a disaster.

My current commit keeps this behaviour, while still I think it is not straightforward enough.

Don't be too cautions if things turn out to have not been done nicely. If you are sure about it and feel something is not implemented well, just go for it - we are on a development branch and I'll be asking for some reviews and tests on different environments before merging into master for the upcoming release anyway. So different people will look at it.

We can address these minor things at a later point in time when we do some refactoring.
Maybe it's a good idea to add TODOs at suitable places in the code, to ensure this does not go down the sink.

Maybe I can add a TODO tag in the source code itself.
The latest PR contains only a few lines that describe the feature.

Yes, that would be great.

All should be done now:-)


bumped pytorch version to new requirement

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

pyro-ppl 1.7 requires pytorch 1.9. The previous auto-bump PR didn't notice, but pytorch 1.9 wasn't available on conda-forge until now. Since it was available from the pytorch channel I figured I'd let it be until I could update the requirement.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Missing "/api/endpoints" path response 409 in Swagger API documentation

Bug description
I was creating Ansible playbook because I wanted to automate configuring Portainer settings and add my servers to Portainer endpoints using Portainer-CE API. When I looked https://app.swaggerhub.com/apis/portainer/portainer-ce/2.18.4 documentation ...
In that documentation I didn't see if there is a way to use that "/api/endpoints" POST endpoint without failing when server with same name already exists. At first I decided to use "/api/endpoints" GET endpoint to check if Portainer endpoint with that name exists but it was too complex.
I resulted to use "/api/endpoints" POST endpoint and after adding that to playbook I made it accept only HTTP 200 answer because documentation said there is no way to get answer if Portainer endpoint already exists. To my surprise Portainer-CE API answered HTTP 409.

Technical details:

Portainer version: 2.18.4

Additional context
https://github.com/portainer/portainer/blob/020ecb740a6cfbb0d5ce81555670256ec4f63f4f/api/swagger.yaml#L3838-L4000

Thanks for this - I've opened an internal issue to get the Swagger docs updated.


Try OV-DINO, a more powerful open-vocabulary detector.

Thanks for the awesome GLIP, I share our recent work 🦖OV-DINO: Unified Open-Vocabulary Detection with Language-Aware Selective Fusion.

OV-DINO is a novel unified open vocabulary detection approach that offers superior performance and effectiveness for practical real-world application.

OV-DINO entails a Unified Data Integration pipeline that integrates diverse data sources for end-to-end pre-training, and a Language-Aware Selective Fusion module to improve the vision-language understanding of the model.

OV-DINO shows significant performance improvement on COCO and LVIS benchmarks compared to previous methods, achieving relative improvements of +4.3% AP on COCO and +14.1% AP on LVIS compared to GLIP in zero-shot evaluation.

We have released the evaluation, fine-tuning, demo code in our project, feel free to try our model for your application.
Project: https://wanghao9610.github.io/OV-DINO
Paper: https://arxiv.org/abs/2407.07844
Code: https://github.com/wanghao9610/OV-DINO
Demo: http://<IP_ADDRESS>:7860/
Welcome everyone to try our model and feel free to raise issue if you encounter any problem.

How much data did you use to train the model, and what is the number of parameters？

@crazness OV-DINO is pre-trained on diverse data sources within a unified framework, including O365, GoldG, CC1M‡ datasets. O365 and GoldG datasets are same with GLIP, CC1M‡ is only 1M image-text pairs much less than Cap4M / Cap24M in GLIP, but OV-DINO achieve better performance. And OV-DINO has 166M paprameters, while GLIP is 232M paprameters. You could find more detail in our Paper.


Render cell type report from sce_qc_report process

Closes #482
This PR adds functionality to also render the supplemental cell types report, if cell types are provided. I implemented this as discussed in comments in #482. I think code is fairly straightforward for review, but let me know if anything is confusing!
Caveats:

I did not check that ggridges and ComplexHeatmap are installed (which would mirror the qc report code in scpcaTools), but can add if we really want it!

stub is failing with an error I can't pin down.. The file qc_report is defined based on the library id (qc_report = "${meta.library_id}_qc.html") within the process, suggesting (???) that maybe the library_id isn't unique, which is a whole thing if true 😬  But hopefully this is just an uninformative error message that might be solved with some fresh eyes!
ERROR ~ Error executing process > 'sce_qc_report (1)'

Caused by:
  Process `sce_qc_report` input file name collision -- There are multiple input files for each of the following file names: qc_report

Something I wasn't actually 100% sure about is syntax for checking if a groovy variable is true from bash, which is relevant in the stub. For now I have the following (== "true"), which mayyy or may not be correct syntax!
if [ ${has_celltypes} == "true"];
     touch ${celltype_report}
fi

I am not sure if the error you are seeing is caused by passing in the report_template_dir twice, but I kind of suspect it is.

Actually, I had been passing two separate paths in (e.g.celltype_report_template_dir defined as same path value), Simplifying to just pass in report_template_dir twice was something I tried as part of debugging... But maybe reverting and combining with some of these other changes it will appease nextflow! The length-3 tuple makes more sense, too.

Actually, I had been passing two separate paths in (e.g.celltype_report_template_dir defined as same path value),

Right, I phrased poorly: I meant that you were passing in the same path value for two different variables (or path objects).

Well, we probably shouldn't be referring to params.perform_celltyping yet, so that's fixed!
But now it doesn't like this logic statement (with or without the surrounding parentheses). Possibly another null problem..
has_celltypes = meta.submitter_cell_types_file | meta.singler_model_file | meta.cellassign_reference_file

ERROR ~ Error executing process > 'sce_qc_report (1)'

Caused by:
  No signature of method: java.lang.String.or() is applicable for argument types: (null) values: [null]
Possible solutions: is(java.lang.Object), tr(java.lang.CharSequence, java.lang.CharSequence), trim(), md5(), any(), grep() -- Check script './modules/qc-report.nf' at line: 7

Pushing a fix to the _null.hdf5 issue, which is presumably just the stub. cc @allyhawkins

Confirming that on a local run, https://github.com/AlexsLemonade/scpca-nf/pull/496/commits/e368a073cf3caaa373e608077bebd2a80ed575da cleans up null files:
stephanie:~/scpca-nf$ ls outtt/results/STUBP01/STUBS01/
STUBL01_filtered.rds       STUBL01_processed.rds       STUBL01_unfiltered.rds
STUBL01_filtered_rna.hdf5  STUBL01_processed_rna.hdf5  STUBL01_unfiltered_rna.hdf5
STUBL01_metadata.json      STUBL01_qc.html

This directory has nulls before in https://github.com/AlexsLemonade/scpca-nf/pull/496#discussion_r1352860771

Testing with this (which has the augmented metadata) does give the expected results for the QC report (at least for me).

To confirm, do you mean you are seeing a cell type HTML being outputted where appropriate at https://github.com/AlexsLemonade/scpca-nf/pull/496/commits/655162c149542fcf8f1370d4e41f97bf7e64a444?
I am still not seeing it (noting I deleted the cache and previous output directory first before a local re-run after that commit). I would have thought that, if the output channel is being created from celltype_input_ch, then nextflow might skip the actual singler and cellassign steps as unnecessary, which is consistent with what I'm seeing, e.g.:
├── STUBP01
│   └── STUBS01
│       ├── STUBL01_filtered.rds
│       ├── STUBL01_filtered_rna.hdf5
│       ├── STUBL01_metadata.json
│       ├── STUBL01_processed.rds
│       ├── STUBL01_processed_rna.hdf5
│       ├── STUBL01_qc.html
│       ├── STUBL01_unfiltered.rds
│       └── STUBL01_unfiltered_rna.hdf5

Testing with this (which has the augmented metadata) does give the expected results for the QC report (at least for me).

To confirm, do you mean you are seeing a cell type HTML being outputted where appropriate at 655162c?
I am still not seeing it (noting I deleted the cache and previous output directory first before a local re-run after that commit). I would have thought that, if the output channel is being created from celltype_input_ch, then nextflow might skip the actual singler and cellassign steps as unnecessary, which is consistent with what I'm seeing, e.g.:
├── STUBP01
│   └── STUBS01
│       ├── STUBL01_filtered.rds
│       ├── STUBL01_filtered_rna.hdf5
│       ├── STUBL01_metadata.json
│       ├── STUBL01_processed.rds
│       ├── STUBL01_processed_rna.hdf5
│       ├── STUBL01_qc.html
│       ├── STUBL01_unfiltered.rds
│       └── STUBL01_unfiltered_rna.hdf5

I am indeed getting a STUBL01_celltype-report.html in that directory on a fresh  of the current branch, which is what I expected.
Nextflow only looks "forward", so the fact that the output channel doesn't use the cell assignment results will not affect whether those processes run (if it did, we would have seen nothing at all run when outputting the input channel!).


How to implement custom color theme to google maps?

<!-- Thank you for using Flutter!
 If you are looking for support, please check out our documentation
 or consider asking a question on Stack Overflow:
  * https://flutter.dev/
  * https://api.flutter.dev/
  * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

 If you have found a bug or if our documentation doesn't have an answer
 to what you're looking for, then fill our the template below. Please read
 our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

-->
Use case

Proposal

Hi @navaneeth7067 . Use StackOverflow, it isnt a bug.

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. Closing, as this is not an issue report. See https://flutter.dev/community for support options.


run scripts from tree view...

hi,
i've just added the following lines to init.coffee:
# https://atom.io/docs/api/v1.0.7/ContextMenuManager
atom.contextMenu.add {
  'atom-workspace': [
    {
      label: 'Script',
      submenu: [
        {label: 'Run', command:'script:run'},
        {label: 'Kill', command:'script:kill-process'}
      ]
    }
  ]
}

but if i right click on a file in the tree view and select Script -> Run, it runs the script in the editor active tab...

We select what to run based on the active editor pane. This is a great idea, we need to know what event triggered that command though so we know which file to run. More code for script itself.

i'd like to help, but i'm a total newbie... just tell me if i can help anyway...


Support for react-0.14

react-swipe has a hard dependency on react-0.13.3, so I'm unable to update my project to use react-0.14.
Can you suggest a quick-fix for this, until you come up with an upgrade?

I also have the same issue, a suggestion for a fix or an upgrade would be much appreciated.

@seekshiva @digitaldavenyc sorry guys, I will provide new version with react 0.14 support during weekend! Cheers :wine_glass:

looking forward to pulling down the 0.14.x version :)

waiting for it, too. ;) @seekshiva  cheers

added starting from version 3.0.0.


add serde serialization to text chat types

Adds serde serialization to some text chat types for some patterns where these need to be serialized and deserialized, like internal messaging systems, logs and event sourcing.

@rozgo let me know when this is ready to review!

Went another direction. Dont need this PR anymore.

@rozgo sounds good. Let me know if I can help!


compille error in ports/unix, missing the readline_hist

test@ubuntu:~/micropython/ports/unix$ make -j6
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
CC input.c
CC modtime.c
CC moduselect.c
CC alloc.c
CC fatfs_port.c
In file included from ../../py/mpstate.h:33:0,
                 from input.c:33:
input.c: In function ‘prompt_write_history’:
../../py/mpstate.h:293:40: error: ‘mp_state_vm_t {aka struct _mp_state_vm_t}’ has no member named ‘readline_hist’
 #define MP_STATE_VM(x) (mp_state_ctx.vm.x)
                                        ^
../../py/misc.h:127:34: note: in definition of macro ‘MP_ARRAY_SIZE’
 #define MP_ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
                                  ^
./mpconfigport.h:54:23: note: in expansion of macro ‘MP_STATE_VM’
 #define MP_STATE_PORT MP_STATE_VM
                       ^~~~~~~~~~~
../../py/mpstate.h:293:40: error: ‘mp_state_vm_t {aka struct _mp_state_vm_t}’ has no member named ‘readline_hist’
 #define MP_STATE_VM(x) (mp_state_ctx.vm.x)
                                        ^
../../py/misc.h:127:47: note: in definition of macro ‘MP_ARRAY_SIZE’
 #define MP_ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
                                               ^
./mpconfigport.h:54:23: note: in expansion of macro ‘MP_STATE_VM’
 #define MP_STATE_PORT MP_STATE_VM
                       ^~~~~~~~~~~
In file included from input.c:33:0:
../../py/mpstate.h:293:40: error: ‘mp_state_vm_t {aka struct _mp_state_vm_t}’ has no member named ‘readline_hist’
 #define MP_STATE_VM(x) (mp_state_ctx.vm.x)
                                        ^
./mpconfigport.h:54:23: note: in expansion of macro ‘MP_STATE_VM’
 #define MP_STATE_PORT MP_STATE_VM
                       ^~~~~~~~~~~
CC mpbthciport.c
../../py/mkrules.mk:80: recipe for target 'build-standard/input.o' failed
make: *** [build-standard/input.o] Error 1
make: *** Waiting for unfinished jobs....

then, add the const char *readline_hist[8]; into sturct of ../../py/mpstate.h:typedef struct _mp_state_vm_t, it compiled success!
but,

test@ubuntu:~/micropython/ports/unix/build-standard$ ./micropython
FATAL: uncaught NLR 0x5558e5d734a8

Hi @stallion5632
Every commit passes CI, so it definitely compiles and runs on Linux.

I suggest you have a look at lv_micropython. We recommend using it directly, or at least as a reference if you are trying to build lv_binding_micropython with your custom micropython.


Feature Request - Kibana KQL Autocompletion

Is your feature request related to a problem? Please describe.
Not a problem - but missing functionally as compared to other Elastic stack implementations
Describe the solution you'd like
Cross referenced here: https://discuss.opendistrocommunity.dev/t/feature-request-kibana-kql-autocompletion/4117
Kibana KQL Autocompletion is not included as part of OSS Kibana and therefore does not appear to be a feature in OpenDistro Kibana.
You can see a screenshot of this feature in action here: https://www.elastic.co/guide/en/kibana/7.9/kuery-query.html
It would be very helpful if this feature could be brought to OpenDistro Kibana.
Describe alternatives you've considered
N/A
Additional context
N/A

Thanks @ryn9 We are looking into this request.

@vrphanse is there any more details you would like to help provide clarity for this request?

Hi! Is there any hope for KQL autocomplete?


DiD: allow for multiple pre and post intervention observations

At the moment the code works but it assumes there are observations at one pre and one post intervention time.
So we need to relax this assumption and generalise the code.
Probably best to do this while working through the 'bank failure' dataset, see #44.
This will also impact plotting
And it will impact reporting of the summery stats.

[x] add data
[x] data processing + visualisation
[x] need to add treated and units columns
[x] check if I need to either specify the grouping column (e.g. district) as categorical OR enter that as C(district) in the model formula
[ ] Analysis 1 with just pre and post

[x] model fit working
[ ] plotting working

[ ] Analysis 2 with all data

[ ] model fit working
[ ] plotting working

[ ] Make it work for the frequentist model

Model formula will be bib ~ 1 + district + year + district:treated

At this point it seems that model fitting does work, although we'll have to wait for the visualisation to see if the results make sense.
Plotting is going to get more complex. The initial plot that I had only makes sense when we have two time points (pre/post) AND we have multiple observed units per group.
So we've potentially got a 2*2 grid of different plot types to produce

pre/post only
multiple time points

one unit observed per group

multiple units per group
existing plot

[ ] fix green arrow for causal impact
[ ] fix plotting of data

The magnitude of the causal impact is wrong. I think this might be fixed by enforcing an order on the levels of the groups.

Plotting now works for the original dataset (multiple units in the treatment and control conditions) and the new banking example (one unit in the treatment and one in the control condition). Although the aesthetics could do with some work, the priority is to focus on getting it working in the case where we have more observations over time, not just the pre/post times.
Original dataset

Banking dataset

Currently sampling from the posterior works with
result = DifferenceInDifferences(
    df_long,
    formula="bib ~ 1 + district + year + district:treated",
    time_variable_name="year",
    group_variable_name="district",
    treated="Sixth District",
    untreated="Eighth District",
    prediction_model=LinearRegression()
    )

But breaks when we get to doing the other stuff and expected. This is the next step.

Currently working in the did_multiple_observations branch.

At this point we have DiD working for:

Single pre and post treatment observation (although we have some shape issues, calculating posterior predictions and counterfactuals for each item)

But there are clearly some issues to be resolved for the banks dataset.

Multiple pre and post treatment observations.

Looks like this for the full banks dataset

In the banks dataset, we are getting 1 surplus degree of freedom. I think it is because the group is coded as a string (therefore treated as a category) rather than as a numerical 0/1.

I've made meaningful improvements to DiD at this point. There were a number of things about the code before which were muddled and a bit wrong. I've fixed those up, made the code cleaner, got DiD working for multiple pre and post treatment observations, and improved the plotting.


Add Dark Mode toggle button

I want to work on designing the website in dark mode so that users can toggle between the mode of their choice.
@thestarsahil can you please assign this issue to me? I have also attached a template below.

Good to Go !


Failed to load vertex shader

Built on Ubuntu 24.04, the lastest commit (d05e3699384f82c7f12a8dfaadae244658aababe) fails with the following error :

$ ./splatapult data/test.ply
[ERROR] Failed to load vertex shader shader/debugdraw_vert.glsl
[ERROR] Error loading DebugRenderer shader!
[ERROR] DebugRenderer Init failed
[ERROR] App::Init failed

The splatapult executable expects to find the font, shader & texture directories.  If you build without the cmake -DSHIPPING flag it checks the parent dir to find them.  This is convenient when using a build folder one level under the main dir.   However if you do add the -DSHIPPING flag, it will search the current dir.
hope this helps.

That was is, thanks alot :)


[bug] : Add web3auth to providerOptions, but it doesn't work and doesn't show up in Web3Modal

Add web3auth:
const providerOptions = {
      walletconnect: {
        package: WalletConnect,
        options: {
          infuraId
        }
      },
      web3auth: {
        package: Web3Auth,
        options: {
          infuraId: 'BEwLNa-8qQ8XTTxUJz_arZFkPwarQ9kzaC_Cfh3FocQCUT2LCJeaH5r8Kjku82jWYMQTL5al8Ze4VDI91DotwOM',
        }
      },
      torus: {
        package: Torus, // required
        apiKey: 'BGYsGUh8Lp36FKNM2guCMYq9HBwe_vzb2QyYLu4d_eAmfka4FikmQ1QqJ_53H9xV0ujxLq3QKgZyfc9DjpsgIus',
        options: {
          apiKey: 'BGYsGUh8Lp36FKNM2guCMYq9HBwe_vzb2QyYLu4d_eAmfka4FikmQ1QqJ_53H9xV0ujxLq3QKgZyfc9DjpsgIus',
          networkParams: {
            chainId: 56, // optional
          },
        }
      }
    };

The result is this, Web3Auth doesn't show up in Web3Modal

I can confirm this bug, doesn't work for me either

Same issue for me

@LiJinLan @pauljulianheise , update to 1.9.9, this just wasnt updated until the last version. Should work now

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


Korean translation

Are there any plans to make the Korean translation available?

If somebody  can do the translation yes.

In b705512 the Korean translations are provided but the language tag used is 'kr' while I believe it should be 'ko' (see lang directory in CKEditor)


Fix weblogic's FORWARD only request path on non-forward requests

It seems like weblogic's decorator might reuse the same request object when retrieving a FORWARD jsp, making the getServletPath return the jsp url, instead of the request url. Even if the filter is not registered on the FORWARD dispatcher.
This fixes this by calculating the requestUrl.
This passes all tests, however, if someone was dependent on jsp path decoration, then this would break them.

Fixes #97

I am not convinced this is the best way to address the issue.  Is getServletPath correct before it is forwarded to rendering the jsp?  If so, perhaps the correct solution would be to insure FORWARD_SERVLET_PATH is set prior to forwarding the request.


Add progress bar to the sqlcmd create mssql "downloading" part

Feedback:
The downloading step was taking forever for me, and without a progress bar I had no idea of how much was still remaining. I restarted the process twice as I thought it was stuck when in reality, it was my connection.

Same challenge here. Waiting over 15 minutes with no indication as to the progress. A status message and/or progress bar would be hugely appreciated from a user experience perspective.

Just to follow up on this after trying another round of trying. I noticed that the Docker Engine on my machine was running in "Resource Saver Mode" which I had a visual nudge from in the Docker Desktop Client:

After bringing the Docker Engine back to a "Running" mode, then trying again it seems everything started up just fine and messages started to print out to the console.

What I haven't yet figured out is if/why sqlcmd create didn't bring the Docker Engine out of Resource Saver Mode. Would love to know if others had a similar experience to validate the hypothesis.

We will "borrow" the UI progress components from azd that do this very neatly
For now if you want to see all the docker API output, you can add --verbosity 4, and you'll see every line (it isn't pretty).
I have never come across this issue with Docker "Resource Save Mode".  Would like to learn more,


Add Majestic MJ12 Bot a very common seo bot

See github issue: https://github.com/WhichBrowser/Parser-PHP/issues/540 and https://github.com/WhichBrowser/Parser-PHP/issues/100
MJ12Bot
New UA (current):
Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)

MJ12bot

mj12bot

Dead Bots (2007 - 2017)
Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://mj12bot.com/)
Mozilla/5.0 (compatible; MJ12bot/v1.4.2; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://www.majestic12.co.uk/bot.php? )
Mozilla/5.0 (compatible; MJ12bot/v1.4.1; http://www.majestic12.co.uk/bot.php?+)
MJ12bot/v1.0.5 (http://majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php+)
Mozilla/5.0 (compatible; MJ12bot/v1.2.4; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://www.majestic12.co.uk/bot.php?+)/Nutch-1.13
Mozilla/5.0 (compatible; MJ12bot/v1.4.3; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.6; http://mj12bot.com/)
Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.4 (domain ownership verifier); http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.2.1; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.4; http://www.majestic12.co.uk/bot.php?+)
MJ12bot/v1.2.0 (http://majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.4.0; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.3.3; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.3.2; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.3.1; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.2.5; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.3.0; http://www.majestic12.co.uk/bot.php?+)
Mozilla/5.0 (compatible; MJ12bot/v1.2.3; http://www.majestic12.co.uk/bot.php?+)
MJ12bot/v1.2.0 (http://majestic12.co.uk/bot.php?+)

Link: https://mj12bot.com/
Link: https://majestic.com/

Coverage increased (+0.02%) to 99.97% when pulling a956095e70b44fa4e35043af8f7a1a51e7524090 on ayumi-cloud:mj12 into 880b9fa797401d14b28956442944c3daa70240ff on WhichBrowser:master.

Fixed in 51bd39de19d23861e0524bb2ad5b0baf023c6bdd by adding an entry to the applications-bots.php file.

Fixed in 51bd39de19d23861e0524bb2ad5b0baf023c6bdd by adding an entry to the applications-bots.php file.


Fix build.sh to work in Jenkins environment

[test]

@jhadvig @bparees can one of you review/merge this? ;-) I think other PR's were merged already.

2 nits and needs squash

meanwhile
[test]

[test]

@mfojtik jenkins does not love me.

@bparees nits fixed && squashed

[test] ?


[$500] Unable to mute all sounds on App

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: No (New feature)
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Open app on two devices
Go to Preferences > On "Mute all sounds from Expensify".
Send message from one device to another

Expected Result:
There is no audio actually played.
Actual Result:
Done sound. Unable to mute all sounds on App. "Mute all sounds from Expensify" button doesn't function.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/e45836f1-a474-4a02-be08-28de8f2786c5

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019ce6ba6ef040e21d
Upwork Job ID:<PHONE_NUMBER>193575936
Last Price Increase: 2024-02-14

Proposal
Please re-state the problem that we are trying to solve in this issue.
Unable to mute all sounds -> "Mute all sounds from Expensify" button doesn't seem to work as expected.
What is the root cause of that problem?
Offending PR https://github.com/Expensify/App/pull/31055.
When a user on device A toggles on the "Mute all sounds from Expensify" this sets the isMutedAllSounds to true locally only via:
https://github.com/Expensify/App/blob/023d62cba900f4333f73c52eb735402a994cbc4b/src/libs/actions/User.ts#L715-L717
When the same user account on device B receives a message, the sounds are still enabled since different device means the local data from device A is not synced with that on device B in real-time -> therefore isMutedAllSounds is false on device B.
This is happening since we're not saving this data on BE in order to sync on all devices via pusher in real-time.
What changes do you think we should make in order to solve the problem?
Implement saving of isMutedAllSounds on BE via endpoint and sync the data in real-time using pusher event.

Similar to https://github.com/Expensify/App/issues/35422

@jeremy-croff  Not that similar with the switch toggle based settings for which there's no overall solution because if we take a look at the current logic of other switch toggle based settings from Preferences they seem to have their own update endpoint.
Take for example the "Receive relevant feature updates and Expensify news" setting and it's toggle function:
https://github.com/Expensify/App/blob/023d62cba900f4333f73c52eb735402a994cbc4b/src/libs/actions/User.ts#L175
using its own unique WRITE_COMMANDS.UPDATE_NEWSLETTER_SUBSCRIPTION update endpoint:
https://github.com/Expensify/App/blob/023d62cba900f4333f73c52eb735402a994cbc4b/src/libs/actions/User.ts#L193-L196

So there are 2 sounds.

native sounds like this bug is showing
app sounds, like we are playing through react-native-sounds library using playSound
They both fire off when a notification gets received.
When we mute all sounds, it just silences the app sounds

The notification send to target devices still has a sound in the payload and it allows the device to honor it's own settings.
If the phone is on silence it won't play, otherwise it would.
The BE needs to stop sending a sound file in the notification for this to also stop making a sound there.

I'm going to at least mark this as NAB for now, but we're discussing a bit in slack about how to fix / who should fix

Basically @ikevin127 and @aimane-chnaif are right, now this feature is device-level only (so the preference for this setting will not be synchronized across devices).
Also want to point out this comment https://github.com/Expensify/App/pull/31055#issuecomment-1938590551 where we agreed that for now it should be device-level feature.
So @Beamanator please decide what should we do next 👀 Thank you!

I'll await confirmation from @m-natarajan irt TR.
If there are no updates needed, I'll close out

Hmm Maybe we should post in the #qa slack channel to get more 👀 on this @abekkala ? What you think? :D

@Beamanator yeah, good call. https://expensify.slack.com/archives/C9YU7BX5M/p1708369604811349

Let's close this, and we'll add creating testrail cases to the tracking issue


Return UNIT information alongside queries

Proposal
The OpenMetrics format allows that metrics come with a UNIT, such as seconds or bytes.
It would be good if Prometheus could retain this information and pass it back with the result of a query.
Functions might modify the unit, e.g. max() should have the same unit as its input but count returns a unitless value.

This is a tricky one, as if you convert a number, or add different units, it might be complex to know if we are still using the correct unit. The number of times we could determine the unit of a query would really be a small part of the queries.

Along the same line of thought, we could return the type. A counter queried directly will return "counter" as a type, but after rateing it, it would become a "gauge" etc.
This all plays into a better handling of what we fuzzily call "metadata" and which we treat not very nicely so far.
Currently, we query the type via the metadata APIs:

https://prometheus.io/docs/prometheus/latest/querying/api/#querying-target-metadata
https://prometheus.io/docs/prometheus/latest/querying/api/#querying-metric-metadata

Both APIs also return the unit. So it's the same luke-warm treatment: We scrap the information, keep it in the target cache, but further down the road, we forget about it (during queries, or just if we want to know the metadata of past metrics that aren't currently being scraped anymore).

Proposal: https://github.com/prometheus/proposals/pull/39


Cal SP

Hi,
Can you please guide me by letting me know if there is a way by which I can excute Call stored procedure from the Plug in
Regards,
G

Yes you can just use the Query feature, but instead of creating a SQL statement use the 'Call' syntax. For example if you have a stored procedure named exceltest, you can call it this way.
call exceltest();
You will either need to use a fully qualified call like this:
call mydatabase.public.exceltest()
or you can select the database and schema and then set the default database by clicking 'Make Default' check box to the right of the Schema in the Query dialog.

Does this help?
Steve

Hi,
Thanks a ton for your quick response.
I  tried before reaching you the SQL option I see only Tables and views from DB but not this AutoCreate option is it the version issue?
Thank you

Oh, I think I misunderstood your question.
The Autocreate functionality has been removed because of some complications.
Is it something that you would like? If there is demand for it then I'll work on it, but it hasn't been used much so I don't think it was worth it.
Let me know what you think.
Steve

Yes,I want to leavarage the Plugin  and excute the SP.
If you can help by giving that plugin that will be of great help
Many Thanks,
G

Hi Steve,
Greetings!
Will you be able to help with Add-in with which I can call SP from Excel.
Regards,
G

our users will load the data based on  need and based on their comfort and
time.Once they load the data...I have an SP which they have to run to see
the output in power BI.
On Thu, Feb 25, 2021 at 9:00 PM Steven Segal<EMAIL_ADDRESS>wrote:

Sorry for the delay. This feature adds another level of complexity. I will
have to update it based on recent changes and test it thoroughly if it
substantially adds value. Before doing this, I really want to make sure
there will be sufficient value.
Would you help me understand the value to your team?
The reason I think there could be limited value is because the column
datatypes can be manually defined and I don't know how many new tables or
columns users will add that need this.
Let me know what you think.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/Excelerator/issues/17#issuecomment-785987277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3SAIQ2GIA3S5SU27MVR63TAZUJDANCNFSM4XVFKS4A
.

--
https://bottr.me/gouriprasad?utm_source=emailSignature
Gouri Prasad
@gouriprasad https://bottr.me/gouriprasad?utm_source=emailSignature

I'm not clear on the request. Is it to run any SP or is it specifically for the autodetect datatype feature?

To run SP
On Fri, 26 Feb 2021, 12:14 am Steven Segal<EMAIL_ADDRESS>wrote:

I'm not clear on the request. Is it to run any SP or is it specifically
for the autodetect datatype feature?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/Excelerator/issues/17#issuecomment-786119605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3SAIVAZCTVQLBBMJIXDLDTA2LALANCNFSM4XVFKS4A
.

Hi Steve, Kindly let me know if have any other questions
Thanks,
G
On Fri, 26 Feb 2021, 5:47 pm Gouri Prasad<EMAIL_ADDRESS>wrote:

To run SP
On Fri, 26 Feb 2021, 12:14 am Steven Segal<EMAIL_ADDRESS>wrote:

I'm not clear on the request. Is it to run any SP or is it specifically
for the autodetect datatype feature?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/Excelerator/issues/17#issuecomment-786119605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3SAIVAZCTVQLBBMJIXDLDTA2LALANCNFSM4XVFKS4A
.

I'm having a hard time understanding what you are asking for. Can we get on a call together next week?

Hi Steve,
Sure,but what I am asking is to help with an option  to execute call
procedure from excel.
Pl ping me on WhatsApp would love to talk to you
My number +917799099663
Weekend this Saturday or Sunday would be best for call
Thanks a ton
On Sat, 27 Feb 2021, 4:23 am Steven Segal<EMAIL_ADDRESS>wrote:

I'm having a hard time understanding what you are asking for. Can we get
on a call together next week?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/Excelerator/issues/17#issuecomment-786937676,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3SAISZZZ5OA7Y76SGLA6DTBAQ7BANCNFSM4XVFKS4A
.

Hi Steve,
Just to clarify excalty the same what you have shown in the first post.Attaaching the same here again.
We can talk over whatsapp Today,tomorrow based on your availibilty -My number -+917799099663

Hi Gouri. Is there any more assistance needed here?
If not we can can close this issue.
Thanks!

Pl close dear Steve
On Tue, 23 Mar 2021, 9:00 pm Steven Segal, @.***> wrote:

Hi Gouri. Is there any more assistance needed here?
If not we can can close this issue.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/Excelerator/issues/17#issuecomment-804999602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3SAIQP5CT3O34F6547UELTFCXZ5ANCNFSM4XVFKS4A
.


Please stop releasing "tarbombs"

Your current releases create "tarbombs" that will overwrite any file with the names of the files in your release. This is a very well established anti-pattern in the industry. Please create a folder (probably mods) instead and properly tar that folder to avoid this.

@rwxrob Thanks for mentioning this! We definitely don't want to be inconveniencing users in any way. It's fixed now across our repos. Please don't hesitate to let us know if there are other ways we can improve UX :)


Problem using GoogleCurrency with the Chilean Peso

We had a customer from Chile order a product today and our system charged them upwards of $4700  USD for something that should have been $47.28.  We get some of our pricing from a third party and they said that this item should have cost 29555.0 CLP.
Google's finance site converts that amount of CLP to 47.2880 USD so this doesn't seem to be something wrong on their end.  https://www.google.com/finance/converter?a=29555.0&from=CLP&to=USD
Every time I get pricing from this third party I always put it into "cents" because that is how the Money gem operates.  In this case I guess these would be Chilean Centavos (according to wikipedia anyway).  When I run that number through the gem it converts to $4,728.80 USD instead of $47.28 USD.
Here is some rails console output showing this in action for CLP currency:
2.1.3 :047 > p.selling_price
=> 2955500
2.1.3 :048 > p.currency
=> "CLP"
2.1.3 :049 > p.selling_price / 100.0
=> 29555.0
2.1.3 :050 > foreign_price = Money.new(p.selling_price, p.currency)
=> #
2.1.3 :051 > exchanged_price = foreign_price.exchange_to(:USD)
=> #
2.1.3 :052 > foreign_price.to_f
=> 2955500.0
2.1.3 :053 > exchanged_price.to_f
=> 4728.8
Here is the same logic but with Mexican Pesos instead:
2.1.3 :055 > p.selling_price
=> 74353
2.1.3 :056 > p.currency
=> "MXN"
2.1.3 :057 > p.selling_price / 100.0
=> 743.53
2.1.3 :058 > foreign_price = Money.new(p.selling_price, p.currency)
=> #
2.1.3 :059 > exchanged_price = foreign_price.exchange_to(:USD)
=> #
2.1.3 :060 > foreign_price.to_f
=> 743.53
2.1.3 :061 > exchanged_price.to_f
=> 48.47
Am I doing something wrong or is this a bug?  The results make it look like the original CLP price is already in centavos, but Google's Finance site indicates otherwise.

according to https://github.com/RubyMoney/money/blob/master/config/currency_iso.json#L447 the subunit to unit for CLP is 1, which is where your problem arises from. According to wikipedia the subunit coins are out of circulation, but it appears some financial institutions still treat it as if it exists. I'd suggest making a PR to the money gem to change the subunit to 100. That should solve your issue.

Hi Shane,
I've got some code that should handle this patch, hopefully it isn't too horrible.  I haven't done that much ruby involving overriding libraries like this.  This was my first time trying to override a class method, I've only done instance methods before today.  I do not have a test written yet because I wanted to get your thoughts on if my change is acceptable or not.
Originally I wanted to try to override the Money::Currency::Loader module but had no luck after hours of searching for some pointers on the right way to do it.
I settled on patching CLP's subunit_to_unit to 100 inside the table class method for Money::Currency.  The important thing I wanted to accomplish was to leave the original method intact inside Money::Currency.  I believe I've achieved that, so should that method change in some minor way, this code should still work.
I wanted this code to live outside google_currency.rb but haven't been able to figure out where it should go or what file name to use.
Here are my changes with existing tests passing:
https://github.com/zkarpinski/google_currency/commit/ddf992fe5360e3f03543b9b64390f6eda3ea393e
Obviously GoogleCurrency has no existing tests for things in the Money::Currency class.  This patch feels a little dirty to me, but maybe that is the nature of resolving the discrepancy between Google and the ISO standards for CLP.  With all of that in mind, how do you think I should create a test for this change?
Thanks for your work on this Gem, it is greatly appreciated!

Easy way to do this in lib/money/bank/google_currency.rb
# after requiring 'money'
Money::Currency.table[:clp][:subunit_to_unit] = 100


chore: add test + jsdom and happy-dom detection

Added detection for happy-dom and jsdom
Playwrighttests in another PR
closes #2
closes #3

New Vitest coverage-v8 seems to miss some coverage, not sure if the problem is about mixing Vitest environments.


Getting error when use from webpack-dev-server node's api

http://hastebin.com/igaponazaw.pl
https://github.com/webpack/extract-text-webpack-plugin/blob/master/index.js#L22
changing condition to
if(!c || c.initial) return;
seems to solve to problem

I'm having the same issue. Every time webpack recompiles the second time I got the error:
Cannot read property 'initial' of undefined
Due to c being undefined.

@erwingaitano This seems related to #115  indeed.  (Pull request here) I'll add some information to the PR if it solves your issue aswell.

Thanks @RabidFX !
Your solution is indeed working.

@erwingaitano  Thank you for the information, I'll update the PR description accordingly.


echo=false seems to not hide the source code

It seems like specifying echo: false still includes the source code in the ouput document
```{webr}
#| echo: false

4 + 5
```

```{pyodide}
#| echo: false

4 + 5
```

Interestingly if I set both edit: false and echo: false the code block is hidden as expected

What is the behavior you'd like to see here? Just the output with no source code or webr UI (start over, run code buttons)?

I think the right behaviour here should be:

echo: false, edit: true: The code editor is shown, output is suppressed.
echo: false, edit: false: The source is shown as a fixed code block, output is suppressed.
echo: true, edit: true: (Default): The code editor is shown, output is shown.
echo: true, edit: false: The source is shown as a fixed code block, output is shown.
include: false: The code is executed in the Wasm engine but with no visual elements are shown on the page. edit and echo are ignored.

Happy to see any other thoughts or opinions on this behaviour. Notably, the current implementation does not act as above:
Currently, echo: false, edit: false behaves like I think the include: false statement should behave.
Currently, include: false visually behaves correctly but does not execute the source in the Wasm engine.

What is the behavior you'd like to see here? Just the output with no source code or webr UI (start over, run code buttons)?

I was expecting echo: false to suppress the entire input element and only show the output, so no buttons visible (similar to currently setting both edit: false and echo: false). To me, this would be the most similar to how echo: false currently works for regular quarto code blocks, but as long as there is an easy option to execute code in webassembly without showing it, I don't feel too strongly about which of the suggested approaches achieves that.

Happy to see any other thoughts or opinions on this behaviour.

Interesting that you mention that echo is used to suppress the output rather than the source code. Wouldn't this be what the output cell option is for?

include: false visually behaves correctly but does not execute the source in the Wasm engine.

Thanks for clarifying this; my expectation was also that these cells should be executed but couldn't figure out why they weren't when I tried it.

Interesting that you mention that echo is used to suppress the output rather than the source code. Wouldn't this be what the output cell option is for?

Oh shoot, looks like I had gotten myself quite confused when I wrote that comment! You’re right, output is controlled elsewhere.
Let’s try that again:

echo: true, edit: true: (Default): The code editor is shown.

echo: true, edit: false: The source is shown as a fixed code block.

echo: false, edit: false: No source block or editor is shown.

echo: false, edit: true: Does this make sense? Either an error, or possibly echo: false wins and no source or editor is shown, but this feels strange with edit: true set.

include: false: similar to echo: false, edit: false, but also suppresses output.

Hopefully looks more reasonable!

That looks exactly like I would expect! I agree that the last option (echo: false, edit: true) doesn't really make sense and think that an error message is probably the clearest behavior in that case (but echo taking precedence would also be fine I think).
And having include: false being equivalent echo: false, edit: false, output: false makes sense to me as convenient shortcut (maybe explicitly mentioned in the api ref for clarity). I guess in this sense one could also think of include: false as a setup code block targeting the global env, so if there was an easy way to do that via setup, then maybe include is a redundant option (this is a minor comment though)?


Generate random bytes for test block hash

Current dependencies on/for this PR:

feature/proof-of-stake

PR #649

PR #698   👈

This comment was auto-generated by Graphite.


Make FCron the default cron system

I propose that the default cron system in NixOS be changed to FCron.
FCron is a GPL licensed periodic command scheduler that aims to replace Vixie-cron and Anacron with a single integrated program and provided many features missing from the original Cron daemon. The fact that combining Anacron- with Vixie (ISC- or D-) cron does not happen in a single daemon (in fact Anacron is not a daemon last time I checked), can occasionally cause cronjobs to either be executed twice or not at all.
It has been developed on Linux and should work on POSIX systems. As with Anacron, it does not assume that the system is running continuously, and can run in systems that do not run all the time or regularly (like e.g. anything that's not a server).
Some of the supported options permit:

run jobs one by one
set the max system load average value under which the job should be run
set a nice value for a job
run jobs at fcron's startup if they should have been run during system down time
mail user to tell them a job has not run and why
run fcron by scripts
run several instances of fcron simultaneously
have fcron exit after it has run the pending jobs

Project page: http://fcron.free.fr/

We now use systemd timers which have similar functionality. One can also use services.fcron.enable.


Shutdown while use via Runtime.getRuntime().exec(...)

[19:36:37] [INFO] [Main Thread]: Reconstruct v1.3.2
[19:36:37] [INFO] [Main Thread]: Authors: LX_Gaming
[19:36:37] [INFO] [Main Thread]: Source: https://github.com/LXGaming/Reconstruct
[19:36:37] [INFO] [Main Thread]: Website: https://lxgaming.github.io/
[19:36:37] [INFO] [Main Thread]: Debug mode disabled
[19:36:37] [ERROR] [Main Thread]: Failed to detect Console
[19:36:37] [INFO] [Shutdown Thread]: Shutting down...
[19:36:37] [INFO] [Shutdown Thread]: Successfully terminated task, continuing with shutdown process...

Try passing the --agree argument to Reconstruct as that should bypass the console check.
Example java -jar reconstruct.jar --agree

Try passing the --agree argument to Reconstruct as that should bypass the console check.
Example java -jar reconstruct.jar --agree

Reopen or comment if this is still an issue.

Reopen or comment if this is still an issue.


✨ Add QPS and Burst flags to core controllers

Summary
This PR adds QPS and Burst command line flags to the kubestellar controller-manager and the generic transport controller code.
Related issue(s)
This is part of addressing #2159

/cc @waltforme
/cc @vMaroon
/cc @dumb0002

The following show the new usage messages.
mspreitz@mjs13 kubestellar % docker run ko.local/controller-manager:46461220a -h
Usage of /ko-app/controller-manager:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages
  -alsologtostderr
    	log to standard error as well as files (no effect when -logtostderr=true)
  -api-groups string
    	list of allowed api groups, comma separated. Empty string means all API groups are allowed
  -health-probe-bind-address string
    	The address the probe endpoint binds to. (default ":8081")
  -its-burst int
    	Allowed burst in requests/sec for accessing the ITS (default 10)
  -its-name string
    	name of the Inventory and Transport Space to connect to (empty string means to use the only one)
  -its-qps float
    	Max average requests/sec for accessing the ITS (default 5)
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.
  -leader-elect
    	Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
  -log_backtrace_at value
    	when logging hits line file:N, emit a stack trace
  -log_dir string
    	If non-empty, write log files in this directory (no effect when -logtostderr=true)
  -log_file string
    	If non-empty, use this log file (no effect when -logtostderr=true)
  -log_file_max_size uint
    	Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  -logtostderr
    	log to standard error instead of files (default true)
  -metrics-bind-address string
    	The [host]:port from which /metrics is served. (default ":8080")
  -one_output
    	If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
  -pprof-bind-address string
    	The [host]:port fron which /debug/pprof is served. (default ":8082")
  -skip_headers
    	If true, avoid header prefixes in the log messages
  -skip_log_headers
    	If true, avoid headers when opening log files (no effect when -logtostderr=true)
  -stderrthreshold value
    	logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)
  -v value
    	number for the log level verbosity
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging
  -wds-burst int
    	Allowed burst in requests/sec for accessing the WDS (default 10)
  -wds-name string
    	name of the workload description space to connect to
  -wds-qps float
    	Max average requests/sec for accessing the WDS (default 5)

mspreitz@mjs13 kubestellar % docker run ko.local/transport-controller:0.1.7 -h
pflag: help requested
Usage of transport-controller:
      --add_dir_header                   If true, adds the file directory to the header of the log messages
      --alsologtostderr                  log to standard error as well as files (no effect when -logtostderr=true)
      --concurrency int                  number of concurrent workers to run in parallel (default 4)
      --kubeconfig string                Paths to a kubeconfig. Only required if out-of-cluster.
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory (no effect when -logtostderr=true)
      --log_file string                  If non-empty, use this log file (no effect when -logtostderr=true)
      --log_file_max_size uint           Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
      --logtostderr                      log to standard error instead of files (default true)
      --metrics-bind-addr string         the [host]:port from which to serve /metrics (default ":8090")
      --one_output                       If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
      --pprof-bind-addr string           the [host]:port from which to serve /debug/pprof (default ":8092")
      --skip_headers                     If true, avoid header prefixes in the log messages
      --skip_log_headers                 If true, avoid headers when opening log files (no effect when -logtostderr=true)
      --stderrthreshold severity         logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)
      --transport-burst int              Allowed burst in requests/sec for accessing the ITS (default 10)
      --transport-cluster string         The name of the kubeconfig cluster to use for accessing the ITS
      --transport-context string         The name of the kubeconfig context to use for accessing the ITS
      --transport-kubeconfig string      Path to the kubeconfig file to use for accessing the ITS
      --transport-qps float              Max average requests/sec for accessing the ITS (default 5)
      --transport-user string            The name of the kubeconfig user to use for accessing the ITS
  -v, --v Level                          number for the log level verbosity
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging
      --wds-burst int                    Allowed burst in requests/sec for accessing the WDS (default 10)
      --wds-cluster string               The name of the kubeconfig cluster to use for accessing the WDS
      --wds-context string               The name of the kubeconfig context to use for accessing the WDS
      --wds-kubeconfig string            Path to the kubeconfig file to use for accessing the WDS
      --wds-name string                  name of the wds to connect to. name should be unique
      --wds-qps float                    Max average requests/sec for accessing the WDS (default 5)
      --wds-user string                  The name of the kubeconfig user to use for accessing the WDS

/approve


File preview in file explorer

Implement file preview in the file explorer of models/dataset pages. When possible, show data in modal with relevant metadata (bounding box, acquisition date, etc).

In the file explorer add an icon to open model with file preview.
We need to stream file contents from API to UI @juansensio

The URL used in the FileExplorer component for downloading invidual files should work for the preview @warmasster

Add csv (render table) and json (render json with collpasable levels, look for some library that does this).


[release/v2.4] Change user controllers timeout to be a bit longer

https://github.com/rancher/rancher/issues/27736
Backport of https://github.com/rancher/rancher/commit/d7d6722296c26b9443c569e0411f6a11b1df8f28

Does this solve a problem?  The reason I did this is because the internal connection timeout from the Dial is around 30 seconds.  So what would happen is that the client would timeout before the dialer would timeout so we would never get back good errors from the dialer. The would always just be generic timeout errors.

Based on the logs I see that the calls that cause the errors in https://github.com/rancher/rancher/issues/27736 take 39 seconds sometimes. It was not the area I was investigating until I ran latest master-head and didn't see them.


component does not update after fetch request

trying to update Vuejs3 component jspreadsheet-ce (excellent js library) with fastpi request. Vue component does not update whereas data seems to update correctly.
FastAPI main.py extract :
@app.get("/rr/")
async def create_rr():
return {"data" : [[1,1,5.25], [2,1,5.26], [3,1,5.27],[3,1,5.27],[3,1,5.27]]}
App.vue

<script>
import VueJSpreadsheet from "vue3_jspreadsheet";
import { ref } from "vue";

export default {
  components: {
    VueJSpreadsheet,
  },
  data() {
    const dataTable = ref([[1], [2], [3]]);

    return {
      dataTable,
    };
  },
  created: async function () {
    const rrResponse = await fetch("http://localhost:8000/rr");
    const rrObject = await rrResponse.json();
    this.dataTable = ref(rrObject.data);
    console.log(this.dataTable);
  },
};
</script>

{{dataTable}} update corretly but not I do not understand why component does not.

You need to call instance.setData(yourFechedData)

was a vue3_jspreadsheet issue => solved thansk to killkli
https://github.com/killkli/vue3_jspreadsheet/issues/2
Suggest to document this component !


get_column_type refactor

Affected module
Ingestion
Describe the bug
It is quite hard to follow and debug what is going on in get_column_type at column_type_parser. Let's break the function down into smaller functions with meaningful names, comments, and tests. We can refactor the protected functions of the module later on, but this one gets directly called by the workflow so we should first focus on this.
It seems to me that there are 3 main steps involved. Convert each of them in a function and document the order of "checks" that we are doing.
Thanks!

Hey @pmbrull, Thanks for creating this issue.
Will take it up in 0.9.2 release

Great, thanks @ayush-shah, no rush at all :) Let's just try to list down central code pieces that we could improve. Thanks 🙏

@pmbrull @ayush-shah do we need to do anything here?

@pmbrull @ayush-shah what is remaining here

Refactoring the code, breaking it down in functions,
Writing tests and adding upto 100% test coverage around here.
Will be part of 0.13

@ayush-shah is this targetted for 0.13?

yes


feat(db): Adding DB_ENGINE_URI_VALIDATOR

SUMMARY
Quick PR that adds a new callback hook, DB_ENGINE_URI_VALIDATOR which can be optionally set in Superset configs. When set, it should point to a callable that is invoked in order to validate db_engine_spec's URIs.
Example:
def DB_ENGINE_URI_VALIDATOR(sqlalchemy_uri: URL):
    if not <some condition>:
        raise Exception("URI invalid")

Aren't all of the connection attributes captured in the parsed url? Also, this is intended to be invoked pre-connect, so we likely wouldn't want to perform validations on a "connection".

I think the bigger exception is the way we do BigQuery for instance cramming many things into a blob, but unclear how common/uncommon it is. This probably a good starting point. Can add more hooks if/as needed.

Yeah, in general there are two parts:
engine = create_engine(uri, **params)
Both are needed for a full connection, since in some cases the params are too big to build a URI (like BigQuery credentials).

@craig-rueda out of interest why is this surfacing as an issue now? Did we not gracefully handle SQLAlchemy URI errors in the past?


Unity + FMOD / Wwise

Dear Sir / Madam,
I have just recently found out about Project Acoustics and it seems like a very robust and useful system.
However, I would like to ask, whether it is possible to use this package in combination with Unity and an Audio Middleware like FMOD or Wwise.
I have seen somewhere on the project page, that it is possible to integrate it with Wwise & Unreal.
Is there any possibility to use Project Acoustics with Unity + FMOD or Wwise?
Best regards,
Jakub.

Jakub,
Currently, Microsoft hasn't released a Project Acoustics solution for Unity + FMOD or Wwise  yet.
We have recently started a conversation with a partner that is also looking for Unity + FMOD support.  They are interested in developing this plug-in combination themselves and sharing the solution back with Microsoft in order to us to distribute publicly.  Hopefully we'll have something ready in the next couple of months for Unity + FMOD.
We also have been working a version of Project Acoustics working with Unity + Wwise internally, but we haven't released it publicly yet.  We could look at sharing this solution with you in an beta state if you are interested.
Send me an email at<EMAIL_ADDRESS>and we can discuss logistics for getting you enabled.
Thanks,
Noel

Exciting news on the plug-in front, we've opened up a new GitHub repo for our Unity plug-in.  There's two versions of plug-ins currently available:

The primary plug-in code is for HoloLens 2 projects to have access to the spatial audio hardware acceleration support available on HoloLens 2.  This plug-in will also work on Windows and XBox platforms as it uses the ISpatialAudioClient API.

https://github.com/microsoft/spatialaudio-unity

Another plug-in source that we are providing is the source for a native Unity plug-in which utilizes two DLLs for rendering.  To be fully functional, it requires the Project Acoustics libraries to be present -- both HrtfDsp.dll and Triton.dll.  This set of code could be the basis for an FMOD plug-in as it illustrates the call pattern for using the acoustic simulation and the spatial audio rendering components included in Project Acoustics.

https://github.com/microsoft/spatialaudio-unity/tree/develop/Source/Spatializer/ProjectAcoustics
The partner we were working with on the FMOD port might not be able to give Microsoft the code back.  They are using this second sample as a starting point for this porting exercise.  It's possible that you could also start with this offering.
Microsoft is not actively working on an FMOD solution at time, but we are working on making more of our plug-ins available on open source to allow for enabling more platform support.

Thanks for filing this issue.
For FMOD request: Duplicate issue is https://github.com/microsoft/ProjectAcoustics/issues/4
For Wwise support: Please email<EMAIL_ADDRESS>as described above.
Resolving 'closed'. Please reopen, or open another issue, with comments/concerns/questions. Thanks!


Copy all receivers over to the UP

Problem statement
We need to create receiver accounts/settings for all remaining CP receivers in the UP, that does not include creating any transforms.
What you need to know
Acceptance criteria

[ ] ...

To do

[ ] ...

Will make a new ticket if/when this work is needed from platform team.


Usability with debug binary? make_randomized_response with numbers

Strings work:
>>> random_string = dp.m.make_randomized_response(['a', 'b', 'c'], 0.99)
>>> random_string('a')
a

but numbers don't:
>>> randomized_response = dp.m.make_randomized_response([1.0, 2.0, 3.0], 0.99)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/chuckmccallum/github/opendp/opendp/python/src/opendp/measurements.py", line 709, in make_randomized_response
    output = c_to_py(unwrap(lib_function(c_categories, c_prob, c_constant_time, c_T, c_QO), Measurement))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chuckmccallum/github/opendp/opendp/python/src/opendp/_lib.py", line 270, in unwrap
    raise OpenDPException(variant, message, backtrace)
opendp.mod.OpenDPException:
  FFI("No match for concrete type f64. You've got a debug binary! Debug binaries support fewer types. Consult https://docs.opendp.org/en/stable/contributor/development-environment.html#build-opendp")

>>> randomized_response = dp.m.make_randomized_response([1, 2, 3], 0.99)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/chuckmccallum/github/opendp/opendp/python/src/opendp/measurements.py", line 709, in make_randomized_response
    output = c_to_py(unwrap(lib_function(c_categories, c_prob, c_constant_time, c_T, c_QO), Measurement))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chuckmccallum/github/opendp/opendp/python/src/opendp/_lib.py", line 270, in unwrap
    raise OpenDPException(variant, message, backtrace)
opendp.mod.OpenDPException:
  FFI("No match for concrete type i32. You've got a debug binary! Debug binaries support fewer types. Consult https://docs.opendp.org/en/stable/contributor/development-environment.html#build-opendp")

Am I doing something wrong?

only takes string b/c debug binary only allows strings. release build has all the types

This would make the dev build a lot slower, so this is fine as is. If Polars does more of the lifting, we can get rid of code, but leave as is for now.

(Using a "debug" binary only takes strings. Release builds have all types)


feat(server) add simple health endpoint

Add simple /health endpoint for use by APM tooling to check if the deployed cdxgen server container is still operational or not

One of the csharp tests has started failing. I have fixed it in my PR branch. Once it's merged you can rebase.
https://github.com/CycloneDX/cdxgen/pull/604


V0p1p3

Codecov Report

Merging #14 (2607d33) into master (a3ba23f) will increase coverage by 9.71%.
The diff coverage is 89.65%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   49.45%   59.16%   +9.71%
==========================================
  Files           2        2
  Lines          91      120      +29
==========================================
+ Hits           45       71      +26
- Misses         46       49       +3

Impacted Files
Coverage Δ

src/read_data.jl
49.48% <89.65%> (+17.13%)
:arrow_up:

Continue to review full report at Codecov.

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


Screenshots for each app type

It may be a lot better for novice developers to learn if we provided a screenshot of a sample per app type. So example, win32 window with controls, wpf window with controls, WinForms window with few controls, UWP app with controls, etc.
If I was a beginner, I would really appreciate it if I can see how each app from different "app types" look like.
Please provide the screenshots.

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

ID: 25fcf332-0c1b-7c10-406d-bfd5f6eef952
Version Independent ID: d2b12b06-f936-204b-1be7-9ca844ceff43
Content: Overview of app development options - Windows apps
Content Source: hub/apps/get-started/index.md
Product: uwp
Technology: apps
GitHub Login: @QuinnRadich
Microsoft Alias: quradic

While I understand the sentiment, there's not really one single "look" for each sort of app - that's a question of which controls you choose to implement and how you structure the UI of your app as a whole. In this page, we've chosen to prioritize the technical specifics rather than a look at a given sample UI, which is mostly a factor of a user's implementation rather than the app type itself.