Containers stuck in Pending / ContainerCreating after clean install

I just tried out microk8s tonight on a virtual ubuntu bionic beaver machine.
The virtual machine was started using Vagrant (2.0.2) + vagrant-libvirt (0.0.45) + libvirt (3.0.0), along side the following Vagrantfile:
Vagrantfile (Click to unfold)

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "generic/ubuntu1804"

  config.vm.synced_folder ".", "/vagrant", type: "nfs"

  config.vm.provision :shell, path: "provision.sh"

  config.vm.provider :libvirt do |libvirt|
      libvirt.memory = 12884
      libvirt.cpus = 8
      libvirt.cputopology :sockets => '1', :cores => '8', :threads => '1'
      libvirt.cpu_model = "qemu64"
  end
end

Where provision.sh contains:
provision.sh (Click to unfold)

#!/bin/bash
echo "Installing microk8s..."
snap install microk8s --edge --classic

echo "Ensuring microk8s is started..."
microk8s.start

until $(curl --output /dev/null --silent --head --fail http://localhost:8080); do
    echo "Waiting for microk8s..."
    sleep 1
done

echo "Listing microk8s nodes..."
microk8s.kubectl get nodes

echo "Enabling dns and dashboard..."
microk8s.enable dns dashboard

Bringing up the machine and provisioning goes well enough:
Console output (Click to unfold)

Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'generic/ubuntu1804' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default:  -- Name:              helm_default
==> default:  -- Domain type:       kvm
==> default:  -- Cpus:              8
==> default:  -- CPU topology:   sockets=1, cores=8, threads=1
==> default:  -- Feature:           acpi
==> default:  -- Feature:           apic
==> default:  -- Feature:           pae
==> default:  -- Memory:            12884M
==> default:  -- Management MAC:
==> default:  -- Loader:
==> default:  -- Nvram:
==> default:  -- Base box:          generic/ubuntu1804
==> default:  -- Storage pool:      default
==> default:  -- Image:             /var/lib/libvirt/images/helm_default.img (32G)
==> default:  -- Volume Cache:      default
==> default:  -- Kernel:
==> default:  -- Initrd:
==> default:  -- Graphics Type:     vnc
==> default:  -- Graphics Port:     -1
==> default:  -- Graphics IP:       <IP_ADDRESS>
==> default:  -- Graphics Password: Not defined
==> default:  -- Video Type:        cirrus
==> default:  -- Video VRAM:        256
==> default:  -- Sound Type:
==> default:  -- Keymap:            en-us
==> default:  -- TPM Path:
==> default:  -- INPUT:             type=mouse, bus=ps2
==> default: Pruning invalid NFS exports. Administrator privileges will be required...
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
verify_host_key: false is deprecated, use :never
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
verify_host_key: false is deprecated, use :never
==> default: Configuring and enabling network interfaces...
==> default: Installing NFS client...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
==> default: Mounting NFS shared folders...
==> default: Running provisioner: shell...
    default: Running: /tmp/vagrant-shell20181221-30616-1k8khqf.sh
    default: Installing microk8s...
    default: 2018-12-21T10:30:57-08:00 INFO Waiting for restart...
    default: microk8s (edge) v1.13.1 from 'canonical' installed
    default: Ensuring microk8s is started...
    default: Started.
    default: Waiting for microk8s...
    default: Waiting for microk8s...
    default: Waiting for microk8s...
    default: Waiting for microk8s...
    default: Waiting for microk8s...
    default: Listing microk8s nodes...
    default: NAME                     STATUS   ROLES    AGE   VERSION
    default: ubuntu1804.localdomain   Ready    <none>   1s    v1.13.1
    default: Enabling dns and dashboard...
    default: Enabling DNS
    default: Applying manifest
    default: service/kube-dns created
    default: serviceaccount/kube-dns created
    default: configmap/kube-dns created
    default: deployment.extensions/kube-dns created
    default: Restarting kubelet
    default: DNS is enabled
    default: Enabling dashboard
    default: secret/kubernetes-dashboard-certs created
    default: serviceaccount/kubernetes-dashboard created
    default: deployment.apps/kubernetes-dashboard created
    default: service/kubernetes-dashboard created
    default: service/monitoring-grafana created
    default: service/monitoring-influxdb created
    default: service/heapster created
    default: deployment.extensions/monitoring-influxdb-grafana-v4 created
    default: serviceaccount/heapster created
    default: configmap/heapster-config created
    default: configmap/eventer-config created
    default: deployment.extensions/heapster-v1.5.2 created
    default: dashboard enabled

However entering the virtual machine using vagrant ssh and executing microk8s.kubectl get all --all-namespaces yields:
Console output (Click to unfold)

NAMESPACE     NAME                                                  READY   STATUS              RESTARTS   AGE
kube-system   pod/heapster-v1.5.2-6bc7c4965d-5bpnl                  0/4     ContainerCreating   0          5m44s
kube-system   pod/kube-dns-6ccd496668-ctcws                         0/3     ContainerCreating   0          5m49s
kube-system   pod/kubernetes-dashboard-654cfb4879-vjtrj             0/1     ContainerCreating   0          5m44s
kube-system   pod/monitoring-influxdb-grafana-v4-6679c46745-c25xw   0/2     ContainerCreating   0          5m44s

NAMESPACE     NAME                           TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
default       service/kubernetes             ClusterIP   <IP_ADDRESS>     <none>        443/TCP             5m51s
kube-system   service/heapster               ClusterIP   <IP_ADDRESS>    <none>        80/TCP              5m44s
kube-system   service/kube-dns               ClusterIP   <IP_ADDRESS>    <none>        53/UDP,53/TCP       5m49s
kube-system   service/kubernetes-dashboard   ClusterIP   <IP_ADDRESS>    <none>        443/TCP             5m44s
kube-system   service/monitoring-grafana     ClusterIP   <IP_ADDRESS>   <none>        80/TCP              5m44s
kube-system   service/monitoring-influxdb    ClusterIP   <IP_ADDRESS>   <none>        8083/TCP,8086/TCP   5m44s

NAMESPACE     NAME                                             READY   UP-TO-DATE   AVAILABLE   AGE
kube-system   deployment.apps/heapster-v1.5.2                  0/1     1            0           5m44s
kube-system   deployment.apps/kube-dns                         0/1     1            0           5m49s
kube-system   deployment.apps/kubernetes-dashboard             0/1     1            0           5m44s
kube-system   deployment.apps/monitoring-influxdb-grafana-v4   0/1     1            0           5m44s

NAMESPACE     NAME                                                        DESIRED   CURRENT   READY   AGE
kube-system   replicaset.apps/heapster-v1.5.2-6bc7c4965d                  1         1         0       5m44s
kube-system   replicaset.apps/kube-dns-6ccd496668                         1         1         0       5m49s
kube-system   replicaset.apps/kubernetes-dashboard-654cfb4879             1         1         0       5m44s
kube-system   replicaset.apps/monitoring-influxdb-grafana-v4-6679c46745   1         1         0       5m44s

Running microk8s.kubectl describe pod --all-namespaces yields:
Console output (Click to unfold)

...
Events:
  Type     Reason                  Age                   From                             Message
  ----     ------                  ----                  ----                             -------
  Warning  FailedScheduling        7m7s (x3 over 7m17s)  default-scheduler                0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.
  Normal   Scheduled               7m7s                  default-scheduler                Successfully assigned kube-system/monitoring-influxdb-grafana-v4-6679c46745-c25xw to ubuntu1804.localdomain
  Warning  FailedCreatePodSandBox  56s (x26 over 7m2s)   kubelet, ubuntu1804.localdomain  Failed create pod sandbox: rpc error: code = Unknown desc = failed pulling image "k8s.gcr.io/pause:3.1": Error response from daemon: Get https://k8s.gcr.io/v2/: dial tcp: lookup k8s.gcr.io on <IP_ADDRESS>:53: server misbehaving

I'm unsure how to proceed with the debugging.

Please run microk8s.inspect and attach the generated tarball to this issue.

Attached: inspection-report-20181221_102700.tar.gz

Could be a DNS issue in the generic/ubuntu1804 vagrant box image. On hold until further notice.

Whatever the problem, it does indeed seem related to the DNS resolver.
Running:
echo -e "nameserver <IP_ADDRESS>\nnameserver <IP_ADDRESS>" > /etc/resolv.conf

Allows the pods to escape the Pending / ContainerCreating states and go to Running

Hi @Skeen
On the logs of snap.microk8s.daemon-kubelet I see:
E1221 10:26:50.847715   11194 remote_runtime.go:96] RunPodSandbox from runtime service failed: rpc error: code = Unknown desc = failed pulling image "k8s.gcr.io/pause:3.1": Error response from daemon: Get https://k8s.gcr.io/v2/: dial tcp: lookup k8s.gcr.io on <IP_ADDRESS>:53: server misbehaving

So I think, it must be something on host's name resolution. This is probably a test we could do during microk8s.inspect.
Thank you for reporting this.

Clearly this was a machine specific dns issue, I'm closing the ticket.

So I think, it must be something on host's name resolution. This is probably a test we could do during microk8s.inspect.

That would be good indeed to detect it within the microk8s.inspect.
Mine was similar:

Apr 25 18:30:04 beelink microk8s.daemon-kubelet[140181]: E0425 18:30:04.737350  140181 pod_workers.go:191] Error syncing pod a9aef299-ba72-4041-a562-f2cd79e8f99c ("heapster-v1.5.2-58fdbb6f4d-p5z8n_kube-system(a9aef299-ba72-4041-a562-f2cd79e8f99c)"), skipping: failed to "CreatePodSandbox" for "heapster-v1.5.2-58fdbb6f4d-p5z8n_kube-system(a9aef299-ba72-4041-a562-f2cd79e8f99c)" with CreatePodSandboxError: "GeneratePodSandboxConfig for pod "heapster-v1.5.2-58fdbb6f4d-p5z8n_kube-system(a9aef299-ba72-4041-a562-f2cd79e8f99c)" failed: open /etc/resolv.conf: no such file or directory"

I'm running Pi-hole in docker (migrating to microk8s), so this did the trick:
sudo echo "nameserver <IP_ADDRESS>" > /etc/resolv.conf


Responsive font-sizes implementation

Implementation of responsive font-size system RFS.
Link to feature-request:
https://github.com/twbs/bootstrap/issues/23053
CC: @XhmikosR, @kimamil, @mdo

