Default value does not work within anyOf PG

Prerequisites

[x] I have read the documentation;
[x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
[x] Ideally, I'm providing a sample JSFiddle or a shared playground link demonstrating the issue.

Description
When using anyOf, the default value does not get set correctly. This can be seen on the example PG for anyOf
Steps to Reproduce

Go to PG link
Select anyOf button
Notice how the default value is set for Chuck and Norris. Yet on the form data and on the preview, it has not populated the values

Expected behavior
Defaults within anyOf populate the data and preview
Actual behavior
Defaults within anyOf do not populate data or preview
Version
I am using the online PG for now. Example of Json Is below:
  "type": "object",
  "properties": {
    "age": {
      "type": "integer",
      "title": "Age"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "anyOf": [
          {
            "properties": {
              "foo": {
                "type": "string"
              }
            }
          },
          {
            "properties": {
              "bar": {
                "type": "string"
              }
            }
          }
        ]
      }
    }
  },
  "anyOf": [
    {
      "title": "First method of identification",
      "properties": {
        "firstName": {
          "type": "string",
          "title": "First name",
          "default": "Chuck"
        },
        "lastName": {
          "type": "string",
          "title": "Last name"
        }
      }
    },
    {
      "title": "Second method of identification",
      "properties": {
        "idCode": {
          "type": "string",
          "title": "ID code"
        }
      }
    }
  ]
}

I know this has apparently been done:
https://github.com/mozilla-services/react-jsonschema-form/pull/1304
But within the PG it is still not working correctly.

Duplicate of #1334


Can't read index file

What happened?
Hi @malmans2
I'm getting this error message with a dataset that I have downloaded a couple of days back. Is it an issue with the cache?
S.
Minimal Complete Verifiable Example
import xarray as xr
import numpy as np
import matplotlib.pyplot as plt

from c3s_eqc_automatic_quality_control import diagnostics, download

start = "1980"
stop = None  # None: present

collection_id = "reanalysis-era5-pressure-levels"
request = {
'product_type': 'reanalysis',
        'format': 'grib',
        'variable': 'geopotential',
        'pressure_level': '500',
        'area': [
            90, -180, 30,
            180,
        ],
        "time": "00:00",
}
requests = download.update_request_date(request, start=start, stop=stop)

ds = download.download_and_transform(
    collection_id,
    requests,
#    transform_func=diagnostics.spatial_weighted_mean,
    chunks={"year": 1},
)

Relevant log output
100%|██████████| 44/44 [00:01<00:00, 35.29it/s]
Can't read index file '/data/wp5/.cacholote/cache_files/b8b7da201fa7215808e719219983ccdf.grib.923a8.idx'
Traceback (most recent call last):
  File "/data/common/mambaforge/envs/wp5/lib/python3.10/site-packages/cfgrib/messages.py", line 547, in from_indexpath_or_filestream
    self = cls.from_indexpath(indexpath)
  File "/data/common/mambaforge/envs/wp5/lib/python3.10/site-packages/cfgrib/messages.py", line 429, in from_indexpath
    index = pickle.load(file)
EOFError: Ran out of input
Can't read index file '/data/wp5/.cacholote/cache_files/87b5350763e67cef70b93bdeead4d631.grib.923a8.idx'
Traceback (most recent call last):
  File "/data/common/mambaforge/envs/wp5/lib/python3.10/site-packages/cfgrib/messages.py", line 547, in from_indexpath_or_filestream
    self = cls.from_indexpath(indexpath)
  File "/data/common/mambaforge/envs/wp5/lib/python3.10/site-packages/cfgrib/messages.py", line 429, in from_indexpath
    index = pickle.load(file)
EOFError: Ran out of input

Anything else we need to know?
No response
Environment

Ok, fixed


fix(controller): prevent unsuccessful promo from blocking next promo

Fixes #3050
Draft because this needs quite a serious sanity check from @hiddeco.
@jessesuen if you're in a position to verify this resolves the issue, I built a custom image for you with the fix. It's at ghcr.io/akuity/kargo-unstable:custom-20241204.

I think that if a Promotion fails, a Stage could be considered not healthy. However, given the state it is in at that point is uncertain and we have no means to tell it is — which is also what my TODO note aims at there.
However, given that TODO, I think the solution might be to eventually implement something which allows us to continue to assess health based on the previous Promotion. Thereby making checking the (failure) result of the current Promotion redundant as you would always have a health result.
If you agree with this, I think your current PR does cover for it now and we should eventually address the TODO instead. What I would just like to see is a test case added, to ensure we have some sort of regression coverage.

@jessesuen I re-pushed to ghcr.io/akuity/kargo-unstable:custom-20241204 with the new approach.

Switched to ghcr.io/akuity/kargo-unstable:custom-20241204, and it unblocked the Pending promotion. So, without looking at the code, from a functional standpoint, it appears to have worked.


Issues installing fresh on Node v10.14.2

Attempting a fresh install on node v10.14.2 throws the following error. It is due to dependency issues upstream in the WS library. Updating the package.json to a newer WS version (I used the current 6.1.2), resolves the issue. I am not really sure how else to help with this.
make: Entering directory '/home/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../node_modules/nan/nan.h:190:0,
                 from ../src/validation.cc:15:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(GetCurrentContext(), key, value, attribs);

Hi,
I'll update package.json


Python 3:Not started when trying to run Jupyter notebooks on VS Code

https://i.stack.imgur.com/IsNMj.png
Actual behavior
I'm trying to run Jupyter notebooks on but I get the error on the bottom right.Not sure whats causing this but I think its because of the error at the top right, (Python 3.7.7 64-bit ('virtual_worksapce': conda): Not Started)
Expected behavior
I want it to simply print the string (Hello) for me to know its working
Your Jupyter and/or Python environment
Please provide as much info as you readily know

**Jupyter server running:                                         Local
**Extension version:                                                v2020.7.96456
VS Code version: #.##
Setting python.jediEnabled: true | false
**Setting python.languageServer:                             Jedi
**Python and/or Anaconda version:                         3.7.7
**OS:                                                                          Windows
**Virtual environment:                                               virtualenv

