Can I control the resolution of each level?

like the info below?
Tile Info:
Height: 256
Width: 256
DPI: 96
Levels of Detail: 5
Level ID: 0 [ Start Tile, End Tile ]
Resolution: 1.903568804664224E-5
Scale: 8000
Level ID: 1 [ Start Tile, End Tile ]
Resolution: 9.51784402332112E-6
Scale: 4000
Level ID: 2 [ Start Tile, End Tile ]
Resolution: 4.75892201166056E-6
Scale: 2000
Level ID: 3 [ Start Tile, End Tile ]
Resolution: 2.37946100583028E-6
Scale: 1000
Level ID: 4 [ Start Tile, End Tile ]
Resolution: 1.18973050291514E-6
Scale: 500

what does "tile detail" do ?

The detail is the log2 of the resolution of the tile, so -d8 would be 256 units per tile, -d9 would be 512, -d10 would be 1024, and so on. Currently the only option is to specify the detail at maxzoom vs at all other zooms rather than specifying each zoom individually.
What are you trying to do? I don't think I really understand.

@ericfischer i want to specify the map resolution of each zoom level,for zoom level 0,the resolution is Resolution: 1.903568804664224E-5,and so on,how can i do that?

What are the units on that resolution of 1.903568804664224E-5? Meters?
The z0 tile covers the entire world, so for the normal detail of 12, one tile unit is 360 / 2^12 / .00000274 feet = 32077 feet = 9780 meters.

what's the difference between "tile detail" and "tile size"?

@ericfischer what's the difference between "tile detail" and "tile size"?they are the same?

When I say "tile detail" I am talking about the resolution of the integer coordinate system within each tile, so a "detail of 12" means that locations within the tile are snapped to a 4096x4096 grid (2^12 = 4096).
When I say "tile size" I am talking about the number of bytes that it takes to store the compressed data for each tile. Usually this is in the context of the 500,000 byte limit that the Mapbox service imposes on tile sizes.

I see now that the
Level ID: 0 [ Start Tile, End Tile ]

thing is something that shows up in ArcGIS MapServer metadata files. What they call "levels of detail" is what I call "maxzoom" so that is probably the start of the confusion.
I finally understand the unit: the "resolution" is the size of a pixel in EPGS:3857 pseudo-meters. For 256x256 tiles, MapServer files have
Height: 256
Width: 256
DPI: 96
Levels of Detail: 20
    Level ID: 0 [ Start Tile, End Tile ]
        Resolution:<PHONE_NUMBER>28
        Scale: 5.91657527591555E8

which comes from
6378137 * π * 2 / 256 = 156543

(the EPGS:3857 radius of the world, converted to circumference by multiplying by 2π, and then dividing by the tile resolution), and
(6378137 * π * 2) / (256 / 96 * 2.54 / 100) = 591658700

(the EPGS:3857 radius of the world, converted to circumference by multiplying by 2π, and then dividing by the size of a tile on screen in meters: 256 pixels at 96 dpi, converted to cm by multiplying by 2.54, converted to meters by dividing by 100).
So in the case of tiles from Tippecanoe, the values for the z0 tile with default detail -d12, and ordinarily taking up 512 pixels on screen, are:
Resolution: 6378137 * π * 2 / (2^12) = 9783.939
Scale: (6378137 * π * 2) / (512 / 96 * 2.54 / 100) = 295829350.4

Each additional zoom beyond z0 doubles the resolution and halves the scale.


Support for folders providing namespaces in xcassets

Using R.swift i have stumbled upon issue, when using xcassets folders, with "Provides Namespace" checked.
We had xcassets structure in project similar to (all major folders providing namespaces):

Admin

Home

...

HowItWorks

image1
image2
...

...

User

Home

...

HowItWorks

image1
image2
...

...

In that case, the correct path for the image is for example: Admin/HowItWorks/image1 - which did not work (R generated just image1).
Another issue was duplicates - in our case, Admin/HowItWorks/image1 was different than User/HowItWorks/image1 - these are two different images, with different names - but R resolved them as duplicates.
I believe that adding namespaces folders support to parsing xcassets is solution, which will also provide a bit more flexibility on how to logically group assets in project.
Major propositions are:

If no xcassets subfolders provides namespaces - R should work as it does
If xcassets contains folders, that provides namespaces, they should create nested struct. For our case it results in accessing images like R.image.Admin.HowItWorks.image1

In this PR I added necessary model and changed a bit ImageStructureGenerator, to apply to this.
Added:

Added namespacd subfolder model in asset folder
Added convenience methods for URL
Added convenience methods for Array, to merge subfolders from different xcassets
Added reporting of conflicting names between images and asset subfolders
Added subfolders struct generation

Changed:

extended AssetFolder with properties files names and extensions
extended AssetFolder with subfolders, allowing tree structure generation
extended ImageStructGenerator, allowing to flatten all subfolders providing namespaces from all xcassets folders

Hello - is there any way to check what is failing on bitrise? I thought it was Swift version (used 3.1, project is for 3.0), but after commit update it still fails.
I've setup bitrise CI for my fork and runs fastlane runalltests - which seems to pass (stack - Xcode 8.0 on el capitan)

Thanks for your PR!
You can ignore the bitrise error, it currently isn't setup to build pull requests from external repositories.
I haven't looked at the PR in detail yet, but from your description this sounds like a good idea!
Can you include a examples of nested folders in the ResourceApp example project?
Including tests for edge cases like duplicate names.

Thanks for the information - I will update PR with that edge cases and
examples!
If I get it right - I should add emaples that produces warnings (like
naming namespaces folder same as image asset), to ensure that generate code
will compile? I will check current test cases anyway, but wanted to be sure.
Best regards
Andrzej
--
Andrzej Michnia
Andrzej Michnia GirAppe Studio
[ iOS & game development ]
dnia 10 maja 2017 o 21:17:07, Tom Lokhorst<EMAIL_ADDRESS>napisał:
Thanks for your PR!
You can ignore the bitrise error, it currently isn't setup to build pull
requests from external repositories.
I haven't looked at the PR in detail yet, but from your description this
sounds like a good idea!
Can you include a examples of nested folders in the ResourceApp example
project?
Including tests for edge cases like duplicate names.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mac-cain13/R.swift/pull/325#issuecomment-300585258,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD4Q5OX1vGXbWS1ONwneorGZfIUpi4Xjks5r4g0ygaJpZM4NWhRX
.

I have added tests (basically - two more warnings check) for edge cases:

Two xcassets folders, with same namespaces subfolder, containing conflicting images
Conflict between image name (Uppercased) and namespaces subfolder name - struct generation skipped and warning produced
Two xcassets folders, with same namespaces subfolder should not produce warning, their contents are merged, as long as the images are different

Hello, what is status of that issue?

Hi, sorry about not replying sooner.
I'm a bit busy with other things at the moment.
I tested your branch a few days ago, and everything seemed to work correctly!
I want to do a bit more testing, including testing this branch in a bunch of existing projects with lots of images.
If everything continues to work, I'll merge this branch and this feature will be in the next R.swift release.
Thanks a lot for your work so far!

Nice work @amichnia !!! I can't wait for new R.swift release

@rafalwojcik Good news! This is in the R.swift 3.3.0 release!


Want to add a bank front page using html and css

Kindly assign me this issue

Kindly assign me this issue


Battery Menu Bar

Extension
https://www.raycast.com/panrafal/battery-menubar
Raycast Version
1.82.5
macOS Version
12.7.6
Description
Does not show the number for how much the battery is charged in the Menu bar, just a blank space for the default view. The percentage is an extremely high number for whatever reason.

Other battery app has no problems detecting and showing the correct amount

More screenshots

I have disabled/enabled many times, deactivated/activated, refreshed it, and done all sorts of toggling; nothing fixed it.
Steps To Reproduce
Literally installed the extension and activated it. I played around with all the settings, didn't fix it.
Current Behaviour
No response
Expected Behaviour
No response

I think this is a nice battery app, just that I can't seem to use it at this moment. Hopefully it gets addressed soon

I have installed this extension, and it works successfully. I suggest you try reinstalling the extension.

Just uninstalled and reinstalled it. Same problem occurs.
Hopefully the developers are able to look into this soon.

