Bug fix: Offset Not Updated for Server-Side Subscriptions After Receiving Publications #107

We have encountered an issue where, after manually reconnecting the client, the same chunk of history is repeatedly retrieved for a server-side subscription.
In debugging, we noticed that the offset sent during the connection request for a channel is the same as the offset returned in the server response, even when publications for that channel are delivered during the connection. This behavior indicates that while the messages are successfully delivered to the client, the offset for the channel is not updated accordingly.
More details is here issues/107
Spikeman's advice:

Before releasing the fix on the client, as a temporary workaround, the offset for publications in the target server channel can be stored and previously delivered messages can be skipped.

Many thanks @shalom-aviv ! Will proceed with a release soon.


linear width_aware_splitlines for bpython

Line splitting in linear time

Closing, see PR #110 which I've made from thomasballinger/curtsies


Feature request - package for MacOS

From the readme file:

Currently we provide packages for Fedora, CentOS, Debian, and Ubuntu, but if you want others, file an Issue.

Can we please have a MacOS release? Maybe using brew?
@eliganim will appreciate this :)

I'd love to see a brew package. I'd prefer to have a packager for that though, someone who uses and is familiar with Brew.
However, Omnibus supports .pkg/.dmg packages, and I'll try to do that next time I do a release.

OK, there's a Mac pkg package up for the new 0.0.11 release!

Thanks @jaymzh!


[WIP] Shrink monitoring container size

Our monitoring container size just hit 3.5G, which is larger than
our default docker dm.basesize of 3G. Our hosts won't be able to pull it
until either the dm.basesize is increased, or the container size is shrunk.
This commit shrinks the container size by having fewer layers generated
by the RUN commands.

This commit shrinks the container size by having fewer layers generated by the RUN commands.
This commit also runs yum clean all at the end of each yum install layer, so it doens't capture old RPM repo data in the yum cache.


Add colors to map markers

@msusicky which metric?

Witing time for PIN2 will be used and in detail both metrics with exact numbers.


Misunderstanding in @admin-bro/nestjs part of documentation

I have a repo made of a NestJS app on which I wanted to install admin bro. I followed the documentation<EMAIL_ADDRESS>but I found some part that are not clearly exposed.
After installing : admin-bro, @admin-bro/nestjs" and then express, @admin-bro/express, express-formidable, I tried to launch my NestJS app and it failed with and error message telling me the package @admin-bro/express is not found.
I didn't first install  express-session because I don't pass any "authenticate" object. However I discovered that express-session is actually necessary. Once I installed it, I was able to start my NestJS app.
So, the documentation should not stipulate "if you are passing the "authenticate" object..." as it seems necessary to have express-session even without "authenticate".
Here you have my repository, if you want to check : https://github.com/myriamdbs/blog-backend

Thanks @myriamdbs I spent almost 1 hour looking for this!


[coresimd] extracts the no_std components into the coresimd crate

Extracts the no_std components into the coresimd crate, which is unconditionally no_std (most of the library).
Re-exports the coresimd crate as stdsimd + std components (e.g. run-time feature detection for ARM)
Removes the dependency on the std::os::raw::c_void type by making those intrinsics take a *mut u8 instead.

The crates coresimd and stdsimd currently are not part of the same workspace because I got linker errors. We can fix this either in this PR or a subsequent one. Also, this PR broke Windows tests. PRs to this PR that fix this are welcome.

