why the example(test_basic,test) crash?

Details
Starting program: /work/github/libevhtp-1.2.12/build/examples/test

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
*** Error in `/work/github/libevhtp-1.2.12/build/examples/test': double free or corruption (out): 0x00007fffffffd6a0 ***
Program received signal SIGABRT, Aborted.
0x00007ffff6da4cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: 没有那个文件或目录.
(gdb) bt
#0  0x00007ffff6da4cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6da80d8 in __GI_abort () at abort.c:89
#2  0x00007ffff6de1394 in libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff6eefb28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff6ded66e in malloc_printerr (ptr=, str=0x7ffff6eefc58 "double free or corruption (out)", action=1) at malloc.c:4996
#4  int_free (av=, p=, have_lock=0) at malloc.c:3840
#5  0x0000000000406ce4 in htp__free (ptr=0x7fffffffd6a0) at /work/github/libevhtp-1.2.12/evhtp.c:173
#6  0x000000000040c1e3 in evhtp_kv_free (kv=0x6847b0) at /work/github/libevhtp-1.2.12/evhtp.c:2968
#7  0x000000000040c327 in evhtp_kvs_free (kvs=0x6835a0) at /work/github/libevhtp-1.2.12/evhtp.c:3007
#8  0x0000000000408611 in htp__request_free (request=0x6833c0) at /work/github/libevhtp-1.2.12/evhtp.c:1091
#9  0x000000000040aae6 in htp__connection_writecb (bev=0x682a90, arg=0x680890) at /work/github/libevhtp-1.2.12/evhtp.c:2201
#10 0x00007ffff7bad0df in bufferevent_writecb (fd=, event=, arg=0x682a90) at bufferevent_sock.c:297
#11 0x00007ffff7ba2a10 in event_persist_closure (ev=, base=0x67f040) at event.c:1319
#12 event_process_active_single_queue (activeq=0x67f480, base=0x67f040) at event.c:1363
#13 event_process_active (base=) at event.c:1438
#14 event_base_loop (base=0x67f040, flags=0) at event.c:1639
#15 0x0000000000406c3e in main (argc=1, argv=0x7fffffffe408) at /work/github/libevhtp-1.2.12/examples/test.c:663
(gdb)
Steps or code to reproduce the problem.
examples/test

Version
libevhtp-1.2.12
libevent-2.0.2

Ha, yeah this was fixed right after I pushed 1.2.12.
https://github.com/criticalstack/libevhtp/releases/tag/1.2.12-1 fixes it.


Christie- Create new 2024 FDA Slidedeck draft

Prior FDA Draft deck is around 170 slides. Creating a new slide deck so we can save space.

The new FDA meeting deck is linked here. https://docs.google.com/presentation/d/1xQaYkwXp38ZyF3aiL3akOxHefKuH2U4xrGGX7e3Td_k/edit#slide=id.g1f1bb615972_0_54


Benchmark Submission: mallamanis

This pull request represents a submission to the codesearchnet benchmark.
It is the main communication channel for you and the reviewers.
Wandb run results for review

Update to the baseline model, due to the n_tree issue. This improves from the previous run from 0.113 to 0.239
(related to #198 )


Crash on launch of latest python code

Looks like a Kivy error.
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
C:\Users\Eric Weiner\Downloads\LumaViewPro-main-2023-11-27\LumaViewPro-main
Traceback (most recent call last):
File "C:\Users\Eric Weiner\Downloads\LumaViewPro-main-2023-11-27\LumaViewPro-main\lumaviewpro.py", line 4069, in
LumaViewProApp().run()
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 954, in run
self._run_prepare()
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 923, in _run_prepare
self.load_kv(filename=self.kv_file)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\app.py", line 696, in load_kv
root = Builder.load_file(rfilename)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\builder.py", line 305, in load_file
return self.load_string(data, **kwargs)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\builder.py", line 372, in load_string
parser = Parser(content=string, filename=fn)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\parser.py", line 483, in init
self.parse(content)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\parser.py", line 593, in parse
objects, remaining_lines = self.parse_level(0, lines)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\parser.py", line 675, in parse_level
current_object = ParserRule(self, ln, name, rlevel)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\parser.py", line 335, in init
self._detect_selectors()
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\parser.py", line 377, in _detect_selectors
self._build_rule()
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\kivy\lang\parser.py", line 392, in _build_rule
raise ParserException(self.ctx, self.line,
kivy.lang.parser.ParserException: Parser: File "C:\Users\Eric Weiner\Downloads\LumaViewPro-main-2023-11-27\LumaViewPro-main\lumaviewpro.kv", line 1246:
...
1244:                       on_collapse: root.accordion_collapse()
1245:

1246:<<<<<<< HEAD
1247:            BoxLayout:
1248:                padding: '5dp'
...
Invalid rule (must be inside <>)

@hickerson I think this was due to a recent commit that was checked in to main.  Was this cleaned up?

We need to either get this reverted or fixed ASAP.

@ericweiner I backed out those ~5 recent commits. Should be resolved.


Support PagedAttention

Feature request
vLLM is fast with efficient management of attention key and value memory with PagedAttention, serving higher throughput than TGI.
Motivation
Adopting PagedAttention would increase throughput and reduce VRAM usage, especially when using beam search.
Your contribution
I don't have plan to work on it right now. This is a backlog to me.

We will run some benchmarks and see if this make sense.

It is true that it's 2 time faster than TGI ?

This plus QLoRA (esp if it can be combined with higher-context attention fixes e.g. Landmark, FlashAttention, ALiBi) would be huge for all sorts of things, but esp. CoT/ToT reasoning, retrieval/tool augmented responses, and synthetic dataset generation/augmentation (can we finally stop relying on OpenAI for this please?).

Not in latency (Depends on the benchmark/hardware, but it is basically on par).
PagedAttention seems to be nicer with respect to VRAM usage meaning it's better when you're low on VRAM. This mostly affects throughput at those regimes, not latency.
It's definitely worth looking into it for us to help that regime, but it's not going to be day and night.

Ok so in other words, it's reducing the size of the pipe, but not the pipe flow rate, and it will reduce the cost of the necessary infrastructure but not reduce the time per words ? :)

PagedAttention seems to be nicer with respect to VRAM usage meaning it's better when you're low on VRAM. This mostly affects throughput at those regimes, not latency.

Correct, I think a lot of the benchmarking and hype around vLLM leave this part aside, if your model just barely fits on the GPU, you are not going to see improvements. I have tried vLLM with Starcoder on A100, and in many cases, it actually performs worse than vanilla HF.
In this scenario, do you think it makes sense to shard over 2 GPUs a model that can fit in a single GPU, paying the sharding latency price chasing this magic 24x improvement,  or just stick to deploying 2 load balanced replicas and get 2x improvement.

In this scenario, do you think it makes sense to shard over 2 GPUs a model that can fit in a single GPU, paying the sharding latency price chasing this magic 24x improvement, or just stick to deploying 2 load balanced replicas and get 2x improvement.

My personal opinion is that anythign performance related: Just measure and keep measuring, I don't have an all  out formula.
At HF, sharding is usually a latency benefit on LLM, and have more free VRAM enables more batching meaning more users on the same hardware which is $$ efficient. This holds when the model is memory bound (which is usually the case when using LLMs on big GPUs), but isn't if you're compute bound. text-generation-benchmark helps us figure out out memory/compute boundary (look for inflection points in your curves in the decode part.)

I have tried vLLM with Starcoder on A100, and in many cases, it actually performs worse than vanilla HF.

Have you tried running starcoder with TGI? You should see a large improvement as we have re-written the whole modeling code to optimise it.
Also, it should be noted taht vLLM does not properly implement multi-query-attention yet so its kv cache actually takes 48x more memory than it should for starcoder.

Yes, tgi is what we are using today and it's the best we have so far :) we were trying vLLM after some articles were reporting very appealing numbers (23-24x over huggingface?) but have not seen those gains in our case.
And yes, we did see that the PR uses MHA instead of MQA, but did not realise it would be that inefficient.
I guess the next thing I should do is to try and test whether 2 load balanced replicas of tgi with starcoder, with one GPU each, are better or worse than one instance sharding the model over 2 GPUs. We are trying to scale our internal starcoder/starchat based coding assistant to 2000 developers with as few GPUs as possible, so tools like tgi give us immense value, thanks a lot for all the good work.

@andreapiso May I ask the latency of your starcoder on tgi, as I got high latency (around 7s) for 128 max_new_token in A100-40G


Is tabnine really that useful ?

I don't think tabnine has any advantage over webstorm's automatic prompt
This is my configuration, Am I wrong?

gz#5064

Hey @zz541843
The configuration seems fine :)
Can you please elaborate on this issue? We'd love to hear more.
Thanks,
Yotam
Tabnine Team

I think so too.
Sometimes It rather disturbs me.
You guys should look into this problem deeply
40% suggestions  is not what I want

Would you try enabling the Full Line Completions?
Perhaps you'll find them more useful.


Show Card has a leading margin of 10pixel even if nothing is given in host config, android and desktop does not have it. Please make is consistent [iOS]. Give No padding if nothing is given in config

Platform
What platform is your issue or question related to? (Delete other platforms).

.NET HTML
.NET WPF
Android
iOS
JavaScript
UWP

Author or host
Are you an author (like sending something to Outlook), or a host that is rendering your own cards?
If you're an author, who are you sending cards to?
Version of SDK
What version are you using? Ex: NuGet 1.0.2, or latest master, etc...
Issue
Explain your issue. If you just have a question, please post on StackOverflow instead.

fixed via 1717


Plugin stuck in Generating Search Keywords loop.

Import was successful but it's stuck in a loop.
Tried disabling and uninstalling the plugin but it still displays and won't go away.
CSV only has 50 items in it.
Craft CMS 2.6.2797
PHP Version 5.6.20-0+deb8u1

It would appear that the plugin doesn't like the Neo plugin. There were a ton of pending tasks in the craft_tasks db table for Neo:

Yep this is likely a problem with where I chose to run the keywords task. This should be fixed in the next release.


Android Basics: Load and display images from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''
https://developer.android.com/codelabs/basic-android-kotlin-training-internet-images#3
"Add Recyclerview" task, step #8.
The step text talks:
"... You can achieve this with a combination of padding in fragment_overview.xml layout and in gridview_item.xml layout."
but the real grid view file name in the source code package is "grid_view_item.xml", with an additional underscore.

Duplicate of #48

@tsrrus
Thank you for reaching out to us. The typo was fixed:


Should not silently fail on parse error

Was playing around with the sdui package and used a StaticRouteContentProvider with the following json:
{
  "type": "Screen",
  "appBar": {
    "type": "AppBar",
    "attributes": {
      "title": "Profile",
      "elevation": 0.0
    }
  },
  "child": {
    "type": "ListView",
    "attributes": {
      "shrinkWrap": true
    },
    "children": [
      {
        "type": "Text",
        "attributes":  {
          "caption": "NameA"
        }
      },
      {
        "type": "Text",
        "caption": "NameB"
      }
    ]
  }
}

NameB does not render (which is expected since the "captions" property isn't in a Map in "attributes") and should not fail silently. A simple warning in console would also suffice.

@pongloongyeat added a log when attributes element not found


Update to use new SOCs

New SOC info has come out https://www.ons.gov.uk/methodology/classificationsandstandards/standardoccupationalclassificationsoc/standardoccupationalclassificationsocextensionproject
The "SOC2020 Volume2 the coding index (excel)_12-010-23 (4.5 MB xlsx)" download will need to replace our current indexsocextv5updated.xlsx one.
The columns arent all the same so it will be a bit more involved than just changing the input data.
Could be a good opporutnity to add the SOC name to the output of socmapper too.

I had just been thinking about this, so writing down some notes:
# Make dictionaries of SOC 2020 6 and 4 digit ids to names
self.soc_2020_6_2_name = dict(zip(jobtitle_soc_data['SOC 2020 Ext Code'], jobtitle_soc_data['SUB-UNIT GROUP DESCRIPTIONS']))
self.soc_2020_4_2_name = dict(zip(jobtitle_soc_data['SOC 2020'], jobtitle_soc_data['SOC 2020 UNIT GROUP DESCRIPTIONS']))


is any event to obtain a selected item?

on https://jsongrid.com/json-parser
when our selects a value into the grid, it is been selected on json editor, do u use an event to obtain the selected item?

@VelascoPale I have published this feature, you can find it in v0.6.0 on npm. Let me know if you find any issues!


Add an option to public-ids to pass the principal.

This can be used to verify the account_id of a principal.
Signed-off-by: John Plevyak<EMAIL_ADDRESS>

bors merge

@chmllr I don't have permission to merge.


feat: add hide navigation button styles

resolves #12

i say we merge this now. we dont need to have the hide apply automatically since not all pages need it. in fact most pages probably wont

i say we merge this now. we dont need to have the hide apply automatically since not all pages need it. in fact most pages probably wont

Yes, as i said, this workaround is only for the installation, the only place that isn't linear


Refactor top-app-bar into top-app-bar, top-app-bar-fixed, and top-app…

…-bar-short

[x] Remove fixed and short options from mwc-top-app-bar
[x] remove centerTitle from mwc-top-app-bar
[x] mwc-top-app-bar README
[x] mwc-top-app-bar-fixed
[x] mwc-top-app-bar-fixed README
[x] mwc-top-app-bar-short
[x] mwc-top-app-bar-short README

Cheating a bit by forking the foundation change I made in https://github.com/material-components/material-components-web/pull/5009, but it was the only good way to fix the scrolling bug with the short component.

LGTM, I guess file issues for fixing the gif, and for deleting the forked foundation once MDC releases?

Filed https://github.com/material-components/material-components-web-components/issues/411 and https://github.com/material-components/material-components-web-components/issues/410 to track


add link call example

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes

This PR adds example of link call node added to latest Node-RED.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 67.361% when pulling 3ce35a8a4bec7905cc4c6637c8c78d8cb73dc459 on node-red-hitachi:add-link-call-example into b14c42b6a46f764786397e623550c66b76e3a0e0 on node-red:master.


DBZ-7001 Make sure to terminate the task once connectivity is lost to…

… either the rebalance or sync topic

Applied, thanks!


AMBARI-25159. http.strict-transport-security change does not take affect in 2.7.x.

What changes were proposed in this pull request?
Fix for previous patch. Secure request customizer has been returned for 2-way SSL connection with agent.
How was this patch tested?
Manual testing.

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

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


Update with-typescript example to use next-typescript

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

Expected Behavior
Use new Next.js plugin for TypeScript
Current Behavior
Use a hack to transpile TypeScript to JSX and then let Next.js handle it.
Context
With the release of Next.js v5 the current example with TypeScript is outdated and can be simplified with the new next-typescript plugin.

I would like to write my custom server setup in typescript. Could we get that example also?

@isBatak that could be another example for a custom-server-typescript, it should require to run tsc for your server code and then run it as any Node.js server.

Fixed on #3698


Form to claim paper ownership with a password

Implements form to allow a user to claim ownership of a paper with a password.
On success this will write to the arXiv_paper_owners table.
https://arxiv-org.atlassian.net/browse/ARXIVD-51
Empty form

Bad password

Already ownes

Success

Invalid form

I am confused by the user name. It appears to be displaying first_name last_name in the screenshots. And also includes unicode. Is that intentional?

Ideally this page would have a clear link back to the user dashboard
https://arxiv.org/user
That gives the user the link to verify and act on the paper.

How about a sentence at the beginning.
This form allows you to link

I am confused by the user name. It appears to be displaying first_name last_name in the screenshots. And also includes unicode. Is that intentional?

It is displaying first_name last_name and the unicode is displayed incorrectly. In arxiv my user account has the name "Brian Caruso-Wardęga" which includes a Polish name an arXiv user. I added that to know where unicode names work and don't work.
Do you want something other than first_name last_name?

How about a sentence at the beginning.
This form allows you to link

I've added a sentence like that. Feel free to propose one as a commit or here in a comment and I'll add your text.

Here is the form with Jim's suggestions:


Is it possible to support defining keymaps only when inside a git repo?

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
It will be great if those keymaps provided/recommended by gitsigns.nvim could be defined only when my current working directory is at a git repo.
Describe alternatives you've considered
No.
Additional context
No.

This is what the on_attach callback is for.

My bad, let me close this!


Model tests

For design a staging area to carry out test.
I have converted the tests from bash script to Python unit tests.
My current workflow:

Local test with a local gateway

python test/run.py test 0
The last number decides where to start. I will launch a few with 0, 500, 1000 and 1500 to run in parallel. The slow-running ones are around 250-400.

Gateway test after releasing

python test/run.py gw 0

implemented as credmark-dev test-all -b 17_000_000 ...


style: fix Copied button misalignment on mobile browsers

Thanks, but I thin a proper fix would be to remove text from the button and only icon. As I can see there is not enough space for text.

Thanks, but I thin a proper fix would be to remove text from the button and only icon. As I can see there is not enough space for text.

What about the QR Code next to it? Do you think it would also be better to replace it with an icon for mobile browsers?

Thanks, but I thin a proper fix would be to remove text from the button and only icon. As I can see there is not enough space for text.

What about the QR Code next to it? Do you think it would also be better to replace it with an icon for mobile browsers?

Yes I think so.

@muke1908


Add base (non-uft8 compatible yet) redirector

Create a simple c++ WingetUI.exe executable that launches UniGetUI.exe, so process name is shown as UniGetUI

Not needed anymore


Revamp

@alexmorley I think you have moved on from this work? Any chance you could give me the full admin rights to the organisation, I would like to move a bunch of work under a single umbrella.

sorry totally missed this. sure thing.

Thanks @alexmorley, I'll do a revamp of the settings etc. Please feel free to comment etc, but I won't wait for feedback to merge changes etc unless you say so.


python312Packages.quil: 0.10.0 -> 0.11.2

Description of changes
Diff: https://github.com/rigetti/quil-rs/compare/quil-py/v0.10.0...quil-py/v0.11.2
Changelog: https://github.com/rigetti/quil-rs/blob/quil-py/v0.11.2/quil-py/CHANGELOG.md

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

8 packages marked as broken and skipped:

python311Packages.cirq
python311Packages.cirq-rigetti
python311Packages.cirq-rigetti.dist
python311Packages.cirq.dist
python312Packages.cirq
python312Packages.cirq-rigetti
python312Packages.cirq-rigetti.dist
python312Packages.cirq.dist

4 packages failed to build:

python311Packages.pyquil
python311Packages.pyquil.dist
python312Packages.pyquil
python312Packages.pyquil.dist

8 packages built:

python311Packages.qcs-sdk-python
python311Packages.qcs-sdk-python.dist
python311Packages.quil
python311Packages.quil.dist
python312Packages.qcs-sdk-python
python312Packages.qcs-sdk-python.dist
python312Packages.quil
python312Packages.quil.dist

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

8 packages marked as broken and skipped:

python311Packages.cirq
python311Packages.cirq-rigetti
python311Packages.cirq-rigetti.dist
python311Packages.cirq.dist
python312Packages.cirq
python312Packages.cirq-rigetti
python312Packages.cirq-rigetti.dist
python312Packages.cirq.dist

12 packages built:

python311Packages.pyquil
python311Packages.pyquil.dist
python311Packages.qcs-sdk-python
python311Packages.qcs-sdk-python.dist
python311Packages.quil
python311Packages.quil.dist
python312Packages.pyquil
python312Packages.pyquil.dist
python312Packages.qcs-sdk-python
python312Packages.qcs-sdk-python.dist
python312Packages.quil
python312Packages.quil.dist


Adapt zip for finite sequences.

The zip function currently doesn't work for sequences.
By transparently converting (finite) sequences to lists, it will work.
See question by @theodox at:
https://stackoverflow.com/questions/44054776/iterable-emulation-in-transcrypt/45521943#45521943

Done, release 3.6.44


Docs: Clarify that method-level parameters are not persisted in sessions.

This adds a paragraph to the session docs that clarifies the fact that method-level parameters are not persisted across requests, even when a session is being used (fixes #2488).
As an example I used cookies, and included a pointer to the Cookie utility functions. In order to be able to link to that section I added some section labels in docs/api.rst (prefixed with api-, because otherwise there would be label collisions).

Eh, I'd rather not add a bunch of labels to one file just to be able to use 1 in the docs.

@sigmavirus24 got it, I'll remove all the ones except the one for the cookies section. Should I stick with the api- prefix or drop that as well?

The api- prefix makes sense. Thanks.

@sigmavirus24 updated

Thanks @lukasgraf! :sparkles: :cake: :sparkles:


Has anyone tested miio with Air Purifier 3?

I am using miio with 2s version (which is not on the list of supported devices) and almost everything works (I have problems with led and buzzer, maybe I am doing something wrong).
Now I am thinking about buying Air Purifier 3 - has anyone used it with miio? I want only basic functionality - fav mode speed, pm25, temp maybe...
Please also share, what do You think - will it work or not?

I cannot get it to work, i have the token but wont return values

you need to use new miot-spec api as described here
https://github.com/rytilahti/python-miio/issues/543


Add SwiftUI enhancements

This PR adds the @RealmState property wrapper, which will allow users to more easily wield thread confined live types, such as Objects, Lists, or Results:
struct PersonView: View {
    @RealmState(Person.self) var results

    var body: some View {
        return NavigationView {
            List {
                ForEach(results) { person in
                    NavigationLink(destination: PersonDetailView(person: person)) {
                        Text(person.name)
                    }
                }
                .onDelete(perform: $results.remove)
            }
            .navigationBarTitle("People", displayMode: .large)
            .navigationBarItems(trailing: Button("Add") {
                $results.append(Person())
            })
        }
    }
}

The wrapper allows properties to be wielded normally when doing most operations, and adds bonus convenience methods for under-the-hood write transactions for each type (and their properties).
I'm opening up this PR now because I would like eyes on it– though I still need to add the UI tests to the build script/CI, and need to update some documentation.
This PR will also want to point to master once em/thaw is merged.
cc. @astigsen

@tgoyne I've diverged from Eric's branch and will changeover to master once Eric's changes are merged, but could use another set of eyes on the actual swiftUI related changes.

@tgoyne I've diverged from Eric's branch and will changeover to master once Eric's changes are merged, but could use another set of eyes on the actual swiftUI related changes.

Some changes since last review:

KVO has been added for unmanaged objects
Optionals are now supported for @StateRealmObject
@StateRealmObject is now exclusively for List, Objects/EmbeddedObjects, and Optional variants of the previously mentioned types. It is meant to be used in the same way as SwiftUI's @StateObject.
@ObservedRealmObject is now exclusively for List, Objects/EmbeddedObjects. It is meant to be used in the same way as SwiftUI's @ObservedObject.
@FetchRealmResults has been added to better support binding Results types to a view while allowing dynamic querying and multiple Realm support. The default realm configuration for a @FetchRealmResults is passed in through the environment of a view hierarchy, e.g.,:

struct View2: View {
    // the realm used here will be the realm opened from
    // `myCustomConfiguration`
    @FetchRealmResults(MyObject.self) var results

    ...
}

struct View1: View {
    var body: some View {
        View2().environment(\.realmConfiguration, myCustomConfiguration)
    }
}

The example in the examples directory has been changed to the Reminders application

TODO:

Need to update the README.
Add one example showing multiple realm usage

@tgoyne can you PTAL?

@tgoyne I've resolved all previous comments, just wrestling with the CI now.

@tgoyne , addressed all comments– still haven't come up with a better name than FetchRealmResults though. Added a conditional in Realm.add that checks if SwiftUI KVO is active on an unmanaged objects and removes if so. Added a test for this as well. PTAL.

I fixed the CHANGELOG (🤞), renamed FetchRealmResults to ObservedResults, renamed KVO to SwiftUIKVO, moved .jenkins.yml file to root, and added an _objectSchema method to ObjectBase as that had been missing.

There isn't really a reason to add _objectSchema; just using RLMObjectBaseObjectSchema() directly is basically the same code but with less copying involved.

I'll revert that. I'm having a bit of difficulty understanding why the swiftly tests continue to fail– https://ci.realm.io/job/objc_pr/target=swiftpm,xcode_version=12.1/7669/console
Any thoughts on why the guards I've added aren't sufficient?

StateObject requires Xcode 12.2, which is Swift 5.3.1

@tgoyne our first passing UI tests 😄 . Let me know if you have any more thoughts


Increase GCP disk size to 300 GB

Motivation
Some GCP disk images are 160 GB, which means they could get to the current 200 GB size soon.
Designs
We probably want to do this using fastmod or sed, because disk sizes are specified in a few places in a few different workflows.

We should do this soon to avoid CI errors


Getting context in index function

Hi there, really enjoying this library
I'm using the actix-web/token-from-header template.
Sorry if it's a dumb question or considered as a bad practice, but how can I get context data from the index function ?
async fn index(schema: web::Data<TokenSchema>, req: HttpRequest, gql_request: GraphQLRequest) -> GraphQLResponse {
    let mut request = gql_request.into_inner();

   // here
   // request.data. ?
   // request = request.data.???.ldap.bind("user", "password");

    if let Some(token) = get_token_from_headers(req.headers()) {
        request = request.data(token);
    }
    schema.execute(request).await.into()
}

I know you can kind of access it with request.data but it's a raw HashMap and I would prefer having a nice ContextData object.
Is there another way of adding new context data from global data ?
For more background, I'm building an LDAP GraphQL API, and I need to bind to the correct user on each query. The LDAP connection is added when the schema is built.
Schema::build(Query, Mutation, EmptySubscription)
        .data(ldap)
        .finish()

This doesn't seem to make sense, the context data is empty by default.
You should probably use the Data extractor from Actix-web?
async fn index(schema: web::Data<TokenSchema>,  ldap: web::Data<LDAP>, req: HttpRequest, gql_request: GraphQLRequest) -> GraphQLResponse {
   ...
}

Turns out that I can't do that, since the data is hidden in the SchemaInner, and the context data is empty at this point in time.
Is there a simple solution to authenticate a user before the request is executed?


chore: add codecov.yml

Codecov Report

Merging #106 (4245298) into master (bdb937c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #106   +/-   ##
=========================================
  Coverage     6.406%   6.406%
  Complexity      148      148
=========================================
  Files           184      184
  Lines          8757     8757
  Branches       2183     2183
=========================================
  Hits            561      561
  Misses         8116     8116
  Partials         80       80

Flag
Coverage Δ
Complexity Δ

unittests
6.406% <ø> (ø)
0.000 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 bdb937c...4245298. Read the comment docs.


async functions cause "Run selection/line in python terminal" to result in "IndentationError: unexpected indent"

Environment data

VS Code version: 1.27
Extension version (available under the Extensions sidebar): 2018.8.0
OS and version: macOS Sierra 10.12.6
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.4 :: Anaconda custom (64-bit)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Actual behavior
When I select multiple lines of code that includes more than one async function, the process that sends python code to the terminal appears to not correctly recognize the start of a new function.
This appears to be a bug related to #259 - perhaps the code that resolved bug could use some small modifications to handle this use case.
I have multiple functions that are async functions as in the following simple example:
async def sample():
    print("called sample1")

async def sample2():
    print("called sample2")

When selecting the above lines of code and then "Run selection/line in python terminal", it results in:
>>> async def sample():
...     print("called sample1")
... async def sample2():
  File "<stdin>", line 3
    async def sample2():
        ^
SyntaxError: invalid syntax
>>>     print("called sample2")
  File "<stdin>", line 1
    print("called sample2")
    ^
IndentationError: unexpected indent
>>>

Expected  behavior
Functions should be passed from file to Python terminal without syntax error. It appears that
If I manually type the functions into the Python terminal, it works as expected:
>>> async def sample1():
...     print("called sample1")
...
>>> async def sample2():
...     print("called sample2")
...
>>>

Also, "Run Selection/Line" (Jupyter/iPython) works correctly.
Steps to reproduce:
See above
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Shows nothing
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
Shows nothing

Closing as it can't be reproduced anymore.


CP: Upgrade libwebp to 1.3.2 to address CVE-2023-4863 (#6265)

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Cherry-pick of #6265 from main to fix CVE-2023-4863.
Change Log

Updated libwebp to version 1.3.2.

Does this affect the toolchain?

No.
Associated issues

#6265

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-4863

Test Methodology

PR check build.

PR check failed on an infrastructure issue - package built correctly, overriding check.


fix: lake: whitelist loaded config olean env exts

Closes #2632. Supersedes #2836.
Loads only the Lake attributes, docstrings, and IR from the configuration olean.

@Kha I requested your review simply for a quick sanity check. I don't think there any major questions here.


Typo in the default boost message

[Thu, 5. Nov 2020 07:00:05 UTC INFO] *********************************************** [Thu, 5. Nov 2020 07:00:05 UTC INFO] * Boost time for jobs have beed stoped [Thu, 5. Nov 2020 07:00:05 UTC INFO] * All rates reseted to original ones [Thu, 5. Nov 2020 07:00:05 UTC INFO]    ###**********************************************

Update your config then.

This is the default config. It's not /my/ config.


feat: Lighten end_to_end.yml workflow

Summary:
Closes #1233 and #1206
This PR lightens the end-to-end workflow. It concentrates the end-to-end workflow efforts in a single file and samples GTFS Schedule sources from the Mobility Database catalogs. This way, each time the workflow is run, the snapshot validator is tested using different sources.
Using the latest URLs from the Mobility Database fixes issue #1206, since the SSL error was raised when using agency or transitfeeds URLs.
Changes:

The end_to_end_big.yml and end_to_end_100.yml workflows are removed so that everything about the end-to-end workflow happens in end_to_end.yml.
end_to_end.yml is refactored to mimic the behavior of the acceptance_test.yml workflow. The artifacts are named similarly to those in the acceptance test workflow.
harvest_latest_versions.py is updated to allow sampling. 5% of the GTFS Schedule sources in the database are used for the end-to-end workflow (excluding sources requiring authentication for simplicity).
queue_runner.sh is udpated to add a flag. It the flag is set to true, the queue runner will validate the datasets using both the snapshot and master validators, otherwise only the snapshot one.

Expected behavior:
The end-to-end workflow is run on each commit and samples different GTFS Schedule sources from the Mobility Database each time.
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with gradle test to make sure you didn't break anything
[x] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[x] Linked all relevant issues
[ ] ~Include screenshot(s) showing how this pull request works and fixes the issue(s)~

One high-level comment: am I reading the code correctly that a different sub-set of feeds will be selected with each run?  I feel like that could be problematic.  For example, if a particular feed causes a PR to fail, you wouldn't necessarily get the same feed on the next run, making it hard to repro.  I think I'd be more in favor of a consistent set of feeds for each run.

@bdferris-v2 Our original idea was that we would cover more feeds this way, with different feeds being tested at each commit, but you bring a very good point. I changed the behaviour and added a consistent set of 50 feeds.
@emmambd Do you think the selection makes sense? I've selected feeds from various locations, some with features, some aggregated. Let me know if you think more or other feeds should be added.

@maximearmstrong do we need to update (END_TO_END.md)[https://github.com/MobilityData/gtfs-validator/blob/master/docs/END_TO_END.md]?

Do you think the selection makes sense? I've selected feeds from various locations, some with features, some aggregated. Let me know if you think more or other feeds should be added.

@maximearmstrong I don't see any feed types missing so this list looks good to me! My one thought/consideration might be to look at end-to-end test failures in the past and see which feeds it failed on. That would be a last "check" to see if there are any other feed types that would be valuable to include.

@maximearmstrong do we need to update (END_TO_END.md)[https://github.com/MobilityData/gtfs-validator/blob/master/docs/END_TO_END.md]?

@isabelle-dr Sure, I wasn't aware of that file. Its content is outdated - I suggest we delete it. If you think there's is value in having our workflows documented, we can add WORKFLOWS.md in another PR to explain our workflows, including test_package_doc.yml and end_to_end.yml.

@maximearmstrong sounds good, that's a good plan!


Added react-toastify for invalid ClippyID notification

Pull Request
Title
Added react-toastify for invalid ClippyID notification
Description
This PR adds a notification using react-toastify to inform users when an invalid ClippyID is entered. If the ClippyID does not exist, a toast message will appear with the text "This ClippyID does not exist!".
Related Issues
Fixes #25
Changes Made

Integrated react-toastify into the application.
Added toast notification for invalid ClippyID in the Home component.

Checklist

[x] I have tested the changes locally
[ ] Documentation has been updated (if necessary)
[x] Changes are backward-compatible

Screenshots (if applicable)

Additional Notes
Please review the changes and let me know if any adjustments are needed.

Clippy IDs are not being generated in the preview deploymeny

Clippy IDs are not being generated in the preview deploymeny

@subinoybiswas  I have created a new pull request ...Could you please review and deploy it? Let me know if you encounter any deployment errors. #1

Caught the issue,
const uri = process.env.MONGODB_URI; should be
const uri = process.env.MONGO_URI;

I have

Caught the issue, const uri = process.env.MONGODB_URI; should be const uri = process.env.MONGO_URI;

@subinoybiswas I have fixed that could you please deploy it again !


Stabilize Cargo's new feature resolver

This RFC proposes to stabilize Cargo's new feature resolver, and the new command-line behavior for feature flags.
Rendered

cc @rust-lang/cargo

At the moment
my-feature = ["my-optional-dependency/their-feature"]

also enables an optional dependency when my-feature is activated. I've encountered this for a std feature that I have, where I delegate std to all my dependencies, even optional ones, but that now forces them to be built. The only alternative is to add a feature for something like i-want-the-dependency-but-also-std, but that's annoying to use and starts a combinatorial explosion.
So I feel like the new resolver should also not automatically enable optional dependencies just because a feature got delegated. Otherwise I feel like this may be something that would go into an eventual resolver version 3 in some way.

@CryZe I recognize that the inability to conditionally enable features on optional dependencies makes it difficult or impossible to express certain things. That request is tracked in https://github.com/rust-lang/cargo/issues/3494.
There are likely several ways that can be added without breaking current behavior. Possibly through new syntax, something like namespaced features, or automatic features.
Part of the goal is to avoid highly disruptive changes, and I suspect changing the meaning of pkg/feat would break a large number of packages. Also, the resolver field is a global change, whereas a change to pkg/feat would be package-specific (that is, each package would need to decide which meaning it is using).
Finally, we recognize that there are a large number of items on the wish list for changes to features. However, I would prefer to avoid blocking progress for changes that are not on the horizon.

This looks great! Minor nit: I wonder about the choice to use a string for the resolver value in the manifest. Couldn't that be an integer instead? What ideas went into deciding it should be a string?

@djc That is answered above here: https://github.com/rust-lang/rfcs/pull/2957#discussion_r456819762

@ehuss because multiple people have asked the same, maybe it should be written explicitly in the RFC under "Future possibilities":

By making the value a free-form string, future additions would be able to enable different options, even if this is not necessary at first.

This looks awesome! Great work @ehuss.
I have a major concern that is not addressed in the RFC though. How will this interact with https://github.com/rust-lang/rfcs/pull/2887 (artifact dependencies) or other future plans like that? I can kinda understand how the resolver works can extrapolate the behaviour, but I would still like to see this specifically talked about.

How will this interact with #2887 (artifact dependencies) or other future plans like that?

The RFC explicitly calls out the future concerns in the Future possibilities section, and in Drawbackes section, which mentions that future changes may require opting in to new behavior with the resolver setting.
I don't think it is feasible to design every potential enhancement that may come in the future and understand how they might interact.  Some work along those lines has been done (see https://github.com/rust-lang/cargo/pull/8799 and https://github.com/rust-lang/cargo/pull/8818), but if this RFC is delayed until everything is considered, it will never be stabilized.  The onus is on those future enhancements to consider how they integrate into the existing behaviors and environment.

I've pushed some small updates to clarify some things. I'd like to nudge this along, so:
@rfcbot fcp merge
@rust-lang/cargo I believe this is in a state to be stabilized. The only open issue I am concerned about is https://github.com/rust-lang/cargo/issues/8312 (I added a summary in the RFC), but there is no clear solution to me. I am uncertain how likely it is to cause problems (there haven't been any real-world reports so far). It may be possible that we can tweak the behavior later if it becomes evident that it is a real problem.

This is a clear improvement and the nightly implementation has been widely appreciated. So:
@rfcbot reviewed
At some point we should think if a future rewrite of the dependency resolver (pubgrub-rs) can become aware of and incorporate some of this logic. But the current feature resolver is working and will work with a rewrite, so there is no reason to hold up this on that.

Thanks everyone for the comments! I have posted https://github.com/rust-lang/cargo/pull/8997 to follow through with the stabilization.


Dead link in README

Enova has decided to open source it's career ladders. You can find background on why we created new ladders here and why we open sourced them here.

That last here is missing a URL and GitHub does weird things when rendering the Markdown (like linking to https://github.com/enova/career_ladders/blob/master). Not sure where that was supposed to go.

Thanks @brockboland ! merged.


[WIP] Fix train.py

Adapt train.py to the updated relbench package.
This is work in progress.

Will merge once train.py works e2e. Still not working due to some dataset bug.


Add metadata filtering, to remove bits of protobuf messages which aren't really needed

Also fixes issue with protobuf's project.json which was preventing it from generating metadata before.
See https://jskeet.github.io/google-cloud-dotnet/ for sample output - for example, see
http://jskeet.github.io/google-cloud-dotnet/docs/Google.Cloud.Language.V1Beta1/api/Google.Cloud.Language.V1Beta1.Token.html
vs
http://GoogleCloudPlatform.github.io/google-cloud-dotnet/docs/Google.Cloud.Language.V1Beta1/api/Google.Cloud.Language.V1Beta1.Token.html
Fixes #305.

LGTM


Fix golint issue in replica_client.go

File: replica_client.go
Line 52: warning: exported method ReplicaClient.GetReplica should have comment or be unexported (golint)
Line 60: warning: exported method ReplicaClient.Get should have comment or be unexported (golint)
Line 74: warning: exported method ReplicaClient.Post should have comment or be unexported (golint)
Line 105: warning: exported method ReplicaClient.MarkDiskAsRemoved should have comment or be unexported (golint)
Line 119: warning: comment on exported method ReplicaClient.GetVolumeStats should be of the form "GetVolumeStats ..." (golint)

I can take this one as well

@cpanato Sure, please go ahead


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test

Docs Build status updates of commit 531b0e9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

archvieTargetFolder/SubFolder/content/someContent.md
:warning:Warning

Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archvieTargetFolder/SubFolder/TOC.yml
:white_check_mark:Succeeded

archvieTargetFolder/SubFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

archvieTargetFolder/docfx.json
:white_check_mark:Succeeded

archvieTargetFolder/SubFolder/content/someContent.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Preserve boot.py when Removing All Files from Device

Currently the Remove All Files from Device option also removes boot.py.
This is not a file you typically change in development (that is usually main.py and any others you create).  That is why it is actually provided as part of the micropython firmware image.
I would like to see a checkbox allowing boot.py to be preserved during an Erase.  In fact it might be better implemented the other way around, you actually have to select the checkbox in order to erase boot.py as part of the device erasure, that will at least make users think about it.

Pushed to master.


Remove docopt

I'd (also) like to suggest to remove docopt as a dependency. It has not been touched in fife years. Besides, without it, the script runs with Python's standard library only making it self-contained. The suggested solution is not elegant or ideal, but robust enough for this use-case.

Thanks!
Sorry for delay in getting to this.


Add appcast to thunderbird (38.5.1)

Thank you for the contribution. It needed some fixes, so they were made in 71b1287a9bb6cdbc8dae74ae1d940a4d442cc751. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Add support for catalyst(iosmac)

credit to https://github.com/mixpanel/mixpanel-iphone/pull/875, thanks so much @tmm1

:+1:


Refactored AuthController & Auth routes.

List of Changes:

[x] Removed unnecessary package which does not allow overwriting Authentication routes.
[x] Changed Trait used by AuthController (Thanks @RDelorier).
[x] Refactor AuthController (cleanup) & Auth routes.

Great work @fergthh! One thought: I'd like to implement a feature in the near future that will allow the admin user to change their password from their profile setting page. Will your changes to the password controller affect that?

@austintoddj Yes, it does. But I just fixed it.

@fergthh I opened a pr to your branch adding the password update feature @austintoddj mentioned if you want to merge it and include it with this pr then its ready for ya, or you can close it and I'll wait till this is merged.

I suppose I should add tests also...


Real-time update chart for activity-monitor project

Thanks! Can you summarize the changes you've made here?

I added simple "udateDatasets" listener, runned with 1000ms interval. Datasets are updated according to documentation:
http://www.chartjs.org/docs/latest/developers/updates.html
Problem is that diffrence between two measurements are too small to show real CPU consumtion (especially for long-time running machine), so I save last CPU times and return only difference for new and old measurements. That pseudo-code should explain all changes:
var lastCpuTimes; while(true){     var currentCpuTimes = getCpuTimes();     updateDatasets(currentCpuTimes - lastCpuTimes);    lastCpuTimes = currentCpuTimes;    wait(1000); }

Gave it a try locally. Looks good! 👍


Blip2 float32 ITM

This PR removes autocast for ITM model, needed for https://github.com/huggingface/transformers/pull/29261

Thanks!


Error in production mode on RoR <IP_ADDRESS> with Bootstrap 5.2

Ruby 3.1.2
Ruby on Rails <IP_ADDRESS>
Third party library: Bootstrap 5.2 ( new version 5.2 released )
With bootstrap 5.1.3 (previous version) all works fine!
app/assets/config/manifest.js :
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css

//= link lib/bootstrap/5.2.0/js/bootstrap.bundle.min.js
//= link lib/bootstrap/5.2.0/js/bootstrap.min.js
//= link lib/bootstrap/5.2.0/css/bootstrap.min.css

in view stylesheets and javascripts are attached via stylesheet_link_tag and javascript_include_tag
config/environments/production.rb :
config.assets.css_compressor = :sass

log/production.log :
I, [2022-08-04T22:18:02.411943 #21004]  INFO -- : [65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] Started GET "/" for <IP_ADDRESS> at 2022-08-04 22:18:02 +0500
I, [2022-08-04T22:18:02.414687 #21004]  INFO -- : [65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] Processing by ApplicationBaseController#index as HTML
I, [2022-08-04T22:18:02.422122 #21004]  INFO -- : [65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7]   Rendered application_base/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 318)
I, [2022-08-04T22:18:10.643746 #21004]  INFO -- : [65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7]   Rendered layout layouts/application.html.erb (Duration: 8222.5ms | Allocations: 366884)
I, [2022-08-04T22:18:10.644123 #21004]  INFO -- : [65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] Completed 500 Internal Server Error in 8229ms (ActiveRecord: 0.4ms | Allocations: 368805)
F, [2022-08-04T22:18:10.645185 #21004] FATAL -- : [65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7]
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] ActionView::Template::Error (Error: Custom property values may not be empty.
        on line 6:68975 of stdin
>> -size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg
   ------------------------------------------^
):
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7]
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] stdin:6
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sassc (2.4.0) lib/sassc/engine.rb:50:in `render'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sassc-rails (2.1.2) lib/sassc/rails/compressor.rb:29:in `call'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/sass_compressor.rb:30:in `call'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/processor_utils.rb:84:in `call_processor'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/processor_utils.rb:65:in `reverse_each'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/processor_utils.rb:65:in `call_processors'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/loader.rb:182:in `load_from_unloaded'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/loader.rb:59:in `block in load'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/loader.rb:43:in `load'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `block in load'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `fetch'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `load'
[65dc8afa-0db3-4e0c-a7be-1b8fc43f79a7] sprockets (4.1.1) lib/sprockets/bundle.rb:32:in `block in call'

