Volume errors when used in Riofile

Cannot currently use volumes in Riofiles
Specifying a volume in a Riofile causes the service to never be brought up. rio ps shows service in "Not Ready" status. rio logs shows an error with container named "". rio systemlogs shows errors of: is invalid: [spec.template.spec.containers[0].volumeMounts[0].mountPath: Required value, spec.template.spec.initContainers[0].volumeMounts[0].mountPath: Required value], requeuing
To Reproduce
Steps to reproduce the behavior:

create a Riofile with contents:

services:
  test5:
    image: your-image
    workingDir: /app/handlers
    volumes:
    - volume-name: /app/handlers
    ports:
    - 8080:80/http

    containers:
    - init: true
      name: foo
      image: ubuntu
      volumes:
      - volume-name: /app/handlers
      args:
      - "echo"
      - "hello world"

run rio up
verify issues with rio ps, rio logs, rio systemlogs

Expected behavior
The service would be created successfully with an emptydir volume mounted to: /app/handlers
Kubernetes version & type (GKE, on-prem): kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T11:13:54Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-20T18:57:36Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

using kind locally

Type:
Rio version: rio info
Rio Version: v0.5.0-rc1 (1c31fdc4)
Rio CLI Version: v0.5.0-rc1 (1c31fdc4)
Cluster Domain: 5ig5i8.on-rio.io
Cluster Domain IPs: <IP_ADDRESS>
System Namespace: rio-system

System Components:
activator status: running
autoscaler status: running
build-controller status: running
buildkitd-dev status: running
cert-manager status: running
controller status: running
gateway status: running
istio-pilot status: running
registry status: running
webhook status: running

note: This same behaviour occurs on v0.4.0.
Additional context
rio systemlog
output:
rio-controller | E0927 16:38:57.882267       1 controller.go:117] error syncing 'default/test5': handler stack-service-object-controller: failed to create default/test5 apps/v1, Kind=Deployment for stack-service default/test5: Deployment.apps "test5" is invalid: [spec.template.spec.containers[0].volumeMounts[0].mountPath: Required value, spec.template.spec.initContainers[0].volumeMounts[0].mountPath: Required value], requeuing

Additionally, the documentation on Riofile is missing "name" on containers.

services:
  test5:
    image: ibuildthecloud/demo:v1
    workingDir: /app/handlers
    volumes:
    - volume-name:/app/handlers
    ports:
    - 8080:80/http
    containers:
    - init: true
      name: foo
      image: ubuntu
      volumes:
      - volume-name:/app/handlers
      args:
      - "echo"
      - "hello world"

@mbarlow Actually I just tried with this manifest it works for me. As talked in rancher-user slack, you should probably change both volume sections to be the correct format. We will correct the docs and add volume example that were missing.

I just tried it and it worked as well. Weird. Thank you for investigating.


Find Usages in Projects and Libraries

Currently, Find Usages only supports finding usages in project source, not usages in module dependencies. IntelliJ's Find Usages view has the option to select 'Projects and Libraries', which we need to support.

@bjansen Could it be that the only thing we need to do here is fix DeclarationPsiNameIdOwner.getUseScope(), which is surely wrong for declarations in binary archives?

Don't know, I haven't looked at the problem yet.

Definitely part of it. With @5b7fcd4 I can now obtain usage results from inside binary archives, as long as I "prime" the archives for the search by running a Navigate > Implementations first. This is needed due to lazy model loading.
So where can we hook into stuff in order to "prime" stuff automatically? Is there some even that occurs just before a Usage search runs?

Since the model is now attached asynchronously to external CeylonFiles, you'll have to ask @davidfestal how/if what you want is possible.


Training on GCP costs

Excited to start this challenge! I'm concerned about one piece though. How much would you expect I get charged if I were to train on Google Cloud Platform? The quote to use the Deep Learning VM is $294/month and I'd only be using it for this challenge. Ideally it'd be best if I could train on my own machine, but I couldn't find a guide for that.
Sorry to ask here, couldn't find an email for the challenge organizers.

Hi @Abdisalan
Most of our guide here (https://github.com/Unity-Technologies/obstacle-tower-env/blob/master/examples/gcp_training.md) can actually be repurposed for training on a local machine.   If you do want to use GCP, a single training session of 10 million steps takes about two days straight of training.


Zealous Zebras

Merge notes:
There's a commit that was pushed two hours after the deadline; we'll need to figure out what to do with it. Another thing to note is that there's another PR open that's related to this team (#67). It appears to be a PR that should have been made internally to the fork but somehow ended up here.

No flake8 linting errors.

I reverted the late commit and pushed that revert to have a PR diff that shows the correct commits. That's handy for the review. The failing check related to this merge should be ignored; it's caused by other team submissions that were already merged.


Reduce memory usage

An UXsim simulation on my model took 4-6 GB for a few hundreds of thousands of vehicles, with vehicle logging off.
I profiled the memory in a small run, with as result:
[ Top 10 Memory Usage ]
.virtualenvs\Py312\src\uxsim\uxsim\uxsim.py:1431: size=1388 MiB, count=72, average=19.3 MiB
AppData\Local\Programs\Python\Python312\Lib\copy.py:71: size=90.7 MiB, count=962, average=96.6 KiB
.virtualenvs\Py312\src\uxsim\uxsim\uxsim.py:951: size=78.5 MiB, count=150008, average=549 B
.virtualenvs\Py312\src\uxsim\uxsim\uxsim.py:659: size=27.5 MiB, count=3272, average=8800 B
.virtualenvs\Py312\src\uxsim\uxsim\uxsim.py:620: size=27.5 MiB, count=3272, average=8800 B

The upper line indicates a huge amount of memory (1388 MiB, for a small run) is used here:
https://github.com/toruseo/UXsim/blob/ebdd6d4dc583a40c873d07b442a5ddd6dddeb322/uxsim/uxsim.py#L1411
I don't know that much about memory profiling, but this might be a leak or at least something we can optimise. I will try to get some more details.

The s.route_pref is in my model about 40MB, which is unnecessarily large, because float numbers between 0.0 and 1.0 don't need float64 precision.
The bigger problem is that it doesn't get recycled / collected however, but just keeps growing:

This is "just" two hours of simulation, taking already 1GB.

I got time for quick comments.
Thanks for investigating. I didnt notice this issue. I agree that this must be solved.
But it is very weird that RouteChoice.route_pref consumes such a huge memory. It is always overwritten when updating. If the reason was RouteChoice.dist_record, it is understandable as it stores all historical dist matrix. If this is the case, you can just comment out dist_record recording process.

For longer simulations, it might be interesting if vehicles can be deleted after they have ended their trips. That could save a lot of memory when no individual vehicle data is needed.

Even with the PRs applied, there's still definitely a memory leak in UXsim somewhere. When running multiple scenarios sequentially, the UXsim World (and probably some of its components) don't get garbage collected properly.
### Running the model from 5 to 24 with av_cost_0.25_av_vot_0.25_av_density_0.5_induced_1.5
Model step (sim time: 5.000, uw time: 0.0).       time| # of vehicles| ave speed| computation time
       0 s|        0 vehs|   0.0 m/s|     7.33 s
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "C:\Users\Ewout\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Ewout\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\pool.py", line 48, in mapstar
    return list(map(*args))
           ^^^^^^^^^^^^^^^^
  File "C:\Users\Ewout\Documents\GitHub\urban-self-driving-effects\model\model.py", line 258, in run_experiment
    simulator.run_until(model.end_time)
  File "C:\Users\Ewout\.virtualenvs\Py312\Lib\site-packages\mesa\experimental\devs\simulator.py", line 81, in run_until
    event.execute()
  File "C:\Users\Ewout\.virtualenvs\Py312\Lib\site-packages\mesa\experimental\devs\eventlist.py", line 84, in execute
    fn(*self.function_args, **self.function_kwargs)
  File "C:\Users\Ewout\Documents\GitHub\urban-self-driving-effects\model\model.py", line 205, in req_exec_simulation
    self.uw.exec_simulation(until_t=self.uw_time)
  File "C:\Users\Ewout\.virtualenvs\Py312\src\uxsim\uxsim\uxsim.py", line 2002, in exec_simulation
    W.ROUTECHOICE.route_search_all(noise=W.DUO_NOISE)
  File "C:\Users\Ewout\.virtualenvs\Py312\src\uxsim\uxsim\uxsim.py", line 1361, in route_search_all
    s.adj_mat_time = np.zeros([len(s.W.NODES), len(s.W.NODES)], dtype=np.float32)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
numpy._core._exceptions._ArrayMemoryError: Unable to allocate 9.46 MiB for an array with shape (1575, 1575) and data type float32
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\Ewout\Documents\GitHub\urban-self-driving-effects\model\model.py", line 360, in <module>
    pool.map(run_experiment, combinations_to_run)
  File "C:\Users\Ewout\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\pool.py", line 367, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Ewout\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\pool.py", line 774, in get
    raise self._value
numpy._core._exceptions._ArrayMemoryError: Unable to allocate 9.46 MiB for an array with shape (1575, 1575) and data type float32

Now I remember that each vehicle holds its own route_pref to represent possibly heterogeneous route choice. In a large network, its total size may become huge.
Adding an option to deleting it after vehicle's trip is considerable

Thanks! I'm running more simulations tonight, I enabled it, curious if / how much it will help.
Another option that would be useful for me is just deleting the vehicle altogether after its finished. Especially for longer simulations that should help memory from inflating. Especially if you don't need data from Vehicle objects or have already saved them while/before finishing.
With #130 area_to_pandas only needs link data, and no vehicle data anymore, which adds an additional use case in which vehicles can just be thrown away after completing their journey.
Could just be another boolean switch like remove_vehicle_on_completion.

I think deleting vehicle is too drastic (we will need to add a lost of exception-catching codes to fully support that function), and I dont want to add it as a default function. This is a traffic simulator after all; deleting traffic is not an option.
Maybe it can be added to user-side codes by using user_function that monitors Vehicle.state variable (if it is "end", del the object)

Regarding this and related issues and PRs on the performance improvements, I think most of the feasible options have been implemented. So, I am closing them.
Of course, I understand that the current version is far from perfect and there is a lot of room for improvement. Feel free to re-open them or propose new ideas.
Thanks for the suggestions and contributions!


databse.json example not up-to-date on readme

https://github.com/cta-wave/Test-Content#how-does-this-site-work Here we have an example of database.json file and how the entries should look like. But, it seems not up to date to the latest folder structure etc.
Is the database.json standard documented elsewhere in case I have missed anything.

I propose to remove the example. Would that work for you? I think the JSON is simple enough to be considered self-documented.

ok


don't remove if parentnode has been removed

fixes #6

have you had chance to look at this @developit?

Sorry about that! looks good.

@developit could you release this please? 🙏


Apple M1 ARM support

Hi All，Do you have plans to support Apple M1 ARM ？

Hello @BruceChoca!
Now that Wasmer is released with M1 support we'll work on extending support for M1 on wasmer related projects.
We'll track progress in this issue.

Hello @BruceChoca!
Now that Wasmer is released with M1 support we'll work on extending support for M1 on wasmer related projects.
We'll track progress in this issue.

I think this feature just depends on Go supporting Apple M1 ARM, once that happens everything should work I believe!

I think this feature just depends on Go supporting Apple M1 ARM, once that happens everything should work I believe!

@jubianchi  that is good, thank u very much
Now, there are still some errors in GO 1.16.1beta darwin-amd64

@jubianchi  that is good, thank u very much
Now, there are still some errors in GO 1.16.1beta darwin-amd64

It works on my M1 machine, but we need Go 1.16beta1, and a custom Wasmer (Rust runtime, the original One) build. That's OK, but we can't produce them automatically for the moment. Time is our friend :-).

ok, I got it, thank u very much

hello. Is this.. still in progress? Rust wasmer does not support M1/M2 in 2023?

Rust Wasmer has been supporting M1/M2 since a few months after it launched.
I believe the only pending thing is updating the libraries in wasmer-go :)