Looks like some appveyor tests may be failing? (I'd recommend removing --nocapture from CI to get some better output)

@alexcrichton done (btw why does --nocapture produce worse output on windows?)

So I've removed --nocapture but the output looks the same.

Oh --nocapture isn't windows specific, it, when passed, just means that the otuput of each test is garbled with all the other outputs, but now that it's not passed the output for each test is in its own delineated section.

I think that we are testing with only one thread so that shouldn’t matter
that much, but anyways I have no clue why the windows test are failing and
no window machine to test :/
On Mon 20. Nov 2017 at 23:20, Alex Crichton<EMAIL_ADDRESS>wrote:

Oh --nocapture isn't windows specific, it, when passed, just means that
the otuput of each test is garbled with all the other outputs, but now that
it's not passed the output for each test is in its own delineated section.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/stdsimd/pull/197#issuecomment-345850916,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3NpkqBKDgMJXXM7Ek_9mVk5kGAvjc8ks5s4fs_gaJpZM4Qknc5
.

So FWIW I just added a [workspace] directive to the root Cargo.toml and it worked? I wonder if the link error you got was maybe due to a stale target directory? Or maybe I'm running tests differently?
I'll test on Windows

The linking errors happened on 32 bit targets on Travis :/
Maybe I just did it wrong.
On Mon 20. Nov 2017 at 23:25, Alex Crichton<EMAIL_ADDRESS>wrote:

So FWIW I just added a [workspace] directive to the root Cargo.toml and
it worked? I wonder if the link error you got was maybe due to a stale
target directory? Or maybe I'm running tests differently?
I'll test on Windows
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/stdsimd/pull/197#issuecomment-345852080,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3Nph-b01BToRWfwEBDVyKcBYt1iLW2ks5s4fxPgaJpZM4Qknc5
.

Aha, I've reproduced the 32-bit failure as well

Ok I think I've pushed a fix for workspaces, it was I believe just related to disabling tests for the procedural macros

That seems to have... magically fixed windows?
So I can't actually run the tests locally on Windows due to a faulting instruction. The test is failing on the xsaves test and instruction. The disassembly in visual studio when it faults leads with:
00007FF7EBEF990F  mov         edx,0FFFFFFFFh
00007FF7EBEF9914  mov         eax,0FFFFFFFFh
00007FF7EBEF9919  xsaves      [rsp+80h]

where the faulting instruction is xsaves and RSP is 000000696F3FB580. So I think that's 64-byte aligned? The reported exception is:

Unhandled exception at 0x00007FF7EBEF9919 in coresimd-80b6104084dfdbe5.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. occurred

I'm not really sure what's going on there... I wonder if maybe xsaves detection isn't working? I apparently have an i7-7700k, although I'm not sure if it actually supports xsaves or not. Do you know what's going on?

So I think that's 64-byte aligned?

Yes.

I'm not really sure what's going on there... I wonder if maybe xsaves detection isn't working?

I don't think so, we currently only enable xsaves if the CPU supports AVX and XSAVES, and if the OS supports it (OSXSAVE). Also, Appveyor says that xsaves is not enabled, while on your machine it says that it is enabled, so I think that looks fine.

Do you know what's going on?

This probably means that the xsaves/xsaves64 tests were always broken.
Two things point in this direction:

The --nocapture results from a previous Appveyor build show that the test for xsaves returns false on Appveyor, and true on your machine, so these were not tested before on Windows.
I disabled xsaves tests on Intel SDE because...

It is weird that you get an error saying that you are trying to read from 0xFFFF.... That looks surprisingly similar to the mask that XSAVES uses, but this mask is not a memory address; it is used to specify which registers should be saved, where 0xFFFF... just means save all registers.
But IMO the simplest explanation is that they were broken already, and that the bug surfaced only on your machine, so can you comment them out and test if the xsavec tests work?
If so, I would move on with this and I'll try to fix the tests this week (I have some machines with xsaves enabled).

@alexcrichton can you post a cat /proc/cpuinfo of that cpu? (not sure how easy it is to do so from windows but maybe you happen to have dual boot?)

rebased

r=me, but looks like it needs a rebase (feel free to merge after rebasing)


Can't use Jupyter Notebook in conda created environment

Bug: Notebook Editor, Interactive Window, Python Editor cells

Steps to cause the bug to occur

VS Code: 1.39.2
Conda 4.6.11
In Anaconda Powershell Prompt, I create a new environment. After the setup is done, I open VS Code, select the environment, open an ipynb file and try to run a cell.
Actual & Expected behavior
Actual:
I get the following error:
Jupyter kernel cannot be started from 'Python 3.7.4 64-bit ('cs231n': conda)'. Using closest match Python 3.7.3 64-bit instead. Error starting original kernel: Traceback (most recent call last): File "C:\Users\Tony the Potato\Anaconda\envs\cs231n\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\Users\Tony the Potato\Anaconda\envs\cs231n\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\Tony the Potato\AppData\Roaming\Python\Python37\site-packages\notebook_main.py", line 4, in  from notebook import notebookapp as app File "C:\Users\Tony the Potato\AppData\Roaming\Python\Python37\site-packages\notebook\notebookapp.py", line 62, in  from tornado import httpserver File "C:\Users\Tony the Potato\AppData\Roaming\Python\Python37\site-packages\tornado\httpserver.py", line 29, in
import ssl File "C:\Users\Tony the Potato\Anaconda\envs\cs231n\lib\ssl.py", line 98, in <...
Seems to be related to this issue
After checking log and previous issue, I ran "python.exe -m jupyter notebook --version" and I got an error in every terminal except Anaconda Powershell Prompt, which printed "5.7.8".
Log is attached below.
-1572412806490.log
Expected:
I expect it to run in the selected environment.

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running:                       Local | Remote | N/A
Extension version: 20YY.MM.#####-xxx
VS Code version:                                #.##
Setting python.jediEnabled:               true | false
Python and/or Anaconda version:     #.#.#
OS:                                                     Windows | Mac | Linux (distro):
Virtual environment:                          conda | venv | virtualenv | N/A | ...

Developer Tools Console Output

Thanks for your help!

This is a dupe of #5344 . Conda has problems activating and has suggested we change the way we start Conda environments. Once #5344 is fixed, your jupyter environment should start.

Hey @rchiodo! Can you please point me to a quick workaround?

The easiest workaround is to start a working conda environment and then run vscode from within it.
To check that the environment works, you run like you said above python -m jupyter notebook --version. That should mean we'll be able to start jupyter.
However it might still hang. There are occasional problems where just trying to enumerate conda environments hangs our code. In that situation you could instead start a jupyter notebook server yourself, and then use the "Specify Jupyter Server URI" command so that we use your already running server.

@rchiodo that seems to be working, but I'm having trouble importing code from other modules. It seems to only be able to look for modules within the Anaconda env\lib folder, but not from folders within my workspaceFolder or fileDirname folder. Do you have a workaround for that also?

That's likely you need to setup your sys.path to look for stuff in the right spot. The only thing we do on startup is to point the python cwd at the workspace root.

You can actually put this code into a startup setting we have so it doesn't apply outside of VS code:
python.dataScience.runStartupCommands
That setting can be any python code you want to run before running any cells.


Custom back button modifier

Anyone have a custom navigation back button implementation they're willing to share?

I'm also interested in this!

@lowryrussell I had to clone the repository and make my own implementation for that, i changed the base code, if you're interested i can share with you how i did it

@obaida-mostarihi I'm interested as well. Could you please share?

@trinvh First of all i don't recommend using this library since it does not support new ios versions, it's so outdated it has a lot of navigation bugs, it's still using NavigationView instead of NavigationStack, but here's how you can add the hideBackButton:
once you fork the repository go to the package in folder "NavigationCoordinatable" and file "NavigationCoordinatable" add to the protocol this line
var navigationBarHidden: Bool { get }
in the same class you'll find an extension for NavigationCoordinatable add this line
  var navigationBarHidden: Bool {
        return false
    }

then in "PresentationHelper" file under "NavigationCoordinatable" folder,  inside the switch statement find case .push and change it into the following:
               if presentable is AnyView {
                        let view = AnyView(NavigationCoordinatableView(id: nextId, coordinator: coordinator))

                        self.presented = Presented(
                            view: AnyView(view.navigationBarBackButtonHidden(coordinator.navigationBarHidden)),
                            type: .push
                        )
                    } else {
                        self.presented = Presented(
                            view: AnyView(presentable.view().navigationBarBackButtonHidden(coordinator.navigationBarHidden)),
                            type: .push
                        )
                    }


Sample Code Compilation error

probably a noob question, but when I copied the code LoRaWAN_OTAA.ino in my Arduino IDE, I get this error on compile
'UNIT_LoRaWAN' does not name a type; did you mean 'ATOM_DTU_LoRaWAN'?
I have the libraries ATOM_DTU_LoRaWAN and M5Atom installed (I am using a M5 Atom Lite with the LoRAWAN868 unit.
Any idea what I am doing wrong?
Thanks

i used another method to install libraries (Sketch/Include Library/Add .Zip library)  and it now compiles

You are missing the relevant dependencies.

UNIT_LoRaWAN
M5Atom
FastLED


Add Build.Repository.Id

Please add Build.Repository.Id to this documentation.

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

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Predefined build variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Any news on this?
It would also be good to explain relation to BUILD_REPOSITORY_NAME

Build.Repoistory.Id could be so useful!

FYI to mloskot & shayki5, BUILD_REPOSITORY_ID already existed as an environment variable at the time I posted this comment, and still does.
However, this documentation does not reflect it's existence.
In fact, if you inspect your agent build tasks, you will find that there are quite a lot of variables which very much seem like they should be a part of this documentation but are not. I wonder if this documentation has been forgotten.

I checked now and you right! thanks!
Should I open a PR?


Add bookmarks.* Web APIs

This pull request adds bookmarks.* APIs to the API client.
https://api.slack.com/methods?query=bookmarks
Category (place an x in each of the [ ])

[ ] bolt (Bolt for Java)
[ ] bolt-{sub modules} (Bolt for Java - optional modules)
[x] slack-api-client (Slack API Clients)
[x] slack-api-model (Slack API Data Models)
[ ] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
[ ] slack-app-backend (The primitive layer of Bolt for Java)

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

Thanks for the review! As for the API docs, we can share the feedback internally.


feat(api): add register static method

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #342
Summary:
AuroInput.register is to easily register the element without extra importing
import "@aurodesignsystem/auro-input" will still register this element to <auro-input>
import { AuroInput } from '../src/auro-input.js won't register this element until AuroInput.register gets called
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Add a static 'register' method to the AuroInput class to facilitate the registration of custom elements, replacing the previous method of registration. Update documentation to guide users on using the new method for element registration.
New Features:

Introduce a static method 'register' in the AuroInput class to allow dynamic registration of custom elements.

Enhancements:

Remove the default internal definition of the 'auro-input' custom element to rely on the new 'register' method for element registration.

Documentation:

Update documentation to reflect the new 'AuroInput.register' method for registering custom elements, replacing previous usage of 'registerComponent'.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


US-99 | Add fallback language support

TODO

Unified search graphql branch is deployed to platta: https://kuva-unified-search-pr94.api.dev.hel.ninja :rocket::rocket::rocket:

Unified search sources branch is deployed to platta: https://kuva-unified-search-sources-pr94.api.dev.hel.ninja :rocket::rocket::rocket:


Sublte tweaks to movement in sample

Added Coyote time, short hops, acceleration, and max fall speed
All changes are very subtle and keep the sample project simple, but make it feel slightly more polished

The sample project wasn't really meant to be polished and I just used the default controller, but why not 🤷♂

thx


Created 0000-01-02-Buffylove.md slide

I added the second slide asking user to use the left arrow to go back.

Merging the second slide to the master branch


cmd/go: exclude $GOPATH/src/mod from “all” and “...” patterns in GOPATH mode

After performing a go build in module mode, go build all in GOPATH mode emits a bunch of errors due to import path mismatches in $GOPATH/src/mod.
 That's in internal/search I think.

We could plausibly backport the GOPATH/src/mod exclusion to Go 1.9 and Go 1.10 as well.

Any reason this stuff can't go in $GOPATH/mod or something other than $GOPATH/src? I posted to golang-dev just now on this.

How do those people setting $GOPATH=$HOME rationalize pkg? .mod seems good if the existing tools work with that.

How do those people setting $GOPATH=$HOME rationalize pkg?

I mostly close my eyes and pretend it isn't there. (And soon it won't be! See #4719.)

Regarding the CL: It would be nice if "mod" was a constant somewhere. Similarly for its use elsewhere in the code base.

On hold pending a decision on whether to move the module cache someplace where it would be ignored by default (outside of $GOPATH/src or in a subdirectory beginning with . or _).


LogNicknames and LogGroups are forced lowercase

Log Nicknames can only be referenced in all lower case, using uppercase (even when matching the entry in the config file) results in a "No nickname" error.
[LogNicknames]
CamelCaseLog = XYZ

$ lecli recentevents -n CamelCaseLog -l 200
Error: No nickname with name 'CamelCaseLog'

$ lecli recentevents -n camelcaselog -l 200
This works.

Fixed in PR #18 @durzo


C# strings aren't null terminated

When sending C# strings to Rust, null terminator must be added explicitly.

fixed by #318


NameError: name 'etree' is not defined

After installation, I test Single Agent Example. It works.
But when I test Multi Agent Example, an error shows
2
{'maze_height': '2'}
Traceback (most recent call last):
  File "multiagentExample.py", line 13, in <module>
    "MarLo-Agent-1"
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/__init__.py", line 96, in make
    join_tokens = env.init(params, dry_run=True)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 628, in init
    self.build_env(self.params)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 646, in build_env
    self.setup_mission_spec(params)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 601, in setup_mission_spec
    mission_xml = self.transform_mission_xml(params, mission_xml)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 577, in transform_mission_xml
    vp = etree.Element(ns + "VideoProducer")
NameError: name 'etree' is not defined

I am sure that two port 10000 and 10001 is open and running Minecraft.
I thought it may need import xml.etree, so I add import xml.etree as etree. And it didn't work.
AttributeError: module 'xml.etree' has no attribute 'Element'
So, how to solve this  VideoProducer problem?

This was fixed in the marLo github repository so you could re-install from that. Please see:
https://github.com/crowdAI/marLo/pull/73
(Changing etree to ElementTree)

@andrekramer  I tried this before, but it also caused an another problem that
2
{'maze_height': '2'}
Traceback (most recent call last):
  File "multiagentExample.py", line 13, in <module>
    "MarLo-Agent-1"
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/__init__.py", line 96, in make
    join_tokens = env.init(params, dry_run=True)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 628, in init
    self.build_env(self.params)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 646, in build_env
    self.setup_mission_spec(params)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 601, in setup_mission_spec
    mission_xml = self.transform_mission_xml(params, mission_xml)
  File "/home/onefivechen/anaconda3/envs/marlo/lib/python3.6/site-packages/marlo/base_env_builder.py", line 580, in transform_mission_xml
    w.text = str(params.videoResolution[0] if params.videoResolution else '800')
AttributeError: 'NoneType' object has no attribute 'text'

Has anything happened on this front? I am also getting this error when using "etree" although I did import the libraries. Thanks!


ENH: Allow freezing/halting of capture, to have steady data to explore

Is there an existing issue for this?

[X] I have searched the existing issues.

Describe the solution you'd like
I love sniffnet, great tool!
One thing I'm missing is the ability to halt/freeze/"stop the world" to explore what's been captured in detail.
Right now, the data refreshes every second, making it hard to read/explore. I've looked for such a feature in the docs/help but couldn't find anything.
Is your feature request related to a problem?
I'm always frustrated when I try to read a table and the table rerenders the second I move to another column.
Try staying with the "same" here (semantically the same, not at the same height):

I'm surprised no one else has had this problem yet - I must have missed something obvious, like a pause button, but couldn't find anything.

Thanks for your suggestion.
Yes, you're actually the first one to have brought up this kind of concern and there is not a real solution as of now.
However, as you may have noticed, you can sort the table by packets or bytes exchanged and that will give you a much more stable view.
Let me know if this sounds as a possible acceptable workaround.
In case the table isn't sorted, the default behaviour is to show the most recent entries, so it doesn't make mush sense to stop it in my opinion; freezing the capture would also be counterintuitive I think because it could introduce some misunderstandings about the status of the capture: the capture is running while the view is freezed.

After better thinking about this one, I came to the following conclusions:

the table can be sorted by ascending / descending number of packets / bytes in case you want a more steady view
If you want to have steady data to explore you can always export the capture as a PCAP file; Sniffnet already supports exporting such kind of files and importing them is planned for the future (#254)
freezing the view while the capture is running breaks things because in this case we'd have inconsistent states of what's captured vs what's displayed
freezing both the view & the capture is the only reasonable solution I can think of

This being said, I think that points 1) and 2) make it clear that there are other solutions to have steady data to explore.
However, being able to stop and later resume the capture could potentially be of interest for other scenarios maybe?
Right now, to achieve this the only workaround is to stop the current analysis and later restart another analysis still from the same network adapter.
Maybe we should understand if there's some case in which users want to pause the ongoing analysis without restarting it.

Thanks for thinking this through!
My idea was to halt the entire capture. Then I can inspect whatever I've captured.
While there might be workarounds, i.e. using a different program to view what was captured, isn't the whole idea of sniffnet to allow convenient viewing right there 😀
I've discovered the sorting workaround as well, but it's a bit annoying still and imperfect.

Thank you @erieflin for your feedback, really appreciated!


Action fails on existing PRs that don't define variable ADD_LABEL

Error message - /entrypoint.sh: line 47: ADD_LABEL: unbound variable
Example log of an action here
This is related to #3

@rciovati could you investigate?

@abinoda sure, it's definitely something I broke 😅
I'm not a bash guru but from my understanding changing the flags at the beginning of the script should work:
set -eu

to be only:
set -e

I cannot send a PR right now, I can probably do that tomorrow.


feat: introduce serde feature for Result types

Serde (Serialize) would be a fantastic feature for ldap3.
Implemented Seralize for Result types.

Thanks for the PR, but I believe that ldap3 doesn't need this kind of feature. Before closing the PR, I'd genuinely like to know about your use case -- who is the recipient of the serialized result, and what will that recipient do with serialized data?
(Since about the start of my involvement with this library, I've been thinking about deserializing result entries into structs, but I'm not sure that serde is a good match for the LDAP data model.)

Closing. Feedback is still welcome, of course.

Hi, sorry for late feedback. I am trying to create a http-ldap bridge, which handles ldap queries over http. I was having trouble implementing the serdes features in an external create, so I suggested a serdes feature in this create itself. I am curious of your opition of this usage and implementational details. Thanks for your hard work.

I am trying to create a http-ldap bridge, which handles ldap queries over http.

OK, now I understand more. It seems to me that what you're trying to do would be difficult, starting with the fundamental difference between HTTP and LDAP, that is, state handling: HTTP is stateless, in LDAP everything is defined in relation to a connection/session. (Connectionless LDAP exists, but it's a non-standardized niche protocol which can be practically disregarded.)
Therefore, a bridge would have to run via HTTP/2 or a websocket; in practice, the latter, if you want to use it from the browser. If you're aiming for full generality, probably the simplest way would shuttle raw BER messages between the (web) client and the (LDAP) server. Ldap3 wouldn't help you much on the bridge side since it can't accept and deliver raw packets (and I'm not going to enable raw operation.) So, you'd need your own connection-handling framework. If parts of ldap3 can help you in writing that framework, you can freely use them, of course.