...

I'm seeing this too on a build I'm trying to deploy to Heroku. Or at least, a variation of it.

If anyone has a workaround for this, please let me know! At the moment I don't see a clear way forward.
I've spent some time today trying to narrow this down, and I hope that someone will read this testcase and might recognise the problem. The full input line from bootstrap 5.2 is .navbar{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");} but this can be heavily simplified as I've done below. From my testing, almost all variations work, just not for custom properties with no space after the colon and a non-empty url() function.
require 'sassc'

# An empty url() is fine
data = '.foo { --bar:url() }'
puts SassC::Engine.new(data).render

# A non-empty url() wrapped in interpolation is fine
data = '.foo { --bar:#{url("foo")} }'
puts SassC::Engine.new(data).render

# A non-empty url() with a space beforehand is fine
data = '.foo { --bar: url("foo") }'
puts SassC::Engine.new(data).render

# A non-empty url with no space works for non-custom properties
data = '.foo { bar:url("foo") }'
puts SassC::Engine.new(data).render

# A non-empty url with no space throws an error
data = '.foo { --bar:url("foo") }'
puts SassC::Engine.new(data).render

output:
.foo {
  --bar:url() ; }
.foo {
  --bar:url("foo") ; }
.foo {
  --bar: url("foo") ; }
.foo {
  bar: url("foo"); }
