Crash when browsing map

--------- beginning of crash
07-04 14:39:17.538  5419  5419 E AndroidRuntime: FATAL EXCEPTION: main
07-04 14:39:17.538  5419  5419 E AndroidRuntime: Process: ..., PID: 5419
07-04 14:39:17.538  5419  5419 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.Rect android.graphics.drawable.Drawable.getBounds()' on a null object reference
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at org.osmdroid.views.overlay.Marker.hitTest(Marker.java:404)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at org.osmdroid.views.overlay.Marker.onSingleTapConfirmed(Marker.java:409)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at org.osmdroid.views.overlay.DefaultOverlayManager.onSingleTapConfirmed(DefaultOverlayManager.java:273)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at org.osmdroid.views.MapView$MapViewDoubleClickListener.onSingleTapConfirmed(MapView.java:1509)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:300)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:105)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:169)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6595)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
07-04 14:39:17.538  5419  5419 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Issue Type
[ ] Question
[X ] Bug
[ ] Improvement
[ ] Build system related
[ ] Performance
[ ] Documentation
Description and/or steps/code to reproduce the problem
Sometimes crash when browsing map
Environment
Android 8.0
If it's a bug, version(s) of android this affects:
All
Version of osmdroid the issue relates to:
6.0.1

@panovvitalik

Sometimes crash when browsing map

It looks like the crash happens precisely when you perform a single tap (instead of just panning the map): could you confirm that?
Do you have Markers on your map?

Maybe..., first I tap the map, next I try to drag for browsing - maybe crash cause at first step.
Of course I have markers on map - perharps I tap on marker when trying dragging...
Map looks like below (in attachment):

Today crashes were again - at this time when I zoom in the map (double tab).
But again - mey be crashing happens at first tap - I'm not sure.
Do you have a workaround for it?
Can I catch this exception?, instead of my app is crashing each time :(((
Pls. help.
--------- beginning of crash
07-05 14:03:14.459  4653  4653 E AndroidRuntime: FATAL EXCEPTION: main
07-05 14:03:14.459  4653  4653 E AndroidRuntime: Process: vitalypanov.phototracker, PID: 4653
07-05 14:03:14.459  4653  4653 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.Rect android.graphics.drawable.Drawable.getBounds()' on a null object reference
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at org.osmdroid.views.overlay.Marker.hitTest(Marker.java:404)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at org.osmdroid.views.overlay.Marker.onSingleTapConfirmed(Marker.java:409)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at org.osmdroid.views.overlay.DefaultOverlayManager.onSingleTapConfirmed(DefaultOverlayManager.java:273)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at org.osmdroid.views.MapView$MapViewDoubleClickListener.onSingleTapConfirmed(MapView.java:1509)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:300)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:105)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:169)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6595)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
07-05 14:03:14.459  4653  4653 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

The problem is that there's a Marker with a null icon.
The solutions:

maybe you explicitly set a Marker's icon to null (perhaps to make it disappear, if that works?), and that causes the crash
anyway with a null icon the method that currently crashes ("do I tap on this Marker?") should return false - I can fix that by tomorrow

"maybe you explicitly set a Marker's icon to null"
No, I don't set icons to null manually. But - when I browse the map, I clear all markers (with calling: marker.remove() and/or mapView.getOverlays().removeAll()) and create new ones.
I think, single tap map's event occur at the same moment - and may be event's procedure try to process markers which I have just deleted. Maybe this is the reason of this bug....
"...I can fix that by tomorrow" thank you very much.
And when this fix can released in new version?

when I browse the map, I clear all markers (with calling: marker.remove() and/or mapView.getOverlays().removeAll()) and create new ones

Is there a specific reason why you remove/recreate the markers? I mean, if it's for performance reasons when you have tons of markers but only few currently visible on the map, there's a recent optimization for that matter, therefore you shouldn't do that and always keep the same list of Markers, on the current visible map and beyond.
My guess is that those constant removal of Markers leads to somehow async calls to Marker.onDetach, setting mIcon to null, and therefore causing the bug.
Or perhaps you happen to use Marker.cleanDefaults (setting mDefaultIcon to null)?
My suggestion: keep the same list of Markers and don't remove/recreate them constantly.
My action: I'll just add a mIcon == null test and PR tonight.
Regarding the version availability, I'll let @spyhunter99 answer.

Just PR'ed and merged the fix in #1082.

@panovvitalik Btw, just had a look at your screenshot, you might be interested in the following demo: More Samples / Data / 10K race in Paris.

@panovvitalik For testing purposes, could you please try NOT to remove markers, in order to:

check if the performances are decent with tons of markers, most of them being invisible
check if the bug does not happen

I don't know when the next release is available, and we don't even if my code edit will fix this bug.
If you're in a hurry, I guess you can use the osmdroid java code (instead of aar?), anyway my fix is a one-line code edit. Additional thought: extend Marker and override its hitTest method with a mIcon==null check.

@monsieurtanuki
"check if the performances are decent with tons of markers, most of them being invisible"
Already checked this. Markers are created by data which I get from web: flickr.com - so if I request more data than now  it will be very very slowly :(
"...extend Marker and override its hitTest method with a mIcon==null check."
I think it's very nice idea! Method hitTest is public and I can override it, check for null value, and call super.hitTest()  only if it's not null. Looks very optimistic! I will try this. Thank you for your help!
p.s.
of course better will be released new version of the main product with your bug fix as soon as possible :)

@panovvitalik