I know that HTTP is stateless, so I would like to group a set of commands in one request.
A payload should consist of

Target LDAP server address and port
Bind Command
Search/Modify/Delete or etc. commands

So one request can run multiple commands, resulting one complete response. This would solve the "stateless" part of HTTP, I think.
Nevertheless, I appreciate your hard work. Thanks.


'sslstrip.py

Traceback (most recent call last):
File "sslstrip/setup.py", line 6, in
shutil.copyfile("sslstrip.py", "sslstrip/sslstrip")
File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'sslstrip.py'

Must be a relative file path problem. Ill tag @Manisso


Specialized C containers for unknown sizes.

This PR is for creating an python list using C.
#294 Specialized C containers for known constraints.

This is missing the API functions that are similar to the list API of CPython as described in the original issue.
The use of an embedded CPython to compare PyList performance and API usage with your replacement. Mind you, it should be near similar API.

Sorry I am little bit confused about API. According to me API is like  C example.
Please you can explain a bit about API like this. And how can I run it. Sorry for my inexperience.

@sannanansari That is not meant at all, rather something like this from the CPython API:
https://docs.python.org/2/c-api/list.html
As described in the issue #294 what we are looking at, is a similar container that doesn't do C malloc but uses a static global buffer. So when the Nuitka static analysis has shown that to be possible, we could have a faster form here, but one that fits into templates. Having a similar API that the C compiler will often inline away allows for easy generation of C code for cases where it can be used and for cases where it can not be used.

@kayhayen Please you can review it and tell my mistakes. I have write this code with the help of documentation.

@kayhayen But problem is that it is not running with nuitka-env. It is running with python.

@sannanansari not running in Nuitka is OK for this exercise, this is foremost about comparing containers that use e.g. PyList, and PyDict, API etc. and ones that do not do that.
You would e.g. create a container that has a similar API, but is as described in the GSoC issue, not doing a malloc, outside of a static pre-allocated buffer. Maybe if you wrap it in a Python function, the Python API and the @sannanansari API, you can compare them with timeit, or the ticks with /misc/run-with-valgrind (spelling), what you prefer.
That would be your test bed. And then try to squeeze out things with e.g. "created empty/append some/full Iteration only" lists. That seems good stuff.

 You copied the bulk of another PR, including unfixed issues, and definitely not good code. And I am unsure how it relates to your task. Previously you seemed to be generating a C extension that could be ran, and that will save your from building hassle, and now you "stole" a failed build system for a main program binary that calls gcc manually, and won't work. Not a goo idea.

I am using Github Desktop first time. I want to go from nuitka->develop to nuitka->master. I accidentally press ok. It get commited. Sorry for that.

No problem, what you have there looks like a fair and probably working small extension module to test the PyList performance. Now make another one, which uses an alternative list implementation of yours, that has similar API.

This is unlikely to be completed at this time.


Typing a character into div contents causes inspector to re-render even though selection hasn't changed

STR

New project
Type "Hello world" into the div in , one character at a time

Observed: on each keystroke, inspector re-renders and flickers (maybe a section is being added?).
Expected: it doesn't, since selection doesn't change
NB This seems like a pretty recent (1w or less) regression

@enidemi could this be related to #1264 ?

This looks like a different problem, that flickering is very annoying

Oh well - at least the flickering is new, hopefully that'll help track it down faster


window is not defined

Uncaught exception: 'window' is not defined
this.startTime = window.performance.now() / 1000;
?

Is this lib dead?

Wow!


CNV-36460: Fix console router upgrade causing broken pages

📝 Description
Console upgraded the router pack and changed some components as HorizontalNav, which acts differently now.
Some broken pages I managed to fix only by getting history or location from the router package hook, and HorizontalNav were replaced in a newly created version and not consuming from SDK anymore.
🎥 Demo
Please look at https://issues.redhat.com/browse/CNV-36460?filter=12417679 for the broken images, the after is just as it was before.

/lgtm

/retest

/lgtm

/lgtm

/cherry-pick release-4.14


Enhancing WMTS support

This PR enhances the usability of WMTS Layers through the geoserver.action interface.
WMTS layers will not get cascaded in GeoServer anymore, instead we reroute them to the original resource after succesful legitmation check.
Some code for RESTful WMTS requests has been simplified due to the random nature of WMTS requests (no strict parameter ordering and occurence)
The geoserver.action interface can now be used to have a single endpoint for WMTS Capabilities. All WMTS layers in SHOGun will be written to a single Capabilities document in the WmtsResponseInterceptor class.
@devs please review

Thanks for review, merging now!


Change the order in which languages display on a collections list page (3days?)

Currently when you look at a collection in USEP, the inscriptions are sorted by language. As far as I can tell, the languages are listed in order of first occurrence - Greek | Latin or Latin | Greek.  However, if there is an Etruscan inscription, it sometimes sorts first Etruscan | Greek |  Latin
The order should always be Greek, Latin and then other language(s), in no particular order. It looks as if this is handled here:
https://github.com/Brown-University-Library/usepweb_project/blob/master/usep_app/usep_templates/collectioN.html
lines 16, 17.
Examples:
https://usepigraphy.brown.edu/projects/usep/collections/MI.AA.UM.KM has 4 language types. Greek is third in the list.
https://usepigraphy.brown.edu/projects/usep/collections/NY.NY.CU.Butl/ This one is has an ok order, but the Etruscan isn't expanded, so it appears as ett.
We also have Raetic = I'm not sure where the language labels come from. we should check to make sure that all the language attributes are being expanded correctly.
The language values are set here:
https://github.com/Brown-University-Library/usepweb_project/blob/master/usep_app/models.py. line 194 ff.
Changes are:
etr should be ett
add zxx with value "Non-linguistic"  (or something similar, EM should check with John Bodel).
Also, EM check two letter and three letter codes in language-writing system encodings.

1st step:
Add new languages and full-text labels, so languages display correctly.
As noted above, the language values are set here:
https://github.com/Brown-University-Library/usepweb_project/blob/master/usep_app/models.py . line 194 ff
Which currently reads:
 u"lat": u"Latin",
        u"grc": u"Greek",
        u"la": u"Latin",
        u"la-Grek": u"Latin written in Greek",
        u"lat-Grek":u"Latin written in Greek",
        u"etr":u"Etruscan",
        u"xrr":u"Raetic",
        u"und": u"Undecided",
        u"unknown": u"Unknown"

It should read:
 u"lat": u"Latin",
        u"grc": u"Greek",
        u"la": u"Latin",
        u"la-Grek": u"Latin written in Greek",
        u"lat-Grek":u"Latin written in Greek",
        u"ett":u"Etruscan",
        u"xrr":u"Raetic",
        u"und": u"Undecided",
        u"unknown": u"Unknown"
        u"zxx": u"Non-Linguistic Content"

Etruscan has been changed to "ett" from "etr", and I've added "zxx" which stands for Non-Linguistic Content"

1st step:
Add new languages and full-text labels, so languages display correctly.
As noted above, the language values are set here:
https://github.com/Brown-University-Library/usepweb_project/blob/master/usep_app/models.py . line 194 ff
Which currently reads:
 u"lat": u"Latin",
        u"grc": u"Greek",
        u"la": u"Latin",
        u"la-Grek": u"Latin written in Greek",
        u"lat-Grek":u"Latin written in Greek",
        u"etr":u"Etruscan",
        u"xrr":u"Raetic",
        u"und": u"Undecided",
        u"unknown": u"Unknown"

