Add instance data to ModelChoiceField options

ModelChoiceField's have the ModelChoiceitereator instances available which contain all the respective models instance.
Currently we are stringifying this class which returns the value intended for the element, but the widget might also benefit from other "sparse" fields of the model as shown below.

Options

Because these fields could be anything at runtime we could collect them into a Dict for safe access in Elm.
We could include the possible variants in to the flags constructor which djelm could convert in to Algebraic data types at compile time. Very powerful!

Custom type support is released in 0.8.0 which is what we will need for this feature.

Released in 0.10.0


Maintaining stereo when connecting channels

Stereo seems to be lost when connecting a Tone.Channel to another Tone.Channel. I´ve created a small example with two oscillators, each connected to a channel that is hard panned left. One of the those channels goes directly toDestination, and this one functions correctly.
The other one is connected to another Tone.Channel, (with no pan) that goes toDestination, and the pan on this one is lost.
Live example:
https://christoffergylin.com/groovebox/channelStereoTest.html
Code:
let channelToDestination = new Tone.Channel().toDestination();
channelToDestination.pan.value = -1;
let channelToChannel = new Tone.Channel();
channelToChannel.pan.value = -1;
let masterChannel = new Tone.Channel().toDestination();
let oscDestination = new Tone.Oscillator('C3', 'square');
let oscChannel = new Tone.Oscillator('C3', 'square');
oscChannel.connect(channelToChannel);
channelToChannel.connect(masterChannel);
oscDestination.connect(channelToDestination);
I tried using split from the first channel, and then sending just one of the splitted channels into the second channel. If I then have full pan in one direction, I get full volume in both speakers, and if I pan the other direction the volume goes down in both speakers. So it seems that that one split signal is going to both the left and right input on the second channel, and without the split, both outputs from channel 1 is probably going to both inputs on channel 2.

I did some further experimentation with a sample that was allready heavily panned (left-right stereo test) to confirm that stereo was infact lost and not just the pan of previous channels, and yes, all stereo information is gone, everything that goes through a Tone.Channel is mono (If I connect the Tone.Player directly toDestination the sample is panned correctly).
I also tried to connect specific outputs to specific inputs between channels like this:
channelToChannel.connect(masterChannel, 0, 0);
channelToChannel.connect(masterChannel, 1, 1);
But trying to connect from any other output than 0 just gives me "Uncaught DOMException", and trying to connect to any other input than 0 gives me:
"Uncaught DOMException: Failed to execute 'connect' on 'AudioNode': input index (1) exceeds number of inputs (1)."

I believe this is the same issue as #609. The solution is to explicitly pass in channelCount = 2 into Tone.Channel like this: Tone.Channel({channelCount: 2}) so that the Panner knows not to mix it down to mono.

That did the trick! Thank you for the help, and sorry for the inconvenience.


refactor: whitespace and code formatting

I also like spaces after , (e.g. in arguments, list, tuple) otherwise looks good to me

i added spaces after all ','


A small confusion in pyramidkv_utils.py

In pyramidkv_utils.py, besides init_pyramidkv, why do other init_xxxxxx functions also need to reinitialize kv_cluster instances?

After careful consideration, is it really necessary to reinitialize kv_cluster even for init_pyramidkv?


CLI - support .graphqlconfig

https://github.com/prismagraphql/graphql-config

https://github.com/tomhoule/graphql-client/pull/60


changed arrows for NERDTreeDirArrowExpandable and NERDTreeDirArrowCol…

…lapsible
Arrows used so far ('▸' unicode 9656 and '▾' unicode 9662) can't be find in popular monotype fonts like Courier New, Liberation Mono or Lucida Console (while available in DejaVu Sans Mono or Consolas)
Characters '►' (unicode 9658) and '▼' (unicode 9660) are much more popular.

@gwilk @PhilRunninger This change has made my arrows very big in the terminal (Vim) or in MacVim. I really like to have the previous size that looks much better.
Before:

After:

Actually, I'm reading the README and it seems configurable, so probably I can configure in the .vimrc file. Anyway the default look and feel for a lot of users is going be as I've described.

Hmm, we have gone back and forward over the arrows before and settled on smaller arrows.
I'm of the opinion that we should revert to small arrows (purely for aesthetic reasons) and add an FAQ with instructions to change to large arrows for fonts that dont support small.
Thoughts?

@scrooloose , I agree. The smaller ones look better. When I'd merged this in, I misread the if statement and thought these arrows were a Windows-only problem. The FAQ is already in the README. I'll go ahead and revert the merge if you give the thumbs up.

@gwilk, I've reverted this pull request. To use the large arrows, you'll have to override them as shown in the FAQ section of the README.

@PhilRunninger all good mate, thanks for fixing.
Oh, I didn't spot that FAQ... I really need to learn to read :smile:

OK. My point was, that the small arrows are missing in many popular fonts. Perhaps the fonts will be updated some day. For now, changing configuration is good enough.


How I can add footnote in cell

I wanna know how to add footnote & endnote in table
when I insert cell content, I make the content like this code,
hdr_cells = table.rows[0].cells
hdr_cells[0].paragraphs[0].add_run('Cell').normal = True
hdr_cells[0].paragraphs[0].style = 'Table_title'
hdr_cells[0].paragraphs[0].alignment = WD_ALIGN_PARAGRAPH.CENTER
I want to insert footnote 'cell'
How can I insert the footnote?
please help me

i think u can write docx and open this zip file to see what content in document.xml.

I understand how to use the add_footnote thanks :)
but when I use add_footnote function, I hope that footnote number is supertext, but it's not.
how can I change normal number into supertext???

latest versions is not about function to set num style, i will do this job.


Can't install anything because gvm thinks I'm offline

When I try to do basic commands like gvm ls, it fails with:
gvm ls
==== INTERNET NOT REACHABLE! ===============================

 Some functionality is disabled or only partially available.
 If this persists, please enable the offline mode:

   $ sdk offline

============================================================

This command is not available while offline.

However, I'm not offline, otherwise I wouldn't be able to create this issue. Is there some step I missed in the install instructions? I'm using zsh, but the same happens in bash.

My bad, on further examination this is an old version of sdkman which added an alias to gvm!


OG images not working

I don't know why, but the OG images just return [object%20Object] for my site. Can you tell me what I'm doing wrong?
My site is here: https://bendaha.eu.org and the repository here: https://github.com/bennihtm/astro-blog

Hey
So, thanks for spotting this. It should be fixed right now.
If you don't want to start from scratch, just edit the SeoHead.astro component, line 9 to:
const image = postData?.data?.image ? postData.data.image.src : config.defaultOgImage;

