Rollup is emitting non-ES5 build for dist/event-target-shim.js

After rollup build, dist/event-target-shim.js is not a ES5 build.
This is verified by looking at<EMAIL_ADDRESS>Excerpt from the code:
    privateData.set(this, {
        eventTarget,
        event,
        eventPhase: 2,
        currentTarget: eventTarget,
        canceled: false,
        stopped: false,
        immediateStopped: false,
        passiveListener: null,
        timeStamp: event.timeStamp || Date.now(),
    });

You can clearly see eventTarget and event is emitted in non-ES5 mode and it requires the caller environment to support rest operator. And rest operator is not supported in pure ES5 environment.
All JS files referenced through package.json/main field should be ES5. If not, it will break apps that use Webpack in pure ES5 environment, such as create-react-app. This is because Webpack assume everything under node_modules are precompiled to ES5. For JS files that are not precompiled (ES6+), they are referenced through package.json/module field instead.
Should use @babel/preset-env with forceAllTransforms: true to force the output build as ES5.

Thank you for this issue.
But I don't have any plan to build this package to ES5.

Thanks for your response and sorry for continue on this closed issue.
Your event-target-shim.umd.js actually works for ES5, despite it is a UMD but not CJS. I believe the change is minimal. If you agree, I could file a PR for the change in your Rollup config file.
The de facto standard for the JS file referenced by package.json/main is ES5. And if the package prefer to expose a ES6+ JS file, it can be referenced by package/module.
The problem of having a non-ES5 JS file referenced by package.json/main is that:

Assume you are a web app developer using Webpack or other bundlers
In your web app, you include a package called hello-world
hello-world depends on event-target-shim
As Webpack perform bundling, it assume everything under node_modules is pre-built. So Webpack just bundle event-target-shim and hello-world together in a single file without any transpilations
The output bundle (a.k.a. monolithic JS file) generated by Webpack will contains non-ES5 code, in this case, rest/spread operator

That means, when someone include hello-world package that depends on event-target-shim, all in a sudden, their apps will no longer work on browser that does not support rest/spread operator.
This is because during the start of their app, the web app imported hello-world, which will load event-target-shim. And without rest/spread operator support, the loading of event-target-shim will become a syntax error. Syntax error is fatal and stopped everything from loading.
There are few workarounds:

Configure Rollup to emit ES5 build (using Babel, similar to your event-target-shim.umd.js confg)
Configure package.json/main to point to event-target-shim.umd.js

Optionally configure package.json/module to point to event-target-shim.js, so bundler can select which one they prefer

Ask the user who use Webpack, to include the following in their webpack.config.js

{ resolve: { alias: { 'event-target-shim': resolve(__dirname, 'node_modules/event-target-shim/dist/event-target-shim.umd.js') } } }
This is for redirecting all import 'event-target-shim' call to use event-target-shim.umd.js instead
This is not quite working because hello-world package maintainer is not the web app maintainer. Thus, it sounds weird to ask their users to add this to their Webpack config.

Please consider this issue because:

UI component developers using your package will be forced to not support browsers that does not work with rest/spread operator

The UI component will become less favored because of the browser restrictions

Web app that use event-target-shim as a direct or transient dependencies, will need to update their Webpack config in order to continue enabling their app on older browsers

Web app developers are usually not as advanced as UI component developers, they may not know how to update their bundlers to support older browsers and simply drop the UI component instead


Wrong bower.json main files

Hi,
I Believe you forgot to rename bower.json main files section, it still pointing to "angular-bootstrap3-datepicker..." while should be "ng-bs3-datepicker..."
Another nitpick is that the angular module name changed, and  README.md examples is not reflecting it. It should be "ng-bs3-datepicker", not "ng-bootstrap3-datepicker"

Oh right, thanks for pointing me this

Take a look at my pull request #9, there I tried to resolve issues #4 and #7


Typo

Closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/2292

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


drivers: ipm: add zynqmp r5f support

Add ipm driver to use Inter Processor Interrupts on Xilinx ZynqMP platform.
This patch also adds sample application that shows use of xlnx ipm driver.
Signed-off-by: Tanmay Shah<EMAIL_ADDRESS>

@arnopo  @wmamills @danmilea Requesting reviews.

Hi @tnmysh,
Please could you apply your patch on the main without the other 249 patches or do you need a rebase of the main branch on Zephyr master for compatibility?

This feature is merged.


Godot crashes when drag&drop a second Choice in the Timeline

The problem
Describe the bug
When I add a second Choice in the timeline and try to move it by drag and drop, Godot crashes (each time)
To Reproduce
Just add a Choice under another Choice and try to drag and drop it elsewhere.
System (please complete the following information):

OS: Windows
Godot Version: 4 Beta 15
Dialogic Version: 2.0

Thanks for reporting, I will investigate this now.

I think this is fixed now (on main branch which is for RC1, probably Rc2 works as well)

Thank you very much, I will try it !


Genome and Fasta Configured Incorrectly

Description of the bug
Using interactive launcher on the command line, I came across this behavior.
According to your schema, if genome is supplied the Fasta is not mandatory.
However, I found the opposite. If you supply a genome, the fasta is still required.
Can somebody verify this is a bug? Attached screenshots for demonstration.
Command used and terminal output
No response
Relevant files

System information
No response

Duplicate of https://github.com/nf-core/rnaseq/pull/1143


AudioCache fails in 0.12.0 with issues in path_provider

I am getting the following error when I am trying to play a local .wav file with audioCache, The file plays fine with the previous version of the plugin though. Here is the stack trace.
E/flutter (21344): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
E/flutter (21344): NoSuchMethodError: Class 'MethodChannel' has no instance method 'invokeMethod' with matching arguments.
E/flutter (21344): Receiver: Instance of 'MethodChannel'
E/flutter (21344): Tried calling: invokeMethod<String>("getTemporaryDirectory")
E/flutter (21344): Found: invokeMethod(String, [dynamic]) => Future<dynamic>
E/flutter (21344): #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:50:5)
E/flutter (21344): #1      getTemporaryDirectory (package:path_provider/path_provider.dart:26:22)
E/flutter (21344): <asynchronous suspension>
E/flutter (21344): #2      AudioCache.fetchToMemory (package:audioplayers/audio_cache.dart:61:37)
E/flutter (21344): <asynchronous suspension>
E/flutter (21344): #3      AudioCache.load (package:audioplayers/audio_cache.dart:79:37)
E/flutter (21344): <asynchronous suspension>
E/flutter (21344): #4      AudioCache.play (package:audioplayers/audio_cache.dart:97:23)
E/flutter (21344): <asynchronous suspension>
E/flutter (21344): #5      XylophoneApp.build.<anonymous closure> (package:xylophone/main.dart:16:24)
E/flutter (21344): #6      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
E/flutter (21344): #7      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:562:30)
E/flutter (21344): #8      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
E/flutter (21344): #9      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter (21344): #10     TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:175:7)
E/flutter (21344): #11     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:315:9)
E/flutter (21344): #12     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73:12)
E/flutter (21344): #13     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:11)
E/flutter (21344): #14     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:180:19)
E/flutter (21344): #15     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:158:22)
E/flutter (21344): #16     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:138:7)
E/flutter (21344): #17     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
E/flutter (21344): #18     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
E/flutter (21344): #19     _invoke1 (dart:ui/hooks.dart:168:13)
E/flutter (21344): #20     _dispatchPointerDataPacket (dart:ui/hooks.dart:122:5)

The reproducible repo to the issue is here

Hi, @agiratech-vigneshm ! What version of flutter are you using?
Have you tried running flutter clean and the flutter pub get again?
The error is on both android and iOS?

Closing due inactivity.


"Unable to resolve workspace folder" for path that includes ~ (tilde)

Issue Type: Bug
This is a regression from somewhere around the last release. Just noticed it after the latest update.
Steps to reproduce

Create a .code-workspace file in ~/Documents. Add paths that use the ~ (tilde) to reference the $HOME folder, e.g. ~/demorepo1
Open the Workspace
Watch as the workspace folders fail to resolve

System Details
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:07:18.473Z)
OS version: Darwin x64 19.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (0.34GB free)

Process Argv

Screen Reader
no

VM
0%

Noting that this bug also causes search to fail.

Reproducible on latest Insiders build.
I've also tried going back a few versions of the official releases, but it didn't fix the regression. Maybe this is an issue with a package dependency that's installed on first launch?

To my knowledge, using ~ in workspace folders is not supported. @bpasero ?

To my knowledge, using ~ in workspace folders is not supported.

Yes, my understanding too.

Closing as not supported.

@aeschli is there a supported way of referencing the home folder in a .code-workspace? (I tried $HOME, ${env:HOME}, and ${env.HOME})
And if not, can we transform this into a feature request? :wink:

similar as  #44755


Process hangs from big stdin

https://profound.academy/armenian-spoj/kVlW3xG5g1Ix6diXJQJT
This problem has big inputs (>1MB) and that freezes the process when passing stdin.
We should debug and fix this issue.

Tried to do cat input | program but cat is super slow and results in TLE even if the program was actually optimal

Seems like the issue is with stdout rather than stdin as this program does not hang:
n, m = map(int, input().split())
print('n:', n)
print('m:', m)

for i in range(n):
    a = input().split()
    assert len(a) == m
print('getting queries...')

k = int(input())
for i in range(k):
    a = input().split()
    assert len(a) == 2
    if i == 0:
        print('i:', i, '=>', a)
    if i == k - 1:
        print('i:', i, '=>', a)

We probably need to upgrade the python version to 3.10 to be able to use the feature providing pipesize to subprocess.Popen.
https://docs.python.org/3/library/subprocess.html#popen-constructor
Reference: https://github.com/python/cpython/commit/23c0fb8edd16fe6d796df2853a5369fd783e05b7

When a pipe is full it blocks for writing.
When a pipe is empty it blocks for reading. On processes that are
very fast this can lead to a lot of wasted CPU cycles. On a typical
Linux system the max pipe size is 1024K which is much better.
For high performance-oriented libraries such as xopen it is nice to
be able to set the pipe size.
The workaround without this feature is to use my_popen_process.stdout.fileno() in
conjuction with fcntl and 1031 (value of F_SETPIPE_SZ) to acquire this behavior.