so if I request more data than now it will be very very slowly :(

I don't say that you should load everything at the start, I just say that perhaps you should not get rid of the already downloaded data as soon as it's not visible anymore.
Btw, could you tell me if the override solution finally works?

@monsieurtanuki
I understand you - not remove marekers at all.
Of course it will work, but in future I'm afraid that I can get some other problems with perfomance or memory, etc.
So, I think second solution (with overriding) is more preferable.
Ok, I let you know if crashes will desappear.
Thank you for your help, again.

reopen if needed

@panovvitalik Cool! The fix is now embedded in the 6.0.2 distribution.


Propagation of known blocks

if _, err := bl.GetBlock(blk.Id); err == nil {
	bl.Info("we already know this block %v ", blk.ID())
	return true
}

According to the code snippet above, blocks we already know will be propagated again in the network.
Do we really want to propagate blocks we already know?

@gavraz good catch, lets fix it


Disable unreliable test RatingControlTests.MaxRatingTest

This failure keeps showing up in failed Pipeline runs. Disabling this test for now. Issue is tracked by: RatingControlTests.MaxRatingTest is unreliable #7668

/azp run


Models with upper case or mixed case names fail in consecutive runs

Issue
Issue description
When running (dbt run) the model with an uppercase name (or name containing upper case characters), the first run succeeds, but the consecutive run fails.
Results
I expected my models to either be executed successfully also when re-running them, or if using upper case model names is not supported, then fail on the first run.
What happened is the initial run succeeded, but the consecutive runs failed with an error When searching for a relation, dbt found an approximate match Instead of guessing   which relation to use, dbt will move on.
System information
The output of dbt --version:
installed version: 0.13.1
   latest version: 0.13.1

Up to date!

The operating system you're running on:
macos 10.14.5, but it also failed in out kubernetes cluster running linux image
The python version you're using (probably the output of python --version)
Python 2.7.10
Steps to reproduce
I created 2 files:

mixed_CASE_test.sql
UPPER_CASE_TEST.sql

both with same contents:
SELECT 1

First run is successful:
dbt run -m UPPER_CASE_TEST mixed_CASE_test
Running with dbt=0.13.1
Found 350 models, 103 tests, 0 archives, 2 analyses, 218 macros, 8 operations, 2 seed files, 0 sources

07:34:39 | Concurrency: 1 threads (target='dev')
07:34:39 |
07:34:39 | 1 of 2 START view model sbochniak_base_ga.UPPER_CASE_TEST............ [RUN]
07:34:42 | 1 of 2 OK created view model sbochniak_base_ga.UPPER_CASE_TEST....... [CREATE VIEW in 2.61s]
07:34:42 | 2 of 2 START view model sbochniak_base_ga.mixed_CASE_test............ [RUN]
07:34:45 | 2 of 2 OK created view model sbochniak_base_ga.mixed_CASE_test....... [CREATE VIEW in 2.29s]
07:34:50 |
07:34:50 | Finished running 2 view models in 17.26s.

Completed successfully

Done. PASS=2 ERROR=0 SKIP=0 TOTAL=2

Consecutive run fails:
dbt run -m UPPER_CASE_TEST mixed_CASE_test
Running with dbt=0.13.1
Found 350 models, 103 tests, 0 archives, 2 analyses, 218 macros, 8 operations, 2 seed files, 0 sources

07:40:36 | Concurrency: 1 threads (target='dev')
07:40:36 |
07:40:36 | 1 of 2 START view model sbochniak_base_ga.UPPER_CASE_TEST............ [RUN]
07:40:37 | 1 of 2 ERROR creating view model sbochniak_base_ga.UPPER_CASE_TEST... [ERROR in 0.04s]
07:40:37 | 2 of 2 START view model sbochniak_base_ga.mixed_CASE_test............ [RUN]
07:40:37 | 2 of 2 ERROR creating view model sbochniak_base_ga.mixed_CASE_test... [ERROR in 0.02s]
07:40:40 |
07:40:40 | Finished running 2 view models in 9.79s.

Completed with 2 errors:

Compilation Error in model UPPER_CASE_TEST (models/base/ga/customer_funnels/UPPER_CASE_TEST.sql)
  When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete "datalake"."sbochniak_base_ga"."upper_case_test", or rename it to be less ambiguous.
  Searched for: "datalake"."sbochniak_base_ga"."UPPER_CASE_TEST"
  Found: "datalake"."sbochniak_base_ga"."upper_case_test"

  > in macro materialization_view_default (macros/materializations/view/view.sql)
  > called by model UPPER_CASE_TEST (models/base/ga/customer_funnels/UPPER_CASE_TEST.sql)

Compilation Error in model mixed_CASE_test (models/base/ga/customer_funnels/mixed_CASE_test.sql)
  When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete "datalake"."sbochniak_base_ga"."mixed_case_test", or rename it to be less ambiguous.
  Searched for: "datalake"."sbochniak_base_ga"."mixed_CASE_test"
  Found: "datalake"."sbochniak_base_ga"."mixed_case_test"

  > in macro materialization_view_default (macros/materializations/view/view.sql)
  > called by model mixed_CASE_test (models/base/ga/customer_funnels/mixed_CASE_test.sql)

Done. PASS=0 ERROR=2 SKIP=0 TOTAL=2

Thanks for the report @botchniaque! This sounds similar to https://github.com/fishtown-analytics/dbt/issues/1555 -- we'll take a look!

@botchniaque can you tell me:

which database you're using and
what the value of quoting: is in your dbt_project.yml file?

Any chance you changed your quoting config between invocations of dbt?

Will update next week. I am traveling currently.
On Wed, 19 Jun 2019, 19:24 Drew Banin<EMAIL_ADDRESS>wrote:

@botchniaque https://github.com/botchniaque can you tell me:

which database you're using and
what the value of quoting: is in your dbt_project.yml file?

Any chance you changed your quoting config between invocations of dbt?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fishtown-analytics/dbt/issues/1557?email_source=notifications&email_token=AAGXH2B6QOQ6ENDIXQ3THITP3JTVXA5CNFSM4HZGDDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCSMDQ#issuecomment-503653902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGXH2FHJASWO4Y5FEZLYFLP3JTVXANCNFSM4HZGDDPA
.

To answer your questions:

I am using Redshift for a database.
I don't have quoting: set in my dbt_project.yml, which probably means I rely on the defaults.

Also, I tried to reproduce the problem in a freshly created project, also targeting Redshift, and the problem also occurs. Steps to reproduce:
$ dbt init uppercase-bug
$ cd uppercase-bug
$ echo SELECT 1 > models/UPPERCASE.sql
$ dbt run -m UPPERCASE # this run is successful
$ dbt run -m UPPERCASE # this run fails with the below error:

Running with dbt=0.13.1
Found 2 models, 0 tests, 0 archives, 0 analyses, 113 macros, 0 operations, 0 seed files, 0 sources

22:16:16 | Concurrency: 1 threads (target='dev')
22:16:16 |
22:16:16 | 1 of 1 START view model sbochniak.UPPERCASE.......................... [RUN]
22:16:16 | 1 of 1 ERROR creating view model sbochniak.UPPERCASE................. [ERROR in 0.02s]
22:16:16 |
22:16:16 | Finished running 1 view models in 4.73s.

Completed with 1 errors:

Compilation Error in model UPPERCASE (models/UPPERCASE.sql)
  When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete "datalake"."sbochniak"."uppercase", or rename it to be less ambiguous.
  Searched for: "datalake"."sbochniak"."UPPERCASE"
  Found: "datalake"."sbochniak"."uppercase"

  > in macro materialization_view_default (macros/materializations/view/view.sql)
  > called by model UPPERCASE (models/UPPERCASE.sql)

Done. PASS=0 ERROR=1 SKIP=0 TOTAL=1

Thanks for the additional info @botchniaque. I was just able to reproduce this - it turns out that this particular bug only occurs on Redshift!
We'll check this out for sure, thanks again

Ok, quick followup. Redshift doesn't allow you to create upper-cased table names. This was news to us! Check this out:
create table public."MY_TABLE" (
  id int
);

select *
from information_schema.tables
where table_schema = 'public'
and table_name ilike 'my_table';

table_schema | table_name
---------------------------------
public       | my_table

Databases that are sane and good will preserve the casing of identifiers when they are wrapped in quotes. Conversely, Redshift discards the quotes and creates the relation with a lowercased identifier. This messes with dbt's relation cache -- dbt knows that you've created an upper-case model with quoting enabled (the default), so dbt adds a relation like MY_TABLE to the cache. When it then finds my_table in the database, dbt raises the error you're seeing and bails out.
There are basically two ways to proceed:

Prevent users from creating models with upper-cased aliases (returning a better error than what you're seeing here)
Make dbt's caching logic smarter for Redshift, auto-lowercasing relation names in the cache

Given the nature of how Redshift builds tables, you might be best off just lower-casing your model names to avoid this problem altogether. Or, if you want to keep your model names upper-cased, you can tell dbt to unquote your identifiers, which should fix this cache issue:
# dbt_project.yml
quoting:
  database: false
  schema: false
  identifier: false

Let me know what you think about all that!

This is not a big problem for us - we're using lowercase model names anyways. Just wanted to let you know about the weird behavior.

closing this - low incidence + low impact bug with an easy and sane fix

Hi guys any update of this problem ?
We are having the problem describe by @botchniaque in the first comment, we're using dbt (1.2.2) with Clickhouse and our main tables are in upper case characters.
If its possible to fix this bug, we'll love it, because we are using dbt in some process and have a lot of more that we want migrate to dbt.


New replays being added while a search is performing crashes the game

Not sure how osu handles this. Need to check.

Adjusted in 8ca9ef8c88e4a8d41c3c0aa7d699ee0736e8c862. Should no longer occur.


Newb question - pipe stdout/stderr to parent process

We are using protractor on the job and I am new to it
This article seems pretty good https://www.3pillarglobal.com/insights/using-the-protractor-automation-tool-to-test-angularjs-applications
Say I have a bash script with my protractor command in it:
#!/usr/bin/env bash
protractor conf.js

Is there a way to configure protractor to output TAP so that that the parent process which launches the above bash script can parse test results from the output?

Hi there!
Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.
From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!


feat: support environment variable interpolation in config using syntax ${env.VAR_NAME}. fixes #644

Description
Interpolates environment variables in parsed configuration using yargs middleware. Once the config is read from the combination of the CLI arguments, package.json and environment variables, the resulting object is updated replacing ${env.VARIABLE_NAME} with the value of process.env.VARIABLE_NAME (assuming such a variable exists).
The current use of ${version} in the name config property is not impacted since that is not prefixed with env..
Related Issue
#644
Motivation and Context
See #644
How Has This Been Tested?
Local testing
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

fixed with #648


add error messages

some more error messages to improve usability

@ricalessandri I added an error for when the backmapping fails when the residue names are the same but the residues are not. I also added an error about the GROMACS library include. Is there anything else in terms of warnings which should be printed to the coordinate generator?

@ricalessandri I added an error for when the backmapping fails when the residue names are the same but the residues are not. I also added an error about the GROMACS library include. Is there anything else in terms of warnings which should be printed to the coordinate generator?

Depending of what you think of it, another error message may be needed regarding issue https://github.com/marrink-lab/polyply_1.0/issues/122.

One more idea for an error message: let's say one forgets to place a (termini) residue in the ../polyply/data/ff/ folder, the current error is:
INFO - step - reading input and library files
INFO - step - reading sequence from command
INFO - step - mapping sequence to molecule
Traceback (most recent call last):
  File "/Users/riccardo/miniconda3/envs/polyply/bin/polyply", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/bin/polyply", line 277, in <module>
    main()
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/bin/polyply", line 273, in main
    args.func(args)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/gen_itp.py", line 83, in gen_itp
    meta_molecule = MapToMolecule().run_molecule(meta_molecule)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/map_to_molecule.py", line 158, in run_molecule
    new_molecule = self.add_blocks(meta_molecule)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/map_to_molecule.py", line 101, in add_blocks
    tag_exclusions(resnames, force_field)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/map_to_molecule.py", line 33, in tag_exclusions
    excls = [force_field.blocks[mol].nrexcl for mol in blocks]
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/map_to_molecule.py", line 33, in <listcomp>
    excls = [force_field.blocks[mol].nrexcl for mol in blocks]
KeyError: 'CH3'

which I understood easily but could be more transparent. If doable, you could throw a sentence like "residue not found in the link/block folder" or similar.

thanks Riccardo! The last one should be easily doable

One more potential idea, not sure how difficult this one is.
Let's - hypothetically ;-) - say the top of your links.ff starts with
[ bonds ]
 CT2 +CT5    2   0.1430  9.2100e+06
....

that is, you forgot to define the [ link ]. Then, the current error is:
INFO - step - reading input and library files
Traceback (most recent call last):
  File "/Users/riccardo/miniconda3/envs/polyply/bin/polyply", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/bin/polyply", line 277, in <module>
    main()
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/bin/polyply", line 273, in main
    args.func(args)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/gen_itp.py", line 60, in gen_itp
    force_field = load_library(args.name, args.lib, args.inpath)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/load_library.py", line 111, in load_library
    read_ff_from_files(all_files, force_field)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/load_library.py", line 76, in read_ff_from_files
    wrapper(parser, path, force_field)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/polyply_1.0/polyply/src/load_library.py", line 68, in wrapper
    parser(lines, force_field=force_field)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/vermouth-martinize/vermouth/ffinput.py", line 1003, in read_ff
    return list(director.parse(iter(lines)))
  File "/Users/riccardo/ric.alessandri/Repos/polyply/vermouth-martinize/vermouth/parser_utils.py", line 110, in parse
    result = self.dispatch(line)(line, lineno)
  File "/Users/riccardo/ric.alessandri/Repos/polyply/vermouth-martinize/vermouth/parser_utils.py", line 235, in parse_section
    raise IOError("Can't parse line {} in section '{}' because the "
OSError: Can't parse line 9 in section '['bonds']' because the section is unknown

don't know how easy and "universally" applicable it would be to throw an error like "maybe you forgot to define the [ link ] or [moleculetype] directive".

@pckroon in terms of tests covering warnings. There are some warnings which are not easily accessible, because they are in deep in a processor (e.g. GenerateTemplates) or in one of the top-level scripts (e.g. gen_coords). To make a meaningful test they would require a rather complete workflow to be run. This in part is what the regression test suite is supposed to do. I think for now it is good enough to leave it like it is.


Table of Contents

Most of the posts are pretty long, so a table of contents might be a good idea.

Fixed by #191 and #192


Automatic schedule generation

The scheduler should have some way to generate a list of all valid schedules, even if this is a separate view from the normal course-selector view.
My idea:

user creates a schedule, gets taken to /schedule/:schedule_id
user adds some courses
user clicks "generate valid schedules", taking them to a read-only view at /schedule/:schedule_id/valid
user can flip through all of the valid schedules
user can click "take" or "apply" on a valid schedule and get taken back to /schedule/:schedule_id with the new section selections applied
user can continue hand-editing the schedule

Do you think we're ready for me to work on this feature? If so I'd be happy to whip up a page.
I'm assuming I can just build the view as a fullscreen thingy and we can tweak it later. Make it a popup view or something with HTMX or an iframe.

Yeah go for it! I think it's fine to stay as a fullscreen page where the user can add courses and then flip through valid schedules, then "take" them to save them as a schedule in their cookie jar and start hand-editing them


Adding a color code converter web page

Idea
Add a color code converter web page that converts between different color codes that as RGB, Hex, CMYK, & Hsl.
Tech Stack
I'm going to utilize HTML, CSS, and JS for this project.
Issue created under GSSoC'22 contributions

@heet-kumar can I get working on this?

@XZANATOL Go for it, Good Luck 👍 at a time we can assign at most 3 issues a contributor till PR gets merged.


Support worker-src CSP directive

Closes #357
I'm not sure about Opera support.
SecureHeaders::PolicyManagment::VARIATIONS defines same directives in Chrome and Opera,
but MDN says that Opera doesn't support it.
Other than that, I believe everything else is in order.

Released in 4.0.1 (maybe that should have been 4.1.0 🤔) and backported to 3.7.2
Thanks!


I am getting errors when I run the example azcommands

One example you give: az cosmosdb mongodb user definition create --account-name  --resource-group  --body {"Id":"test.myName","UserName":"myName","Password":"pass","DatabaseName":"test","CustomData":"Some_Random_Info","Mechanisms":"SCRAM-SHA-256","Roles":[{"Role":"My_Read_Only_Role101","Db":"test"}]}
I copied and pasted this, then changed the names to my correct ones.  I pressed enter and I got this error message:
At line:1 char:135
... ource-group my-resource-group --body {"Id":"test.myName","UserNa ...
~
Missing argument in parameter list.
At line:1 char:338
... hanisms":"SCRAM-SHA-256","Roles":[{"Role":"dbOwner","Db":\ ...
~
Missing argument in parameter list.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument

@tyler-suard-parker
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

@ManoharLakkoju-MSFT Sorry, here is the link: https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/how-to-setup-rbac

@tyler-suard-parker
Thanks for your feedback! We will investigate and update as appropriate.

Thank you for reaching out,
Unfortunately, this is the documentation GitHub repository, and we cannot troubleshoot issues, answer product questions, or provide technical support.
For technical support, please open a support ticket in the Azure portal. For questions about the product, please post them in Microsoft Q&A.
Looking briefly at your issue, it seems like you have an inline JSON encoding error. You can either use the @ syntax to read a JSON file, or do inline JSON in bash using this syntax:
az cosmosdb mongodb user definition create --account-name <account-name> --resource-group <resource-group-name> --body '{
  "Id": "<database-name>.<username>",
  "UserName": "<username>",
  "Password": "<password>",
  "DatabaseName": "<database-name>",
  "CustomData": "created-by-docs",
  "Mechanisms": "SCRAM-SHA-256",
  "Roles": [
    {
      "Role": "read",
      "Db": "<database-name>"
    }
  ]
}'

#please-close


works terribly slow

when I switch to normal javascript syntax highlighting - everything is fine, when use your extension some of cursor movements or code editing take a lot of time to process

You're going to have to give me something to work on! I have no problems on a file with 24,000 lines of js. Do you have a source file that is giving you the problem that I can use?

After some testing with disabling and enabling the plugin and changing the language of the file it started working fine. I'll test more and give you details.

Well, it is not every time that this lag happens, I did the same thing (like ctrl + end, ctrl + x, arrow up, ctrl + v) and it lagged only once, but delay was about 5 seconds

It's not a lot to go on. Ideally I need the offending source file, version of Atom, OS version & type + any other packages enabled.

It happens on all es6 files.
Atom v1.0.19
Arch Linux X86_64 4.2.3-1-ARCH
plugins:

emmet
remote-ftp
atom-jade
ex-mode
highlight-selected
imdone-atom
jscs-fixer
language-babel
language-iced-coffescript
linter
linter-jscs
vim-mode

Actually, i've tried to disable all except language-babel, issue didn't go away.

Um! I don't have Arch Linux but just tried Ubuntu navigating the graphql js files at https://github.com/graphql/graphql-js and didn't see any issues. I don't suppose there are any messages in the console. view->developer->toggle developer tools?

just this one
/usr/share/atom/resources/app.asar/src/deserializer-manager.js:44 No deserializer found for Object

I don't use the serializer so that could be another package. I just used Ubuntu on the babel source code which is pretty much all ES6 and again I saw no issues. Not sure what to suggest.

I noticed you have a tabs repo in you github account and I found an issue with my package parsing the browser-polyfill.js file. This is corrected in 0.15.12. You may want to try that version and see if has improved things. I'll close this issue. If you have another js file that is giving you problems then re-open this case.

you're awesome


Documentation

I think it is clear that the (html documentation)[https://rawgit.com/nguy/ARTview/master/docs/build/html/index.html] in its current form is not working for us. It take way to much effort to maintain a documentation of lib and I don't think anyone is really using it (one of reasons why I dont put time on it).
I wounder if there is a solution to this.

I've been thinking the same thing and have been looking at alternatives, but not much is jumping out so far.


The cycles initiative should belong to Battery, not to child canisters

In my opinion, the logic of this package is wrong:
If a child canister happens to drain to zero, it can't request more cycles, because it can't do anything.
Therefore I propose the following idea:
Instead of child canisters requesting more cycles, let the Battery canister from time to time iterate through the list of all child canisters, and when it sees that a child has little cycles, give it cycles.
Do you agree with my idea?

Good points @vporton
A few reasons why we decided to build the library this way.

To monitor a canister in the way you described, either:
a. the battery must be a controller of the child canister
b. the child canister must expose an endpoint that the battery calls into.

In the case of 1b), having the Battery canister call the child canister can be unsafe if the child canister has upgraded one of its APIs in a malicious manner (see https://github.com/nomeata/ic-barrier?tab=readme-ov-file#caution)
Assuming your child canisters are active, this library ensures that the child canisters will not run out of cycles as long as they receive an update call every n seconds.
Additionally, for inactive canisters instead of requiring the battery canister to make an inter-canister call every so often, you can include the cycles requester library logic inside of a timer in each of the child canisters. It will save you the cost of an inter-canister call.
I'm looking forward to https://forum.dfinity.org/t/canister-lifecycle-hooks/17089, specifically the canister_on_low_cycles hook, which DFINITY has on their roadmap and I expect to be released sometime this year. I'll update this library when that hook comes out 🙂


Update services.md: tweak YAML to enable copy/paste

Amended the YAML so that the automation code can directly be copy/pasted into a new automation in the HA user interface.
Added alias's and descriptions

Thanks for the updates. I don't typically use the UI so things like this slip through the next.

@gcoan


Create Best_time_to_buy_stock_and_sell.cpp

Added Solution to the Problem 121 of LeetCode "Best Time to Buy and Sell Stock" in C++.

Please star this repository to show your support, in the meantime I am reviewing your code.

Sure
On Thu, 1 Oct, 2020, 14:13 Amritansh Vajpayee<EMAIL_ADDRESS>wrote:

Please star this repository to show your support, in the meantime I am
reviewing your code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/pull/261#issuecomment-701985909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRDUGVCW7MBWKDC33K4QIDSIQ6KJANCNFSM4SAD2N3Q
.

Excellent work @sudesh-p  Thanks a lot for making this PR.

It's my Pleasure.. looking forward to more meaningful commits.

Yes sure @sudesh-p


Double string in styles.xml when i decompile framework-res

Information

Apktool Version (apktool -version) - 2.3.4
Operating System (Mac, Linux, Windows) - Windows
APK From? (Playstore, ROM, Other) - ROM

Stacktrace/Logcat
W: E:\ANDROID-G\AndroidDEV\AdvancedApkTool\3-Out\framework-res.apk\res\values\styles.xml:2452: error: Resource entry Theme.DeviceDefault already has bag item dropdownListPreferredItemHeight.
W: E:\ANDROID-G\AndroidDEV\AdvancedApkTool\3-Out\framework-res.apk\res\values\styles.xml:2451: Originally defined here.

### Steps to Reproduce
1. apktool if framework-res.apk
2. apktool d framework-res.apk
3. apktool b framework-res

### Questions to ask before submission
1. Have you tried `apktool d`, `apktool b` without changing anything?
2. If you are trying to install a modified apk, did you resign it?
3. Are you using the latest apktool version?

To be honest @datdevs...
The Advanced Apktool software hasn't been updated by @BDFreak since 10 Feb 2016 as reflected on the following link.
https://forum.xda-developers.com/showthread.php?t=2639400
I'm just providing my thoughts and pointing something out that you may not be aware of.
Good Luck! :-)
~Ibuprophen

any body know about this problem

i also faced this problem

just delete doubles..

if we delete phone rebooting and stuck at bootloop

you test and try it

Do you have an apk for this? I'm curious if the duplicated resources exist in the original or if apktool decoded them improperly.

yes i have an apk i can upload you try on this unpack and repack

C:\Users\Piya Jee\Desktop\apktool2 work on oreo>apktool b framework-res
I: Using Apktool 2.3.4_0503
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\Piya Jee\Desktop\apktool2 work on oreo\framework-res\res\values\styles.xml:2452: error: Resource entry Theme.DeviceDefault already has bag item dropdownListPreferredItemHeight.
W: C:\Users\Piya Jee\Desktop\apktool2 work on oreo\framework-res\res\values\styles.xml:2451: Originally defined here.
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\PIYAJE~1\AppData\Local\Temp\brut_util_Jar_96045326345974598.tmp, p, --forced-package-id, 1, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\PIYAJE~1\AppData\Local\Temp\APKTOOL2390478510879530650.tmp, -x, -0, arsc, -0, qmg, -0, arsc, -S, C:\Users\Piya Jee\Desktop\apktool2 work on oreo\framework-res\res, -M, C:\Users\Piya Jee\Desktop\apktool2 work on oreo\framework-res\AndroidManifest.xml]

https://drive.google.com/open?id=1Z3jgUkG3pNlnYi68XxqtQ-aKpWng8NqH

this is stock framework-res.apk try and please tell me solution for this

Closing as duplicate - https://github.com/iBotPeaches/Apktool/issues/315

@iBotPeaches Are you sure this is a duplicate of #315? :thinking:
That issue is talking about extraneous double quotes inside of otherwise successfully re-encoded APKs, whereas this one is talking about an error causing the re-encoding to fail for reasons that have nothing to do with quotes or even strings for that matter.
The base APK inside of the TikTok XAPK for example causes the following error while re-encoding:
W: <decode_dir>/res/values-v21/styles.xml:265: error: Resource entry iz already has bag item android:windowContentTransitions.
W: <decode_dir>/res/values-v21/styles.xml:264: Originally defined here.

The "resource entry" mentioned in the error message looks like this:
<style name="iz" parent="@style/fc">
    <item name="android:windowBackground">@drawable/o5</item>
    <item name="android:windowContentTransitions">true</item>
    <item name="android:windowContentTransitions">true</item> <!-- Duplicate item -->
    <item name="android:windowSharedElementEnterTransition">@transition/a</item>
    <item name="android:windowSharedElementExitTransition">@transition/a</item>
    <item name="android:windowSharedElementReturnTransition">@transition/a</item>
    <item name="android:windowSharedElementReenterTransition">@transition/a</item>
</style>

I suggest reopening this issue and renaming it to Resource entry already has bag item, Resource entry bag items emitted twice, or something like that since it doesn't seem to be specific to strings at all and can easily be confused with #315 with the current title.

Thanks - I see what you mean. Reopened.

Investigated this as a by-product of triaging a different ticket - https://github.com/iBotPeaches/Apktool/issues/3098#issuecomment-1627478466
So I started a patch and it failed miserably.
➜  3098 apktool d com.instagram.android.apk -f -s
I: Using Apktool 2.7.1-7a22af-SNAPSHOT on com.instagram.android.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
W: Multiple bag attributes declared for item android:textColorHint
I: Copying raw classes.dex file...
I: Copying raw classes2.dex file...
I: Copying raw classes3.dex file...
I: Copying raw classes4.dex file...
I: Copying raw classes5.dex file...
I: Copying raw classes6.dex file...
I: Copying raw classes7.dex file...
I: Copying raw classes8.dex file...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜  3098 apktool b com.instagram.android
I: Using Apktool 2.7.1-7a22af-SNAPSHOT
I: Copying com.instagram.android classes.dex file...
I: Copying com.instagram.android classes2.dex file...
I: Copying com.instagram.android classes3.dex file...
I: Copying com.instagram.android classes5.dex file...
I: Copying com.instagram.android classes4.dex file...
I: Copying com.instagram.android classes7.dex file...
I: Copying com.instagram.android classes6.dex file...
I: Copying com.instagram.android classes8.dex file...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs... (/lib)
I: Copying libs... (/kotlin)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk into: com.instagram.android/dist/com.instagram.android.apk
➜  3098

So while it worked for the issue apk, it failed in these regards.

tests failed
this is not an error for aapt2

So I fear I still have no true root understanding of why the duplicate bag items exist. It must act like a fallback mechanism so systems can leverage different types of values depending on the OS version.
However, take Instagram which has duplicate textColorHint. You'd think maybe the system resource was from a newer OS, but thats been in AOSP since API version 1.
    <style name="InThreadComposerTextArea">
       <item name="android:textColor">?textColorPrimary</item>
       <item name="android:textColorHint">?textColorTertiary</item>
       <item name="android:textColorHint">@color/igds_secondary_text</item>
       ...
    </style>

If the first issue was in 2018 and aapt2 came out in 2017 - I am starting to think this research is useless. Its clear that aapt2 doesn't care about this, so maybe we patch out the restriction in aapt1 and see how that handles as a test.
Once I get my aapt/aapt2 repos up to date - I'll work on that.

Hacky workaround to aapt binary - https://github.com/iBotPeaches/platform_frameworks_base/commit/bc4ca278f3cb7fb10897310eb0ad0350a7dd0133
If this works with my only test of Instagram, going to go forward with it and close this.

Yes to the extent that it compiled w/ no issue. Running on device I did not test.


client side load balancing

From what I see, the client generated from https://github.com/oapi-codegen/oapi-codegen?tab=readme-ov-file#generating-api-clients doesn't support client side load balancing
i see other typesense clients have this feature- should we try to add it to the go client?

We're adding support for this in #170


doc: Install documentation on Windows has issues

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)? 1.7
What operating system and processor architecture are you using (go env)?
Windows 10 Professional
What did you do?
Installed Go to D: Drive
MISSING instruction, adding to Path, D:\Go\Bin (or wherever...)
Executed:
D:
D:> go install github.com/lassesen/hello
Got:
go: cannot find GOROOT directory C:\go
Checked environmental variables... there was no GOROOT item
What did you expect to see?
Smooth execution
What did you see instead?
Error messages

Did you use the MSI installer, or do it manually with the ZIP file?

Fixing this for real is #17833 which is too late for 1.8, unfortunately.
Doc fixes are encouraged in the meantime.

Also, the docs need to update that upgrades require you to delete the installed location's directory, or the installer will just overwrite ruin the installation.

Timed out waiting for reply.
Moving to Go 1.9.

Sounds like this was fixed by #17833.


Delete old research mode folder

No longer used with HL2SS plugin.

Just want a confirmation that our app still builds and operates nominally.

Just want a confirmation that our app still builds and operates nominally.

Oh, right. I was able to build and run a quick test and see that the app runs normally.


PluginTS - deprecated field

What version of kubb is running?
3.0.2
What platform is your computer?
macOS
What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)
"dependencies": { 		"@kubb/cli": "^3.0.2", 		"@kubb/core": "^3.0.2", 		"@kubb/plugin-oas": "^3.0.2", 		"@kubb/plugin-ts": "^3.0.2" 	}
What steps can reproduce the bug?
https://codesandbox.io/p/sandbox/quirky-mountain-zdlsdz
In the provided example, the field id in the Order schema is deprecated in the petStore.yaml file, but is not reported as @deprecated in the generated types.
How often does this bug happen?
Every time
What is the expected behavior?
No response
Swagger/OpenAPI file?
No response
Additional information
No response