It should read:
 u"lat": u"Latin",
        u"grc": u"Greek",
        u"la": u"Latin",
        u"la-Grek": u"Latin written in Greek",
        u"lat-Grek":u"Latin written in Greek",
        u"ett":u"Etruscan",
        u"xrr":u"Raetic",
        u"und": u"Undecided",
        u"unknown": u"Unknown"
        u"zxx": u"Non-Linguistic Content"

Etruscan has been changed to "ett" from "etr", and I've added "zxx" which stands for Non-Linguistic Content"

Latin texts still displaying before Greek in collections (e.g. NY.NY.MMA). Continued high priority to fix. Order of languages always (as above) 1) Greek 2) Latin 3) any other languages represented in the collection, listed alphabetically

Latin texts still displaying before Greek in collections (e.g. NY.NY.MMA). Continued high priority to fix. Order of languages always (as above) 1) Greek 2) Latin 3) any other languages represented in the collection, listed alphabetically

completed!! closing


"Waiting for Backup" since update.

I have this installed on Synology.  I recently updated to the latest build but still cannot get this to resume backups despite clearing the cache folder.  Also it looks like it's trying to backup everything from scratch but it's stuck in "Waiting to backup".  Any idea how to troubleshoot this?
I used this command to initiate the container.
docker run -d --name=crashplan-pro -e USER_ID=0 -e GROUP_ID=0 -p 5800:5800 -v /volume1/docker/appdata/crashplan-pro:/config:rw -v /volume1/:/volume1:ro jlesage/crashplan-pro

What happen when you click "Run backup now"?

It say waiting for backup still

A day later and it still says "Preparing to run backup"

Try to look at /volume1/docker/appdata/crashplan-pro/log/service.log to see if there is anything useful.

Thanks, saw authentification issue, my subscription was expired because of expired credit card.  Updated info and all good again.


Make UI text more clear

The text now reflects that the path is acutally checked and that its
checking is independent of the value check.

Current coverage is 60.45% (diff: 100%)

Merging #124 into master will decrease coverage by 0.03%

@@             master       #124   diff @@
==========================================
  Files           334        334
  Lines         20557      20557
  Methods           0          0
  Messages          0          0
  Branches       2335       2335
==========================================
- Hits          12435      12428     -7
- Misses         7250       7255     +5
- Partials        872        874     +2

Powered by Codecov. Last update 36140ce...9e2300d

Thanks. It will be released with next non-cosmetic change.

@undera Thanks!


the reference is touch-events.d.ts is empty

seems move to another position, but hammer js still reference touch-events.d.ts

hammer.js


Implement "provoking vertex" configuration

See https://www.opengl.org/registry/specs/ARB/provoking_vertex.txt
This is a simple flag.

not happened in pre-ll


Refactor Audio Offload Manager

WHAT
Allow changing the offload mode without restarting.
Also improve the logging information.
WHY
Validate compressed audio offload in testing on different devices.
HOW
Checklist :clipboard:

[ ] Add explicit visibility modifier and explicit return types for public declarations
[ ] Run spotless check
[ ] Run tests
[ ] Update metalava's signature text files

@kul3r4 it's mostly debugging changes in sample app.  Main changes in library code are offload modes, Never/Always/Background.


Add support to Node20

In this PR:

Updates action to Node20
Adds Node 20 installation before every yarn install steps
Adds 'engines' property on package.json
Removes Node16 from pipeline

Closes https://github.com/UnlyEd/github-action-store-variable/issues/57

LGTM, did you try it? Integration tests are failing because those can't be allowed from another repo. I'll need to fork your branch and redo it from the repo so all the tests are executed properly. Let me know when you think it's good so i do just that!
Thanks for the PR

Sorry for multiple commits :V

No worries! I don't mind.

LGTM, did you try it?

I tried running build and tests locally and all checks passed.
Tests on PR checks failed because I added 'engines' property on package.json that force Node20. GH runner installed Node18 by default, so it was failing because of that.

I wrote that comment 5d ago and forgot to send it 😆


IGListGridCollectionViewLayout is not available on branch master

New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate

General information

IGListKit version: 2.1.0
iOS version(s): 10.2
CocoaPods/Carthage version: 1.0
Xcode version: 8.3
Devices/Simulators affected:None
Reproducible in the demo project? (Yes/No): no
Related issues: None

I´m using IGListGridCollectionViewLayout from the version on release, but when update the pod to the master branch the class is not available more ☹.. there is some reason? or is another class that replace it?

Thanks @kleiberjp !
Sorry about that. master is stable and reliable but it does have breaking changes. 😄
Checkout the CHANGELOG for details! 👍
https://github.com/Instagram/IGListKit/blob/master/CHANGELOG.md


Access to component instance in meta

Hello is possible to access to component instance in meta object of the component page?
Example in a page component:
meta: {
  breadcrumb: this.category.title
},

This example throws an error because this.category is undefined. Maybe this will be a nice feature.
Thanks

@javialon26 Hello, I'm using follow code with no errors.
  head () {
    return {
      title: this.category.cTitle
    }
  }

and this one from docs

head () {
    return {
      title: this.title,
      meta: [
        { hid: 'description', name: 'description', content: 'My custom description' }
      ]
    }
  }

@Kimel1 hello, thank you but my question is for meta router not for meta tags, see this issue #466.

I'm facing similar issues. I'd like breadcrumb name which defined in meta  to be translated by vue-i18n but can't use this.$t when meta is defined. It would be nice if meta can accept a function call

Hi @javialon26
Actually this won't be possible since meta will be used in middleware and the page component will not be created yet.