Developer Tools Console Output
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\User\Desktop\C4\web>activate C:\Users\User\Documents\anaconda\envs\virtual_worksapce
(virtual_worksapce) C:\Users\User\Desktop\C4\web>jupyter notebook
[I 18:20:53.944 NotebookApp] JupyterLab extension loaded from C:\Users\User\Documents\anaconda\envs\virtual_worksapce\lib\site-packages\jupyterlab
[I 18:20:53.945 NotebookApp] JupyterLab application directory is C:\Users\User\Documents\anaconda\envs\virtual_worksapce\share\jupyter\lab
[I 18:20:53.965 NotebookApp] Serving notebooks from local directory: C:\Users\User\Desktop\C4\web
[I 18:20:53.966 NotebookApp] The Jupyter Notebook is running at:
[I 18:20:53.966 NotebookApp] http://localhost:8888/?token=96dfe8e2dd6372e70bb79d08e037b5823c508ad24992dcbf
[I 18:20:53.966 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=96dfe8e2dd6372e70bb79d08e037b5823c508ad24992dcbf
[I 18:20:53.966 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 18:20:54.150 NotebookApp]
To access the notebook, open this file in a browser:
    file:///C:/Users/User/AppData/Roaming/jupyter/runtime/nbserver-6896-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=96dfe8e2dd6372e70bb79d08e037b5823c508ad24992dcbf
 or http://<IP_ADDRESS>:8888/?token=96dfe8e2dd6372e70bb79d08e037b5823c508ad24992dcbf

------------------------------------------------------------------------------------------------->
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

hi @davidkiama , can you please do the following so we can assist further?

Press Ctrl + Shift + P, type "json" and select "Preferences: Open Settings (JSON)"
Add the following code among the default -->"python.logging.level": "debug"
*If this is the last line of code within the file make sure there is no comma after it
Ctrl + S to save
Restart VS Code
Reproduce the issue you are experiencing
From top menu toolbar click "Terminal" --> "New Terminal"
At the top of the terminal select "OUTPUT", to the right select "Python" in the drop down menu.
Copy all the output in a text file and attach here


Example crushing Code does not work, even changing tags.

Maybe I am a very new KubeJS user, but your server example code clearly shows the following, and it simply does not work.
event.recipes.occultism.crushing(
		'2x #forge:ores/iron',
		'#forge:tools/swords'
	)

I even tried changing, for neoforge, to'#c:ores/iron', '#minecraft:swords'. I also tried 'minecraft:iron_ore', '#minecraft:swords', 'minecraft:iron_ore', 'minecraft:iron_sword', but, no amount of changing ingredients and tags let me add any crushing recipe at all to the game.
I believe this is a bug, mainly because even your example code does not work. Perhaps it is registering ingredients or tags differently in neoforge? Spirit fire works just fine, but crushing does not. event.recipes.occultism.crushing('6x minecraft:emerald_ore', 'minecraft:iron_sword' does absolutely nothing but error: unable to cast 'result:occultism:recipe_result' value '6x minecraft:emerald_ore' to 'occultism:recipe_result'!. Again, regardless of what set of tags or ingredients I put in, nothing works.
OKjs Version: is 1.21.1-neoforge-1.2.1.
Occultism Version: 1.21.1-neoforge-1.154.0
Neoforge Version: .34

@desagas thanks for reporting, where is that example from?
It's 1.20.1 code instead of 1.21.1 so I probably missed updating documentation somewhere.
The actual code running if you check out this repo is this: https://github.com/klikli-dev/occultism-kubejs/blob/version/1.21.1/runs/client/kubejs/server_scripts/example.js

Hi, it was the user code/run/client/kubejs/server_scripts/example on this GitHub. Or, at least I thought it was? Or perhaps I was viewing a previous git version somehow? Either way, I see the up to date code now.
I’ll check that out. Sorry for wasting an issue. Thank you so much!
Message ID: @.***>

I suspect you somehow got the link to an old version, because the code you posted was correct in older minecraft and kubejs versions!
No worries, I will close this issue, if any problems pop up you can open a new one :)

Sorry to continue this, but, I am having a lot of trouble putting in Entities for sacrifice in rituals. I have tried the way Occultism does, in their recipe builder, but that does not work. I have tried just putting in "cows" or "cow" or "#minecraft:cow" or "minecraft:cow" or "Entity.Cow," but after trying for a couple of hours, I can not find a single example of a custom ritual using an sacrifice.
My current code is described below, but I can not get the entity to properly work for this, KubeJs keeps telling me "can not convert to string or tag," when referring to the entityToSacrifice
    event.recipes.occultism.ritual(
        'minecraft:iron_ore',
        [
            "#c:raw_materials/iron",
            "#c:raw_materials/iron"
        ],
        '#c:stones',
        'occultism:summon_marid'
    ).dummy("kubejs:ritual_ore_creator").entityToSacrifice("#minecraft:cows")

I appreciate any help.

Strangely enough, the mod itself does not have the unbound afrit implemented, where one would typically sacrifice a cow. Maybe it is an occultism itself bug, or something? I am not too sure.

@desagas I just tested this and I think we are running into an issue with kubejs that the Enigmatica devs also encountered: https://github.com/EnigmaticaModpacks/Enigmatica10/issues/90
Basically if an entity to sacrifice is present, somehow kubejs removes the recipe. I am not sure yet why, I did post this on the kubejs dsicord to figure otu more

@desagas I may just have fixed that Enigmatica issue .. but either way, I now included a sample on how to properly use the entity to sacrifice.
To use that, please update to latest occultism kubejs (1.3.0, now building), as I had to customize something that kube usually does automatically, simply because I do not know how to use it with the kube automatic stuff

The startup example code errors when booting up:
startup.log

The startup example code errors when booting up: startup.log
I updated to 1.4.0, should I revert to 1.3.0?

1.4.0 uses latest kubejs dev (which has a breaking change apparently, I had to change the code I used in 1.3.0)
1.3.0 should work on the version you currently have, and 1.4.0 does not add any new features, they are already in 1.3.0, so that should be the way to go

Not to push more of this, but, because KubeJS has updated, other mods needed to update, and this mod is not compatible with the latest KubeJS in my pack. This time, it is not just a recipe error, even with blank files, it does not make it past startup. Perhaps there is another problem, but, I will post my logs as I did before for you.
Let me know if I need to create a separate issue for you.
I get three errors from JubeJS Startup: something about the dummy item not being registered properly, or something like that.
One thing to note is that sometimes an error with Theurgy KubeJS causes the Occultism KubeJS to error or warn, so, I am unsure which mod is causing which issue.
Latest KubeJS startup log:
startup.log
Latest Log:
latest.log
Latest Debug Log:
debug.log


The explanation in regards to MS egress routing was wrong

This statment was false and confirmed by WAN PG team. this is actually only for premium service etc Teams or else, not for standard service etc public IP of VM, hence it would result in confusion as too absolute. following the product we are talking about here, it s better clarify this part as egree would be the pop closest to Dest which is Chicago location. better double check and get this corrected.

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

ID: 47d79059-7fc1-6f7b-ab68-cd844d9eb5f1
Version Independent ID: 0a64000c-7baf-759a-5fb6-6084714fa4f1
Content: Routing preference in Azure
Content Source: articles/virtual-network/ip-services/routing-preference-overview.md
Service: virtual-network
GitHub Login: @asudbring
Microsoft Alias: allensu

@Vincent0818 , thank you for the feedback. We have assigned this to the content owner/author for review.
@asudbring , for your review.

@Vincent0818 Appreciate the feedback.  However, the "cold potato" routing the article describes (where the traffic travels along the Microsoft WAN as long as possible until exiting on an edge closest to the user destination) would work for the default selection of "Microsoft Network" routing preference for any Azure Public IP in the majority of regions.  For your example, the alternative, low-cost "Internet" routing preference would have the traffic egress (and ingress) from an edge in Chicago.  Let me know if you have any additional questions before we close out this issue, thanks!

thanks and i did some testing toward US Dest IP from Azure HK VM then it indeed routed to the US to customer IP. i think this was due to some "definition" of "Microsoft internet". from WAN team perspective, the teams and Azure public IP along with other serivce are premium service which majority of journey would be through Azure backbone. for else service IP (not sure acutually) would follow the definition of "standard" from WAN team perspective toward customer, this would route traffic leaves Azure DC closes to Dest service. If my understanding is right, then feel free to close this and thank you very much for the clarification. just ensure we gain the right message here

Yes - the naming can be a bit confusing.

Routing preference = Microsoft Network is the default and "premium" experience, where the traffic stays on the Microsoft WAN as long as possible for both ingress (jumping onto network at edge closest to user) and egress (leaving network at edge closest to user).
Routing preference = Internet is a low-cost option (but not default, it must be chosen specifically) where the traffic is sent primarily over the Internet and only ingresses/egress the Microsoft WAN at the edge closest to the destination within an Azure region.

Hopefully that clears up any confusion!

#please-close


The metadata service is stuck [about to start syncing]

Summary
Hi,
I am running a Cardano node on the mainnet with the following versions:
ghcr.io/intersectmbo/cardano-node:9.1.0
cardanosolutions/ogmios:v6.5.0
postgres:16.3-alpine
cardanofoundation/cardano-graphql-server:8.2.0-mainnet
cardanofoundation/cardano-graphql-background:8.2.0-mainnet
ghcr.io/intersectmbo/cardano-db-sync:<IP_ADDRESS>
cardanofoundation/cardano-graphql-hasura:8.2.0
cardanofoundation/cf-token-metadata-registry-api:1.0.2

Due to the database upgrade, I reloaded the latest db-sync snapshot and cardano-node snapshot
# cardano-node
wget --no-check-certificate https://downloads.csnapshots.io/mainnet/$(curl -s -k https://downloads.csnapshots.io/mainnet/mainnet-db-snapshot.json | grep -o 'mainnet-db-[0-9]*.tar.lz4')

# db-sync
https://update-cardano-mainnet.iohk.io/cardano-db-sync/13.3/db-sync-snapshot-schema-13.3-block-10611621-x86_64.tgz

Steps to reproduce the bug
After the service starts, everything works fine, but cardano-graphql-server is not populated with Asset data, which prevents the interface from being used
After the service starts, everything works fine, but metadata 一直显示即将同步数据，cardano-graphql-server 显示没有Remote schema is missing Block
metadata
2024-08-09T02:16:51.653Z  INFO 4324 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-08-09T02:16:51.668Z  INFO 4324 --- [           main] c.t.r.a.TokenMetadataRegistryApplication : Started TokenMetadataRegistryApplication in 6.362 seconds (process running for 7.079)
2024-08-09T02:16:52.273Z  INFO 4324 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-08-09T02:16:52.274Z  INFO 4324 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-08-09T02:16:52.275Z  INFO 4324 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-08-09T02:17:51.667Z  INFO 4324 --- [   scheduling-1] o.c.t.r.s.TokenMetadataSyncCronJob       : about to start syncing

kubectl logs ada-1-0 ada-1-cardano-graphql-server -f
[2024-08-09 02:35:10] [entrypoint.sh] exec command [node index.js]
{"name":"cardano-graphql","hostname":"ada-1-0","pid":23,"level":30,"module":"CardanoNodeClient","msg":"Initializing. This can take a few minutes...","time":"2024-08-09T02:35:11.712Z","v":0}
{"name":"cardano-graphql","hostname":"ada-1-0","pid":23,"level":30,"module":"CardanoNodeClient","msg":"[Object: null prototype] {\n  slot: 131604591,\n  id: '3392f5c50bd82e3fe3251603a530828672a541828b663c49b1078c54c8266f35'\n}","time":"2024-08-09T02:35:11.737Z","v":0}
{"name":"cardano-graphql","hostname":"ada-1-0","pid":23,"level":30,"module":"CardanoNodeClient","msg":"Initialized","time":"2024-08-09T02:35:11.738Z","v":0}
{"name":"cardano-graphql","hostname":"ada-1-0","pid":23,"level":30,"module":"Server","msg":"Initializing","time":"2024-08-09T02:35:11.738Z","v":0}
{"name":"cardano-graphql","hostname":"ada-1-0","pid":23,"level":30,"module":"HasuraClient","msg":"Initializing","time":"2024-08-09T02:35:11.933Z","v":0}
{"name":"cardano-graphql","hostname":"ada-1-0","pid":23,"level":50,"msg":"Remote schema is missing Block","time":"2024-08-09T02:38:35.925Z","v":0}

Actual Result
cardano-graphql does not work
Expected Result
cardano-graphql is up and running
Environment
{
  os: {
    arch: 'x64',
    cpus: {
      count: 32,
      model: 'Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz'
    },
    release: '4.19.91-24.1.al7.x86_64',
    totalMem:<PHONE_NUMBER>12,
    type: 'Linux'
  },
  version: '8.0.0'
}

Platform

[X] Linux (Ubuntu)
[ ] Linux (Other)
[ ] macOS
[ ] Windows

Platform version
Ubuntu
Runtime

[X] Node.js
[X] Docker

Runtime version
v18.20.3

Hello,
so two things:
First of all the tokenregistry takes some time to start, when this is done the background service will start syncing the assets.
And did you set these environment variables to the background service as stated within the Readme?
CHAIN_FOLLOWER_START_SLOT=23068800 \ CHAIN_FOLLOWER_START_ID=a650a3f398ba4a9427ec8c293e9f7156d81fd2f7ca849014d8d2c1156c359b3a
This is needed otherwise the background service will get stuck.

I was referring to this docker-compose link, where CHAIN_FOLLOWER_START_SLOT and CHAIN_FOLLOWER_START_ID are variables that are set for background containers, not token-metadata-registry

I tried to recreate this issue in my environment without success. Could you elaborate further how your environment looks like? Could you have a look into the db-sync logs and see if there's a problem?
An issue could be that the used db-sync version has a known issue which hinders using snapshots. I'm currently working on upgrading db-sync within GraphQL, since the update was just released two days ago.

I used the latest version of db-sync and tried again

I will share my log of my successes.
2024-08-14T18:18:19.426Z  INFO 11 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-08-14T18:19:18.275Z  INFO 11 --- [   scheduling-1] o.c.t.r.s.TokenMetadataSyncCronJob       : about to start syncing
2024-08-14T18:19:18.275Z  INFO 11 --- [   scheduling-1] o.c.t.registry.service.GitService        : exists and is git repo
d2024-08-14T20:05:19.795Z  INFO 11 --- [   scheduling-1] o.c.t.r.s.TokenMetadataSyncCronJob       : syncing completed

Hey @YuXiaoCoder! Have you found a solution to that? If not, could you please share your db-sync logs?

Hey @YuXiaoCoder! Have you found a solution to that? If not, could you please share your db-sync logs?

After updating the version, it's already working, thanks


fix: allow publicIP to be referenced using selectors and Ref

Description of your changes

Add Reference Extractor for PublicIPAddressId in NetworkInterface, allowing the usage on dynamic objects
Add example yaml

Fixes #78
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Run provider locally with the changes
Create the objects provided in the example file
Network interface will be correctly created with publicAddess

kubectl get networkinterface.network.azure.upbound.io/example -o yaml
apiVersion: network.azure.upbound.io/v1beta1
kind: NetworkInterface
metadata:
  annotations:
    crossplane.io/external-create-pending: "2024-02-15T11:51:47+01:00"
    crossplane.io/external-create-succeeded: "2024-02-15T11:51:47+01:00"
    crossplane.io/external-name: example
  creationTimestamp: "2024-02-15T10:49:34Z"
  finalizers:
  - finalizer.managedresource.crossplane.io
  generation: 3
  labels:
    testing.upbound.io/example-name: example
  name: example
  [...]
spec:
  deletionPolicy: Delete
  forProvider:
    ipConfiguration:
    - name: internal
      privateIpAddressAllocation: Dynamic
      publicIpAddressId: /subscriptions/XXXX/resourceGroups/XXXX/providers/Microsoft.Network/publicIPAddresses/example
      publicIpAddressIdRef:
        name: example
      publicIpAddressIdSelector:
        matchLabels:
          testing.upbound.io/example-name: example-public-ip
[...]

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

/test-examples="examples/network/networkinterface-publicip.yaml"

/test-examples="examples/network/networkinterface-publicip.yaml"

@migueladh, I left two more small comments and please sign license/cla for moving forward.

@turkenf sorry for the delay, all done :)