I see there is some library here?
https://github.com/wasmerio/wasmer-go/commit/8c6ce3e91d596585642ead0dcf05d31860848c3a
I am not sure if that's the library you mean (I don't fully understand WASM/WASI/wasmer ... yet :D I will look into it though)

Anyway yeah it runs fine on my M1 machine. I... think this can be closed and the readme updated?


Switch language from menu

Hi Christian! I was reading your electron tutorials from your web, and the one about localization caught my eye. I want to switch languages from the menu and I was thinking about adapting your tutorial into my electron app, but I'm not able to do it. Is there any way? I thought about maybe using handlebars template rendering... but I can't find a proper solution to achieve this.
Thank you very much in advance :)

Hi!
Sry for late response. I have a lot to do in other projects right now. But i'll take a look at this as soon as possible. Hopefully you have already found a localization technique that works for you.

It's fine!
Well, I managed to do it with i18n and handlebars node modules, but my solution is kinda messy (at least it works). Anyway, I would appreciate if you already know a better —and cleaner— way to do this :)


add XML support

cc https://github.com/carlmjohnson/requests/discussions/78

I am pretty happy with this, but I think in 2023 XML is sort of niche, so it doesn't need to be a pair of methods on Builder, and it could just be functions instead. Builder already has so many methods that it junks up the docs. Also I'm not sure about it, but I think if it's a method then you have to import encoding/xml along with this package, but if it's not maybe it gets tree shaken out? Might want to experiment with it to figure that out.
Also, it's nice to have an example test. Is there a good public API that uses XML to demo?

Hmm, I am definitely using the builder methods. Having to set application/xml each time manually would be a pain without BodyXML.

Also, it's nice to have an example test. Is there a good public API that uses XML to demo?

I looked for an xmlplaceholder api but didn't see one pop up right away.

Having to set application/xml each time manually would be a pain without BodyXML.

Something I wonder about for BodyJSON is if people are inconvenienced when they want to set a different content type than application/json. For XML, I bet there are server that require the content type to be application/xml+myapp.v3 or whatever. Maybe there should be some way to signal what the default content type for a BodyGetter is while still letting you override it. Not sure how it would work though.

I did a quick test of putting a function that imports encoding/xml next to another that doesn't and then not using the xml function, and it ends up not being tree shaken out. So, if we add this, everyone's build will end up including encoding/xml even if they don't use it. Probably not a big deal in practice, but some people want smaller binaries.
What if we move these into a subfolder, maybe reqxml.Body(contentType string, obj any) requests.Config and reqxml.To(any) requests.Handler? Body can default to using application/xml as the content type when it's an empty string.

Here is a funny XML example:

func ExampleBuilder_ToXML() {
	type CD struct {
		Title   string  `xml:"TITLE"`
		Artist  string  `xml:"ARTIST"`
		Country string  `xml:"COUNTRY"`
		Price   float64 `xml:"PRICE"`
		Year    int     `xml:"YEAR"`
	}
	type Catalog struct {
		CDs []CD `xml:"CD"`
	}
	var cat Catalog
	err := requests.
		URL("https://www.w3schools.com/xml/cd_catalog.xml").
		ToXML(&cat).
		Fetch(context.Background())
	if err != nil {
		fmt.Println("Error!", err)
	}
	for _, cd := range cat.CDs {
		if cd.Price > 10 && cd.Year < 1990 {
			fmt.Printf("%s - %s $%.2f", cd.Artist, cd.Title, cd.Price)
		}
	}
	// Output:
	// Bob Dylan - Empire Burlesque $10.90
}

I rolled your commit into #82. Let me know if it looks good to you.

Merged in #82.


The value of data is undefined on the first render when accessing the cache

When accessing the cache (not firing a /graphql request) on the first render, the data  value returned is undefined.
Sample code:
https://codesandbox.io/s/nifty-banzai-7q0bz\
You can see how switching between different components, sometimes creates a flash of the red loading background before displaying the data even tho the data is already on the cache.

I'll go ahead and close this as per the discussion over in #245 since this is now a duplicate :)


146 notification animations

Implementing fade animations in notification component.

It was created  a file on utils to contain the classes of animations, so they have the possibility to be used in other components as well.

add delay please 😃


Images are 2-D, how to adapt this for 1-D data ?

what kind of data are you working with?

Its like (N, D) shaped data where say N = number of frames of a video and D is the number of parameters extracted from each frame. I am struggling to make the prediction temporally consistent and thats how I found this 3D Unet Idea interesting.

@mayank64ce i see, but could you not just use a 1d unet? i have one here, by popular request some time ago https://github.com/lucidrains/denoising-diffusion-pytorch/blob/main/denoising_diffusion_pytorch/denoising_diffusion_pytorch_1d.py

I am using unet_1d from diffusers as of now, I am unable to get the generated vectors to be temporally coherent.


DartWorker SIGSEGV for null pointer dereference

There are really no steps to reproduce because it randomly happens (very rarely, but it happens) when I test different apps. It's happened 2 times in basically 2 months on 2 different projects with different architectures.
If it could help, it happened while awaiting for futures with FutureBuilder (it might mean nothing but I can't exactly tell if that's the cause). This is the error:
F/libc    ( 8416): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c in tid 8488 (DartWorker), pid 8416 (.fomet.messaggi)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.200403.001/6362371:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2020-06-04 11:44:43+0200
pid: 8416, tid: 8488, name: DartWorker  >>> it.sblservice.fomet.messaggi <<<
uid: 10134
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c
Cause: null pointer dereference
    eax 00000000  ebx f045d440  ecx 00000000  edx 00000000
    edi f045d440  esi f04011b4
    ebp b337aed8  esp b337aeb0  eip ee7363df
backtrace:
      #00 pc 0006f3df  /apex/com.android.runtime/lib/bionic/libc.so (je_extent_heap_remove+671) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #01 pc 00070ff8  /apex/com.android.runtime/lib/bionic/libc.so (extents_remove_locked+216) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #02 pc 0006fcef  /apex/com.android.runtime/lib/bionic/libc.so (extent_recycle+447) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #03 pc 0007121f  /apex/com.android.runtime/lib/bionic/libc.so (je_extent_alloc_wrapper+223) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #04 pc 000567dd  /apex/com.android.runtime/lib/bionic/libc.so (je_arena_extent_alloc_large+493) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #05 pc 000755a0  /apex/com.android.runtime/lib/bionic/libc.so (je_large_palloc+320) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #06 pc 000760aa  /apex/com.android.runtime/lib/bionic/libc.so (je_large_ralloc+122) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #07 pc 0005a62c  /apex/com.android.runtime/lib/bionic/libc.so (je_arena_ralloc+2732) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #08 pc 0004dfd4  /apex/com.android.runtime/lib/bionic/libc.so (je_realloc+532) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #09 pc 00046661  /apex/com.android.runtime/lib/bionic/libc.so (realloc+49) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
      #10 pc 01642533  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #11 pc 016d498c  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #12 pc 016d4f0e  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #13 pc 0175970e  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #14 pc 01757b7c  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #15 pc 016d3528  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #16 pc 016c2fef  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #17 pc 017b88c8  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #18 pc 017b4893  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #19 pc 017b4ec1  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #20 pc 016be000  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #21 pc 016e64ac  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #22 pc 016e6a8e  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #23 pc 017d80db  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #24 pc 017acc50  /data/app/it.sblservice.fomet.messaggi-HHTENgt1MR-s1nWqFDY3dw==/lib/x86/libflutter.so (BuildId: 5e1f169724bd7ce0f4cf7da5a3bb74fb7a72f496)
      #25 pc 00000701  <anonymous:c2180000>

I got this error while working on an Android emulator, i've never tried on a real device. Always testing on android. This my flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.5 19F101, locale it-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

And other info:

Flutter 1.17.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f7a6a7906b (3 weeks ago) • 2020-05-12 18:39:00 -0700
Engine • revision 6bc433c6b6
Tools • Dart 2.8.2
sblservicesrl@Mac-mini-di-SBL ~ %

