Chained IncludeFilter invalid result for last level

Description
Loading a graph of objects with chained IncludeFilter does not work for last level.
An AlertDetail object has a TrackedVehicule which as an Array of FleetDetail which has a Fleet.
So were are dealing with 1-1-n-1 relationships.
The following query:
context.AlertDetailsDbSet
.IncludeFilter(ad => ad.TrackedVehicule)
.IncludeFilter(ad => ad.TrackedVehicule.FleetDetail.Where(fd => fd.RowEnabled == true))
.IncludeFilter(ad => ad.TrackedVehicule.FleetDetail.Select(u => u.Fleet).Where(f => f.RowEnabled == true && f.CompanyId == companyId))

Brings back all entities in the graph except the last one Fleet. I've removed the last restriction to make sure that it was not the problem.
I think that it might be a usage issue on my side but I can't figure it out right now.
Further technical details

EF version: 3.1
EF Plus version: Core 3.0.24
Database Provider: MS SQL

Hello @omatrot ,
Perhaps that's not the problem but you must continue to chain where clause as well if you re-use the navigation properties.
You are missing the .Where(fd => fd.RowEnabled == true) part in your third IncludeFilter
context.AlertDetailsDbSet
.IncludeFilter(ad => ad.TrackedVehicule)
.IncludeFilter(ad => ad.TrackedVehicule.FleetDetail.Where(fd => fd.RowEnabled == true))
.IncludeFilter(ad => ad.TrackedVehicule.FleetDetail.Where(fd => fd.RowEnabled == true).Select(u => u.Fleet).Where(f => f.RowEnabled == true && f.CompanyId == companyId))

If you still have the issue, please try to provide a project sample or Fiddle that shows the issue. We already have a unit test with multiple Include level which works fine.
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

I still have the issue. A dotnet fiddle is on its way.

I have a problem with a wrong column used as a foreign key which explains the behavior I'm experiencing. This has nothing to to with EFPlus. Closing.


Dict's insert is not compatible with PlutusTx

I'd like to point out that the behaviour of PlutusTx's AssocMap insert and  aiken's Dict insert is not the same.
PlutusTx's insert is inserting new items to the end of the list where aiken's insert puts them based on sorting order AFAIU.
This means that e.g. CSL is incompatible with aiken on-chain (based on this change - https://github.com/Emurgo/cardano-serialization-lib/issues/573)

Indeed. Aiken maintains an invariant on-chain that the list is ordered, which matches the behavior of the Cardano ledger.

@KristianBalaj: This means that e.g. CSL is incompatible with aiken on-chain

I am not sure to understand this claim? I'd argue that this makes Aiken MORE compatible with the CSL from reading this issue.

I am not sure to understand this claim? I'd argue that this makes Aiken MORE compatible with the CSL from reading this issue.

Yes, but the behavior got changed to the unsorted version as a reaction to that issue AFAIK.

I was actually kinda confused about all this yesterday. We could just have another type called Map in stdlib that is compatible.

I was actually kinda confused about all this yesterday. We could just have another type called Map in stdlib that is compatible.

Yup, I think that would be a good solution supporting both cases.

I've given this more thought when I've implemented the Map for my needs and I've realized that it shouldn't be in the stdlib.
As I've mentioned the CSL, it doesn't already change the order of Map items when serialised/deserialised (this was changed based on the referenced issue).
That said, with such behaviour both unordered and ordered implementations of Map are supported by CSL, since it doesn't modify the order anymore and just takes and transforms what it gets.
IMO, the aiken's dict is much more effective/performant with it's invariants in most cases that an unordered version. The purpose of the unordered version would be to just make something backward compatible with PlutusTx and for new stuff build using the aiken's dict.
For that reason the unordered version has just a very specific use and shouldn't be part of the stdlib.
The only important thing is that the off-chain framework has to use the same behaviour of the dict as the on-chain.
That said, this issue can be closed if you agree.

@KristianBalaj makes sense to me, closing for now. Thanks for coming back to this.


Allow specifying list of source file search paths in environment var

This is useful for binaries (using backward-cpp) that are built with
relative source file paths.  In such a situation, backward-cpp will
generally not be able to locate the source files.  This change allows
the user to specify a delimited list of search paths in the following
environment variable:
BACKWARD_CXX_SOURCE_PREFIXES

The paths are separated by semicolons on Windows and colons otherwise.
When the environment variable is set, those search paths will be tried
first.  If they do not yield any valid files then backward-cpp will
fall back to current behavior.
Fixes #153

@bombela please take a look

@bombela Can you take a look at this PR?  Thanks

@bombela Thanks for the review, I have implemented each of your suggestions, please take a look.  Thanks

@bombela Thanks I have implemented your suggestion; please merge when ready.

Thank you for all the hard work and your patience.


Editor cursor moves to document end after save

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.026Z)
OS Version: Windows_NT ia32 10.0.16299
Extensions:

Extension
Author (truncated)
Version

jshint
dba
0.10.15

vscode-eslint
dba
1.4.3

vscode-html-css
ecm
0.1.8

beautify
Hoo
1.1.1

vscode-JS-CSS-HTML-formatter
lon
0.2.3

HTMLHint
mka
0.4.0

LiveServer
rit
3.0.0

vscode-icons
rob
7.18.1

Steps to Reproduce:

Reproduces without extensions: Yes/No

After saving file the cursor goes to end of document instead of staying at current position. This is really annoying.

@computer0101
Can you give some more details, file type, sequence of events, behavior with all extensions disabled...

This usually happens in files having extensions like html, js, css.
Whenever I save the file cursor moves immediately to last line of document instead of staying on current line(the line I was on when I save the document.) so I have to scroll all over to top where I have to edit the document.

I've experienced this too in PHP files. Though not on save, it seems random and intermittent and I haven't found a way to reliably reproduce. It has happened prior to 1.18 too.

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:34:22.110Z)
OS Version: Linux x64 4.9.0-4-amd64
Extensions:

Extension
Author (truncated)
Version

vscode-docker
Pet
0.0.22

vscode-intelephense-client
bme
0.8.2

php-docblocker
nei
1.3.2

This is caused by the JS-CSS-HTML-Formatter extension and is being tracked in https://github.com/Lonefy/vscode-JS-CSS-HTML-formatter/issues/83


The autocomplete popup becomes very large when TabNine enabled in WebStorm

with TabNine enabled: (very large popup)

disabled: (normal size)

WebStrom version: 2019.3.3

TabNine plugin version: 0.1.8

Fixed and released in plugin version 0.1.9


Bower

Hi,
this seems nice! Is it possible to put it on bower?
Emmanuel

Thanks!
Are you using Angular2 with bower?

I'm using it with Meteor from the https://github.com/netanelgilad/meteor-angular2 module, but I use the bower plugin to add client libraries to my project.
Emmanuel

@epotvin thanks for the input! Just published to bower, angular2-moment.
How did you discover this module?

I searched angular2 and moment on google... You hit pretty high! Thanks for the quick response! I'll try it tonight and give you some feedback.
Emmanuel

thanks!


Disable snake_case conversion

Description
Effort to disable automatic snake_case conversion in operator-sdk.


"General" setting are completely gone...

Describe the bug
The "general" settings page is gone. Seems to be gone since June 8. Because of this, scheduled speedtests are also gone. All settings related to "general" are gone, and have to be set in ENV variables.
 This is getting old real fast.

 This is getting old real fast.

The beauty of open source is you don't have to use it if you don't like it and can fork it to your liking.
What I won't tolerate is rude or hostile comments towards myself or anyone else who contributes to this project. Consider this the only warning.

Boohoo. Keep your project to yourself if you don't want people giving their opinion on it. If I wanted to be rude or hostile, then you'd know it.


Move some models to candle-transformers so that it's easier to re-use.

This will also allow for models to be tested more easily.


Roll Flutter Engine from 9f247021387a to 2acf85098b88 (2 revisions)