/test-examples="examples/network/networkinterface-publicip.yaml"


Delete functionality for a query

Add a delete icon, against every query on the click of which the user would be able to delete the query from chrome storage

Implemented delete functionality


text in mothur-miseq-sop

Hi there - I'm pretty uncomfortable with the amount of text you all took from my MiSeq SOP to generate your mothur-miseq-sop training materials. There are many examples throughout, but here is the first...
From yours...

To that end, fresh feces from mice were collected on a daily basis for 365 days post weaning. During the first 150 days post weaning (dpw), nothing was done to our mice except allow them to eat, get fat, and be merry. We were curious whether the rapid change in weight observed during the first 10 dpw affected the stability microbiome compared to the microbiome observed between days 140 and 150. We will address this question in this tutorial using a combination of OTU, phylotype, and phylogenetic methods.

From mine...

To that end we collected fresh feces from mice on a daily basis for 365 days post weaning (we're accepting applications). During the first 150 days post weaning (dpw), nothing was done to our mice except allow them to eat, get fat, and be merry. We were curious whether the rapid change in weight observed during the first 10 dpw affected the stability microbiome compared to the microbiome observed between days 140 and 150. We will address this question in this tutorial using a combination of OTU, phylotype, and phylogenetic methods.

Again, this is just one of many examples throughout your tutorial. Although I'm impressed with what you've done to add information, you either need to do a better job of indicating that the text is taken from my SOP (perhaps put it in callout boxes indicating it's a quote) or find your own words.

hi @pschloss I am so sorry! this was definitely meant as the Galaxy version of your SOP and I did copy your SOP as a starting point, but I guess it has evolved over time and diverged a bit and now is less clear that it is the same SOP.
I tried to indicate this in the intro with the text "In this tutorial we will perform the Standard Operating Procedure (SOP) for MiSeq data, developed by the creators of the Mothur software package, the Schloss lab, within Galaxy" and link to your original version. I am more than happy to make this more clear by a different phrasing, or in any other way, please let me know your preferences.
apologies again, and thanks for a great tool and tutorial.

Thanks for your attention to this. I think it would be best for you to delete the text and rewrite it using your own words.

Hi @pschloss! Thanks for reaching out.
Just to make clear I understand your inquiry the very first sentence in this tutorial is not clear enough In this tutorial we will perform the Standard Operating Procedure (SOP) for MiSeq data, developed by the creators of the Mothur software package, the Schloss lab, within Galaxy.? Would it be enough to reformulate this sentence to make it more clear. In this case do you have any recommendation for us? Or do you want to have every single sentence acknowledged?
There is also a contributors section for every single training and we would be happy to add you and your collegues to this.

@pschloss please see https://github.com/galaxyproject/training-material/pull/1294. We should have included you at first hand, sorry for the oversight :(

In #1294 we have hidden this tutorial from the index until we rewrite it.
We are sorry if that was interpreted as plagiarism, I'm sure that was no-one's intention. Thanks for contacting us, we will do better in the future.

Thanks, @bgruening and @shiltemann and I understand that things happen. I'm thrilled to see other people take up mothur and develop their own tooling and instructional materials around the program. There's no real need to list me as a contributor since I haven't done anything for these particular materials once they've been edited.


thread 'main' panicked at 'ERROR: 0:18: 'gl_VertexId' : undeclared identifier

**when I runned custom 3d glow example,the program reported a error: thread 'main' panicked at 'ERROR: 0:18: 'gl_VertexId' : undeclared identifier **

Expected behavior

Screenshots

Desktop (please complete the following information):

OS: windows 11
Browser
Version

Try experimenting with the shader_version


Installation fails on ember-cli 0.2.3

Running ember install ember-cli-materialize on ember-cli 0.2.3 results in the following error:
The `ember generate` command requires an entity name to be specified. For more details, use `ember help`.

Full output:
version: 0.2.3
Installed packages for tooling via npm.
installing
Installing browser packages via Bower...
  cached git://github.com/Dogfalo/materialize.git#0.96.1
Installed browser packages via Bower.
  identical app/styles/app.scss
  identical app/templates/application.hbs
  identical config/environment.js
  install package ember-radio-button
Installed packages for tooling via npm.
  install package ember-new-computed
Installed packages for tooling via npm.
  install package ember-key-responder
Installed packages for tooling via npm.
  install package ember-modal-dialog
Installed packages for tooling via npm.
  install package ember-cli-sass
Installing packages for tooling via npm`darwin-x64-node-0.12` exists; testing
Binary is fine; exiting
Installed packages for tooling via npm.
installing
The `ember generate` command requires an entity name to be specified. For more details, use `ember help`.

:+1:

Please test again now that we're on 0.2.4

From installing on a fresh app with 0.2.5, everything appears to work as expected. Closing this issue for now. Please re-open if you believe there are still problems w/ the latest version of this library and latest ember-cli version.


Theming

Hi,
I'm wandering is there any plan to implement theming?
Something like https://github.com/css-modules/css-modules/blob/master/examples/theming.md?
It's really difficult to customize components now...

Hi @sars I think it would be a good option to be able to inject the styles as a dependency in a prop. Being that the case, since this is a Material Design component set, some styles should be fixed. Probably in the future we can split CSS files in two different theme files: with with basic styles and other for colors or something similar so you can provide a style object via props.
For now what you can do to provide a theme is to override some theme variables. But this is just for a theme, there are variables that are not likely to be changed. If you want to override you can do it too generally.
Why do you find difficult customization? Not enough config variables? Webpack coupling? Selector priority?

@javivelasco , We developed project and client decided to use material design for it. Finally, client changed his mind and we have to redesign a lot of components significantly.
Variables are not enough.
And it's difficult to override some styles, coz it's difficult to define styles with higher sector priority.

I know... I understand what you say but truth is that this is supposed to be a Material Design lib. As soon as you want to get ride of Material... it doesn't make to much sense to use it. Anyway, I think it can be good to have the ability to inyect the theme optionally to the components. Something like react themeable from Mark Dalgleish. We can try to do something like that without breaking the API, what do you think?

To be honest I thing the most simple way that wouldn't take lots of changes, just to accept theme property with styles map.
Something like: https://github.com/sars/appetini-front/blob/appetini/src/components/Input/Input.js#L18
https://github.com/sars/appetini-front/blob/appetini/src/components/Input/Input.js#L41
and style overrides:
https://github.com/sars/appetini-front/blob/appetini/src/components/Dropdown/Dropdown.js#L17
https://github.com/sars/appetini-front/blob/appetini/src/components/Dropdown/Dropdown.js#L20
However it doesn't solve problem of theming components that uses in current styling component:
If you'd like to override styles for dropdown, you will not be able to override styles for Input inside Dropdown
Otherwise, we can accept 2 prop - one for dropdown styling and another for input or even in the same styling option accept styles for input....

Uf it's a difficult topic indeed... I'd like to help you to make components more customizable but honestly I did not thought at any point a full override would be needed...

@javivelasco , ok, i'm not sure if my idea make sense for this project honestly


Revisiting software development effort estimation based on early phase development activities

Paper link: http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6624059

Title : Revisiting Software Development Effort Estimation Based on Early Phase Development Activities
Authors : Masateru Tsunoda, Koji Toda, Kyohei Fushida
Email<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Data exists in promise

#449


Fixing build on windows with Visual Studio

Building project with Microsoft tools choke on this include file:<unistd.h>
It should be excluded when compiled with Visual Studio compiler on MS OS.

Where can I find any instructions how to build leveldb with VS and/or MinGW?

@chfast This is not an easy task. Here you can find bash script and instruction how to build LevelDB (use env_win.cc from bitcoin project) use MinGW.

@chfast You can also have a look at leveldown where we do build for windows. env_win.cc is here https://github.com/Level/leveldown/blob/master/deps/leveldb/port-libuv/env_win.cc

@ralphtheninja thanks for that, might be useful for me as I'm trying to get Python package working on Windows.
Nevertheless, is leveldb interested in having basic Windows support?

@chfast You could try to clone  ENikS/leveldb or ENikS/bitcoin-dev-msvc to see how it is done in MS VS. It is not up to date but will give you enough to start

I signed it!

The current code builds on Windows, as tracked by AppVeyor. Going to close this. Sorry we weren't able to get to it earlier!


feat: add a versionmodified css file

Fix #484
changes

I created a new file to style the deprecated, versionadded and versionchanged directive
As I rebuilded the css, the css and js files have been changed
when I build my environment, the webpack version changed, let me know if you want to keep the original one

design choices

it is inspired from the admonition to stay cohesive with the rest of the lib
I used 3 colors to differentiate them: red for deprecated, orange for versionchanged and green for versionadded these colors are all defined in theme.css with the following variable pattern: --pst-color-versionmodified-xx so that if somebody wants to modify i, they are all independants.
same for the icons, for me they should all be warning because that's code related information. even though I used 3 variables following this pattern: --pst-icon-versionmodified-xx.

demo
test
====

.. versionadded:: 1.0

    This function is new

.. versionchanged:: 1.0

    This function is modified

.. deprecated:: 1.0

    This function will be removed soon

Let me know what you think, it's a first draft and I only tested it on a 13'' screen

I have updated the demo.html page to reflect the changes

many thanks!


extensions are always preloaded

should close https://github.com/electric-sql/pglite/issues/189 and have no impact on other extensions

won't work some extensions - like vector - don't want to init before PG core is avail.


clean up unused methods from lib/dashd.py

We aren't even using sentinelpingmaxseconds now, so we can remove code for this and a few other things.

Hmmm... isn't SENTINEL_WATCHDOG_MAX_SECONDS is still used in models.py?

Shouldn't be used in develop since commit 7ac2fcf2d89cb5eb6a3970fcf510072e29a45b54. We used it when we were tracking status of watchdogs, to know if it was expired or not, but when sentinelping was implemented, he didn't add any logic around this (I assume it should just send a ping each time Sentinel is run, wasn't sure about the implementation logic in Core).


Update graphql querying docs

What are you changing in this pull request and why?

Reordered the GQL docs to improve clarity
Add additional docs on the querying process

Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry website/static/_redirects
[ ] Run link testing locally with npm run build to update the links that point to the deleted page

A community member mentioned there was a bit of confusion on how to query via GQL https://getdbt.slack.com/archives/C02CCBBBR1D/p1699969536627599


python311Packages.oelint-parser: 3.5.1 -> 3.5.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.oelint-parser is: Alternative parser for bitbake recipes
meta.homepage for python311Packages.oelint-parser is: https://github.com/priv-kweihmann/oelint-parser
meta.changelog for python311Packages.oelint-parser is: https://github.com/priv-kweihmann/oelint-parser/releases/tag/3.5.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.5.2 with grep in /nix/store/g1c1vcffpmanbsiq2jfl9ri8r15v6if9-python3.11-oelint-parser-3.5.2
found 3.5.2 in filename of file in /nix/store/g1c1vcffpmanbsiq2jfl9ri8r15v6if9-python3.11-oelint-parser-3.5.2

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath

bitbake-language-server
oelint-adv
python311Packages.oelint-parser
python312Packages.oelint-parser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/g1c1vcffpmanbsiq2jfl9ri8r15v6if9-python3.11-oelint-parser-3.5.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.oelint-parser https://github.com/r-ryantm/nixpkgs/archive/31e42c8bf07e917a30de415e9793eecb54b15333.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/31e42c8bf07e917a30de415e9793eecb54b15333#python311Packages.oelint-parser

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/g1c1vcffpmanbsiq2jfl9ri8r15v6if9-python3.11-oelint-parser-3.5.2
ls -la /nix/store/g1c1vcffpmanbsiq2jfl9ri8r15v6if9-python3.11-oelint-parser-3.5.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

8 packages built:

bitbake-language-server
bitbake-language-server.dist
oelint-adv
oelint-adv.dist
python311Packages.oelint-parser
python311Packages.oelint-parser.dist
python312Packages.oelint-parser
python312Packages.oelint-parser.dist

Maintainer pings
cc @otavio for testing.

Result of nixpkgs-review pr 311554 run on x86_64-linux 1

8 packages built:

bitbake-language-server
bitbake-language-server.dist
oelint-adv
oelint-adv.dist
python311Packages.oelint-parser
python311Packages.oelint-parser.dist
python312Packages.oelint-parser
python312Packages.oelint-parser.dist


Make version

This PR demonstrates a method for inserting version strings into C/C++ products, using make version.  It is relevant to desihub/specex#12.

I guess the main things that are relevant to specex, fiberassign, and other packages with compiled code are the specific git commands in the Makefile that build the version string.  The name of the header file that is written or how it is passed to some underlying build system might be different if the package used autotools or cmake under the hood for compiling.  Obviously that is not an issue at this point (and may never be).
I have always found it helpful to have the short git hash in the version (for looking it up in git log).  Is there some reason we don't include that in the version?  I was thinking along the lines of taking the output of "git describe --tags --dirty --always" and putting it in the PEP440 compliant form:
0.11+2.g1076c97.dirty
Which is what versioneer does:
https://github.com/warner/python-versioneer
This question is just out of technical curiosity- for me personally I am either using master versions (possibly dirty) and am just producing test files that will not be kept, or am using tagged versions for a real production.  So the naming of non-tagged version strings matters less.
I can go add this kind of thing to specex if you want.

We have never included a git hash in any DESI version strings.  That's just a choice, but this demonstration reflects that choice.  In other words, the goal is to replicate the functionality of python setup.py version as exactly as possible.
That reminds me though, I need to add some documentation to the README file before merging.

Ok, sounds good then.  Fine with me to merge.


Tq/mgrid

Hello! I have written a module that writes mgrid files based on data provided by the magneticfields class. The write function to_mgrid() lives in magneticfields.py, but its implementation is in a separate module fields/mgrid.py. I've written a test script in tests/fields/test_mgrid.py. But it is not yet a "unit test" because it does not import the unittest module or use the same class structure that I find in other tests. I could use some guidance in how to implement that properly. A final resting place for the mgrid unit test may actually be inside the test_magneticfields.py file. I have put a dummy function with comments in line 680 of that file.

Thank you for getting started on this. Before we can merge this, a few things need to be addressed.

Please use the conventions that are used throughout SIMSOPT in order to document classes or functions, instead of the comments that you currently use. See here for an example.
There is no need for authorship lines as contained at the top of src/simsopt/field/mgrid.py. Git keeps track of this automatically, so there is less risk of dates and author lists getting out of date.
We need a test and an example. Please see the existing tests to get started.

In my understanding, the main point of MGRID files is to then run free boundary VMEC. How are you doing that at the moment? Do you have further code that extends the existing vmec class in SIMSOPT? Or do you manually run free boundary vmec from the terminal?

This PR is ready for review. I added a unit test and example in which free-boundary vmec is run. Although @tmqian had been experiencing low-level netcdf issues, it appears to be working fine in the CI and on my macbook.

Hmm, some tests in the CI are failing intermittently, and from the error messages it looks like there is a memory leak in vmec, where it reads in the mgrid file during a free-boundary calculation:
...
[fv-az461-187:10458] [ 3] /opt/hostedtoolcache/Python/3.9.17/x64/lib/python3.9/site-packages/vmec/_vmec.cpython-39-x86_64-linux-gnu.so(__mpi_sharmem_MOD_mpialloc_2d_dbl+0x88)[0x7f689147a738]
[fv-az461-187:10458] [ 4] /opt/hostedtoolcache/Python/3.9.17/x64/lib/python3.9/site-packages/vmec/_vmec.cpython-39-x86_64-linux-gnu.so(__mgrid_mod_MOD_read_mgrid+0x353d)[0x7f689146289d]
....

There is not much memory in the Github runner. Can you reduce the problem size for the free boundary calculation and retry?


Refresh imagery provider

Adds some plumbing that allows for an imagery provider to be reloaded.
Also adds the ability for SingleTileImageryProvider to take an Image or Canvas, along with tests.

@bagnell Can you take a look at this an make sure I'm not doing anything inherently bad at the imagery provider layer? I'll probably need to do a little cleanup with the callbacks once you give the ok.

@kring any chance you are available to also review this?

@bagnell would you be able to do a quick review of this and #5542?

Zoom in and out for a bit with a tilted view and you'll see this:

If you move colorProvider.reload() to the pre-render event, this can happen:

It should be all green. When you zoom out, the green image is replaced by blue. When you zoom in, all images are green.

Just, in general, whenever the user needs to "make something dirty", it is error prone as we've also ran into this with 3D Tiles styling.

I agree. Could you add something like a dynamic property? In the render loop, loop over the imagery providers and call _reload when it is dynamic. Can you detect when it is a HTMLVideoElement and default it to true; otherwise, default to false?

Thanks again for your contribution @tfili!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

@tfili what do we want to do with this PR?


Changing download.csv to download csv.gz

The other issue is gone so i made a new one for the changing of the downloading format of csv files to csv.gz files. This to avoid losing data by first downloading the csv.gz files and then converting them to csv files.

Since we have two ways for this the issue can be closed!


Correctly english mistakes in documentation files

Hello Mr Jiangi Yi,
I have been running partial wave analysis using your since I found it to be very easy to use. My advisor Dr. Yunxuan Song recommended me to use your package. I noticed in the documentation that there are many spelling errors. Since I liked your package I wanted to take the time to improve your documentation.
I have made several changes to the .rst files
Thank you

Thanks for you contribution. There are some errors in the style checks, can you fix it?
There are two things,

The under line of titles should have the same lengnth of titles.
Rename the file if you change in the toc.

You can check the style using pre-commit.


[Core] test of main branch fails

Test fails even nothing changes in https://github.com/Azure/azure-sdk-for-python/pull/33798. Here is log

trio had a new release on 1/9 which introduced a breaking change.
We are working on it.

Closing. This was resolved when the anyio dependency was removed in https://github.com/Azure/azure-sdk-for-python/pull/33282.


Document use of unsafe in buffer.rs

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-10976
There are ~32 uses of unsafe in buffer.rs and we should document them according to the guidelines in the Arrow crate README
{code:java}
// JUSTIFICATION
//  Benefit
//      Describe the benefit of using unsafe. E.g.
//      "30% performance degradation if the safe counterpart is used, see bench X."
//  Soundness
//      Describe why the code remains sound (according to the definition of rust's unsafe code guidelines). E.g.
//      "We bounded check these values at initialization and the array is immutable."
let ... = unsafe { ... }; {code}

There are no more unsafe blocks in the file. We can close this. @alamb

Agreed -- this code has been rewritten since this ticket was filed so we can close it now


English typo in banner3.png?

In ./doc/asset/img/banner3.png:
"200,000 data redering in seconds" feels wrong, you may ment:
"200,000 data rendering in seconds" or
"200,000 data renderings in seconds" or
"200,000 data renderings per second" ?

Roger, should be rendering, thanks. :+1:

done


MQTT Access - writing a property

Hello,
not a direct bug. I wanted to understand how you write properties. I followed your code and ended up here:
const topic = `iot/${productKey}/${deviceKey}/properties/write`;
const inputLimitContent = { properties: { inputLimit: limit } };
adapter.mqttClient?.publish(topic, JSON.stringify(inputLimitContent));

I use MQTT Explorer on my PC, log into my Zendur Account and get live-feed data.
However - what ever I publish to this iot/${productKey}/${deviceKey}/properties/write topic (I changed my product and device key) it has no effect. - I have a hyper 2000. All modes are disabled / off.
AC charging is enabled in the App.
What do I overlook here?

Alright, got it. Thanks for the great work with this adapter.

What is the solution?

Following the entire code of yours and extracting whats needed.
First; Get the access token.
With it comes the iot access data. And one can request the devicelist.
Second; Extracting the required fields from the responses.
Third; Setting clientid, user, password,.. as you do and connect to the mqtt server.
Forth; Publish to the topics.

@jebos I'm also trying to setup a mqtt connection via python or mqtt explorer the same way the ioBroker adapter does.
I've successfully retrieved the device list with the received token, but when I setup the mqtt connection with the broker url "mq.zen-iot.com", the received token as clientId, "zenApp" as username and the hardcoded pw:
https://github.com/nograx/ioBroker.zendure-solarflow/blob/be7f1de2a83c97342d108fe11e03aacc791b5c69/src/constants/paths.ts#L18
the connection is refused with bad username or pw..
@nograx  sorry for posting in this already resolved issue, but is there anything I'm missing here?

The password in this file is encrypted, you have to decrypt it first with base64.

Thanks for the quick response! Connection is working now 👍


I got this below error when I connect my physical device and try to run the app on it but on chrome it works fine.

Launching lib\main.dart on vivo 1811 in debug mode...
lib\main.dart:1

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\user\Desktop\flutter\app\android\settings.gradle' (C:\Users\user\.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 60

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

@hussamsindhu
Check this solution and see if it works for you.

no I install jdk 16 but when I delete this C:\Users\user\.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe than my program works but after that I install android studio and in the middle I abandon installing android studio but than got this error again than I install full android studio than this error goes away and some java language error pop up but it also resolve automatically but I currently have this error https://github.com/flutter/flutter/issues/79723


The data generation is so slow :(

Hi,
Thanks for sharing such a great job!
The data generation is so slow, have you considered uploading it to Google Cloud Drive and providing a download link?

Thank you for your recognition of our work. Due to the large size of the data, my Google Cloud Drive currently doesn't have enough space, so I will need some time before I can upload the data. In fact, based on my experience, generating the data might be as fast as downloading it. You just need to use GPU headless rendering and run multiple tasks in parallel, which allows for very quick data generation.

Ok. Thank you!


localeCompare doesn't take into account minus signs

The compareLocale method seems to ignore minus signs, even when the numeric option is set:
'-2'.localeCompare('1', undefined, {numeric: true});

results in
1

on Edge. This seems incorrect to me; other browsers also seem to handle this differently. The behavior is especially frustrating when trying to give a natural sorting to numbers. Example:
var strings = ['3', '1', '-2'];
var ascCompare = function(elem1, elem2) {
  return elem1.localeCompare(elem2, undefined, {numeric: true, sensitivity: 'variant'});
};
strings.sort(ascCompare);

results in
[1, -2, 3]

For a working example, see: https://jsfiddle.net/9rff9xLt/3/

I am not sure that other browsers handle this correctly either:
"-2".localeCompare("-3", undefined, { numeric: true }) // -1
"-2".localeCompare("3", undefined, { numeric: true }) // -1
"-2".localeCompare("-1", undefined, { numeric: true }) // 1
"-2".localeCompare("1", undefined, { numeric: true }) // -1

I get the above commented results in both Firefox and Chrome. I know that the numeric option for ICU, which we are actively adding support for to enable the Intl object on Linux and macOS, explicitly states that it does not take minus signs into account (see UCOL_NUMERIC_COLLATION here). I think there is some trickiness going on with the precedence of the negative sign. Change your fiddle JS to the following:
var strings = ['3', '1', '-2', '-12', '12', '14', '-14'];
var ascCompare = function(elem1, elem2) {
  return elem1.localeCompare(elem2, undefined, {numeric: true});
};

Firefox/Chrome returns [-2,-12,-14,1,3,12,14] while Edge returns [1,-2,3,12,-12,14,-14] -- that is, Firefox/Chrome considers all negative numbers to be less than all positive numbers, but otherwise sorts negative numbers in increasing magnitude, while Edge seems to simply ignore the negative sign. I would suggest that neither are what you want, and the difference is probably directly related to the fact that both Firefox and Chrome use ICU for their Intl implementations while Edge uses Windows Globalization.
Unless I am misunderstanding your question/concern here, if you want to sort a list of numbers as strings and get back a list of numbers as strings, I would recommend something along the lines of the following (ugly) one-liner:
const sorted = numbersAsStrings.map((el) => parseInt(el, 10))
    .filter((el) => !isNaN(el))
    .sort()
    .map((el) => el.toString())

/cc @dilijev

Also, on an unrelated note, if you want to use an Intl-specified function as the compare function for a sort, look into creating a new Intl.Collator object and passing collator.compare as the sort function -- parsing the options to localeCompare is relatively expensive and may start to show up if you're sorting large arrays. #4007 tracks our work to cache option computation, but that is not going to be in RS3 edge or earlier.

jsc doesn't seem to expose an Intl object in the console host so I'm leaving that out.
d8/sm/ICU default collation for en-us seems to be lexicographic, and numeric sorts negatives first in increasing magnitude, then positive numbers in increasing magnitude. Which might also just mean that numeric collation doesn't support negative signs as part of numbers and simply that - sorts before numbers, and then numeric collation is applied to the token of the string which was parsed as a number.
ch/WinGlob default collation seems (?) to be lexicographic (ignoring -) and then considers - to be negative and sorts them after positive numbers (??). Numeric collation is in increasing order of magnitude with positives before negatives.
Um... I don't know how to rationalize that behavior.
Test output below. Also demonstrates using Intl.Collator.prototype.compare instead of calling localeCompare every time.
## Source
let strings = ['3', '1', '-2', '-12', '12', '14', '-14', '2'];

let collBase = new Intl.Collator("en-us");
let collNumer = new Intl.Collator("en-us", {numeric: true});

function render(comparer)
{
    let sorted = strings.sort(comparer);
    let out = "";
    strings.forEach((x) => out += x + ",");
    print(out);
}

render(collBase.compare);
render(collNumer.compare);

┌──────────────────┬─────────────────────────┐
│ d8               │ -12,-14,-2,1,12,14,2,3, │
│ sm               │ -2,-12,-14,1,2,3,12,14, │
├──────────────────┼─────────────────────────┤
│ ch-master-latest │ 1,12,-12,14,-14,2,-2,3, │
│                  │ 1,2,-2,3,12,-12,14,-14, │
└──────────────────┴─────────────────────────┘

Probably want to track this issue as part of #3644

It doesn't seem that minus signs are considered as part of numeric collation even under ICU. For the rest of the differences (winglob vs ICU), tracking with #3644


Support Non-jsonl filtypes

Can we remove jsonl as a requirement for file uploads.
I'm assuming this was done as the fine tuning api only supports jsonl format, but there are other use cases for using the files api with non-jsonl formats.

NVM - Missed notes


What If We Continue This Script

We Are Planning To Continue This Script To Add Features, Do You Agree?

Fazd-Md Created By XFazd-Team
The participants include those who have github :
@ImNotBrain
@ArdyBotzz
@hafiizhr
@KurrXd
@Dinataaa

We Are Planning To Continue This Script To Add Features, Do You Agree?

Yes

We Are Planning To Continue This Script To Add Features, Do You Agree?

Yes

Wait, we are designing fazdhosting to host WhatsApp bots

We Are Planning To Continue This Script To Add Features, Do You Agree?

Yes

Wait, we are designing fazdhosting to host WhatsApp bots

Trial?? Bruhh... I Am not Like

[ ]


Inquiry About Script for Domain Generalization Experiment

Thank you for your excellent work on this repository. I have been thoroughly studying your paper, particularly the domain generalization experiments, and I have found it incredibly insightful.
I am currently trying to reproduce the domain generalization experiment described in your paper. Could you please clarify which script file is used for this experiment? Specifically, I would like to know if the xd-train script is the one employed for the domain generalization experiment, or if there is another script I should be using.
Your guidance would be immensely helpful.
Thank you in advance for your assistance.

Hi @wdi-nancy,
Thank you for showing interest in our work!
Regarding your query, yes you are right, we use xd-train script for training the model for domain generalization experiments.


Allow 'Did not vote' committee members to vote post-review

If a committee member's voting status has been changed to 'Did not vote' (from not voting in time) post-review, keep the 'Send email reminder' button for admins to click.  Also, allow their review to be changed in the approver review form.
We have had too many committee members not voting in time.  The current process for committee members that didn't vote is to either proxy vote for them, or remove them from the committee entirely.  These things are too time consuming.

#762 Will address this


Secondary Approvers and Contributors in variant curation

Following the application of this feature in the GCI..the CDOWG meeting on 7/15/2020 expressed interest in providing a version of this for the VCI.

Replaced https://github.com/ClinGen/clincoded/issues/2224


Create testing branch with "dummy" ActiveRecord model

On master, we're using the actual YACS API. However, it would be nice if I had an admin panel for full CRUD before YACS API implements it for more seamless integration.
In order to do this, we need an ActiveRecord model for courses, sections, departments, and schools so that we do not need to rely on the YACS API. We could also test independently of the YACS API so that the actual YACS product isn't affected by an inevitable screwup on my end.
Of course, implementing this in the master would be really confusing, so I propose having a separate branch just for this.

Done. Now to actually implement stuff on it


HtmlUnit 2.59.0 subject to MCOMPILER-485

Steps to reproduce
Upgrade jenkins-test-harness from jenkins-test-harness-htmlunit 75.v279ef177dc2c / HtmlUnit 2.58.0 to jenkins-test-harness-htmlunit 77.vff6cc791d17f / HtmlUnit 2.59.0 as in jenkinsci/jenkins-test-harness#398, then run mvn clean verify -DskipTests.
Expected results
The build passes.
Actual results
The build fails with
Exception in thread "main" edu.umd.cs.findbugs.ba.AnalysisException: Exeption was thrown during analysis
	at edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$3(FindBugs2.java:1125)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
	at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
	at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
	at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: Can't find ClassInfo for com\gargoylesoftware\htmlunit\package-info
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$3(FindBugs2.java:1120)
	... 5 more
Caused by: java.lang.AssertionError: Can't find ClassInfo for com\gargoylesoftware\htmlunit\package-info
	at edu.umd.cs.findbugs.visitclass.PreorderVisitor.setupVisitorForClass(PreorderVisitor.java:423)
	at edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:369)
	at org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:213)
	at edu.umd.cs.findbugs.detect.NoteSuppressedWarnings.visitClassContext(NoteSuppressedWarnings.java:74)
	at edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
	at edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
	at java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
	... 4 more

Evaluation
HtmlUnit 2.58.0 uses maven-compiler-plugin 3.9.0. HtmlUnit 2.59.0 uses maven-compiler-plugin 3.10.0.
maven-compiler-plugin 3.10.0 added a feature to create missing package-info files. The feature incorrectly uses Windows-style directory separators on Windows. Other parts of the code expect to always see Unix-style directory separators. This regression is tracked in MCOMPILER-485.
A fix for this regression was merged in apache/maven-compiler-plugin#95. At the time of this writing, the fix has not yet been released to Maven Central.
Suggestions
If apache/maven-compiler-plugin#95 is released to Maven Central in a timely fashion, HtmlUnit could upgrade to that release. Then a new version of HtmlUnit could be released that fixes this regression.
Alternatively, the maven-compiler-plugin configuration can be adjusted to work around MCOMPILER-485 by setting createMissingPackageInfoClass to false as in jenkinsci/plugin-pom#506. Then a new version of HtmlUnit could be released with the workaround.

@basil should i create a 2.59.1 release or do you like to wait for the 2.60.0 (april)?

No strong preference, but I have a slight preference for a 2.59.1 release as it allows us to quickly get past this event and stay on a rolling update train.

@basil have updated the maven-compiler-plugin to version 3.10.1 and will release a new snapshot now.
I plan a new release for the weekend - hope this is ok for you.

made a new snapshot build using maven-compiler-plugin 3.10.1

@basil you use HtmlUnit for jenkins - is ok to mention Jenkins as a user of HtmlUnit on our web site?

Please direct this question to the Jenkins Governance Board.


AnchorElement autofocus when popover onclosed

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
do not autofocus AnchorElement onClose

Current Behavior
autofocus AnchorElement onClose. this lead to the tooltip be activated  (occurred in Menu Model Dialog components)

Steps to Reproduce (for bugs)
DEMO

Context

Your Environment

Tech
Version

Material-UI
1.0.0-beta.23

React
16.0.0

browser
chrome  62.0.3202.94 (Official Build) (64-bit)

etc

@17x This is the expected behavior. It's done for accessibility considerations. You have two options. Either disable the tooltip response (disableTriggerFocus) to focus events or disable the dialog restore focus behavior (disableRestoreFocus).


Error? with F11

Flour 2.1.0
Mac mojave
I switch mode to fn on TexStudio. Press F11 and it calls the default function of mac: show desktop, instead of another shortcut key I assigned in TexStudio.
I tried to get the source and fix but figured out that they are outdated.
Could you fix this for us or release the source so I can try?
Bests,

Hello,
It has nothing to do with Fluor but it's an OS matter. By default macOS sets the Show Desktop shortcut on the F11 key. All you have to do is to first go to System Preferences > Keyboard. Then on the Shortcuts tab, under the Mission Control category un-check the Show Desktop entry.

Fluor doesn't impact per-key mapping it just switches between one mode to another. If per-key mapping is what you are looking for I'd suggest you taking a look at Karabiner-Elements. You can use it alongside Fluor.
Hope it helps 😃
Regards,

Thank so much!


[Cosmetic][Explore] Time Grain dropdown overlaps with Query Mode control

Screenshot

Description
Time Grain dropdown z-index too low, it intertwines with Query Mode control.

it's duplicate of https://github.com/apache/superset/issues/12312
fixed by https://github.com/apache/superset/pull/12327

it's duplicate of https://github.com/apache/superset/issues/12312
fixed by https://github.com/apache/superset/pull/12327


While I’m in a jb state I connect my Bluetooth headphones, it restarts and puts me in a non jb state.

After a couple hrs of being jail broken It crashes and unjailbreaks when I connect my Bluetooth headphones
To Reproduce
Steps to reproduce the behavior:

Don’t set headphones in pair mode
Only clime the connect button once
Don’t connect them via settings

Screenshots
If applicable
Device (please complete the following information):

iOS Version: iOS 13.2.3
iOS Device: iPad 6
unc0ver Version: v4.3.1

Place an "x" between the brackets if true:

[ x] this is a bug others will be able to reproduce
[ x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x ] this issue is present on the latest version of unc0ver

Logs
If applicable

@ihaveproblems please post you unc0ver diagnostics.

How do I do that?

@ihaveproblems unc0ver app -> settings page -> scroll down -> share diagnostics.

How do I copy it over I’m on iOS btw

Got it. https://easyupload.io/fdjoyp

@Cryptiiiic Got it https://easyupload.io/fdjoyp

Unfortunately, to reduce issue spam/clutter, help is not provided for those who have pirate packages or repos. I can in fact help you after you remove all your piracy. After removing all of it, please say if you still experience this bluetooth reboot. Closing this for now.


Support for non-copyable objects in lvalues

!READ DESCRIPTION FIRST! Not up to merge yet.
If you would be willing to adopt these changes I will also adjust neither::Maybe (and neither::lift if needed). Please give feedback if this matches your design concept. Unfortunately I did not find a contribution policy in the repository. :(
use squash & merge
This relaxes the restrictions on using the library with types that are not copy-constructible. It leverages the SFINAE idiom to provide proper implementation for types like std::unique_ptrs. This should not change behavior of existing code, as the template candidates only apply to cases, where previously compilation would not be possible.
Changes

Extend neither::Either with template candidates for non-copyable types.
Provide additional tests for the Either class regarding use of non-copyable types.

From my understanding the Travis build fails, because buck is not installed on the MacOS slave.

Looks great, thanks!


AngularJS: Fix the signature for angular.bootstrap

see https://code.angularjs.org/1.4.0/docs/api/ng/function/angular.bootstrap

thanks mate!

PR breaks this signature bootstrap(element: Document, ...): auto.IInjectorService;.
E.g.:
angular.element(document).ready(() => {
    angular.bootstrap(document, [appName]);
});

There is no such signature in the docs, but OK, I'll submit another PR to bring it back.

It's not the first time angular docs were not 100% accurate, but the code doesn't lie:
https://github.com/angular/angular.js/blob/v1.4.7/src/Angular.js#L1564
It accepts anything that can be wrapped with jQuery lite. Oddly enough, the JQueryStatic definition types this case as (object: {}): JQuery. Same goes for jqLite.

I don't think it makes sense to add {} there.

I have no idea why it's typed like that in jQuery for that matter.

Because you indeed can wrap any object in a jQuery, but again, it doesn't make sense for bootstrap. Can you merge #6164 please?


SPARKC-108: Fix DefaultAuthConfFactory properties not overriden properly...

... and therefore ignored.

I was thinking that the Properites element should be a Properties and a final constant that is overidden, but I don't have strong feelings about this. So i'm +1 for this fix as well.

+1, it blocks my upgrade to spark 1.2


Issue scanning exernal domains (that we own)

When I try and scan external domains by adding them to the domains.txt file I get the error  shows below, this server has access to the intenret and can resolve the websites fine, some have no SSL certificates while many do, but the report fails?
no targets were specified so no hosts were scanned
When I run the script, is this possible or can it only be internal, the format the domains.txt is like this, but obviously different websites:
google.co.uk
yahoo.co.uk
instagram.com

ignore me


Does not read OGG files

I am attempting to convert an OGG to IDSP (for the purposes of converting a bug fix/enhancement mod from the PC to the Wii version of LEGO Star Wars: The Complete Saga, then editing the header to be like the other music files). It spits out a "Can't infer input file type from extension." error instead.

It can't read Ogg Vorbis. If your file happens to be Opus encoded, rename it to .opus and try again.


modify for better performance

Use an intermediary DMA cache to copy the memory of the bitmap. The bitmap memory can be placed anywhere such as: PSRAM
add config to Kconfig
3.bug fix with  Check if bitmap is inside clip windows bounds

Thanks, but all these should be three separate pull requests. Only one bugfix or a feature per pull request. Also the code should follow the coding standards of the previous code.


GridOptimization: Pre-optimization and relative scans

Description
Adds a pre-optimization ability and relative scan values to grid optimization as indicated in #112.
Depends on https://github.com/MolSSI/QCElemental/pull/30 and https://github.com/leeping/geomeTRIC/pull/53.
Status

[ ] Ready to go

This pull request introduces 2 alerts when merging 016f56e1757c7f6a6b37be0aede71e4177d94cca into 3327b4b64c8447be6a57fe5f964b1c23dc0f142a - view on LGTM.com
new alerts:

2 for Unused import

Comment posted by LGTM.com

Both upstream changes have been merged and new versions deployed. This should be ready to go.


New columns (on schema change) not supported when working with hudi/incremental

Describe the bug
Adding new columns when working with hudi/incremental lead to some issues.
Steps To Reproduce
Create a model like this:
{{ config(
    materialized='incremental',
    incremental_strategy='merge',
    unique_key='user_id',
	partition_by=['status'],
    file_format='hudi'
) }}

WITH data AS (
	SELECT 'A' AS user_id, 'active' AS status, 'pi' AS name
	UNION ALL
	SELECT 'B' AS user_id, 'active' AS status, 'sh' AS name
	UNION ALL
	SELECT 'C' AS user_id, 'active' AS status, 'zh' AS name
)

SELECT
	user_id,
	status,
	name,
	current_timestamp() AS inserted_at
FROM data

run the model. Then change the model to:
{{ config(
    materialized='incremental',
    incremental_strategy='merge',
    unique_key='user_id',
	partition_by=['status'],
    file_format='hudi'
) }}

WITH data AS (
	SELECT 'A' AS user_id, 'active' AS status, 'pi' AS name, 'test' AS col_a
	UNION ALL
	SELECT 'B' AS user_id, 'active' AS status, 'sh' AS name, 'test' AS col_a
	UNION ALL
	SELECT 'C' AS user_id, 'active' AS status, 'zh' AS name, 'test' AS col_a
)

SELECT
	user_id,
	status,
	name,
        col_a,
	current_timestamp() AS inserted_at
FROM data

After running the model I' getting this error:
Caused by: java.io.IOException: Required column is missing in data file. Col: [col_a]
        at org.apache.spark.sql.execution.datasources.parquet.VectorizedParquetRecordReader.validateRequestedSchemaIsSupported(VectorizedParquetRecordReader.java:331)
        at org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat.$anonfun$buildPrefetcherWithPartitionValues$1(ParquetFileFormat.scala:543)
        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader.org$apache$spark$sql$execution$datasources$AsyncFileDownloader$$downloadFile(AsyncFileDownloader.scala:93)
        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader$$anon$1.call(AsyncFileDownloader.scala:73)
        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader$$anon$1.call(AsyncFileDownloader.scala:72)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        ... 3 more

14:49:22  1 of 1 ERROR creating incremental model lakehouse_silver.test_hudi ............. [ERROR in 56.69s]
14:49:22
14:49:22  Finished running 1 incremental model in 0 hours 1 minutes and 31.32 seconds (91.32s).
14:49:23
14:49:23  Completed with 1 error and 0 warnings:
14:49:23
14:49:23  Database Error in model test_hudi (models/silver/test_hudi.sql)
14:49:23    Glue cursor returned `error` for statement None for code SqlWrapper2.execute('''/* {"app": "dbt", "dbt_version": "1.2.1", "profile_name": "glue_lakehouse", "target_name": "dev", "node_id": "model.lakehouse.test_hudi"} */
14:49:23    select * from lakehouse_silver.test_hudi limit 1 '''), Py4JJavaError: An error occurred while calling z:org.apache.spark.api.python.PythonRDD.collectAndServe.
14:49:23    : org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 57.0 failed 4 times, most recent failure: Lost task 1.3 in stage 57.0 (TID 397) (<IP_ADDRESS> executor 2): org.apache.spark.sql.execution.datasources.FileDownloadException: Failed to download file path: s3://nicor88-lakehouse/lakehouse_silver/test_hudi/changed/1c2f729b-e21f-4bdd-a62f-76372dcc9fd9-0_2-41-355_20221014144605641.parquet, range: 0-432654, partition values: [changed], isDataPresent: false, eTag: f2e1d7c8388a7d555915c21cdd27c442
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader.next(AsyncFileDownloader.scala:142)
14:49:23        at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.getNextFile(FileScanRDD.scala:279)
14:49:23        at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.nextIterator(FileScanRDD.scala:201)
14:49:23        at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.hasNext(FileScanRDD.scala:159)
14:49:23        at org.apache.spark.sql.execution.FileSourceScanExec$$anon$1.hasNext(DataSourceScanExec.scala:606)
14:49:23        at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.columnartorow_nextBatch_0$(Unknown Source)
14:49:23        at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source)
14:49:23        at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
14:49:23        at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:755)
14:49:23        at scala.collection.Iterator$SliceIterator.hasNext(Iterator.scala:262)
14:49:23        at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:454)
14:49:23        at org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:133)
14:49:23        at org.apache.spark.shuffle.ShuffleWriteProcessor.write(ShuffleWriteProcessor.scala:59)
14:49:23        at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
14:49:23        at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52)
14:49:23        at org.apache.spark.scheduler.Task.run(Task.scala:131)
14:49:23        at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:497)
14:49:23        at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1439)
14:49:23        at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:500)
14:49:23        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
14:49:23        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
14:49:23        at java.lang.Thread.run(Thread.java:750)
14:49:23    Caused by: java.io.IOException: Required column is missing in data file. Col: [col_a]
14:49:23        at org.apache.spark.sql.execution.datasources.parquet.VectorizedParquetRecordReader.validateRequestedSchemaIsSupported(VectorizedParquetRecordReader.java:331)
14:49:23        at org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat.$anonfun$buildPrefetcherWithPartitionValues$1(ParquetFileFormat.scala:543)
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader.org$apache$spark$sql$execution$datasources$AsyncFileDownloader$$downloadFile(AsyncFileDownloader.scala:93)
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader$$anon$1.call(AsyncFileDownloader.scala:73)
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader$$anon$1.call(AsyncFileDownloader.scala:72)
14:49:23        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
14:49:23        ... 3 more
14:49:23
14:49:23    Driver stacktrace:
14:49:23        at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:2465)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:2414)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:2413)
14:49:23        at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:58)
14:49:23        at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:51)
14:49:23        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2413)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1(DAGScheduler.scala:1124)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1$adapted(DAGScheduler.scala:1124)
14:49:23        at scala.Option.foreach(Option.scala:257)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:1124)
14:49:23        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:2679)
14:49:23        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2621)
14:49:23        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2610)
14:49:23        at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
14:49:23        at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:914)
14:49:23        at org.apache.spark.SparkContext.runJob(SparkContext.scala:2238)
14:49:23        at org.apache.spark.SparkContext.runJob(SparkContext.scala:2259)
14:49:23        at org.apache.spark.SparkContext.runJob(SparkContext.scala:2278)
14:49:23        at org.apache.spark.SparkContext.runJob(SparkContext.scala:2303)
14:49:23        at org.apache.spark.rdd.RDD.$anonfun$collect$1(RDD.scala:1030)
14:49:23        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
14:49:23        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
14:49:23        at org.apache.spark.rdd.RDD.withScope(RDD.scala:414)
14:49:23        at org.apache.spark.rdd.RDD.collect(RDD.scala:1029)
14:49:23        at org.apache.spark.api.python.PythonRDD$.collectAndServe(PythonRDD.scala:180)
14:49:23        at org.apache.spark.api.python.PythonRDD.collectAndServe(PythonRDD.scala)
14:49:23        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:49:23        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
14:49:23        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14:49:23        at java.lang.reflect.Method.invoke(Method.java:498)
14:49:23        at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
14:49:23        at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
14:49:23        at py4j.Gateway.invoke(Gateway.java:282)
14:49:23        at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
14:49:23        at py4j.commands.CallCommand.execute(CallCommand.java:79)
14:49:23        at py4j.GatewayConnection.run(GatewayConnection.java:238)
14:49:23        at java.lang.Thread.run(Thread.java:750)
14:49:23    Caused by: org.apache.spark.sql.execution.datasources.FileDownloadException: Failed to download file path: s3://grover-eu-central-1-dev-data-lakehouse/lakehouse_silver/test_hudi/changed/1c2f729b-e21f-4bdd-a62f-76372dcc9fd9-0_2-41-355_20221014144605641.parquet, range: 0-432654, partition values: [changed], isDataPresent: false, eTag: f2e1d7c8388a7d555915c21cdd27c442
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader.next(AsyncFileDownloader.scala:142)
14:49:23        at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.getNextFile(FileScanRDD.scala:279)
14:49:23        at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.nextIterator(FileScanRDD.scala:201)
14:49:23        at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.hasNext(FileScanRDD.scala:159)
14:49:23        at org.apache.spark.sql.execution.FileSourceScanExec$$anon$1.hasNext(DataSourceScanExec.scala:606)
14:49:23        at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.columnartorow_nextBatch_0$(Unknown Source)
14:49:23        at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source)
14:49:23        at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
14:49:23        at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:755)
14:49:23        at scala.collection.Iterator$SliceIterator.hasNext(Iterator.scala:262)
14:49:23        at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:454)
14:49:23        at org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:133)
14:49:23        at org.apache.spark.shuffle.ShuffleWriteProcessor.write(ShuffleWriteProcessor.scala:59)
14:49:23        at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
14:49:23        at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52)
14:49:23        at org.apache.spark.scheduler.Task.run(Task.scala:131)
14:49:23        at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:497)
14:49:23        at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1439)
14:49:23        at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:500)
14:49:23        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
14:49:23        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
14:49:23        ... 1 more
14:49:23    Caused by: java.io.IOException: Required column is missing in data file. Col: [col_a]
14:49:23        at org.apache.spark.sql.execution.datasources.parquet.VectorizedParquetRecordReader.validateRequestedSchemaIsSupported(VectorizedParquetRecordReader.java:331)
14:49:23        at org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat.$anonfun$buildPrefetcherWithPartitionValues$1(ParquetFileFormat.scala:543)
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader.org$apache$spark$sql$execution$datasources$AsyncFileDownloader$$downloadFile(AsyncFileDownloader.scala:93)
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader$$anon$1.call(AsyncFileDownloader.scala:73)
14:49:23        at org.apache.spark.sql.execution.datasources.AsyncFileDownloader$$anon$1.call(AsyncFileDownloader.scala:72)
14:49:23        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
14:49:23        ... 3 more
14:49:23
14:49:23    compiled SQL at target/run/lakehouse/models/silver/test_hudi.sql
14:49:23
14:49:23  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

