[WIP] Support for graphviz dot

Hey @AndrewRadev
This is my initial version for graphviz dot support. While it works as intended for nodes that are variables (in most cases this holds), it lacks robustness against string node names which contain special characters. For instance, I started with split(line, ';') instead of using proper regular expressions. Thus a node identifier like"this, makes;-> problems" is not covered yet. However, what you typically do in dot is declaring nodes as variables where you can add any label once, instead of using it as the node identifier directly (which you would always have to repeat in edge definitions) e.g.:
X [label="some super complex label, and stuff; -> something"]
X -> A, B;

Splitjoin objects

Multiple statements (A -> B; X -> Y)
Multi-edges (A -> B,C)
Chained (transitive) edges (A -> B;\n B->C)

On splitting callbacks are issued top-down. On joining, bottom-up.
A possible improvement for the second and third case would be to also consider joining two statements on a single line (for now it only works if there is 1 statement per line in two consecutive lines).
Now, I included the case of joining two statements on a single line. Still, the behavior could be even more sensitive to cursor position (e.g. join statement 2 and 3 on one line if the cursor is in statement 2).
Two examples:
// Example 1
// Cursor on 'A'

A, B -> C -> D -> E; X -> Y;

// gS

A, B -> C -> D -> E;
X -> Y;

// gS

A, B -> C;
C -> D;
D -> E;
X -> Y;

// gS

A -> C;
B -> C;
C -> D;
D -> E;
X -> Y;

// gJ

A, B -> C;
C -> D;
D -> E;
X -> Y;

// gJ

A, B -> C -> D;
D -> E;
X -> Y;

// gJ

A, B -> C -> D -> E;
X -> Y;

// gJ

A, B -> C -> D -> E; X -> Y;

// Example 2
// Cursor on 'A'

A, B -> C, D;

// gS

A -> C;
A -> D;
B -> C;
B -> D;

// gJ

A -> C, D;
B -> C;
B -> D;

// jgJ

A -> C, D;
B -> C, D;

// kgJ

A, B -> C, D;

https://github.com/AndrewRadev/splitjoin.vim/issues/105

Why do checks fail after just dropping a single echo statement, whereas previous commits succeeded? Strange.

The tests seem to pass after rerunning the build. I saw something about some rust tests in the failure, so maybe there was an issue with TravisCI (I disabled the rust tests on travis, long story).
Anyway, the existing are fine, but I guess that's to be expected, it's support for a brand new thing. I'm going to write some tests for the new code soon, and I'll push them to this PR (since recently, github allows me to do that :)).
I've left some comments. In general, it looks great, and I really appreciate your work. You've definitely thought of a lot of cases :). It'll be easy to build a good test suite for the code.
We might have to restructure it, though. I pointed it out in one comment, that taking the line and working with just the string is usually not enough. More often than not, parsing the contents of the line requires working with the text in the buffer as much as possible, since the buffer text contains syntax information. I definitely think it's doable, though.
I'll see what I can do about the tests, I'm a bit busy these days, but I'll get more free time in a couple of weeks. If you run into issues, and/or are not sure how exactly to implement something, feel absolutely free to write a comment in the PR, ask me for advice, I might even implement it myself, if I can allocate the time.

Thanks. Where exactly can I find the comments you left in the code?

You can see them in this pull request. If you click on "files changed", you'll end up on this page: https://github.com/AndrewRadev/splitjoin.vim/pull/109/files. Scroll, and you'll see my comments inline in the diff.

Hmm, I still cannot access the review comments :cry:

Ugh, I guess it was my fault, sorry. Turns out, the comments were somehow batched, and I needed to "Submit review" to make them visible. I really didn't expect this. Might be some recent change in how github comments work.
Anyway, sorry about this, but they should be visible now.

I've added some test to the dot support, in order to exercise it. I've found one issue that I fixed, but I'm not sure about the other one. Basically, joining this doesn't seem to work correctly:
A, B -> C -> D;
D -> E;

The result seems to be:
A, B -> C -> D; D -> E;

The tests are in this commit, because I couldn't push them to the PR: https://github.com/AndrewRadev/splitjoin.vim/commit/8f61383a20e491b496aadfd52921e6f8139e4e29

Thanks. I merged the commit with the test cases and will continue working on the PR. :+1:


Discrepancy between msaconvert documentation and usage help

The documentation says in the "Convert an external MSA into a profile" that

It is possible to use MSAs in FASTA, A3M and CA3M format.

But when I try using an MSA in fasta format to build a profile database and search with it, for example
mmseqs convertmsa myMSA.fasta msaDb
mmseqs msa2profile msaDb profileDB
mmseqs search profileDB targetDB hitDB tmp --start-sens 1 --sens-steps 3 -s 7

I get
Input tmp/17085414453924316708/pref_0 does not exist
Error: Alignment died

Looking at mmseqs convertmsa -h, it says usage: mmseqs convertmsa <i:msaFile.sto[.gz]> <o:msaDB> [options]. I tried using a stockholm formatted msa and did the same the above, and was able to search with no errors. Is the documentation wrong about FASTA MSAs being able to be used, or is there some issue? Or perhaps I am mistaken by what the documentation is trying to say.

I think the profile queries and iterative increasing sensitivity searches --start-sens 1 --sens-steps 3 might be currently incompatible. We have a bit of a combinatorial explosion of different search modes and not every mode works with every other mode correctly.


armnn version info

I have preinstalled armnn libs on my system, is it possible to get version information om ARM-NN install programmatically?
Thanks.

Hi peter197321
there is currently no way of getting version information from Arm NN programatically. Adding semantic versioning information is planned however we don't know when it will be available.
Yours,
Mike
See #293

I think there's a way of logging the Arm NN version, if that's all you need? Try turning on maximum verbosity using the logging routines in Utils.hpp, and I think you will get a log message that shows the version number.

Hi @peter197321 ,
We are tracking the addition of Semantic Versioning to ArmNN in #293 .
Were you able to get the version number using Matthew's approach above?
Cheers,
James

Hi @peter197321,
A GetVersion API has been added during 21.02 release.
include/armnn/Utils.hpp
const std::string GetVersion();
Regards,
Francis.


Feature/moar router content type field

Builds on router changes in https://github.com/AltSchool/dynamic-rest/pull/85 to add improved support for ContentType fields.
Supported:

Including/sideloading of polymorphic relations using canonical serializer (if registered)
Prefetching (some weirdness around how Django seems to fetch/cache ContentType objects themselves)

Not supported:

include[] and exclude[] of ContentType fields (which arguably doesn't make sense anyway)
filter{} for fields within ContentType fields
filter{} for ContentType fields themselves, other than with .isnull operator

Output structure (proposed):
{
  "users": [{
    "id": 1,
    "pet": {
      "type": "cats",
      "id": 1
    }
  },{
    "id": 2,
    "pet": {
      "type": "dogs",
      "id": 1
  }],
  "cats": [{
    "id": 1,
     ...
  }],
  "dogs": [{
    "id": 1,
     ...
  }]
}

Todo:

[ ] Ratify approach and whether or not this makes sense to add
[ ] Ratify output format
[ ] When sideloading, parent object should include type instead of just the ID
[ ] Add some sensible default behavior for when there's no registered serializer for sideloaded resource.

CC @alexgb

Exciting stuff :+1:


Fix setup.py to create pyhellweg.pyd

@robnagler -- when I try 'pip install -e .' or 'pip install .' I get the following compilation error:

I think this is related to pyhellweg.pyd not being present, and I forget the work around.

You need to run make first, I think, because it will create lib/pyhellweg.cpp.


[Fortran] nullify pointers before checking associated status

In Fortran the status of a pointer can be: undefined, not associated or associated. The first is the status upon creating the pointer, which implies that calling associated on it is undefined behavior.
Some examples are:
real, pointer :: p

if (.not.associated(p)) write(*, *) 'This is undefined behavior'

The correct solution is
real, pointer :: p

nullify(p)
if (.not.associated(p)) write(*, *) 'This is correct'

When working with derived types
type t_special
    real, pointer :: p
end type t_special

type(t_special) a
if (.not.associated(a%p)) write(*, *) 'This is undefined behavior'

The correct solution is
type t_special
    real, pointer :: p => null()
end type t_special

type(t_special) a
if (.not.associated(a%p)) write(*, *) 'This is correct'

A pointer can be nullified using nullify(p) and p => null(). Since the latter can be used everywhere, and not just in the definition of a type, it would be nice to normalize its usage.

Once again, thank you so much for your contribution, @RRiva! :-)
As per your comment here https://github.com/codee-com/open-catalog/issues/38#issuecomment-2373809507, we will prioritize this check and plan to add it to the catalog in the near future!

Hi @RRiva!
We've recently added a new check to the Open Catalog that addresses the issues of using uninitialized variables:

PWR079: Avoid undefined behavior due to uninitialized variables

This check discusses how to prevent undefined behavior caused by different types of uninitialized variables, including, but not limited to, Fortran pointers. Motivated by these scenarios you shared with us, we discuss nullification as a way to increase their safety.
We hope you find this new check helpful! We'll keep the issue closed, but if you have any further suggestions or would like to continue the discussion, feel free to comment here or open a new issue.

Nice work @alvrogd 🙂 One thing that I suspect, but never tested, is that nullifying a pointer in its declaration, like in your example, causes the infamous implicit save behavior. That's why I prefer to write
integer, pointer :: array(:)
array => null()

Note that it is fine to nullifying a pointer inside the derived type declaration.


Fixed a minor variable in the example

The line in the code for Read() should be js.Read() instead of joystick.Read()

Also, the Printf statements in the same example does not print newlines with \n.


Minor dead link on CONTRIBUTE.md

Under step 4. Manual testing and debugging There is a link titled  "here en example for that"
The dead link is:  https://github.com/terraform-redhat/terraform-rhcs-rosa/tree/main/examples/rosa-classic-with-unmanaged-oidc
Should it be changed to this one instead?
https://github.com/terraform-redhat/terraform-provider-rhcs/tree/main/examples/create_rosa_sts_cluster/oidc_configuration/cluster_with_unmanaged_oidc_config  (notice this is STS cluster not classic as the original dead link)

Thank you @tshefi
You right, the directory name was changed there

Should it be changed to this one instead?
https://github.com/terraform-redhat/terraform-provider-rhcs/tree/main/examples/create_rosa_sts_cluster/oidc_configuration/cluster_with_unmanaged_oidc_config (notice this is STS cluster not classic as the original dead link)

No, this is not the example


Importing own speech model

Hi, I from Poland and I want to import polish model to this program? How can I do this? Also big love to the creator of this plugin <3

What kind of model would that be? Do you have a link to the model you're thinking of? I might have time to give it a try.


Add instrumentation to publishing

Work-in-progress: Based on semantic conventions, we should be creating "producer"-tagged spans when publishing events. At the moment, we don't support our API clients in any way for doing this. The exact naming of spans needs to be discussed, as well as if we want to stick to semantic naming of opentelemetry in both OpenTracing and OpenTelemetry implementations.
Background and References

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/messaging.md#span-name
https://observability.docs.zalando.net/observability-manual/message-queue-clients/#tracing (internal)

Changes

[x] Implement and test IntstrumentedNakadiPublisher for OpenTracing
[x] Implement and test IntstrumentedNakadiPublisher for OpenTelemetry
[x] Add end-to-end test for OpenTelemetry

Codecov Report
Base: 66.92% // Head: 67.84% // Increases project coverage by +0.91% :tada:

Coverage data is based on head (4e1f988) compared to base (f984fdc).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #367      +/-   ##
============================================
+ Coverage     66.92%   67.84%   +0.91%
- Complexity      401      409       +8
============================================
  Files            74       76       +2
  Lines          1678     1726      +48
  Branches        143      143
============================================
+ Hits           1123     1171      +48
  Misses          453      453
  Partials        102      102

Flag
Coverage Δ

unittests
67.84% <100.00%> (+0.91%)
:arrow_up:

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

Impacted Files
Coverage Δ

...main/java/org/zalando/fahrschein/NakadiClient.java
86.27% <ø> (ø)

...ein/opentelemetry/InstrumentedNakadiPublisher.java
100.00% <100.00%> (ø)

...chein/opentracing/InstrumentedNakadiPublisher.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.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

👍

I'm moving this back to draft state. Maybe we want to offer annotations for this instead...?


On Android, when GeneralSecurityException "decryption failed" is thrown when calling AeadFactory::decrypt?

Hi,
Edit: we are using Tink 1.2.2.
We have been getting crash reports with the exception GeneralSecurityException: decryption failed with the stack trace pointing to AeadFactory::decrypt as the source of the exception, and we are lost on when that happens.
We are not sharing the keys or the cipher text, so, the same device and algorithm that encrypts it, is the same one that is decrypting it.
We are also using the AndroidKeysetManager.
The error seems to happen exclusively on Android 8 e 9 so far.
Any idea on what may be causing this exception being thrown? Thank you :)
Check our full implementation: https://gist.github.com/AllanHasegawa/85431b6f7c53074511527655712c9872

