Well looks like i found another bug

Now i'm not getting usergroups to show in the list. Its not restricting anymore.

I ended up going back to URM until this is more stable. YES it may be slower in the database, BUT it's performance is stable and worked out of the box with no glitches.

I cannot recreate this, are you 100% certain you are using the latest version?

i am 100% sure and there were no errors, just the usergroups tab was blank. I have ALOT of usergroups maybe it was too many to handle? IDK i'm perfectly satisfied with URM at this point: your old script: it works flawlessly.

Okay, how many (ish)? 10+? 40+? 100+?

I'd say around 15ish


Better runtime error msgs for invalid number parsing

Use repr(str) when reporting runtime errors from numbers/parser for
invalid format or overflow.

Merged into master. Thanks!


Secure etcd by default

Update all start-up scripts or start guide docs with TLS or auth.
Never allow unauthenticated client access by default (either by auth or TLS)?
Enable TLS by default for peer-to-peer connection https://github.com/coreos/etcd/issues/4022?

/cc @philips @ericchiang

@gyuho is this a 4.0 proposal or 3.4+ Although I think it is a great step forward for security it will create a storm of breakage for insecure tests, deployments etc.

@hexfusion Probably, we need research more!

Update all start-up scripts or start guide docs with TLS or auth.

+1

Never allow unauthenticated client access by default (either by auth or TLS)?

The hard part about this is that users are still required to supply client-auth flags. So they're still going to either generate TLS certs and add new flags or just supply --insecure-listen-http.
If we're punting this to 4.0, I think it'd be better to make it impossible to start an etcd server that allowed unauthenticated requests

You got a good timing: https://arstechnica.com/information-technology/2018/03/thousands-of-servers-found-leaking-750-mb-worth-of-passwords-and-keys/
I hope TLS here refers to some TLS-auth with client certs, as otherwise it is of course no authentication.

Can someone research what other databases do? I am skeptical we want to turn authentication mechanisms on by default as it increases friction to the dev/test use case and then the natural question is what is the "default" authentication. For example do you generate a random password, generate a TLS cert, etc and force that to happen on first run? And then where do you put that? In a log file, put it on disk, etc?
@ericchiang This isn't about insecure HTTP but instead about mTLS or some other authentication method.

Can someone research what other databases do

This will get the list started.
MySQL 5.7:

Default is a root user with a random password which is written to the error log.

2016-05-16T07:47:58.199154Z 1 [Note] A temporary password is generated for root@localhost: wzgds/:Kf2,g

ref: Percona

@hexfusion
MySQL:  seems bad since it it reduces automation for simple dev/test and puts credentials into logs
**MongoDB **: etcd does exactly this today: listen on localhost no auth
Cockroachdb: seems reasonable but I don't understand how much value --insecure adds over the default to only listen on localhost. If users are that silly I don't know how to help them. Is there evidence that a --insecure flag actually is enough of a speedbump?

I guess it is a fair point that there is not much technically different between
--listen-client-urls http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:2379

--insecure

as they are both actions taken by the admin to break defaults in a possibly insecure manner.
But IMO there is a difference between requiring full chain TLS by default and listening to localhost. The message and intention to promote secure usage is much more obvious and clear. We can not control the users but we can define our vision of what should be the best practice as a default. Setting ETCD_INSECURE=1 would not be very obtrusive for testing, and can not get any more obvious to the user.

This issue made to to the news:
https://developers.slashdot.org/story/18/03/24/1943239/shodan-search-exposes-thousands-of-servers-hosting-passwords-and-keys