As workaround, if I drop the table from glue, and re-run the model it works. But imagine a scenario where analysts add a new field, this will lead to easily braking behavior.
Expected behavior
New col_a, added in the 2nd run will be added to the table.
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
System information
The output of dbt --version:
Core:
  - installed: 1.2.1
  - latest:    1.3.0 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - spark: 1.2.0 - Update available!

  At least one plugin is out of date or incompatible with dbt-core.
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

The operating system you're using: MacOS BigSur
The output of python --version: 3.9.6
Additional context

This could be a limitation of using hudi, as doesn't support schema changes.
The above seems not correct as schema changes seems supported. See here

I'm using dbt-glue adapter to write hudi table and to add new columns during the incremental process I added the config on_schema_change, and it works for me.
{{ config(
    materialized='incremental',
    incremental_strategy='merge',
    unique_key='user_id',
	partition_by=['status'],
	on_schema_change='append_new_columns',
    file_format='hudi'
) }}

@l-jhon I was not aware of that feature. I will try out.

@l-jhon somehow I got the same issue, but if I do a full-refresh or if I update all the records seems working. I think that then is fine.

Let me see here, I remember that I'm running without the full refresh.

@nicor88 I reran it, and it worked without --full-refresh.

Somehow didn't work for me, are you adding new columns?? I mean if I don't add new columns works for me too, as far as I add new columns, it breaks.