PanicException with cached_property in field_serializer.

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
See repro below, I've looked at the docs and it seems there shouldn't be any issues with cached_property now, especially not a panic.
thread '<unnamed>' panicked at 'dictionary changed size during iteration', /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.19.2/src/types/dict.rs:315:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
  File "ptest.py", line 39, in <module>
    Foo(foo="foo").model_dump()
  File "venv/lib/python3.11/site-packages/pydantic/main.py", line 308, in model_dump
    return self.__pydantic_serializer__.to_python(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pyo3_runtime.PanicException: dictionary changed size during iteration

Example Code
from functools import cached_property

from pydantic import BaseModel, computed_field, field_serializer

class Foo(BaseModel):
    foo: str

    @computed_field  # <-- fails with or without this (I wanted to use without)
    @cached_property  # <-- works if this is changed to property
    def foo_replacement(self) -> str:
        return "bar"

    @field_serializer("foo")
    def serialize_foo(self, v, _info):
        return self.foo_replacement

Foo(foo="foo").model_dump()

Python, Pydantic & OS Version
             pydantic version: 2.4.2
        pydantic-core version: 2.10.1
          pydantic-core build: profile=release pgo=true
                 install path: venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.5 (main, Aug 25 2023, 13:19:50) [GCC 11.4.0]
                     platform: Linux-6.2.0-34-generic-x86_64-with-glibc2.35
             related packages: email-validator-2.0.0 mypy-1.5.1 fastapi-0.103.2 pyright-1.1.329 typing_extensions-4.8.0

Hi @zakstucke,
Thanks for reporting this! This does seem to be a bug 🐛, I think on the pydantic-core end of things. I'll look into a fix and get back to you 👍.

I think it's a bit of both. When PyO3 added a check to prevent iterating a dictionary after it changed size, we introduced as a panic. Maybe we should have made iteration fallible, though that would be a bit breaking downstream so needs configuration.
https://github.com/PyO3/pyo3/blob/f12f928bd57e61fdf86f7751a3273708c31de31b/src/types/dict.rs#L338C3-L338C3
Even if PyO3 didn't panic there would be a different exception raised here, so there is still the question of whether pydantic-core should try to avoid this case.

Can anyone tell me what version of pydantic I should use to avoid this issue? Thanks a lot!


Improved keyboard_string

Inbuilt variable keyboard_string is the YYG recommended path for handling text entry
Limitations of keyboard_string

Setting the string is faulty or outright broken (docs recommend direct clearing & comparing which can crash and drops input)
Gets wiped at unpredictable intervals (app unfocus, etc)
Offers no caret
Offers no selection
Offers no clipboard integration

I propose input_keyboard_string to act as a privately managed, better behaved, configurable, keyboard-only single-line text entry utility
Feature inclusion proposal for input_keyboard_string

Updates on tick
Accessed via getters and setters
Diffs keyboard_string (additive only)
Backspace handling
Key repeat handling (optional)

Configurable delay
Configurable rate

Caret (one-dimensional, optional)

Configurable blink rate

Selection (one-dimensional, optional)
Clipboard interaction (optional)

Intra-runtime or extra-runtime (Windows only)

Additional control keys (optional)

Defaults

Caret/selection control

Delete
Left, Right
Start, End
Column left, Column right

Clipboard

Copy
Cut
Paste

Extensible

Feature omission proposal for input_keyboard_string

State
Non-keyboard interaction
Input blocking
Instancing
Multiline entry
Rendering assumptions

An example might demonstrate implementations of the above omissions

Overthinking this. All we need is:

Updates on tick
Accessed via getters and setters
Diffs keyboard_string (additive only)

#162

seems keyboard_string issues have likely been addressed -- setting to it is not a problem. follow-up pr in a bit.

new tech in #163

From @JujuAdams:
Mac, iOS, Linux all have show-stopping bugs on modal and/or keyboard_string, needs further review.
Feel free to revert if you want and I’ll work on my branch more when back in office.

Block get_string_async on on Linux and iOS/tvOS as modal is not production-stable

needs docs but as of #170 i'm happy with this


Kubespray issue in preinstall

BUG REPORT
Environment:

Cloud provider or hardware configuration:
Oracle Cloud VM instances
OS
Ubuntu 16.04.5 LTS
Version of Ansible:
ansible 2.6.3
config file = /root/kubespray/ansible.cfg
configured module search path = ['/root/kubespray/library']
ansible python module location = /usr/local/lib/python3.5/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
Kubespray version (commit) (git rev-parse --short HEAD):

Network plugin used:
cloud
Copy of your inventory file:
[all]
node1    ansible_ssh_host=<IP_ADDRESS>
node2    ansible_ssh_host=<IP_ADDRESS>
node3    ansible_ssh_host=<IP_ADDRESS>
[kube-master]
node1
[kube-node]
node2
node3
[etcd]
node1
#node2
#node3
[k8s-cluster:children]
kube-node
kube-master
[calico-rr]
[vault]
node1
node2
node3
Command used to invoke ansible:
ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml
Output of ansible run:
I'm including only the errors.
TASK [kubernetes/preinstall : Hosts | Update target hosts file entries dict with required entries] ******************************************************************************************
Friday 31 August 2018  08:49:04 +0000 (0:00:00.459)       0:00:29.069 *********
fatal: [node1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'etc_hosts_localhosts_dict' is undefined\n\nThe error appears to have been in '/root/kubespray/roles/kubernetes/preinstall/tasks/etchosts.yml': line 40, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Hosts | Update target hosts file entries dict with required entries\n  ^ here\n"}
fatal: [node2]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'etc_hosts_localhosts_dict' is undefined\n\nThe error appears to have been in '/root/kubespray/roles/kubernetes/preinstall/tasks/etchosts.yml': line 40, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Hosts | Update target hosts file entries dict with required entries\n  ^ here\n"}
fatal: [node3]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'etc_hosts_localhosts_dict' is undefined\n\nThe error appears to have been in '/root/kubespray/roles/kubernetes/preinstall/tasks/etchosts.yml': line 40, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Hosts | Update target hosts file entries dict with required entries\n  ^ here\n"}
There is another error which is ignored.
fatal: [node2]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'kubelet_max_pods' is undefined\n\nThe error appears to have been in '/root/kubespray/roles/kubernetes/preinstall/tasks/verify-settings.yml': line 69, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# NOTICE: the check blatantly ignores the inet6-case\n- name: Guarantee that enough network address space is available for all pods\n  ^ here\n"}
...ignoring
fatal: [node3]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'kubelet_max_pods' is undefined\n\nThe error appears to have been in '/root/kubespray/roles/kubernetes/preinstall/tasks/verify-settings.yml': line 69, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# NOTICE: the check blatantly ignores the inet6-case\n- name: Guarantee that enough network address space is available for all pods\n  ^ here\n"}
...ignoring
Anything else do we need to know:
Full output: https://gist.github.com/vyshsecmstr/b39c1a930f417908c17431f7c754d739

/assign

Arff...
I'm on it

@vyshsecmstr The only explanation I see is that your /etc/hosts does not contain any line with <IP_ADDRESS> or ::1.
Can you confirm and/or provide the content of the /etc/hosts of a node please?

<IP_ADDRESS>       localhost
<IP_ADDRESS>       node1
<IP_ADDRESS>       node2
<IP_ADDRESS>       node3
The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost   ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
<IP_ADDRESS>       k-master        k-master
Ansible inventory hosts BEGIN
<IP_ADDRESS> node1 node1.cluster.local
<IP_ADDRESS> node2 node2.cluster.local
<IP_ADDRESS> node3 node3.cluster.local
Ansible inventory hosts END
This is my /etc/hosts file

That's weird...
Anyway, I think there are some params missing in the command line you used ("-b" at least). I don't think that it could prevent /etc/hosts to be read by any user but you should add it (I guess it's needed at some point...)
Have you tried to deploy with the branch referenced in my PR?


Fix modules stop dependencies

What this PR does:
When stopping a module, its dependencies are not correctly honored. The modules Manager currently has support for getting the inverse list of dependencies of a module, but it can only find the 1st level of dependencies.
I think it was implemented this way because we assume that recursive dependencies are honored having a 1st level dependency stopping first, but a project could have some dependencies that don't return any service. A similar problem was fixed for start dependencies in https://github.com/cortexproject/cortex/pull/3551, while this PR addresses stop dependencies.
Which issue(s) this PR fixes:
N/A
Checklist

[ ] Tests updated
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Thank you, changes look good. Now more modules will be logged from this line, but that's not a big deal.
https://github.com/grafana/dskit/blob/49bec4161fc6f1b1dab775fe785d2a5ea3c5195d/modules/module_service.go#L109


fallbackLanguage broken after upgrade to 2.9

Subject of the issue
After upgrading from angular 1.4 to 1.5 and angular-translate from 2.8 to 2.9, language switching to "fallbackLanguage" stopped working.
Your environment

version of angular-translate: 2.9.2
version of angular: 1.5.0
which browser and its version: Firefox, Chrome

Steps to reproduce
In our application, language switching stopped working in a strange way. Switching among all languages works, but we cannot switch to 'en'. After some investigation, we found that dropping
$translateProvider.fallbackLanguage('en');
fixes the switching problems. Here is a part of our code:
.config(function ($translateProvider) {
  $translateProvider.useLocalStorage();
  $translateProvider.useSanitizeValueStrategy('sanitizeParameters');
  $translateProvider.useMessageFormatInterpolation();
  $translateProvider.preferredLanguage('en');
  $translateProvider.fallbackLanguage('en');
  $translateProvider.uniformLanguageTag('bcp47');
  $translateProvider.determinePreferredLanguage();
  $translateProvider.registerAvailableLanguageKeys(['en', 'cs', 'pl'], {
    // en
    'en-AU': 'en', 'en-BZ': 'en', 'en-CA': 'en', 'en-CB': 'en', 'en-GB': 'en', 'en-IE': 'en', 'en-JM': 'en',
    'en-NZ': 'en', 'en-PH': 'en', 'en-TT': 'en', 'en-US': 'en', 'en-ZA': 'en', 'en-ZW': 'en',
    // cs
    'cs-CZ': 'cs',
    //pl
    'pl-PL': 'pl'
  });

  $translateProvider.useLoader('$translatePartialLoader', {
    urlTemplate: 'modules/{part}/{lang}.json',
    loadFailureHandler: 'SITranslationErrorHandler'
  });
  $translateProvider.useLoaderCache(true);
})

.run(function ($rootScope, $stateParams, $translate, $translatePartialLoader){
  $rootScope.$on('$stateChangeSuccess', function () {
    if ($stateParams.lang !== undefined){
      $rootScope.activeLang = $stateParams.lang;
      $translate.use($stateParams.lang);
      $translatePartialLoader.addPart('translation');
      $translate.refresh();
    }
  });
});

Another way how to fix switching (but without dropping fallback language) is to move fallback language to .run() block:
$translate.fallbackLanguage('en');
and change useLocalStorage to useCookieStorage. Just one of these changes was not sufficient.
Expected behaviour
Language switching should be working - language should be switched.
Actual behaviour
Language switching is working except that switch to "fallbackLanguage" is ignored.

I have the same issue and noticed also, that this line (angular-translate:2112) is causing the problem:
} else if (langPromises[key]) {
and if we change it to:
} else if (langPromises[key] && langPromises[key].$$state.status !== 1) {
changing languages is working again.
It seems that when fallbackLanguage method is used, after file with translations is loaded, promise isn't removed from langPromises object.

Perhaps introduced in 40ad523. Is $$state.status an internal $q api for current resolution state?

Things so far to do:

[ ] Test case in browser
[ ] check for test case coverage in the unit tests
[ ] proper solution (if $$state.status is public api, it's fine. otherwise we have to look).

Any contributions are welcome ;) I'll look into it, but not before end of the week.

I'd try to have a look, but won't manage it before the weekend.

Note: If this is introduced by 40ad523, it would be okay in 2.9.0 still. It's a 2.9.2 fix.

Yes, I can confirm that 2.9.1 does not have this problem. So we can stay with 2.9.1 until a fix is made.

On 1st thing: "Test case in browser"
Tested in browser with my long-term, own fallback-all-in-scenario on canary - branch. As soon as the if block
if (!$uses) {

is commented out -> works as expected. Otherwise not.

FYI: created a test for the issue locally

@sebek64 / @mkalafior - I've provided a small PR, can you have a try on it and patch it probably locally manually for a short test if your both scenarios will be fixed? Would be great. Or just wait if knalli has done his check and integrated it to canary.
This fallback / preferred / whatever stack is a bit grown too volatile :-)

Published 2.10.0 few minutes ago, including the PR by @tspaeth .

Confirming that 2.10.0 fixes the bug, thanks to all who worked on the solution.


ONE_PASSWORD_EXTENSION_ENABLE_WK_WEB_VIEW define doesn't work if connected as CocoaPod

What I do:

Create new project with deployment target < 8.0
Add 1PasswordExtension through CocoaPods
Open .xcworkspace
Set ONE_PASSWORD_EXTENSION_ENABLE_WK_WEB_VIEW=1 in my project/target settings (doesn't matter)
Build project

What I receive:
WKWebView-dependent code is not compiled in OnePasswordExtension.m.
What I expect:
WKWebView-dependent code should compile.
Reason:
Defines in my target doesn't affect defines in .m files of Pods targets.

Hi @rermolov
Sorry for the delay on getting back to you on this one.
Could you tell me a bit more about what you're trying to do exactly and what your environment for the application you're working on looks like?
The idea behind the ONE_PASSWORD_EXTENSION_ENABLE_WK_WEB_VIEW setting is to allow for the developer of the app to control the runtime checking, but the code will only get compiled on iOS 8 and later targets. That code simply won't run on iOS 7.1 or earlier so you wouldn't want it to be run on a device that is running on those iOS versions. You'd only want it to run on iOS 8 devices and later. I assume in your case that your testing of this was on a device that was earlier than iOS 8.0.
But if you could please tell me a bit more about what you're trying to accomplish I might be able to help you figure out the best path forward.

I'm closing this issue for now, if you're still having difficulty please write back in, but it has been over a month since last contact.


Fixed value type coming from TextInputFieldProps

Thank you for your help and discussion throughout.
That said, I'm closing this PR, as this isn't exactly the API we're wanting for this.


improve error handling from client, fix cluster deletion

The kubermatic client returns an error pointer to the JSON structure. The PR improves displaying errors from the client. The deleting cluster was in an infinite loop.

@furkhat PTAL

/lgtm
/approve


[ARCTIC-1624] Modify column rewrite_input and rewrite_output type to longblob

Why are the changes needed?

fix #1624
Brief change log
persit more rewrited files
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (no)
If yes, how is the feature documented? (not documented)

LGTM


Workaround to filter out unwanted known hosts warnings

-o "UserKnownHostsFile /dev/null" to filter out unwanted Warning: Permanently added '<IP_ADDRESS>' (RSA) to the list of known hosts. warnings as described in #96.

Could you explain the background of this behaviour @brikis98?


build(traffic_light_classifier): remove download logic from CMake

Description

See #3137
Depends on https://github.com/autowarefoundation/autoware_common/pull/164
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@miursh @yukkysaito
this is just a friendly reminder that this PR is not active for more than 1 week.

@xmfcx @mitsudome-r this PR is now ready for review


ft4222: fixed PCA9555 expander detection

This fixes expander detection when connected to an FTDI4222. A "cold" PCA9555 needs a write before you can begin reading. Subsequent reads will cycle the input register though (0x00, 0x01). Thanks @whbruce for doing a great job merging my functionality otherwise.
Signed-off-by: Propanu<EMAIL_ADDRESS>

Set user.name in git to something real ;-) Corrected for you in this patch & merged.


Image

Image wont be uploaded (have to debug this)

Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/sskroller/Desktop/Cthulhu/cthulhu.py", line 80, in connections_handler
code = read_file(Project_Path,req_file_path,file_ext,imag_ext)
File "/home/sskroller/Desktop/Cthulhu/cthulhu.py", line 49, in read_file
code = op_file.read()
File "/usr/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

also propably have to send image as chunks

How much data can HTTP send?
4 Answers. The HTTP specification doesn't impose a specific size limit for posts. They will usually be limited by either the web server or the programming technology used to process the form submission. No limit by specification.
so no i dont lel


originalSchema for CommonModel should be called originalInput

Reason/Context
The reason why we should make this change is that the input does not necessarily have be JSON Schema but could be something completely unrelated.

@jonaslagoni Maybe we should have originalInput next to originalSchema? I mean, if we will have processor for graphql data from SDL to JSON Schema, then finally we must process JSON Schema not SDL, so originalSchema should stay.

Agreed in many cases if ever passed through the JSON Schema input processor it would stay originalSchema.
However, if you provide another processor which does something completely different XML for example, it does not have to convert the XML into JSON for the JSON Schema input processor but can create the CommonModel representation itself.
Then originalSchema would not make sense since it would now be originalStructor or what ever you could call it. Therefore a more neutral name such as originalInput makes more sense IMO.

This is a one of POV, but here is also a question: why we want to processor xml in custom way, if we have possibility to change xml to json and then process it as JSON Schema? :)  OriginalSchema/OriginalInput should be also useful to read it from code, using pure GraphQL or XML you haven't this option.