https://github.com/flutter/engine/compare/9f247021387a...2acf85098b88
2023-02-24<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from O8Tsxg5k_mmhxYUTh... to yH66bYEkvZAwnmz1h... (flutter/engine#39852)
2023-02-24<EMAIL_ADDRESS>Roll Skia from aa36fbbd0c1d to 3f396dc3ef80 (1 revision) (flutter/engine#39849)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from O8Tsxg5k_mmh to yH66bYEkvZAw
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Provide example of use PDFJs on Angular 4

Im trying to use PDFJs on Angular 4 and i cant declarate on my module.ts. Please somebody can explain me how to use it.

Is it duplicate of #7364?

i cant declarate on my module.ts

It sounds like a common problem of using CommonJS/Node.js modules in TypeScript. It is out of scope of this project. Did you try to use it without TypeScript?
Please provide complete example of what you have so far.

Closing since no more information has been provided.

please see
https://github.com/ashishyadav0019/pdfJS_angular4_Ts.git

Try it:
npm i --save pdfjs-dist
and
import * as PDFJS from 'pdfjs-dist/build/pdf';

@gelevanog are you able to explain how to use pdfjs-dist in Angular to display a PDF?

Two options for angular2+.

https://github.com/VadimDez/ng2-pdf-viewer (Great for configuring)
https://www.npmjs.com/package/ng2-pdfjs-viewer (Uses ViewerJS as well. Full disclosure - This is created by me)

@gelevanog @mtpultz
Once you have done :
npm i --save pdfjs-dist
AND
,npm i @types/pdfjs-dist --save
Just import PDFJS in your components, services, guards, whatever files :
import { PDFJS } from 'pdfjs-dist'
and then just use PDFJS.getDocument() with a good IDE you will have types and informations on methods.
you can also import lot of other objects from pdfjs-dist, check documentation.

@mightytyphoon
How are you getting the import to work like so?
import { PDFJS } from 'pdfjs-dist';

The only way I've gotten this to work is with the following.
import { PDFJSStatic } from 'pdfjs-dist';
const PDFJS: PDFJSStatic = require('pdfjs-dist');

I'd much prefer your import, but whenever I do that, I tells me that PDFJS is undefined.
Any hints?

@jzgoda Do you have some example to help me?

@JaviRpo, I wrote this as a sample app to show how to get PDF.js working with Angular (7.1 at the time I wrote it): https://github.com/jzgoda/ng-pdfjs/tree/master/src/app

@jzgoda thanks for your help. I have one more question for you.
Why did you put this code?

With that code, I have a new Thread per pdf opened

If I modified the code a little bit to load 5 times the pdf

I have more Threads

Now, if I remove those lines

the PDF is still loading with a warning and an error per pdf loaded

So,

Why did you put this code?
Is there something missing?

I was following the docs/examples.
See the following links:
https://mozilla.github.io/pdf.js/examples/
https://github.com/mozilla/pdf.js/blob/master/examples/webpack/main.js
https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website

hey  how do we load all the pdfs at once right now it shows only one pdf


Could asserts in the constructor initialiser list not prevent to create a const constructor?

I'm not too sure this is valid, but if yes, it would be a nice improvement.
Right now, the asserts in the constructor initialiser list prevent to create a const constructor if they are not evaluating a const.
This is sad, since those asserts are not compiled in release mode.
For example:
class A {
  const A(this.a)
      : assert(() {
          // Not a constant.
          return true;
        }());  // <- Lint: Invalid const value
  final String a;
}

If I understood correctly, the assert are not compiled in release mode which is ahead of time. So the constructor could be a const in release mode.
They are only compiled in debug, which is right on time. And in this mode, nothing is really a const anyway because of the hot reload, isn't it?

cc @lrhn

asserts are not compiled in release mode.

That is actually not true, an assert in a constructor initializer list is actually always evaluated at compile time in the case where that constructor is invoked during constant evaluation at compile-time.
(The motivation for doing this is that asserts are disabled at run time in order to avoid degrading the run-time performance of programs, but that is irrelevant when the asserts are evaluated at compile-time.)
bool ok(String message) {
  print(message);
  return true;
}

class C {
  const C(): assert(1 ~/ 0 != 1);
}

void main() {
  assert(ok('Not executed unless assertions are enabled'));
  const C(); // Compile-time error.
}

Thank you for the the answer @eernstg ! I suspected that if I was right, it would already have been done but the dart team, it was just in case. I'm going to close the issue then!
I'm actually curious on how hot reload works with constant then! Would you have a link where I could start reading about it?

Thanks, @ValentinVignal!
About hot reload: This page might be a usable starting point: https://docs.flutter.dev/development/tools/hot-reload, but I'm afraid there may not be a very detailed technical description of it (and it would be per backend in any case).


Make MetricName more memory efficient

What did you have in mind here?
Looking at the class members themselves, we could make a different implementation to remove the reference to an empty map of tags in most cases (and use static factory methods instead of the constructors).  That seems small, but I suppose it does add up across 100s of metrics.
Were there other static method impls you were thinking of improving?


Rephrase docs and info on podman search

Rephrase the information shown when doing "podman search --help"
to clarify what exactly --registry is used for.
Touched up the man page too.
Should address https://github.com/projectatomic/libpod/issues/977
Signed-off-by: umohnani8<EMAIL_ADDRESS>

@rhatdan PTAL, hopefully it is more clear now.

  I'd a few comments.

Well @umohnani8 can make the changes and force push if she is fast enough.  CI Seems mightly slow today anyways.

@rhatdan I am going to close this PR. Reworking search to match docker and I will add these doc changes to that PR.


Adding Azure DevOps frontend plugin

Signed-off-by: Andre Wanlin<EMAIL_ADDRESS>Hey, I just made a Pull Request!
This adds the frontend Azure DevOps plugin. As a MVP this will just show the top n builds for a repository.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@marleypowell regarding this comment: I've also noticed that status seems to be "COMPLETED" even when a build is in progress.
Yes, I noticed this once but then forgot to circle back to see why that was happening. I'll look into that further once I've cleaned up all your feedback.


[Backport 2.x] Modified returning NaN to NULL

Signed-off-by: Guian Gumpac<EMAIL_ADDRESS>(cherry picked from commit de40f4284ec428e1d24fc1112cce7fdfb7c1d787) from https://github.com/opensearch-project/sql/pull/1341
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Compilation is failing due to dependency on https://github.com/opensearch-project/sql/pull/1348. Will rebase once PR 1348 is merged.

@GumpacG try to rebase now.

Codecov Report

Merging #1347 (0ba718a) into 2.x (cc2a768) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##                2.x    #1347   +/-   ##
=========================================
  Coverage     98.38%   98.38%
- Complexity     3692     3698    +6
=========================================
  Files           345      345
  Lines          9107     9112    +5
  Branches        585      585
=========================================
+ Hits           8960     8965    +5
  Misses          142      142
  Partials          5        5

Flag
Coverage Δ

sql-engine
98.38% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ssion/operator/arthmetic/MathematicalFunction.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Yury-Fridlyand should be good now


Include the Ark server for R

Is your feature request related to a problem? Please describe.
Not related to a problem 🙂
Describe the solution you'd like
Support for the new Ark LSP server recently announced by Posit

Turns out it's currently not possible to use Ark's LSP in applications than the Positron IDE, although this feature is coming. Happy to close this issue for now or leave open until Mason support is possible.


Broken Zombified Texture (1.19.2)

What happened
when convert to zombies, these variants seem to lost its skin. (replaced by black & purple block)
How to reproduce

open game instance
spawn a villager & give it a moded job (for example, a schema table)
trade him once for lock his job
switch difficulty to hard
spawn a zombie & let it kill this villager
see what happens.

probable reason
forget to add a texture or switched texture proxy

Should be fixed in newest version :)


Secure Boot Support

System Information
Linux distribution
Ubuntu 22.04
Terraform version
Terraform v1.2.6
on linux_amd64

Provider and libvirt versions
0.6.14

Checklist

[x] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?

[x] Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible. See 1. hereunder in Issue description
[x] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue. See 2. hereunder in Issue description
[x] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation. See hereunder in Issue description

Description of Issue/Question
Setup
Not tf specific
Steps to Reproduce Issue
Not a bug

Additional information:
Do you have SELinux or Apparmor/Firewall enabled? Some special configuration?
Have you tried to reproduce the issue without them enabled?
Not relevant here
Issue description
In its current state, it does not seem that the provider supports Secure Boot without some xslt modification.

Secure boot may be relevant these days in virtualization, and as UEFI boot-loader are already supported via OVMF by the provider, it may make sense to extend the provider to allow for secure boot support?
As we're tweaking the CPU, xslt may not be the best way to do the modification as the provider may not correctly detect the changes and try to re-apply a new VM, hence disrupting the existing one.
As OVMF is already supported, enabling secure boot is essentially a matter of:

Enable SMM CPU feature
Enable Secure boot flag

Regarding code-base actual changes it means at least:

Enabling SMM feature - already supported in upstream go-libvirt - in newDomainDef
Adding a secure_boot option in the libvirt domain schema in resourceLibvirtDomain. The .tf file could look like:

resource "libvirt_domain" "domain" {
  count  = 2
  name   = "ubuntu-cloud-${count.index}"
  memory = "512"
  vcpu   = 1
  machine = "pc-q35-6.2"

  # This file is usually present as part of the ovmf firmware package in many
  # Linux distributions.
  firmware = "/usr/share/OVMF/OVMF_CODE.fd"
  secure_boot = true

  disk {
    volume_id = element(libvirt_volume.volume.*.id, count.index)
  }

  graphics {
    type        = "spice"
    listen_type = "address"
    autoport    = true
  }
}

Adjusting setFirmware() in resourceLibvirtDomain, tweaking domainDef.OS.Loader with an additional Secure attribute depending on the aforementioned secure_boot flag in the .tf file.

One caveat is that "secure" Secure Boot with SMM and OVMF needs Q35 - with all the implication of using Q35 over i440FX.
On top of my head, missing IDE support would certainly impact cloud-init ISO workflows.

@dmacvicar I have a working branch ready with aforementioned modifications - let me know if you're interested in merging such a feature.

@git-noise did you manage to create a working version? It might get merged eventually if you are interested in it

@scabala it has been quite a while, but I had a working version back then. I'll try and see if I can dig something.

I'd prefer that we try to map as close to libvirt definition as possible, instead of abstracting it away. Even if it requires a bit more verbosity in the definition. It becomes painful to map state otherwise.


restart.sh fails to run on MacOS with keytool error

As a workaround I had to change the keytool path to ${jdk.dir}/Contents/Home/bin/keytool in build.xml in the root. After that change everything started running flawlessly.

Commit https://github.com/ibissource/frank-runner/commit/6261e0c03d87be0b7395b7cdd5223ce512b7b70c should fix it When possible could you test it and let me know the result?


DRAFT - Add first draft of troubleshooting guide

Overview
This PR connects to https://github.com/ministryofjustice/cloud-platform/issues/930 and relates to the addition of a troubleshooting guide for users of the Cloud Platform. The intention of this document to  explain, in general terms, how teams can find the key logs, events and metrics they can use to resolve problems with their applications.
As this is just a Draft PR, please feel free to add examples your own scenarios.

Yes, I think this is the kind of thing we need - a place to add specific tips as we come up with them.


Removing entities from the map

As a developer,
I'd like to have an ability to gracefully remove an entiy from instance collection the EntityManager singleton holds
so that, we can notify the EventAPI layer that the instance is no longer in needed.


Fix for guess_rmantree_initial

Theres one more spot I think in this file with a strip() that does the same thing.  Would you like to find that as well?

Were there any others?


Plasma6 defaults

Hey there,
I just recognized that the defaults set by plasma-manager are the defaults for plasma 5.
In Plasma 6 some defaults are changed to make more sense as seen here: https://kde.org/announcements/megarelease/6/.
I think there should be an option where the user can set which plasma version he is using or (if its possible) plasma-manager recognizing the plasma version.

The solution to this would be the plasma 5 branch, see the README section about this. I'm not sure what you mean by defaults though, plasma-manager shouldn't really have many default options ideally, but there may be some. Do you have any examples of outdated defaults?

Ah I see the plasma5 branch makes sense.
A good example would be the clickItemTo option. In Plasma 6 it is select by default. But plasma-manager sets it to open by default, because in plasma5 open was the default.
Here is the line, where the default is set workspace module
I dont know if more default-settings are affected, but here are all changes regarding that topic in plasma6: https://community.kde.org/Plasma/Plasma_6#Changes_to_default_settings

Ah I see. Thanks for providing this. Having the defaults based on plasma 6 does make sense. I'll take a look at it and probably make some tweaks to ensure the defaults correspond to plasma 6 defaults in the trunk branch. I might wait until plasma 6 lands in stable (probably 24.05) though.

I have made some changes so that the above option, and some other options, default to null instead. This way plasma-manager will not tinker with the options unless specifically added in the config. This is imo the best way to solve this as it will then not be designed specifically for either plasma 5 or plasma 6. I have updated other parts to default to plasma 6 now though (for example libraries, example packages etc). I think I can close this now, but feel free to comment if anyone sees something in the trunk branch which seem unnatural for plasma 6.


Highrunes aren't showing up in the vanilla item.filter droplist?!

So I've done about 200 LK runs and haven't found a single rune with the lootfinder. So in order to test the drop getting displayed, I dropped both a Gul and a Vex rune from my stash and they weren't displayed.
Does that mean that High Runes aren't being displayed in the vanilla lootfilter? That would be extremely bad...

Just a heads up, if you're using thee included item.filter you should instead consider using the one from the docs that's referred to as a sample filter. That filter includes lines that show runes.


Get-BiosType not available

Using PowerShell 7.0.0. My script doesn't work because a command is missing:
PS C:\> Get-BiosType
Get-BiosType: The term 'Get-BiosType' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I don't have that command in PS7 or Windows PowerShell.  Can you post the output of Get-Command Get-BiosType from Windows PowerShell?

PS C:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 6.3.9600
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PS C:\> get-biostype
get-biostype: The term 'get-biostype' is not recognized as the name of a cmdlet, function, script
file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try
 again.
PS C:\>
PS C:\> &  "$env:windir\system32\WindowsPowerShell\v1.0\powershell.exe" -c 'echo $psversiontable;
get-BiosType'

Name                           Value
----                           -----
PSVersion                      5.1.14409.1018
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1018
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
get-BiosType : Le terme «get-BiosType» n'est pas reconnu comme nom d'applet de commande,
fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un
chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère Ligne:1 : 23
+ echo $psversiontable; get-BiosType
+                       ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-BiosType:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\>

PS C:\> Get-Command Get-BiosType
Get-Command: The term 'Get-BiosType' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

@superbonaci So you don't have the command in Windows PowerShell either? You may want to reach out to the script author to see where to get the command.  Either way it's not a command provided by PowerShell so there's not much this repo can do.

It's used in this script:
https://github.com/PowerShellCrack/OSDBIOSPrerequisitesTool/blob/master/OSD-BIOSPrerequisitesTool.ps1

@superbonaci gotcha, so what you want to do is file an issue on that repo so they can determine if someone is actually incompatible or if it's a script problem.


Can we make the same grip with verticle options?

hI,
Can we make the grid like below

Lable

control (Like check box, textbox,etc )

as i using it in one of my application for educational Qualification like below:
Qualification Type:
Qualification Area
Specialization:
Grade:
University:
Attended Year
Completed Year
so on..
its not an issue.
just question to implement same thing in row format not column format??
thanks.

Hi sachin0606,
It should be the same question as #50.
I guess it is a bit hard to achieve this.
Possibly it required to rewrite the core and it may cause other issues...

Yes, i may help you in this. but i am basically .net not from java script.. but your comments in code made me to understand the logic.  anyway let me know if you gonna work on this. and as i understood it may only need to change the logic in method ->
function insertRow(tbWhole, numOfRowOrRowArray, rowIndex, callerUniqueIndex) {
}

It is great to know that you want to help appendGrid!
But I believe it is not that simple to just modify the "insertRow" function.
You may need to consider the following area:

There is no "insertColumn" function in javascript. So, you are required to rewrite the logic for generating table.
There is no table header / body / footer in vertical mode. You are required to calculate the insert column index for all row operations(such as insert / append / move up / etc).
The CSS style are designed for "horizontal" mode. You are required to build another set of style for "vertical" mode.
Required to support all existing options / methods (if possible). Such as fixed header / sub-panel.
(May be more...)

Again, you can modify my code to fit your need.
So, you may just omit / ignore issues above.
I am afraid it is too hard to standardize it to a general option for this library...


Instagram Ripper is broke.. again

Ripme version: 1.7.31
Java version:
Operating system: win 8.1
Exact URL you were trying to rip when the problem occurred:
Please include any additional information about how to reproduce the problem:

Expected Behavior
A full profile ripped
Actual Behavior
It only downloads 20 pictures and it stops like it is done. I suppose it isn't going to the other page or something.

This should be fixed in 1.7.32

1.7.32 broke again :(

@cyian-1756 Yep, it's broken again.

@thinkpad4 I know, no idea what's wrong with it however

Instagram is working well.
Try removing the last ' / ' of the URL.
Not 'https://www.instagram.com/explore/tags/coffee/'
Try 'https://www.instagram.com/explore/tags/coffee'

@liamyoun doesn't make any difference, it still only downloads the first page

@cyian-1756
x-instagram-gis is now md5(rhx_gis + ":" + csrf_token + ":" + params), without the user agent.

@cyian-1756 it broke again it looks like

@thinkpad4 What url are you trying to rip?

I feel like a derp, I must of been limited after ripping a large album.  I'm sorry

@thinkpad4 No problem


fix(docs): add DRYness to docs (and minor fix in textfield link)

I created an 'Original Documentation' component, to use in all documentation pages. This keeps them DRY, so easier to maintain and less likely to have inconsistencies. (i found one in textfield doing this).
Also moved header for Sample code to the existing component (more DRY and consistent with ComponentTable component)
Finally found a minor alphabetbug in the list of components.

Failed pictures (15): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 470072855, for commit 15764fe.

Failed pictures (2): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 470145036, for commit 5bf7cf5.

Failed pictures (1): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 470216963, for commit 0210d77.

found one in textfield doing this

Yes that was me fixing the link while editing the page. I just didn't get around fixing it for all components, because the official docs are now at https://material.io/develop/web

The links are now:
"https://material.io/develop/web/components/${component}/"

Finally found a minor alphabetbug in the list of components.

@prateekbh what do you think, should we simply sort that in code? To be safe of manual sorting.

Failed pictures (1): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 471443311, for commit ae38d05.

That would also be okay I think:

        Original documentation

      This component encapsulates {child}
      , you can refer to its documentation here.

But how do you want to explain some thing like a screen reader that you put the body into the heading, that makes no sense.

Failed pictures (1): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 471460760, for commit badadef.

BTW we are not using semver (right now?) in an automated way so you don't need fix([...]):  (it doesn't hurt either).

i know, just tried to be clear & consistent. Checking the textfield error
now...
On Sat, Dec 22, 2018 at 11:59 PM Cromefire_<EMAIL_ADDRESS>wrote:

BTW we are not using semver (right now?) in an automated way so you don't
need fix([...]): (it doesn't hurt either).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/prateekbh/preact-material-components/pull/1198#issuecomment-449602722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACo2awLnOq8WIwUWPUmovp6VS8v5ctF7ks5u7rlugaJpZM4Zad11
.

--
Robbert Wethmar
Digitalica
Jan Evertsenstraat 144 A4
1056 EK  Amsterdam
phone<PHONE_NUMBER>
mobile 06 53804879
skype rwethmar

I hove you know that your address and phone number are publicly visible due to your email reply

Failed pictures (1): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 471564888, for commit ec80cd5.

Failed pictures (1): failed-pictures.zip

:postbox: Posted by artipost.io, through Travis build 471564984, for commit 8da6cd8.

Yes I think we had this problem before. @prateekbh should we disable this test for 1.x.x?

I mean the textfield test

Well it seems fixed...

@prateekbh any more comments? Else I would merge it.

nups feel free to merge.. i'll release


Uncaught error in rebar_core

I get this error when I try to register with hex:
$ rebar3 hex user register
Username: ([])> drozzy
Email: ([])><EMAIL_ADDRESS>===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> When submitting a bug report, please include the output of `rebar3 report "your command"`

I am using Win10, with Erlang18. Using rebar3 version 3.2.0.
(Ignore the weird terminal characters - it's just MINGW64)

This still doesn't work on windows. Had to use a linux VM to get it working.


issue

@theCoolkal
you can talk to me here, please don't cluster up that important thread.

@theCoolkal
Talk to me here not on that issue!

Oh I didn't see that.  So are you not on Freenode or anything?

No, i'm here.

But this is public chat

#tox on QuakeNet

@stal888
Why didn't you abandon Tox already?


decodeHtml4 & decodeHtml5 in one step

decodeHtml5 isn't a set which also contains the decodeHtml4 entities. I'd like to invoke both. I know that I can call them one after another however, but I'm guessing performance wise a single call would be better. Since it'd only need to loop once instead of twice over the string. Also NumericEntityDecoder() is used twice which is unnecessary.
Esentially, I want an aggregator like this:
AggregateTranslator(
    LookupTranslator(EntityMaps.HTML4Decode),
    LookupTranslator(EntityMaps.HTML5Decode),
    NumericEntityDecoder(),
)

Side note: I also found decodeHtml confusing as at first I thought this is decode4+5 but it's just 5, in which case, I'd go for removing that method to make the API smaller & conciser.

decodeHtml5 already contains all HTML4 entities so you can just use decodeHtml5 and you will cover all the entities.
True decodeHtml is confusing, maybe I'll deprecate it and suggest replacing it with decodeHtml5. I added it to make it clear that this is going to cover any HTML entity (4+5) so people don't get confused

It does not. The following test case fails for HTML5:
  @Test fun decode() {
    assertEquals("Å", KsoupEntities.decodeHtml4("Å"))
    assertEquals("Å", KsoupEntities.decodeHtml5("Å"))
  }

It's a bug. I'll check this

I'll release a new version soon containing the fix for this issue and the other issues as well.


Add Cadi Ayyad University

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


[Issues 129, 144] fixing bugs in dictionary matcher

Rewrite DictionaryMatcher from scratch. Bug #129 and #144 are fixed now.

getNextTuple() function in old code is written in recursive style. Recursion depth increases when a tuple doesn't contain a match, which inevitably leads to StackOverflow error in #129 .
The new code is written in iterative style (while loop) to solve this error.

I left some comments about the comments.  In general, please improve the quality of the comments.  Use complete sentences with the right upper/lower cases and punctuations.

Also please modify the internal wiki page accordingly after this merge: https://github.com/TextDB/textdb/wiki/Keyword-Match-Operator


Contract functiosns should not have a call() method if there is no return value

If there is no return value, then there is no reason to have a call() method.  call() is basically a view method, and if there's nothing to view, then we don't need it.  the method may also be a transaction method, in which case we also don't need to call() method if there is no return value.

closing -- we may want to run call to preview a transaction even if there is no return


"go build" builds "wrong" executable if you clone cassandra-docker into dir with different name...

I noticed when I cloned the repo that since I didn't use the default name of 'cassandra-docker' (I was evaluating a few different ones, so I renamed the checkout dir to something meaningful to me) that it "broke" things because the 'go build' built a different executable than the Dockerfile was expecting. Perhaps 'entrypoint.go' should be in a an appropriate 'cassandra-docker' subdirectory?

I'd PR a fix for this, but I'm not sure it's something you even want to address...

Hah! Yeah I suppose I ought to move it into a directory. I'll leave this open for now so I don't forget to do this. I'll probably also add a Makefile or build.sh so people don't need to mess with the go build.

Fixed by moving the code as discussed.


Persistant storage for chains

On reboot, all of our pods lose their chain information. Need to update to have options for persistent storage, required for a public devnet.

https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
https://kubernetes.io/docs/concepts/storage/storage-classes/
https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/
https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes

Geth, CometBFT, Sequencer still need persistent storage


How to use same shared preference in different modules

Hi,
I have two different modules and shared preferences are defined in one module, how can I use the same shared preferences in another module.
Please explain

@Ramsharma1234 Not sure what you mean by module. In any event this issue tracker is for bugs with flutter not for these types of questions. Please consider asking on StackOverflow.


Default Capitalization of Stable Diffusion Model Path breaks Automatic1111 integration on Linux

The default capitalization of the Stable Diffusion Models path in StableSwarmUI is Stable-Diffusion, while the default capitalization of Automatic1111's models path is Stable-diffusion. This breaks compatibility on Linux-based systems where paths are different if they have a different capitalization.

You can name the path anything you want under Server -> Configuration in the UI.


Made a small change to fix the --k8s flag for cli config

There was an issue with rkey collisions when generating config via the CLI from kubernetes yaml files.
This is my suggestion of a fix.

I had to overwrite my commit twice for some minor cleanup (missing key for kwarg, extra newline). Oops!

Thanks!

This will turn into things like service tracingtest-http, namespace default.1 from kubewatch, and we may want to change that later -- however, the uniqueness thing is the important bit at the moment.


change toString of process copy

This improves compat with some libraries like bluebird.
They seem to check for the toString result of process.

Current coverage is 90.29% (diff: 100%)

No coverage report found for master at 46868fc.

Powered by Codecov. Last update 46868fc...f60924c

thank you!


Got Error at Write back Index

Hi, index write had problem with writing back to elasticsearch. Alerts and query woring fine but having problem writeback.
Exception
WARNING:elasticsearch:POST http://localhost:9200/elastalert_status/_doc [status:400 request:0.046s]
ERROR:root:Error writing alert info to Elasticsearch: RequestError(400, 'mapper_parsing_exception', 'object mapping for [match_body.service] tried to parse field [service] as object, but found a concrete value')
Traceback (most recent call last):
  File "/home/nadeem/.local/lib/python3.6/site-packages/elastalert/elastalert.py", line 1614, in writeback
    res = self.writeback_es.index(index=index, body=body)
  File "/home/nadeem/.local/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/home/nadeem/.local/lib/python3.6/site-packages/elasticsearch/client/__init__.py", line 362, in index
    body=body,
  File "/home/nadeem/.local/lib/python3.6/site-packages/elasticsearch/transport.py", line 318, in perform_request
    status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
  File "/home/nadeem/.local/lib/python3.6/site-packages/elasticsearch/connection/http_requests.py", line 91, in perform_request
    self._raise_error(response.status_code, raw_data)
  File "/home/nadeem/.local/lib/python3.6/site-packages/elasticsearch/connection/base.py", line 131, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'object mapping for [match_body.service] tried to parse field [service] as object, but found a concrete value')

Yelp/elastalert is no longer maintained. Please use jertel/elastalert2.
https://github.com/jertel/elastalert2


Modify Request and Response body Objects based on Recent Updates

While working on the Java SDK, I discovered that the Kotlin SDK was falling short in the requirements of some endpoints in terms of Request and Response body structures. That is what this PR addresses

@mayorJAY There is no description that explains why this update is needed.

Please can you throw more light on why you are modifying request and response body objects?
How does this affect existing users already using the package?

@mayorJAY There is no description that explains why this PR/update is needed.

Please can you throw more light on why you are modifying request and response body objects?
How does this affect existing users already using the package?

@unicodeveloper I've added the description and the reason for the change
To the 2nd question, users will be having issues with those endpoints in question already. So we'd need to do a release so they can upgrade


One cam updates, other two not after systemd homebridge as a service

In order to make homebridge launch automatic from the start of Pi3, I installed it as a systemd.
All 3 ffmpeg cameras work fine if homebridge is launched manually.
If launched under systemd, 1 cam works properly with every 3-5s update, but other 2 would not refresh, i.e. would show same image from the time homebridge was manual.
I used the same config file in .Homebridge and systemd
My config file is below:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:20",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [{
	"platform": "Nest",
	"username"<EMAIL_ADDRESS>    "password": "valentine12"
    },
    {
    	"platform": "PhilipsHue",
    "name": "Val Philips hue",
    "ip_address": "<IP_ADDRESS>",
    "username": "yxLPT8SZJtrjMIMk7YeD-ZoWWYGTMoX3m0B-5fLT"
    },
   	{
     	"platform": "BelkinWeMo",
     "name": "WeMo Platform",
     "noMotionTimer": 60,
     "ignoredDevices": []
   	},
{
	"platform": "Camera-ffmpeg",
"cameras":[
      {
	"name":"Front facade",
	"videoConfig":{
		"source":"-re -i<EMAIL_ADDRESS>		"maxStreams":2,
		"maxWidth":1280,
		"maxHeight":720,
		"maxFPS":30
	}
       },
      {
            "name":"Backyard alp hill",
            "videoConfig":{
                    "source":"-re -i<EMAIL_ADDRESS>                    "maxStreams":2,
                    "maxWidth":640,
                    "maxHeight":480,
                    "maxFPS":30
            }
           },
	{
            "name":"Front yard",
            "videoConfig":{
                    "source":"-re -i<EMAIL_ADDRESS>                    "maxStreams":2,
                    "maxWidth":1280,
                    "maxHeight":720,
                    "maxFPS":30
            }
           }

]

}
]

}