Similar https://github.com/flutter/flutter/issues/42585

Symbolized stack trace:
third_party/dart/runtime/platform/text_buffer.cc:139
third_party/dart/runtime/vm/json_writer.cc:395
third_party/dart/runtime/vm/json_writer.cc:176
third_party/dart/runtime/vm/json_stream.h:245
third_party/dart/runtime/vm/object_service.cc:70
third_party/dart/runtime/vm/json_stream.cc:316
third_party/dart/runtime/vm/json_stream.h:437
third_party/dart/runtime/vm/service.cc:1410
third_party/dart/runtime/vm/service.cc:929
third_party/dart/runtime/vm/service.cc:977
third_party/dart/runtime/vm/isolate.cc:1036
third_party/dart/runtime/vm/message_handler.cc:233
third_party/dart/runtime/vm/message_handler.cc:342
third_party/dart/runtime/vm/thread.cc:530
third_party/dart/runtime/vm/runtime_entry.cc:2504

The crash is happening in a call to realloc while serializing the JSON response to a Dart VM service GetIsolate call.

It's happened again today on a different machine on a different project (same error). ASM addresses are different but the issue is still the same.
As I've already said though, it happens very rarely but using Flutter 8 hours a day I see it some times. For me, the fix is a simple flutter clean and then a new normal build

Hi @buggiani-informatica
Hare you still facing this issue on the latest version of Flutter? If so, please provide the output of flutter doctor -v.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


scale testing and documentation of scale test results

We have been claiming that arlon is designed for large scale cluster provisioning and management but don't have the data to back it up. We should run some tests and document the results to give users a general idea of the scale and performance numbers. For example, how long does it take to perform these operations on N clusters:

Provision
Update base cluster
Update profile
Teardown

Aha! Link: https://pf9.aha.io/features/ARLON-128

proposing that scale tests be moved out of 0.9.0

@cre8minus1 , @smadhura , @bcle Are we going to take this up in v0.11? We discussed today that orchestrator has the highest priority.

Hey team! Please add your planning poker estimate with Zenhub @cruizen @bcle @jayanth-tjvrr @Rohitrajak1807 @ShaunakJoshi1407


Add TargerPort to model.Service

Please provide a description of this PR:
Fixes https://github.com/istio/istio/issues/48580
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[ ] Does not have any user-facing changes.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test unit-tests

@dddddai: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
c78741d9ca8c9db678a3bca643e7fef0f96a7211
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

How does adding this correlate to fixing the issue linked?
https://github.com/istio/istio/blob/a794adc6618b33c9c9f5a98e3cb56a1a2e88f46b/pilot/pkg/serviceregistry/kube/controller/controller.go#L1158-L1171

Updating target ports does not trigger xDS push since they are not included in model.Service (prev.Equals(curr) == true)

Tried another approach without changing model.Service, PTAL

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
c78741d9ca8c9db678a3bca643e7fef0f96a7211
link
true
/test unit-tests

release-notes_istio
fcaba0b26bef22f5035d7515bfa24cf9887fad71
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I am thinking can we reduce the push scope

By this, i mean we only need to push to specific proxy, not all proxies

I am thinking can we reduce the push scope

By this, i mean we only need to push to specific proxy, not all proxies

IMO this is not worth the complexity. Its such a rare case that is not worth optimizing, and complex to implement

/cherry-pick release-1.20
/cherry-pick release-1.19

@hzxuzhonghu: new pull request created: #48943

In response to this:

/cherry-pick release-1.20
/cherry-pick release-1.19

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/cherry-pick release-1.19

@hzxuzhonghu: #48832 failed to apply on top of branch "release-1.19":
Applying: push xDS when target ports are changed
Using index info to reconstruct a base tree...
M	pilot/pkg/serviceregistry/kube/controller/controller.go
M	pilot/pkg/serviceregistry/kube/controller/controller_test.go
M	pilot/pkg/serviceregistry/kube/controller/serviceimportcache.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/serviceregistry/kube/controller/serviceimportcache.go
Auto-merging pilot/pkg/serviceregistry/kube/controller/controller_test.go
CONFLICT (content): Merge conflict in pilot/pkg/serviceregistry/kube/controller/controller_test.go
Auto-merging pilot/pkg/serviceregistry/kube/controller/controller.go
CONFLICT (content): Merge conflict in pilot/pkg/serviceregistry/kube/controller/controller.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 push xDS when target ports are changed
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-1.19

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hzxuzhonghu: new issue created for failed cherrypick: #48944

In response to this:

/cherry-pick release-1.19

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Add Noop pipeline for local testing

Like this I think this can replace the mock patch -> https://github.com/livepeer/ai-worker/blob/main/runner/dev/README.md#mocking-the-pipelines?

LGTM, do you think its also worth applying some light transformation to the image (eg, inverting it) so it is doing something? Might be a thing to control too, eg to toggle back and forth.
But then again, it wouldn't be a "noop" anymore if we did that :)

Hehe, yeah, I'd keep it just noop for the sake of simplicity. Will just add some logging params are updated.


summary report waze for europe

hi guys, looks like Waze data stopped around 20.7.

Hey @MartinHBA! Thank you for reporting. It seems that Waze has stopped updating its data.

thx a lot!


Miss '…' next to 'Change Access Tier & Break Lease' for ADLS Gen2 blobs

Storage Explorer Version: 1.10.1
Build: 20191024.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 19.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Select one ADLS Gen2 blob container which contains one blob at least.
Give RBAC access to the ADLS Gen2 blob container to a user like 'Blob Data Owner Role'.
Attach this ADLS Gen2 blob container via Azure Active Directory (Azure AD).
Reopen the Azure AD attached blob container.
Select one blob and check its context menu.

Expect Experience:
All the actions show well on the context menu.
Actual Experience:
Miss '…' next to 'Change Access Tier & Break Lease' actions.

This issue is fixed on latest build 20191203.1. So we close it.


[RFC] Re-Scaffolding (providing a way to consume the latest template upgrades in easy manner)

Status: Open for comments
We want the consumer to be able to consume the new updated template version which he used to scaffold the current repo.
Need
currently, once the user creates a repo using any template and later down the line if the particular template is updated. he is not able to consume this template automatically and he has to do manual changes to sync with the latest updates template. so to solve this we want to give him the functionality to consume the latest template with a lot less hassle.
Proposal

Explanation

User clicks over create button over any template.
The user enters the repo name, then the system verifies if a repo with the same name already exists or not in the targeted account.
If the step number 2 replies with repo do not exist. then we will simply create a new repo with the current template same as we do currently.
If step number 2 yields that a repo with the same name already exists, then we fetch the old form data that was used the built the repo.
Users can now change and fill new data fields if any required.
user clicks over the create_pull_request button and a pull request would be generated in the targeted repo with the new template.

Alternatives
Open to a better alternative solution for the current pointed issue.

@NishkarshRaj  @Ahampa07

@benjdlambert @freben @Rugvip - it is a custom action we are creating for our team.
We are happy to contribute this after hearing your thoughts to make it abstract and valuable for everyone 💯

Hey :wave: So this request has popped up a few times in some other places, and I think right now we're thinking that this is possibly not something that is a responsibility of the scaffolder. Internally at Spotify, we treat these things differently, as you maybe don't want to upgrade the entire base template up at the same time as that's pretty risky depending on what has changed, you might want to raise a PR to bump things a little more granularly, like let's say a dependency in a package.json or something, and you might want to roll that out for all your components. It's not to say that this might not be powered by the scaffolder backend however.
How it works internally is that we can run codemods against a large amount of repositories, and then raise PR's back to the original repository with the small changes in there for review and merge. The idea here is that they don't have to be based off any initial template either, it's a little unforuntate to require that all the things that get the upgrades were based off a particular template too. I want to be able to bump log4j everywhere, not just things that were created with the Java template for instance.
We might get to a point where we can open source our stuff, but realistically that's a long way off. But the concept is pretty simple, take a repository, run a codemod or upgrade thing, and raise a PR back to the repo.
Just a little bit of brain dump here to be honest, see what your thoughts are.


Allow user to turn off AFK by running command again

I'm imagining just removing the DM message at some point in the future but I've kept it now (with an edit) to help people transition to the new way of turning off AFK.

I'd rather not have this run off an error, would it be possible to just check before sending if it exists in the table?

Done, I've made it select then tell the length of the result. I've tested this and it works fine but it's a rather large change so I would feel better if you could test it to make absolutely certain before going live.

Going to go ahead and merge but will test before deploy!


Pre Loading animation

I want to add a pre loading animation

@neha030
yes  you can work on this but please make PR after 15 July since this repo is being used in an event
Wield The Web under CES-MMMUT
or
you can particpate in this event and make PR .
For more information please join our CES Community
https://discord.gg/FVPvDUXfRR

I want to participate but I have missed round 1 , if there is no issue then I will participate in round 2
otherwise will make a PR after 15
If I can participate do I have to fill any form , as I didn't found it on the server.

Yes @neha030 you can still participate
Do one thing raise this query in gernal may be anyone is having same doubt

Will provide the registration form on discord 🙌🤗


Updated ReadMe.Md

Coverage remained the same at 100.0% when pulling fad5bb2b396e8597e13bda4ed79d1afe2fc2771e on AbhaysinghBhosale:patch-1 into e0e54194071b778d83894179622b9ae1c58b8d34 on zesik:master.


command f no longer works

Category
Bug
What is the current behavior?
'find' (command f) no longer works
What is the desired behavior?
need to be able to quickly locate text with standard browser feature (command f). Worked in previous versions. vital for editing long texts.
Additional information
Chrome / MacOS

On Linux, control F also fails. This has been true for about a year now. An editor without a Find capability? How is anybody using GitBook Editor with this basic feature broken?
The expected behavior is for a field to open up to receive the Find string, but nothing happens.


Test fixture dates don't use the right format in sqlite3

Issue Summary
When running tests, dates get inserted into the SQLite3 database as a time stamp, E.g. "1436054400000". When working normally the same date would be inserted as "2015-07-05 00:00:00". This prevents any integration tests that do date comparison from working as expected.
To Reproduce
Easy way to see what I mean