@Ericlm This has been fixed with Kubb v3.0.3

Thank you very much ! I recently tried kubb for a Vue project, and it could replace a lot of boilerplate work, so thank you for kubb ! 😊


TypeError: Cannot read properties of null (reading 'textContent')

When clicking on "Share" button, the console logs "Error generating avatar image." and process never complete.
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'textContent')
at HTMLButtonElement. (index.js:85:25)

same error here

Hi @domeccleston   Contributed  on this first time . Where is the contributing.md  .Vercel how to authorize it ?


[WebUI/API] CLN seedwords dont get listed correctly with numbers

When installing a fresh Core Lightning Wallet thru the redesigned Setup WebUI the seed words looks like this:

Not sure if this is to fix thru WebUI @cstenglein or API @fusion44 or even the wallet creating shell script @openoms .. but the data structure should be similar to the LND so that it gets rendered correctly.
Its not critical but should get fixed for 1.11.3 release.

The seedwords are expected in this format:
https://github.com/raspiblitz/raspiblitz-web/blob/master/backend-mock/setup.js#L125
They are split by ", " https://github.com/raspiblitz/raspiblitz-web/blob/master/src/pages/Setup/FinalDialog.tsx#L24
Most likely it is because they are separated by just an empty space, not a comma and an empty space.

