[Feature Request] Nested repeats in a single pagination. dirPagination 0.11.1

I'm looking to create a nested loop for pagination.
My Json look something like
items:[
  { name:"name",
    sublist:["subitem1", "subitem2",..],
  ....
  }
]

And I want to display each sub item on it's own row with other various information. The sublist length is not consistent, and I want to have, let's say 5 items on each page.
Any relevant code:
Here's what I have

{{user.username}}

{{device}}

{{user.keys}}

view

3:44pm 22-12-16

view

Basically I want to paginate the top div, with 5 rows per page of the following div.

Hi,
I'm not quite clear on what you are asking here. Are you suggesting a new feature for the pagination module (I am guessing so from the title of the issue)? If so, can you describe it exactly?
Or is this a request for help implementing a specific feature?

A bit of both? Sorry this isn't the right place to ask.
My problem is showing a list of users, and a user has devices they've logged in on. There is no limit to the number of devices, and is not consistent. I want to show one row for every device. This works into a nested ng-repeat. One over all the users, and the second over all the devices. What I would like to do is paginate so that only, lets say, 10 rows show on a page. This could be one user, it could be 10 users on a page. But if I paginate by 10 users, it could be 50 rows long. Is this possible with the current api?

Ok. I think I get it. So you want to paginate the users - that's simple. Do you also want to paginate the devices list on each user row?

Just to ask something similar, is it possible to replace the second dir-paginate with a ng-repeat ?
Thanks


Make hunters testable

What would you like to be added
Redefine hunters to get configuration as parameter.
Why is this needed
Following dependency inversion principal, and in order to write testable code, it is better that hunters will be initialized with config as parameter instead of referencing a global state variable.

Can I work on this?


feat(debt-union): show actual user count from discourse

What: show actual user count from discourse

See it here 👉  https://deploy-preview-39--tdc-home.netlify.app/debt-union/
Why: Closes https://app.asana.com/0/1196225495304457/1196225495304514
How:

Add gatsby-source-custom-api lib.
Use gatsby-source-custom-api to fetch from Discourse about.json endpoint and display user_count in the Join the Union page.

Notes:
If Discourse is not running this will return an error. I couldn't find any information on how to prevent this by using this plugin. If you think of a better approach please let me know.

Very minor, but it seems the gatsby-source-custom-api drops commas in the number pulled. Also, for the issue if Discourse is off - maybe an if/else to run only if Discourse returns 200 / is turned on? Not sure though - just thinking aloud ;)

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


hide view more link if no expanded documentation (#562)

Explanation:  Conditionally hide the “ViewMore” link
Scope: Minimized mode only
Issue: rdar://106860554
Risk: Small
Testing:

Manually add hasNoExpandedDocumentation to the metadata field of a renderJSON, and set it to true.
Test in Quick Nav that the link is hidden.

Reviewer: @dobromir-hristov
Original PR: https://github.com/apple/swift-docc-render/pull/562

@swift-ci test

@swift-ci test


Downloading Flight track

Is there a way to download the flight track?

All data received by the app is stored to a csv file. If you look in the menu, there is a "show log location" option.
It is possible to connect the phone to a PC, copy that csv file and import it to Excel. That would let you extract the GPS coordinates  for further processing/plotting.

This is what I got: Loggingto/storage/emulated/0/Android/data/org.opendroneid.android_osm/fileslog_motog power (2022) moto g power(2022)_2024-02-15_18-06-26.573.csv, that was yesterday and today: 2024-02-16 14-37-41.547.csv For the life of me I have search every cache and file on my phone and for some reason it is not there. Oh Well


Wrong --extern-html-root-url key used

https://github.com/rust-lang/docs.rs/blob/9ca26817b38453ee4fec7e1330bbd734174a87ed/src/docbuilder/rustwide_builder.rs#L525
This should almost certainly be dep.library_name() or something similar, to handle dependencies which rename their library (I don't know of any example build logs to see if it's an issue though). See https://github.com/rust-lang/rust/issues/76296 as well, we can't actually give a unique name here when things like duplicate renamed dependencies come into play.

Rustdoc expects the library name anyway, we can't do anything about that until https://github.com/rust-lang/rust/issues/76296 is fixed. We definitely shouldn't be using .replace() though.


Make partials threshold configurable

Until now Dexie.Syncable sent partial changes when we had more than 1000
changes. With the partialsThreshold property this can be configured
during protocol registration.
Only positive numbers are allowed and if no threshold is given, Infinity
is used. We use Infinity so that simple server implementations of the
protocol don't have to care about partial changes.
If partialsThreshold is 0, Dexie.Syncable will send no changes but will
always set partial to true. This can be used to only get server changes
and ignore any client changes.
Closes https://github.com/dfahlander/Dexie.js/issues/410

Perfect. I've updated the wiki at https://github.com/dfahlander/Dexie.js/wiki/Dexie.Syncable.ISyncProtocol


CORS

Hi there,
When I use this library, it breaks my CORS policy, for example
var corsAttr = new EnableCorsAttribute("*", "*", "*");             config.EnableCors(corsAttr);
Is there something I can do to fix this?
Thanks,
David

I'm also interested to know how can we have CORS & Throttling enabled.


Help with 256_tets.npz

Hi @ashawkey
Thanks for your quick implementation!
Could you please share the 256_tets.npz file?
I tried to generate it by myself but always got a segmentation fault.

@BrandonHanx Hi, here you go: https://drive.google.com/file/d/1lgvEKNdsbW5RS4gVxJbgBS4Ac92moGSa/view?usp=sharing

Many thanks!


Integrated RGB, Depth, PyRobot actuation noises, initial camera orientation.

Integrated RGB noises
Integrated Depth noise
Added PyRobot noisy actuations action space
Integrated initial camera orientation
Updated objectnav_mp3d.yaml config
Improved overwrite_config to decrease code duplication
Added fix to respect CONTENT_SCENES for habitat baselines training

Motivation and Context

How Has This Been Tested
Added test testing all RGB, Depth, Actuation noises on Habitat API side. Checked that if disable any of the defined noises the test will fail, generated videos.

Types of changes

New feature (non-breaking change which adds functionality)

Hi,
I'm trying to test the test_noise_models_rgbd() function of the test/test_sensors.py file but I get this error:
line 389, in test_noise_models_rgbd
    env = habitat.Env(config=config, dataset=None)
...
...
TypeError: 'NoneType' object is not callable

P.S. I just cloned the stable branch of the habitat-api repo and I noticed that the local test/test_sensors.py file was an old version, so I manually copied the new code from here to my local file. Could the problem be related to an old cloned version of the project?
Thank you

Solved. The problem occurred because I cloned the stable branch, currently not up-to-date.


Density channel stripes in ConvNP SetConv context encoding when lat/lon resolutions differ in gridded data

See title. The issue is that the size/scale of the SetConv Gaussian blobs is currently set to the finer of the two resolutions by the compute_xarray_resolution method. See example code and encoding figure below. It's possible that these stripe artefacts could filter through to the ConvNP predictions.
import deepsensor.torch
from deepsensor.data.processor import DataProcessor
from deepsensor.data.loader import TaskLoader
from deepsensor.model.convnp import ConvNP
from deepsensor.train.train import Trainer

import xarray as xr
import pandas as pd
import numpy as np

# Load raw data
ds_raw = xr.tutorial.open_dataset("air_temperature")

# Normalise data
data_processor = DataProcessor(x1_name="lat", x2_name="lon")
ds = data_processor(ds_raw)

# Set up task loader
task_loader = TaskLoader(context=ds, target=ds)

# Set up model with large internal resolution to sample the SetConv context encoding finely
model = ConvNP(data_processor, task_loader, points_per_unit=300)

# Generate Task with all data passed as context
task = task_loader("2014-01-01", "all", "all")

# Plot context encoding
fig = deepsensor.plot.context_encoding(model, task, task_loader, size=5)
fig.savefig("encoding.png")

Using the coarser of the two resolutions isn't ideal either, because this overly blurs the data:

I suggest we add a new feature to the DataProcessor which checks for xarray data with differing resolutions and resamples the array if so. This will ensure the Gaussian blobs at grid cell locations are spaced uniformly, removing the stripes.

Ah, I just realised the xr.tutorial.open_dataset('air_temperature') dataset actually has equal resolutions in lat & lon - 2.5 degrees in both cases. The stripes were actually caused by the DataProcessor squashing the data more in the lon-direction than the lat-direction when normalising the coordinates to [0, 1]. See the
>>> print(data_processor)
DataProcessor with normalisation params:
{'air': {'method': 'mean_std',
         'params': {'mean':<PHONE_NUMBER>53125, 'std': 16.320409774780273}},
 'coords': {'time': {'name': 'time'},
            'x1': {'map': (15.0, 75.0), 'name': 'lat'},
            'x2': {'map': (200.0, 330.0), 'name': 'lon'}}}

So, in fact, the stripes are caused by the DataProcessor inducing differing spatial dimension resolutions in normalised space. In other words, the DataProcessor maps data spanning a rectangular region into a square region, squishing the relative resolution in the 'longer' dimension.
Note: The stripe artefacts would also occur if the raw data itself had differing dimension resolutions, as assumed in the OP, but this will rarely be the case because data is typically the same res in both spatial dimensions.
If we instead explicitly ensure the DataProcessor linear coordinate mappings perform the same scaling in both spatial dimensions, we resolve the stripe issue: data_processor = DataProcessor(x1_name="lat", x2_name="lon", x1_map=(15, 75), x2_map=(200, 275)). Encoding below:

I will revise my suggestion about resampling gridded data in the DataProcessor: instead we should ensure the coord mappings use the same scaling and raise a warning if the user explicitly does otherwise.

Closed by https://github.com/tom-andersson/deepsensor/commit/1c267197a9794302c1f1bb33dd3aa9b44360c8ed. Now, the aspect ratio of the data is preserved when auto-normalising coordinates with the DataProcessor. If the user manually provides x1_map and x2_map to DataProcessor, a warning is raised if the two mappings would warp the aspect ratio (thus producing ConvNP encoding stripes).


Update platform channels to return values to native code

As a dev user, I want to get the result of the requests that I do to the SDK.
At the moment, only the apply consent method runs a callback function. The developer that is implementing it only knows about failures if an exception occurs. Since these calls are asynchronous, if an error occurs it can be thrown in another thread, leaving the user without any information of success.
Add onSuccess and onError callbacks to all SDK calls and native implementations.
Acceptance criteria:
1 - Expand tests to work with success and errors callbacks


KEDA Metrics API Server not honoring Loglevels

Report
Kede Matrics Api Server is spamming trace logs, even though logging is set to v=0
Expected Behavior
When setting loglevel to 0, only level 0 and below should be logged
( as per log documentation)
Actual Behavior
Traces are logged
Steps to Reproduce the Problem
Start Keda Metrics Server
Let it run for a while
See logs
Logs from KEDA operator
I1123 11:36:52.772270       1 trace.go:205] Trace[1110288377]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/dd071/http-http---ems-dd071-8080-topic-dd071-hsdg->-pendingmessages,user-agent:kube-c │
│ ontroller-manager/v1.20.9 (linux/amd64) kubernetes/454b5b5/system:serviceaccount:kube-system:horizontal-pod-autoscaler,client:<IP_ADDRESS> (23-Nov-2021 11:36:52.195) (total time: 576ms):                      │
│ Trace[1110288377]: ---"Listing from storage done" 576ms (11:36:00.772)