We have been getting crash reports with the exception GeneralSecurityException: decryption failed with the stack trace pointing to AeadFactory::decrypt as the source of the exception, and we are lost on when that happens.

It happens when the ciphertext is invalid or the key is incorrect.

https://gist.github.com/AllanHasegawa/85431b6f7c53074511527655712c9872
Interesting.

Are you using the same keysetFileName? Can you dump the Shared Preference to make sure it is there and is not changed on each run?
Also: https://gist.github.com/AllanHasegawa/85431b6f7c53074511527655712c9872#file-tink_keystore-kt-L38 looks incorrect? You simply concatenate the associate value with ciphertext, so values.size should be 2?

It happens when the ciphertext is invalid or the key is incorrect.

hmmm. I'm saving the cipher text on SharedPreferences. Maybe Android is corrupting this data somehow? will investigate further.

Are you using the same keysetFileName?

Yes, same keysetFilename.

Can you dump the Shared Preference to make sure it is there and is not changed on each run?

Unfortunately I was not able to replicate this issue to know more about it. The crashes are coming from Crashlytics. I tried this code in many different devices and it always works.
On the devices that the code do work the contents of the SharedPreferences seems to be OK. I tried even manually changing the contents of the shared preference and even so I could not replicate the crash. If I change the key cache, I just lose the content, but no crash.
I'm running a test where it encrypt/decrypts billions of random strings with no issues. The problem should be an issue somewhere else.

values.size should be 2?

The regex matcher will return 3 groups. The first one is the full match, with the others 2 being the associated data with the cipher text. This works fine 99.97% of the time (0.03% being the crashes).

It looks like we've got a Heisenbug.

The error seems to happen exclusively on Android 8 e 9 so far.

Do you have a list of device models and/or manufacturers on which it happened?

Do you have a list of device models and/or manufacturers on which it happened?

Yes.

LG G7 ThinQ
Mi A2 Lite
Redmi Note 5 Pro
Motorola One
Moto Z3 Play
Moto E (5)
Galaxy A7 (2018)
Galaxy S9+
Galaxy Note9

If I read the code correctly, this would happen if clock.now().toString() returns a string containing a colon. It sounds unlikely this is the problem (why would it only happen so infrequently?), but still: is this possible?

I see.
Is it possible for you to do a "safety decryption" right after you encrypted the data? I.e., after
val cipherBytes = aead.encrypt(
plainText.toBA(),
associatedData.toBA())
add something like
val unused = aead.decrypt(cipherBytes, associatedData.toBA());
This would make the correct team is working on debugging this issue.

@tholenst Will do. Will create an exception to know if we are crashing right after generating the cipher text, or when restoring it from SharedPreferences.

We rolled out an updated version of this "safety decryption" as @tholenst suggested and we got no exceptions thrown when deciphering just after encrypting our data. This makes me think that Tink is working as intended here.
We are, however, still getting crashes when deciphering persisted data. But for now, I'll close this issue since I don't think there's much Tink can do to fix in this case.

I had a similar issue on a project that i'm working on. After stepping through the debugger to see what methods and classes get called, I noticed that from the Android integration package (https://github.com/google/tink/tree/master/java/src/main/java/com/google/crypto/tink/integration/android), AndroidKeystoreAesGcm.java does not get invoked but AesGcmJce does instead.
What I attempted to do was to use the static getOrGenerateNewAeadKey(String keyUri) in AndroidKeystoreKmsClient after generating the KeysetHandler like so (roughly based on your gist):
private fun getAEAD(): Aead {         generateKeysetHandler()         return getOrGenerateNewAeadKey(masterUri.toString())     }
This now invokes AndroidKeystoreAesGcm. My question to the team is: How should we properly obtain the Aead class for Android?

My apologies, I stand corrected. I've managed to replicate the scenario and in our case it occurs because when the user logs out, we delete the KeyStore alias entry. Unless the app is closed fully at that point, the next time a user logs in, it appears that even if we call generateKeysetHandler(), the subsequent attempt to get the KeysetHandle would fail.
Though my point that AndroidKeystoreAesGcm does not get invoked still holds true. Let me know if my usage above is correct.

Hi @daewin

Hey @thaidn. I believe that key generation etc. works as intended, but the problem was that we were lazy loading the Aead instance (getOrGenerateNewKeysetHandle().getPrimitive(Aead.class)), so even after deleting the KeyStore alias, it was still using the now defunct Aead instance on the next user login - the proper way is to generate a new Aead key and use that.
For some context, it looks a little like this:
    val aead: Aead by lazy {         AndroidKeysetManager.Builder()             .withSharedPref(applicationContext, TINK_KEYSET_NAME, PREF_FILE_NAME)             .withKeyTemplate(AeadKeyTemplates.AES256_GCM)             .withMasterKeyUri(MASTER_KEY_URI)             .build()             .keysetHandle             .getPrimitive(Aead::class.java)     }

Though i'm curious as to why AndroidKeystoreAesGcm never gets used even if i'm on Android APIs >=23. We seem to be using AesGcmJce exclusively.

Sorry for the late response. AndroidKeystoreAesGcm is only used to unwrap the keyset. AesGcmJce handles the actual data encryption.
Please reopen if you need more help.

Though i'm curious as to why AndroidKeystoreAesGcm never gets used even if i'm on Android APIs >=23. We seem to be using AesGcmJce exclusively.

Sorry for the late response. AndroidKeystoreAesGcm is only used to unwrap the keyset. AesGcmJce handles the actual data encryption.
Please reopen if you need more help.

So this makes some more sense the rolw of AndroidKeystoreAesGcm. So my understanding is that tink does the following

Tink creates a master key with the alias passed in withMasterKeyUri(). The key is stored in the AndroidKeyStore.
Tink gets an Aead from AndroidKeystoreKmsClient#getOrGenerateNewAeadKey()
Tink writes the KeySet into the SharedPreference with the master key (stored in the KeyStore). This encryption will use AndroidKeystoreAesGcm to encrypt, as it is passed in as the masterKey in KeysetHandle#encrypt(Keyset keyset, Aead masterKey)

Any update on this? Still happens in 1.0.0-rc03 (tested in Mi A2 Lite)


Don't reset Variables when autoReload triggers

This is a Feature request.
NLog version 4.3.4
Platform: net45
<nlog autoReload="true" throwExceptions="true" throwConfigExceptions="true" internalLogFile="nlog.txt" xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <variable name="Batch" value="" />
  <targets>
    <target name="allLog" xsi:type="File" fileName="Log Batch-${var:Batch}.txt" layout="${longdate}|${level:uppercase=true}|${logger}|${callsite}|${gdc:item=global}|${ndc:separator=->}|${message}" />
    <target name="errorLog" xsi:type="File" fileName="Errors Batch-${var:Batch}.txt" />
  </targets>
  <rules>
    <logger name="LogTest.Form1" writeTo="allLog" />
    <logger name="LogTest.Form1" minLevel="Error" writeTo="errorLog" />
  </rules>
</nlog>

Current configuration:
When i change the configuration file, the variables get reset, which means my filenames are off.
I request that on an autoreload, the variables (or at least the ones without values in the config) are taken from the current configuration

That's a good idea :)

Could you help us with an unit test? Would boost the implementation

This is fixed in 4.4 (optional, default false)


Add detail attribute to TransitionNotAllowed

Problem
Currently TransitionNotAllowed takes an object, a method, and whatever other arguments. In the case of FSMFieldMixin.change_state it takes some string detailing the error. E.g:
if not meta.has_transition(current_state):
    raise TransitionNotAllowed(
        "Can't switch from state '{0}' using method '{1}'".format(current_state, method_name),
        object=instance, method=method)