@rootzoll check script for same splitting char as LND

If splitting is not done in the LND script, I'll handle the case in the webUI

OK comitted to dev branch - cln script should now deliver thru API the comma separated list - like in this example:
seedwords='wall,input,chronic,gaze,tip,explain,fog,receive,kingdom,they,corn,universe,soup,roast,remind,country,make,harsh,dream,cross,all,magic,napkin,found'

TODO-TEST: With v1.11.3rc1 test fresh setup of cln node and check seed word listing.

OK comitted to dev branch - cln script should now deliver thru API the comma separated list - like in this example:
seedwords='wall,input,chronic,gaze,tip,explain,fog,receive,kingdom,they,corn,universe,soup,roast,remind,country,make,harsh,dream,cross,all,magic,napkin,found'

There is a " " missing after the comma :/
It should be
seedwords='wall, input, chronic, gaze, tip, explain, fog, receive, kingdom, ...

@cstenglein comma separated should now contain also the space
TODO-TEST: With v1.11.3rc1 test fresh setup of cln node and check seed word listing.


Executing command "azd pipeline config" failed.

Describe the issue:
When executing command azd pipeline config, an error is reported in the github pipeline that azd is not logged in.
The detailed error is as follows:

Repro Steps:
1.Execute command azd up --template https://github.com/fangjian0423/todo-java-postgresql-terraform -l "eastus" .
2.Run: azd pipeline config.
3.Click on the link that is printed to open the actions page.
Environment:

OS: windows .
Template: https://github.com/fangjian0423/todo-java-postgresql-terraform
Branch: main.
Azd version: azd version 0.6.0-beta.3-daily.2185344 (commit d74ef73e28a1e6f8b0e2045cc8a40d4f9f0a42af)

Expected behavior:
Action logs can pass successfully.
@fangjian0423 for notification.

