Update to VSCode 1.87

and some other fixes and improvements I've noticed while upgrading

@CGNonofr independent of the example I always get this error with 3.0.0:

@CGNonofr independent of the example I always get this error with 3.0.0:

It really looks like you have multiple versions of the extension service override

@CGNonofr I also see that hasUpdatedDefaultThemes does not exist. This is related to trying to load original workers when using monaco-editor in classic mode (see #363):

What you are trying seems a little hazardeous, let's talk about it on the linked issue

It really looks like you have multiple versions of the extension service override

I did not add anything and I just checked that @codingame/monaco-vscode-extensions-service-override is import nowhere.

It really looks like you have multiple versions of the extension service override

I did not add anything and I just checked that @codingame/monaco-vscode-extensions-service-override is really imported nowhere.

You're right, found the issue!


"ODBC Connect is not working" when launching the tool #

Hi
I saw the documentation from cubewise regarding ODBC connect, I downloaded the software.
But unfortunately it’s not opening in winows server 2019 ? it's working in my local system which is windows11
is there any compatibility issues with operating system?
could you please help me on this?
URL From cubewise:https://code.cubewise.com/open-source/odbc-connect/

Hi,
ODBC Connect uses .NET 3.5, the error you are seeing is probably due to it not being present on the server.
Cheers,
Vincent

Hi ,
I checked .NET 3.5 is installed on the server

Still not opening on windows server 2019

Sorry to hear that ODBC Connect is not working with your Windows Server 2019.
The Cubewise Software division is not heavily supporting ODBC Connect anymore. We leave it to the community.
If you need to query a database, I recommend you trying Arc, Arc includes a feature to query datasources through ODBC, you can download Arc here: https://code.cubewise.com/downloads/arc-download/

Hi,
Thanks for sharing , You mean ODBC connect tool will not work on windows server 2019 ?


api: default log driver goes under orchestration

Because the DefaultLogDriver parameterizes task creation in the
orchestration, the configuration value has been moved to where it
belongs. We really don't want this field on the top-level cluster
configuration, as it is not nearly general enough.
Needed for docker/docker#24476
cc @aluzzardi @aaronlehmann
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

This really doesn't feel right to me. The Orchestration message was created to hold parameters for the orchestrator, and DefaultLogDriver feels only tangentially related to orchestration. I worry that we might be leaking our implementation details into the API.
Could we create another message inside ClusterSpec to hold this, such as TaskDefaults?
Curious to hear what @aluzzardi thinks.

I agree with Aaron - the fact that tasks are created by the orchestrator is an implementation detail.
Also the setting doesn't impact orchestration behavior which should be the rule of thumb when neating stuff under orchestration config.
I understand Stephen's concern of overloading the top namespace so maybe we can find an alternative - although I wouldn't feel bad with logging being the exception (top level)

@aluzzardi @aaronlehmann Task creation is the primary functionality of the orchestration and this is a parameterized default of task creation.

Ok, so we are going to have TaskDefaults at the top-level.

LGTM


Why is nnum and nnum_nempty updated identically in octree_grow_full?

@wang-ps, Referring to the following lines in octree.py code (in function octree_grow_full):
self.nnum[depth] = num * self.batch_size
self.nnum_nempty[depth] = num * self.batch_size

I was wondering why the number of non-empty nodes is updated when the octree is grown fully at a certain depth..
The number of non-empty nodes should depend on only the points input right?
As I understand it, the number of nodes (nnum) are the total number of nodes expanded/initialized at a particular depth and nnum_nempty is the number of non-empty nodes at a particular depth.
If I run the following code (adds just 1 point to octree at the center of a cube at resolution 4),
oct = ocnn.octree.Octree(4,4)
pts = np.array([[0,0,0]],dtype=np.float32)
pts+=0.5
pts*=1/(2**4)
points = ocnn.octree.Points(torch.from_numpy(pts))
oct.build_octree(points)
print(oct.nnum)
print(oct.nnum_nempty)

I would expect to see only 1 non-empty node at each depth, but instead I observe the following:
tensor([   1,    8,   64,  512, 4096], dtype=torch.int32)
tensor([  1,   8,  64, 512,   1], dtype=torch.int32)

As such, I am quite confused as to what the difference between nnum and nnum_nempty is..
Similarly, I also see that the number of children at depth d is 8^d. I would expect the number of nodes at depth d to be 8^d and the number of children to be 8^(d+1).
Please let me know if I'm misunderstanding something.
Thanks in advance!

I was wondering why the number of non-empty nodes is updated when the octree is grown fully at a certain depth

The function octree_grow_full is used when predicting octree in the decoder. The code self.nnum_nempty[depth] = num * self.batch_size is just for initialization. It will be updated according the prediction.

As I understand it, the number of nodes (nnum) are the total number of nodes expanded/initialized at a particular depth and nnum_nempty is the number of non-empty nodes at a particular depth.

Yes.

I would expect to see only 1 non-empty node at each depth, but instead I observe the following:

This is because you initialize oct = ocnn.octree.Octree(4,4). The second parameter is used to force the octree to be full for depth <= 4.

Am I correct in saying in that an octree can have a non-empty node even if there are no points from the point cloud occupying that node or any of its children in deeper layers? Thus, 'emptiness' is merely an indication of initialization/existence of the octree node itself rather than the presence of at least one point from the point cloud in it?
For example, growing the octree fully until depth 4 means there are 8^4 non-empty nodes in the 4th layer, even though I have built the octree with single point (corresponding to one voxel) as the input point cloud?

an octree can have a non-empty node even if there are no points from the point cloud occupying that node or any of its children in deeper layers

An non-empty node must contains at least one points OR have children in deeper layers.

growing the octree fully until depth 4 means there are 8^4 non-empty nodes in the 4th layer

If growing the octree fully until depth 4, there are 16^3 nodes in total, in which  not non-empty nodes are determined by whether it contains points or has children in deeper layers.


x-scroll on input focus , view wont fit in small devices

in 5'' devices the '.loading-container' is taking an extra width causing the view to be x-scrollable on input focus .
Putting .loading-container to fixed instead of absolute seems to fix the issue.

will try to include some screenshots
only happens in a real devices

Greetings @bleuscyther!
My sensors indicate that I require more information in order to assist you.

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this happen occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.


append to bash_profile

Looking at the README.md file it says:

Note: On OS X, if you get nvm: command not found after running the install script, your system may not
have a [.bash_profile file] where the command is set up. Simply create one with touch ~/.bash_profile
and run the install script again.

Doesn't NVM just append to or create the ~/.bash_profile file? Under what circumstances would the above error happen? Just curious?

nvm does not create any profile files, since that could be a very intrusive change on a system. It will only append to it if it already exists.

ehh, I don't personally see it as that intrusive, I totally don't see how it cause any problems to create the .bash_profile file if it doesn not exist

The shell decides what to source based on what files exist - creating a file can change which files get sourced upon opening a shell.

Well the problem I am having is this:
export NVM_DIR="/root/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
/usr/src/app/local.sh: line 11: /root/.bash_profile: No such file or directory
EXIT CODE OF CONTAINER RUN =>  1
What do you suggest I do - should I do "RUN touch ~/.bash_profile" before installing NVM, or should I tell NVM to use bashrc instead, what is best course of action to make NVM install completely automated.
This is running in a container, so I can't easily reopen on new shell. Sorry if this is a dupe.

=> Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="/root/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
/usr/src/app/local.sh: line 12: nvm: command not found

I guess all I have to do is run the above - do I really need the .bash_profile file at all?

You only need a profile file if you want it to automatically source nvm.sh. Certainly you can manually run those commands, and nvm should work after that in that shell session.

thanks, do you mind explaining what this does?
&& . "$NVM_DIR/nvm.sh"

a && b says that if a exits zero, evaluate b. Since [ -s "$NVM_DIR/nvm.sh" ] passes, namely, the file exists - then the shell will run . "$NVM_DIR/nvm.sh" (which sources the file.)

Ok well, the original script succeeds in a container and didn't succeed otherwise.
I changed it to this
#!/usr/bin/env bash

DIRN=$(dirname "$0")
echo " => SUMAN TEST PROJECTS => RUNNING '$DIRN'..."
echo " => PWD => $PWD"
OUTPUT_PATH=${PROJECT_ROOT:-$PWD}/npm-install-output.log &&
rm -rf $(dirname "$0")/node_modules &&
echo "about to run npm install --globally" &&

NVM_INSTALL=$(which nvm);
echo "path to nvm => '${NVM_INSTALL}'" &&

if [[ -z ${NVM_INSTALL} ]]; then
    wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash &&
    #source ~/.bash_profile &&
    echo "111111111111111111111111111111111111111"
    export NVM_DIR="/root/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  && # This loads nvm
    echo "22222222222222222222222222222222222222222" &&
    echo "about to install node version 6 with NVM" &&
    echo "3333333333333333333333333333333333333333333"
    nvm install 6 &&
    nvm use 6
fi

# use the following echo call to avoid having to type in password at prompt
npm install -g github:oresoftware/suman#dev --unsafe-perm --loglevel=warn --progress=false &&
echo "done with npm install" &&
echo "running suman --init" &&
suman --init

and now it works. Seems like it might be problem because if even NVM is already installed reinstalling it with this script seems to break things.

what might have been happening is that
export NVM_DIR="/root/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  &&
was exiting with a non-zero code...any reasons why that might be?

I'm not sure - in typical usage, nothing is ever chained after it.

yeah, I assume if NVM is already installed then . "$NVM_DIR/nvm.sh"exits with a non-zero exit code, which maybe it shouldn't?

It probably should not, that is true. If you could file a new issue with the set -ex output of that, that would be very helpful.

will do


Fix incorrect 'user' setting, should be 'username'

Coverage decreased (-0.1%) to 97.311% when pulling a47f0f6327e094ec601f6a220b2be8cc1c6961f3 on mickael9:patch-1 into 0578ecb320800c0219d408a419c2b9fff86f20de on gawel:master.

Thanks!


named instances

how do add named instances  to a cell and then retreive the instance by name?

[inst.name](http://inst.name/) = name
and then c.insts[name]


WIP: Gaussian Fortran90

Hello everyone,
long time no see, but since it's Hacktober I'd like to resume with implementing algorithms in Fortran.
If you don't mind I will post the other ones as WIP as well. If you do just turn them down later.

This PR will be replace by another without that annoying 30 commits ahead stuff. Sorry the inconvenience.


how to use this avro plugin?

hi
Like the title. I has already add this plugin on intelij,but I do not know how to use it.
could you share me the steps?
thanks.

Hi @gaolv.
Currently all this plugin supports is syntax highlighting of Avro IDL files. Once the plugin's installed, open an Avro IDL file or create a new file with the extension .avdl. It should then be syntax highlighted.
This was a project I worked on in a small amount of free time at work, and I no longer work regularly with Avro, so I'm unlikely to add any new features - but I'm always happy to receive pull requests for functionality you'd like.


IrisWebRtc logging stop, disable logging, mute log

Version of the agora_rtc_engine
iris-web-rtc_n430_w4200_0.7.0.js
Platforms affected

[ ] Android
[ ] iOS
[ ] macOS
[ ] Windows
[X] Web

Steps to reproduce
add iris-web-rtc_n430_w4200_0.7.0.js
start call
receive thousands of console log lines
Expected results
clear method for disabling verbose logging
Actual results
receving far too many logs, not able to find disable logging for iris-web-rtc js methods
Code sample
Code sample
  <script src="iris-web-rtc_n430_w4200_0.7.0.js" defer></script>

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
PS C:\ServerShare\Gitflutter doctorr\Uno2Duo\Uno2Duo_Flutter>
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version
    10.0.19045.4780], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or
    higher)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK      components.
      (or visit
      https://flutter.dev/docs/get-started/install/windows#android-set      up for detailed instructions).
      If the Android SDK has been installed to a custom location,
      please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio Build Tools
    2017 15.9.26)
    X Visual Studio 2019 or later is required.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload,
      including all of its default components