KEDA Version
2.7.1
Kubernetes Version
1.21
Platform
Google Cloud
Scaler Details
No response
Anything else?
Copy from https://github.com/kedacore/keda/issues/2316

Closing in favor of #2316 who has the initial report.


Collapse categories for APIs

There may be many definitions for each category, let's use Bootstrap's collapsible methods to make these lists more compact.

Completed by ef3bac562cb8de93f0d7ab32d11299ad83362995
Lists now have a nice dropdown interface, and the links can still be shared and load the correct API.


KeyError: u'SERVER_NAME' in expire_page

I'm trying to expire cache for news pages after they've been edited by an administrator.
With this code
@receiver(post_save, sender=News)
def on_change(instance, **kwargs):
    expire_page(reverse('press:news_item', args=(instance.pk,)))

I'm getting the KeyError:
  File "project/apps/press/models.py", line 157, in on_change
    expire_page(reverse('press:news item', args=(instance.pk,)))
  File "venv/local/lib/python2.7/site-packages/cache_tools/tools.py", line 13, in expire_page
    key = get_cache_key(request)
  File "venv/local/lib/python2.7/site-packages/django/utils/cache.py", line 220, in get_cache_key
    cache_key = _generate_cache_header_key(key_prefix, request)
  File "venv/local/lib/python2.7/site-packages/django/utils/cache.py", line 202, in _generate_cache_header_key
    url = hashlib.md5(force_bytes(iri_to_uri(request.build_absolute_uri())))
  File "venv/local/lib/python2.7/site-packages/django/http/request.py", line 130, in build_absolute_uri
    self.get_host(), self.path)
  File "venv/local/lib/python2.7/site-packages/django/http/request.py", line 72, in get_host
    host = self.META['SERVER_NAME']
KeyError: u'SERVER_NAME'

This very problem plagues all popular methods of per-view cache invalidation starting from Django 1.7+, because it generates cache keys with full URL and port:
http://stackoverflow.com/a/26403585/412240
I guess it can't be fixed easily without hardcoding server information...

Isn't it always contained in the ALLOWED_HOSTS?

ALLOWED_HOSTS don't include port numbers, may contain masks: e.g. ['*', ] is perfectly valid, and is ignored when DEBUG=True.
I'm experimenting with subclassing caching middleware, hoping to be able to adjust how Django generates the keys when using @cache_page decorator.

Any updates on this?

Anyone figure this out?


Seeking Assistance with Incomplete web_extensions::history Bindings

Hello @flosse, it's me again.
Lately, I've been working on a side project involving the web_extensions::history API. While I have been able to find some basic bindings, I've noticed that they do not cover all the functionalities provided by the Chrome chrome.history API, specifically the chrome.history.getVisits method and its related details.
Here are my questions:

Is there a recommended resource or guide for extending the existing web_extensions::history bindings to include the full range of Chrome's chrome.history API features?
Should I be aware of any known issues or limitations with the current web_extensions::history bindings?
If there is an ongoing effort to update these bindings, if not, where I should start?

I believe having access to the full chrome.history API would significantly impact the development of my project. I am willing to contribute to the community if there is an existing effort to enhance these bindings.
I appreciate any guidance or insights you can provide. Thank you in advance for your time and help.

I speculate that I should emulate the additions in web-extensions-sys\src\history.rs. How should I test to ensure that my modifications are correct?


Noisy depth image from ros driver

HW Info
Camera: OAK-D-Pro-W
ROS2 Version: Humble
Depth Image published by the depthai_ros_driver's camera node is very noisy when compared to the depth image shown by running the demo app
Sample, from depthai_demo.py:

Sample, from depthai-ros-driver:

Params kept consistent in both pipelines:
Median Filter (5x5)
LR check: True
LR Threshold: 10
Resolution: 1280x800 (L+R)
Extended Disparity: False
LaserDot Brightness: 500
IR FloodLight: 0
Things I've tried:
Enabling Threshold filter: Improves the quality but not by much
Enabling Spatial/Temporal filters: Improves quality slightly but introduces high latency
Changing LaserDot Brightness and enabling extended disparity: No change obsereved
Changing resolution/Median FIler Kernal size: No changes observed

Hi, can you post images from left/right camera as well? It can be looking at a simple white wall

Hi @Serafadam,
Thanks for your response, great work on the driver btw!
Here is a snapshot of the Depth, RIght and Left topics from the ros driver:

And a snapshot in the same position (approximately) from the python api:

As you can see the python api is less noisy and note that I have used depth_preview.py which is not doing any post-processing on the host (or the device as far as I can tell).
Another note is that I have not modified the default params in the python API so I am pretty sure the lase brightness is 0 there.
So I have tried launching the ros node with the brightness being 0 as well as 500 and 800; Observed no visible improvements or changes.

A quick update, I tried the same test on an OAK-D-LITE to eliminate the possibility of any hardware issues.
It does seem to provide a slightly better depth image but when compared to the API, it does seem to be very noisy.
ROS Driver:

API:

Here are the sanpshots, stereo_inertial_node:

API:

Hm, that's a little bit weird. Could you place the camera in a fixed position, enable debug logging and post debug logs and stereo images (or rosbags) from:

python example
stereo_inertial_node
camera.launch.py
rgbd_pcl.launch.py

Here are the logs and images:
Camera.launch.py:
Image:

Log:
camera_launch_2.log
stereo_inertial_node:
Image:

Log:
stereo_inertial_launch.log
rgbd_pcl.launch.py
Image:

Log:
rgbd_pcl.log
Python API:
Image:

Log:
python_api.log

Thanks for the logs, I'll try to come back at you starting next week after I go through all of them

Hi @Serafadam, any updates on this issue?

Hi, default config for camera.yaml has been updated a little bit, you can see if it helps.
I've looked at the logs but unfortunately it's a little bit hard to analyze them since Node properties are obscured. You can try adding following lines:
    std::ofstream file("/tmp/pipeline.json");
    file << pipeline->serializeToJson()["pipeline"];

after this log line,
for python add
        with open("/tmp/pipeline.json", 'w') as f:
            json.dump(self._pm.pipeline.serializeToJson()["pipeline"], f)

after this line.

Hi @Serafadam,
Here are the outputs and the json logs,
Demo App:

Log:
pipeline_demo.json.log
ROS Driver:

Log:
pipeline_ros.json.log

Hi, thanks! Notes based on those logs:

It seems that in ROS depth is not aligned to RGB, is that on purpose? Default config values set RGBD alignment
LRC Threshold is set to 10 in ROS, 4 in Python, although I would stick to 10.
Confidence threshold is set to 245 in python, also shouldn't make a difference
Threshold filter values are different but it's disabled in both pipelines anyway
This one is a bigger difference - Mono Camera resolutions are set to 400 in python example and 800 in ROS-although it might seem that bigger is better, increased resolution might produce more noise depending on environment.

So, to sum up, I would try changing two parameters and see if we get the same results:

stereo.i_align_depth to true
left.i_resolution to 400
right.i_resolution to 400
Let me know if that helps. Also, please note that visualizations of depth streams might differ due to how data is interpreted by the renderer.

Hi, so the align_depth is purposely set to false since I will be using the Depth pipeline instead of RGBD to reduce bandwidth over USB. This should not affect the noise correct?
Reducing the resolution on the ROS does seem to improve the noise a little bit but not by much, I will test this a few more times to confirm.
And about the rendering, I did consider this, and the problem is not visual since the point cloud that is generated from the depth image is extremely noisy as well. It could be the case that the visualisation in the SDK is different and is "hiding" the noise but at the end of the day I need the noise on the ROS side to be minimal and that is the only reason for the comparison.
So apart from the resolution and depth alignment, there is nothing else that can be done to reduce the noise?
Quick note: I did notice that the streams are not rectified in the ros_driver but they seem to be in the stereo_inertial_node. And i cannot find which param to set in the camera.yaml file to set the rectification flag. So please let me know about this as well. Thanks!