Poly fluid sizing would be better. More fluent.

@mabar, this implementation doesn't require to define mappings for every font-size so it can easily be used by users who do not have much frontend experience.

@kimamil, the previous documentation might indeed be a little bit confusing since it didn't explain how the configuration works but explained how you disable RFS and use rem-units for font-resizing just like you can do now.
I've updated the documentation and tried to explain how every setting of the configuration changes the way the responsive font size is calculated. Is this a bit clear or does anyone has any suggestions on how to clarify this even more?


Node validation with bool property

Hi!
I have a node with a boolean attribute with presence validation:
class UserNode
  include Neo4j::ActiveNode

  property :email, index: :exact, constraint: :unique
  property :registered, type: Boolean, default: false,
   index: :exact

  validates_presence_of :email
  validates_presence_of :registered
end

But it fails the validation every time the  boolean property is set to false.
u = UserNode.new
=> #<UserNode email: nil, formatted_name: nil, linkedin_id: nil, pg_id: nil, registered: false>
u.update_attributes(email<EMAIL_ADDRESS>registered: false)
=> false
u.save
=> false
u.save!
=> Neo4j::ActiveNode::Persistence::RecordInvalidError: Registered can't be blank
u.update_attributes(registered: true)
=> true
u.save
=> true

Am I doing something wrong or is it a bug?
Thank you.

I think that this is expected behavior.  In ActiveSupport, present? means not blank?, and blank? is: "false, empty, or a whitespace string. For example, ”, ‘ ’, nil, [], and {} are all blank."
http://apidock.com/rails/Object/blank%3F
It seems like you probably want validates_inclusion_of:
http://stackoverflow.com/questions/4402693/how-to-validate-a-field-value-at-activerecord-model-in-ruby-on-rails
Feel free to reopen

Ok, it actually makes sense. Did a test using ActiveRecord and it has the same behaviour.
That naming convention is a bit tricky, though. But I can live with that :)
Thanks!


Link to MPOD

It seems all download links to AGPMC/MDOP are broken. Please update. (customer-reported issue)

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

ID: a122a57d-a0cd-cee5-f5bf-72ce35224fde
Version Independent ID: 12a5f10f-1e43-b64e-b8dc-9ba02ae0cf73
Content: AGPM 4.0 SP3
Content Source: mdop/agpm/agpm-40-sp3-navengl.md
Product: w10
GitHub Login: @jamiejdt
Microsoft Alias: jamiet

@bharatsuneja There are two links on that topic, but neither is broken.

@AndreaBarr The issue can be closed as mentioned links are not broken. Thanks.


test installation without anything embedded in the binary

the test should fail here, as this is using the unpatched code

    unable to finish preflight checks: unable to read host preflights: unable to get preflights for &{kotsadm %!s(bool=true) {{      %!s(int64=0) {{%!s(uint64=0) %!s(int64=0) %!s(*time.Location=<nil>)}} %!s(*v1.Time=<nil>) %!s(*int64=<nil>) map[] map[] [] [] []} { } %!s(*v1beta1.ClusterSpec=<nil>) %!s(*v1beta1.ClusterConfigStatus=<nil>)} %!s(*v1beta1.License=<nil>)}: failed to parse data from binary: failed to extract data from binary: failed to find start delimiter in executable

the error was successfully reproduced in CI


Fix + example

Fix updating fields when nonzero rows in matrix (after elimination of
boundary conditions)
Example, transient response of long bar under self-weight

Pull Request Test Coverage Report for Build 18

16 of 17 (94.12%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 97.436%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/LinearImplicitDynamics.jl
16
17
94.12%

Totals

Change from base Build 16:
0.1%

Covered Lines:
76

Relevant Lines:
78

💛  - Coveralls


Refactor the llama example to make it more in sync with the other ones.

Obvious limitations after the clean-up:

No more npy support, we may want to bring it back to life but at the VarBuilder level.
Higher memory usage.
Upsides:
Use the new practices, make things more uniform.

(note: the results when using cuda and safetensors are different from when using numpy weights or the mkl version and weirder, this was also the case prior to this PR, to be investigated)

Yes I know about the differences, which are indeed quite odd.
I know the layernorm have inv_freq in the transformers impl with numbers different from the standard implem.
I tried doing that modifications and that wasn't it :(

Hopefully this should be fixed now, for posterity this was caused by the data preparation in this script, this changed the "alignment" of the matrixes but not their shapes so was not causing any issue besides the poor results.


Fix FromSql composable stored procedure tests and forced client evaluation

@anpete @divega

Updated based on feedback, putting off the change to TestHelpers for now.

Rebased and updated copyright on new files
@divega @anpete

@mikary, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

More updates from PR feedback. Currently there are 10 tests (sync and async versions of 5 tests) for the non-composed scenario that are failing due to materialization / column order issues.
Do we want to continue with this PR / disable those tests or start adding materialization changes here?
@anpete @divega

I would prefer those changes to be added here and the tests to not stop passing.

I would definitely not use regex for this, considering it's such a trivial check. It's not even using a compiled regex, so it'll be super slow always (and using a ton of memory). And if you do make it be a compiled regex, you'll be taking away regex compilation slots from the app (the slots are few and precious).

Fwiw, I use this:
if (test.ToUpperInvariant().StartsWith("SELECT", StringComparison.Ordinal) && test.Length > 6 && char.IsWhiteSpace(test[6]))

I wouldn't use test.ToUpperInvariant(). because the string could be huge and that would create a copy of the whole thing, whereas we care only about the first few characters in it. Just a super naïve parser could work. Check for whitespace chars, then check for ignore-case "SELECT", then check for one more whitespace char.

Thanks, Eilon. Looking forward to the final implementation, I can probably benefit from it in my Little Tool!

Added a replacement for the regex, for those interested

:shipit:


⚠ Bofrost.at has degraded performance

In 87e9cb8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1016 ms

Resolved: Bofrost.at performance has improved in 99495c8 after 6 minutes.


Make enemies appear in the correct colour

My work on Greenflower has clued me in as to what parameter controls the colour for certain enemies (such as Mephiles' monsters and the variants of the Egg Gunner). It should be fairly simple to make the randomiser apply the correct colour to these enemies.

Seems to be the only int32 parameter on the enemy & enemyextra objects. Now it's just a matter of finding which number corresponds to what colour, should be very simple.

Old Issue, not connected to the in progress re-rewrite.


[SPARK-30221] Enhanced implementation of PrometheusPushGateWaySink

What changes were proposed in this pull request?
Enhanced implementation of PrometheusPushGateWaySink.
Why are the changes needed?
PrometheusPushGateWaySink supports metrics push to  PrometheusPushGateWay.
Does this PR introduce any user-facing change?
Added PrometheusPushGateWay class.
How was this patch tested?
None

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thank you for making your first contribution, @XuQianJin-Stars .

Could you explain the difference this from #19775?


[FLINK-22148][table] Planner rules should use RexCall#equsls to check…

… whether two rexCalls are equivalent

What is the purpose of the change
Fix bug in blink planer rules that RexCall#equals should be used to check whether two rexCalls are equivalent, which is aligned with what Calcite planner does.
Brief change log
Some rules which use toString to check equivalence of two rexCalls.
Verifying this change
Adding plan tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

@godfreyhe please have a look at this.


Mg decomposition completed

What problem does this solve?
Fixes #197
Context: Had incorrect descriptions previously
How does this solve it?
correct descriptions added. "implemented by" "types of module" information added
QA
NA

Resolved merge conflicts


Fixing let_and_return clippy warnings in objbool

Relevant linting rule https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return

@veera83372 this PR is now pretty old, the code has changed in other changes. Do you wish to create a new pull request and close this one?


Safari on iOS 17.4 will lose PWA capabilities in the EU

https://mastodon.social/@owa/111934184525302106
https://open-web-advocacy.org/blog/apple-on-course-to-break-all-web-apps-in-eu-within-20-days/
https://bugs.webkit.org/show_bug.cgi?id=268643
https://twitter.com/firt/status/1757704444991426812
https://mastodon.social/<EMAIL_ADDRESS>
Draft because things can still change, but to start the discussion about which entries and how to mark it. I feel like a region-locked or region-excluded feature warrants no support n with a note as a warning to devs. The alternative would be only partial a of course.
What do you think, Fyrd?
I'd love for this PR to be obsolete!
Any comments @jensimmons?

there we have it: https://techcrunch.com/2024/02/15/apple-confirms-its-breaking-iphone-web-apps-in-the-eu-on-purpose/

Well, it turns out it’s not a bug that broke iPhone web apps, also known as Progressive Web Apps (PWAs), in the EU. Following developer complaints and press reports about how PWAs were no longer functional in the EU after installing the most recent iOS betas, Apple has updated its website to explain why. No surprise, the tech giant is blaming the new EU regulation, the Digital Markets Act, for the change, saying that the complexities involved with the DMA’s requirement to allow different browser engines is the root cause.

For e.g. https://caniuse.com/mdn-api_notification_badge I asked over there: https://github.com/mdn/browser-compat-data/issues/22241

https://twitter.com/WebReflection/status/1758232341267333456:

I mean … even MDN or CanIUse now should have tables showing in which country a Web feature is enabled … this is madness 100%

Very unfortunate indeed. However I do think "partial support" is still the most accurate description. Though while geo-limited like this it would certainly not ever reach full support.
May be worth linking to an article with explanation in the note.

Mkay, adjusted.

Suggested revision to the note:

"7":"Not available in the European Union. See explanation."

Changing the wording regarding "only in the EU" or "only outside" or something is fine with me, but I strongly believe there should not just the stance of Apple be linked, but also an article contextualizing it.

There are many articles in the press about this. How are you deciding which one you want to link to?

https://techcrunch.com/2024/02/15/apple-confirms-its-breaking-iphone-web-apps-in-the-eu-on-purpose/ was simply the first I personally encountered. In the end I would leave that decision to Fyrd.

On further consideration let's just stick to the facts of the "what" rather than the "why". Have reverted back to the original line without links. Thanks for the input!


Hardcoded default-time-zone

It would be great to be able to set --default-time-zone either via an environment variable (e.g. the commonly used TZ if we had populated the timezone tables, or a more specific one like MYSQL_DEFAULT_TIME_ZONE).
Currently, this option is not overridable in my.cnf because the CLI arguments take precedence. The only way to use other time zone is appending --default-time-zone=... to run command, which only works because it overwrites the previously declared argument --default-time-zone="+00:00".
Is there any reason why you don't keep the default SYSTEM timezone? Am I missing something?

I don't remember why exactly but I think I remember there being an issue specific to Docker.. Perhaps /etc/timezone inside the container depends on who buile the image rather than the system where the container runs? It was something like that..  Would you like to try this and submit a PR?

You're right, unless you set the timezone in your Dockerfile, it's determined by the parent image - in that case, "+00:00" is a sensible default. I'll look into the PR soon :+1:


Most things do not work?

Hi,
I've tried working with this library but to me seems like most things do not work.
I'll just provide extra information
I am working on Windows 10
Python 3.10.6
Foremost installing this lib is very difficult on Windows. It is using ethash which is the problem. To install this you have to do some manual funky stuff found here: unable to install pyethash · Issue #131 · ethereum/ethash (github.com) for whoever encounters the same.
Then I tried to do this tutorial:
https://web3-ethereum-defi.readthedocs.io/tutorials/uniswap-v3-price-analysis.html
Just scraping the data already fails:
state = JSONFileScanState("/tmp/uniswap-v3-price-scan.json") fetch_events_to_csv(json_rpc_url, state, start_block=start_block, end_block=end_block)
the fetch_events_to_csv fails from the start because it needs the files
uniswap-v3-swap.csv
uniswap-v3-poolcreated.csv
uniswap-v3-burn.csv
uniswap-v3-mint.csv
Which I think should be created automatically if not existing. After creating them manually I still had difficulties. The program was not finding them in the /tmp folder which is the default folder according to the API.
It then also failed because it could not find "uniswap-v3-price-scan.json". Initially it at least detected there was no state, then afterwards it failed without state. Then I had to look into the code to actually see what is supposed to be in this file because I can't get the code to run without this state file.
Then I found out that uniswap-v3-price-scan.json just contains the block number...
After doing that, I finally get to scrape data which gets me into the following error:
 File "C:\Python310\lib\site-packages\eth_defi\uniswap_v3\events.py", line 435, in fetch_events_to_csv     raise RuntimeError(f"Could not decode {log_result}") from e RuntimeError: Could not decode {'address': '0x1f98431c8ad98523631ae4a59f267346ea31f984', 'blockHash': '0xe8228e3e736a42c7357d2ce6882a1662c588ce608897dd53c3053bcbefb4309a', 'blockNumber': 12369739, 'data': '0x000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000001d42064fc4beb5f8aaf85f4617ae8b3b5b8bd801', 'logIndex': '0x18', 'removed': False, 'topics': ['0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118', '0x0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984', '0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', '0x0000000000000000000000000000000000000000000000000000000000000bb8'], 'transactionHash': '0x37d8f4b1b371fde9e4b1942588d16a1cbf424b7c66e731ec915aca785ca2efcf', 'transactionIndex': '0x21', 'context': <eth_defi.uniswap_v3.events.TokenCache object at 0x000001DBE157D9F0>, 'event': <class 'web3._utils.datatypes.PoolCreated'>, 'chunk_id': 12369721, 'timestamp':<PHONE_NUMBER>}

We do not currently support Microsoft Windows.
If you want to use the library we recommend using through Windows Subsystem for Linux.


Staging next

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

wondered why my review went from ~100 to ~1000 rebuilds :(

these packages still need to be build https://hydra.nixos.org/eval/1560879#tabs-unfinished


Added Radix Sort in C++

Please review this code and please let me know if u want me to change something

Please merge this PR under Hacktoberfest!

Please review and merge this PR under Hacktoberfest Label! @avinash201199


strangly shows temp of video

Version of the custom_component

72543f6 ? latest
Configuration
2021.5.3, docker, debian
Describe the bug
A clear and concise description of what the bug is.

This is not my gpu temp. This is sun temp or whatever :)
I have only 1 gpu so cant say - it is problem for one or all

i have the same issue. excavator temp reads as 4718652*C

I have the same :) Do we need to device the value by 100.000? :D

for me divison by 100000 wouldnt work - numbers are different
may be there is a way to test throu api what nicehash data recives - and understand where error is?
@brianberg  any ideas?

ok, found that addon based on https://github.com/nicehash/rest-clients-demo
find issue https://github.com/nicehash/rest-clients-demo/issues/29
temp must be divided by 65536
for me it gives right temp

@tcate03 @agoncalvesos try this pls, if il work ok - i will make a pr

% is the modulus operator. I'm curious to understand why that's necessary. It seems as though the NiceHash API is giving you the wrong value. What is the significance of 65536?

Did NiceHash change their API responses for GPU temps? Seems like an easy change to make to the integration but I don't want to break it for everyone else.

dont know why, found it here https://github.com/nicehash/rest-clients-demo/issues/29
may be some difference between nice hash versions( i  use quick miner) or between versions of program?

@fufar I think you're right, it's a QuickMiner thing
https://github.com/nicehash/NiceHashQuickMiner/issues/146

ok, so can you make some fix?

I need to get my local test setup working again, but I think I can get a fix out for this, this week

tryed, looks like working ok for me

Latest version 0.1.1 should fix this issue, I'll leave this open until it's confirmed

for me - ok
@tcate03 @agoncalvesos ?

negative. Still seeing excavator temps of 65,535 C

Negative for me too, but at least the number is not as big.

@fufar using the low_temperature property works for me :) I have temperatures of 57ºC