Run a test that inserts fixtures, but disable teardown
Inspect the dates in the DB

This is the real reason that test 6 here fails, and why I always thought date comparisons didn't work in our API. We know that they do if you get the format right, but the tests never worked properly.
It's because the input format in the DB is wrong!
I think we need a function in the test fixtures that handles inserting dates in UTC with the correct format?
The goal is to be able to easily test that real date comparisons in SQL work.
Technical details:

Ghost Version: latest
Node Version: 8
Database: sqlite3

@ErisDS Is this issue still present? I see the test 6 that you linked in the description passes now.

I can't see dates being in timestamp format for SQLite3 🤔
Any insert/update/fetch in the test env runs through our model layer. And the model layer formats any dates from and to the database.
I'm closing this issue for now. @ErisDS Feel free to re-open if you still encounter your observation :)


Added the Cancel Conversion call

This adds the call the canceling a conversion.

Thanks for the contribution eXeDK. That particular API call is still in beta and has not yet been officially released, but once this is done and the documentation is updated accordingly we will review the pull request.

Hi Ed,
We are going use this call and instead of implementing the call and logic around it ourselves it made sense to add it to the package since we are already using the package.
We asked internally in CC if this would be fine with you guys. That is why we made this PR.
Another question, are you guys interested in typings for this package?

It was the right decision Thomas and we are specially grateful to all the people that have taken time to participate in our beta releases.  I've reviewed the PR and looks solid. Assuming there are no changes on our side of the API (highly unlikely) we will close the beta and go general availability soon, at which point we will update our Development Centre site and go about the merge. For awareness, there may be one or two small changes we will request but let's cross that bridge when we get there.
As for the typings offer, Yes!!! but please hold back for a couple weeks before submitting. We're putting together a contributors.md file to help ease the process.

Fair enough. We'll put on our waiting hat for a bit.
I'll write the last of the typings and create a new PR for that later on.


build: Fix builtin list regeneration after config update

Summary
This PR intends to revert a change from PR #626 that introduced a regression to the build system.
After a configuration change that modifies the list of builtin applications, the build system will not generate the updated object files for the builtin application list, resulting in linker errors.
Impact
Fix to the build system.
Testing
Follow the steps to reproduce the issue:
$ ./tools/configure.sh -E sim:nsh
$ make
# First build terminates successfully
$ make menuconfig
# Disable "Hello, World!" example
$ make