Traceback (most recent call last):
	2: from sass-error.rb:21:in `<main>'
	1: from /var/lib/gems/2.7.0/gems/sassc-2.4.0/lib/sassc/engine.rb:50:in `render'
stdin:1: Error: Custom property values may not be empty. (SassC::SyntaxError)
        on line 1:13 of stdin
>> .foo { --bar:url("foo") }
   ------------^

If anyone recognises this, and can post a link to an issue in sassc-ruby or libsass, that would be useful! Or any workarounds gratefully received.

This worked for me: https://github.com/sass/sassc-ruby/pull/233

FYI I'm maintaining dartsass-sprockets which is a fork of this gem based on the code which @Firefishy posted.

@johnnyshields thanks for your work on dartsass-sprockets! I would happily switch to it, but unfortunately the bootstrap rubygem has a runtime dependency on sassc-rails, and dragging that in leads to namespace conflicts between sassc-rails and dartsass-sprockets. See also https://github.com/twbs/bootstrap-rubygem/issues/255

If anyone recognises this, and can post a link to an issue in sassc-ruby or libsass, that would be useful! Or any workarounds gratefully received.

I managed to figure out some of the root cause, along with a partial workaround. Based on my initial work, it's only a problem when the space between the : and the url( is missing, i.e. it's only when some compressed output is being re-parsed that the issue is triggered.
In our case, this is because we had a screen.css file with a sprockets-based * =require "common", and a common.scss with a sass-based @import "bootstrap" . This means that sprockets first compiles and compresses bootstrap, then pastes the output into the CSS file, then tries to compress the end result and barfs while parsing the already-compressed bootstrap.
This also explains why it worked fine for me in development, and not in testing/production, since development doesn't compress any of the SCSS files.
The true fix would be to isolate the parsing bug and patch libsass, but I'm not intending to attempt that (and libsass is deprecated anyway, so the effort might be futile). The workaround is to make sure that you a) have your main stylesheet as a .scss file, not .css and b) only use sass-based @import declarations, so that everything is parsed and compressed in one pass.
I hope this helps someone else too, it took me a while to figure out!