Just wondering if you manage to fix the issue ?

I am facing the same issue, I have 2 cameras when I start homebridge manually it works but if I start it from systemd it doesn't, were you able to figure this out?

No, not yet
Valentyn

On Sep 10, 2018, at 8:05 PM, Tristan Martinez<EMAIL_ADDRESS>wrote:
I am facing the same issue, I have 2 cameras when I start homebridge manually it works but if I start it from systemd it doesn't, were you able to figure this out?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Question: generate screen w

I've just discovered Ignite and created Bowser template.
In a template, I see that screens are in directories (which is nice), but by default ignite generate screen login creates screen in the root of the screen directory.
Is there any way to specify directory?

@lasharela using the latest version, you can only generate a screen into the screens folder (i.e. /app/screens/test/test-screen.tsx). Generating into a different folder isn't currently possible. I will be closing this issue.


Update Thai translations for NPC Map Locations

Thanks for the help! Merged into develop for the upcoming NPC Map Locations 2.9.2.


Disable memory cache

Hi,
I what to disable the memory cache and use just the disk persistence.
I tried with 1 second memory policy but I want to disable it completely.
How can I do that?

Currently you cannot. Setting to 1ms is best you can do


Kubernetes Integration - Helm Support

Overview of feature request
Add a Kubernetes-centric configuration experience to help enable trivial adoption of Radius for applications that use the Kubernetes application model (Deployment, Service, etc.) for configuration and use the common Kubernetes toolchains for application deployment (Helm, Flux).
Ref for further Detail: Design Document
Acceptance criteria