It will result in the following error:
/usr/bin/ld: nuttx.rel:(.data.rel.ro+0x7b0): undefined reference to `hello_main'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:322: nuttx] Error 1

Was that change included in the linked PR by accident? I don't understand the purpose of removing those lines.

Was that change included in the linked PR by accident? I don't understand the purpose of removing those lines.

Here: https://github.com/apache/incubator-nuttx-apps/pull/626.
It is strange to me that the first build pass but fail at the second time.


Create any JSX Styled Component using Tailwind or Bootstrap

Create a component like Button, Profile etc. First create an issue using the given template and follow guidelines on Readme

I will take this.


Floating point comparisons in Rust do not follow IEEE 754

For example, (NaN == NaN) is true in Rust but false in IEEE 754.  As explained in #1083, this is intentional and the goal is to make == and < act consistently so that NaN can be used as a key in ordered collections, for example.
One downside of this is that programmers cannot apply knowledge or techniques learned from languages like Java or JavaScript that use IEEE 754 floating-point arithmetic.
Another problem is that differences between Rust and IEEE 754 are not specified, and do not appear to be implemented consistently.  This makes it hard to know what to expect from Rust.  Issue #1083 lists more problems with the current Rust semantics of NaN, but it is not clear which are intentional and which are not.
If this issue is closed as WONTFIX, then we should instead open a new issue to document Rust's floating point semantics.

Fixed by #1090.


cmake-native: rename bbappend to apply on new version from oe-core

Hi, I will briefly review the pull request, and then merge it soon.

FWIW: the bbappend doesn't apply since the cmake upgrade last month in oe-core/master: https://git.openembedded.org/openembedded-core/commit/?id=65af5bf1db73d47ba992070d1e840ef7bad4c36c

Thanks. The request has been merged. :)


[APPM-1173] Publisher button is not shown for approved webapps although publisher permission is assigned

Steps 1. Create a role with the following permissions. (Refer the attachment Perm_1 and Perm_2) 2. By assigning the created role create a new user. 3. Now create a new web application. 4. Submit to review. 5. Login with admin and approve it. Issue : The user is not shown the publisher button. Note : The permission set given is almost identical to Internal/Creator role and to the Internal/Publisher roles combined. So the behavior should be consistent.Reference: https://wso2.org/jira/browse/APPM-1173

Not related to IoT server, hence closing the issue.


Add isElement and noConflict tests

Based on coveralls tests for _.isElement and _.noConflict are missing.
The _.isElement test is missing because of running the node flavor but could be hit if adjusted for phantomjs.

_.isElement is tested, just not in Node where coverage testing with nyc is easiest. _.noConflict is not part of our source code anymore as of #2826.


ONNX has just become twice as fast as before. Can SafeTensors also achieve that?

Here are some announcements and technical details. It's nice to see that they are making significant improvements. Could some of that be useful and implemented for SafeTensors?
https://devblogs.microsoft.com/directx/dml-stable-diffusion/
https://www.tomshardware.com/news/nvidia-geforce-driver-promises-doubled-stable-diffusion-performance
https://build.microsoft.com/en-US/sessions/47fe414f-97b8-4b71-ae9e-be9602713667

Safetensors describe a format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).
Usually it is not the rate limiting step for model training or inference.
Storage, sharing and deployment of models, however suffered from a lack of safe and fast standard and this is what this repository is about.

This performance improvement seems related to inference, and not storage.
Load performance is one aspect of this repo, and I think it's pretty hard to beat (since it's zero-copy with lazy loading).
Closing. Feel free to reopen if our answers weren't clear.


Port scratch trie to dev

This ports ScratchTrie and the related unit test for disk_use to dev, making it orthogonal to the rocksdb changes it arose from.

Since, in this PR, the scratch trie is still backed by LMDB, I ran a new set of disk use and performance benchmarks to compare with this turned off vs on.

@marc-casperlabs and @afck I wanted to note I stole your iterator implementation here https://github.com/casper-network/casper-node/pull/2870

bors merge


[Bug]: Callbacks are not triggered in individually togglable services.

Expected Behavior
The onAccept callbacks should be triggered for all services, including Personio, when the user accepts the corresponding category/service.
Current Behavior
The onAccept callbacks are triggered for YouTube and Vimeo services, but not for the Personio service.
Steps to reproduce
Set up a web application with my categories/services functionality.
Here are my categories/services.
  categories: {
    necessary: {
      readOnly: true,
      enabled: true,
    },
    videos: {
      services: {
        youtube: {
          label: 'Youtube Embed',
          onAccept: () => {
            console.log('accept youtube');
          }
        },
        vimeo: {
          label: 'Vimeo Embed',
          onAccept: () => {
            console.log('accept vimeo');
          }
        },
      },
    },
    personio: {
      label: 'Personio',
      onAccept: () => {
        console.log('accept personio');
      }
    }
  },

Proposed fix or additional info.
No response
Version
3.0.0
On which browser do you see the issue?
Chrome

You have declared personio outside services, as a category: [necessary, videos, personio]

I would like it to be visually and functionally like this!

If I only have one service, then the following doesn't make sense, right? Or am I misunderstanding something?

Am I correct in understanding that categories themselves don't have callbacks?
Thank you!

Okay, I'm now solving it through the CookieConsent onChange callback!
  onChange: ({ cookie, changedCategories, changedServices }) => {
    if (cookie.categories.includes('personio')) {
      im.acceptService('personio');
    } else {
      im.rejectService('personio')
    }
  },

Thank you very much for this first-class consent management tool!


[EventRequest] Codeunit 1535 Approvals Mgmt. - Substitute approver ID

One of our customers has a different way of substituting the approver ID. We would like to request the following publisher to be added to function SubstituteUserIdForApprovalEntry.
LOCAL PROCEDURE SubstituteUserIdForApprovalEntry@86(ApprovalEntry@1000 : Record 454);
VAR
  UserSetup@1001 : Record 91;
  ApprovalAdminUserSetup@1002 : Record 91;
  Substitute@11095585 : Code[50];
BEGIN
  IF NOT UserSetup.GET(ApprovalEntry."Approver ID") THEN
    ERROR(ApproverUserIdNotInSetupErr,ApprovalEntry."Sender ID");

  ///// START
  OnSubstituteUserIdForApprovalEntry(ApprovalEntry, Substitute);
  IF (Substitute <> '') THEN
  BEGIN
    ApprovalEntry."Approver ID" := Substitute;
    ApprovalEntry.MODIFY(TRUE);
    OnDelegateApprovalRequest(ApprovalEntry);

    EXIT;
  END;
  ///// END

  IF UserSetup.Substitute = '' THEN
    IF UserSetup."Approver ID" = '' THEN BEGIN
      ApprovalAdminUserSetup.SETRANGE("Approval Administrator",TRUE);
      IF ApprovalAdminUserSetup.FINDFIRST THEN
        UserSetup.GET(ApprovalAdminUserSetup."User ID")
      ELSE
        ERROR(SubstituteNotFoundErr,UserSetup."User ID");
    END ELSE
      UserSetup.GET(UserSetup."Approver ID")
  ELSE
    UserSetup.GET(UserSetup.Substitute);

  ApprovalEntry."Approver ID" := UserSetup."User ID";
  ApprovalEntry.MODIFY(TRUE);
  OnDelegateApprovalRequest(ApprovalEntry);
END;

And the signature of the publisher:
[Integration]
LOCAL PROCEDURE OnSubstituteUserIdForApprovalEntry@11095588(ApprovalEntry@11095585 : Record 454;VAR Substitute@11095586 : Code[10]);
BEGIN
END;

This event was introduced in BC14, disappeared in BC16. Will create a new request.


[v6 rc4] Custom component update form value onChange

I have a custom input (react-bootstrap-datetimepicker) which I can provide with an onChange function. In v5.3 I could do (see below), but its not clear to me how to do this in v6
  handleChange = (newDate) => {
    return this.props.fields.date.onChange(newDate);
  }

<DateTimeField onChange={this.handleChange} />

Duplicate to (unanswered) https://stackoverflow.com/questions/38732304/datetimepicker-redux-form-field-problems

Found the fix
const DateInput = ({ input, label, meta: { touched, error } }) => (

);


[FE] Update DP dropdown to direct link to Remix cellxgene page

What:
We want to only ship Remix page in R1
How:
Currently DP has a dropdown for both Original and Remix cellxgene links, we will now replace the dropdown with a directly Remix page link!

This issue is only blocked on deciding the API response contract, discussion is happening in https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/chanzuckerberg/corpora-data-portal/532
Thanks!

API response resolved!
Right now the BE will only return one deployment, so we can safely use it as the Remix cellxgene link!


Preparation for release of Azure.Core.Experimental 0.1.0-preview.34

API change check
API changes are not detected in this pull request.


DEVINFO address missing from SVD?

As far as I can tell the DEVINFO addresses aren't listed in the happy gecko svd. I dont think theyre listed in any of the svds.
From googling it should be at 0x0FE081B0UL for happy gecko.
Note this register bank is necesssary for reading the tuning parameters for setting clocks

in efm32hg_devinfo.h
also called DI ?
https://www.silabs.com/community/mcu/32-bit/knowledge-base.entry.html/2014/05/14/find_efm32_productio-25JW
https://www.silabs.com/community/mcu/32-bit/knowledge-base.entry.html/2016/12/12/device_information-J9go
calvalue
https://siliconlabs.github.io/Gecko_SDK_Doc/efm32g/html/em__system_8c_source.html
https://github.com/ARMmbed/mbed-hal-silabs/blob/master/source/emlib/inc/em_system.h
https://siliconlabs.github.io/Gecko_SDK_Doc/efm32hg/html/efm32hg322f64_8h_source.html
306 #define CALIBRATE_BASE    (0x0FE08000UL)
307 #define DEVINFO_BASE      (0x0FE081B0UL)
343 #define CALIBRATE    ((CALIBRATE_TypeDef *) CALIBRATE_BASE)
344 #define DEVINFO      ((DEVINFO_TypeDef *) DEVINFO_BASE)

added at #11


ESLint integration does not seem to use .eslintrc.js files.

First, thanks for all your hard work on prettier! In hopes of making it even better, I'd like to share an issue I found today.
Short repro instructions:

Clone the React codebase.
Open up the master branch in Atom and go to prettier-atom settings. Turn ESLint integration on and enable Format on Save. Leave all other settings as their defaults.
Add a space to any file of significant length (ReactDOMComponent.js, for example) and save.
git diff will show that lots of changes have been introduced by prettier-atom.

Expected Behavior: Since the React codebase has already been formatted with prettier, using prettier-atom shouldn't introduce changes.
Longer narrative explanation:
I installed prettier-atom to work on React pull requests, hoping to get fix-on-save. My first attempt to get prettier-atom working was to check the "ESLint integration" checkbox and make sure my linter plugin did not have fix on save, as was documented. Unfortunately, though, this caused a bunch of unrelated reformats of the React code base (changing double quotes back to single, adding bracket spacing, etc.). After playing around a bit, I found that changing React's .eslintrc.js file to JSON and renaming .eslintrc made ESLint integration work basically as expected.
I'm pretty sure what is happening is that prettier-atom doesn't recognize all the forms of ESLint config, documented here.
Again, thanks for your hard work!

@aickin Thanks for reporting this! I think you're right, but I believe that this is a problem with prettier-eslint. Do you think you could report this same issue there? (You can tell by installing prettier-eslint-cli and running it on the code, and if it still has the problem, then it needs to be changed in prettier-eslint and not this plugin).


Not Working

The buttons are not working anymore not on steam or steamdb I have reinstalled and even tried older versions. Is this happening to anyone else?

It does work to enable the link, but it doesn't enable the colors/tags on steam itself.  So you don't really know if something has a cs page without actually clicking the link.

How would a user know that other than going here? Put that info when a user clicks the button or something.

it's temporary, we made this update in a hurry because it was causing problems for cs.rin.
Of course, this is not a good solution and users can't know about it. We hope to be able to fix the problem very soon.


vk_sys::AllocationCallbacks UB due to wrong field types

Version of vulkano: vk-sys v0.5.0
OS: doesn't matter, but Ubuntu 19.10
GPU (the selected PhysicalDevice): doesn't matter
GPU Driver: doesn't matter
Upload of a reasonably minimal complete main.rs file that demonstrates the issue: none

Issue
Hi guys!
So, I'm working with bare vk-sys and noticed an error in the definition of the struct vk_sys::AllocationCallbacks. The error lies in both fields pfnInternalAllocation and pfnInternalFree.

Both fields are defined to be pointers to functions returning *mut c_void in vk-sys. However, neither PFN_vkInternalAllocationNotification nor PFN_vkInternalFreeNotification are defined to return anything in the official docs. On x86_64, the return value register is caller-saved, but this may cause serious faults on other platforms.
Put another way: Someone blindly following the struct definition enters UB land.
Both fields are defined to be fns. However, the official docs for VkAllocationCallbacks state that two cases are valid: Both fields being set to a function pointer, or both fields being set to ptr::null(). So, instead of both fields being typed fn, they should instead be Option<fn>.

Well, that's all for this issue.
Of course this issue will be insta-fixed when https://github.com/vulkano-rs/vulkano/issues/89 is implemented.

As vk-sys isn't really suppose to impose any safety, I don't think this is necessary. I think if you are for some reason using these bindings you should be aware of what these functions do.

I'm not sure what this has to do with safety. This is about incorrect API definitions, which apart from being UB worsens Vulkan API ergonomics.

vk-sys is not used anymore, so this should be fixed.


discord.py EOL

Rapptz, the main dev of discord.py, has released this gist, basically stating the future of discord.py. Rapptz has also archived the GitHub repo of discord.py.

We could switch to a fork of discord.py, PyCord.


Bluetooth serial

Hello,
I tried to use the example for bluetooth, but I always have "Bluetooth radio is not discoverable" message and "no devices found". Is there somethings to do to have discoverable enable ?
The main goal of this is to have serial communication over Bluetooth with a device. I have succeed on Android with package "flutter_bluetooth_serial" and I have to do the same on windows.
I don't no if I can do this with the "win32" package, but any help or advise would be very welcomed.
kind regards,
Nicolas Hallynck

Hi there! Thanks for the report. On investigating, I found a bug in the Bluetooth example where it wasn't setting the size of the struct correctly. I've updated it and now it seems to be working for me:
https://github.com/timsneath/win32/blob/main/example/bluetooth.dart
[C:\src\win32] dart example\bluetooth.dart
Found a radio with handle: 0x00000250
Radio name: TIM-SURFACE
Radio address: 03:55:55:8E:34:C8
Bluetooth radio is discoverable.
Device address: 52:D6:90:6B:88:70
  Name: GID6B
  Authenticated: True
  Connected: True
  Remembered: True
Device address: CC:66:75:CD:69:C8
  Name:
  Authenticated: False
  Connected: False
  Remembered: False

Give the updated version a try and see if it works for you?

Hi,
Thanks for the update. I've tested it and it 's working now for me also.

Great! Thanks again for spotting this!

Hi @timsneath , is it possible to search for a Bluetooth device that is not yet connected to a Windows device? because currently when I try to run the example at https://github.com/dart-windows/win32/blob/main/example/bluetooth.dart it only shows connected bluetooth devices.


jsk_pr2eus: 0.3.10-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository jsk_pr2eus to 0.3.10-0:

upstream repository: https://github.com/jsk-ros-pkg/jsk_pr2eus
release repository: https://github.com/tork-a/jsk_pr2eus-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.24
previous version for package: 0.3.9-0

jsk_pr2eus

No changes

pr2eus
* [pr2eus][pr2-interface.l] move move-to / go-pos callback for simulation to robot-interface.l (#288 <https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/288>)
* [pr2eus] fix: remove the first '/' from frame (#287 <https://github.com/jsk-ros-pkg/jsk_pr2eus/issues/287>)
* fix: use movebaseaction name for clear-costmap (#286 <https://github.com/jsk-ros-pkg/jsk_pr2eus/issues/286>)
  * [pr2eus/robot-interface.l] fix: use move-base-action name for clear-costmap
  * [pr2eus][robot-interface.l] soft tab
* Contributors: Kei Okada, Yuki Furuta

pr2eus_moveit

No changes

pr2eus_tutorials

No changes

Holding for sync...


HDDS-11268. [CLI] Improve CLI Display OM/SCM Roles.

What changes were proposed in this pull request?
When viewing roles of OM/SCM via CLI, a lengthy string is typically displayed, which lacks user-friendly formatting. We aim to improve its presentation. I have added a table option to allow displaying this data in a tabular format.

OM

om-current/bin/ozone admin om roles
om32 : FOLLOWER (bigdata-ozone-online32)
om30 : FOLLOWER (bigdata-ozone-online30)
om31 : LEADER (bigdata-ozone-online31)

om-current/bin/ozone admin om roles --table
+------------------------------------------------------+
|                 Ozone Manager Roles                  |
+---------------------------------+---------+----------+
|            Host Name            | Node ID |   Role   |
+---------------------------------+---------+----------+
| bigdata-ozone-online32          |  om32   | FOLLOWER |
| bigdata-ozone-online30          |  om30   | FOLLOWER |
| bigdata-ozone-online31          |  om31   |  LEADER  |
+---------------------------------+---------+----------+

SCM

scm-current/bin/ozone admin scm roles
bigdata-ozone-online31:9894:FOLLOWER:61b1c8e5-da40-4567-8a17-96a0234ba14e:<IP_ADDRESS>
bigdata-ozone-online32:9894:LEADER:e428ca07-b2a3-4756-bf9b-a4abb033c7d1:<IP_ADDRESS>
bigdata-ozone-online30:9894:FOLLOWER:41f90734-b3ee-4284-ad96-40a286654952:<IP_ADDRESS>

scm-current/bin/ozone admin scm roles --table
+---------------------------------------------------------------------------------------------------------------+
|                                        Storage Container Manager Roles                                        |
+---------------------------------+------------+----------+--------------------------------------+--------------+
|            Host Name            | Ratis Port | Role     |                 Node ID              | Host Address |
+---------------------------------+------------+----------+--------------------------------------+--------------+
| bigdata-ozone-online31          |    9894    | FOLLOWER | 61b1c8e5-da40-4567-8a17-96a0234ba14e | <IP_ADDRESS> |
| bigdata-ozone-online32          |    9894    |  LEADER  | e428ca07-b2a3-4756-bf9b-a4abb033c7d1 | <IP_ADDRESS> |
| bigdata-ozone-online30          |    9894    | FOLLOWER | 41f90734-b3ee-4284-ad96-40a286654952 | <IP_ADDRESS> |
+---------------------------------+------------+----------+--------------------------------------+--------------+

What is the link to the Apache JIRA
JIRA: HDDS-11268. [CLI] Improve CLI Display OM/SCM Roles.
How was this patch tested?
To validate this in a production environment.

Thanks @slfan1989 the table looks nice. In the description the Role and Node ID headers are swapped. I wonder if it would be better to make this format the "verbose" output and trigger it with a --verbose flag, which is more standard across CLI tools. I don't have a strong opinion on this though.

Thanks @slfan1989 the table looks nice. In the description the Role and Node ID headers are swapped. I wonder if it would be better to make this format the "verbose" output and trigger it with a --verbose flag, which is more standard across CLI tools. I don't have a strong opinion on this though.

Thank you for your attention to this pr I have tried to output verbose information using --verbose, but encountered some issues.
Usage: ozone admin om [-hV] [--verbose] [-conf=<configurationPath>]
                      [-D=<String=String>]... [COMMAND]
Ozone Manager specific admin operations
      -conf=<configurationPath>

  -D, --set=<String=String>

  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.
      --verbose   More verbose output. Show the stack trace of the errors.

[hadoop@bigdata-ozone-online32 ~/om-current/bin]$ ./ozone admin om --verbose
Incomplete command

Thanks @slfan1989 for the patch.
Please check acceptance test failure:
List om roles as TABLE with OM service ID passed                      | FAIL |
No keyword with name 'Assert Leader Present in TABLE' found. Did you try using keyword 'Assert Leader Present' and forgot to use enough whitespace between keyword and arguments?
--
List om roles as TABLE without OM service ID passed                   | FAIL |
No keyword with name 'Assert Leader Present in TABLE' found. Did you try using keyword 'Assert Leader Present' and forgot to use enough whitespace between keyword and arguments?
--
Om-Roles :: Smoke test for listing om roles.                          | FAIL |
6 tests, 4 passed, 2 failed

https://github.com/apache/ozone/actions/runs/10236952464/job/28319907708?pr=7016#step:6:9

@errose28 @adoroszlai Can you help me review this pr again? Thank you very much!

Seems some related ci failures, such as org.apache.hadoop.ipc.RemoteException(com.google.protobuf.UninitializedMessageException): Message missing required fields: scmHaEnabled.
@slfan1989  From my point, maybe we don't need to make so many changes. How about simplifying the codes similar to the —json ? cc @adoroszlai @ChenSammi

@slfan1989 , thanks for improving the patch.  For this scmHaEnabled,  can you explain a little bit about its purpose?

Seems some related ci failures, such as org.apache.hadoop.ipc.RemoteException(com.google.protobuf.UninitializedMessageException): Message missing required fields: scmHaEnabled.
@slfan1989 From my point, maybe we don't need to make so many changes. How about simplifying the codes similar to the —json ? cc @adoroszlai @ChenSammi

@whbing Thank you for your question. I believe using a clear method to indicate whether SCM is using Ratis would be better. While a JSON output approach is also feasible, determining whether Ratis is used based on the size of the length might not be very reliable.

@whbing @ChenSammi Could you please help review this PR again? Thank you very much!

@whbing @ChenSammi This PR is a small feature, but I believe it is valuable. We have already deployed it internally for 2 months, and I use this feature whenever switching SCM or OM. It should also make the information display more user-friendly for other users. If there are no major issues, I hope we can merge this PR into the master branch.
cc: @errose28 @adoroszlai

@adoroszlai @errose28 @whbing @ChenSammi
I'm sorry to disturb everyone, but I really need this pr to assist with some subsequent work, such as #7266 (HDDS-11463. Track and display failed DataNode storage locations in SCM). I think we should provide a way to present this in a table format. Currently, I'm not sure what issues this PR has.

@adoroszlai Could you help review this PR again? Thank you very much!

@adoroszlai Thank you very much for reviewing the code. Friendly ping. @whbing @ChenSammi

Sorry for the late reply due to the holiday. I'll have a look ASAP, maybe tomorrow.

Thanks for @slfan1989 for the update, +1.

@adoroszlai Thank you very much for reviewing this PR!
Regarding whbing, he/she has agreed to this PR.
Regarding ChenSammi , he/she may have been quite busy recently and hasn’t responded to this PR in the past month. If he/she has any feedback later, I’m willing to make improvements to the code at any time.
Can we merge this PR into the master branch? so that I can continue working on HDDS-11463(#7266) as discussed with Ethan.

Thanks @slfan1989 for the patch, @ChenSammi, @errose28, @whbing for the review.

@adoroszlai Thank you again for your help with this PR!


Wp to Md tutorial update

Closes #356
Changes

made recommended changes to existing Wordpress to Markdown tutorial

@PhilippeduPreez did @olayway get to review this?


Moving the Player with high velocity causes the hand models to lag behind the current position

My game has an element where you can accelerate yourself to high speeds and launch across open stretches of space. Due to the issue mentioned in the title, I have had to limit the maximum velocity of the player in order for the hand models to catch up (any velocity above 5 makes this very noticeable). Ideally, the velocity should be unbounded by this, so that even ludicrous speeds represent the hands smoothly relative to the player. I'm looking for one of several solutions.

Have hand models render in the reference frame of the player, tracking velocity and angular velocity (ideal, scales to any situation; seems like this is done to some degree but currently fails when beyond normal human speeds)
Have hand models update position more frequently (not ideal, will eventually be outscaled by some velocity)
Simulate player velocity in another way which does not trigger this effect (not ideal, does not take advantage of orthogonal design elements and standard library in a natural way)

The example Interaction System included with the plugin uses a physics based approach to hand movement. That's unlikely to work well with high velocities by design.
The basic camera rig that is included may fit your situation better.


feat(*) support custom logging serializers

Summary
This commit introduces a new DAO entity, 'log_serializers', to support logging plugins writing output in customizable, arbitrary format.
Previously, bundled logging plugins made use of a serializer class to generate a JSON-encodable log message, to be shipped out the respective interface (TCP/UDP socket, file, etc). This provided a simple format to develop against, but limited flexibility in usage due to the inability to customize this format as defined as Kong source code.
The log_serializers objects are comprised of identifiers (ID, name) and a chunk field that shall contain a base64-encoded Lua string. Chunks are expected to expose a function 'serialize' that returns data to be written by the logging plugins. Plugins themselves are given a new config field 'serializer', denoting the
name of the serializer that should be used on the plugin. The legacy serializer module at  kong.plugins.log-serializers.basic is kept in the project for backwards compatibility, and plugins fall
back to this serializer when no serializer is defined on the plugin (the default behavior, and the behavior inherited during upgrade).
Note that given the imminent release of 1.2, I imagine this would be targeted for 1.3, hence creating a new migrations file.
Full changelog

Add log_serializers DAO
Update datadog, file-log, http-log, statsd, syslog, tcp-log, and udp-log plugins to accept a config field serializer, which references the above object
Write tests for log_serializers custom validation and cached loadstring results invalidations.

with this design, fetching the serializer from the db during the access phase is a bit anachronistic and introduces more latency (when used) to the proxy handler. I feel this is acceptable for a few reasons:

We attempt to be as correct as possible based on the users explicitly desired configuration
The serializer could be prefetched, either by the core utility that does cache fetches, or by the plugins via an init_by_worker handler, so the access phase calls in each plugin would essentially be nops
Doing the fetch in the background thread would require we pass (copy) all of ngx To the timer scope, which I don’t even is possible

@p0pr0ck5 before diving into any more specific code review, I'm going to leave some general architectural comments here. @thibaultcha and I discussed this PR and agreed that this feature is very welcome, and that the whole of functionality that this brings (extensibility through custom serializers + loading extensions via the DB) would be better split in two parts.
So the suggestion is to just do the first part here (extensibility through custom serializers), and just load the code via a plain require, and drop the new DAO entity. Instead, the serializer entry in configuration for plugins would be a simple string with the serializer name, and then plugins would issue a require based on that name (not 100% sure where exactly to store it — but if basic is any indication, I'd assume "kong.plugins.log-serializers." .. name). Logging serializers could then be installed via LuaRocks just like plugins (essentially they would be "plugins for (logging) plugins").
Once we have separately-loadable serializers like this, I think pretty soon people will want their custom serializers to emit data in different formats (XML, etc.) — as we talked about before, right now the basic_serializer.serialize is a misnomer, because it doesn't really serialize, it returns a Lua table with the info to be said, and then various log plugins are doing cjson.encode on that, locking them to JSON. It would make sense to have the JSON-encoding to be part of the serializer's concern. For backwards compatibility, we can't just change basic_serializer.serialize (plus, some plugins like statsd actually need the data in table form), so a suggestion is to make serializers expose two functions, my_serializer.to_table (that does what basic_serializer.serialize does, so serialize would be a backwards-compat alias to it), and my_serializer.to_string, which would do the proper encoding (names are open to bikeshedding, it just felt weird to write serialize_to_table ;) ).
The second thing that this PR does (loading Lua extensions via the DB) is something that could be handled in a more general manner (possibly extending to plugins in general even), outside of the scope of this PR.

@p0pr0ck5 Ping :) Are you planning to move this forward? Or should we close it in the meantime and then revisit it some other time?

@hishamhm thanks for the ping. I won't have time to focus on this in the near future. I will close it and we can revisit later on. Thanks.


What about showing support for various link attributes, like "subresource" or "dns-pr...

What about showing support for various link attributes, like "subresource" or "dns-prefetch", "prefetch" and "prerender"?

This issue was imported from Google Moderator
Moderator votes: +5
Issue added by Carl-Erik on 2015-04-13
To vote this issue up or down, simply include +1 or -1 in your comment.

SRI would be good http://www.w3.org/TR/SRI/

+1

Partial (SRI)

Duplicate of #1170.

+1, though

+1

+1

+1

+1


server_id_mode UUID is incompatible to client_id_mode NOT_ALLOWED

Describe the bug
Configuring the JPA server to use the server_id_mode UUID with the cient_id_mode NOT_ALLOWED means that the creation of resources is no longer possible, because the UUID seems to be treated as a client supplied id.
To Reproduce

Get the JPA starter project.
Configure the DaoConfig with:
daoConfig.setResourceClientIdStrategy(ClientIdStrategyEnum.NOT_ALLOWED);
daoConfig.setResourceServerIdStrategy(IdStrategyEnum.UUID);
Try to create any resource.
See error

Expected behavior
The server should reject all PUT requests on nonexisting resources while assigning UUIDs to resources generated by a POST request.
Environment (please complete the following information):

HAPI FHIR Version: I am currently on 4.1.0, but code seems the same in current master branch

Additional context
In BaseHapiFhirResourceDao, the UUID gets assigned before the check on client supplied id is performed and therefore the UUID is treated like a client supplied id.
https://github.com/jamesagnew/hapi-fhir/blob/96a4eff38edb94bb4f166a506b494292902ae04c/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java#L166
https://github.com/jamesagnew/hapi-fhir/blob/96a4eff38edb94bb4f166a506b494292902ae04c/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java#L421

Thanks for the report!
Fix submitted


Fixed a typo in run_and_plot function

I signed it!

Thank you very much, Alisa! Your contribution was merged into master in a11ad748accc214e0680061cd628ed728acb065f.


Please update docs to reflect latest package version

Hello,
The main page for this github repo & the associated readme file displays the recommended version as:
Versioning
For React Native > 0.40 use version 0.4.0
For React Native < 0.40 use version 0.3.2
For Twitter Kit support, see react-native-fabric-twitterkit
Should this be updated as the latest tag shows version 0.5.1?
Thanks,
Matt

Correct. Should show the latest or 0.4.0+ so basically anything above that version

Fixed


help building and running plugin

When I use runIde command the plugin works perfectly, but then after buildPlugin and installing from disk I am not able to open/create any project. CLion just blinks and does nothing. After removing the plugin from CLion it is working perfectly.

My CLion - 2020.2
Build CLion - 2020.2

build.gradle
plugins {
    id 'java'
    id 'org.jetbrains.intellij' version '0.4.21'
}

group 'com.example.plugin'
version '0.19'

repositories {
    mavenCentral()
}

sourceSets {
    main.java.srcDirs = ['src']
    main.resources.srcDirs = ['resources', 'lib']
}

runIde {
    jvmArgs '--add-exports', 'java.base/jdk.internal.vm=ALL-UNNAMED'
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.12'
    compile fileTree(dir: 'lib', include: 'jar_to_added.jar')
}

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
    version '2020.2'
    updateSinceUntilBuild false
    type 'CL'
}

Check the logs of CLion

runIde {
    jvmArgs '--add-exports', 'java.base/jdk.internal.vm=ALL-UNNAMED'
}

Is this required? If so, do you think that CLion that you run also has this arguments?

how do I check logs? as there is no error that I am getting.
when I run it on Intellij Idea. it was showing an error that you should add this to the VM Options

Help | Collect Logs and Diagnostic Data menu item

looks like I installed the wrong one. I installed the one in the build/lib folder.
The actual folder should be build/distribution


"Arbitrary tests > should allow shrinking of mapped tupples" sometimes fails with a timeout

Arbitrary tests > should allow shrinking of mapped tupples is failing with a timeout (2s) non-deterministically (with a very low probability). Needs investigation.

This is not the only test that is taking more time. I tried removing the filters and it's much faster:
expect(fc.scenario()
  .exists('point', fc.tuple(
    fc.integer(50, 1000),
    fc.string(1, 10, 'a')).map(([a, b]) => [a * 2, '_'.concat(b)]))
  .check()).to.deep.include({satisfiable: true, example: {point: [100, '_a']}})

This takes 15ms instead of the 600ms of:
expect(fc.scenario()
  .exists('point', fc.tuple(
    fc.integer(50, 1000).filter(x => x > 100),
    fc.string(1, 10, 'a').filter(x => x.length > 2)).map(([a, b]) => [a * 2, '_'.concat(b)]))
  .check()).to.deep.include({satisfiable: true, example: {point: [202, '_aaa']}})

Removing the map does not have the same effect. It still takes 600ms.

The problems seem to be with the pick() method in the FilterArbitrary class.


Extracted QnAMaker logic from corresponding middleware

Moved GetAnswers logic to separate class that is used and middleware and can be reused without it. There are test for QnA but they are commented and i don`t know how to run them.
@drub0y @daltskin
Closes #124 and i believe #137 as well.

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