Thanks for giving Pacamara a try. It's nice seeing it "in the wild" :)

Thank you! Pacamara is really nice! :)


compactor+receiver: outOfOrderLabels index makes compactor crash + outOfOrdersLabels known bug ?

Thanos version: 0.27.0
Prometheus Version: 2.39.0
Fluent-Bit version: 2.0.6
Golang: 1.19.2
AKS version: Tested on 1.23.12 and 1.25.2
Object Storage Provider: Azure
What happened:  Compactor fails the first data downsampling and enters crashloopBackOff state.
What you expected to happen: Compactor succeeds or skips compaction
Anything else we need to know:
Hello,
I am running a Prometheus + Thanos server setup on an Azure K8s cluster which the thanos receiver endpoint is made available.
Our clients use the prometheus-remote-write output plugin fluent-bit from send metrics to that receiver.
We have a recurrent Warning concerning out-of-order labels:
level=warn ts=2022-12-01T14:45:51.113361364Z caller=index.go:267 msg="out-of-order label set: known bug in Prometheus 2.8.0 and below" labelset="{__name__=\"python_gc_objects_uncollectable_total\", instance=\"XXXXXX\"}" series=7870

but it didnt use to make the compactor halt - so we just kept an eye open on the question.
Recently, the compactor enters a crashloopBackOff state when trying to downsample data with index containing out of order samples.
level=info ts=2022-12-01T14:45:51.113511623Z caller=http.go:84 service=http/server component=compact msg="internal server is shutting down" err="error executing compaction: first pass of downsampling failed: downsampling to 5 min: input block index not valid: index contains 342 postings with out of order labels"
level=info ts=2022-12-01T14:45:51.114641961Z caller=http.go:103 service=http/server component=compact msg="internal server is shutdown gracefully" err="error executing compaction: first pass of downsampling failed: downsampling to 5 min: input block index not valid: index contains 342 postings with out of order labels"
level=info ts=2022-12-01T14:45:51.114698188Z caller=intrumentation.go:81 msg="changing probe status" status=not-healthy reason="error executing compaction: first pass of downsampling failed: downsampling to 5 min: input block index not valid: index contains 342 postings with out of order labels"

Here's what I tried
adding the --compact.skip-block-with-out-of-order-chunks and --debug.accept-malformed-index flags to the compactor --> compactor halts
running thanos tools bucket verify --> identifies index_issues
level=warn ts=2022-12-01T15:00:48.896509693Z caller=index_issue.go:61 verifiers=overlapped_blocks,index_known_issues verifier=index_known_issues msg="detected issue" id=01GK72A1Q41W80DPBG0ATBZ5QA err="index contains 342 postings with out of order labels"
level=info ts=2022-12-01T15:00:50.827109208Z caller=index_issue.go:75 verifiers=overlapped_blocks,index_known_issues verifier=index_known_issues msg="verified issue" with-repair=false

I sandboxed these solutions on local:
Fluent-Bit prometheus-remote-write output plugin + prometheus remote-write endpoint: works without errors
Fluent-Bit w/ prometheus-remote-write output plugin + thanos receiver endpoint: doesn't work. outputs the "out-of-order labels" error
Node_exporter + prometheus remote write: works
node_exporter + thanos receiver doesn't work
I can't seem to pinpoint the exact cause ouf the warning we get.
It seems either Thanos Receiver API or Fluent-Bit prom-remote-write output plugin has an issue dealing with these labels.
Any additional guidance or tips for debugging would be greatly appreciated

Could it be that external users are writing data through Thanos Receive that has out-of-order labels? See this: https://github.com/prometheus/prometheus/issues/11505.

I am seeing same issue, do we have any solution for above issue ?


merge mcfc bug fix into kl-d7 / d7 branch

x and y tiles were swapped in the URL arguments. Works now!
See https://github.com/openconnectome/open-connectome/commit/fed4e6c1e49cd86192c0edb40364ed9a606c4a51 for the fix.

Fixed it. Thanks.


Add region to sub-region in filenames

Example of the output filename:  pgosm-flex-district-of-columbia-run-all.sql
Fine for D.C., but Georgia (in U.S.) is not Georgia (in Europe).

The Docker script currently has a region param and a sub-region param.  Should combined them into a single param.  This will simplify use by not having an arbitrary difference between a "region" and "subregion".
This would change:
docker exec -it \
    -e POSTGRES_PASSWORD=mysecretpassword \
    -e POSTGRES_USER=postgres \
    pgosm bash docker/run_pgosm_flex.sh \
    north-america/us \
    district-of-columbia \
    8 \
    run-all

TO
docker exec -it \
    -e POSTGRES_PASSWORD=mysecretpassword \
    -e POSTGRES_USER=postgres \
    pgosm bash docker/run_pgosm_flex.sh \
    north-america/us/district-of-columbia \
    8 \
    run-all

Should add a check to script to catch when 4 params are passed and advise the user about the change to 3 params.
e.g. https://stackoverflow.com/questions/18568706/check-number-of-arguments-passed-to-a-bash-script

Added via #147.


Unresolved reference:

Unresolved reference: keyboardinnerColor
Unresolved reference: sppip

Unresolved reference: keyboardinnerColor Unresolved reference: sppip

I reckon you have changed the value of spinnerColor and spinnerTypedValue variables. Can you share that part of your code?


[Bug]: addEthereumChain/setChain Operation On Wallet Connect Not Working

Current Behavior
Once we are connected to meta mask mobile through the wallet connect and try to switch to another chain. These things happen
All this happens on both set chain functions provided by block native and if I do provider.request("switch_ethereumChain")

If Network Already exists in meta mask => Switch Chain Happens - No problem
If Network Doesn't Exist => Nothing Happens, If I try to do provider.request("wallet_addEthereumChain") it fails and gives an error "The Provider does not have a rpcUrl to make a request for the requested method: wallet_addEthereumChain" or Nothing Happens

On the web3Onbaord demo site as well, the switching chain doesn't work when connected through wallet connect to meta mask mobile.
The setChain of web3onboard also doesn't work for this case!
Expected Behavior
wallet_addEthereumChain request should add a new chain to the meta mask mobile of the user when connected through wallet connect
Steps To Reproduce
No response
What package is affected by this issue?
@web3-onboard/core
@web3-onboard/walletconnect
Is this a build or a runtime issue?
Runtime
Package Version
2.8.5-alpha.1
Node Version
v16.19.0
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
Error: The Provider does not have a rpcUrl to make a request for the requested method: wallet_addEthereumChain

