seeking doesn't seem to work

when seeking inside track the playback is stopped and spotify is disconnecting playback device.
I HTTPstreamer.cpp:455: HTTP close 22
I HTTPstreamer.cpp:440: got HTTP connection 22
I HTTPstreamer.cpp:207: HTTP received =>
GET /stream?id=bbbb3054b6be_1 HTTP/1.1
User-Agent: Rygel/0.42.1 DLNADOC/1.50 UPnP/1.0
Accept-Encoding: identity
Connection: Keep-Alive
Host: x.x.x.107:33855
icy-metadata: 1
transferMode.dlna.org: Streaming
I HTTPstreamer.cpp:309: HTTP response =>
HTTP/1.1 200 OK
contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
transfermode.dlna.org: streaming
Server: spot-connect
Content-Type: audio/flac
Connection: close
I HTTPstreamer.cpp:455: HTTP close 22
D MercurySession.cpp:222: Executing Mercury Request, type SEND
[20:13:32.661495] ActionHandler:560 [0x7fdee9ec9a68]: uPNP stopped
I spotify.cpp:459: Disconnecting Audio/Video playback on xxxx+
[20:13:32.661615] shadowRequest:301 [0x7fdee9ec9a68]: Stop
[20:13:32.661644] AVTStop:204 [0x7fdee9ec9a68]: uPNP stop (cookie 0x1e)
I HTTPstreamer.cpp:163: HTTP streamer bbbb3054b6be_1 stopped
I HTTPstreamer.cpp:140: deleting HTTP streamer bbbb3054b6be_1
I MercurySession.cpp:100: Disconnecting mercury session
I PlainConnection.cpp:187: Closing socket...
E MercurySession.cpp:41: Error while receiving packet: Error in read
I spotify.cpp:576: disconnecting player Audio/Video playback on xxxx+
[20:13:33.660019] ActionHandler:560 [0x7fdee9ec9a68]: uPNP stopped

Thanks for developing this! But I guess I'm not the first user, I others have stared this before.
Here's the full log
spotupnp.log
I'm using Rygel as upnp renderer for tests.
btw: I know seeking is the hardest part. I'm also trying to debug this - https://github.com/mas94uk/upnpTube
btw 2 : can you explain a little bit the architecture of spotupnp?

Well, almost and you are certainly the first to open an issue :-)
I'm not sure what you exactly want to know about the architecture. It's a c/c++ app, standalone. The UPnP side is in charge of detecting devices and monitoring their state/track progress as well as sending all play/pause commands. The Spotify side creates virtual spotconnect players and receives commands from Spotify controller. It performs audio decoding and re-encoding as well as spawning an http server for each UPnP player to grab audio. The Spotify side is really divided into, the un-modified cspot which is purely a Spotify engine and a bridge part which is here to transcode commands and status between the two sides and runs the actual http servers and codecs, one per UPnP player.

Thanks for developing this! But I guess I'm not the first user, I others have stared this before. Here's the full log spotupnp.log
I'm using Rygel as upnp renderer for tests. btw: I know seeking is the hardest part. I'm also trying to debug this - https://github.com/mas94uk/upnpTube btw 2 : can you explain a little bit the architecture of spotupnp?

It's an empty log

sorry. here's there correct file
SpotConnect.log

oh - are you seeking immediately after you started playing or are you waiting  a few seconds (say 10)?

perhaps in this log example I've tried it quite instantly, but I've tried it now in several scenarios and there several unexpected issues that are happening:

if I connect to the upnp renderer during playback, spotify controller app is playing on the phone but no sound is heard on the upnp renderer
seeking is disconnecting the upnp renderer and then when I manually reconnect it, it sometimes work, sometimes doesn't
After seeking if playback continues, the spotify app looks like it's playing at a different time than the renderer. i.e. the app is playing at 1`:30 of the track, but the renderer playing is at 0:10
There are several other issues, unrelated to seeking I encounter while test the seeking function. should I open a new issue for each?

There's another interesting point. I'm heavily testing three different renderer: rygel, kodi and gmrender-resurrect. they all behave differently. most stable is gmrender-resurrect - seeking is working quite good. so it might be a renderer problem and not SpotConnect issue after all

That's the difficulty with UPnP. The standard is very poorly respected and every implementation is different

Can I close this one?

I guess so. The issue is still there, but I'm not doing any active actions to debug it right now. when it works, it works. Thanks!


removing transitive dependencies from dependencies list

brings the dependency list in line with exactly what nuget produces (as far as I can tell).

Do we really want that? Is it needed?

(I mean probably want that - but what are we breaking currrently?)

I guess it's more of a completeness thing than anything else.  it declutters the output, and makes the dependency list that is generated by paket the same as nuget.
in a project of any size, (and I have a few at work), the depency list is relatively large.  a good chuck of these dependencies are transitive.  it leads to larger lock files I guess, and I need to justify the difference to the people I work under ;-)

ok will look into it

Could you please review b014e55 and 11a4308? Thanks

all looks good.  just ran trunk against my solution here, and it worked as expected.

Do we influence the packaged dlls with it? I mean for packages that don't use dependencies but bundle their stuff we still need to package all deps. Otherwise that would create a bug right?

that code just has an impact on the dependencies list, not on the packaged dlls


ui-plugin-examples: Examples fail to start: initialize/install-plugins.js error

The Rancher extension examples in https://github.com/rancher/ui-plugin-examples were recently updated for 2.10, and the @rancher/shell dependency is referencing an incompatible initialize/install-plugins.js file.
On startup (yarn dev) users will experience the following error:
 INFO  Starting development server...

 WARNING  Compiled with 1 warning                                                                                1:26:52 PM

 warning  in<EMAIL_ADDRESS>
export 'InstallCodemirro' (imported as 'InstallCodemirro') was not found in 'codemirror-editor-vue3' (possible exports: CodeMirror, GlobalCmComponent, InstallCodeMirror, VueCodemirror, createLinkMark, createLog, createLogMark, createTitle, default, getLinkMarks, getLocalTime, getLogMark, logErrorType)

There was a spelling error with the InstallCodemirro reference, which has since been corrected in shell.
I can confirm that bumping the shell version of @rancher/shell to 3.0.1-rc.1 fixes the issue. The package.json files need to be updated for those extension examples.

Thanks @krumware , confirmed, we need to bump the shell package in the extension's examples, we will work on it.


Update contributors theme

I made the contributors panel more customizable by theme.

There are conflicts between the master and my new branch, but I'm pretty sure just my branch can be kept.  I added more theme elements to  my Summer Day Theme array, and added them to the theme() function as well.  The only other difference I see is that my branch uses single quotes and the master uses double-quotes, but I didn't change the quotes in the section I didn't change.

@terrifricker  yeah i think the conflicts are only the quotes, do you have a formatter on your code editor? a formatter usually changes the single quotes to double so if you could do that then push it again it should resolve the conflicts and we will know if there is anything else conflicting

Yeah, I’ll get the quotes. Thanks!

do you use vs code?

My VScode must format to single quotes.  I'll find the setting.

@terrifricker  try the prettier formatter https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

Got it!  Thanks.  You are teaching me so much.

There are still conflicts, but if I resolve them, I'm only given the option to merge.

@terrifricker yes thats right it will merge master into your branch go ahead a resolve them if you want mate.

OK. I was afraid it was asking to merge into this master, not mine.

Cool!  Thanks.

Wait.  I don't think I understood.  I merged any changes made to this master (official master) into my branch (my repository)?

@terrifricker yeah i get how these merge conflicts can be confusing man, what you should of done is kept the changes that you made and removed the old code that conflicts with it so your changes are added

let me know if they correct and i will merge this.

Wait. I don't think I understood. I merged any changes made to this master (official master) into my branch (my repository)?

yeah it merges your branch and the official master but it doesn't push it to the to the official master until i press the button to merge the pull request.

@terrifricker
to make merge conflicts easier sometimes its better to pull the upstream into your branch so you can sort the conflicts there, sometimes its hard to sort complicated conflicts on here because you cant debug it properly and see whats working on the page, also be mindful of other peoples code and dont just delete it all so it resolves the conflict, try and see if you can get a way for it to work with both if they have just changed the same part as you, and if you dont understand what the code is doing fully just comment it out instead of deleting just to be safe.

@terrifricker after pulling this on mine it looks like the background of the panel always stays to the summers day theme, maybe something in the merge went wrong?  i get what you were trying to do its a really good idea to have the panel change with the theme, so im thinking maybe something wrong or maybe you forgot to have the background change?

I'll go look at it.

I had only added the changes into my summer day theme to practice on, so any of the new attributes took my colors only.  Does that make sense?  Going to summer day, changed panel-background, but no other theme had a panel-background, so it stayed my color.

The border-left doesn't work because I only gave it a color, leaving out the '15px solid'  Goin back in to work on that.

It's ready to merge.


⚠ Bofrost.lu has degraded performance

In 491724e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 815 ms

Resolved: Bofrost.lu performance has improved in 6a904dd after 6 minutes.


Node 14 update

Hi,
I noticed this PR from a year ago to support node 12: https://github.com/astro/node-expat/pull/196. I was wondering if there was a similar one planned for the latest node 14 lts release or if you have any steps and advice for what it would take to open a PR against this repo. Thank you.

I believe @Y-- is the chief here now.

Started this PR https://github.com/astro/node-expat/pull/208
Please let me know what you think, happy to work on any feedbacks.

PR Merged => closing.

I have been using it with node 15 for a while, seems working to me.


Add various Robo.js community templates

Hai everyone! 👋
We've created a framework for Discord Activities and curated various templates for it, with different use cases for it. We didn't want to spam with all examples in the table, so we've linked to the Robo.js Discord Activities templates page instead.
Our list of templates and plugins for Discord Activities is growing. We intend on maintaining and updating them regularly. We also write tutorials for Discord Activities and other topics related to Discord development.

Thank ya!


fix elements which involve [TOE, TOE platform]

A lot of the functional elements use the obsolete construction: "The [selection: TSF, TOE platform] shall..."
These need to be reworked into "The email client shall ...".  The element can then state -- only when appropriate -- a selection between [implement, leverage the platform].  (Much of the existing functionality should really only be provided by the email client, so the selection should often not be necessary at all.)

27 additional references to TSF, TOE platform have been removed. No references to [implement, leverage the platform] have been added.  Update to be pushed today.


Revert "AMBARI-22934. [API] Updating current stack repo without GPL r…