Thanks! I’ll take a look through this later, and make sure the tests pass.

Thanks!!!!


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4022

Questions ?
Please refer to the Backport tool documentation


Remove DNS check for Helm subscription

Signed-off-by: Mike Ng<EMAIL_ADDRESS>For https://github.com/stolostron/backlog/issues/19775
We need to verify if this check is valid for Git and ObjectBucket subscriptions as well. This PR is just to fix the Helm subscription for now to unblock the GRC team.

/lgtm


Configuration#8: Step#1: alpha_S=0.3, matter: q_0=1 | matterlbt: q_0=2.5: matter05

run the simulation with the above config by jetscape,
transfer the final state hadron to the related directory named as config-XX-final-state-hadrons
after doing step1 on all 12 simulations go to step 2 for the configurationX

port to Excel for overleaf


Dev

add autodiff support
test for autodiff
add docs

Codecov Report

Merging #27 (96270ba) into master (1982cf8) will decrease coverage by 0.03%.
The diff coverage is 62.96%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
- Coverage   61.16%   61.13%   -0.04%
==========================================
  Files          29       29
  Lines        1854     1904      +50
==========================================
+ Hits         1134     1164      +30
- Misses        720      740      +20

Impacted Files
Coverage Δ

src/diagram_tree/DiagTree.jl
0.00% <ø> (ø)