Anything else?
No response
Sanity Check

[X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

@mbcse Thank you for bringing this to our attention we will try to repro and discover what the issue is! Stay tuned here 📻

any update on this @taylorjdawson, i observe you are still using walletconnect v1 sdk.. they have updated to v2 it seems.

Hey @saisumit I am not sure if we have looked in to this yet, but we are actively implementing V2 with the WC team. Keep an eye out for an update soon for V2.

@saisumit the latest version of walletconnect package integrates v2 of walletconnect as they are sunsetting v1 shortly...can you give it a try when you have a moment?
There are a couple of extra init options to get to v2 rolling but shouldnt take more than a few minutes - https://www.npmjs.com/package/@web3-onboard/walletconnect

Closing as the issue is stale and there hasnt been response. Feel free to open if the issue persists.

Hi @Adamj1232 , I am Still facing this issue.
When setChain is called on both onboard or using useSetChain from @web3-onboard/react nothing happens on the wallet app connected via Walletconnect. The functions return false and no error is logged.  Tested with rainbow and metamask mobile, the issue is still there.
Here's the packages I am using:
"@web3-onboard/core": "^2.17.0", "@web3-onboard/walletconnect": "2.3.6", "@web3-onboard/react": "^2.8.0",
My Init Script:
const wcV1InitOptions = {
   bridge: "https://bridge.walletconnect.org",
};
const wcV2InitOptions = {
   version: 2,
   /**
    * Project ID associated with [WalletConnect account](https://cloud.walletconnect.com)
    */
   projectId: "XXXXXXXXXXXXX",
   /**
    * Optional function to handle WalletConnect URI when it becomes available
    */
   handleUri: uri => console.log(uri),
};

// initialize the module with options
// If version isn't set it will default to V1 until V1 sunset
const walletConnectModule = walletConnect(wcV2InitOptions || wcV1InitOptions);

export const initWeb3Onboard = init({
   wallets: [injected, ledger, trezor, walletConnectModule, fortmatic],
   chains: supportedChains(),

   apiKey: dappId,
   appMetadata: {
       name,
       icon, // svg string icon
       logo, // svg string logo
       description, // App Description
         explore, // Link to website
   },
   accountCenter: {
       desktop: {
           position: "topRight",
           enabled: false,
           minimal: false,
       },
       mobile: {
           position: "topRight",
           enabled: false,
           minimal: false,
       },
   },
});

Is there anything I am missing here?

@Adamj1232 WalletConnect V2 does not work. It does not even work on the demo app of web3 onboard. Can you pl look into it.

@devamitsharma101 which site(device/browser is also helpful) is this?
Which wallet are you trying to connect through WC v2?

@Adamj1232 I'm trying the Connect button on top right corner of the site: https://onboard.blocknative.com/ . There I choose wallet connect and scan the code from metamask on my mobile.

@devamitsharma101 MetaMask has not integrated with WalletConnect v2. Please see the WalletConnect blog for more information around support dates and supported wallets - https://medium.com/walletconnect/weve-reset-the-clock-on-the-walletconnect-v1-0-shutdown-now-scheduled-for-june-28-2023-ead2d953b595


600_proxy_docker_py_test failing on CircleCI

CircleCI is continuously failing in 600_proxy_docker_py_test.sh. See, for example, https://circleci.com/gh/weaveworks/weave/1089. I've run the test manually to see what's going wrong, but it didn't fail...
vagrant@host1:~$ docker run -e NOT_ON_HOST=true -e DOCKER_HOST=tcp://<IP_ADDRESS>:12375 -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock joffrey/docker-py python tests/integration_test.py
.............................s....................................
----------------------------------------------------------------------
Ran 66 tests in 108.432s

OK (skipped=1)

Ditto for doing it the "proper" way, i.e. with ./600_proxy_docker_py_test.sh
Could just be some issue with image downloads - the joffrey/docker-py image is huge - or a race condition in the tests.

Would be nice to see the stdout/err for when this fails.

Hurray, I have cajoled the test to give us an error output!
---= Running 600_proxy_docker_py_test.sh =---
Run docker-py test suite against the proxy
bc2950a2047ccdd27692fd7ee44f41e4a335253faaab97677ef22a4c6e4aa29d
Unable to find image 'joffrey/docker-py:latest' locally
latest: Pulling from joffrey/docker-py
Digest: sha256:13e19ed19327fdf08d8afe421d0e97ec12648bac0b446d7e1de2cdd6ba77945b
Status: Downloaded newer image for joffrey/docker-py:latest
Traceback (most recent call last):
  File "tests/integration_test.py", line 1473, in <module>
    c.pull('busybox')
  File "/usr/local/lib/python2.7/site-packages/docker/client.py", line 918, in pull
    self._raise_for_status(response)
  File "/usr/local/lib/python2.7/site-packages/docker/client.py", line 120, in _raise_for_status
    raise errors.APIError(e, response, explanation=explanation)
docker.errors.APIError: 404 Client Error: Not Found ("client and server don't have same version (client : 1.19, server: 1.18)")
test #1 "true" failed:
	program terminated with code 0 instead of 1
1 of 1 tests failed in 29.762s.

I am guessing docker-py includes the latest (1.7.0) docker client, whereas the test VMs are on 1.6.2.
@tomwilkie how do we get the VMs updated?

There is some code to do it in gce.sh, but mainly its a manual process.
I'll do it today if you like?
On Mon, Jun 22, 2015 at 9:31 PM, Matthias Radestock <
<EMAIL_ADDRESS>wrote:

Hurray, I have cajoled the test to give us an error output
https://circleci.com/gh/weaveworks/weave/1188!
---= Running 600_proxy_docker_py_test.sh =---
Run docker-py test suite against the proxy
bc2950a2047ccdd27692fd7ee44f41e4a335253faaab97677ef22a4c6e4aa29d
Unable to find image 'joffrey/docker-py:latest' locally
latest: Pulling from joffrey/docker-py
Digest: sha256:13e19ed19327fdf08d8afe421d0e97ec12648bac0b446d7e1de2cdd6ba77945b
Status: Downloaded newer image for joffrey/docker-py:latest
Traceback (most recent call last):
File "tests/integration_test.py", line 1473, in
c.pull('busybox')
File "/usr/local/lib/python2.7/site-packages/docker/client.py", line 918, in pull
self._raise_for_status(response)
File "/usr/local/lib/python2.7/site-packages/docker/client.py", line 120, in _raise_for_status
raise errors.APIError(e, response, explanation=explanation)
docker.errors.APIError: 404 Client Error: Not Found ("client and server don't have same version (client : 1.19, server: 1.18)")
test #1 "true" failed:
program terminated with code 0 instead of 1
1 of 1 tests failed in 29.762s.
I am guessing docker-py includes the latest (1.7.0) docker client, whereas
the test VMs are on 1.6.2.
@tomwilkie https://github.com/tomwilkie how do we get the VMs updated?
—
Reply to this email directly or view it on GitHub
https://github.com/weaveworks/weave/issues/970#issuecomment-114254118.

I'll do it today if you like?

yes, please.

Done: https://github.com/weaveworks/weave/commit/3b4a47a9610640bbea718673b8ab9576cb5f5e76

Passing now; closing ticket.


AttachVolume.Attach failed for volume during k8s upgrade

After manually triggering a GKE k8s upgrade from 1.23.12-gke.100 to 1.24.7-gke.900 Redpanda had problems getting back up. No producers or consumers were able to reach Redpanda for about 4 min. This has happened a few times before.
Timeline of events:

Upgrade is triggered in GCP Console
One of three Redpanda instances is taken down and placed in its new node, and consumers and producers suddenly can't reach  Redpanda at all
K8s logs says AttachVolume.Attach failed for volume "pvc-123-123-123" ...
This goes on for a few minutes before solving itself
Same thing happens to the two other Redpanda instances
When all moving of instances has been done, consumers and producers are able to connect again.

Thoughts:
My guess is that the PVC isn't detached correctly when moving over to a new node, or needs more time to get properly detached. One PVC can only be connected to one VM at a time.
I posted the issue here since volume attachment is something more related resources and infrastructure, but please correct me if my assumptions are wrong.
Another thing, I don't get why all of Redpanda goes down if only one instance has problems... 🤔
Versions:

Helm chart: redpanda-2.3.0
Redpanda version: v22.2.2

Logs

All K8s logs are found here k8s-logs.txt.
All producer logs are found here: producer-logs.txt, and they look like this:
error writing messages to measurements_l2 (partition 15): kafka.(*Client).Produce: fetch request error: topic partition has no leader (topic=\"measurements_l2\" partition=15)" module=kafka

All consumer logs during downtime are found here: consumer-logs.txt, and looks something like this:
Crash: KafkaJSConnectionError: Connection error: connect ECONNREFUSED <IP_ADDRESS>:9093
Restarting the consumer in 300ms
Connection error: connect ECONNREFUSED <IP_ADDRESS>:9093
Failed to connect to seed broker, trying another broker from the list: Connection error: connect ECONNREFUSED <IP_ADDRESS>:9093
Response Fetch(key: 1, version: 11)
Response SyncGroup(key: 14, version: 3)
Response Heartbeat(key: 12, version: 3)
...
Response Heartbeat(key: 12, version: 3)
Response JoinGroup(key: 11, version: 5)
Response Fetch(key: 1, version: 11)
...
Response Fetch(key: 1, version: 11)
Connection error: connect ECONNREFUSED <IP_ADDRESS>:9093
Connection error: connect ETIMEDOUT <IP_ADDRESS>:9093
...

values.yaml

image:
  repository: vectorized/redpanda
  tag: v22.2.2

resources:
  cpu:
    cores: 2
    overprovisioned: true
  memory:
    enable_memory_locking: true
    container:
      min: 6.5Gi
      max: 8.0Gi

storage:
  persistentVolume:
    enabled: true
    size: 100Gi
    storageClass: "ssd-redpanda"

statefulset:
  replicas: 3
  nodeSelector:
    cloud.google.com/gke-nodepool: redpanda-pool-dev
  tolerations:
    - key: "redpanda"
      operator: "Equal"
      value: "true"
      effect: "NoSchedule"

config:
  cluster:
    enable_idempotence: false
    enable_transactions: false

I think this might be fixed by #268

oops, misclick.

Thanks for the update.
I subscribed to the PR you posted and when it's ready I'll try it out on our cluster to see if the AttachVolume.Attach errors disappear when we do GKE upgrades.
What effect will the scripts have? More graceful shutdown?

What general effect will the scripts have? More graceful shutdown?
Yes, it's more graceful in that it causes a leadership change while while redpanda is still running. Waiting for this to complete ensures that the readiness checks fail, causing the PodDisruptionBudget to be exceeded until the broker's maintenance mode has been removed. This prevents the next pod from rolling until the previous pod is ready.


Error on vanilla install of Ubuntu 16.04.4 LTS

error: [Errno 2] No such file or directory

Failed building wheel for pyjq
Running setup.py clean for pyjq
Failed to build pyjq
Installing collected packages: six, pyjq, netaddr, jmespath, docutils, python-dateutil, botocore, futures, s3transfer, boto3
Running setup.py install for pyjq ... error
Fixed by installing build-essential (sudo apt-get install build-essential)

Thank you. Resolved in https://github.com/duo-labs/cloudmapper/commit/34e82b4991640d60a01c50fc2438badaa686fac3

I just downloaded a fresh Ubuntu 16.04.4 LTS Desktop version (You don't specify if it's desktop or server, I assumed Desktop), and build-essential was apparently already installed.
But I found out virtualenv was missing, I did a tiny PR for that

For the record, it was 16.04.04 LTS Server.


How to set N_rand value to get the same output as shown in the repository?

Hi @limacv,
This is amazing work.
I am using Nvidia RTX 3060 GPU (Memory=VRAM 12 GB) to train the algorithm.
After 1200 iterations, the code throws this error

I was wondering how to set the N_rand value to get the output?
Thanks
Adwait

Hi, I'm using 1 V100 (32GB) with N_rand = 1024. The memory required is roughly proportional to N_rand. So I guess you can first try N_rand = 1024 * (12 / 32) ~= 350. For other image metrics, just implement your own metrics in the test stage.

Thanks for the response, @limacv.
I was able to successfully (albeit with a smaller N_rand, chunk, and netchunk)  replicate the results of your algorithm on my GPU.
This is the command I used.
python3 run_nerf.py --config configs/demo_blurball.txt --N_rand 128 --chunk 384 --netchunk 768

Results after 20,000 iterations

https://user-images.githubusercontent.com/29406906/177553625-aad476e1-b1bd-4504-bd6a-9b7458824da3.mp4

Results after 40,000 iterations

https://user-images.githubusercontent.com/29406906/177553707-598db34f-23ee-494e-8343-ddc43310fba2.mp4

Results after 60,000 iterations (final)

https://user-images.githubusercontent.com/29406906/177553803-0ea441c2-d707-4828-b0c4-8cc31fc94107.mp4
Thanks for your help.


Remove set-env from CI, enable macOs

npmpublish.yml also has a ::set-env.

ok, enough testing with macos. this should be good now.


Hololens and HMD height equalization?

Just how do you get Hololens users and HMD users starting with the head at the same height. Due to components like NetworkTransform that's desirable, cause I'd need to write everything myself the elevate objects on the HMD side by its height. If necessary, how do you read the base height the user configured in the Cliff House?

ContentSceneAdjuster should do the trick.

Apparently not. API is old and it gets deleted when an VRDevice is detected.
Any idea on how to read the configured height from the Cliff House?

Will follow up with Unity folks if such a public API exists.

@NeerajW  something?

Checkout the APIs and Scripts in the Boundary Feature Folder.
@StephenHodgson this link is not available anymore

@NeerajW haven't heard back from you in a while now, do you have any news?

Could we move this question to stack overflow?

@Alexees


Adding a D$ packet decoder, D$ pipeline structs and atomic parameters

This PR has the following additions:

A packet decoder for the D$ that handles op type and size decoding.
Pipeline structs for better readability
Atomic refactor with three new parameters, for LR/SC, Fetch+Logic and Fetch+Arithmetic

Nice! There should also be 1 more level for just swap. I assume it’s in logical right now, but should be its own thing

Nice! There should also be 1 more level for just swap. I assume it’s in logical right now, but should be its own thing

I've put it in arithmetic because I wasn't sure of the correct place. I'll make another parameter for swap then.


Update streaming section with parallel promises

What kind of changes does this PR include?

New or updated content

Description

Closes #3333

This Pull request updates the promise section related to streaming with parallel rendring. I ran the promises in dev mode to see how they would render in a template.

Just updated branch because the Netlify deploys failed, and maybe this will trigger them again. (Otherwise, I can do it manually. Just doing this first)


Build: enable parallel compilation when using visual studio

Description
Cmake-generated visual studio project files were using just one CPU core for all the compilation, which is not terribly fast. Add the /MP option so that it compiles separate .cpp files in parallel. On my (16 core, 32 thread) machine this makes a Release build of OpenImageIO.lib go from 136 sec down to 30 sec.
Tests
N/A
Checklist:

[x] I have read the contribution guidelines.
[ ] If this is more extensive than a small change to existing code, I
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
[ ] I have updated the documentation, if applicable.
[ ] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

Wow, I had no idea this was necessary. CMake seems pretty good about automatically using parallel builds (at least when CMAKE_BUILD_PARALLEL_LEVEL is set) for make or ninja. I just assumed it would do the right thing for MSVS as well.
Or... are you saying that this is forcing a parallel build because you don't use or don't know about CMAKE_BUILD_PARALLEL_LEVEL? Is there any downside to forcing it and not having a way for users to turn it off?

CMAKE_BUILD_PARALLEL_LEVEL seems to only affect the case when "make itself" does the build. When you generate a visual studio project and from the VS IDE, then all the build gets done through visual studio's MSBuild system. And that one needs /MP specified in the compiler settings to compile multiple .cpp files in parallel in the same project. It will still try to build multiple projects in parallel by default (when they don't depend on each other), but in OIIO case there isn't all that many to begin with.
I just checked with passing CMAKE_BUILD_PARALLEL_LEVEL either as an env. var or a cmake option, and neither affects the visual studio project build throughput.

Oh, I see, that makes sense -- for make/ninja as well, it only affects the "cmake --build" step, not the configure step.


hi properly install leon but it says leon greeting module broken and voice modules also not working

<!--node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: spawn bin/flite/flite ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn bin/flite/flite',
  path: 'bin/flite/flite',
  spawnargs: [
    'Sorry, the "Greeting" skill from the "Leon" domain is broken!',
    '--setf',
    'int_f0_target_mean=115',
    '--setf',
    'f0_shift=1',
    '--setf',
    'duration_stretch=1',
    '--setf',
    'int_f0_target_stddev=15',
    '-o',
    'D:\\venv\\audio\\leon-develop\\leon-develop\\server\\dist\\tts\\flite/../../tmp/1657002979138-jc0k.wav'
  ]
}