XML is just an example, could by any type of input, with its own InputProcessor that does not use the JSON Schema simplifier. They could handle their own processing of transforming the input to CommonModels.


Gateway Example

It would be amazing if this project had an example sketch like IBM IoT has:
https://github.com/ibm-watson-iot/device-arduino/blob/master/samples/ESP32BleGateway/ESP32BleGateway.ino
Example of a Bluetooth LE to Google IoT Gateway using ESP32/Arduino SDK

Acknowledged!  If you want to contribute an example for the new complex section, I'd be happy to review it!

@zwells if you're still interested in the gateway example you can find it here
https://github.com/GoogleCloudPlatform/google-cloud-iot-arduino/tree/master/examples/complex/esp32/Gateway

Excellent! Thank You so much!


Target all exists but does nothing

Xmake Version
xmake v2.6.7+dev.0428cdc48
Operating System Version and Architecture
Windows 11
Describe Bug
PS D:\tmp\xtest> xmake build all
[100%]: build ok!
PS D:\tmp\xtest> xmake build rng
error: unknown target: rng
PS D:\tmp\xtest> xmake build --all
[ 60%]: linking.release xtest2.exe
[ 60%]: linking.release xtest.exe
[100%]: build ok!

The behaviour of the "all" target is not well defined
Expected Behavior

Remove the all target and let the user use this name
Use the all target as a special target to build all targets (cmake behaviour)

For 1), the all target should not exists and produce an error message
Project Configuration
No response
Additional Information and Error Logs
No response

This is a legacy code.
I have deleted it, you can try again after updating to dev

That's good !


x/build/cmd/coordinator: SlowBot requests are sometimes not recognized (seemingly when re-requested on same patch set)

On https://golang.org/cl/263357, I repeatedly tried to trigger a nocgo SlowBot, and repeatedly failed to do so. (See the comment log there for details.)
I had thought that any builder at all could be triggered via a TRY= line, but now I'm not so sure. At the very least, it appears that the SlowBot configuration is missing a nocgo shorthand entry.
CC @golang/release

/cc @dmitshur @toothrot

I've looked over relevant code and wasn't able to spot a problem that would explain this. The linux-amd64-nocgo builder should be available as a SlowBot, like all other builders. It's possible I missed something, or maybe the problem is something subtle and rare (for example, maybe maintner corpus was behind, and the code that handles that edge-case has a problem).
From looking over CL 263357's more recent history, I see that the linux-amd64-nocgo slowbot was eventually picked up, which confirms this was an intermittent problem.
We can keep this issue open to track similar occurrences, should they happen again, and investigate further.
Adding a nocgo → linux-amd64-nocgo alias sounds reasonable. I've broken it out into #42105.

For ppc64 and variants the experience I've had is that even if a newer TRY alias list is requested, it will sometimes run the initial list specified for the CL. An example is in the second TRY list in https://go-review.googlesource.com/c/go/+/266202.
Another problem is that if an alias is mentioned in the TRY list which doesn't match anything, there is no message telling you that.

Some experimenting in CL 266202 suggests there's a good chance there is a problem with determining the "latest" TRY= request on the same patch set. So an (unpleasant) workaround until this issue is resolved is to make a new patch set when needing to make a different request.

I suspect the fix may be as short as described in my previous comment. CL 324763 is a recent occurrence and a good test case.


When use MirroredStrategy for multi-gpu and fit with multi-workers there is a error --"task_done() called too many times"

System information
OS: Ubuntu 18.04
Tensorflow 2.20 from pip install
Python version: 3.7.7
CUDA Version: 10.2
cuDNN Version: release 10.2, V10.2.89
GPU : 2070 x 2
Describe the current behavior
code:
gpus = tf.config.experimental.list_physical_devices('GPU')
for g in gpus:
    tf.config.experimental.set_virtual_device_configuration(g, [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=7000)])

mirrored_strategy = tf.distribute.MirroredStrategy(devices=["/gpu:0", "/gpu:1"])

train_image_generator = ImageDataGenerator(rescale=1./255, horizontal_flip=True, zoom_range=0.1, rotation_range=45) # Generator for our training data
validation_image_generator = ImageDataGenerator(rescale=1./255) # Generator for our validation data

train_data_gen = train_image_generator.flow_from_directory(batch_size=batch_size,
                                                           directory=train_dir,
                                                           shuffle=True,
                                                           target_size=(IMG_HEIGHT, IMG_WIDTH),
                                                           class_mode='binary')

val_data_gen = validation_image_generator.flow_from_directory(batch_size=batch_size,
                                                              directory=validation_dir,
                                                              target_size=(IMG_HEIGHT, IMG_WIDTH),
                                                              class_mode='binary')

sample_training_images, _ = next(train_data_gen)

with mirrored_strategy.scope():
    tinydarknet = keras.Sequential([
        keras.layers.Conv2D(16, (3, 3), strides=[1, 1], padding="same", input_shape=(IMG_HEIGHT,IMG_WIDTH, 3)),
        keras.layers.BatchNormalization(),
        keras.layers.LeakyReLU(alpha=0.1),
        keras.layers.MaxPooling2D((2, 2), strides=(2, 2)),
        ..........
        keras.layers.BatchNormalization(),
        keras.layers.AveragePooling2D(),
        keras.layers.Flatten(),
        keras.layers.Dense(1)
    ])

    # In[8]:

    tinydarknet.compile(optimizer="adam",
                 loss=tf.keras.losses.BinaryCrossentropy(from_logits=True),
                 metrics=["accuracy"])

# In[9]:

history = tinydarknet.fit(#_generator(
    train_data_gen,
    steps_per_epoch=total_train // batch_size,
    epochs=epochs,
    validation_data=val_data_gen,
    validation_steps=total_val // batch_size,
    workers=NUM_WORKERS
)

acc = history.history['accuracy']
val_acc = history.history['val_accuracy']

loss=history.history['loss']
val_loss=history.history['val_loss']

epochs_range = range(epochs)

tinydarknet.save("keras_model")

Describe the expected behavior
When I set workers=1 in fit(), it is normal work, but when I workers more than one , it is got a error:
tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: task_done() called too many times
Traceback (most recent call last):
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/tensorflow/python/ops/script_ops.py", line 243, in call
ret = func(*args)
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 785, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/tensorflow/python/keras/engine/data_adapter.py", line 801, in wrapped_generator
for data in generator_fn():
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/tensorflow/python/keras/utils/data_utils.py", line 880, in get
six.reraise(*sys.exc_info())
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/six.py", line 703, in reraise
raise value
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/site-packages/tensorflow/python/keras/utils/data_utils.py", line 875, in get
self.queue.task_done()
File "/data_ssd/anaconda3/envs/tf2/lib/python3.7/queue.py", line 74, in task_done
raise ValueError('task_done() called too many times')
ValueError: task_done() called too many times

@smallworld-network-wupeng
I ran the code shared and its unindented, please share simple stand alone indented code such that we can replicate the error faced or if possible please share a colab gist with the error.

@smallworld-network-wupeng
I ran the code shared and its unindented, please share simple stand alone indented code such that we can replicate the error faced or if possible please share a colab gist with the error.

fixed

@smallworld-network-wupeng
Kindly provide all details to replicate the issue or share a colab gist with the error faced.

@smallworld-network-wupeng
Kindly provide all details to replicate the issue or share a colab gist with the error faced.

I put all code to this colab. But how to upload the train images ?

@smallworld-network-wupeng
I do not have access to the link shared, please attach the images in a  zipped folder.

I have the same error with my code, I can't share it but could try to replicate it with the code and images of @smallworld-network-wupeng once fully provided.
OS: Ubuntu 20.04
Tensorflow 2.2.0 from pip install
Python version: 3.8.2
CUDA Version: 10.1, V10.1.243 (nvcc --version)
GPU: Titan RTX x 2