Use can edit a Helm chart, adding each annotation to each Kubernetes Deployment indicating that Radius should be enabled (radapp.io/enabled: 'true'). Upon merging updates,  the metadata is updated in deployments, which automatically triggers the create of a Radius application and container resources that belong to that application.
Users will be able to create recipes using a new CRD type (Recipe) that can be used for any type of resource that supports recipes

Additional context

AB#9672

This is done :) - there's a tail of small improvements to make but the features exist and have documentation.


Remove MsgNoBlock from the state machine diagram

Figure 3.4 in network-spec.pdf includes a MsgNoBlock message. The surrounding text does not mention it and the code does not declare it. I suspect it just needs to be removed from the diagram.

Wow, nevermind. I had a complete visual hallucination. Closing, and asking for a Deletion.


Fixes cleancss -O0 some.css not work

Fixes https://github.com/clean-css/clean-css-cli/issues/80

Fixes cleancss -O0 some.css not work

@jakubpawlowicz bumping this PR

Hey @cooliean @SuperStormer - happy to merge it as long as it passes all tests. Last time I pulled a PR and noticed it's slightly more complex case (thus failing tests). Anyone interested to figure it out?

Fixed in #86.


Missing application SID

Error on logging in from twilio.min.js:49
code: 31100
message: "Missing application SID"
I've got the env var set up right. Seems like it might be required somewhere else? Do I need to monkey with the app.json to include the keys or something?