[!] Android Studio (not installed)
[√] VS Code (version 1.92.2)
[√] Connected device (3 available)
[√] Network resources

! Doctor found issues in 3 categories.

I did some digging and found this parameter that seems like it has stopped the extra verbose logging!
IrisWebRtc.AgoraConsole.logLevel = 0;

I did some digging and found this parameter that seems like it has stopped the extra verbose logging!
IrisWebRtc.AgoraConsole.logLevel = 0;


Cannot unprotect data after migrating from RC1 to RC2

After upgrading from RC1 to RC2 , previously protected data cannot be unprotectedю
IDataProtector.Unprotect throws an exception that have the following inner exception:
"Could not load file or assembly 'Microsoft.AspNet.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.":"Microsoft.AspNet.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60"
So it tries to load assembly with old naming from RC1, although it is not mentioned in project.json
The old assembly name is mentioned in xml files at c:\Users%username%\AppData\Local\ASP.NET\DataProtection-Keys
OS: windows 10 x64

/cc @blowdart Is the typename stored in the payload?

No sure what the payload is. I'm calling protect/unprotect with the plain strings as parameters.
And the xml files look like that:
<?xml version="1.0" encoding="utf-8"?>
<key id="XXX" version="1">
  <creationDate>2016-02-15T00:17:23.317857Z</creationDate>
  <activationDate>2016-02-15T00:17:23.2923209Z</activationDate>
  <expirationDate>2016-05-15T00:17:23.2923209Z</expirationDate>
  <descriptor deserializerType="Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNet.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60">
    <descriptor>
      <encryption algorithm="AES_256_CBC" />
      <validation algorithm="HMACSHA256" />
      <encryptedSecret decryptorType="Microsoft.AspNet.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNet.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60" xmlns="http://schemas.asp.net/2015/03/dataProtection">
        <encryptedKey xmlns="">
          <!-- This key is encrypted with Windows DPAPI. -->
          <value>YYY</value>
        </encryptedKey>
      </encryptedSecret>
    </descriptor>
  </descriptor>
</key>

Looks like it....

Yea,
https://github.com/aspnet/DataProtection/blob/dev/src/Microsoft.AspNetCore.DataProtection/KeyManagement/XmlKeyManager.cs#L378
I guess we could hack the de-encryption for that special case. Of course we say this for ephemeral data you're not worried about loosing but ...

@muratg

Not sure what to do here. It looks like RC2 to RTM will also have similar problem (due to PublicKeyToken in the decryptorType)
@blowdart any proposal?

What changed there?
You're just going to have to have a type alias / fowarder type thing to allow old keys to still function. As the keys are only read once it's not going to be that painful performance wise.

Sorry, my bad -- PublicKeyToken won't be changing obviously, and since we're not going to rename the namespace or the types again, RC2 to RTM should NOT have this problem.
Good to close?

No, you need to support this migration scenario. People will go from RC1 to RTM and loose data. You really need to push an update for this asap so people coming from RC1 to RC2 don't loose data either.

@aplex can you please try with latest version of ASP.NET 1.0.0-rc3-21233. With https://github.com/aspnet/DataProtection/pull/157 data should be unprotected successfully.

I tried to use some libraries from RC3 to work around another bug, and could not get dotnet restore to work - probably need all dependencies to be updated to use RC3 as well.
For this problem I made a hacky workaround several days ago - the xml file with the keys was patched to use the new namespaces and assembly names. This patching happens before the keys are loaded. Seems to work ok for the moment.

I'm closing this issue as it should be fixed by #157

@danroth27 we probably need to add this to the rc1 to rc2 migration docs too. And test this in future migration sign-off scenarios.

I'm not sure what we would document other than to wait for RTM or grab a dev build.

Ah yes, that's what I meant. We should indicate that this is a known issue and we specifically added something in 1.0.0 for it. We should also test this in the upcoming sign offs.


'Almost finished' challenges

Here's an idea inspired by microfunding sites like https://www.kiva.org/
When a challenge is almost finished, people are likely to want to chip in to push it across the finish line.
If we can find a way to highlight 'almost finished' challenges (based on % of tasks still available to resolve) that would give mappers more ideas for where to contribute.

Replaced one of featured by "almost complete" selected randomly from challenges where:

challenge is visible, % of remaining tasks is below 5%
challenge is visible, number of remaining tasks is below 100 and % of remaining tasks is below 30%

or

% of remaining tasks is lowest of all visible challenges (to always have at least 1 candidate)

?


Typo in docs for delete-topic-handlers cli command

The following:
kapacitor delete topic-handler [TOPIC_ID] [HANDLER_ID]
Should be:
kapacitor delete topic-handlers [TOPIC_ID] [HANDLER_ID]
topic-handlers instead of topic-handler.
URL for relevant page?
https://docs.influxdata.com/kapacitor/v1.5/working/cli_client/#delete-topic-handlers
What products and version are you using?
NA
Where did you look before opening the issue?
NA

Thanks @paddyohanlon! We'll get this fixed.


Update JsonPathMatcherTests to assert that returned values are also accurate

Update JsonPathMatcherTest that only assert the number of results by adding assertions for the content as well.
e.g.
https://github.com/openrewrite/rewrite/blob/c7db34b243d0fdc561a272b5e88d183e4ce92f64/rewrite-yaml/src/test/kotlin/org/openrewrite/yaml/JsonPathMatcherTest.kt#L107

I'm closing the issue to update the test because all of the tests would be disabled.
There is quite a bit of work necessary to fix #1419


JobManager: store joblist on http url as Parquet

Job manager csv file is now written somewhere on a posix filesystem, making it relatively hard to access from anywhere.
Eventually, something like this should end up in the APEx 'user workspace', which actually will be an object storage bucket.
For now however, I propose a simply upload to artifactory, which is also quite easy:
https://gist.github.com/pgorsira/ca978d06b90f9019bedb
I also propose the use of Parquet, which is a lot more efficient and smaller then csv.
(Fully converting jobmanager to parquet is another issue, this one allows us to do followup prototyping tasks without that effort.)

Extra: jobtracker uses multiple files, so we should use partitioned geoparquet files on collection id.


Search fails to find email when searching by partial address / partial contact name

Expected behavior
Messages should be found, for example by the sender's email address (or part thereof)
Actual behavior
Messages are often not found
Example: Having received an email from Alice Doe<EMAIL_ADDRESS>I can find the email manually, but the search function does not find it when I search for "adoe" or "Alice". The search function does find (some?) emails that contain "adoe" or "Alice" in the body.
Also, it seems that the search is now slower than before the most recent update.
Steps to reproduce

open a folder
search for a string

Environment
K-9 Mail version: 5.201
Android version: 6.0.1
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP

Currently have same issue using Android v5.600.

This should no longer be an issue.


: printer not selectable with the mouse

Describe the bug
When using a -Element, it's not possible to select a different printer with the mouse. Navigation the printers with the keyboard works as expected.
Steps to reproduce the bug

Create the sample application below
Right click an select "Print" or hit Ctrl + P
3a. Try to select a different printer with the mouse
3b. Open the printer selection with the mouse and navigate with the arrow keys and confirm with enter