src/diagram_tree/io.jl
69.51% <0.00%> (-1.22%)
:arrow_down:

src/diagram_tree/operation.jl
94.11% <ø> (+94.11%)
:arrow_up:

src/parquet_builder/common.jl
56.71% <0.00%> (ø)

src/diagram_tree/traits.jl
67.44% <65.21%> (-9.31%)
:arrow_down:

src/diagram_tree/tree.jl
89.28% <100.00%> (ø)

src/common.jl
63.10% <0.00%> (-8.74%)
:arrow_down:

src/expression_tree/eval.jl
95.23% <0.00%> (-4.77%)
:arrow_down:

src/parquet_builder/benchmark/vertex4_eval.jl
89.02% <0.00%> (-2.44%)
:arrow_down:

... and 4 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 1982cf8...96270ba. Read the comment docs.


Add a oneof protocol field to the ReportDetails.

This field contains the source of truth configurations and parameters
used for a particular report.

Configrations are determined at report creation time.
Parameters can be updated during the computation, e.g., the
LiquidLegionsV2Data.duchyKeys are set after the duchies send their
respective keys back the to kingdom.

IIUC ReportDetails will be replaced for v2alpha, since the concept of Report is outdated and replaced by Measurement. Do we want to wait until we have new internal protos for v2alpha, or just add this now and carry it over?


bug: Uncaught TypeError: Cannot read property 'freeze'

Type: bug
Platform: all
I'm getting this error in my console:
Uncaught TypeError: Cannot read property 'freeze' of null http://localhost:8100/lib/ionic/js/ionic.bundle.js Line: 6982
    console.(anonymous function) (index):34
    window.onerror (index):18
    triggerEvent ionic.bundle.js:802
    releaseGesture ionic.bundle.js:2008
    detect ionic.bundle.js:1380
    bindDomOnTouch ionic.bundle.js:929

The relevant line is: self.isScrollFreeze = self.scrollView.freeze(false); inside _handleEndDrag.

Greetings @RangerRick!
My sensors indicate that I require more information in order to assist you.

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this happen occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.

Can you provide a detailed description of this issue?

It appears to happen when I toggle a button I have inside a modal with scroll="false"

How would a robot go about replicating this issue?

I have created a codepen that reproduces the error: http://codepen.io/RangerRick/full/azKozj
Steps to reproduce:

Open that codepen
Click the "Filter" button
Toggle one of the toggle buttons

On which platform does this happen occur? (iOS, Android, all, etc.)

All platforms, as far as I can tell.  I see it in Chrome as well as the iOS emulator.

On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)

Chrome 41.0.2272.64
iOS 7 (emulated)
iOS 8 (emulated)

Is this an issue with the Ionic Framework or Ionic CLI?

Ionic Framework.

Okay, so we need to check if the user has disabled scrolling first before freezing anything. Thanks for catching that @RangerRick
https://github.com/driftyco/ionic/blob/51ed1824d5320ac788c9d27561338a61cbf844bc/js/angular/controller/scrollController.js#L163