Unable to Install to Hubitat

During the Hubitat Package Manager installation, I get this error

copied for searchability:
Error Occurred During Installation
An error occurred while installing the package: Failed to install app https://raw.githubusercontent.com/tomwpublic/hubitat_broadlink/main/broadlinkSystemManagerApp. Please notify the package developer..

If I download the zip from the repo page and then try to import the ZIP file on the bundles page, in the network request to processUploadedZip I see this response

{success: false, message: "Invalid bundle metadata"}

I found this thread that looks very similar: https://community.hubitat.com/t/broadlink-integration-with-hpm/128537/3


base64 switch incorrect in add-stub-universe.sh

[root@localhost local-universe]# ./add-stub-universe.sh -u https://blah
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  146k  100  146k    0     0  74103      0  0:00:02  0:00:02 --:--:-- 74132
/root/universe/docker/local-universe
Building repo structure for datastax-dse...
base64: invalid option -- 'D'
[root@localhost local-universe]# base64 --help
Usage: base64 [OPTION]... [FILE]
Base64 encode or decode FILE, or standard input, to standard output.
Mandatory arguments to long options are mandatory for short options too.
-d, --decode          decode data
-i, --ignore-garbage  when decoding, ignore non-alphabet characters
-w, --wrap=COLS       wrap encoded lines after COLS character (default 76).
Use 0 to disable line wrapping
  --help     display this help and exit
  --version  output version information and exit

With no FILE, or when FILE is -, read standard input.
The data are encoded as described for the base64 alphabet in RFC 3548.
When decoding, the input may contain newlines in addition to the bytes of
the formal base64 alphabet.  Use --ignore-garbage to attempt to recover
from any other non-alphabet bytes in the encoded stream.
GNU coreutils online help: http://www.gnu.org/software/coreutils/
For complete documentation, run: info coreutils 'base64 invocation'

https://github.com/mesosphere/universe/pull/1690


log warning when we can't retrieve kernels

related #10366
When we can't reach a remote server, we just swallow whatever error we saw and return whatever we had cached. The only error I've seen, Server not Found, wasn't all that useful, but at least we'll have some clue why remote kernels aren't showing up.

Codecov Report

Merging #10428 (90c827f) into main (d6471f9) will decrease coverage by 0%.
The diff coverage is 66%.

@@          Coverage Diff           @@
##            main   #10428   +/-   ##
======================================
- Coverage     69%      69%   -1%
======================================
  Files        479      479
  Lines      29451    29453    +2
  Branches    5037     5037
======================================
  Hits       20547    20547
- Misses      7005     7006    +1
- Partials    1899     1900    +1

Impacted Files
Coverage Δ

src/kernels/kernelFinder.base.ts
83% <66%> (-1%)
:arrow_down:

src/notebooks/outputs/tracebackFormatter.ts
93% <0%> (-7%)
:arrow_down:

...rc/kernels/debugger/debugLocationTrackerFactory.ts
96% <0%> (-4%)
:arrow_down:

src/kernels/jupyter/jupyterKernelService.node.ts
83% <0%> (+1%)
:arrow_up:


Having problems with RestClient + ApiAuth

On the Client side I have the following:
ACCESS_ID = "1"
SECRET_KEY = "abcd"
request = RestClient::Request.new(url: api_url + "/something/#{app_uid}", method: :get)
ApiAuth.sign!(request, ACCESS_ID, SECRET_KEY)

On the server side (Rails) I have:
class ApiController < ActionController::Base
  SECRET_KEY = "abcd"

  before_filter :api_authenticate

  def api_authenticate
     unless ApiAuth.authentic?(request, SECRET_KEY)
       unauthorized!("Invalid api authentication.")
       return
     end
   end
end

I don't need an access id since there's only one user which is actually using this api.
Can you see something I'm doing wrong? Do I need any special headers on my own?

Looks like this can be closed since #53 was accepted.


FATAL ERROR: Evacuation Allocation failed - process out of memory

This package was crashing the app, removing it solved the issue

it's working great !


Fix/stories bugs

This PR contains:

Bug with location in Submit new story solved
Bug with order in Submit new story solved
Add credentials to Story Model

:wave:


formula: include head url and branch in hash

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Might be a useful information for some.

Review period will end on 2021-03-19 at 18:44:30 UTC.

Might be a useful information for some.

Are you using this? If so 👍🏻, if not 👎🏻

I'm not. Just thought it might be good to include also information about head as it is with stable.

Review period ended.

I'm not. Just thought it might be good to include also information about head as it is with stable.

@dawidd6 I'd rather we didn't include this unless we have someone requesting it. It'll provide (some, perhaps imperceptible) slowdown and output more data that no-one seems to want currently.


time: allows signs for year/tz in format string

The following program prints 1994-01-01 00:00:00 -0059 -0059:
package main

import (
    "fmt"
    "time"
)

func main() {
    ret, err := time.Parse("06Z070000", "-6+-1+1-1")
    if err != nil {
        panic(err)
    }
    fmt.Printf("%v\n", ret)
}

Most of the RFCs does not allow that.

I investigated this but found it difficult to decide what to do about it. Half the timezones on the planet are negative. Some timezones are off from their neighbors by 30 minutes, though none are -59 minutes, but that's not a bug, just an unused feature. So for TZ there's nothing to do. For year, it would be possible to return an error when a negative year is parsed. But what error is this saving users of the stdlib from? I find it to be a borderline case, and I'm leaning towards "works as intended".

For some format strings time package claims to parse dates according to some RFCs. I am sure there are cases where RFCs do not permit signs, but time package does.
Also for timezone -160 I propose to not create Location with offset=0 at all (just leave it as nil). This preserves Time object unchanged after serialization/deserialization.

On tip, the above program now panics https://go.dev/play/p/57DDuAejKx5?v=gotip
with
panic: parsing time "-6+-1+1-1" as "06Z070000": cannot parse "+-1+1-1" as "Z070000"

goroutine 1 [running]:
main.main()
	/tmp/sandbox524911219/prog.go:13 +0xb2

Many changes probably had an impact but issue seems solved.


Audit Policies

I had issues with a GPO overwriting the auditpol.exe local “audit.csv” settings file for auditing success and failures on Application Generated events.  Be design, if there are advanced audit settings pushed to the AD FS server, any changes with auditpol.exe will be overwritten (event if Application Generated is not configured).  My solution was to set the local security policy to log Application Generated failures and success.

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

ID: 7b965716-047e-9aea-98f1-fc013590ba04
Version Independent ID: a6e9f30d-b8a8-46cc-e559-119ef20d373c
Content
Content Source
Service: active-directory

I have assigned the issue to the author to investigate and update as appropriate.

@MicrosoftDocs/azure-cxp-triage @karavar is no longer working on this. Please assign this issue to @arluca.

@mtillman Thanks for the update, the issue has been reassigned to @arluca.

Thanks folks. We will update our FAQ docs about this note.

@tsrob50 Content has been updated to address you the issue you raised. Check the FAQ for a question regarding audit logs.
#please-close

@tsrob50 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


data-model: Add Outcome Payments table

@ScatteredInk
Can you review/comment on this:
See changed files for JSON Schema
See https://github.com/INDIGO-Initiative/database-app/blob/outcome-payment-ledger/indigo/spreadsheetform_guides/project_v012.xlsx for spreadsheet
Transactions uses the labels sending/receiving - do we want same instead of Payer/Recipient?
I added USD
We have Start/End language around dates - Should there not be a fixed date? Or if the intention is that the date may be unknown , would min/exact/max be better like we have used elsewhere?

From call:

Transactions uses the labels sending/receiving - do we want same instead of Payer/Recipient?

No

https://github.com/INDIGO-Initiative/database-app/blob/outcome-payment-ledger/indigo/spreadsheetform_guides/project_v012.xlsx

No change - it's all payments over a time period.
So instead change "payment" (singular) to "payments" (plural) to make clear.
Also - Q about is it "organisation" or "organisation or fund"? Golab will check and report back

Heard back - it's "organisation"


DBZ-2235 Job for upstream db2 connector tests

https://issues.redhat.com/browse/DBZ-2235

@jcechace, can you please always link the Jira issue (just did it here)? Thx!

@jpechane?


Enable dependabot

Signed-off-by: Jon McQuillan<EMAIL_ADDRESS>

Going to take a pass at updating deps after https://github.com/HewlettPackard/dockerfile-parser-rs/pull/17 merges before turning this on


fix typo in readme.md

Checklist

[ ] Tests for the changes have been added (for bug fixes / features) and all tests are passing
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)

What is the current behavior?
npm install @selectquotelabs/SQHooks
Issue: # typo in readme.md
What is the new behavior?
npm install @selectquotelabs/sqhooks

Screenshots/Loom
Other information

@Jeevier Could you add a commit using npm run commit with the docs option selected? This will let it be picked up by the versioning system. Or change the current commit to the Conventional Commit format.
This repo doesn't have the contributing section of the docs added to the readme, but you can reference that section in SQForm, it should be the same guidelines: https://github.com/SelectQuoteLabs/SQForm#contributing

This branch is borked, going to close this PR and open a new one with the updated branch.


[status_bushcape_tooltip] discription bug

Most capes have [status_bushcape_tooltip] typed in instead of item discription, mod reainstal didnt help. Im attaching screen of example help c;

Thx it worked after i removed and re added translation folder... i have no idea why but it worked thx


Try to use realpath filename instead of default modified.jpg

Hi Nantunes,
Did you manage to use the realpath filename and if so which version of the plugin is it in is this in? There is a current bug which means images get uploaded as duplicates because of the file name still being modified.jpg for all the edited images.
https://stackoverflow.com/questions/30438483/cordova-image-upload-duplicate-issue#
I have recently re-added the plugin but I still get the issue that edited images are called modified.jpg.
Thanks,
Jon

Hi @schreyers
I'm still using my forked version, as this PR hasn't been merged (or even reviewed).
If it is critical to your project, you probably better applying this fix yourself.

Thanks @nantunes
I'll make your changes to the files and remove the source="npm" from my config file.

Hi @nantunes
Quick question. Are you able to use your forked version when using build.phonegap.com? If not how are you using your changes?
Thanks in advance,