if i edit .env file STT and TTS set it true after if i given any text its automatically out from the server and show the below error

node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: spawn bin/flite/flite ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn bin/flite/flite',
  path: 'bin/flite/flite',
  spawnargs: [
    'Sorry, the "Greeting" skill from the "Leon" domain is broken!',
    '--setf',
    'int_f0_target_mean=115',
    '--setf',
    'f0_shift=1',
    '--setf',
    'duration_stretch=1',
    '--setf',
    'int_f0_target_stddev=15',
    '-o',
    'D:\\venv\\audio\\leon-develop\\leon-develop\\server\\dist\\tts\\flite/../../tmp/1657004169967-8wkh.wav'
  ]
}

**OS: Windows
node = v16.15.1
pipenv =  version 2022.5.2
Python 3.9.7**

✅ Found and valid

ℹ  Amazon Polly TTS
⚠  Amazon Polly TTS is not yet configured

ℹ  Google Cloud TTS/STT
⚠  Google Cloud TTS/STT is not yet configured

ℹ  Watson TTS
⚠  Watson TTS is not yet configured

ℹ  Offline TTS
✅ Found Flite at bin/flite/flite

ℹ  Watson STT
⚠  Watson STT is not yet configured

ℹ  Offline STT
✅ Found Coqui language model at bin/coqui/huge-vocabulary.scorer