Pos/Dim Thoughts and Exploration for V2 (and/or beyond)

What follows is all related to Pos and Dim, but are more like ideas and discussion prompts. None of these things are bugs, but rather are design details that I think are worth considering. Some are based on C# design guidelines, and some are more opinionated, based on my experience with TG and TGD from primarily the consumer side, but also the maintainer side.
Soooo let's begin with a whopper!

All of the Pos and Dim types really are value types.

Except for the inheritance of a couple of members and implicit casting from more derived types to the base Pos type, why are these reference types at all?

The inheritance can be solved with interfaces.
Equality operators are not implicit on non-record structs, so the accidental inconsistency goes away right away.
A readonly record struct would be immutable and have implicit value equality of all members auto-generated by the compiler.
I know a concern was voiced before about reflection at one point as a reason to avoid making anything any kind of struct, and I didn't say anything then because I wanted to check myself first, but what is the actual concern there?

In dotnet land, structs are still just another kind of Type and can be reflected on like anything else. Properties, fields, methods, attributes - you name it - it's all there, just as with a reference type.
You just need to be aware that you are dealing with a value type, with everything that means[^2], since the compiler isn't doing it for you to the degree it does when using first-class non-reflected value types.
All you have to do to be sure you don't lose implicitly-made copies of mutated immutable types, during reflection, is just box the struct before accessing it, either in an interface or even just with plain ol' object. The reflection methods are all going to return object anyway, so this isn't even a hit to performance. Boxing it yourself makes the compiler grab it and deal with it like you're used to dealing with any other boxed value type. Ideally, if there's a public interface defined that the struct implements, you can even just cast it to that once you have the struct, and just interact with it strongly-typed from there (just as you would with a reference type).

With record structs[^1], you are able to use the with operator for non-destructive mutation, when needed. That syntax is hella nice and is nearly identical to regular object initializers. The difference is the compiler generates the copy constructor for you (by-value copy constructor), and the with statement lets you change as many or as few properties as you like, including just an empty block (myRecordStructInstance with {}) which is just a straight-up copy.

Some people call the copy on these a "shallow" copy and the equality on these "shallow" equality.

It's not.
The auto-generated equality on a record struct is the most literal interpretation of by-value equality there is, in the context of c#.  Value type members are compared by value, without reflection, and reference type members are treated as if the reference itself is the value (not the object it points to), so they have the "value" of their references compared (which is to say that's reference equality, which is what should be expected for a reference type member of a value type).
The copy works similarly to the equality, but for copying instead of comparison.

A structural thing, but from a more pragmatic view of current implementation, where benefits can be realized with surprisingly little actual work:

I really can't find a reason for the various Pos and Dim types to be both nested classes and descendants (ie inheritors) of their parent types, as they currently exist.

Nested classes of Pos and Dim need no direct instance-level access to any members of their parent types.
The nested classes inherit from their parent types anyway, so any access they need can be handled via inheritance.
There's a small amount of grey area but, for the most part, everything about those being nested types goes against the C# and dotnet design guidelines (nested types aren't CLS-compliant, for one)

It's also, as currently implemented, completely redundant with inheritance, but brings along baggage that solely using inheritance doesn't have.

Just as proof of concept, using the current v2_develop branch as base, I promoted all of the nested types of Dim and Pos to internal classes, just to see how badly that would break everything.

ReSharper took care of removing the class qualifiers, which were the only thing different between them being nested and not.
All tests continued to pass
Took my 4 year old laptop about a minute and a half to scour the entire solution for references and fix them all up automatically.
All I had to do manually was add some usings, which I did via global usings in the project files, and that's only because I also moved them to their own namespace as a further attempt to confuse and break things.

The attempt to confuse and break things failed - the project, samples, and tests all continued to build and pass.

This was an independent PoC from the value type proposal. They're still classes in this modified code, but Pos and Dim are abstract and their previously-nested classes are all now peers, just inheriting from the abstract bases.
The generated assembly in debug mode was about 8kB smaller than the original, with just that set of changes being made. It does touch 150 files, though (most are just removing now-invalid using statements).

