Investigate strange speedup in santa tracker Android performance tests

When running a build with async-profiler attached, it looks like the build gets much faster towards the end (build):

We should find out what happens there. It may be that file system changes are not picked up any more.

cc: @gradle/execution

I managed to reproduce the problem again, this time with a log (build).
The builds which are faster have the following output:
* Running measured build #38
VFS> Statistics since last build:
VFS> > Stat: Executed stat() x 0. getUnixMode() x 0
VFS> > FileHasher: Hashed 0 files (0 bytes)
VFS> > DirectorySnapshotter: Snapshot 0 directory hierarchies (visited 0 directories, 0 files and 0 failed files)
Received 0 file system events since last build while watching 1 hierarchies
Virtual file system retained information about 13520 files, 4736 directories and 94 missing files since last build
Configuration cache is an incubating feature.
Reusing configuration cache.

....

BUILD SUCCESSFUL in 185ms
189 actionable tasks: 189 up-to-date
Received 0 file system events during the current build while watching 1 hierarchies
Virtual file system retains information about 13520 files, 4736 directories and 94 missing files until next build
VFS> Statistics during current build:
VFS> > Stat: Executed stat() x 6. getUnixMode() x 0
VFS> > FileHasher: Hashed 0 files (0 bytes)
VFS> > DirectorySnapshotter: Snapshot 0 directory hierarchies (visited 0 directories, 0 files and 0 failed files)

It looks like the watching is stopped between builds and not restarted, at least we are not receiving any more events.

I found this in the log:
Caught exception: Couldn't poll for events, error = 4
net.rubygrapefruit.platform.NativeException: Couldn't poll for events, error = 4
	at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher.executeRunLoop0(Native Method)
	at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher.access$100(AbstractFileEventFunctions.java:156)
	at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher$1.run(AbstractFileEventFunctions.java:169)

So the run loop did exit, and we didn't get any notification on the Gradle side, expecting the run loop to still work. I suppose we would receive a failure as soon as we try to stop watching something, though I am not sure.

4 seems to be EINTR, so the system call was interrupted. Maybe we should retry on the native side in that occasion? We for sure need to propagate the problem to Gradle.

I looked into the performance DB, and it seems like we only have these problems when running with async profiler attached.

Fixed via #15160.


Spevacus: Watch pbks.info

Spevacus requests the watch of the watch_keyword pbks\.info. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

pbks\.info has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Mast in Charcoal HQ. Reason: 'Old FP by moderator here'


Allowing data to be sent without overflowing the buffer.

:+1: - would suggest that we consider a future change for agent.rb might actually synchronously work through the queue (in the calling thread) instead of using thread scheduling and split out reliance on main_thread  / synchronous, would help centralize the worker loop for both sync and async modes.


feat: Added parameter c to SupportVectorMachines

Closes #169.
Summary of Changes
Added parameter c to SupportVectorMachines

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
4
2
0
0.73s

✅ PYTHON
mypy
4

0
2.07s

✅ PYTHON
ruff
4
2
0
0.04s

✅ REPOSITORY
git_diff
yes

no
0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

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

v0.12.0
GitHub release

Your semantic-release bot :package::rocket:


'pub run' with flutter tool requires redundant 'pub' on the command line

@franzsilva wrote a cool tool for managing launcher icons, and packaged it as a pub package. Apparently, using the flutter tool, a user can't run the script without typing "pub" twice.
For example: flutter pub pub run flutter_launcher_icons:main
We're wondering if the following could work instead: flutter pub run flutter_launcher_icons:main
Comment: https://github.com/franzsilva/flutter_launcher_icons/issues/4#issuecomment-349454015

cc @mit-mit @devoncarew

It's actually flutter packages pub run flutter_launcher_icons:main.
What's going on is that flutter packages sets the environment for pub, then there's a bunch of commands that flutter packages supports (see flutter packages --help). One of those is pub; what that does is call through to pub and hand it the rest of the command line. The other commands are shortcuts to common things you do with pub, though they don't support all the features of pub. Namely, get and upgrade run pub get and pub upgrade, and test runs pub run test.

We are starting to see a few of these. I think we should reconsider this more globally as originally suggested in https://github.com/flutter/flutter/issues/9799

We want to give our developers a way to extend their workflow with scripts distributed as pub packages. Then, we want to give them a clear way to run those scripts. So, +1 to making it a bit more discoverable and terse to run a workflow script :)
Thanks!

@mit-mit just looking at the merged PR does this mean that the following will now work
flutter packages run flutter_launcher_icons:main

It should; please give it a try, and let us know if not. Generally any pub x command should now be available as flutter pub x


[Question] why does yt-dlc spawn two processes?

Unlike youtube-dl, I've noticed that when I begin a download with yt-dlc, it spawns two processes with the name "youtube-dlc", each with different PIDs. Why is that? With youtube-dl, only one process is spawned for every download.
The problem is that I've built a GUI for yt-dlc and I'm unable to pause a download because I only get the PID of the first process and not the second one.
Please shed some light on this and whether it can be changed to spawn a single process, thanks.
Edit: I have tested this on Windows 7, 8, and 10 and all of them have this issue

I can confirm this behavior discrepancy on WIndows 10.

Any idea how to avoid spawning two processes?