.: REPORT :.
ℹ  Here is the diagnosis about your current setup
✅ Run
✅ Run modules
✅ Reply you by texting
⚠  Amazon Polly text-to-speech
⚠  Google Cloud text-to-speech
⚠  Watson text-to-speech
✅ Offline text-to-speech
⚠  Google Cloud speech-to-text
⚠  Watson speech-to-text
✅ Offline speech-to-text

✅ Hooray! Leon can run correctly

Can you correctly answer the questions?

i was trying to install but i could not .. 1. error was greeting module error and if STT & TTS error its showing , for TTS installation shows windows os not compatible one

i was trying to install but i could not .. 1. error was greeting module error and if STT & TTS error its showing , for TTS installation shows windows os not compatible one

You aren't replying to the questions correctly, hence I will close this issue. You can join us on the Discord for further investigation. This issue will be updated if any new result appears.


Can't adjust a statistic

The problem
In latest 2022.4.0 there is a very good function to adjust incorrect data (happens sometimes and it destroy the line graph)
But it did not work for the Easee entity ..._import_energy even if the icon shows that is possible

Version of Easee integration having the issue?
0.9.42
Version of Home Assistant Core having the issue?
2022.4.0
Anything in the logs that might be useful for us?
No response
Additional information
No response

My bad - it's only showing when select whole hour: 16:00, 17:00, 18:00 etc