And, as an even less impactful change/thought (which I've also tried out):

Pos and Dim themselves, in their current state (ignoring the value vs reference topic and everything else above), really are effectively abstract classes that just don't have abstract keywords on them.

Users can't instantiate them directly, in a meaningful way. The default constructor for Pos has no parameters and can only yield a basic Pos object, which is pretty useless on its own, not having any local concept of a value by itself, and if instantiated directly via new Pos() can't be cast to the other types, because it's the base and covariance doesn't work that way without generics, which aren't relevant here.
Just how sure am I that Dim and Pos can be abstract? Very! Simply adding abstract to the Pos class required no other changes to the code to build and pass all tests (aside from the 2 that just call the constructor and nothing else).
Even making Anchor be abstract instead of just virtual, to force descendants to implement it, caused no issues, and proved to me that Pos.Anchor always yielding zero isn't actually a problem because it never happens and can't ever happen anyway. Plus, it's internal, so users can't call it without reflecting anyway, so it's a prime candidate for refactor.
Those two classes are so abstract they almost should just be interfaces. I could make an argument both ways for that though, and I usually do both in projects, because abstract bases and interfaces each have value/use cases, and the effort of making an interface in addition to an abstract base class is basically zero (literally just a few mouse clicks, using ReSharper). Makes mocking for testing easier, too.
If their nested types were to be turned into value types, of course the abstract base class option goes away, since a struct can't inherit from a class and vice versa, but interfaces are still there and can be used instead.

And then going beyond TG itself, into tools that consume it and generate code using it, such as TGD:

Have we ever considered not even having different types for those, and just doing something more similar to how WPF, WinForms, or even HTML/CSS handle it?

Just using WPF as an example, size and position are basically a conditional conglomeration of the following, within a given non-flow container:

Explicit width and height, as highest priority for size. If not specified or only partially specified, missing components of it are calculated based on everything else.
Alignment enums (which are essentially analogous to a combination of what XCenter, XAnchor, and other similar types in TG do)
Absent those, or in conjunction, as appropriate:

Margins
Padding
Borders
A concept of Z-ordering
And that's about it, for the most part. There are other more esoteric things, but Margin and alignment cover most cases, and Width and Height on top of those must get you to like 99+% of use cases. And then when we consider this is a TUI library, with inherently simpler layouts, more than that probably isn't necessary.

I'd likely limit support to explicit sizing

I've had ideas, for some time now, about adapting a very stripped down version of XAML as a markup language that can be translated to Terminal.Gui, largely based on some concepts in TerminalGuiDesigner, but complexities such as the current Pos/Dim implementation[^3] make that a daunting task.
[^1]: Or regular structs or record classes, but I'm focusing on just one thing here or this will get even bigger than it already is.
[^2]: Such as potential immutability and the consequences of that like copy-on-write (I say "potential" because you can make mutable structs, if you like to be crazy. Also, record structs are mutable by default for some reason I can't fathom, unless you declare them as readonly record struct)
[^3]: Plus details such as type and member visibility, which would either need broader exposure or (less ideally) require proxy/wrapper types to fake everything via reflection and other runtime trickery against Terminal.Gui under the hood or even not using Terminal.Gui at all until the actual creation of syntax trees and such for C# code generation. Obviously I'd much rather duplicate as little effort as possible, especially since this project represents years of several people's fantastic hard work.

I'm not smart enough yet to really grok all of this.
I'm also not confident in our Pos/Dim/SetRelativeLayout/LayoutSubviews unit test coverage.
Therefore, my vote is "Go for it! But before you do, we must significantly up our unit test game in this area."
Also, wait until I get Dim.Auto done so I'm not working on a moving target. https://github.com/gui-cs/Terminal.Gui/pull/3062
In my work on Dim.Auto so far I have found several places where I don't think anyone understood the codebase. I found several cases that were clearly broken, but nobody noticed (e.g. Pos.Center() + Pos.Absolute())). There's another dragon lurking that I have a bad feeling about having to do with Dim.Fill and Pos.Center...

I'd be happy to work on some TDD for those types, once I'm finished with the work I'm doing with TerminalGuiDesigner's test project.
They're pretty critical core classes, so I wholeheartedly agree they should be tested excessively. :)
I imagine the work on the TerminalGuiDesigner test project will probably take me another week or two, if I'm able to keep up my current pace.

See

#3410

It makes progress on cleaning up these classes.

Now that #3480 is merged and #3415 is almost ready, it would be awesome if this Issue were updated with a clear list of the remaining issues you have related to all this.

Yeah I actually think this one is basically obsolete, as some things have changed over time.
The fundamental thoughts are still more or less the same, but this was originally intended to be more of a discussion and brainstorming prompt than anything.
For actual work, smaller bite-sized pieces like the interface issue draft I started are more my intent for this.
I may actually shift to that stuff for tomorrow, since EV validation for the new org code signing cert is going to take a bit of time and then the physical usb token/essentially smart card (FIPS 140-3...woooo... 🙄) is sent by FedEx ground from Ontario to Arizona once that's all done. So I won't be publishing refactored NuGet packages for a few more days, still, at least, while I'm waiting on that.


[Event Request] Report 98 - "Date Compress General Ledger" - OnSummarizeEntryOnBeforeDeleteGLEntry

Please add a new integration event OnSummarizeEntryOnBeforeDeleteGLEntry in Report 98.
local procedure SummarizeEntry(var NewGLEntry: Record "G/L Entry"; GLEntry: Record "G/L Entry")
var
    GLItemLedgRelation: Record "G/L - Item Ledger Relation";
    GLEntryVatEntrylink: Record "G/L Entry - VAT Entry Link";
    GLEntryVatEntrylink2: Record "G/L Entry - VAT Entry Link";
begin
    with GLEntry do begin
        NewGLEntry.Amount := NewGLEntry.Amount + Amount;
        NewGLEntry."VAT Amount" := NewGLEntry."VAT Amount" + "VAT Amount";
        NewGLEntry."Debit Amount" := NewGLEntry."Debit Amount" + "Debit Amount";
        NewGLEntry."Credit Amount" := NewGLEntry."Credit Amount" + "Credit Amount";
        NewGLEntry."Additional-Currency Amount" :=
          NewGLEntry."Additional-Currency Amount" + "Additional-Currency Amount";
        NewGLEntry."Add.-Currency Debit Amount" :=
          NewGLEntry."Add.-Currency Debit Amount" + "Add.-Currency Debit Amount";
        NewGLEntry."Add.-Currency Credit Amount" :=
          NewGLEntry."Add.-Currency Credit Amount" + "Add.-Currency Credit Amount";
        if RetainNo(FieldNo(Quantity)) then
            NewGLEntry.Quantity := NewGLEntry.Quantity + Quantity;

+       OnSummarizeEntryOnBeforeDeleteGLEntry(NewGLEntry, GLEntry);

        Delete;

        GLItemLedgRelation.SetRange("G/L Entry No.", "Entry No.");
        GLItemLedgRelation.DeleteAll();

        GLEntryVatEntrylink.SetRange("G/L Entry No.", "Entry No.");
        if GLEntryVatEntrylink.FindSet then
            repeat
                GLEntryVatEntrylink2 := GLEntryVatEntrylink;
                GLEntryVatEntrylink2.Delete();
                GLEntryVatEntrylink2."G/L Entry No." := NewGLEntry."Entry No.";
                if GLEntryVatEntrylink2.Insert() then;
            until GLEntryVatEntrylink.Next() = 0;
        DateComprReg."No. Records Deleted" := DateComprReg."No. Records Deleted" + 1;
        Window.Update(4, DateComprReg."No. Records Deleted");
    end;
end;

New integration event:
[IntegrationEvent(false, false)]
local procedure OnSummarizeEntryOnBeforeDeleteGLEntry(var NewGLEntry: Record "G/L Entry"; GLEntry: Record "G/L Entry")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add alpine 3.12 release

Adds the recently released Alpine 3.12

Everything okay. Thank you for the PR and the support of the project.


add cmd check-greenwave-cvp-test

Add command check-greenwave-cvp-test to check Greenwave CVP test result for all advisories

command help

oar -r 4.12.19 -v check-greenwave-cvp-tests -h
Usage: oar check-greenwave-cvp-tests [OPTIONS]

  Check Greenwave CVP test results for all advisories

Options:
  -h, --help  Show this message and exit.

command output

oar -r 4.12.19 check-greenwave-cvp-tests
2023-05-26T13:23:34Z: INFO: task [Greenwave CVP testing] status is changed to [In Progress]
2023-05-26T13:24:31Z: INFO: checking Greenwave CVP test for advisory 114720 ...
2023-05-26T13:24:35Z: INFO: Greenwave CVP tests in advisory 114720 are all passed
2023-05-26T13:24:35Z: INFO: checking Greenwave CVP test for advisory 114719 ...
2023-05-26T13:24:39Z: INFO: Greenwave CVP tests in advisory 114719 are all passed
2023-05-26T13:24:39Z: INFO: checking Greenwave CVP test for advisory 114721 ...
2023-05-26T13:24:42Z: INFO: Greenwave CVP tests in advisory 114721 are all passed
2023-05-26T13:24:42Z: INFO: checking Greenwave CVP test for advisory 114718 ...
2023-05-26T13:24:44Z: INFO: advisory 114718 does not have Greenwave CVP tests
2023-05-26T13:24:44Z: INFO: checking Greenwave CVP test for advisory 114722 ...
2023-05-26T13:24:46Z: INFO: advisory 114722 does not have Greenwave CVP tests
2023-05-26T13:24:47Z: INFO: task [Greenwave CVP testing] status is changed to [Pass]

command output with debug flag

oar -r 4.12.19 -v check-greenwave-cvp-tests
2023-05-26T13:26:01Z: INFO: task [Greenwave CVP testing] status is changed to [In Progress]
2023-05-26T13:26:59Z: INFO: checking Greenwave CVP test for advisory 114720 ...
2023-05-26T13:27:03Z: DEBUG: Greenwave CVP test 1479284 status is PASSED
2023-05-26T13:27:03Z: DEBUG: Greenwave CVP test 1479285 status is PASSED
2023-05-26T13:27:03Z: DEBUG: Greenwave CVP test 1479286 status is PASSED
2023-05-26T13:27:03Z: DEBUG: Greenwave CVP test 1479287 status is PASSED
2023-05-26T13:27:03Z: DEBUG: Greenwave CVP test 1479288 status is PASSED
2023-05-26T13:27:03Z: DEBUG: Greenwave CVP test 1479289 status is PASSED
2023-05-26T13:27:03Z: INFO: Greenwave CVP tests in advisory 114720 are all passed
2023-05-26T13:27:03Z: INFO: checking Greenwave CVP test for advisory 114719 ...
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479333 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479334 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479335 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479336 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479337 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479338 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479339 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479340 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479341 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479342 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479343 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479344 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479345 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479346 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479347 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479348 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479349 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479350 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479351 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479352 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479353 status is PASSED
2023-05-26T13:27:07Z: DEBUG: Greenwave CVP test 1479356 status is PASSED
2023-05-26T13:27:07Z: INFO: Greenwave CVP tests in advisory 114719 are all passed
2023-05-26T13:27:07Z: INFO: checking Greenwave CVP test for advisory 114721 ...
2023-05-26T13:27:11Z: DEBUG: Greenwave CVP test 1479364 status is PASSED
2023-05-26T13:27:11Z: DEBUG: Greenwave CVP test 1479365 status is PASSED
2023-05-26T13:27:11Z: DEBUG: Greenwave CVP test 1479366 status is PASSED
2023-05-26T13:27:11Z: INFO: Greenwave CVP tests in advisory 114721 are all passed
2023-05-26T13:27:11Z: INFO: checking Greenwave CVP test for advisory 114718 ...
2023-05-26T13:27:12Z: INFO: advisory 114718 does not have Greenwave CVP tests
2023-05-26T13:27:12Z: INFO: checking Greenwave CVP test for advisory 114722 ...
2023-05-26T13:27:14Z: INFO: advisory 114722 does not have Greenwave CVP tests
2023-05-26T13:27:15Z: INFO: task [Greenwave CVP testing] status is changed to [Pass]

/assign @jianzhangbjz @kuiwang02 @wewang58 @Xia-Zhao-rh

/lgtm

/retitle OCPQE-17488 add cmd check-greenwave-cvp-test


Show bookmarks as home Tab's content

When starting browser, it should show bookmarks instead of empty page. This makes it easier to visit favorite sites. Currently home tab is just empty. It should show bookmarks as content and keep the address bar visible (unlike going to bookmarks).

Thanks for the idea!
We know the new tab page is a bit empty at the moment, and we have some plans on how we're going to make that more useful. We probably don't want to show bookmarks straight away, as currently that would make it harder for people who are looking to search or type a URL, but easier access to bookmarks definitely makes sense.
I'll pass on your suggestion to the team, and close out this issue for now. Thanks again!


Sunflares aren't rendering

https://i.imgur.com/z7q5E3X.mp4
I think this issue has been present for all the RC builds. It looks like you're getting close to a final release, though, so congrats. I don't think there are any bugs that you aren't aware of at this point.

Fixed by 6896f50caadf7bbccc994f49d2e3e0fb58e0489c and 09a262a8ac32175b4cff23bdc69096aa21c393e6 in v1.1 branch.


initial configure.py.  uses python-config --ldflags if not anaconda

first attempt at using pythonV.v-config.
only tested on ubuntu

The conf branch seems to be missing a configure script? I assume we want to wrap configure.py?

@awilson-kx undecided about ./configure && make test.
we might simplify the process to
$ ./install
or
> install.bat
with options
  -d <dir>
  -g  equivalent to -d $QHOME
  -r  refresh any cached config

any ideas about best practice in other fusion interfaces?


CII Badge: Generate list of externally maintained dependencies

The project MUST list external dependencies in a computer-processable way.  This could be done via a yaml file describing the external dependencies.

This  is about host tool dependencies or libraries that would be needed to build zephyr, which does not exist in this case, it is not about external components as we maintain them in ext/


[cloud_firestore] grpc_call.h:23:10: fatal error: 'grpcpp/client_context.h' file not found

Hello everyone,
I'm trying to use cloud firestore. When I try to build and run my app in iOS simulator, I'm getting build error.
Steps to reproduce
Flutter doctor result
Eren-MacBook-Pro:testappsrepo erensimsek$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.4)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.4)
[✓] Connected device (1 available)