I ran the same model that you shared.
The first model that I ran:
{{ config(
    materialized='incremental',
    incremental_strategy='merge',
    unique_key='user_id',
	partition_by=['status'],
	on_schema_change='append_new_columns',
    file_format='hudi'
) }}

WITH data AS (
	SELECT 'A' AS user_id, 'active' AS status, 'pi' AS name
	UNION ALL
	SELECT 'B' AS user_id, 'active' AS status, 'sh' AS name
	UNION ALL
	SELECT 'C' AS user_id, 'active' AS status, 'zh' AS name
)

SELECT
	user_id,
	status,
	name,
	current_timestamp() AS inserted_at
FROM data

Then I ran the model change:
{{ config(
    materialized='incremental',
    incremental_strategy='merge',
    unique_key='user_id',
	partition_by=['status'],
	on_schema_change='append_new_columns',
    file_format='hudi'
) }}

WITH data AS (
	SELECT 'A' AS user_id, 'active' AS status, 'pi' AS name, 'test' AS col_a
	UNION ALL
	SELECT 'B' AS user_id, 'active' AS status, 'sh' AS name, 'test' AS col_a
	UNION ALL
	SELECT 'C' AS user_id, 'active' AS status, 'zh' AS name, 'test' AS col_a
)

SELECT
	user_id,
	status,
	name,
        col_a,
	current_timestamp() AS inserted_at