Shouldn't we do the same on _startDrag (https://github.com/driftyco/ionic/blob/811cc2725a8d87e9fd9c649e708e9145deec769a/js/views/listView.js#L567)?

This issue also occurs when swiping left for option buttons on the ion-list; And then the buttons do not auto-close anymore; resulting in multiple rows being swiped left due to this bug. Please fix?

@nantunes and @josdewitte, could you open a new issue pointing to that PR and provide a codepen demo?

I am not sure if a new issue was open with what @josdewitte reported, but I am having the same issues and I cannot find a workaround...

@EffEPi could you open a new issue please


add "copy way {left,right,up,down}"

Adds "copy way {left,right,up,down}" commands. Also moves the scroll commands in edit.talon closer together and clarifies a few doc strings.
See https://github.com/knausj85/knausj_talon/pull/1182

It's a bit confusing that <action> way left and <action> line start do different things with this PR. Eg select, copy, etc.
This follows the differences introduced in #1182, I think.
The difference is: select line start tries to cancel the current selection if there is one before going to head of line, while select way left tries to extend the current selection.
We should discuss this further.

At this point, I think this is probably best reimplemented via the compound edit commands implemented in https://github.com/talonhub/community/pull/1498. Closing this one out.


Annotation keys for kubernetes must be less than 63 characters - Some Traefik keys are longer

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I tried to set the following annotation in the rancher ui for my treafik ingress:
traefik.http.middlewares.testheader.headers.accesscontrolallowmethods
What did you see instead?
I receive the following error:
[...] metadata.annotations: Invalid value: "traefik.http.middlewares.testheader.headers.accesscontrolallowmethods": name part must be no more than 63 characters
The k8s docu for says the following:

The name segment is required and must be 63 characters or less[...].

Source
What version of Traefik are you using?
2.4.8I
What is your environment & configuration?
# (paste your configuration here)

Add more configuration information here.
If applicable, please paste the log output in DEBUG level
No response

Is this somehow possible? Am I mixing things up? I cannot imagine nobody has stumbled over this issue before.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Link from inverted index to trigram index docs

Fixes DOC-6958

LGTM

@ianjevans FYI gonna merge this one since it's small and 2 folks already looked!


Inconsistent type display with unions of equivalent types

TypeScript Version:  3.3

Search Terms:
type display union subtype reduction
Code
const bar: { a: {} } | { a: {} } = { a: {} };
const foo = {
    ...bar,
    b: {}
}
foo // { a: {}, b: {} } | {a: {}, b: {} }
foo.a // {}
foo.b // {} | {}

Expected behavior:
I guess a and b should be consistent.
Actual behavior:
a is {}, b is {} | {}.
Playground Link:
playground
Related Issues:
#16582

In case anyone cares, I ran into #16582 again and to work around it I wrote a union reducer which will explicitly perform subtype reduction by removing elements from the union if they are assignable to the union-without-that-element.  The implementation is not pretty.
type BarType = typeof bar; // {a: {}} | {a: {}}
type ReducedBar = UnionReduce<BarType>; // {a: {}}

type FooType = typeof foo; // {b: {}, a: {}} | {b: {}, a: {}}
type ReducedFoo = UnionReduce<FooType>; // {b: {}, a: {}}

type Baz = { a: string } | { a: "a", z: 3 } | { a: number }
type ReducedBaz = UnionReduce<Baz> // {a: string} | {a: number}

UnionReduce implementation
type LastOf<T> = (((T extends any ? (x: () => T) => void : never) extends infer U ?
    U : never) extends ((x: infer I) => void) ? I : never) extends () => (infer R) ?
    R : never;

type UnionReduce<T> = LastOf<T> extends infer L ? Exclude<T, L> extends infer X ?
    [X] extends [L] ? L : Exclude<L, X> | UnionReduce<X> : never : never

LastOf: Extract the "last" element of the union by transforming the union members to the return types of an overloaded function... so "a" | "b" becomes { () => "a", () => "b" } and then just getting the return type of that will naturally only consult the last one, so "b":
UnionReduce: take the union T and break it into the last member L and Exclude<T, L> which we'll call X.  From L and X we can recursively reduce the union by either returning L (if X is empty or narrower than L) or a function of UnionReduce<X>.

Playground link to code


Best practices for scale to zero and cold start

Hi,
I have several questions to understand scale to zero.

How to approach best practices for cold start?
If no traffic, does it kill the container, and spin up the new one if it's needed?
How long the container up and running before it's stated idle and scale to zero? And how do I know this container is scaled to zero?

Thanks

I am just thinking which use cases I want to move to Cloud Run or Cloud Run for GKE.
This is interesting for my case, for the first choice I will use Cloud Run such as micro batch, log collector. But the needs for inter-communication among the services, connecting to VPC, it's like Cloud Run for GKE is the great choice.
Just exploring for case by case right now. :)

Hi, I am also in preparation to use Cloud Run in my current project. As stated in the repo, you can ping the service periodically, eg: using scheduler + cloud functions to call one of the endpoints (/warm perhaps) to keep at least 1 container running. I have not used it yet, but I think it will work.

My company has a Cloud Run service running in Production now and so I have some info to offer here. We have seen our Cloud Run containers scale down to zero in as little as 2 minutes of inactivity. To remedy this we setup Stackdriver Uptime Checks which are free to use as far as I know and can be configured to send requests to your service up to 6 x times a minute if you use all available regions, more than enough to keep the container active. You get the added benefit of an external health check for your service too.

I won't document best practices here but https://cloud.google.com/run/docs/tips might help with some of these. It's hard to comment on stuff around cold start, as it does not have a predictable model and depends on available infra capacity etc. Thanks for the discussion above, it helps us document what else people might be wondering about.


NormalizeTags

Hi,
I don't know is it a feature or bug, but the NormalizeTags merges the multi-line [Tags] part into one line and the comments are moved to the end of the line.
Based on the documentation it should normalize only the cases, but there is no other information about line (and comment) handling.
Executed command:
robotidy -t NormalizeTags --no-overwrite --diff MyTestSuite.robot
Result:

It would be nice an argument for example: "preserve_format=True" which should normalize only and only the tags (ignore the comments), preserves the multi-lines, and should not separate tags from the comments.
Note:
The random upper cases in the tags are only for testing purposes, whether this line merging and comment relocation breaks the normalization or not.

It does recreate while tags node do the original formatting is lost. I agree that we should add way to keep formatting, it should not be be hard to implement. I will add it to my backlog.

I have already implemented it. When the PR is merged this issue will auto-close but this feature will be release with next release (probably by the end of the week in 3.5.0).
With preserve_format the format will be preserved but NormalizeTags will only normalize tag case, and duplications will not be removed (since removing duplications would break the format).

That was extremelyfast. :-)
Thank you very much.

Change is now live in Robotidy 3.5.0.


Enhancement: Add BLE Transmitter

Hi there,
Great work on this stack, exactly what I've been looking for.
One other use case I have though is being able to read sensor data from a phone - so in theory it could be proxied back to Home Assistant or wherever it needs to go.
It would be fantastic to have a BLE transmitter option too to help with this.
Cheers

I think phone will not be able to send ESPNow channel data, as it works only between ESP chips.
Yes, I agree, a BLE transmitter of BTHome would be nice, so let's record this as a feature request for bthome_ble_transmitter.


Run all tests at once.

There is something wrong with the ssh protocol to geocoder.ca. A part from that, this is fine. I'll update later.

Yep, that makes perfectly sense now that all providers have been fixed!

There is something wrong with the ssh protocol to geocoder.ca

SSL rather than SSH?

Of course. Sorry.

The failing tests is because of the OIORest provider. They are out of service. See #43

+1/LGTM ... will merge


Scroll performance regression

The following benchmarks recently regressed when we rolled the engine in https://github.com/flutter/flutter/pull/11693:
complex_layout_scroll_perf__timeline_summary average_frame_build_time_millis
complex_layout_scroll_perf__timeline_summary average_frame_rasterizer_time_millis
complex_layout_scroll_perf__timeline_summary missed_frame_rasterizer_budget_count
flutter_gallery__transition_perf average_frame_build_time_millis
flutter_gallery__transition_perf average_frame_rasterizer_time_millis
flutter_gallery__transition_perf_with_semantics delta_average_frame_build_time_millis
microbenchmarks stock_animation_open_first_frame_average
In particular, rasterisation on some benchmarks regressed at least 5x.
Anecdotally, @eseidel also observed that scroll performance on Moto G4s today is very bad.
The engine roll in question included rolling Dart and rolling Skia.
cc @jason-simmons @chinmaygarde

The drop in frame rate is quite observable. I think we should revert unless someone already knows how to fix it quickly.

I will investigate. We can revert the roll in the meantime.

This is due to a change in Skia:
https://github.com/google/skia/commit/20af6d12eefd8d937bc13bdb7fa0a9ac86b699af

Skia rolled this back, and we've deployed an updated engine.


License field in Zenodo export violates schema

When converting CITATION.cff containing
license: MIT

to .zenodo.json, the resulting file contains
"license": {
  "id": "MIT"
}

According to Zenodo documentation about the file:

The human-readable documentation says:

license
string

The linked JSON schema specifies:
"license": {
  "description": "License for embargoed/open access content.",
  "title": "License",
  "type": "string",
  "default": "CC-BY-4.0"
}

According to both, it should be
"license": "MIT"

I suppose that's why it was implemented as an object here, but it might not be wise to depend on some undocumented behavior.

In principle I agree but there is some discussion how (if) the published schemas are used, e.g.
https://github.com/zenodo/zenodo/issues/2294#issue-1148049228
And additionally some people start their metadata from downloading the JSON for an existing record, which shows e.g.:

So, a bit of a conundrum I guess


Autofocus code box on page load

When you go to the online interpreter, it should automatically focus on the code box so that you can start typing right away without having to click on it.
(created by Aaron Miller here)

took a peek, and this enhancement can be implemented in one line by adding autofocus: true, to the mode object passed to CodeMirror.
i can make a PR, if it's agreed that this is what is wanted?

Go for it. That's what PRs are for