any and all need to be clearer

The descriptions for the any and all statement template properties are not clear. We also need examples. My understanding from the descriptions is that this is a value statement template:
"requirements": [
    {
        "location": "context.contextActivities.grouping[0]",
        "rule": "included"
    },
    {
        "rule": "included"
        "any": [
            {
                "location": "result.score.scaled"
            },
            {
                "all": [
                    {
                        "location": "result.score.raw"
                    },
                    {
                        "location": "result.score.min"
                    },
                    {
                        "location": "result.score.max"
                    }
                ]
            }
        ]
    },
    {
        "any": [
            {
                "rule": "included",
                "location": "object.definition.name"
            },
            {
                "rule": "excluded",
                "location": "object.definition.description"
            }
        ]
    }
]

Note the placements of the rule properties in the above. Should we require the rules to always be on the same level as the related location property?

This is not what the syntax for statement templates is. any and all are defined to be arrays of values, not of objects with rules and locations. For example, to express that all actor members must have accounts, and they must be on a particular domain:
{
    "location": "actor.member[*]",
    "selector": "account.homePage",
    "all": ["http://homepage.sso.example.com"]
}

Or to express that at least one grouping context activity must have one of two activity types:
{
    "location": "context.contextActivities.grouping[*].definition.type",
    "any": ["http://xapi.example.com/type1", "http://xapi.example.com/type2"]
}

(note to self: make it so statements using profiles must use the array context activities syntax)

Oh I see.
Well, do we need a way to say that you must include either a raw or a scaled score? Or that if you included a activity definition name you must also include a description?

Either a raw or a scaled score can be done pretty simply, but "if you included a activity definition name you must also include a description" -style dependent rule is currently not possible. (That particular example is one I'd argue vehemently against ever actually doing, but the general idea of value dependency is at least a semi-reasonable thing -- whether it is worth the much increased complication is a different question; I'd lean toward no).

Yeh, they were just the first properties I thought of, rather than real examples.
I guess the "this OR not that" could possibly be achieved by multiple similar templates, one for 'this' and one for 'not that'. The pattern alternatives property could then be used to make it a choice between the two.

Hmm, that wouldn't be possible because the way statement templates are written, if the determining properties match a statement, the rules must match, and there are some pretty big advantages to that. I think we'd want to do dependent properties another way -- if we can find a solid use case. Everything I can come up with is pretty contrived, and feels very "fragile".


Error 8: Operation not permitted

Hello.
On iphone5s (iOS 10.3.3), the following logs are displayed.
Please let me know why.
Thank you.
I: Services discovered
V: Starting Secure DFU...
I: Connected to jeegyPlay
I: Services discovered
V: Secure DFU Service found
V: Discovering characteristics in DFU Service...
D: peripheral.discoverCharacteristics(nil, for: FE59)
I: DFU characteristics discovered
V: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50...
D: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)
dfuStateDidChange
V: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50
A: Buttonless DFU indications enabled
W: Application with buttonless update found
V: Trying setting bootloader name to Dfu63651
V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x02084466753633363531, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
dfuStateDidChange
D: [Callback] Central Manager did disconnect peripheral
I: Disconnected by the remote device
V: Scanning for the DFU Bootloader...
I: DFU Bootloader found with name Jeegyplay DFU
V: Connecting to Jeegyplay DFU...
D: centralManager.connect(peripheral, options: nil)
D: [Callback] Central Manager did connect peripheral
I: Connected to Jeegyplay DFU
V: Discovering services...
D: peripheral.discoverServices([FE59])
I: Services discovered
V: Secure DFU Service found
V: Discovering characteristics in DFU Service...
D: peripheral.discoverCharacteristics(nil, for: FE59)
I: DFU characteristics discovered
V: Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)
dfuStateDidChange
V: Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50
A: Secure DFU Control Point notifications enabled
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x):<PHONE_NUMBER>0000037bfbe3e7ffffff
A: Command object info (Max size = 256, Offset =<PHONE_NUMBER>, CRC = FFFFFFE7) received
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x010188000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201
A: Packet Receipt Notif disabled (Op Code = 2, Value = 0)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x1285010a3f0801123b08ff0110341a029d012000, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x280030003888cc094224080312203e047c06d2f3, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x0424311f5796607ccb77bfca33092d177bde9fde, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x96d93ce53c64480010001a404a82a487e93d974c, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x2ada0ca93f61813674c6b766401e81388836e754, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0xa64080674c81612b5f505c93e83c6f89fa809b4a, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x19403aa0b454c758f276c46335fc20c3, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
A: Command object sent (CRC = 6E4E9066)
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x):<PHONE_NUMBER>000066904e6e
A: Checksum (Offset = 136, CRC = 6E4E9066) received
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
A: Command object executed
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x0602, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x):<PHONE_NUMBER>00000000000000000000
A: Data object info (Max size = 4096, Offset = 0, CRC = 00000000) received
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
dfuStateDidChange
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
I: Data object 1/39 created
A: Uploading firmware...
V: Sending firmware to DFU Packet characteristic...
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x):<PHONE_NUMBER>0000b8ecff6d
A: Checksum (Offset = 600, CRC = 6DFFECB8) received
V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600408
E: Error 8: Operation not permitted
V: Disconnecting...
D: centralManager.cancelPeripheralConnection(peripheral)
D: [Callback] Central Manager did disconnect peripheral
I: Disconnected
Error 18: Operation not permitted

Hmm... for some reason your target DFU device received only 600 bytes of the first data object. How big your firmware is? (I could decode it from the init packet, but perhaps you know it already). 600 bytes is very small, so I suspect some issues during sending or saving the data on the peripheral.
Could you ask your question on DevZone? Our Support Team is more qualified in such questions.
I understand that the lib should check if it has sent the whole object before trying to execute it, so if your fw size is > 600 bytes there is an issue with the lib as well, but that would be a workaround, not fixing the root cause of the problem.

您好，我们在iphone7和之前的手机上使用这个动态库没有问题，但是在iPhone8和iPhone8以后的手机上使用，可以更新，但是，每次更新一点就会报错Operation not permitted，之后再连接蓝牙在升级一点海辉报错Operation not permitted，不知道是不是手机读取升级包的权限问题还是其他问题，望解答。另外，在appstore上下载的官方app同样会有这个问题

Hi, did you manage to fix your issue? Can we close it here?

Closing the issue due to inactivity.


Unit test test_message_event fails internationally

I'm getting the following failed unit test when running it in Australia. I'm guessing it could be a time zone issue as it's off by a day? Let me know if anyone can reproduce the issue.
======================================================================
FAIL: test_message_event (tests.test_logsub.TestLogsub)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mkelly/projects/CBA/cloud-custodian/tests/test_logsub.py", line 48, in test_message_event
    self.assertIn('Fri Feb 13', msg)
AssertionError: 'Fri Feb 13' not found in 'Sat Feb 14 10:31:31 2009: This is a test'

----------------------------------------------------------------------

yeah, it looks like we need to assert with a local time string


Slide Speed Customization

Love the hard work you've put into this.  Sometimes the NOAA descriptions are long and I read slow.  Requesting an option to increase to increase the time on each slide.  If it is possible in the customization script I will update that, but alas, I do not know how.

This is a good idea. For simplicity I'll implement it as global speed control with 3-5 options: Slow, Normal, Fast. I'll play with this a bit and try to figure out how big the step sizes should be.
If you want to try something slower manually, edit this line:
https://github.com/netbymatt/ws4kp/blob/b62339af948d130f3c6b7dfdaacb2687698485c7/server/scripts/modules/localforecast.mjs#L13
The 5000 is in milliseconds per page. Increase it to slow it down. If you find something that's comfortable for you let me know and I'll use it to tune the speed options.


Indicate Defaults

It would be helpful to Explicitly state default values for all parameters on every yaml task.

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

ID: 1d1d9884-19f7-592b-f47c-8cf100639ff0
Version Independent ID: 555c3826-60d9-2589-54af-850efbfbb13a
Content: .NET Core CLI task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/dotnet-core-cli.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @pulkitaggarwl
Microsoft Alias: puagarw

@StevenTCramer Thank you for the feedback, assigning this to the author for review.
Please refer to the repo's task file for the current list of defaults.

Thanks for letting us know. Defaults are included for every task input in our new task reference.
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/dotnet-core-cli-v2?view=azure-pipelines&viewFallbackFrom=azure-devops
Please check it out and let us know what you think. Thank you.


Is there a sucessful way to set up bosh cli in windows ??

Trying to setup bosh cli in windows and have not been successful yet

Hi - the cli doesn't currently support Windows. Since you created this issue on bosh-lite, I assume that is what you're using? If that's true, the bosh CLI is pre-installed in the bosh-lite VM, so what you could do is vagrant ssh and use the bosh command from inside the VM.

Closing. We'll update docs when bosh-cli supports Windows.

thanks guys I did the same and I was somehow able to get bosh cli working directly from windows by installing the ruby dependencies but yeah ssh looks like a much easier option

Hi. Could you please clarify availability of bosh CLI on Windows.
I was able to install bosh CLI on Windows via gem and all commands were working.
But I got following exception during creating release of my project:
Cannot create tarball: tar (child): Cannot connect to C: resolve failed
tar: C:/Users/USER~1/AppData/Local/Temp/d20170203-8668-11opgm0/ruby20170203-8668-1rp5rgc.tgz: Cannot write: Broken pipe
tar: Child returned status 128
Is bosh CLI still shouldn't be used on Windows?

@otupytska from what I know there is no official support for windows for bosh_cli ruby gem. But did you try a new bosh-cli in golang? Since it is built in golang you can try to compile it on your windows host.

@allomov didn't here about new bosh-cli. Will try, thanks!