I'm using the lastest versions of cordova with ionic framework. I build locally. No phonegap-build, so I can't tell.

Sorry for the delayed reply. Have been trying to build locally but i get loads of errors.
I really need this to be fixed in the npm version of the plugin.

@nantunes, thanks for contribution. Could you please rebase your changes.
Also please file an Apache CLA as described in CONTRIBUTING.md

Ok, will do it this night.

Rebased and ICLA sent by email.

Yep, see it now. Merging. Thanks for contribution, @nantunes!

Has anyone tested this patch? Applying the changes to CameraLauncher.java results in failed getPicture calls. Unfortunately the only error is "Error retrieving image", so I'm not sure where it breaks.
I also tried building from the nightlies and get the same error. When I revert ouputModifiedBitmap in the nightlies the error goes away.

Per se the patch only manipulates strings:
String fileName = realPath != null ?
    realPath.substring(realPath.lastIndexOf('/') + 1) :
    "modified." + (this.encodingType == JPEG ? "jpg" : "png");

String modifiedPath = getTempDirectoryPath() + "/" + fileName;

So I don't how could it cause that error. Maybe some other change in-between? Could you diff the two versions of CameraLauncher.java?

Debugging shows that FileHelper.getRealPath returns an empty (non-null) string, which causes the function to return a directory name instead of a file name.
/storage/emulated/0/Android/data/com.ionicframework.ws938141/cache: open failed: EISDIR (Is a directory)
    // Some content: URIs do not map to file paths (e.g. picasa).
    String realPath = FileHelper.getRealPath(uri, this.cordova);
    // Get filename from uri
    String fileName = realPath != null ?
        realPath.substring(realPath.lastIndexOf('/') + 1) :
        "modified." + (this.encodingType == JPEG ? "jpg" : "png");

Adding a check for empty string fixed the issue for me
String fileName = (realPath != null && !realPath.isEmpty()) ?

that issue is still there in camera plugin

can someone plz tell how to solve this issue for ionic 4

Please open a new issue and fill the template instead of abusing an old and already merged PR.


Better Navbar with more consistency fonts and color

Issue - #8
I have created a better Navbar you can check the current one and the updated one :
Old Navbar

Updated Navbar

@anjalit03 merge it for Hacktober ma'am.

yes it is good. but please fix this the home is highlighted on every page but the page that is open should be highlighted only please correct this

also the navbar is not aligned on the login page

@anjalit03 can you merge it now i have made it across all pages

no no I told you to highlight the pages name like on home home should be highlighted on new event "new event" should be highlighted and so on....

@anjalit03 the  navbar across pages is perfect but na?

@anjalit03 it was not looking good so i decided to remove from home too ? Because too much hover is making it look bad to keep it plain and simple i have removed it is it fine?


Fix: Make eglot icons more visible

Old:

New:

Resolves #152

Wow good job! This LGTM, well done @NamesCode

Wow good job! This LGTM, well done @NamesCode

Aww thx <3


Fix calculation of projection direction in project()