I have the same error with my code, I can't share it but could try to replicate it with the code and images of @smallworld-network-wupeng once fully provided.
OS: Ubuntu 20.04
Tensorflow 2.2.0 from pip install
Python version: 3.8.2
CUDA Version: 10.1, V10.1.243 (nvcc --version)
GPU: Titan RTX x 2

#39933 might fix the issue, is it included in the current release candidates for 2.3.0?

Yes , it is same bug , I fixed it.

Hi @smallworld-network-wupeng, glad to hear you were able to fix the issue and get your model training.
This slowdown can happen if your program is input bound and your GPUs aren't being used as efficiently as possible (there are other possibilities too, but this one is common). I would suggest taking a look at this tutorial for the Tensorboard Profiler which can help to discover what inefficiencies you might have. If you can share fully reproducible code, I'd be happy to help diagnose further.
Also since @quassy had the same original issue, do you might explaining how you fixed it? Just in case someone else runs into the same problem in the future.

@smallworld-network-wupeng Could you share what you have changed?
I personally tested my code with tensorflow==2.3.0rc2 just now and it seems to run without this error now. Will report back if the error comes up again.

@smallworld-network-wupeng Could you share what you have changed?
I personally tested my code with tensorflow==2.3.0rc2 just now and it seems to run without this error now. Will report back if the error comes up again.

yes, it is looks fixed in 2.3.0rc2 . You can fixed it as #39933  if you use 2.2.0


[BUG] Tool calls skip description of properties and required for json objects when they are part of a list

Tool calls skip description of properties and required for json objects when they are part of a list.
For example consider the tool definition.
class MyTool {

@Tool("get today's temperature for a city")
fun getTemperature(@P("city, both city name and airport code are required", required = true) city: City): Double {
    return 0.0
}

class City(@Description("name of the city") var name: String,
           @Description("airport code of the city") var airportCode: String)
}
}