For users that want to use this message in further exception classes or other messages there needs to be a nice interface for getting this string. Currently, the process is:
except TransitionNotAllowed as e:
    raise YourCustomException(detail=e.args[0])

Proposed Solution
I propose that TransitionNotAllowed expose a detail or message attribute that can be called and save the user from having to look through the source code or debugging a potential KeyError.

@kmmbvnr I can get a PR up for this if you'd like?

@kmmbvnr I thought in something like this, but with one property in Transition called exceptions_message where this is a dict with all messages to not allowed state. Eg.
@transition(field=state, source='pending', target='paid', exceptions_message=PAY_MESSAGES)
def pay(self):
    pass

where,  PAY_MESSAGES will be a dict with all messages to target state not allowed. something like this:
PAY_MESSAGES = {
      'paid' : 'this order was paid'
}

Whether state is paid and the user calls pay method again TransitionNotAllowed will be raised with message this order was paid.
Whether exceptions_message isn't defined, the actual message to TransitionNotAllowed will be defined to this.
To solve this, I forked your repository and I implemented it. If you want, I can get a Pull Request up for this.

@lincolwn if you want to fork this branch that could be a good option for continuing into your exception_message feature.

You don't need to have e.args[0] just use str(e)  if you need exception text representation.
But generally, it looks that you misuse django-fsm and move to much logic to the model side. Prerequisites should be checked in the controller. The exceptions should not happen as part of a usual web application process, just in case of the programmer mistake.

About usage of text representation of Exception, I already use exactly how you saw. str(e) instead e.args[0].
But I don't agree with your second sentence, but I understand that. Anyway I appreciate your feedback. django-fsm is very interesting.

Alrighty, thanks for the explanation @kmmbvnr


Task decoration not enabled when "task.showDecorations": true and "terminal.integrated.shellIntegration.decorationsEnabled": "never"

Version: 1.70.0-insider (Universal)
Commit: 12b08be500f8a307f30e92cbc3ee39ba115eab69
Date: 2022-07-29T10:50:40.282Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.6.0
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:

Set Task decoration not enabled when "task.showDecorations": true and "terminal.integrated.shellIntegration.decorationsEnabled": "never"
Run a task
Task decorations are not shown.

When "terminal.integrated.shellIntegration.decorationsEnabled": "both"

Ref: https://github.com/microsoft/vscode/issues/153812#issuecomment-1171555376

@Tyriar and I discussed it and we will update the setting description to indicate that it will respect terminal.integrated.shellIntegration.decorationsEnabled.


Decouple GitTorrent from blockchain

If the title makes you mad take a moment to breathe before reading. My goal is to merely provide many avenues to success.
I think it would be useful to use federated infrastructure as well. This could work similarly to how peertube does where there are servers, you can host your own and they share data freely. This would allow us to piggyback gittorrent with the simpler activitypub model. You could keep going forward with your fully decentralized name solution with basically two repositories one just being the git * torrent architecture without the name tools, and another which uses gittorrent in conjunction with a name tool. This way we can get started much faster.

@schwab, In addition to that, I think it would be worthwhile looking into coming up with a means of putting issues, pull requests, wikis, and so on within a git repository itself.  The import functionality of Github competitors (ie, Gitlab) is nice, but it would be even nicer to use Git itself to preserve those data.

You guys might be interested in looking at git over ssb: https://github.com/noffle/git-ssb-intro

can I use gittorrent with raw hex strings?
can I use gittorrent from java?
can I use gittorrent as an alternative to dat?
can I use gittorrent without ever showing the end-user the hex strings/URIs/etc?

Here's another group working on a decentralized replacement for GH:
https://github.com/git-federation/gitpub
See also ActivityPub.rocks for more info about the standard they are building this around, the same one used in 'fediverse' social media networks like GNU social, Mastodon, PeerTube, and PixelFed.

Here's another group working on a decentralized replacement for GH:
git-federation/gitpub

On that note, I'd also point out https://github.com/git-series/git-series, which aims to implement a mechanism to track the review process (comments, replies, updates to the patches, etc.) within a git repository itself, and therefore preserved in the same distributed fashion as the code, rather than siloed on external platforms like GitHub. There was a Git Minutes episode with its creator that explains the concept in detail.

@waldyrious Still "aims", just slowly. :)
Thanks for the mention.

We could also use SSB for this. (secure scuttlebutt)


Simple example for Matrix-free eigenvalues

Hi,
It is possible that you provide a simple example of a Matrix-free eigenvalue problem please?
For example the following example does not work,
using IterativeSolvers
function shiftback!(output, b)
n = length(b)
length(output) == n || throw(DimensionMismatch())
for i = 1:n-1
output[i+1] = b[i]
end
output[1] = b[n]
output
end
A = IterativeSolvers.MatrixFcn{Int}(15, 15, shiftback!)
IterativeSolvers.eigvals_power(A)
Thank you,

I solved it with:
A = IterativeSolvers.MatrixFcn{Float64}(15, 15, shiftback!)

@rveltz can this issue be closed?

I realize this is an old issue from 2016, but I tried this example and it doesn't seem to work with the IterativeSolvers that I just installed.  Could someone help me with an updated version of this code?  I presume the tools are still there but the syntax has changed?

See the docs: https://julialinearalgebra.github.io/IterativeSolvers.jl/dev/getting_started/#matrixfree

Thank you @haampie , those links are very helpful.


k3s: Add k3s 1.24.3 and k3s 1.23.8

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
This PR updates the k3s version to 1.24.3 and adds k3s version 1.23.8 to build 2 rpms.
Change Log

Change
Change
Change

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

Built and tested locally using the Mariner toolkit.
BuddyBuild AMD64 : 230721
BuddyBuild ARM64 : 230729

Closes: #3582

LGTM. Please close #3468 and #3582 once merged, since it looks like this PR supersedes them.

Can this be re-opened? It's not made redundant by PR #3582 because we require supporting multiple minor versions simultaneously.

Do we want to revert this change ?
As this was merged.
This specific PR does support multiple versions.

No need to revert the change, I didn't realize this PR included the changes from that one. Thanks!


Support Intercom HMAC identity verification

This adds support for Intercom's HMAC identity verification, as documented here:
https://www.intercom.com/help/configure-intercom-for-your-product-or-site/staying-secure/enable-identity-verification-on-your-web-product
This adds a new optional setting: INTERCOM_HMAC_SECRET_KEY
This also sets a default user_id field for Django-authenticated users (which is what the HMAC authenticates, falling back to the email field).

Any news on this?

Sounds good. @jcassee, merge it?

Yes, indeed, Sorry @pjdelport. I will go over it tomorrow.

Thanks, @pjdelport, both for the work and your patience. :hourglass_flowing_sand:


Added KMP Algorithm in C++

🛠 Issue (Number)

Issue no #138
👨💻 Changes proposed
Hey, @Kumar-laxmi I have added the KMP Algorithm in Pattern matching in C++. Please review my PR and merge it. Thank you!
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Done @Rancho2002 . Check it now.

Done @Sanjanabharadwaj25. Approve it now.

@siddhi-244 Kindly review this PR and mark it Ready to Merge if it is approved from your side

After tagging also she is not replying!!!

Please merge my pr @Kumar-laxmi. Thank you!


Feature/click song card

Clicking a song card toggles the song, or the play paused state if it is the current song.

Also resolves #94


Empty records or dict with indention

It seems like the library only put empty line for such cases:

It seems that it is better to use inline type of dict or record in such cases, like:

What do you think?

Hi @RDBModel! Thanks for the report. Can you tell me what you're doing exactly? Preferably with minimal example code?

Thank you for your quick response.
I have a quite big model in Elm code and converting it to the string.
There is an encoder for 'system' (that entities are on the pictures):
systemEncoder : System -> Encoder
systemEncoder sys =
    record
        [ ("name", string sys.name)
        , ("description", string sys.description)
        , ("relations", list relationEncoder sys.relations)
        , ("containers", dict identity containerEncoder sys.delivery)
        ]

later I am using toString 2 enc to create a string.
So encoder creates just empty lines if there is no itesm in sys.relations or sys.delivery

OK, so this is the behaviour you're observing?
https://ellie-app.com/k5JJSqgv2Jda1
And you have something consuming this YAML where you need empty lists to be represented as empty lists?
My feeling is that an empty inline list is indeed more correct. But I need to check because this will be a breaking change.

Right, actually I am sending the same string (created by toString function) to Monaco editor and later trying to send it back to Eml. I am using encoder, like
systemDecoder : Decoder System
systemDecoder =
  map4 System
    (field "name" string)
    (field "description" string)
    (field "relations" (list relationDecoder))
    (field "containers" (dict deliveryDecoder))

but it is not parsing system-1 properly if there are empty lines instead of [] or {} (it is basically skipping such record).

Ah OK! This sounds like it isn't "round tripping". Unfortunately I don't have time to look at this right now but I absolutely will in the next day or 2.

Another case that, perhaps, can be improved https://ellie-app.com/k5NYB5sL7zDa1

If there is a list of records, each record will be rendered at a new line:

It seems like the following looks better:

Another case that, perhaps, can be improved https://ellie-app.com/k5NYB5sL7zDa1  If there is a list of records, each record will be rendered at a new line:  It seems like the following looks better:

I agree. Could you make this a separate bug please?

Hi @RDBModel ,
I've pushed a fix. I would appreciate if you could test it to check it matches your expectations please :)

@MaybeJustJames thank you very much for your work. It looks great from my perspective. Unfortunately I have no idea how to test it in my project as I don't know how to use unpublished version of the libraries in Elm (is it even possible?). As I know, Elm core team forbids it in 0.19.x version of Elm.

Sorry. I was unclear. The way you would test it would be to checkout this project and either use elm repl om some simple examples, or add a file to the tests/ directory with anything you like that is more complete. You don't need to contribute it of course. Just convince yourself its working as you expect now.

yep, it is working as expected (at least, from my perspective). Thank you!

Just checked this one again and found out that the implementation is missing a space between [] or {} and a keyword, e.g.
name:[]

but it should be
name: []

space after the colon

@ypyl and @RDBModel thanks. I've published version 2.1.3 with the encoding changes

it looks like the fix is broking encoding in the following case:
input yaml:
domain:
  name: My domain
  actors:
    actor-1:
      name: Actor
      relations:
        - uses - system-1
  systems:
    system-1:
      name: System 1

The result is after decoding and decoding its back:
domain:   name: My domain
  actors:     actor-1:
      name: Actor
      relations:         - uses - system-1
  systems:     system-1:
      name: System 1