Restaurant mode

Feature description
Consider adding the option to "check in" at a restaurant or other public place. It could be an addition (or possibly substitute) to the usual list where one has to put his/her name.
Instead of the usual bluetooth-id of other users, the app would take a note of an id of a place. This could simply be the geolocation of the place on google maps or the likes, or the name on google maps (or any other choosen map provider), or some other suitable location identifier.
Example szenario:
I open the app and check in at cafe "Chat noir". The app takes a note of the place and time. I could either use the geo location to identify the place, or type in a location identifier visible at the cafe's menu, wall, or registration form.
I might choose to have the app check out automatically when I leave the place or (if I'm not comfortable with the app constantly tracking my geolocation) might say: I intend to stay for 2 hours. I might check out early,  but making that mandatory would probably not work well, as it's likely one might forget it when leaving.
It would be a political decision whether I would be relieved from putting my name into the list. (Probably I would for the time being tick a box on whatever form saying I also did a app check in, informing the Gesundheitsamt that I can get my information that way. )
Two days later another guest gets diagnosed with corona. He tells the Gesundheitsamt to have been at Cafe "Chat noir" and the time. The guest doesn't have to be a user of the app. The Gesundheitsamt then triggers a corona warning for the cafe and time window. This warning gets added to the central list of infected persons (which is now expanded to "possibly infected places"). If the corona patient is a user of the app himself the place gets added to the list automatically.
The next time my app updates its database it receives the location id together with the time. It matches it with my "checked in places" and tells me that I might have been in a risky place at the time reported.
Problem and motivation
The benefit of the app is available currently limited to people that mutually use the app, which is only a fraction of the population. This would extend the usefulness by:

adding warnings about encounters with people that don't use the app themselves
releaving the burden of the Gesundheitsämter in contacting people after an infection, as they can easily contact the people at risk in a batch
if a political decision would be taken for a "form waiver" if I use the app it would provide a big incentive for people to use the app, which would also increase the overall usefulness as the user number increases.

Further extensions might include support for

Corona-Restaurant-beacons that would make manual check in superfluous
support for table numbers or the likes
in larger locations (big restaurant with several rooms) it might be a good idea to have sublocations (room numbers or similar) to limit the number of false positives.

Is this something you're interested in working on
I can provide ideas, but I"m currently not deep enough in the technology used for the app to help developing the code base.

Only after writing this idea down I realized that it probably the wrong repository, was it seems to be about the website only. So I cross posted it here: https://github.com/corona-warn-app/cwa-backlog/issues/32
Please consider deleting or closing it here if it's the wrong place or help me find the right place to post this suggestion. Thank you!

@dstango Could you close your Issue here and see my comment in the Documentation Repo.
Thanks.

yes, sorry. Read it there.


[sqlite-orm] Add features and also fix usage

Describe the pull request

What does your PR fix? Fixes #13279

Add test and example features
The file paths are not correct, which causes that sqlite-orm cannot be found.
Note: All features have passed with the following trilets:

x86-windows
x64-windows
x64-windows-static

Thanks for your contribution!


Fixes to run the bootloader integration tests

This PR contains all the changes and fixes required to run the bootloader integration tests in the madara-prover-api repository.
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.
[ ] CHANGELOG has been updated.

Obsolete, we upstreamed all the changes.


Turn mean opacity into a variant

There were some hardcoded cgs numbers in the mean opacity constructor. I fixed that and also turned mean opacity into a variant since it's annoying to use downstream otherwise.

@Yurlungur I went off on my own for a bit and ended up converting the mean opacity class into a variant (only varying on the unit system of the underlying physical constants). This plays nicer downstream, for the same reason Opacity plays nicer as a variant, and I think it turned out well, but I'm not very familiar with this technique so I'm curious if you see issues with what I've done. Otherwise I think this is ready to go.

Hmm... This is an interesting idea. Let me think about it. Or maybe we could just have a quick discussion so you can walk me through your thinking. I think I like where you're going but I want to understand all the consideration.

Actually @brryan I'm confused again. I know we just talked, but there's only one mean opacity class, containing both Planck and Rosalind means. Why does that require a variant?


Divider disappears after create pipeline

Closes: #1681
Description
This will add a divider between Pipelines and Model serving section.

How Has This Been Tested?

Create a Data science project and open it.
Scroll down to Pipelines section.
Assure there is no pipeline.
A divider will exist between Pipeline and Model serving section.

Test Impact
No test require because only adding a divider.
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@dpanshug Can you squash the commits?

@dpanshug Can you squash the commits?
Also, please remove the WIP label in case you're done.

@manaswinidas Done :+1:


Timer app

Single click BTN1 to add 5 minutes. Single click BTN2 to add 30 seconds. Single click BTN3 to add 5 seconds. Tap to pause or play to timer. Double click BTN1 to reset. When timer finishes the watch vibrates.
I hope the name is ok :)