[MM-28262] e2e/messaging: add T2168, T2169, T2170, T2171 and T2172

Summary
Add the remaining tests for the ticket :)
MM-T2168
MM-T2169
MM-T2170
MM-T2171
MM-T2172
Ticket Link
https://mattermost.atlassian.net/browse/MM-28262

I'm out of office this week, and so I requested reviews to Joseph.

Hi @isacikgoz - for T2170 and T2171, there was a recent change where "flagged" was changed to "saved" posts. Please help change all references of "flagged posts" to "Saved posts".
Otherwise looks good to me :) Thanks!

@lindy65 done 👍


Codetime not starting

It does not change even after hours of being open.

I've reinstalled it over a hundred times now and nothing has fixed it...

Thank you for reaching out to us and reporting this issue. Based on the information you have provided, it appears that you may have mistakenly accessed the wrong repository and found another plugin with the same name.


Need to upgrade to ionic-native 3x

We are unable to upgrade to ionic-native 3x because @ionic/cloud-angular uses this library and this library is still using an old version of ionic-native.
I guess this is technically a feature request, or an update on your plans on upgrading your ionic-native dependencies?

the same question, why ionic cloud doesn't use ionic-native 3?

If anyone is stuck on this we upgraded to 3x but left a reference in our package.json to ionic-native 2x .  Short term this works hopefully long term this gets migrated.  I started doing some if it but it's going to be fairly involved since they migrated everything to services.

I'm also using ionic-cloud and have upgraded to ionic-native 3x. It works, though there's no decrease in the size of the final build.
As a result, the build still has the full ionic-native old package which weights more than 10% of all the code base. In smaller projects the percentage would be much higher.
Guys, please upgrade ionic-cloud.,

Thanks we will be making the move soon, stay tuned

when is soon? ionic3 is already released

Any news on this @mlynch ? Would be awesome to be able to update to Ionic Native 3.x on my project with Ionic 3.

As part of that i am having issue that ionic-native has refference to old rxjs...

Any news on this one?

Can you guys try the version I just pushed to master? Removed the ionic-native dependency entirely, but you'll still need the corresponding plugins if you're using any (right now just for cordova device, then facebook and googleplus auth). You'll need to clone the repo and do a build to get the bundle

@mlynch  After build just copy to node_modules?

Actually sorry, try npm install @ionic/cloud@beta

@mlynch  perfect :) let me try

Also I published a beta of the @ionic/cloud-angular: npm install @ionic/cloud-angular@beta

@mlynch  i will test them today

@mlynch It works :) thank you

Beta worked for me too. Now on to the next build error. Thanks.

If it's working is there any status on when a new release will include ionic3?


CI assigments

Hi guys, i have just published a draft of the code inspection.
I have already covered the first 40 points of the assignment (till section 2.10 of checklist).
Check it out
After we'll decide who checks the residual 20 points.
Cheers

ok, i have just uploaded the v1.0 of CI

now i have just uploaded the complete v1.0 (with the "other problems" chapter).


Update README.md to reflect deskTool deprecation in Sanity v3.20.0

Update references of deskTool with structureTool
Remove import of StructureBuilder

Closes https://github.com/sanity-io/orderable-document-list/issues/84

Didn't see this sorry, done in #99


Fixing #1266 (in v1 and v2), possibly by reordering nextparents.

@agoose77, just reordering the parents to be monotonic fixes the case you found, but it breaks others. I'm going to leave this open until we know what to do about it.
I included @ianna in the branch name, thinking that this PR in v1 might involve a kernel equivalent to np.argmax, but it might not.

Yes, clearly this isn't as simple a fix as I had first hoped. Maybe I've just missed something, but I'll take another look at some point :)

This fails on the positional reducers, I believe, because argsort isn't guaranteed to preserve the order within equal elements. A quick check with sorter = np.lexsort(np.stack((arange(len(nextparents)), nextparents), axis=0)) seems to confirm this.
I'd quite like to try re-writing the kernel(s) in listoffsetarray so that we can make use of the guarantee that parents is ordered, but that's a bigger task than I have time for right now.

All the tests pass!
Wait—is it the case that the only thing we needed was to sort the parents with a stable sort? That's all that was wrong?

Note to self - if we do merge this, then we should definitely explain why we are using mergesort.

No kidding—so that somebody doesn't just say, "Oh, here's a faster sorting algorithm; I'll use that" (and maybe doesn't get segfaults because they're not on a Mac...).
This is definitely a faceplam moment. I'm still astonished.
So yes, we should think about merging this. I'm still keeping in mind your initial assessment that it's a band-aid on a system that's grown pretty complicated. I was talking with @ianna earlier today—she has a different solution so we should take a look at that.
Also, all of these intermediate arrays have a noticeable impact on performance (ak.sum is significantly slower than np.sum), and I've been thinking for a while that we should perhaps have a separate code path for the axis=-1 case. In #579, I was thinking that some of these arrays could be skipped without a separate code path, but we could skip a lot more of them with one. The downside is that looks like more complexity, having two ways to do something, but that all-important axis=-1 case would be less difficult to understand if it's handled in isolation. (If, for instance, someone is looking at it with a profiling tool, trying to see what can be trimmed.)
Then we'd be presenting only the axis != -1 case as something unavoidably complex and slow. As we've learned this week, it takes great effort to understand what it's doing.

Great! Well done @agoose77 ! Thanks!

I think we're all happy about this fix. There might be a more efficient solution, but this one is correct. I'll be merging it.

Thanks all! Note that we didn't fix v1 here, but maybe that's another PR/

I missed that. Now the title is less misleading.
Of course: to do v1, we'd need to run a sorting algorithm in C++. Maybe one of the argsort kernels can be used for that.


[vcpkg] Use last commit hash as VCPKG_VERSION

Describe the pull request
This PR added the last commit hash of vcpkg repository into the vcpkg version information.
Before this PR:
$ ./vcpkg version
Vcpkg package management program version 2020.02.04-unknownhash

See LICENSE.txt for license information.

With this PR:
$ ./vcpkg version
Vcpkg package management program version 2020.02.04-9b73fa681

See LICENSE.txt for license information.

What does your PR fix?
N/A