@yudai shared a problem related to this issue with me. He's caring about the case of failed initialization scripts. Having such a script (e.g. configuring users, roles and permission then enable auth) for initializing an etcd cluster is usual. If the script fails before enabling auth because of some reasons e.g. bugs or resource shortages, the cluster will be running without auth. In such a case, malicious users can create keys.
In his case managing TLS certs is too costly. So adding an option which enables auth at startup time to etcd would be valuable (the option won't change the default behaviour).


Introduction to regression models by using R and Tidymodels - Spanish Translations

This issue is for the short workshop on Introduction to regression models by using R and Tidymodels being translated into Spanish
The structure of the translation should follow other translations like https://github.com/microsoft/workshop-library/tree/main/full/intro-nlp-tensorflow/translations

Thanks @jona866 for taking this one!


Queue::bulk() does not use the target queues of the supplied jobs

Laravel Version
10.48.10
PHP Version
8.3.7
Database Driver & Version
PostgreSQL 14
Description
When using Queue::bulk() without the queue parameter, a target queue set with onQueue() on a job within the jobs array is ignored.
My expectation is that the queue name to use would be decided with the following priority:

If the Queue::bulk() queue parameter is set, this should override any target queue set on the individual jobs.
If any job in the jobs array has the target queue set, this should be used.
Otherwise, use the default queue.

Steps To Reproduce
// Create a job instance and set the target queue.
$job = (new MyJob)->onQueue('custom');

// This will enqueue the job on the `default` queue and not the `custom` queue.
Queue::bulk([$job]);

Hi there,
Queue::bulk() hasn't been a documented approach since Laravel Framework 5.1 but feel free to send in a community PR to support this as long as it doesn't create a breaking change.


Would it be to make categories always selectable

Hello, thanks for sharing this project. I think I found a glitch, when I scroll to the end, the last categories fail to be selected. How Would it be to make categories always selectable ?

Hi, thank you sharing your issue!
The first thing comes to my mind is that the values in the indices list are off.
Could you please share what values are you passing to mIndices in the Views library, or syncedIndices if you're on the Compose one? As the behavior that you have described is handled by the both libraries if the values of the indices are passed in correctly.
Here's a working Views example, and a working Compose example to guide you further in the usage of the library you're using.
If the issue still exists, please don't hesitate to share a minimal working project to investigate.

Every value in the array syncedIndices indicates that there is going to be a tab synced with an item with an index of that value.
I can see that you are synchronizing the first 3 tabs only, and you must be passing in the values [0, 1, 2] to the syncedIndices list.
You either need to:
1- Pass in the values [0, 1, 2, 3, 4] or dummyCategories.indices.toList() in order to sync the whole tabs.
OR
2- Remove the last 2 tabs so that you're syncing the first 3 tabs only.

But you've previously mentioned this:

passing the indexes contained in the dummy categories, but in a smaller amount

So this must be the problem.
When you have passed in dummyCategories.indices.toList(), did the problem go away?

I magically cloned the project again and it started working correctly again. Again, thank you so much for sharing your project.

Always make sure to pass in the correct indices that you want the tabs to sync with.
I'm always happy to help. Have a nice day!


⚠ RPC server - Avalanche has degraded performance

In e8247f0, RPC server - Avalanche ($AVALANCHE_RPC_URL) experienced degraded performance:

HTTP code: 503
Response time: 3130 ms

Resolved: RPC server - Avalanche performance has improved in 0d19426 after 38 minutes.


Layout

Would you please sort these articles starting with latest year, Thanks

Thank you for good idea.


Masternode score calculation changes

There's currently an issue/typo in the masternode score calculation.
My first commit resolves this typo.
The other changes are meant to improve the score calculation so that the masternode collateral hash that is compared against changes with every block.  This way a masternode doesn't get stuck with a hash that is high, low, or average.  This should result in a better distribution of winning nodes.

Upon review, there is no issue/typo in the masternode score calculation. You can confirm this by comparing the outputs of your changes and the original code to verify this. You will need to use Get64() to prevent memory overflows when printing out the uint256 hashes

@davidstoneham What do you mean the outputs are the same with my changes?  With my changes you can print out the unit256 hash without any memory overflow errors.  My changes all provide different scores than the current code base that does not.  Please see screen shots bellow.  The first is my debug log output where you can see the same score is being calculated for each masternode.  I also added the r.Get64() outputs.

I have done the following to test this code

print the original output as an int64
add your changes as a separate function and run that and the original function next to each other
compare the outputs of the two functions in the code to confirm their outputs are the same
You can see in the results the outputs from both functions produce the same values. I will also add I don't have any issues trying to log the raw unit256 value

step 1.

step 2.

step 3.

the results

I recommend repeating my steps above and using the command masternode current to test both functions on different values

That is strange.  Here are my results with GetCurrentMasterNode.  I can't explain why you are getting different results though.  I'm compiling for x86 though I don't think it should matter?

That is strange. This x86 shouldn't matter but if you could try x64 and just confirm you get the same results as you are getting there
I am using linux for my tests above
Can you also confirm you are using the master branch with no changes except your changed calculate score function


WebComponents only working on initial render, not subsequent ones

Hey there,
I'm running into some issues getting custom WebComponents (+customElements/natim-shim polyfill) to play nice with preact-compat.
Module versions:
"@webcomponents/custom-elements": "^1.0.0-alpha.3",
"rxjs": "^5.2.0",
"preact": "^7.2.0",
"preact-compat": "3.14.1",
"react": "15.4.2",
"react-dom": "15.4.2",

Environment:
- Node v6.9.1
- NPM v3.10.8
- Webpack 2-based build

the issue:
The environment is a SPA. The WebComponent functions as expected on the initial render, but any subsequent renders (IE going from page A to page B), the WebComponent does not render. The tag is present in the markup, and the component is registered, but Preact seems to be preventing the WebComponent from rendering its child nodes.
Similar (solved) issues in the Preact repo:

https://github.com/developit/preact/issues/405
https://github.com/developit/preact/issues/39

this seems to have been fixed upstream in Preact since v6, however I require preact-compat due to some dependencies. Any fixes or work arounds for this, or any idea what may be causing the issue?
EDIT: also wanted to add, I am using Webpack for the build. The only changes to build I made to incorporate preact was adding the appropriate alias:
{
    // ...
    resolve: {
        alias: {
            'react': 'preact-compat',
            'react-dom': 'preact-compat'
        }
    }
    // ...
}

.. however I notice there are also babel instructions. If you are using Babel in your project, would the babel config be necessary if you are already aliasing in webpack?

Webpack alias should take care of it. I'm releasing 8.0 today, I'll ping here and we should see if that fixes this issue.

Thanks @developit, I'll test it out on my end once 8.0 ships ( congrats on the release! 😄 )

^ it's out by the way! Let me know if you're still seeing an issue.

hey @developit,
finally got a chance to test with latest version of preact + preact-compat.. unfortunately the issue persists 😢 The first instances render, but subsequent ones (after route change in SPA, etc. ) do not.
For context, these custom elements are for advertisements, each instance loads in a google DFP ad unit.
Any ideas? Literally the only change I've made is add

Hi @tconroy - sorry for the delay there.  How are you rendering the child elements? (or binding them to the web components?)  Is it a custom element with an attachedCallback that invokes (reactDom/preactCompat).render()?

Hey @developit! No worries, I'm sure you must be very busy.
So a little overview -- the custom element is wrapped in a react component to make its usage in my react app easier. Something like
class CustomElementWrapper extends Component {
  render() {
    return (
      <my-custom-element a="foo" b="bar" c="baz" />
    );
  }
}

my-custom-element does use an attachedCallback to control its rendering/insertion into the dom, as well as its children. Its children are typically a div and an iframe, which loads some off-domain dynamic content. If you've ever worked with Google DFP, it's a web component to render DFP ad units.
the react-wrapped web component is used in my react app, but never calls (reactDom/preactCompat).render() directly -- that's only done react-side. The custom element only uses RXJS/Observables and native DOM functions.
Sorry I can't really provide a sample page as some of the code is proprietary, but I'm more than happy to answer any questions to help debug this!

I wonder if it's being cached.... if so only attachedCallback would be fired, not createdCallback. Thoughts?

I do think it has to do with recycling or caching, and my WC's are dependent on the createdCallback being triggered. This sounds like the right trail!

Hey @developit,
our WebComponent is dependent on the following lifecycle hooks (v1 component spec):

connectedCallback,
attributeChangedCallback
disconnectedCallback

we also expect each instance to be a fresh node, and not recycled/cached in any way. They have setup logic we expect to fire. I think that's the issue we're running into, the nodes are not being fully deleted/re-created, but recycled in some way.

Totally. Looks like that's directly related to the investigation @Nekr and myself were doing into removing component caching.  I agree caching/recycling invalidates assumptions components could be making, particularly when they are DOM components and depend on those lifecycle methods.  Only solution here will be to have preact "do less" - remove the caching/recylcing and let the DOM do its thing.

@developit I'm actually busy with some things last weeks and wasn't looking into the problem since then. But I need to get back it anyway, probably soon.

Thanks for the insight guys! I'm curious @developit will dropping component caching have any negative performance implications for Preact (either now or in the future)?

It will impact some silly benchmarks that remount identical components a million times.  In the real world though, it will very likely be faster.  Will absolutely be better for memory consumption.


[EnumRequest] Report 99001020 "Carry Out Action Msg. - Plan."

W asked for change option to extensible enums. It was in https://github.com/microsoft/ALAppExtensions/issues/15044. Problem is that enums are not extensible as we asked. Please change it.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for release 20.


The component is flux incompatible

Component has it's internal state but it's impossible to store state of a component (value and inputValue) somewhere outside (in store for example). Do you have plans to implement fully controlled datetime picker?

:+1: If there is a recommended approach for this - am utilizing Redux state in my case

To my mind this control have to support both internal state and ability to be fully controlled outside. Every default react input has ability to be controlled by default (by setting value property) so every rich control should support this ability. And this is a big problem of all react components nowadays


ISM330DHCX driver: wrong FS bitmask for gyroscope calculated

Describe the bug
The driver for the ism330dhcx incorrectly calculates the bitmap for the fs bits in the CTRL2_G register. The driver uses the ST hal to set the values, but hands over an incorrect bitmask leading to wrong configuration.
HAL values for given FS: https://github.com/zephyrproject-rtos/hal_st/blob/b77157f6bc4395e398d90ab02a7d2cbc01ab2ce7/sensor/stmemsc/ism330dhcx_STdC/driver/ism330dhcx_reg.h#L2894
Zephyr driver logic for getting the value from the devicetree: https://github.com/zephyrproject-rtos/zephyr/blob/be682e22e166c33a67c1db0755f8ca20c37b6576/drivers/sensor/st/ism330dhcx/ism330dhcx.c#L70C2-L70C17
in my opinion, the lines in the zephyr driver should be
static const uint16_t ism330dhcx_gyro_fs_map[] = {250, 4000, 125, 4000, 500, 4000, 125, 4000, 1000, 4000, 125, 4000, 2000};
static const uint16_t ism330dhcx_gyro_fs_sens[] = {2, 32, 1, 32, 4, 32, 1, 32, 8, 32, 1, 32, 16};

In addition the devicetree binding should be adapted to allow a FS value of 4000 (dps).
For convenience, here is a screenshot from the datasheet:

And the link to how the ST HAL parses this value: https://github.com/zephyrproject-rtos/hal_st/blob/b77157f6bc4395e398d90ab02a7d2cbc01ab2ce7/sensor/stmemsc/ism330dhcx_STdC/driver/ism330dhcx_reg.h#L357
To Reproduce
Not applicable
Expected behavior
The devicetree full-scale property for gyroscope to be correctly applied.
Impact
Unintended FS selection and wrong gyroscope readings, since raw to dps conversion is intended sensitivity but not the actual one.

@avisconti please take a look


LOJ - 1141 (Number Transformation) English Editorial

I would Like to contribute LOJ - 1141 (Number Transformation) Editorial in English with relevant illustration and resources . I have already solved the problem , so it should only take 2-3 days before I am done.

@sakib3201 Hello dear contributor. Any update on this?


Typos in settings page

What version of Music Assistant has the issue?
2.9.0b100
The problem
Typos in the Dutch settings core page. “Artietsen” “biblthioteek”

How to reproduce
Is present in several versions
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.2.2
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
ODROID

It would be great if you could sign up to lokalise and fix this yourself. See the docs,

Hi OzGav,I would certainly like to give this assistance. I read the docs, but I’m not sure if I looked in the right place as I didn’t find the option to join and make the corrections myself.Can you please point me to the proper place?Best regards,DirkVerstuurd vanaf mijn mobiele deviceOp 20 feb 2024 om 09:42 heeft OzGav @.***> het volgende geschreven:
It would be great if you could sign up to lokalise and fix this yourself. See the docs,
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

https://music-assistant.io/help/lokalise/

Have you been able to resolve this?

I found the right place yesterday. On my phone it is not comfortable, so will work on it from my PC today.

Van: OzGav @.>
Verzonden: Thursday, February 22, 2024 5:28:48 AM
Aan: music-assistant/hass-music-assistant @.>
CC: papabak @.>; Author @.>
Onderwerp: Re: [music-assistant/hass-music-assistant] Typos in settings page (Issue #1932)
Have you been able to resolve this?
—
Reply to this email directly, view it on GitHubhttps://github.com/music-assistant/hass-music-assistant/issues/1932#issuecomment-1958679294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXKSE34MKY7RBVXBARECAFDYU3CQBAVCNFSM6AAAAABDQWYMFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJYGY3TSMRZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

Just checking how you are going with this as we would like to close it if possible

I was a few days in France. Do it tomorrow.
Kind regards,
Dirk

Van: OzGav @.>
Verzonden: Sunday, February 25, 2024 2:49:15 PM
Aan: music-assistant/hass-music-assistant @.>
CC: papabak @.>; Author @.>
Onderwerp: Re: [music-assistant/hass-music-assistant] Typos in settings page (Issue #1932)
Just checking how you are going with this as we would like to close it if possible
—
Reply to this email directly, view it on GitHubhttps://github.com/music-assistant/hass-music-assistant/issues/1932#issuecomment-1962947101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXKSE36HUQHE6PDJXP3TYPLYVM6NXAVCNFSM6AAAAABDQWYMFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSHE2DOMJQGE.
You are receiving this because you authored the thread.Message ID: @.***>

Hi Dirk,
Just checking if you have completed this so I can close this report.
Cheers!

Hi Ozgav,
Yesterday I did some translations from English to Dutch. However I couldn’t
find previous translated parts containing the misspellings (Music Assistant
settings Core). Seems only untranslated parts were offered. I will have a
second look to see if I missed something yesterday.
Best regards,
Dirk
Op vr 1 mrt 2024 om 02:06 schreef OzGav @.***>

Hi Dirk,
Just checking if you have completed this so I can close this report.
Cheers!
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1932#issuecomment-1972257937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKSE32AWKWFBWV73SY3BGDYV7IADAVCNFSM6AAAAABDQWYMFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGI2TOOJTG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks. If you can't sort it out I will ask the translations gurus what the situation is

Hi OzGav,
I have translated all remaining (26) parts to Dutch. I guess these texts will be veriefied by a second pair of eyes. However, the texts containing the misspellings where not among the texts offered as these where untranslated texts only.
I  like to hear if this was what was expected and how I can make the corrections to the misspelling in MA Setting Core texts.
Best regards,
Dirk

Op 1 mrt. 2024, om 07:37 heeft OzGav @.***> het volgende geschreven:
Thanks. If you can't sort it out I will ask the translations gurus what the situation is
—
Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/1932#issuecomment-1972598138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXKSE36SZDHIKXYOEZG5KZLYWAO4BAVCNFSM6AAAAABDQWYMFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGU4TQMJTHA.
You are receiving this because you authored the thread.

@jozefKruszynski how do existing translations get updated?

Whoever the contributors to the languages are must go to Lokalise and update the translations there. Then we can trigger a PR from Lokalise to the GitHub repo

Whoever the contributors to the languages are must go to Lokalise and update the translations there. Then we can trigger a PR from Lokalise to the GitHub repo

Do you mean only the original contributor can update their sentences?

Not at all, actually anyone who wants to sign up to contribute can do so.

@jozefKruszynski @papabak can’t seem to find the original sentences to fix

Ah, this could be because the original upload was with all the existing languages which included dutch.
I'll try to take a look a little later on

Any luck @jozefKruszynski ?

Just checked and that string is easily findable in lokalise via search. Not sure why there is an issue finding it.

@papabak please see above

@papabak we will close this soon and request you make the changes on lokalise

I have made the changes to the initial report. Plenty more translations are required but this should be fixed on the next import


Updated mongoose schema to be as broad as possible

Updated the mongoose schema to hold all possible fields. 400 error still present. API routes checked and are consistent with previous functioning versions.

@Behold3th you can close this, I will refactor this into the existing code if it is necessary, we are trying to get this fixed on the server side first.

Closing this because it was added manually to the feature/form branch.


Read annotator output in function-extractor for extracting functions and structs

Is your feature request related to a problem? Please describe.
ParseTXL/Struct Output are moved to annotator from function-extractor. Function-extractor needs to read json output from annotator for extracting functions.

closed via #42


fix icons

[ ] play button is larger than skip button
[x] back-5 button actually goes back 10 sec
[x] 5 and 30 don't look completely centered within their circles ?
[x] subscribe and share buttons are having their border cut off at bottom

On mac os safari, cut off as well, and fonts look off

(Some fixes have addressed some of these over past few months)


in-game VC don't work for me.

Issue
Voice chat doesn't work, but phone & radio works fine.
To Reproduce
Install Qbus Framework
Install pma-voice
enable onesync-infinity
Expected behavior
When you press (keybind) you should be able to talk to others in the server without using a phone or a radio.
Server Info:

Server Version: 4484
Client Version: ver.4490
Client Build: I'm not sure where I can find this.

Additional context
I've reinstalled everything from a-z as it should be done, but for some reason the in-game voice won't work.
The text does light up, everything works except talking.
Not sure if I want to invest in a teamspeak server, so I want this to work :)

Not sure what the issue could be, are you using an external server?

Going to assume you found a solution for this

Hey sorry, I didn’t recive any notification… well I rent a server through ZAP-Hosting.
Sent from my iPhone

On 12 Sep 2021, at 07:19, Dillon Skaggs @.***> wrote:

Not sure what the issue could be, are you using an external server?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Going to assume you found a solution for this

Nope :/

Can you double-check that your OneSync is on with Zap?

Can you double-check that your OneSync is on with Zap?

Yeah it's on

Can you download a mumble client and see if you can join on your_ip:your_port?


Consider --table-options to compare definitions

Currently, --table-options is not considered in dry-run mode and the mode throws "table options differ" warning even if the same options are specified.
I think --table-options should be considered also in dry-run mode.

Changes Unknown when pulling ecf19a34ca606a487d794c211cfda193feab72e1 on abicky:hotfix/consider-table-options into ** on winebarrel:0.7**.

Changes Unknown when pulling aa9e8be79f1053086f5d0cccdd77eec14dbd863e on abicky:hotfix/consider-table-options into ** on winebarrel:0.7**.

Changes Unknown when pulling c7ac640db4428c7a998656d3322022b4aa2013a6 on abicky:hotfix/consider-table-options into ** on winebarrel:0.7**.

Changes Unknown when pulling bd30333dfb446a3c7d2b087dbb0b430cef48c538 on abicky:hotfix/consider-table-options into ** on winebarrel:0.7**.

Thanks!

v0.7.0.beta19 has been released.


add support for a masked readline

Hey. I had the need in the heroku plugin to use jlines masked readline support so I added it to your JLine interface's readLine method as an optional char defaulting to None so it requires no code changes.
Example usage in a build file
TaskKey[Unit]("prompt-in-plain-sight") <<= (streams) map {
  (out) => out.log.info(
    SimpleReader.readLine("What is your fav color? ").get
  )
}

TaskKey[Unit]("prompt-discreetly") <<= (streams) map {
   (out) => out.log.info(
    SimpleReader.readLine("What is your bank account number? ", Some('*')).get
  )
}

Session
> sbt-version
[info] 0.11.1-SNAPSHOT
> prompt-in-plain-sight
What is your fav color? green
[info] green
[success] Total time: 13 s, completed Oct 13, 2011 2:10:36 AM
> prompt-discreetly
What is your bank account number? **********
[info] ican'tsay!
[success] Total time: 28 s, completed Oct 13, 2011 2:11:12 AM

People can continue using it as it was, but can add a masking char if they are paranoid about the guy looking over their shoulder as they type.
What do you think?

Does using Char not work in place of JCharacter?

Good call. No issues with Char. Just committed a version that uses that instead.

Alright, squash it down to one commit and I'll merge it.

I squashed it and put it in a second a rebased branch with https://github.com/harrah/xsbt/pull/224 . You can close this one.


How to remove initial tag

Can terraform-aws-modules = "alb" tag be removed somehow? I don't want it added to my LB resources

It is being added in the example only. You can edit the code as you need. For e.g., here - https://github.com/terraform-aws-modules/terraform-aws-alb/blob/master/examples/complete-alb/main.tf#L17

@antonbabenko I'm trying to add my own tags, but they don't override the default one, you've written into the module itself - https://github.com/terraform-aws-modules/terraform-aws-alb/blob/master/main.tf#L5C38-L5C38

this tag is used to link this project back to resources created within AWS. in order for AWS to understand why this project, and others within the terraform-aws-modules, are important and worth investing time/resources into them, there needs to be a way for AWS to understand the impact (i.e. - revenue) generated by these projects. In hindsight, this tag doesn't need to be on every resource created - we could move it to just the load balancer itself. however, I would strongly prefer to keep this tag and continue adding it to the projects so that we have a way to show impact in a way that AWS understands (GitHub stars, Terraform registry downloads, etc. are not indicative but its what has been used to try to make the case, in addition to anecdotal statement from users). Thoughts?

@bryantbiggs In that case, I think you should atleast add some flag/option to disable it, so people have the option to have their resources fully untagged or only with their own tags. So by default this new flag/option will be set such that this tag will be added, but it can be changed so it is not, in my opinion, this is the best solution for everyone

this is the best solution for everyone
I would argue the best solution for everyone is to have it so we have the data that shows AWS that they should continue investing time/resources into these projects, no? Feels like an easy compromise for something that is provided for free to users. Again, we can reduce the amount of tags here to just the LB so we're only talking about one tag on one resource in this module

@bryantbiggs Well, you know better what will be best, as you are maintainer and I'm just a user 😄 , but reducing the number of tags so they are only applied to the resources, which actually contribute to the costs, can make it better than how it is now. Just of curiosity, how is AWS involved in these modules, if they are maintained by non-AWS people? Do they provide some fundind or atleast priority issues support to the maintainers?

Just of curiosity, how is AWS involved in these modules, if they are maintained by non-AWS people? Do they provide some fundind or atleast priority issues support to the maintainers?

Thats complicated to answer so I will only speak for myself. I am currently an AWS employee, and every year I have to account for where I spend my time and its been challenging to relate the time/effort spent on these modules and what AWS gets in return for that. There are a number of OSS projects that AWS sponsors all the time, but before they will provide funding, they need to see data that supports funding those projects (funding can be direct monetary contributions or allocating headcount to work on those projects or funding individuals who work/contribute to those projects, etc. There are many various forms)

Got it, in this case reducing the number of tags is a good compromise, in my opinion. @antonbabenko what do you think?


Thrown when a linear system is ill-posed

Hello everyone,
I have this problem when I rosbag my bag.
terminate called after throwing an instance of 'gtsam::IndeterminantLinearSystemException'

what():
Indeterminant linear system detected while working near variable
7061644215716937728 (Symbol: b0).
Thrown when a linear system is ill-posed.  The most common cause for this
error is having underconstrained variables.  Mathematically, the system is
underdetermined.  See the GTSAM Doxygen documentation at
http://borg.cc.gatech.edu/ on gtsam::IndeterminantLinearSystemException for
more information.
[lio_sam_imuPreintegration-1] process has died [pid 31169, exit code -6, cmd /home/fire/catkin_lio/devel/lib/lio_sam/lio_sam_imuPreintegration __name:=lio_sam_imuPreintegration __log:=/home/fire/.ros/log/543bdf56-386a-11eb-a82b-cc3d826486ce/lio_sam_imuPreintegration-1.log].
log file: /home/fire/.ros/log/543bdf56-386a-11eb-a82b-cc3d826486ce/lio_sam_imuPreintegration-1*.log
Thanks very much if anyone gives some advice.

Hi There, did you find any solution for this issue?

Hi There, did you find any solution for this issue?

sorry, no. But I guess this problem is caused by  IMU raw data error.

when i run my own dataset, it comes to the same problem, but i check my imu gravity output, it looks right,  any suggestion to this issue?

when i run my own dataset, it comes to the same problem, but i check my imu gravity output, it looks right,  any suggestion to this issue?

Having the same issue. Did anyone fix this?

Hello Everyone,
First of all thanks for sharing this open-source.
AM also trying to run Lio-Sam with its own dataset, but getting the same error. Does anyone fix this before?
Regards,
Ajay

Hey i have this problem because i mixed up the data from lidar odometry and visual odometry, when i motified them, everything was ok!

I had this problem too. In my case the reason was that some imu messages were sent with the same timestamp. This causes trouble in imuPreintegration.cpp lines 356, 424 and 469. As you can see there is no check if the value is equal to 0. So in my case dt gets 0 which then in turn leads to the fact that in gtsam the systems of equations can no longer be solved.

@SlammerD Can you briefly elaborate more on this issue?
I did you what you said in this comment but still facing the same issue when I run the mapping on the example bagfile. Do I need to do the same change to lines 424 & line 469?

I did you what you said in this comment but still facing the same issue when I run the mapping on the example bagfile. Do I need to do the same change to lines 424 & line 469?
When you have trouble with the example bagfile than you don't have my problem. Therefore you don't need to change anything in the code of lio sam. The example bagfile should work right of the box. Only slight changes in the params file are needed for some examples but they are mentioned in the explanation.


Add stationary mode, xcontrol, dev mode, and the option to make stationary mode robot side or app side

Also able to select what commands will be blocked in stationary mode

fixes https://github.com/remotv/controller-for-android/issues/20 and also allows button commands to be parsed as commands as well, such as xcontrol, which uses xcontrol ~ 60 for the user who pressed the button for 60 seconds

Exclusive Control

/xcontrol user 60: give user user control of robot for 60 seconds
/xcontrol ~ 60 (button): give user who pressed the button exclusive control for 60 seconds
/xcontrol user: user user gets exclusive control indefinitely or until the robot reboots
/xcontrol off: turn off exclusive control

Dev mode

/devmode on: turn on devmode
/devmode off: turn off devmode

Stationary mode:
The robot controls this, unless set in the app settings to be handled locally. The option exists for both since some hardware is not programmable, such as a sabertooth serial controller

stationary on: turn on stationary (table) mode
stationary off: turn off stationary mode

@bmorrison4 Is this about how the python controller behaves?

devmode is currently broken

not really a good way to get user other than hard coding right now since I show up as just a global_moderator when hitting a button

Stationary can also be called as a chat command without argument to toggle it on / off in the python controller. It also duplicated as the ‘table’ chat command since that’s what it was called under the old controller and people aren’t great at change.
Dev mode is trickier. Code wise at the base level it’s not really any different to exclusive control or whitelisting commands. Where it gets tricky is that it may be implemented server side as it was on LR.

I will be adding the /table on as well, and will probably keep using that since it is quicker to type


Support round-tripping 64-bit ints

Description
Support round-tripping 64-bit ints. Consider the following struct:
struct Value {
    long long value;
};
template <>
struct glz::meta<Value> {
    using T = Value;
    constexpr static auto value = object(
        "value", &Value::value
    );
};

My general expectation is that, provided v doesn't contain any floating point numbers, the following holds:
glz::read_json<Value>(glz::write_json(v)) == v

However, it seems as though numbers are always parsed as floats, even if the corresponding field expects an int.
Consider the following example:
int main() {
    Value v1 {<PHONE_NUMBER>3739289 };

    std::string json = glz::write_json(v1);

    Value v2 = glz::read_json<Value>(json);

    printf("Json: %s\n", glz::prettify(json).c_str());

    if (v1.value != v2.value) {
        printf("Values not equal. v1 = %lli, v2 = %lli\n", v1.value, v2.value);
        return 1;
    } else {
        puts("All good!");
        return 0;
    }
}

This value is serialized properly (all digits intact), but when it's parsed, it's parsed as a float, then converted to an int.
This is the output of the above:
Json: {
   "value":<PHONE_NUMBER>3739289
}
Values not equal. v1 =<PHONE_NUMBER>3739289, v2 =<PHONE_NUMBER>3739288

Would it be possible to parse numbers as integers if the corresponding field calls for it?

Addendum: I just want to mention that this is particularly relevant in cases where nanosecond timestamps or integral numeric IDs are being stored in json. Nanosecond timestamps allow a bit of fuzzyness (if the timestamp is off by a microsecond, that's often not the end of the world), but 64-bit integral IDs need to match exactly

Yeah number parsing is going to change soonish (sometime next week). This will get fixed. Right now I would expect only values between -2^53 to 2^53 would work properly. Values were originally parsed in as floating point numbers because we wanted to allow stuff like 1.7e10 which is handled by default in float parsers but typically not int parsers.

Fixed in 6e7cab33b7ded72431c55a51481e8003f32efa5d


update compatibility NextCloud 24

Thanks for your contribution, but it's obsolete with the latest changes.


Use strict config unmarshaling

What feature would you like to be added?
Kubeone config should be unmarshaled from the file using strict mode: unexpected fields should cause an error and be reported to the user.
What are use cases of the feature?
Sometimes people mistype, this will help to detect problem very early and provide immediate feedback.

Actually it's already implemented: https://github.com/kubermatic/kubeone/blob/bec424b09d2d0cb5d97347469c947ab66c5c1d91/pkg/cmd/config.go#L202

This is only for kubeone config print and not for kubeone install or kubeone upgrade.
/reopen


Make "Add plugin" button install plugins

Would be great to be able to install verified plugins directly from webdash.
This probabbly could be a plugin that lists all the verified plugins and has a button to install them.

That's a great idea 😍
I think it wouldn't be too complicated to achieve, here's a quick analysis:
We can fetch the List of verified plugins from Webdash by directly getting the Markdown source for it using this url:
https://raw.github.com/wiki/jadjoubran/webdash/landing.md
and then whenever there's a ```javascript npm install ... ``` we dynamically create a download button for it
and then using showdown we could transform this into markdown that will be displayed in a paper-dialog
Would you like to work on a PR for it? If yes, I'd love to help (even if you've never worked with Polymer before, you'll see it's almost just plain modern JavaScript)

Yes, maybe I'll need some help but I'm down for trying.
The URL that you wrote does not work for me, this one does:
https://raw.githubusercontent.com/wiki/jadjoubran/webdash/List-of-Verified-Webdash-plugins.md
Do you think that will be good to add a docs folder so people can access the docs locally (maybe with the readme preview plugin) the good part using github wiki is that is automatically updated but I could see people developing for example in an airplane and using webdash and not having internet.

You're right, I should've changed landing.md at the end to List-of-Verified-Webdash-plugins.md
hmm the problem is that some webdash plugins will not work offline anyway (such as webdash-package-json and a few upcoming plugins)
and installing plugins offline wouldn't work as well since you need npm
so maybe another issue would be to add the documentation of webdash itself  inside webdash (as a page or dialog).. or markdown files more like how to use the webdash cli, etc.. (maybe that's what you originally suggested?)
Awesome for giving it a try 😄
I'll write down as much info as I can here

The main web component you'll be working with is src/add-plugin.html
which is a Web Component for the <add-plugin> button that you see
(it's in a web component because you'll see it in other places: for example, if you had no packages installed)
here you can use the fetch API to request the documentation
fetch(url).then(response => response.text().then(markdown => {console.log(markdown)});
it's the first time I don't use .json() on fetch, because this time we need it to be in text format
then try to show the plain markdown in a paper-dialog, for that you have to already setup a paper-dialog in src/add-plugin.html
for that, go to webcomponents.org (which lists all web components) and search for paper-dialog, and you'll see on the top left instructions how to install it with bower
if you don't have bower, please install it with npm install -g bower
You can checkout how paper-dialog is being used in webdash-npm-scripts here: https://github.com/jadjoubran/webdash-npm-scripts/blob/master/webdash-npm-scripts.html#L161
don't forget to add an import for it, just like it's done in the first few lines
I'd say let's reach this step, feel free to open a PR when you reach this one, and then I can give you more recommendations about what's next
Feel free to ask me questions along the way
Thanks for your time! 😄 and I hope it'll be rewarding in terms of JS experience!

I forgot to mention that in order to run webdash locally, you need to run the following command:
node ./scripts/index.js --local

Actually if you'd like, you could send a PR for your progress so far
the feature is still useful even if there's no automatic install button that you can click

This week I've been busy, but this weekend I can finsih it.
El dj., 12 d’abr. 2018 a les 14:14, Jad Joubran<EMAIL_ADDRESS>va escriure:

Actually if you'd like, you could send a PR for your progress so far
the feature is still useful even if there's no automatic install button
that you can click
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jadjoubran/webdash/issues/72#issuecomment-380783973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFb2SSN_Bovkc--gfAEYjK6meiwkV6fyks5tn0UUgaJpZM4TDAJ-
.

--
Dídac Sabatés Duran

Sure no rush! It's quite tough though, so even if you gave it a try and got stuck, we can do a PR for the first part
Cheers!

Didn't have time this weekend so I created the PR for just the paper-dialog, will maybe try to do it in the future.

Perfect thanks @sabatesduran! I just merged it
I will do some minor changes and reference the commit numbers here if you'd like to see what I'm going to change (basically just move showdown to the backend to avoid loading a library in the browser which will be rarely used + probably swap showdown with due to the issue that I discovered here)


Location of the corresponding images

EW said:

I have found the L1000 data you use here but have not been able to locate the corresponding images. Could you please let me know if/where they are available?

3/4 are in cellpainting-gallery; 1 is elsewhere (for now):

CDRP - cpg0012-wawer-bioactivecompoundprofiling
LINCS - cpg0004-lincs
TAORF - cpg0015-heterogeneity
LUAD - this is not yet on cellpainting-gallery but you can find it here. It is called LUAD-BBBC041-Caicedo in that resource

@shntnu thanks for sharing this info, I was able to identify the images but I'm having trouble identifying the matching raw L1000 data.
Can you please share the location of the matched L1000 data if they are available?

As specified in the paper as well, L1000 profiles are the bulk level and and the pairing is at the perturbation level. So, I'm not sure what you mean by "how can the images be matched to L1000"? The full instruction on how to match the L1000 and Cell Painting profiles are given at the repo's README and example script to load and match the the profiles are provided in this notebook.


Remove log message that is repeated often but not very useful

question: isn't it helpful to know where we are in the execution cycle?

Okay.


Wagtail 6.1

Notes

No significant changes related to Wagtail 6.1

Wagtail 6.1 upgrade check list
Code reviewing a consideration.
Use the tick box to indicate a consideration has been code reviewed as OK
What’s new

[ ] Universal listings continued
[ ] Information-dense admin interface
[ ] Custom per-page-type listings
[ ] Keyboard shortcuts overview
[ ] Better guidance for password-protected content
[ ] Favicon images generation
[ ] Cve-2024-32882: permission check bypass when editing a model with per-field restrictions through wagtail.contrib.settings or modelviewset
[ ] Other features
[ ] Bug fixes
[ ] Documentation
[ ] Maintenance

Changes affecting wagtail customizations

[ ] Changes to submissionslistview class
[ ] Register_user_listing_buttons hook signature changed
[ ] Password_required_template has changed to wagtail_password_required_template
[ ] Document_password_required_template has changed to wagtaildocs_password_required_template

Changes to undocumented internals

[ ] Deprecation of user_listing_buttons template tag
[ ] Deprecation of wagtailusers_groups:users url pattern
[ ] Deprecation of window.chooserurls within draftail choosers
[ ] Deprecation of window.initblockwidget to initialize a streamfield block
[ ] Old
[ ] New
[ ] Removal of jquery from base client-side widget and boundwidget classes
[ ] Window.urlify deprecated
[ ] Window.xregexp polyfill removed

Same here, it seems the widget is no longer initialized through new ColorInputWidget(id)

@nickmoreton , this merged PR from @SebCorbin , should fix that:
https://github.com/torchbox-forks/wagtail-color-panel/pull/8

@nickmoreton Merging this as the problems were fixed and this PR only adds documentation


PIPELINE READS FROM STDIN WITH NO REASON

env | grep {pattern} this outputs correctly but starts reading from STDIN
it's not a matter of the env command, this happens within builtins. When builtins get chained with a pipe, this error gets produced

The is command line don't even output (Error : dup2_failed)

Obviously,  env get run without creating for it a child process as we classify it as builtin which we control inside the execute() call where we run a builtin just in case of cmdline_size = 1.
If we want to make this builtins to work in pipeline we should create child process for their execution in order to  manipulate data streaming.

Actually the issue is fixed, but we still need to assure that its implementation doesn't affect the functionality of the other aspects of the application.
Briefly, the fix was about:

Run Builtin from a child process when its inside a pipeline.
Run Builtin from the main process when its a sole command.
This condition of being a builtin in a pipeline, requires IPC and hence a DATA STREAM management.


sh: 4: [[: not found

Is it worth making this ...  | sudo bash? At the moment there's no indication the installation requires superuser privileges, until it fails to write to /usr/local/bin.


Update azure-diagnostics-troubleshooting.md

Update the log files location

#sign-off
@yantang-msft Thank you for fixing that!

@JennieHubbard: Only the author, @rboucher, can sign off on this pull request.


Refactor the dispostion_id values

In order to have different dispostion_id values, moved the dispostion_id values to security control and firewall profiles.

Changes look good, accepting now.


Listing Alluo

Revision checks

[x] Your Safe App include a manifest.json file at the root with the required data
[x] The app can be loaded as a custom Safe App in the Apps section of https://gnosis-safe.io/app
[x] The app auto-connects to the Safe
[x] You are able to trigger and execute one transaction with a Safe
[x] RPC requests are optimized (not triggering many requests in a very short time period)

Name/Description
Name: Alluo
Description: Deposit and earn yield paid in your deposited asset. 100% transparent on-chain investment strategies, withdraw at any time with no fees and no lock-in period.
Type

New addition

Compatible Networks
- Mainnet
- Polygon

Code for review
Front end: https://github.com/GetAlluo/decentralised-app
Contracts: https://github.com/GetAlluo/liquidity-direction-protocol
IPFS hash/App URL
https://app.alluo.finance/
Desired date
App is fully working and tested.
We would love a heads-up on going live so we can coordinate some co-marketing to the Safe and Alluo community on Twitter and Discord.

PR for this issue is here: https://github.com/5afe/safe-apps-list/pull/189

Hey @0xtuytuy, so far looks good. Only one thing that needs improvement:

The Safe is a smart contract wallet, and it exists only on one network, but when I connect to the app, it shows me farms across polygon and mainnet. So, could you please leave only the network the Safe is connected to?

Also, are the contracts audited?

We will do this no probs, give us until next week

Also, are the contracts audited?

Contracts are not audited yet, because we are still building some features. However, we have a strong bounty program (https://app.dework.xyz/alluo/alluo-smart-contra?taskId=b85f6ad6-c2bc-4dc6-8566-c46abe897989) which we have already paid some bounty out. All our contracts are also public, and verified on blockcexplorers.

We will do this no probs, give us until next week

Also, are the contracts audited?

Contracts are not audited yet, because we are still building some features. However, we have a strong bounty program (https://app.dework.xyz/alluo/alluo-smart-contra?taskId=b85f6ad6-c2bc-4dc6-8566-c46abe897989) which we have already paid some bounty out. All our contracts are also public, and verified on blockcexplorers.

I'm sorry, but at the moment we're only considering apps with audited contracts. Do you have plans to audit the contracts in the near future?


Style Guide

Style Guide
Naming
Constants
ALL_CAPS ???
camelCase ???
snake_case ???
Variables
camelCase???
snake_case ???
Functions
camelCase ???
snake_case ???

Imo full caps snake cast for constants, variables and functions in snake case?

Just my take on a simple style guide here
@ark-lang/owners

Had the ok from @kiljacken, thoughts @MovingtoMars?

:+1:

Nice, I'll dump this in the docs folder :+1:


sipvicious: 0.3.2 -> 0.3.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for sipvicious is: " Set of tools to audit SIP based VoIP systems"
meta.homepage for sipvicious is: "https://github.com/EnableSecurity/sipvicious"
meta.changelog for sipvicious 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/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/sipvicious_svcrack passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/sipvicious_svcrash passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/sipvicious_svmap passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/sipvicious_svreport passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/sipvicious_svwar passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/.sipvicious_svcrack-wrapped passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/.sipvicious_svcrash-wrapped passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/.sipvicious_svmap-wrapped passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/.sipvicious_svreport-wrapped passed the binary check.

/nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/bin/.sipvicious_svwar-wrapped passed the binary check.

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

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

found 0.3.3 with grep in /nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3

found 0.3.3 in filename of file in /nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3

directory tree listing: https://gist.github.com/83de0bd557cacf701bf8c375e8b191fc

du listing: https://gist.github.com/259c2c1dbe3186e81cccfb4f0854c64c

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

4 total rebuild path(s)

1 package rebuild(s)

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

First fifty rebuilds by attrpath
sipvicious

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3 \
  --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 sipvicious https://github.com/r-ryantm/nixpkgs/archive/3a2b68fd5faf7b25a604eeabe17e339d3d92c47e.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/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3
ls -la /nix/store/gnb44i1zs0rr4jv34ndlxbxfw4wbvp1n-sipvicious-0.3.3/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

1 package built:

sipvicious

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 117837 run on x86_64-linux 1

1 package built:

sipvicious


Disable making specs a dependency of the default rake task?

By default, this library sets the default rake task to depend on :spec, as can be seen in this line:
task :default => :spec

https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/tasks/rspec.rake#L6
We want to run a few things before running the specs when we call bundle exec rake. But with this line setting the default rake task to depend on :spec, we can't redefine the default rake task without first clearing it out, which is not obvious. You're required to do something like this:
Rake::Task[ :default ].clear

task default: :environment do
  # Preparatory tasks.

  Task::Task[ :rspec ].invoke

  # Closing tasks.
end

Is there a way of making this configurable so that you can not set the default rake task to depend on :spec?
I can issue a PR if this is something that's of interest to you.
Thanks.

To be honest opting out via task(:default).clear is going to be more concise than creating a setting somewhere, especially as it would have to load in rake and not in RSpec.
We could change this in the next major version, but we'd have to go down the "generate" a rake task file route, and have it in there, so it could be just deleted, would require deprecation, changeover, all sorts, to be honest given you're the first person to ever even suggest this, I'm kind of inclined to think its too much effort!

Thanks for the reply, @JonRowe. If I'm the only one then, yeah, definitely not worth the effort. Haha.
Quick question, though: Is this normal practice for a test suite to make the default rake task depend on it and automatically run it? What was the thinking around doing this in the first place? I find it a little surprising, but it seems I'm the only one that thinks so. 😄
Thanks!

We only do this because Rails does this, it would be very surprising to run
'rake' and get minitest when you're an RSpec user!
The main RSpec gems don't do this as they're a bit more diy

See, and that makes perfect sense. I didn't realize Rails does this. Mystery solved. I'll stop my whining. :)


Not working on multiple cursor mode.

Hey, I have noticed than when you duplicate your cursor (with ctrl+click for example), the particles are visible only for one cursor.

This should now be supported with the latest release (0.7.0)


can't backup anything

running GITLAB_TOKEN=********* ./gitbackup-0.5-darwin-amd64 -service gitlab only reports 2020/10/11 01:26:45 Backing up 0 repositories now..
I have more than 150 repo in this account.

Interesting. Are your projects all public, internal or a mix?

it's a mix but mostly private

Do you want to try running with: -gitlab.projectVisibility private?

it worked thanks. It's weird I had two public repo but didn't back them up

Great, Can you please link me to the public repos?

https://gitlab.com/pakat/woocommerce-plugin

I checked the backup folder, only private repos are backed up

Hi @hadifarnoud are you able to try this with the latest release? And can you please post the exact commands you ran, and the behavior, that will be great.

Closing this due to lack of response.


mergeSchema keeps ENUM description and deprecation

mergeSchemas doesn't transpose enum description, this PR in a first time adds a failing test

Thanks a lot! This is a great bug fix.


TAU Changes

CURRENTLY for https://norppa.helsinki.fi/course-summary/TKT20005?startDate=2022-08-01&endDate=2023-07-31 the course summary page is the following:

AFTER THESE CHANGES the same page looks like this:

Where did the CUR rows disappear?

Also displaying all of the CUR's for a CU does not work anymore.
BEFORE THE CHANGES:

AFTER THE CHANGES:

AFTER THE CHANGES every feedbacktarget in the My Teaching page seems to have lost their feedback count and student counts:

HOWEVER when visiting the feedbacktarget page, the counts are normally there.

[!NOTE]
Okay so further investigation with Asta revealed that the summaries table has to be completely flushed and rebuild in order to get the "new" data in and old data out.

Now this is not working because we still have the old summaries data in the DB.

[! I was thinking that if the steps should be done inside migrations rather than manualle, either way this is not super ideal for production build, as it might cause issues.


Enable certain people NOT to sign a CLA

I extend the problem(https://github.com/cla-assistant/cla-assistant/issues/197) further.
Not everyone needs to sign a CLA in our company. For example, employees don't need to sign while vendors do need. There are two designs to achieve it.
First, develop a microservice which tells the cla-assistant whether the committer needs to sign a CLA or not.
Second, develop a microservice to sign a CLA for employees automatically and delete the CLA record when he/she leave the company.
Any suggestions for the two methods? Currently, I prefer the first one.

Great idea 👍 Like the first one better too.
I could imagine some kind of "white list" where you can enter login names and emails of users (and bots, this would solve the issue #173 too). Using some kind of regex pattern could be helpful to include larger user groups, like employees of your company.

@thojansen and I discuss the problem a little bit.(https://github.com/cla-assistant/cla-assistant/issues/197)
Regex pattern cannot solve my problem. Because not all employee provide their company info(e.g company email) on their Github account. And currently, our team have an internal microservice that already linked employee Github account with their company info. So I think that specifying an interface for a "validation/whitelist endpoint" is the right way to go. Some guidance would be really helpful. Thank you so much.

Close this issue and refer this to https://github.com/cla-assistant/cla-assistant/issues/197

Right now, we use an API to create/delete a 'fake' CLA signature in the DB. So you could have a custom microservice to update the whitelist on the fly. Does this meet your requirement?


Logo on default layout ?

Yes but where can we put it?

top right or bottom left ?

bottom left is good. Letting the user choose the position can be ok too.


Compatibility issue with Azumat - AzuCraftyBoxes

When i install Planbuild together with Azumat AzuCraftyBoxes, the Planbuild feature "direct build" isn't working any more. On pressing CTRL and left mouse nothing happens. May be it's not a big thing but since I use PlanBuild a lot it would be nice if it was compatible with QoL mods. Any Idea what's wrong there? Thank you for helping!

I figured out that in fact it's a key conflict in using LeftShift, LeftCTRL and LeftALT.
Solving this easily in changing keys in one of the specified mods.


Don't panic when reentering wnd_proc due to mouse move or timer

Explanation:

Reentering wnd_proc can happen, e.g. when opening the system web browser in an event handler via webbrowser crate.
That's why this PR uses try_borrow_mut to fall back to the default window procedure if wnd_proc is reentered.
I didn't convert each borrow_mut to try_borrow_mut, just the ones necessary to make the webbrowser crate work, see this PR for egui-baseview: https://github.com/BillyDM/egui-baseview/pull/12.

This is a similar issue to what occurs when using an external library to open a native file dialog (e.g. with the rfd crate). While obviously panicking is not ideal, simply falling back to the default WNDPROC is not really a complete solution either, since it will result in those reentrant events simply getting dropped on the floor without even being logged. As it is, at least panicking makes it obvious when this happens.
I'm also reluctant to merge this PR since it only changes some window events to use try_borrow_mut but leaves others as borrow_mut, so it's still perfectly possible to cause a panic with a reentrant event loop, it will just happen less often than timer and mouse move events.
One possible idea for a more complete solution would be to add a defer method to Window that takes a closure which will run after the current event, so that if that deferred closure results in reentrant events being delivered to the WNDPROC, the WindowHandler RefCell can be borrowed mutably to handle those events without issue.
A less involved stopgap solution would be to replace all uses of borrow_mut with try_borrow_mut, bring in the log crate, and log a warning when reentrant events are unable to be handled.

Thanks for the reply. Yes, I'm aware of these downsides. It was intended as a quick solution that improves one particular issue, without going "all in" ;) But of course, I would also prefer a more thorough solution.
For me, the defer approach sounds most reasonable.

@glowcoil I would like to work on the "defer" approach. Or are you already at it? If not, I think this defer mechanism can be something purely internal. I would check via try_borrow_mut() if it's a reentrant event and in that case enqueue the code for later execution, triggered by the timer. As queue data structure I could use VecDeque. Any objections?

I won't have a chance to work on this in the near future, so feel free to give it a try. However, I don't think that internally deferring events is an acceptable solution.
In the case of long-running reentrant event loops, like file dialogs, that approach will queue up events for as long as the file dialog is open and then dispatch them all at once immediately after the dialog is closed, which is definitely not desirable behavior. A secondary issue is that some functionality requires synchronously responding to events before returning from the WNDPROC, e.g. deciding whether to capture keypresses or allow them to propagate (see the EventStatus enum returned from the on_event callback), as well as proper synchronization between rendering and window resizes (see discussion here and some relevant code here), so it's not a good idea to queue up events and defer them until later for that reason.
druid-shell does have a solution involving only internal buffering, but rather than buffering events, it buffers operations which can cause events reentrantly (see DeferredOp). However, this doesn't solve the problem of external libraries which enter reentrant event loops (like rfd's synchronous API or the webbrowser crate); it only solves it for druid-shell's own built-in implementations of file dialogs and similar, and using an external library which launches a reentrant event loop from inside an event handler will still result in events being dropped on the ground.
You can think of the Window::defer method I proposed above as basically a pluggable version of druid-shell's DeferredOp which can be used for integrating arbitrary third-party libraries.

I'm going to open a new PR which uses the deferred_task queue added in #136.


Cameras don't mirror their animation

This means when it gets to the end it goes from frame 0 again.
Ideally you'd have either a way for an animation to be looped back and forth or just make a visualizer that does it.

This is probably common enough that this should be a feature of sprites/RSIs, without requiring animations or visualizers

Fixed by #22950


Gamemode broke after latest update

Cannot select a prop in the new update unless in first person, or jumping in thrd person or the prop is behind you.
Also since you told me to place this here, can we get Angle lock to be able to toggle with Left Mouse Button and Toggle Angle Snapping (which is misspelled in the context menu) with Right Mouse Button.

also if you can fix this, when using flashlights the shadow shows t the player model and not the prop itself, so i have had flashlights disabled on the server since the beginning


Should have an awesome, catchy name.

Agreed this is an topic that could use some consideration.

Is currently discussed in #55


Templates: do not delete template on a charger that previously have one

If charger attributes do not match templates anymore but previously matched, we need to keep the template configuration and flag it as 'not matching anymore' to avoid integration removal from smart charging and friends.

Does not seem to happen anymore. I think the logic fix previously made have fixed it.

@WillyLellouch: could you please test with ev-simulator to ensure that it's fixed?
Thanks.


Is there parallelism in running the YARA rules in large number?

For example, if we want to run the large groups of YARA rules, is there any mechanism for running this?

Hi, @mkontham . To be honest, I'm really not sure. As I'm sure you've noticed, we haven't put any work into this project in a long time. You might be able to parallelize the Processor class in your own code and provide different rules or different input data to each. If there's some capability inherent to Yara, that we could expose via a flag in our code, let me know and we can see about adding that.
Thanks!

You're better off running large groups in a single shot, otherwise you'll end up repeating string searches over unnecessarily. I don't think yara-python has a knob exposed to control the number of threads used by YARA internally, but that is your best bet for speed increase if it ever happens.

Thanks, @wxsBSD. I'm going to close this, since it doesn't sound like there's anything we can do about it at the moment, but I'd be happy to reopen this and address it if that ever changes.


Trouble with the examples

Note: I am new to neo4j.
I am trying to run the example here: https://github.com/maxdemarzi/neography/blob/master/examples/facebook_v2.rb but get a different result than expected.
I get: "Johnathan should become friends with Mark"
I am running neo4j-community-1.4.M05 (running stock, with bin/neo4j start) - Is this a problem with the lib, or the wrong version of neo4j?
Thanks
ian

I just tried this again on a fresh install with 1.5 and it works as expected.  Not sure what could have caused Mark to show up instead of Mary and Phill.


Publication/datasets in de list view not clickable when no title is set

If you did not yet supply a title to your publication or dataset,
then in de list view you cannot click on that record, because
there is no title to fill the link text.
Add the link to the record also to the image?

@nicolasfranck yes good idea

ok


Need to consider HTML/SVG event attributes

i.e. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/Events

Addressed as of 0efb970ee98310d09841536d2ea59813345da38d


ReadAsText

This library really needs ReadAsText function. Like here http://jsfiddle.net/alexsuch/6aG4x/.
But to be implemented in controller. Is it possible?

This has been done in commit 404dd5c4713920389ff750cc4f4de578ad74a9ab


urlBase does not work as expected

Hi there,
I'm having issues configuring pigallery2 behind an nginx reverse proxy and I'm not sure if I'm too stupid to configure it right or if it is a bug. My goal is to access it from the public internet.
I'm running pigallery on a Raspberry Pi (Let's call it A, it has the IP 75) and the nginx on another Raspberry Pi (let's call it B, it has the IP 33)
I use the latest version (1.9).
I now have tried several combinations:

nginx proxy_pass: http://<IP_ADDRESS>:8082
pigallery urlBase: ""
pigallery publicUrl: https://***.goip.de/pigallery
From local: Works
From public URL: 404
Error GET /pigallery 404

nginx proxy_pass: http://<IP_ADDRESS>:8082
pigallery urlBase: "/pigallery"
pigallery publicUrl: https://***.goip.de/pigallery
Local: /pigallery: 404
Public: /pigallery: 404
Error GET /pigallery 404

nginx proxy_pass: http://<IP_ADDRESS>:8082/pigallery
pigallery urlBase: "/pigallery"
pigallery publicUrl: https://***.goip.de/pigallery
Local: /pigallery: 404
Public: 404
Error GET /pigallery 404

I would have expected that if I set the urlBase to /pigallery, it should be accessible from local on IP:8082/pigallery - but it isn't.
Am I understanding it wrong? It would be great if someone could give me a hint.
Thank you very much.

I needed a rewrite in nginx. It works now :)


Senior Test Automation Engineer @ MATTR

Senior Test Automation Engineer
Job type
Full-time
Location
Auckland, New Zealand
Company
MATTR
Job description
As a Senior Test Automation Engineer within the Quality Assurance Team, you will be responsible for driving the quality practice with a focus on automation within your engineering squad, working with the team as you build and maintain the test frameworks and help establish MATTR as a leader in the world of digital trust.
Senior Test Automation Engineer
Contact
Ivan Cheng (程逸凡)

The role is occupied, no CITA members applied.


added partial_fit functionality

As part of this I did a little minor refactoring:

simplified some of the logic around batch sizes in the fit (now partial_fit) method.
made a _is_fitted property to simplify checking the _fitted state
extracted a _check_inputs function to make fit (now partial_fit) a bit more readable.
renamed _init_model to _set_up_graph for clarity.

TODO

[x] Add a test to the classifier to ensure that calling fit twice on the same instance will work if the classes are different

Ugh, i just realized that if one calls fit on an already fit instance of the classifier, then _classes will get reused.  Getting all the edge conditions without making the classifier and regressor totally different is tricky.
@beckermr, I'll try to fix that tomorrow.  Feel free to wait on looking at this.

OK, I think this works now.  Also, I tried to think about how one might potentially abstract some of this in the future to support other types of models, as we talked a bit about earlier today.  I didn't go so far as to try doing that abstraction (perhaps better in a separate PR or multiple PRs), but I tried to avoid additional technical debt that would make that more difficult.  Thoughts?

@beckermr, another look please when you have time?
btw, I'll make a separate issue about generalizing things to support other architectures.  that sound reasonable?

This is looking good. A few final thoughts which just occurred to me.

The _fit_targets and _preprocess_target methods are potentially a bit confusing in terms of their names. One is meant to be done once and the other is done per call to partial_fit. Having their names reflect this might be useful. This comment is more of a take it or leave it sort of thing.

This scares me about numpy
In [1]: d = np.arange(10)

In [2]: d[0:20]
Out[2]: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])

You are using this "feature" in the code, which I think is fine, but scares me. I would almost prefer an error if there are too few examples given a batch size or the min you had before. These things are more explicit for others grepping the source.

Yeah a separate issue for more general things is great.

re: 1, how about _fit_targets and _transform_targets?  That'd be closer to the sklearn language and consistent with how they are intended to be used.  (It'd be a little confusing since the transform function is used in the fitting process, of course.)
re: 2, fwiw, that's a feature of python, not just numpy.  I agree it's a little fancy, but having an extra variable around seems potentially confusing as well, and adding a warning/exception seems unnecessary since it's probably a fairly rare issue. The docstring explains the behavior: "If there are fewer examples than the batch size during fitting, then the the number of examples will be used instead."

Those names sound good to me. Both of these things were your call, so whatever you want!

OK to merge (pending tests)?

Yep. Pending tests, LGTM!


Dynamodb writeConnectionSecretToRef does not write secret data

What happened?

Creaded Dynamobd with
    reason: Available
    status: "True"
    type: Ready

    reason: ReconcileSuccess
    status: "True"
    type: Synced

but no connection string written to the writeConnectionSecretToRef secret. Its created with no data?
Secret (redacted) :
apiVersion: v1
kind: Secret
metadata:
  creationTimestamp: "2021-03-05T03:26:00Z"
  name: dynamodb-my-db
  ownerReferences:
  - apiVersion: dynamodb.aws.crossplane.io/v1alpha1
    controller: true
    kind: Table
type: connection.crossplane.io/v1alpha1

How can we reproduce it?

apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
#...#
  forProvider:
    attributeDefinitions:
    - attributeName: attribute1
      attributeType: S
    keySchema:
    - attributeName: attribute1
      keyType: HASH
    provisionedThroughput:
      readCapacityUnits: 1
      writeCapacityUnits: 1
    region: ap-southeast-2
    streamSpecification:
      streamEnabled: true
      streamViewType: NEW_AND_OLD_IMAGES
  providerConfigRef:
    name: default
  writeConnectionSecretToRef:
    name: dynamodb-my-db
    namespace: #...#

What environment did it happen in?
Crossplane version: v0.17.0

Seems like Table does not publish any credentials. What did you expect to see published? For example, it's URL, username and password for RDS DB Instances.

We'll S3 bucket publishes endpoint (full bucket name) and region. So I was expecting the same ? Since you need the full db name to access it ?

A slight side note to this issue for other folks who might land here from search.
If you try to use a Table object in a Composition and specify connectionDetails to generate the connection details manually, the secret is still never written (in some cases) due to the underlying tables.dynamodb.aws.crossplane.io resource never becoming synced (#637, despite the title the issue affects more than just billingMode).

can you have a look in #839 - we can provide with the MR the following key/values:
  LatestStreamArn
  LatestStreamLabel
  TableArn
  TableName


Governance. Add custom. Broken state for the same delegator

Description
When user put address of delegator to which he has already delegated into "Add custom" it will open broken state for "Add delegation"
https://github.com/user-attachments/assets/a9f191aa-5dd2-4a8f-bdce-3443350dc8e1
Steps to Reproduce

Add delegation to account_A
Open "Add delegations"
Click "Add custom"
Put account_A address

Expected Behavior
Open state with selected tracks
Actual Behavior
Broken state:

have no address in "Your accounts"
can select all tracks
Can't click "Continue"

Environment
https://github.com/novasamatech/nova-spektr/commit/64f12ff7746cb19024e2df0b6009cec5e6e2cf17

Status verification: ❌
What has been verified:

Reproduced the same

https://github.com/user-attachments/assets/88fbeba9-7821-47e7-a308-443379bc7493

Status verification: ✅
What has been verified:

Already delegated error


chore: fix lock file

The lock file seems out of sync.

I just saw your invitation, I don't know when did you send that, but I missed it. Can you invite me again? I want help to maintain.


Validate presence of Stride operand to OpCooperativeMatrix{Load,Store}KHR

The specification requires the Stride operand for the RowMajorKHR and ColumnMajorKHR layouts.
Change-Id: I51084b9b8dedebf9cab7ae25334ee56b75ef0126

Thanks for the review!
Agree the spec could be improved. I've created https://github.com/KhronosGroup/SPIRV-Registry/issues/279 to discuss spec clarifications.
If you're fine with deferring further improvements to the validation of the Stride operand to a separate change (my intent was only to catch the absence of it when required with this change) then this change should now be ready for another review. If you think we should do it all in this PR, then we'll need to wait for https://github.com/KhronosGroup/SPIRV-Registry/issues/279 to be resolved.

I ran this against the CTS cooperative matrix tests, and didn't have any issues.

The shaderc failure appears entirely unrelated to this change.


Re-organise menu in studio

Edit menu order
See points 1-6 below for smaller changes:

Move "Index Management" under voice chat
Move "Semantic Tools" under new position for "Index Management"
Change name of "Semantic Tools" to "Add your data"

Inside "Semantic tools", rename headline to: "Add your data"

Add a new sub headline over the input area for "Query", and name this headline:  "Test your data"

Add a line of body text above the "temperature slider", "Use the temperature slider to refine the sensitivity of your search tests".

@AlexanderLunde Please validate the implementation meets expectations


Allow export_studies to export to an existing directory

FEATURE REQUEST
Inspiration

There are various scenarios where one might want to run export_studies multiple times with different parameters and add new files to an export directory. The current script requires that the outdir be a new directory that does not exist at the time the script is run. This makes it difficult to incrementally add files.
Description

Allow the script to export to an already existing directory.
Alternatives

None
Comment

None

ISSUE OWNER SECTION
Assumptions

There is enough space in OUTDIR
There is adequate space in TMPDIR for each file

Limitations

Extra files/directories in outdir will not be removed

Affected Components

change: export_studies.py

Requirements

[ ] 1. Provide ability to rerun and update files in existing directory
[ ] 2. Avoid writing partial files to outdir

DESIGN
Interface Change description

Add --force flag to allow script to overwrite existing files
To avoid partial files, create in TMPDIR and move to output dir when complete
Code Change Description

if OUTDIR doesn't exist, error
if STUDYDIR doesn't exist, create
if DATAFILE exists and  NOT FORCE, error

Tests

[ ] 1. A description of at least one test for each requirement above.
[ ] 2. E.g. Test for req 2 that there's an exception when display value is ''
[ ] 3. Numbers for reference & checkboxes for progress tracking

@hepcat72 Can you take a quick look at the proposed design for export_studies. Summary is that I plan to add a --force flag to allow the script to overwrite existing files. I also plan to create the files in TMPDIR and move them to the OUTDIR when complete to avoid having partial files there for an extended period of time.

I think you should add:

assumption: if a file exists, it is complete (because you're not checking the content of existing files [when --force is not supplied])
limitation: this does not check or remove old/stale files related to deleted/non-existant study data

WRT the design...
if OUTDIR doesn't exist, error
if STUDYDIR doesn't exist, create
if DATAFILE exists and  NOT FORCE, error

If you want to error out when OUTDIR doesn't exist, does that mean you'll be removing os.mkdir(self.outdir) and expect the user to create it before running the script?  Why not create if it didn't exist?
In fact, I would probably skip if DATAFILE exists and NOT FORCE.  Force would just overwrite.  In short:
if OUTDIR doesn't exist, create
if STUDYDIR doesn't exist, create
if DATAFILE doesn't exist or FORCE, create(/overwrite)

In my mind, the only reason to error would be to head off unexpected outcomes/data.  And the reason for the error on an existing directory was to prevent unexpected overwriting of existing data.  If this is careful to never overwrite existing data (unless explicitly indicated by the user), it solves that problem.  The new problem it introduces is unexpected old/stale data mixed in with the expected output, so the only error I might expect from this would be to call out files that were unexpected (i.e. not associated with data in the current DB due to deletions/usage of a different DB, or inaccurate due to changes in the DB).
And if you plan to create a temp dir, it might be a modicum complex to implement the existing file logic?  How do you plan to handle that?  Per file?  Instead of a tmp dir, you could use a .tmp extension...
I'm not saying you should make these changes. It's just my opinion/preference.  I.e. you can proceed with your design without making any changes to your plan as far as I'm concerned.

BTW, I have a PR I'm about to submit for the export exceptions. I don't think it would conflict with this effort, but it does change 1 line in the export code and some of the tests.

I think you should add:

assumption: if a file exists, it is complete (because you're not checking the content of existing files [when --force is not supplied])

I disagree. This is not assumed. If a file exists and --force is not supplied it will not be overwritten, regardless of contents.

limitation: this does not check or remove old/stale files related to deleted/non-existant study data

This seems like it's already covered to me by "Extra files/directories in outdir will not be removed"
Good catches on the some of the logic points. I tweaked things a bit to make them a bit cleaner. I do like the .tmp file idea. I  think I'll implement that instead of the tempfile since tempfiles sometimes exist on different mounts and thus can't be easily "moved".

I think you should add:

assumption: if a file exists, it is complete (because you're not checking the content of existing files [when --force is not supplied])

I disagree. This is not assumed. If a file exists and --force is not supplied it will not be overwritten, regardless of contents.

I should have qualified that this applies only to the case of not supplying --force.  It is an assumption, but only in that case.  The fact that it previously required the directory not to exist had prevented that from being an assumption.

limitation: this does not check or remove old/stale files related to deleted/non-existant study data

This seems like it's already covered to me by "Extra files/directories in outdir will not be removed"

Fair, though not referring to stale/old data leads the reader to think it only applies to notes or files unrelated to previous exports, and that's the part that seems vulnerable to me.

Good catches on the some of the logic points. I tweaked things a bit to make them a bit cleaner. I do like the .tmp file idea. I think I'll implement that instead of the tempfile since tempfiles sometimes exist on different mounts and thus can't be easily "moved".

👍🏻


The location of the edit window in DataEditor is strange.

Describe the bug
When I try to edit data in the DataEditor on the doc page, the edit window appears in the wrong location.
Screenshots

Specifics (please complete the following information):

Python Version: 3.11.4
Reflex Version: 0.3.1
OS: Windows 11
Browser (Optional): Chrome

Fixed in #2094


Not working with Complex Numbers?

Seems not to work with complex numbers, is this correct?

Currently that is correct. There's no reason that it couldn't be done; the numpy complex dtypes look like they're aligned the same as the MKL_Complex C structs, so I think it would be pretty quick to add complex support. I just haven't done it because I didn't need it.
If it's something that would be useful I can add it to the to-do list.

Okay thanks for the fast reply!
Unfourtunately, I dont know anything/much about the MKL structs so I cannot do it myself.
But yes, it would be super useful for Quantum Mechanics. The time evolution and mostly anthing else is manifest complex

Currently I am just using that the matrix can be expressed as m=a+i b and then use the cast=True flag and then use
m*H+i (-i m)*H

Thank you very much.

Aight, this should support np.csingle and np.cdouble for matrix multiplication now.
Let me know if there's any problems - I think the tests are pretty comprehensive, but there's always some weird edge condition I forgot.


Custom parameter type with typescript

I noticed there is a possibility to use custom parameter types as shown here:
https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/blob/master/cypress/support/step_definitions/customParameterTypes.js
But I am getting trouble running it with Typescript.
Interface in typscript is defined as export function defineParameterType(): void;
so if I import module, I cannot write a propper definition.
But if I use javascript as shown in expamle, then I always get error Uncaught Error: Undefined parameter type {boolean}
My javascript code looks like this:
defineParameterType({
  name: "boolean",
  regexp: /true|false/,
  transformer(s) {
    return s === 'true';
  }
});

Is there a way to get it working using Typescript?

I think you need to send a PR to update the types here:
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cypress-cucumber-preprocessor

@lgandecki  I'm about to open a PR for the typings. Could you please take a look at https://github.com/jp7677/DefinitelyTyped/commit/f8aa1b8d388a2df5795b5dc6cb697515b84fdcf3 ?
I've more or less copied the Transform definition from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/cucumber/index.d.ts but omitted the World field because afaik the World concept is not used here in cypress-cucumber-prepocessor. Am I correct?

It looks good to me. But It's not up to me to decide. Btw thanks for making that effort. I didnt have much time to take a look at it.

@jp7677  yeah that should be fine, thanks!

Submitted, see the linked PR.

This issue should be fixed now with @types/cypress-cucumber-preprocessor 1.14.1.

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.


role creation

while creating custom role using the endpoint .../admin/role/create
returns error message of     "message": "policy.error.abilityForbidden",

That means your user does not have the ability to create a role.
Check the permissions in the roles entity. Is there a subject for the role and action for read/create?
More information you can read casl

thanks for considering this issue but the user is the default admin user (which is generated by user seed) that has a permission of subject role and action manage so it is possible for Admin to add the new user role, but it is not working.

Issue approved.
will fix in the next update.


Bad alt key state after desktop pager change in Ubuntu

Using xfreerdp 1.0.2 on Ubuntu 14.04, with the desktop pager enabled. When I page away from the rdp session (ctrl+alt+arrow), and page back, the enter key is intercepted and used to toggle full screen. I assume this is because the application thinks the alt key is still depressed. I discovered that I can work around this by pressing the alt key again after paging back. Of course, that is intercepted by the desktop manager, so I have to press it again to return focus to the rdp session. Any time I forget to do that, the unexpected handling of the enter key is a big distraction. Please let me know if there is a fix for this or a more automatic workaround to reset the key states when focus is restored to xfreerdp.

I have similar situation, we use freerdp as rdp client for thincljent to windows 2012r2, and i have detecfed that when user disconnect and them reconnect and for example then you press supr, appears screen line you are pressi g ctrl +alt+supr, to release this key stuck you onky have to press ctrl or alt....
Anybody can help to solve this issue or give information whre to search this bug or solution?
thanks

@DaveCausey @trentasis I think this problem is already solved on the latest master.

can you confirm what git has solved the issue?
thanks
2016-10-14 12:25 GMT+02:00 Bernhard Miklautz<EMAIL_ADDRESS>
@DaveCausey https://github.com/DaveCausey @trentasis
https://github.com/trentasis I think this problem is already solved on
the latest master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeRDP/FreeRDP/issues/3491#issuecomment-253764169,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM316BQ55Iaf3FcfJwGkfIC-Ibtj-IDJks5qz1iCgaJpZM4J2_Rl
.

@trentasis not exactly sure what you mean? But you can give the latest master (https://github.com/FreeRDP/FreeRDP) a try ;).

@DaveCausey could verify that this works on master?

hi @bmiklautz
I have tried with latest master branch and error persist.
How to reproduce error?
latest freerdp connected to widnows 2012r2 +sessin broker after some time you disconnect from rdp server, and then you try to reconnect to disconnected session and when you press supr, appears a windows dialog as you have pressed ctrl+alt+supr... but you have only pressed supr...
to remove this lock you can press ctrl+alt 2 or 3 times and then when you press supr, then works correctly...
@bmiklautz  can you solve this issue, It is an old issue...
thanks


Umlaut returns 400

Hi all,
I just noticed that whenever I place a query containing an "umlaut", I just receive a 400 error.

Of course, the "ü" is URL encoded in my example when using the API directly, but so it is with spaces, which I also do not need to encode before using the node.js wrapper.
I also tested it with other "umlaute" such as "ö" or "ä" and I experience the same behavior.
Edit: When I escape the string, the err is not 400 anymore but 500, which makes sense, because it is probably escaped twice.
Can you help on this?
Thanks in advance

cc @darobin

I added your code as a test file and it works without the slightest problem. I tried updating the dependencies to see if that caused the problem but it still worked. Is it possible you have some form of proxy?
I would share the changes I made, but I no longer have write access to this repo.

@darobin lmk if you want write access, otherwise happy to merge PR too.

I think it was actually a proxy problem. Thanks!


Focus shape map input if appropriate

If we’re otherwise ready to validate already (i. e. a schema and data have been prepared via the URL), move the browser focus to the shape map input if that’s still missing.
Part of T221611. Resubmit of #41, this time against master, since this isn’t just useful for the wikidata branch.

CI breakage looks unrelated to this change.


libcnb-test: Support compiling buildpacks with --release

In GUS-W-10910805 / rust-lang/flate2-rs/issues/297, I found that when using flate2 to decompress a downloaded file (the Python runtime archive), debug builds are so slow as to make them unusable for development iteration/testing, particularly when combined with Docker's QEMU performance issues on M1. (See the table of runtimes in that issue for more details.)
For manual testing using cargo libcnb package followed by pack build, I can work around this by passing --release to cargo libcnb package, however currently libcnb-test does not provide a way to request that the buildpack is compiled in release mode.
In addition to adding support for this being opt in, we should evaluate whether running in release mode should be the default (depends on where the break-even point is for compile time vs runtime, though effective target/ caching can help with the former).
GUS-W-10912497.

The linked issue also has a comment with an IMO sensible workaround: bumping the optimisation level for debug up a notch in Cargo.toml:
[profile.dev]
opt-level = 1

Yes I'm aware. I still think we should support this however.


Improve Pod and Container Security Context for Prometheus Frontend

prometheus-frontend already has a container security context, but it can be improved: https://github.com/GoogleCloudPlatform/prometheus-engine/blob/0aad9daccde2771f0a1c02247f250a33d58a3572/examples/frontend.yaml#L57-L65
I would propose:

Adding a seccompProfile (RuntimeDefault)
Setting readOnlyRootFilesystem: true
Adding a Pod Security Context
Switching to a non-root base image (distroless publishes nonroot tags)

These are the settings we're using:
For the container security context:
          securityContext:
            runAsUser: 65532
            runAsGroup: 65532
            runAsNonRoot: true
            privileged: false
            allowPrivilegeEscalation: false
            readOnlyRootFilesystem: true
            seccompProfile:
              type: RuntimeDefault
            capabilities:
              drop:
                - ALL

For the pod security context:
      securityContext:
        runAsUser: 65532
        runAsGroup: 65532
        runAsNonRoot: true
        seccompProfile:
          type: RuntimeDefault
        capabilities:
          drop:
            - ALL

Also, topology spread constraints can be a good idea to improve reliability in the event of node or zone failure:
    topologySpreadConstraints:
      - maxSkew: 1
        topologyKey: kubernetes.io/hostname
        whenUnsatisfiable: ScheduleAnyway
        labelSelector:
          matchLabels:
            app: prometheus-frontend
      - maxSkew: 1
        topologyKey: topology.gke.io/zone
        whenUnsatisfiable: ScheduleAnyway
        labelSelector:
          matchLabels:
            app: prometheus-frontend


Failed to load API definition.

If the main router has base set, going to /<base>/docs renders

and /<base>/redocs is broken too. Removal of the base configuration renders the pages.
The openapi.json file does load directly at /<base>/openapi.json though.
Using the workers-sdk openapi example
import { OpenAPIRouter } from '@cloudflare/itty-router-openapi';
import { TaskCreate, TaskDelete, TaskFetch, TaskList } from './tasks';

const router = OpenAPIRouter({
  base: "/tasker",
  openapi_url: '/tasker/openapi.json',
  schema: {
    info: {
      title: 'Worker OpenAPI Example',
      version: '1.0',
    },
  },
});

router.get('/api/tasks/', TaskList);
router.post('/api/tasks/', TaskCreate);
router.get('/api/tasks/:taskSlug/', TaskFetch);
router.delete('/api/tasks/:taskSlug/', TaskDelete);

// Redirect root request to the /docs page
router.original.get('/', request => Response.redirect(`${request.url}/docs`, 302));
    // Added `/` above or it redirects to `/<base>docs` not `/<base>/docs`

// 404 for everything else
router.all('*', () => new Response('Not Found.', { status: 404 }));

export default {
  fetch: router.handle,
};

All other routes continue to work when base is set.

Setting docs_url or openapi_url didn't change the above result. Tested with 0.1.0 -> 0.1.6.

Hey @jasiqli  i've published a new version (v0.1.10) that fixes this issue

This works just as I hoped now @G4brym. My (possibly completely inane) demonstration (and reason for this report in the first place) is https://github.com/jasiqli/pages-openapi Any thoughts appreciated.