Thanks! Do you think it's possible to change the name though?
Because it's what I use in the example: https://www.espruino.com/Bangle.js+App+Loader
Adding it will mean that anyone who follows the tutorial will encounter problems :(

@gfwilliams ok done! Now it's Chrono!

Perfect - thanks!

Thank you! Great Job! Can't wait to develop more apps. Today my pasta was drained following the timer installed on my watch, and for the first time no Google or Apple are knowing my pasta habits. I'm not joking I'm feeling free!


openstack-dashboard is upgraded out of order

See https://docs.openstack.org/charm-guide/latest/admin/upgrades/openstack.html#list-the-upgrade-order - openstack-dashboard must be upgraded after nova-compute and before ceph-osd.  However cou currently puts it in the 'control-plane' group, and upgrades it before nova-compute.

Based on the message in
https://github.com/canonical/charmed-openstack-upgrader/issues/554
We've confirmed with the OpenStack team that this order is acceptable too.
Closing this issue.


ServerUnauthorizedAccessException trying to add UserCustomActions to newer site collections

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint CSOM
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

classic site collections

Describe the bug / error
I've infrequently but successfully used code to add custom actions to document libraries on site collections in the past.
When I try the same code on libraries in site collections that I've created in the past few months, I'm now getting a ServerUnauthorizedAccessException, "Attempted to perform an unauthorized operation."
Is there a setting some place I need to update on these site collections to allow this?
Steps to reproduce
From a console app, run a function such as below (taken from here):
public static void AddCustomAction()
        {
            try
            {
                string Pwd = "[yourpassword[";
                string UserName = "[yourusername]";
                string spsiteurl = "[yoururl]";
                var secure = new SecureString();
                foreach (char c in Pwd)
                {
                    secure.AppendChar(c);
                }
                using (var clientContext = new ClientContext(spsiteurl))
                {
                    clientContext.Credentials = new SharePointOnlineCredentials(UserName, secure);
                    var customlist = clientContext.Web.Lists.GetByTitle("SampleCustomList");
                    clientContext.Load(customlist);
                    clientContext.ExecuteQuery();
                    Microsoft.SharePoint.Client.UserCustomActionCollection collUserCustomAction = customlist.UserCustomActions;
                    UserCustomAction newcustomaAction = collUserCustomAction.Add();
                    newcustomaAction.Location = "EditControlBlock";
                    newcustomaAction.Sequence = 100;
                    newcustomaAction.Title = "Custom List ECB Menu";
                    newcustomaAction.Url = "javascript:alert('Custom List ECB custom Action')";
                    newcustomaAction.Update();
                    clientContext.ExecuteQuery(); // ERROR occurs here
                    Console.WriteLine("Custom List ECB Menu Created Successfully");
                }
            }
            catch (Exception ex)
            {

                Console.WriteLine( ex.Message.ToString());
            }
        }

Expected behavior
Expect to not get an error.

This could be that custom script is disabled on your site. Try to enable it with the command Set-SPOSite <SiteURL> -DenyAddAndCustomizePages 0, check if it works for you.
More details are in this article: https://docs.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script


Multiple streams over a same socket

I don't really have a snippet to reproduce this yet, that'll have to wait a few days since I'm very busy on other projects (for my Startup).
In one of the applications that streams terminals over socket.io-stream, I seem to have an issue when trying to open multiple streams over the same socket.
Do you have an idea where this is coming from ?

upload multiple image at same time ?

I get this issue with node-webterm. As soon as I open three or more streams in parallel they all stop working.

How can we reproduce the issue? Just sending three streams in parallel has no problem as far as I test.

I've also encountered the same issue:
2020-05-08 17:14:03,334 ERROR 68491 nodejs.TypeError: Cannot read property '_read' of null (uncaughtException throw 1 times on pid:68491)
    at IOStream._read (/Users/dickeylth/dev/gitlab/edith/node_modules/_socket.io-stream@0.9.1@socket.io-stream/lib/iostream.js:97:15)
    at IOStream.Readable.read (_stream_readable.js:492:10)
    at resume_ (_stream_readable.js:977:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)

pid: 68491
hostname: bogon

I'll try to create a mvp for reproducing the issue later.


fix: dash integration fixes

Improved the integration between the dash and attack animations.
Fix Allura's mass and gravity in gameplayTrial scene for Allura.
Fix Bix's state machine after a double jump, sometimes got stuck in double jump state
Add preInput to dash during jump or attack
Fix state machine to allow transitions between Dash and sorrounding states

Everything alright? Why did the other pr got closed, did anything happen?

I have a problem with the pipeline, it doesn't pass because of a FALLING variable. I don't see why this is happening. Everything compiles locally. I was testing if there was something cached, but it is still not working...

I have a problem with the pipeline, it doesn't pass because of a FALLING variable. I don't see why this is happening. Everything compiles locally. I was testing if there was something cached, but it is still not working...

Have you compiled and run either DebugGame or ReleaseGame locally? It seems to be those two who are making the pipeline fail.

I have a problem with the pipeline, it doesn't pass because of a FALLING variable. I don't see why this is happening. Everything compiles locally. I was testing if there was something cached, but it is still not working...

Have you compiled and run either DebugGame or ReleaseGame locally? It seems to be those two who are making the pipeline fail.

I have a problem with the pipeline, it doesn't pass because of a FALLING variable. I don't see why this is happening. Everything compiles locally. I was testing if there was something cached, but it is still not working...

Have you compiled and run either DebugGame or ReleaseGame locally? It seems to be those two who are making the pipeline fail.

I was not expecting this to fail in game mode, but I'll make a build to check if there's something wrong

@markmeliaa the build works in releaseGame

So FALLING is not being used anywhere and it compiles well locally, but if you delete the FALLING state the pipeline does not compile Game builds, is that what's happening?

Yes, that's exactly the problem and I don't understand it.

@AuxPort66 @DADSILVER @diegusmejia117 @markmeliaa @Piterga12 this is ready to be tested!

Regarding functionality, I can shoot with Allura while doing the roll, that should not be possible.
And if I dash in the air, it gets stored until I hit the floor and then the dash happens, that's weird because it feels as you can "store" a dash, which should not be possible.

Good job, but a few things about the gameplay.
After testing the gameplay, the dash store feels really bad. You can attack 20 times and forget that you pressed the dash button and after all this attack the dash will be executed. This happened too with the jump.
About dash: feels good not to have "cd" with Bix look awesome, but with Allura, if you dash 4 times in a row sometimes the animation doesn't work or the move is done and the roll is in the site.
About Jump: All seems good except that you are falling and jumping with the coyote time the animation of the first jump didn't show.
This feedback is for gameplay. I will read the code now.

Thanks for the feedback David! I'll take a look at what you asked and let you know when it's fixed!

Good job, but a few things about the gameplay.
After testing the gameplay, the dash store feels really bad. You can attack 20 times and forget that you pressed the dash button and after all this attack the dash will be executed. This happened too with the jump.
About dash: feels good not to have "cd" with Bix look awesome, but with Allura, if you dash 4 times in a row sometimes the animation doesn't work or the move is done and the roll is in the site.
About Jump: All seems good except that you are falling and jumping with the coyote time the animation of the first jump didn't show.
This feedback is for gameplay. I will read the code now.

About the dash: Right now the cooldown is set to 0.1, after merging the PR we can modify the value of Allura to 0.2 or more (0.2 is what I found is the minimum value to avoid animation problems. Probably the cooldown should be higher also on Bix, not because of the animations, but for the mechanics. The game is probably too easy if you can dash whenever you want during a combat. If you don't mind, I'll skip the cooldown values for this PR, and we can address this topic later

Thanks for fixing my last comments, I tried the game again and, instead of not attacking during a dash, what I wanted is that, while the dash/roll animation is being performed, attacking should be disabled (bc it feels weird that Allura shoots a bullet while finishing the das). And why did you add back that you could dash during attacks? We already addressed that it felt weird in #748.

Thanks for fixing my last comments, I tried the game again and, instead of not attacking during a dash, what I wanted is that, while the dash/roll animation is being performed, attacking should be disabled (bc it feels weird that Allura shoots a bullet while finishing the das). And why did you add back that you could dash during attacks? We already addressed that it felt weird in #748.

There's different people asking for different requirements. Please, can we meet?

There's different people asking for different requirements. Please, can we meet?

Who's asking for different requirements?

Thanks for fixing my last comments, I tried the game again and, instead of not attacking during a dash, what I wanted is that, while the dash/roll animation is being performed, attacking should be disabled (bc it feels weird that Allura shoots a bullet while finishing the das). And why did you add back that you could dash during attacks? We already addressed that it felt weird in #748.

It should be done as you asked me right now! Let me know if there's something else we need to change

what I wanted is that, while the dash/roll animation is being performed, attacking should be disabled (bc it feels weird that Allura shoots a bullet while finishing the dash).
This is not yet fixed, the DASHING state of PlayerActions shouldn't be changed until its animation finished, because now Allura starts shooting bullets while its roll animation is finishing and that looks weird.

what I wanted is that, while the dash/roll animation is being performed, attacking should be disabled (bc it feels weird that Allura shoots a bullet while finishing the dash).

This is not yet fixed, the DASHING state of PlayerActions shouldn't be changed until its animation finished, because now Allura starts shooting bullets while its roll animation is finishing and that looks weird.

Nice catch Mark! It should be fixed now


Add persistence executor service factory for unit tests

What does this PR do?
Some tests are flaky because there is another thread involved in the tests which may interact with certain parts like internalLogger. This PR introduces a factory for the persistence executor service, so that we can provide "same thread" implementation for unit tests in order to avoid concurrency.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1499 (f08005b) into feature/sdkv2 (8b5a8a9) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@                Coverage Diff                @@
##           feature/sdkv2    #1499      +/-   ##
=================================================
- Coverage          83.18%   83.13%   -0.05%
=================================================
  Files                423      423
  Lines              14552    14557       +5
  Branches            2180     2181       +1
=================================================
- Hits               12104    12101       -3
- Misses              1861     1870       +9
+ Partials             587      586       -1

Impacted Files
Coverage Δ

...n/com/datadog/android/core/internal/CoreFeature.kt
87.97% <100.00%> (+0.09%)
:arrow_up:

.../kotlin/com/datadog/android/v2/core/DatadogCore.kt
83.62% <100.00%> (+0.28%)
:arrow_up:

... and 14 files with indirect coverage changes


infinite loop with flex: none

caused by the css shorthand expander. Changing the value to 0 0 auto works around the issue.

could you kindly attach the repo link where you would like this issue resolved


Terrain Clipping Planes Sandcastle example is broken in master

http://localhost:8080/Apps/Sandcastle/index.html?src=Terrain Clipping Planes.html&label=Showcases
The following error happens when you switch to the St. Helens example
DeveloperError: This object was destroyed, i.e., destroy() was called.
Error
    at new DeveloperError (http://localhost:8080/Source/Core/DeveloperError.js:43:19)
    at PrimitiveCollection.throwOnDestroyed (http://localhost:8080/Source/Core/destroyObject.js:45:19)
    at Batch.update (http://localhost:8080/Source/DataSources/StaticOutlineGeometryBatch.js:129:32)
    at StaticOutlineGeometryBatch.update (http://localhost:8080/Source/DataSources/StaticOutlineGeometryBatch.js:330:35)
    at GeometryVisualizer.update (http://localhost:8080/Source/DataSources/GeometryVisualizer.js:255:36)
    at DataSourceDisplay.update (http://localhost:8080/Source/DataSources/DataSourceDisplay.js:274:37)
    at Viewer._onTick (http://localhost:8080/Source/Widgets/Viewer/Viewer.js:1583:49)
    at Event.raiseEvent (http://localhost:8080/Source/Core/Event.js:146:30)
    at Clock.tick (http://localhost:8080/Source/Core/Clock.js:307:21)
    at CesiumWidget.render (http://localhost:8080/Source/Widgets/CesiumWidget/CesiumWidget.js:695:43)

Thanks for catching this @hanbollar!

This was probably my fault.  Looking into this now


Turn off automatic type acquisition

In case this makes sense as a temporary measure for #14889.

👍


Add Alpine 3.6 and 3.7 variants for 3.5

OpenStack is now still stuck with Python 3.5 and we (Monasca) would like to use it with newer Alpine versions (especially that Alpine 3.4 got into EOS now).

Travis fail because of gpg --keyserver ha.pool.sks-keyservers.net problems, but when I run thsi commands locally they are fine.

Tests are flaky. This time none of my changes failed but only other tests.
There are problems with ha.pool.sks-keyservers.net.

Closing as it was fixed in #290


More operations with the filename without id

It would be interesting if they heard more operations that could be performed without the file ID, just with the filename, like:

[ ]  List files by name;
[ ] Delete a file by name;
[ ] Take the ID of a file by name;

This is more of an issue for the B2 API itself, we can't really provide these features without becoming a higher-level abstraction over the API.


Add Playwright

Love the work here!
I'm adding Playwright integration in case you are interested.
This requires more work to be stable. WIP.
Feel free to close the PR if you don't think Playwright should be added 😃

I'm running into issues with pnpm and native bindings. I can't go past those issues. I'll stop my work here since I'm not a pnpm expert


Add support for OCPP 2.1

Fixes #448

This PR is the output from the code generator, is this correct?

Yes

@OrangeTux I know that this PR has been lingering. Do you have the json schema from which these dataclasses were derived? It'd parallel v1.6 and v2.0.1 which have those as references.


Custom validator logic

We need to create our own validator to replace github.com/go-ozzo/ozzo-validation, which is not very well maintained, bigger than we need, and not very portable (doesn't work with GopherJS).
I'm opening this issue to discuss what types of validations we need, and hammer out a basic validation API.

At present, within gobl, we're using the following checks:

validation.Required
uuid.IsV1
uuid.IsV4*
uuid.Within(1time.Second),**
uuid.Within(10time.Millisecond),**
validation.By(checkDefValuesOrder)**
validation.Length(2, 6)
validation.Match(regexp.MustCompile(^[A-Z0-9]{2,6}$))
is.URL
validation.In
validation.By(validateTaxCode)**
validation.By(v.supplier)**
validation.When
validation.By(v.customer)**
ValidTaxID**
DateNotZero()**
DateBefore()**
DateAfter()**
is.Email
is.E164

*These are only used in tests
**This is a custom validation rule we've written

I think I'd have to see what your proposing to understand... there are a lot of potentially complex cases which are currently quite nicely solved. The Invoicing stuff for Spain comes to mind, and these are where we'll need to add a lot more complexity over time: https://github.com/invopop/gobl/blob/main/regions/es/invoice_validator.go#L21
My suggestion would continue to be re-implementing the ozzo validator semantics, with our own custom DSL. I'll copy the example I did yesterday: https://github.com/invopop/gobl/pull/44#pullrequestreview-926717929
import (
  "github.com/invopop/gobl/validate"
  "github.com/invopop/gobl/validate/is"
)

func (r Region) Validate() error {
  return validate.Struct(&r,
    validate.Field(&r.Code, is.Required),
  )
}


Curl request error in tensorrt-inference-server (Infer failed: unexpected size for input 'im_info', expecting 12 bytes for model 'ssd_model2)

Description
Getting below error while sending inference request through curl to inference server.
### Infer failed: unexpected size for input 'im_info', expecting 12 bytes for model 'ssd_model2'
Curl Request:
### curl -X POST localhost:8000/api/infer/ssd_model2 -H "Content-Type: application/octet-stream" -H 'NV-InferRequest:batch_size: 1 input { name: "data" dims:3 dims: 375 dims: 500 } input  { name: "im_info" dims:1 dims: 1 dims: 3 } output { name:     "rois" cls {count:1200} } output { name:     "bbox_pred" cls {count:33200} } output { name:     "cls_prob" cls {count:6300} }' --data-binary<EMAIL_ADDRESS>Model Api Status:
curl localhost:8000/api/status/ssd_model2
id: "inference:0"
uptime_ns:<PHONE_NUMBER>312
model_status {
key: "ssd_model2"
value {
config {
name: "ssd_model2"
platform: "tensorrt_plan"
version_policy {
latest {
num_versions: 1
}
}
max_batch_size: 5
input {
name: "data"
data_type: TYPE_FP32
dims: 3
dims: 375
dims: 500
}
input {
name: "im_info"
data_type: TYPE_FP32
dims: 1
dims: 1
dims: 3
}
output {
name: "rois"
data_type: TYPE_FP32
dims: 1
dims: 300
dims: 4
}
output {
name: "bbox_pred"
data_type: TYPE_FP32
dims: 300
dims: 84
dims: 1
dims: 1
}
output {
name: "cls_prob"
data_type: TYPE_FP32
dims: 300
dims: 21
dims: 1
dims: 1
}
instance_group {
name: "ssd_model2"
count: 1
gpus: 0
gpus: 1
kind: KIND_GPU
}
default_model_filename: "model.plan"
}
version_status {
key: 1
value {
ready_state: MODEL_READY
}
}
}
}
ready_state: SERVER_READY
How to send im_info data in curl request.

I encounter the same error.But i use the model that support variable size input and batch processing. Request input is support batch processing.I have no ideas about the error.

Notice that to send request using CURL directly, you need to construct the HTTP request in the expected form (see documentation here for detail).
In short, you need to include the data for all inputs in your request body (for "data" and "im_info"), in your request body, I only see the data for the input "data" and the data for "im_info" is missing.


Interstellar 2.0

This issue is collecting all feature requests that require a breaking change to the public API of this library. Please discuss features in the corresponding issues (linked in the description):

Split up Signal<T> and Result<T>. This also adds support for non-failing signals and fixes the naming of some methods (flatMap becomes then, so flatMap is free to do a real flat-mapping). #15
Support Signal<Void>. This might require to get rid of sending the initial signal value on subscribe. #13
Add a way to unsubscribe from a signal using a subscribtion-object. #12

Hi
Congratulations on the library. Interstellar looks great! Could you say more than less when do you plan to release v. 2.0 ?

Thank you @anaglik,
currently I'm thinking about putting these features into v1.4 and then do the deprecation of Signal<T> in 2.0, just to have a smoother upgrade experience. This also involves the discussion about https://github.com/JensRavens/Interstellar/pull/27.

Great, it sounds good,
I am mostly interested in #12 but all chances are very welcome.

@JensRavens Do you have any ideas or specifics on how one could contribute to v2? I see there's a branch and I'm wondering what next steps the community could help you take – we're happy to help with such a useful library!

Hey Ash,
nice to see you here! I've been pretty much heads down in ruby over the last few weeks, but I'll have some more time for Swift now.
Currently I hope to get some feedback over the design decisions of v2. Dropping Signal in favor of Observable is a needed, but rather drastically.
Also I'm really unsure how to handle Observables on subscribe and if they should keep notifying the observer on subscribe. This is helpful in most circumstances but can possible introduce unintentional memory leaks. Making that optional could possible make the whole thing pretty bloated (and the main advantage of this library is it's small size and easy usage). Same for unsubscribing.
So mostly I'm looking for a wishlist of features from the library's users how Interstellar should work in the next version.

@JensRavens Would you consider adding UI Bindings in a separate, dependent project (InterstellarUI for example) so that those among us who'd like to subscribe to events from UITextFields, UIButtons etc. are able to do so?

Yep. My first reflex was to add it as a cocoapods subspec. But as I'm planning to use Interstellar also on Server Side Linux apps, it might be best to move it out of the core (there's already a divide between Interstellar Core and the Warpdrive extensions).

@JensRavens Cool, I'll take a look at the v2 branch and provide some feedback – does here work? For code-level feedback, a PR from that branch into master makes sense, but it might be early for that. Do you consider the v2 branch at all ready for testing in production?
For UI bindings, I think moving to another repo makes sense. RxSwift has RxCocoa as a second podspec in the repo, and it works okay for them (but I think it's a little messy). Totally a personal preference though.

@ashfurrow It's should be pretty stable, but expect some changes during the next weeks (making the subscribers subclasses of an abstract base class is not what I would like to do in the long term, but that shouldn't affect the public api).
For the UI-bindings: I've already came up with a nice name: Holodeck (which completes Interstellar and Warpdrive).

@JensRavens Holodeck is a cool name, I like it :)
Keep us posted when you create this project. I have a couple of UI bindings I'll submit then. And I'll try to have a look at the v2 branch when I get some free time.

@JensRavens care to elaborate a bit more on:

Also I'm really unsure how to handle Observables on subscribe and if they should keep notifying the observer on subscribe

Love the simplicity of Interstellar over RAC/RxSwift.

@JensRavens Could you comment on following suggestions/questions ?

What do you think about adding "Unsubscribable" protocol with unsubscribe method and then make ObserverToken implement it ? It may simplify storing tokens in Array (e.g [Unsubscribable]). Currently I don't have "nice" solution for that.

You mentioned that you are thinking about depreciation of Signal. Are there any plans to add similar set of functions from Signal to Observable ? Currently I am migrating to v2. and noticed lack of e.g merge or few versions of flatMap.

@anaglik
For the token part:
ObserverToken currently is a class and the only class that can be returned by the subscribe method. What would be the advantage of having it as a protocol? [ObserverToken<String>] looks fine to me.
Observables by now should support everything that was supported by signal - and more (merging is currently discussed in #39). The old version of flatmap was never a real flatmap, therefore it has been renamed to then to show the similarities to javascript's promises. It's not directly implemented on observable, but as an extension of Observable<Result<T>>.

@JensRavens

In my case I would like to store ObserverTokens of different types in one array (something like [ObserverTokens<Any>]). I could't find elegant way to do that without protocol.

You are absolutely right about old version of flatMap. Nonetheless, I couldn't find good replacement for flatMap<U>(f: (T, (Result<U>->Void))->Void) -> Signal<U> but I will definitely look at then.

Thanks for quick reply!

I've had this situation too, where I want an array of indiscriminate  observer tokens to unsubscribe from later.

Here's a short update: v2 is now fully tested and documented and I think it's ready for production (I think @ashfurrow  is already using it). If there are no objections I'll release it just in time on friday for my Interstellar workshop in Zürich.
Here's a the list of awesome new stuff:

Signal<T> was split up into Observable<T> which can contain (but doesn't have to) a Result<T>. Observable<Result<T>> get's some superpowers due to protocol extensions which replaces the flatmap function (now called then) (#15).
There's a new way to manually unsubscribe from an Observable<T> (#40).
Warpdrive has been ported to Linux thanks to the release of the Dispatch library.
BYOR™-Technology (Bring Your Own Resulttype) allows you to use Result<T>s from other libraries or your own code as long as they conform to the new ResultType protocol.
Observable<T> does have options to configure its updating behaviour:

.NoInitialValue does not save the current value and therefore allows Void-values (#13)
.Once will call subscribers exactly once and then automatically unsubscribe them (effectively making it a Promise<T> and fixing a lot of retain cycles)

@JensRavens When do you plan to move v2 into master?

Finally published v2 today! :tada:


Add cloud-prepare/vpc-peering proposal

Signed-off-by: ruromero<EMAIL_ADDRESS>

updated proposal with your comments

LGTM, but I'd like @skitt @vthapar @tpantelis @sridhargaddam @mkolesnik to review.

Hi @mkolesnik, Is not strictly mandatory to config something in submariner but it could help a lot to connect cluster between them and also with a better configuration for this scenario using VXLAN instead of Libreswan (IPSec) because a VPC-peering is a private bridge between two VPCs

Closing based on recent discussion on Jul 27, 2022 - https://docs.google.com/document/d/19UzvTi9FaWK2ps8SNi-xXmw7q71LpIygBp_KmGEZ-s0/edit#
Specifically:

Proposal is to maintain current cloud-prepare code base, but not expanding much or adding new significant features/providers


Feature/wrtobin/time hist

adding some traits for use in the time history functionality

This should definitely be squash-merged

@corbett5 You mind reviewing this and letting me know if any changes are needed?


Update: 3T.Robo3T version 1.3.1

null
Microsoft Reviewers: Open in CodeFlow

@Trenly Do you intend for the architecture to be x64? The installer supplied is a x64 installer not x86.

@Trenly Do you intend for the architecture to be x64? The installer supplied is a x64 installer not x86.

Probably not; I was just using what was in the original manifest. I’ll update and see what happens

SSL Certificate expired.

This is an old package. I’m just converting to multimanifest;
If the SSL expired I’m surprised it passed validation

SSL Certificate expired.

This is an old package. I’m just converting to multimanifest;
If the SSL expired I’m surprised it passed validation

Ignore that. I messed up my PowerShell script a bit.


[QUESTION] should i change kubeletRootDir value?

Qu

Suggest to use https://github.com/longhorn/longhorn/discussions to ask questions.

Environment

Longhorn version: v1.3.0
Kubernetes version: 1.20.2
Node config

OS type and version
CPU per node:
Memory per node:
Disk type
Network bandwidth and latency between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):

Additional context
Add any other context about the pr
oblem here.
my data  dir is /data/kubelet ，should i change this config?if master data dir  diffent with node ,how should i config this?

Not 100% understand you question. Do you mean that you created a cluster with customized kubelet root directory (like doing this https://www.suse.com/support/kb/doc/?id=000020058) and now you want to install Longhorn? If it is the case then you will need to set this setting in Longhorn https://github.com/longhorn/longhorn/blob/a425df9a8bfc209f48180a3792790d4917ed06d6/chart/values.yaml#L90

Just leaving a code reference for the detection of the kubelet root dir below. This is old and hasn't been touched in a while.
https://github.com/longhorn/longhorn-manager/blob/24d07f134011e8ef2ad01d2d69427a59c43ed87c/app/get_proc_arg.go#L73