Which triplets are supported/not supported? Have you updated the CI baseline?
N/A

Does your PR follow the maintainer guide?
Yes.

Could you please edit and update the first comment of this PR:
2020.02.04-unknownhash->2020.02.04-nohash

Could you please edit and update the first comment of this PR:
2020.02.04-unknownhash->2020.02.04-nohash

If VCPKG_VERSION is not defined, then:
https://github.com/microsoft/vcpkg/blob/9b4535e7ee7673fb8515d1f4f256990423a0d952/toolsrc/src/vcpkg/commands.version.cpp#L14
Shall we always use unknownhash/nohash for consistency?

Shall we always use unknownhash/nohash for consistency?

Makes sense, to use unknownhash under all supported OS for consistency.

Our decision to use -nohash or -unknownhash instead of the commit id was for GDPR reasons.

Our decision to use -nohash or -unknownhash instead of the commit id was for GDPR reasons.

Hi! @dan-shaw Thanks for telling me that.
I will close this PR now.


Link logo in IPT to homepage (have warning about losing data)

Data loosing might be obsolete with #35.


Add windows support

fixes #111
see also #175

Thanks. I will fix the minor issues once it's in the master.

@mthenw Thanks! :tada: :rocket:


Migrate | Migrates project to Yew

Update: The new design is being developed in this PR: https://github.com/rust-lang-ar/design/pull/1.
When the design is ready a styles sheet package will be created and will be used for this migration.

Closed in favor of #7


The UI of the "About us" section is not responsive

I noticed that the user interface of the website is not responsive for mobile devices. I can make it responsive using grid and media queries which can improve the user experience.
Screenshot:

I have previously worked on the clone of Airbnb. The link of the frontend repo is given below.
https://github.com/Chelsea67jain/abode
@Priyaaa1 Can you allocate me this task under GSSoC24?

Hi @Priyaaa1
You can close this discussion as answered if the query is resolved

Hi @Priyaaa1
I would like to work on this issue . so please assign this task to me under the label gssoc24 and level1,2,or 3


"No module factory available for dependency type: ContextElementDependency" after migrating an universal project to Angular 7

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [ ] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 7.1.4
Node: 9.4.0
OS: linux x64
Angular: 7.1.4
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.11.4
@angular-devkit/build-angular     0.11.4
@angular-devkit/build-optimizer   0.11.4
@angular-devkit/build-webpack     0.11.4
@angular-devkit/core              7.1.4
@angular-devkit/schematics        7.1.4
@angular/cdk                      6.4.7
@angular/flex-layout              7.0.0-beta.22
@ngtools/webpack                  7.1.4
@schematics/angular               7.1.4
@schematics/update                0.11.4
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.20.2

Repro steps

With this package.json I execute the ng serve command:
{
  "name": "myapp",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^7.1.4",
    "@angular/cdk": "^6.4.7",
    "@angular/common": "^7.1.4",
    "@angular/compiler": "^7.1.4",
    "@angular/core": "^7.1.4",
    "@angular/flex-layout": "^7.0.0-beta.19",
    "@angular/forms": "^7.1.4",
    "@angular/http": "^7.1.4",
    "@angular/platform-browser": "^7.1.4",
    "@angular/platform-browser-dynamic": "^7.1.4",
    "@angular/platform-server": "^7.1.4",
    "@angular/router": "^7.1.4",
    "@ngrx/effects": "^7.0.0",
    "@ngrx/entity": "^7.0.0",
    "@ngrx/store": "^7.0.0",
    "@ngrx/store-devtools": "^7.0.0",
    "@nguniversal/common": "^7.0.2",
    "@nguniversal/express-engine": "^7.0.2",
    "@nguniversal/module-map-ngfactory-loader": "^7.0.2",
    "compression": "^1.7.3",
    "core-js": "^2.5.4",
    "domino": "^2.1.0",
    "negotiator": "^0.6.1",
    "ngrx-store-freeze": "^0.2.4",
    "rxjs": "~6.3.3",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.11.0",
    "@angular/cli": "~7.1.4",
    "@angular/compiler-cli": "^7.1.4",
    "@angular/language-service": "^7.1.4",
    "@ngrx/schematics": "^6.1.0",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.3.0",
    "express": "^4.16.3",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "ngx-i18nsupport": "^0.17.1",
    "protractor": "~5.4.0",
    "ts-loader": "^5.3.2",
    "ts-node": "^7.0.1",
    "tslint": "~5.11.0",
    "typescript": "~3.1.6",
    "webpack": "4.20.2",
    "webpack-bundle-analyzer": "2.9.2",
    "webpack-cli": "3.1.1"
  }
}

The log given by the failure

The error I have:
ng serve
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
 13% building modules 31/31 modules 0 active✖ ｢wdm｣: Error: No module factory available for dependency type: ContextElementDependency
    at addDependency (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:671:12)
    at iterationOfArrayCallback (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:186:3)
    at addDependenciesBlock (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:689:5)
    at iterationOfArrayCallback (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:186:3)
    at addDependenciesBlock (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:692:5)
    at Compilation.processModuleDependencies (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:700:4)
    at afterBuild (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:832:15)
    at buildModule.err (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:876:11)
    at callback (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:613:5)
    at module.build.error (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:653:12)
    at resolveDependencies (/home/templth/myapp/node_modules/webpack/lib/ContextModule.js:282:4)
    at ContextModule.result.resolveDependencies (/home/templth/myapp/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:503:25)
    at ContextModule.build (/home/templth/myapp/node_modules/webpack/lib/ContextModule.js:203:8)
    at Compilation.buildModule (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:618:10)
    at factory.create (/home/templth/myapp/node_modules/webpack/lib/Compilation.js:859:14)
    at hooks.afterResolve.callAsync (/home/templth/myapp/node_modules/webpack/lib/ContextModuleFactory.js:163:16)
/home/templth/myapp/node_modules/neo-async/async.js:14
    throw new Error('Callback was already called.');
    ^

Error: Callback was already called.
    at throwError (/home/templth/myapp/node_modules/neo-async/async.js:14:11)
    at /home/templth/myapp/node_modules/neo-async/async.js:2813:7
    at process._tickCallback (internal/process/next_tick.js:150:11)

Desired functionality

Mention any other details that might be useful

Have you tried remove the node_modules and reinstall everything from scratch?

I had this issue when upgrading from NG5 to NG7. What worked for me was to uninstall webpack (npm uninstall --save-dev webpack) and then run a "npm install --save-dev @angular-devkit/build-angular@latest". Doing this installs webpack as transitive dependency and ensures you only have one installed locally. I also upgraded to the latest Node version (10).