I don't, but I imagine it's an issue with the application builder used with this project (pyinstaller if I'm not mistaken). A quick Google suggests this has been an issue going back 7+ years:
https://stackoverflow.com/questions/14521414/python-two-processes-after-compiling

More info:
https://github.com/pyinstaller/pyinstaller/issues/2483#issuecomment-284224403

I see, then that's the reason, thanks for sharing! Do you know what was used to compiled youtube-dl? That one didn't spawn two processes.

IIRC, the main youtube-dl project is compiled with py2exe.


Bench sim measures

-- Added code to do the benchmarks with an option to select the measure and size of dataset.

Coverage remained the same at 99.91% when pulling b48babad5d3ffac0836783d88af4bc5355c0620c on bench_sim_measures into 05315a0c5e06ddb6f8412fe88e56a5df7015e221 on master.

Coverage remained the same at 99.91% when pulling 229dc0167b2670b470943c6482f3d9d5de0538d6 on bench_sim_measures into 05315a0c5e06ddb6f8412fe88e56a5df7015e221 on master.

Coverage decreased (-0.007%) to 99.903% when pulling 0f05df4ea5c4e2dfa4697c45a340ff19b30b14eb on bench_sim_measures into 05315a0c5e06ddb6f8412fe88e56a5df7015e221 on master.

Coverage decreased (-0.007%) to 99.903% when pulling 0f05df4ea5c4e2dfa4697c45a340ff19b30b14eb on bench_sim_measures into 05315a0c5e06ddb6f8412fe88e56a5df7015e221 on master.


Let users manage the type of email notifications they receive

Context

As a provider user
I need the ability to choose the type of email notification I receive
So that I only get notified about the things I need

Changes proposed in this pull request

Guidance to review

test the provider interface /provider/account/notification-settings
test the support interface /support/users/provider/:id

Link to Trello card
https://trello.com/c/YzNo7PT3/3448-let-users-manage-the-type-of-email-notifications-they-receive
Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

Dependent on #4304 being merged first


Cannot get Prism to bind to IP when running in Kubernetes

Describe the bug
I am trying to run Prism within Kubernetes behind an Ingress but am having trouble getting Prism to bind to an IP.
If I don't specify a host, at all I am unable to connect to the Prism pod (expected, since Prism's default value is the loopback address <IP_ADDRESS>).
But if I specify a wildcard mask via: -h <IP_ADDRESS> (as recommended by #634), I get the following error on startup:
[CLI] …  awaiting  Starting Prism…
[CLI] ✖  fatal     getaddrinfo ENOTFOUND  "<IP_ADDRESS>"

If I specify the k8s pod's IP address via the Kubernetes downward API, I get a similar error:
[CLI] …  awaiting  Starting Prism…
[CLI] ✖  fatal     getaddrinfo ENOTFOUND  <my prism pod ip>

To Reproduce

Given these Kubernetes manifests for a deployment and service running Prism:
 ---
 apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: prism-openapi-mocks
   namespace: api-mocks
 spec:
   selector:
     matchLabels:
       app.kubernetes.io/name: prism
       app.kubernetes.io/part-of: openapi-mocks
   template:
     metadata:
       labels:
         app.kubernetes.io/name: prism
         app.kubernetes.io/part-of: openapi-mocks
     spec:
       volumes:
         - name: swagger-spec
           configMap:
             name: swagger-spec
             items:
               - key: swagger-spec.yaml
                 path: swagger-spec.yaml
       containers:
         - name: prism
           image: stoplight/prism:3
           volumeMounts:
             - name: swagger-spec
               mountPath: /etc/config
           env:
             - name: MY_POD_IP
               valueFrom:
                 fieldRef:
                   fieldPath: status.podIP
           args:
             - mock
             #- -h $(MY_POD_IP) <THIS DOESN'T WORK>
             - "/etc/config/swagger-spec.yaml"
 ---
 apiVersion: v1
 kind: Service
 metadata:
   name: prism-openapi-mocks
   namespace: api-mocks
 spec:
   type: ClusterIP
   ports:
     - name: http
       protocol: TCP
       port: 80
       targetPort: 4010
   selector:
     app.kubernetes.io/name: prism
     app.kubernetes.io/part-of: openapi-mocks

Observe that the Prism pod will refuse connections from other pods:

# Launch a pod with curl
kubectl run -i --tty --rm debug --image=curlimages/curl --restart=Never -- sh

# Attempt to connect to the Kubernetes Service
/ $ curl prism-openapi-mocks.api-mocks.svc.cluster.local
curl: (7) Failed to connect to prism-openapi-mocks.api-mocks.svc.cluster.local port 80: Connection refused

# Attempt to connect to the pod directly
/ $ curl <my prism pod ip>:4010
curl: (7) Failed to connect to <my prism pod ip> port 4010: Connection refused

Expected behavior
I expect Prism to bind to all network interfaces by default.
Environment:

Library version: Prism docker image tag 3 (have also tried 2)
OS: GKE CoS v1.13.11-gke.14

For comparison, the same process using the example NGINX deployment works fine (I can get the default NGINX page back from curl) and we also run a large number of other Node.js containers in this same cluster, perhaps indicating the IP binding issue is specific to Prism.

I have no problems running Prism's CLI in Kubernetes (Deployment + Service).
This image is coming from a Kubernetes Cluster using Rancher:

@XVincentX - thanks for taking the time to confirm.
After many, many hours of googling, searching fastify docs and troubleshooting NetworkPolicies, the issue was similar to this StackOverflow post.
Specifically it was the parameters in the deployment spec.  Instead of:
          args:
            - mock
            - -h "<IP_ADDRESS>"
            - "/etc/config/swagger-spec.yaml"

It needs to be:
          args:
            - mock
            - -h
            - "<IP_ADDRESS>"
            - "/etc/config/swagger-spec.yaml"

I didn't spot it because Prism was returning the correct value in the error log but apparently it parsed the argument differently.
Just my opinion: but I feel it would be a bit more user friendly and follow POLA if Prism left the default Fastify behaviour unchanged and bound to <IP_ADDRESS> by default instead of only the loopback.

figures i post to offer quick copy-paste help..i am also using kustomize
deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: prism-openapi-mocks
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: prism
      app.kubernetes.io/part-of: openapi-mocks
  template:
    metadata:
      labels:
        app.kubernetes.io/name: prism
        app.kubernetes.io/part-of: openapi-mocks
    spec:
      volumes:
        - name: petstore-oas3
          configMap:
            name: petstore-oas3
            items:
              - key: petstore-oas3.yaml
                path: petstore-oas3.yaml
      containers:
        - name: prism
          image: prism
          volumeMounts:
            - name: petstore-oas3
              mountPath: /etc/config
          args:
            - mock
            - -h
            - "<IP_ADDRESS>"
            - "/etc/config/petstore-oas3.yaml"

kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: omatic

images:
- name: prism
  newName: omacrrdcontainerregistry.azurecr.io/prism
  newTag: '5.5.1'

resources:
- deployment.yaml
- service.yaml

configMapGenerator:
- name: petstore-oas3
  files:
  - petstore-oas3.yaml=petstore-oas3.yaml

service.yaml
 apiVersion: v1
 kind: Service
 metadata:
   name: prism-openapi-mocks
 spec:
   type: ClusterIP
   ports:
     - name: http
       protocol: TCP
       port: 80
       targetPort: 4010
   selector:
     app.kubernetes.io/name: prism
     app.kubernetes.io/part-of: openapi-mocks

petstore-oas3.yamlh - see here

figures i post to offer quick copy-paste help..i am also using kustomize
deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: prism-openapi-mocks
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: prism
      app.kubernetes.io/part-of: openapi-mocks
  template:
    metadata:
      labels:
        app.kubernetes.io/name: prism
        app.kubernetes.io/part-of: openapi-mocks
    spec:
      volumes:
        - name: petstore-oas3
          configMap:
            name: petstore-oas3
            items:
              - key: petstore-oas3.yaml
                path: petstore-oas3.yaml
      containers:
        - name: prism
          image: prism
          volumeMounts:
            - name: petstore-oas3
              mountPath: /etc/config
          args:
            - mock
            - -h
            - "<IP_ADDRESS>"
            - "/etc/config/petstore-oas3.yaml"

kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: valueHere

images:
- name: prism
  newName: registryPath/prism
  newTag: '5.5.1'

resources:
- deployment.yaml
- service.yaml

configMapGenerator:
- name: petstore-oas3
  files:
  - petstore-oas3.yaml=petstore-oas3.yaml

service.yaml
 apiVersion: v1
 kind: Service
 metadata:
   name: prism-openapi-mocks
 spec:
   type: ClusterIP
   ports:
     - name: http
       protocol: TCP
       port: 80
       targetPort: 4010
   selector:
     app.kubernetes.io/name: prism
     app.kubernetes.io/part-of: openapi-mocks

petstore-oas3.yaml - see here


NAS-130115 / <IP_ADDRESS> / Do not use raw_result for core.get_jobs output in debug (#202) (by anodos325)

Original PR: https://github.com/truenas/ixdiagnose/pull/204
Jira URL: https://ixsystems.atlassian.net/browse/NAS-130115

JIRA ticket https://ixsystems.atlassian.net/browse/NAS-130115 is targeted to the following versions which have not received their corresponding PRs: 24.10-BETA.1

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.


Some nodes doesn't supported

Thaks for your contribution. I meet a node which the repo doesn't supported.The custom node git : https://github.com/ltdrdata/ComfyUI-Impact-Pack, class in ComfyUI-Impact-Pack/modules/impact/util_nodes.py. which named GeneralSwitch can't pass the workflow_json.py process.

Bumping this issue because of a similar issue with Impact Pack.
SEGS ELT does not pass either. It's being parsed as a list, when it is actually a named tuple.

This may have been fixed in my fork. Testing the following basic workflow (and providing true/false as script arguments) works.

Hi @YmanChris this issue might be resolved with https://github.com/pydn/ComfyUI-to-Python-Extension/pull/73, which has been merged into main. If not, it would be helpful if you provided the workflow.json and output .py file that lead to the error.
Closing the issue for now, but feel free to reopen if you are still facing issues.


Font weight possibly not standard

Fallback doesn't work

Italic works for some fonts but doesn't for others

Fonts are bolder - see text in tilix vs neovide
Fonts are wider have more spacing - see tabline in tilix vs neovide

Letters are not in the same horizontal level - see tabline in the above screenshot, also else on line 20 (relativenumber 11+9), also the quotes in vim-startify

OS - arch linux
Version - https://github.com/Kethku/neovide/actions/runs/160252742

JetBrainsMono NF

FiraCode NF
I have the same issue but it only seems to happen when I use JetBrains Mono as my font. I'm also on Arch Linux

Hmm that fixes the "not same horizontal level" problem, but the other problems are still there (using Roboto Mono)

Changed "wider" to "more spaced" in the top comment

Font kerning is something you might be able to change in your terminal emulator of choice. Regular fonts have embedded kerning information because the glyphs have different widths, but monospaced fonts don't have different widths. I use st as my terminal and don't notice any difference apart from the horizontal alignment issue

Yeah but the problem is in neovide not terminal - gnome terminal, tilix and konsole all do it properly

This sounds like the font in question reports metrics differently than we expect. Let me go track down where that is computed

https://github.com/Kethku/neovide/blob/master/src/renderer/caching_shaper.rs#L312 this is where the system takes some text and turns it into a shaped text blob which we can actually render. I suppose its possible that your font does something weird requiring vertical kerning as well as horizontal. That would likely explain the vertical positioning issue.
Italic inline is probably just something that was never built yet. Its been a while since I touched that code, but it should be possible to include. A problem that may not be obvious is that we have load and cache the font associated with each type of font characteristic. So the code is somewhat sensitive and if done incorrectly, it can take up a bunch of ram, increase startup time, or both.
Lastly, the computed metrics are responsible for the font spacing https://github.com/Kethku/neovide/blob/master/src/renderer/caching_shaper.rs#L350. Basically we take a standard character string: https://github.com/Kethku/neovide/blob/master/src/renderer/caching_shaper.rs#L350 and compute the maximum width for that character. This is a good middle ground solution which handles most fonts I threw at it, but is likely to be slightly different than terminal renderer xyz. Maybe we could introduce a setting which allows you to tweek the spacing? What do you think?
Unfortunately this project has slowed due to insert global catastrophe here. I'm still invested in working on it, but it will take time, and we could always use contributors. I'm totally happy to help someone interested in digging in though! We have the gitter linked in the readme if you want to chat there.

I don't know if I should add into the issue, or create a new one. Here's what I found about font fallback.
This break here
https://github.com/Kethku/neovide/blob/d406cf6c3154090cf3056b0d21fe850af2c49b88/src/renderer/caching_shaper.rs#L195-L202
stops the processing of font fallbacks. If loaded successfully with guifont=Font\ 1, Font\ 2:h14, font_name will iterate through the list of fonts. If it finds the first font, neovide does not load other fonts into cache.
I tried with my setup for Korean, Japanese, and Chinese as fallbacks to "FiraCode Nerd Font". After debugging through, I see this breaks and only "FiraCode Nerd Font" is loaded.
set guifont=FiraCode\ Nerd\ Font\ Mono,Gulim,Yu\ Mincho,NSimSun:h16

Here's what after:

Before removing the break:

P/S: The vim help on guifont and many tutorials online specified guifont=Font_1 to be the same as guifont=Font\ 1, which is not true in Neovide case. Neovide uses font_kit and font_kit searches for fonts with space. So we might as well stated in our docs that only "Font\ 1" to be used.
P/S 2: I cannot use Microsoft IME with Neovide.

^(pls decrease font weight/add an option. point no 3, subpoint 1)

@p00f aaa shoot I closed it prematurely.

@p00f I would love any assistance or investigation you might be able to contribute. https://github.com/Kethku/neovide/issues/327#issuecomment-664542895 gives a pretty comprehensive description of the moving parts.
The specifics of font weight are largely default from skia. That said, if there is a way to configure font weight in skia, adding settings for such a thing would be pretty easy.

Font weight possibly not standard, and vertical alignment is messed up with some fonts

Vertical alignment has been fixed ig

@p00f I would love any assistance or investigation you might be able to contribute. #327 (comment) gives a pretty comprehensive description of the moving parts.

oof i just asked them not to close the issue

Did not intend to close this. Its fine if you don't want to help or contribute, but it may be a bit before we get to font tweaking as there are other bugs and features to complete. Let me know if you do end up poking around

I'll start contributing after exactly one month.

Closing in favor of https://github.com/Kethku/neovide/issues/589


PR, Bug, Feature, and other templates added with all workflows

closes #214

label: "I am a IWOC'24 contributor."
required: false
   don't add specific name of program

   write like contribute under which program

done @Kritika30032002 please check

Thanks for your Valuable contribution.
Don't forget to star the repo.


=(NEW-UPDATED)Roll into Action 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go Free Dice Links 2024! [ ytfvs]

+/~(NEW-UPDATED)Roll into Action 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go Free Dice Links 2024! [ ytfvs]
𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go is the mobile adaption of the popular board game that takes you on an exciting adventure as you buy and build your way to the top. Play it with your friends and you've got a game that's full of fun and chaos.
🔴📺📱👉 Click here FREE DICE Links
Much like the original game, dice are at the heart of 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go. You will need dice rolls to move around the board, collect coins, and upgrade your properties.
We know you want to advance through the game fast and build your property empire across the many city boards. To achieve that, you will need more than the five free rolls you get every hour. Thankfully, there are daily links you can use to get free dice in 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go.
Here are the latest 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go dice links on April 1, 2024.
Today's Free Dice Links In 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go
Here are today's working 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go dice links:
25 free dice (new!)
25 free dice (new!)
25 free dice
25 free dice
25 free dice
25 free dice
15 free dice and a 2-Star Yellow Sticker Pack
25 free dice
25 free dice
25 free dice
25 free dice
25 free dice
25 free dice
25 free dice
25 free dice
25 free dice
25 free dice
30 free dice
25 free dice
25 free dice
All you need to do to claim your free dice rolls is to click on the link. After that, accept the prompt given and you will receive your free dice rolls. It's important to note that each account can only claim these links once.
As these links are only available for a limited time, we recommend using them as soon as possible.
How To Get New 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go Free Dice Links
The best way to get more dice links for 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go is to get them from trusted websites or sources such as this guide.
Unfortunately, there can be many suspicious links that can install malicious software into your device if you click on them. So, to ensure your safety, only click on 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go links you can trust.
How To Get More Dice Rolls In 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go
Besides using the available free dice links, there are other ways that allow you to get dice rolls for free in 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go.
One of the easier ways to get more dice rolls is to open your login bonuses. These can be claimed every eight hours.
You can also earn dice rolls by connecting your 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go account your Facebook account or your phone's contact list. Once you do so, you can collect rewards such as dice rolls by going to the 'Friends' tab, selecting 'Timeline', and pressing on 'Claim All'.
If all else fails, you can simply play the game to earn dice rolls. These include rolling doubles at 'Go To Jail', getting rolls from 'Free Parking', completing sticker albums, and making use of rare 'Endless Offers' that give you free dice.
How to redeem 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go free dice rolls
When you hit Level 15 in 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go, you’re good to go to redeem the above free dice roll codes, which only work once per account. You will need to click the link directly on your device, where you have 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go installed. Otherwise, it’ll just go to the mobile store landing page.
As a reminder, we have a full guide on how to get even more free dice rolls, through methods like friend invites, daily logins, net worth growth, and community chests (through multiplayer).
How can you get more 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO free dice roll links?
An easy way to get more 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO dice roll links quickly is to keep this page bookmarked, as we regularly update this guide with the newest links released by Scopely. Occasionally, Scopely releases multiple links in one day, so be sure to check back often for updates.
Additionally, you can find more 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO dice roll links using official Scopely social media accounts such as Instagram, Discord, and Facebook. Scopely’s staff and support specialists frequently post updates on ongoing events, giveaways, and challenges here, with free dice links being among their active posts.
Why are my 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO dice roll links not working?
The most likely culprit for 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO dice roll links not working is that they are expired. Since you don’t have to type in a code, link, or command manually, typos are usually not an issue you’ll come across. Instead, since links only last a few days, you may be using one that recently expired. If you encounter an expired link in this guide, let us know so we can update the list.
Another reason is that you already claimed the link on your current account.  Once you use one, you’ll have to move on to the next.
Watch out for scam 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 Go free dice rolls
It’s very easy to get dragged into a situation where you install malware on your device by clicking a random link. Make sure you only click free dice roll links while on trusted sites or through official Scopely studio social accounts.
How to get more free rewards in 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO
Alongside free dice links, 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO also offers numerous other methods to getting free items, with the list below describing a few:
Free store gift
Daily and weekly quick wins
Event and tournament rewards
Scopely and community-run giveaways
Free endless bargain events
While there are several other ways to get free dice, money, and stickers, these are a few ways you can jumpstart your progress quickly.
What is 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO?
𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢 GO is a mobile game based on the popular board game 𝚖𝚘𝚗𝚘𝚙𝚘𝚕𝚢.  Your overall goal is to get money to upgrade your landmarks, allowing you to progress through the game’s maps and unlock special rewards such as shield skins, emojis, and tokens.


User Account Management: Inactive Accounts

💡 Summary
I would like to propose a systematic check for 30 days of Crossfeed user account logon inactivity, notify the user, if account reaches 45 days of inactivity, the password will be reset (to essentially deactivate it by requiring the data consumer to take action to reset their password should they wish to resume use).  Accounts reaching 90 days of inactivity will be removed.
We should also consider adding a new feature to set an expiration date on an account for short-term hires, contractors, etc to minimize manual overhead.  When the account expires, it doesn't have to be removed, merely reset the password or create a way to lock the account so that manual intervention is required to reenable the account.
Note:  I propose 90 days before removing an account entirely as some partner use-cases do not require accessing Crossfeed routinely or frequently, for example, Election personnel.  Along those same lines, it might be worth investigating the election temporary hiring practices for requesting access to being on a specific date and end on a specific date.
Motivation and context
Why does this work belong in this project?
This would be useful because...
Implementation notes
Please provide details for implementation, such as:

an example for how this would be used
what this would look like
how this would act
any related work, including links to related issues

Acceptance criteria
How do we know when this work is done?

[ ] Criterion

@schmelz21  I created this idea issue to get it logged so we don't lose track of what we discussed today.
cc @stewartl97 , @rapidray12

https://github.com/cisagov/crossfeed/pull/1532 - Noting a PR pre-exsted. Closing out that PR as OBE


systemd unit compatibility

Description:
On a fast enough server, sometimes the service will load before the system gets online, and on the internet.

The only way to recover from that, is to restart the service.
A simple fix that worked for me was to ask for the network-online.target, as opposed to network.target, and also make it as requirement.

added a fix for the systemd unit, where by the system will start HA before DNS and internet connectivity are established, thus causing errors, and the UI to be incomplete.
I fixed that in my ArchLinux system, by loading HA after the network-online.target instead of network.target, and also making it a requirement.


user/rfa/59244-changelog-sprint-158

[ ] You've read the Contributor Guide and Code of Conduct.
[ ] You've included unit or integration tests for your change, where applicable.
[ ] You've included inline docs for your change, where applicable.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

{Summary of the changes}
Description
{Detail}
Fixes #{issue number}

@technical-writer-fabry please use meaningful names for the PR titles and branch names, e.g. in this case:
Branch name: user/rfa/posdealerapi-postman
PR title: Published Postman collection for PosDealer API


[WIP] - Add full coverage of cable termination types to graphene

TODO

[ ] Unit tests for resolve_connected_<endpoint> and resolve_cable_peer_<endpoint> methods pertinent on each DCIM object type which can be attached to a cable.
[ ] Udates to documentation
[x] Unit tests for Interface object resolve_cable_peer_<endpoint> methods
[x] Add all pertinent GraphQL queries

Fixes: #1495

This PR includes modifications to the GraphQL schema for some DCIM objects, and the CircuitTermination object. The following three modifications have been made:
Refactor PathEndpointMixin
The PathEndpointMixin Was used as a mixin for various DCIM GraphQL object types which can act as Endpoints connected to a cable object (e.g. InterfaceType, ConsolePortType...etc). The endpoint which can be attached to a cable depends on what's on the other side of the cable though, so it doesn't make sense to use this as a single mixin for all object types which can act as PathEndpoints and are attached to a cable. For instance, a cable which attaches to an Interface object can not attach to a PowerPort object. Both Interface and PowerPort are valid PathEndpoints, but the same mixin which declares the GraphQL resolve methods can not be used for both PowerPortType and InterfaceType because it would declare invalid resolve methods for both objects. Specifically, resolve_connected_interface is an invalid method for the PowerPortType GraphQL object and resolve_connected_power_port is an invalid method for the InterfaceType GraphQL object.
Because of this, I removed these methods from the mixin and instead used methods directly on all GraphQL type objects. This requires the same method to be implemented on multiple classes and therefore violates the DRY principal. The only alternative I could come up with was dynamic class construction, which I think would be more complex to implement than it is worth to avoid repetition.
Addition of cable_path_<endpoint> queries
I've added GraphQL queries of the form cable_path_<endpoint> (e.g. cable_path_circuit_termination) to acquire the endpoint connected to a given cable. This is in contrast to the connected_<endpoint> (e.g. connected_circuit_termination) queries used to acquire the endpoint for a given path.
From the following relationship model, a GraphQL query for connected_circuit_termination from the interface object will return None, but cable_path_circuit_termination will return the circuit_termination_1 CircuitTermination object. This is because the connected_endpoint is extracted from the PathEndpoint object which yields the interface on the other side (which is not a circuit termination). The cable_path_endpoint, in contrast, yields the object on the other side of the cable (which is a circuit termination). Similarly, the connected_interface query will return the interface2 Interface object and the cable_path_interface query will return None for the same reason.
Relationship Model: device1 <-> interface1 <-> circuit_termination_1 <-> circuit <-> circuit_termination_2 <-> interface2 <-> device2
The resolve_cable_path_<endpoint> methods have been added for all DCIM objects which can be attached to a cable. Only the endpoints per the COMPATABLE_TERMINATION_MODELS dictionary (see here) have been added for each individual model.
Addition of connected_<endpoint> queries
Some of these already existed. I added full coverate. The connected_<endpoint> queries have been added for all objects which can attach to a cable and inhere from PathEndpoint. FrontPort and RearPort, namely, do not inhere from PathEndpoint. Therefore, those two have no connected_<endpoint> queries, but do have cable_path_<endpoint> queries.
Only the pertinent queries have been added. Pertinence was esablised per the COMPATABLE_TERMINATION_MODELS dictionary (see here), just as was done for the cable_path_<endpoint> queries.
Coverage of all graphene DCIM models which can be attached to a cable.
I've added multiple DCIM graphene type models. These include ConsolePortType, FrontPortType, RearPortType, PowerFeedType, PowerOutletType, and PowerPortType. This procures full coverage of GraphQL queries of objects which can be attached to a cable per the CABLE_TERMINATION_MODELS constants (here)

@glennmatthews @bryanculver -- could I get some feedback on this PR? Namely, I'd like to make sure the updates to the GraphQL Type objects are as they should be before I finish writing unit tests :).

Just to be sure I follow - when you say cable_path_<endpoint> above, you mean cable_peer_<endpoint>, correct?

Yeah correct, sorry about that -- my mind got turned around somehow 🙃


[bug]: impossible to know if a proof is an issuance proof

Background
After discussing on slack with @guggero we thought we could determine if a decoded proof is an issuance proof with the rule prev_id.anchor_point === "000000....00000:0".
Your environment
taplcli build from on 22 december.
Steps to reproduce
I have a proof file in the attached file: decodeProof-proofFile3-proofAtDepth0-withoutMetaReveal-request.json.
I call decode with proof_at_depth = 0, I get:
"decoded_proof": {
    "proof_at_depth": 0,
    "number_of_proofs": 3,
    ...
    "prev_witnesses": [
        {
          "prev_id": {
            "anchor_point": "0000000000000000000000000000000000000000000000000000000000000000:0",
            "asset_id": "0000000000000000000000000000000000000000000000000000000000000000",
            "script_key": "000000000000000000000000000000000000000000000000000000000000000000",
            "amount": "0"
          }
    ...
}

I call decode with proof_at_depth = 1, I get:
decoded_proof": {
    "proof_at_depth": 1,
    "number_of_proofs": 3,
    ...
    "prev_witnesses": [
        {
          "prev_id": {
            "anchor_point": "632d0c3935fff230aa3718e268dce5517786d7976f7aa33efb615b408737b0ad:0",
            "asset_id": "e16029acc4d2cf0505857265442344efb5547f2047a3fc1c4822683f7c57820e",
            "script_key": "023a8d9bc352eb3f5f69b798a941f06244b3633a8fd2cf82406132504ff08e23ff",
            "amount": "0"
          }
    ...
}

I call decode with proof_at_depth = 2, I get:
"decoded_proof": {
    "proof_at_depth": 2,
    "number_of_proofs": 3,
    ...
    "prev_witnesses": [
        {
          "prev_id": {
            "anchor_point": "0000000000000000000000000000000000000000000000000000000000000000:0",
            "asset_id": "0000000000000000000000000000000000000000000000000000000000000000",
            "script_key": "000000000000000000000000000000000000000000000000000000000000000000",
            "amount": "0"
          }
    ...
}

So it seems I can't use prev_id.anchor_point === "000000....00000:0" as a way to know if a decoded proof is an inssurance proof.
Expected behavior
Seems prev_id.anchor_point === "000000....00000:0" should be only in one decoded response ?

So an issue proof (the very first proof that created the asset) will only have a proof depth of 1. There'll only be a single proof, and that final proof will have the all zero anchor point.
On the API, there's a flag that you need to set to ensure that prev witnesses actually get decoded: with_prev_witnesses. Some assets will also have a genesis_reveal present if they were created with a group key.

Thanks.
I thought there could be a proof or proof file not containing the issuance proof, that's why i wanted to know if there was a way to know if a proof is an issuance proof.
For now, I was calling the decode method with meta_reveal... if i had an error code, i would call the decode method without meta_reveal... It's not a great solution.

Thanks for the file provided, that helped. I took a look and the issue is that the last asset in the file ("proof_at_depth": 2,) is the result of an asset split. So you have to also check whether prev_witnesses[x].split_commitment is set.
So basically the following rules:
prev_id.anchor_point === "000000....00000:0" && split_commitment == null --> genesis asset

prev_id.anchor_point === "000000....00000:0" && split_commitment != null --> split send

prev_id.anchor_point !== "000000....00000:0" --> full value send


Update service-gateway-install.md

simple spelling correction "sovereign"

Closed because duplicate of https://github.com/MicrosoftDocs/data-integration/pull/76.


Compiling on Windows - Visual Studio 2019 - ClangCL

I'm attempting to compile this on windows using clang-cl.
I ran cmake with the following:
cmake -G "Visual Studio 16 2019" -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=C:/Program\ Files/SheLLVM -A x64 -T ClangCL ..
I'm getting and error when compiling the shellvm project:
"no matching function for call to 'Create' - shellvm - MergeCallsPass.h - line 119
    CallInst *UnifiedCall = CallInst::Create(         cast<Value>(Target), ArrayRef<Value *>(CallArgs), "", CallBlock);
Any insight what might be causing this?  Thanks.

Thank you for reporting this. Support for LLVM >= 10 has been introduced as of c6979469faa949d8c1030027236581361798577e.


added identifier mask, chrome launcher, increased button margin

There are some constants/magic numbers in the code that might be worth pulling out or at least putting at the top. Also, we're introducing an input restriction with no information telling the user what they can and cannot input, which could be confusing/frustrating.


merge upstream

solve merge conflict and upstream changed to using a managed keybind pointer

Oh, i never noticed that PR sorry
I rebased everthing yesterday feel free to test

It's alright, merge conflict already solved so I'll close


Same codebase for docs generation in keras and keras-contrib.

Currently, the code to generate the docs is in keras-contrib/contrib-docs. This is a copy of the directory in keras/docs/ . This is an issue because when people change the code in keras/docs, we have to port the change in keras-contrib/contrib-docs. We should always use the same code to generate the docs. I see two possible paths:

We make the code in keras/docs as generic as possible, then we import it to generate the docs of keras contrib.
We split the docs generation code into a separate repo and we import it in both keras and keras-contrib.

For the moment, we'll go with option 1 because then it's easy to switch to option 2. Ideally, we should be able to get functions to test some properties of docstrings from keras too (I'm thinking keras/tests/test_documentation.py).

I'll take care of it.


[Crash Report] Line tool causes crashes

Describe the Crash
Using the connected bezier line tool, a crash happened
Steps To Reproduce
Describe precisely how the crash occurred, step by step, starting with a new editor window.

Open the Graphite editor at https://editor.graphite.rs
Use the line tool a lot (it happens every time for me, after enough clicks)

Browser and OS
Firefox 120, Nixos
Stack Trace
Copied from the crash dialog in the Graphite editor:
panicked at /var/lib/github-actions/_work/Graphite/Graphite/node-graph/gstd/src/any.rs:22:74:
DynAnyNode Input, Incorrect type, expected graphene_core::transform::Footprint but found graphene_core::application_io::EditorApi<graphene_std::wasm_application_io::WasmApplicationIo> in:
graphene_core::memo::MonitorNode<graphene_core::transform::Footprint, graphene_core::graphic_element::GraphicElement, graphene_std::any::DowncastBothNode<graphene_core::transform::Footprint, graphene_core::graphic_element::GraphicElement>>

S1/<@https://editor.graphite.rs/assets/index-c18f9d18.js:29:1143
h@https://editor.graphite.rs/assets/index-c18f9d18.js:17:34203
handleJsMessage@https://editor.graphite.rs/assets/index-c18f9d18.js:17:34351
a1/e<@https://editor.graphite.rs/assets/index-c18f9d18.js:18:33012
s1/o.wbg.__wbg_call_4c92f6aec1e1d6e6/<@https://editor.graphite.rs/assets/index-c18f9d18.js:18:29449
rt@https://editor.graphite.rs/assets/index-c18f9d18.js:18:1233
s1/o.wbg.__wbg_call_4c92f6aec1e1d6e6@https://editor.graphite.rs/assets/index-c18f9d18.js:18:29415
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[1474]:0x3b62e0
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[4069]:0x4d6938
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[3692]:0x4bf2dd
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[6085]:0x55428d
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[3150]:0x4989f5
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[2037]:0x4269c6
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[600]:0x292e6f
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[373]:0x1e619d
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[1738]:0x3f17fa
@https://editor.graphite.rs/assets/graphite_wasm_bg-f097a9a7.wasm:wasm-function[6729]:0x55d740
Qc@https://editor.graphite.rs/assets/index-c18f9d18.js:18:433
s@https://editor.graphite.rs/assets/index-c18f9d18.js:18:115

Thanks for the report. This appears to happen intermittently on most tools, making it quite hard to debug.

@makoConstruct I believe this is fixed on https://dev.graphite.rs/ - would you be able to check this? Thanks again for reporting.

Confirmed (would this ever be platform-specific?)


{Core} Add storage sync endpoint suffix

Description

This PR adds the storage sync endpoint suffix for AzureCloud and AzureUSGovernment.
It will use the property name storageSyncEndpointSuffix to find the suffix in ARM cloud discovery, and it will use the suffix of AzureCloud as default if couldn't find it.
Testing Guide

Run the command below, the PR will make the suffix storageSyncEndpoint appear.
az cloud show -n AzureCloud

storage sync endpoint suffix


Improve multiple commits feature

[ ] Fix bug with dvc exp show -n 3 not always showing the last three commits (see #3035 comment)
[ ] Make split between the "main" row and "past commit" rows more obvious
[ ] Add more commit information to table rows in a tooltip (full message, author, git tags, etc.)
[ ] Possibly show the commit messages in quick pick experiment selection (if we can show both columns and commits)
[ ] Show the commit messages in the plots ribbon blocks
[ ] Incorporate the git-commit icon into commit messages

Followup to #3016

Make split between the "main" row and "past commit" rows more obvious

Looked into some other tables but had some difficulty finding ideas since no table that I had a clear "split" between rows minus when the rows were in collapsible groups. But here's one idea I experimented with:

Though it's hard for me to tell when something looks good or I've been staring at it for too long 😅 Any other ideas that we want to test out? cc @iterative/vs-code, @shcheklein

@julieg18 I like it! it's simple and explicit. We'll be able to add a dropdown of some other element to configure which commits to show as a next step, it's an obvious and good place for that.
I don't think we need ":"

Two design ideas so far for commit tooltips on the experiment table!

Any preference or other ideas/inspiration? cc @iterative/vs-code, @shcheklein

I think the first one is better! I can't make screenshot (it doesn't allow me for whatever reason), but take a look at how GitLens represents them in the COMMITS side panel. We can do something similar (simplify if some parts there take more than 10 minutes to implement :))


Orphaned image deletion

Added several features:

orphan image cleaning
filter by regex (in orphan mode only)
delete images that are older than a specific date.
fixed some sort test cases
updated the unlimited value in limit flag from -1 to 0 and default from 100 to unlimited-

I haven't run the code once. As I'm busy atm, maybe involve @srueg too?

Added @srueg as a reviewer as well

It seems I fixed everything, who is the brave one to merge it @srueg, @ccremer ?


Alarm Triggered Node does not forward msg content from Alarm Sensor Node

Please check out the following sample flow.
The 2 triggers to the 2 Alarm Sensor Nodes set different msg.name.
This information is forwarded by the Alarm Changed Node correctly, the msg.name stays intact.
However this information is lost by the Alarm Triggered Node, it does not include the msg.name any more.
[{"id":"6fae9bf8.a4959c","type":"tab","label":"Alarm","disabled":false,"info":""},{"id":"8bd5b109.2dc0f","type":"AnamicoAlarmSensor","z":"6fae9bf8.a4959c","name":"Sensor 1","panel":"abd3ea6.4f26698","alarmStates":"1","x":480,"y":140,"wires":[]},{"id":"4805869f.3a2d28","type":"AnamicoAlarmChangeState","z":"6fae9bf8.a4959c","name":"","panel":"abd3ea6.4f26698","format":"2","x":399,"y":304,"wires":[]},{"id":"9378f121.974468","type":"inject","z":"6fae9bf8.a4959c","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":140,"wires":[["fe178b42.b889a"]]},{"id":"fb03b1ce.a8ad7","type":"AnamicoAlarmSensor","z":"6fae9bf8.a4959c","name":"Sensor 2","panel":"abd3ea6.4f26698","alarmStates":"1","x":480,"y":200,"wires":[]},{"id":"74ecf1d4.f09bf","type":"inject","z":"6fae9bf8.a4959c","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":200,"wires":[["b83332d4.53344"]]},{"id":"47d30035.686a9","type":"inject","z":"6fae9bf8.a4959c","name":"Arm","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":203,"y":279,"wires":[["4805869f.3a2d28"]]},{"id":"9e213fcf.2d453","type":"inject","z":"6fae9bf8.a4959c","name":"Disarm","topic":"","payload":"3","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":203,"y":319,"wires":[["4805869f.3a2d28"]]},{"id":"b30636c6.1f1878","type":"debug","z":"6fae9bf8.a4959c","name":"Alarm received","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":905,"y":142,"wires":[]},{"id":"44795cad.729c0c","type":"debug","z":"6fae9bf8.a4959c","name":"State Changed","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":905,"y":202,"wires":[]},{"id":"55bf04cf.cc3714","type":"AnamicoAlarmTriggered","z":"6fae9bf8.a4959c","name":"","panel":"abd3ea6.4f26698","delay":"2","x":735,"y":142,"wires":[["b30636c6.1f1878"]]},{"id":"89f9fd41.39c458","type":"AnamicoAlarmStateChanged","z":"6fae9bf8.a4959c","name":"State Changed","panel":"abd3ea6.4f26698","format":"2","sendInitialState":1,"x":705,"y":202,"wires":[["44795cad.729c0c"]]},{"id":"fe178b42.b889a","type":"change","z":"6fae9bf8.a4959c","name":"","rules":[{"t":"set","p":"name","pt":"msg","to":"Sensor 1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":300,"y":140,"wires":[["8bd5b109.2dc0f"]]},{"id":"b83332d4.53344","type":"change","z":"6fae9bf8.a4959c","name":"","rules":[{"t":"set","p":"name","pt":"msg","to":"Sensor 2","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":300,"y":200,"wires":[["fb03b1ce.a8ad7"]]},{"id":"abd3ea6.4f26698","type":"AnamicoAlarmPanel","z":"","name":"AlarmPanel"}]

Thanks, the original intention was to just trigger a new message after the delay.
So if you had a 10 second delay, but the node received 5 messages in that time as various alarms, this node was only intended to "trigger" the siren. If it needed to include any components of the 5 messages it received to cause the alarm, which msg.name should it use? the one from the 1st or second message? Or the last one?
I could have it perhaps cache the initial message or just use the latest one?
What is the use case you are trying to set up?


[Test - No need to review] chore: Test with custom endpoint

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕
If you write sample code, please follow the samples format.

@lqiu96 Is this still needed? Or can we close this PR?

It's no longer needed. Closing.


[$1000] testing new bug process

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Break down in numbered steps
Expected Result:
Describe what you think should've happened
Actual Result:
Describe what actually happened
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e0e6f1c35c9e15fa
Upwork Job ID:<PHONE_NUMBER>665472000
Last Price Increase: 2023-06-15

Sorry for the ping @Christinadobrzyn @Santhosh-Sellavel, testing as part of internal QA

Hey @Christinadobrzyn! Do you think you could add the engineering and internal labels whenever you get a chance to test if it assigns an internal engineer?

Awesome, this looked like it worked! Thanks @Christinadobrzyn, closing out the issue.


Installing with some issues

Hello someone know how this error caused?
Obtaining file:///home/lclcq/infer_workspace/vllm
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... error
  error: subprocess-exited-with-error

  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      Traceback (most recent call last):
        File "/home/lclcq/miniconda3/envs/new_env2/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/lclcq/miniconda3/envs/new_env2/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/lclcq/miniconda3/envs/new_env2/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
          return hook(config_settings)
        File "/tmp/pip-build-env-g_a1aa9s/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 450, in get_requires_for_build_editable
          return self.get_requires_for_build_wheel(config_settings)
        File "/tmp/pip-build-env-g_a1aa9s/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-g_a1aa9s/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-g_a1aa9s/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 59, in <module>
        File "<string>", line 34, in get_nvcc_cuda_version
      TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Hi @tiandiao123 Thanks for trying out vLLM! It's a known issue. Could you check if your machine has NVCC compiler? Please let us know the output of running nvcc --version on your terminal.

Hi @tiandiao123 Thanks for trying out vLLM! It's a known issue. Could you check if your machine has NVCC compiler? Please let us know the output of running nvcc --version on your terminal.

oh, looks like it is due to the reason I didn't load my cuda. after retrying, it works. Thank you!

I met same installing bug, and my nvcc -V is:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Mar_21_19:15:46_PDT_2021
Cuda compilation tools, release 11.3, V11.3.58
Build cuda_11.3.r11.3/compiler.29745058_0
Could you help me fix it  @please?@WoosukKwon


Meta topic: Process for proposals review and discussion, aka Singer Improvement Proposal

As a meta-issue to help organize and focus our collective efforts: we would like to have an agreed and documented proposal process which we can use to advance certain goals and collect much-needed feedback from the Group and Community.
This is intended to be an RFC-style process, similar to the PEP documents for Python and the Airflow Improvement Proposal format for Airflow.
A draft template has been created in this project's Wiki: https://github.com/MeltanoLabs/Singer-Spec-Working-Group/wiki/SIP-Proposal-Template

Some kind of Meeting guideline / voting seems needed.
Dan's what's in the spec vs what isn't in the spec seems very needed as well, what's off limits is basically what's needed I think


fix: fix icons and metadata alignment on ArtworkGridItem

This PR resolves []
Description

Addresses notion bug: https://www.notion.so/artsy/variant-b-variant-c-The-meta-data-is-not-visible-on-the-grids-on-the-artist-page-but-show-up-when-13ecab0764a0805891ffdb96af05ac79?pvs=4
Follow up on https://github.com/artsy/eigen/pull/11134. The fix in this PR was breaking alignment of the save CTA:

Because we use different flexDirection value for different experiments, the layout was breaking. When displaying the data in a column, we need to use flexGrow and when in the row - flex.
flexGrow={positionCTAs === "column" ? 1 : undefined}
flex={positionCTAs === "row" ? 1 : undefined}

Fix:

Fixed missing metadata data on the grids on artwork screen
Fixed Save CTA alignment

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

fix icons and metadata alignment on ArtworkGridItem

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (fix icons and metadata alignment on ArtworkGridItem - dariakoko)

  Generated by :no_entry_sign: dangerJS against 06705405c8065a94270238b4ddf1cccc67e9788c


Opserv page that displays who is certified to teach a specific training

Please consider making the information of who is certified to teach a certain training visible in some way on opserv, either to everyone through a dropdown on the training or similar, or to C&S through an opserv report similar to the award check report or custom roster showing who has passed a certain training.
Currently you need to make educated guesses and check people's jackets one by one to compile this information, or track certifications in parallel through forum threads, google docs etc.

I was playing a bit with this today... and i think we could add this information in the overall information of the training itself?
Like this:

thoughts?

Showing it inside the training sounds ideal.
If Command teams would like a report showing a list of their trainings and the certified members, we could always make that. But showing it inside the trainings sounds like a good starting point.

Just gonna post this image here as well:

Pushed live


✨ Add errors to BindingPolicyStatus

Summary
This PR extends the schema of BindingPolicyStatus to include a general collection of error messages, so that there is a state-based way to report errors.
Related issue(s)
Fixes #

/cc @waltforme
/cc @ezrasilvera
/cc @nirrozenbaum

/lgtm
/approve


How to view the final result for distributed computing

Hi，When I use distributed xgboost, I can get the global accuracy, but I find the final result model can not access as the final model of single machine xgboost. And the dumped tree appears to be too short compared to the single mode for same input data. Can you tall me how to get the entire tree and probability distribution of prediction result in distributed xgboost?
the pred.txt is below:
booster[0]:
0:[odor=none] yes=1,no=2
1:[spore-print-color=green] yes=3,no=4
3:leaf=1.85965
0.954672
0.00686907
0.954672
0.954672
0.954672
0.954672
0.954672
0.308975
0.308975
0.954672
0.954672
0.954672
0.954672
0.116715
0.954672
0.954672
0.308975
0.954672
0.954672
0.954672
0.954672
0.954672
0.954672
0.954672
0.954672
0.954672
0.954672
the dump.nice.txt is
booster[0]:
0:[odor=none] yes=1,no=2
1:[spore-print-color=green] yes=3,no=4
3:leaf=1.85965
4:[stalk-surface-below-ring=scaly] yes=7,no=8
7:leaf=0.808511
8:leaf=-1.98531
2:[stalk-root=club] yes=5,no=6
5:[bruises?=bruises] yes=9,no=10
9:leaf=-1.98104
10:leaf=1.77778
6:[stalk-root=rooted] yes=11,no=12
11:leaf=-1.95062
12:leaf=1.90175
booster[1]:
0:[odor=none] yes=1,no=2
1:[spore-print-color=green] yes=3,no=4
3:leaf=0.994744
4:[gill-size=broad] yes=7,no=8
7:leaf=-1.15275
8:leaf=-0.0386054
2:[bruises?=bruises] yes=5,no=6
5:[gill-spacing=close] yes=9,no=10
9:leaf=-0.127376
10:leaf=-6.87558
6:leaf=1.1457
the dump.raw.txt is
booster[0]:
0:[f28<2] yes=1,no=2,missing=2
1:[f108<2] yes=3,no=4,missing=4
3:leaf=1.85965
4:[f66<2] yes=7,no=8,missing=8
7:leaf=0.808511
8:leaf=-1.98531
2:[f55<2] yes=5,no=6,missing=6
5:[f20<2] yes=9,no=10,missing=10
9:leaf=-1.98104
10:leaf=1.77778
6:[f59<2] yes=11,no=12,missing=12
11:leaf=-1.95062
12:leaf=1.90175
booster[1]:
0:[f28<2] yes=1,no=2,missing=2
1:[f108<2] yes=3,no=4,missing=4
3:leaf=0.994744
4:[f38<2] yes=7,no=8,missing=8
7:leaf=-1.15275
8:leaf=-0.0386054
2:[f20<2] yes=5,no=6,missing=6
5:[f35<2] yes=9,no=10,missing=10
9:leaf=-0.127376
10:leaf=-6.87558
6:leaf=1.1457

The model saved by distributed training mode can be directly loaded in single machine mode and do all the things you can

Thank you your answer, but I find the size of distributed model is small and single machine model is bigger than distributed model.
the size of single model       the size of distributed model
7.5MB                                            1.46KB
So, when I load distributed training mode directly in single machine mode, I can not predict test dataset with probability.
the dump.raw.txt in distributed training mode is also smaller than single machine ones. The program location is ../demo/distributed-training/run_yarn.sh, and mushroom.hadoop.conf is also in here. The config of mushroom.hadoop.conf is below:
General Parameters, see comment for each definition
choose the booster, can be gbtree or gblinear
booster = gbtree
choose logistic regression loss function for binary classification
objective = multi:softprob
Tree Booster Parameters
step size shrinkage
eta = 0.15
minimum loss reduction required to make a further partition
gamma = 1.0
minimum sum of instance weight(hessian) needed in a child
min_child_weight = 1
maximum depth of a tree
max_depth = 300
num_class = 257
Task Parameters
the number of round to do boosting
num_round = 50
0 means do not save any model except the final round model
save_period = 1
evaluate on training data as well each round
eval_train = 1
The path of validation data, used to monitor training process, here [test] sets name of the validation set
eval[test] = "agaricus.txt.test"
Plz donot modify the following parameters
The path of training data, with prefix hdfs
#data = hdfs:///data/
The path of model file
#model_out =
split pattern of xgboost
dsplit = row
evaluate on training data as well each round
eval_train = 1

please check out the most recent version of tutorial here https://xgboost.readthedocs.org/en/latest/tutorial/aws_yarn.html

I noticed you are using multi-class classification on a binary dataset, which may not make sense

I used multi-class classification on myself multi-classification dataset. The logs of precess of distributed xgboost is the same of single machine. And I find the time of distributed xgboost training will slower than single machine. I want to know whether some step I forget.
The distributed xgboost I used now is not latest.

It is possible for distributed setting to be slower, especially if it is a small dataset that fit into single machine. I would recommend to use the latest version of xgboost since there could be problems that get fixed

I follw your advice to install the latest version of xgboost, but when I use myself dataset in run_aws.sh, which have 257 classification, and change some paramaters, a error throw to me:
Container: container_1457405676167_0087_01_000009 on longzhou-hdp3.lz.dscc_12040_1457509813547
LogType:stderr
Log Upload Time:Wed Mar 09 15:50:13 +0800 2016
LogLength:132
Log Contents:
terminate called after throwing an instance of 'dmlc::ParamError'
what():  Required parameter num_feature of int is not presented
Can you tell me num_feature's means? And whether set this paramter to mushroom.aws.conf?

Hmm, this usually is automatically setted by the learner as in here https://github.com/dmlc/xgboost/blob/master/src/learner.cc#L195.
It is the number of feature dimension you  will specify in the data. Please check if this also happens in single machine version, if you can provide a reproducible toy example, we can look into it.
You can also set it manually to the maximum feature dimension you have

Thank you! I follow your advice to set myself num_feature in here https://github.com/dmlc/xgboost/blob/master/src/learner.cc#L195.. The distributed xgboost also can run, but it takes longer time than single machine. By the way, the final model builded by distributed xgboost is a folder, which is composed of 10 model. For example, mushroom.final.model is a folder, which include:
171264 2016-03-10 10:23 test/mushroom.final.model/0001.model
396844 2016-03-10 10:27 test/mushroom.final.model/0002.model
643232 2016-03-10 10:32 test/mushroom.final.model/0003.model
907044 2016-03-10 10:37 test/mushroom.final.model/0004.model
1185832 2016-03-10 10:43 test/mushroom.final.model/0005.model
1479164 2016-03-10 10:48 test/mushroom.final.model/0006.model
1779840 2016-03-10 10:53 test/mushroom.final.model/0007.model
2086636 2016-03-10 10:58 test/mushroom.final.model/0008.model
2398256 2016-03-10 11:03 test/mushroom.final.model/0009.model
2718228 2016-03-10 11:08 test/mushroom.final.model/0010.model
when I used final.model in single machine to load, I do not know which one I needed. The parameter I used is below:
--cluster=yarn --num-workers=2 --worker-cores=4
First , I use mushroom.final.model to load , but a error throw to me. It is
xgboost.core.XGBoostError: [14:08:09] src/learner.cc:224: Check failed: (fi->Read(&mparam, sizeof(mparam))) == (sizeof(mparam)) BoostLearner: wrong model format
Second, I know the model is not a folder name, so I choose 0001.model randomly to load. The python code is below:
dtest = xgb.DMatrix('save_test_data.txt')
bst = xgb.Booster({'nthread':4})
bst.load_model('final.model/0001.model')
ypred = bst.predict(dtest)
when the program run ypred=bst.predict(dtest), a error also throw to me:
File "/usr/local/lib/python2.7/dist-packages/xgboost-0.4-py2.7.egg/xgboost/core.py", line 97, in _check_call
raise XGBoostError(_LIB.XGBGetLastError())
xgboost.core.XGBoostError: Required parameter num_class of int is not presented
Finally, I do not know where to set num_class. I guess the localtion is the same num_feature, and change num_class=257 in here:  https://github.com/dmlc/xgboost/blob/master/src/learner.cc#L261.. But it also give me the same error:
File "/usr/local/lib/python2.7/dist-packages/xgboost-0.4-py2.7.egg/xgboost/core.py", line 97, in _check_call
raise XGBoostError(_LIB.XGBGetLastError())
xgboost.core.XGBoostError: Required parameter num_class of int is not presented
Can you tell me how I load the model?

The folder is because you set model_folder, and seems you ask xgboost to save model each iteration.
What you said is absolutely abnormal to me and I have no idea on what is going on your side. Please first confirm the following things

Does original binary classification example works on your case
Does multi-class classification works on single machine(including model save/load).

The most helpful thing might be provide a toy example that reproduce your errors, so we can look into it. Another thing that you can possibly do is to check where does the error thrown out, and when does this happen.

Hi, I follow what you advice to do two things, and the result is below:
(1) When I run original binary classification example on my case, everything is ok, and the model can be save, load and prediction.
(2)Multi-class classification can work nurmality on single machine save and load , but when I predict use the model loaded, there is a error throw:
xgboost.core.XGBoostError: Required parameter num_class of int is not presented
On single machine, when I used program:
dtrain = xgb.DMatrix('agaricus.txt.train')
dtest = xgb.DMatrix('agaricus.txt.test')
param = {'bst:max_depth':20, 'bst:eta':0.15, 'objective':'multi:softprob', 'silent':1}
param['nthread'] = 4
param['num_class'] = 2
evallist  = [(dtest,'eval'), (dtrain,'train')]
num_round = 10
bst = xgb.train(param ,dtrain, num_round, evallist)
bst.save_model('simple.model')
bst.dump_model('dump.raw.txt')
ypred = bst.predict(dtest)
and everything is ok.
But after I use program:
    dtest = xgb.DMatrix('agaricus.txt.test')
    bst = xgb.Booster({'nthread':4})
bst.load_model('simple.model')
ypred = bst.predict(dtest)

there is throw a error to me:
File "/home/yilaguan/xgboost.py", line 574, in xgboost_distribution
ypred = bst.predict(dtest)
File "/usr/local/lib/python2.7/dist-packages/xgboost-0.4-py2.7.egg/xgboost/core.py", line 889, in predict
ctypes.byref(preds)))
File "/usr/local/lib/python2.7/dist-packages/xgboost-0.4-py2.7.egg/xgboost/core.py", line 97, in _check_call
raise XGBoostError(_LIB.XGBGetLastError())
xgboost.core.XGBoostError: Required parameter num_class of int is not presented
The error occured, when I use your provide data in /demo/data/agaricus.txt.train and /demo/data/agaricus.txt.test.

thanks, please let me look into it

Thanks for being patient and look into it. This is indeed a bug introduced in the newest refactor that was missed by the regresion test. I have created https://github.com/dmlc/xgboost/pull/961 to fix this.
Sorry about the trouble caused.
On the speedside, it is quite common for distributed version to be slower when working with small dataset, and usually single machine is enough.

Fixed


Decided to open it on both my laptop and phone, got the same error. Am I supposed to be opening "project.xml"?

Describe your problem here.

Are you modding a build from source or with Lua?
I am not modding
What is your build target?
Android
Did you edit anything in this build? If so, mention or summarize your changes.
I exported My-Mod and renamed it, added the song You Don't Know Me folder and added the Inst and Voices .ogg files, but this issued happened before I did so.

Now looking deeper, am I supposed to turn the .zip into a .apk? I just opened "Project.xml" in Chrome (Laptop) and HTML Viewer (Android) anf gor the error, nothing else much...


CLOUD-54649 Implementation of queueing/grouping mechanism for connect…

…ed flows
@mhmxs plz review

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2319/


new-log-viewer: avoid redundant loadPage after loadFile when logEventNum is specified in the URL.

References
new-log-viewer series: #45 #46 #48 #51 #52 #53
#48 new-log-viewer: Add UrlContextProvider to provide URL parameters and use them in the StateContextProvider.
It was found that when logEventNum is specified in the web application URL, a redundant loadPage request is sent to the main service worker after an initial loadFile request.

Debug prints which show a redundant loadPage request is sent after loadFile
Description

Validation performed

Referred to the validation steps in #46 to start the debug server.
Loaded http://localhost:3010/?filePath=http://localhost:3010/test/example.jsonl#logEventNum=10 and observed no loadPage request is sent after loadFile.

Screenshot showing no loadPage request is sent after loadFile

@Henry8192 kindly help review this


Removes Singeleton Pattern from Handlers

Description of the Change
Currently handlers are following the singleton pattern. Singleton pattern is not necessary for handlers since handlers are initialized only once per pipileline.
Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Benefits

Removes uncessary code.
Makes it easy to maintain
Less complexity
Less code.

Remove this old comment:
https://github.com/Amber-Crystal/Amber/blob/master/src/amber/router/pipe/base.cr#L5

I don't think self.config will work anymore since you no longer have a singleton.  Consider removing this.
https://github.com/Amber-Crystal/Amber/blob/master/src/amber/router/pipe/base.cr#L11

@drujensen makes a good point. Having them as singletons allowed us to configure in initializers by yielding self of a singleton.

There's no reason we couldn't have a mix of singletons and normal instances. Session will probably need to stay a singleton because when I add encryption to sessions we're going to need to let them them choose to have it signed or encrypted and perhaps set session_key.

@drujensen thank you for pointing out the comments and the config method. I did a quick lookup in the source code and  we are not making making use of the config method anywhere in code.
We already are providing some config options on intiialize for the handlers that needs it.
key = "blog.session"
secret = "Some awesome secret key"
signed = https?

 pipeline :static do
    plug HTTP::StaticFileHandler.new "../examples/public", false
    plug Amber::Pipe::Session.new secret, key, singed
 end

@elorest I agree we can mix both but I see no need for singletons at this point.  We are not going to keep track of sessions in memory within the sessions handler, the session handler should only have responsibility of encoding and decoding session cookie strings. We need to create a SessionAdapter or SessionStore to provide an interface for tracking sessions in cookie (Current implementation), memory, db, or redis.


Building against latest nginx breaks

nginx has removed r->port_start and r->port_end.
https://github.com/nginx/nginx/commit/0db94ba96a00ebfc4a3c55af8eaaf20f971a7c4c
src/server/nginx.c: In function '_oauth2_nginx_port_copy':
src/server/nginx.c:103:27: error: 'ngx_http_request_t' {aka 'struct ngx_http_request_s'} has no member named 'port_end'; did you mean 'host_end'?
  103 |         int len = ctx->r->port_end - ctx->r->port_start;
      |                           ^~~~~~~~
      |                           host_end
src/server/nginx.c:103:46: error: 'ngx_http_request_t' {aka 'struct ngx_http_request_s'} has no member named 'port_start'; did you mean 'host_start'?
  103 |         int len = ctx->r->port_end - ctx->r->port_start;
      |                                              ^~~~~~~~~~
      |                                              host_start
src/server/nginx.c:105:58: error: 'ngx_http_request_t' {aka 'struct ngx_http_request_s'} has no member named 'port_start'; did you mean 'host_start'?
  105 |                 v = oauth2_strndup((const char *)ctx->r->port_start, len);
      |                                                          ^~~~~~~~~~
      |                                                          host_start
make: *** [Makefile:1464: src/server/liboauth2_nginx_la-nginx.lo] Error 1

this needed another fix (the remote port was used instead of the local one...) ; that is in a new release 1.6.2 now


spellcheck weirdness

I found a random words.txt off GitHub, but when shelbot starts it hangs very fast, eventually locks up my Pi, and forces me to pull the power.
This warrants a conversation next time you're online @alsm. :-)

Ok - basically after adding some logging I figured out that loading the dictionary file is slower than I expected; 15 seconds on my dev box.  I added a line to the log letting the operator know it's happening.

I think I'm going to have to rip out spellcheck (or at least, comment it out).
It's sadly far too heavyweight for my Raspberry Pi where I run shelbot.


From private repo

@sethmanheim : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.


Early .net9 support

Threads will not be supported in .net9 blazor wasm, so this library still fills a void in blazor. Any regressions in .net9 should be anticipated as opposed to previous releases where there was a significant delay due to the complexity of breaking changes.

Initial tests fails on startup most of the time. The hotter /faster the startup is, the more likely it is to fail.
Error is very frequent but not constant, and occurs during download phase and behaves like a deadlock - no more downloads are resumed, and initialization fails.
By walking up the stack I have found some kind of parallel download mechanism.
A constant is defined here: https://github.com/dotnet/runtime/blob/release/9.0-rc1/src/mono/browser/runtime/loader/globals.ts#L94
initial tests show that if I change this value to 1 (loaderHelpers.maxParallelDownloads) during the load phase, things seems to work out fine, and the "deadlocky" situation does not appear.
Some additional testing is needed to find a good value for this constant, or see how the deadlocky situation can be avoided in the first place. may involve rewriting my bootloader.


[ja] content/ja/docs/tasks/debug/_index.md is outdated

This is a Feature Request
What would you like to be added
We need to update content/ja/docs/tasks/debug/_index.md according to the English text, because it is outdated.
Why is this needed
"Questions", "Stack Overflow" and "Bugs and feature requests" sections are outdated.

Questions: Change the URL /docs/reference/kubectl/overview/ to /docs/reference/kubectl/ for kubectl.
Stack Overflow: Update the statement for how to ask a new question.
Bugs and feature requests: Change "Docker version" to "container runtime version".

Comments
/language ja

/triage accepted

/assign


Expose RtfDocument, RtfHeader, CharacterSet and StyleBlock

Closes https://github.com/d0rianb/rtf-parser/issues/1

I also exposed RtfHeader which is exposed via RtfDocument, and CharacterSet which is exposed via RtfHeader


Unhandled Exception: MissingPluginException(No implementation found for method getID on channel device_id)

I have this method:
Future<void> getID() async {
    _deviceID = await DeviceId.getID;
}

It throws this exception:
E/flutter ( 7032): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getID on channel device_id)
E/flutter ( 7032): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:154:7)
E/flutter ( 7032): <asynchronous suspension>
E/flutter ( 7032): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:329:12)
E/flutter ( 7032): #2      DeviceId.getID (package:device_id/device_id.dart:13:39)
...

I'm using device_id: ^0.2.0. Any help?

Well evidently this is a common problem with Flutter and likely has nothing to do with this plugin. I solved it by stopping the debugger, doing 'flutter clean' in the terminal and restarting the app.
Found some discussion of it in this thread: flutter/flutter#10912 (comment) . That's where the idea of doing flutter clean came from.


Performance issues when adjusting brightness/contrast (WW/WC) on larger images

I'm noticing > 150ms render time on my relatively small image (650x650) as I adjust WW/WC. As the current implementation must apply filter affects to every pixel, I can imagine that performance continues to decrease drastically for larger images.
My current workaround:

Load Image
Modify filter effects to apply CSS Filters to Canvas element
If effects need to persist, apply them to each pixel before persisting

I'm more than happy to whip up and contribute an example, but I'm curious to hear thoughts or other potential workarounds before writing anything up.

I'm not sure I understand, the purpose of the VOI function is to correctly
convert from 16 bit modality pixel values to 8 bit display pixel values.
My understanding is that the canvas pixel data on which the CSS filter is
applied is a already a Uint8ClampedArray ? No?
On Sat, May 6, 2017, 10:05 AM Danny Brown<EMAIL_ADDRESS>wrote:

I'm noticing > 150ms render time on my relatively small image (650x650) as
I adjust WW/WC. As the current implementation must apply filter affects to
every pixel, I can imagine that performance continues to decrease
drastically for larger images.
My current workaround:

Load Image
Modify filter effects to apply CSS Filters
http://caniuse.com/#feat=css-filters to Canvas element
If effects need to persist, apply them to each pixel before
persisting

I'm more than happy to whip up and contribute an example, but I'm curious
to hear thoughts or other potential workarounds before writing anything up.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chafey/cornerstone/issues/117, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAr2MM3Crevq_nk_C8uhjxTKDBMCrEgfks5r3H4agaJpZM4NSxhO
.

Maybe an example would help show what I mean. Give this a try:
http://codepen.io/csengineer13/full/dbb92cc1138b18bdb3d9f9e857a7b995/
On the left, the default cornerstone example for updating brightness/contrast. On the right, a CSS3 based filter. Hacked together, but I hope it's enough to convey my issue. The contrast/brightness is not 1:1, nor is the scale, but I think you can achieve very similar results with a bit of tinkering, and see a decent performance boost.
This is not my area of expertise; I'm just trying to solve for a performance issue I noticed while playing with this library. If my attempt is fundamentally flawed, or if there is a better approach, I am 100% open (and excited ) to learning why/how.

First off, this issue was mostly fixed already. I could get the render time
from 300+ms to 10 ms on your demo by updating cornerstone to the latest
version (using [1]).
Most importantly, you are loading an 8 bit file (a png). This is not the
typical use case. Typical medical image has higher dynamic range 12-16 bit
per pixel in grayscale. The data needs to be converted to 8 bit using the
VOI transform before it hits the canvas making the proposed solution
unsuitable.
Don't let this stop you from proposing other improvements.
[1] https://rawgit.com/chafey/cornerstone/master/dist/cornerstone.js
On Sat, May 6, 2017 at 3:12 PM Danny Brown<EMAIL_ADDRESS>wrote:

Maybe an example would help show what I mean. Give this a try:
http://codepen.io/csengineer13/full/dbb92cc1138b18bdb3d9f9e857a7b995/
On the left, the default cornerstone example for updating
brightness/contrast. On the right, a CSS3 based filter. Hacked together,
but I hope it's enough to convey my issue. The contrast/brightness is not
1:1, nor is the scale, but I think you can achieve very similar results
with a bit of tinkering, and see a decent performance boost.
This is not my area of expertise; I'm just trying to solve for a
performance issue I noticed while playing with this library. If my attempt
is fundamentally flawed, or if there is a better approach, I am 100% open
(and excited ) to learning why/how.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chafey/cornerstone/issues/117#issuecomment-299660163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAr2MPt-SjdWfkrPpmYKF3zlVhf-4x-Eks5r3MYegaJpZM4NSxhO
.

Amazing and quick response @jpambrum!
It may be worth noting that I pulled in the version of Cornerstone that is referenced in CornerstoneTools repo.


Strange phenomenon after using withFixedResolution

What happened?
I developed a composite game and everything worked fine until I didn't set the withFixedResolution property.
Because I couldn't set a suitable size on pads and phones, I wanted to use withFixedResolution, but after adding it, the game didn't work properly.
But I didn't reproduce this problem with sprite_body_example. I'm trying to solve it. Has anyone encountered this situation? Thank you very much
https://github.com/flame-engine/flame/blob/v1.17.0/examples/lib/stories/bridge_libraries/flame_forge2d/sprite_body_example.dart
https://github.com/user-attachments/assets/07a4400f-3975-4df3-9801-b7bcfc2943e4
What do you expect?
I hope it can fall, collide, and combine normally, instead of flying around like there is no gravity.
How can we reproduce this?
No response
What steps should take to fix this?
No response
Do have an example of where the bug occurs?
No response
Relevant log output
No response
Execute in a terminal and put output into the code block below
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.24.1 on channel stable at /Users/evdo/fvm/versions/3.24.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (3 months ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/evdo/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.95.2)
    • VS Code at /Users/evdo/Desktop/Visual Studio Code.app/Contents
    • Flutter extension version 3.100.0

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

Affected platforms
Android, iOS
Other information
No response
Are you interested in working on a PR for this?

[ ] I want to work on this

Can you post a reproduction of this error? Since you say that it isn't reproducible in the example.
My best guess is that the body components aren't added to the world properly, but to some other parent.

Can you post a reproduction of this error? Since you say that it isn't reproducible in the example. My best guess is that the body components aren't added to the world properly, but to some other parent.

Thank you, we ultimately did not use withFixedResolution as it resulted in black borders on some phones.


Empty elements after rest

[..., nextToLast, ] = array
// ↓↓↓ Civet 0.6.2
([...ref] = array), ([nextToLast] = ref.splice(-1));

This seems incorrect; I expected nextToLast to be the next-to-last element, not the last one, as in:
[..., nextToLast, last] = array
// ↓↓↓ Civet 0.6.2
([...ref] = array), ([nextToLast, last] = ref.splice(-2));

I'm guessing this is a consequence of how we deal with trailing commas in array literals. We shouldn't do the same in array patterns.
However, I notice that CoffeeScript has the same issue, so it's perhaps not obvious what the right decision is here. Thoughts?

I agree that this is a bug. We should keep trailing commas/elisions as authored in post-rest elements.


test: Add more feature and test in Cache model

Add getSize in cache
Add more tests for size and duplicate check

@niranjan94 Please merge


Add twig blocks for contact form on administration & storefront

1. Why is this change necessary?
Allow proper customisation by plugins of the content forms.
2. What does this change do, exactly?
Administration

Add sw_cms_el_form_config_content_form_type_options block around select options of form type.

Storefront

Add element_form_wrapper block around form type renderers.

3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

@pweyck I applied the suggestions to the changelog file. Keep in mind that things like the line (---) that you changed to (___) was actually generated by the console command.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-11353
Please use this issue to track the state of your pull request.

Hey @runelaenen, thanks for your contribution 💙


warning on some imported package

Environment data

Language Server version: v2024.7.1
OS and version: Windows 10 Enterprise
Python version (& distribution if applicable, e.g. Anaconda): 3.11.0 64 bit

Code Snippet

from openseespy.opensees import *
wipe()

Repro Steps

XXX

Expected behavior
wipe() is part of the package and the code runs well but I still get the warning that the method is not defined.
strangely, when I use:
import openseespy.opensees as ops
ops.wipe()
the warning goes away.
Actual behavior
There should be no warning
Logs

XXX

With your initial code...
from openseespy.opensees import *
wipe()

...the diagnostic that I see is "wipe" is not defined.
If I make the change you suggested...
import openseespy.opensees as ops
ops.wipe()

...I still see a diagnostic, which is effectively the same thing -- "wipe" is not a known attribute of module "openseespy.opensees"
There are a few issues that are preventing Pylance from handling openseespy well:

openseepy/opensees/__init__.py, which you can get to by "go to def" on opensees, imports the platform-specific module within a sys.platform.startswith check which we do not support. We only support simple equality checks on sys.platform as specified by PEP 484.
Even if that worked, the platform-specific packages are implemented in native code (not Python), so Pylance doesn't understand what symbols are exposed by those packages. You may want to ask the openseespy maintainers if type stubs are available.


Doesn't renew with extender

It doesn't renew using ext3nder tweak while normal yalu does

I never heard of that tweak.

It's not a tweak it's an app made by saurik

The tweak it's just a way to use it without devlepoer account

That is Extender not ext3nder. And Yalu Dark works fine with Cydia Exntender.

Yes I know ext3nder is a tweak that makes extender work without developer id

And yes Yalu dark works with ext3nder for me but it doesn't open when I'm in non jailbroken state

You have Immortal Installed?

No

I confirm having ext3nder getting installed correctly the Yalu Dark

It installs but I can open it after rebooting

Can't *

Trust the profile?

Closed as the user hasn't replied in over 12 days.


Akka Support

Hey, thanks a lot for the great work! This would solve a big problem for me if I could use it with Akka.
Viktor mentions @ https://groups.google.com/forum/#!searchin/akka-user/pickling/akka-user/CHeusozMtuQ/lfMtqHu0FvoJ that there might be some issues with Akka support because Pickling generates code at compile-time.
Are there any plans for an Akka extension? Can you elaborate in more detail what potential problem Viktor is referring to and what approaches might solve it?
Thank you very much and kind regards,
Philip

Hey @heathermiller / @phaller is there anything specifically we have to do for this?  I think we can close this on our end, and add a serializer to, e.g. akka-contrib.


In IE there is no button to enter a collection

Using Internet Explorer it is impossible to go into a collection.  The flip card will flip over, but there is no "Visit collection" button.  I have this problem on IE version 11, and Tom V. has it also.

Closed by #281


Small UI : Alignment

[x]

[x]

[x]

[x]

[x]

Completed verified in Version 1.2.1 (327)


Response error

Response Error: b')]}'\n\n38\n[["wrb.fr",null,null,null,null,[9]]]\n56\n[["di",253],["af.httprm",252,"7953890135670054436",0]]\n25\n[["e",4,null,null,131]]\n'.

Same

Has there been an error recently with receiving responses, or has there been an error from the beginning? If it's been an issue from the start, please refer to the following this issue #1

Please review #1.
Since this is a duplicate issue and it is not causing any problems for other users simultaneously, I will close this issue.


Support more than 2^16 instructions

In LuaJIT, each function has an instruction limit of 2^16 because of how the bytecode register works.
I could do a final IR scan and find isolated loops and throw it in an external local function

started in a384042105ff0ad6acb5ef2060f6205a5063fbf9

Fixed in dd60f8581b08c254a81973733636f90ab5e16962


Add Gitter to Travis

Coverage remained the same at 95.628% when pulling 004bc78f32b14954df26174e28d2b5decd253207 on travis_gitter into b7508146502e5ad8db5d520950fe480d17ac3d0d on master.


Suggestion: Declare lifecycle methods as protected

If you create a new model with no properties or actions, intellisense in vscode provides the following autocompletes on a new instance:
$
$modelId
$modelType
fromSnapshot?
getRefId
onAttachedToRootStore
onInit
toString
typeCheck
modelIdPropertyNameSymbol

While most of them are necessary, I doubt you barely ever want to access the lifecycle methods onAttachedToRootStore and onInit on an instanced model. That's why I would suggest declaring them protected on the BaseModel. If, for some reason, a user still wants to access onAttachedToRootStore or onInit, he can simply declare them public or with no modifier when implementing the methods:
/*
 * Assuming onInit and onAttachedToRootStore are declared as follows:
 * protected onInit?(): void;
 * protected onAttachedToRootStore?(rootStore: object): (() => void) | void;
 */
@model("someModel")
export class Example extends Model({}) {

  // visible through intellisense with or without public modifier
  /* public */ onAttachedToRootStore() {

  }
}

const example = new Example({});

example.onInit // error, default behavior is that onInit is not visible, which makes sense when it's not even implemented
example.onAttachedToRootStore // no error

With the current version of mobx-keystone you could already declare the methods as protected, but it has to be done explicitly:
@model("someModel")
export class Example extends Model({}) {

  // currently, you have to declare the methods to make them not accessible
  protected onAttachedToRootStore() {
    // empty
  }
}

const example = new Example({});

example.onInit // no error, even though there is no implementation
example.onAttachedToRootStore // error

Thanks! Already in the repo. It should be out in the next version (I won't cut a new version with only that feature for now though)

Thanks!


Cleanup

minor cleanup:

move strict statement on top of classes
replace usage of console.log with debug
removed unused imports
add removeAllBridgedAccessories function to remove all added accessoires
bump node-persistence
minor update of the readme

@KhaosT updated the two issues you mentioned

Thank You :)


Scheduled Tasks in Server Code

Need to add a scheduling system within the nikita server code to run certain events/modules/scripts on a periodic schedule or at a specified time.
This can be used to gather information at certain times. For example - emails, log information, etc.
Dependent on client/server code split - #29
Currently looking at using APScheduler:
https://apscheduler.readthedocs.org/en/latest/index.html
https://bitbucket.org/agronholm/apscheduler

Just realized that APScheduler is already being utilized for checking gmail. Will just need to make this more dynamic by using an external/easily editable schedule list, such as a text file or database.


To make the initial release in github

Version has been reset to make an initial release in github

don't merge it yet please :)


Extension issue

Issue Type: Bug
Extension Name: html-css-class-completion
Extension Version: 1.20.0
OS Version: Windows_NT x64 10.0.19043
VS Code version: 1.59.0

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Please provide more information.


In the simulation start dialog we need to provide an option to enable or disable upload

Enable or disable the upload of the simulation output. This should be used to determine if 'output.item.id' is passed when creating the task. If this value is not specified no upload will occur.

Hold off on this for now, we are doing to disable upload for first release.

related to #44


k4a_calibration_2d_to_3d

Why there is no Z coordinate?thanks

I don't understand your question. Please elaborate more.

Parameter is "1.f",I don't know the Z coordinate has always been 1.000000,The document says target_point3d_mm unit is mm,Why is the parameter value is -0.1388,Instead of 1388,Where can I find such documents?thanks

In the last step of function k4a_calibration_2d_to_3d, x = target.x * source_depth_mm,y = target.y * source_depth_mm, z = source_depth_mm.

I know that,But I want to know why XY is -0.1388,Unit is also mm?thanks

@yuliangxiao please read through this page first: https://docs.microsoft.com/en-us/azure/Kinect-dk/use-calibration-functions, and please also read the function doc remarks and parameter descriptions. Make sure when you using this function, you need to check the function return valid result. Let us know whether you still have questions after you read the link above. It might be helpful if you describe what exactly trying to do, you can paste sample code if you want us to help you spot your issue

thanks