{   "function": {     "name": "getTemperature",     "description": "get today's temperature for a city",     "parameters": {       "type": "object",       "properties": {         "city": {           "description": "city, both city name and airport code are required",           "type": "object",           "properties": {             "name": {               "type": "string",               "description": "name of the city"             },             "airportCode": {               "type": "string",               "description": "airport code of the city"             }           },           // This is missing  "required": ["name", "airportCode"] // This is missing          }       },       "required": [         "city"       ]     }   },   "type": "function" }
Expected behavior
The required for the property "name" and "airportCode" are missing.
Please complete the following information:

LangChain4j version: 0.35.0
LLM(s) used: OpenAI
Java version: 17
Spring Boot version (if applicable): 3.3.0

Additional context
The same can be manually constructed programmatically using ToolSpecification builder, but does not work when tools are defined in code.

@ashishs thanks a lot for reporting!


added netcat to the requirements

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
I tried to install my development entvironment and got an error
/bin/bash: line 1: nc: command not found

Give a brief summary of what the PR does, explaining any non-trivial design decisions
It just mentiones the needed netcat installation.
Other references
I am running on WSL. I guess many other environments have netcat already installed.

When would we use nc? I don't think we need nc. The current sandbox image also doesn't have nc. 🤔

let's put it this qay: without I get an error. I guess it is used to see if
the backend is already up and running...
Shimada666 @.***> schrieb am Sa., 6. Juli 2024, 16:07:

When would we use nc? I don't think we need nc. The current sandbox image
also doesn't have nc. 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/OpenDevin/OpenDevin/pull/2822#issuecomment-2211777691,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOFGNDNDWIFNVZRQ3ZKLA3ZK72YPAVCNFSM6AAAAABKOJKZGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG43TONRZGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Some question about training！

Hello,  your work is excellent！
But, I want to know how your pre-trained model is trained,and I want to know how your loss function is represented in your code.
Can you publish more your code details about the training process?
Can you contact me through email?
<EMAIL_ADDRESS>

Hi, thanks for your attention.
As said in our README file, our training code will be published next month.
I am sorry that we cannot publish it now.

Thank you very much for taking time out of your busy schedule to reply to me!
I am very interested in your work and look forward to your announcement!I will continue to follow your Github homepage!
thank you
On 12/25/2020 21:51，Zhanghan<EMAIL_ADDRESS>wrote：
Hi, thanks for your attention.
As said in our README file, our training code will be published next month.
I am sorry that we cannot publish it now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, our main training code is available now.

Hi, our main training code is available now.


Add fields and methods to TypicalModules for Testing purposes

Add CS1101S and related details.
Add constructor AddCommand for Tests.

Add new Tests for AddCommandTest #161


chore: add whiskers check to ensure themes are up to date

FWIW, @backwardspy and I are interested in making an organisation wide whiskers github action to avoid duplicating this type of workflow across every repo.
Also, I believe you'll want to pull down the same version as specified in your fleet.tera file, otherwise you may run into version discrepencies that fail the workflow in the future.

FWIW, @backwardspy and I are interested in making an organisation wide whiskers github action to avoid duplicating this type of workflow across every repo.

Oh thats nice! Once I was done with this one (for some reason it won't run :pensive:) I was planning on messaging you to ask if you were interested in making org level (would need quite a lot of changes i believe, but could be doable)

Also, I believe you'll want to pull down the same version as specified in your fleet.tera file, otherwise you may run into version discrepencies that fail the workflow in the future.

Would require extracting from the tera file, so Ill have a look into how to do that!

Would require extracting from the tera file, so Ill have a look into how to do that!

I can technically make Renovate do it automatically, suppose you can also extract it from the tera file but I'm not too fussed about creating a generalisable solution.


Theme for B4X

New Theme
I've created a new theme for B4X
Repository: https://github.com/siqueirabt/b4x-theme-dracula

Hey @siqueirabt! Thanks for your patience.
I just sent you an invitation to join the Dracula org. Once you accept the invite, you can transfer the repository.
Let me know if you have any other questions.

It's live @siqueirabt! https://draculatheme.com/b4x :D
Feel free to share with the B4X community!


Gam Login Report issue

Hi Jaylee / Team,
One of our user use to run the below script on daily basis and it was working fine till 26th Oct 2018 with correct report, but after 26th user getting report with Incorrect header (Multiple column information has been inserted.  Could you please assist us to fix this issue.
Please refer the script and the reports below.
Gam Version: 4.32
Script:
gam report logins start %date:~10,4%-%date:~7,2%-%date:~4,2%T00:00:00.000+10:00 end %date:~10,4%-%date:~7,2%-%date:~4,2%T23:59:59.999+10:00 > \nnorsovmdb222\Staging\Google_Logins\logins_%date:~4,2%-%date:~7,2%-%date:~10,4%.csv
Normal Report Header:
name,actor.email,actor.profileId,id.applicationName,id.customerId,id.time,id.uniqueQualifier,ipAddress,parameters.0.name,parameters.0.value,parameters.1.name,parameters.1.value,type
Incorrect Header Report:
name, actor.email, actor.profileId, id.applicationName, id.customerId, id.time, id.uniqueQualifier, ipAddress, parameters.0.name, parameters.0.value, parameters.1.multiValue.0, parameters.1.multiValue.1, parameters.1.multiValue.2,parameters.1.multiValue.3, parameters.1.multiValue.4, parameters.1.multiValue.5, parameters.1.multiValue.6, parameters.1.multiValue.7, parameters.1.multiValue.8, parameters.1.name, parameters.2.boolValue, parameters.2.name, parameters.2.value, parameters.3.boolValue, parameters.3.name, type

This is not an incorrect header, Google is now reporting more information, Gam is just outputting what Google provides.
Here is the API documentation, it does not seem to accurately reflect what Google is returning .
A login_success event is documented to return two parameters: login_type and is_suspicious.
It seems to be returning an undocumented third parameter: login_challenge_method
Ask Google to update the documentation.
Ross
<EMAIL_ADDRESS>
On Dec 2, 2018, at 5:58 PM, Sathyakumar93<EMAIL_ADDRESS>wrote:
Hi Jaylee / Team,
One of our user use to run the below script on daily basis and it was working fine till 26th Oct 2018 with correct report, but after 26th user getting report with Incorrect header (Multiple column information has been inserted. Could you please assist us to fix this issue.
Please refer the script and the reports below.
Gam Version: 4.32
Script:
gam report logins start %date:~10,4%-%date:~7,2%-%date:~4,2%T00:00:00.000+10:00 end %date:~10,4%-%date:~7,2%-%date:~4,2%T23:59:59.999+10:00 > \nnorsovmdb222\Staging\Google_Logins\logins_%date:~4,2%-%date:~7,2%-%date:~10,4%.csv
Normal Report Header:
name,actor.email,actor.profileId,id.applicationName,id.customerId,id.time,id.uniqueQualifier,ipAddress,parameters.0.name,parameters.0.value,parameters.1.name,parameters.1.value,type
Incorrect Header Report:
name, actor.email, actor.profileId, id.applicationName, id.customerId, id.time, id.uniqueQualifier, ipAddress, parameters.0.name, parameters.0.value, parameters.1.multiValue.0, parameters.1.multiValue.1, parameters.1.multiValue.2,parameters.1.multiValue.3, parameters.1.multiValue.4, parameters.1.multiValue.5, parameters.1.multiValue.6, parameters.1.multiValue.7, parameters.1.multiValue.8, parameters.1.name, parameters.2.boolValue, parameters.2.name, parameters.2.value, parameters.3.boolValue, parameters.3.name, type
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/825, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L28ud-4uGuXzUMUruzmM06o2rqzSks5u1IUsgaJpZM4Y9vss.


rename nEpochStart variable and adjust comments

Seems leftover from some old logic, but nEpochStart isn't technically what this is, nStartHeight seems more accurate. Also, comments are a little off, so cleaned up / removed as necessary.

Upon further consideration, nBlockHeight might be a more suitable variable name, since the superblock is issued at only one single point in time and doesn't really "start" or "end".

Yeah, start doesn't sound right here. Same for GetBlockStart().

Agree, blockHeight makes more sense here.


Default layout

pull me up

src/components/ui is for shadcn components. anything custom we make should not be in this folder
look into using shadcn components for the navbar. such as https://ui.shadcn.com/docs/components/navigation-menu or anything else that would be good
also instead of hardcoding link components include a list of js objects in the navbar file which get .map'd into navbar elements


contrib.wagtailmedusa doesn't work anymore with Django 1.8.1+

django-medusa doesn't support Django 1.8.1+ from what I can see because of this issue. The project seems dead too. :(
It should probably be mentioned somewhere that it doesn't work.
After some tweaking I managed to get django-bakery working with wagtailbakery even though it didn't seem quite as simple as medusa with the contrib package.

I think this should work, after installing django_medusa (I do this in a python virtual environment)
I edited the file Lib\site-packages\django_medusa\renderers_init_.py
then change the 2nd line down on the imports so it looks like this
from django.conf import settings
import importlib
from .base import BaseStaticSiteRenderer
from .disk import DiskStaticSiteRenderer
from .appengine import GAEStaticSiteRenderer
from .s3 import S3StaticSiteRenderer

@grbd isn't that exactly what the issue I referred to mentions though? :)
It seems far from ideal to me to edit a dependency to make this work.

We should remove the wagtailmedusa module, but we could replace it with wagtailbakery or something custom in the future though.

Logically, it would make sense to drop wagtailmedusa (since it's not compatible with any Django version we support) and point people at wagtailbakery instead. However, I wonder if there's an outside chance that someone wanting to upgrade their Wagtail site will prefer to monkeypatch Medusa (or even create a public fork of the project) rather than switch technologies - in which case we'd be doing them a disservice by dropping the wagtailmedusa module, and it would be better for us to deprecate it over several releases.
Although having said that, all they really need to do is take the wagtailmedusa code and host it within their own project - and if they're going to the trouble of fixing Medusa, they're probably not going to be deterred by that extra step. So maybe dropping it immediately isn't so bad after all...

Thanks for the link, I knew of djangobakery but not wagtailbakery, since I've been looking for a cms that can handle static exports

Just to chime in - we're using django-medusa with Python 3.4 and Django 1.9 right now, and it does require some massaging to work.
I would gladly swap it out for something that's better supported, even though it means a little rework

If you want a way of handling the search for a statically generated site, then it may be worth having a look at the code mkdocs uses for generating the json search file that it generates / uses via javascript

I've added a note in 5dee12508dfa81239ac27913eaf4ebc4c39fdd71 that django-medusa is unmaintained and incompatible with Django >=1.8. Will make a decision on formally deprecating / removing / replacing it for Wagtail 1.7.

I think, it's time to close this issue, because contrib.wagtailmedusa is no longer with us since Wagtail 1.10. See c7b778c4e9b35ab3a88c94a4c38bb4498d709a0a


twister: Add option to print boards id along tests results

Is your enhancement proposal related to a problem? Please describe.
We run tests on board farms with multiple hw instances of the same zephyr's platform (e.g. 3x board_x, 3x board_y, 4x board_z, ...) to speedup execution by parallelization. Twister supports this with hw map feature. However, when printing results, twister only states which platform it was (e.g. board_x test_A falied). It is not possible to figure out if failures can be related to a certain hw. E.g. one will see that several tests failed on board_x, and starts looking for issues with tests, whereas it was issue with a single dk (certain id).
Describe the solution you'd like
A flag --show-hw-id is added. If so, an id of a board is printed next to it's name, when tests' statuses are printed. In addition, this id will be stored in test reports.
Describe alternatives you've considered
This is available by default when hw maps ar used.

Fixed by https://github.com/zephyrproject-rtos/zephyr/pull/61623


Path markers are not rendered correctly

Description
When rendering an SVG graphic using the image function, marker elements on paths are not rendered correctly.
I generated the following simple graphic of a red arrow in inkscape:

After including it in my document with
#image("arrow.svg")

it is diplayed as

The arrow heads are both not respecting the color, nor the alignment with the path.
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Okay, unfortunately Inkscape uses an SVG2 feature which is not currently supported by us for the color. As a workaround:
Open Inkscape Settings -> Input/Output -> SVG export and then check the following items:

Then, when saving your file, press "Save as" and make sure to enable the following option:

This should at least temporarily fix the color problem. For the arrow orientation, you will have to wait for a fix from our side I'm afraid, but it should be fixed by the next release.

Current status is that arrow orientation should be fixed by now, but making the colors match still requires changing Inkscape settings.

This has been implemented upstream, so it should be fixed once we update the dependency in Typst.

Fix is now on main.


Updates to develop branch

Hi, is there any chance we can merge these PRs to develop branch soon?
https://github.com/jonmiles/bootstrap-treeview/pulls/skateman
We have multiple parties downstream from our patternfly project interested in these changes and would like to update our dependency to target develop until they can be merged to master. These PRs fix a security alert and make other customizations to the treeview we'd find useful.

It's doubtful that any current PRs will be merged, unless they were written against develop they will no longer to valid.
I will not be merging changes just because people create PRs.
I will finish v2.0 as and when I have time. Paid client works first, social life then open source.

@jonmiles thanks for your response - these PRs are written against develop branch. Do you see a lot of changes coming to develop branch soon? We would like to incorporate these changes, but if you don't think you will have time, let us know.


allow B->C transition in waiting for auth

This should never happen with a compliant car, but can be triggered during manual testing. In this case it is better to just accept it as it not easy to understand for the tester what happend and why it does not charge.

Relais will of course only close when authorization etc is done.


Expose Swagger-UI in addition to API spec

Hi Ravi,
I have a proposal to expose Swagger-UI in addition to API spec. It makes it really handful in development environment.
In production I can use some docker instance with Swagger-UI aggregating several api specs from several api urls.
But in development environment it is overkill to configure Swagger UI separatelly for each service.
So I extended your very cool plugin to automatically host swagger-ui on "/<json_spec_path>/swagger-ui.html". I strongly believe, that if you already provide to client api spec in json format, then you want to give them swagger-ui as well. And some of them (corporate users), for example, don't want to use public services to browse their private API. Cause of security reasons
Regardless implementation (i am currently 3 days Rust programmer, so it tooked 2 hours for me to write this 10 lines of code, but it works! so don't beat me please :D):

I'm not sure if concatenate of path with "swagger-ui.html" is just enough. Maybe its needed to predicate it with root service url - idk. But want to know

I love askama template engine. Cause it embeding templates into executable. And checks all parameters used in templates for their existance in compile time. No chance for runtime errors.

SwaggerUIHandler(path.to_string()) - have no idea how to avoid this to_string call :D

I copy pasted swagger-ui.html directly from its original source. From here - https://github.com/swagger-api/swagger-ui/tree/master/dist
And I embedded all javascripts directly inside html to just speed up the process for me right now. Probably I need (or someone else) to fine tune there favicons and so.

And one more thing about security. swagger-ui should not use any external resources and make call to external web resources, because of security reasons. I think that should be taken as a requirement for this plugin

Thank you for great job!

I'm not sure if concatenate of path with "swagger-ui.html" is just enough.

I'm planning to support other web frameworks in the future, so this won't reside in where it's at right now. In the current state, the UI doesn't seem like it's configurable. While it's certainly appreciated to have a simple method to get the UI up and running, there should be an option for users to decide how the UI files should be served (CORS headers, custom icon, gated by authentication, etc.).

I love askama template engine. Cause it embeding templates into executable. And checks all parameters used in templates for their existance in compile time. No chance for runtime errors.

I think askama feels a little bit heavy for us, given that we're only using one variable and it's not that complex. I'm using tinytemplate in the build script to help with rendering, so I'll probably move to it later.

I embedded all javascripts directly inside html to just speed up the process for me right now.

Maybe we should just add a few more options to the swagger handler, expose it from the plugin and let the users decide how they wish to configure/mount it in their app.

I love this! Just what I need.
General question Isn't this completely independent of paperclip? As in this could live in its own crate and simply be added as another endpoint just like users add their own endpoints?
I mean, paperclip's docs could still describe how to set it up to work together, but it doesn't need to be part of paperclip.

General question. Isn't this completely independent of paperclip? As in this could live in its own crate and simply be added as another endpoint just like users add their own endpoints?

As for me, a number of web framework plugins support serving the UI, so I think paperclip should have this feature. While I'm okay with having the static files in this crate (because it's feature-gated and future plugins will find this useful), it doesn't necessarily have to be in this crate. It can live in its own crate.

I think askama feels a little bit heavy for us, given that we're only using one variable and it's not that complex. I'm using tinytemplate in the build script to help with rendering, so I'll probably move to it later.

Yes, sir! I'll check tinytemplate and try to use it

I definitely need this! It's such a great idea!
Let me know if you need any help. I would be glad to contribute.

I definitely need this! It's such a great idea!
Let me know if you need any help. I would be glad to contribute.

you are welcome to finalize this. i switched to another more important for me things. so i have no idea, when I can back to this. you can check the content of pull request - its very simple, and read discussion here about problems that it have. I thinks there was only one or two thing left to improve before merge

Okay, I will open a new pull request soon

I have been really busy in the last few days.
I hope I will have enough time to open the new PR tomorrow.

I opened the new PR.
See https://github.com/wafflespeanut/paperclip/pull/228


Drop support for root_uri as an initialization parameter in ruff_server

Summary
Needed for https://github.com/astral-sh/ruff/pull/10686.
We no longer support root_uri as an initialization parameter, relying solely on workspace_folders to find the working directories. This means that the minimum supported LSP version is now 0.3.6.
Test Plan
When opening a folder in VS Code, you shouldn't see any errors in the log which say No workspace(s) were provided(...).

Can you clarify if this is the dependency version or the LSP spec version?

This would be the LSP spec version.

We no longer support root_uri as an initialization parameter, relying solely on workspace_folders to find the working directories. This means that the minimum supported LSP version is now 0.3.6.

Note: An alternative would have been to mark the usages as allow(deprecated) but I think removing it is fine considering that the most recent LSP spec is 3.17 and 3.1 was released in 2017 (I couldn't find the release date for LSP 0.3.6)

@MichaReiser I think eventually the plan will be to build workspace folders solely from the settings passed in via initialization options, which would let us avoid using workspace_folders as well.