hi @Menghua1 , the issue you created has been fixed, but will meet a new issue when you retry it:
╷
│ Error: A resource with the ID "/subscriptions/***/resourceGroups/rg-***" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_resource_group" for more information.
│
│   with azurerm_resource_group.rg,
│   on main.tf line 18, in resource "azurerm_resource_group" "rg":
│   18: resource "azurerm_resource_group" "rg" {
│
╵

You will meet the same problem when you test with https://github.com/Azure-Samples/todo-python-mongo-terraform template.
I think current test step for terraform template is not correct.
Current test step:

run azd up with target template (will create azure resource but not sync to remote state file)
follow https://aka.ms/azure-dev/terraform to enable remote state
run azd pipeline config
check Github Action

I think the ideal step is:

run azd init to get the target template
follow https://aka.ms/azure-dev/terraform to enable remote state
run azd pipeline config
check Github Action

how do you think about it? @v-xuto @Menghua1

I find that should run azd down before run azd pipeline config, it has been mentioned here. I missed it before ...

Close it because the issue has been fixed.

@fangjian0423 Please add relevant hints in README: Before executing azd pipeline config, need to execute azd down and enable remote state according to the document.


Fixed "Example 2" header text

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azureps-cmdlets-docs/ServiceManagement/Azure/v4.0.0/Get-AzureDataDisk.md
:white_check_mark:Succeeded

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


1.2.10 Recipemap doesn't show up in HEI

Recipes utilizing GTCEu recipemap (assemblers, centrifuges - all of gtceu and gregicality machines) don't show up in HEI
crafting table recipes still show up
gregicality 1.2.9 doesn't have this issue
Modlist
gregicality multiblocks 1.2.10
had enough items 4.25.5
gregtech CE Unoficial 2.8.10 beta
codechickenlib <IP_ADDRESS>8 universal

Fixed by #74.


Docker redis PEATIO

I need help with the docker command to start redis, or how to start peatio with docker so all the containers are up and able to interact with each other.

Simply put.  How do I start the redis container for use with docker peatio using a direct docker command, not docker compose.

https://github.com/peatio/peatio/issues/842


appliance/mongodb: Use a data volume for restore job

Fixes #3962.

@lmars we may need to make use of the version check here that we did for pg parallel restore.
Older clusters don't support using data volumes for one-off jobs.

@josephglanville I don't think so, if restoring to an old cluster the data: true in the JSON will just be ignored, and the old cluster will continue to use /tmp (the pg restore change was different as the client was referencing /data which would then not exist in older clusters).

Ahh I see, I overlooked that the MongoDB image was what was being update to reference /data rather than the client.


Support Service Worker Foreign Fetch

Foreign Fetch is a new upcoming upgrade coming to service workers which will allow a Service Worker run across various origins and this provides Package Delivery platforms such as Unpkg working over CDNs such as Cloudflare a much more granular control over the caching of their assets on a browser.
I :heart: Service Workers and would like to help in making the unpkg the first one to support Cross Origin Service Workers, I would love to work on a fork and create a WIP PR , if there's enough interest from the unpkg to support this in future.
Even if it's merged, it won't harm in any way, since it's a progressive enhancement and in case of absence of support in browser. Nothing happens. We can further discuss what is going to be our caching mechanism for the assets. Thanks a lot!

Also, everyone might not need this header which enables cross origin service worker, in this case, maybe we can use a flag in the url for it to be enabled.

@mjackson Any comments on this, please?

Sorry for the slow response 😅
What are some things that you are hoping to accomplish with the service worker?

@abdulhannanali Still interested in working on this? I'm curious to hear your ideas.

Hey @mjackson !
I apologize for this long delay. I am definitely interested in working on this. The service worker in case of foreign fetch will be used to provide much more granular control over the Cache. Since Foreign Fetch Service Workers are designed to use with services such as

Generic Content Delivery Networks
Image Hosting Sites
Fonts etc.

Their primary purpose is going to be a granular control over the Cache using Cache API and reducing the number of roundtrips that are made to unpkg. Right now, there is a round trip to be made everytime a request for a resource is made, even if it's cached this trip can cause a latency of about 2 seconds delay for a single file on a Slow 3G and about 0.7 seconds with Fast 3G.
3 Seconds is the optimal load time and 2 seconds for this trip can cause a huge disruption for the experience. Not that unpkg is not fast, it's insanely fast cos Cloudflare and JavaScript :smile: but still each second is a win here, we can maybe use alternatively HTTP headers to eliminate the 304 request everytime, but we do not have a guarantee that an Agent is going to respect our request HTTP Caching the last thing to rely in order to make possible offline first experiences.
Offline First CDN
UnPkg can be the offline first CDN, and even though many of the applications that are PWA hosted bundle their own modules, there can be even faster load times, UnPkg can serve as a primary CDN for many PWAs decreasing their load times collectively as many of the dependencies and polyfills are going to be used universally in many PWAs, React, Polymer etc. all are popular choices and if we guarantee that the users can leave the CDN Caching Part to Unpkg PWAs performance will collectively increase. This can be convincing for application owners to use Unpkg instead of bundling major dependencies for their application. In case if cached, there can be faster first page loads, which are equally important when building a PWA, as much as the subsequent page loads.
Optimistic Fetching
Not sure, If all developers will be happy with that, but it's something that can certainly be supported in the future. Maybe as an experimental feature, and something fun to work on. Unpkg can collect statistics and based on that decide, if it makes sense to download a certain package, depending on our download patterns.
All this while not annoying the user
We should be doing all this, while, making sure, that the users and developer both don't get annoyed, so having a very fixed quota and not exceeding that in any case, is important for us. The discussion on quota can be moved further but ideally, we should be able to manage the dependencies in the cache based on their usage. IMO, Blindly just storing and demoing unpkg as a true offline first CDN will be a losing debate, since, when we talk about Offline First we are talking about regions where low performant devices rulezzzz, I also have a pretty :hankey: Samsung mobile from 2014, which has a :snail: :snail: :snail: spead
Encouraging browsers to adopt
If the Unpkg implementation is a success hopefully it encourages other browser vendors to start working on the Foreign Fetch in their browsers and encourage chrome to get it to stable faster and supported without origin trial.
This is I say about the Foreign Fetch

While Super Nice FRAGILE at best

Looking forward to hear what do you think and if this feature and future makes sense for Unpkg.
Also, From now on, I'll reply quicker. Sorry for this delay :heart:

Looks like the conversation has stalled here, so I'm going to close. However, I agree this would be really interesting. Also, it looks like foreign fetch may be removed from the spec, so we should definitely keep an eye on that.
Thank you for the discussion, @abdulhannanali!


Setting of MAX_EPOCH

Hello!
I noticed that your MAX_EPOCH: is set to 5 and 2 respectively.
I want to ask you, does this figure mean that your experimental effect is the best under such conditions? Or is it to compare with Co-CoOp data?

Hi @dana-niu,
Thank you for your message. Regarding your query, we use different epochs for training as they are more suited for a separate architecture like MaPLe.
It is not set in a way, to compare with Co-CoOp method or data.
I hope this is helpful!
Thank you and kind regards!

Thank you very much for your patient reply.
---- Replied Message ----
| From | Muhammad Uzair @.> |
| Date | 05/09/2024 18:00 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [muzairkhattak/multimodal-prompt-learning] Setting of MAX_EPOCH (Issue #65) |
Hi @dana-niu,
Thank you for your message. Regarding your query, we use different epochs for training as they are more suited for a separate architecture like MaPLe.
It is not set in a way, to compare with Co-CoOp method or data.
I hope this is helpful!
Thank you and kind regards!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hello, I have another question.
Can you tell me how to get the data characteristics and labels of drawing t-SNE diagram?
I would appreciate it if I could receive your reply.

Hi @dana-niu,
Sorry for the delayed response. Can you clarify your question a bit regarding the meaning of data characteristics and labels.
Thank you!

Hi @dana-niu,
I am closing the issue now. Feel free to reopen it if there are still any queries.
Thank you!


fix: deadlock

fix deadlocks:

exclusive lock was not Send but unsafe impled.
submit flush task await blocks set_region_evictable
no new reclamation task created after set_region_evctable if all write process are waiting

add deadlock detection with 1 worker thread
close #42

Codecov Report

Merging #43 (45a7ccc) into main (691054a) will increase coverage by 0.96%.
The diff coverage is 1.94%.

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
+ Coverage   41.10%   42.06%   +0.96%
==========================================
  Files          33       33
  Lines        3484     3364     -120
==========================================
- Hits         1432     1415      -17
+ Misses       2052     1949     -103

Impacted Files
Coverage Δ

foyer-storage-bench/src/main.rs
0.32% <0.00%> (-0.02%)
:arrow_down:

foyer-storage/src/flusher.rs
0.00% <0.00%> (ø)

foyer-storage/src/reclaimer.rs
0.00% <ø> (ø)

foyer-storage/src/region.rs
0.00% <0.00%> (ø)

foyer-storage/src/region_manager.rs
0.00% <0.00%> (ø)

foyer-storage/src/store.rs
0.00% <0.00%> (ø)

foyer-storage/src/device/fs.rs
77.08% <100.00%> (-1.49%)
:arrow_down:

foyer-storage/src/device/mod.rs
1.88% <100.00%> (-10.62%)
:arrow_down:


BUG: Footer texts on hover shows wrong color

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
On hovering texts in footer, it should show green color but it shows blue color when we hover on underline of text.
Add ScreenShots

What browser are you seeing the problem on?
Firefox, Chrome, Microsoft Edge, Safari, Arc
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

I would like to work on this issue. Please assign me this .
Thank You!


09--revenge-of-the-nodes

latest TIY-Assignments WIP branch

That was not a gutting. I'm not sure what it was, but it wasn't exactly what I had in mind...


[ENH] - Allow theme logo to pull image from local file

Feature description
Users can modify the theme of their Nebari deployment (specifically the home page) by modifying the nebari-config.yaml, specifically theme.jupyterhub. One of the items you can modify is the logo that appears on the top-left of the page.
Currently, it only accepts URLs but it would be nice to allow users to use a local png/jpg as well.
Value and/or benefit
This would give users additional flexibility.
Anything else?
No response

Thanks, @iameskild, for opening this issue. I will give quick feedback on my part to serve as a potential direction.
Indirectly speaking, you can add local paths to the theme.jupyterhub field in the YAML, the only problem is that when jupyterhub attempts to load the image, it will try to look into its Pod filesystem (which does not contain any reference to the host path).
So right now, if you want to do something like that, you will need to build your custom image of jupyterhub from ours and include the path and logo into the container, only then it will be able to be fully loaded.
I completely agree that this is troublesome and goes against all the easy capabilities already offered in the same section of the config yaml. To achieve the desired capabilities we mainly need a way to mount/push the given image into the cluster during deployment.
Something that might be interesting to explore if we can pass a path currently registered in the shared space. We could ssp the logo image into the shared PVC and test if Jupyterhub can access the given logo path (this can be tested without redeploying as we can change the jupytehrub configmap with the logo location) - I am almost sure jupyterhub has access to the shared PVC, but not sure at what level.
If the above does not work, here's a possible direction:

Update our Pydantic schema  to work as a filter for URL and path-like expressions for the logo field;
If a path-like expression is given to nebari, during the services stage we could:

Mount the image into the Kubernetes cluster using it as a secret, with kubectl add secret
In the jupyterhub setting, we make a switch to create a mount from the secret into the Pod, making the logo available at the given path.

We're open to this idea, but no action is planned on this so I'll close for now.


Frontend: ML endpoints connected

Screenshots

Description
ML endpoints are now connected and data output from models can be seen too

Looks Great!


Missing vasu chakra sound

There's only 11 in assets/chakra D:

@staylor7 Can you upload this into assets/chakra?

I think that the vasu category is so small that I decided not to make a background sound - so for that one, we should just keep playing whatever sound is already playing. I hope that’s OK!

On Mar 15, 2024, at 2:16 PM, Quinn Ouyang @.***> wrote:
@staylor7 https://github.com/staylor7 Can you upload this into assets/chakra?
—
Reply to this email directly, view it on GitHub https://github.com/staylor7/rare-diseases/issues/29#issuecomment-2000449922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPFIKJONCKYLRBVFVKWOF3YYNQLFAVCNFSM6AAAAABEWPZSGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGQ2DSOJSGI.
You are receiving this because you were mentioned.

Gotcha, we'll make the exception

Though what happens when the first chakra the user clicks is vasu...

Good question! Since Vasu is very tiny I think it’s OK. On Mar 16, 2024, at 12:41 AM, Quinn Ouyang @.***> wrote:
Though what happens when the first chakra the user clicks is vasu...is silence OK?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Cool, fix is pending on commit https://github.com/staylor7/rare-diseases/pull/32/commits/3b110c26a4a5aa5550ce55b2b8c1e5632910efa8

@staylor7 Hi Professor! We find out that vasu is not only missing the chakra sound, but also missing most of the informations in the csv file:

Can we just exclude vasu in this case?

I think it might be a category without any diseases in it! Yes, let’s leave it out if that’s easier.

On Mar 16, 2024, at 6:18 PM, SallyXue-0114 @.***> wrote:
@staylor7 https://github.com/staylor7 Hi Professor! We find out that vasu is not only missing the chakra sound, but also most of the informations in the csv file:
2024-03-<IP_ADDRESS>.png (view on web) https://github.com/staylor7/rare-diseases/assets/92959551/96c26772-c81c-4862-9a42-9e6b817c3f0c
Can we just exclude vasu in this case?
—
Reply to this email directly, view it on GitHub https://github.com/staylor7/rare-diseases/issues/29#issuecomment-2002227485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPFIKO3AOWEUGNOCWFEIGDYYTVMTAVCNFSM6AAAAABEWPZSGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGIZDONBYGU.
You are receiving this because you were mentioned.


throw appropriate error for unsupported features

Description

GRANT/REVOKE ... ON ... SCHEMA ... WITH GRANT OPTION/CASCADE does not work as expected -> Throw unsupported error
CREATE SCHEMA ... GRANT ... ON ... SCHEMA throws syntax error -> Throw unsupported error

Issues Resolved
[List any issues this PR will resolve]
Test Scenarios Covered

Use case based - Added

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 17 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 72.849%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
41016

Relevant Lines:
56303

💛  - Coveralls


added a new command

my first thought is that it looks a bit messy.

🤡 maybe you can do some changes

ok


fix extracted docs of types include escaped linebreaks in signature

Closes #888
Json.escape was called twice:

once explicitly
twice in Protocol.wrapInQuotes

I also updated the test, to not contain e.g. \\n
Since this is my first PR in this repo, I hope this is fine?

You can update tools/CHANGELOG.md?

Awesome! I'm a bit worried about exotic identifiers if we don't escape. @woeps could you add a test case with a value like let \"SomeConstant\" = 12 and just make sure that the output doesn't break?

Awesome! I'm a bit worried about exotic identifiers if we don't escape. @woeps could you add a test case with a value like let \"SomeConstant\" = 12 and just make sure that the output doesn't break?

We still escape, because Protocol.wrapInQuotes calls Json.escape.
Before this PR, there were 4 places with someVar |> Json.escape |> Protocol.wrapInQuotes. This caused the strings being escapes twice.
Of cause, I'll add an additional test case and a note to the changelog.

@woeps thanks for the explanation. This is ready to merge after that's settled. Could you test the other in progress PR too? I can release a new tools version after both of these are merged then.

@woeps looks good, although there's a weird escape of : but maybe that doesn't matter. Ready to go?

@zth not sure which escape you mean?
Now (after updating changelog) it's good to go.


output of code chunks is getting lost somewhere

for example "content/Graphics/ggplot/ggplot-basics/_index.rmd"

it knits fine but it seems to get lost somewhere after that point

i think it was this https://community.rstudio.com/t/cannot-see-output-when-making-site-with-blogdown/91661 seems to be working now


support go1.17 build constraint syntax

https://tip.golang.org/doc/go1.17
Fixes #1890

Do you want to bump 1.15 to 1.16 in the GitHub workflow in this same PR, @willnorris ?

Do you want to bump 1.15 to 1.16 in the GitHub workflow in this same PR, @willnorris ?

No, I actually think go1.17 getting included here is a bug (or at least undesired behavior).  See my last comment here.


JDBC - createCompleteSql logging (info -> debug)

I am pushing data into iotdb via JDBC. The createCompleteSql function currently logs at the "info" level so every single SQL insert statement is being logged by default.
Can I please request this logging is changed to the "debug" level?
private String createCompleteSql(final String sql, Map<Integer, String> parameters)
...
LoggerFactory.getLogger(IoTDBPreparedStatement.class).info("SQL {}",sql);
LoggerFactory.getLogger(IoTDBPreparedStatement.class).info("parameters {}",parameters.size());
...
}

Sure~ Thanks for your feedback.

You can fetch the latest master branch. Besides, I recommend using the native API (Session and SessionPool), which is more efficient.

Thanks!


Deleted extra page that are home and search from the job manager app…

…(#23eera9)
Related Issues

Closes #
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

Resolved conflicts @ymaheshwari1  Sir

Please resolve conflicts


Multiple cascading paths with SQL Server

The code has changed, now finding multiple cascading paths. The errors are a bit different too, so they are updated in this pull request.

@molebox We should probably also rename the page then and create a redirect?

Merge this redirects PR after this PR is merged => https://github.com/prisma/homepage-v8/pull/326


Test server Nexus endpoint operator apis

What was changed

Updated API to v1.36.0
Added test server implementations of Nexus endpoint CRUD APIs to TestOperatorService
Why?

To support implementing Nexus operations in the test server.
Checklist

Closes

How was this tested:

Any docs updates needed?

Overall LGTM, are we able to add tests as well? Ideally we can add test that both verify the API behaves as expected, and behaves like the real server. Here is what I did for update https://github.com/temporalio/sdk-java/commit/6b39e44738f62611e8ddcb62a7f61e5996d355f4.


Can't open Estimates

I'm attempting to open any of the estimate sessions but they all just spin.  Everyone else here is having the same issue.
Thank you

Hello  Following up to see if there's any feedback

I'm still getting the spinning "Connecting to Server" error.  Is there an update to this?  Thank you

Any updates as of yet?  Error is still happening.

After you click into the Estimates it states "Connecting to Server".

Hi @DLRopks, can you describe your environment so we can understand your situation? Estimate connects to a notification backend for the live estimation, if the client cannot connect it's usually because a firewall blocks the url. Can you check what errors you see in the browser's network log?

Thank you for the response.
Attached is the har file for your review.
From: Mathias Olausson @.>
Sent: Monday, November 11, 2024 3:10 PM
To: microsoft/azure-boards-estimate @.>
Cc: Duane Rush @.>; Mention @.>
Subject: [EXT] Re: [microsoft/azure-boards-estimate] Can't open Estimates (Issue #340)
Blue KC Security Warning:  This is an external email.  Do not click links or open attachments unless you recognize the sender and know the contents are safe.
Hi @DLRopkshttps://urldefense.com/v3/__https:/github.com/DLRopks__;!!OuobCkb3!-NxjtT4xNhmBtBJJ_GSDvlqYDGvlMfpWZTTc3ryqNtcN7IzEGDfgFoD8-0-lqtWCFr7caYqDH5yXdTqRSNrS1q3pZg$, can you describe your environment so we can understand your situation? Estimate connects to a notification backend for the live estimation, if the client cannot connect it's usually because a firewall blocks the url. Can you check what errors you see in the browser's network log?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/microsoft/azure-boards-estimate/issues/340*issuecomment-2469025606__;Iw!!OuobCkb3!-NxjtT4xNhmBtBJJ_GSDvlqYDGvlMfpWZTTc3ryqNtcN7IzEGDfgFoD8-0-lqtWCFr7caYqDH5yXdTqRSNqjweoWNw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ARZZSN42TNPEPPUVDSDHG632AEMMHAVCNFSM6AAAAABREXZ4DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGAZDKNRQGY__;!!OuobCkb3!-NxjtT4xNhmBtBJJ_GSDvlqYDGvlMfpWZTTc3ryqNtcN7IzEGDfgFoD8-0-lqtWCFr7caYqDH5yXdTqRSNr-Ek4WyQ$.
You are receiving this because you were mentioned.Message ID: @.***>
CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law.  If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message.

This was on my end.  Requesting this issue be closed

This was on my end. Requesting this issue be closed


Can you explain what the numbers in the tables in the experimental chapter mean? Especially the red box part below

I don't understand the meaning before and after “/”


RTView: a link from tracer's README, quick start

The first feedback from SPO: it's hard to find a link to RTView documentation. Now the link is in cardano-tracer's README.
Later (after official release) the similar link will be placed in cardano-node's README as well.
Also, I've added a Quick Start section for RTView.

bors r+

bors r+

Thanks! This will help people get started easier. I had no idea what i was doing so I was trying all sorts of parameters lol
it's not that it was hard to find the RTView / cardano-tracer documentation, it's that the documentation did not have the cardano-node side of the setup examples, now it's there so that's perfect. Thanks for that.
It would be nice to also know, how to setup cardano-node tracer socket file inside the cardano-node's config.json file ( and any extra configuration options available, like Accept/Listen options ), versus running with an argument to the cardano-node command line.
When I first started reading the documentation, it referred to a "socket" but it never mentioned "tracer socket"  so i kept trying to connect to the regular cardano-node socket.


⚠ Bofrost.fr has degraded performance

In a2cc19b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1010 ms

Resolved: Bofrost.fr performance has improved in c9577fc after 7 minutes.


🐛 Bug Report: app-config.production.yaml created by npx @backstage/create-app@latest is broken.

📜 Description
app-config.production.yaml created by npx @backstage/create-app@latest is broken.
error log is bellow:
{"level":"info","message":"Found 2 new secrets in config that will be redacted","service":"backstage"}
Backend failed to start up TypeError: Invalid type in config for key 'backend.listen' in 'app-config.production.yaml', got string, wanted object

👍 Expected behavior
https://github.com/backstage/backstage/blob/56d3373c8262e947747b7dfe399d9a5870ff775a/packages/create-app/templates/default-app/app-config.production.yaml#L14 would be bellow
backend:
  listen:
    port: 7007

👎 Actual Behavior with Screenshots
we cannot start application using app-config.production.yaml.
👟 Reproduction steps

Build docker image（ENTRYPOINT or COMMAND should use app-config.production.yaml）
Run docker image

📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hm that's unexpected, I can't reproduce at least locally on latest master. The code around it hasn't changed as far as I know. Here's the config schema for that key:
https://github.com/backstage/backstage/blob/63afa63eb8593009956e06fd51f1111ccb654bd0/packages/backend-common/config.d.ts#L41
    listen:
      | string
      | {
          host?: string;
          port?: string | number;
        };

What were the exact reproduction steps? Running that create-app command then then what yarn commands + file modifications were made?

any progress on this? i'm facing the same issue...

Same issue here

same issue as well

I faced this issue and found that changing the templated app-config.yaml format fixed my issue...
from this:
# errored configuration
backend:
  listen: ':7007'

to this:
# working configuration
backend:
  listen:
    port: 7007

Cheers, y'all! :zap:


ShowMessageAnsync() causes exception

What steps will reproduce this issue?
Following exception is thrown in ShowMessageAsync() after update from MahApps.Metro V1.3.0 to V1.4.2:
System.InvalidOperationException wurde nicht von Benutzercode behandelt.
  HResult=-2146233079
  Message=The calling thread cannot access this object because a different thread owns it.
  Source=WindowsBase
  StackTrace:
       at System.Windows.Threading.Dispatcher.VerifyAccess()
       at System.Windows.Application.get_MainWindow()
       at MahApps.Metro.Controls.Dialogs.BaseMetroDialog.DetectTheme(DependencyObject dialog) in d:\projects\git\MahApps.Metro\src\MahApps.Metro\MahApps.Metro.Shared\Controls\Dialogs\BaseMetroDialog.cs:line 229
       at MahApps.Metro.Controls.Dialogs.BaseMetroDialog.HandleTheme() in d:\projects\git\MahApps.Metro\src\MahApps.Metro\MahApps.Metro.Shared\Controls\Dialogs\BaseMetroDialog.cs:line 155
       at MahApps.Metro.Controls.Dialogs.BaseMetroDialog.Initialize(MetroWindow owningWindow, MetroDialogSettings settings) in d:\projects\git\MahApps.Metro\src\MahApps.Metro\MahApps.Metro.Shared\Controls\Dialogs\BaseMetroDialog.cs:line 135
       at MahApps.Metro.Controls.Dialogs.BaseMetroDialog..ctor(MetroWindow owningWindow, MetroDialogSettings settings) in d:\projects\git\MahApps.Metro\src\MahApps.Metro\MahApps.Metro.Shared\Controls\Dialogs\BaseMetroDialog.cs:line 93
       at MahApps.Metro.Controls.Dialogs.MessageDialog..ctor(MetroWindow parentWindow, MetroDialogSettings settings) in d:\projects\git\MahApps.Metro\src\MahApps.Metro\MahApps.Metro.Shared\Controls\Dialogs\MessageDialog.cs:line 27
       at MahApps.Metro.Controls.Dialogs.DialogManager.<>c__DisplayClass2_0.<ShowMessageAsync>b__1() in d:\projects\git\MahApps.Metro\src\MahApps.Metro\MahApps.Metro.Shared\Controls\Dialogs\DialogManager.cs:line 164
       at System.Windows.Threading.DispatcherOperation`1.InvokeDelegateCore()
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()

The ShowMessageAsync() has to be shown in a sub MetroWindow. The sub window is running within his own thread and Dispatcher context:
Thread thread = new Thread(() =>
	{
		SynchronizationContext.SetSynchronizationContext(new DispatcherSynchronizationContext(Dispatcher.CurrentDispatcher));  // create and install a context

		WindowBase dialog    = (WindowBase)dllAssembly.CreateInstance(dialogClass);
		dialog.Show();

		Dispatcher.Run();
	});

thread.SetApartmentState(ApartmentState.STA);
thread.IsBackground = false;

thread.Start();

So the access to the applications main window (System.Windows.Application.get_MainWindow()) is problematic. My code is working with V1.3.0 of MahApps flawless.
Expected outcome
Same behaviour like in previous major version 1.3.0 => no exception
--
Environment

MahApps.Metro v1.4.2
Windows 7
Visual Studio 2013
.NET Framework 4.6.2

--
Thank you!!!
Thank you very much for your amazing and absolutely impressiv GUI framework, which is gives the right touch to the standard WPF GUI._

@gordon771 Can you provide your app or create a short sample? Would be helpful. thx

Hi,
I created a small VS project where you can reproduce the exception. How can I provide it to you?

@gordon771 put it on GutHub or drop a zip here as comment

Here it comes...
MahAppsProblem.zip


reexplore scripts

Launches the Reexplore task on the candidates chosen previously during candidate selection. Example commands are in launch_reexplore.sh
Test command:
./launch_reexplore.sh /checkpoint/apratik/jobs/reexplore/test_pr2/test_pr2 instance
Output: Dumps reexplore trajectory for each heuristic in the same folder as the output of the candidate selection stage. In the screenshot below 0 to 4 are 5 objects and each has a folder for each heuristic used in Reexplore.

Stack from ghstack (oldest at bottom):

#1173
#1172
#1171
#1170
#1169
#1168
-> #1167
#1166
#1165
#1164
#1163
#1162

Codecov Report

Merging #1167 (9a76af2) into gh/anuragprat1k/19/base (7799aa2) will decrease coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head 9a76af2 differs from pull request most recent head 6d38f77. Consider uploading reports for the commit 6d38f77 to get more accurate results

@@                     Coverage Diff                     @@
##           gh/anuragprat1k/19/base    #1167      +/-   ##
===========================================================
- Coverage                    34.12%   34.11%   -0.01%
===========================================================
  Files                          345      345
  Lines                        34016    34021       +5
===========================================================
  Hits                         11607    11607
- Misses                       22409    22414       +5

Impacted Files
Coverage Δ

interpreter/robot/default_behaviors.py
30.69% <0.00%> (-1.60%)
:arrow_down:

lowlevel/minecraft/pyworld/fake_mobs.py
88.13% <0.00%> (ø)


Unable to install node-sass v7.0.0

NPM version (8.1.0):
Node version (17.0.0):
Node Process ({ node: '17.0.0', v8: '<IP_ADDRESS>-node.12', uv: '1.42.0', zlib: '1.2.11', brotli: '1.0.9', ares: '1.17.2', modules: '102', nghttp2: '1.45.1', napi: '8', llhttp: '6.0.4', openssl: '3.0.0+quic', cldr: '39.0', icu: '69.1', tz: '2021a', unicode: '13.0', ngtcp2: '0.1.0-DEV', nghttp3: '0.1.0-DEV' }):
Node Platform (darwin):
Node architecture (arm64):
npm node-sass versions<EMAIL_ADDRESS>extraneous):

i was trying to install node-sass v7.0.0, but url npm is trying to install package from is not correct

url that node is trying to download packge from is following
https://github.com/sass/node-sass/releases/download/v7.0.0/darwin-arm64-83_binding.node
you can see that in image i have attached, its hitting url that does not exist hence 404 code.
but url for v7.0.0 (drwin-arm64-83) has been changed to following location
https://github.com/sass/node-sass/releases/download/v7.0.0/darwin-x64-83_binding.node
Reference

https://github.com/sass/node-sass/issues/3033


Promoted options

Like having flagged reasons, we should build 'promoted reasons' checkboxes
Options include

[ ] photo
[ ] quote
[ ] high impact
[ ] sponsored

Thinking out loud here, but we might want to consider using Taxonomy Terms for Promoted Reason instead of a single value comma separated text column, which we use for Flagged Reason.  It does bring to mind opening pandora's box on whether or a Term field would be appropriate... :expressionless:
We are storing Kudos Taxonomy Terms in the dosomething_kudos table... but a flagged/promoted reason table feels kind of overkill..

I mean, it could work. It would be easier to sort/search by those terms then. I'm down to make it a term.
I was thinking of adding a row to the reportback table, like flagged with
promoted | promoted_reason

though, I guess then it would have to store a vid, meh, I'm not crazy about that. I kind of like that the reason is with the reportback and you don't have to do an additional join to find out why

Yep, I hear that. The tradeoff seems itd be in #4497 to filter by the promoted reason text field, esp for multi-values.  I'm cool with keeping it consistent with the flagged_reason though, was just commenting for discussion / documentation.

I'll play around with trying to sort the flagged reportbacks to see if that can inform the decision

from @aaronschachter

Random thought around this came to mind. What if a reportback has two items we want to promote, but for different reasons?
Once a reportback item is flagged, the reportback is ignored entirely, so there would never be the opportunity to update the flagged reason upon adding additional litems. With this its different... wouldnt' the last promoted item always overwrite the reason?

Could make sense to keep promoted reason on the Reportback File table...

Yeah, had a convo with @mikefantini about this and thought he's going to test what we have in stage, and we might leave it like this till there's demand to change it.
My thought if we needed to was to keep these promoted bool on the reportback table, and store the reason with the file itself.


Overlap with Rucaja

Hi,
i've noticed that you've written similar code in order to instantiate and use the JVM as i've had in Rucaja for Tinkerpop-rs.
Maybe there is code/best practises to be shared. It would be especially interesting to come up with a type-safe but ergonomic API.

Yeah, I looked at rucaja first but decided it wasn't mature enough yet for my uses, so there definitely should be.

We should chat somewhere though, I'm aurora on mozilla IRC!

Fair enough. Rucaja covers the minimal case to support the Tinkerpop-rs proof-of-concept.
Thanks for the invitation to chat, but i don't have much time for IRC.
Would you be interested in splitting of the non-JDBC specific parts?
As metioned above i'd be especially interested in a type-safe but ergonomic API - all those expect() calls are a bit unwieldy.

By the way, the only read Travis CI fails for Rucaja is https://github.com/kud1ing/rucaja/issues/12

Yeah, I'll probably split off the JNI bits and the java/lang bits sometime this week, I just need to figure some stuff out about how much I need first. I just had an immediate need of reading some data from a DB2 in Rust, so everything in one blob was the easiest to get going.

First bit of this prepared for, https://github.com/rawrasaur/rust-jvm

I don't work actively on Rucaja/JVM integration anymore. I've noticed there is some overlapping crates regarding JVM bindings, though.


fix(indy-vdr-nodejs): update dependency version

Previously breaking MacOS builds. See https://github.com/hyperledger/indy-vdr/issues/260
Also updated the copy-sql script at<EMAIL_ADDRESS>copy-sql due to breaking: https://gist.github.com/RafaelAPB/33f838f0f007770677e90723136f2308; replaced -awith -p, and additionally creating the dist folder if it does not exist. .
Although -a is a better technical solution, it breaks MacOS builds.
Source: https://unix.stackexchange.com/questions/43605/how-do-i-copy-a-folder-keeping-owners-and-permissions-intact

cc @outSH


feat: add docs-serve check

Codecov Report
Patch and project coverage have no change.

Comparison is base (8c34ebf) 98.18% compared to head (9c25bb4) 98.18%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   98.18%   98.18%
=======================================
  Files           9        9
  Lines         718      718
=======================================
  Hits          705      705
  Misses         13       13

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


ui5-toolbar is removed from the components library but is still used

After 0.10.0 the ui5-toolbar is removed. However, the dialog still uses it

Already fixed


python311Packages.types-html5lib: <IP_ADDRESS> -> <IP_ADDRESS>40106

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

Result of nixpkgs-review pr 279536 run on aarch64-linux 1

8 packages built:

python310Packages.types-beautifulsoup4
python310Packages.types-beautifulsoup4.dist
python310Packages.types-html5lib
python310Packages.types-html5lib.dist
python311Packages.types-beautifulsoup4
python311Packages.types-beautifulsoup4.dist
python311Packages.types-html5lib
python311Packages.types-html5lib.dist

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

8 packages built:

python310Packages.types-beautifulsoup4
python310Packages.types-beautifulsoup4.dist
python310Packages.types-html5lib
python310Packages.types-html5lib.dist
python311Packages.types-beautifulsoup4
python311Packages.types-beautifulsoup4.dist
python311Packages.types-html5lib
python311Packages.types-html5lib.dist

Result of nixpkgs-review pr 279536 run on aarch64-darwin 1

8 packages built:

python310Packages.types-beautifulsoup4
python310Packages.types-beautifulsoup4.dist
python310Packages.types-html5lib
python310Packages.types-html5lib.dist
python311Packages.types-beautifulsoup4
python311Packages.types-beautifulsoup4.dist
python311Packages.types-html5lib
python311Packages.types-html5lib.dist


Unhandled Runtime Error

Getting this error after inputting my objective and hit the arrow button
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'trim')
error - [RangeError: Invalid status code: 0] {
code: 'ERR_HTTP_INVALID_STATUS_CODE'

Fresh install a few minutes ago and getting the same error.

I also got the same error…
Did you created an index on Pinecone during setup babyagi-ui?
If not, this error might be fixed by creating an index on Pinecone.
Looking at the screenshot attaced to the issue below might help!
https://github.com/miurla/babyagi-ui/issues/3

I apologize for the confusion. We have updated the setup instructions.
https://github.com/miurla/babyagi-ui#-getting-started
As per yoshinorisano's comment, could you please try creating the Pinecone index first and then proceed?


Renaming of some functions? (e.g. GetCursor, SetCursor)

What are the reasons for renaming these two functions? While I understand that "GetDrawCursor" and "SetDrawCursor" are more descriptive, I think it'll be better to avoid as much renaming as possible because then it'll be easier for people to look at imgui_demo.cpp and other Dear ImGui code and be able to port it 1-to-1 without changing much of the naming in the process.
(Doesn't apply to what's discussed in #20 since package name will acts as "ImGui/Im" prefix and will be easy to map)

Simply because "GetCursor" and "SetCursor" are very misleading. I was asked countless times why this functions cannot set mouse cursor.
But, I agree with you, remain their original name should be more easy to learn from imgui's demo code.

I see. So what's your opinion on this? Should it stay that way or should we get rid of it?

@eliasdaler I say get rid of it.


Update help text of hed__Account_Processor for translation accuracy

Per Liane,
Revise #1 to:
CustomField.hed__Hierarchy_Settings__c.hed__Account_Processor.HelpText	Setting that controls whether each Contact is associated with an Administrative Account or a Household Account.

**lurch: add

Tracking W-021502

Included in beta release 1.48 (Beta 3)

Included in production release rel/1.48

Closing this as it was fixed in a prior EDA release.


Issue building flannel on Ubuntu

Installing Flannel on Ubuntu using the following:
Step 1: sudo apt-get install linux-libc-dev golang gcc
Step 2: git clone https://github.com/coreos/flannel.git
Step 3: Run the build script: cd flannel; make
I'm getting the following errors:
vagrant@node03:~/flannel$ make
go build -o dist/flanneld \
	  -ldflags "-X github.com/coreos/flannel/version.Version=v0.6.1-39-gf6d7239"
main.go:37:2: cannot find package "github.com/coreos/flannel/backend/alloc" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/backend/alloc (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/backend/alloc (from $GOPATH)
main.go:38:2: cannot find package "github.com/coreos/flannel/backend/awsvpc" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/backend/awsvpc (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/backend/awsvpc (from $GOPATH)
main.go:39:2: cannot find package "github.com/coreos/flannel/backend/gce" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/backend/gce (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/backend/gce (from $GOPATH)
main.go:40:2: cannot find package "github.com/coreos/flannel/backend/hostgw" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/backend/hostgw (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/backend/hostgw (from $GOPATH)
main.go:41:2: cannot find package "github.com/coreos/flannel/backend/udp" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/backend/udp (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/backend/udp (from $GOPATH)
main.go:42:2: cannot find package "github.com/coreos/flannel/backend/vxlan" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/backend/vxlan (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/backend/vxlan (from $GOPATH)
main.go:30:2: cannot find package "github.com/coreos/flannel/network" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/network (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/network (from $GOPATH)
main.go:31:2: cannot find package "github.com/coreos/flannel/remote" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/remote (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/remote (from $GOPATH)
main.go:32:2: cannot find package "github.com/coreos/flannel/subnet" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/subnet (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/subnet (from $GOPATH)
main.go:33:2: cannot find package "github.com/coreos/flannel/subnet/kube" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/subnet/kube (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/subnet/kube (from $GOPATH)
main.go:34:2: cannot find package "github.com/coreos/flannel/version" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/flannel/version (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/flannel/version (from $GOPATH)
main.go:26:2: cannot find package "github.com/coreos/pkg/flagutil" in any of:
	/usr/lib/go/src/pkg/github.com/coreos/pkg/flagutil (from $GOROOT)
	/home/vagrant/go/src/github.com/coreos/pkg/flagutil (from $GOPATH)
main.go:27:2: cannot find package "github.com/golang/glog" in any of:
	/usr/lib/go/src/pkg/github.com/golang/glog (from $GOROOT)
	/home/vagrant/go/src/github.com/golang/glog (from $GOPATH)
main.go:28:2: cannot find package "golang.org/x/net/context" in any of:
	/usr/lib/go/src/pkg/golang.org/x/net/context (from $GOROOT)
	/home/vagrant/go/src/golang.org/x/net/context (from $GOPATH)
make: *** [dist/flanneld] Error 1

u can go get the missing dependencies one after the other until u have all packages.
just doing this  - this is of course just a temporary fix.

oh wait but it fails on this one, no step further possible:
root@localhost:/opt/src/flannel# go get k8s.io/kubernetes/pkg/controller/framework package k8s.io/kubernetes/pkg/controller/framework 	imports k8s.io/kubernetes/pkg/controller/framework 	imports k8s.io/kubernetes/pkg/controller/framework: cannot find package "k8s.io/kubernetes/pkg/controller/framework" in any of: 	/usr/lib/go/src/pkg/k8s.io/kubernetes/pkg/controller/framework (from $GOROOT) 	/root/go/src/k8s.io/kubernetes/pkg/controller/framework (from $GOPATH)

Hi HerrmannHinz! Did you figure out how to resolve that package?
I'll appreciate any help
Cheers!

@fabianromerorcc no not yet. haven't tried anymore.

Hi all,
following has worked for me (I don't know go so I apologize if there is better solution). You need to specify GOPATH env variable so go can find packages of dependencies that are located in vendor folder. The trick is that you need to clone flannel project into specific path (src/github.com/coreos) and set GOPATH to the directory where src subdirectory is, see below:
Assuming you are in your home directory:
cd ~
export GOPATH=$(pwd)
mkdir -p src/github.com/coreos
cd src/github.com/coreos
git clone https://github.com/coreos/flannel.git
cd flannel
make dist/flanneld

It would be great if go or flannel team could review this as suggest better solution. Ideally vendor folder with dependencies should be located with respect to current directory of calling make (flannel folder). I dont know if this is problem of Go or could be enhanced in Makefile or somewhere.

Pushed #594 to improve the instructions.
The info from @besnik is exactly right (https://github.com/coreos/flannel/issues/552#issuecomment-269691242) Please add this to the README in a PR if you'd like to see it included.

@HerrmannHinz if you have your GOPATH set up properly you shouldn't need to go get any packages,