What changes were proposed in this pull request?
This reverts commit cad4b63ec782e34b2b9a77b0ee56f20602a198ab.
How was this patch tested?
Waiting on automated tests.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/793/
Test FAILed.
Test FAILured.


Clarify usage

I always do require('vanilla-javascript') in all of my projects at the beginning of the file. Is this the correct usage?

It's correct for CommonJS projects.
In modern projects please use:
import 'vanilla-javascript';


feat: Updated range of supported versions of Terraform and providers

Closes #70

v1.28.0 has been just released.


Inbound traffic not processed if restarted all k8s nodes at same time

I have terminated all kubernetes nodes (spot EC2 instances).
When stated new EC2 kubernetes instances, then HTTP/HTTPS resuest is not processed.

issue was missconfigured ingress
example
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: monster-ui-external
  annotations:
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/scheme: internet-facing
    alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-west-2:612528789372:certificate/db913476-e90a-4ea6-9888-7b3288ab11e3
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
    kubernetes.io/tls-acme: "true"
    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
spec:
  tls:
  - hosts:
    - "nga911.com"
    - "*.nga911.com"
    secretName: letsencrypt-cluster-prod
  rules:
    - host: qpanel.nga911.com
      http:
        paths:
          - path: /*
            backend:
              serviceName: qpanel
              servicePort: 5000
    - host: sip-trace.nga911.com
      http:
        paths:
          - path: /*
            backend:
              serviceName: homer
              servicePort: 80
    - host: sms2im.nga911.com
      http:
        paths:
          - path: /v1/*
            backend:
              serviceName: kazoo-api
              servicePort: 8000
          - path: /v2/*
            backend:
              serviceName: kazoo-api
              servicePort: 8000
          - path: /*
            backend:
              serviceName: kazoo-api
              servicePort: 37517
    - host: pbx.nga911.com
      http:
        paths:
          - path: /v1/*
            backend:
              serviceName: kazoo-api
              servicePort: 8000
          - path: /v2/*
            backend:
              serviceName: kazoo-api
              servicePort: 8000
          - path: /*
            backend:
              serviceName: monster-ui
              servicePort: 80
    - http:
        paths:
          - path: /*
            backend:
              serviceName: monster-ui
              servicePort: 80

Here kazoo-api service defined as
apiVersion: v1
kind: Service
metadata:
  name: kazoo-api
spec:
  ports:
  - port: 8000
    targetPort: 8000
    protocol: TCP
    name: internal-api
  - port: 32517
    targetPort: 32517
    protocol: TCP
    name: external-api
  type: NodePort
  selector:
    app: app

As you can see service have port 32517 and ingess use port 37517.
As result in alb-ingress cannot configure all inbound rules.
Suggestion:  alb-ingress may discard only missconfigured part of config and start rest.
In my example rules for qpanel.nga911.com, sip-trace.nga911.com and for default domain may be configured.

/remove-lifecycle stale


Feature: exposing HKHeartbeatSeriesQuery for Heartbeat series data

First of all, thanks for the great and modern library in TypeScript and Swift! Fantastic work.
One thing that seems to be missing is the ability to obtaining raw heartbeat data by first querying HKHeartbeatSeriesSample, which can be done with a normal anchored query, and then obtaining the underlying heartbeat data of each sample with a HKHeartbeatSeriesQuery.
I went ahead and implemented it myself, exposing the queryHeartbeatSeriesSamples method that returns the serialized samples comprising the heartbeat data as described above.
However, before submitting any PR, I wanted to be sure that there is no other way to do it with the already existing implementation that I might have missed.
Cheers!

A PR for this is more than welcome @oldratip! :)


Add command to diff environments

regular old diff is ok, but when I look at my dev.env to see what is
different from it and the checked in stage.env it can be a bit noisy,
when usually all I want to see is what keys have been added/removed
This should make that a little easier.

i think this should be an actual command, like stacker compare so i can run it in the directory where my stacks live easily

nvm, i forgot how scripts work in python :)


Remove keyboard button from additional notes

Now that I have it on the keyboard toolbar it's unnecessary

v1.0.7 will have this change


Cannot load a phi-3.5 model trained and saved by llama-factory

Reminder

[X] I have read the README and searched the existing issues.

System Info
[2024-10-07 00:32:21,869] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
[WARNING]  async_io: please install the libaio-dev package with apt
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.4
[WARNING]  using untested triton version (3.0.0), only 1.0.0 is known to be compatible
/home/temp_test/miniconda3/envs/factory/lib/python3.11/site-packages/deepspeed/runtime/zero/linear.py:47: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
@autocast_custom_fwd
/home/temp_test/miniconda3/envs/factory/lib/python3.11/site-packages/deepspeed/runtime/zero/linear.py:66: FutureWarning: torch.cuda.amp.custom_bwd(args...) is deprecated. Please use torch.amp.custom_bwd(args..., device_type='cuda') instead.
@autocast_custom_bwd

llamafactory version: 0.8.4.dev0
Platform: Linux-5.4.0-125-generic-x86_64-with-glibc2.35
Python version: 3.11.9
PyTorch version: 2.4.0+cu121 (GPU)
Transformers version: 4.45.0
Datasets version: 2.20.0
Accelerate version: 0.33.0
PEFT version: 0.12.0
TRL version: 0.9.6
GPU type: NVIDIA A100-PCIE-40GB
DeepSpeed version: 0.14.4

Reproduction
model
model_name_or_path: ./saves/phi3/sft/epoch-1 #"./saves/phi3/sft/checkpoint-922" #microsoft/Phi-3.5-mini-instruct #./saves/phi3/sft/epoch-1
method
stage: dpo
do_train: true
finetuning_type: full
deepspeed: examples/deepspeed/ds_z3_config.json
use_adam_mini: true
....omitted
Expected behavior
No response
Others
[rank2]: Traceback (most recent call last):
[rank2]:   File "/home/temp_test/projects/LLaMA-Factory/src/llamafactory/launcher.py", line 23, in
[rank2]:     launch()
[rank2]:   File "/home/temp_test/projects/LLaMA-Factory/src/llamafactory/launcher.py", line 19, in launch
[rank2]:     run_exp()
[rank2]:   File "/home/temp_test/projects/LLaMA-Factory/src/llamafactory/train/tuner.py", line 56, in run_exp
[rank2]:     run_dpo(model_args, data_args, training_args, finetuning_args, callbacks)
[rank2]:   File "/home/temp_test/projects/LLaMA-Factory/src/llamafactory/train/dpo/workflow.py", line 46, in run_dpo
[rank2]:     model = load_model(tokenizer, model_args, finetuning_args, training_args.do_train)
[rank2]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank2]:   File "/home/temp_test/projects/LLaMA-Factory/src/llamafactory/model/loader.py", line 173, in load_model
[rank2]:     model = load_class.from_pretrained(**init_kwargs)
[rank2]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank2]:   File "/home/temp_test/miniconda3/envs/factory/lib/python3.11/site-packages/transformers/models/auto/auto_factory.py", line 553, in from_pretrained
[rank2]:     model_class = get_class_from_dynamic_module(
[rank2]:                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank2]:   File "/home/temp_test/miniconda3/envs/factory/lib/python3.11/site-packages/transformers/dynamic_module_utils.py", line 552, in get_class_from_dynamic_module
[rank2]:     return get_class_in_module(class_name, final_module, force_reload=force_download)
[rank2]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank2]:   File "/home/temp_test/miniconda3/envs/factory/lib/python3.11/site-packages/transformers/dynamic_module_utils.py", line 249, in get_class_in_module
[rank2]:     module_spec.loader.exec_module(module)
[rank2]:   File "", line 940, in exec_module
[rank2]:   File "", line 241, in _call_with_frames_removed
[rank2]:   File "/home/temp_test/.cache/huggingface/modules/transformers_modules/microsoft/Phi-3.5-mini-instruct/af0dfb8029e8a74545d0736d30cb6b58d2f0f3f0/modeling_phi3
.py", line 48, in
[rank2]:     from .configuration_phi3 import Phi3Config
[rank2]: ModuleNotFoundError: No module named 'transformers_modules.microsoft.Phi-3'

it's OK when model_name_or_path is "microsoft/Phi-3.5-mini-instruct", but error occurs when I set it to be "./saves/phi3/sft/epoch-1"

Check if the files in the saved folder match the files in the original repo


Update client3:async-http-client-backend-zio, ... to 3.4.2

Updates

com.softwaremill.sttp.client3:async-http-client-backend-zio
com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core
com.softwaremill.sttp.client3:httpclient-backend-zio
com.softwaremill.sttp.client3:slf4j-backend
com.softwaremill.sttp.client3:zio

from 3.3.18 to 3.4.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #318.


data preprocessing: empty 'tgt' text

Hi,
I'm doing data preprocessing with my own data.
I converted my data to json file which has 'src', and 'tgt' dictionary.
and then run data preparation code step 2, 3, 4, 5.
but there is no tgt text. It's empty. all text is input as 'src'.
could anyone help me?
my data shape is below.

below is the data shape which is done step3&step 4.
all tokenized word is put as 'src'....

I added '@highlight' before summary sentence and it was cleared. thanks.


[HIGH PRIORITY] Export the RSVP data (name and email) from a specific event into a .csv file

Currently there is a "Print RSVPs" functionality on the event page (where I can then save as a PDF) but the "Attended" and "Actions" columns i also get pulled into the document, as well.
I'm looking for a way to export just the RSVP name/emails to be used in a separate document each tutoring session, with the ability to them just copy the emails, if needed. So a .csv file would work perfectly.
We will be using this information to pair students with RSVP'd tutors 24 hours in advance or to easily be able to copy all the emails from an event to send a mass email, etc

Closing in favor of #28 -- this will get addressed in that work.


Launch issue on ArchLinux . qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found

Describe the bug
Impossible to launch DataLab. Error message :

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QObject::moveToThread: Current thread (0x2a5c610) is not the object's thread (0x3eac870).
Cannot move to target thread (0x2a5c610)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/.../Python/Anaconda/anaconda3/lib/python3.11/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc, webgl.
Abandon (core dumped)

To Reproduce
Launch DataLab with cdl command line immediately after installation.
Expected behavior
Application launch normally
Screenshots

Installation information

DataLab installed using pip install cdl command line.

Additional context
PC specs :

OS : ArchLinux 9.3
Windowing system : Wayland
GNOME version : 40.4.0
GPU : NVIDIA RTX 5000 Ada

This is a known behaviour related to one of DataLab dependencies, namely opencv-python.
It can be solved by installing the right package dependencies (libxcb related packages).
But could you try the following (much simpler solution that could benefit to other users of DataLab):
pip uninstall opencv-python
pip install opencv-python-headless

Hello Pierre,
Unfortunately I am on vacations since 2 hours, and I left my computer at the office. I'll be back on January 15, I'll try the solution then.
Thank you for the quick reply, I am waiting to test DataLab as it seems very promising.
Regards

Thanks Adrian.
Please do no hesitate to contact me when you have the opportunity to test this.
In the meantime, enjoy your vacation! 🏖


Compass Widget not Appearing in 2.0.0-beta-6

I have the following razor file:
<MapView Style="height: 400px; width: 100%;" @ref="_mapView">
    <CompassWidget Position="OverlayPosition.TopLeft" />
    <WebMap>
        <PortalItem Id="f49478f4464d4ecd80a37f1b8ffcb081"/>
    </WebMap>
</MapView>

But the compass does not appear on the page. I also tried it with the home button:
<MapView Style="height: 400px; width: 100%;" @ref="_mapView">
    <WebMap>
        <PortalItem Id="f49478f4464d4ecd80a37f1b8ffcb081"/>
    </WebMap>
    <HomeWidget Position="OverlayPosition.TopLeft" />
</MapView>

Neither of them appear on the page, and no errors in the console. I also tried other locations, same results.

As @seahro pointed out, the getting started page is missing the using:
@using dymaptic.GeoBlazor.Core.Components.Widgets

And I didn't have that either, so dotnet tries to render <CompassWidget.. literally. So... I'll add that to the getting started page.

Updated in https://github.com/dymaptic/GeoBlazor/commit/551e5e9108b10d8d4a711bb15bca060f4bbcc7d0


SmeDesktop unable to connect to any device for Admin, error 500 bad format, Exception from HRESULT: 0x8007000B

Gateway Version: 2110.2
Extension Version: N/A
To Reproduce
Steps to reproduce the behavior:

Install windows admin center on windows 10 21H2 (including latest patches)
Launch Windows Admin Center
Select any device to open for remote management.  (pre-installed localhost for example)
Connection error observed
Connection error
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Event Log entry related to connection error

500 - BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
 Stack trace:    at System.Net.UnsafeNclNativeMethods.HttpApi.GetChunks(Byte[] memoryBlob, IntPtr originalAddress, Int32& dataChunkIndex, UInt32& dataChunkOffset, Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.HttpRequestStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
   at System.IO.Stream.<>c.b__43_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func`5 beginMethod, Func`3 endMethod)
   at System.IO.Stream.BeginEndReadAsync(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Net.Http.StreamToStreamCopy.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpContent.d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpContent.d__63`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ManagementExperience.Common.PowerShell.PowerShellRequest.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ManagementExperience.FrontEnd.Controllers.FeatureController.d__89.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ManagementExperience.FrontEnd.Handlers.ImpersonationActionInvoker.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Expected behavior
Device management screen loads
Screenshots & Additional context

-- target install laptop has several network interfaces both virtual (VMware and Virtualbox), ethernet and wifi.
-- Various development software installed on impacted machine VS2013 and Android Studio
Things Investigated/Tried Already
-- Downloaded msi when installed on another windows 10 machine does not experience the same problem. Appears to only impacts this specific laptop.
-- Remove and re-install does not appear to help.
Additional Note
Happy to provide any and all additional detail.

Hi,
I'm Rebecca, PM on WAC. Are you still facing this issue?
I'd be happy to troubleshoot with you. If this is OK with you, please send me an email on<EMAIL_ADDRESS>with your timezone and I will set up a teams call.
Kind regards.


Suggestion [ID :: 270376] Goo screen border when TF'd.

Exactly like vignette, but with a different texture. Only present on non-organic latexes.
Suggestion by SOMEWON03#2609

Maybe this could be extended to while being human? As in, the higher your infection % is, the more the screen border is visible.


ABW-2721 - Warning shown on Non conforming transaction before user can continue with signing.

Description
Warning is shown for Non Conforming transactions before user can continue with signing transaction.
How to test

Trigger some kind of Non Conforming transaction
Observe warning dialog with a Continue button that make dialog gone and user is able to continue with signing.

Screenshot

PR submission checklist

[x] I have tested Non Conforming transfer and verified that warning is shown.

@raf-rdx don't forget to add these keys to Crowdin


Go client for Seaweedfs

Hi, I am wondering if seaweedfs have client module in go or if there is any guide/mechanism to connect to weed server using golang without http call (I mean if i can connect it over tcp or grpc). If there is any please tell me. Thanks.

https://github.com/chrislusf/seaweedfs/wiki/Client-Libraries

https://github.com/chrislusf/seaweedfs/wiki/Client-Libraries

Thanks @ijunaid8989 . I was reading wiki after opening this issue. It's my bad I haven't seen wiki before creating this issue.


redirect_uri mismatch

One of our customers came across this issue. they provided the correct redirect_uri on the auth code request, but then the wrong one on the token request.
the error they receive was a 401 "Access Denied", which is correct, but not descriptive. I could start overriding things up in the stack to add a check, but I feel like a more descriptive error can just come back from here, seeing as how there's already an exception specifically for this.
thoughts?
/cc @bjmc @thedrow

if this is acceptable i will happily adjust the test suite to handle it, obviously

This seems sensible to me, unless there's something in the OAuth2 spec that forbids giving more detailed information for security reasons. And this could be potentially a breaking change for clients that look for the old, generic error.

Actually, should this be MismatchingRedirectURIError? The context here is that the client sent a different redirect_uri during the authorization request than they sent on the token request.

Yeah, that actually makes sense to me. updated.

Thanks for the contribution. It will be released soon.


Add support for winit 0.22, fix some clippy warnings

This simply adds support for winit 0.22,  adding the appropriate changes where necessary and sharing feature flags with winit-20 where possible.
Also fixed a few clippy warnings, since they were annoying me in my project.

I think you need to update the CI config so that winit-22 feature is tested.

Thanks! :smile:
Could you fix the formatting errors and also rebase? I just had to bump minimum Rust version to 1.40 in master because a dependency uses features not available in 1.38.
Also, as suggested earlier, the CI config should test winit-22 as well.


Testing: SAL

Description
We need to test different functions under Jumpscale/sal to make sure that it is working as expected.
Steps to accomplish the task

Gather all the requirements for each SAL and list them in the traceability matrix.
Design the test cases according to those requirements and report them in TestQuality
Execute the test cases and report different bugs (Manual execution)
Automate those test cases

Modules under testing
Jumpscale/sal:

[ ] bash
[ ] bcdbfs
[ ] bind
[ ] btrfs
[ ] disklayout
[ ] dnsmasq
[ ] fs
[ ] hostfile
[ ] kvm
[ ] netconfig
[ ] nettools
[ ] nfs
[ ] nginx
[ ] nic
[ ] openvswitch
[ ] process
[ ] qemu_img
[ ] rsync
[ ] samba
[ ] shorewall
[ ] sshd
[ ] ssl
[ ] tls
[ ] ubuntu
[ ] ufw
[ ] unix
[ ] windows

What should be delivered?
1- Traceability matrix
2- Test cases description in testquality
3- Automation test cases

bash moved to tools so it will be tested in tools.
Start working on fs.


[WIP] Add Upscale transform

Codecov Report
Attention: Patch coverage is 0% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 92.20%. Comparing base (7b78b51) to head (7233710).

Files
Patch %
Lines

src/upscale.jl
0.00%
20 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   94.62%   92.20%   -2.42%
==========================================
  Files          15       16       +1
  Lines         763      783      +20
==========================================
  Hits          722      722
- Misses         41       61      +20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ENYO-828: Adjust maximum button width, other measurement tweaks.

Issue
The maximum width of moon.Button is currently 302px, which is not a multiple of 3.
Fix
We adjust the maximum width of moon.Button, along with some other measurement tweaks aimed to promote saner measurement values.
Enyo-DCO-1.1-Signed-off-by: Aaron Tam<EMAIL_ADDRESS>

Why were the other values changed? They all appear to be %3.

@ryanjduffy restored a few measurements to their original %3 values, wanted to use saner values for moon.ImageItem.


Windows shutdown error

Now i get this error on shutdown.
Calling RFC functions before works fine.
This error also comes with the simple command php -m

Which version did you use?
Can you tell what was the last version where you did not experience this
error?
On 02/16/2016 10:28 AM, Martin Keckeis wrote:

Now i get this error on shutdown.
Calling RFC functions before works fine.
This error also comes with the simple command |php -m|
image
https://cloud.githubusercontent.com/assets/533017/13072147/e6609ac0-d497-11e5-8f3c-717cd2cc010e.png
—
Reply to this email directly or view it on GitHub
https://github.com/gkralik/php7-sapnwrfc/issues/6.

Latest. Need to go through the commits, will inform you when i found the last working commit.

Needed to build a lot of times to get the commit :+1:
With this commit fd56ff26c12ef099e4c6a21aa39494432cba58af it stopped to work
https://github.com/gkralik/php7-sapnwrfc/commit/fd56ff26c12ef099e4c6a21aa39494432cba58af
;extension=php_sapnwrfc-c4ecab0276d2e8159e8138680c8571a3b50da935.dll	; nope
;extension=php_sapnwrfc-20f4f437a2d0f5fd7074afbcf5df883882bc18ff.dll	; WORK
;extension=php_sapnwrfc-afd90b6e667f89ad586caa193bda842c914aca98.dll	; nope
;extension=php_sapnwrfc-58251b123861eddf76406120a8a909dc7c20e19c.dll	; nope
;extension=php_sapnwrfc-8d1f9276b84842ec7d53ece3fd1d0e75c12d2d8c.dll	; WORK
;extension=php_sapnwrfc-88b3ba2319a94417f2cbf6184de427c1aa6a6a5d.dll	; WORK
 extension=php_sapnwrfc-fd56ff26c12ef099e4c6a21aa39494432cba58af.dll  ; nope

Ok, thanks. I'll have a look in the evening.. seems strange. Can you
show me a stripped down version of the PHP script you use that I can use
to try to reproduce the issue?

@ThaDafinser can you try the fix-shutdown-error-on-windows branch and
check if it makes a difference? Just a wild guess, but maybe it helps me
narrow down the problem...
On 02/16/2016 12:21 PM, Martin Keckeis wrote:

Needed to build a lot of times to get the commit :+1:
With this commit |fd56ff26c12ef099e4c6a21aa39494432cba58af| it stopped
to work
fd56ff2
https://github.com/gkralik/php7-sapnwrfc/commit/fd56ff26c12ef099e4c6a21aa39494432cba58af
|;extension=php_sapnwrfc-c4ecab0276d2e8159e8138680c8571a3b50da935.dll ;
nope
;extension=php_sapnwrfc-20f4f437a2d0f5fd7074afbcf5df883882bc18ff.dll ;
WORK
;extension=php_sapnwrfc-afd90b6e667f89ad586caa193bda842c914aca98.dll ;
nope
;extension=php_sapnwrfc-58251b123861eddf76406120a8a909dc7c20e19c.dll ;
nope
;extension=php_sapnwrfc-8d1f9276b84842ec7d53ece3fd1d0e75c12d2d8c.dll ;
WORK
;extension=php_sapnwrfc-88b3ba2319a94417f2cbf6184de427c1aa6a6a5d.dll ;
WORK extension=php_sapnwrfc-fd56ff26c12ef099e4c6a21aa39494432cba58af.dll
; nope |
—
Reply to this email directly or view it on GitHub
https://github.com/gkralik/php7-sapnwrfc/issues/6#issuecomment-184637482.

@gkralik that branch works.
Compiler shows me two warnings now

Very well. The please update the fixed branch and try again... I changed
the handling of the errorInfo member. Curious if that works now.
On 02/16/2016 01:12 PM, Martin Keckeis wrote:

@gkralik https://github.com/gkralik that branch works.
Compiler shows me two warnings now
image
https://cloud.githubusercontent.com/assets/533017/13075912/e90404ee-d4ae-11e5-8e17-a2281a935c9d.png
—
Reply to this email directly or view it on GitHub
https://github.com/gkralik/php7-sapnwrfc/issues/6#issuecomment-184659617.

@gkralik still work with the 2nd commit in that branch.
Two warnings still exist

OK, I'll fix the unused error_info error, but the signed/unsigned
mismatch should already have been resolved in master...
On 02/16/2016 01:20 PM, Martin Keckeis wrote:

@gkralik https://github.com/gkralik still work with the 2nd commit in
that branch.
Two warnings still exist
—
Reply to this email directly or view it on GitHub
https://github.com/gkralik/php7-sapnwrfc/issues/6#issuecomment-184661476.

Merged and fixed on current master. Thanks for your help.


Documentation: fixup formatting on getting-started

Be consistent with tabs/spaces in json
Always put a newline between a code section and previous paragraph

cc @robszumski @jonboulle

Thanks.


Add Svelte + Sapper

Hi, thanks for that list, it's very helpful!
I think it'd be great to add Svelte and its Sapper framework to the list.

I'd gladly appcet a PR :-)


Fix npm logging levels on README.md

Added missing http: 3 level and changed numeric priority on other levels respectively.

Thanks!


[bug] multiple game crashes

Trying to copy specific text from the following games results in the game crashing:

Minecraft (any version)
Counter Strike 2

Both are being ran as native Linux titles, running through XWayland.
System info
OS: Artix Linux x86_64 with OpenRC
Kernel: Linux 6.12.7-artix1-1
Window Manager: Hyprland (Wayland)
GPU: NVIDIA, proprietary drivers 565.77 (installed packages: nvidia-dkms, nvidia-utils, lib32-nvidia-utils)
More details
All issues disappear upon killing clipse with clipse -kill or via the killall command.
Minecraft does not crash when selecting a text and pressing ctr+c, instead, only specific actions trigger the crash, like copying a seed from the chat using /seed or copying coordinates with f3+c.
Minecraft crash logs upon clicking on the seed:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Resource id in failed request:  0x20000a
  Serial number of failed request:  12754
  Current serial number in output stream:  12760
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007b7fa0c7d042, pid=16487, tid=26989
#
# JRE version: OpenJDK Runtime Environment (17.0.13+11) (build 17.0.13+11)
# Java VM: OpenJDK 64-Bit Server VM (17.0.13+11, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libopenal.so+0x7d042]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/javatrix/.local/share/PrismLauncher/instances/Fabulously Optimized(1)/minecraft/hs_err_pid16487.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
Process crashed with exitcode 6.

Trying to copy anything form Counter Strike's console or chat results in the window hanging, requiring a manual kill. I am not aware on how to obtain Counter Strike's logs, if anyone knows how to do so, please drop a comment.

Also tried using the wl-clipboard-rs package instead of wl-clipboard; doing so results in clipse not capturing any text nor images, but the crashes stop. Effectively, it just disables clipse.


[Bug] Basic Data Structures: Check if an Object has a Property

Describe your problem and how to reproduce it:
Found from this PR https://github.com/freeCodeCamp/freeCodeCamp/pull/19367
The tests are only checking if all the properties exists and another check is done after deleting all the properties so code like:
function isEveryoneHere(obj) {
  return users.hasOwnProperty('Alan', 'Jeff', 'Sarah', 'Ryan'); //shouldnt pass since .hasOwnProperty() doesnt take more than 1 parameter but would only check the first one.
}

and
function isEveryoneHere(obj) {
  return obj.hasOwnProperty("Alan");
}

Passes the challenge whereas they shouldn't.
This can be resolved by adding checks after deleting each property or randomly deleting one and then checking.
Add a Link to the page with the problem:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/check-if-an-object-has-a-property/
Tell us about your browser and operating system:

Browser Name: Chrome
Browser Version: 69
Operating System: 10

Hey @QuincyLarson @raisedadead, is it fine to accept PR to update the tests to fix this bug?

This issue still persists. hasOwnProperty method doesn't accept multiple parameters, contrary to what has been shown in the lesson. The solution also seems to be incorrect.

Hello, thanks for your help
Mamie

Just confirming that this issue is still persisting. if (users.hasOwnProperty('Alan')){   return true; } else {   return false;   }
will pass the tests.

@razzlestorm It has been fix but not deployed to production.

The guide on this question is also very misleading, basically giving the wrong answer, and since the test is not strict enough people can pass with the wrong answer. Wrong Guide Link
This is probably due to the fact that you could do this with Object.hasOwnProperty

And still have true returned.
Students on the forum has got the answer for this question and the proper way of solving the problem here.

@wudifeixue I completely agree with you, so I just created PR https://github.com/freeCodeCamp/freeCodeCamp/pull/36125 to added valid solutions to the guide.  Keep in mind, even when the PR is merged, you will not see the Guide updated until the current master branch has been deployed to production.

@RandellDawson Awesome, thanks for the super fast pull request too!


Schema for donor metadata?

https://github.com/hubmapconsortium/search-api/issues/44 is tracking the indexing of donor metadata. Is there any documentation or schema about what that data should look like? (When there's a pointer for it, file a new issue in this repo to incorporate it.)

assigning to @shirey, but feel free to reassign to a better contact.
cc: @bherr2

With the portal index, I'm not really as concerned about this: Hitting unexpected data at index time is a lot less frustrating than having to deal with it in the front end. @bherr2 : If this is still something that would be helpful for you, reopen and nudge Bill.


Panda not recognized on Comma 2 after recent update

Describe the bug
A few people are having an issue with their Comma device not recognizing the Panda after a recent update.
I believe that the Comma 3s have been fixed by ssh-ing in and reflashing the Panda, but the Comma 2s are giving an errors message and will not reflash.
Apparently, the commit that caused this problem in the first place has been reverted by Comma.
What hardware does this issue affect?
comma two
Provide a route where the issue occurs
No routes show up in Connect after the update.
openpilot version
v0.8.13
Additional info
No response

Just to add some more detail:
It seems Panda firmware build from Panda commits on Feb 9 are causing Pandas to be unable to enter DFU mode. It seems to work normally otherwise - the problem shows up when updating to a version of OP that references a newer panda commit.
When the command to enter bootstub is sent, the panda resets immediately into normal mode (reset is confirmed as the debug console connection is terminated)

Several GM people ran into this with C2s. I ran into it a couple times with my C3 as well. The user-facing problem was "NO PANDA" in the UI. Upon digging deeper. we found pandad tanking with an assert here. I don't know the triggering condition, but I ass-u-me it related to commaai/panda#852. Myself and the GM users were running pretty current master-derived branches.
We were eventually able to get the affected users back online.
I did a SSH help session with one of them, and initially couldn't get their Panda back. Main problem was essentially the one that halted pandad, I couldn't get Panda to go into the bootstub. And since getting to DFU requires a trip through the bootstub, even though it was running DEV firmware, I couldn't get it into DFU either. Panda would respond to the reset, but come back as normal 0xddcc instead of 0xddee.
 It turns out the user I worked with had his engine running while we were working.  I can't see anything that would stop us from flashing based on ignition state. I dimly recall there was some issue with certain CAN activity affecting flashing, but this was from years ago and I can't remember enough detail to track it down and see if it's still a problem.

This was caused by https://github.com/commaai/panda/pull/817 and fixed with https://github.com/commaai/panda/pull/852. I appreciate that forks want to stay up to date, but I think this is a good reminder to base branches intended for users on more stable releases.

Agreed.  I created the issue also with the hope that the information and data would be helpful for all.


Put a Windows-specific example in the docs

Users are asking to have a Windows-specific example of how to set up MaTeX:

Can you make my config style in your future documentation? @szhorvat
ConfigureMaTeX[ "pdfLaTeX" -> "D:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\pdflatex.exe", "Ghostscript" -> "D:\\Program Files\\gs\\gs9.21\\bin\\gswin64c.exe"]

After careful consideration, this won't be added. There is no typical location, and it is unclear if a Windows-specific example will be more helpful or more confusing. MiKTeX usually installs in the user's home directory, so that path is username dependent (not Program Files). Also, auto-detection typically succeeds on Windows.


[QUESTION] Can OpenGL ES be used as backend

Hello,
I made a C native library to create a EGL context on a raspberry pi 4 and be able to draw in a VideoCore native window. The context is successfully created and can be used in that native lib.
I then made a C# lib to wrap the native one using p/invoke. The call is made, and the EGL context is created.
Is it possible to use it as a backend for SkiaSharp ?
I tried the following code :
IntPtr glContext = _bridge.CreateGLContext(); // My native call
var info = new SKImageInfo(1920, 1080);
var context = GRContext.Create(GRBackend.OpenGL); // null
var surface = SKSurface.Create(context, false, info); // Exception

And
IntPtr glContext = _bridge.CreateGLContext();
var info = new SKImageInfo(1920, 1080);
var glInterface = GRGlInterface.CreateNativeGlInterface(); // maybe this ?
var context = GRContext.Create(GRBackend.OpenGL, glInterface); // nope, still null
var surface = SKSurface.Create(context, false, info);

It's of course, on the same thread.
I don't know what to do or is this even possible
Thanks for your help

I think you have to make sure the context is attached to the right thread you want to use it on by calling https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglMakeCurrent.xhtml before you can create a GRContext. Just a guess.

Thanks for your reply, but I'm already doing this :)
without all the check/asserts and the videocore stuff, here's basically what i'm doing with egl :
display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
eglInitialize(...);
eglBindAPI(EGL_OPENGL_ES_API);
eglChooseConfig(...);
surface = eglCreateWindowSurface(...);
context = eglCreateContext(...);
eglMakeCurrent(display, surface, surface, context);

Please try to pass the GRGlInterface explicitly. You can create one with https://docs.microsoft.com/en-us/dotnet/api/skiasharp.grglinterface.assembleglesinterface?view=skiasharp-1.68.0 and call https://docs.microsoft.com/en-us/dotnet/api/skiasharp.grcontext.create?view=skiasharp-1.68.0#SkiaSharp_GRContext_Create_SkiaSharp_GRBackend_SkiaSharp_GRGlInterface_ afterwards.

I tried that, but I honestly don't know what to do with that.
In the C lib, I return the pointer from eglCreateContext() to the C# layer (IntPtr object)
I tried this :
var glInterface = GRGlInterface.AssembleGlesInterface((ctx, name) => {
    return _bridge.CreateGLContext();
});
var context = GRContext.Create(GRBackend.OpenGL, glInterface);

but the AssembleGlesInterface call lead me to a Segmentation fault
But maybe it's not what I suppose to do.
I tried with both broadcom and mesa OpenGL driver

Have a look at the unit tests for some ideas:
https://github.com/mono/SkiaSharp/blob/master/tests/Tests/GlContexts/Glx/GlxContext.cs
SkiaSharp has GTK views that you can also try out if you are using that.
For the construction of the actual OpenGL ES contexts, it might be better to chat those those folks. But, in terms of support? Yes. It is currently being used on the mobile platforms.


Add support for participant attributes

This reverts commit c9141cd6f8f9fb6d01a8cbbe66505d15bfa25e3c.

merging as this is a revert that has been previously reviewed already


[Run] Pass command line argument to indexed file (e.g. script file)

What was "left" of my original request #10048 was this use case from me working with Launchy:
I want to be able to pass command line arguments to any indexed file that I am launching with PowerToys Run.
This functionality could e.g. be used to launch a PowerShell / Batch script that processes arguments.
This is indefinitely flexible and could, with an according script, e.g. be used re-create the functionality of the "Weby" plugin form Launchy, which can be used to call an URL but with one part of the URL being replaced by the argument:

e.g. to translate via https://translate.google.com/#de/en/%1, where %1 is the passed argument
or to call https://github.com/microsoft/PowerToys/issues/%1 and passing the issue id as argument

Since functionality to pass arguments to applications is already available in PT Run, e.g. via edge -- -InPrivate, this same mechanism could be used for indexed files.
Example:

A .cmd-file is indexed: argsTest.cmd
Content of that cmd file:
START iexplore https://github.com/microsoft/PowerToys/issues/%1
In PowerToys Run, you type argsText.cmd, for the indexed file to show up
You then add the desired issue id as argument via argsTest.cmd -- 10048
You hit Enter for PT Run to launch the script
The script does launch the browser with the URL https://github.com/microsoft/PowerToys/issues/10048

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Good idea, tracked in https://github.com/microsoft/PowerToys/issues/3405


[BUG] Button highlight while swipe

classic:

retail:

Does not seem possible as you cant really change the layering of the cooldown swipe texture and the button pushed texture.
Improved with: 1754d80c08341d50ca22a66535365a69eeeb1ec8


Added delay and protect for delaying execution of properties.

This addresses a problem I run into frequently with Properties being a mutable map.
object Test extends Properties("foo") {
  property("bar") = secure {
    val c = connectToTheNetwork()
    val x = something(c)
    c.close()
    p(x)
  }
}

In the above, connectToTheNetwork() runs at object creation time (!!!). This can cause all kinds of strange initialization errors and (more frequently) blocked threads. With this PR, you would instead say:
object Test extends Properties("foo") {
  property("bar") = protect {
    val c = connectToTheNetwork
    val x = something(c)
    c.close()
    p(x)
  }
}

and nothing runs at object creation time, other than the creation of the Prop which is completely lazy.

Nice! I'm wondering if we should synchronize the naming with Gen.lazy and Gen.wrap somehow (possibly renaming the Gen functions, wrap is a pretty bad name).
Also, maybe Properties.property should simply be changed to always delay things (I haven't thought of the implications of such a change).

Those are good ideas. I think ultimately I want ScalaCheck to be able to support monadic properties, as per http://hackage.haskell.org/package/QuickCheck-<IP_ADDRESS>/docs/Test-QuickCheck-Monadic.html

Yes, monadic properties would be nice. Maybe in ScalaCheck 2... I'm merging this PR, I think your naming is fine, I will adapt Gen after it in the future.


Add org commands

added following commands:

print org info from the current context
set current org
create a new org
delete an org
add a user to an org
remove a user from an org

Bump on this PR, just wondering if there is an hold up here? :)

@mick-roper is there an ETA on this one? :)

To @Lawouach,
As @mick-roper  is quite busy, I'll take it over to help and amend the branch with requested changes


Support grade and class names again

There are two types of class names:

行政班: each user can only have one value for this
教学班: each user can have many values for this

So we could add two columns: the first is "class_admin" (行政班), the second is "class_teach" (教学班). Multiple values for "class_teach" will be joined with "|" delimiters.


Extract Stripe superclass from StripeSM

The StripeSM class retains all the evacuation data and the mutex.

This is an code organization change. The long term incentive is separation of concerns, and the short term goal is to split up massive source files into smaller, separate source files. In this case, we're separating the data structure from the event handling. The separation is still subpar because the event handling methods touch the data structure too much, but it's a start. This will be followed by a PR to move all the StripeSM event handling into a new StripeSM.cc source file.


Font style "Underline"

How can I set the font style "Underline"?

That isn't supported yet but will be soon. Probably in the next release.

I see a PR was merged - is this possible now or are we still waiting on the next release?

@derekantrican thanks.
Yes, it is possible for TextBlock in 0.10-preview with "".

Is there a way to set the text to underline for a TextBox or TextPresenter as well?
I need the text from a TextBox to be underline as well, and the TextBox currently doesn't have the TextDecorations property.
I also tried to change the style of the TextBox to underline the TextBlock that is rendering the text, but I found out that the text is rendered via a TextPresenter, which also doesn't have a TextDecorations property.


Revised parameter setting

Please check the following conditions for your PR.

[ ] apiDefinition.swagger.json is validated using paconn validate command.
[ ] apiProperties.json has a valid brand color. Invalid brand colors are #007ee5 and #ffffff.

@ccyy915 Please resolve the branch conflicts by syncing your branch with remote or dev branch to get this PR merged


Provide access to d3 scales and axes for customization

Provide access to x & y scales and axes for customization
Expected Behavior

I would like to have access to xScales to customize positioning of certain labels (e.g. bar top label center align)
Current Behavior

xScale appears to be in private closure and inaccessible for extension / customization
Possible Solution

please expose the xScale and yScale from chart getters
Steps to Reproduce (for bugs)

Screenshots (if appropriate):
Context

Your Environment

Version used:
Browser Name and version:
Operating System and version:
Link to your project or codepen:

Hi @dswamy, thanks for creating the issue. The idea of abstracting scales and axis was necessary to make building nice charts easier with this framework. What kind of control are you looking for? Could you give more details or description?

Hi Daler -
I am looking to access xScale, yScale through chart API so I can render or reposition certain elements.
I have been using nvd3 chart library for last 3 years and it provides very similar reusable charts API like britecharts. However, it also provides access to underlying scales, axes etc so you can customize charts further.
See API here
http://nvd3-community.github.io/nvd3/examples/documentation.html#discreteBar
use-case 1
I have bar chart data for 6 months (Jan 2018 to Jun 2018) displayed using 6 bars. I like to customize my bar chart by adding dotted vertical line for Mar 2018 to highlight some event. For this, i need access to xAxis scale() function to get x-coordinate for axis.
e.g. in nvd3 library
const barChart = nv.models.barChart().options({margin:...})
d3.select('.chart').datum(data).call(barChart)
const xScale = barChart.xScale(); //get access to d3 x-axis scale
const xPos = xScale(new Date(2018, 2, 1)); //get xPos for Mar 2018 from scale
now, using xPos. I can render a new svg dotted line at the xPos.
use case 2
britecharts bar chart is left aligning the bar label (value shown at top of the bar). I like to center align. If I have access to xScale - I can reposition the labels by calculating correct offset.
nvd3 exposes xScale, xDomain, xRange and many other properties through the chart function so you can further customize chart. Looking for something similar here in britecharts
barChart = new BarChart()
.colorSchema([barColor])
.betweenBarsPadding(0.5)
.margin({left: 10})
const xScale = barChart.xScale(); //MISSING. need this API to get xScale
const yScale = barChart.yScale(); //MISSING. need this API to get yScale
nvd3 reference (see section - expose public variables)
https://github.com/nvd3-community/nvd3/blob/master/src/models/discreteBarChart.js
https://github.com/nvd3-community/nvd3/blob/master/src/models/discreteBar.js
Let me know if further questions
Thank you,
Deepak

Hi @dswamy, thanks for opening the issue and for the detailed use cases!
I understand your use cases and see how exposing the scales will be useful to allow those extra customizations.
At the same time, making the axes public is not in the level of abstraction that we originally envisioned for Britecharts. It will be definitely useful for D3 savvy users but will make the charts more complicated for more basic users.
Regarding the use cases you mention, for the first one, we are planning to add a 'chart annotations' feature. This will allow creating that line you mention.
In the second case, we are usually exposing some basic offset functions, assuming that many other transformations could be done via CSS overrides. I guess this would be the case?
What we can do now is to create an 'enhancement' proposal to expose the scales as public and see how much support that idea would have in the community. In the meanwhile, if you really need this, I would recommend you to fork the library and expose those yourself. It should be a really basic change where needed.
Thanks a lot for using Britecharts and for taking the time helping to improve the library with your feedback!


Show completion items that have already been returned while waiting for other slow completion item providers

Various plugins I have like the Flow plugin can be slow to provide completion items.  But some of my own extensions can provide completion items almost immediately, for example Material-UI Snippets providing mui-button.
When I'm trying to use my mui-button completion, it sucks to have to wait more than 10 seconds because other plugins like Flow are taking a long time to provide completion items.  Why not just go ahead and show the completion items that are ready, and add the stragglers as they finish?  It would be a big help.

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title :flushed: Anyways, searching for issues with the same labels will likely help you :point_right:
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Asuggest

Help me as in there's some kind of configuration workaround?


Snowpark_extensions_for_functions

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #732, #730, #710, SNOW-754768

Fill out the following pre-review checklist:

[ X ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.

if adds implementations in functions.py and session.py for:
function.array_distinct
functions.regexp_extract
functions.struct
functions.format_number
function.daydiff
functions.date_add
functions.date_sub
session.getOrCreate and session.appName

Yes in spark data type for format number is string
On Wed, Mar 29, 2023 at 10:12 Afroz Alam @.***> wrote:

@.**** commented on this pull request.
In src/snowflake/snowpark/functions.py
https://github.com/snowflakedb/snowpark-python/pull/749#discussion_r1152183026
:

       >>> from snowflake.snowpark.functions import format_number

       >>> data = [(1, 3.14159),

       ...     (2, 2.71828),

       ...     (3, 1.41421)]

       >>> df = session.createDataFrame(data, ["id", "value"])

       >>> df.select("id",format_number("value",2).alias("value")).show()

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

       |"ID"  |"VALUE"                  |

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

       |1     |                   3.14  |

       |2     |                   2.72  |

       |3     |                   1.41  |

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

"""
col = _to_col_if_str(col, "format_number")
return to_varchar(col, "999,999,999,999,999." + "0" * d)

I don't understand why is there a need to convert it into StringType. Is
that what pyspark does?
—
Reply to this email directly, view it on GitHub
https://github.com/snowflakedb/snowpark-python/pull/749#discussion_r1152183026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A55TFHD455BIYNEHOPPU4P3W6RNNJANCNFSM6AAAAAAWJWKRZI
.
You are receiving this because you authored the thread.Message ID:
@.***>

FYI @snowflakedb/glacial-snowconvert we need to update mappings to use this new functions in SC.


feat: add disconnect on event source wrapper

This PR contains a:

[ ] bugfix
[x] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case

Add disconect on EventSourceWrapper for making close eventSource manually possible.
Breaking Changes

Additional Info

This code appears correct, but could you describe a use-case which would motivate doing this?

My case is that I want to close connection if the browser tab is hidden or minimized and refresh page when tab gets activated again for preventing reaching connection limitations.


Removed verbal numbers from Finnish translation

I am still very confused why is the Finnish translation showing verbal numbers instead of the actual number. All of the other languages I looked at are using real numbers so after this change, the translation would be more consistent. As a native speaker, I couldn't think of any reason why in particular there should be an exception for the Finnish language.

I appreciate the contribution. The wrong file is modified here - it should be the file under src/locale - what this is is the built file. Once you make that modification, we can give a shout to the original locale author and hear out his/her reasoning. This seems right to me too though.

@maggiepint Sorry, it took so long for me to come back. It has been a quite hectic spring :) I've now made the changes to source files.

@lauriii you also need to update the tests src/test/locale/fi.js because they're failing now.

@lauriii - Thanks for your contribution. Sorry this is taking so long to merge!
We need you to update the tests for the Finnish language translation.
@bleadof - could you confirm this change?

It's stylistically common to write the smaller numbers especially under ten with words especially since the inflection of the number changes depending whether we're expressing time before or after specified time. (http://jkorpela.fi/kielenopas/4.11.html#lukujen-ilm)[Jukka Korpela's Nykykielen opas]. I thought quite a bit about it and thought it's better to keep this. If we would use the shortened version of the minute, like 1 min, then using numbers would be stylistically more correct.
Just as a side note, you can always create your own language pack that contains shortened versions of everything. I've done this to a web shop where we needed to conserve space. I think actually doing that would be a nicer way to contribute! So basically fi-short.
How does that sound?


Upcoming Next.js middleware changes

In the Next.js package, there is a function which is withMiddlewareAuth. In the upcoming breaking changes to Next.js version 12.2, they completely alter how middleware works. I would just like to confirm that this update does not affect this package, as it is a crucial component of my app.

Been looking at  https://nextjs.org/docs/messages/middleware-upgrade-guide and I think placing the middleware.js at the same level as your pages folder will do the trick and than do something like:
middleware.js
import { withMiddlewareAuth } from '@supabase/auth-helpers-nextjs/middleware';

export function middleware(request) {
    withMiddlewareAuth({ redirectTo: '/login' });
}

export const config = {
    matcher: ['/dashboard/:path*'],
}

But weirdly enough I get the below error, which makes no sense to me
./middleware.js:1:0
Module not found: Can't resolve '@supabase/auth-helpers-nextjs/middleware'
> 1 | import { withMiddlewareAuth } from '@supabase/auth-helpers-nextjs/middleware';

Hey @Jordaneisenberger,
Try importing it from @supabase/auth-helpers-nextjs/dist/middleware. This seems to be where it is being exported from at the moment.


tests: port more tests over to patch test

along with a bunch of supporting changes...

Codecov Report
Base: 66.21% // Head: 66.13% // Decreases project coverage by -0.07% :warning:

Coverage data is based on head (e9769bc) compared to base (0b411a2).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   66.21%   66.13%   -0.08%
==========================================
  Files          15       15
  Lines        1705     1707       +2
  Branches      782      782
==========================================
  Hits         1129     1129
- Misses        136      137       +1
- Partials      440      441       +1

Impacted Files
Coverage Δ

src/system.cpp
48.48% <0.00%> (ø)

app/main.cpp
71.42% <33.33%> (ø)

src/applier.cpp
75.98% <50.00%> (-0.99%)
:arrow_down:

src/patch.cpp
47.54% <50.00%> (ø)

include/patch/system.h
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


When will the next version of ROCM be released?

Hi @gp1322719830
Thanks for reaching out.
ROCm 4.3 will be released tentatively by the end of this month.
Thank you.


Null fields in docker config cause build-enclave to fail

I use dockerTools.buildLayeredImage to build docker images. It sets Env, Entrypoint, and Cmd to null if not set, this causes nitro-cli build-enclave to fail:

If either Entrypoint or Cmd is null then it fails with UnsupportedEntryPoint

If both Entrypoint and Cmd are not null and Env is null then it panics here:
https://github.com/aws/aws-nitro-enclaves-cli/blob/bc9c0b8362287698c0348ffd1df1fcaa9f0ccce3/enclave_build/src/docker.rs#L331

I think the panic is because of a logic bug:
https://github.com/aws/aws-nitro-enclaves-cli/blob/bc9c0b8362287698c0348ffd1df1fcaa9f0ccce3/enclave_build/src/docker.rs#L328-L337
Should instead be:
match self.docker.images().get(&self.docker_image).inspect().await {
    Ok(image) => Ok((
        image.config.entrypoint.unwrap(),
        image.config.env.unwrap_or_else(Vec::<String>::new), // <-- here
    )),
    Err(e) => {
        error!("{:?}", e);
        Err(DockerError::InspectError)
    }
}

I don't know how docker handles it, but my assumption is:

If Entrypoint is null, then use Cmd
If Cmd is null, then use Entrypoint

I have tested the images directly with docker and they work as expected.

I am having other issues with images created by dockerTools which can be attributed to shiplift (the docker library used). Shiplift hasn't been updated in 3 years and assumes things that are no longer true, I suggest migrating away from it in favor of bollard which is more up to date.

For anyone coming across this issue, you can temporarily fix it by rolling back docker (sudo dnf downgrade docker) to version 24 which still sends the deprecated field.

Thank you! Downgrading to Docker 24.0.5 fixed my issue

This PR: #595 will fix the issue.

#595 has been merged!


Unable to configure Azure storage with UserIdentity

Thanos Version: v0.23.1
Object Storage Provider: AZURE
What happened:
I have deployed prometheus in Kubernetes and trying to configure object storage as Azure blob storage. To avoid using storage_account_key in the storage configuration, I am using aadpodidbinding in prometheus statefulset to use Azure blob storage. However, when I am running the prometheus, I am getting following error for thanos-sidecar container.
level=error ts=2022-03-09T10:43:39.627694164Z caller=main.go:131 err="invalid Azure storage configuration, no Azure storage_account_key specified while storage_account is present in config file; both should be present\ngithub.com/thanos-io/thanos/pkg/objstore/azure.(*Config).validate\n\t/home/circleci/project/pkg/objstore/azure/azure.go:136\ngithub.com/thanos-io/thanos/pkg/objstore/azure.NewBucket\n\t/home/circleci/project/pkg/objstore/azure/azure.go:172\ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket\n\t/home/circleci/project/pkg/objstore/client/factory.go:67\nmain.runSidecar\n\t/home/circleci/project/cmd/thanos/sidecar.go:272\nmain.registerSidecar.func1\n\t/home/circleci/project/cmd/thanos/sidecar.go:72\nmain.main\n\t/home/circleci/project/cmd/thanos/main.go:129\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\ncreate AZURE client\ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket\n\t/home/circleci/project/pkg/objstore/client/factory.go:82\nmain.runSidecar\n\t/home/circleci/project/cmd/thanos/sidecar.go:272\nmain.registerSidecar.func1\n\t/home/circleci/project/cmd/thanos/sidecar.go:72\nmain.main\n\t/home/circleci/project/cmd/thanos/main.go:129\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\npreparing sidecar command failed\nmain.main\n\t/home/circleci/project/cmd/thanos/main.go:131\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"
My current object storage configuration is given below:
type: AZURE
config:
  storage_account: "thanosprom"
  container: "thanos"
  max_retries: 0

What you expected to happen:
Thanos sidecar should run without any failure.

Have a try with the latest version of Thanos. There have been changes to expand support for Azure authentication.
https://github.com/thanos-io/thanos/pull/4636


3.0.2 Dockutil hangs when run as sudo

sudo /usr/local/bin/dockutil --add "/Applications/Microsoft Outlook.app" --allhomes --no-restart -v
verbose mode 1
[file:///Users/Deleted%20Users/, file:///Users/_mbsetupuser/, file:///Users/.localized, file:///Users/Shared/, file:///Users/root/, file:///Users/anuser/, file:///Users/anuser2/]
/Users/Deleted Users/Library/Preferences
/Users/_mbsetupuser/Library/Preferences
/Users/.localized/Library/Preferences
/Users/Shared/Library/Preferences
/Users/root/Library/Preferences
/Users/anuser/Library/Preferences
/Users/anuser2/Library/Preferences
Plist paths: ["/Users/_mbsetupuser/Library/Preferences/com.apple.dock.plist", "/Users/root/Library/Preferences/com.apple.dock.plist", "/Users/anuser/Library/Preferences/com.apple.dock.plist", "/Users/anuser2/Library/Preferences/com.apple.dock.plist"]
processing /Users/_mbsetupuser/Library/Preferences/com.apple.dock.plist
Skipping: /Users/_mbsetupuser/Library/Preferences/com.apple.dock.plist does not seem to be a home directory or a dock plist
processing /Users/root/Library/Preferences/com.apple.dock.plist
Skipping: /Users/root/Library/Preferences/com.apple.dock.plist does not seem to be a home directory or a dock plist
processing /Users/anuser/Library/Preferences/com.apple.dock.plist
Skipping: /Users/anuser/Library/Preferences/com.apple.dock.plist does not seem to be a home directory or a dock plist
processing /Users/anuser2/Library/Preferences/com.apple.dock.plist
/Users/anuser2/Library/Preferences/com.apple.dock.plist
Comparing /Users/anuser2/Library/Preferences/com.apple.dock.plist to /Users/anuser2/Library/Preferences/com.apple.dock.plist
^C - Hangs here
Running in user context or sudo -u $username works without issue.

I have the same problem:
# /usr/local/bin/dockutil --add "/Applications/Microsoft Word.app" --after 'Microsoft Edge' -v
verbose mode 1
Plist paths: ["/Users/st/Library/Preferences/com.apple.dock.plist"]
processing /Users/st/Library/Preferences/com.apple.dock.plist
/Users/st/Library/Preferences/com.apple.dock.plist
Comparing /Users/st/Library/Preferences/com.apple.dock.plist to /Users/st/Library/Preferences/com.apple.dock.plist

^C

It just stalls on my MBP M1 on the comparing step. Alså if --allhomes is used.

That happens to me too when I manually run it with ‘sudo’ in Terminal.  But running it outside of the user context as root via script (i.e. Jamf policy) works fine for my environment when I tested it last week.
David H. Ng
Desktop Engineer | UCSF Information Technology
Mission Center Building, Room MCB-316
San Francisco, CA 94143
Direct Phone:<PHONE_NUMBER>
Direct Email: @.***
https://www.ucsf.edu
From: Søren Theilgaard @.>
Sent: Monday, April 11, 2022 7:32 AM
To: kcrawford/dockutil @.>
Cc: Subscribed @.***>
Subject: Re: [kcrawford/dockutil] 3.0.2 Dockutil hangs when run as sudo (Issue #126)
I have the same problem: # /usr/local/bin/dockutil --add "/Applications/Microsoft Word.app" --after 'Microsoft Edge' -v verbose mode 1 Plist paths: ["/Users/st/Library/Preferences/com.apple.dock.plist"] processing /Users/st/Library/Preferences/com.apple.dock.plist
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
I have the same problem:
/usr/local/bin/dockutil --add "/Applications/Microsoft Word.app" --after 'Microsoft Edge' -v
verbose mode 1
Plist paths: ["/Users/st/Library/Preferences/com.apple.dock.plist"]
processing /Users/st/Library/Preferences/com.apple.dock.plist
/Users/st/Library/Preferences/com.apple.dock.plist
Comparing /Users/st/Library/Preferences/com.apple.dock.plist to /Users/st/Library/Preferences/com.apple.dock.plist
^C
It just stalls on my MBP M1 on the comparing step. Alså if --allhomes is used.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/kcrawford/dockutil/issues/126*issuecomment-1095128126__;Iw!!LQC6Cpwp!vRXP6uNxF2LgDkUnJYnYlR1jMR5U26Z_RD1EOif7kgAxd-6GzC_1DFXx-Bpa1JEyLtFtV50V4cMUrnMrYxcozg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ANKPKG2GWXQZZHXC6MAPOPLVEQZXNANCNFSM5QJI4P7A__;!!LQC6Cpwp!vRXP6uNxF2LgDkUnJYnYlR1jMR5U26Z_RD1EOif7kgAxd-6GzC_1DFXx-Bpa1JEyLtFtV50V4cMUrnOEqemdXw$.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Thank you @dng2000, I will try again. I'm using Addigy, Mosyle and other MDMs (also Jamf), so I will verify if the others works the same way.

I had to specify the plist file directly for it to work. dockutil did finish, but without the direct link to the plist-file on the correct user, it would only find the root user, when using Addigy.

I have the same problem.
Even if I run the script through Munki as a Post-Install-Script it hangs.
root@TEST-VM22-AutoPkg-Monterey ~ # /usr/local/bin/dockutil --add /Applications/Adobe\ Acrobat\ 2020/Adobe\ Acrobat.app --label 'Adobe Acrobat' --replacing 'Adobe Acrobat' --allhomes -v verbose mode 1 [file:///Users/.localized, file:///Users/Shared/, file:///Users/tadmin/] /Users/.localized/Library/Preferences /Users/Shared/Library/Preferences /Users/tadmin/Library/Preferences Plist paths: ["/Users/tadmin/Library/Preferences/com.apple.dock.plist"] processing /Users/tadmin/Library/Preferences/com.apple.dock.plist /Users/tadmin/Library/Preferences/com.apple.dock.plist Comparing /Users/tadmin/Library/Preferences/com.apple.dock.plist to /Users/tadmin/Library/Preferences/com.apple.dock.plist

It seems to make a difference which shell you use. In bash it works, in zsh it does not.

it looks like the defaults call on line 64 of Dock.swift is hanging without exit causing the whole thing to hang on the waitUntilExit() call. I'm not sure why defaults is hanging but that seems to be the holdup.

I think there is/was an Apple bug with defaults/cfpreferences that would cause it to hang.  Has anyone reproduced this on Sonoma 14.2.1 or newer?

I have duplicated this using v3.0.2 on macOS 14.2.1, running as root.  Using sudo -u <user> dockutil --list /Users/<user> works without issue.

Just double-checked that it does not affect all users on the affected systems, just specific users.  I don't see anything out of the ordinary in the plist, but I haven't done a careful inspection yet.


404 Error when looking at AWS Cloud Practitioner notes

Hello, I hope you are well. It seems that your AWS Cloud Practitioner notes are missing. I get an Error 404 while trying to access them.

hey @ewalker101 thanks for the issue, I have updated the README to reflect correct links, also there is a website for my notes which is maintened on a regular basis - https://rishabkumar.com/notes


Import containers when accessing dependencies via import_module

I found this bug when working on icelab/alpinist#2 – while the app would work properly when run via the web server, my unit specs were failing because the "core" dependencies (i.e. the ones imported into the Main::Container from Alpinist::Container) were not being loaded properly. This was because in the unit  specs were (rightly) not finalizing Main::Container, in order to test things in isolation and to avoid spuriously loading the whole application environment.
To address this, I've made it so that any imported containers are imported when auto-imported dependencies are accessed from a container's .import_module.
(I'm not 100% sure if this is the approach you'd like to take, @solnic, so I was going to push this up into a branch directly on the dryrb repo so you could potentially make adjustments, but dry-container isn't included in the list of repos I can write to, so I've put it up on a personal fork instead. Let me know if you'd like me to push this anywhere else).

There's one tweak I though about - skip import containers finalization when deps are being dynamically resolved w/o complete finalization. Otherwise loading a component might cause other things to be booted etc.

There's one tweak I though about - skip import containers finalization when deps are being dynamically resolved w/o complete finalization. Otherwise loading a component might cause other things to be booted etc.

Thanks for the feedback! I'll go about separating the loading and finalizing of the imported containers, and improving overall naming.

On 2 Jan 2016, at 5:07 AM, Piotr Solnica<EMAIL_ADDRESS>wrote:
There's one tweak I though about - skip import containers finalization when deps are being dynamically resolved w/o complete finalization. Otherwise loading a component might cause other things to be booted etc.
—
Reply to this email directly or view it on GitHub.

Thanks for the feedback! I'll go about separating the loading and finalizing of the imported containers, and improving overall naming.

On 2 Jan 2016, at 5:07 AM, Piotr Solnica<EMAIL_ADDRESS>wrote:
There's one tweak I though about - skip import containers finalization when deps are being dynamically resolved w/o complete finalization. Otherwise loading a component might cause other things to be booted etc.
—
Reply to this email directly or view it on GitHub.

So I've just tweaked the method names and added support for not finalizing the imported containers if we're just resolving individual deps. I haven't committed yet (I'll explain in a moment), but for reference, the code looks like this:
def self.load_imported_containers(finalize: false)
  imports.each { |ns, container| load_imported_container(ns, container, finalize: finalize) }
end

def self.load_imported_container(ns, container, finalize: false)
  return if imported?(ns)

  container.finalize! if finalize

  items = container._container.each_with_object({}) { |(key, item), res|
    res[[ns, key].join(config.namespace_separator)] = item
  }

  _container.update(items)

  imported[ns] = true
end

Code-wise, I thought the named finalize kwarg made it clear at the call-site what we'd be expecting the method to do re: finalizing or not, and it seemed like it'd be a worse solution to have a separate methods for loading vs loading+finalizing.
Anyway, here's the problem I hit: in the unit test (which hasn't changed) my imported container has auto-registration enabled, and the files to be loaded via auto-registration don't get loaded until that container is actually finalized. So when I have this inside .import_module...
load_imported_containers(finalize: false)

...it doesn't actually make my auto-registered deps available from that imported module, which means the test fails.
This makes me think that we might actually be better served by a different approach.
Perhaps instead we have .require_component do this:

Try to require the component from the current container (i.e. the current behaviour)
If this finds nothing (i.e. before we fail ArgumentError atm), loop through any yet-to-be-imported containers for the component (taking away the imported container's local name prefix) and try and .require_component the dep there.

This way we could load the dep from the other container and avoid finalizing it, which is our preferred behaviour, and we can get rid of the "brute-force" bulk import of all the containers in .import_module. Seems like it'd be cleaner and more direct.
Does that seems like a reasonable approach? If you think you'd be happy with this, I'll put it together for you.

@timriley this sounds good, in fact that's what I wanted to do initially but then, being tired and sleepy (or maybe just hungry?) I ended up doing it differently. But what you describe makes sense. I struggled with test suite (loaded_features issue) so I rushed with it too quickly, I suppose :/

Closing this since #3 is implementing the alternative approach I suggested in the final comment (I hope to loop back to #3 and get it merged at some point soon).


unpin and upgrade axios version

Hi! Thank you for this lib!
I was wondering why did you fixed the version of axios dependency. Why not use the semver range ^0.21.1 instead? (or even ^0.24.0)
https://github.com/benhason1/nestjs-http-promise/blob/1502ac305bc6d275b1e988a812947c9474f8e4f8/package.json#L21
Also, npm audit reports this vulnerability of<EMAIL_ADDRESS>axios  <=0.21.1
Severity: high
Incorrect Comparison in axios - https://github.com/advisories/GHSA-cph5-m8f7-6c5x
No fix available
node_modules/nestjs-http-promise/node_modules/axios
  nestjs-http-promise  *
  Depends on vulnerable versions of axios
  node_modules/nestjs-http-promise

Hi, thanks for the feedback!
no reason why I didn’t use the semver range of ^0.21.0, version 0.24.0 wasn’t released when this package was.
A new version with those fixes will be released in the next couple of hours so be tuned!

A new version with those update been released 😄


[SPARK-42057][SQL][PROTOBUF] Fix how exception is handled in error reporting.

What changes were proposed in this pull request?
Protobuf connector related error handlers incorrectly report the exception. This is makes it hard for users to see actual issue. E.g. if there is a FileNotFoundException these error handlers use pass exception.getCause() rather than passing exception. As result, we lose the information that it was a FileNotFoundException
This PR fixes that.
Why are the changes needed?
This improves error reporting.
Does this PR introduce any user-facing change?
No.
How was this patch tested?

A new test is added.

Thanks, merging to master


Hindi translation

Is your feature request related to a problem? Please describe.
Language Feature - Translation in Hindi (India) language
Describe the solution you'd like
I've prepared a language file hi-IN in i18n and checked for completion. Would like to push it in the project. Thanks

Feel free to make a PR!


Added Integral Calc

Issue Id you have worked upon -
#96
Briefly explain your program logic -
There is no function in mathjs that lets you do this directly so I had to write my own. Basically I take in an input like 3x^2 + 2x and then it gets split into an array like ["3x^2", "+", "2x]. In this process I do check with many regex's to make sure that the user has entered the correct value.
After this I just integrate it using the polynomial integration formula that we all know.
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @IshaanShettigar on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐


Replace the way to fetch .rulesrc files

Instead of using github.raw, use the github api
Moreover, github raw should not work on private repository

Create a GitService method to do that


Missing some links in Music reference

Noticed that we're missing some links in the Music reference docs - looks like all links to https://arcade.makecode.com/reference/music/play page

Unfortunately, different playable parameter versions of music.play() will decompile back to the default version music.play() in the cards render.


[FR] - Passwords as Secrets

Is your feature request related to a problem? Please describe.
Transmission rpc-password is shown as plain text in config-map.
Describe the solution you'd like
rpc-password to be base64d and added as secret via reference.

hi @veenarm, thanks for your interest and sorry for the late reply, it's been a busy time ;)
Would turning the whole configmap into a secret be a viable solution?

technically yes that'd be viable.
Finding some of the configs are a bit of a mess as the operator keeps overriding them.
Specifically in another issue I had where I can't override the config of transmission with extra settings due to the operator overwriting any changes (as they do).
I'll try to do some patching and raise some prs, but im using it in my current setup, just instead of Plex I am using Jellyfin.


Can I add a button in titleWidget?

I want to add an button in titleWidget:

I found RibbonBar._titleWidget.addRightToolButton,but it can't add button in the expected place.
Thanks for your help :smile:

If you really to add the buttons in the previous version, use RibbonBar._titleWidget._titleLayout.addWidget

Thanks,I just forgot to upgrade it in my virtual environment. 😅


kernel update

Hello, if I need to update the kernel later, what process should I follow? I used the oddlama script but I didn't understand the process, is it the same here? (im noob)

Yup its the same here

Ok  ;)
El dom., dic. 4, 2022 6:24 PM, School34erf @.***>
escribió:

Yup its the same here
—
Reply to this email directly, view it on GitHub
https://github.com/School34erf/GentooInstallScript/issues/1#issuecomment-1336568363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS6AMH665WOIELZYIQ6QGU3WLUY2FANCNFSM6AAAAAASSM3WEM
.
You are receiving this because you authored the thread.Message ID:
@.***>

I don't think that it should create any problems with the script and updating the kernel

Just update it like you usually do


Update DIVD-2022-00038.md

Added closure date and removed typo

Kijk even hier. De build faalt.
https://github.com/DIVD-NL/web-csirt/actions/runs/4356039798/jobs/7613487900#step:11:51
ERROR CasesPlugin: Case DIVD-2022-00038, is 'Open' but end date is set


Affirmation
Using float over Decimal is a sane idea for building my Accounting System
Author
<EMAIL_ADDRESS>

LGTM - self affirmation


Improve exception generation

Message from @iscai-msft :
error generating HTTP, AzureHead, Paging, AzureSpecials etc (getting schema error when it looks in exception list) -> ask about how the excpetions list has been reformatted

no longer errors generating error exceptions


Use tokio instead of async_std

We already use it in ipfs-http, our dependencies either already use it or are compatible with it and it has some nice features that we'd like to use.
Note: the async tests now specify max_threads = 1 in order to make sure the multi-threaded executor is not being lenient about any hidden bugs.
fixes https://github.com/rs-ipfs/rust-ipfs/issues/275

it seems that the resolve tests don't like Windows; since this is a big PR I'll #[ignore] them again for now.

The failure for future reference: https://github.com/rs-ipfs/rust-ipfs/runs/980815860#step:16:64

it seems that the resolve tests don't like Windows

Did you understand from somewhere else that this could be wider issue? Could be that windows is behind a restricted dns for example or just this particular runner was without global dns.

Note: the async tests now specify max_threads = 1 in order to make sure the multi-threaded executor is not being lenient about any hidden bugs.

From probably the first bad tests/ case I've hoped we could go back to tokio for single threaded test cases. Turns out a lot of the test cases have been just flaky/broken but this should stop us from writing any futures which are always ready for example, though it's been a while since I last wrote such. In multi threaded runtime those will be fine, but on single threaded runtime hopefully the runtime should grind to a halt but at minimum it should be noticeable.

I think windows is about to hang again.
bors r+


[TRACKING ISSUE] Engine.io, and by extent, Socket.io, has a vulnerability

Platform: Affects all platforms.
Node Version: Affects all versions.
MagicMirror Version: v2
Description: Engine.io, the stack behind Socket.io, has a vulnerability caused by an out-of-date version of the ws module. Tracking issue in socketio/engine.io is available here
cc @MichMich @roramirez

I can see. Its in the planning to fix soon.
I think is need it before release a new version add this fix from the new version of ws module.
By other hand, If is release soon the patch of this. How w'll process to apply a patch on master branch?
I've mentioned before about release label, we using Semantic Versioning, What be the next release version name <IP_ADDRESS> or 2.1.1 if include only this patch?

@roramirez When they release a newer version with an updated ws module, we can release it with the next new version.

@nhubbard My question is more related, what will happened in the future if we need add only one patch on master branch?, What version name will be?

If you patch current version with a backwards compatible bug fix or patch, v2.1.0 would become v2.1.1 if I'm not mistaken. As far as I recall Semantic Versioning follows vMajor.Minor.Patch scheme.

Yes, I understand the version semantic that way. The main point is next planning name version is 2.1.1 I think should be 2.2.0

@morozgrafix Spot on.

2.2.0 will be used whenever there is a breaking change in the API. (like 2.1.0 was)...
2.1.1 will include this security patch.

@MichMich They released version 2.0.2 of Engine.io... but I don't see any new version of Socket.io :cry:

This  https://github.com/socketio/socket.io/releases/tag/1.7.3 ?

@roramirez Yup. 1.7.3 bumped engine.io-client to 1.8.3, which contained the bugfix.

So we should be moved this in package.json. I pushed  a PR.


#40AQI based on PIN code

Worked on the new page button

@g-anupam your solution is not meeting the requirements of the issue


Some topics are not hooked up to the TOC

By design?
For example: https://docs.microsoft.com/en-us/globalization/input/input
But then you have https://docs.microsoft.com/en-us/globalization/input/text-input which is associated with 2 entries in the TOC
They also tend to be the ones without the mandatory metadata header section

@mairaw Asked if this was by design. If it isn't, I can start to fill in the gaps by working on her first example and searching for others. Her second example is definitely not consistent with other sections so I'll fix that one then move on to others like the first.

On the https://docs.microsoft.com/en-us/globalization/input/input page, at least one of the links on the page go to the wrong location (it goes to a page that is linked in the TOC but not listed) so I'm definitely taking a close look at everything.

re: "Whom could I ask": that would be Jan Nelson in GRE

Per discussion with @mairaw, closing as could no longer reproduce.


open_mfdataset from google cloud

I have a large number of netcdf files on google cloud and I'd like to do something like
ds = xr.open_mfdataset('data/*/tasmax*.nc')

fs = gcsfs.GCSFileSystem(project=project, token=None)
gcsmap = gcsfs.mapping.GCSMap(bucket + location + proj + mv + file_name, gcs=fs, check=True, create=False)

#zarr encoding
compressor = zarr.Blosc(cname='zstd', clevel=3, shuffle=2)
encoding = {vname: {'compressor': compressor} for vname in ds.variables}

with dask.set_options(get=dask.threaded.get):
        with ProgressBar():
                 ds.to_zarr(store=gcsmap, encoding=encoding)

Just to confirm the only way this will work is if I set up gcsfs and gcsfuse, right?  (Similar discussion is here: https://github.com/pangeo-data/pangeo/issues/48) But my use case is slightly different.

This works.