MainWindow.xaml
<Window
    x:Class="TestingApp.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:TestingApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <WebView2 Source="https://github.com" />
    </Grid>
</Window>

Expected behavior
The printer should be selectable with the mouse (3a).
Screenshots
https://user-images.githubusercontent.com/1904175/120308279-39973c00-c2d4-11eb-839d-9f4f40cb2935.mp4
Version Info

NuGet package version:

CommunityToolkit.Mvvm" Version="7.0.2"
CommunityToolkit.WinUI.UI.Controls" Version="7.0.2"
Microsoft.ProjectReunion" Version="0.5.7"
Microsoft.ProjectReunion.Foundation" Version="0.5.7"
Microsoft.ProjectReunion.WinUI" Version="0.5.7"

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

October 2020 Update (19042)
Yes,  Version 19042.985

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context
Installed Edge version: Version 91.0.864.37

Any update on this issue?


Add listtransactionsfrom RPC to support casino

This is the original patch for Bitcoin: https://github.com/hackverket/bitcoin-core/commit/a13cd4d3f1cbfbb8f9af12b01e65ac0066c6e8ad

The problems is this one is a special RPC for a specific purpose. I don't know what requirement they need to just apply their patch to our Zcoin. If we need to do it in another way we need to ask @reubenyap to see if it possible to do in that way.

Ok. Please just take a look at my comments on the text in the function in that case.

Ideally this is left as a flag but let's have the feedback first.

@reubenyap they still not response?

Still waiting. Have been following up closely.

@reubenyap is there any updates on this?

As there has been no reply from them for a while, I don't mind having this functionality but let's do it via a flag rather than introducing a new rpc for it.

this feature has been requested from Roger, not sure they are still using it atm. I think it is good to change to flag, but at the same time, please ask them first before remove the old rpc, otherwise, it will effect casino site that already integrated.

After many months they haven't integrated it yet so they haven't been working on it.
---- On Thu, 30 May 2019 20:07:43 +0800<EMAIL_ADDRESS>wrote ----
this feature has been requested from Roger, not sure they are still using it atm. I think it is good to change to flag, but at the same time, please ask them first before remove the old rpc, otherwise, it will effect casino site that already integrated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for update. Will come back to this after all important tasks is done.

I agree with @a-bezrukov and @riordant on just keeping this as a flag to do it in the reverse order.

After take a look there is some mismatch behavior. The example is if we provide from more than transactions we have listtransactionfrom will return all of transactions but for listransaction will return the empty list instead.
So if we really want to have this functionalities in our code base I think it is better to keep this as a separated function and hide it from help command.

Since the casino guys didn't reply for several months we'll drop this until we need it.


Rework provider instance

Create branch: issue-19-rework-provider-instance from develop.

Create branch: issue-19-rework-provider-instance from develop.


More futures

This is a great project. But I would like some more buns.

deferred actions need to be simplified, for example, as discussed with Dan Abramov, and was implemented https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/redux/middleware/clientMiddleware.js

I'd like to upload data for server rendering without additional requests, for example using this technique
not
data = await request.get('/test/rest');
but
app.handle({...request, url: '/test/rest', method: 'get'}, response, next)); router.get('/test/rest', (req,res)=>{ if (__INNER_REQUEST__) {  return obj; } else {  res.json(obj); } })

write the repository to the local storage and restore it when the page is loaded for a friendlier operation of the application in case of pressing the f5 / overload key (after all, not all the data is immediately synchronized with the server)

More universal data preloading with server rendering like https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/server.js#L92

@apapacy Would you mind to help me to improve it :)?

Yes, of course. (1) in progress in my fork branch dev-promised: https://github.com/apapacy/react-cool-starter/blob/dev-promised/src/redux/promisedMiddleware.js
More interesting is (4). But this is difficult because of the synchronous nature of the function renderToString. And all more or less working solutions have become irrelevant after new version react/redux/router were released.
Now I'm try to use https://github.com/markdalgleish/redial for universal data preloading. This library seems as agnostic to use with any release of react/redux/router/

@apapacy What's the benefit of (1)?

This code with "promisedMiddleware" seems more simple
export const fetchUsers = (URL): any => {   return {     promise: client => client.get(URL),     events: [USERS_REQUESTING, USERS_SUCCESS, USERS_FAILURE],   }; };
then with  redux-thunk:
`
export const fetchUsers = (axios: any, URL: string = API_URL): ThunkAction =>
(dispatch: Dispatch) => {
dispatch({ type: USERS_REQUESTING });
return axios.get(URL)
  .then((res) => {
    dispatch({ type: USERS_SUCCESS, data: res.data });
  })
  .catch((err) => {
    dispatch({ type: USERS_FAILURE, err });
  });

};
`

@apapacy Does the "promisedMiddleware" is necessary for every developer and does it easy to be tested. I wish to make this starter simple and easy to be understood :)

Asynchronous actions (interaction with the server) for applications with which I worked were in the majority. Working with promises that are hidden from the user greatly simplified my code.
I'll try to make examples and tests in the form of a pool request in your repository.

@apapacy I'm really appreciate what you did for this improvement. After I merged it, I found the promiseMiddle causes flow hard to track the type of the promise actions. Although the promiseMiddleware is convenient for developers. But the type checking by flow is the necessary feature of this starter. Therefore I keep the promiseMiddle as the optional choice for developers.

Sorry, I'm not using a flow, and I could not check it.


S3 ContentEncoding is disregarded

Problem description
This I believe is the same issue as #422 but it's for S3.
Certain libraries, like django_s3_storage use ContentEncoding https://github.com/etianen/django-s3-storage/blob/master/django_s3_storage/storage.py#L330 to express on-the-fly compression/decompression.
Smart open does not support this and I have to manually check for the presence of ContentEncoding when reading such files. The s3 documentation specifies:

ContentEncoding (string) -- Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

Is this something that can/will be implemented at some point?
Steps/code to reproduce the problem
It's hard to give precise steps, but simply put uploading a .txt file with .txt extension who's content has been gziped and ContentEncoding value is "gzip" should be automatically decompressed, but it is not.
Versions
Linux-4.14.296-222.539.amzn2.x86_64-x86_64-with-glibc2.2.5
Python 3.7.10 (default, Jun  3 2021, 00:02:01)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-13)]
smart_open 6.2.0

Thank you for the report.
The following two statements seem inconsistent to me:

It's hard to give precise steps
Simply put uploading a .txt file with .txt extension who's content has been gziped and ContentEncoding value is "gzip" should be automatically decompressed, but it is not

Why is it difficult to show the precise source code for 2)?

@mpenkov I don't know if these instructions are correct or incorrect. For example, is Metadata uncompressed_size required  (as used in  https://github.com/etianen/django-s3-storage/blob/master/django_s3_storage/storage.py#L331)?
I observed that chrome will automatically decompress the file when a pre-signed url is used  but I'm having problems  replicating this in steps bellow. For now this is what I have.
Create the file and upload (I'm referring to the bucket as ):
echo "hello world" | gzip -c > a.txt
aws s3 cp a.txt <bucket>/a.txt --content-encoding gzip

Reading with smart_open:
In [1]: import smart_open

In [2]: smart_open.open("<bucket>/a.txt", "rb").read()
Out[2]: b'\x1f\x8b\x08\x00\xa2k\x87c\x00\x03\xcbH\xcd\xc9\xc9W(\xcf/\xcaI\xe1\x02\x00-;\x08\xaf\x0c\x00\x00\x00'

In [3]: smart_open.open("<bucket>/a.txt").read()
---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
Cell In [3], line 1
----> 1 smart_open.open("<bucket>/a.txt").read()

File /opt/python/3.9.14/lib/python3.9/codecs.py:322, in BufferedIncrementalDecoder.decode(self, input, final)
    319 def decode(self, input, final=False):
    320     # decode input (taking the buffer into account)
    321     data = self.buffer + input
--> 322     (result, consumed) = self._buffer_decode(data, self.errors, final)
    323     # keep undecoded input until the next call
    324     self.buffer = data[consumed:]

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Is there a solution to this problem yet? 🤔

I think your best bet is to do a head_object, and then use the compression keyword argument to smart_open.open.

My problem was a little different. In my scenario, I'm uploading a gzip file to S3, but the ContentEncoding is not set to "gzip". I fixed it by adding transport_params to open:
transport_params = {
    "client_kwargs": {
        "S3.Client.upload_file":{"ExtraArgs": {"ContentEncoding": "gzip"}}
    },
}


sample code for using callbacks

Awesome library! :) using it for a "toy" project to build my son a present for xmas.
I'm trying to use sinks=['callbacks'] in the constructor, but when I do camera.snap_picture() I get an error:
File "cam_capture.py", line 103, in capture_from_camera
    f = self.camera.snap_picture(blocking=blocking)
  File "/src/avf.pyx", line 244, in pyavfcam.AVFCam.snap_picture (src/avf.cpp:3125)
ValueError: image video sink not initialized

My camera class is constructed as
class Camera (pyavfcam.AVFCam):
	def __init__(self, sinks = ['callback'], *args, **kwargs):
		pyavfcam.AVFCam.__init__(self, sinks, *args, **kwargs)
	def file_output_done(self, errorOccured):
		logging.info('file output done : %s' % errorOccured)
	def video_output(self, frame):
		logging.info('video output done : %s' % frame)
	def image_output(self, frame):
		logging.info('image output done : %s' % frame)

Would really appreciate a sample for using callbacks.