This fixes the fix in 1d3de5ca693a345adef5affa320b8c877e79b5f9, which contained the following diff.
The diff changed >0 to <0, which is indeed fixing a problem with the code.
However, it also changed to_local_coords to from_local_coords, which is wrong and breaks the code, e.g. when projecting against the XY plane. In this case, some objects are extended away from the projection target, leading to an empty intersection and thus, a crash.
diff --git a/src/build123d/operations_generic.py b/src/build123d/operations_generic.py
index 4589742..6600153 100644
--- a/src/build123d/operations_generic.py
+++ b/src/build123d/operations_generic.py
@@ -766,15 +766,13 @@ def project(
     projected_shapes = []
     obj: Shape
     for obj in face_list + line_list:
-        # obj_to_screen = (workplane.origin - obj.center()).normalized()
         obj_to_screen = (target.center() - obj.center()).normalized()
-        if workplane.to_local_coords(obj_to_screen).Z > 0:
+        if workplane.from_local_coords(obj_to_screen).Z < 0:
             projection_direction = -workplane.z_dir * projection_flip
         else:
             projection_direction = workplane.z_dir * projection_flip
@@ -792,7 +790,7 @@ def project(
     projected_points = []
     for pnt in point_list:
         pnt_to_target = (workplane.origin - pnt).normalized()
-        if workplane.to_local_coords(pnt_to_target).Z > 0:
+        if workplane.from_local_coords(pnt_to_target).Z < 0:
             projection_axis = -Axis(pnt, workplane.z_dir * projection_flip)
         else:
             projection_axis = Axis(pnt, workplane.z_dir * projection_flip)

Minimal example where this fixes something that was previously broken:
from build123d import *
box = Location((0,25,0)) * Rot((10,10,10)) * Box(10,25,30)
box2d = project(box.faces(), Plane.XZ)

however, i've seen that this change here breaks another test which uses the builder api, oh boi...
@gumyr any ideas about that one? It strongly seems to me that to_local_coords is the right one, not from_ but hm

99 bugs in the code, track 1 down, patch one around, 182 little bugs in the code :/...
So I found and fixed another issue, which fixed that failing test, but now another test is broken...
this time it's
    def test_project_to_sketch2(self):
        with BuildPart() as test2:
            Box(4, 4, 1)
            with BuildSketch(Plane.XY.offset(0.1)) as c:
                Rectangle(1, 1)
            project()
            extrude(amount=1)
            self.assertAlmostEqual(test2.part.volume, 4 * 4 * 1 + 1 * 1 * 1, 5)

and at this point, I'm not sure if the test expectation is correct. Frankly, I don't get it what's supposed to happen here:

project() correctly projects the Rect within the Box onto its outside:
since mode == ADD, when project() returns, the pink projection gets added (with a union-operation / +) to the yellow base part. This is a no-op, because the yellow base part is already a proper superset of the pink projection (by definition.)
I am not sure what the extrude() operation is suppose to do. All there is on the stack is a box that has been applied a no-op to.

@gumyr pls halp :D


:robot: Attach and sign SBOM

Attempt to fix: #1228 and #1055
I don't really like this bashism, but there seems to be no better way at the moment. Cosign attach sbom generates a new image - and the only way to get it's digest is parsing cosign output :shrug:
Open to other solutions, but so far didn't had luck with other approaches, this is the output of cosign attach sbom:
WARNING: Attaching SBOMs this way does not sign them. If you want to sign them, use 'cosign attest --predicate core-alpine-arm-rpi-v2.0.0-alpha3-sbom.spdx.json --key <key path>' or 'cosign s
ign --key <key path> --attachment sbom <image uri>'.
Uploading SBOM file for [quay.io/mudler/tests:sbom] to [quay.io/mudler/tests:sha256-b6ca290b6b4cdcca5b3db3ffa338ee0285c11744b4a6abaa9627746ee3291d8d.sbom] with mediaType [text/spdx+json].

which is, by the way, printed to STDERR (hence why the redirection).
I refrained to inspect docker, as there is no clear way to distinguish the images generated at this point ( we would have the signatures and the sbom, that are two sep. images)

this also adds in-toto attestations

ok small enhancements here and there, thanks @Itxaka!

This can be tested only on master pipelines.. so..


Prepare for NetBox v4.0

NetBox version
v3.7.4
Topology Views version
v3.9.0
Feature type
Change to existing functionality
Proposed functionality
NetBox 4.0 beta has been released and we should be prepared when the final version is out.
See migration notes at https://netboxlabs.com/docs/netbox/en/stable/plugins/development/migration-v4/
Current check list:

Make sure that Python version is > v3.9 (check CI/CD also)
Change extras.plugins to netbox.plugins Done. See #487
Convert ContentType to ObjectType
Convert View actions to dictionaries Does not apply
Remove BootstrapMixin Does not apply
Update Fieldset Definitions Done. See https://github.com/netbox-community/netbox-topology-views/pull/495/commits/a56bc1e52f0fcbba0f64d5ab3dd5c57a46e41f4a
Remove button colors Done. See #491
Rename template blocks Done. See https://github.com/netbox-community/netbox-topology-views/pull/495/commits/a56bc1e52f0fcbba0f64d5ab3dd5c57a46e41f4a
Utilize flex controls
Check column offsets Does not apply
Tables inside cards
Remove nested tables inside cards
Remove btn-sm class from buttons
Update bg-$color classes
Check for removed obsolete custom CSS classes
Extend API serializer for brief mode
GraphQL Does not apply

Started an extra branch (https://github.com/netbox-community/netbox-topology-views/compare/develop...477_prepare_for_netbox_4.0).
Please update the original thread if you complete a task.

Just wondering if there is a ETA on finishing this now that Netbox 4.0.0 and 4.0.1 have been released?

Just wondering if there is a ETA on finishing this now that Netbox 4.0.0 and 4.0.1 have been released?

No, there isn't. It's done when it's done. Of course, everybody is welcome to contribute in order to push a faster release. ;-)

I ran into some issues, will try have it ready after the weekend.

Good day all,
I'm trying to install the plugin on a fresh install of Netbox 4.0.2 however I get the below errors when I run the "python3 manage.py migrate netbox_topology_views" command.  Am I doing something wrong or is the plugin not working on v4 yet?
Thanks in advance,
Traceback (most recent call last):
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 413, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 459, in execute
output = self.handle(*args, **options)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 104, in wrapper
saved_locale = translation.get_language()
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/translation/init.py", line 211, in get_language
return _trans.get_language()
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/translation/init.py", line 66, in getattr
if settings.USE_I18N:
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 89, in getattr
self._setup(name)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 76, in _setup
self._wrapped = Settings(settings_module)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/netbox/netbox/netbox/settings.py", line 750, in
raise e
File "/opt/netbox/netbox/netbox/settings.py", line 743, in
plugin = importlib.import_module(plugin_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_topology_views/init.py", line 1, in
from extras.plugins import PluginConfig
ModuleNotFoundError: No module named 'extras.plugins'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/netbox/netbox/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 426, in run_from_argv
connections.close_all()
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 84, in close_all
for conn in self.all(initialized_only=True):
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 76, in all
return [
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 73, in iter
return iter(self.settings)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 45, in settings
self._settings = self.configure_settings(self._settings)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/utils.py", line 148, in configure_settings
databases = super().configure_settings(databases)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 50, in configure_settings
settings = getattr(django_settings, self.settings_name)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 89, in getattr
self._setup(name)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 76, in _setup
self._wrapped = Settings(settings_module)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/netbox/netbox/netbox/settings.py", line 750, in
raise e
File "/opt/netbox/netbox/netbox/settings.py", line 743, in
plugin = importlib.import_module(plugin_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_topology_views/init.py", line 1, in
from extras.plugins import PluginConfig
ModuleNotFoundError: No module named 'extras.plugins'

Good day all,
I'm trying to install the plugin on a fresh install of Netbox 4.0.2 however I get the below errors when I run the "python3 manage.py migrate netbox_topology_views" command. Am I doing something wrong or is the plugin not working on v4 yet?
Thanks in advance,
Traceback (most recent call last): File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 413, in run_from_argv self.execute(*args, **cmd_options) File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 459, in execute output = self.handle(*args, **options) File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 104, in wrapper saved_locale = translation.get_language() File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/translation/init.py", line 211, in get_language return _trans.get_language() File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/translation/init.py", line 66, in getattr if settings.USE_I18N: File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 89, in getattr self._setup(name) File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 76, in _setup self._wrapped = Settings(settings_module) File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 190, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 750, in raise e File "/opt/netbox/netbox/netbox/settings.py", line 743, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_topology_views/init.py", line 1, in from extras.plugins import PluginConfig ModuleNotFoundError: No module named 'extras.plugins'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/netbox/netbox/manage.py", line 10, in execute_from_command_line(sys.argv) File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line utility.execute() File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/init.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 426, in run_from_argv connections.close_all() File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 84, in close_all for conn in self.all(initialized_only=True): File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 76, in all return [ File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 73, in iter return iter(self.settings) File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get res = instance.dict[self.name] = self.func(instance) File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 45, in settings self._settings = self.configure_settings(self._settings) File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/utils.py", line 148, in configure_settings databases = super().configure_settings(databases) File "/opt/netbox/venv/lib/python3.10/site-packages/django/utils/connection.py", line 50, in configure_settings settings = getattr(django_settings, self.settings_name) File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 89, in getattr self._setup(name) File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 76, in _setup self._wrapped = Settings(settings_module) File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 190, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 750, in raise e File "/opt/netbox/netbox/netbox/settings.py", line 743, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_topology_views/init.py", line 1, in from extras.plugins import PluginConfig ModuleNotFoundError: No module named 'extras.plugins'

The plugin is not ready for Netbox 4, yet.

Hi all,
I completely understand why you are asking impatiently, but everything there is to say about this is already written in the first post above. There are all the points that still need to be done and where to find the 4.0 branch.
There is no ETA because we are not rushing. This has been answered already. I myself would also like to have the upgrade ready and upgrade my NetBox version to 4.0. However, there are a few issues why it is taking so long this time:

We are a very small team of only two people.
I am currently working a lot and have little free time (I think the same applies to Mattijs).
The weather is great and there's little reason to sit in a stuffy room in front of a screen instead of enjoying the nature outside.

If you need it to be done faster, contribute to the project. Any help is very welcome.

https://linear.app/netboxlabs/issue/ENG-2990/

Good morning, I noticed that there is version 4.0.0b1 on PyPI in pre-release, and therefore I was wondering if you already know when this version will become stable for use with Netbox.
Thanks again for the work you put into this project 🙂


Fixes in riviera support which was pushed onto 1.3 version

This one was opened as not all changes from https://github.com/chipsalliance/Cores-SweRV-EL2/pull/11 was not properly merged into master 1.3

Why do you change RTL?
RIVIERA variable in Makefile is not used - why to change?
Why to change what is deleted by make clean ? Don't create work directory where you run simulations ...

Why do you change RTL?
Initializing signal to default value at the begining  of process may lead to glitches an in this case it cause deadlock between proceses

RIVIERA variable in  Makefile is not used - why to change?
That is true. There was a typo so Ijust have fix it. This variable can be removed or may be used to define name of riviera compilation/simulation program. Let me know if I should open PR to fix it.

Why to change what is deleted by make clean ? Don't create work directory where you run simulations ...
"work" was dublicated so I've removed the 2nd its occurense from make clean list.

Hi Daniel,
Did the original RTL code cause any simulation/synthesis problem?
All our simulation/synthesis tools did not flag this. Furthermore, this coding style is recommended by Synopsis as less prone to infer unwanted latches in combo logic.
The code represents combinatorial logic which is by definition glitchy and there are other pieces of glitchy logic in the core.
I've never heard that combo logic in RTL cause any deadlocks ..
Please, do not ask to change not essential or style related things.

Please, do not ask to change not essential or style related things.

Some simulators hangs on orginal code - that is why I've requested this change.

@danielmlynek, it is perfectly OK to request changes. If they are reasonable and compatible with our toolsets, they will be considered for merging. We do run LEC on all requested RTL changes that do not modify the functionality or fix bugs.
Thank you for your contributions.


WIP: Add 'speaker_volume' feature to homekit component for media_player

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):
homekit:
  filter:
    include_domains:
      - media_player
  entity_config:
    media_player.barre_de_son:
      feature_list:
        - feature: speaker_volume

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Since I'm pretty certain that this won't work, at the moment, I'm going to close this issue.
@bartocc Please feel free to reopen it, if you find something else.

Hi,
I did not have time to work on this and this is incomplete indeed.
I'll reopen if I manage to have it work locally
Thx for the help
Le sam. 9 févr. 2019 à 19:34, cdce8p<EMAIL_ADDRESS>a écrit :

Closed #20486
http://clicks.crx.io/wf/click?upn=S8NtJlhzKsbL5BEVJrBaBU7YuGHsXvJQJYLsywn-2BPm-2F4uadj1F1d4Q5xGsjEPHORrogwu-2BphvqNqsEMUupN32ByBPutmk4XEyTilvmz3-2B2k-3D_s5UH8bhnBaopYjthcNSRcbggFaF43QFeLFS-2FmR-2BJ9vhEF4DkJUfSG2uYL45b46mDfay9TcCWLmaIez0sXYNvPt0xV-2BWtRAmEEWBt6aJKf7EqQ-2B3srY3da6WMMh-2BFKAoJ0Fa1-2BmCe66SC4Ed3MR2jNF6CM5QNWloVtc6ITictIiucTJWdWTqL4jnWAFIWm7eG607uws-2FKlZ-2FQg2CHxC8xZozzB9LTM6KqxYZa7z6zJmPhmxARLKGdxHNi66c0qe-2BWMaBd55IiFcLcRnoR6FpEBj-2BYXAg4Y3LneySf-2BhD8Re8LCVZOR4qx-2Ff86UBL7LLHSA5adVfGPX-2FVltPHziVhTDg-3D-3D.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
http://clicks.crx.io/wf/click?upn=S8NtJlhzKsbL5BEVJrBaBU7YuGHsXvJQJYLsywn-2BPm-2F4uadj1F1d4Q5xGsjEPHORrogwu-2BphvqNqsEMUupN32Fn7XXSwNtLsQ2we-2Fj-2FyKMCq-2Bx2-2BR1rLaA2tP1t4PfO-2B_s5UH8bhnBaopYjthcNSRcbggFaF43QFeLFS-2FmR-2BJ9vhEF4DkJUfSG2uYL45b46mDfay9TcCWLmaIez0sXYNvPt0xV-2BWtRAmEEWBt6aJKf7EqQ-2B3srY3da6WMMh-2BFKAoJ0Fa1-2BmCe66SC4Ed3MR2jNF6CM5QNWloVtc6ITictIiucTJWdWTqL4jnWAFIWm7eGEvTT7OM-2FybJ3DnVlEG1a67Xv8yl-2BKP64T46bySHnvbgauEZ3QKfcGE6n4C49Uyu9pnRlBsq-2B0bw6kpY4MBr9uEb2XifCmr7TAZxw2zni9objExCPjdASGUp-2BrdVAPGFijXSK3rzgXi-2B3TJOq-2FQoVeA-3D-3D,
or mute the thread
http://clicks.crx.io/wf/click?upn=S8NtJlhzKsbL5BEVJrBaBSSbuIiZAgCCd1YT5JjUGl-2BNz90vdAsqQUu80bVdTYECwNVsescZQ-2FwbBVlq1m5zcIDyJ0zq0qDEE-2FLYwojGjWDYayMZ-2BUsFiFau3bU9FmD9peOU6ITANLLaabx7yV7nwA-3D-3D_s5UH8bhnBaopYjthcNSRcbggFaF43QFeLFS-2FmR-2BJ9vhEF4DkJUfSG2uYL45b46mDfay9TcCWLmaIez0sXYNvPt0xV-2BWtRAmEEWBt6aJKf7EqQ-2B3srY3da6WMMh-2BFKAoJ0Fa1-2BmCe66SC4Ed3MR2jNF6CM5QNWloVtc6ITictIiucTJWdWTqL4jnWAFIWm7eGLeqHxXOtjKGwZcGrIWmkHCnWyJg6-2BbkZ9LIFSxSMn-2B-2FdBCOrAuv7WRn4mErPquFgAzRMtNYeyuNaZuUOT4ktszxX1EZNu-2F6OUxTURTdCH8dwA8mNzW3aoEjDgVwcGunsnxsjY2wL71PH-2B84JR32KqA-3D-3D
.

--

[image: Julien Palmas]
http://clicks.crx.io/wf/click?upn=S8NtJlhzKsbL5BEVJrBaBe-2FGEnkz6ZvSgIEFjbetRNnMXXsDx5s-2FniDMCo7Ru-2B9RItprvbmbGozkFV8muwzQ5QhB-2Fg7DHLQeEgGwXP4U76w-3D_s5UH8bhnBaopYjthcNSRcbggFaF43QFeLFS-2FmR-2BJ9vhEF4DkJUfSG2uYL45b46mDfay9TcCWLmaIez0sXYNvPt0xV-2BWtRAmEEWBt6aJKf7EqQ-2B3srY3da6WMMh-2BFKAoJ0Fa1-2BmCe66SC4Ed3MR2jNF6CM5QNWloVtc6ITictIiucTJWdWTqL4jnWAFIWm7eGixjTktlWSQpLz4xalb6k41HNjid8wRjmVsKOK5ApPKBFI8ynAt20I0RwADn63YMctK16s1fqAdD5Vgq9yhAoJRNR7-2BW9mMLQKAmKTuYO90UY0T4m9aQcruJaMKnwscVfkiw1vWw-2FUSraGHPqbjDrag-3D-3D


new gui theme

https://gitlab.com/zehkira/godwaita
https://itch.io/c/1473270/themes-for-godot-games
https://hanprog.itch.io/godot-aestro-theme

godot-aestro pretty good for now


Fix the site title

Two changes are needed:

Correct the title of the application
Remove the commas from the title on the page.

Completed.


NSH over Mavlink commands don't work

@bkueng @julianoes
kabir@Kabir-MacBook:~/PX4/Firmware/Tools$ python mavlink_shell.py
Using port /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00
Connecting to MAVLINK...

nsh>
nsh> top
nsh: top: command not found
nsh> mavlink stop-all
nsh: mavlink: command not found
nsh>

Also it doesn't seem to work over a UART (Telem2 @921600) :
Connecting to MAVLINK...

and NSH never turn up.

@mhkabir I face no issues over UART: PX4 -> (UART 921600) -> MAVComm -> (UDP) -> MAVGAnalysis. Refer to screenshot MAVGanalysis

Hmm. Weird. I'll have to check the stack, likely. Because I'm also running UAVCAN.

Yes, the symptoms indicate that you ran out of RAM.
@ecmnet nice, you already added it to MAVGanalysis :+1:

Nope, RAM's fine. Also, I got it working over the UART@921600. Bad cabling issue :P
             total       used       free     shared    buffers     cached
Mem:       3946284     773076    3173208       2548      28372     362400
-/+ buffers/cache:     382304    3563980
Swap:            0          0          0

OK can't repro over USB anymore, weirdly enough :P Will reopen if it crops up.

@mhkabir Excuse me. Did you solve this bug? Now I face a same bug as yours. Hope you can help me. many many thanks~

It would be that you have run out of RAM on the Flight controller not the host. You would need to run free on the pixhawk. Connect to the hardwired debug console. But I suspect it will not work if the system is that low on RAM.

I just tried mavlink shell on latest master on Pixhawk pro (the one that has more RAM) and it works fine.

Hi everyone,
I find a same problem on my Pixhawk-RaspberryPi connection.
The connection is via USB (/dev/ttyACM0) with baudrate=115200.
The firmware of my Pixhawk is APM:Copter V3.5.4 (284349c3)
I use the MavProxy to connect to the Nuttx shell by this link, and enter the nsh successfully.
But when I use the command "mavlink start -d /dev/ttyACM0 -b 115200",
it shows "mavlink: command not found".
This error can be reproduce when I connect the nsh with QGroundControl.
The free memory is 63360, by using "free" command in nsh.
Other commands (ps, top, ls and free) can work perfectly, so I don't know if this is an "out-of-memory" problem.


Implement rev

Thanks for giving help! Now I've removed use of has_error variable and switched to uucore's error handling facility.

Thanks for your PR :)


Limit and expand results

Thank you for an amazing plugin! Happily threw a couple of bucks your way.
As for the feature request, I am aware that I can limit the number of results by doing something like:
table file.ctime
from "Daily"
sort file.ctime desc
limit 10

What would be really cool is if rendering that also gave an option to ignore the limit and expand all results, via clicking somewhere and/or via a command (something like: Dataview: Expand results).

Funny you mention that example code because I've found that using LIMIT and SORT by file.mtime doesn't quite work, the results get cut bottom up when using LIMIT as in:
table file.ctime
from "Daily"
sort file.ctime desc

Will work as expected, but adding LIMIT 10 to the end of that query makes the result list kinda ignore the SORT parameter, given the 10 records you want are not in the result list anymore, no matter asc/desc sort.
But to be fair, the LIMIT option isn't even listed on the plugin docs, so I take it's not an official feature yet.

That doesn't seem right - query operations run in order, so if you run LIMIT after the sort it will limit after the sort occurs. Is the sort not sorting in the right order?

Holy cow, that was it. I was calling LIMIT before SORT. It's working as expected now. Thank you so much! Please consider adding that the order of the query parameters matter on the docs page, for oblivious folks like me :)

Is anyone willing to try this? I think this is best approached by adding a new keyword PAGE so that we don't change LIMIT's behavior. Pagination logic shouldn't be that hard to implement and there's already plenty of rendering logic written out that will be reused.


Logs always show daBlock=0

For every Rollkit block, the logs print successfully submitted Rollkit block to DA layer daHeight=0 indicating that the chain might be progressing correctly
need to investigate and fix

This was also happening when PayForData was being used instead of PayForBlob, and returned no error on the rollkit node, and the chain was progressing

This is resolved.


Simplify disabled single test behavior

use diabled.testname to run disabled test

Signed-off-by: renfeiw<EMAIL_ADDRESS>

tested internally: Grinder_TKG/732/


Investigate the use of Hypothesis for enhancing our testing

Task to do
Determine if Hypothesis is a useful addition to our automated testing
Reason
Aside from testing available from pytest there are other tools that may help with testing. Investigating Hypothesis is one of them.
Result
Make a determination if Hypothesis is a good tool to use

great idea, but closing for now due to lack of interest / demand


Group all the logged gradients under the same sub-folder

What does this PR do?
Group all the tracked gradients norms to a subfolder instead of flooding the logs one
(NOTE: this has been tested only on neptune.ai, not with other loggers)
Fixes #7711
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@alessiobonfiglio I think this does not generalise to all loggers, since not all of them have '/' as a separator (or at least this is not safe to assume). Maybe introduce an argument/logger property for this?

So should I add a method like get_subfolder_separator() to LightningLoggerBase that returns an attribute that is set to "_" and change it in the neptune logger (and any others you are going to suggest) constructor to "/"? Any suggestion for the names?

@alessiobonfiglio maybe just add the following to the logger base:
@property
def folder_separator(self):
    return '/'

I'll investigate tomorrow, which of them has which separator. Just want to make sure, this is future proof :)

And what should I test precisely? I mean, the reason behind this pr is #7711, but I don't think that it is testable

Any news? Is this good?

Dear @alessiobonfiglio,
Mind resolving the conflicts ? And the PR should be good to go :)
Best,
T.C

@Borda @awaelchli, @tchaton
What's the status of this PR?
It's great improvement of the gradients logging, worth introducing in the future release.

Done


Lecture 4 slide 41 typo

The bottom point should say "Many more!" not "Many more!."

Silly full stop. 1 point


ValueError:Attempting to convert None to Tensor while executing "self._check_save_interval()"

Expected Behavior

I'm using my own training data to train a model, and it should begin to train.
Current Behavior

While executing self._check_save_interval() in _train_epoch(), it compares self.step with self.total_train_steps, which seems to be assigned to None, causing Tensorflow raises ValueError.
Possible Solution

According to the base ASR module, there's one line in asrdataset.py that calculates total_steps, but not exists in SeganDataset.py, I guess it needs some fix but I don't know how to approach.
Steps to Reproduce

I only changed data paths in config.yml
python train_sasegan.py

Context (Environment)

Tensorflow-gpu 2.30
Ubuntu 16.04
dependencies installed by setup.py

Detailed Description

   File "train_sasegan.py", line 90, in <module>
     segan_trainer.fit(train_dataset=dataset, train_bs=args.tbs)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/TensorFlowASR-0.3.1-py3.8.egg/tensorflow_asr/runners/base_runners.py", line 312, in fit
     self.run()
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/sasegan-0.1.2-py3.8.egg/sasegan/runners/trainer.py", line 63, in run
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/TensorFlowASR-0.3.1-py3.8.egg/tensorflow_asr/runners/base_runners.py", line 221, in _train_epoch
     self._check_save_interval()
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/TensorFlowASR-0.3.1-py3.8.egg/tensorflow_asr/runners/base_runners.py", line 328, in _check_save_interval
     self.steps >= self.total_train_steps:
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/ops/variables.py", line 1074, in _run_op
     return tensor_oper(a.value(), *args, **kwargs)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_math_ops.py", line 4062, in greater_equal
     return greater_equal_eager_fallback(
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_math_ops.py", line 4097, in greater_equal_eager_fallback
     _attr_T, _inputs_T = _execute.args_to_matching_eager([x, y], ctx)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 267, in args_to_matching_eager
     ret = [ops.convert_to_tensor(t, dtype, ctx=ctx) for t in l]
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 267, in <listcomp>
     ret = [ops.convert_to_tensor(t, dtype, ctx=ctx) for t in l]
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 1499, in convert_to_tensor
     ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 338, in _constant_tensor_conversion_function
     return constant(v, dtype=dtype, name=name)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 263, in constant
     return _constant_impl(value, dtype, shape, name, verify_shape=False,
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 275, in _constant_impl
     return _constant_eager_impl(ctx, value, dtype, shape, verify_shape)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 300, in _constant_eager_impl
     t = convert_to_eager_tensor(value, ctx, dtype)
   File "/share/homes/samtsao/miniconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 98, in convert_to_eager_tensor
     return ops.EagerTensor(value, ctx.device_name, dtype)
 ValueError: Attempt to convert a value (None) with an unsupported type (<class 'NoneType'>) to a Tensor.
 2020-12-04 16:24:42.566338: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated.
 	 [[{{node PyFunc}}]]

Full log for reference sasegan_TF2.log
Any advice will be appreciated.

@samx81 I updated to the new version of TensorFlowASR on branch main, can you try again?

the updated TensorflowASR solved this issue. Thanks for the quick fix.


Set custom x/y window position doesnt work

In description is info what you can '- Set window position'.
But how set custom, x/y position?
win.position = Offset(100.0, 200.0); without win.alignment doesnt work and do nothing

Facing the same issue. Setting offset seem to force window to be hidden or something - window is not visible, yet app is launched and is shown in the alt-tab ui

Same issue. Have some solution?


Seg Fault passing providerrc

when individual secrets are passed using the -b flag output is as expected, but when using c_otp -f providerrc -s with a providerrc based on the example located in ~/ it results in Segmentation fault (core dumped)
Any suggestions appreciated

Hi,
thanks for reporting this issue, can you give more clues regarding your environment? I'd like to reproduce and fix it!
You can also put D=1 within the Makefile and compile it in DEBUG mode.
By doing this you should be able to see a more verbose output and hopefully we can find where the issue appear!

in file rfc4226.c line 28 , hmacResule is local variables, can't return local variables pointer as result


derive: a safe-guard to disable bindings a unit struct was expected

This does not fix the error, as rinja is not able to tell was the actually intended to do, but rust gives you a guide what the error is, and the error is not silently ignored.
Related issue: https://github.com/rinja-rs/rinja/issues/267.

I knew that you could initialize a unit struct with {} but I didn't know we could match on unit variants like this as well. Nice discovery, thanks!

Yeah, for tuple structs you can even do this: let Tpl { 0: a, 1: b } = Tpl(1, 2);. Makes makes things easier, and I even use it in the enum variant implementation. :)


let me manually select webcam

let me manually select webcam

If i am not wrong, what you mean is that you get a option from which camera you want to be recorded right?


Support 2D EAC

How can we modify it to support 2D EAC projection??

Good question. You'd have to look at how it's packed, and maybe either scale by 2 or rotate the whole thing, depending on the layout.

Hi, very good work. I have a question, I can not see it in stereoscopic in virtual reality, the shader does not have 3D LAYOUT options. Any ideas to incorporate it?
Best

Sounds like two different question, but:

I have only ever tested it in stereoscopic VR because VRChat was my sole
use case for getting it to work.

It currently only supports side by side layout because that’s the only
layout I have seen YouTube use so far and I don’t have samples of any
over-under videos yet.

The odds are that if YouTube started using more layouts, the sensible move
would be to start using the mesh metadata embedded in the video. In VRChat
this would be difficult, but in a straight Unity application it would
probably be fairly straightforward so that’s the route I would go.
To do the mesh route in VRChat would require converting the mesh to a
texture somehow, I think? Otherwise I can’t think of another way to look it
up.
On Wed, 12 Sep 2018 at 18:33, adrianoperez<EMAIL_ADDRESS>wrote:

Hi, very good work. I have a question, I can not see it in stereoscopic in
virtual reality, the shader does not have 3D LAYOUT options. Any ideas to
incorporate it?
Best
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trejkaz/EACSkyboxShader/issues/1#issuecomment-420560922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACo5DheXhjbj-kw0BNniXTxTjKoGRzNks5uaMbtgaJpZM4VspKr
.

Hi,
I have tried it in virtual reality, and although the video is stereoscopic, in virtual reality it is shown as monoscopic, that is, the same panorama in each eye, it is as if one of the eyes was lost. You can do the test, you can check that it really looks monoscopic. That's why I was asking you about layout 3d.
Best

I'm not sure what the difference between our setups is, but in mine, it's definitely 3D. I originally tested it with a screen with red and blue squares to make absolutely sure.

Thank you very much for the test, I will do the same as you, a cube of different colors in each eye, I am testing it with samsung gear vr, as soon as I have done the test I tell you. Exactly that line of code makes reference to stereoscopy, it should work for me.

Hi!
Thanks for the cool work - it works perfectly for 3D content.. but as mentioned it doesn't work with 2D over-under like this one: https://www.youtube.com/watch?v=9KfT6nE19I0
Could you give us a hint what to change exactly? I guess it's all about the Orient and Offset lines but have some problems to figure out how exactly.
Thanks alot!

If it's over-under I'm just guessing but you might have to do something where you manipulate st.y at the end of the EquiAngularCubemap function to account for which eye the video is for.

Hi,
Thanks for your work! I am also trying to modify this work to support 2D EAC.
Could you please tell me what is the "matrics for orient a [0..+1] square for each side" in lines 21~27 means? I think they define the orientation of each square(side) but didn't figure out what exactly are the elements in the matrics?
Thank you!

Those are rotation matrices to orient the square correctly for each face.

Hi,
Thanks for trejkaz's prompt response. I have successfully made it support 2D EAC. I paste the diff between the original EACPanorama.cginc and the modified one below as the reference for the people that also want the 2D support. The basic idea is to reposition and reorientate the 6 faces and scale the faces region by two (0.25->0.5).
$ diff EACPanorama.org EACPanorama.cginc
22,27c22,27
< static const float3x3 ORIENT_POS_X = float3x3( 0, -1, 1, -1,  0, 1, 0, 0, 1);
< static const float3x3 ORIENT_NEG_X = float3x3(-1,  0, 1,  0, -1, 1, 0, 0, 1);
< static const float3x3 ORIENT_POS_Y = float3x3( 0,  1, 0,  1,  0, 0, 0, 0, 1);
< static const float3x3 ORIENT_NEG_Y = float3x3( 0, -1, 1,  1,  0, 0, 0, 0, 1);
< static const float3x3 ORIENT_POS_Z = float3x3( 0,  1, 0, -1,  0, 1, 0, 0, 1);
< static const float3x3 ORIENT_NEG_Z = float3x3( 0, -1, 1, -1,  0, 1, 0, 0, 1);

static const float3x3 ORIENT_POS_X = float3x3( 0, 1, 0, 1,  0, 0, 0, 0, 1);
static const float3x3 ORIENT_NEG_X = float3x3(-1, 0, 1, 0, -1, 1, 0, 0, 1);
static const float3x3 ORIENT_POS_Y = float3x3(-1, 0, 1, 0,  1, 0, 0, 0, 1);
static const float3x3 ORIENT_NEG_Y = float3x3(-1, 0, 1, 0, -1, 1, 0, 0, 1);
static const float3x3 ORIENT_POS_Z = float3x3(-1, 0, 1, 0, -1, 1, 0, 0, 1);
static const float3x3 ORIENT_NEG_Z = float3x3(-1, 0, 1, 0,  1, 0, 0, 0, 1);
30,35c30,35
< static const float2 OFFSET_POS_X = float2(0.0,  0.33333333);
< static const float2 OFFSET_NEG_X = float2(0.25, 0.33333333);
< static const float2 OFFSET_POS_Y = float2(0.25, 0.66666666);
< static const float2 OFFSET_NEG_Y = float2(0.25, 0.0       );
< static const float2 OFFSET_POS_Z = float2(0.0,  0.0       );
< static const float2 OFFSET_NEG_Z = float2(0.0,  0.66666666);

static const float2 OFFSET_POS_X = float2(0.33333333,  0.0);
static const float2 OFFSET_NEG_X = float2(0.33333333,  0.5);
static const float2 OFFSET_POS_Y = float2(0.66666666,  0.0);
static const float2 OFFSET_NEG_Y = float2(0.0,         0.0);
static const float2 OFFSET_POS_Z = float2(0.66666666,  0.5);
static const float2 OFFSET_NEG_Z = float2(0.0,         0.5);
87c87
<     tc = mul(float2x2(0.25, 0, 0, 0.33333333), tc);

tc = mul(float2x2(0.33333333, 0, 0, 0.5), tc);
93c93
<     tc = clamp(tc, edgeSize, float2(0.25, 0.33333333) - edgeSize);

tc = clamp(tc, edgeSize, float2(0.33333333, 0.5) - edgeSize);
102c102
< #if UNITY_SINGLE_PASS_STEREO

//#if UNITY_SINGLE_PASS_STEREO
104,105c104,105
<     tc.x += 0.5 * unity_StereoEyeIndex;
< #endif

//    tc.x += 0.5 * unity_StereoEyeIndex;
//#endif

However, I haven't solved the minor alignment issue mentioned in the README yet...

Hi,
Thanks for trejkaz's prompt response. I have successfully made it support 2D EAC. I paste the diff between the original EACPanorama.cginc and the modified one below as the reference for the people that also want the 2D support. The basic idea is to reposition and reorientate the 6 faces and scale the faces region by two (0.25->0.5).
 $ diff EACPanorama.org EACPanorama.cginc
22,27c22,27
< static const float3x3 ORIENT_POS_X = float3x3( 0, -1, 1, -1,  0, 1, 0, 0, 1);
< static const float3x3 ORIENT_NEG_X = float3x3(-1,  0, 1,  0, -1, 1, 0, 0, 1);
< static const float3x3 ORIENT_POS_Y = float3x3( 0,  1, 0,  1,  0, 0, 0, 0, 1);
< static const float3x3 ORIENT_NEG_Y = float3x3( 0, -1, 1,  1,  0, 0, 0, 0, 1);
< static const float3x3 ORIENT_POS_Z = float3x3( 0,  1, 0, -1,  0, 1, 0, 0, 1);
< static const float3x3 ORIENT_NEG_Z = float3x3( 0, -1, 1, -1,  0, 1, 0, 0, 1);
---
> static const float3x3 ORIENT_POS_X = float3x3( 0, 1, 0, 1,  0, 0, 0, 0, 1);
> static const float3x3 ORIENT_NEG_X = float3x3(-1, 0, 1, 0, -1, 1, 0, 0, 1);
> static const float3x3 ORIENT_POS_Y = float3x3(-1, 0, 1, 0,  1, 0, 0, 0, 1);
> static const float3x3 ORIENT_NEG_Y = float3x3(-1, 0, 1, 0, -1, 1, 0, 0, 1);
> static const float3x3 ORIENT_POS_Z = float3x3(-1, 0, 1, 0, -1, 1, 0, 0, 1);
> static const float3x3 ORIENT_NEG_Z = float3x3(-1, 0, 1, 0,  1, 0, 0, 0, 1);
30,35c30,35
< static const float2 OFFSET_POS_X = float2(0.0,  0.33333333);
< static const float2 OFFSET_NEG_X = float2(0.25, 0.33333333);
< static const float2 OFFSET_POS_Y = float2(0.25, 0.66666666);
< static const float2 OFFSET_NEG_Y = float2(0.25, 0.0       );
< static const float2 OFFSET_POS_Z = float2(0.0,  0.0       );
< static const float2 OFFSET_NEG_Z = float2(0.0,  0.66666666);
---
> static const float2 OFFSET_POS_X = float2(0.33333333,  0.0);
> static const float2 OFFSET_NEG_X = float2(0.33333333,  0.5);
> static const float2 OFFSET_POS_Y = float2(0.66666666,  0.0);
> static const float2 OFFSET_NEG_Y = float2(0.0,         0.0);
> static const float2 OFFSET_POS_Z = float2(0.66666666,  0.5);
> static const float2 OFFSET_NEG_Z = float2(0.0,         0.5);
87c87
<     tc = mul(float2x2(0.25, 0, 0, 0.33333333), tc);
---
> 	tc = mul(float2x2(0.33333333, 0, 0, 0.5), tc);
93c93
<     tc = clamp(tc, edgeSize, float2(0.25, 0.33333333) - edgeSize);
---
> 	tc = clamp(tc, edgeSize, float2(0.33333333, 0.5) - edgeSize);
102c102
< #if UNITY_SINGLE_PASS_STEREO
---
> //#if UNITY_SINGLE_PASS_STEREO
104,105c104,105
<     tc.x += 0.5 * unity_StereoEyeIndex;
< #endif
---
> //    tc.x += 0.5 * unity_StereoEyeIndex;
> //#endif
<\pre>

However, I haven't solved the minor alignment issue mentioned in the README yet...

The alignment issue I even get on the official player so I'm convinced that the video has the issue.


Speed up streaming sparse data

Is your feature request related to a problem? Please describe.
At the moment, streaming "sparse" data (that is, when most blocks don't contain any data) is slower than it should be.
Describe the solution you'd like
We should create/update sets containing the block numbers at which events happened/account storage was updated. We should use croaring::Bitmap since that's what we are also using for Erigon DNA.
Suggested steps:
Update ingestion engine to create/update the bitmap sets.

Create the EventAddressIndex (map address of contract emitting events to bitmap set) and EventKeyIndex (event key -> bitmap set) tables.
Update write_receipts to also update the bitmap set for the events contracts and keys. Rembere to read the old bitmap set before updating.
Maybe do something similar with state update?

Update data stream
This is the complex part. At the moment, the data stream expects to advance to the next block. We need to introduce a mechanism to control to which block the stream is advanced. This means it needs to periodically reload the bitmap set (want to avoid having too big of a bitmap set).
This code is pretty similar to the refactor implemented for Erigon DNA.
Describe alternatives you've considered
At the moment, we have a bloom filter for each block. This is clearly not working well enough, so it should be replaced with the method described in this issue.
Additional context
Maybe this will fix #101?

This will be in V2.


pagination issue

It seems limit is implemented but skip is not passed to the SDK.

cc @woodpig07 @makara

It seems the custom can receive the skip, still I'm adding the test case with #93

Done with #93


Measuring battery consumption on Android

Setup
Please follow the instructions at https://developer.android.com/studio/profile/battery-historian.html to use Batterystats and install Battery Historian.
Tests
Test 1 - Disconnect the test phone from power and make sure that it is not running any Thali related apps of any kind. Make sure they are disabled or even better, uninstalled. This is going to be the battery consumption baseline for the phone so it's important that it accurately reflect the phone's battery consumption when not running Thali. Please let the phone sit there doing nothing for 10 minutes. Then use Batterystats/Battery Historian to see what % of the phone's battery was consumed.
Test 2 - Use the test app that @andrew-aladev will write in thaliproject/Thali_CordovaPlugin#1292. By default the app should do nothing. It shouldn't turn on any radios. It shouldn't run any code. It should just load Thali and then sit there doing nothing interesting. Please let the phone sit there for 10 minutes. Then measure it's battery consumption.
Test 3 - Use the test app but now set the radio type to wifi, call Listen_Only and make sure there are no other instances of the test app running on any device. We want to see what the battery draw is when we are listening but not receiving anything. Same as before, let it run 10 minutes and then measure battery consumption.
Test 4 - Radio Type - Wifi, Mode - Advertise_Only
Test 5 - Radio Type - Native, Mode - Listen_Only
Test 6 - Radio Type - Native, Mode - Advertise_Only
Test 7 - Radio Type - Both, Mode - Advertise_Only
Test 8 - Radio Type - Both, Mode - Listen_Only
For these next tests we are going to use two phones, phone A and B. Both are running the test app in the configuration given below. We ONLY measure battery consumption on phone A.
Test 9 - Phone A - Wifi - Listen_Only, Phone B - Wifi - Advertise_Only
Test 10 - Phone A - Native - Listen_Only, Phone B - Native - Advertise_Only
Test 11 - Phone A - Both - Listen_Only, Phone B - Both - Advertise_Only
Test 12 - Phone A - Wifi - Both, Phone B - Wifi - Both
Test 13 - Phone A - Native - Both, Phone B - Native - Both
Test 14 - Phone A - Both - Both, Phone B - Both - Both
Now you are probably thinking to yourself "Is he nuts? This is going to take me 140 minutes or nearly 3 hours of manual testing! That's awful!" And you are right. In theory we could automate this testing in a couple of different ways. The easiest way would be to write an extension to the test app running on both phones that would automatically switch mode ever X minutes. So, for example, while phone A is running through tests 1 - 8, which should take 80 minutes, phone B can just do nothing. Then at minute 80 it can switch into the configuration for test 9.
The question is - how much battery data will you get for 140 minutes? I suspect it might be enough to cause problems downloading it or the data might even be lost as the logs try to keep themselves from getting too big. Play around and see what works.
Also if you have 140 minutes of data can you pull out the battery consumption from each 10 minute segment using the battery historian?
Another approach would be to write a shell script that pulls the battery data after each test before resetting it. You could put in say a 1 or 2 minute delay between each test to give the shell script time to pull out the data and record it.
Use your imagination. This is an obviously automatable situation.
Output
I need you to save the HTML output from each test so I can see it. There is a lot of data there beyond just the battery draw. It shows how often the device woke up the cpu, how often the radios are on, etc. We need to review that data to understand why the battery draw is what it is.

checked for devices without app: for Nexus 6p discharge rate is less than 1% per hours, for S7 from 1 to 2 % per our. Checked our app with coordination server : Nexus ±3% per hour, S7 6-7% per hour. But coordination server recharge battery as well. So I will wait thaliproject/Thali_CordovaPlugin#1292. I think 10 min is enough for calculation.

BTW @vasilevskayaem the most important tests are 1-8. Let's get those done before we move on to 9-14.

@vasilevskayaem Please first prioritize among tests 1-8 the native tests first (e.g. BLE tests, Native mode)

Test N#
Discharge rate per hour on S7

1
0.76-0.92%  wi-fi and bt off

2 nothing
will retest soon

3 wifi, Listen_Only
2.97%

4 Wifi, Advertise_Only
3.59%

5 native, Listen_Only
4.79%

6 native, Advertise_Only
5.99%

7 both, Advertise_Only
8.56%

8 both, Listen_Only
7.49%

9 Phone A - Wifi - Listen_Only, Phone B - Wifi - Advertise_Only
19.97% !!!!! will retest it

10 Phone A - Native - Listen_Only, Phone B - Native - Advertise_Only
19.97!!!!

11 Phone A - Both - Listen_Only, Phone B - Both - Advertise_Only
29.96%!!!!!

12 Phone A - Wifi - Both, Phone B - Wifi - Both
3.52%

13 Phone A - Native - Both, Phone B - Native - Both
4.28%

14 Phone A - Both - Both, Phone B - Both - Both
4.79%

12-14 test results not right, because test app doesn't work correctly https://gist.github.com/vasilevskayaem/8a5ca7df59c91963cff6f32c5be0b0f1

https://drive.google.com/open?id=0B3Zint8ZY0O8dlU2QUZCU2ZFSkE

It's worth at least re-running test 5 with scanning for manufacturer ID disabled to see if that reduces consumption. Also while the test is running please look at CPU usage to see if we are eating any CPU. Ideally during test 5 the CPUs should be able to shut down because we shouldn't find anything that requires the BLE hardware to notify the CPUs.

Are we asking for the permission in Android to exempt ourselves from doze and standby mode? (See thaliproject/Thali_CordovaPlugin#413 for context). We need the tests to run with screen off.

Yes, native listening and advertisement are working. I just add some logs to verify it.

We really need the screen lock numbers for all the tests.
We need to see if there is anyway to do BLE scanning without having the hardware notify the CPU of empty results! Please play with setReportDelay to see how that affects battery life.

run Test 10 with
delay 500 (default) - 3.31%
delay 1000 - 2.85%
delay 1500 - 2.73%
delay 2000 - 2.58%

Please re-run test 10 with delay set to 0. Please run test 5 with delay set to 0. Then please re-run just those two tests on the Nexus 6P to see if it has the same behavior as the Samsung.

checked for Nexus we have the same behaviour. If reportDelay = 0 app notify onScan result is called only if we found peer, if reportDelay>0 onBatchScanResult is called every reportDelay period.

test 5 with reportDelay = 0 -- 1.19%
test 10 with reportDelay = 0 -- 2.08%

fully charged phone:
10 test with delay = 0 -- 1.88%
10 test with delay = 2000 -- 2.44%


add an invite generator

Should probably allow passing a raw permissions number rather than an array of strings as well.


Previously removed account exported on paper wallet

Version: 1.4.0
Steps:

Install the application and create a new profile. Click to a backup paper wallet. We have account X as the main account.
After login remove all accounts. Settings -> "Delete all accounts"
Right away create a new profile and download the paper wallet.

Result:
On paper wallet exported in point 3, I have beside new account also the second page with account X.
Expect result:
"Delete all accounts" should remove all accounts. Currently, it looks like a private key for an account that should be removed stays in memory. If I will close and open the application after point 2 it works correctly.

Bug still exists.


Sent messages remain in compose box if close or refresh e.cash RIGHT after sending

Platform - version:  Desktop Version 1.0.2-3
Action Performed (reproducible steps):

Type message then send.
IMMEDIATELY after sending either refresh or close/reopen e.cash

Expected Result:
Sent message shows as sent and compose box is empty
Actual Result:
Sent message shows as sent and that same message is also in the compose box.
Notes/Photos/Videos:

Logs - JS/Android/iOS (if applicable):

[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
app://-/#/r/65139349:1 A cookie associated with a cross-site resource at https://expensify.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
app-816550e….bundle.js:53 Timing:expensify.cash.homepage_reports_loaded 1613
app-816550e….bundle.js:53 [Pusher] Attempting to subscribe to channel true
{channelName: "private-user-accountID-4087621", eventName: "reportComment"}
DevTools failed to load SourceMap: Could not load content for app://-/pdf.worker.entry-0d229df….bundle.worker.js.map:

Triggered auto assignment to @ctkochan22 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

ported over from e/e https://github.com/Expensify/Expensify/issues/156546

Gonna close this since it's a few months old


Little query :-

Sir, what is your roadmap for 1st year BTech students as they don't have js in their 1st year course. They have all different subjects and just a bit if C programming (that too in 2nd semester). I mean we have a lot of maths, physics, chemistry to do in this year. Should we still continue with your course or should wait for some time?
P.s.-  Pardon 🙂

Start coding in standard 6. After you have some grasp of English you should code. You're already late. Don't delay.


Modify Streaming Annual Emissions for CBS Intergration

Context
Modify  Streaming Annual Emissions for CBS Intergration (see below for requirements)
Required Parameters:  facilityId and Year
Required Data Elements:  NOX MASS, OP YEAR, SO2 MASS, Unit ID
If the location is not specified, then the system shall filter by the oris code and all of the locations for the oris code are returned.
If loction and oris code are specified then the system shall filter by the location

Endpoint works as expected
https://api.epa.gov/easey/dev/streaming-services/emissions/apportioned/annual?facilityId=3&year=2020


Update to polaris 0.1.0-alpha.3

This merge also updates mache to 1.14.0
It removes Cori from the list of supported machines.

Machines deployed (spack environment created only for the default compiler and MPI for now):

[x] Anvil
[x] Chicoma
[x] Chrysalis
[x] Compy
[x] Perlmutter

Machines tested (pr suite):

[x] Anvil
[x] Chicoma
[x] Chrysalis
[x] Compy
[x] Perlmutter

Checklist

[x] User's Guide has been updated
[x] Developer's Guide has been updated
[x] Documentation has been built locally and changes look as expected
[x] Testing comment in the PR documents testing used to verify the changes

Testing
For now, I'm just running the pr test suite built with the default compilers on each machine.  See the checklist above for deployment and testing on each machine.

Do we need to make any changes to the machines sections of the docs (remove Cori?)?

Yes!    I'll update the checklist to include docs after that.

@xylar Thanks! I clearly didn't get around to this yesterday.

Thanks! I clearly didn't get around to this yesterday.

No problem at all.


Tag a new release

Hey,
I would like to know if it's possible to tag a new release;
There's interesting features already on master i'd like to use (insightops support, autowiring channels) instead of requiring dev-master :)
https://github.com/symfony/monolog-bundle/compare/v3.4.0...master

/cc @lyrixx if you have some time for this.. Definitely would be good.

Okay. I will look at it

when will this package get a update because some composer dependencies are out of date because of this bundle @lyrixx @Seldaek

This can be closed


Error C1047 when building

When building, I get error C1047 as seen below:

Unlike in #2 , when cloning from GitHub Desktop, I still get the error and cannot build.

Go to: https://github.com/TsudaKageyu/minhook and clone the repository. Go in this folder if you are using Visual Studio 2019: \minhook-master\build\VC16
Open the solution, set it to Release x64 and build. You will find libMinHook.x64.lib in: \minhook-masterbuild\VC16\lib\Release.
Copy libMinHook.x64.lib to Universal-Dear-ImGui-Hook-master\minhook\lib and overwrite the existing lib file. Now compile the solution.

Go to: https://github.com/TsudaKageyu/minhook and clone the repository. Go in this folder if you are using Visual Studio 2019: \minhook-master\build\VC16
Open the solution, set it to Release x64 and build. You will find libMinHook.x64.lib in: \minhook-master\build\VC16\lib\Release.
Copy libMinHook.x64.lib to Universal-Dear-ImGui-Hook-master\minhook\lib and overwrite the existing lib file. Now clean and recompile the solution. It will compile the dll.

Thank you! This has solved my problem! 👍


Some naming choices are clunky when working with Java

Java doesn't allow import renaming so one can either use

unqualified imports
fully qualified imports

The first does not work for things like Factory which will collide (Account.Factory, Instrument.Factory, ...).
The second leads to things like new com.daml.app.template.codegen.daml.finance.account.account.Factory(…) (the java codegen code usually has an additional package prefix).
Naming things like AccountFactory, HoldingFactory, … instead would make collisions much less likely and avoid the clunkiness of fully qualified imports. On the other hand, this makes imports in daml less neat (e.g. import D.F.Account.AccountFactory).
A potential solution could be to

use "qualified" template names such as AccountFactory rather than Factory
define a type synonym in Daml type Factory = AccountFactory which mitigates the added daml ugliness

An alternative is to provide a small companion Java library wrapping the fully qualified names.
Types for which name collision applies:

Factory templates and interfaces
the View data type defined for basically each interface?
anything else?

This issue isn't exclusive to Daml Finance; it's a pervasive concern across all Daml applications utilizing the Java code generation. Consequently, addressing this problem extends beyond merely patching the Daml Finance library.
To ensure collision-free usage of the Daml Finance library in Java, it necessitates avoiding any clashes in interface, template, data types, or choice names. Implementing such changes is far from a minor refactoring endeavor. For instance, within the library, there are around 70 declarations of data View = View .... Enforcing name uniqueness throughout the library would lead to increasingly intricate and verbose identifiers. Drawing inspiration from Spring, we might end up with names akin to AbstractAnnotationConfigDispatcherServletInitializer. Such modifications could significantly impede the user experience for Daml development with this library.
Instead, I propose that our primary focus should be on devising a solution on the Java side of the equation. Once we've established a viable approach in that context, we can explore whether this pattern can be incorporated into the code generation process, thereby benefiting all projects that rely on it.

@brianweir-da how are you suggesting we address this on the Java side? There isn't really any other option than generating prefixes automatically there and that will be super confusing. I'd much rather have library authors chose the names.

Enforcing name uniqueness throughout the library would lead to increasingly intricate and verbose identifiers.

You don't need full uniqueness, just make the common choices reasonable. E.g. switch to AccountFactory and FungibleFactory has imho no negative impact on the UX on the Daml side and it probably avoids 95% of the collisions here. Similar for the various View types.
Having fewer collisions in the names also leads to nicer autocompletion in vscode for typescript code so the problem isn't just Java specific.

@brianweir-da is it worth having a play with the generated code and see what usability improvements you can make? This feels very focused on dev experience, so it would be good to see the intended experience being used in order to validate it.
I'm thinking particularly of nested static classes to create what looks like packages, but would allow you to do something like:
import com.daml.app.template.codegen.daml.finance.account.Account;

_ = new Account.Factory(...);

Ugly code to write, but we could codegen it 🤷🏻, but mainly I am just trying to use as-is names just in a more namespace-friendly way by exploiting packages/static classes.


expects import "mvdan.cc/lint"

Can't get this library, because of:
MacBook-Pro-3:tmp gideon$ mkdir 2
MacBook-Pro-3:tmp gideon$ cd 2
MacBook-Pro-3:2 gideon$ ls
MacBook-Pro-3:2 gideon$ export GOPATH=`pwd`
MacBook-Pro-3:2 gideon$ go get -u github.com/360EntSecGroup-Skylar/goreporter
package github.com/mvdan/lint: code in directory /tmp/2/src/github.com/mvdan/lint expects import "mvdan.cc/lint"

You should get it
go get github.com/mvdan/lint

I have been aware of the reasons why: github.com/mvdan/lint author modified the project's import path about 18 hours ago.
https://github.com/mvdan/lint/commit/f9de10a75144e429b05160cafa9637c79c1e453d
To prevent this from happening again, I would add the vendor directory to manage the outer package version.
Thanks.

Seems all good now, thanks
MacBook-Pro-3:tmp gideon$ mkdir 3
MacBook-Pro-3:tmp gideon$ cd 3
MacBook-Pro-3:3 gideon$ export GOPATH=`pwd`
MacBook-Pro-3:3 gideon$ go get -u github.com/360EntSecGroup-Skylar/goreporter
MacBook-Pro-3:3 gideon$ echo $?
0


Add an option for logging

Allow users to pass in their own logger.

It's definitely an important addition. Just recently I had to add some logging in the function sendRequest() to inspect the response.
I also like your solution. Even if debug logging is often the only logging within a library, by having an additional Debug bool field, the field can be set via environment variables.

#6

We could use go-spew to pretty-print requests and responses, so even with many fields printed to the console they stay readable.

I would prefer that we not include external dependencies in this library. One of my goals was to write this project using Go's native packages.


Support Java

Allow use of pulumi-synced-folder for Pulumi code written in Java.
This would require publishing the extension to Maven.

Thanks for filing an issue on this! We will bring this to the team and get back to you. Also, if you feel like this is something you'd like to work on, we always welcome contributions.


Crashes when ds18b20 is turned on while ds18b20 is not connected

not a bug

project discontinued. Look at AFE-Firmware. it should cover it


Drivers as submodule

@kisvegabor This PR removes the lvgl_esp32_drivers directory and replace it with a submodule.

I was planning to update one at the time. Because if we have any issues we can track down bugs more easily.


Wait to generate roughness mipmaps until after clone

Some draco compressed models that share metalness and roughness maps resulted in errors cloning models because roughness mipmap generation state isn't properly duplicated. This changes fixes the issue by waiting to generate roughness mipmaps until after the clone has occured.

@mrdoob in case he knows what's going on.

I would need a bit more context...

@mrdoob If we generate custom mipmaps for our texture with RoughnessMipmapper, and then clone that texture, it seems to destroy them and throw a WebGL error about not being able to generate mipmaps. Seems like some kind of texture clone bug? It made certain models turn shiny.

Here's an example of a model that's too shiny: https://storage.googleapis.com/ar-answers-in-search-models/static/Tiger/model.glb

Why is the texture being cloned in the tiger example? 🤔

We clone everything in model-viewer, so that if you have the same model in two different elements, you can change their textures independently. Cloning the texture just clones the JS parts and not the underlying GL data, right? Like with material?

Cloning the texture just clones the JS parts and not the underlying GL data, right? Like with material?

Yeah, that's correct 👍


Research - Look into saving files

Look into saving saving files on AWS and linking it to datascopes/assets etc

possibly share point after client meeting

Possibly a future development