@robotflaqd Might have to do with the fact you are running MacOS 12, which is pretty old (I'm on 15 now), so it can be that ioreg is reporting numbers that should be interpreted differently by the extension... Probably not something the developer can fix, unless someone is running on MacOS 12 and is willing to debug it.

Perhaps so, but I honestly don't think MacOS 12 is that old...
If that's the case, then it's weird how other apps are able to pull battery information (along with other information that ioreg is used for) correctly, namely the Stats app getting my battery information (and every other information that app allows) as shown in the screenshot in the post running alongside the Battery Menubar Raycast extension.


Possible lockup-issue with i2c_write_blocking versus i2c_write_timeout_us (maybe conflicting with USB serial?)

Hi, I am working on a Pimoroni RP2040 product that involves regular communication with some onboard I2C devices at 400KHz.
During my testing I was encountering frequent lock-ups after a call to i2c_write_blocking had completed. I checked this by setting a pin high before the call and to low afterwards. The pin would go low, suggesting the function had completed, then the lockup would occur before reaching my next line of code.
This was very strange to me, as I had successfully got the product working with a custom build of CircuitPython, which I had written C level drivers for. Checking how they implement I2C, I saw that i2c_write_timeout_us was used, with a 1 second timeout.
Switching to this call in my code the lock-ups went away, without any timeouts actually getting triggered. Checking the pico-sdk, I see that both functions call i2c_write_blocking_internal, with the latter having a callback that results in the below if statement getting executed.
https://github.com/raspberrypi/pico-sdk/blob/6a7db34ff63345a7badec79ebea3aaef1712f374/src/rp2_common/hardware_i2c/i2c.c#L166-L172
Suspecting that the longer loop time the timeout call was having a positive effect, I added a sleep_us(10) as an else condition, and sure enough the lock-ups from i2c_write_blocking_internal go away. Switching to a debug build also made the issue go away, thus ruling out SWD debugging.
Also, sending CTRL-C via the USB terminal would break the board out of the lock-up, though devices like PIO would not resume.
I am completely baffled by this!
For now I can switch my code to using the timeout function, and carry on. I just thought I would raise it in case there is an actual issue that needs resolving.
P.S: It may be inconsequential, but I have observed that my "debug" pin goes low before I2C comms complete, for the i2c_write_blocking code path:

Whereas my "debug" pin goes low after the I2C comms complete, for the i2c_write_timeout_us code path:

Okay, me just switching to i2c_write_timeout_us isn't enough to stop the lock-ups. Seems adding sleep_us(10) into both of those do...while loops works though. Putting a sleep after the loop (or even after the function call) has no effect.
I'm suspecting I2C may be a red herring though, as the lock-ups (without those added sleeps) seem more prevalent when there is more USB serial output, which is related to changes from the I2C devices. Just tested now and I don't get any lock-ups if I turn off the printouts after removing those sleeps.

Does the problem go away if you use a uart instead of usb? Do you have an example that demonstrates the issue?

I am also seeing frequent lockups on the i2c bus (both instances).
On i2c1, my code is polling four colour sensors, each on their own pair of SDA/SCL pins (as the sensors are fixed with a single i2c address). Disabling the i2c, reconfiguring the bus pins, and reenabling the i2c was often leaving the SDA pin latched low.  Adding a sleep_us(100) between bus switches appears to have worked around the issue.  Power cycling the colour sensors clears the bus which indicates it was latching the SDA line.
On the i2c0, I am talking to a single MPU6050.  In this case again the SDA line is being latched low by the slave.
The logic analyser trace would indicate that under some circumstances the i2c may not be sending the clock cycle required to clock in the slave device ACK, which leaves the slave holding the SDA line low.
Bit-banging a single clock cycle on SDA causes the slave to release the SDA line.

Wow! I was encountering I2C lockups, and it took me a full half day to start considering that something might be wrong other than my own hardware or code. Thank you all very much for bringing up this thread, it's been a big help. I'm attempting to work around the issue with the i2c_write_timeout_us technique mentioned by @ZodiusInfuser for now. Hopefully this will be fixed soon.
How does such a fundamental part of the pico-sdk get broken? I'm surprised that there hasn't been a bigger stink about I2C failing in a fatal way like this. Does this bug only impact certain devices under very particular conditions?
In case it helps, I'm using a M24C02 EEPROM at 100kHz, right up next to GPIO 2-3 on the RP2040. I have 2.2kOhm pullup resistors on both SDA and SCL. I have another device (MCP4017 digipot) on the same net, a few millimeters further from the RP2040 than the EEPROM, and haven't had any lockup issues with that device when writing to it over I2C.


Get position and size of window?

Once user adjusts the window I want to get the width and height of window along with x and y position of the top left corner of the window.Can I get that?
Thank you!

Hey!
I start a new project to handover this library
https://github.com/CanHub/Android-Image-Cropper
The ideia is that we keep improving because this project don’t have updates since 2018
Hope I can count with your help.
Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract


tests/e2e: KBS property incorrectly required

When running a libvirt test (to check it is still okay after the CI hasn't been working for ~2 weeks 😢). I was hitting an issue about KBS image propertie not being provided:
# make test-e2e
go test -v -tags=libvirt -timeout 50m -count=1 ./test/e2e
time="2024-03-05T14:42:01Z" level=info msg="Do setup"
F0305 14:42:01.840056   24072 env.go:369] Setup failure: kbs image not provided
FAIL	github.com/confidential-containers/cloud-api-adaptor/test/e2e	0.041s
FAIL
make: *** [Makefile:95: test-e2e] Error 1

However I didn't set DEPLOY_KBS=yes, so I don't think is should be needed.
I guess this shows the importance of those CI checks!

FYI I've added https://github.com/confidential-containers/cloud-api-adaptor/pull/1726 to port Magnus' mkosi fix into packer, to hopefully fix the podvm issue and had my kcli PR merged, so hopefully we are getting closer to having working CI again!


fix(Table): v-model causing first column missing

🔗 Linked issue
Following up on this comment
https://github.com/nuxt/ui/pull/2549#issuecomment-2536029419

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks @rdjanuar!


Publishing to throttle_command doesn't move the car in the simulator

ros2 topic pub -r 1 /autodrive/f1tenth_1/throttle_command std_msgs/msg/Float32 "{data: 1.0}"
publisher: beginning loop
publishing #1: std_msgs.msg.Float32(data=1.0)
publishing #2: std_msgs.msg.Float32(data=1.0)
publishing #3: std_msgs.msg.Float32(data=1.0)
i have the simulator connected to the ip address <IP_ADDRESS> on port 4567. I can see the topics in rviz image, tf etc.
root@bd5628f8f622:/home/autodrive_devkit# ros2 node list
/autodrive_incoming_bridge
/autodrive_outgoing_bridge
/rviz
/transform_listener_impl_6510906eb600
ros2 node info :
/autodrive_outgoing_bridge
/autodrive_outgoing_bridge
Subscribers:
/autodrive/f1tenth_1/steering_command: std_msgs/msg/Float32
/autodrive/f1tenth_1/throttle_command: std_msgs/msg/Float32
Publishers:
/parameter_events: rcl_interfaces/msg/ParameterEvent
/rosout: rcl_interfaces/msg/Log
Service Servers:
/autodrive_outgoing_bridge/describe_parameters: rcl_interfaces/srv/DescribeParameters
/autodrive_outgoing_bridge/get_parameter_types: rcl_interfaces/srv/GetParameterTypes
/autodrive_outgoing_bridge/get_parameters: rcl_interfaces/srv/GetParameters
/autodrive_outgoing_bridge/list_parameters: rcl_interfaces/srv/ListParameters
/autodrive_outgoing_bridge/set_parameters: rcl_interfaces/srv/SetParameters
/autodrive_outgoing_bridge/set_parameters_atomically: rcl_interfaces/srv/SetParametersAtomically
Service Clients:
Action Servers:
Action Clients:
But when i publish a command, the simulator shows no effect. Can anyone please explain why?

@saahu27 Based on the logs you have shared (very helpful by the way), it does not seem that there is any error or issue.
One of the most important thing to check would be in which mode you are running the vehicle - Manual or Autonomous. In order to switch modes, click on the Mode button to change its status from Manual to Autonomous and you should be good to go!
Here is a screenshot to guide you better:

Hope this helps and all the best!


Go socat

Changes
Minimalistic socat written in Go.

PTAL @lkingland @matzew @gauron99

socool
/approve


Training Data

Hi Ido,
Could you please share the training data for ERGO-II? Also, is the training data for the previous ERGO model is same as ERGO-II?
Thank you,

Hi, ERGO-II training data is the same as ERGO training data (however we utilized more features).
There are two main databases:
McPAS - http://friedmanlab.weizmann.ac.il/McPAS-TCR/
VDJdb - https://vdjdb.cdr3.net/search
See the paper for more details.
Ido

Hi, thanks for the reply. Could you please share the negative dataset? I am trying to generate the negative set as described in the paper but unable to do so.

The pickle files in the samples directory include also the negative examples.
https://github.com/IdoSpringer/ERGO-II/tree/master/Samples

Thank you so much. It solved the issue. Also, could you please tell if metrics such as aur-PR, MCC were used to evaluate the model performance?

No, we evaluated the model performance on several tasks using (only) ROC AUC as detailed in the manuscript.

Thank you.

Hi @IdoSpringer , could you please tell if using only AUC ROC as a metric on a 1:5 imbalanced dataset is misleading? ideally for imbalanced datasets, AUC-PR and MCC are better metrics.

We do not believe that ROC AUC is misleading, but this is the only metric that we used. You may check other metrics.

Sure, Thank you so much for your reply.

Hi @IdoSpringer , could you tell what steps I must follow to replicate the results in the  ERGO-II paper? Thanks


OAuth error when deploying package

Trying to deploy the following package:
https://githubsfdeploy.herokuapp.com/?owner=SalesforceFoundation&repo=visualforce-typeahead
gives me the following error:

Oops, something went wrong...
Authentication Failed: OAuth login invalid or expired access token
Be sure your Salesforce organization does not have IP restrictions. Logout and try with another user or organization.

When I clicked the link, Production / Develoepr was the option, and I didn't change the names of the owner or repository. The organization is a Developer Edition, do I need to change some configuration on the org to allow the tool to do its job?
If not, then might this be related to Salesforce dropping support for TLS 1.0?

Hello Andy,
As we spoke about on your personal website, also having some trouble with the deploy button to push apex wrapper code to my dev org. Looks like it's the same issue as above.
Steps to reproduce:
I do get the prompt to select production - developer / sandbox as well as the Owner and Repository upon pressing the deploy button.
I leave it as Production - Developer and keep the Owner at financialforcedev and Repo at apex-mdapi.
I then login to my org, it processes, and then gives Oath error.
I do have mydomain turned on, if that matters.
Thanks!
-Joseph

Ok thanks, i'll have a look at this, my domain might be it, does it work in a fresh DE org setup from developer.salesforce.com?

Andrew, I don't know if my DE org counts exactly as fresh, but I can tell you that it was created on 15 Mar. It is pretty new, and I only made some minor development (objects and pages). Nothing major that would affect deployments, in my opinion. Almost fresh, I'd say.

Yep looks like a TLS 1.0 issue, standby...

This should be sorted now, can you retry? (close and restart your browser).

Yes, it worked now flawlessly! Thank you. Great tool, man!

worked for me as well, thanks Andy!


Modifying schema of inherited class

Not sure how to modify inherited schema so I've created them separately. Please could someone show me how to refactor:
swagger_schema :'Users::Registrations::New' do
  property :data do
    key :type, :object

    property :type do
      key :type, :string
      key :default, "users-registrations"
    end

    property :attributes do
      key :required, [:email]
      key :type, :object

      property :email do
        key :type, :string
      end
    end
  end
end

swagger_schema :'Users::Registrations::Existing' do
  property :data do
    key :type, :object
    key :required, [:id]

    property :type do
      key :type, :string
      key :default, "users-registrations"
    end

    property :id do
      key :type, :integer
    end

    property :attributes do
      key :required, [:email]
      key :type, :object

      property :email do
        key :type, :string
      end
    end
  end
end

Yes, I know the problem. I want to be able to define things in a parent class, and add things in  descendant class. But I can't figure out how to do it. So like you I end up with very non-DRY code, which is bad news.
One thing I'm looking at is being able to pass the containing class into Swagger::Blocks::Node so that I have access to the class that's being documented inside the swagger_schema, property & etc. That way I might be able to reflect on the containing class and get associations, attributes and so on that I want to document. If I can do that then I'll be able to have the swagger_schema in a root class, and it'll get the class name and associations on the descendant classes without having to write repetitive code.
I'll try this out soon and post a PR.

You could do something like that:
module UserRegistrations
  def self.compile(opts = {})
    Class.new do
      include Swagger::Blocks

      swagger_schema opts[:name] do
        property :data do
          key :type, :object

          if opts[:id]
            key :required, [:id]

            property :id do
              key :type, :integer
            end
          end

          property :type do
            key :type, :string
            key :default, "users-registrations"
          end

          property :id do
            key :type, :integer
          end

          property :attributes do
            key :required, [:email]
            key :type, :object

            property :email do
              key :type, :string
            end
          end
        end
      end
    end
  end
end

Usage:
UserRegistrations.compile(name: 'Users::Registrations::New', id: false)
UserRegistrations.compile(name: 'Users::Registrations::Existing', id: true)

No need for inheritance or modifying the lib.


Raise FutureWarning on GPU-to-GPU transfer in StandardUpdater

Part of #7504

It's possible that some gpu tests need to be fixed.
Jenkins, test this please.

Jenkins CI test (for commit<PHONE_NUMBER>56a68e99900e9738adc02a284c68aa, target branch master) failed with status FAILURE.

Fixed the test. PTAL

Jenkins, test this please.

Jenkins CI test (for commit 4e457b4c3e917b2eda370fd5e61cf83b8e34f767, target branch master) failed with status FAILURE.


/Question/ Difference between "Run at startup" x "Create logon schedule"

I know this is not much a feedback or bug related thing, but I am little confused what is the difference between registering a task schedule vs. toggling on the "Run at startup" option. (I think this is important to know not just for a general usage but more for testing - when I know the expected behaviour, then I can report enventual bugs.)

If i add a program to startup it will be added to a list with other programs to run at startup when you login Windows will cycle through every program that has been assigned to run at startup. So in most cases this will take sometime for FalconX to start.
A scheduled task will trigger based on the event you set. For FalconX i have setup a "Logon" trigger.
The "Logon" trigger will trigger as soon as you login to Windows. I have setup a delay of 3 seconds to make sure "Explorer" is started.
So the FalconX "task" will start a little before "Explorer" and waits for 3 seconds to start "FalconX.exe".

I'd expect one setting to exclude the other ? Either you run fx at startup OR when logging on so when setting to run at startup the "run at at logon" task should be deleted (after a confirmation dialog) and vice versa. I thought you created the run at logon option to deal with issues where fx does not launch with the run at startup option set. I continued to have that issue up until 1.3.7 but not consistently e.g. not at every reboot. Very strange.

It still needs more testing. It hasn't failed on my testing pc's and pc's on my work. The normal will be run at start up will be disabled if you create a logon task and vise versa.

I don't know about the performance or how it would be feasible but wouldn't it be better to somehow detect explorer starting instead of setting the three seconds limit hard – my thought is that different devices may load explorer quicker or slower depending on the hardware so the time limit might change. But I don't know, this is just my theory.

After PC sleep, FX stops. tested with 1.3.8

This may be related: #140

I will be testing more in a couple days 😉.
The delay is to be able to start the FalconX app when it's in store mode. I can also do it with cmd or powershell but, will show a console window for a second.
Thanks for notifying me about the issues! 😁

Is having a store mode important?

Sorry, i meant when it runs as a packaged Windows Store App.
The regular and the store version are both identical. If it runs from the store it will detect that. Store apps cannot be run by their exe but, only through a command with the package name.

After FX reverts back to the left (after a sleep period) I start the settings program which seems to start FX. Why is that ? It's only a settings program ? Desperately need a good working FX on my 49" screen !

Yeah clearly it is not working, if I try just Run at Startup or just use the logon task it takes ages to start, but this morning after 30 mins it still hadn't centered the icons, and this is a recurring issue, when I checked FalconX settings I see that Run at Startup and the login task are both enabled, which is not the supposed behavior. Please advise because it is annoying that this app is the last to start or simply doesn't start at all as what happened this morning, despite seemingly having both startup options checked (which shouldn't be possible).

Actually I don't think it is the PC sleep function causing FX to quit and shift the taskbar back to the left. I think it has to do with the display going to sleep. I have the following setup: 49" monitor hooked up to laptop via hdmi. 49" set as primary display. Taskbar ONLY shown on the primary display.


Add further tests

Contains various tests for the api.
Not all passing.
Also contains fix for api.remove state modification. May have been fixed on another branch.

(I'll submit a PR to fix the XRP add-remove test -- and require 1 less on-chain tx).


upgrade cert-manager for k8s v1.22 compatibility

cert-manager support matrix: https://cert-manager.io/docs/installation/supported-releases/#supported-releases

W0910 20:40:55.580911       1 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress

Looks like #233 is also required to fix v1.22 support.


Confirmed cases blank

Nothing shows up under confirmed cases.

Confirming the issue. I’m investigating now. Should be okay within an hour.

Fixed.
Permissions glitch in the file storage server. Prevented the service from reading the last good copy of the confirmed cases.
Please note that the cases are still outdated due to the ongoing maintenance of DOH's data.


Change structure of streaming status update

Use a single list with an enum for state indication.

looks good! this seems simpler.
Since we haven't released the protobuf definitions to any clients or servers. it seems ok to swap out the previous definitions.

Yeah, that's why I just did a replace.


ValueError: not enough values to unpack (expected 8, got 0)

deepspeed --module openrlhf.cli.train_dpo
--save_path ./checkpoint/Qwen2.5-0.5B-dpo
--save_steps -1
--logging_steps 1
--eval_steps -1
--train_batch_size 256
--micro_train_batch_size 1
--pretrain  ./model/Qwen2.5-0.5B-Instruct
--bf16
--max_epochs 1
--max_len 8192
--zero_stage 3
--learning_rate 5e-7
--beta 0.1
--dataset OpenRLHF/preference_dataset_mixture2_and_safe_pku
--apply_chat_template
--chosen_key chosen
--rejected_key rejected
--flash_attn
--gradient_checkpointing
--zero_stage 2
[2024-12-24 05:18:46,297] [INFO] [config.py:1003:print]   zero_optimization_stage ...... 0
[2024-12-24 05:18:46,297] [INFO] [config.py:989:print_user_config]   json = {
"steps_per_print": 100,
"zero_optimization": {
"stage": 0,
"stage3_param_persistence_threshold": "auto",
"offload_param": {
"device": "none",
"pin_memory": true
}
},
"bf16": {
"enabled": true
},
"gradient_clipping": 1.0,
"prescale_gradients": false,
"wall_clock_breakdown": false,
"train_micro_batch_size_per_gpu": 1,
"train_batch_size": 256
}
Train epoch:   0%|                                                                                | 0/1 [00:00<?, ?it/s[rank0]: Traceback (most recent call last):                                                                                | 0/277451 [00:00<?, ?it/s]
[rank0]:   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
[rank0]:     return _run_code(code, main_globals, None,
[rank0]:   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
[rank0]:     exec(code, run_globals)
[rank0]:   File "/workspace/OpenRLHF/openrlhf/cli/train_dpo.py", line 274, in
[rank0]:     train(args)
[rank0]:   File "/workspace/OpenRLHF/openrlhf/cli/train_dpo.py", line 149, in train
[rank0]:     trainer.fit(args, consumed_samples, num_update_steps_per_epoch)
[rank0]:   File "/workspace/OpenRLHF/openrlhf/trainer/dpo_trainer.py", line 176, in fit
[rank0]:     self.strategy.backward(loss, self.model, self.optimizer)
[rank0]:   File "/workspace/OpenRLHF/openrlhf/utils/deepspeed/deepspeed.py", line 129, in backward
[rank0]:     model.backward(loss)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/utils/nvtx.py", line 18, in wrapped_fn
[rank0]:     ret_val = func(*args, **kwargs)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 2020, in backward
[rank0]:     self.optimizer.backward(loss, retain_graph=retain_graph)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 2064, in backward
[rank0]:     self.loss_scaler.backward(loss.float(), retain_graph=retain_graph)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/fp16/loss_scaler.py", line 63, in backward
[rank0]:     scaled_loss.backward(retain_graph=retain_graph)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/torch/_tensor.py", line 581, in backward
[rank0]:     torch.autograd.backward(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/torch/autograd/init.py", line 347, in backward
[rank0]:     _engine_run_backward(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/torch/autograd/graph.py", line 825, in _engine_run_backward
[rank0]:     return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 307, in apply
[rank0]:     return user_fn(self, *args)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/flash_attn-2.7.2.post1-py3.10-linux-x86_64.egg/flash_attn/flash_attn_interface.py", line 957, in backward
[rank0]:     q, k, v, out, softmax_lse, cu_seqlens_q, cu_seqlens_k, rng_state = ctx.saved_tensors
[rank0]: ValueError: not enough values to unpack (expected 8, got 0)
Train epoch:   0%|                                                                                | 0/1 [00:01<?, ?it/s]
Train step of epoch 0:   0%|                                                                                | 0/277451 [00:01<?, ?it/s]
[rank1]: Traceback (most recent call last):
[rank1]:   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
[rank1]:     return _run_code(code, main_globals, None,
[rank1]:   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
[rank1]:     exec(code, run_globals)
[rank1]:   File "/workspace/OpenRLHF/openrlhf/cli/train_dpo.py", line 274, in
[rank1]:     train(args)
[rank1]:   File "/workspace/OpenRLHF/openrlhf/cli/train_dpo.py", line 149, in train
[rank1]:     trainer.fit(args, consumed_samples, num_update_steps_per_epoch)
[rank1]:   File "/workspace/OpenRLHF/openrlhf/trainer/dpo_trainer.py", line 176, in fit
[rank1]:     self.strategy.backward(loss, self.model, self.optimizer)
[rank1]:   File "/workspace/OpenRLHF/openrlhf/utils/deepspeed/deepspeed.py", line 129, in backward
[rank1]:     model.backward(loss)
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/utils/nvtx.py", line 18, in wrapped_fn
[rank1]:     ret_val = func(*args, **kwargs)
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 2020, in backward
[rank1]:     self.optimizer.backward(loss, retain_graph=retain_graph)
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 2064, in backward
[rank1]:     self.loss_scaler.backward(loss.float(), retain_graph=retain_graph)
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/fp16/loss_scaler.py", line 63, in backward
[rank1]:     scaled_loss.backward(retain_graph=retain_graph)
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/torch/_tensor.py", line 581, in backward
[rank1]:     torch.autograd.backward(
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/torch/autograd/init.py", line 347, in backward
[rank1]:     _engine_run_backward(
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/torch/autograd/graph.py", line 825, in _engine_run_backward
[rank1]:     return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 307, in apply
[rank1]:     return user_fn(self, *args)
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/flash_attn-2.7.2.post1-py3.10-linux-x86_64.egg/flash_attn/flash_attn_interface.py", line 957, in backward
[rank1]:     q, k, v, out, softmax_lse, cu_seqlens_q, cu_seqlens_k, rng_state = ctx.saved_tensors
[rank1]: ValueError: not enough values to unpack (expected 8, got 0)
[rank0]:[W1224 05:18:49.339004811 ProcessGroupNCCL.cpp:1250] Warning: WARNING: process group has NOT been destroyed before we destruct ProcessGroupNCCL. On normal program exit, the application should call destroy_process_group to ensure that any pending NCCL operations have finished in this process. In rare cases this process can exit before this point and block the progress of another member of the process group. This constraint has always been present,  but this warning has only been added since PyTorch 2.4 (function operator())
[2024-12-24 05:18:51,254] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 28418
[2024-12-24 05:18:51,255] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 28419
[2024-12-24 05:18:53,131] [ERROR] [launch.py:325:sigkill_handler] ['/usr/bin/python', '-u', '-m', 'openrlhf.cli.train_dpo', '--local_rank=1', '--save_path', './checkpoint/Qwen2.5-0.5B-dpo', '--save_steps', '-1', '--logging_steps', '1', '--eval_steps', '-1', '--train_batch_size', '256', '--micro_train_batch_size', '1', '--pretrain', './model/Qwen2.5-0.5B-Instruct', '--bf16', '--max_epochs', '1', '--max_len', '8192', '--zero_stage', '3', '--learning_rate', '5e-7', '--beta', '0.1', '--dataset', 'OpenRLHF/preference_dataset_mixture2_and_safe_pku', '--apply_chat_template', '--chosen_key', 'chosen', '--rejected_key', 'rejected', '--flash_attn', '--gradient_checkpointing', '--zero_stage', '2'] exits with return code = 1
不知道是什么错

降级falsh_attn版本,没有再报错了


New Feature: Demo with cv2.VideoCapture

Demo with inference on video

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@steven0129
Thx for your contribution and sorry for the late review.

Could you please fix the lint error?
We may make this script accept used arguments, like image_demo.py.

@steven0129
Thx for your contribution and sorry for the late review.

Could you please fix the lint error?
We may make this script accept used arguments, like image_demo.py.

Thank's for your review. Okay, I'll try to fix these error.

Thank's for your review. Okay, I'll try to fix these error.


paytm, phonepe, zoom, NEWmeet, stk -icons added

added more --icons

New Meet icon same as google workspace

zoom icon

Native Android Sim toolkit

lawnicons & lawnchair icon added

Screenshots [added more]

prooo

OLD Icon

New Icon

kiwi icon Bold


Why are the examples gone?

Hi guys,
I was actively using the serial2ws example because of the Arduino component and it (and many other examples) seem to have disappeared. Why were they removed from the repo and is there something else I can look at instead?

Hi @sscirrus which example?
I recently re-organized the autobahn examples and removed a bunch of the WAMP ones as they used Router-related classes whose functionality is now in Crossbar.io however, perhaps I was overzealous.
Also, I moved things down a directory level so things that were in examples/twisted/wamp/basic/* are now just in examples/twisted/wamp

Hi @Meejah, thanks for getting back to me so quickly.
The example I am using was at: https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app/serial2ws
Be aware also there is at least one important blog post for Arduino that has been affected by the change: http://tavendo.com/blog/post/arduino-yun-with-autobahn/ (I am not affiliated with the article).

Ah, I see what's happened -- I intended to move all the "app" examples to the https://github.com/crossbario/crossbarexamples/ repository, but I haven't done that yet.
Perhaps the best thing in the short-term is to restore those examples in Autobahn until they're actually moved to crossbarwww ...

Sounds good, thanks!

Great, thanks again for the bug-report.
cc: @oberstet

@meejah ah yeah. there are interesting exampels in "twisted/wamp/app" we definitely want to preserve. but I agree, these should move to crossbarexamples.

this is fixed


Update ja.coffee

Updated translation in:
nav:
play:
login:
signup:
recover:
items:
units: Note that in Japanese, measurements of time don't have individual or singular form: As in "a year" and "years" is still the same.
play_level:

Hi, @Coderaulic! Thanks for your translations.

How soon does the changes take effect?

It depends on when the changes are sent to production.

I see, so is it one a day, once every 6hours/ 12 hours that sort of thing till the new changes get pushed in?

Don´t really know. Sometimes minutes, other times hours. Just be patient! It will eventually happen.

If I can see and confirm the changes in the game sooner, I will be able to make better translations or see if I did anything wrong. Hehe I will be patient :+1:

How do I get added to diplomat list?

Hi, @Coderaulic! I added you in this commit!

Thanks!


storageService.uploadMessageAttachment(messageId, mediaType, data)

请问下storageService.uploadMessageAttachment(messageId, mediaType, data)
与
sendMessage(bool isGroupMessage, Int64 targetId,
{DateTime? deliveryDate,
String? text,
List? records,
int? burnAfter,
Int64? preMessageId})
应该怎么配合使用，是先调用sendMessage，获取messageId后再调用uploadMessageAttachment？

还是说storageService.uploadMessageAttachment(messageId, mediaType, data)
中的中messageId,可以是任一的随机数，上传附件成功后，
再调用sendMessage，通过自定义的消息结构，建立附件和消息的关联关系？

Thanks for sharing the use cases.
After research, I will make it easier to use (To put it simply, upload the attachments first, and then send the message including the attachment IDs) while supporting new storage features recently, and I will @ you once I deliver these features.

@JamesChenX 请问下存储重构，时间上的规划是怎么样的

@itmagus I am very busy recently, so cannot take too much time on these features for attachments on the weekend this week.
But I promise to deliver the features (code+docs) this weekend when I am not that busy.
In one word, you can use the feature on 12/05 latest.

好的，感谢您的付出和持续输出

@JamesChenX 好了记得说一下哦

@itmagus Sorry for the lateness. The code has been pushed onto develop and master.
In short, you can call uploadMessageAttachmentInPrivateConversation and uploadMessageAttachmentInGroupConversation on the client side to upload attachments currently.

好的，谢谢，我测试一下


Update data.csv

fix #2
Hi @metflekx,
just trying to help on this issue, please check it out

great, thanks.


interval shouldn’t run tick after stop

Closes #236
The solution is provided by @AlexandrHoroshih

@ainursharaev Thank you!


[NSE-326] update scala unit tests to spark-3.1.1

What changes were proposed in this pull request?
This pr updates the scala unit tests to spark-3.1.1.
fixed https://github.com/oap-project/native-sql-engine/issues/326.
How was this patch tested?
under test

@github-actions scala-unit-test

@rui-mo just amend one commit to enable scala unit tests in github action


Pin App and Provisioning to GIT tag

This PR pins provisioning and application to a given GIT repository and tag.
Both are specified in /vagrant/provision/vars/default.yml and used during provisioning.

@clarsonneur - if you can have a look at this one. Thanks!


Invalid Syntax

I am trying to use this to test against an LDAP server located at:
https://www.zflexldapadministrator.com/index.php/blog/82-free-online-ldap
First lines to connect to the server are:
ldap_server = 'ldap://<IP_ADDRESS>:389'
us = 'ro_admin'
pw = 'zflexpass'
base_dn =  'dc=zflexsoftware,dc=com'
When I run the script
python3 goLDAP.py this is what I get
File "goLDAP.py", line 66
print len(result)
^
SyntaxError: invalid syntax

Use Python 2.7 instead of python 3
I will upgrade the code soon to be compatible with Python3
but for the time being you can only use Python 2.7

Ah okay.  Got past that syntax error
Now I'm stuck at "no module named ldap"

Because you have to install the requirements first of the scripts by running this in the folder of the script:
pip install -r requirements.txt


feat(python): Warn on I/O outside of an activity

Fixes: ENG-1893

is this only for io? i don't see anything limits it, i guess this is what audit is for?

is this only for io? i don't see anything limits it, i guess this is what audit is for?

It's only for using the open function. It's not limiting only warning (per @haimzlato's request)


fix: install upgrades for CVM images in pre-install dependencies

What type of PR is this?
We had originally skipped apt updates to CVM base image because the newer kernels were incompatible with the nullboot package, which relied on boot measurements from TPM hardware.
This seems to have been fixed upstream, therefore removing the conditional to skip updates for CVM.
Successful build: https://msazure.visualstudio.com/CloudNativeCompute/_build/results?buildId=99290941&view=results

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.005%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
2564

Relevant Lines:
3611

💛  - Coveralls


Display alternate locations in facility details page

Overview
Return other_locations with facility_details including both records from
the FacilityLocations table and also list items which are either
confirmed matches or automatic matches, are on public, active lists, and
have a different geocoded point.
Add tests to demo:

serializing admin updated locations
serializing other match locations
hiding other match locations when the list item's list is inactive or
non-public

Display coordinates as lng, lat
Connects #823
Demo

Testing Instructions

get this branch then run ./scripts/test and verify that the new tests pass (and that they are testing the correct thing)
sign in as an administrator and update the location for a facility, then visit its details page and verify that you see the other location listed
sign in as c15@example and confirm the match, then visit the details page for that facility and verify that you see the location listed as depicted above

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Looking at this now.

Just merged a lingering PR of mine to develop which introduced some simple-to-resolve conflicts.

48437580bc5c6c115af1de15a09259cd0076dce0
should handle both of those problems!

Awesome! Thanks for your help with this!
I squashed the fixups and will merge once CI builds.


Insufficient flutter doctor instructions

flutter doctor wants the Android SDK, but doesn't say where to put it or how to point to it. The Android Setup section on the web site at  https://flutter.io/setup/#android-setup says to install Android Studio.  Based on a conversation with abarth, it appears that installing just the SDK is not sufficient - you also need the JDK.
(Maybe it's also worth saying that ANDROID_HOME is not set in case the user decides to install everything manually because ANDROID_HOME won't be set in existing terminal windows.)
Here is the text displayed by flutter doctor:
[ ] Android toolchain - develop for Android devices (missing)
  [ ] Android SDK - enable development for Android devices (missing)
      Download at https://developer.android.com/sdk/

Steps to Reproduce
Run flutter doctor on a system where the Android SDK is not properly set up.
Flutter Version
Flutter from git@github.com:flutter/flutter.git (on master)
flutter revision: 4860e63f444cf3786a6b136430f3058a7b851041 (8 hours ago)
engine revision : a53faaf7983025f83a2059021a409c6e98beb58d

The intent is that you should be able to install Android Studio in the default way and everything should work.  Maybe we should link to https://flutter.io/setup/#android-setup which has more detailed information?

/cc @devoncarew

I've updated the title and the text of my initial description after a discussion with abarth.

That PR will give the user a bit more info about how to install the android sdk. We should also add a check to validate that there's an available JDK (https://github.com/flutter/flutter/issues/1983).


"deepdive run" does less than "deepdive do all"

In my workflow, I often want/need to examine the weight table (dd_inference_result_weights_mapping), but "deepdive run" doesn't generate that. Instead, I have to run "deepdive do all" after "deepdive run" every time...

deepdive redo init/app weights will do the job.
deepdive run was mainly kept for backward compatibility, but I guess we can refresh it to be something like: deepdive redo init/app all

@netj can you please confirm that init/app will not drop the database in any case?
I see deepdive db init in init/app/run.sh. I don't think this command is supposed to drop the database because db-init in both postgres and greenplum drivers doesn't dropdb unless the number of argument is greater than zero. But I did experience some cases when it did drop the db.  Sorry can't recall the exact setting but was using the master branch a couple days ago.

It should.. I believe the behavior dropping db hasn't been fixed yet.


Updates for the latest book theme

The latest book theme makes it a bit easier for us to re-use it for our own purposes. This PR adds the main branch as a dependency and updates our CSS / HTML as needed.
Main changes:

We now use sections/header.html to add the header, rather than overloading the layout.html template
Updated our CSS since we no longer need to hard-code the y-position of the main content of the page
Refactored the SCSS to follow more standard layout
Applied prettier

This was triggered because I realized we have a bug on mobile:
Old:

New:

going to merge this in since it's squashing a kinda nasty bug, and we can iterate in the future!

@choldgraf, left some post-merge comments for you as feedback 😜


Define default theme as string

Setting theme as string in the workspace will pick that theme as default from the keys in the themes object.

This should now be resolved by setting the placeholder in the themes dropdown.


docs - bad hyperlink for suppression file info

http://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html
Has a link for false positives.
It points to http://jeremylong.github.io/DependencyCheck/suppression.html
But should point to https://jeremylong.github.io/DependencyCheck/general/suppression.html

The links have been fixed in the source repo and will be published with the next release.


Navi app style update

Description
Style changes in navi added a gray background to dashboards
Proposed Changes

Adjust padding so that gray background stretches to left and right edges of window

Screenshots

License
I confirm that this contribution is made under an MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Can we add equal padding around the report view?

@jkusa You mean like this?

Is the dashboard index view up to date? Looks like the title needs to move to the left a little

Can we add the gray backgrounds to the index views as well? It would be nice if it was consistent.


Sending E-Commerce data doesn't work

Hello,
I've tried sending E-commerce data with multiple accounts and single account.
None of it seems to work.
I've tried it with the native google code, and that works.
So I've looked further and made a simple angular app, including just this module with the default settings.
When I log all the steps, everything seems to work correct, but there's no new outgoing request.
So  I have no third party code, just a clean little project, but still no success.

Can you share the project and version of the code being used? Are you using e-commerce or enhanced e-commerce? I need to know how things have been setup to help you determine what might be wrong.

The page below can be used to show this behaviour with the current angular-google-analytics.js. (After a valid analytics account is set...)
    <!doctype html>
    <html ng-app="App">
    <head>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.6/angular.min.js"></script>
        <script src="./angular-google-analytics.js"></script>

        <script>
            angular.module('App', ['angular-google-analytics'])
            .config(function (AnalyticsProvider) {
                AnalyticsProvider.setAccount('<GA-ACCOUNT>');
                AnalyticsProvider.useECommerce(true, true);
                AnalyticsProvider.setCurrency('EUR');
                AnalyticsProvider.logAllCalls(true);
            })
            .controller('AppController', function (Analytics) {
                // This gets tracked
                Analytics.trackPage('/foobar');

                // This doesn't get tracked
                Analytics.addProduct('sku-2', 'Test Product 2', 'Category-1', 'Brand 2', 'variant-3', '2499', '1', 'FLAT10', '1');
                Analytics.trackCheckout(1, 'Visa');
                Analytics.addProduct('sku-2', 'Test Product 2', 'Category-1', 'Brand 2', 'variant-3', '1111', '1', 'WOMEN10', '1');
                Analytics.trackTransaction('T1234', 'Online Store - Web', '3333', '10', '200', 'FLAT10', '', '', '');
            });
        </script>
    </head>
    <body>
        <div ng-controller="AppController">
        </div>
    </body>
    </html>

@AVee thanks for sharing this. @AVee and @jasonvdzeeuw, do either of you have a request chain that works when using the ga function directly? All calls made. I think there might be something amiss with how things are being configured during script tag creation for using e-commerce since the calls are all made correctly to the ga function.

@justinsa We had it working with this original GA code:
(We are co-workers by the way)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', '<GA-ACCOUNT>', 'auto');
      ga('require', 'ec');

      ga('ec:addProduct', {
          'id': 'P12345',
          'name': 'Android Warhol T-Shirt',
          'category': 'Apparel',
          'brand': 'Google',
          'variant': 'black',
          'price': '29.20',
          'quantity': 1
      });

      // Transaction level information is provided via an actionFieldObject.
      ga('ec:setAction', 'purchase', {
          'id': 'T12346',
          'affiliation': 'Google Store - Online',
          'revenue': '37.39',
          'tax': '2.85',
          'shipping': '5.34',
          'coupon': 'SUMMER2013'    // User added a coupon at checkout.
      });

      ga('send', 'pageview');     // Send transaction data with initial pageview.

    </script>

</head>
<body>

</body>
</html>

@AVee and @jasonvdzeeuw do you need to send a pageview at the end in order to get the transaction information to be sent to GA? The service is definitely making all of the calls to the ga function, but looking at your two examples the difference appears to be in the fact that you call ga('send', 'pageview'); at the end of the working code, but never call that at the end for the Analytics block. Have you tried adding: Analytics.pageView(); to the end of the block to see if that sends the transaction data?

@justinsa Yeah that solved it! Thanks, stupid that we didn't notice this...
You might want to add that to the documentation for people like us who didn't knew that we should add pageView() every time :+1:
Thanks!

I'll second the documentation update, just spent most of the day trying to workout why the data wasn't being sent.

Thanks for feedback ! any chance for @jasonvdzeeuw or @Desmodue to submit a pull request on the README to add the missing information where you wished have seen it ?
(sorry for frenglish)


[Angular v10][Version 1.0.0] Library build not working(ModuleWithProviders)

Library

[X]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
When building a library this error occurs, this is because of deprecation in version 10 of Angular.
Error Message
ERROR: node_modules/@azure/msal-angular/src/msal.module.d.ts:5:86 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
Regression

[X ] Did this behavior work before?
Version: < 10

@PapaBigBear Thanks for the information. We have not had a chance to test and update MSAL Angular for compatibility with Angular v10, but we'll make sure this is fixed.

How to fixed!
ERROR in node_modules/@azure/msal-angular/src/msal.module.d.ts:5:86 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
static forRoot(config: Configuration, angularConfig?: MsalAngularConfiguration): ModuleWithProviders;

It's been a while since Angular 10 was released. The abovementioned build error is actually the only one after updating to Angular 10 in my case, so this is a blocker. Any update on this?


NIFI-4007 Update azure EventHubs client to latest version

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[y ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ y] Have you written or updated unit tests to verify your changes?
[ y] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ y] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ y] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ y] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ y] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
Couple of azure eventhubs customers using apache-nifi-processor are running into known issues fixed in later versions. So updating the version to the latest - for the next release to pick this up.
https://issues.apache.org/jira/browse/NIFI-4007

Hello Folks! can someone please help with the next steps...
Thanks!

Hi @SreeramGarlapati, thanks for your contribution. I looked at the release notes from
https://github.com/Azure/azure-event-hubs-java/
And it seems there are few breaking changes between 0.9.0 and 0.14.0.
In particular:

The EventData.ApplicationProperties is now a Map<String, object>.
Simplified EventData by deprecating the getBody* API's. As such, the following methods have been deprecated (#81):
EventData.getBody() replaced with EventData.getBytes()
EventData.getBodyOffset()
EventData.getBodyLength()

I think we are only concerned by the deprecation of the getBody() that should be replaced by getBytes() in GetAzureEventHub. Could you take care of that?
Otherwise, I did few tests and it seems to be working as expected.
Thanks!

Also, right now, 0.14.2 is available, I'd suggest to go with this version.

+1, merging, thanks @SreeramGarlapati


Error: 10 ABORTED: too much contention on these datastore entities. please try again

Error: 10 ABORTED: too much contention on these datastore entities. please try again. entity group key: (app=e~tada-analytics, prod_eu_runs, ...)

This started happening in some runs after yesterdays release approximately 2PM GMT.

We need to rate limit run results writes to the datastore.


support for arm64

with the developer preview of ARM available for 4.9, adding support in it for SNC so we can work toward having crc support for macs

We do not have the equipment to confirm this works. Can you provide tests, or a means to ensure consistency/stability for follow-up changes we make to the general SNC codebase.

/ok-to-test

We do not have the equipment to confirm this works. Can you provide tests, or a means to ensure consistency/stability for follow-up changes we make to the general SNC codebase.

so "we" as in the multi-arch team at RedHat use ARM systems that we loan from beaker. That being said long term, the plan is to have CI on ARM starting mainly with AWS but we could also look to extend it to have a CI setup for crc which would be necessary. Let me bring this up for further discussion in our forums.

/test e2e-snc

@Prashanth684 Have you tested this PR, like generated bundle for arm and able to run those even on beaker infra?

@Prashanth684 Have you tested this PR, like generated bundle for arm and able to run those even on beaker infra?

good point @praveenkumar . the single node cluster itself came up fine, but the createdisk.sh command to create the images pulls amd64 images from quay which will not work. can you point us to how to build these images so we can build them manifest listed for amd64 and arm64? these are the images in question:
quay.io/crcont/dnsmasq:latest
quay.io/crcont/gvisor-tap-vsock:v4
quay.io/crcont/routes-controller:latest

The dnsmasq image is there https://github.com/code-ready/crc/tree/master/images/dnsmasq
The gvisor-tap-vsock one is https://github.com/containers/gvisor-tap-vsock/tree/main/images
The routes-controller one is https://github.com/code-ready/routes-controller/tree/master/images
Some of these images can be built on osbs, I'd have to check if it can be used to generate aarch64 images.

@Prashanth684 The images are built on osbs (Thanks to @cfergeau) and uploaded to quay so it should pull platform specific.

https://quay.io/repository/crcont/dnsmasq?tab=tags
https://quay.io/repository/crcont/routes-controller?tab=tags
https://quay.io/repository/crcont/gvisor-tap-vsock

The dnsmasq image is there https://github.com/code-ready/crc/tree/master/images/dnsmasq
The gvisor-tap-vsock one is https://github.com/containers/gvisor-tap-vsock/tree/main/images
The routes-controller one is https://github.com/code-ready/routes-controller/tree/master/images
Some of these images can be built on osbs, I'd have to check if it can be used to generate aarch64 images.

I've updated these 3 images, they should be multiarch now (aarch64/ppc64le/s390x/x86_64)

many thanks again @cfergeau ! i will use these and run tests again and let you know.

ok. updated and rebased. i was able to generate a crc bundle. @praveenkumar @cfergeau any docs on how i can run crc with a custom bundle?

any docs on how i can run crc with a custom bundle?

@Prashanth684 if you build crc from git, crc setup; crc start -b $custom_bundle should be all you need. Couple of caveats:

even if crc builds on aarch64, I don't know how well the preflights will work there
at this point we support OpenShift 4.8, not sure how well OpenShift 4.9 or newer would run with crc from git

/retest

any docs on how i can run crc with a custom bundle?

@Prashanth684 if you build crc from git, crc setup; crc start -b $custom_bundle should be all you need. Couple of caveats:

even if crc builds on aarch64, I don't know how well the preflights will work there
at this point we support OpenShift 4.8, not sure how well OpenShift 4.9 or newer would run with crc from git

So i did try and the pre-flight check failed with finding the virtualization device which doesn't seem to be present on any hardware we have today. So, i think for now I would just like to get this in so we at least have support to create bundles so we can investigate more when we get an ARM system with virtualization hardware or hopefully an M1 which we can test with. But again as @cfergeau pointed out hyperkit is not supported for arm64 so we will also have to wait for that.


add a custom state for custom arrows

Could it be possible to add custom props when using custom arrows (like an array/object or something)?  I'd like to animate my arrows on hover. A this.props.isVisiblewould be perfect for that, transmitted from the <Slider>comp.
I have the following code :
var CarouselArrow = React.createClass({
    displayName: 'CarouselArrow',
    render() {
      return (

      );
    },
  });

var Slider = React.createClass({
    displayName: 'Slider',
    getInitialState(){
      return {this.state.isVisible: false};
    },
    render() {
      var settings = {
        adaptativeHeight: true,
        arrows: true,
        dots: true,
        infinite: true,
        speed: 500,
        slidesToShow: 1,
        slidesToScroll: 1,
        dotsClass: 'slick-indicators',
        slickGoTo: 4,
        className: 'inner-slider',
       isVisible: this.state.isVisible,
      };
      return (
          <Slider
            {...settings}
            prevArrow={CarouselArrow}
            nextArrow={CarouselArrow}>

1

2

          </Slider>
      );
    },
  });

I'd like to pass the this.state.isVisible in the settings object for reaching the Arrow comp. However, this additional field will be populated only until the InnerSlider comp where the arrows are instantiate.
One way to make this work is to add a arrowProps field in the setting object which will be transmitted in the InnerSlider to the arrow object.
Do you have any idea how to implement that? Exept that everything works like a charm :100:

You can get this working without additional option by adding animation logic in custom arrow or with css.


create one template for all resource deployment

New template SchoolAccountArm.json created, all resources to be deployed from one template

Write Powershell script to create Resource group and Run template from cli. Write ARM template in one file to provisioned the resources in Azure portal. No more linked

Added powershell script to create RG in azure portal, script to provision Azure portal locally from powershell cli. Deployment of resources from one template(schoolaccountArm.json)


enable nouveau in CI

To tests the full CI Jenkinsfile.full changes use a branch name prefixed with jenkins-, so something like jenkins-enable-nouveau-ci would work.


Update peer deps

The peer dependencies have not been updated for a while and seem to create conflicts in some CI runs:
https://github.com/inrupt/solid-client-access-grants-js/runs/6828224562?check_suite_focus=true#step:4:24

Closing in favour of #29


have you thought about actually including the .exe instead of the .csproj

seems very simple
especially if you're going to build both your 'walkthroughs' on using your program around using the .exe
lmao

Offensive names are not required.
I also have no idea what you are talking about. I don't provide a walkthrough. All I provide is a map mod, and I recommend not using the mod until you've played the game once for yourself, to get the full exploration experience.
If you go to the releases page, that's where the installer and the exe's are, as is expected. The main page is the source code, which is of the point of github.
If someone else is linking you to the source code, instead of the release, then you need to take that up with them.


Change style of pin if not empty

Hey !
I would like to know if there is a solution to change the style of pins who are not empty.
Do you know if there is a quick implementation ?
Thanks for the package !

Hey, did you try setting submittedPinTheme?

Ok I fell dump 😆 I believed it was when the whole pinput was submitted...
Sorry for wasting your time !

No worries


[SPARK-37239][YARN][TESTS][FOLLOWUP] Add UT to cover Client.prepareLocalResources with custom STAGING_FILE_REPLICATION

What changes were proposed in this pull request?
This pr add a new UT to cover o.a.s.deploy.yarn.Client.prepareLocalResources method with custom STAGING_FILE_REPLICATION configuration and change other related UTs to verify that the replication passed into the copyFileToRemote method is None explicitly.
Why are the changes needed?
Add new UT.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass the Jenkins or GitHub Action

cc @dongjoon-hyun

Test build #145021 has started for PR 34531 at commit 2d22bfd.

Test build #145021 has finished for PR 34531 at commit 2d22bfd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49493/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145021/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49493/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49493/


[refactor] with-apollo-and-redux: 2.0.0

This ports over with-apollo (w/ recent withRouter fix and addition
for Post) along with implementing apollo-cache-redux #3463
The redux side of things is lacking (it is the same as the
original example)
Created a routes.js for use on Server and Client Side (to expand the
PostList functionality)
SSR is maintained
Redid the "PostVote" a bit... sorry. 😬

Possible todo(s):

Add in API and Clock Examples from with-redux to show Apollo and
Redux working together a bit more
redux-saga (I personally use this, may be too opinionated for the base
example though)

Packages updated:

apollo-cache-redux
apollo-client-preset
graphql
graphql-anywhere
graphql-tag
isomorphic-unfetch
next-routes
prop-types
react
react-apollo
react-dom
redux

I will go through the build failures. I ran lint and the like, but I think my local prettier in Atom may have added some stuff.

LGTM. I like the updated Vote buttons.


Release Spanner libraries version 3.5.0

Changes in Google.Cloud.Spanner.Data version 3.5.0:

Commit 65f6e7b:

feat: log CommitStats if requested by the client application (issue 5506)

Commit 8562ced: fix: use null instead of empty array + integration test
Commit 0343ff8:

fix: parse WITH command as SELECT. Fixes issue 5857

Commit 4866adf: fix: NUMERIC is missing default mapping
Commit a223bd0: fix: local date could lead to wrong date in database

Packages in this release:

Release Google.Cloud.Spanner.Admin.Database.V1 version 3.5.0
Release Google.Cloud.Spanner.Admin.Instance.V1 version 3.5.0
Release Google.Cloud.Spanner.Common.V1 version 3.5.0
Release Google.Cloud.Spanner.Data version 3.5.0
Release Google.Cloud.Spanner.V1 version 3.5.0

(Waiting until the release process is fixed before merging.)

Created release for Google.Cloud.Spanner.Admin.Database.V1-3.5.0
Created release for Google.Cloud.Spanner.Admin.Instance.V1-3.5.0
Created release for Google.Cloud.Spanner.Common.V1-3.5.0
Created release for Google.Cloud.Spanner.Data-3.5.0
Created release for Google.Cloud.Spanner.V1-3.5.0


Change Markdown syntax colours

Is there any way to use different colours for markdown symbols? Like: **, *, #, etc?
(I know, for example the bold has a different colour from the body colour but I would like to set only the markdown syntax's alpha value or it's colour)

This is currently not supported. It is definitely possible and would include reconfiguring the matching groups on the regex parsing, and thus, in turn, the styling of the attributed strings. Any interested in a pull request to implement this feature?

I've got this working using named capturing groups in the regex, and matching those names to styles using a new property in the style class.
        "handle": {
            "regex": "(?<handleHead>[@＠])(?<handleTail>[a-zA-Z0-9_]{1,20})",
            "groups": ["handleHead", "handleTail"]
        },
        "handleHead": {
            "color": "#FF0000"
        },
        "handleTail": {
            "color": "#00FF00"
        },

Named capturing groups are only supported by NSRegularExpression from iOS11 & macOS10.13 (https://developer.apple.com/documentation/foundation/nstextcheckingresult/2915200-range), but we can easily just ignore it in older versions.
This technique seems very flexible, and requires quite minimal changes to the system as a whole. Can polish it up for a PR if you like this direction?

Hi, @siburb thanks so much. Definitely open to reviewing a PR!


Grab latest version from GitHub Release tag

As discussed in the latest Pants meetup and this proposal, we're going to move off of PyPI for distribution, and instead leverage GitHub Releases.
Some reasons given for this pivot:

People ought not to pip install pantsbuild.pants
We ought not to continue eating up PyPI space, which we're already hitting the ceiling for
We plan on having scie-pants use a PEX in the future, and PyPI wouldn't support that workflow
We want to abstract away, as much is reasonable, that Pants is implemented in Python.

Currently the latest version is expected to be set by hand. Although that's unlikely to be wrong, we're also changing to have the "latest" marker be automated. Therefore we should be able to rely on it with confidence.
Tested and both before/after yielded the same string (with the GitHub URL performing slightly faster)

I'll bow out. @kaos is a good reviewer for this I think.


Small typos

The sentence "I lead a research initiative to create accessible campus maps known as Luminary..." feels a bit long and should maybe be split into two sentences.

Thanks so much for the edits! Let me think a bit more about how best to break it up but I really appreciate the changes you made!


Add JVM IR Support

Is it possible to publish non-IR and IR JVM artifacts?

JVM IR backend is highly experimental. What is the reason to include it?

Simply to test the compatibility with other JVM-IR preview libraries, especially (Android) Jetpack Compose

Ok, let's try it in 0.0.2. Btw, I finally published 0.0.1 to a separate Bintray repo.

Default with 1.5.0


DNS leakage + socks5 server cannot bind on all interfaces

I wanted to use your application as Socks5 Proxy on your server.
Carefully packed in Docker container.
Detected such effects:

DNS requests are sent not through the WG tunnel (DNS leakage)
There are no options to specify as the SOCKS5 <IP_ADDRESS> server address, thereby make the server with the weights of network cards

There are no options to specify as the SOCKS5 <IP_ADDRESS> server address, thereby make the server with the weights of network cards

Can you elaborate on this? You can set the socks5 server address to <IP_ADDRESS> via something like
[Socks5]
BindAddress = <IP_ADDRESS>:25344

I rechecked.
In case of such a parameter
[Socks5]
BindAddress = <IP_ADDRESS>:25344

i got an error:
panic: listen tcp <IP_ADDRESS>:25344: bind: address already in use
goroutine 52 [running]:
log.Panic({0x40001affb8, 0x1, 0x1})
	/usr/local/go/src/log/log.go:354 +0x98
main.socks5Routine.func1(0x400006e140)
	/go/wireproxy/main.go:216 +0x15c
created by main.main
	/go/wireproxy/main.go:391 +0x234

Apparently this is a feature of docker.
In the case below, everything is fine.
[Socks5]
BindAddress = <IP_ADDRESS>:2534

P.S. Can I PR with Dockerfile to your repository? When I'm done with it.

Yeah sure, I'm open to all PRs. I'll fix the DNS leakage as soon as I have time.

I've pushed a commit that would fix dns leakage in the branch dnsleak. Can you test it and see if it fixes the problem?


profiles-config, profiles-run

The lxops config file has two experimental  fields: "profiles-config", "profiles-run".
Their functionality is incomplete and I am not using them.

First document their intended purpose.
profiles-config specifies profiles that should be attached to an instance only when configuring it.
For example, when launching an instance, its configuration may include installing software from a disk device that is attached from a profile.  Once the software is installed, its installation files are no longer needed and the profile that attaches them can be removed.
profiles-run specified profiles that should be attached to an instance when it is running, but not when it is being configured.
The intent of profiles-run was to be used together with profiles-config to make it possible to have instances with read-only root filesystems.  Suppose that you make a "readonly" copy of the default profile and add "readonly: true" to the root device.
In the lxops config file specify:
profiles-config:
- default
profiles-run:
- readonly

When launching the instance, the default profile would provide a read-write root filesystem, which can be configured.
Once configuration is complete, the default profile would be removed, and the readonly profile would be added.
You would first have to configure the instance so that it does not attempt to modify its root filesystem while it is running.
To make the root filesystem readonly, you need to reboot the instance, which makes it harder to implement.
I do not have much experience with instances with readonly root filesystems.  It seems like a good idea because it ensures that there are no hidden changes to the instance after it is launched, and it can be safely rebuilt from a new image.  But it is more work to configure such an instance properly and it is more difficult to work with.
I cannot think of any other use cases for profiles-run.

I am leaning towards removing profiles-run.
To implement profiles-config:

Check that a profile is not in both profiles and profiles-config.
"lxops launch" should launch the instance with profiles + profiles-config, configure it, then remove the profiles-config profiles.
"lxops configure" should add the profiles-config profiles to the instance, configure it, then remove the profiles-config profiles.
"lxops rebuild" should add the profiles-config profiles to the instance, call "lxc rebuild" or "incus rebuild", configure it, then remove the profiles-config profiles.

remove both profiles-run and profiles-config, to keep things simple.
If it comes up again, they may be re-implemented properly.
profiles-config is more useful.
There are similar considerations for cloud-config files.
Some cloud-config files could be run when the instance is launched for the first time, but not when it rebuilt.
For now let's keep one set of configuration and let the configuration scripts do the right thing.

Removed.

profiles-config would be useful for passing secrets to the container during configuration, and then removing them.
For example, a profile could have a readonly disk device with a .netrc file for authorizing downloads.  After configuration, the profile could be removed, thus removing the secrets.
The workaround is to add and remove such a profile manually, when needed.


fix: husky hooks are not executable at unix

When I commit my last pr, I found that hucky hooks do not have executable flags.
This cause hooks to not run on unix.

I have reproduced this on my Mac. LGTM.


Bump Spotless to 6.25.0 and Nebula to 11.6.0

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Closing as these bumps are not necessary yet. Can reopen if bumps are needed


Updated doc on OS support

This PR specifies the ROCm recommended Ubuntu kernel versions.
And advise users to remove ROCm packages if need to upgrade the CentOS versions. There are known DKMS limitations can cause the system fail to upgrade if rock-dkms modules were installed.

I made the typical rooky mistake and thought "This is a tiny change so I can use the web based editor to fix it"


Support multi language testset generation

It doesn't seem that testset generation supports several types of language.
One solution would be to use an adapt function to translate the generation scripts in the same way as is done for metrics:
https://github.com/explodinggradients/ragas/blob/27e48b021a1cb25a04920924e33509fe758fa87b/src/ragas/metrics/_faithfulness.py#L203-L212

yes, we are going to bring that same functionality to testset generation too - I'm glad you brought it up 🙂.
we also had a few ideas in our mind about this as well, could we run them by you sometime your free?

yes, we are going to bring that same functionality to testset generation too - I'm glad you brought it up 🙂. we also had a few ideas in our mind about this as well, could we run them by you sometime your free?

Thx, of course :)

Hello! I stumbled into the same issue, are there any updates on this, maybe a workaround?  Thanks!! @jjmachan @grauvictor

I would also be interested in a multi-language feature, as I am working with German texts.
Is there any update on this issue?

Hey guys, Yes now this is possible with language adaptation for test generation. Just follow the guide here and enjoy :) Install ragas from the source before doing so.
@Gr33nLight @drdsgvo @grauvictor

Thank you a lot for your quick and helpful answer.
I tried it out with German language and German wikipedia articles.
From 6 answers generated, 3 are not usable:
1 answer to a generated conditional question is empty
1 answer to a generated conditional question is (in English!): "Sorry, I cannot translate a negative number. Please provide a valid input"
1 answer to a generated reasoning question is (in English!): "Sorry I cannot answer this question as the information provided in the context does not mention... < here comes a question-specific problem>"
The other 3 answers are in German and as expected. All questions are good.
But with 3 out of 6 answers generated being no-answers, the approach is not feasible as of now.
Any ideas?

Hey @Gr33nLight , which models are you using?

Hey @drdsgvo , which models are you using?

Just the default ones. I did not change anything and copy pasted your example code from your guide with some minor adaptations (like changing the language to 'german' insteadt of 'hindi')

Thanks, bro @drdsgvo , I will work on it. Would also love to chat with you to understand your application for it, if you're free sometime this week or later. calendly

Thanks, bro @drdsgvo , I will work on it. Would also love to chat with you to understand your application for it, if you're free sometime this week or later. calendly

With the synthetic questions and answers generated we want to see if we can train an llm from scratch for question answering with given context.

Hey, @drdsgvo just raised a PR for #599 fixing some evolution flows which solves this problem (90% filling rate). Here is a sample of Spanish data I generated from Wikipedia

Hey, @drdsgvo just raised a PR for #599 fixing some evolution flows which solves this problem (90% filling rate). Here is a sample of Spanish data I generated from Wikipedia <

Thank you very much for your quick response and coding. I tried it (updated to latest ragas version, no modifications in my code).
An exception is raised in line 75 of https://github.com/explodinggradients/ragas/commit/fe0bcc497ec34170efb7a5097e26e651d14cd2a2
Exception message:
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Facing same problem with @drdsgvo  on Japanese docs.

Hey @c-yeh @drdsgvo sorry guys, that was poor testing on my part. I have merged a fix for it. Can you guys please install it from the source and try again? We will make a release later this week.

@shahules786
Using 0.1.2.dev8+gc18c7f4 the generator.generate_with_langchain_docs() part seems to proceed, but it's been 30 min now and neither does it error out or finish (~1k docs). Is it supposed to take this long for test_size=10?
testset = generator.generate_with_langchain_docs(
    documents=lc_docs, test_size=10, distributions={simple: 0.5, reasoning: 0.25, multi_context: 0.25})

@c-yeh can you decrease the number of docs to (<100) and try again?

@shahules786

can you decrease the number of docs to (<100) and try again?

Tried with 50 docs and it generator.generate_with_langchain_docs() finished in ~4min.
So at least it seems to not error out like before.

I would recommend to gradually increase the number of docs and test size

Do you mean there is possibly a point over which the generation time starts to explode?
I think normally we'd expect linear time increase wrt. number of test_size (and number of docs to a limit), right?
What is a reasonable/normal time for the generation of test_size=10?

I found the reason for the slowness above and have raised an issue: #642


Add task editing

Description:

Click on a task's description to turn it into an editable field.
Click on a task's due date to turn it into an editable field.
Clicking off of either element turns it back into its original form.

Added ability to click on a task's description to turn it into an editable field, click on a task's due date to turn it into an editable field, and clicking off of either element turns it back into its original form.

Added ability to click on a task's description to turn it into an editable field, click on a task's due date to turn it into an editable field, and clicking off of either element turns it back into its original form.


Add Glimmer TS language (trigger CI)

Description
Adds support for TypeScript-flavoured Glimmer.js which will be the component authoring format of the next Edition of Ember.js.
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

.gts search 1.9k files excluding forks

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

class.gts
template-only.gts

Sample license(s):

class.gts -(https://github.com/cardstack/cardstack) MIT
template-only.gjs (https://github.com/CrowdStrike/opensource.crowdstrike.com) MIT

[x] I have added a color

Hex value: #3178c6
Rationale: TypeScript colour which is also used by TypeScript and TSX

[x] I have updated the heuristics to distinguish my language from others using the same extension.

Merged upstream


bug: TODO and HACK behave differently than all other keywords when highlight.keyword = "fg"

Did you check docs and existing issues?

[X] I have read all the todo-comments.nvim docs
[X] I have searched the existing issues of todo-comments.nvim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
0.8.3
Operating system/version
MacOS Ventura 13.2.1
Describe the bug
"HACK" and "TODO" still have a yellow block around them when setting highlight.keyword = "fg"

Steps To Reproduce

Install todo-comments.nvim

require("todo-comments").setup({
      keywords = {
        FIX = {
          icon = " ", -- icon used for the sign, and in search results
          color = "error", -- can be a hex color, or a named color (see below)
          alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
          -- signs = false, -- configure signs for some keywords individually
        },
        TODO = { icon = " ", color = "info" },
        HACK = { icon = " ", color = "warning" },
        WARN = { icon = " ", color = "warning", alt = { "WARNING", "XXX" } },
        PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
        NOTE = { icon = " ", color = "hint", alt = { "INFO" } },
        TEST = { icon = "⏲ ", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
      },

      gui_style = {
        fg = "NONE",
        bg = "BOLD"
      },

      highlight = {
        -- TODO hi
        -- HACK
        -- PERF
        -- FIX
        -- WARN
        -- NOTE
        before = "fg", -- "fg" or "bg" or empty
        keyword = "fg", -- "fg", "bg", "wide", "wide_bg", "wide_fg" or empty. (wide and wide_bg is the same as bg, but will also highlight surrounding characters, wide_fg acts accordingly but with fg)
        after = "fg", -- "fg" or "bg" or empty
        pattern = [[.*<(KEYWORDS)\s*]], -- pattern or table of patterns, used for highlightng (vim regex)
      }
    })

TODO and HACK will have a yellow block around them, but the rest of the keywords will not.

Expected Behavior
I expected TODO and HACK to be highlighted like FIX, PERF, NOTE, and WARN are in the screenshot
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/todo-comments.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

you probably have the treesitter comments parser installed? Uninstall it if you dont want that highlighting.


[feature] Add support for windows network drives as data pipeline source

Is your feature request related to a problem? Please describe.
In our manufacturing enterprise we have machines that generate .XML Files to local disk containing detailed measurings which are interesting for further analysis in Microsoft Fabric or Azure. Those detailed measurings are right now not exposed via OPC UA or other protocolls which is the reason, why this "Fileshare"-Broker is so interesting.
Describe the solution you'd like
We should add a new Data Source in Azure IoT Operations Data Pipelines called "Fileshare" supporting smb network drives from the windows manufacturing machines. As trigger we could have two options: Time interval as well as file creation.
Describe alternatives you've considered
Using a UI-managed paid 3rd-party tool to extract data out of the local files and send via MQTT to a message broker.
Additional context
To build the needed container we can rely on common samba tools like https://pkgs.alpinelinux.org/package/edge/main/x86/samba-client taking hostname, username and password as argument to establish a connection to the fileshare. To bring those files to MQTT we could use https://github.com/sidleal/mqttout with https://github.com/elastic/beats/tree/main/filebeat.
See also https://feedback.azure.com/d365community/idea/76500483-ffc1-ee11-92bc-6045bd7aea25

"fileshare"-broker sounds super complicated for what you are trying to do.
I would just use something like this to push the XML data to MQTT

I would just use something like this to push the XML data to MQTT

Hi @ruonke, thank you for the golang xml package. For someone who is able to write go and has direct access to those systems, this for sure would be one possible and less-overhead solution. Since the solution must be usable for our manufacturing engineers, which do not have much IT expertise or system access, it should be configurable within the Azure IoT Operations WebUI.
Right now those manufacturing engineers are using additional paid 3rd-party tools like Telit deviceWISE to achieve the same.

The recommended approach here would be the following approach:
With a remote shared folder, use the NFS provisioner and directly connect to the NFS storage from a linux container (AKS-EE cluster with NFS storage CSI), have a pod with NFS PVC, and use XML to MQTT logic as mentioned in this thread.
https://learn.microsoft.com/en-us/azure/aks/hybrid/aks-edge-howto-use-storage-nfs

(AKS-EE cluster with NFS storage CSI), have a pod with NFS PVC, and use XML to MQTT logic as mentioned in this thread.

Great Idea @meenag16! This would result in the following picture:

Assuming the OT Engineer in the picture cant code GoLang and does not know much about containers, this brings up the following question:
How to add "custom connectors" to allow the OT Engineer to work with the Azure IoT Operations UI only? If this is possible, I could/would provide this XML / File to MQTT connector (as open source) 🙂


KubernetesClientException on openshift online

Trace:
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/*****-dev/pods/*****-customer-2-6trkc . Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. pods "*****-customer-2-6trkc" is forbidden: User "system:serviceaccount:*****-dev:default" cannot get pods in the namespace "*****-dev": User "system:serviceaccount:*****-dev:default" cannot get pods in project "*****-dev".

Executing the following command on openshift online
oc policy add-role-to-user cluster-reader system:serviceaccount:*****-dev:default

results in the following error:
Error from server (Forbidden): rolebindings.authorization.openshift.io "cluster-reader" is forbidden

is there any alternative valid for OpenShift online or  am I doing something wrong?

@geoand that was my assumption too. Therefore, it that role is mandatory for the client, there is no support for OpenShift Online at the moment.

There are definitely limitations to what you can do with Openshift Online at the moment.


[Do not merge] Remove education AB test

This removes the education a/b test and the related tests.
It should not be merged until we are ready to merge and deploy all the applications having the a/b test removed.
https://trello.com/c/WT9haiUu/59-remove-all-remaining-parts-of-education-navigation-ab-test-logic

The B variant is never shown on the "service" part of the calculator:
https://www.gov.uk/child-benefit-tax-calculator/main?ABTest-EducationNavigation=B
When the test was added the app also included a start page which needed to show education nav. This was moved to frontend. We can remove all AB test logic without affecting any users.


Make Alluxio as UFS of Alluxio

Is your feature request related to a problem? Please describe.
Now, Alluxio can mount so many kind of ufs to alluxio united namespace, but it hard to mount some same kind ufs into alluxio, for example, Alluxio support tencent COS as its ufs, and we can mount a cos bucket to a mountpoint of Alluxio, but if you want to mount two COS bucket with different credential, maybe it is not easy. Many HDFS cluster with different version has the same issue. So if we can support mount more than one Alluxio with different config as ufs, and we can mount them to the root Alluxio namespace, it make many thing easier.
Describe the solution you'd like
Make Alluxio as UFS of Alluxio, Support different mount point with different config
Describe alternatives you've considered
Add a new module under UFS module.
Urgency
Normal
Additional context
Its cool if we impl it.

If you are looking to add different configurations for different mount points, that it already possible with the alluxio fs mount command: https://docs.alluxio.io/os/user/stable/en/core-services/Unified-Namespace.html#mount-ufs-with-specific-versions
From the link:

Nested Mount Points
In addition to the root mount point, other under file systems can be mounted into Alluxio namespace by using the mount command. The --option flag allows the user to pass additional parameters to the mount operation, such as credentials.

$ ./bin/alluxio fs mount /mnt/hdfs hdfs://host1:9000/data/
$ ./bin/alluxio fs mount \
  --option aws.accessKeyId=<accessKeyId> --option aws.secretKey=<secretKey> \
  /mnt/s3 s3://data-bucket/

Its cool if we impl it.

Will close it for now, feel free to reopen it and contact us if this is a strong request.