Sorry I did not finish the callback, but will look at it soon.
If you want to snap pictures you do not need the callback, you can use this and many times as you want to take pictures.

I also just tried to use pyavfcam, which looks nice and simple, for real-time webcam video processing using the semi-documented callback functionality before realising that it's not working. I'd be interested in trying it if you en up finishing it.


Grype db data model corrections

What this PR does / why we need it:

Rename GrypeDBMetadata to GrypeDBFeedRecord
Include the database checksum and listing checksum
Rename date_generated to built_at
New field synced_at (set when the db is synced in grype-db sync task)
Remove refs to group and feed (irrelevant)
Remove foreign key constraints

Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:
Special notes:

Might also be good to do a global string search for GrypeDBMetadata because there are some docstrings that need to be updated

done. we should be good

FYI just rebased this off of master


resize layer for upsampling

May I know why you manual upsampling via
conv_layer( 3, 1, 128, "SYMMETRIC", initializer), resize_layer(2, NEAREST_NEIGHBOR), concat_layer(10), act, \
instead of
tf.layers.conv2d_transpose
Thanks in advance!

Hi, I used that due to this article: https://distill.pub/2016/deconv-checkerboard/
Thanks.

@nothinglo  Thanks for sharing!


SAMZA-1707: Samza onTimer method triggering before init

Currently there was a bug when registering a timer with a very short amount of delay, it might not be invoked since it depends on the creation of the run loop. This patch fixed the problem by double checking the ready timers when run loop is created (listener is registered.)

gradle build works fine locally. The travis failure is not related to this change.


Refactor unit models

Is your feature request related to a problem? Please describe.
Currently, filip is closely to the UNECE unit model. However, depending on the system requirements one want to add other unit standard,e.g., QUDT or BACNET.
Describe the solution you'd like

Refactor the unit-model to first become also independ from pandas as proposed by #194
Integrate diffrent unit models depending on QUDT or BACnet and parse them based on their type definition, e.g. qudt:unit, bacnet:unit, unece:unit. We can make the default unit-type configurable via filip settings. I would stick to the unece as default as this is what the fiware community proposes. @SBlechmann is this correct?
Prepare a way to define CustomUnits, e.g. by defining an import path using filip settings

Describe alternatives you've considered
Stay with the current
Additional context
For future work this might be kind of relevant, e.g. when integrating with frameworks as https://pint.readthedocs.io/en/stable/
Also related to #186

@djs0109 any further suggestions?

@tstorek Sorry for the late response. I think it's a good idea to support another unit's standards. However, I'm skeptical about integrating the unit framework pint. In my opinion, we should at most provide an example of how to use this library.


fix: stream name to lower case

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Summary
(describe what this merge request does)
Implementation highlights
(describe how the merge request does for feature changes, share the RFC link if it has)
Test checklist

[x] add new test cases
[ ] all code changes are covered by unit tests
[ ] end-to-end tests

[ ] deploy web console with CloudFront + S3 + API gateway
[ ] deploy web console within VPC
[ ] deploy ingestion server

[ ] with MSK sink
[ ] with KDS sink
[ ] with S3 sink

[ ] deploy data processing
[ ] deploy data modeling

[ ] new Redshift Serverless
[ ] provisioned Redshift
[ ] Athena

[ ] deploy with reporting
[ ] streaming ingestion

[ ] with Redshift Serverless
[ ] with provisioned Redshift

Is it a breaking change

[ ] add parameters without default value in stack
[ ] introduce new service permission in stack
[ ] introduce new top level stack module

Miscellaneous

[ ] introduce new symbol link source file(s) to be shared among infra code, web console frontend, and web console backend

SonarQube Quality Gate Result

Result: :white_check_mark: OK
Triggered by @tyyzqmf on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 1

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

Coverage
:white_check_mark: OK
83.80
< 80

Duplicated lines density
:white_check_mark: OK
8.60
> 30

Blocker violations
:white_check_mark: OK
0
> 0

Bugs
:white_check_mark: OK
0
> 0

Code smells
:white_check_mark: OK
9
> 40

Critical violations
:white_check_mark: OK
0
> 0

Major violations
:white_check_mark: OK
0
> 0

Vulnerabilities
:white_check_mark: OK
0
> 0

View on SonarQube
updated: 7/18/2024, 01:08:29 (UTC+0)

SonarQube Code Analytics
Quality Gate passed

Additional information
The following metrics might not affect the Quality Gate status but improving them will improve your project code quality.
Issues
 0 Bugs
 0 Vulnerabilities
 0 Code Smells
Coverage and Duplications
No data Coverage
No data Duplication


Decision activity doesn't work

I create a content parts  name : test1 (address (Text Field))
then  user content type attach  test1
Decision activity :
ContentItem.test1.address.Text="test1";
SetOutcome("Done");
it doesn't work.
Error log:
Orchard.Exceptions.DefaultExceptionPolicy - Default - ERROR An unexpected exception was caught
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 无法对 null 引用执行运行时绑定
Please help me , thx

I assume your code is wrong. Please check the casing of your part names (test1) and also cast ContentItem to dynamic if you want to do something like this code.


Add sample data model structure

#7  Added.

Video Group

Title
Description
Image
Author {}
List of Videos []

Author

Name
Image

Video

Title
YouTube ID


add [Array::unsafe_get] and [Array::unsafe_set] & array intrinsic

This PR utilizes several new compiler intrinsics, %array.{length,unsafe_get,get,unsafe_set,set}. The unsafe variants have no bound check at all and may lead to arbitrary memory access, so they are kept private in builtin. The safe variants performs bound check on runtime and crashes on out of bound access. They will be inlined by the compiler in release mode for performance.
Since intrinsics are only utilized in release mode, so the use of unsafe operations won't make debug harder.
Previously many Array APIs in the core uses arr.buffer()[index] for unsafe get/set, but the FixedArray indexing still performs bound check at runtime. So these uses are replaced by unsafe_get/unsafe_set to maximize performance

Pull Request Test Coverage Report for Build 3473
Details