Hi! Sorry for the delay
Regarding noise, I would try playing with available filters via config files. Regarding alignment, different perspective might cause some distortions, though we'll be adding additional filtering for that in near future. Additionally, you can enable subpixel mode in newest humble release if you don't use NNs at the same time (this is a bug occuring with depthai v2.19, it's fixed in newest release).
Additionally, there is a WLS based filtering node in progress that should be added soon.
Regarding rectified streams from stereo, it's in the backlog and will be added probably at the same time as WLS filter - those functionalities are already coded in, but they've been postponed due to other tasks taking priority.

@AJsamk did you fix your issue? I believe I have the same situation.
I'm using an OAK-D, the outputs for the depthai_demo.py are clean, but I get a lot of noise when using the ROS driver.
This also seems linked to #214. For reference, my point cloud looks like this:

Best,

Hi, are you using default config files?
Regarding previous post - we've recently updated our docs on depth tuning, you can find more information here, hope that helps.
WLS filter feature was delayed a little bit, but soon it's going to be added as part of new depthai_filters package

Hi,
Yes, I'm using the default config files. I'll update this thread if I have an improvement

HI @Serafadam,
Thanks for the update, I tried the new PR, it does look a lot better in the stereo image as well as the filtered image, although the filtered image is too dark to see, the noise does seem improved quite a bit.
I will try and pipe the new images through to the pointcloud, since I don't see any pcl messages being published I am assuming the filter example does not add that component. Hopefully there will be low to no noise in the pcl.

Hi @Serafadam,
Thank you for the updates. I have tried the latest noetic branch (not the 271_neotic). It seems the same issue remaining in the noetic version. The point cloud is okay when running the depthai_example but extremely noisy when running the depthai_ros_driver.
depthai_example (side view) it is okay

depthai_ros_driver(side view) it is noisy

depthai_example (top view) it is okay

depthai_ros_driver(top view) it is noisy, even travel through the wall

I tried to enable the filtering based on the default config file (camera.yaml). It does not affect the performance.

Hi @roboav8r, one of the changes regarding ROS camera is subpixel mode, you can enable it by setting stereo.i_subpixel: true parameter. Regarding detection results, could you try with setting nn.i_disable_resize: true and setting the rgb.i_preview_size to one supported by the model?

Thanks @Serafadam! Looks like that did the trick and it is now outputting reasonable results.
If anyone else is curious, here is my configuration:
/oak:
  ros__parameters:
    camera:
      i_enable_imu: true
      i_enable_ir: true
      i_nn_type: spatial
      i_pipeline_type: RGBD
    stereo:
      i_subpixel: true
    nn:
      i_nn_config_path: depthai_ros_driver/yolo
      i_disable_resize: true
    rgb:
      i_preview_size: 416

Can the stereo depth confidence threshold be changed using the ROS driver?  I can't see any option that would do that.


Add a Database to Your Business Application

Tutorial URL: https://developers.sap.com/tutorials/cp-apm-03-add-database.html
Hi,
I followed the steps of this tutorial and everything works till the last step. When I try to receive data in the SAP Fiori Launchpad I get an error "No Connection to database" and under odata/v2/CatalogService/Books it is followed by "CDSRuntimeException.NO_CONNECTION".
Edit: It seems like the same error occurs during this tutorial: https://developers.sap.com/tutorials/odata-06-add-data-odata-service.html.
Any ideas how to fix this?
Thanks!

Hi @timojoh,
thank you for your question. 👍
The tutorial works for me. I completed this two tutorials before:
https://developers.sap.com/tutorials/cp-apm-01-create-business-service.html
https://developers.sap.com/tutorials/cp-apm-02-add-ui.html
Did you also complete this before?
It is important not to skip or change the order of completing the steps mentioned inside the tutorial - In case you did it that way.
Best regards,
André

Hi @Apfohlmann
Thank your for your time and response.
Yes, I completed the previous tutorials. Any other ideas?
Best regards,
Timo

Hi @timojoh,
Thank you for your further investigations.
@qmacro can you help us out?
Best regards,
André

@thecodester please close the issue.


Update remove-google-redirection.user.js

Fixed icon image and update URL

I think the same changes have to be applied to remove-google-redirection.meta.js

Done.


feat: refactor wrapper to component client only registration

Hi @danielroe maybe you can help me here 🙏🏻. I tried adding the mode: 'client' yesterday but the dom was empty and this error was on the console
Component is missing template or render function.

I tried without it and everything seems to work. I even created a fake release on next channel and tested it on a isolated nuxt SSR and everything worked. 😂 I don't understand why?


Request and verify email address with default taken from ORCID

Each user should have a verified email address which can be used to inform the
user about updates, downtimes or completed tasks.
ORCID already has email addresses, we should try to request it.

Related to #395


After auto-update, Atom reopens with multiple Untitled tabs

Description
On two different OSX versions (10.11.4 and 10.9.5), the upgrade to 1.7.0 relaunched Atom with my multiple open documents replaced with Untitled empty tabs. This did cause some loss of work (my fault, obviously, but still a nasty surprise).
Steps to Reproduce

Restart Atom to install the 1.7.0 update with multiple files open

Expected behavior:
Atom 1.7.0 would finish the install and re-open with the same files open in tabs
Actual behavior:
All open docs were replaced by empty Untitled tabs - for unsaved docs, this was fatal.
Versions
You can get this information from executing atom --version and apm --version at the command line. Also, please include the OS and what version of the OS you're running.
Reporting this from my OSX 10.9.5 box:
[12:12:17] tnboyd:~ $ atom --version
Atom    : 1.7.0
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1
[12:12:22] tnboyd:~ $ apm --version
apm  1.9.2
npm  2.13.3
node 0.10.40
python 2.7.11
git 2.8.1

Confirmed on OS X 10.11.4

Same in Windows 10

also next day after update, opening atom and all the tabs are empty and "untitled"

Same issue occurs on Debian 8.

I had the same issue on Windows 7 Professional. But I closed the tabs, and re-opened the files without problem.
I wouldn't have tried to reload Atom with unsaved files. Is it supposed to keep them somewhere and restore them after reload?

I just (nervously) accepted the 1.7.1 upgrade - and Atom successfully launched with my open tabs intact! Looks fixed to me! (On OSX 10.9.5, I will confirm on 10.11.4 once I get home).

I definitely just ran into this issue, but after the 1.7.1 update it appears to be gone.
Reported and fixed before I even knew I was having a problem! Great job!

Glad to hear it everyone!
If someone is still experiencing this on 1.7.1 please comment here.

Atom has already updated automaticly to 1.7.1, but there are always three untitled tabs. Only the project path is still there.
I am running Atom on Windows 8.1 .

I just hit this on my upgrade to 1.7.1…

For the record, it happened when I upgraded Atom 1.6.2 to 1.7.2. Saw somewhere it was a change in session format and the upgrade code was bugged.
Again, I only lost the list of opened tabs, which isn't important, but I wanted to point out there was no improvement here, despite the closed
I made a screenshot. :smile:

It also shows two other issues: 1.7 breaking extensions by reading PATH in a case-sensitive way (there is a PR for that), and the "Keep waiting" dialog never auto-closing... (I will open an issue for that).

Can confirm this is happening on Ubuntu 15.10 with Atom 1.7.2 - sometimes Atom opens with 1 empty file sometimes with 3,4 or even 5+. I could not identify any pattern.
Probably not relevant but I am launching atom from bash with atom ..

It stilll happens with version 1.7.2 on windwos 8.1

If you are experiencing this issue, please do the following:

Save all your work
Completely exit Atom
Launch Atom again using atom --clear-window-state

Please let us know if that does not fix the Issue.

When i follow these steps, this problem is  gone.
Now, when i open my first file during a session with a double-click and no other file has been open before, This file open two times. ( I am not sure, if i had this problem before, too.)

@duichwer your newly reported symptoms are covered by https://github.com/atom/atom/issues/11391.

Had the same issue on 1.8.0 and atom --clear-window-state seemed to fix it.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.4 LTS
Release:	14.04
Codename:	trusty

Atom    : 1.8.0
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1

apm  1.9.2
npm  2.13.3
node 0.10.40
python 2.7.6
git 1.9.1


[QA] Test the habana notebooks.

Tasks.

[ ] How to get a cluster with HPU available.

[ ] Explore the cluster with the QA Team.
or
[ ]  Setup a cluster from https://console.redhat.com/
Then follow this document.

[ ] Implement quality assurance

[ ] Set the cluster with RHODS. (from jenkin with iib value for 1.34)
[ ] Make sure the habana imagestream.
[ ] Spin the Habana notebook with HPU accelerator

[ ] Follow this docs for setting accelerator profile: Docs 1, Docs 2

[ ] Test the Habana image with tutorial
[ ]  Update ods-ci with a check if cluster HPU, run habana test
[ ] Explore Negative tests

Optional negative testing scenarios:

On cluster without habana the initialization should fail
On cluster with habana operator that doesn’t match our image the initialization should fail

Current status - feature has been successfuly checked with the v1.10. Based on discussion, we need to check also v1.11 - relevant operator should be available in latest 4.12.x OCP release.
Automation - TBD.

One more question raised up - can the users use Habana in a maintained variant of the RHODS product? I'm not sure if I correctly distinct all difference between self-managed and managed product. In case of managed in AWS, I suppose that customer should be able to perform all necessary configuration to utilize the Habana hardware, correct? But, I am not sure that he can choose for particular location where the cluster is being provisioned :thinking_face: e.g. us-east-1. At the moment the Habana hardware is restricted to just us-east-1 and us-west-2 locations.

For the record -  for release of 1.34, it was decided to go with Habana v1.10 image only, see #297.

Marking this as complete , thanks for the work :100:
Additional work would be tracker here: https://github.com/opendatahub-io/notebooks/issues/355


Add dash arguments for cli

Rationale is that typing a '_' is more work than a '-' and I can't think of an explicit reason why to prefer the former. Both are still accepted however for compatibility.

Sounds good to me. Feel free to remove the underscore variants too. At this point, better to avoid legacy cruft than retain compatibility. If you remove the underscore variants you will have to update std/build.zig and probably also test/tests.zig to pass correct command line arguments.

Also need to update:

documentation
completion scripts


Fix spaces

Remove spaces that break wrapping words.
Ex: 意 味もなく => 意味もなく

Thanks, but by design most script use space for new line.
I will close this PR.

This break word lookup tho.


Project relies on non-existent development dependency

The Gemfile lists luna-rubocop-formatters as a development dependency, but this gem was deleted by its author. As a result, it's not possible to clone this project and start development on it. As a secondary effect, I think there's a potential security risk here as the luna-rubocop-formatters name will soon become available to anyone on RubyGems and at that point this project will attempt to bundle install code from a potentially untrusted 3rd party.

Hey @nirvdrum, this project was slated to get fixed in a few weeks, but since you filed a ticket I'll get it fixed  here in the next hour, so that you can continue to use it and develop on it if you like.
Thanks!


strings test fails: returning a string on guest export side

This will need a cabi_post_ method and plenty of rework.

The guest exports return type could be different from wit::string - basically anything with a common free function (which is called by the cabi-post)

Solved by previous commits


Remove LaunchRocket

NOTE: Each discrete (stand-alone) request should be in its own issue.
Put Remove LaunchRocket as Title
[X] Done
Explain why it should be removed
The Repo has been archived and has not been updated in years
Additional context
n/a

@GeorgeNance thx!


Picker isn't navigable with voice command tools

Description
Pickers are not fully navigable using voice command software:
- iOS (VoiceOver): Pickers can be opened, but users are unable to scroll through the options
- Android: Pickers cannot be opened
React Native version:
0.63.4
Steps To Reproduce
iOS:

With Voice Control enabled, select the picker using spoken command
When the picker is opened, try to scroll through the options by saying "scroll up", "scroll down", "move down", "move up"
Note that the picker cannot scroll through the picker options

Android:

With the device's native voice command tool enabled (e.g. Voice Access, Voice Assistant), try to select & open the picker using spoken command.
Note that the picker cannot be opened.

Expected Results
Pickers should be fully navigable using the device's voice command tool. This includes the ability to:
- Select, open, and close pickers
- Scroll through the options in the picker
- Select an option in the picker
Snack, code example, screenshot, or link to a repository:

The Picker core module has been deprecated (mentioned here - https://reactnative.dev/docs/picker)
I suggest you use the community module implementation, instead:
https://github.com/react-native-picker/picker


flutter_webview_plugin not switching when stored inside of indexed stack

I am new to flutter and am developing a flutter app that has the ability to switch between multiple tabs where each tab is its own separate widget. To accomplish this, I am using a bottom navigation bar. I also need the widgets to not be reset every time the tab gets switched, so I am storing each widget in an indexedStack instead of an array. My issue is that when I run the app, the webview (from flutter_webview_plugin, NOT webview_flutter) will just stay on the screen and I cannot switch out of it. Switching between all other widgets works fine. I can still press buttons on the bottom navigation bar, so it will have a different button highlighted for one of the other widgets, but still be on the webview. I can still use the webview when it is like this. I don't have this issue when I just use an array, but the widgets reset themselves each time a new one is selected, which is not my desired behavior. Below is how I am switching between the tabs.
The code is here:
https://stackoverflow.com/questions/64360212/flutter-webview-plugin-not-switching-when-stored-inside-of-indexed-stack
What can I do to get my app to properly switch in and out of the widget that displays the webview? If I shouldn't use an indexedStack, what should I use instead so the widgets don't reset every time the tab gets switched?

@RohanDani2
flutter_webview_plugin is 3rd party. Please consider opening this issue in plugin owner's repo : https://github.com/fluttercommunity/flutter_webview_plugin/issues.
Closing this from here, as it doesn't seem to be an issue with Flutter.


fix(multiline): Handle sort order of multiline when the first line doesn't have all categories

:tada: This PR is included in version 1.8.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Angular-cli V1.0.0 3rd party scripts or styles are not loading

I'm using "@angular/cli": "^1.0.0"
And add material lite in to project
"apps": [
{
"root": "Client",
"outDir": "wwwroot/dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "CRM",
"styles": [],
"scripts": [ "../node_modules/material-design-lite/material.min.js" ]
}
],
But it does not get loaded.
How fix it.
@Node: v6.10.2
@NPM: 3.10.10

  "apps": [{
        "styles": [
            "styles.css",
            "../node_modules/material-design-lite/material.min.css"
        ],
        "scripts": ["../node_modules/material-design-lite/material.min.js"],

Work for me with @angular-cli: 1.0.0 @Node: v6.10.0 @NPM: 3.10.10
Maybe you forgot to add  material.min.css  ?

I'm also seeing this issue.  Created an angular-cli app from scratch with angular-cli 1.0,0, node:7.8.0.  In the json, i've got
"scripts": [
"../node_modules/jquery/dist/jquery.min.js"
],
and this is the component:
import { Component, AfterViewInit } from '@angular/core';
import * as jQuery from 'jquery';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent implements AfterViewInit {
  title = 'app works!';

  ngAfterViewInit() {
    jQuery.delay(5000);
  }
}

This is the error I get at runtime with "ng serve"
ERROR TypeError: WEBPACK_IMPORTED_MODULE_1_jquery.delay is not a function

I faced a similar issue.  In my case the css files were not loaded.
It took me all morning to figure out what was going wrong and after a long struggle I actually found the cause.
On my Windows laptop I have a directory containing a symbolic link to another directory.  My best guess is that webpack is not compatible with symbolic link directories on Windows.
An example:
full path to my project:  c:\Users\Public\Documents\angular-rocks
symbolic link path to my project: c:\data\angular-rocks
if I start my project from the full path then the css files are loaded.
If I start my project from the symbolic link path then the css files are not loaded.

@MHacker9404 when using the
@DavyDeDurpel the symbolic link issue is being tracked in https://github.com/angular/angular-cli/issues/3797


[Driver, Incremental] Add enable- and disable- only-one-dependency-file flags

Since every make-style dependency file has the same contents, it wastes time to output one for each source file. Only write one real one, and create empty dummy files (to keep the build system happy) for the rest.
Latest version of this facility. Intervenes earlier in the driver in order to work well with batch mode.

@swift-ci please smoke test and merge

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test os x platform

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - aba119ce7216121c896fd4b1a57ae0e63b83ded0

@swift-ci please test OS X platform

@swift-ci please test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - aba119ce7216121c896fd4b1a57ae0e63b83ded0

@swift-ci please test source compatibility debug

@swift-ci please test source compatibility debug

@swift-ci please test source compatibility debug

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - c239676799aaa7cc9939070f672f4c226d169824

Build failed
Swift Test OS X Platform
Git Sha - c239676799aaa7cc9939070f672f4c226d169824

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - 96d61f76d1738d47644b0648fa97472046e27d6f

Build failed
Swift Test OS X Platform
Git Sha - 96d61f76d1738d47644b0648fa97472046e27d6f

@swift-ci please smoke test

@swift-ci please smoke test

I am trying to figure out why the Windows CI started failing after merging this PR (https://ci-external.swift.org/job/oss-swift-windows-x86_64/2293/).
From what I understand this changes the default from emitting files with contents to emitting empty files. Just that, right?

@drodriguez This changes the default so that one job emits a real .d file and the driver creates empty .d files for the rest of them.

I am trying to figure out why the Windows CI started failing after merging this PR (https://ci-external.swift.org/job/oss-swift-windows-x86_64/2293/).
From what I understand this changes the default from emitting files with contents to emitting empty files. Just that, right?

Please let me know what you discover. Tx!

I see the problem, but not the fix (yet)--looks like the dummy file syntax is wrong for windows.

I think one might need to call open() to actually create the file?


🐛 [firebase_analytics] Implement consent mode v2

As per https://developers.google.com/tag-platform/security/guides/app-consent?platform=ios the recommended way to set user consent is consent mode v2, which enables toggling the following four individual properties.
AD_PERSONALIZATION | Sets consent for personalized advertising.
AD_STORAGE | Enables storage (such as device identifiers) related to advertising.
AD_USER_DATA | Sets consent for sending user data to Google for advertising purposes.
ANALYTICS_STORAGE | Enables storage (such as app identifiers) related to analytics, e.g. visit duration.

In the firebase_analytics plugin, the setConsent method signature is
/// Sets the applicable end user consent state. 'default' value for 'adStorageConsentGranted' & 'analyticsStorageConsentGranted' is 'true'
  Future<void> setConsent({
    bool? adStorageConsentGranted,
    bool? analyticsStorageConsentGranted,
  })

exposing only two of the four above mentioned properties.
Please update firebase_analytics in flutterfire to support Google consent mode v2.

There ar major marketing implications for tons of of apps out there if we cannot implement the consent mode v2. I hope you guys can make it a priority. Thanks for your work!

To raise attention, I'd also like to leave a comment here. For us it's also crucial to use V2 soon.
Maybe you can roughly estimate when this will be implemented, so that we know that we might need to use workarounds before we go live.

I'm facing the same problem, please make this a priority to implement the consent mode v2.
Btw, do you guys have any awareness of the reason why after I executed
FirebaseAnalytics.instance.setConsent(adStorageConsentGranted: value);
the verbose logs keep showing the same value as the default one I set in the Info.plist / AndroidManifest.xml? The value doesn't even change once at all.

I can also only emphasize, that it is crucial for us that we have support for setting these additional consent flags prior to the rollout of Google Consent Mode V2 in March 2024.

As an update, we are planning on updating the API for the above mentioned, we're just going through an API review before implementing. I will let you know when it is released 🙏

@russellwheatley
I started working on adding it yesterday and I opened a PR today. Should I continue working on it or you have open PR internally?

@russellwheatley
I began implementing this yesterday and have already submitted a pull request today. Would you prefer that I proceed with further enhancements, or do you currently have an open pull request in progress internally?

@matinzd - I have the bones of a PR which is on hold until we decide on API. Happy to proceed with your PR once decided if you care to update when the time to implement arrives 😄

@russellwheatley I am available as soon as you have the internal discussions resolved. Just ping me in the PR.

this setConsent is not valid for FLutter web, how can I set consent in flutter web?

@JgomesAT - It will be allowed in upcoming PR. See docs

Great news

any schedule, for when that will be ready

@russellwheatley what is the final status about this?
There is a deadline to implement Consent Mode V2 for 6. March, and there is no official solution for Flutter Apps.

@ibrahimdevs I've done customization in the local and the package works fine for me.
you need to make some specific changes in packages and follow the V1 consent methods.

Hey everyone, sorry for the delay. We have the green light for this API update.
@matinzd - let me know if you wish to proceed with your PR. I've provided some feedback 😄

@russellwheatley thanks for addressing this! Great help. Could you give us some hints on the release ETA?

@szepeshazi - Hopefully today, definitely tomorrow 👍


[DO NOT MERGE] Update support email

DO NOT MERGE can be merged when full release happens ~ 20/3
Context
Support team are taking over support and have a different email.
Changes proposed in this pull request
Update the support email for CTR
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Must Be Done [20/03] Group 4 Go Live - Update CTR and CBL Support Email Address


Toggle Tag Method

What would be the best way to have a toggle function so you can change the colour of the tag when you select, deselect it?
#define selectedColor [UIColor colorWithRed: 255.0/255.0 green: 128.0/255.0 blue: 0 alpha: 1.0]
#define deselectedColor [UIColor colorWithRed: 255.0/255.0 green: 0 blue: 0 alpha: 1.0]

From your demo in the viewDidLoad I've amended the block
[self.tagListView addTagsAccordingToDataSourceArray:@[@"from", @"array", @"too"] withOnTapForEach:^(TagView *tagView) {
        if ([tagView.backgroundColor isEqual:selectedColor]) {
            tagView.backgroundColor = deselectedColor;
        } else {
            tagView.backgroundColor = selectedColor;
        }
}

The background colour is set in IB but when compared it doesn't match.
If I add to viewDidLoad
self.tagListView.tagBackgroundColor = selectedColor;

it works.

Your implementation looks OK to me. Please, fill a pull request, and I will be pleased to accept it :)

The only issue here is if you've selected a colour in IB you then have to set it again in code (selectedColor) which would be confusing and not intuitive.

OK, I get your point now. You are saying that IB background color overrides the one setted individually on a tag.
For not letting the IB set the color, you can simply comment the tagBackgroundColor property (this line), and the appropiate getters/setters.
Let me know if you have any trouble with this

I've just updated the library to make working with your issue more easily. Now, you can set the selected / highlighted state and color individually.
Please check again


a11y: fix platform-specific issues

The default "complimentary" role cannot be included into another landmmark. Use "region" role for the chat instead.

On linux, when using orca, it doesn't announce an actual role for menu items. Fixed by adding the "menu item" text directly to the aria-label property only on linux

Coverage increased (+0.004%) to 67.621% when pulling 9686fe6c5729ff5b22759bc041843bbb0838d201 on OEvgeny:a11y/platform-fixes into b7bbdc6ea7b5cf9f94d18e2e8eab85604f14e9b7 on microsoft:main.


Seem to be having some issues with Baud Rate

I have been attempting to use the UsbSerial library on Android (Nexus 7 with Marshmallow). I have an FTDI Usb to 232 cable connected up through a OTG cable. The other end is an ODROID C2 running Ubuntu Linux. I have tested the cable and the connection to the linux machine up to a Baud Rate of 230400. I have been trying to get the Android->Linux connection working at 115200, but haven't been able to get data over 9600. Once I turn it up to anything higher I no longer see it on the other end (or its just garbage).
I am operating in non-canonical / raw input on the other side so I am just reading single bytes. I guess I should also note that I am seeing echoing on the line on the Android side and I have tried both Async and the Sync calls.
Has anyone used the library at 115200 (or higher) with any success? I am using the example code provided in for the Sync calls at this point. Is anyone else seeing any echoing of their own sent data?
I can provide the Linux code if necessary, but its pretty straight forward C++ that I have been using for years on other projects.
UPDATE (2/14/17):
I was able to get everything up and running with a max baud rate of 230400. However, I have to use stty on the command line to set the baud rate. The termios attribute calls don't seem to do anything and leave the port at 9600 at all times. Anyone else have this behavior? I haven't had this happen on any system I have used this code on before.

Same issue on my setup while I was trying to move away from Physicaloid.
I'm working on Android serial communication with an ARM mbed 1768,
and I can configure the baudrate dynamically on both sides.
The library doesn't apply the baudrate requests,
it is always stuck on 9600 although the CDC should be 115200 by default.

Same here. Using putty I can talk to my Arduino at whatever baud-rate. Using the library I am stuck at 9600.

Turns out the issue I was facing seems to be non-present when using genuine Arduino Uno, rather than a clone I was using before that. The question is whether the issue lies within the clone hardware or the class handling its chip: CH34xSerialDevice.java.

Tested with geniune Arduino/CDCSerialDevice and a clone NHduino/CH34xSerialDevice. Apparently USBSerial can only talk to hose only at whatever is the default baud rate in their respective Java classes: 9600 for the clone and 115200 for Arduino. (Admittedly, with the Arduino I only tested 115200 and 230400.)

I can attest that modifying default baud rate in CDCSerialDevice.java worked for me. Now my Android app talks to (genuine) Arduino working at baud rate of 230400. You need to modify different class when using a clone, most likely CH34xSerialDevice.java.


Question about merging hashtables

Hi
I have some troubles to merge hashtables from the baseline with hashtables from a role.
Let me explain my intention based on the DscWorkshop Files.
I would like to createa file on every Server. Now i have a specific role which i would like create another  file.
SOmething like here: https://github.com/AutomatedLab/DscWorkshop/blob/dev/DscSample/DSC_ConfigData/Roles/FileServer/FilesAndFolders/Items.yml#L2
In the Baseline:
- DestinationPath: C:\Test1.txt
  Type: File
  Contents: A file on every Server created with Dsc

In the Role:
- DestinationPath: C:\Createthisfile.txt
  Type: File
  Contents: A file on a specific role created with Dsc

That's my Datum.yml configuration, but it don't merge the values.
The Default is:  default_lookup_options: MostSpecific
FilesAndFolders: hash

FilesAndFolders\Items:
  merge_hash_array: DeepTuple
  merge_options:
    tuple_keys:
      - Destination
      - Type
      - Contents

Maybe you @gaelcolas can help me a little bit?
Thank you

Hi,
I'm traveling and without a PC for me to try on atm, but here's how I'd troubleshoot this.
Load $Node with a relevant hashtable for that role in your session, load $Datum as well with the structure.
Do a lookup 'FilesAndFolders' -Node $Node -Datum $Datum -Verbose to see where and why the expected merge doesn't happen.
The output tells you the Datum Path and merging strategy it tries to merge, or whether the Path returned $null.
If you cannot solve this, please push your code to a new branch in your fork of this project, and link it here. I'll have a look next week.

After re-reading, are you trying to merge items that are in separate files and treat them as array of hashtable? If so, it's a known limitation iirc, Datum doesn't type the object properly for merging. If you put in single yml file it works with your Datum definition, but with role as folders and items as files, the merge won't work.

This is what i'm trying to do..
https://github.com/AutomatedLab/DscWorkshop/pull/14

The PR gaelcolas/Datum#53 makes Datum support folders for roles and also should solve some merge issues I have came across. Can you give this branch a  try?

This is fixed in Datum 0.0.34. Please raise an issue in the Datum project if any problem.


Updating to FontAwesome 5.15.1 icons

This changes affect mainly:

Check exampleSite/config.toml to see the new paradigm. Make sure to modify your config.toml accordingly.
layouts/partial/head.html, changing the source of the icons
layouts/partial/sidebar.html, to adapt to new syntax.

@ivangjxyz Thanks for PR. It looks all good so far. Well done!
One thing that's a bit annoying is that it FontAwesome changed the interfacing and that fas and far are now mandatory resulting in some some sites breaking. We should clearly state that in the release notes for the new version.


Error: json: invalid use of ,string struct tag, trying to unmarshal unquoted value into int64

I've been recently using Zabbix for monitoring purposes, along with the latest versions of Grafana and the Zabbix plugin. When I attempt to create a query, I encounter an error stating, 'json: invalid use of ,string struct tag, trying to unmarshal unquoted value into int64.'
I'm using Elasticsearch as the database for historical data. Is there a way to fix this issue?

Grafana
Zabbix
Grafana-Zabbix Plugin

9.5.14
6.0.23
4.4.0

I tried using the method mentioned in Error 'json: invalid use of ,string struct tag, trying to unmarshal unquoted value into int64' for recompilation, and it started working normally. I look forward to this issue being fixed in future official releases.


validator add support for COMMAND source type

So I deliberately excluded COMMAND artifacts when I moved the artifacts over from GRR.  At the time I figured these were GRR specific, but that might have been the wrong call.  You can see we have a bunch here under flow templates:
https://github.com/google/grr/blob/master/artifacts/flow_templates/linux.yaml
GREP is also in a similar situation.
So there's a philosophical question here: does running a command or grepping a file fit with the intent of the artifacts repo to describe where forensically interesting stuff is on the machine?

I think for grepping a file it makes more sense to just say FILE and then a url to how to parse (or build said parser into GRR)
Commands are probably a little different, especially with some of the lesser known command line stuff.  Though you can potentially get into the "which args are the best args" problem.

Added COMMAND in https://github.com/ForensicArtifacts/artifacts/pull/28
we should move the COMMAND artifacts over from GRR.  Leaving this open as a reminder to do that.

I opt to file a bug/issue with GRR and close it here.

@destijl seeing you did most of the work assigning to you. Is this solved by the recent changes?

yeah, this is done.


Redundant rm dist in build-prod package.json

Hi I was picking stuffs from this repo for my own halogen project when I noticed there is a redundant rm -rf dist as below:
https://github.com/purescript-halogen/purescript-halogen-template/blob/9cc04eacd187026e782e6d0e26368f179ad0a3a5/package.json#L12
Is this a mistake? Or there is something underlying which I am not aware?
or should it be this:
 "build-prod": "rm -rf prod && mkdir -p prod && cp dev/index.html prod/ && spago bundle-app --to prod/index.js && parcel build prod/index.html"

Thank you.

Yeah, that sounds right to me!
I've not kept my eye on this repo for a while, but should probably give it a look over - I think the use of parcel is a leftover from before the compiler supported ES modules, I'd use esbuild instead.


Fe: Maximize 3D view window

Wanted to get a closer look at an object but there was no way to make the preview bigger. Would be helpful to maximize that window.

This issue might be tangentially related for different thumbnail views: https://github.com/webaverse/app/issues/459#issuecomment-772792056

That render is not high quality. If you really wanted to see, the try mode is probably best.
Would a low res large image be good enough?

Fixed


commander: add vehicle-status nav_state change timestamp

Possibly helpful for https://github.com/PX4/Firmware/issues/13293.

that should work.
I will quickly test the two corner cases

Added a navigator change to populate the timestamp of the actual position setpoint (within the triplet).

I was only able to test one of the corner cases where the vehicle_status is newer than the triplet, and that worked.
I am confident that the second corner case where the triplet is outdated works as well. I will come back once I fixed the bug that prevents me from testing it
I will also open a PR based on this where I pass the timestamp to FlightTasks.

Even if we don't ultimately use these timestamps for FlightTasks I think they're still useful. Merging.


[Question] Maximum image size in practice

Hello,
I have a question: What is the maximum image size that would work in training DALLE-pytorch?. I have seen that typically image sizes of 256 are used but, would it work with images of say 1024 pixels? In case it is possible, how many images would be needed in the dataset to get good results?
Thanks

at the moment, 256 is the largest we can do. but if the history of computing is anything to go by, eventually the same code base should be able to train larger image sizes


Support for Ursalink Gateway - GCP

Is this a bug or a feature request?
Feature request
What did you expect?
Being able to install and configure the gateway bridge on an Ursalink gateway, with support for Google GCP as the back end.
What happened?
What version are your using?
How can your issue be reproduced?
Could you share your log output?

Ok, that is great :-) Would you mind creating a pull-request to add these setup steps to the documentation for the Ursalink?

I brocaar,
I suspended work on this because of a bug I encountered with the network-server part ( a bad setup in GCP or chirsptack-gateway, I don't know ). My setup was woking with one gateway ( Dragino ) and data was flowing. I could see activity in Chirptack App and on GCP. The gateway object in google was showing heatbeat activity and telemetry event.
When I added a second gateway, another Dragino or the Ursalink, in GCP, I could see heartbeat but no telemetry. In Chirpsack app, the gateway never showed any activity.
As we are still in the proof of concept phase and not on a tight schedule,  I temporarily work around this problem by using my own MQTT broker (mosquitto) inside the VM.  I configured the network server backend to use this. I configured the gateways to connect using mqtt over tls on my vm. It should be easy to switch the backend when a solution is found or still, use mosquitto as it doesn't seem to consume much ressources and security is enforce with TLS.
As my lab environment was changed a lot and is potentially in a bad state, I will rebuild it and retry when I get time. I will of course share my finding.
In the mean time, I suggest  to put this issue on hold or close it. I will come back when I get more information.


Makefile: make node_modules depend on package.json

If I've understood correctly, this means that a change in package.json should trigger a re-run of make node_modules on the next invocation of make.
This should be helpful e.g. when switching to a branch with different dependencies.

Build failing due to unrelated test timeout:
  1 failing

  1) analytics task queries
       combined analytics
         should fill in all project.submissions queries:
     Error: Timeout of 4000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/circleci/repo/test/integration/other/analytics-queries.js)
      at listOnTimeout (internal/timers.js:557:17)
      at processTimers (internal/timers.js:500:7)

Makefile:24: recipe for target 'test-full' failed
make: *** [test-full] Error 1

Exited with code exit status 2

Build failing due to unrelated test timeout

I reran CircleCI and tests are passing now. I think I've also seen that test fail at times. That test suite calls this.timeout(), allowing tests to run for longer than the default:
https://github.com/getodk/central-backend/blob/80d60d783a399abc24fc2f8e652bee1f42f322d5/test/integration/other/analytics-queries.js#L737
If we end up seeing this failure often enough, we could consider further increasing that timeout.


Parse syntax for include macro in parser.c

Concern about code from line 3288 in parser.c,
    if (lex_peek(T_include, token)) {
        if (!strcmp(token_str, "<stdio.h>")) {
            /* ignore, we include libc by default */
        }
        lex_expect(T_include);

If the comment is valid, the lex_expect line should be inside the if block. As it is, stdio.h include lines will be processed by a lex_expect call.
If the comment is valid, here is a change that would put the lex_expect is put in an else block, and removing negation on the strcmp clause,
    if (lex_peek(T_include, token)) {
        if (strcmp(token_str, "<stdio.h>")) {
            /* ignore, we include libc by default */
        } else {
            lex_expect(T_include);
        }

In shecc lexer, the whole line with the compler directive include is regarded as a single "include statement" instead of the combination of "include keyword + identifier (file path)".
https://github.com/sysprog21/shecc/blob/ba161c58c1a39483b2dcc620bf8574b240f4dcfc/src/lexer.c#L255-L261
For example, the line #include "example.c"\n after lexer reading will be #include"example.c" and report it is a "include" token, and the string will be stored in the token_str. So, the correct change in the parser should be:
    if (lex_peek(T_include, token)) {
        if (!strcmp(token_str, "#include<stdio.h>")) {  /* or we could reuse the variable "token" to get rid of the global variable "token_str" */
            /* ignore, we include libc by default */
        }
        lex_expect(T_include);
}

If the comment is valid, the lex_expect line should be inside the if block. As it is, stdio.h include lines will be processed by a lex_expect call.

Actually, this part of code is only to skip the include statement. The actual source file loading is in the load_source_file():
https://github.com/sysprog21/shecc/blob/ba161c58c1a39483b2dcc620bf8574b240f4dcfc/src/parser.c#L2620-L2634

@cratuki, Unless there are additional concerns, I am inclined to consider this issue resolved.

I understand why my suggested fix is not valid. @vacantron has explained that the purpose of the outer if (lex_peek) is to skip the include token.

In this case, I suggest that the if statement containing strcmp should be removed, and its comment also. Function strcmp is a pure function, and there is no content within the if clause. Hence, it would improve the code to remove it. Shall I raise a PR?

I do not have permissions to raise a PR.
The quote below shows what I suggest,
m75-office-001$ git show
commit e33a621376da1280ae0d986975434af56587986e (HEAD -> 20240115.cturner.simplify.parser, fork/20240115.cturner.simplify.parser)
Author: Craig Turner<EMAIL_ADDRESS>Date:   Mon Jan 15 10:49:36 2024 +0100

    Removes redundant block from parser.c

diff --git a/src/parser.c b/src/parser.c
index 569ad89..d544bd2 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -2386,9 +2386,6 @@ void read_global_statement()
     block_t *block = &BLOCKS[0]; /* global block */

     if (lex_peek(T_include, token)) {
-        if (!strcmp(token_str, "<stdio.h>")) {
-            /* ignore, we include libc by default */
-        }
         lex_expect(T_include);
     } else if (lex_accept(T_define)) {
         char alias[MAX_VAR_LEN];
m75-office-001$ gh pr create -f -r vacantron,ChAoSUnItY,jserv
? Where should we push the '20240115.cturner.simplify.parser' branch? Create a fork of sysprog21/shecc

Creating pull request for cratuki:20240115.cturner.simplify.parser into master in sysprog21/shecc

remote:
remote:
To github.com:cratuki/shecc.git
 * [new branch]      HEAD -> 20240115.cturner.simplify.parser
Branch '20240115.cturner.simplify.parser' set up to track remote branch '20240115.cturner.simplify.parser' from 'fork'.
https://github.com/sysprog21/shecc/pull/105
pull request update failed: GraphQL: cratuki does not have the correct permissions to execute `RequestReviews` (requestReviews)
m75-office-001$

In this case, I suggest that the if statement containing strcmp should be removed, and its comment also. Function strcmp is a pure function, and there is no content within the if clause. Hence, it would improve the code to remove it. Shall I raise a PR?

As discussed previously on Hacker News, I am a university faculty member, and the primary motivation behind starting this project was to establish a hands-on learning platform for my students. Your pull request presents an excellent opportunity for them to engage in code review and collaborative practices, which I greatly value and appreciate.


TypeError: Cannot read property 'fromString' of undefined

Import statement:
const {
    Client,
    PrivateKey,
    AccountCreateTransaction,
    Hbar,
    AccountId,
} = require("@hashgraph/sdk");

when I console.log(PrivateKey) it says undefined

What version of the SDK are you on?


Ignore new flake8 3.6.0 error codes W504 and W604 in tox.ini

see my comment in #592

No, we should fix our broken strings, not hide the errors. Any string with latex escape sequences needs an 'r' raw string flag.


Multi gpu training

Multiple GPU training of megnet with QM9 data.
Training 1000 epochs with 1, 2, 4 GPUs consumed 43.80 (100%), 22.85 (52%) and 12.51 (29%) hours. While training requires more epochs to converge with multiple GPUs, the convergence of train mse_loss is faster with more GPUs, and validation l1_loss also is converging faster with more GPUs.
Also, though training with 1 GPU converges the fastest with respect to training error, its validation loss turns out to be highest. I'm not sure about the reason, and maybe the randomness in training process is also critical, and we may need to train multiple models and select the best one from them.

@shyuep The current train.py is still process oriented, and the functions in QM9_train.py are not implemented in the module. Do you have any suggestions on where to put those functions and where to have a trainer class? Thanks.

I think you can create a new module called training to implement helper classes for training with data. QM9 should be an example and a test file, but the implementation should work with any dataset. If needed, the crystal and molecule fitting can be separate classes/methods.

I assume this is now defunct.


Does Appodeal show GDPR/CCPA automatically or should I show it? If yes, how do i do it?
Thank you.

Hi! Sorry for long reply, haven't looked into this repo's issues for a while. Yes, Appodeal would show a Consent Screen depending on the region. If GDPR or CCPA compliance are not required in a region, the Consent Screen wouldn't be shown.


Update husky, automatically install husky on pnpm i

Fixes #836

Awesome I had this issue as well, very annoying.

Sorry, guys, I ended up here completely by accident
But this changes are not enough for migration to version 8
You should move your scripts from package.json into separate files in .husky folder
Here's more info https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v8

@oceandrama Thanks for letting us know!


Abandoned?

Hi @metalinspired I don't want to be rude or hasty, but are you still interested in maintaining this library?
I've been uncovering and fixing a number of bugs on my fork that were causing it to generate invalid signatures, plus cleaning things up, adding tests and a couple of new features. I need a working version, so went ahead and published it on packagist yesterday.
If you're OK with that, can you mark this library as abandoned on packagist and point users to kynx/laminas-dkim?

Hi, and than you very much.
No, not abandoned, just neck deep in work.
Hopefully I'll find time over the week.


wrong query generated on Strompreise

Describe the bug
A clear and concise description of what the bug is. If it seems connected to some data problem (missing values, wrong parsing) please first check the cube in Cube Checker (int, prod) to see if everything is fine there.
To Reproduce
Steps to reproduce the behavior:

Go to https://visualize.admin.ch/v/bIEFImsCyRTG?dataSource=Prod
Click on SPARQL-query
Analyze query an observe it contains
?dimension 4 schema:name ?dimension9 for ?dimension4 being <https://energy.ld.admin.ch/elcom/electricityprice/dimension/aidfee> of qudt:scaleType qudt:RatioScale using sh:nodeKind sh:Literal and sh:datatype xsd:decimal, xsd:float which is completely inconsistent. possibly this is also one reason for slowness of some other cubes as well... i.e. this very chart didn't load after 5 minutes

Expected behavior
Use consistent queries following the cube spec: for sparql query as for the chart as well...
Environment (please complete the following information):

Visualize environment and version: INT 3.21.0 d17b9f9
Visualize PROD 3.20.2 91b2d00 as well

Additional context
same applies for preview query: https://int.visualize.admin.ch/de/browse?dataset=https%3A%2F%2Fenergy.ld.admin.ch%2Felcom%2Felectricityprice&dataSource=Prod and the resulting link to that sparql query
@bprusinowski
There is a strong indication code to detect isNumerical state needs to be fixed.
see generated graphql with variables
{
  "iri": "https://energy.ld.admin.ch/elcom/electricityprice",
  "sourceType": "sparql",
  "sourceUrl": "https://lindas.admin.ch/query",
  "locale": "de"
}

resulting in a response with
.data.dataCubeByIri.mesures[0].isNumerical: "false"
wich contains a wrong value obviously.
cc @zellersabine @claudiodigallo

Hi @Rdataflow, thanks for reporting this! The problem with long loading times of some geographical datasets has been resolved on TEST.
I will take a look at the numerical problem 👍

@bprusinowski great to know you're on it and it's on TEST already 👍
FYI: I just got Daten-Ladefehler: [GraphQL] this.ptr.out.list is not a function or its return value is not iterable on TEST with strompreise: https://test.visualize.admin.ch/de/browse?dataset=https%3A%2F%2Fenergy.ld.admin.ch%2Felcom%2Felectricityprice&dataSource=Test

There are some problems currently with Stormpreise datasets, which Zazuko is investigating (I assume this error it related to that) – we were in touch ~20 min ago. For example also published charts do not work (https://visualize.admin.ch/de/v/GU78ozRNeplK?dataSource=Prod).
I'll also keep an eye on that 👀

@bprusinowski FYI here I get no map: https://test.visualize.admin.ch/v/NMVyvOrLwhtv?dataSource=Prod while table works fine. seems related to geometries...

@Rdataflow it seems that the INT cube misses the :hasGeometry predicates, see https://s.zazuko.com/3u6UDwa (the PROD cube works).
When running the same query against TEST or PROD LINDAS, it returns the geometries. It seems the same problem has been reported by @ortnever here, but with other cube. I am not sure this is a problem on Visualize side, or on the data side, as this is the default behavior we have for a long time to query the data against the endpoint selected via the dropdown menu (Test, Int, Prod).
I'll post a link to this issue on Zulip, maybe we missed some data-side update of how the geometries are handled on LINDAS?

Hi @Rdataflow, thanks for reporting this! The problem with long loading times of some geographical datasets has been resolved on TEST.

Oh wow, it is actually like 100 times faster: https://test.visualize.admin.ch/create/g5A8i5WarR1i?dataSource=Test (not all municipalitys are part of the data. this is intended: I started with 4 and added more until it broke. Now it is not broken anymore :) Thanks Bartosz

@CDiGallo FYI: /create/ links don't work for sharing - you may share the published ones however 👍

Sure, glad to hear it works much better now @CDiGallo :)
@Rdataflow, I am not sure if I fully understood what's the issue with the numerical data types 🤔 When looking at the LINDAS UI query output you shared, it looks like all values of Dimension4 are of type <http://www.w3.org/2001/XMLSchema#float>.
Some of the dimensions can have the isNumerical = false, because a proper datatype has not been defined for that dimension – this is currently the case for most of the dimensions from the Strompreise cube (we don't set this "ourselves", but rely on cube metadata).

However when looking at the cube through the Cube Viewer, it looks like the datatypes are defined, but when we fetch the data, they are not there, so I would assume that there is something wrong with the data in this case, as we use Zazuko's libraries to fetch the cubes (rdf-create-source) and observations (rdf-cube-view-query).
What did I miss @Rdataflow?

Also see https://visualize.admin.ch/docs/charts/rdf-to-visualize#data-type. If the issue is about inferring a data type based on the dimension values, I would re-label it into enhancement – we should then define some common logic on how to standardise such dimensions, when there are e.g. multiple data type in the dimension values 👀
This also means we would need to query the dimension values to compute dimension's metadata, which would affect the performance in some way – I wonder then if it shouldn't be the case to have mixed types inside a dimension values at all (and maybe require setting a data type in the Cube Creator)?

Hi @Rdataflow, thanks for reporting this! The problem with long loading times of some geographical datasets has been resolved on TEST.

Oh wow, it is actually like 100 times faster: https://test.visualize.admin.ch/create/g5A8i5WarR1i?dataSource=Test (not all municipalitys are part of the data. this is intended: I started with 4 and added more until it broke. Now it is not broken anymore :) Thanks Bartosz

@CDiGallo FYI: /create/ links don't work for sharing - you may share the published ones however 👍

https://test.visualize.admin.ch/v/hFtnrkxkOOcC?dataSource=Test

Also see https://visualize.admin.ch/docs/charts/rdf-to-visualize#data-type. If the issue is about inferring a data type based on the dimension values, I would re-label it into enhancement – we should then define some common logic on how to standardise such dimensions, when there are e.g. multiple data types in the dimension values 👀
This also means we would need to query the dimension values to compute dimension's metadata, which would affect the performance in some way – I wonder then if it should be the case to not have mixed types inside a dimension values at all (and maybe require setting a data type in the Cube Creator)?

what bothers me most is that for the SPARQL link a query is looking for schema:name properties on literal values.
@bprusinowski can you share why this happens and where this can be fixed?

is this related to the isLiteral=false at all?
or is this a query-lib issue?

FYI:

(a) cube-creator and NFI provide sh:or with an rdflist in case of multiple datatypes

which is the specified way
https://s.zazuko.com/35awAea

(b) there are some datasets with multiple sh:datatypes: 👀
for the spec validator itself)

https://s.zazuko.com/aShnhQ

the dataproviders will need to be migrated to variant (a)

I feel the need to first clarify more the migration before you start to touch any code

for the record:

any Dimension provides it's sh:nodeKind being either sh:IRI or sh:Literal - this information is available and can be reused

see also examples in spec
see also validation
see also real data

Literal Dimensions have either sh:datatype or sh:or (rdflist_with_datatypes)

see also example in spec
see also validation
see also real data (except for some data being cleaned up...)

I see, thanks for clarifying @Rdataflow 🙇 I think it's quite old code that takes care of managing this and we'll need to adjust that to match the specification 👀


[0.55.3] Full Progress Bar forgets Y position

Once you leave Customize Gameplay mode, the Full Progress Bar resets to its original Y coordinate.

Are you sure about this one? I can't reproduce on my end and another person who tried couldn't either.

Quite sure. After adjusting the element, it stays in place if I exit the song and play again with customize mode still enabled. But if I exit, disable customizing, and then play it always jumps back to the top.

Here's a video to demonstrate: https://my.mixtape.moe/oytyoo.webm

Thanks for the video, will have to investigate further.


[androidx-migration] No Usages Found in the Project

i am not able to build my apk as it tells me that my app has Android X incompatibilities.
When i try migrating by the method stated on flutter.dev it gives me a warning message "No Usages Found in the Project"
What should i do ?

@vishesh-allahabadi did you add
android.useAndroidX=true
android.enableJetifier=true

to your android/gradle.properties?

Yes i did that

If this is of any help, it gives me the following error in terminal:
Warning: there were 6 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: there were 1 unresolved references to library class members.
You probably need to update the library versions.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

Job failed, see logs for details

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

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

BUILD FAILED in 1m 14s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done                        75.3s

The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.

Gradle task bundleRelease failed with exit code 1

@vishesh-allahabadi please paste your flutter doctor -v output. And probably send your pubspec.yaml

I don't know how exactly it's connected with your situation, the issue seems similar about No usage found in the Project. You didn't show the full log, apparently there was some info about those classes, and you can hide those warnings with https://github.com/flutter/flutter/issues/39650#issuecomment-527767673.

@vishesh-allahabadi would you mind pasting the content of pubspec.yaml?

Here's my pubspec.yaml
name: calendar
description: A new Flutter application.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  firebase_admob: ^0.9.0+7

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  uses-material-design: true
  assets:
    - images/
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Latest complete Log report:
`Running "flutter pub get" in calender...                            2.1s
Initializing gradle...                                              2.5s
Resolving dependencies...                                          10.5s
Running Gradle task 'bundleRelease'...
Request to incrementing alive workforce from 0. Current workforce (dead or alive) 0
thread-pool size=4
Warning: Exception while processing task java.io.IOException: proguard.ParseException: Expecting class member name before ';' in line 12 of file 'C:\Users\Vishesh
AndroidStudioProjects\fartsounds_app\calender\android\app\proguard-rules.pro'
Thread(Tasks limiter_1): destruction
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

Job failed, see logs for details

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

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

BUILD FAILED in 3m 42s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done                       223.4s (!)
Gradle task bundleRelease failed with exit code 1
`

I got the same problem, please help

@jiajunhuang  and @vishesh-allahabadi --- can you please give us the results of flutter doctor?

hello, I've resolved this question by change build.gradle according to this: https://github.com/flutter/flutter/issues/27679

I have the same problem, this is the output of my flutter doctor -v:
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.5 at /home/lukasklingsbo/bin/flutter
    • Framework revision 27321ebbad (11 days ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/lukasklingsbo/bin/android/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /snap/android-studio/81/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at /snap/android-studio/81/android-studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at /home/lukasklingsbo/bin/idea
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • XT1670 • ZY3226QLCD • android-arm64 • Android 9 (API 28)

And this is the content of my pubspec.yaml:
name: leftiverse
description: A game built around swarm optimization

version: 1.0.0+1

environment:
  sdk: ">=2.5.0 <3.0.0"
  flutter: "^1.9.1"

dependencies:
  flutter:
    sdk: flutter
  flame: ^0.16.1
  optional: ^3.0.0
  charts_flutter: ^0.8.1
  async: ^2.4.0
  cupertino_icons: ^0.1.2

flutter:
  uses-material-design: true
  assets:
   - assets/images/1.png
   - assets/images/2.png
   - assets/images/3.png
   - assets/images/4.png
   - assets/images/5.png

I'm facing this problem in many projects. [this] is one of them: (https://github.com/samarthagarwal/FlutterScreens)

facing this issue too

https://github.com/flutter/flutter/issues/44906
Try this solution


The value of the mouse position

Why is it offset? I am using the WPF.Net framework4.8 Scottplot version 5.0.34

https://github.com/ScottPlot/ScottPlot/issues/3465#issuecomment-2010669913


How to load files without messing with processors and without using drag and drop?

Kepler has the ability to drop in csv, json, and geojson files, where the file processing and converting into a kepler.gl structure {fields, rows} is handled in the background, and does not require re-bundling and re-loading the application. How do I load in data files like the drag and drop system does, but by specifying the filepath in the code? I have worked through the Vis Acedemy tutorial but I still cannot find a solution.

@austinwade if your data files are  in csv or geojson format, you will need to use processors. The Vis Academy tutorial should show you how to do that.
Are you asking how to directly load files with {fields, rows}?
If you share a code snippet, it would be easier to under stand the request

Hi @heshan0131, thanks so much for the reply.
When you press Add Data on the left sidebar and drag files in, everything including processing and converting the files to {fields, rows} is handled. Using the Add Data button, you can load arbitrary csv and geojson files, where Kepler determines the file type, which processor to use, and loads the data seamlessly without the user having to do anything.
I am trying to load data files (csv, geojson) in this way, but without the user having to go through the literal motion of dragging and dropping a file. Is there a way to instead of dragging and dropping a file, specify a file path that Kepler will load data from on startup, and load the file the same way the Add Data button does so that I don't have to explicitly specify processors?

The load data section in vis.academy does exactly that.

The load data section walks through importing a raw data file and then manually choosing which processor to use, either processCsvData() or processGeojson(). When using the Add Data button, processors/file-handler.js appears to be being used to, without users explicitly specifying in src/app.js, choose which processor to use and loads the data.
I'd ideally like to load data from a file without dragging and dropping or choosing the file from my drive via pop up window, and without knowing ahead of time what the right Kepler processor to use is, thus using processors/file-handler.js or something the same way the Add Data button loads data. I've searched and tried to implement this myself but I simply couldn't get it to work. I'm new to React so maybe it's just my lack of understanding. Thanks for helping @heshan0131.

Any updates on this? Currently trying to upload 2 default csv files on start of web app but struggling to navigate around the files in order to achieve this.

Hey @austinwade not sure if this is what you are after but I was able to load multiple datasets without drag and drop on start with this code:
    // Use processCsvData helper to convert csv file into kepler.gl structure {fields, rows}
    const data_ta = Processors.processCsvData(nycTrips);
    // Use processCsvData helper to convert csv file into kepler.gl structure {fields, rows}
    const data_m = Processors.processCsvData(dataset01);
    var data = data_ta;
    // Create dataset structure
    const dataset_t = {
      data,
      info: {
        // `info` property are optional, adding an `id` associate with this dataset makes it easier
        // to replace it later
        id: "my_data"
      }
    };
    data = data_m;
    // Create dataset structure
    const dataset_s = {
      data,
      info: {
        // `info` property are optional, adding an `id` associate with this dataset makes it easier
        // to replace it later
        id: "my_data_s"
      }
    };
    // addDataToMap action to inject dataset into kepler.gl instance
    // I'm parsing them in as an array
    this.props.dispatch(addDataToMap({ datasets: [dataset_s,dataset_t] }));

  }`

You can dispatch the loadFiles action, exported by kepler.gl. This action takes an array of fileBlobs, it will determine which processor to use based on filename .csv or .json, process the file then call updateVisData; See the source code of loadFilesUpdater - reducer handler of the loadFiles action here
import {loadFiles} from `kepler.gl/actions`;
...
componentDidMount() {
    // create blob from string
    const myblob = new Blob([JSON.stringify(sampleGeojson)]);
    // create file from blob, adding file name
    const files = new File([myblob], 'zip.json');
    this.props.dispatch(loadFiles(
      [files]
    ))
}

Note that, you won't be able to pass in any config using loadFiles action


Mysterious plane at Gatwick

right at the beginning. I couldn't spot a plane! The time differences between the entry and the problem is not a lot. Like 1 or 2 seconds. I don't even know, whether the plane gets a strip

@jakobeng1303 that's my bad, I didn't test it with the new arrival flows, and I believe all arrivals have some kind of offset, which might be the reason why no aircraft spawn at the beginning.
@erikquinn I'm not sure what's happening in the picture, is this a bug related to the new flows or is it caused by the airport file itself?

I just threw it up there as a note for later in case I couldn't figure it out now, but I cracked it. Wasn't too bad. And it may have something to do with the distance out the aircraft are spawning from. They're a long way away, and that's something the game didn't like previously. I just apparently hadn't found all of the places where I needed to tell it to shut up and deal with it. lol fixed in #502.


The sidebar does not display icons that there are changes in the files

Issue Type: Bug
The sidebar does not display icons that there are changes in the files. The changes are no longer illuminated. However, in another window with another project everything works!
VS Code version: Code 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-25T14:54:40.719Z)
OS version: Linux x64 4.14.154-128.181.amzn2.x86_64

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz (2 x 2299)

GPU Status
2d_canvas: unavailable_softwareflash_3d: unavailable_offflash_stage3d: unavailable_offflash_stage3d_baseline: unavailable_offgpu_compositing: unavailable_offmetal: disabled_offmultiple_raster_threads: disabled_offoop_rasterization: unavailable_offprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabled_readbackwebgl2: unavailable_off

Load (avg)
3, 2, 1

Memory (System)
7.79GB (0.82GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

githistory
don
0.4.11

gitlens
eam
10.2.0

json-tools
eri
1.0.2

jenkins-pipeline-linter-connector
jan
1.2.0

terraform
mau
1.4.0

vscode-docker
ms-
0.9.0

vscode-yaml
red
0.6.1

partial-diff
ryu
1.4.0

final-newline
sam
0.3.2

markdown-preview-enhanced
shd
0.5.0

jenkins-jack
tab
1.0.1

vscode-maven
vsc
0.20.0

vscode-icons
vsc
9.6.0

@eboboshka Can you provide some more details? What is displayed in the source control view when you click on it in the sidebar?

@eboboshka Can you provide some more details? What is displayed in the source control view when you click on it in the sidebar?


Update web client to use futures 0.3 and wasm-bindgen-futures 0.4

I think the dependencies for the web client may be a little out of date.

There's a WIP PR for this: https://github.com/graphql-rust/graphql-client/pull/327 - it would go further and replace our custom browser HTTP client.
I don't have time to work on this at the moment, but may have in the not too distant future. If someone else wants to do it, PRs are very welcome :)

@tomhoule I ended up doing this myself in a copy of the class, I'll use it until the pull request is merged :) https://github.com/kellpossible/coster/blob/6aaa3139bef6dec5d50f0a44ea96f13baa663bf8/gui/src/graphql/client.rs


Not able to add second node. Facing error : Connection could not be established to secondary vm

I am performing failover clustering for the basic availability group in SQL Server Standard 2019 but while adding a second node to the cluster..it gives a connection error.
I have tried pinging the secondary server in the primary server and it is working correctly.
So is there any prerequisite or any step that I am not performing.
Plz help
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9f9acc7d-6894-0b85-1e4c-07b5932545ee
Version Independent ID: 31badaaf-00d5-191c-00cb-190260711cd7
Content: Add, remove nodes Failover Cluster Instance - SQL Server Always On
Content Source: docs/sql-server/failover-clusters/install/add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md
Product: sql
Technology: failover-cluster-instance
GitHub Login: @cawrites
Microsoft Alias: chadam

@Harshitjain188 Thank you for the feedback and we apologize for the issue.
Please include a reference to at which point in the documentation the issue occurs and an author can review the steps for possible inconsistencies.
Otherwise, for additional support, please start a thread in Azure SQL answers and Azure SQL VM answers, or view the SQL Server support policy.

@Harshitjain188 -- please also consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


keepdims argument to argmin() and argmax()

The argmin and argmax functions require the keepdims keyword argument, same as min and max. However, in NumPy, min and max have this keyword argument, but argmin and argmax do not. We should confirm whether this keyword argument actually makes sense for these functions, or whether it was just added to these functions by mistake because they are also in the non-arg variants.
The description for keepdims is as follows:

keepdims : bool
If True , the reduced axes (dimensions) must be included in the result as singleton dimensions, and, accordingly, the result must be compatible with the input array (see Broadcasting ). Otherwise, if False , the reduced axes (dimensions) must not be included in the result. Default: False .

Perhaps the reason NumPy doesn't implement this for the arg* functions is that they return indices, so maintaining broadcastability is not important. The documentation for max says (emphasis added):

If this is set to True, the axes which are reduced are left in the result as dimensions with size one. With this option, the result will broadcast correctly against the input array.

Adding the keepdims keyword argument was intentional. Background can be found here. While NumPy does not currently support keepdims, other libraries do (e.g., PyTorch).
IIRC, this was discussed in a meeting and keepdims was affirmed to have consistency with statistical function counterparts.

Adding the keepdims keyword argument was intentional. Background can be found here. While NumPy does not currently support keepdims, other libraries do (e.g., PyTorch).
IIRC, this was discussed in a meeting and keepdims was affirmed to have consistency with statistical function counterparts.

I support to keep keepdims. In CuPy I raised exactly the same question before this standardization effort: https://github.com/cupy/cupy/issues/2595, and our conclusion was that it's useful and worth keeping. Quoting myself from https://github.com/cupy/cupy/issues/2595#issuecomment-559899251:

For this case I think NumPy should change -- naively I'd expect argmax/argmin's behavior should be the same as that of max/min, i.e. accepting a tuple axis and keepdims and so on. I wonder why they didn't do so.

I support to keep keepdims. In CuPy I raised exactly the same question before this standardization effort: https://github.com/cupy/cupy/issues/2595, and our conclusion was that it's useful and worth keeping. Quoting myself from https://github.com/cupy/cupy/issues/2595#issuecomment-559899251:

For this case I think NumPy should change -- naively I'd expect argmax/argmin's behavior should be the same as that of max/min, i.e. accepting a tuple axis and keepdims and so on. I wonder why they didn't do so.

FYI, the same issue was already raised in NumPy: https://github.com/numpy/numpy/issues/8710.

FYI, the same issue was already raised in NumPy: https://github.com/numpy/numpy/issues/8710.

@leofang Thanks for the links!

@leofang Thanks for the links!

Looks like we're in agreement here, so I'll close this issue. Thanks all!

Looks like we're in agreement here, so I'll close this issue. Thanks all!