It looks like the setup has not been completed yet. The application Sid is created automatically during setup. Please open http://<your_application_name>/setup, configure the worker states and the phone number.


Cannot easily cast FontFileLoader to LocalFontFileLoader

The only way I'm able to successfully cast a FontFileLoader to a LocalFontFileLoader is by:
var ptr = ((SharpDX.CppObject)loader).NativePointer;
var localLoader = SharpDX.ComObject.QueryInterfaceOrNull<dw.LocalFontFileLoader>(ptr);

I didn't expect C#'s as to work, although that would have been nice.
Calling ComObject.QueryInterface<dw.LocalFontFileLoader>(loader) did not work either - it threw an exception.
Is this by design? It was sheer luck that I tried the working combination.

The static method ComObject.QueryInterface  take an Object and not a ComObject, to under the wood, it will try to use the managed IUnknown associated to it, so it won't use the .NativePointer (which is the real COM ptr)
I guess the method you should use in your case is loader.QueryInterface<LocalFontFileLoader>()


RAG Example

A new example script to chat with the Rigging docs. There was a new dependency required (elasticsearch) so I added it to the dev Poetry group.

🔥 Amazing work, I'll do a code review and suggest any cleanup/changes next week.

I pulled in and did some cleanup/edits. Working copy is in dev if you want to propose any additional changes before it's merged in: https://github.com/dreadnode/rigging/blob/dev/examples/rag.py

Looks good to me - thanks for looking at it!


[bugs] bugs when run basic algorithms and envs

hi @puyuan1996 ,  Thanks for continuously open-sourcing algorithms related to MuZero.
A small suggestion: if the basic code doesn't run smoothly, it might make newcomers feel a bit frustrated.
0 how to install
conda create -n lightzero python=3.8

git clone https://github.com/opendilab/LightZero.git
cd LightZero
pip3 install -e .

1 Envs Errors
1.1 LunarLander errors
python lunarlander_disc_muzero_config.py

LunarLander version error

gymnasium.error.DeprecatedEnv: Environment version v2 for LunarLander is deprecated. Please use LunarLander-v3 instead.
when modify the config to LunarLander-v3, new error occurs

   low=self._env.reward_range[0], high=self._env.reward_range[1], shape=(1,), dtype=np.float32
AttributeError: 'TimeLimit' object has no attribute 'reward_range'

suggestions

fix the version of Gymnasium requirements.txt if necessary, p.s. Gymnasium has released the v1.0.0

1.2 2048-game render error

it works when set the render_mode="image_savefile_mode"
it doesn't render when set the ender_mode="image_realtime_mode"

import numpy as np
import pytest
from easydict import EasyDict

from game_2048_env import Game2048Env

cfg = Game2048Env.default_config()
print(cfg)
env = Game2048Env(cfg=cfg)

obs = env.reset()

for i in range(10000):
    #env.render(mode="image_realtime_mode")

    action = np.random.choice([0,1,2,3])
    obs, reward, done, info = env.step(action)

1.3 cartpole envs import error
when eval the pretrained model
python cartpole_eval.py

os library not imported in cartpole envs
    def save_gif_replay(self) -> None:
        """
        Save the recorded frames as a GIF replay.
        """
        if not os.path.exists(self._replay_path_gif):
            os.makedirs(self._replay_path_gif)
        gif_path = os.path.join(self._replay_path_gif, gif_filename)

2 algorithms error
2.1 bugs in stochastic-muzero when run game-2048
python stochastic_muzero_2048_config.py

error seems happen when learner save ckpt
    batch_rewards = np.asarray(batch_rewards)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (512, 6) + inhomogeneous part.
Exception ignored in: <function MuZeroCollector.__del__ at 0x7eb1535758b0>
Traceback (most recent call last):
LightZero/lzero/worker/muzero_collector.py", line 196, in __del__
    self.close()
LightZero/lzero/worker/muzero_collector.py", line 185, in close
    self._env.close()
 /anaconda3/envs/lightzero/lib/python3.8/site-packages/ding/envs/env_manager/subprocess_env_manager.py", line 635, in close
    p.send(['close', None, None])
  envs/lightzero/lib/python3.8/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
  /anaconda3/envs/lightzero/lib/python3.8/multiprocessing/connection.py", line 411, in _send_bytes
    self._send(header + buf)
  /anaconda3/envs/lightzero/lib/python3.8/multiprocessing/connection.py", line 368, in _send
    n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe

CI/CD(github actions ) matters, but it doesn't seem to be serving its intended purpose in this repository.