FROM data

What Hudi version are you using? I'm using the 0.12

Interesting, I'm using the connector from the marketplace Apache Hudi Connector 0.10.1 for AWS Glue 3.0 Might be related to that. Do you have some docs to share on how to use the a more recent version??

Oh I see! Yes, you just need to add the jar file in the extra_jars inside the profiles.yml, let me share with you:
dbt_glue_models:
    target: dev
    outputs:
      dev_stage:
        type: glue
        role_arn: arn:aws:iam::{aws_account}:role/GlueInteractiveSessionRole
        region: {region}
        workers: 2
        worker_type: G.025X
        database: awsdatacatalog
        schema: dev
        session_provisioning_timeout_in_seconds: 240
        idle_timeout: 60
        query_timeout_in_seconds: 300
        location: s3://{bucket}/stage/
        glue_version: "3.0"
        extra_jars: s3://{bucket}/configs/jars/hudi-utilities-bundle_2.12-0.12.1.jar,s3://{bucket}/configs/jars/hudi-spark3.1-bundle_2.12-0.12.1.jar,s3://{bucket}/configs/jars/spark-avro_2.12-3.2.2.jar,s3://{bucket}/configs/jars/calcite-core-1.32.0.jar
        conf: "spark.serializer=org.apache.spark.serializer.KryoSerializer"