• No issues found!

pubspec.yaml
environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  firebase_core: ^0.4.0+1
  flutter_swiper : any
  firebase_analytics: ^4.0.2
  firebase_auth: ^0.11.1+3
  cloud_firestore: ^0.12.9+3
  #flutter_facebook_login: ^1.1.1
  shared_preferences: any

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  intl: ^0.15.7
  datetime_picker_formfield: ^0.4.2
  flutter_cupertino_localizations: ^1.0.1

dev_dependencies:
  flutter_test:
    sdk: flutter`

and when I run it with  flutter run :
Xcode build done.                                           11.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target. (in target 'Runner')
    In file included from /Users/erensimsek/testappsrepo/ios/Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/remote/write_stream.mm:17:
    In file included from /Users/erensimsek/testappsrepo/ios/Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/remote/write_stream.h:30:
    In file included from /Users/erensimsek/testappsrepo/ios/Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/remote/grpc_connection.h:30:
    /Users/erensimsek/testappsrepo/ios/Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/remote/grpc_call.h:23:10: **fatal error: 'grpcpp/client_context.h' file not found
    #include "grpcpp/client_context.h"**
             ^~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build systemnote: Planning buildnote: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone Xʀ.

The warning message is not important but I'm getting fatal error.
By the way I tried some alternative solutions as pod update ,  flutter clean,  flutter build ios,
Thank you

The same happening here, any idea?

Any news?? Anyone?

Any news?? Anyone?

I think, we are alone :(

Hey, as part of our on-going work for #2582, this should have been resolved in our Firebase Firestore rework (#2913) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you


More Cosmos Pylint work

This is a follow-on to #6851 These Pylint issues were fixed in this PR:

  64  C0301  Line too long (126/120) (line-too-long)
  23  W0622  Redefining built-in 'id' (redefined-builtin)
  24  C1801  Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  13  C0411  standard import "import base64" should be placed before "import six" (wrong-import-order)
   4  R1710  Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
   4  C0123  Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
   3  C0200  Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
   1  R1720  Unnecessary "else" after "raise" (no-else-raise)

Additionally black -l 120  was re-run to keep everything consistent.
These are the current remaining pylint issues:
  56  W0212  Access to a protected member _useMultipleWriteLocations of a client class (protected-access)
  15  R0201  Method could be a function (no-self-use)
  11  C0301  Line too long (126/120) (line-too-long)
   6  W0201  Attribute '_database_link' defined outside __init__ (attribute-defined-outside-init)
   4  R0902  Too many instance attributes (11/10) (too-many-instance-attributes)
   3  R0911  Too many return statements (7/6) (too-many-return-statements)
   3  W0231  __init__ method from base class 'dict' is not called (super-init-not-called)
   2  R0904  Too many public methods (86/20) (too-many-public-methods)
   2  W0223  Method '_fetch_next_block' is abstract in class '_QueryExecutionContextBase' but is not overridden (abstract-method)
   2  W0703  Catching too general exception Exception (broad-except)
   1  E1101  Instance of 'Exception' has no 'message' member (no-member)
   1  R0912  Too many branches (40/20) (too-many-branches)
   1  R0915  Too many statements (89/50) (too-many-statements)
   1  R1702  Too many nested blocks (6/5) (too-many-nested-blocks)

The remaining too-long-line are long type comments, I am not sure (offhand) the best way to handle those. I think there is a "per-argument" syntax that could be used.
Most of the other remaining issues are things I would want to get input from the Cosmos team about.
I would recommend again merging this PR when it is green and tacking another chunk in a separate PR.
cc @srinathnarayanan @annatisch

Can one of the admins verify this patch?

Merging this now, will submit final PR for remaining pylint issues.


Codegeex2 tokenization fix

added fixed tokenization file to example
addressed issue in readme, added replace file
deleted transformers version requirements

add a new folder "codegeex-6b", and put tokenization file into it, then update related link path.


Full screen editing experience

At the moment Monokle limits me to the right tab section for editing.
I would love to be able to have a full screen "focus mode" experience for editing my files instead of the same real estate assigned to it:

@ayushgml this could be another issue that you could work on

@ayushgml expect some design for this tomorrow morning CET time. I had UI work for quickly expanding the editor in the IDE view - but needs some adjusting for the cluster mode.

Find UI design and UX notes here: https://www.figma.com/file/HOx9fsNedtkR2G0bCpHDX9/Resource-actions%2C-previewing-and-more?type=design&node-id=1052%3A9282&t=GRwoA81GZhm0O54t-1
also related to https://github.com/kubeshop/monokle/issues/4034

Heyy @julioramosest ! I have a doubt. In the following line:
"user should find their panes as they had previously set up." So this happens when the user resizes or when the user exits/enters full screen mode?

Understood!

@devcatalin @olensmar The following video is the look till now:
https://github.com/kubeshop/monokle/assets/72748253/c7a9c1ab-0c75-4a9c-b9da-163c457d6460
I am able to set the maximum height( View height - Header of app - Header of Dashboard) of the Drawer which is child of TableView by including a margin-top: -65px in Tableview. Tableview has 2 children - Table and Drawer. So basically by shifting tableView up by 65px. I shifted both the Table and Drawer up by 65px. But due to the search bar hiding, I added a margin-top:65px to Table. Outcome of this the final position of table is unchanged and the Drawer is shifted up(which we want).
Now I am working on styling the CSS to get exactly the desired look. I'm running into some issues but I will fix it.I will keep you guys updated
@julioramosest I have included the "memory" that you previously mentioned.


Create utility function to ensure folder exists for saving a file

This pattern is repeated frequently across the codebase Path(output_filename).parent.mkdir(parents=True, exist_ok=True). It's annoying and confusing to write all the time so it should be a utility function.

closed by 5f58a24


rx.input.on_blur gives JS warning missing on_change

Describe the bug
Warning: You provided a value prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultValue. Otherwise, set either onChange or readOnly.
To Reproduce
rx.input(             value=VarState.name,             on_blur=VarState.set_name         ),
Expected behavior
Accept on_blur without on_change as in the example https://reflex.dev/docs/library/forms/input/#using-event-handlers
Specifics (please complete the following information):

Python Version: 3.9.2
Reflex Version: 0.4.2
OS: debian 11
Browser (Optional):

This was caused by the value property, not because of the on_blur.

default_value should be used with on_blur
if you need to set the value programmatically, assign an id to the input and return rx.set_value(id, "new value") from an event handler (or event trigger)


Wrong or no keyboard input into X11 applications via remote desktop

Version
Microsoft Windows [Version 10.0.19043.2364]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) microsoft/WSL#1 SMP Wed Nov 23 01:01:46 UTC 2022
Distro Version
Debian GNU/Linux 11 (bullseye)
Other Software
X11-apps: xterm
chromium
MS Remote Desktop 10.8.0 (2032)
macOS Ventura 13.2
Repro Steps
Connect via Microsoft Remote Destop to Windows-PC from MacOS Ventura 13.2. MS Remote Desktop App. Start wsl by command in a powershell and then xterm or chromium. Try to enter characters into the resulting xterm- or chromium windows. Return works, but any other character creates no response.
Expected Behavior
normal input of all characters into the xterm window or the chromium address field.
Actual Behavior

Result after hitting some characters and the return-key
No characters are shown, except the return key works in an X11 window
Diagnostic Logs
No response

@dh7adr, would you please share /mnt/wslg/weston.log? thanks!

/mnt/wslg/weston.log on a fresh started system with one xterm running.
weston.log

@dh7adr, thanks, the log indicates you are using German keyboard layout, would you please check if German keyboard layout is used both Mac and the remote Windows-PC? Although even keyboard layout does not match, I believe alpha-numeric keys still should work as they share same scan code. So if you type any alpha-numeric key, say 'q' or 'w' to xterm, does it log any errors to weston.log? thanks!
[16:16:34.022] kbd_layout:0x407 kbd_type:0x4 kbd_subType:0x0 kbd_functionKeys:0xc
[16:16:34.022] convert_rdp_keyboard_to_xkb_rule_names: matching model=pc105 layout=de variant=(null) options=(null)

@dh7adr, while I don't have Mac, but I was able to reproduce the issue using remote desktop on iPad, I willl look into further, thank you for reporting the issue, thanks!

@dh7adr, you should be able to workaround this by using "Scancode" input from Connection menu, Keyboard mode, then check "Scancode". Please let us know how it goes, thanks!

Hello,
great! This works for me. Scancode is a good workaround.
I´m using the german keyboard layout at every computer. There are some differences between iMacs and PCs, but this is only an issue with some special shifted characters and functions.
Thanks,
Andreas

Scancode

Is there a Scancode option on the Windows Remote Desktop Clinet on iPad？

I have this same issue with RDP on an iPad. Also seems to affect the Hyper-V console.

Yup, same (bump)

Bump too… I’ve been watching this issue for a year, and right now my workaround is to VNC into a native Linux machine and execute xfreerdp from there. But that’s certainly annoying!

Just bumped up against this issue on iPad / WSLg.  Is there any update / workaround available / in the works?

Hello, I too am hitting this when using the MS RDP Application.  Where is this 'scancode' option and is there a more permenant fix in the works?


New Crowdin updates

:tada: This PR is included in version 2.3.16 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


CodeGPT VSCode

Perhaps this is already an issue related to another open one. But got this response: "OpenAI API Response was: Error [ERR_SOCKET_CLOSED]: Socket is closed" when trying to ask codeGPT to generate a code.

This could be due to a variety of reasons, such as an unstable internet connection or a firewall blocking the connection.
Could you try with another internet connection to discard these reasons


SettingNumeric only accepts ints

SettingNumeric only accepts ints:
class SettingNumeric(SettingString):
    def _validate(self, instance):
        self._dismiss()
        try:
            self.value = int(self.textinput.text)
        except ValueError:
            return

IMHO this is inconsistent with the fact that NumericProperty accepts ints and floats.
Or SettingNumeric should be changed to also accept floats or it should be split into SettingInteger, SettingFloat, ...
Something like this:
class SettingNumeric(SettingString):
    def _validate(self, instance):
        self._dismiss()
        try:
            self.value = int(self.textinput.text)
        except ValueError:
             try:
                 self.value = float(self.textinput.text)
             except ValueError:
                 return

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/296383-settingnumeric-only-accepts-ints?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

closed by a55874c2fd637b310ffd507a08ccfc35f68941c1


Update instructions

Google takes care of automatically updating the OS. Are there any standard instructions to pull all latest updates for an old installation of this project from github? Is periodic git pull recommended?

As long as watchtower was defined in your docker-compose.yml, it keeps all container images up to date.
As such, there shouldn't be a need to pull updates from this project.


Azure AD, work or school, personal?

My organizational account email<EMAIL_ADDRESS>was added as a subscription admin to a users Azure AD.   If I login to azure with my "personal account" (with the same email), I can see his azure resources.  If I'm logged in with my organizational account, I can't see the resources. (All in the Azure Portal)
How did him using my email, associate the login to personal and not work or school.
Another customer did this last week and it worked the opposite way, I could see his resources with my organizational account, not my personal one.
Strangely, using ARM Explorer, it only logs me in with my organizational account, so I cant switch to personal and see the resources I want

The behavior should match what you see in portal.azure.com if you use the same account and Directory. Can you confirm?

No, it doesn't work the same...  with the portal I can login 2 ways..  with ARM Explorer, its forcing me to login with my organizational account


TEAMNADO-3266 Activation Key Blank State

This PR adds blank state component for Activation keys

Codecov Report

Merging #43 (6739aa8) into master (a354306) will increase coverage by 1.18%.
The diff coverage is 71.87%.

:exclamation: Current head 6739aa8 differs from pull request most recent head 7d9e36c. Consider uploading reports for the commit 7d9e36c to get more accurate results

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   40.27%   41.46%   +1.18%
==========================================
  Files          48       50       +2
  Lines         509      533      +24
  Branches       90       93       +3
==========================================
+ Hits          205      221      +16
- Misses        291      299       +8
  Partials       13       13

Impacted Files
Coverage Δ

src/Components/Modals/CreateActivationKeyModal.js
52.63% <33.33%> (-25.15%)
:arrow_down:

src/Components/ActivationKeys/ActivationKeys.js
88.88% <85.71%> (-3.42%)
:arrow_down:

...onents/ActivationKeys/CreateActivationKeyButton.js
100.00% <100.00%> (ø)

src/Components/EmptyState/NoActivationKeysFound.js
100.00% <100.00%> (ø)

src/hooks/useCreateActivationKey.js
88.88% <100.00%> (-2.78%)
:arrow_down:

src/Components/Services/Services.js
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a354306...7d9e36c. Read the comment docs.


Implementing XFCC header

This implements XFCC as discussed in issue #794.

@myidpt et al, are there plans to work on this anytime soon? We really need this feature. Thanks for the work thus far.

I'm greatly looking forward to this as well - it seems so close!

Sorry for the delay. I'm working on this right now. The asan tests mysterious failed and I'm trying to resolve it. This PR should be ready to check in very soon.

@myidpt is this ready for wider review? I will take a look tomorrow.

@mattklein123 Yes, it is ready.

@htuch @alyssawilk in the interest of moving this along and unblocking people, can we merge this and the cleanup/refactor for SSL utility code actually be done in https://github.com/lyft/envoy/pull/1183 ?

Fine by me
On Thu, Jun 29, 2017 at 2:47 PM, Matt Klein<EMAIL_ADDRESS>wrote:

@htuch https://github.com/htuch @alyssawilk
https://github.com/alyssawilk in the interest of moving this along and
unblocking people, can we merge this and the cleanup/refactor for SSL
utility code actually be done in #1183
https://github.com/lyft/envoy/pull/1183 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lyft/envoy/pull/1087#issuecomment-312064707, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARYFvbOqG7UB1cG9lSm9ixxQgr1gZLgkks5sI_E0gaJpZM4N2vPv
.

@myidpt et al, thanks for the work on this - will merge it into our fork and test it out!

Thank you folks for the review :)


MVP: Install specific geckodriver version via cargo run

Done with #3 :tada:

Done with #3 :tada:


Cant Validate All domains

Bugs should be filed for issues encountered whilst operating cert-manager.
You should first attempt to resolve your issues through the community support
channels, e.g. Slack, in order to rule out individual configuration errors.
Please provide as much detail as possible.

Describe the bug:
A clear and concise description of what the bug is.
I have 5 domains to validate.
www.farmersflorals.com, farmersflorals.com, api.farmersflorals.com, identity.farmersflorasl.com, and blog.farmersflorals.com.
only 3 of those validated www.farmersflorals.com, farmersflorals.com, and identity.farmersflorals.com
other not.
all of those refer to same IP, i could access all of them, but only 3 validated, that's weird.
i'm using helm chart version 0.4.1
with ingress on GKE
Expected behaviour:
All Domains Validated
Steps to reproduce the bug:
follow cert-manager docs
Anything else we need to know?:

All Domains refer to same IP Address
today i just update my name server on registrar domain (Google Domain) using GCP Name Server
two weeks ago all works perfectly
I can access acme wellknown and view token

Environment details::

Kubernetes version (v1.9.7):
Cloud-provider/provisioner (GKE):
cert-manager version (e.g. v0.4.0):
Install method (helm):

/kind bug

apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: farmersflorals-com
namespace: ff
spec:
secretName: farmersflorals-com-tls
issuerRef:
name: letsencrypt
dnsNames:

farmersflorals.com
www.farmersflorals.com
identity.farmersflorals.com
api.farmersflorals.com

- blog.farmersflorals.com
acme:
config:
- http01:
ingress: ff-ingress
domains:
- farmersflorals.com
- www.farmersflorals.com
- identity.farmersflorals.com
- api.farmersflorals.com
# - blog.farmersflorals.com

apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer
metadata:
name: letsencrypt
namespace: ff
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email<EMAIL_ADDRESS># Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt
# Enable the HTTP-01 challenge provider
http01: {}

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
labels:
app: ff
component: frontend
name: ff-ingress
namespace: ff
annotations:
kubernetes.io/ingress.global-static-ip-name: ff-global-ip
spec:
rules:

host: farmersflorals.com
http:
paths:

path: /a/*
backend:
serviceName: commerce-client
servicePort: 80

host: www.farmersflorals.com
http:
paths:

path: /a/*
backend:
serviceName: commerce-client
servicePort: 80

host: identity.farmersflorals.com
http:
paths:

path: /a/*
backend:
serviceName: identity
servicePort: 80

host: api.farmersflorals.com
http:
paths:

path: /catalog-api/*
backend:
serviceName: catalog
servicePort: 80

path: /basket-api/*
backend:
serviceName: basket
servicePort: 80

path: /ordering-api/*
backend:
serviceName: ordering
servicePort: 80

path: /payment-api/*
backend:
serviceName: payment
servicePort: 80

path: /emailing-api/*
backend:
serviceName: emailing
servicePort: 80

seems only able to verify 3 domains.


Additional section for RCA template

Add a section to the RCA temple for follow-up issues that were created due to the RCA.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

/cc @riarenas

Done. Even older RCAs like our latest https://dnceng.visualstudio.com/internal/_workitems/edit/5102/ now includes the new section

Oh that's neat, I didn't know it would retroactively add it :)


generateSecureBundleURLWithResponse check errors

fixes https://github.com/datastax/cql-proxy/issues/109

@wizardishungry Thanks for the contribution!  This change looks good (and makes a great deal of sense).
Have you signed the Contributor License Agreement for contributions to DataStax open source projects? If not you can find it at https://cla.datastax.com/. Thanks!

@bogdanprodanj Can you also get a CLA signed for this one? Thanks!

@bogdanprodanj Can you also get a CLA signed for this one? Thanks!

I can't, it says Status: Completed

@bogdanprodanj has indeed signed the CLA form; he had to do so as part of the process for PR #111.  This PR was created by @wizardishungry, however, so we'd need a signed CLA from him to merge it.
I'll ask around and see if there's anything we can do to help make this happen.

I've signed the CLA!

Excellent, thank you @wizardishungry!  This change is a clear improvement on it's face so I'll merge it straightaway.


Drag content

Is it possible to have the content draggable?

The content is draggable via touch. If you mean draggable via mouse, it's not possible (at least not without modifying the script)

+1
Has anyone managed to get this working?

janein
Check how I made it here, connecting malihu-custom-scrollbar-plugin with another plugin for drag. It requires a bit of scripting. Script itself is placed inline in the bottom of markup. Check if you're interested.
http://aqua.dreamtown.ua/map/

thanks @pawlikdoc for the quick response!
I tried your approach and it works perfectly fine. =)

Janein, mind sharing how you got this working without draggabilly? I am trying to solve the same problem now, where I have a horizontal list of image thumbnails which are scrollable, I need to set up the list to allow the thumbnails to be draggable to via mouse to scroll content area.


(ape-safe) tests - Safe contracts are not cached

What went wrong?
every time i run ape test i see
Downloading<EMAIL_ADDRESS>: 2.93MiB [00:02, 1.35MiB/s]

this line makes me think github deps are not cached.
you can try this yourself in apeworx/ape-safe repo.
How can it be fixed?
cache the deps

dependencies are cached, this is probably related to the tests in ape-safe. can we move this issue there?

https://github.com/ApeWorX/ape-safe/blob/main/tests/conftest.py#L22-L25

https://github.com/ApeWorX/ape-safe/blob/main/tests/conftest.py#L22-L25

good catch!
we can probably give it like a standard name under cache? or I guess there's really not a problem in just using the default. I think I did this when I was having problems getting safe-contracts to install properly

we can probably give it like a standard name under cache? or I guess there's really not a problem in just using the default. I think I did this when I was having problems getting safe-contracts to install properly

This isn't the perfect solution but this is how I handled it in ape-solidity: https://github.com/ApeWorX/ape-solidity/blob/main/tests/conftest.py#L79-L95

I actually think it would be fine to cache these dependencies here, both for local testing and CI

this is how I handled it in ape-solidity

this looks like something that can be handled in ape itself. maybe we can have some utility function for testing that can either fork the data folder, making all packages available, or make a clean one.
but i think this also doesn't address an issue when you don't have the package installed and it gets installed when running tests. this needs to be cached too!

but i think this also doesn't address an issue when you don't have the package installed and it gets installed when running tests. this needs to be cached too!

Dependencies during tests do get cached, just they get cached to a temporary data folder.

this looks like something that can be handled in ape itself.

maybe this'll help: https://github.com/ApeWorX/ape/pull/2139


Using same naming convention for CLI options and config file keys

[x] Rename option names so we can use a consistent name across both CLI and as ENV variables. This means using the Lowest Common Denominator when it comes to naming variables. We can use (_) Underscore as the separator and case insensitive alphabet characters as the option/env var names.

[x] We can also make the option names case insensitive to allow them to be used as ENV variables as is.

Example

transform-file in CLI is transform_file in ENV config.

Here, we can rename the option to --transform_uri. It's ENV equivalent name is transform_uri or TRANSFORM_URI.

[ ] Change transform_uri option name to transform_file as it can't take URIs.


use String.quoted for feeds on convert-from-nuget - references #832

:+1: build off of AppVeyor runs great on my machine with my evil package source :)

cool.


'illegal tag: field no 0 wire type 1' exception when parse message with FromBinary.

@timostamm
FromBinary, toBinary works well at typescript side.The uin8Array is from the backed which generate by XXX.toByteArray() in jave code.
It seems that it related to uin8 and int8, XXXX.toByteArray() generate the array in singed int8, however fromBinary need Uin8Array.
By the way, i use the release version 1.0.12.

Hey @hamming
In Java, byte is a signed 8-bit value, meaning that you work with integral values -128 to 127.
Most languages use an unsigned byte, 0 to 255.
But this difference only matters when you "manually" manipulate byte values.
If you write a byte array to a file or to a HTTP response using standard facilities, you get the expected binary data.
The following example writes a message to the file system in Java:
// Write the new address book back to disk.
FileOutputStream output = new FileOutputStream(args[0]);
addressBook.build().writeTo(output);
output.close();

The written data is conforms to the protobuf binary format and is platform-independant.
You will be able to read this file with Javascript (using protobuf-ts) without any problems.
I am not aware of any bugs in the binary format implementation and it has really good test coverage (conformance test suite).
It is most likely that something went wrong on the way from the server side to Javascript. I recommend to dump the data to a file and read it from there, or even log in hexadecimal format and copy the data to a typescript source file.
This way you can temporarily eliminate the transport from the equation. Once you are sure that the binary data is correct, you will be better equipped to look for the source of the problem.

@timostamm
Thanks, I made a mistake: I use RSA public key to decrypt binary from server side, and then use the decrypted binary to for protobuf parsing. I ignore the unicode.
Bt the way, It co-works well with java side.
Thanks!

OK, thanks for the feedback and happy coding.


Add interactive mode to CLI commands

Some CLI commands would be much easier to use if we could invoke them with a flag for interactive mode and then set up the action we want to do via selecting options.
For example, killing sandboxes or listing sandbox logs right now requires using the command for listing sandboxes before and then manually pasting the sandbox ID we want to kill or inspect logs for.
This could also combine with variadic arguments — killing multiple sandboxes via selecting multiple in the e2b sandbox kill interactive mode.

This is a minor improvement that might not be worth prioritizing right now.


jest-puppeteer.config.js not in the root

I want to place jest-puppeteer.config.js to custom folder. How could I tell that to jest-puppeteer?

Unfortunately for now you can't, same as Jest I think. You can create different configuration using environment variables.

Jest can be launched with custom config:
./node_modules/.bin/jest --config ./puppeteer/jest.config.js

Right now it is not possible to implement:

testEnvironmentOptions are not passed to "globalSetup" and "globalTeardown", so impossible to use it to specify config
Jest does not authorize to add cli options

Good idea!


chore: Improve eXcript resources metadata

What does this PR do?
Add info | Improve repo
For resources
Description
Complete metadata with instructor and use current info as platform. Thus is:

Instructor: Cláudio Rogério Carvalho Filho
Platform/YouTube channel: eXcript

Why is this valuable (or not)?
Address #5762 backlog task related with #6576, normalizing resource metadata
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates. #6576
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Conflicts are with #6739

PR was autoclosed due to branch renaming


Domain distortion option for noise configuration

The ability to distort noise by putting input coordinates of a noise generator through another defined noise generator - along the lines of this https://www.iquilezles.org/www/articles/warp/warp.htm
This should also be nest-able, so you can distort the noise that's distorting noise, dawg

Implemented in 346a8826aaecc423c48ba0d2bde293fad1444991

Implemented in 346a8826aaecc423c48ba0d2bde293fad1444991


seems not work with gitlab 16

//NOTE: gitlab version display need login

https://gitlab.com/help
GitLab Enterprise Edition 16.10.0-pre 4e07bf86334

https://gitlab.gnome.org/help
GitLab Community Edition v16.9.1

content.js:2970 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'children')
null !== document.querySelector("[data-qa-selector='branches_dropdown']").children[0])

document.querySelector("[data-qa-selector='branches_dropdown']")
null

@yurenchen000 I've deployed a patch, for the time being it's a hot fix. Have to do add some code to support the sidebar.


issues with saving to drafts

K9 doesn't save the signature in the draft.
Therefore it forgets changes in the signature that were made for this particular email.
And it saves quotations from previous emails to the draft even if you clicked on the x to not include them.
If you reopen the draft with K9 Mail the signature will be the default one again.
If you open it with another email program (IMAP) it won't display any signature at all (at least Thunderbird didn't)

K-9 Mail saves the signature in a header field when you make changes to your default signature. That header also contains the information on whether or not to include the quoted text. That allows you to later change your mind when reopening the draft.
The chances are high that this information is lost when you edit the draft using another client.
I created issue #902 to change the way K-9 Mail handles drafts.


Unsupported property values should fallback to default as opposed to …

…None value
None values may be unsupported for the given property.
Eg. Languages from the ticket
If an unsupproted language code is encountered (enuk) then the languages value becomes "None" which is an unexpected value further down the stack (iterators are expected).
Notion

Bump @ThePalaceProject/backend


Authorization Planning

Brainstorming issue for handling auth for DB:

Connection object request guard and juniper context are both implemented as a Foo struct with a private connection struct and a public function to create another struct, Bar

function requires parameters that have to do with authentification, like "who am I" and "what data am I trying to access"

Bar also has a private connection struct, and has access methods for accessing data that require auth information as well
The point is that there are a minimal number of functions that have access to the raw connection, and these functions can be documented and checked for correctness

How do we implement this (incrementally)?
Current Squo

To authenticate right now, everything (ostensibly) goes throughauthorization::validate, which calls resolvers::user::get_by_email and resolvers::permission::get_permission. This isn't the best because it makes it hard to reason about what's happening; database logic is dispersed everywhere.
During that process, we also need to record what kind of action is being performed; this is done using a enum, but there's actual guard requiring that the information given will actually be used

Implementation Steps

Create structs and integrate them, without changing control flow (i.e. refactor names)
Integrate API of structs without changing control flow that much
Make connection field private, refactor to make code work again
Big step: move all auth logic to models using traits


Object class logic suggestion

Hey there,
Great job with Certipy! It's making it much easier for people to analyze attack paths that include abusing ADCS configurations.
The logic for determining whether the AD object listed as the Identity Reference on an ACE or the Owner on the DACL is here: https://github.com/ly4k/Certipy/blob/main/certipy/find.py#L566-L581
However, this logic sometimes does not correctly determine whether the object is a Group (screenshot shows output from Certipy, showing the Domain Users SID as being a "User").

This causes the node in the neo4j database to have two labels if the user has also imported data from SharpHound output. Then, queries involving traversing group delegated privilege relationships break, as neo4j doesn't disambiguate between a node being one label or the other.
I might recommend using SAMAccountType instead of objectClass for determining what type of object a SID is associated with. You can see an example for how we do this in SharpHound here: https://github.com/BloodHoundAD/SharpHoundCommon/blob/7e32afd73eccb8656be728c6e3565ea41353e926/test/unit/LDAPFilterTest.cs
Thanks and great work with Certipy!
Andy

Hey Andy
Thanks a lot for your feedback. Appreciated. I will try to fix it the next version. :-)

Fixed in https://github.com/ly4k/Certipy/commit/defd7f458d8287ed4dc72c5d3164e507d2df3bd9


Discount ETH for gas when sending or swapping tokens

If the user tells the agent to send ALL ETH or swap ALL ETH then the transaction will fail because there will not be enough to pay for it.
We need to discount the amount needed to cover gas either automatically, or inform the user somehow
Example:
 poetry run ask --prompt "Buy me as much USDC as possible with ETH"

Since smart accounts (ex: safe) can have their transactions executed via a 3rd party paying for gas, I think this isn't an issue we need to focus on solving.


"Save template to PNG metadata" option doesn't work properly when saving image to favorites

Describe the bug
"Save template to PNG metadata" option doesn't work properly when saving to favorites using the save button under image (copy to favorites in image browser extension works)
Template is replaced by generated prompt.

I wanted to piggyback on this issue to ask; does this plugin support file renaming, based on the 'generated promp'?
Or is this purely in the metadata.  Thanks!


Add support for Ubuntu 18.10, 19.04 and 19.10

Swift (only tested 5.2) works perfectly on Ubuntu 18.10, 19.04 and 19.10 but there is no swift releases which contains these Ubuntu versions in their names.
So a small change to add a support for these Ubuntu versions.

Thanks for your idea! It's great to add support for non-LTS versions. However, since there's no guarantee that those versions work perfectly with all the toolchains for bionic, and it's not quite proper to hard-code specific versions in the program, I may suggest the API in this way:
swiftbox ubuntu 18.04
// or
swiftbox ubuntu 1804

This command may create a .ubuntu-version file with 18.04, which will be read every time to get the version alias.
Also we may use this one to unset?
swiftbox ubuntu current

There's also a more flexible approach by supporting -u flag:
swiftbox install 5.2 -u 18.04
// or
swiftbox install 5.2 --ubuntu-version=18.04

Feel free to share your opinion and thanks for your contribution!

I like your second approach which is minimal and very versatile.
Thanks for your work

I’m sincerely sorry for not providing a contribution guide before.
You can now check it out at CONTRIBUTING.md.

Alias support is finally there. Since this is a infrequent usage, there's no built-in command.
I've tested on 19.10 and it's partially compatible with the Swift 5.2.4 toolchain for 20.04 .


Feature: graphical interface

Provide a menu to select custom commands using mouse. Similar to
togglemenu queuemenu
Other possibly easier implementation: implement fixed commands for ranked/casual 3s, 2s, 1s

I have no plans to add any additional features to my plugins anymore, I just pushed an update to bakkesplugins using the latest bmsdk and that appears to have fixed any command issues.


Fix "PytestUnknownMarkWarning: Unknown pytest.mark.inject_oom" warning

This fixes the following warning which is emitted when running the pyspark integration tests:
lib/python3.8/site-packages/_pytest/nodes.py:354: PytestUnknownMarkWarning: Unknown pytest.mark.inject_oom - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    marker_ = getattr(MARK_GEN, marker)

build


Add Meson support

Hi and thank you for this project! As I want to use it with my projects, with Meson build system, here I added Meson support to your project. It's a quick work, since this project is header-only;)
Installation tested. Also tests.
Hope you like this!

Thanks for your contribution, I really appreciate it! However, I don't think this is actually needed for this project as it's intentionally designed to carry as little extra cruft as humanly possible, which includes all manners of build systems. Sorry but I'm gonna have to turn the PR down. I suggest you just make a fork with these changes.


Adding and Updating nested kexts bugs

OCAT seems to struggle with my EFI layout. I put most of my kexts into subfolders within EFI/OC/Kexts, as shown below:

I can't get OCAT to update kexts. It does not find any newer versions of Lilu, VirtualSMC, etc, thus Update Kexts stays grayed out. The "Available" columns says "None" for all the kexts after checking for new versions. It does get the Current version correct though.
Additionally, when adding kexts within these subfolders, it copies the kext into the root of the Kexts folder. The expected behavior is to use the copy within EFI/OC/Kexts/**/* instead of copying them to the root (EFI/OC/Kexts/*).
Lastly, is there any chance for smarter logic when adding kexts? ProperTree when doing a snapshot will check the OSBundleIdentifier and OSBundleLibraries in Info.plist (Found under *.kext/Contents/Info.plist). This allows checking for duplicates (commonly seen with VoodooInput as it's shipped within VoodooRMI, VoodooPS2, and VoodooI2C) in addition to ordering the kexts correctly. Adding VoodooRMI and VoodooSMBus currently gives the wrong order. RMISMBus.kext (plugin of VoodooRMI) depends on both VoodooRMI and VoodooSMBus, but VoodooSMBus gets placed after RMISMBus. This is likely due to VoodooRMI and all of its children being added first, then adding VoodooSMBus afterwards. Duplicate kexts will cause panics when booting macOS, while incorrect ordering means that the kexts will not be injected.
Edit: VoodooRMI + VoodooI2C + RMII2C.kext is probably fine, as I comes before R in the alphabet. I'm not sure VoodooI2C itself is fine though. VoodooI2C depends on VoodooI2CServices, though I2CServices is shipped under the PlugIns folder within VoodooI2C.

Sorry, OCAT does not support non-kext subfolders in the Kexts directory, which means that all Kext files must be placed under the root directory of Kexts, please note.
I don't know if OC supports subfolders now, but as far as I can tell, the old OC doesn't seem to support them.
What's more, OCAT never offers the ability to sort by Kexts, which you have to do yourself. This is part of the design philosophy of OCAT. OCAT gives the user plenty of freedom, but it doesn't make any decisions or things for the user.
I'll stay tuned and appreciate the feedback.

Sorry, OCAT does not support non-kext subfolders in the Kexts directory, which means that all Kext files must be placed under the root directory of Kexts, please note.
I don't know if OC supports subfolders now, but as far as I can tell, the old OC doesn't seem to support them.

Fair enough. Not many users use subfolders. OC does support sub folders, and has for a while. I'm not aware of a version which didn't support this.

What's more, OCAT never offers the ability to sort by Kexts, which you have to do yourself.

I thought it does? Looking through the code real quick, it looks like Lilu and VirtualSMC get placed at the top. Some clarification would be nice on this.

Some clarification would be nice on this.

I'll highlight the issue so that more users can see it.
Thank you very much for asking this question. Any further questions or suggestions are welcome.


[BUG] _list/shards API failing with index_closed_exception

Describe the bug
Default _list/shards API call (curl localhost:9200/_list/shards) fails with index_closed_exception if an Opensearch cluster has one or more closed indices.
The issue occurs due to the way pagination is implemented in the _list APIs. After processing the clusterState response, concrete list of indices is passed to other TransportActions down the line. For _list/shards API, all the concrete indices processed and  fetched from PaginationStrategy are directly supplied to TransportIndicesStatsAction.
By default, TransportIndicesStatsAction uses IndicesOptions.strictExpandOpenAndForbidClosed() which results in index_closed_exception if any of of the concrete index is closed.
The reason this same thing doesn't fail in _list/indices is due to the fact that, a TransportGetSettingsAction call is first made with whatever indices are specified in the URL (not the concrete indices from the strategy) [Code Ref] and all the other TransportAction calls post that are made with IndicesOptions.lenientExpandHidden(); [Code Ref].
Fix:
Filter out closed indices as part of ShardPaginationStrategy (accept indicesOptions as part of strategy) and let TransportIndicesStatsAction process only the open indices.
Related component
Cluster Manager
To Reproduce

Have one or more closed indices in a cluster.
Make _list/shards (curl localhost:9200/_list/shards) call, which would fail with index_closed_exception.

Expected behavior
_cat/shards API, displays the closed shards without stats for an unfiltered query. The _list/shards API similarly, should not fail with exception and instead just filter out the response.
Additional Details
No response

[Catch All Triage - 1, 2, 3]


Avoid that teachers gets subscribed to email notifications for the course (especially group activities)

It is annoying that I get notifications on my GitHub associated email about course activity, as this can be quite massive. I think this is probably just me that gets this... I suspect that this is due to me approving groups, and for some reason I to become "member" of their groups on GitHub.
@EivindSt I see that you have also approved a few groups. Did you get any emails related to those groups??

Yes, I also get notifications about push events to many (all?) of the student or group repos. Think it can only be changed in the organization settings, i.e., either on course creation or manually.

@meling As far as I can see I haven't received any emails related to student groups etc.

This seems to have been fixed after following the instructions that I added to a new notifications section in doc/teacher.md.

This seems to have been fixed after following the instructions that I added to a new notifications section in doc/teacher.md.


Translating week

Hi,
Just a quick question. I am still using version 0.9.2 but is it possible to translate the title for week view?
At the moment week view title is displayed as:
Week 18 of 2015
Could this be somehow translated?

See the 0.9.2 docs


BLE standard services assigned number

I have a BLE device, which runs bunch of standard BLE services, like for example a blood pressure service. This service has a standard assigned number property, which it can be identified with.
For blood pressure service it is 0x1810.
Does the package store this assigned number in corresponding service? Neither of services id or uuid properties seem to match it.
If it does not, how do I identify services, if the only thing I know about them is the assigned number?
Thanks

0x1810 is UUID written in short version. There are also 16bit UUID and full UUID types. Every UUID can be converted by filling remaining bits with specific pattern to bigger UUID. As we internally are forced to use strings to represent UUIDs it's hard to compare UUIDs logically. 00001810-0000-1000-8000-00805f9b34fb is longer version of 1810 and can't be compared directly.
Therefore library outputs every UUID as full UUID with lowercase letters. If you want to convert to that format just import { fullUUID } from 'react-native-ble-plx' and use it to do conversion and then comparison:
service.uuid == fullUUID("1810")

Makes sense, thanks!


Improve web font loading user experience

Add web font loading classes from Typekits webfontload.

From Webfont optimization, Optimizing font reuse with HTTP Caching

There is no need to store fonts in localStorage or via other mechanisms - each of those has their set of performance gotchas. The browser’s HTTP cache, in combination with Font Loading API or the webfontloader library, provides the best and most robust mechanism to deliver font resources to the browser.