Hi Team, I am following the instructions in the link -  https://bosh.io/docs/bosh-lite
I installed Bosh CLI using gem install on Windows (since it was an auto install, it picked up the version BOSH 1.3262.26.0)
Now, I need to install the BOSH Director VM for which I need to execute -
$ bosh create-env ~/workspace/bosh-deployment/bosh.yml \
but, it looks like create-env is an unknown command. How do I go about this?

@shivdeepnv You should install Bosh CLI v2, bosh create-env command is not available in ruby bosh cli. https://bosh.io/docs/cli-v2.html#install

@shivdeepnv - You are using the Ruby based bosh CLI (which is v1) but the instructions say that you have to install bosh CLI v2. I f you install bosh CLI v2 you will find out that the create-env command is valid.
https://bosh.io/docs/cli-v2.html#install

Thanks @Infra-Red and @ivandavidov. I tried this, but it does not execute correctly. I downloaded bosh-cli-2.0.28-windows-amd64.exe and tried executing this, but it opens up a command prompt and it immediately closes. When I check the version of CLI it still states V 1.3xxxx

I strongly suggest that you try this with Linux instead of Windows. I know that all of this should work on Windows but IMHO you will get much better results and user experience in Linux.

maybe no people still care about this, but here is a way to fix? this issue.  @shivdeepnv
(not sure is this the right way to do though...)

change the file name into bosh.exe.
2.move the file to ....../system32/
3.run bosh -v on cmd.
4.you can use bosh command on windows now.


Fix division through zero issue in AdaptToXYZD50

The division through zero was not the division through wy, but a value
that happened to be 0 after the bradford matrix multiplication.
Requiring the values to be in range 0-1, similar to skcms, should fix
this.
Also did this in the similar PrimariesToXYZD50.
Added TODO for also checking the r,g,b primaries like this: the ACES
P0 color space supports out of range values here.

tests were stuck for some reason. I cancelled them and retry


Traffic Router does not set Content-Type on auth call to Traffic Ops

I'm submitting a ...

[x] bug report
[ ] new feature / enhancement request
[ ] improvement request (usability, performance, tech debt, etc.)
[ ] other

Traffic Control components affected ...

[ ] CDN in a Box
[ ] Documentation
[ ] Grove
[ ] Traffic Control Client
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[x] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] unknown

Current behavior:

Traffic Router POSTs JSON to the Traffic Ops Authentication API endpoint, but the Content-Type in the request is incorrectly marked as application/x-www-form-urlencoded
Expected / new behavior:

When POSTing JSON, the API call should contain the header Content-Type: application/json
Minimal reproduction of the problem with instructions:

Anything else:

Simple fix likely belongs in ProtectedFetcher::getConnection() near the call to get the auth cookie.
A more extensive/safer fix might be to overload ProtectedFetcher's constructor and getConnection() to take in a JSONNode which correctly sets the Content-Type header

This doesn't cause the API call to fail, does it?

No impact to Traffic Ops, just general hygiene
On Fri, May 1, 2020, 7:00 PM ocket8888<EMAIL_ADDRESS>wrote:

This doesn't cause the API call to fail, does it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/trafficcontrol/issues/4680#issuecomment-622602653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGRNNBWD6ZV5OJSNURIBYTRPNIALANCNFSM4MXICQYA
.


Support for Apps Webhook configuration endpoints

Hello,
I saw that there is support for configuring Repository webhooks and Organization webhooks, but it looks like AppsService has no support for the endpoints allowing to get / update the webhook configuration of an app: https://docs.github.com/en/rest/reference/apps#webhooks.
Can you confirm that this is not supported ? Is that something that you would consider adding support for ? If yes, I'd be happy to work on a PR for this !

Can you confirm that this is not supported ? Is that something that you would consider adding support for ? If yes, I'd be happy to work on a PR for this !

I confirm your assertion. :smile:
Yes, I think that would be perfectly reasonable to add to this repo since it it part of the GitHub v3 API.
One interesting challenge for your PR will be that we currently do not support sending a JWT, so you will need to add a nice and convenient way of doing so.
Thank you, @rpelliard !

@gmlewis Thanks for confirming :)
About the JWT, would it be reasonable to leave the responsibility of authentication to the underlying transport, like what is used for requests as installations / as users ? e.g. using https://github.com/bradleyfalzon/ghinstallation/blob/master/appsTransport.go#L46
I might be wrong, but it looks like for example, this existing method queries an endpoint that requires authentication as an app using a JWT

About the JWT, would it be reasonable to leave the responsibility of authentication to the underlying transport, like what is used for requests as installations / as users ? e.g. using https://github.com/bradleyfalzon/ghinstallation/blob/master/appsTransport.go#L46
I might be wrong, but it looks like for example, this existing method queries an endpoint that requires authentication as an app using a JWT

Ah, yes! Perfect. Thank you... Let's do that.
Please make sure to add a comment in your new methods showing how to authenticate.


Disable link preview in notification?

It's annoying have a big message like this.

Seems linke telegram does this automatically. If you find something in their documentation, I'd be happy to implement it.

I think we have to add send message parameter disable_web_page_preview=True on the message template. Refer: https://core.telegram.org/bots/api#sendmessage

Sounds like an option. I'll look into it as soon as I have some time. Would disable_notification be interesting from your point of view? "Positive alerts" can be anoying at times...

These options can be environment variables, so can user select what they want.

Please have a look at the PR #25. Can you think of any use-case where loading the preview would be advantageous?

In this case admin users already have enough knowledge about where the docker container image is coming from. So they don't need many information about it in every single notification... It's enough a simple url about it (what we have alredy). and the notification with link preview looks like adds between notification 🙄.

Looks like it's working as of v1.2.1. Don't hesitate to reopen this issue if you encounter problems with the link generation.


Error in conjure/mapping.lua

I'm on neovim v.0.6.1 (readme suggests 0.5+, was it changed?).
While starting neovim with conjure installed I get the exception:
Error detected while processing /Users/nash/.local/share/nvim/plugged/conjure/plugin/conjure.vim:
line    2:
E5108: Error executing lua ...local/share/nvim/plugged/conjure/lua/conjure/mapping.lua:203: attempt to call field 'create_user_command' (
a nil value)
stack traceback:
        ...local/share/nvim/plugged/conjure/lua/conjure/mapping.lua:203: in main chunk
        [C]: in function 'require'
        ...re/nvim/plugged/conjure/lua/conjure/aniseed/autoload.lua:19: in function 'ensure'
        ...re/nvim/plugged/conjure/lua/conjure/aniseed/autoload.lua:28: in function '__index'
        ...h/.local/share/nvim/plugged/conjure/lua/conjure/main.lua:18: in function 'main'
        [string ":lua"]:1: in main chunk

I was able to pinpoint the problem to the specific commit. So if you use vim-plugged, then
" this works fine (parent commit)
Plug 'Olical/conjure', {'commit': '06ecf117a'}

" this results in exception
Plug 'Olical/conjure', {'commit': 'bfe6e6fac'}

That's going up to 0.7, you'll have to stay on the older Conjure version or update Neovim I'm afraid. I'm fixing a bunch of issues and it requires newer versions of Neovim where functions like create_user_command exist. Before that point I had to rely on horrible hacks that caused other bugs and I can't solve them without removing the hacks.
I'll never rely on unreleased features and I try to slowly roll into the newer features as they release, not using them from day one, but it's unavoidable, I need to keep using newer things as they improve Lua support. Sorry if this is problematic for you 😞  I know some distros are waaaaaay behind, especially Debian based ones.
If it helps, I found the only comfortable way to use Neovim on distros with slow package management was to use linuxbrew for it. I hear there's also some neovim version manager programs out there that can solve the problem.

I need to update the readme or docs that mention 0.5, that's way too old now, that's when the VERY first lua support came in but it was lacking so much. I've worked around that for a while, but I need to move on now, there's too many bugs caused by the workarounds.

Ah! No worries, I'll update neovim. I use homebrew, but prefer not to update software just for the sake of new features. I did not realize neovim is moving so fast and breaks things.
Thanks for the super-quick response! Feel free to close the issue.

Yeah nvim has been adding a few breaking changes but also adding very essential Lua support functions recently. 0.7 introduced some key concepts for mapping keys and commands to Lua functions which means I no longer have to hack together Vim Script on the fly and map to that which in turn calls Lua functions. It was gross but the only way.
I think 0.7 is a very worthwhile upgrade and you'll find many plugins will require it. I think 0.7.1/0.8 etc are far smaller increments, 0.7 was just a big one for Lua support so you'll see a lot of people require it if they're all in on Lua.
I try to limit when I force upgrades, but when I do it's for stuff that fixes things, I promise not for the sake of it. I'm overhauling how every mapping works right now to use the new APIs and remove all the hacks.
You can keep up with Neovim breaking changes here https://github.com/neovim/neovim/issues/14090#issuecomment-1240357210
I try to handle them before they cause bugs in the wild. I always develop against the latest stable released Neovim, for reference. Never beyond that though.

Unfortunately, neovim 0.7.x (I suspect an update in libvterm) introduced an annoying bug with Ukrainian layout and 0.8.x broke compatibility with nerdtree (which is no longer maintained).
In the meantime I decided to roll back to 0.6.1. Here's the steps for macOS/homebrew users:

install neovim 0.6.1 (taken from the article):

brew new-tap nashbridges/neovim
brew extract --version=0.6.1 neovim nashbridges/neovim
brew install<EMAIL_ADDRESS>
If you have the compilation bug, make sure to brew uninstall --force libvterm.

lock conjure to the commit that supports neovim 0.6.1:

Plug 'Olical/conjure', {'commit': '06ecf117a'}