Lovely, thanks for that, I'm testing that again and then share the result with you. I think that you spot it, it's just due to hudi version!

@l-jhon ok, I was able to add the new libs but still the same issue.
if you run the models as here https://github.com/aws-samples/dbt-glue/issues/92#issuecomment-1289461258 as the 2nd run touch all the columns (so act as a full-refresh) works from me too. But if I just do this:
{{ config(
    materialized='incremental',
    incremental_strategy='merge',
    unique_key='user_id',
	partition_by=['status'],
	on_schema_change='append_new_columns',
    file_format='hudi'
) }}

WITH data AS (
	SELECT 'A' AS user_id, 'active' AS status, 'pi' AS name, 'test' AS col_a
	UNION ALL
	SELECT 'B' AS user_id, 'active' AS status, 'sh' AS name, 'test' AS col_a
	UNION ALL
	SELECT 'C' AS user_id, 'active' AS status, 'zh' AS name, 'test' AS col_a
)

SELECT
	user_id,
	status,
	name,
        col_a,
	current_timestamp() AS inserted_at
FROM data
where user_id='C'

e.g. add the new column only from new data, that will still give you the issue above.
As adding a new column imply running a full-refresh, I guess that we can close this one, this means that each time that we add a new column I will force a full-refresh.

I got it!
Yes, I guess full-refresh is great to solve this problem :D