views: {}


Use indexation instead of slicing for getting the first element.

It's less confusing and it's slightly faster:
$ python2.7 -m timeit -s 'foo="a"*1024' 'foo[:1]'
10000000 loops, best of 3: 0.0352 usec per loop
$ python2.7 -m timeit -s 'foo="a"*1024' 'foo[0]'
10000000 loops, best of 3: 0.0291 usec per loop

$ python3.4 -m timeit -s 'foo="a"*1024' 'foo[:1]'
10000000 loops, best of 3: 0.0473 usec per loop
$ python3.4 -m timeit -s 'foo="a"*1024' 'foo[0]'
10000000 loops, best of 3: 0.0302 usec per loop

If endpoints was an empty string, I think you'd be throwing an IndexError with this change, which wasn't true of the previous code. Not sure if it's realistic to ever have that, nor if the test cases check that.

Hmm, true. Given it's the only occurrence of this, I would add a comment about it.

url_for() with an empty first argument seems pretty pointless, but I guess without the IndexError you get a much nicer error when calling it with an empty first argument.
Anyway, I don't think the time difference is really relevant.  I'm closing this.


Hotfix/warm up aws metadata api

The two local tests passed. Need to test this on a life instance to make sure all is well.

Doing the warming up in this library seems to be a bit of a violation in what tfstate does. Especially since this is solving a problem for us... and this is a public repository. I'm not 100% against this just seems there might be a better way.

I think there is a better solution where we can use EC2 user data to run a script on our nodes when they launch. Details in WS-4580.

Closing for now.


Feature-Add knob state saving

Currently, the knobs reset to the default after closing and reopening the GUI. Add state ability to save the knob states.

Fixed.


python38Packages.pontos: 21.9.1 -> 21.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pontos is: "Collection of Python utilities, tools, classes and functions"
meta.homepage for python38Packages.pontos is: "https://github.com/greenbone/pontos"
meta.changelog for python38Packages.pontos is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/pontos-changelog passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/pontos-release passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/pontos-update-header passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/pontos-version passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/.pontos-changelog-wrapped passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/.pontos-release-wrapped passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/.pontos-update-header-wrapped passed the binary check.

/nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin/.pontos-version-wrapped passed the binary check.

0 of 8 passed binary check by having a zero exit code.

8 of 8 passed binary check by having the new version present in output.

found 21.10.0 with grep in /nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0

found 21.10.0 in filename of file in /nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0

directory tree listing: https://gist.github.com/c9ff4157ab618b0e3f05fbe81aa55e84

du listing: https://gist.github.com/0d34e74f02fd9483499ad29267f05e4b

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.pontos
python39Packages.pontos

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.pontos https://github.com/r-ryantm/nixpkgs/archive/249952c49dfe8237b9501ee07903866acfcb9c19.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0
ls -la /nix/store/92ir838174g6lqxr3j9hmfjlpp6g4wkw-python3.8-pontos-21.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python38Packages.pontos
python39Packages.pontos

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 140472 at 249952c4 run on aarch64-linux 1

2 packages built successfully:

python38Packages.pontos
python39Packages.pontos


[fix][broker] Fix http error message of Bookie rack placement config …

Fixes #xyz

Main Issue: #xyz

PIP: #xyz

Motivation
Fix http error message of Bookie rack placement config API when bookie-rack is not configured.
Modifications
http error message of Bookie rack placement config API when bookie-rack is not configured.
Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

/pulsarbot rerun-failure-checks


Added Tiles element from geoviews

Looks good.
I didn't know you were working on this so I started working on a PR with the same goal - it looks you beat me to it as I was doing exactly the same thing!

Happy to see this merged when the tests pass.

Tests are green before the docstring fixes (except for appveyor which passed on the next commit). Merging.


Unexpected token with no matched text at the end of tokenstream

Consider the following code:
text = """private void unlockMap(Player player) {
        TowerData towerData = player.getTowerData();
        if (!towerData.getClass().equals(TowerData.class)) {
            CommandHandler.sendTranslatedMessage(player, "commands.generic.no_permissions");
        } else {
            if (towerData."""

import code_tokenize as ctok
tokens = ctok.tokenize(text, lang='java', syntax_error='ignore')

assert tokens[-1].type == '.', (tokens[-1].type, tokens[-1].text)

The result of executing the above code is:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
Cell In[23], line 11
      8 import code_tokenize as ctok
      9 tokens = ctok.tokenize(text, lang='java', syntax_error='ignore')
---> 11 assert tokens[-1].type == '.', (tokens[-1].type, tokens[-1].text)

AssertionError: ('}', '')

There is an additional token of type '}' in the end of the tokenstream, and it doesn't match any text.
 Thank you for pointing this out!
Note that code_tokenize always tries to construct the AST/CST (based on tree-sitter) before tokenization. Since tree-sitter is a best-effort parser, it might inject nodes to match the grammar which sometimes end up in the token stream.
If you parse a syntactically incorrect program, you can easily filter these fake nodes by removing all tokens that are marked as error nodes:
 token.ast_node.has_error # Returns True for error nodes and False otherwise

Thanks a lot for your reply. Apart from your suggested check above, token.ast_node.has_error, is it okay to remove tokens that do not match any text?
[t for t in ctok.tokenize(code_text, lang='java', syntax_error='ignore') if t.text != '']

Hey! I think you should be fine for now since no real token should match any empty string. However, if you want to be safe, I would still go with checking for error nodes.


qa_crowbarsetup.sh: mount crowbar ISO for cloud8 GM

When the GM8 and GM8+up cloudsource values are used, the
Ardana flavor ISO is installed instead of the Crowbar one.

the mkcloud check failed with Error (71): iso not found, yet I have a a cloud succesfully deployed with a SUSE-OPENSTACK-CLOUD-CROWBAR-8-x86_64-GM-DVD1.iso just with that change.

the mkcloud check failed with Error (71): iso not found, yet I have a a cloud succesfully deployed with a SUSE-OPENSTACK-CLOUD-CROWBAR-8-x86_64-GM-DVD1.iso just with that change.

May have been a hiccup:
Reusing existing connection to download.nue.suse.com:80.
HTTP request sent, awaiting response... 302 Found
Location: http://ibs-mirror.prv.suse.net/ibs/Devel:/Cloud:/9:/Staging/images/iso/SUSE-OPENSTACK-CLOUD-CROWBAR-9-x86_64-Build1153-Media1.iso [following]
--2019-04-11 13:49:14--  http://ibs-mirror.prv.suse.net/ibs/Devel:/Cloud:/9:/Staging/images/iso/SUSE-OPENSTACK-CLOUD-CROWBAR-9-x86_64-Build1153-Media1.iso
Resolving ibs-mirror.prv.suse.net (ibs-mirror.prv.suse.net)... <IP_ADDRESS>
Connecting to ibs-mirror.prv.suse.net (ibs-mirror.prv.suse.net)|<IP_ADDRESS>|:80... failed: Connection refused.```

the mkcloud check failed with Error (71): iso not found, yet I have a a cloud succesfully deployed with a SUSE-OPENSTACK-CLOUD-CROWBAR-8-x86_64-GM-DVD1.iso just with that change.

May have been a hiccup:
Reusing existing connection to download.nue.suse.com:80.
HTTP request sent, awaiting response... 302 Found
Location: http://ibs-mirror.prv.suse.net/ibs/Devel:/Cloud:/9:/Staging/images/iso/SUSE-OPENSTACK-CLOUD-CROWBAR-9-x86_64-Build1153-Media1.iso [following]
--2019-04-11 13:49:14--  http://ibs-mirror.prv.suse.net/ibs/Devel:/Cloud:/9:/Staging/images/iso/SUSE-OPENSTACK-CLOUD-CROWBAR-9-x86_64-Build1153-Media1.iso
Resolving ibs-mirror.prv.suse.net (ibs-mirror.prv.suse.net)... <IP_ADDRESS>
Connecting to ibs-mirror.prv.suse.net (ibs-mirror.prv.suse.net)|<IP_ADDRESS>|:80... failed: Connection refused.```


Space between parentheses does not trigger a warning

I'd expect fun test( ) = Unit to be triggered since the space between the parentheses is not necessary. Also when using the autoformatting feature it should be transformed into fun test() = Unit.

Fixed in 0.24.0.


Export meta module.

Depends on #22
I found the helpers in meta to be useful in downstream code. For now I'm exporting it under pgzx.meta. I wonder if we eventually want to introduce a pgzx.lib namespace for common utility functions that are not directly related to Postgres code.

I found the helpers in meta to be useful in downstream code. For now I'm exporting it under pgzx.meta.

No strong opinions on the name, I think meta is fine for now.


When will rails_admin 1.1.2 be released?

I'd like to use kaminari 1.0.x. Related PR #2810 has already been merged.
Would prefer not to be linking to master in our Gemfile.
Related ISSUE #2823.
Thanks.

Please release new version @sferik  :)

I think it would be great to have it release sooner than later
There are always more bugs to be fixed

Please? 😄

🚢  https://github.com/sferik/rails_admin/commit/3d12fd1b6ea4ab70f149cd6a70deb3ca18207083

@mshibuya Thank you so much for the release!

Much appreciated!
On Tue, May 30, 2017 at 8:33 PM Koichi ITO<EMAIL_ADDRESS>wrote:

@mshibuya https://github.com/mshibuya Thank you so much for the release!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sferik/rails_admin/issues/2826#issuecomment-305072731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAhZg8naMZ4FoxfqCskt7NUceY4NzU6Mks5r_N-LgaJpZM4LyT7v
.


RGB doesn't work with percentages. HSL/HSLA/HSV don't accept float values for SL/SV

Working on it!
When this issue is fixed, things like "rgb(50%,200,0)" and "hsl(50%,0.45,25%)" wil be valid.

This is finally updated in https://github.com/metaloha/color2color/pull/22 :) I believe all valid RGB[A] and HSL[A] formats shown on MDN  will work now!


feat: adjusted shares calculation

This PR contains:

added price adjustment calculation to liquidity mining
rename Pool -> Farm,
added invariant test: https://app.clickup.com/t/2hr4wv5
changed type from RPS from Balance to FixedU128 to improve precission

Invariant PR was merged into this branch. Orig discussion from invariant PR. https://github.com/galacticcouncil/HydraDX-math/pull/49