edwinquaihoi that worked for me thanks.

@edwinquaihoi thanks

webpack is included in angular devDepencies . Just remove it will work.

Thanks, @edwinquaihoi . This worked with Node v8.15.0

@edwinquaihoi Thanks!! worked for me!

@edwinquaihoi  Thanks.
- npm uninstall --save-dev webpack
- npm install --save-dev @angular-devkit/build-angular@latest
Work for me!

Thanks

then run a "npm install --save-dev @angular-devkit/build-angular@latest".

Ok this one is correct, just not as for today.
Angular 8 is out this week, I'm on 7 currently, and I just found a question on SO answered 10 hour ago (!) saying you need to do
npm install --save-dev<EMAIL_ADDRESS>This version worked for me.

npm install --save-dev<EMAIL_ADDRESS>ok 3q delete    "webpack": "^4.32.2",

@edwinquaihoi Thanks.

npm uninstall --save-dev webpack

npm install --save-dev @angular-devkit/build-angular@latest

Work for me!

npm uninstall --save-dev webpack
npm install --save-dev @angular-devkit/build-angular@latest
good !!!!

For Angular@8 I had to remove webpack-stream package as it uses another version of webpack than @angular-devkit/build-angular.


> arg 1 wanted type uint64 got [1]byte

When trying to do a comparison with two byte values, it uses > instead of b>.
TEALScript:
import { Contract } from '@algorandfoundation/tealscript';

class Demo extends Contract {
	call(): void {
		assert(hex('0xff') > hex('0x01'));
	}
}

This is solved by using assert(btobigint(hex('0xff')) > btobigint(hex('0x01')))
That works for me, but if someone's being explicit with hex should it be assumed?


Datetimepicker fontawesome support

Currently there is no way to set the datetimepicker's icons font to fontawesome using the constructor.
It's not a big deal because one can easily change it.
Also, I noticed that editor uses 'repeat' for redo, that icon is pro only, I think 'redo' is the best icon choice here.
I'm using Gijgo 1.9.11

ok. We will improve that in future versions. Thanks for the feedback.

Thank you!


[#78] Support string interpolation

This patch changes the lexer a bit. It uses startcodes to distinguish the states of tokens, which are in the string (<str>) or not in the string (<0> and <strexp>). The lexer also breaks down the string to separate Tschar (namely string characters) tokens instead of a single Tstring token.
The parser later combines Tschar into a string literal and concatenate it with interpolated expressions surrounded by \{ and }. The expression is stringified by the Java static method of string, namely String .valueof(), which is type-safe.
But I don't know if generating so many Tschar tokens will bring any side effects on the performance of lexer and parser. And this patch may perhaps introduce some bugs of parsing the string. Please help test and comment this patch. Thanks!

@zhiyuanshi George, would like to have a look?

Looks quite pro but I have yet to take a closer look.

@zhiyuanshi Thanks a lot! Actually I don't know if appropriate to change the lexer like this. Review it when you've got time. No hurry at all. :)

Tried out locally and it just worked as expected. Thanks for your contribution.


Fix #920 Rerunning quickstart

I've approved this PR, but I can't merge it because we require that commits are signed. Would you mind setting yourself up with signed commits? Sorry for the inconvenience, but definitely thank you for your contribution.
https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
You will have to either amend this commit or remove it and recommit with the signed commit. I'll leave this PR open in the meantime.

Okay understood @gberl002

@dsukruth sorry to bug you about this again, I see you got signed commits working. The branch won't let me merge unless all the commits are signed and only your most recent one is.
The easiest solution is probably just delete this branch and create a new one with only signed commits.

Cannot merge due to unsigned commits


Fix #9711 - Investigate OracleRelationalCommandBuilderFactory 'hacks'…

… in Oracle sample

Templatize some logic in RelationalCommandBuilderFactory.

Also, seems like there is still code that needs cleaning up here, so suggest we still leave #9711 open.


[CPF-824] Implement Routing Journal (take 2)

This PR adds the ability to create one or more runtime journals which are shared between a number of DAOs.

Shared journal records are prefixed with the service name followed by a literal dot (.). This makes the new journal format consistent with the old in that it is close to valid Javascript syntax.
Lazy-loaded services will be booted by RoutingJournal during replay. RoutingJournal will call x.get in a thread; this allows the service initialization to block until replay is completed.
Shared journal services provide an MDAO with the repository journal already replayed on it to the RoutingJournal, then wait for RoutingJournal to finish replay.

Replaced by CPF-157/Medusa


Tw 219 update python links

What was changed
Legacy links and a few comments linked to long-closed issues were updated or removed.
Why?
Recent docs changes make it necessary to check other repos for broken links.

CI is failing because the Python format doesn't match since the changes. Can run poe format to get files back formatted properly.

How do I configure that? I can't get it working on my end.

Follow the test instructions at the root of the repo for regular install (so poetry install) then follow the instructions for the test part which tell you how to install poe. Then you should be able to run poe format.

Okay, looks like the comments weren't back until just now. Should be good to go @cretz @flossypurse .

lgtm - wait for approval from @cretz though


C5208 correction?

From https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5208?view=msvc-160:
Unnamed classes within a typedef declaration can't have any members other than:
--non-static data members,
--member classes,
--member enumerations,
--and default member initializers.
It links to some P1766R1 proposal. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1766r1.html
There, it says in section 2.3:
We propose disallowing any case where a class is given a typedef name for linkage and its members include anything other than:
--non-static data members with no default member initializers (and no lambda-expressions in the type of the member)
--...
,,,
The current docs seem to say that default member initializers are allowed, when they're not. For example, this doesn't compile, which is right:
typedef struct {
int a = 2;
} test_struct;
,,,
I'd say you can combine that last bullet point with the first, just like the proposal did:
Unnamed classes within a typedef declaration can't have any members other than:
--non-static data members with no default member initializers
--...

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

ID: 90e07f3a-1c01-34ce-d1c6-81d1930b8558
Version Independent ID: ac120d98-3f23-2683-75e3-7519c6638f77
Content: Compiler Warning C5208, Error C7626
Content Source: docs/error-messages/compiler-warnings/c5208.md
Product: visual-cpp
Technology: cpp-diagnostics
GitHub Login: @corob-msft
Microsoft Alias: corob

@neobis001
Thanks for the report; the update should be visible now.


Add reward interstitial support

Adds support for rewarded interstitial ads

Looks good. I will merge. Thanks, and sorry to late!