Closing this one, as for new columns we need --full-refresh or  full_refresh=True


Add TDS streaming support

@josevalim Would this generally work the same way as it does for the Postgres adapter? I would be happy to attempt to implement this, I just need a little guidance on what all needs to be done to make this possible.

Closing this. If someone is interested, please investigate upstream on the TDS adapter.
sorry for not seeing your comment earlier @garretttaco !


Feature Request: Add option to auto-hide the toolbar

Many Windows apps allow you to auto-hide the toolbar, only appearing when the alt key is pressed. I'd love an option to enable this for Android Messages.

According to the BrowserWindow docs, this should be a one-line change:
win.setAutoHideMenuBar(hide)
I would like to make this a preference so that Windows users can choose which behavior they want.

@chrisknepper I think I can have a pull request for this together tomorrow if you haven't started already. Where would you want the preference placed?

Since this was taken care of by @ajivoin in #29 , I will close this. Release coming soon.


Updated parse mode to MarkdownV2

Thank you for your work @srikanthankamtw!
I will mark the pull request as hacktoberfest-accepted 🍷


Labels overlapping?

Just started using this library and so far, i really like it. I've ran into an issue with really long labels. See example below. I'm essentially tracking web service performance and am setting the x axis labels to the URL. Initially the overlay made the labels unreadable, then i found that i can rotate the X labels. So after rotating 45 degrees and setting the text alignment to right, I ran into another issue that I'm not sure how to solve. Some of the ables appear to be misaligned with the columns (building a bar chart here).
Is there anything I can do to fix the misalignment of the x axis labels?
code snippet
   Chart_Category barchart = new ChartBuilder_Category()
                      .width(1500)
                      .height(PixelHeightCalc(urls.size()))
                      .title("Average Message Size (bytes)")
                      .xAxisTitle("URL")
                      .yAxisTitle("Average Message Size").theme(ChartTheme.GGPlot2).build();
List<String> urls = <loaded from db>
List<Long> thisdata = <loaded from db>

 barchart.addSeries("size", urls, thisdata);
                barchart.getStyler().setXAxisLabelRotation(45);
                barchart.getStyler().setXAxisLabelAlignment(Styler.TextAlignment.Right);
 BitmapEncoder.saveBitmap(barchart, path + GetFilePathDelimitor() + "image_" + get.getType().toString() + ".png", BitmapFormat.PNG);

Hmmm, I'm not sure what the best thing to do is. I'd have to create a test chart and see what I could do as a general solution to large labels.

Is there a workaround that I can try? perhaps a limit on the number of characters?

not that I can think of. Maybe truncate the categories on your end before making the chart.


Kerning checks

It would be nice to have a set of checks for kerning; this could likely be a separate set to the main googlefonts set because its a refinement we don't care about as a 'base requirement' but something that we can improve upon in the future and therefore something that it would be good to start tracking in the dashboard.

Common ones

AV
To

Uncommon ones (https://github.com/impallari/Font-Testing-Page/blob/679c5654927be76f0252cee76cf955bb0a26e260/includes/latin/kerning.php#L121-L125 has a good list)

...
..?

Diffenator can check for kerning regressions
I'd prefer this type of test to only check against an existing release.

In order to start quantifying the quality of the overall/total library, as
designs not only in technicalities, then this check is useful early step.
On Wed, Mar 21, 2018, 6:29 AM Marc Foley<EMAIL_ADDRESS>wrote:

Diffenator can check for kerning regressions
https://github.com/googlefonts/fontdiffenator/blob/diff_cleanup/Lib/diffenator/diff.py#L56-L64
I'd prefer this type of test to only check against an existing release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlefonts/fontbakery/issues/1739#issuecomment-374892415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP9y5a-j9x9prif2IDanMt4dRlqHKiOks5tgitwgaJpZM4Syg-A
.


[Bug report]: Recovery Kit

Platform
Desktop
Version
1.6.5
Description

Recovery Kit
Recovery Phrase do not have data
Expected behaviour
The recovery phrase should have something 24 data display
Actual behaviour
The 24 recovery phrase no data display
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Go to Recovery Phrase
Save Recovery Kit Template

Recovery Phrase do not have data

Operating System
Windows
Diagnostics
No response
Developer Profile
Yes
Profile Type
Software (Stronghold)
Staking
No response
Crash Status
None of the above
Error Messages
No response
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is only a template where you need to manually write down your phrase.