Implement Crawly.crawl/2 command for fetching given page with given spider

It may be Crawly.crawl(url, spider_name) or Crawly.crawl_with(url, spider_name)
The idea is based on:
https://github.com/oltarasenko/crawly/pull/51#issuecomment-573744130
We want to build a way to debug how spider would fetch a given page. Which links are going to be extracted? Which items are going to be fetched?

Perhaps instead of having a completely separate function, we can extend the fetch function to have a :with option for passing in the spider?


VB Expressions fail with netcore3

A test that use VB expressions in a XAML that is loaded with ActivityXamlServices.Load fails. The test is here.
The failure is "error BC35000: Requested operation is not available because the runtime library function 'Microsoft.VisualBasic.CompilerServices.ProjectData.SetProjectError' is not defined."
Full stack is below:
    System.Activities.InvalidWorkflowException : The following errors were encountered while processing the workflow tree:
    'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error:   Compiler error(s) encountered processing expression "New SalaryStats()".Microsoft.CodeAnalysis.Scripting.CompilationErrorException: (1) : error BC35000: Requested operation is not available because the runtime library function 'Microsoft.VisualBasic.CompilerServices.ProjectData.SetProjectError' is not defined.
       at Microsoft.CodeAnalysis.Scripting.ScriptBuilder.ThrowIfAnyCompilationErrors(DiagnosticBag diagnostics, DiagnosticFormatter formatter)
       at Microsoft.CodeAnalysis.Scripting.ScriptBuilder.CreateExecutor[T](ScriptCompiler compiler, Compilation compilation, Boolean emitDebugInformation, CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.GetExecutor(CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.CommonGetExecutor(CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.TryGetPrecedingExecutors(Script lastExecutedScriptInChainOpt, CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.GetPrecedingExecutors(CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.RunAsync(Object globals, Func`2 catchException, CancellationToken cancellationToken)
       at Microsoft.VisualBasic.Activities.HostedCompiler.CompileExpression(String expressionString, Func`2 getVariableType, ScriptOptions options, Type lambdaReturnType) in C:\dev\uipath\corewfproper\src\CoreWf\Microsoft\VisualBasic\Activities\HostedCompiler.cs:line 37
       at Microsoft.VisualBasic.Activities.VisualBasicHelper.Compile[T](LocationReferenceEnvironment environment, Boolean isLocationReference) in C:\dev\uipath\corewfproper\src\CoreWf\Microsoft\VisualBasic\Activities\VisualBasicHelper.cs:line 507
    'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error:   Compiler error(s) encountered processing expression "New Employee("Frank", "Kimono", 89000.0)".Microsoft.CodeAnalysis.Scripting.CompilationErrorException: (1) : error BC35000: Requested operation is not available because the runtime library function 'Microsoft.VisualBasic.CompilerServices.ProjectData.SetProjectError' is not defined.
       at Microsoft.CodeAnalysis.Scripting.ScriptBuilder.ThrowIfAnyCompilationErrors(DiagnosticBag diagnostics, DiagnosticFormatter formatter)
       at Microsoft.CodeAnalysis.Scripting.ScriptBuilder.CreateExecutor[T](ScriptCompiler compiler, Compilation compilation, Boolean emitDebugInformation, CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.GetExecutor(CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.CommonGetExecutor(CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.TryGetPrecedingExecutors(Script lastExecutedScriptInChainOpt, CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.GetPrecedingExecutors(CancellationToken cancellationToken)
       at Microsoft.CodeAnalysis.Scripting.Script`1.RunAsync(Object globals, Func`2 catchException, CancellationToken cancellationToken)
       at Microsoft.VisualBasic.Activities.HostedCompiler.CompileExpression(String expressionString, Func`2 getVariableType, ScriptOptions options, Type lambdaReturnType) in C:\dev\uipath\corewfproper\src\CoreWf\Microsoft\VisualBasic\Activities\HostedCompiler.cs:line 37
       at Microsoft.VisualBasic.Activities.VisualBasicHelper.Compile[T](LocationReferenceEnvironment environment, Boolean isLocationReference) in C:\dev\uipath\corewfproper\src\CoreWf\Microsoft\VisualBasic\Activities\VisualBasicHelper.cs:line 507
    'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error:   Compiler error(s) encountered proce<truncated> The exception message has been truncated due to size.  Use ActivityValidationServices to see all violations.

Based on the error message and this description of the error code, it seems that the compiler code is assuming that the Microsoft.VisualBasic.dll is included in the references. It could be that Roslyn has a different code path for netcore3.

Yes, the VB runtime dll is different.

OK, so it was using the VB runtime version used by Roslyn. I've added a reference to the newest version. Fixed in #87.


EC2NodeClass - IAM role and instanceProfile values do not support Path.

Description
Observed Behavior:
Both the "role" and "instance" in EC2NodeClass lack support of Paths that are part of the IAM spec.  We separate our dev groups in our enterprise AWS accounts by using unique paths for the groups, thus avoiding namespace collisions in Roles and Instance Profile names. I cannot find a reference in the EC2NodeClass spec to specify Path for either Role and Instance Profile, resulting it it taking the default path of '/'.
Expected Behavior:
To be able to specify Path with my Role Name or Instance Profile Name.  Some SDKs look for the '/' and will parse the left side as the path.
Reproduction Steps (Please include YAML):

create a role with a path
aws iam create-role --path telemetry --role-name KarpenterNodeRole-kw3-di-telemetry --assume-role-policy-document  { your favorite here}

This will create an ARN like:
arn:aws:iam::[REDACTED]:role/telemetry/KarpenterNodeRole-kwk3-di-telemetry

try to reference it in an EC2NodeClass

Versions:

Chart Version: 0.33.1
Kubernetes Version (kubectl version): 1.28.

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Changing this to a feature based on the ask to be able to include a path.

when / is specified in the role field, the following error is prompted:
ValidationError: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_-\n\tstatus code: 400,

Reopening this since we now support paths in IAM roles but I am yet to validate if we need to do something more for supporting paths in Instance Profiles.


Add Sam groups based access control

A new access control implementation should not modify our core service -- so no new components. For Verily SAM, I'd expect ~2 files:

An implementation of AccessControl interface
A change to the service/build.gradle file to add a dependency on the verily-src SAM client.
[optional] A test class
[optional] A mock API implementation class that the tests can call

However, given that the verily-src SAM client is not public, you can't do this in this repo. It needs to be in our downstream repo to be able to compile.
Maybe better to discuss over GVC together with @tjennison-google, but I think you can tackle these 2 issues separately:

Plan how to handle downstream repo changes. This is probably what I'd do first, but not strictly required to make progress.
Write the SAM access control impl. You can put it up in a draft PR or branch here if you'd like to work through comments, but it won't compile here.

The changes here were a bit pre-mature. Pushing the updated changset shortly. It does not have the samService component. Copied a bunch of files from WSM for reference which got added

Moved to https://github.com/DataBiosphere/tanagra/pull/878 since this change needs java 17


Move HTTPError handling to search.get_valid_request

Move HTTPError handling to search.get_valid_request
Context

Currently, __main__ is handling an HTTPError and using that to execute the strategy to poll the API again. This is an issue because it means the behavior of search can't reliably return the same result when the result isn't 200/202 - unless we want to build exception handling and retry code inside of test_search.py, which doesn't seem DRY and could cause issues later if we need to change the request.status_code strategy.
Description

This way, get_valid_request does something closer to what the function name suggests. It also means we don't need to import requests libraries into __main__.

Sorry, I'll make a new PR as this one has several issues. Including commits from the tests were not intentional.


jexcel not responsive

how to align jexcel sheet on size change automatically (so that all components cells, table, content etc gets aligned correctly) without using some custom logic with events and listening to the change?

Hi
Do you have try with this options of JExcel
myTable = jexcel(DOMElement, {
...
        tableOverflow: true,
        tableWidth: "100%",
        tableHeight:"100%",
...
};


Nuxt Dev server broken after 2.16.0 update

Environment

Operating System: Windows_NT
Node Version:     v20.13.0
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      alias, build, experimental, watch, ui, devtools, modules, gtag, runtimeConfig, routeRules, router
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.16.0
Reproduction
Set this up on CodeSandBox. It is still not running. Reproduction
Description
After the update to the latest versions and I try to run Nuxt dev server, the server crashes and reverting to v2.15.2 resolves the issue. Pls help.
Additional context
No response
Logs
No driver set for storage mount point "50".                                                    nitro 9:15:27 AM

 WARN  No driver set for storage mount point "100".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "200".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "300".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "400".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "500".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "600".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "700".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "800".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "900".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "950".                                                   nitro 9:15:27 AM

 WARN  No driver set for storage mount point "DEFAULT".                                               nitro 9:15:27 AM

ℹ Tailwind Viewer: http://localhost:3000/_tailwind/                                       nuxt:tailwindcss 9:15:27 AM

 ERROR  [uncaughtException] callback is not a function                                                      9:15:28 AM

  at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

We won't be able to help without a reproduction.

We won't be able to help without a reproduction.

I have updated the description with a link to a CodeSandBox reproduction. Once I update to the latest versions of Nuxt and UI, the app breaks.

Is no one else having this problem?

Your reproduction has npm and pnpm mixed. According to your issue you are using pnpm and this might have something to do with your node_modules. Try deleting package-lock.json and reinstalling with pnpm, this worked for me: https://codesandbox.io/p/devbox/clever-keldysh-forked-mqp3fr?workspaceId=c9efb319-914c-430c-98b5-2a634e608bca

Can I close this @tobychidi  ?

Is no one else having this problem?

Yes I have the same issue that started 2 days ago when updating the Nuxt UI version from 2.15.2 to 2.16.0

Your reproduction has npm and pnpm mixed. According to your issue you are using pnpm and this might have something to do with your node_modules. Try deleting package-lock.json and reinstalling with pnpm, this worked for me: https://codesandbox.io/p/devbox/clever-keldysh-forked-mqp3fr?workspaceId=c9efb319-914c-430c-98b5-2a634e608bca

I have tried this and still I am getting errors.
` ERROR  aliases[key].startsWith is not a function                                                                                9:50:43 AM
at normalizeAliases (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:78102)
at createJITI (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:248943)
at module.exports (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/lib/index.js:14:10)
at loadConfig (node_modules/.pnpm/c12@1.10.0/node_modules/c12/dist/index.mjs:121:34)
at loadOptions (node_modules/.pnpm/nitropack@2.9.6_@opentelemetry+api@1.8.0_encoding@0.1.13/node_modules/nitropack/dist/nitro.mjs:4740:66)
at createNitro (node_modules/.pnpm/nitropack@2.9.6_@opentelemetry+api@1.8.0_encoding@0.1.13/node_modules/nitropack/dist/nitro.mjs:5076:25)
at initNitro (node_modules/.pnpm/nuxt@3.11.2_@opentelemetry+api@1.8.0_@parcel+watcher@2.4.1_@types+node@20.12.12_@unocss+reset_sx4zig6uzirfzdisjdhrh2rtj4/node_modules/nuxt/dist/index.mjs:3366:23)
at async initNuxt (node_modules/.pnpm/nuxt@3.11.2_@opentelemetry+api@1.8.0_@parcel+watcher@2.4.1_@types+node@20.12.12_@unocss+reset_sx4zig6uzirfzdisjdhrh2rtj4/node_modules/nuxt/dist/index.mjs:4270:3)
at async loadNuxt (node_modules/.pnpm/nuxt@3.11.2_@opentelemetry+api@1.8.0_@parcel+watcher@2.4.1_@types+node@20.12.12_@unocss+reset_sx4zig6uzirfzdisjdhrh2rtj4/node_modules/nuxt/dist/index.mjs:4331:5)
at async loadNuxt (node_modules/.pnpm/@nuxt+kit@3.11.2_rollup@4.17.2/node_modules/@nuxt/kit/dist/index.mjs:2570:19)
ERROR  aliases[key].startsWith is not a function                                                                                9:50:43 AM
ELIFECYCLE  Command failed with exit code 1.`

Can I close this @tobychidi ?

Not yet. I found that the issue is related with another module @vue-email/nuxt once installed. I have updated the reproduction as well.

Can I close this @tobychidi ?

Not yet. I found that the issue is related with another module @vue-email/nuxt once installed. I have updated the reproduction as well.

it looks like I cannot use '@nuxt/ui' and '@vue-email/nuxt' together. However, I did get it to work periodically on '@nuxt/ui': '^2.15.2'. There is another issue raised https://github.com/vue-email/nuxt/issues/45

I found a workaround for that. You need to change order of nuxt modules, and move Vue-email/nuxt before Nuxt/ui. It fixes this issue for me.

I found a workaround for that. You need to change order of nuxt modules, and move Vue-email/nuxt before Nuxt/ui. It fixes this issue for me.

I have tried your solution and it seems to work when updating to @nuxt/ui '^2.16.0'. The problem I found was the previous version.
My modules now look like this and work as expected, thanks for your input.
modules: [ '@vue-email/nuxt', '@nuxt/ui', '@nuxt/image', '@pinia/nuxt', '@pinia-plugin-persistedstate/nuxt', '@nuxtjs/supabase', '@unlok-co/nuxt-stripe', '@nuxtjs/turnstile', 'nuxt-resend', 'nuxt-rating' ]

I found a workaround for that. You need to change order of nuxt modules, and move Vue-email/nuxt before Nuxt/ui. It fixes this issue for me.

Thanks for the workaround. Fixed instantly.

holy sh*t! thanks @cull2203 and @kstraszewski you saved me a lot of time with that 'fix' :D

OK, I git this issue when I set a value in nuxt.options.runtimeConfig that was a Proxy.
When I cloned it to a POJO and set it, no errors.
FWIW the error I think comes from unstorage.
Hope that helps.

I'm still getting this error, even after re-arranging nuxt modules with the following versions:
 ERROR  Cannot start nuxt:  aliases[key].startsWith is not a function
    "@nuxt/ui": "^2.18.6",

    "@vue-email/compiler": "^0.8.14",
    "@vue-email/components": "^0.0.19",
    "@vue-email/nuxt": "^0.8.19",
    "@vue-email/render": "^0.0.9",


WSOD on admin/config after importing new 'Document' media type from config

I'm updating future.islandora.ca from 1.0.0 to 1.1.0 (testing this before releasing it!) and I am consistently getting
Message | Error: Call to a member function getItemDefinition() on null in media_requirements() (line 140 of /var/www/html/drupal/web/core/modules/media/media.install)
-- | --

when visiting admin/config.  This is after importing the new Document media type stuffs from islandora_core_feature and islandora_defaults.

Turns out that sites that update from a prior version don't get the new media type for document.  Not sure what's up with that.  I've managed to get by this by selectively importing from islandora_defaults through the UI.


Bump GBC 9.2.4

Added GHC 9.2.4 to CI and merged via #7 with fixed typo in commit message. Thanks!


soc: arm: nrf5340: remove handling for Erratum 19

Erratum 19 applies to earlier revisions of nRF5340 DK,
which are no longer supported in the tree, so we can
remove the code that handles it.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

Any usage of the Kconfig option was removed together with the nRF5340 PDK removal.


Python 3 support

Hi all, this is a patch to add support for Python 3 (see #53).  Most of the actual work is done by setuptools' use_2to3 option during install, which fortunately means the actual code changes are minimal.  I did have to make a few changes to deal with different expectations regarding binary file modes, DOM element initialization, and dictionary key ordering.
I broke this up into multiple commits to make it easier to test each change separately.  Let me know if you would like separate pull requests for any of this as well.

Thanks Andrew this is great.  Dickson who manages this on our end is on
leave for two weeks so we might not be able to review this until then.
Thanks for your help with this
Matt
On Monday, January 25, 2016, S. Andrew Sheppard<EMAIL_ADDRESS>wrote:

Hi all, this is a patch to add support for Python 3 (see #53
https://github.com/XLSForm/pyxform/issues/53). Most of the actual work
is done by setuptools' use_2to3 option
https://pythonhosted.org/setuptools/python3.html during install, which
fortunately means the actual code changes are minimal. I did have to make a
few changes to deal with different expectations regarding binary file
modes, DOM element initialization, and dictionary key ordering.
I broke this up into multiple commits to make it easier to test each
change separately. Let me know if you would like separate pull requests for
any of this as well.
You can view, comment on, or merge this pull request online at:
https://github.com/XLSForm/pyxform/pull/58
Commit Summary

use setuptools to run tests

File Changes

M .travis.yml
https://github.com/XLSForm/pyxform/pull/58/files#diff-0 (4)
D MANIFEST.in
https://github.com/XLSForm/pyxform/pull/58/files#diff-1 (3)
M setup.py
https://github.com/XLSForm/pyxform/pull/58/files#diff-2 (15)

Patch Links:

https://github.com/XLSForm/pyxform/pull/58.patch
https://github.com/XLSForm/pyxform/pull/58.diff

—
Reply to this email directly or view it on GitHub
https://github.com/XLSForm/pyxform/pull/58.

Thanks!

Is this issue resolved?

Yep. Travis tests are actively passing in python 3+.

Sorry - meant to comment on the issue.  Can https://github.com/XLSForm/pyxform/issues/53 be closed?


[chore] update

Update in olaris operator to 0.3.0-dev.2309081520
Nodejs and Pythojs Runtimes to 3.0.0-beta.2309081459
And run all the tests in nuvolaris-testing, ensuring that also the runtime test works
(you can trigger the various tests with task d a e o m k etc)

problem found: we removed runtime.json from the top level and this is impacting wsk as it is using the one on the toplevel of the apihost


Flaky Interactive Window Export test

This seems to be failing consistently on remote tests
1) Interactive window execution
       Export Interactive window to Python file:

      Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      + expected - actual

  	at createTimeoutError$1 (http://localhost:3000/static/devextensions/out/extension.web.bundle.js#vscode-extension:193836:14)
  	at eval (http://localhost:3000/static/devextensions/out/extension.web.bundle.js#vscode-extension:194156:25)

https://github.com/microsoft/vscode-jupyter/runs/8121270091?check_suite_focus=true

haven't seen this fail in a while


[Swift] Copy object to another realm doesn't copy nested relationship

I'm trying to copy a Object from one Realm to another using the method Realm.create(type:, value:, update:)
My database schema looks like this:
Device {
    ...
    List<Mood>
    ...
}

Mood {
    ...
    List<Schedule>
    ...
}

Schedule {
    ...
}

So I have a Device contained in my default realm, and here is how I try to copy it to another realm:
// let device: Device = ...

let editRealm = try! Realm(configuration: Realm.Configuration(inMemoryIdentifier: "AnIdentifier"))

editRealm.beginWrite()
let editDevice = editRealm.create(Device.self, value: device, update: true)
editRealm.commitWrite()

What happens is that I get the list of Mood in my editDevice but the Mood have an empty list of Schedule. They contained a few Schedule each on the main Realm.
Am I doing something wrong ? Should I implement a custom copy method for my Device ?
XCode 7.0.1, Swift 2.0, Realm 0.95.1

Are all of the nested objects persisted?

@bigfish24 Yes, I just checked, they belong to a realm and an objectSchema, they even appear on Realm Browser.

@allbto could you provide a sample project? The reason being is that internally we should be handling nested relationships. The process should be working like this:

Swift create()
ObjC++ RLMCreateObjectInRealmWithValue
ObjC++ RLMDynamicSet when setting the property values
ObjC++ RLMGetLinkedObjectForValue to retrieve/create the linked object(s) for the property
ObjC++ RLMCreateObjectInRealmWithValue to create the linked object(s) for the property

If you can't provide any code, you can verify this path is occurring from the create() call.

Hi @allbto!
Just touching base on this issue; are you able to provide us with a sample project to test this functionality?
Thanks! :)

Hi, I think I might be experiencing a similar problem.
class Task {
    dynamic var name: String? = nil
    let steps = List<Step>()
}

class Step {
    dynamic var name: String? = nil
    let duration = RealmOptional<NSTimeInterval>()
}

When I copy a Task from a read-only compressed realm into the default realm, everything is copied over except the duration property which shows up as 0 in the Realm browser. I verified using the Realm browser that the duration property is not 0 in the read-only Realm.
I'm happy to open another issue if that would be more appropriate, but I thought another example might be helpful.
Let me see if I can reproduce in a separate project.
I'm on XCode 7.1 (7B91b) / OS X 10.11.1 / Realm 0.96.2 / Carthage 0.9.2

Here's a test project (it's a .zip file, so you'll have to change the extension when you download it):

My built frameworks were too big to upload, but I can find a way to upload them if needed.
Here's the output I get in my console when running the project:
Objects in main realm before deletion: Results<Task> (

)
Deleting all objects from main Realm.
Creating read-only Realm.
Read-only Realm saved to /Users/......./readonly.realm
Objects in the read-only realm: Results<Task> (
	[0] Task {
		name = taskName;
		steps = RLMArray <0x7fcd3b585300> (
			[0] Step {
				name = stepName;
				duration = 3.5;
			}
		);
	}
)
Inserted read-only objects into main Realm.
Objects in main realm after: Results<Task> (
	[0] Task {
		name = taskName;
		steps = RLMArray <0x7fcd3b726d90> (
			[0] Step {
				name = stepName;
				duration = (null);          <<<<< I think this should be 3.5
			}
		);
	}
)
Objects in read-only realm after: Results<Task> (
	[0] Task {
		name = taskName;
		steps = RLMArray <0x7fcd3b738740> (
			[0] Step {
				name = stepName;
				duration = 3.5;
			}
		);
	}
)

This is an almost perfect replica of my issue in my other project. The only difference is that my other project persists the default Realm across launches but this one does not seem to do that.
Let me know what I'm doing wrong or if there's anything else I can provide!

@smpanaro thanks for sending us a repro project, it really helps us understand!
I think your case is very different than @allbto's issue, since for you, it's writing a copy of the Realm file that causes a RealmOptional property to lose its value (the steps relationship of our Task objects are preserved in the copy). I'm investigating this further to see if there are situations in which Realm.writeCopyToPath(...) ignores data from optional properties.

Hi @jpsim I was wondering if you had any update on my problem. Would it be useful to open a separate issue?

@jpsim @bigfish24 - Have you had a chance to look at my example? Optional support is awesome, but this bug pretty much negates it. (Unless I'm doing something bad, which would be great to know.)

@bigfish24 @TimOliver Here is a test project

@allbto thanks for the test project! I identified the issue. This PR has the fix: https://github.com/realm/realm-cocoa/pull/2901

@bigfish24 Awesome, I'm looking forward it to be fixed :)

@smpanaro can you create a new issue for your case? It is different than @allbto and I would like to close this thread and continue work on your issue elsewhere. Thanks!

@bigfish24 I've opened #2905 for my case.

@smpanaro thanks will move over to that and will close this now. cc @jpsim


[BUG] 0.7.1 onionbalance raises ImportError

Describe the bug
The latest build (0.7.1) of the onionbalanace-manager is failing to run onionbalance successfully, as it throws an Import Error:
ImportError: Hidden service descriptor decryption requires cryptography version 2.6

To Reproduce
Create an OnionBalancedService using the latest version (0.7.1 docker containers).
Expected behavior
The OnionBalanceService should startup without issues, and the onion service should be discoverable.
Additional information
Error logs from the onionbalance container in the daemon pod:
[...]
2023-01-17 15:39:05,078 [WARNING]: Onionbalance initialized (stem version: 1.8.1) (tor version: <IP_ADDRESS> (git-22fd351cf582aa2b))!
2023-01-17 15:39:05,078 [WARNING]: ================================================================================
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/onionbalance/hs_v3/stem_controller.py", line 39, in handle_new_desc_content_event_wrapper
    my_onionbalance.handle_new_desc_content_event(desc_content_event)
  File "/usr/lib/python3.10/site-packages/onionbalance/hs_v3/onionbalance.py", line 148, in handle_new_desc_content_event
    instance.register_descriptor(descriptor_text, onion_address)
  File "/usr/lib/python3.10/site-packages/onionbalance/hs_v3/instance.py", line 57, in register_descriptor
    new_descriptor = ob_descriptor.ReceivedDescriptor(descriptor_text, onion_address)
  File "/usr/lib/python3.10/site-packages/onionbalance/hs_v3/descriptor.py", line 275, in __init__
    v3_desc.decrypt(onion_address)
  File "/usr/lib/python3.10/site-packages/stem/descriptor/hidden_service.py", line 1081, in decrypt
    raise ImportError('Hidden service descriptor decryption requires cryptography version 2.6')
ImportError: Hidden service descriptor decryption requires cryptography version 2.6

Between container images 0.7.0 and 0.7.1, the base version of alpine was upgraded from 3.16.2 to 3.17.1, which in turn caused several dependencies to be upgraded.  Namely, py3-cyrptography is upgraded from 3.4.8 to 38.0.3
In the previous version (0.7.0), I would receive a deprecation warning:
2023-01-17 20:14:44,594 [WARNING]: Onionbalance initialized (stem version: 1.8.0) (tor version: <IP_ADDRESS> (git-22fd351cf582aa2b))!
2023-01-17 20:14:44,594 [WARNING]: ================================================================================
/usr/lib/python3.10/site-packages/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes, int_to_bytes

Therefore, this is potentially related to: https://github.com/torproject/stem/issues/118 (as int_from_bytes has been fully deprecated now).
System (please complete the following information):

Platform: amd64
Version 0.7.1

I think simply pegging the alpine version could be a work-around, for now (see #31).

Thanks again @conneryn, my bad I didn't double check it was working properly before release. #31 merged & building right now. Will release 0.7.2 for this fix and let you know

Released by #32


add noConflict() and bug fix

like jQuery.noConflict(), can handle old cookie library.
fix bugs : can not get cookie value when other cookie library set cookie value with percent encoding

Hey, I think the .noConflict method is a bit of an overkill since there's not really a good reason to use two cookie libraries at once.
Is your percent encoding fix only regarding malformed escaping? If yes I'm not sure if it's a good idea to do this, there might be some server side library that escapes cookies differently and it would be unexpected behaviour if cookie.js would just show those cookies as undefined.


Regenerating APIS

Hi,
It seems the kubernetes 1.7.14 client is using an obsolete ugorji version (they released their first stable supported version a little while ago). I get a lot of
/usr/share/gocode/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.generated.go:132:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)

Errors. What is the preferred way to regenerate those files with a newer ugorji? IIRC for etcd you just removed the generated files and ugorji regenerated clean ones. Is it the same for kubernetes?

What is the preferred way to regenerate those files with a newer ugorji?

Ugorji use was dropped in 1.9 (see https://github.com/kubernetes/kubernetes/pull/48287). There are no plans to bump versions of ugorji in maintenance branches.
/close


How do I use this lib set the eye frame shape? Does it have this settings?

as the title says

Hi @williams-young unfortunately there is no such setting.

Hi @williams-young unfortunately there is no such setting.

Yeah,got it, thank you


add heroku image

:pushpin: Commit b76ab7d has been approved by japaric

@homunkulus r+

:hourglass: Testing commit b76ab7d with merge 6aa74b8...

:hourglass: Testing commit b76ab7d with merge 4d7513f...

:hourglass: Testing commit b76ab7d with merge e99a0d0...

@homunkulus r+

@homunkulus r+

:pushpin: Commit 10f1106 has been approved by japaric

:hourglass: Testing commit 10f1106 with merge cdbe1c6...

:sunny: Test successful - travis


FancyZones deadlock

FancyZones stucks with deadlock.
Lock could be happening between FancyZones::MoveWindowIntoZoneByIndex and FancyZones::RegisterVirtualDesktopUpdates
Steps to reproduce

set all FancyZones options on
create virtual desktop
apply zone layouts to all desktops
snap windows to some zones (use same app on several layouts)
switch virtual desktops back and forward as fast as possible

Actual behavior
PowerToys stops working: zones are not shown when you try to snap window and tray menu doesn't open by clicking on PowerToys tray icon.

Hi,
I am experiencing the same symptoms, definitely a deadlock, not sure I can comment on the exact threads/methods, however here is a (redacted) process explorer view hoping it might help.

@0xfedec
feel free to try the current master since we fixed the deadlock, or if you prefer I can upload an unsigned MSI.

Hi @enricogior, thank you, I'd be happy to test and provide feedback, if you could please provide an MSI. Thanks.

@0xfedec
you can find the installer here https://github.com/microsoft/PowerToys/issues/2563#issuecomment-622462804

@enricogior , Thanks, I got it, but it was blocked by policy. No worries, I'll wait for the signed release.

The fix is now available in 0.18 https://github.com/microsoft/PowerToys/releases


UI: About dialog

You should add these few things:

scripts for generating the font file, in scripts/ folder
original svg of the font glyphs, with respective licenses
2x version of the orange png, and the source svg for it

Also, the innosetup must be edited to install this font.


Fixies [Hub-spoke network topology in Azure]

fixies-https://github.com/MicrosoftDocs/architecture-center/issues/3215
Adding a link which explains benefits

Learn Build status updates of commit 6f9032d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke-content.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


release: bitflow-update

Try out Leather build e0bdec9 — Extension build, Test report, Storybook, Chromatic

Implements Bitflow as provider of swap functionality
@314159265359879 Can you QA, please?

I'm happy to release based on @314159265359879's review given my previous review 🙏


Fix for normal computation in vertex shader

For https://github.com/KhronosGroup/glTF-WebGL-PBR/issues/41

As described in #41, I tested this by manually editing the root matrix of NormalTangentTest to include an x + 2 translation.

This fix looks good to me!
/cc @moneimne @snagy

This is a good fix.  Thank you!


Support for ReadOnlyMany Access mode in openebs-iSCSI provisioner

Hello,
We are using openebs(version 0.6) with  provisioner iSCSI and deployed it in kubernetes version 1.10.5.
We created one pvc with access mode "ReadWriteOnce", and it is working fine.
Now we want to read data from the same PVC that we created earlier, so we come to know under this link from the table of content, that iSCSI is supporting "ReadOnlyMany" access mode.
But when we trien to apply it on our another pod it gives the following error:
<invalid> (x12 over <invalid>)  openebs.io/provisioner-iscsi openebs-provisioner-5569654c96-4rlsn 760ae66d-9ebc-11e8-97d4-823996605407  Failed to provision volume with StorageClass "openebs-standard": Invalid Access Modes: [ReadOnlyMany], Supported Access Modes: [ReadWriteOnce]
So after googling this error we came across this issue.
So when will we expect support for ReadOnlyMany access mode?
Thanks.
Ronak

@ronakpandya7, You can use RWM now by running nfs provisioner on top of iSCSI block volume. More details can be found at: https://docs.openebs.io/docs/next/rwm.html
Would love to hear from you if the above solution works for you.


azure bicep deploy of redis fails on consecutive deploys

Bicep version
v0.24.24
Describe the bug
I am deploying a redis cache defined as
resource redis 'Microsoft.Cache/redis@2023-08-01' = {
  location: 'westeurope'
  name: 'name-redis'
  tags: {
    displayName: 'Redis'
  }
  properties: {
    redisVersion: '6.0'
    sku: {
      name: 'Standard'
      family: 'C'
      capacity: 0
    }
    enableNonSslPort: false
    publicNetworkAccess: 'Enabled'
    redisConfiguration: {
      'maxmemory-reserved': '30'
      'maxfragmentationmemory-reserved': '30'
      'maxmemory-delta': '30'
    }
    updateChannel: 'Stable'
  }
}

The first time I deploy the bicep file it works fine, however on consecutive deploys the deployment fails with
{
  "code": "ResourceDeploymentFailure",
  "target": "/subscriptions/x/resourceGroups/x/providers/Microsoft.Cache/redis/name-redis",
  "message": "The unknown resource response code 'NotModified' is encountered."
}

And the status for this resource gets InternalServerError in the portal.
I fail to understand the error message, and google did not find anything relevant.

Any "Internal Server Error" is an issue with the Resource Provider error handling. Can you open a support ticket to be routed to the Redis Cache team?


Fixed get_template_file_path bug when working with swagger-generator.

When using laravel-generator with swagger-generator , get_template_file_path always return laravel-generator package's template not from swagger-generator.
That will cause generated model not usable.
Signed-off-by: Rack Lin<EMAIL_ADDRESS>

@racklin thanks for your PR. But I don't it's needed anymore because we just renamed our swagger-docs templates directories, so it will not be conflicted with laravel-generator directories anymore.


Find a good name for the repository and project

It's more than a parser. The name should reflect this.
openqasm is more cumbersome than qasm.
qasm3-analyzer is good. But looks like the author intends to riff on rust-analyzer.  This (these) library is intended to do semantic analysis. But whatever analysis that reasonably belongs in a front end can go here  as well.

hi @jlapeyre, how about this?
repo's name : qasm-semantics-toolkit
project's name : QASemLib (QASM + semantic library)

Thanks for the suggestion. That's cute. This issue is taking a back burner for the next few weeks.


v0.12.1 hash was changed?

The go.sum hash for hcsshim v0.12.1 was apparently changed?
Originally reported in

https://github.com/containerd/nerdctl/issues/2901

I have the same error in my local machine. What's going on? do we have maintainers of this project to check it?

Same, this needs to be looked into. Until then v0.12.1 cannot be trusted

Thanks for reporting this. I just retagged with v0.12.2.
We've made some updates to Github actions and the new version of the job that publishes the binaries seems to be creating a release automatically. I don't recall it doing that in the past. I didn't realize that the release has already been published when I pushed a new v0.12.1 tag. Instead of retagging I tried to re-release with what I intended to.

Thank you so much @anmaxvl!

Thank you!


changing magic number and key type in 3.7.0

Hello,
I would like to know how to change the magic numer and the address key type in the version 3.7.0
the method neoconfig seems to have disappeared.
Thanks for your help,

ok found it :D

@djm34 next time, can you please open issues at the main neow3j repository https://github.com/neow3j/neow3j ? Thanks!


Add overview of Azure Maps Web Control to about page

@rbrundritt : Thanks for your contribution! The author, @dsk-2015, has been notified to review your proposed change.

Submitting through azure-docs-pr instead.


Clearing contexts is not working any more!

Hi,
We used the below methods to clear contexts:
agent.setContext({ 'name': 'context_name', 'lifespan': 0});
agent.clearOutgoingContexts();
agent.clearContext('context_name')
but looks like nothing worked! And also while setting context lifespan to "0", context is getting created with lifespan "5". It would be great if this issue is resolved.
Thanks!

Hello Hima,
Here might be a quick fix for this issue.
Looks like the problem is with .setContext() method, because it does not set lifespan count to 0.
Here is the code:
``
agent.setContext({'name':context_name, "lifespanCount":-1});
``
It kind of works, the context is reset.

Yeah! It actually worked.
Thanks!

This works but .clearContext() and .clearOutgoingContexts() should clear the contexts which are not working.

agent.context.set('context_name', 0)
// and
agent.context.delete('context_name')

Are not working either

Hello Hima,
agent.clearContext & agent.clearOutgoingContexts doesn't clear contexts that have been set in your previous fulfillment endpoint call. They only clear contexts that have been added in your current fulfillment endpoint call.
I believe in older version of dialogflow-fulfillment, you had to specify the lifespan value as string ('lifespan':'0')  instead of a number.
By the way, if you update your dialogflow-fullfilment version, clearContext & clearOutgoingContexts are deprecated. You should use agent.context.set / agent.context.delete instead.
@M-Abozaid, what release of dialogflow-fulfillment do you use?

Hey Philippe!
Thanks, specifying the lifespan as a string instead of number worked.

Is there a plan to fix this , I am facing similar issue with Inline Editor ( Firebase ) version of dialogflow

wow, I tried all the seemingly official approaches also
agent.setContext({ 'name': 'context_name', 'lifespan': 0});
agent.setContext({ 'name': 'context_name', 'lifespan': -1});
agent.clearOutgoingContexts();
agent.clearContext('context_name');

The only thing that does work is @KoffeeToKode's suggestion of using a string value
agent.setContext({ 'name': 'context_name', 'lifespan': '0'});

That's the only thing that changes the fullfillment API respons's "lifespanCount"
Seems like there's either a misunderstanding or a bug somewhere here.

None of this is working for me, the only thing I can change in my output context using my webhook are the parameters. I cannot clear/delete contexts nor set the lifespan using any sort of hack or otherwise.  Can someone please fix this?????

I think contexts can be cleared by setting the lifespan to -1. This worked for me.

Hello,
I am having the same issues as described above, only that for me neither of the solution works. I have a context with several parameters and at some point I want to reset it and start collecting the parameters again from scratch.
agent.context.set('context-name', 0) or agent.context.delete('context-name') as well as those described above doesn't work. Cloud function throws same error each time:

Would be grateful for help.

any fix for clear the contexts ?
I have tried below methods , but non of method not works.
agent.setContext({ 'name': 'context_name', 'lifespan': 0});
agent.setContext({ 'name': 'context_name', 'lifespan': -1});
agent.clearOutgoingContexts();
agent.clearContext('context_name');
agent.setContext({ 'name': 'context_name', 'lifespan': '0'});

This works for me
`agent.context.set("currentintent-followup", 5, {});`


Python 3 timestamp_tz_parse TypeError

The following function:
def timestamp_tz_parse(s):
    # if timezome is simply UTC...
    if s.endswith('+00'):
        # remove time zone
        ts = timestamp_parse(s[:-3])
        ts = ts.replace(tzinfo=pytz.UTC)
        return ts
    # other wise do a real parse (slower)
    return parser.parse(s)

raises TypeError: endswith first arg must be bytes or a tuple of bytes, not str at this line.
It appears that s is a bytes object, not str. Changing if s.endswith('+00'): to if s.endswith(b'+00'): resolves the issue for me.
I'm using:

Python 3.4.4
vertica-python==0.6.2

A Vertica TimestampTz column gets parsed by timestamp_tz_parse while a Timestamp column gets parsed by timestamp_parse.  The timestamp_parse method ends up calling datetime.strptime which does require a string.  In this case it might be better to just coerce to strings in these functions.
This code path calls timestamp_parse:
cursor = connection.cursor()
query = """
select
  to_timestamp('2016-05-15 13:15:17.789', 'YYYY-MM-DD HH:MI:SS.MS')
;
"""
cursor.execute(query)
cursor.fetchall()

and throws this exception:
/usr/local/lib/python3.5/dist-packages/vertica_python-0.6.2-py3.5.egg/vertica_python/vertica/column.py in _timestamp_parse(s)
     53     if len(s) == 19:
     54         return datetime.strptime(s, '%Y-%m-%d %H:%M:%S')
---> 55     return datetime.strptime(s, '%Y-%m-%d %H:%M:%S.%f')
     56
     57

TypeError: strptime() argument 1 must be str, not bytes

While this code path calls timestamp_tz_parse:
query = """
select
  to_timestamp_tz('2016-05-15 13:15:17.789 UTC', 'YYYY-MM-DD HH:MI:SS.MS TZ')
;
"""
cursor.execute(query)
cursor.fetchall()

throws this exception
/usr/local/lib/python3.5/dist-packages/vertica_python-0.6.2-py3.5.egg/vertica_python/vertica/column.py in timestamp_tz_parse(s)
     64 def timestamp_tz_parse(s):
     65     # if timezome is simply UTC...
---> 66     if s.endswith('+00'):
     67         # remove time zone
     68         ts = timestamp_parse(s[:-3])

TypeError: endswith first arg must be bytes or a tuple of bytes, not str


[PB-472]: feat/get file by uuid

Add endpoint to return the metadata of a specific file

Codecov Report

Merging #147 (c948345) into master (56dd573) will decrease coverage by 0.13%.
The diff coverage is 33.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
- Coverage   72.43%   72.30%   -0.13%
==========================================
  Files          39       39
  Lines         907      910       +3
  Branches      113      113
==========================================
+ Hits          657      658       +1
- Misses        232      234       +2
  Partials       18       18

Impacted Files
Coverage Δ

src/drive/storage/types.ts
100.00% <ø> (ø)

src/drive/storage/index.ts
75.00% <33.33%> (-1.82%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update version: FreeCAD.FreeCAD version 0.20.2

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114470&drop=dogfoodAlpha

@wingetbot run

/azp run

This package installed normally, but gave an error when launched:

Faulting application name: FreeCAD.exe, version: <IP_ADDRESS>, time stamp: 0x640cf95b
Faulting module name: unknown, version: <IP_ADDRESS>, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000000
Faulting process id: 0x500
Faulting application start time: 0x01d9ca4dcc8c4b1b
Faulting application path: C:\Users\User\AppData\Local\Programs\FreeCAD 0.20\bin\FreeCAD.exe
Faulting module path: unknown
Report Id: 710acf16-a275-4ed0-bcfc-aff4b96c6081
Faulting package full name:
Faulting package-relative application ID:

@wingetbot waivers Add Validation-Executable-Error

/azp run


Custom mode edit menu can be opened when escape menu is open

When opening the pause menu, pressing 'e' will open the inventory menu (not visibly) which causes other issues.

fixed