Oh no! That's awful! Breaking changes aren't fun, maybe I should keep more old code around and try to support two paths, although that would've been VERY hard with the mapping code since it's fundamentally very different now. I'm not sure if it would've even been possible.
Thank you for documenting this for others though, it's greatly appreciated. I hope the Neovim bug gets fixed soon and you can roll forward again!
I hope you and your family are safe and healthy and reach the end of this fucking awful war as soon as possible ❤

maybe I should keep more old code around and try to support two paths, although that would've been VERY hard with the mapping code since it's fundamentally very different now

I don't think it's a good idea for every neovim library to maintain its own backwards compatibility layer. This really should be done upstream.
I will eventually get to my own issues with new versions of neovim (it just requires time to investigate and report them properly). The comments above, as you correctly mentioned, might be useful for other folks who have similar troubles. Please don't treat them personally, and keep your awesome project up!


Dynamic data not load properly with wrapper VGridVueTemplate

Vue3.
Here is my problem.
I have a variable initialized to null which will then be loaded with an array of 23 elements.
These elements have properties, some of which are booleans or types that must be interpreted.
But cells with for example the value false are displayed with true.
When I log what happens in an onVnodeMounted function I have the feeling that only part of the data is loaded and that the values of these data affect themselves.
cellTemplate: VGridVueTemplate((VNode: IVNode) => h(BasicSwitch, {                 label: "",                 modelValue: VNode.model.orderPortfolioMode, // Maybe true or false but it's always true                 isDisabled: true,                 onVnodeMounted: () => {                     console.log(VNode); // Only 8 elements out of 23                 }             }))
It would come from the VGridVueTemplate wrapper.
cellTemplate: VGridVueTemplate((VNode: IVNode) => VNode.model.orderPortfolioMode.toString()) return always true -> KO
cellTemplate: VGridVueTemplateConstructor((VNode: IVNode) => VNode.model.orderPortfolioMode.toString()) return true and false -> OK
Has anyone ever had the problem?

Solved with computed property for rows instead of reactive property and empty array handling.

Bad repos moved to vue3-datagrid


Issues with Unbound versions later than 1.12.0-stubby

Hi,
I am currently looking at stubby-docker in my dev environment, but if i try and use any version later than mvance/unbound:1.12.0-stubby I get the following extract of errors when the unbound container is starting. I am using your default config, no custom.
/unbound.sh: line 35: ping: command not found
[1653324116] libunbound[22:0] error: udp connect failed: Cannot assign requested address for 2001:dc3::35 port 53
[1653324230] unbound[1:0] warning: unbound is already running as pid 1.
I have your unbound image running recursively (latest branch) on my prod servers non-Stubby version and it works fine. Same OS version (Ubuntu x64 20.04)
As mentioned it all works fine when using 1.12.0-stubby or earlier.

Thanks for the report. This is a known issue in my unbound repo. See this https://github.com/MatthewVance/unbound-docker#known-issues.


Relocation : Bring codes from the repository [MyPractice]

Bring from [MyPractice]

Excel To Markdown 2 (2022.02.06)
Excel To Markdown 1 (2022.02.05)

gogo


added my project

@ming-tsai Please review this 🙂

@ming-tsai Thanks for reviewing and merging.
My project details have been added to projects.json but I can't see my project listed in the the repository, can you please look into it...


Audit logging - log each request to another cluster

Hi, first off thanks for providing Search Guard.

Does your audit logging support logging of each request?
Please see this discussion about the audit trail feature shield:
https://discuss.elastic.co/t/elasticsearch-request-logging/1786

In addtion I would like to ask how to configure audit logging to send audit logs to another Elasticsearch cluster. In our specific case the 'other' cluster would be Logsene.

Sorry, both cases are not supported yet. We will put this on the roadmap (contributions welcome).

Another +1 for sending audit to another cluster (think: offsite), like to Logsene for example.

@otisg maybe you are willing to contribute to such a functionality?

This will come July 2016 with the second feature release after GA

Its finally here https://github.com/floragunncom/search-guard-module-auditlog


could not launch sample wpf application

trying to run sample wpf application throws an exception

WPF is work in progress which I halt because slow response time from WPF team. https://github.com/dotnet/runtime/pull/63219 maybe unlock me, so cross your fingers

I would close this in favor of #1 since this is essentially the same.


Extreme CPU usage

This is continuation of this issue
https://github.com/OpenBB-finance/OpenBBTerminal/issues/5104
Just running this example
import asyncio
import sys

from pywry import PyWry

async def main_loop():
    while True:
        await asyncio.sleep(1)

if __name__ == "__main__":
    try:
        handler = PyWry()
        handler.send_html("
Welcome to PyWry!
")
        handler.start()

        # PyWry creates a new thread for the backend,
        # so we need to run the main loop in the main thread.
        # otherwise, the program will exit immediately.
        handler.loop.run_until_complete(main_loop())
    except KeyboardInterrupt:
        print("Keyboard interrupt detected. Exiting...")
        sys.exit(0)

Gives 100 CPU usage. Why is that ? This consumes more cpu than anything else in openbb.
Is it busy waiting ?
Is it missing asyncio.sleep somewhere?

hey @010011x we are able to replicate this - looking into it!

Hey @010011x ! Thank you for bringing this to our attention.
I spent all day today pulling my hair looking for the cause of this issue 😅, but the good news is I was able to pin point the cause of the CPU buffet fest lol.

🎊🚀 Running new build v0.5.12 that should be installable in the next 15mins!
Thanks again for posting this Issue!

Hey @010011x ! Thank you for bringing this to our attention.
I spent all day today pulling my hair looking for the cause of this issue sweat_smile, but the good news is I was able to pin point the cause of the CPU buffet fest lol.

confetti_ballrocket Running new build v0.5.12 that should be installable in the next 15mins!
Thanks again for posting this Issue!

great job !!! :rocket: that was really fast!


can't  use GLTFLoader

here is my import
import { BoxGeometry, MeshBasicMaterial, Mesh, BoxHelper,GLTFLoader} from 'three';
here is the part that i add in render 3d:
let loader = new GLTFLoader();
loader.load(
  'models/out.glb', function (gltf) {

    let model = gltf.scene;
  }, undefined, function (error) {

    console.error(error);

  });

it broke down when i try 3d view even when i don't load the model in Promise.resolve(mesh);
it only works after i delete the above codes. So is there any alternative way to import 3d model?

oh this line above too:
let loader = new GLTFLoader();

hi, you can upgrade three to "0.123.0" first, then use GLTFLoader like this in load-obj.js
`
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
export function loadGlftObj(filePath) {
const loader = new GLTFLoader();
return new Promise((resolve, reject) => {
loader.load(filePath, function ( gltf ) {
resolve(gltf.scene)
}, undefined, function ( e ) {
console.error( e );
} );
});
}
`
on the other hand, you should set object.scale.set(1, 1, 1) in planner-element.jsx render3D function,  if not so, the model will become very big


rye remove does not error on any package name

Steps to Reproduce

rye init removesomething
cd removesomething
rye remove x
rye remove y

Expected Result
Rye should tell the user the package x did not exist in the project
Actual Result
rye remove y
Reusing already existing virtualenv
Generating production lockfile: /home/user/tmp/removesomething/requirements.lock
Generating dev lockfile: /home/user/tmp/removesomething/requirements-dev.lock
Installing dependencies
   Built file:///home/user/tmp/removesomething                                                                         Built 1 editable in 167ms
Uninstalled 1 package in 0.16ms
Installed 1 package in 0.29ms
 - removesomething==0.1.0 (from file:///home/user/tmp/removesomething)
 + removesomething==0.1.0 (from file:///home/user/tmp/removesomething)
Done!

rye does some busywork (nothing) - it says uninstalled 1 package but that's just the package itself.
We can compare with uv, it knows that it's not removing anything:
uv pip uninstall x
warning: Skipping x as it is not installed.
warning: No packages to uninstall.

Version Info
rye 0.32.0
commit: 0.32.0 (e1b4f2a29 2024-03-29)
platform: linux (x86_64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: true
Stacktrace
No response

I'd love a fix for this as well, as its unintuitive behavior confused me for a while today.
Specifically, rye should emit an error or a warning when:

rye remove xyz does not cause any change to be made to software (packages, binaries, resources, etc.) available to rye run.
rye remove xyz does not make any changes to pyproject.toml.

The latter would be particularly useful; I was affected by this while converting a non-rye pyproject.toml to rye, and had a tool.rye.dev-dependencies = ['mypackage[dev]'] section that referred to a dev section of optional-dependencies in the same pyproject file. If rye remove had warned to the effect of "hey, can't edit pyproject for that package", it would have been a big clue that the issue was the dependency in question's declaration in the wrong (for rye) section of the TOML.
Thanks for an excellent tool and for all the hard work!!


Show dfu instructions beforehand

I found it hard to do this without having had time to read the instructions in peace.

It would have been nice to hear why you didn't accept my pr...


Move APIs between projects

It is common to start drafting something on your own personal project and then move it to a team-owned one.

As we are going in the direction of a simple SPA and we are not going to have a projects/organizations/users database (for now), I am closing this issue, because it is related to the old Studio implementation.


Create a status bar element to indicate various checks for the GUIDE

This PR adds status indicators to the main GUIDE sidebar to help with debugging Python connection issues.

Looks good - tested it with dev:app to make sure the color changed when no back-end was available. Can't test the coloration of the wifi indicator since I'm downloading a bunch of content ATM but will check in a couple of days


Conservative fences

Hey all,
This change introduces two major things:

Uses an AcqRel compiler fence before the end of each driver function that invokes DMA, to prevent misoptimization
Adds my write_read interface to TWIM, useful for I2C devices that implement a typical register interface (write address/subaddress, then read data)

The target for this merge is the re-release branch.
Closes https://github.com/nrf-rs/nrf52-hal/issues/33 - at least hopefully.

Merging


Space in login name

Hello,
I think i've found a little bug.
Ldap account : admin
Ldap group : administrator (mapped to local administrator group)
1°) Login with "admin" account create a local account name "admin" with admin privilèges : OK
2°) Login with " admin" account (with a space before admin) create a local account name " admin" with admin privilèges : OK
So, i've two differents admin accounts created locally, one without space and one with a space in front of account name.
The pgina.fork should be delete all space before using entered login name to avoid this behavior.
Best regards & Happy Christmas
Christophe
'

A space in front is legit.
If you want to strip it, use the Modify Username Plugin.
Set it to Authentication
RegEx Replace
^\s+|\s+$
and make sure the Modify Username Plugin is the first plugin during Authentication in Plugin Order.

Thank You so much,
The solution runs well !
Best regards.


It is easy to make mistakes when setting subscriptions counter.

Is your feature request related to a problem? Please describe.
It is easy to make mistakes when setting subscriptions counter.
Describe the solution you'd like
No subscriptions counter should be inputed.

It's unfriendly to change common APIs, I'll specify what the field does in demos.

Fine


[bp/1.29] deps: Bump com_github_nghttp2_nghttp2 -> 1.60.0 (#33002)

deps: Bump com_github_nghttp2_nghttp2 -> 1.60.0

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:

/assign @phlax
/assign @RyanTheOptimist

Well, I'm going to need some help figuring out what is going on with //test/extensions/http/cache/file_system_http_cache:file_system_http_cache_test. Does that test name ring any bells?

/retest

/retest
Let's see if the flakes can be pacified.

i suspect that there is some infra change that is causing this - ive raised on appropriate channel
im guessing this wont be able to pass on this branch without a lot of luck (ie getting workers that work) and caching the results

@birenroy im gonna push this through on the basis that the ci fails are unrelated

@birenroy im gonna push this through on the basis that the ci fails are unrelated

Thanks! I have an idea for fixing //test/extensions/http/cache/file_system_http_cache:file_system_http_cache_test that I'll try in a separate PR.


quick fix for https://issues.redhat.com/browse/RHIDP-1701

Description
quick fix for https://issues.redhat.com/browse/RHIDP-1701
PR acceptance criteria

[x] Tests

How to test changes / Special notes to the reviewer
make test

Close this and create bug fixes PR for 1.1.x branch.


fixed: fancybox not work when can not figure out content type by href

For example: if href is "https://example.com/test.png!/format/webp", the fancybox will not work well.
Fixed by specify type directly by adding classname "fancybox.image".

@Acris i think, in ideal need to update fancybox to 3.0 version. #1432

@ivan-nginx  fancybox 3.0 is still in developing,  they don't have a stable release yet.

@Acris oh, hm.. Ok.

Thanks. :+1:


ERROR : /node_modules/webpack-cli/bin/config-yargs.js: describe: optionsSchema.definitions.output.properties.path.description

Bug report

What is the current behavior?
My build is not working anymore. I get the error :
$ npm run start

> webpack-dev-server --config webpack.dev.js --mode development

/node_modules/webpack-cli/bin/config-yargs.js:89
                                describe: optionsSchema.definitions.output.properties.path.description,
                                                                           ^

TypeError: Cannot read property 'properties' of undefined
    at module.exports (/node_modules/webpack-cli/bin/config-yargs.js:89:48)
    at Object.<anonymous> (/node_modules/webpack-dev-server/bin/webpack-dev-server.js:84:40)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
The build should run succesfully like before.

Other relevant information:
webpack version:  4.25.1
Node.js version: 10.13.0
Operating System: MacOS 10.12.6
Additional tools:

npm 6.4.1,
webpack-cli 2.1.4,
webpack-dev-server 3.1.10

@ligne13 please update webpack-cli to 3 version (better latest)

I had the same issue and this solution worked as well. Thanks!

@ligne13 please update webpack-cli to 3 version (better latest)

it works for me!! thanks.


Error chapter14

#error ValueError: Buffer dtype mismatch, expected 'float' but got 'double'
for cat in use_cats:
test = image_to_example((cat, 12), translator)
print(svc.predict(test))

Thank you for reporting this!  Did that error get thrown on the test= line or the print line?

Unable to reproduce this with either the old code or the new code that I'm updating for Nov 2020 current packages.  Closing.  My guess is there is some mis-alignment between versions of software installed (for example, numpy, opencv, pandas).  Unfortunately, maintain compatibility across upgrade cycles can be more difficult than any of us would like.


Update to chai@5 instead of @esm-bundle/chai

I would like to update to chai@5 as a replacement for @esm-bundle/chai. I additionally needed to upgrade sinon-chai. sinon-chai is currently in a prerelease phase so I updated to that one. If this canary release goes well we can make a PR to master and communicate that the prerelease of sinon-chai is working as expected to the chai maintainers.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.11 out of 12 committers have signed the CLA.:white_check_mark: thepassle:white_check_mark: Westbrook:white_check_mark: BandhiyaHardik:white_check_mark: okadurin:white_check_mark: koddsson:white_check_mark: pndewit:white_check_mark: rossrobino:white_check_mark: driesva:white_check_mark: BeWoFinum:white_check_mark: chriscalo:white_check_mark: nikhilhundare:x: michaelwormYou have signed the CLA already but the status is still pending? Let us recheck it.

@LarsDenBakker could you drive into it?


Unable to load pokemon sav files in melonds

when I try to load a sav file for soulsilver or platinum, it just says that a communication error occurred then freezes.

Can you send a screenshot?

@Ummok998 This seems to happen with corrupted roms in the Pokemon games: your rom is likely bad. Redump the rom file (doable on a DS, DSi or 3DS, assuming all legality is followed), and try it again. Piracy is "generally bad", and I am not going to be liable for helping you there.

@Ummok998 This seems to happen with corrupted roms in the Pokemon series: your rom is likely bad. Redump the rom file (doable on a DS & a flashcart, DSi, or 3DS, assuming all legality is followed), and try it again. Piracy is "generally bad", and I am not going to be liable for helping you there.

I tried the rom on desmume and it worked perfectly. I don't think this is a problem with the rom file.

Okay, weird. Replicated with Platinum (rev1). Must be an emulator issue. A workaround for now would be by using savestates.


License clarification

The README file says that this project is released under the CC-BY-NC-SA 4.0 license.
Does this affect the images produced with the network? Usually, the license of a tool does not affect the license of the output of the tool, except if specified in the license. For example, the license for Adobe's Deep Image Matting dataset explicitly states that models trained on their images can only be used for non-commercial purposes, so I just wanted to ask to make sure this is not the case here.

Hi, thanks for your attention.
This project includes our code, pre-trained models, demos, etc. It means that you cannot use our code, pre-trained models, and demos for commercial purposes. For example, you cannot integrate our pre-trained models into a commercial applications.
In the other word, everything in this repo provided by us only be used for non-commercial purposes under the CC-BY-NC-SA 4.0 license.
Since you can use our pre-trained models or demos for research  or personal purposes, we do not have any restrictions on using the output images obtained by using our pre-trained models or demos. You need to follow the original license of the input images to use it.
I hope the above expression is clear.

Great to hear, thanks!


[Docs]fix vizro ai chart example

Description
when running the example dashboard code in the "Vizro-AI chart within vizro dashboard" section here,

it gives an error complaining about CapturedCallable
caused by the  px.box chart being imported from import plotly.express as px instead of import vizro.plotly.express as px

Screenshot
Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

Looks like we have several more places using import plotly.express. Shall we replace them all?

Looks like we have several more places using import plotly.express. Shall we replace them all?

I found only this one more in ai docs, would you mind adding if you detect more here? thank you!


Disable scrolling and paging

Is it possible to disable both scrolling and paging and have a continuous grid to use in reports?

Turn off paging with paging:false option and checkout this issue to remove scrollbar https://github.com/tabalinas/jsgrid/issues/179


fix: only check if condition contained in ensuring gateway associated of httproute

What this PR does / why we need it:

Now more than one conditions are added to HTTPRoute.status.parentStatus[*], so we need to change the method to check if parent status for gateways changed. Instead of making a full comparison of conditions, we check if the existing parentStatus contains the expected condtion.
Which issue this PR fixes:

fixes #3345
Special notes for your reviewer:

PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

I wonder if this shouldn't actually get its own changelog entry. Do you mind adding it @randmonkey ?

Added changelogs.

Created https://github.com/Kong/kubernetes-testing-framework/issues/489 to cover the failure in tests

Error: tests failed: failed to deploy addon kong: Error: INSTALLATION FAILED: Service "ingress-controller-kong-admin" is invalid: spec.ports[0].nodePort: Invalid value: 32080: provided port is already allocated

oh, what a chance


invalid_request when signing up via app with Inrupt auth client

Environment

Server version: 2.0.1
Node.js version: v16.13.1
npm version: 8.1.2

Description
I'm not sure if I'm doing something wrong, but it seems like v2 does no longer work using the CLI.
I was using the following command:
community-solid-server -c @css:config/file.json -p 4000 -f ./solid-pod

And it works correctly with v1, but using v2 it seems like the /.well-known/openid-configuration endpoint returns a 302 redirect to /setup which doesn't return a JSON as expected by the library.
I also tried the following:
community-solid-server -p 4000

Which doesn't fail on that endpoint, but once I click the Sign up link I get an InvalidRequest: invalid_request page.
If it's any help, I'm using inrupt's auth client v1.11.2 with this app: https://hello.0data.app/solid/solid-rest-api/
Here's the server logs for both scenarios.

So you can:

go through the /setup once, and then it will work as expected
use the file-no-setup.json config

Thanks  @RubenVerborgh, using the file-no-setup.json the first problem is solved, but I'm still getting the invalid_request response, like running the server with the default config. Any ideas why that's happening?

Thanks; we'll look into that invalid request after the holidays.
Signing up with the default config at http://localhost:3000/idp/register/ works for me.

I think this is fixed by #1107, but then there is another issue. The log in text is not clickable and you can't go back to the app. Is it possible that the authenticating parameter is missing in this include?

I just tested this out with the main branch (after merging #1107), using the authn demo app. I went login page -> press register -> register -> press log in text on the response page, and everything worked as expected. Can you check if you still have the issue after the fix and what the html looks like if the log in text is still not usable for you?

Thanks @joachimvh, everything is working now :).


Added Bucket Sort Algorithm

Related Issue

Mention issue for which this pull request is a part of (please mention issue number # )

Fixes issue #1038
Description

Bucket Sort is a sorting algorithm that divides the unsorted array elements into several groups called buckets. Each bucket is then sorted by using any of the suitable sorting algorithms (in this case, Insertion Sort) or recursively applying the same bucket algorithm. Finally, the sorted buckets are combined to form a final sorted array.

Proposed Changes

Added BucketSort.cpp

Made corresponding changes to README.md

Checklist

[X] ✅ My code follows the code style of this project.
[X] 📝 My change requires a change to the README.
[X] 🎀 I have updated the README accordingly.
[X] 👀 I have read the CONTRIBUTING document.
[X] ✨ I have added tests to cover my changes.
[X] 🚩 All new and existing tests passed.
[X] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Screenshot

Hi @Lakhankumawat kindly review my PR and let me know if any change is required

Don't add code in algorithm! Try to explain the steps !

I'm so sorry, I didn't get you. Can you please expand on that?

Don't add code in algorithm! Try to explain the steps !

Okay so if I'm not wrong, along with providing the algo, I'm also supposed to explain the steps in the Algorithm section, right? If not, please guide me.

Don't add code in algorithm! Try to explain the steps !

Okay so if I'm not wrong, along with providing the algo, I'm also supposed to explain the steps in the Algorithm section, right? If not, please guide me.

Yes

Don't add code in algorithm! Try to explain the steps !

Okay so if I'm not wrong, along with providing the algo, I'm also supposed to explain the steps in the Algorithm section, right? If not, please guide me.

Yes

Hi @siddhi-244 I've made the appropriate edits, kindly check and let me know what you think about it.

LGTM. Just try to add description in pr template

Okay sure!

LGTM. Just try to add description in pr template

Done. Let me know what you think.

Hi @siddhi-244 just a trivial question. Can I create/work on a new issue in this repo while this one's still open?

Hi @siddhi-244 just a trivial question. Can I create/work on a new issue in this repo while this PR and its corresponding issue are still open?

Yes you can !

@all-contributors please add @abhilipsasahoo03  code ,


[firebase_database] await operations not working when offline. (even when using local persistence enabled)

Steps to Reproduce

using firebase_database plugin version 0.4.0
using code

// Opening database and setting local persistence (keep sync)
_database = FirebaseDatabase.instance;
_database.setPersistenceEnabled(true);
_database.setPersistenceCacheSizeBytes(10000000);
_myReference = _database.reference().child('users/${user.uid}');
_myReference.keepSynced(true);

When online (Wifi connectivity)
var snapshot = await _myReference.once();
print(snapshot.value);

await works. Once() returns and print statement is called.
When offline (NO Wifi connectivity)
IMPORTANT: When there is no connectivity before launching the mobile app
If the database was initialized prior to losing connectivity, then the await calls work as expected.
var snapshot = await _myReference.once();
print(snapshot.value); <=== NEVER CALLED

await does not work. Once() never returns and print statement is never called.
Expected Behavior
Offline support in firebase_database should work when user has no connectivity prior to opening the mobile app.
Logs
Not applicable. There are no logs that I can see which would help debugging here.
No exceptions, no stack trace from Flutter or anything else.
Flutter Doctor
[√] Flutter (Channel dev, v0.1.7, on Microsoft Windows [Version 10.0.15063], locale en-US)
    • Flutter version 0.1.7 at C:\Workspace_Flutter\flutter
    • Framework revision 3b84503403 (3 weeks ago), 2018-02-26 20:11:11 -0800
    • Engine revision ead227f118
    • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\stephanebi\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[!] VS Code (version 1.20.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Dart Code extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code

[√] Connected devices (1 available)
    • H1621 • W7TDU16827002676 • android-arm64 • Android 6.0.1 (API 23)

! Doctor found issues in 1 category.

IT's OK, not using VS Code with Flutter.

@StephaneBischoff
The issue at https://github.com/flutter/flutter/issues/15653 has been closed and moved here. Future collaboration on this issue will be done here.

@StephaneBischoff
The issue at flutter/flutter#15653 has been closed and moved here. Future collaboration on this issue will be done here.

Are you sure? It is conflicting with this comment: https://github.com/flutter/flutter/issues/15653#issuecomment-541448894

@kroikie any update on this?

hello, can you please let us know what is the status, as this is open since a year?
Any resolution over this issue?

It's still not working as a true offline cache. I ended up making a local db for this case.

I'm not sure what else to suggest here. FlutterFire is just a wrapper to the official Android/iOS/Web Firebase SDKs, any network related operations and issues aren't likely to be an issue with FlutterFire. I'd suggest if this is an issue for anyone then raising an issue on the official Firebase SDK repository for the underlying platform you're seeing this issue on, e.g. the Firebase iOS SDK GitHub repository.


Better handling the env vars when the env file is missing.

This also allow to run telliot without an  env variables and use existing exported env vars.
This also simplifies running it as a container in k8s
Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 451039813

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 35.937%

Totals

Change from base Build 441027128:
0.05%

Covered Lines:
1463

Relevant Lines:
4071

💛  - Coveralls


Product Strategy Document

Description
Writing the Product Strategy Document for the Afet Harita to cover our focus areas to enlighten the roadmap vision and the strategy.
Success Criteria

Should be published in the repo
Should cover focus areas
Should identify our focus areas clearly

Vision, Mision completed.

documentation is discussed today. The strategy will be updated accordingly.


Fix Simple Expression issue where column arguments weren't resolved.

Pull Request Description
Closes #10657
Was missing the table.resolve for arguments.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.

I imagine ideally we'd add a test so that this does not regress.


Separate the "group" and "list" options from TrayStyle

The "group" and "list" attributes specify behavior that really isn't associated with theming, so they shouldn't be part of the TrayStyle tag since this prevents a user from setting them if they using Include to set a JWM theme.
To avoid breaking backward compatibility, I propose adding a new tag with "group" and "list" attributes while still supporting the old method until the next minor version bump.

TaskListStyle seems like the obvious place.
I'd also like to see an extra option for tablet mode... something like group="icon"  to omit the label.  On many tablets, the resolution is so high that I need a 96px icon for easy thumb clicking.  With the labels, it either takes too much horizontal space or makes the icon too small.
It looks like group="icon" would need to be changes in at least:
void UpdateTaskBar(void) for bp->itemHeight = GetStringHeight(FONT_TASKLIST) + 12; to account for the layout mode to set width=height
void Render(const TaskBarType *bp) to omit the label.
void ShowClientList(TaskBarType *bar, TaskEntry *tp) to add the label to the top of the menu (since it isn't shown on the button)

TaskListSyle probably isn't the right place either though since it has to do with themes.  "group" and "list" affect behavior more than style.  I think they should be broken into separate tags.
Omitting the text next to an icon is something I've thought about before.  A work around is to set the width (or height) of the tray such that only the icon fits.

I don't think the disabled text belongs in the tray properties either - only the TaskListStyle.  If you don't want button labels in the tray, you just don't put them.
When the TaskListStyle is grouped, the label really provides no useful purpose for most apps.  It's a bit redundant to see the Firefox icon followed by a label confirming that it is in fact Firefox just like it was when you clicked it in the menu or tray button.  It would be really slick to omit the label entirely when it has an icon and if it is missing an icon, overlay as much of the label as possible over the default icon (I am imagining rxvt inside the default square)

As of snapshot 1637, the "group" and "list" options are part of TaskListStyle instead of TrayStyle.
Also, there is also a "labeled" option on the TaskList element, which can be used to disable the label and show only the icon (due to a previous change).


Cannot access deployed model from Pipeline step

Reproduce:

Install Kubeflow 1.6
Deploy the model in the user namespace
Create a task to access the API. -> Result 403.

I can call the same model from a notebook or from a manually deployed Ubuntu Pod.
Notebook with steps: https://github.com/canonical/ai-ml-demos/blob/main/talking-jellyfish/models/chatbot/deploy-pipeline.ipynb
Possible issue: Istio sidecar is not added to the step

Exposing the model from Kubernetes where Charmed Kubeflow is deployed cluster using Virtual Service also does not work.
If I used the cluster with only seldon-core and istio (gateway + pilot) deployed it works fine.

If you use notebooks then it works because you also have an istio sidecar. This will work.
If authentication is wrong you will get redirected to dex/login page. I have added the link to non-auth links to simplify this task. You can also try to add cookies from your browser to the request.


ARTEMIS-2214 Cache durable&priority in PagedReference

We recently performed a test on artemis broker and found a severe performance issue.
When paged messages are being consumed, decrementMetrics in QueuePendingMessageMetrics will try to ‘getMessage’ to check whether they are durable or not. In this way queue will be locked for a long time because page may be GCed and need to be reload entirely. Other operations rely on queue will be blocked at this time, which cause a significant TPS drop. Detailed stacks are attached below.
This also happens when consumer is closed and messages are pushed back to the queue, artemis will check priority on return if these messages are paged.
To solve the issue, durable and priority need to be cached in PagedReference just like messageID, transactionID and so on. I have applied a patch to fix the issue. Any review is appreciated.
jira issue:https://issues.apache.org/jira/projects/ARTEMIS/issues/ARTEMIS-2214

stacks.txt

@michaelandrepearce Thanks for the review. Now I have changed the code at your suggestion.

Nice catch!!!
If you care about checking perf of paging please try to profile the broker with https://github.com/jvm-profiling-tools/async-profiler using lock/cpu events too: it will allows to get profile data without affecting performance, helping to find issues like this one :)

Thanks for your advice! We used to record performance from producer/consumer side. Later on we will try to dig into broker side by using tools as recommended :)

@michaelandrepearce
There are some cases will perform lots of rollbacks in a short period of time. For example if we would like to upgrade our server while thousands of consumers are receiving message, the close of server causes massive rollbacks to original address, thus queue might blocked on reading GC'ed pages. Under this circumstance the upgrade will take more than 5-10 minutes(e.g 2000 consumers) and make a negative impact on downstream systems.

deliveryTime can be set in the constructor like transactionID , messageID , etc :)

@wy96f
Yes we do find similar block in PagedReferenceImpl::getScheduledDeliveryTime() since if deliveryTime is not set it will call getMessage() during rollback.
To these two situations, detailed stacks are shown in attachment.
Considering priority only occupy one byte, it might be worthwhile to add it in PageRef to improve stability:) As for deliveryTime, since it is already in PageRef, we can simply add this.deliveryTime = message.getMessage().getScheduledDeliveryTime(); in constructor to avoid block on rollback.

Im very cautious of optimising for one case
Its very unusual for consumers to go away as it is good design in most mom a consumer is long lived.
So without it removed im -1. As i stated in an ideal world everything in paging would be off heap.

Im very cautious of optimising for one case
Its very unusual for consumers to go away as it is good design in most mom a consumer is long lived. Like wise upgrade is a non normal event.
So without priority removed im -1 this. As i stated in an ideal world everything in paging would be off heap, we shouldnt just end up with every value in page ref, else we lose the reason for paging originals intent which is to remove the message from heap at penalty that it will be slower. If you want faster add more ram so more can be kept on heap.

Not adding priority is acceptable since it's rare. I will later remove the priority part.
And how about deliveryTime? It's already in PageRef and might need to be set in the constructor.

Yes you could add this to set in the section within the constructor where message != null, seems sensible.

@qihongxu looks good to me now.

@franz1981 im away in another country without my main computer with my apache git ssh cert key. Could you merge this?

I will probably do it on the weekend or on Monday ;)


[Splittermond] Bugfixes and improvements

Changes / Comments

Bugfix: Character import was broken, when a character has no gender choosen
Various frontend improvements
Adding maximum "Splitterpunkt" value

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Contribution of the sample server implementation

The VDMA Surface Technology made a umati demo for the Hannover Messe 2021.
The developed server implementation is now contributed as a sample implementation to the umati community.
Thanks to the involved persons and companies for your contribution.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 9 committers have signed the CLA.:white_check_mark: GoetzGoerisch:x: ELWagnerRDurrer:x: AndreasHeine:x: debiesur:x: swamper123:x: Jochen-bm:x: ptwz:x: ccvca:x: wlkrmrtzYou have signed the CLA already but the status is still pending? Let us recheck it.

wlkrmrtz

Should be @wlkrm

@ptwz @swamper123 @Jochen-bm @ELWagnerRDurrer could you please sign the CLA,. we would like to merge this PR and work in the next servers.


Correct order of metrics for vector parsing

Description
When the users passed an object, whose entries are not in the correct order, the parsing of that object to a vector string returned an invalid vector.
Created a new vector object having metrics in the same order as in the cvss_3_0.json file.
vectorObject = {};

    if (inputVectorObject.hasOwnProperty("CVSS")) {
      vectorObject["CVSS"] = inputVectorObject["CVSS"];
    }

    for (const entry of definitions["definitions"]) {
      const metric = entry["abbr"];
      if (inputVectorObject.hasOwnProperty(metric)) {
        vectorObject[metric] = inputVectorObject[metric];
      }
    }

Also updated the vector before checking if it is valid or not. Used the existing parseVectorObjectToString function to update the vector string.
vector = parseVectorObjectToString(getVectorObject());

Fixes  #42
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@Fubinator I have made the changes required to solve the bug However, the PR has failed to pass the majority of the tests.
The test log shows error like
TypeError: vector.split is not a function
 at getVectorObject (lib/cvss.js:16:32)
 at CVSS (lib/cvss.js:418:38)

I haven't this part of the code and this was present earlier as well.
One more issue is, the linter is failing at
26:27  error  Do not access Object.prototype method 'hasOwnProperty' from target object  no-prototype-builtins

Can you help in resolving these?

@Fubinator Okay. Got the point.
So that would mean if the vector is already a string, the metrics must already be in the correct order. I just have to correct the order for the object.

This is looking better now, could you please add at least  one test for this? You could take the example i provided in #42

@Fubinator Made the changes. Please review and suggest changes, if needed.

This is looking better now, could you please add at least one test for this? You could take the example i provided in #42

Yes, sure.

My pleasure. Enjoyed working on this. Thanks for guiding @Fubinator! 😄


Twitter links broken

The pgl.yoyo.org ad server list (which we're sourcing for this list) has just added "t.co" to their block list.
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml
All Twitter links go through this redirection URL, so it makes Twitter partially unusable. I first contacted the maintainer of that upstream list to get it removed, but was told "it's a bounce tracker" so it would be left there intentionally.
For practical purposes, we either need to whitelist that domain in the generation scripts, or stop pulling from yoyo.org altogether.

Hi Devon @hyder365 I am aware.
I've paused fetching form yoyo.org at a version prior to the addition of t.co.
See commits 0677b534b17005943694c869426ca3b97bd0a46b and 0f8ad83645bcecedf980bd682fb77d5c18410ce1.
I have no intention of blocking general-use URL shorteners at this time.  I prefer to block the targets of these shortened URLs.


Issue connecting to tracker

When I try seed a torrent using the command line, I get the error: connection error to wss://tracker.webtorrent.io. The normal webtorrent client connects to the tracker, so it shouldn't be offline.

Not sure why you're getting this error. Sometimes websocket connections are blocked by routers or firewalls. Try again on a different network.
If you can't get this test page to work, then your network is blocking websockets: https://www.websocket.org/echo.html


Feature/1878/cytoscape popper

For ga4gh/dockstore#1878

Fix the import of cytoscape and cytoscape-dagre to be less hacky.
Add cytoscape type definitions
Remove cytoscape qtip in favor of cytoscape-popper
Made the tooltip slightly translucent https://github.com/ga4gh/dockstore/issues/762
Change the z-index of the DAG full screen to match what a bootstrap modal has, the z-index of the tooltip matches the z-index of a bootstrap tooltip https://getbootstrap.com/docs/4.1/layout/overview/#z-index
Update some test deps because for some reason it didn't like the less hacky import...?

codacy: nothing can be done about that
codecov: I didn't even change those files


Add descriptive issue tags

As we discussed on July 10th, more descriptive issue tags might help to make the project look more inviting.
Steps:

[x]  Decide on a tagging system
[x] Add tags to existing issues

Some options:

How they do it at Robin
How this random guy with a blog does it
Labels we use on rubyforgood/habitathumanity

I was looking at Robin's system, and I like how they organize things by color:

I'm not sure if their actual breakdown makes sense for us though–we're unlikely to do anything legal, we only use the one platform, they have no community-oriented labels (ex. "help wanted" or "beginner-friendly", etc.) I think our main goal here is to make the issues more accessible to community members/new contributors, so that's pretty important.
Here's the system with some changes:

Category
Labels

TECHNOLOGIES
rails, javascript, bootstrap

PROBLEMS
bug, security

SUPPORT
chore, docs, copy

AREA
design, ux, api

FEEDBACK
discussion, question, planning

IMPROVEMENTS
optimization, refactor, enhancement

ADDITIONS
feature

STATUS
needs discussion, ready

INACTIVE
invalid, wontfix, duplicate, on hold

COMMUNITY
help wanted, beginner friendly

So this task might have [chore], for example.
Thoughts @micahbales?

This looks good to me, @leesharma! Let me roll through our existing issues and see which of these might apply.

I think this is complete!


Then also make x-axis variable by toggling with a dropdown.

Instead of making x-axis variable, we decided to only focus on two most important variables and include two plots with the same format.


WCO: black border under buttons

I see a black border under the WCO only in light themes:

I'm unable to reproduce the issue on the latest Insiders. Are you still able to?

Weird, now seeing this again in my VM:

But I still cannot really reproduce on my new Surface Laptop...

Seems like an issue only when hw acceleration is disabled https://github.com/electron/electron/issues/31025
I could repro on windows hardware when running with --disable-gpu

Nice!

Actually I think I was also tricked by the fact that WCO was not enabled by default on Windows: https://github.com/microsoft/vscode/commit/2857051bb4e1bd7177c0d48b468b665c5a53b3c1

Is this solely related to hardware acceleration?
I'm seeing the same black line under the window buttons in Code with GPU acceleration enabled, as well as in other Electron apps, namely Signal.
In Code's case, I see the black line under the window buttons in two situations:

A permanent black line is visible when both window.commandCenter and window.experimental.windowControlsOverlay.enabled are set to true
A temporary black line is visible for a brief moment, which disappears after restarting or launching Code, when window.commandCenter is set to false but window.experimental.windowControlsOverlay.enabled is set to true.

GPU acceleration was enabled when testing these parameters, but I am using 125% display scaling, which has been reported as a trigger by others.
Here's the same issue in Signal:

The upstream issue has been fixed by https://github.com/electron/electron/issues/35312.
VS Code also uses the change, so actually, this issue has been resolved.
Verification steps:

On Windows, enable WCO, and set the display scale to 125%
Use a light theme
Verify that under the WCO buttons, there's no black border


Fix style with autoload/neomake/makers/ft/{s,}css.vim

that's the way i like it :)

although i prefer to put the concat operator on the next line so you can delete the line at will without having a stray .

@davidosomething
I think you can pick any other ft maker plugin file and do the same.. ;) - I just reviewed those and then did it.

although i prefer to put the concat operator on the next line so you can delete the line at will without having a stray .

I'll keep that in mind and tend to do it myself, but I did not want to refactor it.. ;)

@davidosomething
The downside however is that you need to indent the first line to align the errorformat entries, so I am rather -0 on this in this context.


Rename inconsistency for default exports

TypeScript Version:  nightly (2.1.0-dev.20161002)
Code
a.ts
function f() {}
export default f

b.ts
import f from "./a"
f()

Expected behavior:
Renaming f in a.ts will rename the use in b.ts.
Actual behavior:
It doesn't. However, it does if a.ts is written as:
export default function f() {}

I retested this in VS Code and it does seem to work - regardless of the renamed location in a.ts. cc @jakebailey

I tried to bisect this and failed; a test would probably be worthwhile if one's not immediately found. I didn't really find one, or a particular commit in the release this was fixed in to suggest it's tested.


M3-1509 M3-1508 Pagey on Payments and Invoices

Purpose
Implement Pagey on Recent Invoices and Recent Payments panel
Notes
Recent Payments does not take a  filter parameter.

Coverage increased (+0.08%) to 27.134% when pulling 078e1914cf0a40bab1d69176c0b47a47e88179b9 on martinmckenna:invoices-pagey into 8bdd58d7df9d2c36eb9e8ed3348e2e1dc4a15899 on linode:develop.


How do you log to the console?

Is your feature request related to a problem? Please describe.
I have no idea how to debug my application
Describe the solution you'd like
I expected console.log() to log to the terminal, but there is no output in the terminal
Describe alternatives you've considered
I'm not sure what alternatives there are.
Additional context
I'm trying to do a simple input-output app as a hello-world example. Type in text in a textbox up top, and the hashed output is output to the Text component. There is no output in my text component, and I have no way of debugging to see if my hash function is being called when the TextInput value is being changed.

For what it's worth (a month and a half later), I haven't had a problem getting text to the console.  Or, rather, as long as I put console.log() somewhere sensible that doesn't break the build--because I have a tendency to clumsily drop it in the middle of a render--it worked.
If you don't mind my asking, how are you triggering state changes?  In my note-taking program, my multi-line TextInput includes onChangeText={text => this.noteUpdated(text)}, where noteUpdated() handles state-tracking and other things.  A lot of logging statements have gone in there, though I don't think there are any left just now.
I've also had decent success with Winston for a more complicated project, where I wanted to keep the output.


Fixes issue with not resetting

This adds --force to the kubeadm reset command due to not being able
to reset without confirmation (previous kubeadm releases did not have
this confirmation screen).

Closes https://github.com/kairen/kubeadm-ansible/issues/35

Closes https://github.com/kairen/kubeadm-ansible/issues/34

LGTM!


Add settings/vscode integration for diagnostic "global-element"

Affected settings:

diagnostics.disable (will disable global-element as well)
diagnostics.neededFileStatus (global-element is now an option)
diagnostics.severity (global-element is now an option)
diagnostics.groupfilestatus (conventions is now an option)
diagnostics.groupseverity (conventions is now an option)

Messages are added in english language only

We should add documentation at least in English in doc/en-us/config.md.


Feature/weightt

https://forums.pythonic.guru/t/topic/9032
Weight management.
Set a target weight and see how much you need to lose or gain to reach your target

Codecov Report

Merging #277 (fdc91bd) into develop (9724685) will decrease coverage by 1.10%.
The diff coverage is 64.47%.

@@             Coverage Diff             @@
##           develop     #277      +/-   ##
===========================================
- Coverage    99.04%   97.94%   -1.11%
===========================================
  Files           50       54       +4
  Lines         2310     2385      +75
===========================================
+ Hits          2288     2336      +48
- Misses          22       49      +27

Impacted Files
Coverage Δ

app/routers/weight.py
31.42% <31.42%> (ø)

app/routers/joke.py
87.50% <87.50%> (ø)

app/internal/load_jokes.py
90.47% <90.47%> (ø)

app/database/models.py
96.73% <100.00%> (+0.11%)
:arrow_up:

app/internal/jokes.py
100.00% <100.00%> (ø)

app/main.py
96.77% <100.00%> (+0.10%)
:arrow_up:

Continue to review full report at Codecov.

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


comments not preserved

A few weird cases I'm running into; I want to preserve comments in my file but am uncovering some bugs:
case 1
> echo -e 'if dev then --cool\n end' | shrinko8 - - -f lua -m --no-minify-comments --no-minify-spaces --const dev true

expected output: --cool
actual output: (nothing)
> echo '--cool' | shrinko8 - - -f lua -m --no-minify-comments --no-minify-spaces

expected output: --cool
actual output: (nothing)
case 2
test2.lua:
--[[something]]
if dev then
-- true
a=1
else
-- false
a=0
end

> shrinko8 test2.lua out.lua -m --no-minify-comments --no-minify-spaces --const dev true

In this case, the --true/--false comments are removed completely for some reason. But weirdly, this only happens when the --[[something]] comment exists -- remove it and the behavior is fine
case 3
test3.lua:
if dev then
-- true
a=1
else
-- false
a=0
end

> shrinko8 --minify --no-minify-spaces --no-minify-comments test3.lua - -f lua
if (n) e=1 else e=0

(expected output: comments should not be removed)

I'm looking into it, but it's a bit tricky.
Case 1 is the one I'm least sure about - it's kinda arbitrary whether a comment is applied to an empty block (?!) or the removed "end".


maint/150-find-alternative-to-host-file-change

Description

With the following change, manipulation of the hoste file is no longer needed.

@devtobi please do a retest of the apigateway/frontend locally and check if the redirect works like expected
Reference
Issues #150

I tested this and it works as expected. :)

@DanielOber When Podman is ready, we may have to take another look here to see if this is still possible.


Add thermocline with variable N²(z)

This PR just changes the thermocline in three_layer_constant_fluxes.jl to have a variable N²(z) structure parameterized by a fitted cubic function.
The idea is to enrich the training data as convection is no longer entraining into a fluid layer of constant stratification, although might need to play around with the model parameters to get a temperature profile where the N²(z) structure is significant (and it still finishes in a reasonable amount of time).
To give some idea of what it looks like:

Ah thankfully it was just a minor conflict so I'll merge.


COMMENT_DIRECTIVE_REGEXP not matching multi-line comment directives

You can have any kind of leading whitespace and line breaks that you want in a comment directive, but as soon as you insert a line break between the directive: my-directive-name and the closing comment tag, the directive fails to link. You should be able to specify multi-line content within a comment directive.
The regexp here:
https://github.com/angular/angular.js/blob/master/src/ng/compile.js#L728
Just needs to be changed from:
/^\s*directive\:\s*([\w\-]+)\s+(.*)$/
to:
/^\s*directive\:\s*([\w\-]+)\s+([\s\S]*)$/
This should not break or mess with any existing comment directives in use because they were already broken if they had newlines before the end tag.
This line of code already handles trimming the result:
https://github.com/angular/angular.js/blob/master/src/ng/compile.js#L1566
Use Cases

Supplying metadata from the server to the client
Supplying templating information from the server to the client
that may not be desirable to specify as a cache-able template
or otherwise render as any kind of markup until specifically
extracted at the client

Hi @tuespetre, feel free to send a PR with your changes and we will review it.


started implementation for a trait that fits LightWallet and LightWatch

this is the start of an fv-style implementation of LightPocket

I think we want:
trait Auditor {}
impl Auditor for TransactionRecordsById {}
`trait SpendCapable: Auditor {
type SpendCapabilities
}

I clicked update branch.   Is this design change still something we're considering?

Hi @fluidvanadium is this code still destined for merge?


Check startpage.com

Please consider using https://www.startpage.com/ as the default search engine. Its search results are closer to Google while still maintaining privacy.

I've noticed searx has had issues with getting results from Google these days, so I wouldn't be against changing to a more functional search engine. (However, I don't know the current situation well so please let me know if I'm wrong)
At the very least, we could add Startpage as another option.

To those who have voted down above: why? Have you tried Startpage and compared its result with the current default search engine?

i didnt voted down but i checked and its not so good :

first five results are the same like any browser but the rest are not relevant
search its the slowest from all browsers and i get boored until it shows
very hard to difference the sites from search results
text shown from search results its short

My issue with duckduckgo is that its search results never seem to be as "good" as Google's

true but its a thing that i can pass by, most of the time we search for a mellody, a movie, a person, some news and it can manage.

The current default, searx.me, is unusable for me, as I get:

startpage.com is much more reliable for me.

At the very least, we could add Startpage as another option.

It is there as another option already, I just believe it should be the default.

@probonopd It's not included by default in a fresh profile.

I don't think default search engine should be set (like it's now), but I think Startpage should be added as an option.

Startpage now requires JS. Nothing that tells you MUST use JS can be considered to maintain privacy. Also DuckDuckGo is hosted on Amazon, so their claim of privacy is nonsense.

searx.me

There are also other searx instances:
https://github.com/asciimoo/searx/wiki/Searx-instances

Startpage now requires JS.

Wrong. It works just fine with Tor Browser "Safest" setting (disables JS/SVG/etc, to find: click that :shield: icon in the toolbar)

Wrong. It works just fine with Tor Browser "Safest" setting (disables JS/SVG/etc, to find: click that :shield: icon in the toolbar)

And the moment you try to search for something that "fine" is turns into a mess with no search results.
Additionally at least 2 requests get blocked by uBO which are blacklisted in EasyPrivacy list. So you can figure how "most private" that search engine is.

And the moment you try to search for something that "fine" is turns into a mess with no search results.

It works without problems for me.

A preferred setting for privacy when using startpage would arguably be to 'Use POST vs GET'  in the 'Privacy & Safety settings webpage, but then the obfuscated URL that you could use (see bottom of page)  could not be added as a search engine in chromium (nor ungoogled-chromium) under 'Manage search engines' in my experience, as the url does not contain an %s for the search term.
A workable alternative is to launch that search engine's webpage when required from a bookmark, say, in the bookmarks bar.

Why bother with startpage.com at all when you have many searx instances (including .onion ones)? If you so insist on seeing results from startpage only, just use the search operator "!startpage" - it will show you that. Similarly you can search "!duckduckgo" etc.
Re. GET/POST:
Well, chromium's requirement about %s seems really restrictive in regards to that. So the best thing (privacy wise and anti-mistake wise) is to use
http://<IP_ADDRESS>/%s as the default search engine and have a searx instance bookmarked for easy access. (Yes, I know it will need one additional click, what a nightmare :P)

A preferred setting for privacy when using startpage would arguably be to 'Use POST vs GET'

The difference there is that it doesn't save the query to browsing history, which may not be enabled.

Why bother with startpage.com at all when you have many searx instances

They often suck in usability.
https://searx.me/?q=Wikipedia&categories=general&language=en-US returns whole 1 result and an error message
For example https://searx.dnswarden.com/?q=Wikipedia&categories=general&language=en-US seems to be better, though.
Also I think Startpage should be added as option, but not as default (no default at the moment, so user choice)

I read somewhere that startpage and google made a deal so that startpage can use google results as long as google gets the ip from the person who is making the request. If that's the case, then I would strongly suggest against it, could be wrong though.

Why bother with startpage.com at all when you have many searx instances

They often suck in usability.
https://searx.me/?q=...

searx.me is #54 in the instances classification:
https://stats.searx.xyz/

There's been a similar discussion for Bromite and I have been against adding Searx for a reason which has nothing to do with usability: we need to find who is accountable for the logs anda PII, and what is at stake for them to compromise them (e.g. security level they can afford and implement).

This is an old issue, that didn't show much activity recently — closing.
If you have any more information to add, let us know.

Slightly related: there is a bug in upstream Chromium that prevents a lot of search engines from appearing even if they have a valid OpenSearch descriptor.
In next release of Bromite (100.0.4896.83) I will add the bugfix to Bromite's cumulative OpenSearch patch, you will find this link working when release is live: https://github.com/bromite/bromite/blob/100.0.4896.83/build/patches/OpenSearch-allow-paths-and-incognito-mode.patch

Hmm… Seems like bromite has some new patches, unseen to ungoogled-chromium. I think, I'll open another issue to discuss if some of them might be incorporated here.
@csagan5 thanks for mentioning this patch. Also if you by any chance could name those of bromite patches which are applicable and useable for ungoogled-chromium, that'd be great.

Also if you by any chance could name those of bromite patches which are applicable and useable for ungoogled-chromium, that'd be great.

You could check the CHANGELOG for applicable improvements.

I pre-released the patch is here so that others can see/use it before next Bromite release: https://github.com/bromite/bromite/blob/b4095e087a3aad4e1e6c4d3a890873b1cdd5fed1/build/patches/OpenSearch-allow-paths-and-incognito-mode.patch
With the introdution of it I can see that a lot more search engines show up as working first time their page is visited. Someone should upstream the fix in Chromium as well.


Simplify the Achievements system.

What feature do you want to get added on the base engine?
So, I'm making a mod with custom achievements and I want to get rid of all the old ones. While I was doing this, I realized it was probably way harder than it needed to be. Maybe make each achievement its own image and not a grid like the base game icon grid.
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

tbh making it like that would be as useful as when icons were split

Which is useful? I don't get your point

read the comment again
did I say I was against your idea? no. not at all. I actually support it

That might allow achievements with Lua.

This is how achievements in Lua worked, but the base-achievements loader conflicted with the mod-achievements loader, causing some weird sort of achievement duplicating bug. Dunno much else about it.

More simple than writing 5 lines???


[Bug] framework not found Regift

Description
I'm trying to  use this package with Xcode 10.2.1 and I'm getting  ld: framework not found Regift when compiling the flutter project.
Platform
IOS
Backtracking step (if has)

Added flutter_video_compress: ^0.3.7+8 to pubspect.yaml
Compile -> Error. ld: framework not found Regift

Found the solution: use_frameworks! , although I have dozens of packages none of them were written in objc 🤦♂


Check IP belonging to Network subnet

Hello!
I'm working with traffic for IP's and networks. For some dashboards I want ability to check that some IP (<IP_ADDRESS>) belongs to some specific subnet in CIDR form (<IP_ADDRESS>/24).
I'm trying to implement ability to select specific IP from list with millions IP in two step approach: select from few network, select specific IP in this network (few hundreds instead of millions).
I could select all available IP's from InfluxDB and process it with programming language but it feels like complicated operation.
Right now I could not implement this without third party tools because InfluxDB does not support long prefix matching.
Is it possible to implement this type of matching for InfluxDB?

@pavel-odintsov Did you get any solution on this ?

Hello!
Nop, sorry.
On Sat, 18 Jul 2020 at 09:17, Wathsara Wishwantha Daluwatta <
<EMAIL_ADDRESS>wrote:

@pavel-odintsov https://github.com/pavel-odintsov Did you get any
solution on this ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/7852#issuecomment-660448200,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU56ZXDI55DSAL4QZQSZWLR4FLBVANCNFSM4C4YYWKQ
.

--
Sincerely yours, Pavel Odintsov

+1


update readme file

mam do update the readme file of the project because the screen shot of the website in the readme file does not match the deployed website.
@ANSHIKA-26 can u assign me this issue

mam do add the label of level so my contributuin can count

you don't have to add screenshot in the readme file instead make it in this way that readme fetch from contributor section

@hiteashgupta1 i m sorry sir but i don't know how to do that cause i m new here

So are you adding screenshot in the readme file

As new contributors may come and then their name is not in the list

So what can you do to fix this

@hiteashgupta1 sir the issue is not fixed yet as the image is not updated


chore(release): rename package canary name

Summary

./x version snapshot rename the canary version

@rspack/binding-canary
@rspack/binding-darwin-arm64-canary
@rspack/binding-darwin-x64-canary
@rspack/binding-linux-x64-gnu-canary
@rspack/binding-win32-x64-msvc-canary
create-rspack-canary
@rspack/core-canary
@rspack/cli-canary
@rspack/dev-server-canary
@rspack/plugin-minify-canary
@rspack/plugin-preact-refresh-canary
@rspack/plugin-react-refresh-canary
@rspack/test-tools-canary

./x update-rspack 0.7.5-canary-910259c-20240624004455 --path ./app/package.json or ./x update-rspack 0.7.5-canary-910259c-20240624004455 --path ./app

modify he package.json to accurate canary version
// package.json
-    "@rspack/cli": "0.7.4",
+    "@rspack/cli-canary": "0.7.5-canary-910259c-20240624004455"

./x overrides-rspack 0.7.5-canary-910259c-20240624004455 --path /app/foo/package.json

Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

!canary


Fixed findUserTopLevelFolderFor. Fixes wrong folder for rezzed Take.

Previously, if an object was rezzed from a subfolder under a top-level folder, a subsequent Take would think it was attempting to take it into the Trash folder and would substitute the Objects folder as the destination.

@kf6kjg  The semantics have not changed, the outer function used to return null if not found, and in fact that was the behavior in this case, returning null inappropriately (but handled appropriately as take-to-default-location).  It is a test for "what's the top-level folder that this one is under?"
This change just calls the same internal code all the way up the inventory folder parentage chain, rather than just checking if the specified folder is a top-level one.
So it used to return null if it wasn't a top-level folder, rather than the actual correct top-level folder it was under. I did test this by single-stepping through, and confirmed the code works as expected now. In theory, it never returns null anymore, unless a folder is orphaned. It used to return null all the time.

Sweet.

Released (finally) in v0.9.42.


Clear question widget listeners to prevent memory leaks

Question widget listeners were never getting unset, which leaked some memory.
It probably doesn't actually leak very much memory, regardless, unsetting listeners is an important pattern and we should get in the habit of using it.
Includes commits from https://github.com/dimagi/commcare-odk/pull/798

@phillipm Good to merge as soon as my question on https://github.com/dimagi/commcare-odk/pull/798 is addressed, since it contains that commit


Docker option "--gpus all" causes an error

Hello, this is Tsuru.
I am using your Docker image on Ubuntu20.04.
My GPU is RTX3060, NVIDIA Driver is 535.86, and CUDA version is 12.2.
$ docker run --gpus all --rm -it   --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw"   ghcr.io/isri-aist/baseline_walking_controller:latest ./walk_on_plane.bash
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

If I remove the --gpus all, it runs successfully.
Do you know something about this?
Sorry, I am new about Docker...

Oh, I solved it.
I installed nvidia-container-runtime via apt.
curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | \
  sudo apt-key add -

distribution=$(. /etc/os-release;echo $ID$VERSION_ID)

curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | \
  sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list

sudo apt update

sudo apt install nvidia-container-runtime

service docker restart

Maybe some students in HVAC may face this issue when following your docker installation on ReadMe...
Anyway, thank you so much for your great presentation and works.

Thank you.  I have added additional explanation in the above commit.