Infinite loop on Bar chart with long label

I found the code is getting into an infinite loop on Chart.Bar() if one of the labels is too long.
This seems to be in calculateScale, where I can see that maxSteps and minSteps are negative from getValueBounds() and, as a result, stepValue is "Infinity".
If I use a label of "ACME, Rocket-Powered Inc.." it works, but with one extra dot ("ACME, Rocket-Powered Inc...") it fails, presumably because the label is so long it creates a negative scale.
I'll shorten my labels for now, but hope this helps.

Closing, fixed in latest


Refactor PlatformValidatorFactory and ReleaseMakerFactory

We can use the Java Service Loader to get rid of hard-coded switches. Check the service loader implementation for the VS dialects as an example.

Those classes were removed


Missing name of collection on spotlight

Seems the same issue with metadata or different one?

Ref

#4169

Temporary fix

https://github.com/kodadot/nft-gallery/pull/4203

long outstanding, let's close this, haven't seen happen for while


Added tutorial sample for BAEL-2550

reopening, since this has still to be merged

@er-han do we need the BarBean and FooBarBean classes? They are not referenced in the article

@thombergs
I thought three different component types would be better to demonstrate field, setter and constructor injection in one abstract class. The other option was one component class vs three abstract class. I could still use just one component type for three kinds of injection in one abstract class. But I think that wouldn't be a good code example.
At first I referenced the BarBean and FooBarBean classes in the article, too. I changed them with FooBean later, to clarify the article. I think the reader could be confused to see different component types for each example. So, code in github and in the article is not exactly the same now.


Create a submodule for mesh/shape types

Summary:

The graphics module is getting cluttered with niche/advanced features again. We should move mesh/shape drawing tools into a graphics::mesh submodule.
This would raise a slightly tricky question about where VertexWinding should go (since it's used in a top level function in graphics), but this should be resolved by #233.
Why is this needed?

To avoid overwhelming users with too many types/functions. The vast majority of Tetra users will not need to use Mesh, so it doesn't really make sense for it to be front and center in the docs.

Done on the 0.6 branch.

Done on the 0.6 branch.


[BUG]: Fort Justice has the wrong biome in planets/planets.json

Faulty File Path & Name
/planets/planets.json
Request information
Fort Justice has the wrong biome listed.  It should have the ethereal biome, not the tundra biome.
You can verify this by checking https://data.helldivers.io/?settings=generated_planet_data&index=22
What is expected?
https://data.helldivers.io/?settings=generated_planet_data&index=22
"This world teems with ethereal, boundless, and peculiar plant life that spreads silent and uninterrupted across its entire surface."
This is the description for the ethereal biome, however tundra is listed for Fort Justice.
"tundra": {
"name": "Tundra",
"description": "A perennially chilly climate has allowed short, colourful shrubs to flourish across this planet's surface."

No response

@chatterchats is this one you can pick up?


github/workflows: add a docs workflow

Closes #111.

Live here: https://trailofbits.github.io/pip-audit/

Blocked on #130.

I've made every top-level module private, which makes our public API surface effectively zero for the time being.
We'll design a minimal public auditing API in a follow-up PR.


Parse payload option + doc

Here is a little POC concerning the issue #325.
What do you think?

Yes! Ok.
Thanks!

published in<EMAIL_ADDRESS>thank you for contributing


Refactored native Postgres SQL queries to use proper JPA instead

Motivation and Context
Using native SQL queries hard-coded into the repositories is bad practice. JPA and Hibernate abstract our services from the underlying database vendor, and Hibernate performance - such as caching - can't be used if a native query has to be executed in the database. Also, there can be unexpected issues due to Hibernate's session management.
The improvements team is refactoring all the code to get rid of ALL the native SQL queries from the entire SDC Java codebase. This is one of several PRs.
What has changed
A really nasty native query and an unused query have been removed from CollectionExerciseRepository. The SampleUnitDistributor.distributeSampleUnits function now uses the two Case Type repos to find the action plan, instead of the nasty native query.
Two queries have been refactored in SampleUnitRepository, so that there is no native or JPQL query.
Unit tests have been written.
How to test?
Full acceptance test suite has been run - passing.
Some of the scenarios are quite hard to engineer - spoofing duplicate rows in the database is perhaps the only way to thoroughly test the unlikely situation where there's a duplicate Collex/Sample Unit Ref/Sample Unit type already in the DB.
This PR and the other PRs related to the refactoring should be tested with a full manual regression test to mitigate any risk of regression.
Links
Trello: https://trello.com/c/bdqQthEj/291-replace-native-postgres-queries-with-jpa-spring-data-queries-in-java-services-l

So long as the tests still pass, this should be OK.


Various sonar fixes

How Has This Been Tested?
gradle test
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.

Codecov Report

Merging #485 into master will increase coverage by <.01%.
The diff coverage is 61.53%.

@@             Coverage Diff              @@
##             master     #485      +/-   ##
============================================
+ Coverage     54.26%   54.27%   +<.01%
- Complexity     9636     9637       +1
============================================
  Files          1007     1007
  Lines         62413    62413
  Branches       7050     7038      -12
============================================
+ Hits          33870    33876       +6
+ Misses        26129    26128       -1
+ Partials       2414     2409       -5

Impacted Files
Coverage Δ
Complexity Δ

...issonarrivals/ConstantPoissonProcessGenerator.java
43.61% <ø> (ø)
10 <0> (ø)
:arrow_down:

...jmeter/protocol/http/control/HttpMirrorServer.java
41.74% <ø> (ø)
11 <0> (ø)
:arrow_down:

.../java/org/apache/jmeter/visualizers/AxisGraph.java
10.14% <0%> (ø)
1 <0> (ø)
:arrow_down:

...n/java/org/apache/commons/cli/avalon/CLOption.java
71.73% <0%> (ø)
17 <3> (ø)
:arrow_down:

...apache/jmeter/control/gui/ForeachControlPanel.java
86.41% <100%> (ø)
8 <0> (ø)
:arrow_down:

...va/org/apache/jmeter/extractor/RegexExtractor.java
86.6% <100%> (ø)
68 <14> (ø)
:arrow_down:

.../jmeter/report/dashboard/HtmlTemplateExporter.java
59.77% <40.74%> (-1.13%)
12 <1> (ø)

.../jmeter/report/dashboard/AbstractDataExporter.java
63.63% <46.15%> (ø)
7 <0> (ø)
:arrow_down:

...a/org/apache/jmeter/assertions/SMIMEAssertion.java
43.57% <60%> (ø)
19 <0> (ø)
:arrow_down:

...rg/apache/jmeter/assertions/ResponseAssertion.java
82.94% <80%> (+0.06%)
90 <0> (-1)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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

@ham1 , it is nice you split the changes into their own commits, however it would be nice if you could split them to distinct PRs.
I don't expect 15PRs here, however it would be nice to have "no-brainer PR" like formatting and similar trivial changes.
Then we could merge those faster.
As of now it looks we should either wait for this PR completion, or cherry-pick individual commits.

Thanks for the feedback. I found it difficult to make separate PRs though as most of the changes are built atop of one another and cover a lot of different areas. I'll try to keep PRs to related code areas and hope that will ease reviews.


"Google testing" infra error reported with no explaination

Type of Request
bug
Infrastructure Environment
FRoB? I'm not quite sure, sorry.
What is happening?
Most recent example: https://github.com/flutter/flutter/pull/142192.
I got:
[Thu, 25 Jan 2024 00:43:08 UTC] An infra error occurred while running Google testing

I ended up getting frustrated and just merging ignoring this check (I'm pretty confident my change was test only).
Steps to reproduce
N/A
Expected results
If Google Testing isn't stable enough to run on every PR, we should consider disabling it or making it FYI only.

b/322018010 is the internal tracking bug. tl;dr is that it seems like the generated internal CL gets deleted at some point, and that case isn't handled.
@matanlurey did this reproduce when rerunning the check run? This issue seems to be occurring on ~5% of runs.

5% (1/20 commits) is way too high to have it running by default.

5% (1/20 commits) is way too high to have it running by default.

I defer to @keyonghan for what we want to consider as acceptable. There's a few tradeoffs that can be applied, and we should holistically find a right balance. For example, we can reduce flakiness by increasing the runtime (by automatically retrying), but that often isn't the right choice.
When Google testing runs on a PR, it's 99%+ likely to stick without someone reverting it (citation needed :-)). Additionally, there's frictions with reverts, and I suspect most people would prefer a somewhat flaky test over a revert+reland.
All of that said, I strongly suspect we can get Google testing to <0.02% flake rate without much work or sacrificing other metrics. Several of these stability issues are one off that have been quick to address.
b/322018010 is fixed so closing this bug.

I defer to @keyonghan for what we want to consider as acceptable.

It would be good to be consistent with other checkruns, which is 2%.

Also 2% flaky to me is different than "2% of the time the infra does not work".


morphir init

Terms

THIS SOFTWARE IS CONTRIBUTED SUBJECT TO THE TERMS OF THE TERMS OF THE CCLA DATED 2017-11-07 WITH FINOS/LINUX FOUNDATION (FORMERLY THE SYMPHONY SOFTWARE FOUNDATION CCLA).
  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.

The changes here introduces a new command morphir init that launches an interactive shell that creates a new Morphir project.
Here's a screenshot of the command in action.


split Tool and ToolFamily to a new tool module

I'm ok with this changes, but I'm afraid of creating merge conflicts that's a bit hard to fix in other PRs.
cc @thomcc what's your thought on this?

This is just moving code from one file to another. Merge conflicts should be pretty easy to resolve.

This is just moving code from one file to another. Merge conflicts should be pretty easy to resolve.

If someone modifies tool impl (e.g. #932 ) then it will have to rewrote it by moving changes into the new file.
Wirh rhat said, if #932 is the only PR that will have a merge conflict, then I'm willing to merge this and resolve the conflict myself.

Sorry, I forgot to hit enter. I was going to say:

I don't have strong feelings, and am willing to leave the decision up to you.

But with your comment that it's a single conflicting PR, I think we should go for it.

There's also #907 (one-line change) and #851 (PR stale for a while).
So I will go ahead and merge it.

Merge conflict fixed.


Autodelete sessions in SqlAlchemySessionInterface

The expired sessions are not deleted from the database in every case, so
the autodeletion of expired sessions has been implemented.
Deletion of the expired sessions (e.g. with a cronjob) would be feasible
in the application, but it is nicer to implement it directly in
flask-session.
The autodeletion be enabled by the SESSION_AUTODELETE config variable,
which defaults to False.
Major drawback: it slows down open_session.

hi,
something is blocking this request?
I'm very interested in this feature

Both these features is now included in 0.7.0 PR #212 as flask session_cleanup command and alternatively, SESSION_CLEANUP_N_REQUESTS. Also added direct TTL for mongo so there should be no cleanup required.


feat: ⛎ Trace Phases

This PR introduces a notion of Phases, which each trace is tagged with. These represent phases of compilation/interpretation. When displaying a diagnostic, the user can provide a function to determine which phases they are interested in seeing traces from. For instance, a user might be interested in seeing all evaluation steps, but have no interest in seeing the elaboration process.

Diagnostic.map should be renamed, or it should take care of 'phase as well. Diagnostic.map is intended to be used with Logger.S.bridge

Diagnostic.map should be renamed, or it should take care of 'phase as well. Diagnostic.map is intended to be used with Logger.S.bridge

I added a function to map phases as well

Suggestions: (1) add a further phase function that change the ambient phase, and make phase optional for (k)tracef, and (2) merge Code and Phase... maybe?


Add sample for network isolation using ceph for glance and cinder

Adds a sample to deploy the ctplane using isolated networks and ceph. The ceph configs get attached from ceph-conf-files secret. The FSID in the cinder custome config needs to be replaces with the one from the ceph cluster:
rbd_secret_uuid=_FSID_

One nit about a comment, not the PR itself.
  sed -i "s/FSID/${FSID}/" $OPENSTACK_CTLPLANE

vs
  sed -i "s/_FSID_/${FSID}/" $OPENSTACK_CTLPLANE

You want the second so you don't end up with a line like this:
            rbd_secret_uuid=_b07ec152-274d-4c8c-b939-32362336ee9f_


[Export Refactor] Save_model_with_external_data

Feature Description
Enables exporting models to two files model.onnx (graph definition) and model.data (constant tensor information), even if this is not necessary (i.e. model proto is < 2Gb)
Example Use
from sparseml.export.export import export
from huggingface_hub import snapshot_download

source_path = snapshot_download("roneneldan/TinyStories-1M")

export(
    source_path=source_path,
    task='text-generation',
    save_with_external_data=True,
)

Fetching 10 files: 100%|██████████| 10/10 [00:00<00:00, 138884.24it/s]
2024-01-16 16:37:06 sparseml.export.export INFO     Starting export for transformers model...
...
2024-01-16 16:37:20 sparseml.export.helpers INFO     Optimization: kv_cache_injection has been successfully applied to the ONNX model: /home/damian/.cache/huggingface/hub/models--roneneldan--TinyStories-1M/snapshots/8cd14d5339178f1b285f55baee14a0deff7103ac/deployment/model.onnx
2024-01-16 16:37:20 sparseml.export.helpers INFO     Splitting the model into two files: model.onnx (graph definition) and model.data (constant tensor data)
2024-01-16 16:37:20 sparseml.export.export INFO     Successfully exported model from:
/home/damian/.cache/huggingface/hub/models--roneneldan--TinyStories-1M/snapshots/8cd14d5339178f1b285f55baee14a0deff7103ac
to
/home/damian/.cache/huggingface/hub/models--roneneldan--TinyStories-1M/snapshots/8cd14d5339178f1b285f55baee14a0deff7103ac/deployment
for integration: transformers

@bfineran
There is a request from @mgoin to export all the models (regardless of their size) WITH external data. The motivation is dictated by efficiency - having external data means we can avoid ORT making an extra copy of all the tensors (since they won’t load in external data unless they are running those subgraphs). Is this something that the product is ok with?


ImagePickerController doesn't reload when selecting more photos

1: I selected "Select Photo" and did nothing
2: Terminate he app and reopen
3: Selected "Select More Photos"
The selected photo is not displayed
https://drive.google.com/file/d/1VXszBF7LiDlOsqW53fmgck5EVirgjEnc/view?usp=sharing

Hey, Im facing the same problem.. Got any solutions?


(gdk): gdk_version key in gdk-config file is 1.0.0, with gdk 1.2.1

Describe the bug
gdk_version key does not show the version of gdk used to create the app.
To Reproduce
Create a component using the HelloWorld template:
gdk component init -n VersionName -l python -t HelloWorld
Buggy behaviour is observed for both python and java HelloWorld templates.
Expected behavior
gdk_version is 1.2.1
Actual behavior
gdk_version is 1.0.0
Environment

OS: 20.04.1-Ubunt
JDK version: openjdk 11.0.18 2023-01-17

Add any other context about the problem here.
E.g. what is the impact of the bug?
Low impact, but still represents broken behaviour.

Hi,
The gdk_version in the gdk-config.json file is used to specify the minimum version of the GDK CLI that is compatible with the component.
All of the existing templates are compatible with GDK v1.0.0 and above. So, you see gdk_version": "1.0.0 in the component templates.


feat(planning_evaluator): push back metric only when output_file_str is defined

Description

Only save output data when the output path is defined, in order to prevent memory leaks.
(default outpuf path defined config file is empty)
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

hmm storing data is helpful to analyse performance i think...


Redundant Quest Accept Prompt

This plugin is by far the best quests plugin I have found for my spigot server, and it works pretty well. However, everywhere I have seen this plugin used (the tutorial video on the site, and other servers), when a player right clicks an NPC with a quest attached, all they have to do is type either "Yes" or "No" to accept or reject the quest. However, on my 1.8 server with this plugin a player has to first type "1" or "0" to accept or cancel, and then "Yes" or "No" to accept, which seems a bit redundant. Is there any way to disable the 1 / 0 prompt?
Thanks.
(Sorry if this is not the place to ask this, I am new to GitHub).

I have never heard of having to do that before. Are you sure you're not using a different plugin?

As far as I know, no. Omcolorful's AngelBeats server has the same method (1/0 then Yes/No). But their SwordArtOnline server has the just Yes/No, just as the tutorial video on the plugin page has. It's basically this format:
~Select one~
0. (Quest Name)

Cancel

Then the Yes/No option (which is the only thing required almost everywhere else I have seen it).  Is it possible there is a unique version? I downloaded the latest version from the Spigot site.

I agree that it's probably in case you have more than one quest per NPC. That said, I'm unsure whether it can be disabled or not.

Well there is an option to set how many quests per NPC in the yml file. I set it to 1, but only after noticing the 1/0, so it still is showing the same format. I will probably try a fresh install and configure that before creating quests.

Please create a new, updated ticket if this is still an issue. Thanks!


Replace Morpho.maximum by Morpho.expand & add expand_mode param in HardsubSign classes

Should be ready to merge


Overhaul of Unit Testing

Have removed performance benchmarks from unit tests for speed increase.
Testing coverage is maintained high and now testing only for sensible input/output on short runs not ability to actually optimise.
TODO:

[x] @MDCHAMP to write unit tests for adaptable.py - I did not know how best to test minimum functionality
[x] Add benchmarking as a separate script which is not run as part of the unit tests

This PR includes a large number of bug fixes found from new unit tests. Turns out the old ones weren't really catching any degenerate behaviour. Bugs squashed include:

KH did not obey sticky bounds
Sticky bounds could play not nice when clamped, added small jitter (1e-12)
Could not pass darwin.genetic_operation subclass as hyperparameter to optimiser - now also tested for
Could not JSON hypers which were ndarray

In addition features added to aid testing:

Greater than as well as less than inequality for animals in the zoo
Equality checks for animals in the zoo
Moved exceptions to new util.py file
Added decorator to enforce inputs to functions are real and finite. See fitness setter for example. N.B. you must specify both the positional arg and kwarg name if you want to check when assigned in both ways.

Codecov Report

Merging #24 (d03da47) into main (59b656c) will decrease coverage by 0.51%.
The diff coverage is 97.77%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
- Coverage   95.71%   95.19%   -0.52%
==========================================
  Files           9       16       +7
  Lines         700      979     +279
==========================================
+ Hits          670      932     +262
- Misses         30       47      +17

Impacted Files
Coverage Δ

src/freelunch/adaptable.py
57.47% <14.28%> (-32.90%)
:arrow_down:

src/freelunch/base.py
98.00% <66.66%> (+10.50%)
:arrow_up:

src/freelunch/util.py
96.66% <96.66%> (ø)

src/freelunch/zoo.py
98.76% <97.72%> (+11.46%)
:arrow_up:

src/freelunch/benchmarks.py
100.00% <100.00%> (+3.63%)
:arrow_up:

src/freelunch/darwin.py
98.83% <100.00%> (ø)

src/freelunch/optimisers.py
97.53% <100.00%> (-1.23%)
:arrow_down:

src/freelunch/tech.py
100.00% <100.00%> (ø)

tests/test_adaptable.py
100.00% <100.00%> (ø)

tests/test_base.py
100.00% <100.00%> (ø)

... and 10 more

Continue to review full report at Codecov.

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

@MDCHAMP I have no idea why failing in 3.6 I can't reproduce. The SA optimiser sees a nan fitness and the krill herd collapses, presumably due to small population...

All tests passing and good coverage, I can merge this now if we are happy?
The benchmarking action now only runs for new PRs, should save a lot of time for local testing.


Update index.html

I made a few changes and additions to the original code. Here's a breakdown of the modifications:
Added a

This PR is related to the Issue #6 @tushargupta1504 there are other contributors collaborating on this as well. So try discussing on the issue thread as well.


Add wildcards to support collection of extended type

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #78   +/-   ##
=========================================
  Coverage     88.92%   88.92%
  Complexity      403      403
=========================================
  Files            24       24
  Lines          1147     1147
  Branches        201      201
=========================================
  Hits           1020     1020
  Misses           59       59
  Partials         68       68

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/wayfair/brickkit/BrickDataManager.java
85.81% <ø> (ø)
124 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Check encryption and decryption

Hello,
when i run token generate and refresh, it successfully create UID2 token for user, but how i can check that token for that user is right or wrong, i can't find funtion to decryption user data

Thanks @ShortRoundDev very much, i forgot that APIs
but my purpose is get raw gmail/phone when call generate success, not just the adv token and times
hope this feature will be implement in the future

Thanks for the message @dotrungkien3210. Are you a publisher or DSP or data provider? Currently only DSP would be able to decrypt a UID2 token to get the raw UID2 value (and then you re-compute the raw UID2 value of a gmail/phone to do the comparison if they match, as it's impossible to get the original gmail/phone from a raw UID2 value).

Hi @dotrungkien3210 I will close this issue for now but if you have any further feedback please reply and we can follow up. Thanks


Closing Brackets

Normally, when typing in a bracket "{", the app automatically closes it. However, this will not work if a closing bracket already exists. For example, when I type in in Java:
class Test {
pubilc void func() { <- here the Bracket won't close...
} <- ... because of this bracket
With the on-screen keyboard, you can close the bracket manually, but I use a physical keyboard and if I type the closing bracket, it would hide the content between that open bracket and the next closed bracket.
It would be like this:
class Test {
pubilc void func() { <-> }
And there is no other way to close this bracket than to disconnect the physical keyboard to close it manually with the on-screen keyboard.
I think it would be enough to remove the function as a shortcut from the physical keyboard.
(hiding stuff after pressing "Alt Gr + }")

Doesn't it close when you hit enter? That works for me, at least with touch keyboard.

It works with the touch keyboard. But I'm using a physical keyboard and when I type the "}" after the open bracket the content between the open bracket and the next closed bracket becomes hidden.

Yes. I tried both Windows and Unix and got the same issue.


Create Hello Earth.cpp

What does the program do ?
Basic C++ Hello Earth code
In what programming language it is written?
C++

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


DOMAIN_SHARD_HEADER is missing in sharding phase spec

process_shard_header uses DOMAIN_SHARD_HEADER, which is not defined in sharding (or prior) specs.

SHARD_COUNT is undefined too, but used in charge_confirmed_header_fees


ApplePodcasts: Unable to extract ember data

Checklist

[ x] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl --verbose "https://podcasts.apple.com/us/podcast/retronauts-episode-459-sonic-the-hedgehog-comics/id672857593?i=1000565401846"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://podcasts.apple.com/us/podcast/retronauts-episode-459-sonic-the-hedgehog-comics/id672857593?i=1000565401846']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.4 (CPython) - Linux-5.17.0-1-amd64-x86_64-with-glibc2.33
[debug] exe versions: none
[debug] Proxy map: {}
[ApplePodcasts]<PHONE_NUMBER>846: Downloading webpage
ERROR: Unable to extract ember data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/ivan/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/ivan/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/ivan/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/ivan/.local/lib/python3.10/site-packages/youtube_dl/extractor/applepodcasts.py", line 42, in _real_extract
    ember_data = self._parse_json(self._search_regex(
  File "/home/ivan/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract ember data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I don't like DRM, so I tried to download podcast by using youtube-dl. As a result i got an error and was told to file and issue

Also to

[ x] I've searched the bugtracker for similar issues including closed ones

This issue is fixed in the git master which you can install using pip from this repo.
Duplicate of #30216.


二维地图是否有设置地图倾斜的参数？

What problem does this feature solve?
地图倾斜后二维地图也能够展现类似2.5D的效果
What does the proposed API look like?
遵照官网规范即可

+1 vote up

解决了吗


Update relative module source paths

Terraform v0.12 requires that relative module sources include the preceding ./ so there is no ambiguity about the module source.

Thanks for the PR! How did you test it?

I will admit that all I did was terraform init locally to prove that the module installed without error, using both terraform 0.11 and 0.12 (built from master). I would be happy to provide better proof!
HashiCorp's Terraform module source docs have specified the requirement for ./ preceding local module sources since v0.10/v0.11ish, but terraform init worked without an error if it was missing.
Starting in terraform 0.12, it's an error and terraform init will fail if relative module paths don't start with ./
First, my main.tf, using my fork:
$ cat main.tf
module "vault" {
  source  = "mildwonkey/vault/aws"
  version = "0.11.5"

  # insert the 4 required variables here
}

Here is the new module install error from the terraform 0.12 (subject to updates before the 0.12 general release)
Error: Module not found

The module address "modules/vault-cluster" could not be resolved.

If you intended this as a path relative to the current module, use
"./modules/vault-cluster" instead. The "./" prefix indicates that the address
is a relative filesystem path.

And here is the success when I bump the module version to 0.11.5 (my fork, with relative module paths):
$ ~/scratch/hcl2/terraform init
Initializing modules...
Downloading mildwonkey/vault/aws 0.11.5 for vault...
- vault in .terraform/modules/vault/mildwonkey-terraform-aws-vault-0e9dee1
Downloading github.com/hashicorp/terraform-aws-consul?ref=v0.4.0 for vault.consul_cluster...
- vault.consul_cluster in .terraform/modules/vault.consul_cluster/modules/consul-cluster
- vault.consul_cluster.iam_policies in .terraform/modules/vault.consul_cluster/modules/consul-iam-policies
- vault.consul_cluster.security_group_rules in .terraform/modules/vault.consul_cluster/modules/consul-security-group-rules
- vault.consul_cluster.security_group_rules.client_security_group_rules in .terraform/modules/vault.consul_cluster/modules/consul-client-security-group-rules

[ etc, etc ]

I am out this week, so I might be slow to respond, but please don't hesitate to ask more questions, and feel free to merge or close this as you see fit.

Understood, thanks. Could you update the other module cross-references in the examples and modules folders?

Sure - I just checked and there are no updates required in modules and examples: all sources there are either properly referenced local paths (source = "../../modules/vault-cluster") or github references.

Thanks! I'll merge this PR and let the tests run then!


PICO-ETM interaction: regional datasets should not use all of NL for potential

For a region the PICO map takes the whole of The Netherlands into account.
I would expect that just the potential of my region is shown and imported in my scenario.
Example for De Bilt

@sfp-kemp Is this a bug in our code or in the PICO library?

Is this issue deploy critical or not?

IMO this is deploy critical. @sfp-kemp what are your thoughts on this?

Steven and I have temporarily removed the PICO-link from BETA. We'll put the link back when this issue is fixed. Then we can still deploy today :)

Meaning that the ETM-PICO interaction won't be available on our LIVE-server before the next deploy, right?

I think we could cherry-pick the fix + add link again (when the bug is at our side) or simply add the link again (when the bug is in the PICO library). So then we do not have to wait for the next deploy. What do you think?

Sounds good to me!

Fixed


fix: fix for registry in package json

Fixes #
Proposed Changes

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Title overlapping

Click on any tab from list and and fling up and down continuously. See the header with overlapped titles

hello i have the same issue
Please did you already solve it ?

Hello, @MissOrnela, @BilalSiddiqui. This issue has just been resolved.


"Dynamic" models/classes/object types.

Right now we have a few static classes that are expandable with extensions and attachments. This is nice, but we should probably offer user-defined structures that are also exposed as true structures in the API.
User experience
Users should be able to do something like this:
POST: /manage/resources/, { "Computers", "fields": { "name": "string, unique", "serial": "string,unique" ...  } }
POST: /resources/computers/, { "name": "test" }
GET: /resources/computers/test

It may also be neat to be able to do:
POST: /manage/resources/, { "Supermicro", parent: "computers"  } }
POST: /resources/computers/supermicro/, { "name": "testmicro", "serial": "5" }
GET: /resources/computers/supermicro/testmicro

This does obviously imply that you can't have a computer object with the name as a subclass.
Oh, and one should then be able to use these dynamic classes for attachments and extensions as we do today.

Another take on this… We can use labels on objects and tie extensions to labels (or label + model). This would allow for rather generic structures based on a set of base models.

https://github.com/jazzband/django-taggit is a solid candidate for tags/labels.

Extensions currently use generic relations to a model, they should probably do that to a tag instead?


helping out with the project

hey this isn't much of an issue but i would like to help out with building on top of this project is possible ... are you working on it often?
asking also because i am building a backtester and want to be able to work with orderflow data but i need to be able to visualize it like you have done
also the volume profile doesn't seem to line up with the heatmap ... at the point of control of the candle aka the part with teh move volume ... the heatmap color is different from each candle ... really have a lot of questions about the project but really want to help out

Hey sorry for the late reply. Yes I am actually working it's javascript alternative in order to create orderflow footprint charts in realtime<EMAIL_ADDRESS>is my email. feel free to ping me and we can setup to discuss what ideas you have.
Thanks

@murtazayusuf great man ... i just sent you an email ... check that out when you can because i would like to setup a meeting asap

Okay great


Fix Sort Ordering with Empty Data

Use maximum Unicode code point as the default sort value for empty values in Elasticsearch, replacing empty string.  The change in this PR will move empty data from the start to the end of a sorted list
I have verified that the sort ordering works as expected after indexing these tables.
In [2]: import sys
   ...: MAX_UNICODE_CODE_POINT_CHAR = chr(int(hex(sys.maxunicode), 16))

In [3]: MAX_UNICODE_CODE_POINT_CHAR
Out[3]: '\U0010ffff'

In [4]: MAX_UNICODE_CODE_POINT_CHAR.lower()
Out[4]: '\U0010ffff'

I'm curious how MAX_UNICODE_CODE_POINT_CHAR works, but otherwise, code makes sense.


Common lisp update

Motivation for this change
Update the Common Lisp collection (lispPackages):

Upgrade to the latest Quicklisp release 2021-08-07.
Add assorted Quicklisp packages.
Remove stale Quicklisp packages
Add mgl and mgl-mat machine learning libraries that are outside Quicklisp.
Fix shell script bug leading to environment space exhaustion.
Update shell.nix and add instructions about doing so.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

I pushed a fix to the syntax error on mgl. The failing lispPackages builds are now iolib, dbus, nyxt, and mgl. I'll troubleshoot when I have a chance and meanwhile the log is at https://gist.github.com/lukego/195feb701abe5996441119149f6cc01b.

Hmmm. OK, so iolib seems to have gained a new test that defaults to resolving a host on the public internet… https://github.com/sionescu/iolib
Sounds like we either need to drop those tests, or replace the address in the test (and compile and run the echo server)

So the failures we have now are iolib, dbus, and nyxt. Just at a glance it seems like iolib is the root cause and the others fail for depending on it.

Relatedly: There's a lot of activity around a new Lisp package management project called CLPM recently and I'm engaging with that crowd to see if there is room to collaborate. In particular I thought that if they are already generating extensive snapshots of Lisp package metadata then perhaps we could potentially import those as a convenient alternative to grovelling Quicklisp ourselves.
See https://gitlab.common-lisp.net/clpm/clpm/-/issues/47 for my braindump on that topic.

What SBCL version is Quicklisp using now? Can we bump our default SBCL to 2.1.9? Currently we are still on 2.1.2, I think.

I hadn't noticed this. I'll try switching the default to 2.1.9 and if it works I'll push it on this branch too. Maybe it will help the caveman package to magically come back :)

So, caveman is still broken in an unclear way with 2.1.9?

The specific error that I get on caveman is obscure but seems consistent with a package not being supported: https://gist.github.com/lukego/08efa6f9d2683d07187d3b95c9b94d7d.
I am not familiar with Caveman. On the one hand Quicklisp seems to list it as supported. On the other hand its Github repo seems to have been replaced with Caveman2 which Quicklisp treats as a separate package. So I don't know what to think about that and am inclined to drop it unless someone specifically needs it.

I am now considering squash-merging

That would suit me fine. If you need any git-fu work from me though just let me know.


DOC: fix typo in diagonal method of spmatrix base class [ci skip]

Reference issue

What does this implement/fix?

set -> get in diagonal method
Additional information

out of curiousity, what is the recommended way to skip CI on Azure? googling indicates maybe including ***NO_CI*** in the message?

Thanks, merged.


Enable disable ab image log and auto scale

What happens if a user only enables logging and disables auto-scaling?

What happens if a user only enables logging and disables auto-scaling?

It is not applied none of logging or auto-scaling. Also if we want to apply logging, the algorithm implicit apply auto scale, it is not possible to have just logging without auto-scale. The function normalizeAB first calculate min max of the ab vector then subtract min value, this is scaling and if we want also log then we apply log formula.


fix: more permissive type assertions

Fixes #3684

Pull Request Test Coverage Report for Build 850489591

5 of 13 (38.46%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.007%) to 85.448%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-azure-blobs/src/blobsStorage.ts
2
5
40.0%

libraries/botbuilder-azure-blobs/src/blobsTranscriptStore.ts
3
8
37.5%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 843088104:
0.007%

Covered Lines:
19214

Relevant Lines:
21389

💛  - Coveralls

In lieu of Github Actions (current status is degraded perf), I've manually run the same CI suite via Dev Ops.

Merging as ADO CI passed.


Update the usage README.md

This clarifies some instructions, as well as uses the “official” Apple images for keyboard layouts.

Thanks!


Infinite loop in vrpn_Endpoint_IP::handle_udp_messages

I'm not sure if to report this bug in vrpn, OSVR-Core or OSVR-RenderManager.
Sometimes the RenderManagerOpenGL*Examples hang when the first call to osvrClientUpdate() is made.
I can reproduce this on Debian 9 if I build the examples like this:
g++ -g -Wall -lGLEW -lGL -losvrRenderManager -losvrClient  -losvrClientKit -losvrCommon  RenderManagerOpenGLCAPIExample.cpp -o  bad
But they work normally if I build them like this:
g++ -g -Wall -lGLEW -lGL -losvrClient -losvrRenderManager -losvrClientKit -losvrCommon  RenderManagerOpenGLCAPIExample.cpp -o  good
The only difference is the link order. The 'bad' link order is the one used in the cmake build of OSVR-RenderManager, so all these RenderManagerOpenGL*Examples hang on Debian 9.
Debugging this a little, osvrClientUpdate() is ultimately calling vrpn_Endpoint_IP::handle_udp_messages without a timeout, and the handling of these messages appears to be taking long enough that more packets are arriving before the previous has been handled, resulting in the loop not terminating.

The VRPN library used for transport has a function Jane_stop_this_crazy_thing() defined in vrpn_Connection.h that is meant to stop this behavior, which happens most often with video data where there is always more data coming.  I was assuming that perhaps the client library or RenderManager was calling this, so that the linking order changed the value of that setting somehow, but neither of them seems to call this.  I can't explain how the linking order changes things, but using this call to place a limit on the number of packets handled during each loop iteration should stop the infinite loop.
If the client application is taking longer than one inter-arrival time to handle the packets, this will convert the infinite loop into a bunch of dropped packets and latency (UDP drops more-recent packets).  Changing the client code to not do heavyweight processing in the callback should remove the problem in a more robust way.

Given that this is one of the example programs and indeed the example program is using the state interface rather than the callback interface, this means that OSVR Core is taking too long to handle the update, which is surprising to me.  I still can't make sense of how changing the linking order changes things, because VRPN is statically linked into all of the libraries that use it.

It is interesting that although it needs the include directories to depend on osvrClient, neither the library code nor the example code require linking against osvrClient (only osvrClientKit) on Windows.

I modified the build in the fix-infinite-loop branch of OSVR-RenderManager to not link against osvrClient, which works on Windows but I'm having a link failure on boost/config.hpp, included by boost/units/quantity.hpp, included by osvr/Util/Angles.h when I try to compile RenderManager on Linux so I can't test it there.  (Not sure how OSVR-Core is compiling; it must be defining -fext-numeric-literals along the way...)  Okay, after defining that compiler flag I can now compile and will test as soon as I reboot to update my X server.  Can you pull that branch and test and see if it fixes the problem on Debian.  If so, I'll go ahead and issue a pull request.

The examples still hang on Debian 9 when built from the fix-infinite-loop branch.
I'm thinking there might be an issue with libvrpn.a being linked in RenderManager, and also in Core.
A few more data points that might be useful: Here's the top 4 functions in the callgrind output of running the 'good' demo:
85,783,736  /home/tom/work/deps/OSVR-Core/vendor/vrpn/vrpn_Connection.C:vrpn_noint_select(int, fd_set*, fd_set*, fd_set*, timeval*) [/usr/local/lib/libosvrCommon.so.0.6]
55,006,938  /home/tom/work/deps/OSVR-Core/vendor/vrpn/vrpn_Shared.C:vrpn_htond(double) [/usr/local/lib/libosvrCommon.so.0.6]
51,649,424  /home/tom/work/deps/OSVR-Core/vendor/eigen/Eigen/src/Jacobi/Jacobi.h:Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::compute(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, unsigned int)
46,212,986  /home/tom/work/deps/OSVR-Core/vendor/vrpn/vrpn_Connection.C:vrpn_Endpoint_IP::handle_udp_messages(timeval const*) [/usr/local/lib/libosvrCommon.so.0.6]
And here's the top 4 from 'bad':
24,278,260  /usr/include/eigen3/Eigen/src/Core/util/XprHelper.h:Eigen::internal::variable_if_dynamic<long, 0>::variable_if_dynamic(long) [/usr/local/lib/libosvrRenderManager.so]
20,941,376  /usr/include/eigen3/Eigen/src/Core/CoreEvaluators.h:Eigen::internal::evaluator<Eigen::PlainObjectBase<Eigen::Matrix<float, 2, 1, 0, 2, 1> > >::evaluator(Eigen::PlainObjectBase<Eigen::Matrix<float, 2, 1, 0, 2, 1> > const&) [/usr/local/lib/libosvrRenderManager.so]
19,140,285  /usr/include/eigen3/Eigen/src/Jacobi/Jacobi.h:void Eigen::internal::apply_rotation_in_the_plane<Eigen::Block<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 3, 1, true>, Eigen::Block<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 3, 1, true>, double>(Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 3, 1, true> >&, Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 3, 1, true> >&, Eigen::JacobiRotation const&) [/usr/local/lib/libosvrRenderManager.so]
18,650,966  /build/glibc-p3Km7c/glibc-2.24/elf/dl-lookup.c:do_lookup_x [/lib/x86_64-linux-gnu/ld-2.24.so]

These traces are consistent with OSVR-Core doing a lot more work in response to incoming messages in one case than it is in the other, thus not being able to complete processing for one report before the next arrives.  I'm assuming that you're running the same server in both cases and thus talking to the same hardware devices, so that the only difference is the linking order.
RenderManager and Core both use and link against VRPN, but they also both use Eigen.  If Eigen is being called in one case but not the other, or taking more time in one case than the other, this would cause the behavior you're seeing.  When I build RenderManager, I point it at the Eigen header files in Core -- are you pointing at them or at another set?  (Considering whether this is a header/library mismatch issue.)

I still have the issue when I build OSVR-RenderManager, pointing it at eigen headers in Core

That looks like -O0 : if you compile Eigen-using code with optimization
totally turned off, then there are a pile of "should be inlined" accessors
that should disappear that don't. -Og is probably a better alternative.
On Tue, Sep 12, 2017 at 3:00 AM Tom Morton<EMAIL_ADDRESS>wrote:

I still have the issue when I build OSVR-RenderManager, pointing it at
eigen headers in Core
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OSVR/OSVR-Core/issues/562#issuecomment-328773444, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADuyZiZisETf6WtJbDmOCKOMdr3U8PKks5shjofgaJpZM4O8lxp
.

--
Ryan A. Pavlik, Ph.D.
CTO - OSVR Platform
Sensics, Inc.
www.sensics.com
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):
Sep 12: Mozart meets Virtual Reality
http://sensics.com/mozart-meets-virtual-reality/
Sep 6: VRguy podcast: Kevin Williams on updates in out-of-home VR
http://sensics.com/vrguy-podcast-episode-26-kevin-williams-discussing-updates-home-vr/
Aug 30: Sensics releases next-generation headset for out-of-home VR
experiences
http://sensics.com/sensics-releases-next-generation-vr-headset-arcades-cinemas-home-vr-experiences/

We just made a merge in OSVR-Rendermanager that may address this issue.  It looks like it may have been overlinking.  Have a look at latest master or at least fa2e92d5daa2f8c0ff79011cfa8d6a96a427c55b and see if that fixes the issue.


Error of 500

I have around 0.1 million files in a folder to which I wanting to list but this application fines for 5k files.
Error found in logs  Mon Apr 23 09:16:28 2018] [error] [client <IP_ADDRESS>] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /apps/data/app/testing/resources/DirectoryLister.php on line 781

It's a Bug with your php config not with this Script / application!
Fix this:
Maximum execution time of 30 seconds exceeded
You can look around here in the issues or use google to find your problem.

https://secure.php.net/manual/en/info.configuration.php#ini.max-execution-time
On Mon, Apr 23, 2018 at 6:59 AM nixmomo<EMAIL_ADDRESS>wrote:

It's a Bug with your php config not with this Script / application!
Fix this:
Maximum execution time of 30 seconds exceeded
You can look around here in the issues or use google to find your problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DirectoryLister/DirectoryLister/issues/197#issuecomment-383585218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADRGxklDehNtjAeOtWFYZv99pmcAQsxks5trd49gaJpZM4Tf4HR
.

--
Chris Kankiewicz • Passionate PHP Developer
https://www.ChrisKankiewicz.com


Upgrading to ArcGis 4.19, cluster text occasionally does not show up on cluster symbol

From what I can tell, it's pretty random when the text symbol shows up or doesn't. I've found that the text symbol is being set correctly, it's just not showing up... maybe a z-index issue? This may be something we can fix on our end, but just wanted to make y'all aware incase others have run into this and can maybe be fixed on your end.
Thanks.

Hi @afillip - I haven't been keeping the up to date with the esri js api versions as I haven't been using the api or this layer in a while. I think you're right, it's most likely a z-index issue on the text element.
If you want to fix it and submit a PR feel free to do so :).
Could be as simple as adding a higher z-index to cluster-text class.
If not somewhere around and below this line  might need to change to sort out how the elements are ordered.
https://github.com/nickcam/FlareClusterLayer/blob/1ad1e5100e09b8b366d57a548552a92261258f8f/typescript/FlareClusterLayer_v4.ts#L834
Could also be a change in the api with how the preview html element is returned in this function, in which case it would need to be updated.
https://github.com/nickcam/FlareClusterLayer/blob/1ad1e5100e09b8b366d57a548552a92261258f8f/typescript/FlareClusterLayer_v4.ts#L843
Cool styles on your clusters as well!

Thank you, I like them too! Was all our designer's choice, but I appreciate it :)
And thanks for such a quick turnaround on the tips, i'll try them out and submit a PR if I find a solution!

@afillip I am also thinking about moving to ArcGis 4.19. how did you manage dojo dependency ?
@nickcam any planning to update to 4.19 without dojo ?

Hey @apaleja, we upgraded to ArcGis 4.19 but are not using their new modules yet. It was just going to be too much work replacing all the dojo dependencies with the new modules, so we're waiting until we have a little more bandwidth.

@afillip we are planning to upgrade to 4.19. and also we are not using dojo anywhere in the project but this library uses dojo which I think will be an issue. Any pointers ? We are using webpack and react.

Hi @afillip and @apaleja, I didn't know esri had removed the dependency on dojo...it's about time I reckon!
Last I heard it was going to move to dojo2....or maybe it already had, I don't know 🤷♂.
Anyway the dojo modules used in the layer are only there as dojo was being loaded by the api anyway so I used them as helpers to do some DOM manipulation. I don't think there's dojo related stuff in there that couldn't be swapped for vanilla javascript with a few more lines of code. Would have to confirm that though.
If I get some time I'll take a look as it would be good to ditch dojo and upgrade to the latest version, but no guarantees on when or if that would happen. Happy to review and accept PR's though 😄.


Fixing HIP link

HIP API Reference Manual

It is part of the grid card item identifying it as HIP. There is no need to repeat HIP.


Newly introduced e-mail address

In preparation for a proper admin interface, Budgeteer has introduced an e-mail address for users and warns me that I ought to enter one. Good migration policy!
However, in the “Edit User” dialogue that follows, I am forced to change my password (ok, i could enter the old one three times...) in order to add an e-mail address. This should not happen:

People should be able to change their e-mail address without changing their password. Forcing “current password” to be given is ok.
It is ok that if new password is given, both retype new password must be given (and identical) and the e-mail address should be given and well-formed.

The user is not forced to type in a new password. You can change only the username or the email and leave all three password fields empty and the form will be submitted successfuly.  Perhaps we did not make that clear. The only issue I found was that when changing the username, the user has to log out and then back in. That should be an easy fix.
As for changing the password.
Would something like the checkbox in the second option in the following mockup be more clear?

(Change password in our case, not username)

Perhaps we did not make that clear.

No, it was how form validation worked. As the stars on the left hand side suggest, new password and repeat password were just mandatory fields, error message “The new password may not be empty!”
Regarding the change of the user's name, of the given two I'm more in favor of option N2, but let me suggest separating these two items even further, see my [Budgeteer UI Suggestions.pdf].(https://github.com/adessoAG/budgeteer/files/2610275/Budgeteer.UI.Suggestions.pdf)

Hmm, that's strange, it seems to work for me, maybe it's because you are always entering the old password? But anyway, the form will be remade as you suggested. Thank you very much for the mockups, they look very nice and I we will implement them. :)

You are of course right about me always entering the old password, as many tools today enforce a password to change sensitive profile information.
The mock-ups were made using Balsamiq Mockups 3. If you are interested in the source file kindly send a PN.

This has been implemented in PR #322


🐛 Bug: unnecessary files published

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Expected
The npm package contains the minimal files required to run the code
Actual
<EMAIL_ADDRESS>
Additional Info
Can either use .npmignore to ignore files, or package.json files: string[] to specify which files to publish.

AH yes thanks - at some point Soon ™ I will go through all my repos and standardize their tooling on template-typescript-node-package. Which does use package.json files: string[].
(I've been procrastinating doing that as there are still some niceties (https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/23, https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/139, https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/303, https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/312, https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/319, https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/371) I'd like to get in first, so I don't have to re-apply them to all the repos)
This particular issue should be pretty straightforward to port to console-fail-test / other repos if you'd like to have it fixed in the meantime! Accepting PRs. Thanks for filing!


There is no document to disable grant types

We can edit the identity.xml file to disable mentioned grants in  section. But to disable implicit grant we have to remove SupportedResponseType which ResponseTypeName is “token”.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


How to add extra left inset for incoming and rights inset for outcoming?

I want to achieve kinda this layout:

All I need is:
collectionViewLayout.messageBubbleTextViewFrameInsets = UIEdgeInsetsMake(0, CHAT_MARGIN, 0, 0);

Thanks @orkenstein ! :smile:


Onepastend

Introduce a OnePastEnd option for the pointer immediately after the
end of the allocation.  This simplifies some of the logic in callers,
where they wants to say 'is base + length safe to use?'.
Also restructure some of the other logic somewhat.

I'll rebase once #25 is in.


add snapshot mock

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 78 (10.26%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.1%) to 2.18%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

vitup/src/mode/mock/mock_state.rs
0
5
0.0%

vitup/src/mode/mock/rest/mod.rs
0
32
0.0%

vitup/src/mode/mock/snapshot.rs
8
41
19.51%

Files with Coverage Reduction
New Missed Lines
%

vitup/src/mode/mock/mock_state.rs
1
0%

vitup/src/mode/mock/rest/mod.rs
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
94

Relevant Lines:
4311

💛  - Coveralls


Fix broken bootstrap css url

Seems like we might need to vendor that grid.css in later. Merging for now.


cannot find package "github.com/cenkalti/backoff/v3"

Hello, I'm new to Go and ran into this when trying to install.  I was eventually able to get it to work by manually copying things in place but wanted to report it.  Not sure if it's more so on the acme-dns or backoff side, but I imagine that this is supposed to come together differently than how I had to do it.
root@ubuntu-18:~# uname -a
Linux ubuntu-18 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

root@ubuntu-18:~# which go
/usr/local/go/bin/go

root@ubuntu-18:~# go version
go version go1.13.5 linux/amd64

root@ubuntu-18:~# go get github.com/joohoi/acme-dns/
package github.com/cenkalti/backoff/v3: cannot find package "github.com/cenkalti/backoff/v3" in any of:
	/usr/local/go/src/github.com/cenkalti/backoff/v3 (from $GOROOT)
	/root/go/src/github.com/cenkalti/backoff/v3 (from $GOPATH)

Go tried to fetch it, as I can see the following in the directory but no v3 dir:
root@ubuntu-18:~# tree /root/go/src/github.com/cenkalti/
/root/go/src/github.com/cenkalti/
└── backoff
    ├── backoff.go
    ├── backoff_test.go
    ├── context.go
    ├── context_test.go
    ├── example_test.go
    ├── exponential.go
    ├── exponential_test.go
    ├── go.mod
    ├── LICENSE
    ├── README.md
    ├── retry.go
    ├── retry_test.go
    ├── ticker.go
    ├── ticker_test.go
    ├── timer.go
    ├── tries.go
    └── tries_test.go

1 directory, 17 files

My manual fix was clone backoff elsewhere and manually copy the checked-out v3:

git clone https://github.com/cenkalti/backoff.git /root/backoff
cd backoff/
git checkout v3
mkdir /root/go/src/github.com/cenkalti/backoff/v3
cp -R * /root/go/src/github.com/cenkalti/backoff/v3

Running the steps from your manual fix worked. Thanks!

@roncanepa Were you able to run the acme-dns after installing your fix?
I am getting this particular error:
ubuntu@ubuntu16:~/go/bin$ sudo acme-dns
INFO[0000] Using config file                             file=/etc/acme-dns/config.cfg
INFO[0000] Connected to database
DEBU[0000] Adding new record to domain                   domain=acme.example.com. recordtype=SOA
INFO[0000] Listening DNS                                 addr="<IP_ADDRESS>:53" proto=udp
INFO[0000] Listening DNS                                 addr="<IP_ADDRESS>:53" proto=tcp
INFO[0000] 2020/01/07 21:21:15 [INFO][cache:0xc000098500] Started certificate maintenance routine
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x7e0b85]

goroutine 10 [running]:
time.(*Timer).Stop(...)
	/usr/local/go/src/time/sleep.go:74
github.com/cenkalti/backoff/v3.(*defaultTimer).Stop(0xc000010220)
	/home/ubuntu/go/src/github.com/cenkalti/backoff/v3/timer.go:32 +0x25
github.com/cenkalti/backoff/v3.RetryNotifyWithTimer.func1(0xb8abc0, 0xc000010220)
	/home/ubuntu/go/src/github.com/cenkalti/backoff/v3/retry.go:45 +0x31
github.com/cenkalti/backoff/v3.RetryNotifyWithTimer(0xc0001760c8, 0x7f9787d85068, 0xc000167a20, 0x0, 0xb8abc0, 0xc000010220, 0x0, 0x0)
	/home/ubuntu/go/src/github.com/cenkalti/backoff/v3/retry.go:53 +0x34d
github.com/cenkalti/backoff/v3.RetryNotify(...)
	/home/ubuntu/go/src/github.com/cenkalti/backoff/v3/retry.go:31
github.com/cenkalti/backoff/v3.Retry(...)
	/home/ubuntu/go/src/github.com/cenkalti/backoff/v3/retry.go:25
github.com/go-acme/lego/acme/api.(*Core).retrievablePost(0xc0001121e0, 0xc0004bee40, 0x3a, 0xc00014a920, 0x1d, 0x20, 0x9d49a0, 0xc0001c34a0, 0xc000104208, 0xc0001c3500, ...)
	/home/ubuntu/go/src/github.com/go-acme/lego/acme/api/api.go:107 +0x210
github.com/go-acme/lego/acme/api.(*Core).post(0xc0001121e0, 0xc0004bee40, 0x3a, 0xa7e540, 0xc0001c3500, 0x9d49a0, 0xc0001c34a0, 0x0, 0xc0001042d0, 0x7e1b1e)
	/home/ubuntu/go/src/github.com/go-acme/lego/acme/api/api.go:70 +0xf5
github.com/go-acme/lego/acme/api.(*AccountService).New(0xc0001122a0, 0x0, 0x0, 0x116f2b0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, ...)
	/home/ubuntu/go/src/github.com/go-acme/lego/acme/api/account.go:16 +0x150
github.com/go-acme/lego/registration.(*Registrar).Register(0xc000167920, 0xc00007fb01, 0xc0000ce540, 0x3a, 0xc0004e2cb8)
	/home/ubuntu/go/src/github.com/go-acme/lego/registration/registar.go:58 +0x139
github.com/mholt/certmagic.(*Config).newACMEClient(0xc0001120f0, 0x0, 0x0, 0x0, 0x0)
	/home/ubuntu/go/src/github.com/mholt/certmagic/client.go:221 +0x3d7
github.com/mholt/certmagic.(*Config).newManager(0xc0001120f0, 0xc000028700, 0xf, 0x0, 0x0, 0x0)
	/home/ubuntu/go/src/github.com/mholt/certmagic/client.go:121 +0x3ad
github.com/mholt/certmagic.(*Config).ObtainCert(0xc0001120f0, 0xb8c840, 0xc000026088, 0xc000028700, 0xf, 0x0, 0x0, 0x0)
	/home/ubuntu/go/src/github.com/mholt/certmagic/config.go:455 +0xc6
github.com/mholt/certmagic.(*Config).manageOne(0xc0001120f0, 0xb8c840, 0xc000026088, 0xc000028700, 0xf, 0xa96d60, 0xc0000f5120)
	/home/ubuntu/go/src/github.com/mholt/certmagic/config.go:411 +0x115
github.com/mholt/certmagic.(*Config).manageAll(0xc0001120f0, 0x0, 0x0, 0xc0001773d8, 0x1, 0x1, 0x0, 0x0, 0x0)
	/home/ubuntu/go/src/github.com/mholt/certmagic/config.go:394 +0x1d1
github.com/mholt/certmagic.(*Config).ManageSync(...)
	/home/ubuntu/go/src/github.com/mholt/certmagic/config.go:320
main.startHTTPAPI(0xc000062960, 0xc0000264b0, 0xc, 0xc0000264e0, 0x4, 0xc000028700, 0xf, 0xc000026540, 0xa, 0xc000028760, ...)
	/home/ubuntu/go/src/github.com/joohoi/acme-dns/main.go:166 +0x1025
created by main.main
	/home/ubuntu/go/src/github.com/joohoi/acme-dns/main.go:92 +0x977

Any ideas?
In that newly created v3 directory I checked out:

branch v3
branch v4
master
v3.0.0

I'm getting the same error. Do I need to rebuild something after I tested each version of backoff?
I don't know much about GO, wondering if this needs to change to get a newer version?
https://github.com/joohoi/acme-dns/blob/aa3e7e1b752df84fa4906dd49c45f3b77a181fe3/go.sum#L40-L41

This should get fixed by the pull request referenced above.

What did #203 fix?
I'm still getting the missing backoff errors as of right now. Steps to reproduce.
host:~ user$ docker run -it ubuntu:18.04 bash
root@8093db754b7f:/# apt-get update
root@8093db754b7f:/# apt-get install wget git gcc
root@8093db754b7f:/# wget --no-check-certificate https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz
root@8093db754b7f:/# tar -C /usr/local -xzf go1.13.5.linux-amd64.tar.gz
root@8093db754b7f:/# echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile
root@8093db754b7f:/# source /etc/profile
root@8093db754b7f:/# go version
root@8093db754b7f:/# go get github.com/joohoi/acme-dns/...
package github.com/joohoi/acme-dns
	imports github.com/cenkalti/backoff/v3: cannot find package "github.com/cenkalti/backoff/v3" in any of:
	/usr/local/go/src/github.com/cenkalti/backoff/v3 (from $GOROOT)
	/root/go/src/github.com/cenkalti/backoff/v3 (from $GOPATH)

Ah, you are right. I only updated the dependency map. The issue is indeed with the go modules and go-lego dependency. To mitigate the gomodule issue:
git clone https://github.com/joohoi/acme-dns
cd acme-dns
export GOPATH=/tmp/acmedns
go build

I'll update the installation instructions in README.md. Thanks for pointing this out!

Thanks, I'll try it out after your README.md updates.


Bump huggingface-hub lower version to 0.21.2

This should fix the version compatibility issue when using huggingface_hub < 0.21.2 and latest fsspec (>=2023.12.0).
See my comment: https://github.com/huggingface/datasets/pull/6687#issuecomment-1976493336

EDIT: the fix has been released in huggingface_hub 0.21.2 - I removed my commits that were using huggingface_hub@main

Please note that people using huggingface_hub < 0.21.2 and latest fsspec will have issues when using datasets:

https://github.com/huggingface/lighteval/actions/runs/8139147047/job/22241658122?pr=86
https://github.com/huggingface/lighteval/pull/84

CC: @clefourrier

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@lhoestq if you agree, I could make a patch release tomorrow morning.

sure :)


[Bug]: Healthcheck for Postgresql in the Authentic service could not get in healthy state

Description
Healthcheck for Postgresql in the Authentic service could not reach a healthy state. This is because the compose variable SERVICE_USER_POSTGRESQL is used as a container env variable in the healthcheck.
A quickfix is to use the container env variable POSTGRES_USER which receives the data from the compose variable SERVICE_USER_POSTGRESQL.
Minimal Reproduction (if possible, example repository)
Create and start the Authentic service. Watch how Postgres never gets healthy.
Exception or Error
No response
Version
v4.0.0-beta.297

Here is a PR that fixes this issue: https://github.com/coollabsio/coolify/pull/2613


ip2location correctly reports as London, UK, but wttr.in is giving me weather for Annan, UK

Every GeoIP service I've tried correctly sees my IP address as London UK - but wttr.in is reporting the weather for a location "Annan, UK" (Somewhere I had to look up, as I'd never heard of it!)

@godeater Thank your for reporting it. Could you please share your IP (at least the first three octets)?

@chubin Sure - should have included that in the first place:
86.184.37.xxx

Actually, I've just noticed it's getting it even more wrong when I'm at work (and you can have the full IP there - don't care about work's network :) )

$ dig +short myip.opendns.com @resolver1.opendns.com
<IP_ADDRESS>
$ curl https://wttr.in/?0qnT
Oymyakon, Russia
\  /       Partly cloudy
_ /"".-.     6..8 °C
_(   ).   ↖ 14 km/h
/(_()  20 km
0.0 mm
$ geoiplookup <IP_ADDRESS>
GeoIP Country Edition: GB, United Kingdom
`

Should be better now, please check:
ic$ curl wttr.in/@<IP_ADDRESS>?q0
Bethnal Green, United Kingdom

    \  /       Partly cloudy
  _ /"".-.     12..13 °C
    \_(   ).   → 9 km/h
    /(___(__)  10 km
               0.0 mm
ic$ curl wttr.in/@<IP_ADDRESS>?q0
Staines-upon-Thames, United Kingdom

    \  /       Partly cloudy
  _ /"".-.     9..11 °C
    \_(   ).   → 13 km/h
    /(___(__)  10 km
               0.0 mm

Fantastic - much better now - thanks for such a speedy fix.

@godeater Are these location correct (especially Staines-upon-Thames), or would you prefer London instead?

The Bethnal Green one is close enough.
The Staines-Upon-Thames one may well be where our datacenter is, so is probably also true enough.

@godeater Thank you!


Falco 0.36. Rules Messaging

What to document
Discuss the rules release note and general messaging for Falco 0.36.0 with respect to rules changes.
CC @leogr @LucaGuerra @loresuso @darryk10 @Andreagit97 @jasondellaluce

Starting with some thoughts around libs changes that influence Falco's existing fields and rules behavior:
We are excited to share that we have undertaken enhancements to Falco's underlying libraries. As a result of these improvements, we have achieved a higher level of accuracy and data quality regarding the existing proc.exepath and the process tree reconstruction in general. This step forward reinforces our commitment to refining Falco and providing you with an even better user experience.
In more detail:

The proc.exepath process executable path is now obtained through direct retrieval within the kernel drivers by converting the dentry into an ASCII path name when a process is spawned. In the past, we resolved the exe argument in userspace by utilizing the process's cwd when the path was not absolute. Conversely, if exe was absolute, the exepath was equivalent to exe. The new implementation ensures the extraction of the authentic and accurate disk path of the executable when it resides on the disk. An interesting scenario where the field's significance has changed is when the executable path was symlinked. Previously, distinguishing between a symlink and the actual executable path on the disk posed a challenge. Now, we can confidently assert that proc.exepath consistently represents the genuine executable path on the disk. Should you still require information about the symlink, a new field has been introduced: proc.exepath_symlink.
The Linux kernel presents intriguing edge case behaviors, where the direct parent process might genuinely have already exited. For instance, the container_entrypoint macro and its description offer a perfect illustration of this. In the past, Falco encountered difficulties in continuing to reconstruct the parent process lineage in such situations. To address this, we've enhanced Falco's logging capabilities. Now, even in scenarios where the parent process has exited, Falco can continue reconstructing the process tree. This enhancement enables us to consistently provide an accurate and up-to-date representation of how the Linux kernel perceives the process tree at any given moment. Nevertheless, it's crucial to highlight a key aspect: While logging a history of all spawned processes might seem synonymous with the process tree lineage, this equivalence does not always hold true. Cases involving rapid PID replacements and other factors can challenge this assumption. Please bear this in mind and understand that Falco's approach mirrors the Linux kernel's process tree view at a specific point in time.

[Note: I am trying to strike a balance between providing some technical details, but not too much either]
As I have time I will continue adding thoughts to this issue ...

Ref about syslinks https://github.com/falcosecurity/libs/pull/1300


tryAgainImmediately seems to be running always...

also, it should be renamed to runImmediatelyAfterFail

fixed in https://github.com/jasonraimondi/promise-watch/commit/72111b940d8b3ea198089a2f2d614637ab23d85d


[GOBBLIN-1372] Generalization of GobblinClusterUtils#setSystemProperties

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
https://issues.apache.org/jira/browse/GOBBLIN-1372
Description
This PR mainly is for refactoring the method GobblinClusterUtils#setSystemProperties. The problem was: There are some unnecessary details being exposed: JAVA_TMP_DIR_KEY and resolution of YARN_CACHE are all very specific to Gobblin-on-YARN applications. These things shouldn't be set through if-branch but through configurations only.
After refactoring:
There's no specific key/value matching within setSystemProperties method, and we don't lose the capability for limiting resolution of YARN_CACHE only for a specific set of configuration with being backward-compatible.
Also, the refactor also let the program to set additional configuration with value specified as YARN_CACHE using the following pairs:
gobblin.cluster.systemPropertiesList.YARN_CACHE=grape.root
gobblin.cluster.sysProps.grape.root=YARN_CACHE

If trying to achieve the same purpose as -Dgrape.root=YARN_CACHE
Also, it adds a bunch of entries in the .gitignore file.
Tests
Unit tested with resolution cases.
Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@sv2000  @Will-Lo  Please help take a look, thanks

@sv2000  @Will-Lo  Please help take a look, thanks

Codecov Report

Merging #3213 (6a263e7) into master (f4c7513) will increase coverage by 32.72%.
The diff coverage is 92.30%.

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

Codecov Report

Merging #3213 (6a263e7) into master (f4c7513) will increase coverage by 32.72%.
The diff coverage is 92.30%.

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


Possible to reference another column value?

I'm attempting to have a column that references another column(s) in the same row, preferably in the normal angular templating fashion of {{ var }}. So I'd have something along the lines of

First Header
Second Header
Combined Columns

Content from cell 1
Content from cell 2
{{ first_column }} - {{ second_column }}

Content in the first column
Content in the second column
{{ first_column }} - {{ second_column }}

Where the last column would output the actual values of the first and second columns. But, of course, if I set the value of the cell to {{ first_column }} - {{ second_column }} it literally prints out {{ first_column }} - {{ second_column }}. I've messed with the cellTemplate, tried adding in a $compile, moving things around, but I'm always either getting the literal string or nothing.
Is it possible to do this in the current ui-grid? If not, is there any plan for this to be implemented? This is something I could do on the server side, but it would be much cleaner to be able to do it client side, especially if it's bound.

You should be able to do it, but I think your format would be:
  {{ row.entity.column_1 - row.entity.column_2 }}

Thanks for the quick reply, Paul.
I was actually looking to do this in the column data itself, but your reply made me realize that I can do it at the column settings level instead and achieve the results I'm looking for so I'm probably going to go with that.
But, out of curiosity, is it possible to do this with the cell data? I jsut tested it within the cellTemplate and it worked, but in the cell itself it's just printing out the literal value of {{ row.entity.column_1 - row.entity.column_2 }}.

With ui-grid, you can bind a column to a function, and that function could add the two items together.  But you need to insert the function into the row itself.  So you could in theory do:
  angular.forEach(myData, function(dataRow) {
    dataRow.calculatedValue = dataRow.value1 + dataRow.value2;
  });

and then declare your column field as name: 'calculatedValue'.
I think one of the tutorials does something like this, I don't recall the exact syntax.

Awesome, thanks for the info.


Use tags to mark crate release versions

Is it possible/reasonable to tag versions of the esp-idf-sys crate that are released to crates.io? I'm hoping to see at a glance what the source is for different crate versions. Tags seem like a natural approach for this.

Ah! I opened this issue in the wrong repo... :/
I was exploring a build error that seems to propagate up from esp-idf-sys and opened the issue in wrong browser tab; my apologies.


Compiler Error during Installation of librealsense Libraries

Required Info

Camera Model
D435

Operating System & Version
Ubuntu 16

Platform
Raspberry Pi

Issue Description
I am trying to connect an Intel RealSense D435 to my Raspberry Pi by following the instructions in Linux Ubuntu Installation, but because I've had no experience in programming the Raspberry Pi, I've run into a couple of problems that may be due to a fundamental misunderstanding of how coding works.
I've made my way to the last line of code: sudo make uninstall && make clean && make && sudo make install. However (and this has occurred a couple of times before), I get an error such as the one in the pictures down below. Sometimes Ubuntu just crashes altogether. Another problem before the installation is that Ubuntu cannot find anything to uninstall (hence: "cannot find install manifest").

Attempts

Initially, I could not navigate to the librealsense directory. I solved this problem by cloning the librealsense files from GitHub.
I tried typing in git checkout v2.17.0 as a user previously advised before the make and cmake.
I have bought a charger that supplies more current as the lightning bolt consistently shows up without it.
I am now considering updating the build toolchain to gcc-5 as the error message includes a link about that and maybe creating a swap file in case the RAM capacity is not sufficient.

Questions/Other Issues

I also had problems when installing Intel RealSense permission scripts:
sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger
When I enter these two lines of code, it sometimes prompts me for my password, then it just moves to the next line as if I hadn't typed in anything then hit enter. Is something else supposed to happen?

Because of the ambiguity of which directory I should be doing all of this, I've been using /home as my root until the instructions tell me to switch to the librealsense directory. In the final line of code, I've been using the /build branch located in librealsense.

Finally, I've been skipping the steps that apply to only Ubuntu 14 because the version of my operating system is Ubuntu 16. I also skipped the steps regarding kernel modules (as stated in Intel® RealSense™ D400 cameras with Raspberry Pi) according to the directions. I don't know if this is the right procedure especially because when I start up my Raspberry Pi, the boot screen notifies that it has "failed to start Load Kernel Modules".

Hi @ShadowHunter0510
I think this will have a rather simple solution
In installation.md it states:

Note: If you encounter the following error during compilation gcc: internal compiler error it might indicate that you do not have enough memory or swap space on your machine. Try closing memory consuming applications, and if you are running inside a VM increase available RAM to at least 2 GB.

You can use the following guide to set-up a swap file - how-to-add-swap-space-on-ubuntu-18-04
It's been a while since I built the SDK on a Pi, but I did run compilation on a ROC-RK3328-CC, and had the same exact problem, that was resolved after setting up a swap file.
As for udev rules and other steps, I think you are on the right track, please let us know if you encounter any problems.
Patching can be an issue if the kernel is monolithic (which is often the case for single-board computers).
However, there is a decent chance the camera will work without patching. It depends on the kernel version, you can check with uname -r. Most 4.4s will offer streaming, 4.16 will also support hardware timestamps without patching.
If you do encounter issues related to patching, please consider to add -DFORCE_LIBUVC=true to your CMake command. This mode uses somewhat different driver stack, that works better on some systems.

Thank you so much for your prompt response, @dorodnic
I will try to set up a swap file as indicated in the link. After entering uname -r into terminal, I can confirm that my kernel version is 4.19.8-v7+.
Upon digging around in my files, I also realized that a folder for librealsense was created in my home folder. Should I delete this folder before attempting installation again?

I think 1GB should do it. If you run into the same problem - try increasing it again. Also (this helped me on some occasions) close Firefox / Chromium when building the SDK to save memory.
There are also ways to cross-compile (build the SDK for the Pi on your main PC and copy the file to the Pi)
4.19 should require no patching for the D435. There has been some reports of problems with the latest 4.19, so consider using the LIBUVC route (should work on any kernel)
You don't have to delete the other folder.

I have an update. At around 42% (where it normally fails) some warnings pop up regarding ISO C++11 and macro ‘QW_TO_QUAD’. I’m not sure about the significance of this, but the complication continues to run despite these warnings.

Hi @dorodnic
The compiler successfully finished. I’m a bit confused on how to open the software, however. I tried plugging the Intel RealSense D435 Camera into one of my USB ports on my Raspberry Pi, but nothing comes up on the computer screen. Is an application supposed to automatically start or must I physically run and execute the Intel RealSense Viewer?


Grid and Nested Content

We've noticed with the Matryoshka package installed, we see the following in the DTGE using Nested content:

If we remove the package, the nested content styles correctly.

I thought I'd raise this:
Umbraco 8.11.1
Matryoshka 0.7.0

This is a dupe


when does the push.on('notification',eventHandler) get called?

Hi,
Does anyone know when does the eventHandler get called?
Following behavior is what I need.
1.the eventHandler get called when in the background, so the badge would be re-calculated.
2.when the user click the app on the OS home menu, It would remain the same status(last viewed page).
3.when the user click on the notification in the shade, the app should know which notification were clicked, therefore it could parse the payload and then redirect the route to the specified page.
How can I do this by an eventHandler?
Thanks.

I've not found a way around this. It seems like you either perform an action when the notification is received or you don't. There doesn't seem to be an option to perform an action when clicking the notification.
Only way for custom call back on click seem to be with Actions.
Appreciate if anyone has a solution to this.

Read this, let me know if it answers your questions.
http://macdonst.github.io/push-workshop/module7.html

Closing for inactivity


Android Basics: Introduction to Room and Flow

Maybe I'm doing something wrong, but I'm getting and error with dependency line starting with "kapt ...". If I add "id 'kotlin-kapt'" to the plugins section of the gradle file, it seems to work again. Maybe this is caused by kapt seeming to be depreciated.

I just realized that the solution (main branch) actually uses the new ksp and thus works fine. the instructions though say to use kasp.


User me fields to Identity

https://github.com/rancher/rancher/issues/8744

The first commit doesnt seem right to me. I don't understand why the generator would create those changes since I just updated the codebase earlier today. What version of rancher did you run the generator against?

@cjellick oh is it? I'll rebase with master again and run the generator

LGTM


config.json dosen't work?

I added the script on sd-webui and it work.
But I changed "tagFile" to customtags.csv and "maxResults" to 8 but there is no my custom tags csv and maxresults still is 5

Very likely a cache issue, hit CTRL+F5 to force the browser to reload.

Very likely a cache issue, hit CTRL+F5 to force the browser to reload.

oh it work thanks


Scene breaks after name change v1.1.1

I had  a scene with some lights and changed its name and the global illumination to off.
That made foundry unable to load the canvas.
I was able to open the map as soon as I disabled Lichtgeschwindigkeit. After I deleted all the lights on the scene and turned it on again it worked fine.
vtt 0.8.7
Pathfinder2 <IP_ADDRESS>21
Lichtgeschwindigkeit 1.1.1

Please check if there are any errors in the javascript console (press f12 to open the console) when the world fails to load. If so, please attach the error message and debugging data to this issue.

This is possibly the same bug as #10, but to verify this I'll need the debugging data.

Since a lot of similar issues have been fixed since this issue has been reported and there is no feedback from the issue author I'm assuming this issue is resolved. Should the issue persist feel free to reopen this issue.


Sample Gradle Project containing Android and iOS

It would be very helpful to have a sample project to start with satisfying this folder structure:
workspace
│   .gitignore
│   build.gradle
├───android
│   │   build.gradle        // dependency on ':shared'
│   └───src                 // src/main/java/...
├───shared
│   │   build.gradle        // apply 'java' then 'j2objc' plugins
│   ├───build               // build directory
│   │   ├───...             // build output
│   │   ├───binaries        // Contains test binary: testJ2objcExecutable/debug/testJ2objc
│   │   └───j2objcOutputs   // j2objc generated headers and libraries
│   ├───lib                 // if library jar has source, then j2objc can translate it
│   └───src                 // src/main/java/... i.e. main code for translation
└───xcode
    ├───Project             // j2objcXcode configures dependency on j2objcOutputs/{libs|src}
    └───ProjectTests        // j2objcXcode configures the same except "debug" libraries

The sample project should:

help people to start very fast developing cross platform projects
it should include the j2objc plugin with a valid default configuration
contain some "Hello World" output in the Android and iOS part
should be a valid project for Android Studio
should contain an Xcode project

I will do that but I still need some help from you @advayDev1 @brunobowden  to figure out some missing parts. Here is a structure I created so far: https://github.com/confile/Demo-Shared-iOS-Android-Project
Happy to get comments.

This is great @confile. I was thinking of renaming the "xcode" folder as
"ios" since that's what most people are using it for. This'll be extremely
helpful for people.
On Fri, Jun 12, 2015 at 8:52 AM Michael Gorski<EMAIL_ADDRESS>wrote:

It would be very helpful to have a sample project to start with satisfying
this folder structure:
workspace
│   .gitignore
│   build.gradle
├───android
│   │   build.gradle        // dependency on ':shared'
│   └───src                 // src/main/java/...
├───shared
│   │   build.gradle        // apply 'java' then 'j2objc' plugins
│   ├───build               // build directory
│   │   ├───...             // build output
│   │   ├───binaries        // Contains test binary: testJ2objcExecutable/debug/testJ2objc
│   │   └───j2objcOutputs   // j2objc generated headers and libraries
│   ├───lib                 // if library jar has source, then j2objc can translate it
│   └───src                 // src/main/java/... i.e. main code for translation
└───xcode
├───Project             // j2objcXcode configures dependency on j2objcOutputs/{libs|src}
└───ProjectTests        // j2objcXcode configures the same except "debug" libraries
The sample project should:

help people to start very fast developing cross platform projects
it should include the j2objc plugin with a valid default
configuration
contain some "Hello World" output in the Android and iOS part
should be a valid project for Android Studio
should contain an Xcode project

I will do that but I still need some help from you @advayDev1
https://github.com/advayDev1 @brunobowden
https://github.com/brunobowden to figure out some missing parts. Here
is a structure I created so far:
https://github.com/confile/Demo-Shared-iOS-Android-Project
Happy to get comments.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/161.

I will create a working project and make a pull request when it is finished. Please give me feedback if you want something different.

Thanks Michael
On Fri, Jun 12, 2015 at 9:28 AM Michael Gorski<EMAIL_ADDRESS>wrote:

I will create a working project and make a pull request when it is
finished. Please give me feedback if you want something different.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/161#issuecomment-111547076
.

@confile, this is awesome, not only will this help new folks but we could possibly use it for integration tests as well.

@brunobowden @advayDev1 How should we process here. Please guide me a bit. Should I make a pull request first and you then make comments?

i'm ok with that.  don't worry about the integration testing itself, we can do that as a separate PR.

@advayDev1 Okay pull request is coming. The goal should be to create a demo project using for Xcode and for Android Studio.

closing as dupe of #370


Fix of #1581 Crash after granting permission.

Title:
location permission fix for 2.8-release
Fixes #1581 Crash after granting permission
Fixes bug of GPS enable dialog not dismissed
Description:
area: NearbyActivity, LocationServiceManager
Null check in LatLing getLKL method with replacing content of return with calling method that already exists "getLastLocation()".

App will not crash 1st time granting permission.

Fixing bug in NearbyActivity. Dialog (enable gps) was not dismissed in activity after pressing positive button and turning on gps.

Dialog (enable gps) will disappear and if gps is disabled again it will reappear.

{In case it is usable please assign me to #1581 and mark as resolved, so that i can show it to my teacher in class as proof. Thank you.}
Tested:
on API 27 & Nexus 5X (emulator), with {BetaDebug}

I can't seem to reproduce #1581 with master so am unable to test whether this actually fixes the issue. Could you suggest an exact emulator configuration, ideally with super specific steps.
I've tried:

Galaxy Nexus API 15
Galaxy Nexus API 27
Galaxy Nexus API 28
Real device: Samsung Galaxy S6 API 25

Sorry for your time spent. I left comment in #1917 and probably should have type there reference to my merge request as well. This was intended for release version as "hot fix" because app used to crash with this error and google store version. Problem was solved by someone else with null check in master. Meanwhile 2.8 and master was merged so this merge request lost its meaning. Other changes were more about 1 less declaration and reusing (small) existing method in another which is not mandatory for this fix. Thank you @domdomegg .

No problem ;)
Glad the bug is fixed


Fix compiler warning and remove generated files on 'make clean'

A number of different ways to fix this.  Some may object with the use of a macro.  If not liking swizzle it another way, but this is currently a bug.

thanks! :+1:


🐛 Bug: Dependency Issue

Summary
While matching eslint with typescript there is a warning by NPM.
How Found
N/A
Steps to Replicate
Just run the package with express/tsn as your template and eslint as linter.
Description
This bug is caused by a single dev-dependency which is being downloaded for the eslint + typescript combo.

Proposed Solution
Identify which dependency is causing this issue and work on that from there and see if that particular setup will work without it.

This bug is not created by the script itself I made a mock api project with eslint and TS. The dependencies are a little off and will be fixed in the next version.


When entering multiple lines in the input box, there is a bug.

Deployment Method: Docker
Bug: When entering multiple lines in the input box, there is a bug. Typing Shift + Space increases the vertical size of the input box by one line, but the cursor remains on the first line and cannot move down.

It has been confirmed that such an issue does not occur on Edge/Chrome, and only happens on Firefox.


LGWebOS toggle the TV when calling media_player.turn_off service

Home Assistant release with the issue: 0.67.1 / 0.68

Last working Home Assistant release (if known): unknown around 0.64 ?
Operating environment (Hass.io/Docker/Windows/etc.): hassbian

Component/platform:

https://www.home-assistant.io/components/media_player.webostv/
Description of problem:
Turn off the tv by calling service turn off will turn on the tv if the device is off
service: media_player.turn_off
entity_id: media_player.oledlgtv
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
media_player:
  - platform: webostv
    name: 'oledlgtv'
    host: !secret oledlgtv
    access_token:
    scan_interval: 60
    turn_on_action:
      service: shell_command.etherwake_tv

Traceback (if applicable):

Additional information:
Expected behavior turn off the tv if on and does nothing if the TV is off

it works normally after restarting the hass


Revert "[CVP-1226] operator metadata role update"

Reverts redhat-operator-ecosystem/operator-test-playbooks#42
This PR is probably causing lot of blockers from community-operators side.
Needs more complex testing.

/retest


Feature: Undo/Redo Support

This is the tracking issue for the work to be done, see the PR here: #70
Features/Requirements:

Snapshot based, with custom load/unload to keep state
20 levels by default
Sets initial snapshot on load/new document
No buttons, just uses ctrl/cmd+z and ctrl/cmd+shift+z

Notes:

Does not save state of for individual nodes on polygonal draw, but re-purposes undo to remove the last node (until the starting node)
Will be reviewed, feedback should go here.

This has been given the OK by Slim, closing the issue and merge the PR to 1.2.0


update ocicni vendor

Description
Currently, it isn't possible to launch pods without a CNI that exposes eth0 in the pod (for instance 'loopback only'). The latest ocicni makes this possible (according 2d3ce4620eab521d3636d23f7e035dc0bfde7644).
I started to work on the update but it brings in new containernetworking/cni version and API changes so I opened this for discussion/guidance.

I just merged this.
Thanks @mythi


Follow HTTP 301 redirects

Hi James,
First of all I really enjoy your channel and explanations - thanks for sharing!
I was playing around with the async example, and didn't get the expected results - some troubleshooting showed that in my case, httpx was receiving mostly HTTP 301 redirects - leading to empty pages being parsed and links being incorrectly counted.
Turns out that's easily fixed by adding a statement in the line of code in this pull request.
FYI, I also pointed this out on your Youtube channel (I'm CritiKaster):
https://www.youtube.com/watch?v=m_a0fN48Alw
Kind regards,
Raoul

Nice catch, I always forget because the default for requests is to follow redirects.


Paste support

Hello:
I discovered this in the course of developing a command-line app using terminus: Terminal does not properly respond to pasting text -- or more precisely, to any text input of more than one character per command.
Reproduction

STR
Expected result
Actual result

Create the Terminal object and listen to input via LineEditor().getInput()
Cursor is displayed, waiting for input
Cursor is displayed, waiting for input

Copy foobar text and paste in the terminal.
foobar appears in the terminal, cursor moves ahead
raboof appears in the terminal, cursor moves ahead

Press enter
"foobar" is now read into the string assigned as return value to the getInput() method
"raboof" is now read into the string assigned as return value to the getInput() method

As the above illustrates, the pasted string is displayed in the terminal and read into the input buffer -- and thus into any String returned and used in the app -- in reverse. This is a feature of buffer implementation.
Temporary fix
I implemented a fix using a custom characterKeyHandler to the LineEditor instance by copying the default handler and adding special treatment for multicharacter strings:
extension LineEditor {
    public func promptCharacterHandler(_ characterString: String) -> (ShouldAddKeyToLineBuffer, ShouldWriteBuffer) {
            do {
                try "mclog: character input: \(characterString)".write(toFile: "\(NSHomeDirectory())/.mc_logs", atomically: true, encoding: .utf8)
            }catch {
                print(error)
            }
            if characterString == Backspace {
                let shouldWriteBuffer = defaultBackspaceKeyHandler()
                return (false, shouldWriteBuffer)
            }
            if characterString == Linefeed {
                shouldEndEditing = true
                return (false, false)
            }
            if characterString == Esc {
                return (false, false)
            }

            if characterString.count > 1 { //awkward way to (temporarily) handle paste
                guard let loc = Terminal.shared.cursor.location else { return }
                guard let bi = bufferIndexForLocation(loc) else { return }
                buffer.insert(AttributedString(stringLiteral: toPaste), at: bi)
                return (false, true)
            }
            return (true, true)
        }
}

However, this not the best solution, and does not handle multi-line pasting correctly.
Sorry if this comes across as overly critical. Terminus is a very useful tool and has helped me enormously, but I am not familiar enough with string buffer work to submit my own bug fix, so I'm bringing this to the attention of the software authors.

@ltrubov
Thanks for bringing this bug to my attention.  I believe I have things fixed.  You can try out your code in the open PR I recently created.