12 of 13 (92.31%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 82.353%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

builtin/array.mbt
11
12
91.67%

Totals

Change from base Build 3471:
0.007%

Covered Lines:
4088

Relevant Lines:
4964

💛  - Coveralls

cc @hackwaly


⚠ Bofrost.at has degraded performance

In feb513f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1114 ms

Resolved: Bofrost.at performance has improved in 7b5abb1.


DOC: update testing README

Remove note about py2 tests versus py3 tests
Recommend using runtests.py

LGTM, merged. Thanks @person142


How to turn off font-smoothing?

Hey!
I am running the 5.013 version of Slimcat on a Windows 10 machine. Turning off font-smoothing and ClearType from Window's settings will not fix having blurry fonts inside the software. It actually makes the issue even worse.
Is there any forced smoothing going on, hardware-acceleration or other stuff enforcing the blurrying? It is really irritating especially for a software which sole purpose is to read text.
The issue is easy to check, just turn off ClearType and the font-smoothing from the Visual Enhancements on Performance settings.

as far as I know, this is simply how WPF (the client's rendering engine) handles the display of text. slimCat takes no additional steps to smooth or alias text.

That's too bad then, as sounds like there is no way around this issue. The text is awfully blurry, so changing software.


Focus speedup

Typing in codes too fast causes it to miss some.
This prioritizes the setFocus step, to get a slight performance boost.

Hello @jsm!
:skull:  This repository is dead.
The author does not support it  :sob:.
I suggest using fork: react-native-confirmation-code-field, with :heavy_check_mark: long term support!
Your pr is already added to the fork!  :+1:


Add duckduckgo browser (macOS)

Hi, could you please consider adding duckduckgo browser (currently, macOS only) ? Curious how it differs from Safari. Thanks!

Hi! DuckDuckGo desktop browser for Mac is still in Beta, so I am currently publishing its test results in https://privacytests.org/nightly.html. Once it's available in Release I will add it to the main desktop page.

Thanks!


bugfix: multi-thread concurrent add listener problem

Signed-off-by: slievrly<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
bugfix: multi-thread concurrent add listener problem
Ⅱ. Does this pull request fix one issue?
fix #1830
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

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

@@              Coverage Diff              @@
##             develop    #1846      +/-   ##
=============================================
+ Coverage      54.95%   55.04%   +0.09%
- Complexity      2352     2353       +1
=============================================
  Files            421      421
  Lines          14266    14266
  Branches        1682     1711      +29
=============================================
+ Hits            7840     7853      +13
- Misses          5681     5683       +2
+ Partials         745      730      -15

Impacted Files
Coverage Δ
Complexity Δ

...server/store/file/FileTransactionStoreManager.java
59.21% <0%> (-0.99%)
29% <0%> (ø)

...ource/sql/struct/cache/AbstractTableMetaCache.java
91.17% <0%> (+2.94%)
11% <0%> (+1%)
:arrow_up:

...rotobuf/convertor/RegisterTMResponseConvertor.java
84.84% <0%> (+3.03%)
3% <0%> (ø)
:arrow_down:

...rotobuf/convertor/RegisterRMResponseConvertor.java
84.84% <0%> (+3.03%)
3% <0%> (ø)
:arrow_down:

...otobuf/convertor/GlobalBeginResponseConvertor.java
96.96% <0%> (+3.03%)
3% <0%> (ø)
:arrow_down:

...obuf/convertor/BranchRollbackRequestConvertor.java
96.42% <0%> (+3.57%)
3% <0%> (ø)
:arrow_down:

...otobuf/convertor/BranchCommitRequestConvertor.java
100% <0%> (+3.57%)
3% <0%> (ø)
:arrow_down:

...otobuf/convertor/BranchReportRequestConvertor.java
96.29% <0%> (+3.7%)
3% <0%> (ø)
:arrow_down:

...protobuf/convertor/RegisterRMRequestConvertor.java
95.83% <0%> (+4.16%)
3% <0%> (ø)
:arrow_down:

...protobuf/convertor/RegisterTMRequestConvertor.java
100% <0%> (+4.54%)
3% <0%> (ø)
:arrow_down:

... and 5 more

LGTM.The other registry implementations may have similar problem.

multiple listeners will not affect us, but there may be a registry that may throw a ConcurrentModificationException.


Allow access to express-style path parameters in mocked endpoints

When adding a mock for an express-style path (e.g. express:/example/:foo/:bar, there is no built-in way to access the parsed values for foo and bar:
const mockedEndpoint = (url, opts) => {
  // we should be able to use { foo: <whatever>, bar: <whatever> } here without additional parsing
};

fetchMock.get('express:/example/:foo/:bar', mockedEndpoint);

fetch('/example/foovalue/barvalue'); // we would have access to { foo: 'foovalue', bar: 'barvalue' } in mockedEndpoint

We're giving fetchMock.get enough information (the matching express-style pattern and the URL itself) that it should be able to parse out what foo and bar are and pass them to the callback (potentially as a third argument?).
This issue was called out in https://github.com/wheresrhys/fetch-mock/issues/300 but either wasn't addressed at all or was addressed but in a too-opaque-for-me-to-understand way.

Marking as breaking change as it probably has an effect on the function signature for function matchers

Probably the thing to do is to have the response function take a CallLog as input; CallLog is naturally extensible, and this will also make the param values (and query string values?) accessible when examining callhistory


weird trend for running time when increasing cell number

Hi Kai,
I observed a weird trend for the running time when I applied uniPort to datasets that included 1k, 3k, 5k, 10k, 15k, 20k and 50k cells (both RNA and ATAC). The running time first decreased until the sample size reached 15k and then increased. The longest time was observed when there were only 1k cells. Do you have any explanations about this observation?

Best,
Yuge

Hi, thank you for pointing this out. This is because the number of epochs in our training process is determined by the batch size and the number of cells.

If you want to try more epochs, please increase the parameter: iteration (default 30000)
Let me konw if you have other concerns. Thanks!

Hi, thanks for your timely reply! Just want to confirm that I understand this correctly. If the batch size and the number of iterations are fixed, then the running time should not vary that much, because the total number of cells used for training (iterations * batch size) is constant?

I'm not entirely sure what happened here, but it might be related to the datasets


PR 1: Testing platform bug fixes

Multiple tests were failing on macOS because of test bugs related to the platform.
Please see each commit message for the issue that was fixed by that commit.

[X] a conversation was held in the appropriate SDKMAN Slack channel.
[ ] a Github Issue was opened for this feature / bug.
[ ] test coverage was added (Cucumber or Spock as appropriate).

I'll merge this, but for future reference please compose your Git commit messages as per these guidelines: https://chris.beams.io/posts/git-commit/


Link join steps in onboarding flow

Issue
Example: Closes #665
Parent ticket: https://github.com/Real-Dev-Squad/todo-action-items/issues/178
What is the change?
Added more steps in the signup-stepper file to link the join step in it
Is Development Tested?

[ ] Yes
[ ] No

Example:
https://github.com/Real-Dev-Squad/website-www/assets/111434418/b4d0cbe0-8a2f-4070-90cf-e2d474a52b81

Why Join our discord is seen on button when user choose role developer??

Why Join our discord is seen on button when user choose role developer?? in video

I have updated the video please have look


Multi-Day-Event is not shown properly

Describe the bug
Multi-Day-Event is not shown properly
To Reproduce
Steps to reproduce the behaviour:
Make a file with some title and
allDay: true
startTime:
endTime:
date: 2023-04-03
endDate: 2023-04-03
In full-calendar, this event is shown for 2023-04-03, an All-Day-Event.
Now extend this event for another day:
allDay: true
startTime:
endTime:
date: 2023-04-03
endDate: 2023-04-04
In full-calendar, this event is shown for 2023-04-03, an All-Day-Event, as before.
Expected behavior
The event should now cover two days, if date and endDate are on two consecutive days.
Device info (please complete the following information):

OS: [macOS 10.15.7]
Plugin Version [e.g. 0.10.5]

This is working as intended. The end date is an exclusive bound, so if you're setting it directly, you need to set the end date to be the day after the intended end date for it to show up properly on the calendar. See #259

@davish I just would like to say that "The end date is an exclusive bound" is not really what the average user would be expecting - on all calendar tools I have used, the last date given for recurring events is included in the event range.  I was fooled by this too, and was going to enter it as a bug...


[#156125470] refactor wrapRequestMiddleware

closing as this does not add any value apart from "linearizing" nested code branch


Terminate on SIGTERM

If the process is running via supervisord or similar it needs to be able to terminate via SIGTERM

Any chance to merge this?

Thanks for the pull request @aleemb. While this does solve your immediate problem, I'd rather handle SIGTERM properly and gracefully exit, while SIGQUIT and SIGKILL will immediately exit. SIGTERM should finish handling any incoming requests and ensure all outgoing requests have finished before finally exiting (perhaps with a timeout to eventually exit if the current requests do not finish in time). This will ensure that any pending errors are not lost, unless the agent is explicitly killed via SIGQUIT.
This will match the behaviour of other popular daemons such as gunicorn, nginx, unicorn and even Heroku.


Drop same-page-definition-jump feature

👋
GitHub has a good code explorer now

Hey, it's the feature I requested! 😊


Incorrect value of optional Double

Hi, it seems like there is a problem when a property of optional double value has value something like = 0.1
After map it with ObjectMapper then the value becomes 0.100000000001
It won't occur when the value is like 1.01 or other similar number.

Hi, thanks for the report I'll check this one when I have time available.

@avjiang I added some test cases to try to reproduce an issue you faced but was unable to catch it for 64-bit nor 32-bit devices. Could you provide a JSON or at least a part of it you were trying to map?
Also, you may checkout the latest commit and perform tests yourself in TypeCastSpec.swift. for Example/ObjectMapperAdditions.xcworkspace.

First i would like to apologize if this might not be the case from this library.
I have this model
public struct ItemDO {
        public var margin: Double? = 0.00
}

// instantiate the object
var object = ItemDO()
object.margin = 0.1

print("\(object.toJSONString()!)")

I looked at the debugger and it returns me 0.10000000001.  I am not sure why

I was able to reproduce, thanks! Investigating...

@avjiang related to this one https://stackoverflow.com/questions/35053577/nsjsonserialization-with-small-decimal-numbers
Sadly, it can be fixed at https://github.com/tristanhimmelman/ObjectMapper only so please report there. Basically, it's more of the Apple issue and happens in Mapper.swift:389 when using system mapping JSONData = try JSONSerialization.data(withJSONObject: JSONObject, options: options) but ye there is a workaround possible.

thanks @anton-plebanovich for the explanation.
I have raised this issue to the library page. So i guess i have to wait now
Thanks!


[TOOLS] Explore cytoscape for graph visualization

Explore http://js.cytoscape.org/ for visualization SSA-like graphs derived from Emma Core expressions.

@ParkL What is the status on that issue? Can we close this?

Yes, was explored.


Create a PackageVersion struct to describe each manifest and its artifact.

This is a temporary way to introduce metadata for docker images. Because we cannot securely sign metadata inside of nodes we will be creating unsigned PackageVersion objects. When the DockerHub proxy is implemented, it will be a source of signed metadata about docker images. Once we have that, this goes away.

There's no attach PR and this is in review 😕
Please update the PR with the link to this issue 🙏


OTU names in output table?

I wondered if the OTU names could be included in the output table? At the moment ancom$res (output table) doesn't include a column with OTU names matching those in the input counts table.
I presume the output is returned in the same order i.e. row 1 in counts table corresponds to row one in the output table, but having the names included would be reassuring
Thanks

Hi @NBaileyNCL,
Sorry for missing your request! Currently, the ANCOM-BC model has been published on Bioconductor and your concern has been addressed. For any future requests, please refer to the corresponding R package repository.
Thank you,
Huang

Hi @NBaileyNCL,
Sorry for missing your request! Currently, the ANCOM-BC model has been published on Bioconductor and your concern has been addressed. For any future requests, please refer to the corresponding R package repository.
Thank you,
Huang


minor readability/consistency change

A local variable services was declared after some initial configuration, so I just moved that declaration further up. I'd also be happy to just remove the local variable altogether, but felt like it was worth having consistency either way!

Thanks @erinnmclaughlin .. perhaps you're interested in making another contribution somewhere?


[Protozero] Add new port

Describe the pull request

What does your PR fix? Fixes #
It adds new port for protozero https://github.com/mapbox/protozero
Which triplets are supported/not supported? Have you updated the CI baseline?
header only
Does your PR follow the maintainer guide?
Yes

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: am2222 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

edited the port https://github.com/microsoft/vcpkg/pull/11652


gradle29: added

adds gradle 2.9

We're reconsidering some of the new things in homebrew-versions. What's your use-case for needing an older version? ThankS!


How to log queries for debugging

Asked in Gitter.
Answer: Start the server with --vmodule=executor=2 (log all queries) or set the env var COCKROACH_TRACE_SQL to a duration to log all queries longer than that duration.
The --vmodule logging flag is currently undocumented.

Decided to leave cockroach debug and debugging logging flags undocumented for now.

We probably don't want do document these options, but we should add a new option for logging queries that we can document (maybe a setting in some system configuration table instead of something to be set on each node at startup)

@bdarnell , that makes sense. Do we have a cockroach issue for that work yet, or should I create one?

I don't see an open issue for query logging. If we want to use a system settings table for this, that's tracked in cockroachdb/cockroach#9304.

Related to #1197

Can now also use a cluster setting to log sql queries:
SET CLUSTER SETTING sql.trace.log_statement_execute = true


BASEDEF open source contribution methodology

Hi there, glad to see your open source Friday guide. It's a topic near to my heart. Wrote about a technique for organizing technical and non-technical contributors that I thought you'd like. Perhaps you can incorporate the BASEDEF idea into your guide.
https://begriffs.com/posts/2016-01-29-making-twenty-percent-time-work.html
Cheers.

Thanks for the kind words and blog post. We're not interested in incorporating these changes at this time but thanks again for the suggestion.


tap-to-zoom without using BouncingScrollPhysics

Currently, the outer ListView must be set to BouncingScrollPhysics as animateTo does not seem to work with ClampingScrollPhysics, at least the way it is being used currently. There are probably multiple ways to solve this:

Create custom scrollphysics implementation: just copy whatever allows BouncingScrollPhysics to work and remove the bouncing, probably something to do with an overscroll related property.
Stop using animateTo and animate the transition directly using jumpTo or simmilar
Report the current ClampingScrollPhysics behavior as a bug to the Flutter repo: it might be difficult to reproduce this big in a minimal way. Obviously animateTo works in the general case; it is still unclear what exactly is causing the issue here.

When tap-to-zoom is not enabled, the scrollphysics is still set to ClampingScrollPhysics, as scrolling a vertical list with extra horizontal movement at the edges is not a great experience.

The cause of the behavior is documented in ScrollPosition's animateTo:

  /// An animation will be interrupted whenever the user attempts to scroll
  /// manually, or whenever another activity is started, or whenever the
  /// animation reaches the edge of the viewport and attempts to overscroll. (If
  /// the [ScrollPosition] does not overscroll but instead allows scrolling
  /// beyond the extents, then going beyond the extents will not interrupt the
  /// animation.)

ClampingScrollPhysics does not allow overscroll where BouncingScrollPhysics does.
However, It is not as simple as just using  BouncingScrollPhysics with the spring simulation turned off. I have tried almost every scrollphysics setting but failed to make a custom scrollphysics class that allowed animateTo but did not allow user scrolling.

Fixed as explained in above issue


How to Custom Data-AttributesJsonConverter

In extending (but failed), I am unable to get the right data-attribute format, I tried to extend but the unable to get the data-attribute output, so I can embed the string inside a div tag with the attributes as property names/key, and values

Can you please help:  in formatting C# objects properties : values to get output in HTML5 data attributes=values, as example below

From this:
// sample instance with values of customer liz
public class Customer
{
    // deserialize the objects public properties & values ..  to HTML `data-key(or attribute) = [value]`
    Name = Liz;
    Type  =  Premium;
    Address =  Srilanka 12 st
}

//  --> to this JSON object

Id1 : {
   // Name & Type are C# POCO the object property,
   data-Name="Liz" ,
    data-Type="Premium" },

Id2: {
    data-Name="bell" ,
    data-Type="Gold"
  }
...

To this:
I want to get it in the form of HTML5
data-property=[value] needs to be  data-Name=[Liz] , but I am getting a nested list rather that a string... added to the data-* attributes in HTML5

is there a json HTML stringify way to deserialize the object so that all the values into this format -> data-property name=["{property-value}"]

how to get this HTML ??
I want to embded the json string inside a div tag  <div ...   data-Name="Liz" data-Type="Premium"> Your Order</>?

public class DataAttributesJsonConverter : JsonConverter
{
    private readonly Type[] _types;

    public DataAttributesJsonConverter (params Type[] types)
    {
        _types = types;
    }

    public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
    {
        JToken t = JToken.FromObject(value);

        if (t.Type != JTokenType.Object)
        {
            t.WriteTo(writer);
        }
        else
        {
            JObject o = (JObject)t;
            IList<string> propertyNames = o.Properties().Select(p => p.Name).ToList();

            o.AddFirst(new JProperty("data-", new JArray(propertyNames)));

            o.WriteTo(writer);
        }
    }

It is imo better to ask questions to the effect of "how do i achieve this or that while using Newtonsoft.Json" over on https://stackoverflow.com, as this here is Newtonsoft.Json's issue tracker meant for reporting issues / bugs with the library and related resources such as its documentation.


Load v4 variants

Add configuration to the export_to_elasticsearch pipeline and load v4 variants into Elasticsearch.

Close by #1178


code execution implementation

Implemented the logic to run the Blockly code using the chosen language generator (in our default case, Python). Also added a button on the toolbar to run the code, following this example.

Thank you for the feedback @hbcarlos! I added the run icon for the button and made the changes in the base.css file to fix the hover issue of the button. It looks great!


Does not compile for DigiSpark Pro (AtTiny167)

Arduino: 1.6.9 (Mac OS X), Board: "Digispark Pro (Default 16 Mhz)"
...
In file included from /Users/flounder/OneDrive/Projects/XXX/V2/Sketches/Temperature/Temperature.ino:4:0:
/Users/flounder/Documents/Arduino/libraries/DeepSleepScheduler/DeepSleepScheduler.h: In member function 'Scheduler::SleepMode Scheduler::evaluateSleepModeAndEnableWdtIfRequired()':
/Users/flounder/Documents/Arduino/libraries/DeepSleepScheduler/DeepSleepScheduler.h:707:7: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDCE) | (1 << WDIE);
       ^
/Users/flounder/Documents/Arduino/libraries/DeepSleepScheduler/DeepSleepScheduler.h:715:5: error: 'WDTCSR' was not declared in this scope
     WDTCSR |= (1 << WDCE) | (1 << WDIE);
     ^
Using library DeepSleepScheduler at version 2.0.0 in folder: /Users/flounder/Documents/Arduino/libraries/DeepSleepScheduler
...
exit status 1
Error compiling for board Digispark Pro (Default 16 Mhz).

Note that this compiles for the Arduino UNO and the Adafruit 32U4 Feathers.  The code appears to be consistent with the code shown on page 55 of the AtTiny167 data sheet, except for the name of the register (WDTCR) and the C-language interface (which I presume is a difference between the Atmel IDE and the Aduino IDE).
We are on a very short fuse to deliver a prototype, so an immediate reply would be greatly appreciated.
joe

Hi Joe,
Do you know what the change needs to be to support both CPU's? I'm happy to add ifdef to support them both. Perfect would be if you could do a pull request with it.
Cheers,
Pete

Hi Joe,
I added #ifdef for the AtTiny CPUs and it compiles now.
Unfortunately, I don't have such a CPU to do tests. Could you do that?
The change is on the following branch:
https://github.com/PRosenb/DeepSleepScheduler/tree/supportAtTiny167
Thanks,
Pete

Hi Joe,
I added #ifdef for the AtTiny CPUs and it compiles now.
Unfortunately, I don't have such a CPU to do tests. Could you do that?
The change is on the following branch:
https://github.com/PRosenb/DeepSleepScheduler/tree/supportAtTiny167
Thanks,
Pete
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/PRosenb/DeepSleepScheduler/issues/1#issuecomment-252850241
Thanks.  I will download it sometime later tonight, after I have enough
sleep that I'm not falling facedown into the keyboard (you know your hours
are too long when people start asking "Why on earth did you have your face
tatooed with RTYFGHCVBN and set it up so you can only read it in a
mirror?")

Hi Joe,
How are you going with the changes?
Cheers,
Pete

Nothing. I am finally out of bed after 24 hours of misery, and have been
at the computer less than ten minutes.
joe

Hi Joe,
How are you going with the changes?
Cheers,
Pete
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/PRosenb/DeepSleepScheduler/issues/1#issuecomment-253345106

Is it working now?


Tuple in np.array constructor fails without clear error only upon direct assignment to secondary array

Reporting a bug

[X] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[X] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

I have taken to always using tuples in my numpy array constructors in numba so that multi-dimensional arrays work correctly (as specified by the docs here). I have some functions that are known to work under numba 0.45.1 and just fine in raw python. With 0.47 and 0.48 some of these functions mysteriously stop working. (Assume q is some 2D numpy array, say, np.zeros((3,10)))
@njit
def working(q):
    lin = np.array((0.1, 0.6, 0.3))
    x = lin / q[0, 0:3]

@njit
def not_working(q):
    lin = np.array((0.1, 0.6, 0.3))
    stencil = np.zeros((3,3))
    stencil[0, 0] = q[0, 0]

The function working compiles without any problems, as will not_working if the definition of lin is removed. In the form presented above, the error is:
---------------------------------------------------------------------------
RedefinedError                            Traceback (most recent call last)
<ipython-input-5-44297253a00f> in <module>
----> 1 not_working(np.ones((3,10)))

/local0/scratch/cmo/miniconda3/envs/LightweaverDev/lib/python3.8/site-packages/numba/dispatcher.py in _compile_for_args(self, *args, **kws)
    407             # These errors are probably from an issue with either the code supplied
    408             # being syntactically or otherwise invalid
--> 409             error_rewrite(e, 'interpreter')
    410         except errors.ConstantInferenceError as e:
    411             # this is from trying to infer something as constant when it isn't

/local0/scratch/cmo/miniconda3/envs/LightweaverDev/lib/python3.8/site-packages/numba/dispatcher.py in error_rewrite(e, issue_type)
    342                 raise e
    343             else:
--> 344                 reraise(type(e), e, None)
    345
    346         argtypes = []

/local0/scratch/cmo/miniconda3/envs/LightweaverDev/lib/python3.8/site-packages/numba/six.py in reraise(tp, value, tb)
    666             value = tp()
    667         if value.__traceback__ is not tb:
--> 668             raise value.with_traceback(tb)
    669         raise value
    670

RedefinedError: Failed in nopython mode pipeline (step: analyzing bytecode)
$const_0.1

Simply changing lin to take a list in the constructor mysteriously makes the function compile again.
@njit
def also_working(q):
    lin = np.array([0.1, 0.6, 0.3])
    stencil = np.zeros((3,3))
    stencil[0, 0] = q[0, 0]

The multi-dimensional arrays seem to be fine constructed from tuples, as changing the definition of lin to np.array(((0.1, 0.6, 0.3), )) allows the function to compile.
Should we just be using lists in the numpy constructors for 1D arrays?

I just found that changing the definition of lin to np.array((1.0, 2.0, 3.0)) doesn't cause the error, but changing the first number to 0.2 changes the variable in the error message to $const_0.2, so something in the naming scheme for constants is presumably clashing with the numbers put into this tuple...

Thanks for the report. Pretty sure this is due to a bad interaction between op_LOAD_CONST in the interpreter and the naming scheme in there:
https://github.com/numba/numba/blob/a4413366a946459c8f0929e1556ee9ee765fc7c2/numba/core/interpreter.py#L722-L734
along with the edefinition scheme in the scope:
https://github.com/numba/numba/blob/a4413366a946459c8f0929e1556ee9ee765fc7c2/numba/core/interpreter.py#L394
The result being two consts get the same "name". SSA should resolve.


Feature Request for magic_link strategy

I would love to use Ash for the next version of https://www.vutuv.de (a social network Phoenix application). We don't store any passwords but send a magic_link by email or a PIN code by SMS.  It would be great if ash_authentication would support sending a magic_link. Thank you for the great work!

@wintermeyer thanks for the request. I'll take a look at supporting it and report back.

Closed by #184


"Games not played" count is immensely wrong

The "Games not played" count on my profile says I never played 582 games (~20% of total).
Actually the right number is 17 (>1%, and among them there are 5 DLCs and 5 videos so the actual number is even smaller).
How's this? Is it a bug or am I missing something out? Thanks.

Do all these games have gameplay of less than 5 minutes?

Less than 5 minutes is considered "not played"?

Our code doesn't consider them played, yes.


Cannot update to 0.18.1

Environment
Windows build number: 10.0.18363.836
PowerToys version: 0.18.0

Steps to reproduce

Click the update button in the update notification.
Expected behavior

Update to the new version.
Actual behavior

An error message is shown saying: "The specified account already exists"
Screenshots

I get the same issue.   I did install Windows Terminal via the Office store, before intalling PowerToys using WinGet. This may be  causing this issue.

I have just installed the PowerToys on another laptop.  Looks like the terminal has been removed from this repo, so I installed it via the Office sotre . Will check to see if this has the same issue.

is this still a problem?

The update works at least since version 0.20.0, thanks.


Add explicit parameter value correctness checks

What is the expected enhancement?
Currently algorithm parameters are either not checked for correctness or checked in a few places. Despite we have type hints, users may supply whatever they want values, e.g. None where it is not supported. For instance, if a user passes None as a lost function an exception like 'NoneType' object has no attribute 'lower' is raised.
This enhancement request should address this issue and introduce additional type and correctness checks across the module. If a wrong value is passed a friendly message should raised in the exception. I'm open to discuss how such checks can implemented and whether they even required. I'd happy to see if @woodsp-ibm has an opinion on this issue. Perhaps, such things should be implemented similarly across modules/projects.

If I read the text above correctly you are talking about both values and type - the title has 'parameter value' and if the intent is to span both then maybe drop 'value' from it.
In regards of the attribute error example, you will also get the same at runtime if you pass in some other valid non-None object that does not have an attribute lower. Of course it maybe another type instance you created that conforms to what is needed, and lo and behold just works due to duck-typing. How many places would you want to guard against None at runtime explicitly? Certainly for other values we may want to guard them, and indeed do in many places, where giving some values may not fail but the result is meaningless and a user may not be able to determine this, so we fail early when we know it will be the case. Given your above example, and my extension thereof, you have the error whereby a person with a reasonable understanding of Python will understand/figure out what is going on.
As to whether we want to do it or not, that's another big question I guess! Presently I see type checking mainly occurring in places where a parameter can be a Union of different types that need slightly different processing. In this case there can be an else at the end where any unsupported type being passed is raised as an error. In this case it seems valid. But in general type checking at runtime so far has not been done. It could be a lot of code checking in all the public APIs we have and it seems to go against the grain for duck typing. The type hints were added to allow mypy, or your IDE etc, to highlight mismatches where they can, so you can address things early statically where/if possible.
Whatever is done, if anything, I guess needs to be account for usability, maintainability and the pythonic way of doing things.

My bad, somehow I hit the close button accidentally! Where is that UI runtime checking when I needed it!

Python follows the EAFP principle: https://www.geeksforgeeks.org/eafp-principle-in-python/
Basically, if a parameter is passed incorrectly, throws an exception from the function itself or the runtime. If a function can recover or if more description is needed, then it is ok to validate before hand.
Checking every argument for every function before usage is irregular usage of python but I will leave to @mtreinish to comment further.

Close as won't fix.


Mod won't load

The golden village mod won't load. The game crashes on the loading screen. I'm currently running version 3.0.7 of mod loader. Should I be using an older version?

yea me too


Deploy fails trying to find website directory

The code is fairly straightforward but I don't know Alpine well.  This error surfaces, '/entrypoint.sh: cd: line 41: can't cd to website: No such file or directory'  All secrets are set on github.  Tried to prefix a slash to the dir name and also swap out for project name but no luck.
Would appreciate any tips or tricks.  TIA.

@weisisheng I am no longer at turner/warnermedia so I published a new GitHub action that supports latetest version of Docusaurus and corrects this issue, go take a look https://github.com/marketplace/actions/docusaurus-v2-s3-sync


Deleting drafts triggers site.changed webhook

Issue Summary
Deleting draft posts triggers the site.changed webhook. I assume, though, that site.changed is supposed to mean "something happened that changed the website's published[^1] front-end content." Accordingly, creating a draft post and updating a draft post do not trigger the site.changed webhook.
[^1]: From personal testing, e-mail-only posts and previews seem excluded from Ghost's definition of "published"
Why It Matters
I use the site.changed webhook to trigger cache purges. When I delete a draft post, the site.changed webhook clears my front-end cache, even though there weren't any changes to the website's published front-end content.
Steps to Reproduce

Create a site.changed webhook for monitoring
Create and save a draft post
Delete the draft post
Check the [last triggered] status of the site.changed webhook

Thoughts on Resolution
The post.unpublished webhook triggers when a published post is unpublished either by means of being reverted to draft status or by being deleted. It avoids triggering when a draft post is deleted. Could similar logic be used as part of the site.changed webhook?
I assume the issue also applies to deleting draft pages, but I haven't tested.
Ghost Version
6.101.1
Node.js Version
18.20.4
How did you install Ghost?
Docker ghost:5-alpine
Database type
MySQL 8
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Thanks for the bug report - you've assessed correctly, this is very much unexpected behaviour.
Would love a PR for this if you fancy taking a stab at a fix 🙏


Update outreach

This PR is attempting several things:

have a system of versions captured in variables under vars section of the playbook, thus making those variables public (discussed recently on a call)
use those variables for versioning of OMERO, web and webapps as well as cli plugins
add new folder for a new server side script as well as install that script which is needed for users meeting (cc @will-moore )
accept the openmicroscopy.postgresql-3 as the role to use for postgres in this playbook (although this was done just by checking out master from this repo, the playbook was never run on outreach yet with this role)
abandon running this playbook from MT, instead run it always from this repo, using ansible-playbook -i /Users/pwalczysko/Work/management/ansible/inventory/prod-hosts --become  omero/training-server/playbook.yml  --diff command
adjust the version of OMERO.iviewer using the test.pypi routine, because that matches the status quo on the server. The plan is to use rather Pypi, but the release (0.5.x) will happen only next week. Thus the introducing of this routine makes sure that the playbook will not accidentally downgrade the iviewer to the last released version (0.4.x)

To test:

The playbook was already tested on outreach, with success. The outreach is now on 5.4.6 OMERO and web, as well as render cli plugin is on 0.3.0. The test.pypi routine caused that iviewer is on 1.0.1 which is a test.pypi version only, and thus there are no changes as compared to the state in the TIM outreach workshop, as intended.
Check the sensibility of the changes, especially the version vars. After consultation with @kennethgillen , I actually now govern the versions via the defaults of the version vars in the vars: section of the playbook @joshmoore @sbesson . This kind of makes sense to me, but open for suggestions. There definitely might be easier systems.

cc @jburel With this playbook, the further upgrades of outreach should be just matter of re-running the playbook with changes of the version vars (except for iviewer, where we will abandon the test.pypi routine in favor of simple pypi install).

version on testpy 1.0.2 I think
but that will be changed early next

@jburel I did not understand what is the iviewer 1.0.2 (and the figure 3.2.2) on testpypi, so I stuck to what is at present on outreach (iviewer 1.0.1)

Travis is failing:
TASK [Omero.web plugins testpypi | plugin install via testpypi] ****************
fatal: [outreach.openmicroscopy.org]: FAILED! => {"changed": false, "cmd": "/opt/omero/web/venv/bin/pip2 install -i https://testpypi.python.org/pypi omero-iviewer==1.0.1", "failed": true, "msg": "stdout: Collecting omero-iviewer==1.0.1\n\n:stderr:   Could not find a version that satisfies the requirement omero-iviewer==1.0.1 (from versions: 1.0.2)\nNo matching distribution found for omero-iviewer==1.0.1\nYou are using pip version 9.0.1, however version 10.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}

@manics Thank you for clarifying the Travis. This is because there is no version of iviewer 1.0.1 anymore on tespypi. Instead, there is a version called 1.0.2.
But on outreach server itself, there is 1.0.1 installed, and thus ansible skips any action on that point (that is how i explain to myself why it is not failing on outreach).
To be fair, I much prefer not trying to install the 1.0.2 version from testpypi because

it is one more step which does not add anything valuable for outreach
testpypi logic will be abandoned completely
this week a pypi version of iveiewer will be released and the normal pypi routine will be introduced in this playbook here as well

What is the best solution in this kind of situation ? I was contemplating completely removing any mentions of iviewer from the playbook for now, but does that guarantee no-action regarding iviewer when the playbook is playied ?

mapr will need config from https://docs.google.com/document/d/1qXFzeIlijNUDxjRSAIEYZmmeiS4OCREyP_xq7BXOMBs/edit#heading=h.gbtubsz7ki5k
to make it useable.

Initial monitoring has been added to the outreach server in https://github.com/pwalczysko/prod-playbooks/pull/2

Configuration of parade needs to be adjusted.
We should not have a link in the header

Tested on outreach, all went fine, outreach is fine too.
@manics indicated merging would help him to continue better in his workshop prep

The script is now at https://raw.githubusercontent.com/ome/training-scripts/master/practical/python/server/scipy_gaussian_filter.py

Merging so @manics can move forward and I will open a PR fixing the script link

:+1: for merging. My only comment that I have for our future refactoring is that I think we need to centralize/rationalize the mapr configuration. All of us have some version of mapr config cut-n-paste (mine is in https://github.com/openmicroscopy/omero-test-infra/pull/12/files#diff-be636689a37ba9fdbb21de2c6616d21aR27) and it seems we could make our lives simpler.
cc: @will-moore

and probably parade later on

@joshmoore That links to
https://raw.githubusercontent.com/IDR/deployment/{{ idr_deployment_release }}/ansible/group_vars/omero-hosts.yml

which I don't understand as mapr config?

@will-moore : I'm copying the entire IDR config file as my starting point.

OK, so what does that config look like?
Where is the config? I'm looking for something like
{"menu": "gene", "config": {
    "default": ["Gene Symbol"],
    "all": ["Gene Symbol", "Gene Identifier"],
    "ns": ["openmicroscopy.org/mapr/gene"],
    "label": "Gene"}}

but all I see is:
https://raw.githubusercontent.com/IDR/deployment/{{ idr_deployment_release }}/ansible/group_vars/omero-hosts.yml

which means nothing to me.

@will-moore
try https://raw.githubusercontent.com/IDR/deployment/IDR-0.4.5/ansible/group_vars/omero-hosts.yml
you have to resolve the variable idr_deployment_release as  something (I took the value from the playbook @joshmoore linked to). In the link I pasted, search for mapr.

OK, thanks. Sorry, I was just expecting a link direct to the config, not to some code I had to resolve to get a link.
But interesting to see plenty of "all": [] in the config, since I only worked out that this was valid by studying the mapr code.
I wonder if we should make this config public (link to it from https://github.com/ome/omero-mapr.
In fact, I see that I haven't updated that with any examples of "all": [].


Inconstant inheritAttrs behavior in production and development

Version
3.0.2
Reproduction link
https://github.com/07akioni/vue-inherit-attrs-bug
Steps to reproduce

npm run dev

npm run build, then serve dist

What is expected?
I'm not sure which is expected by vue.
I expect the dev behavior
What is actually happening?
behavior is inconstant

I'd rather say that the dev behaviour is wrong.

slots return a fragment,
and as the component has the slot as it's root node, it returns a fragment
and attribute inheritance is not supported on fragments.

However in dev, components can "accidentally return a fragment if they have one root node but also one or more root comments, which are preserved in dev, but not in prod.
So in dev, we "pull out" this root node from the fragment - and in this instance, that should not happen as no comments are involved.
Relevant code:
https://github.com/vuejs/vue-next/blob/f28ca556925147bb109d5ba77c5dafaf17d57322/packages/runtime-core/src/componentRenderUtils.ts#L216-L247

Why attribute inheritance is not supported on fragments,is it limited by the difficulty of implementation? @LinusBorg

Because its unclear on which element to inherit.

Only the first one?
Or all?

The latter would create invalid HTML for an id attribute, for example, but it could be useful for a class.

I got it, thx.


Allow emulator to be used with sunny tripower

After experimenting with the simulator from https://github.com/RalfOGit/sma-emeter-simulator, it seems that the Sunny Tripower just want more obis data parts.
This pull requests adds a setting to enable full data mode, compatible with the STP 10.0 (testet on my local inverter). In full data mode, all power totals and the values for each phase are included in the data packet although only with static values.

Hi Roeland
I did the development of this PR in the online Git only. So there might be some spelling mistakes but I hope i got it all right.
Also I could not test the code as i am not used to python or making and deploying docker images for home assistant... If this is not ok, just tell me and I will try to get the know how together and test everything on my local system first.

Hi thanks for your contribution. I will try to review and test this asap.

I have created a test version 0.1.1-rc1 that will always send the complete package. You can install it if you add the following repository to your addon store https://github.com/Roeland54/SMA-Energy-Meter-emulator#next
Can you test and report back?

Thanks for creating the test version so quickly. Just tried it out and it works as expected: both my STP 10.0 inverters (Firmware version: 3.4.16.R) are now able to detect and use the emulator.


AttributeError: 'AS400Reflector' object has no attribute 'get_unique_constraints'

I was trying to use table reflection on AS400 tables with this package and received an AttributeError.
Steps to reproduce:
engine = create_engine('db2+zxjdbc400://user:pass@as400;prompt=false')
quote_reflected = Table('MYTABLE', metadata, autoload=True, autoload_with=engine, schema='COMPANY')

I see that the linked issue has been closed and hence closing this as well.
In case the issue needs attention please raise a new one with the details of the error seen.


Pin rack to 1.x

Not able to run tests without this.

Can you take a look @iNecas or @domcleal ?
I plan to make new release after tests are green again.

I don't know this project's test suite, and also don't see any test results via the build status on the branches to suggest whether it's correct or not.

I don't know this project's test suite, and also don't see any test results via the build status on the branches to suggest whether it's correct or not.

I run it in beaker:
https://github.com/theforeman/foreman-bats/blob/master/fb-install-ovirt.bats
--
Later,
Lukas #lzap Zapletal

Makes sense to me


Error occurs in nn.vmap while variable_axes is a nested dict

Hello, I am trying to use nn.vmap to vectorize a module in flax, and some parameters are shared over batches. Here is an example:
class Test(nn.Module):

    @nn.compact
    def __call__(self, x):

        x = nn.Dense(4)(x)
        return nn.Dense(2)(x)

BatchTest = nn.vmap(
    Test,
    in_axes=0,
    out_axes=0,
    variable_axes={'params': {'Dense_0': {'bias': None, 'kernel': None}, 'Dense_1': {'bias': 0, 'kernel': 0}}},
    split_rngs={'params': False},
)

_params = BatchTest().init({'params': jax.random.PRNGKey(42)}, jnp.zeros((3, 3)))

Here the first dense layer's parameters are expected to be shared over batches. However, I got the error report:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[13], line 9
      1 BatchTest = nn.vmap(
      2     Test,
      3     in_axes=0,
   (...)
      6     split_rngs={'params': False},
      7 )
----> 9 _params = BatchTest().init({'params': jax.random.PRNGKey(42)}, jnp.zeros((3, 3)))
    [... skipping hidden 11 frame]
File ~/miniconda3/envs/jax/lib/python3.9/site-packages/jax/_src/tree_util.py:243, in <listcomp>(.0)
    210 """Maps a multi-input function over pytree args to produce a new pytree.
    211
    212 Args:
   (...)
    240   [[5, 7, 9], [6, 1, 2]]
    241 """
    242 leaves, treedef = tree_flatten(tree, is_leaf)
--> 243 all_leaves = [leaves] + [treedef.flatten_up_to(r) for r in rest]
    244 return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
ValueError: Expected dict, got ({},).

I wonder if there are ways to solve the problem?

I believe variable_axes cannot be a nested dictionary. It can, at most, be a dictionary at the top-level, for example: variable_axes={'params': 0}


Add security contexts claudie manifests

Closes #844
Droped CAPs are only on part of the microservices, where I was able to ssh into the pod and check what linux capabilities are used. Ones that doesn't have that specified - do not have any shell installed

Ones that doesn't have that specified - do not have any shell installed

I am not 100% sure, but I feel as though we should deal with those too


Add version requirements to docs

The readme should list requirements for the project
Like:

node version
teraform version

I would like to work on this issue. Please assign me.

Assigned @akj2018

@akj2018 should I un assign this? Just checking in.

Apologies for being inactive @antonioortegajr .
I am on it. Will complete it asap. Thank you!

Hi @antonioortegajr
I have mentioned the Version Requirements in the Pull Request #25
Let me know if it requires any changes.
Thanks