Hello, thank you very much for your feedback and suggestions!
Regarding the LunarLander version error, we have resolved the issue by modifying the version requirements for gymnasium and numpy in the requirements.txt file. Currently, the lunarlander_disc_muzero_config.py can run successfully. In the future, we plan to adapt it to the latest version of Gymnasium.
As for the 2048-game render error, all tests in zoo/game_2048/envs/test_game_2048_env.py have passed, indicating that mode="image_realtime_mode" can render properly on the screen.
Regarding the cartpole envs import error and the reward type bug in game-204, these issues have been fixed in this PR (https://github.com/opendilab/LightZero/pull/304). Previously, these problems arose due to the failure to properly adapt the environments during code updates. Moving forward, we will further improve the code refactoring and validation processes to ensure smoothness and stability.
Finally, thank you again for submitting these bug reports! If you have any further questions or suggestions, please feel free to reach out. We greatly appreciate your contributions!


Three levels tutorial: Basic setup, Long Term Storage, Alerting.

Hi all, I'm interested in building a 3 level setup tutorial on getting started with Thanos. Understanding all the components took me some time once I started evaluating Thanos, and I believe we can benefit from more adoption and contributors by making it easier for newcomers. Now that  at my company we're handling an infrastructure with about 20 Prometheus and long term retention I feel I can contribute to that.
This would cover the 3 scenarios to deploy Thanos:

Basic Setup - allows you to query against multiple Prometheus, without long term retention.

Alerting - allows you to alert against data from multiple Prometheus.

As a bonus, I'm planning on bringing new kubernetes manifests with statefulsets and deployment of all the resouces.
This would also allow to clean up the docs to remove references to gossip.
I'm already working on that and should have a PR early next week, if you have any comments please reach me.
Pros:

Will make Thanos easier for newcomers, understanding the multiple components is usually an issue for the ramp up.
Consolidate the getting started guide with current developments and do a much needed docs update;
Removes outdated references to deprecated concepts from docs that sometimes distract people.

Cons:

None? 🤷♀

That would be great, thanks!

Cool while I do not make it clear after 1 day to set sidecar and query within 2 Prometheus. Hope your PR.

I apologise for the delays, I'll find the time to develop this asap. Thanks
for the interest.
On Fri, Nov 23, 2018 at 6:40 AM wangchengxxxin<EMAIL_ADDRESS>wrote:

Cool while I do not make it clear after 1 day to set sidecar and query
within 2 Prometheus. Hope your PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/improbable-eng/thanos/issues/584#issuecomment-441180755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2fXDLTKiambrKbkWD6YAb0H1GZnOdzks5ux7RfgaJpZM4XvVQ7
.

Perhaps this could be considered done as we have Katacoda tutorials, @bwplotka @jturolla? (:

Sure, thanks.
On Mon, 4 Nov 2019 at 19:20, Giedrius Statkevičius<EMAIL_ADDRESS>wrote:

Perhaps this could be considered done as we have Katacoda tutorials,
@bwplotka https://github.com/bwplotka @jturolla
https://github.com/jturolla? (:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/issues/584?email_source=notifications&email_token=AAGZ6XBY2R2BDWAMRXVVZYLQSCN2BA5CNFSM4F55KQ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDA5KGA#issuecomment-549573912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGZ6XE75K3SZJXRZSHNOK3QSCN2BANCNFSM4F55KQ5Q
.

Now Katacoda tutorials cover basic setup, and docs cover long term storage and alerting.
@jturolla do you think they are enough, or maybe in a better place?

Yes, this should be solved with Katacoda tutorials. (:
On Thu, 9 Jan 2020 at 02:32, Xiang Dai<EMAIL_ADDRESS>wrote:

Now Katacoda tutorials cover basic setup, and docs cover long term storage
and alerting.
@jturolla https://github.com/jturolla do you think they are enough, or
maybe in a better place?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/issues/584?email_source=notifications&email_token=ABVA3O3CKQTO5PTASSOHYETQ42EFPA5CNFSM4F55KQ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIOW3OY#issuecomment-572353979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVA3O7BXEZ5XOJFZD7UDO3Q42EFPANCNFSM4F55KQ5Q
.


Concept not matching a conversation

I created a concept following the documentation, I can see that the concept is loaded in mongo but the corresponding conversation is not being triggered.
I am using version 1.0 with the current bot-init. My concept file flowertype.top looks like this:
concept: ~flowertype (roses lilies tulips)

In main_ss I have this rules:
+ I want ~flowertype
- Ok, which date would you like to pick up the ~flowertype? {topic=pickupdate}

+ I want *1
- Ok2, which date would you like to pick up the <cap>? {topic=pickupdate}

When I parse and run the server in debug mode I get this:
DEBUG=*,-Utils node_modules/superscript/lib/bin/parse.js -f
  ParseContents Creating a trigger with a concept not expanded: ~flowertype +0ms
  ParseContents Creating a trigger with a concept not expanded:  ~flowertype +1ms
Time to process file ./chat/main.ss: 0.259 seconds
Total time to process: 0.27 seconds
Saved output to data.json

DEBUG=*,-Utils node lib/server-telnet.js
SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addTags +0ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addNlp +1ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addEntities +2ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addDates +0ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addPos +0ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addWords +0ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins hasExpression +0ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins fixup +0ms
  SS:Message Loading plugin: /home/juanmi/dev/superscript-orderflowers/node_modules/ss-message/lib/plugins addQuestionTypes +0ms
  Concept Creating new fact flowertype example roses +448ms
  Concept Creating new fact roses isa flowertype +140ms
  Concept Creating new fact flowertype example lilies +5ms
  Concept Creating new fact lilies isa flowertype +7ms
  Concept Creating new fact flowertype example tulips +1ms
  Concept Creating new fact tulips isa flowertype +3ms
  Concept Added # Facts 0 +1ms
  Concept Creating new fact flowertype isa concept +1ms
[...]

If I check mongo the concepts are loaded:
{ "_id" : "spo::flowertype::example::roses", "value" : "{\"subject\":\"flowertype\",\"predicate\":\"example\",\"object\":\"roses\"}" }
{ "_id" : "sop::flowertype::roses::example", "value" : "{\"subject\":\"flowertype\",\"predicate\":\"example\",\"object\":\"roses\"}" }
{ "_id" : "pos::example::roses::flowertype", "value" : "{\"subject\":\"flowertype\",\"predicate\":\"example\",\"object\":\"roses\"}" }
{ "_id" : "pso::example::flowertype::roses", "value" : "{\"subject\":\"flowertype\",\"predicate\":\"example\",\"object\":\"roses\"}" }
{ "_id" : "ops::roses::example::flowertype", "value" : "{\"subject\":\"flowertype\",\"predicate\":\"example\",\"object\":\"roses\"}" }
{ "_id" : "osp::roses::flowertype::example", "value" : "{\"subject\":\"flowertype\",\"predicate\":\"example\",\"object\":\"roses\"}" }
{ "_id" : "spo::roses::isa::flowertype", "value" : "{\"subject\":\"roses\",\"predicate\":\"isa\",\"object\":\"flowertype\"}" }
{ "_id" : "pso::isa::roses::flowertype", "value" : "{\"subject\":\"roses\",\"predicate\":\"isa\",\"object\":\"flowertype\"}" }
{ "_id" : "sop::roses::flowertype::isa", "value" : "{\"subject\":\"roses\",\"predicate\":\"isa\",\"object\":\"flowertype\"}" }
{ "_id" : "pos::isa::flowertype::roses", "value" : "{\"subject\":\"roses\",\"predicate\":\"isa\",\"object\":\"flowertype\"}" }
{ "_id" : "ops::flowertype::isa::roses", "value" : "{\"subject\":\"roses\",\"predicate\":\"isa\",\"object\":\"flowertype\"}" }
{ "_id" : "osp::flowertype::roses::isa", "value" : "{\"subject\":\"roses\",\"predicate\":\"isa\",\"object\":\"flowertype\"}" }
[...]

Despite all the above looks ok, when I write 'I want roses' I always get the second answer.
You> I want roses

Bot> Ok2, which date would you like to pick up the roses?

Oops, we're not passing the fact system into the parse step in the bin script: we should improve this workflow at the same time as fixing this.

Also it might be good to parse this at runtime like we do for  etc, then you can do dynamic concept lookups which would be cool

Thanks for the quick reply, there is some workaround I can do to make it work?

I've fixed this in v1.0.1, you can now pass the fact files along into the parse command like so:
parse -f --facts flowertype.top
I'll keep this open for now though so we don't forget to take another look at facts in the not too distant future!

It works! Thanks a lot, it is great to see a quick response, I am trying to decide which engine to use with my bot and superscript is really expressive.
Just one more thing, in the documentation it says that with concepts, you can use the same reference in the gambit and the reply (https://github.com/superscriptjs/superscript/wiki/Knowledge)
+ I like ~sport
- Really? Wow, I like ~sport, too!

But I have to use <cap> to get the variable value back, like this:
+ I want ~flowertype
- Ok, which date would you like to pick up the <cap>?

I don't know if this is a documentation bug or something that is not implemented yet...

No worries, glad you're finding it good so far!
Yep, perhaps we should re-word that bit of the docs: it's true that you can use concepts in both the trigger and reply, but like you say, they won't necessarily choose the same one. So using captures <cap> is the way to go!

"--facts" is not an option for me when running the parse command, I get the following "--facts is an unknown option". Is there something I am doing wrong? I am using webstorm and I have v1.0.2 of superscript and have debugged the server and no matter what I do it doesn't seem to correctly parse out custom concepts that aren't defined in wordnet.

The above image shows the problem.
The image below shows the parser working with the wordnet concepts.

The following is my superscript file:
 + {keep} I like ~barbie
 - I love <cap> too!

 + I ~like ~sport
 - practice of the like sports concept

The following is my concept file:
concept: ~barbie (doll barbie bratz )

Hey, looks like you're running an old version of SuperScript somewhere. v1.0.2 should definitely have the --facts option!
If you're running parse from the global path, it may well be worth checking the version of that global install. Or if you're not, your parse npm script should look something like:
"parse": "parse -f --facts barbieConcepts.top"

I'm not sure what the images are supposed to represent (which point of execution the code is at) so some additional context surrounding when in the program those variables exist would be great - cheers!

@benhjames thanks for such a quick response!
The following images will hopefully provide a better context:

The following is the output of the npm view superscript command:

Also what specifically do you mean by my parse npm script? I am very new to both node.js and superscript so I apologize for the lack of knowledge. Also I am attempting to get all of this setup on my mac if that matter. Thanks!

No worries, let's try and work out what's happening here. Are you running parse from the Terminal as just parse [options]? If so, would you mind doing an npm list -g --depth=0 and double-check the superscript version? I'm still reasonably convinced it's an outdated bin script being run (without the --facts option)!

Btw you can check the output of the parse step in the data.json file it generates in the top-level directory, so will save you going into debugging the process!

@benhjames looks like you were correct! I believe the picture below proves that the globally installed version of superscript is not what I thought it was. Thank you for helping me figure out what the issue was so quickly! I'm actually helping somebody else out with this problem and I just took there word on it being installed properly.  Based on your wiki should the following command fix my issue and install the latest version of superscript globally? Also thanks for the tip on the data.json, I don't mind stepping through the debugger, but I always appreciate a faster solution.
npm install -g superscript

No worries! Yeah, I think that command should upgrade the package (if it doesn't, you could try some variant of npm update).
Let us know if you run into anything else. :)


require statement in a sub for a translated standard package doesn't work properly

require statement in a sub for a translated standard package doesn't work properly.  For example:
sub unescapeHTML {
    require HTML::Entities;
}

generates:
def unescapeHTML(*_args):
    _args = list(_args)
    perllib.import_(
        globals(),
        "HTML/Entities",
        fromlist=["_decode_entities", "decode_entities", "encode_entities"],
    )

The fromlist should not be supplied for a require and the perllib.import_ function doesn't properly find the module in ./PyModules/HTML/Entities.py.
Also: require 5.004; generates a bogus perllib.init_package('_5')

Fixed in v1.021


Obtain Pandoc settings from routes.yaml

Currently, various Pandoc writer settings are hardcoded in PandocBuildTool.hs. These should be configurable via the routes.yaml file.

Done! Mostly...


Error in executor: app.features.quizzify.tools.QuizQuestion() argument after ** must be a mapping, not NoneType

Within the gcloud logs, I found this problem when uploading a file.
My inputs to the kai platform live:

topic: "convolutional neural networks"
num_questions: 3
File: Convolutional neural network.pdf

Interestingly, this does not ALWAYS happen. If you can reproduce it

@mikhailocampo I've made the PR #49 for solving this issue. Please, check it.

This issue is solved in the new v2 version using an util function and few-shot prompting.


[BUGFIX] Make tracking failed claims more persistent.

I haven't made changes to: "src/Config/Config.ts", it's just prettier reformatting. @adibas03 please make sure you've correctly setup prettier hooks (lint-staged, husky).

Pull Request Test Coverage Report for Build 1119

35 of 40 (87.5%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 84.047%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Stats/StatsDB.ts
9
10
90.0%

src/Config/Config.ts
19
23
82.61%

Files with Coverage Reduction
New Missed Lines
%

src/Config/helpers.ts
1
77.78%

Totals

Change from base Build 1117:
-0.03%

Covered Lines:
668

Relevant Lines:
765

💛  - Coveralls


[BUG] Namespace created (via kubectl) in a project (with container default resource limit) is missing containerDefaultResourceLimit annotation

Rancher Server Setup

Rancher version: v2.9-head

Describe the bug
Namespace created in a project with a container default limit set is missing the field.cattle.io/containerDefaultResourceLimit annotation. This issue is observed only when the namespace is created via kubectl.
To Reproduce
1. Create a Project with container default resource limits set.
2. Using kubectl, create a namespace within the project.
3. Verify that the field.cattle.io/containerDefaultResourceLimit annotation is present in the namespace spec.
Issue
When a namespace is created using kubectl, the field.cattle.io/containerDefaultResourceLimit annotation is missing from the namespace object. However, the corresponding LimitRange is correctly created.
Note: When a namespace is created via the UI, the field.cattle.io/containerDefaultResourceLimit annotation is added to the namespace object as expected.
Expected Result
When a namespace is created within a project with a container default limit set, it should include the field.cattle.io/containerDefaultResourceLimit annotation regardless of the creation method (UI or kubectl).
Additional context
Updating the project's container limit configuration does not propagate to LimitRanges for existing namespaces created via the UI, which is documented as normal behavior.
However, updating the project's container limit configuration does propagate to LimitRanges for existing namespaces created using kubectl. This behavior deviates from what's expected and maybe as a result of the missing annotation.
cc @maxsokolovsky

If a project has resource quota limit defined, then every project namespace gets a special annotation that marshals the configuration.
Similarly, if a project also has a container default limit defined, then every project namespace gets a special annotation that marshals the configuration.
However, there is a difference in behavior depending on how you create the namespace in the project.
If you use the UI, then the annotation for the container default limit gets added to the namespace object.
If you use kubectl, it doesn't appear. The corresponding LimitRange does get created, though, which is good.
But there is a difference in behavior when you update the project's container limit configuration.
The update to the project doesn't get propagated to LimitRanges for namespaces made with the UI (which the docs describe as normal).
But the update to the project does get propagated to LimitRanges for namespaces made with kubectl. Is this bad? Should the behavior be the same regardless of how you create the namespace in the project? Should the controller then immediately create the annotation (when kubectl is used), so that the behavior is the same?
Note that this difference isn't found with resource quota limits, as no matter how you create the namespace, its corresponding annotation appears on the object.

What's the kubectl command to create a namespace and associate it with a rancher project?

There is no simple kubectl command, unfortunately, because you'd need to specify a special annotation.
The manifest for a manifest associated with a project would look like the following:
apiVersion: v1
kind: Namespace
metadata:
    name: my-ns
    annotations:
        field.cattle.io/projectId: c-m-pkmqcb64:p-st7gk

Here, c-m-pkmqcb64:p-st7gk is the clusterID:projectID pair.


Same colors by provider in all of the graphs

Use the same color for a provider along all graphs. Currently this does not happens and creates some confusion and does not help to identity a specific one in a graph at first sight.

Some graphs had additional columns and changed the automatic colors assigned by gnuplot. Fixed by assign manually a color by column.


README improvements

README improvements
A few comments on the readme file. The file itself is not up to date with the latest changes.

The Core Publish section has a formatting issue – it’s missing an empty line to render the code section correctly.
Jetstream client init code (JetStreamClient js = client.JetStream();) is dated as it should return a future.
The JS publish is confusing to me as it uses all kinds of latches for synchronization, which is not a good example of how the client will be used in a Vert.x ecosystem. That may be copied from a unit test.
The list of JS publish methods is missing the version with options.
The formatting issue for JS pulls subscribing ended up inside the code section.
The message ack section must be updated with the latest method name changes.
The last NATS utils section needs to be removed probably.

https://github.com/nats-io/nats-java-vertx-client/pull/42 started this.


ImportError : cannot import name 'cloud” from  ' tensorflow.contrib' (/usr/1ocal/lib/ python3.7/dist-packages/tensorflow/ contrib/_ init Py)

I am using TensorFlow 1.14.0 and python3.7.
When  i run code, this erro will display.

@Dolphinzzx
Can you please try to :
find the path corresponding to ImportError, open the init.py file of tensorflow, and comment out the line corresponding to the error. (and let us know)
Also please refer to below resolved issues with same error:
#23976 link link link1

got the same error, you have to manually comment-out the import line cloud from tensorflow/contrib/init.py


Extra include folder pybind11_catkin causes issues

I'm not sure why this package uses an extra layer pybind11_catkin in its include folder hierarchy, which is essentially skipped then by the macro pybind_add_module:
https://github.com/ipab-slmc/pybind11_catkin/blob/2990ceed6522b0c61c700210714a120ca4abe959/cmake/pybind11_catkin.cmake.in#L19
This causes issues with catkin's normal mechanism to transitively pass upstream dependencies to downstream packages: While catkin_INCLUDE_DIRS will only contain the base include path, what is actually needed to find headers is include/pybind11_catkin. However, this path is only provided in the pybind_add_module macro, such that downstream packages will fail on corresponding includes.

This is due to the need for all headers to be encapsulated in pybind11_catkin due to pybind11-dev existing natively on bionic. This was a requirement for release. @VladimirIvan can comment some more.
Is there a possible workaround you can think of?

Modules created using the pybind_add_module macro are not intended to be further included in c++. As such, the include directories don't have to be passed down stream. If this not the case for a special case please let us know. Otherwise what @wxmerkt described is more critical compatibility on bionic.

I agree that for distinguishing Bionic's system package and this ROS package, there should be a separate folder, otherwise /opt/ros/*/include would automatically override those system headers - even if the pybind11_catkin package was not requested.
I was using a common helper library (not a pybind11 module) that needed to include pybind11.h. However, due to the additional include folder, the header was not found by downstream libs via the default catkin_INCLUDE_DIRS mechanism.
My suggestion is to correctly export pybind11_catkin_INCLUDE_DIRS  - including the pybind11_catkin folder. This way, as soon as somebody includes this package, the include dirs are correctly set.

I suppose this would have to be done by a manually created pybind11_catkinConfig.cmake and not the CFG_EXTRAS as currently, correct? Would you perhaps have a minimally working example?

If we agree on the approach, I can propose a PR.

That would be wonderful, thank you very much for your time and effort. I agree that the hidden include in the macro is confusing. I wonder if moving the line using include_directories from the macro up to re-define pybind11_catkin_INCLUDE_DIRS would do the trick?

My idea was to adapt the CFG_EXTRAS cmake file to correctly set the include dir. Needs to be tested though.


Add scopes for JWT issuer config

Codecov Report

Merging #4 into master will increase coverage by 5.27%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master      #4      +/-   ##
=========================================
+ Coverage   14.82%   20.1%   +5.27%
=========================================
  Files          46      51       +5
  Lines        1214    1328     +114
  Branches      193     209      +16
=========================================
+ Hits          180     267      +87
- Misses       1020    1047      +27
  Partials       14      14

Impacted Files
Coverage Δ

tool-plugins/vscode/src/core/extension.ts
27.86% <0%> (-1.28%)
:arrow_down:

tool-plugins/vscode/src/telemetry/exceptions.ts
100% <0%> (ø)
:arrow_up:

...s/vscode/src/project-tree-view/project-overview.ts
0% <0%> (ø)
:arrow_up:

...ool-plugins/vscode/src/debugger/config-provider.ts
0% <0%> (ø)
:arrow_up:

composer/packages/tracing/src/ToolBar.tsx
71.05% <0%> (ø)

composer/packages/tracing/src/TraceList.tsx
94.44% <0%> (ø)

composer/packages/tracing/src/DetailView.tsx
79.31% <0%> (ø)

composer/packages/tracing/src/TraceLogs.tsx
70.83% <0%> (ø)

composer/packages/tracing/src/index.ts
0% <0%> (ø)

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 1dfa126...7e0ab9f. Read the comment docs.


Constant objects

Just looking at the constants I'm not sure what the point of using objects to define constants.
Say for example I have { User: ['ADD', 'REMOVE'] } The constants I end up with are basically just 'ADD' and 'REMOVE' which means that I leave my self open to constant collisions if I don't namespace the actual constant key.
Would it make sense to include the 'Path' in the generated constant?
ie { User: ['ADD', 'REMOVE'] } would result in something like 'User__ADD' and 'User__REMOVE'.
You probably make this change without affecting anyones code as you always lookup the values of the constants from the constants list.

How do you propose that work with the current API? If I call something like
var UserConstants = Marty.createConstants([
  "ADD_USER",
  "DELETE_USER",
  "UPDATE_USER_EMAIL"
]);

per the guide, how do I pull out that "User" string?

I think more I was meaning when you pass an object rather than an array to
the createConstants command.
var Constants = Marty.createConstants({
Users: ['RECEIVE_USERS', 'DELETE_USER'],
Foos: {
Bars: ['ADD_BAR']
}});
Which would result in:
{
Users: ['Users__RECEIVE_USERS', 'Users__DELETE_USER'],
Foos: {
   Bars: ['Users__Foos__ADD_BAR']

}
}
The issue I am trying to avoid is this:
{
Users: ['ADD'],
Pages: ['ADD'],
}
Constants.Users.ADD and Constants.Pages.ADD would result in the same
constant and both trigger the same stores.
On 28 May 2015 at 11:19, Jimmy Jia<EMAIL_ADDRESS>wrote:

How do you propose that work with the current API? If I call something like
var UserConstants = Marty.createConstants([
"ADD_USER",
"DELETE_USER",
"UPDATE_USER_EMAIL"
]);
per the guide, how do I pull out that "User" string?
—
Reply to this email directly or view it on GitHub
https://github.com/martyjs/marty-lib/issues/8#issuecomment-106130854.

ugg sorry, I should have logged into github rather than replying to the email.

It doesn't really save you much typing to write Constants.Users.ADD instead of e.g. Constants.ADD_USER, though.

I don't think it's about how much you have to type more about expect behaviour. I had to read the source to convince myself that the constant aren't being created with any sort of name spacing.
I'm not really sure what the point of passing a nested object to createConstants if they aren't name spaced. You could just use a flat array and do the name spacing yourself as you suggest.

Oh, you mean actually passing in an object when you define constants? I misunderstood. I didn't realize that was supported. What you're saying makes sense, then.

Awesome! sorry if I was confusing.

If we needed to keep the current API, something like
function constants(ns, arr) {
  let result = {},
      constantsList,
      namespace;

  if (typeof ns === "string") {
    constantsList = arr;
    namespace = ns;
  }
  else if (Array.isArray(ns)) {
    constantsList = ns;
    ns = "";
  } else {
    throw new Error("The signature for creating constants is ([namespace:string, ] ConstantsList:Array)");
  }

  constantsList.map(function (c) {
    return ns + c;
  }).forEach(function (item) {
    let types = [
      item + "_STARTING",
      item + "_DONE",
      item + "_FAILED"
    ];

    types.forEach(function (type) {
      result[type] = type;
    });
  });
}

module.exports = constants;

would probably work out nicer.

It's fine as far as it goes, but I think it'd rather move to constants being unique symbols - the problem is that it's technically a breaking change.

though constants are generated runtime and only exist until the browser is
refreshed so you might be able to get away with an update.
Otherwise you could add an opt-in flag maybe?
On 1 July 2015 at 12:59, Jimmy Jia<EMAIL_ADDRESS>wrote:

It's fine as far as it goes, but I think it'd rather move to constants
being unique symbols - the problem is that it's technically a breaking
change.
—
Reply to this email directly or view it on GitHub
https://github.com/martyjs/marty-lib/issues/8#issuecomment-117418024.

I meant just in case someone was actually taking advantage of how constants map to their string values. Not sure why you'd do this, but it could conceivably break someone.


Documentation files get added in reverse order.

Not sure what the solution is, but probably reversing the array once parsed?

What do you mean? You mean in the documentation tree? Differently then from the file system?

I think I was a bit tired when I created this one.
Either that or it only happens in Mac.
Closing 🤡


[Call for Discussion] Decouple interface store into small,  separated interfaces base on usage/features

For now we have all data access layer into single one store interface,  my concern is that it is  going to be got explode when  too many feature added in.
What I suggest is we are going to separated into small chunk of interfaces like AppStore, TaskStore, IPAMStore, etc.
Any suggestion?

+1
seems like a good idea


Your ChatGPT session is not usable.

I tried to use chapt-wrapper in python like this, but I encountered this problem.
from chatgpt_wrapper import ChatGPT
bot = ChatGPT()
return the full result
response = bot.ask("what day is today")
print(response)
problem:
Your ChatGPT session is not usable.

Run this program with the install parameter and log in to ChatGPT.
If you think you are already logged in, try running the session command.

i have this problem too

+1

I fixed it like this
import os
os.system('chatgpt install')

After that it worked

The problem should have been fixed in #153

Hello @mmabrouk,
I'm still running into the same error with the most recent version of the repo. I also had to add import nest_asyncio; nest_asyncio.apply() to the top of chatgpt.py otherwise I get a "This event loop is already running" error.
Any guidance would be greatly appreciated.
Best regards,
Hani


ToggleRefinement is broken due to unadapted filter

Description
My Vue application is using ToggleRefinement for the field available_for_sale. It results in an incorrect filter being sent with the request. All colons are not correctly being converted.
Request body:
{
	"filter": [
		[
			"categories__lvl1=\"Apparel > Tees\""
		],
		"available_for_sale:true"
	],
	"attributesToHighlight": [
		"*"
	],
	"limit": 200,
	"q": ""
}

Expected behavior
All filters should have colons replaced with equal signs: "available_for_sale=true".
Current behavior
The filter "available_for_sale:true" has a colon.
Environment:

OS: Ubuntu 20.04
Browser: Firefox 93.0b9
MeiliSearch version: 0.22.0
instant-meilisearch version: 0.5.5
instantsearch.js version: 4.25.1

Nevermind, I was manually setting helper.state.filters = "available_for_sale:true" in the search-function. I missed that.


webpack support

It would be nice if all the parts of asn1js/pkijs could be used easily with the webpack module loader. Currently I am having to manually splice together asn1/common, asn1, pki/x509_simpl, and pki/x509_schema into one giant file, which is not particularly sustainable. I see the documentation about using node.extend to solve what appears to be a similar problem when running on Node.js, but I don't think that technique would work with webpack.

The PKIjs was designed to be an independant library as much as it is possible. So, we do not have any code, specific to any "package manager". Also we do not have a plans to support (directly) any package manager. Instead of it we suggested a way how to use it in Node.js applications. You can change the code we suggested in order to match your specific requirements.

Would you consider changing references to in_window within org.pkijs.getCrypto and org.pkijs.getRandomValues to refer directly to window instead, then? As you document, those methods aren't going to work in a Node.js environment anyway, but as things stand, they won't work in a webpack environment either even though there actually is environmental support in the true window, because the main in_window argument to the module is an exports sandbox.

Yes, it could be a case. I will think how to handle it correctly.

In today's code I have introduced a way how to use "crypot engines" with PKIjs. As a consiquence the code will satisfy also your request, please take a look at the code.

Great, thank you very much for your assistance.


Error in building the SVM project crates

Overview / Motivation
Trying to build svm project on local ubuntu 22.04
The Task

Rust nightly setup done from following link  - https://doc.rust-lang.org/1.2.0/book/nightly-rust.html

Cloned [svm] -  git clone https://github.com/spacemeshos/svm.git

Executed build command - cargo build

Error Output for cargo build -

error: couldn't read crates/host/genesis-config/src/../../../../simple-coin-transfer-template/simple_coin_transfer_template.wasm: No such file or directory (os error 2)

--> crates/host/genesis-config/src/lib.rs:40:9
|
40 | /         include_bytes!(
41 | |             "../../../../simple-coin-transfer-template/simple_coin_transfer_template.wasm"
42 | |         )
| |_________^
|
= note: this error originates in the macro include_bytes

Seeking guidance to build the svm repo successfully

Implementation Notes
Followed the project's readme

In general, if this error appears anywhere, locate the parent directory of the missing file. There will likely be a build.sh script that needs to be executed.
This should certainly be refactored so that a single command (e.g., a make recipe) can be used to build all of the relevant script dependencies. Apologies for this friction when attempting to experiment with the svm.
Anyway, this is the build.sh file that should be run to address the latest error you've reported https://github.com/spacemeshos/svm/blob/master/crates/host/runtime/tests/wasm/calldata/build.sh

@WilfredTA
Okay got it, make recipe will be great!
Thank you for helping out


Entry name changes in Lab26

Module: 4
Lab: 26
Step: 19
Description of issue
In lab 26, step 19:
"Under Assignments, select 'Users and groups' ."
In the current version of Azure, the entry is called "Users or workload identities".

Fixed ... Thanks for the submission.


sqlitecloud and gorm

Hello there,
First of all, thanks for the project, looks amazing!
Now, I am not an experienced Go Developer, but I am not able to make it work between sqlitecloud and gorm. Let's say I have the following snippet:
	if db, err = gorm.Open(sqlitecloud.Connect(connectionString), &gorm.Config{
		Logger: logger.Default.LogMode(logger.Silent),
	}); err != nil {
		return err
	}

I'm having the following error:
*multiple-value sqlitecloud.Connect(connectionString) (value of type (sqlitecloud.SQCloud, error)) in single-value context
Any idea?
Thanks

Hi @facundofarias
This library can be used to communicate with SQLite Cloud servers, but it is not a drop-in replacement for the standard sqlite3 libraries like github.com/mattn/go-sqlite3, so it cannot be used with the GORM SQLite Driver. We are working on a new library that will be fully compatible with the established sqlite3 API. It will allow you to migrate your SQLite to the cloud while continuing to use your existing Go codebase..

I see! That would be great.
Thanks

Hi, any update to support github.com/mattn/go-sqlite3?


N-01 Gas Inefficiencies

Audit notes:

Throughout the _withdraw and withdrawAll, functions the storage array poolAssets
and its length are loaded from the storage multiple times in each function. Consider
loading it into a memory array and then reading from there.
Throughout the strategy, ++i is used in all for loops. Consider changing this i++
occurrence to ++i as well in order to maintain consistency and save some gas.

When performing these changes, aim to reach an optimal tradeoff between gas optimization
and readability. Having a codebase that is easy to understand reduces the chance of errors in
the future and improves transparency for the community.

Yup I've merged it to submit it to OZ team. Though I probably wouldn't need to be trigger happy with merging