Nintendo Switch UI textures don't seem to be unswizzled properly

Happens in both Yoshi's Crafted World and Octopath Traveller.

I should mention too, not an issue but Yoshi's Crafted World does indeed work.
Seems to be 4.18, with everything working.

Yes, I'm aware about the problems with non-power-of-two UI textures for NSW. I even mentioned that in forum thread:
http://www.gildor.org/smf/index.php/topic,6257.msg31496.html#msg31496
Previously I spent time trying to fix that, but wasn't able to find a solution. Documentation and sample NSW decoders are quiet about this situation. Actually umodel already contains some empiric code to make MOST things working, but I didn't get any luck with NP2 textures.

umodel viewer is showing different results than converted file.
Converted doesn't have glithes, but still is wrongly tiled.

What do you mean with "different results"? Different background? If yes, then I'd say that if you'll open this TGA say in Paint.NET you'd see a checkerboard background. Every little application displays transparency in its own way. On screenshot from UModel you just see color pixels, I'm not enabling transparency when rendering. I have special mode for texture rendering which is activated with key "C".

(accidentally pressed "close and comment" :))

You don't understand. I said that what is in first post is showing something different to exported file. So glitches are because of transparency.

And tiling is the result of wrong texture size. Switch textures are rounding pixels to 128, 256, 512, 1024, 2048 in width and height, but it contains info about real resolution. So if you will round size of texture to the upper ones, you will get proper texture.

And this tiling is the result of using different size for texture and different original resolution.
F.e. this MC uses resolution 622x720, but this is what we get if we use 650x800

That would be nice if you could contribute a pull request for that. I have too many things to do, and UModel has lowest priority. And it has its own task list, where NSW texture fix is rather in "backlog" because that'd be require me to spent too much time doing trial-and-error. I already spent a day or two I think doing what it already can do - seeing that texture works, then seeing that mips are not. Then doing a fix, walking over all game's textures and seeing other problems. And - there's no relevant documentation about that. All I have found is "official Tegra documentation" which is too sparse, and a few NEW texture decoders - which assumes that the file has full header with full information. Using those resources allowed me to support square power-of-two textures, and nothing more. Everything else what works is a result of hard experiment-trial-and-error process, and I wouldn't like to continue it for a few NP2 textures.

Pull request is about requesting change in code, right? Just I'm not a programmer, so I can't contribute to it.
I will write only what i found:
textures are rounded by 128 up. So if set size of this texture is 622x720, then real size is 640x768
That method is working flawlessly for me in rawtex for Switch textures.

There's some rounding code for NSW decoder, but it rounds "blocks". And rounding value depends on texture size, I've found everything from experiments. I do not understand where else I should put "round to power of two" (or to what? 640 is not Power of 2).

And it needs to be? Because textures are showing something different.
Size of uexp for last file is 1921 kB which is exactly (6407684)/1024 + archive informations.
Next file - 499x258. Size - 769 kB. (5123844)/1024=768
Biggest one from UI -  1880x1253. Size - 9600 kB (9 830 701 B). (192012804)/1024 = 9600 kB (9 830 400 B).
Everything looks correct.

It looks like this method works only for b8g8r8a8. For DXT5 & DXT1 it looks slightly different, but still calculating resolution is vital in exported file.
Noesis for my DXT5 file 220x60 and it was broken. But when i putted constant to height "64" it untiled correctly.
So it looks like values needs to be calculated differently.

Yes, it is nice when you can put constant by hands and immediately verify result. However I still can't see a uniform way for doing alignment. I've spent unreasonable time playing with Octopath textures, and what I see is that different values works for different cases.


transition CI from Travis to GitHub actions

Use GitHub actions!

I can try to get this one done tomorrow, everything seems quite straightforward.


⚠ Bofrost.at has degraded performance

In 2eeb7f7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 935 ms

Resolved: Bofrost.at performance has improved in 748180b.


Refactor ogmios.py module maintainability

Background
In my opinion, pycardano.backend.base.GenesisParameters and pycardano.backend.base.ProtocolParameters should be frozen dataclasses with no optional attributes.
I tested refactoring these dataclasses to require all field values, but it touches many of ogmios.py module.
Goal

Refactor ogmios.py as much as possible before GenesisParameters and ProtocolParameters become frozen dataclasses with full data requirements

Codecov Report

Merging #114 (8f6700d) into main (c5430c0) will decrease coverage by 0.18%.
The diff coverage is 74.07%.

@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   86.36%   86.18%   -0.19%
==========================================
  Files          24       24
  Lines        2633     2620      -13
  Branches      515      511       -4
==========================================
- Hits         2274     2258      -16
- Misses        265      268       +3
  Partials       94       94

Impacted Files
Coverage Δ

pycardano/backend/ogmios.py
57.06% <63.15%> (+0.24%)
:arrow_up:

pycardano/address.py
76.40% <100.00%> (-1.26%)
:arrow_down:

pycardano/hash.py
96.15% <100.00%> (ø)

pycardano/metadata.py
97.26% <100.00%> (ø)

pycardano/nativescript.py
96.38% <100.00%> (ø)

pycardano/plutus.py
91.23% <100.00%> (-0.14%)
:arrow_down:

pycardano/transaction.py
94.19% <100.00%> (-0.04%)
:arrow_down:

pycardano/serialization.py
87.44% <0.00%> (-0.23%)
:arrow_down:

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Updates

localizing Ogmosis query methods for reusability and for better maintainability
adding more explicit return types for each Ogmosis query methods
reordering methods so that helper methods are right beneath the caller method for easier top-to-bottom reading experience
pulling out ProtocolParameter and GenesisParameter fetching logics so that it would be easier to update these dataclasses as non-optional + frozen dataclass in the next merge request


Port Visualization - Weekly comparison of causes of deaths

Port http://vis.scrc.uk/scotland/death-cause-comparison/death-cause-comparison.html into the new platform.

Done.


nix, builder: Fix nix output parsing

Split out from https://github.com/target/lorri/pull/117
Before, the nix output was parsed into str/String before parsing
it into lines (which is the behavior of the various .lines()
methods).
We can, however, not assume that nix output is valid UTF-8. Take for
example the following derivation:
with import <nixpkgs> {};
runCommand "foo" {} ''
  dd if=/dev/urandom of=./foo bs=1M count=1
  cat ./foo
  touch $out
''

which prints 1 megabyte of random output to stdout (and thus to nix’s
stderr). This random data is not valid UTF-8, which means lorri is
going to choke on the derivation output and crash with a decoding
error.
Instead, we keep the output a Vec<u8>, convert it to an
OsString (which is a wrapper around Vec<u8> on POSIX systems) and
split on \n (which is the line separator on POSIX systems).
As a nice side-effect, we can remove the use of threads from the
builder.rs code (by replacing with wait_with_output()) and unify
the output parsing behavior).

Also, let's get exactly your sample in the PR description as a test :)

Pushed a WIP fixup commit, which adds a test (TODO missing comments) and addresses the comments.

This is ready for merge, right @grahamc?


Can't merge LyCORIS with algo=full

I have LyCORIS trained with "algo=full" "preset=attn-mlp" "train_norm=False", using version 1.9.0. When trying to merge it with tools\merge.py i get the following error:
UNet2DConditionModel: 64, 8, 768, False, False
loading u-net: <All keys matched successfully>
loading vae: <All keys matched successfully>
loading text encoder: <All keys matched successfully>
Converting Dtype and Device: 100%|████████████████████████████████████████████████████████████████████| 432/432 [00:02<00:00, 199.49it/s]
Merging lora_te: 100%|████████████████████████████████████████████████████████████████████████████████| 152/152 [00:00<00:00, 209.19it/s]
Merging lora_unet:   0%|▏                                                                                | 1/633 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "G:\sd-scripts\LyCORIS\tools\merge.py", line 86, in <module>
    main()
  File "G:\sd-scripts\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "G:\sd-scripts\LyCORIS\tools\merge.py", line 70, in main
    merge(
  File "G:\sd-scripts\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "G:\sd-scripts\venv\lib\site-packages\lycoris\utils\__init__.py", line 528, in merge
    merge_state_dict(
  File "G:\sd-scripts\venv\lib\site-packages\lycoris\utils\__init__.py", line 505, in merge_state_dict
    result, result_b = rebuild_weight(*get_module(
  File "G:\sd-scripts\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "G:\sd-scripts\venv\lib\site-packages\lycoris\utils\__init__.py", line 447, in rebuild_weight
    raise NotImplementedError
NotImplementedError

If i replace  raise NotImplementedError at line 447 with pass  it merges (at least changes to text encoder are applied)

Also got this while training. kohya 0.6.6, lycoris-lora 1.9.0:
Traceback (most recent call last):
  File "G:\sd-scripts\train_network.py", line 1006, in <module>
    trainer.train(args)
  File "G:\sd-scripts\train_network.py", line 824, in train
    keys_scaled, mean_norm, maximum_norm = network.apply_max_norm_regularization(
  File "G:\sd-scripts\venv\lib\site-packages\lycoris\kohya\__init__.py", line 605, in apply_max_norm_regularization
    scaled, norm = lora.apply_max_norm(max_norm_value, device)
  File "G:\sd-scripts\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "G:\sd-scripts\venv\lib\site-packages\lycoris\modules\full.py", line 87, in apply_max_norm
    self.diff_b *= ratio
TypeError: unsupported operand type(s) for *=: 'NoneType' and 'Tensor'

Yes it is not supported at this time, will impl it in the future
(maybe this week

Any updates regarding this?

Yes it is not supported at this time, will impl it in the future (maybe this week

Any updates regarding this?

Yes it is not supported at this time, will impl it in the future (maybe this week

Sry I'm in midterm recently
Planned update will be next weekends.
You can notice me again in next weekend.

Fixed in latest dev, plz check.

extract script is working normally (reported by @cyber-meow )
closed


"enabled" parameter

Enabled parameter does not seem to work as expected? For instance, in the code below I would expect the PushButton to display as disabled:
@magicclass
class Foo:
    a = field(PushButton,options={"enabled":False})

if __name__=="__main__":
    ui = Foo()
    ui.show()

however it displays as a clickable button:

is this behaviour expected?

Hi @GiuseppeCiccone96 ,
That is definitely a bug. Thanks for reporting it!


No superfluous font-styles

Superfluous font-styles should be omitted. Do not use small caps for author/editor names, since they do not help to distinguish these from any other bits of information in the citation. In contrast, italics are worthwhile for distinguishing volume (book, journal, dissertation) titles [+ital] from article and chapter titles [-ital].

I think this can stand as is. I'd add that bold fonts are discouraged in general by most typographic experts. So, they should not be used either.

I don't think this is needed anymore. Some journals used to have smallcaps for names, but this is quite obsolete. In general, the 2007 version is a bit strange as it does not separate the rules from the justification of the rules. (I've heard people justify the use of smallcaps for surnames, to distinguish surnames and given names: this is very common in France and maybe other Mediterranean countries. So if one starts using justifications, one needs to counter other arguments etc., and hence I think one shouldn't do it, at least not as part of the rules.)

I would be in favour of keeping this rule, just for the sake of clarity. Having a rule which everybody obeys anyway does no harm. If ever someone wants to use small caps in the future, we can point to this rule as established consensus and end the discussion there.


Elder Runecrafting

When you send an elder rune runecrafting trip it states that you spend 244 essence, and will get 488 elder runes because of a multiplier. However when the run returns you only get 162 runes since it uses 3x essence per rune. Update message at start for elder runes to say correct amount to be runecrafted.

Seems to be resolved at some point. Feel free to re-open if it is encountered again


[NL Interface] Updating embeddings to include all the new insights topics

Built a new set of embeddings after updating the index with the new topics (https://docs.google.com/spreadsheets/d/1-QPDWqD131LcDTZ4y_nnqllh66W010HDdows1phyneU/)
SV Differ Report:
The differ report is here: https://drive.google.com/file/d/1vm08rTnPIQyhqGBaQaqvmsYR6dD4XsaL It actually looks pretty good and mostly just as expected (several topic rise to the top). Largely, the top matches remain the same except when a relevant topic comes up higher. Couldn't a clear instance that was a degradation. There may still be things we can improve with fine tuning etc but all problems I could spot existed previously. But I also did a quick pass.
Integration Test Updates/Diffs:
Most changes are expected/good. Some details of the integration test changes noted below. Things not noted below did not result in any diffs:

demo_feb2023:

'What are the projected temperature extremes across California',

same top few charts
The updated index does match to the new topics for projections but the older topic still gets to top score: https://screenshot.googleplex.com/6vuXx7DpQsnqEKj
Note sure if this is good or we want to take out the old topic?

'Where were the major fires in the last year',

Same chart and data
The updated index does match to the new topic (dc/topic/Fire) in the top 3, but scores lower than the top SV). This should be Ok to leave as is?

'Tell me about Placer County',

Same

'What were the most common jobs there',

Same chart and data
Old topic (dc/topic/Jobs) still at the top which is good.

'Which jobs have grown the most',

Same top charts shown

'What are the most common health issues there',

Same top chart only.
More charts show up now since more health topics are matched: https://screenshot.googleplex.com/6DfscFi3N9idmWD
However, note a bunch of mortality and death SVs/charts because the dc/topic/Health includes a topic on Mortality.

'Which counties in california have the highest levels of blood pressure',

Same charts but different order.
This new order is because the new topic on BloodPressure has the order which should be reversed.

'Which counties in the USA have the highest levels of blood pressure',

Same as above.

'How does this correlate with income',

Same charts but different ordering due to the issue above.

'What is the meaning of life',

Both show the same thing: no result with no place in query message.

demo2_cities_feb2023:

'How big are the public schools in Sunnyvale',

Same rankings
The updated index has a dc/topic/Schools as the best match.

'What is the prevalence of asthma there',

Same charts
Updated index has the Asthma topic show up at place # 2. But the top SV is the same (and the topic also contains it).

'What is the commute pattern there',

Same chart

'How does that compare with San Bruno',

Same chart

'Which cities in the SF Bay Area have the highest larceny',

Same

'What countries in Africa had the greatest increase in life expectancy',

Mostly the same charts
One difference: now the LifeExpectancy topic is at the top. But the male/female charts don't show up.

'How many middle schools are there in Sunnyvale',

Same
The Schools topic is at number 3 but doesn't impact the results shown here.

place_detection_e2e:

'tell me about palo alto',

same chart

'US states which have that the cheapest houses',

Same

'what about in florida',

Sime

'compare with california and new york state and washington state',

Same

'show me the population of mexico city',

Matching to the Population topic --showing some SVPG based organization which is better.
old: https://screenshot.googleplex.com/9XxVz8uYiwvuphg
new: https://screenshot.googleplex.com/6cYfSRxCYddXAdJ

'counties in the US with the most poverty',

Same charts
Matching to two relevant topics (poverty and povertylevels) and also to the SDG_1.

international:

'Where are the most rural districts in India',

Same charts

'Life expectancy across provinces of China',

Same charts but rendered better due to the SVPG combining male and female.

'GDP of counties in the United Kingdom',

Same

'Districts in Turkey with the highest fertility rate',

Same

'Floods in Brazil',

Same chart

'Drought in Africa',

Same chart

sdg:

'tell me about poverty in africa',

Same charts but slightly different ordering due to the topic match.

'which countries have show the greatest reduction?',

Same charts

'health in the world',

Matching to the dc/topic/health, dc/topic/Healthconditions and dc/topic/globalhealth which is good!
Showing a lot more charts about health issues.
Mortality is also showing up because it is part of the dc/topic/Health.

Added the SV Differ report: https://drive.google.com/file/d/1vm08rTnPIQyhqGBaQaqvmsYR6dD4XsaL (looks good!)

Added some more details to the PR description (scroll to the bottom for some commentary on specific demos).


Duplicate identifiers on windows

Hi,
Im getting a lot of Duplicate Identifiers errors on windows builds for my current project. This does not happen on OS X or linux. There are also no such errors on my local environment (OS X) with fresh new node_modules.
Whats wrong with windows? :)
Im using typescript@next (typescript@1.9.0-dev.20160609-1.0). Project is at https://github.com/Mercateo/dwatch

In your tsconfig.json, you need to add this:
{
  "exclude": [
    "typings/globals",
    "typings/modules"
    ...
  ]
}

@unional thanks for answering! But build is still broken
I wonder why it works on OS X/Linux and is broken on windows. Besides errors from typings/ there are also errors from node_modules/, which are excluded too...

Sorry, nevermind. The exclude is not needed.

@otbe
My project has same problem.
Did you resolve it?

Can you share the tsconfig? When did this start happening? What is the version of node?

I think that's his tsconfig.json:
https://github.com/Mercateo/dwatch/blob/master/tsconfig.json
Since it is using github-electron, maybe he needs to specify nolib?

Which node versions does this occur on? Node v6 changed some casing behaviour around drive letters (hence only affects windows, not OSX/linux) that can impact typescript projects. If compiling works with node v4/5 but not with v6, it may be related. See #8837.

@mhegazy @unional yes this is my tsconfig https://github.com/Mercateo/dwatch/blob/master/tsconfig.json
@GrayChoi no :(
@yortus all ci build environments are using node 5 (I guess 5.1) and locally Im using node 6.2.1.
I think it starts when upgrading typescript 1.8.10 to typescript@next. Unfortunately I need a nightly because of the broken async/await type inferring thing in 1.8.10.

I do not see how this used to work with TS 1.8.* or on OSX anyways. but excluding the duplicate types from typings, resolved most of the issues, then that left me with one error of not found module for inversify. adding a path mapping to it, gets the compilation working clean. here is the tsconfig.json:
{
  "compilerOptions": {
    "target": "es6",
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "jsx": "react",
    "baseUrl":  ".",
    "paths": { "inversify": [ "node_modules/inversify-dts/inversify/inversify.d.ts" ] }
    // "noImplicitAny": true
  },
  "exclude": [
    "node_modules",
    "app/node_modules",
    "dist",
    "coverage",
    "generated",
    "assets",
    "typings/main",
    "typings/main.d.ts",
    "typings/browser",
    "typings/browser.d.ts"
  ]
}

@mhegazy
inversify is referenced in index.ts by /// (see https://github.com/otbe/dwatch/blob/update-notification/app/src/index.tsx#L1) and there are no folders typings/main or typings/browser anymore in typings 1.0. So don't know whats went wrong on your installation.

    "typings/main",
    "typings/main.d.ts",
    "typings/browser",
    "typings/browser.d.ts"

is not needed as he is using<EMAIL_ADDRESS>it does not have those files anymore.

Downgraded to typescript 1.8.10 and it works again -> https://ci.appveyor.com/project/otbe/dwatch
So typescript@next is somehow broken on windows...

my bad. still i am not getting it to build on TS 1.8.10.
c:\test\9049\dwatch>tsc --v
Version 1.8.10

c:\test\9049\dwatch>typings --v
1.0.4

c:\test\9049\dwatch>type tsconfig.json
{
  "compilerOptions": {
    "target": "es6",
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "jsx": "react"
    // "noImplicitAny": true
  },
  "exclude": [
    "node_modules",
    "app/node_modules",
    "dist",
    "coverage",
    "generated",
    "assets"
  ]
}

c:\test\9049\dwatch>tsc
app/src/utils/IOC.ts(1,63): error TS2307: Cannot find module 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(17,36): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(25,36): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(37,54): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(38,53): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(41,41): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(43,50): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(44,44): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(46,56): error TS2503: Cannot find namespace 'inversify'.
node_modules/inversify-dts/inversify-binding-decorators/inversify-binding-decorators.d.ts(47,44): error TS2503: Cannot find namespace 'inversify'.

@mhegazy are you on branch "update-notification" of https://github.com/otbe/dwatch?
inversify should be referenced in app/src/index.ts

no i was on master. sorry about that.. but i can not reproduce any issues on windows.
c:\test\9049\dwatch2>git status
On branch update-notification
Your branch is up-to-date with 'origin/update-notification'.
nothing to commit, working directory clean

c:\test\9049\dwatch2>tsc --v
Version 1.9.0-dev.20160610-1.0

c:\test\9049\dwatch2>tsc

c:\test\9049\dwatch2>echo %ERRORLEVEL%
0

@mhegazy
Mh curious. Which node version?
Using node 5.11.0 on windows builds.

node 6.2.0, windows 10.

Mh build fails with node 6.2.1 :(
https://ci.appveyor.com/project/otbe/dwatch/build/0.4.62

@otbe if this is still an issue, can you please share a minimal repro project?


Alerts

Alert messages can be configured and built into a site, but it would be better to use another location for alert messages, such as the release-notes repository. That way, the javascript app wouldn't need to be rebuilt to display or remove an alert message. It would check for relevant alerts and display them if appropriate.

We can define different types of alerts for different circumstances.

site wide alert: displays along the top of each page of the site
tool alert: displays a badge on a particular tool that when clicked/hovered shows a message (used for plant reactome downtime messages in gramoogle, but requires rebuild to turn on/off)

site wide alerts have been implemented in gramene-alerts. moving tool level alerts to another issue


"/usr/bin/wine: 40: exec: /usr/lib/wine/wine: Exec format error" unable to be resloved

Windows Version
chromeos
WSL Version
chromebook
Are you using WSL 1 or WSL 2?

[ ] WSL 2
[ ] WSL 1

Kernel Version
idk
Distro Version
debian 8.04 i think
Other Software
No response
Repro Steps
i wish i knew how i got here
Expected Behavior
i go to run any wine app or wine it' self and i get /usr/bin/wine: 40: exec: /usr/lib/wine/wine: Exec format error but when i launch q4wine it dose work. albeit i cant run any exe fines because i get the same error. i have at least 6 plus bugs just trying to run wine of chromebook and after solving almost all of it, the only one left is this one.  which for some reason is  different from other errors that have the same name. i tried just about ever tutorial i could find so im here now.
Actual Behavior
/usr/bin/wine: 40: exec: /usr/lib/wine/wine: Exec format error appears whenever i launch a wine app besides q4 from terminal well the rest give me that error. so far what i found is im running 32 and arm64 and more than 1 repository if thats the right term i got bookworm/bullseye and so far i couldnt find how to remove them as well as why i keep getting an error about id 7 screen name and my keys are fucked up beyond anything even on the internet.
Diagnostic Logs
No response

You need to be sure to use the 64bit version of wine. As WSL doesn't support out of the box 32 bits


Promote margin to a type

Description
Similar to how stroke allows converting a dictionary into stroke properties, there should be a margin type that converts a dictionary specifier into a page margin
Use Case
Page margins can be specified in numerous ways:

Inside/outside
Single argument vs several
x/y vs left/right etc.
unspecified => auto

This makes it difficult to consume through a context call due to the wide variety of potential outputs. Each of these specifiers results in a different-format output:
#let page-margin(..args) = {
  let margin = if args.pos().len() > 0 {
    args.pos().at(0)
  } else {
    args.named()
  }
  set page(margin: margin)
  context page.margin
}

#set page(height: auto)
#(
  1em,
  (outside: 1em),
  (left: 3em),
).map(page-margin).join()

Similar to how a stroke evolved from a dict into its own type, I recommend the same thing for a margin. This way, users can expect to resolve top, bottom, left, and right without calculating it manually by checking the binding and page number, referencing auto against paper defaults, etc.
Real-world example: The "drafting" package would need to take all these into account to provide robust margin notes without user specifications.

Related note: Since context doesn't provide page.paper, is there an existing way to resolve an auto margin?

This way, users can expect to resolve top, bottom, left, and right without calculating it manually by checking the binding and page number
Hi, could you pls elaborate on how making a margin type could help with this use case?

The easiest example is to compare to a stroke. You can pass many forms of stroke into a shape, i.e.

black + 5pt
(paint: red, dash: "dashed")
1em
Each of these is a different type, but construct a stroke with the same set of fields. So having access to a stroke type means the user is not responsible to understand how to handle all these separate formats. They just need to do
stroke(input).thickness to get the line thickness. This is why typst authors added the type in 0.10

In the same way, a margin can be constructed from all the types and arguments listed in the feature request. So if I wanted to know the page margin, it is possible the user passed in margin: (outside: 3in). In this case, just to know the left margin, I need to

Find out whether the binding is left/right/auto
Find out whether the text direction is ltr/rtl
Find out whether the page is even or odd

If the margin type exists, I can just call context margin(input).left and it will provide me this value "out-of-the-box"

Can we also consider the ability to specify different margins on different pages?
It will be very useful, especially for the first page!

I'm not sure I see the link between resolving the page margin and making it into its own type with its own constructor. You can expose, through context, a value different from what the user specified directly - this happens today with most synthesized fields; e.g., in a show rule of table.cell, you will see the cell's final position, stroke etc. even if the user didn't specify those. The need to resolve properties for context shouldn't be our sole reason to create new types, as that would apply too broadly to other elements as well.
Indeed, what's missing here is a step in which we resolve page properties before each page is laid out (and, as a consequence, transform what users specified into what Typst effectively is aware of, i.e. into a single dictionary-like structure, through a custom type or not). I elaborate on this approach at #3671. We can see that #3811, for example, doesn't solve the resolving margin auto problem (the tests still show properties returning auto through context), only the structure problem. Resolving the margin and other page properties automatically, as I've previously suggested, would not only remove the auto problem, but also ensure the properties have a uniform structure when obtained through context, solving both problems.

Another problem not solved by a margin type: one can do set margin(3em) to have margins responsive to the main text size in force at the start of the page (I guess). But there's currently no way to make sense of this value in general since the meaning of em can be different in the context where margins are retrieved:
#let config = [Text #context text.size, margin #context page.margin]

#set page(width: 8cm, height: 4cm, margin: 1em)

#set text(8pt)
#config

#pagebreak()
#set text(16pt)
#config

#set text(10pt)
#config
is meaningless in the current context

(Example compiled with main)
Here the margins nicely respond to the main text size, but the value returned by context page.margin is unusable in the last case. So I guess the mechanism that will resolve auto in the future should also resolve em lengths to absolute lengths.


Confused about routing - urls not defined yet...

In your code example you have  defined as using goTo (part of the dist) and urls.
But urls isn't defined yet, as that happens in the next section of registerRoutes that, well, uses , meaning there's a circular loop.
Any way you could clear that up?

My use-case. A basic music player (artists, then albums, or folders then contents, playlists), which is controlled by path including id's "/album/" or "/artist//album"
Then I want to use searchParams for 2 overlay states, dialog and player.
dialog=, so if dialog is showing, that shows up on top of whatever component is being rendered at the time (e.g., a drawer for changing to a different page, or the dialog for logging in or changing server). Another dialog might be the current play queue. The idea of the query-param routes is to be able to support mobile back-button which is expected behavior on Android devices.
The player= boolean would overlay the player controls on top of whatever was there. they could close the player controls to surf around to pick something else to play - changing the main route but at any time they could click to pop the player controls back on top.

You're right, I ran into the same issue a couple of weeks ago and fixed it in version 2.0 (still in progress). But I will upload a patch in the next few minutes for version 1.0. The solution is simple: Link can receive a function as a url; That is, this code is valid:
<Link url={() => urls.yourRoute()}>Go to your route</Link>

Fixed on 1.1.8


add a repositories with a user/pass with their content in environment secrets

the idea:
repositories:
  - name: asdf
    url: ref+sops://../secrets/default.yaml#/asdf/chartrepo/url
    username: ref+sops://../secrets/default.yaml#/asdf/chartrepo/user
    password: ref+sops://../secrets/default.yaml#/asdf/chartrepo/pass

error:
in ./deploy.yaml: in .helmfiles[1]: in helmfile/deploy-bases.yaml: helm exited with status 1:
  Error: could not find protocol handler for: ref+sops

or
repositories:
  - name: asdf
    url: {{ .Values.asdf.chartrepo.url }}
    username: {{ .Environment.Values.asdf.chartrepo.user }}
    password: {{ .Environment.Values.asdf.chartrepo.pass }}

error:
in ./deploy.yaml: in .helmfiles[1]: in helmfile/deploy-bases.yaml: error during deploy-repositories.yaml.gotmpl.part.0 parsing: template: stringTemplate:4:19: executing "stringTemplate" at <.Values.asdf.chartrepo.url>: map has no entry for key "asdf"

Any way to do this?

@jurgenweber Interesting use-case! Unfortunately, it doesn't work today, but it seems to worth a feature request. Would you like Helmfile to add it?

Without a doubt! Super worth it. I want all my secrets encrypted, always. :)

I know this issue is old, but I think it can be closed as this can be done like this:
---
environments:
  default:
    secrets:
      - secrets.enc.yaml

repositories:
  - name: your-repo
    username: "{{ .Values.username }}"
    password: "{{ .Values.password }}"

It is important to define your values BEFORE you use them in your Helmfile, but it works


[AzureMonitorExporter] refactor MockTransmitter in tests

I'm working on some new tests.
This PR will simplify the steps to setup our Exporter with the MockTransmitter.
Changes

changes to csproj

Move MockTransmitter from project Exporter.Integration.Tests to Exporter.Tests.
Project Exporter.Integration.Tests now references the directory CommonTestFramework

new AzureMonitorExporterTestExtensions.
This encapsulates creating the Processor/Reader and configuring the MockTransmitter.
This will simplify setting up tests.
updated unit tests to use the new Extensions

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


fix(a11y): beta RWD feedback for code check

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Currently, when a screen reader user triggers the "Check Your Code" functionality in a Step (either by clicking the button or using the Ctrl + Enter shortcut) there is no audible feedback and thus the user does not immediately know that the code check took place, and furthermore does not know the results of the code check. This PR addresses those issues.
This required the reworking of the status area under the button so that I could implement it as a live region, which will then force the screen reader to announce the content in the status area when the code check is triggered. This included having to reword the feedback in order to make it announce more logically for people listening to the page and to make sure all information is conveyed clearly for these users. Additionally, I added an <h2> for the Hint in order to help screen reader users find the hint text if they need to explore it more thoroughly.
I also forced the status area to refresh each time the test is triggered so that it is apparent to visual users that the test executed.

Thank you @nhcarrigan. I'm in the process of refactoring just a little, so let's hold off merging just yet. Unless you would rather merge what I have now and do the refactoring in a separate PR?

Decided not to do any major refactoring right now (let's just concentrate on one thing at a time). I made one last quick change and I'm satisfied with this PR for now.


Nothing to see here, please delete me

This issue should be deleted

Feel free to click close issue, you can do that as the creator. Issues cant be deleted.


Problems running Gadfly + Julia 0.4.0-rc1+7: MethodError: circle has no method matching circle(::Array{Int64,1}, ::Array{Int64,1}, ::Array{Compose.Measure{S,T},1}, ::Symbol)

Just installed the new stable release of Julia (Version 0.4.0-rc1+7 (2015-09-10 20:01 UTC) ). I tried to run a simple example of Gadfly webpage but I got the following error message:
julia> p = plot(x=[1,2,3], y=[4,5,6])
Error showing value of type Gadfly.Plot:
ERROR: MethodError: circle has no method matching circle(::Array{Int64,1}, ::Array{Int64,1}, ::Array{Compose.Measure{S,T},1}, ::Symbol)
Closest candidates are:
circle(::AbstractArray{T,N}, ::AbstractArray{T,N}, ::AbstractArray{T,N})
circle(::Any, ::Any, ::Any)
in render at /home/cdesantana/.julia/v0.4/Gadfly/src/geom/point.jl:45
in render at /home/cdesantana/.julia/v0.4/Gadfly/src/geometry.jl:47
in render_prepared at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:846
in render at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:785
in display at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:1037
[inlined code] from multimedia.jl:151
in display at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:985
in print_response at REPL.jl:135
in print_response at REPL.jl:122
in anonymous at REPL.jl:624
in anonymous at REPL.jl:827
in anonymous at LineEdit.jl:767
in prompt! at ./LineEdit.jl:1636
in run_interface at ./LineEdit.jl:1605
in run_frontend at ./REPL.jl:863
in run_repl at ./REPL.jl:167
in _start at ./client.jl:453
julia> draw(PNG("myplot.png", 12cm, 6cm), p)
ERROR: MethodError: circle has no method matching circle(::Array{Int64,1}, ::Array{Int64,1}, ::Array{Compose.Measure{S,T},1}, ::Symbol)
Closest candidates are:
circle(::AbstractArray{T,N}, ::AbstractArray{T,N}, ::AbstractArray{T,N})
circle(::Any, ::Any, ::Any)
in render at /home/cdesantana/.julia/v0.4/Gadfly/src/geom/point.jl:45
in render at /home/cdesantana/.julia/v0.4/Gadfly/src/geometry.jl:47
in render_prepared at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:846
in render at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:785
in draw at /home/cdesantana/.julia/v0.4/Gadfly/src/Gadfly.jl:885
Any idea?

I bet you checked out master on Gadfly. If so, you'll also need to check out master on Compose.
Or we could tag a new release of both Gadfly and Compose...

Yep!
I think the origin of my problem was that I had installed Gadfly using Pkg.clone(). But other packages I installed using Pkg.add().
To solve my problem I removed the installation of Gadfly, Compose and a couple of other julia packages and installed only Gadfly by using Pkg.add(). It installed many dependencies (as you can see in the message below). After calling "using Gadfly" it compiled Gadfly and I was able to run the example I gave above without any problem.
julia> Pkg.add("Gadfly")
INFO: Initializing package repository /home/cdesantana/.julia/v0.4
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
INFO: Installing ArrayViews v0.6.3
INFO: Installing Calculus v0.1.10
INFO: Installing Codecs v0.1.4
INFO: Installing ColorTypes v0.1.4
INFO: Installing Colors v0.5.3
INFO: Installing Compat v0.7.0
INFO: Installing Compose v0.3.14
INFO: Installing Contour v0.0.7
INFO: Installing DataArrays v0.2.18
INFO: Installing DataFrames v0.6.9
INFO: Installing DataStructures v0.3.12
INFO: Installing Dates v0.4.4
INFO: Installing Distances v0.2.0
INFO: Installing Distributions v0.8.6
INFO: Installing Docile v0.5.18
INFO: Installing DualNumbers v0.1.3
INFO: Installing FixedPointNumbers v0.0.10
INFO: Installing GZip v0.2.17
INFO: Installing Gadfly v0.3.14
INFO: Installing Grid v0.3.10
INFO: Installing Hexagons v0.0.4
INFO: Installing ImmutableArrays v0.0.10
INFO: Installing Iterators v0.1.8
INFO: Installing JSON v0.4.5
INFO: Installing KernelDensity v0.1.1
INFO: Installing Loess v0.0.3
INFO: Installing NaNMath v0.1.0
INFO: Installing Optim v0.4.2
INFO: Installing PDMats v0.3.5
INFO: Installing Reexport v0.0.3
INFO: Installing Showoff v0.0.4
INFO: Installing SortingAlgorithms v0.0.5
INFO: Installing StatsBase v0.7.2
INFO: Installing StatsFuns v0.1.3
INFO: Installing WoodburyMatrices v0.1.1
INFO: Package database updated
The lesson of the day (for me) is: Use Pkg.add() instead of Pkg.clone() as many times as you can!
Thanks a lot!


Cleanup appearance of error action page

Use better formatting to more closely match existing DA 501.html template
Make it possible to completely hide the technical information when verbose errors are disabled with the existing Docassemble error configuration (https://docassemble.org/docs/config.html#verbose error messages)

Test interview:
---
include:
  - assembly_line.yml
---
mandatory: True
question: |

  ${ users[dict()] }

After realizing that this is a bit more aligned with a DA config, I get it a bit more. I still think that particular config isn't well thought out (with it on, error screens just show the word "error" and nothing else at all), and I wouldn't encourage anyone to enable it, but it we want to be aligned with it we can be.

I added a commit that splits up the trace and the history, which can appear separately (i.e., a history with no trace will show up when there's an infinite loop).


[nuget] Publish a nuget package without a hyphen

Currently it's not possible to use Raylib-cs for .NET 7 WASM build due to the hyphen in the name. I reported the issue to dotnet/runtime and it has been already fixed and merged to main, see https://github.com/dotnet/runtime/issues/78992
However it might take a while before we see that in 7.0.x as I requested in ⬆. Right now the target is 7.0.3 of the back-port PR:
https://github.com/dotnet/runtime/pull/79175
Even if they manage to successfully back-port the fix to 7.0.3, based on 6.0.3 it would take 3+ months before we see that.
So yes, admittedly publishing a nuget package without a hyphen would basically be a workaround for broken functionality in dotnet. I can try to prepare the .csproj and adjust a GitHub workflow if there is enough interest.

Ideally Raylib-cs should be a single package for all platforms. I don't mind publishing a temporary version to workaround this issue though the name/description should be clear to prevent confusion for new users.

Completely agree, this is truly just a workaround which would allow to use the library as a proper nuget dependency for Web. In my prototype I had to copy Raylib-cs as a workaround:
https://github.com/disketteman/DotnetRaylibWasm/tree/main/Raylib_cs
(Plus I removed some obsolete raylib functions, but IIRC that's it)
BTW I can obviously publish a package with a different name on my own manually, however I'm bit afraid that it wouldn't look very... legitimate?
Anyway what next steps do you suggest?

@disketteman I think we should first look at adding the wasm support changes needed to the library/examples. From there I can test some ideas and get a better idea of what should be done on the packaging side.

@ChrisDill what if somebody did that for us already? 😄
https://github.com/disketteman/DotnetRaylibWasm

By that I meant merging those changes upstream. :smile: In the meantime, I will look at setting up the project somebody made locally so I can test some ideas.

So far I found these issues:

https://github.com/disketteman/DotnetRaylibWasm/issues/11

easy

https://github.com/disketteman/DotnetRaylibWasm/issues/5

this ticket is about that

https://github.com/disketteman/DotnetRaylibWasm/issues/4

no idea, but I can live without them

I can report them separately and also report a WebAssembly build, however it's more complicated because raylib must be compiled with the very same version of emscripten as the project. It's because emscripten doesn't follow semver (mentioned here).

Thanks! No need to report separately. We can track those issues in your project.
Though worth mentioning #118 could maybe help with ensuring the same emscripten version is used.

@stanoddly Sorry for leaving this open for so long. Have not kept up to date on wasm progress so I am not sure on the status of this. Are the 3 issues still blocking this?
Looks like someone got it to work with the nuget package for https://github.com/stanoddly/DotnetRaylibWasm/issues/5 though that needs to be tested with the latest package to be sure. Also worth mentioning some progress has been made with custom builds though still experimental at the moment.
Also I noticed the zlib license isn't in your project. Can you add this for the Raylib-cs library/examples as it is not the same as the MIT license. Thanks!

Closing since the hyphen in the name is no longer an issue.


Skip init-cloud when not using KC

Auth provider config was not skipped properly because a question mark was missing from the method name in respond_to?

LGTM


Crash without apparent explanation

Explain the bug
The application crashed without any apparent explanation during normal use
To reproduce
No idea, check the logs
Expected behavior
I think I wanted to open a folder, but it's certainly not related, I think it's due to the caching feature
Logfile
debug.txt
System Information

OS Version: Windows 10 20H2 19042.928
App version: <IP_ADDRESS>

Additional comment
Cache files and folders is enabled

Thanks for this report. This should be fixed in Files <IP_ADDRESS>. If you find it happening there too please let us know.


UHF-11137: Reusable test workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.36%. Comparing base (02b79c1) to head (8586950).
Report is 17 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #60      +/-   ##
============================================
- Coverage     84.19%   83.36%   -0.84%
- Complexity      142      146       +4
============================================
  Files            18       18
  Lines           582      589       +7
============================================
+ Hits            490      491       +1
- Misses           92       98       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Calibration of servo_2_angle_pws - How?

Great project. Thanks for sharing your knowledge, experience and results of your hard work :)
I've successfully calibrated servo 1 using bg.calibrate(). The documentation advises "Repeat the process for the other servo.", but does not go into further detail.
How do I switch to servo 2 for the calibration process?

Hey cheesebox,
i have the same problem. Have you figured it out yet?
I know that you can pass servo=2 to calibrate to configure the outer motor --> bg.calibrate(servo=2)
But I always get, bad values for my motor, which drive die pen out of the boundary area.


Spyder not responding

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
spyder is not responding , I even tried resetting the spyder
What steps reproduce the problem?

after i tried to install spyder 5.3.3, and it showed that conflicts were found

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:

Python version: 3.10

Qt version:

PyQt version:

Operating System name/version: Windows 11

Dependencies

PASTE DEPENDENCIES HERE

Hey @Vinodhini12, thanks for reporting. Please open the Anaconda Prompt and run there
conda activate spyder-cf
conda list

and post the output here.
Also, what command are you using to update Spyder?

the command i was using to update spyder was conda update spyder=5.3.3

I am not sure if this is still relevant. I was able to fix this by upgrading to spyder 6 and using python 3.11.1


Put on conda forge

Now that globalwarmingpotentials is a dependency of openscm-units, can we add globalwarmingpotentials to conda forge to ensure that our stack continues to be installable with conda please @rgieseke ?

Sounds like a good idea, PRs welcome!

https://github.com/conda-forge/staged-recipes/pull/17259
Maybe you can look at the recipe if anything looks wrong or should be changed. If everything looks fine, I'll ping the relevant conda team for their review.

Awesome, thank you! Looks good to me :+1:

https://anaconda.org/conda-forge/globalwarmingpotentials

I think this is solved.

Almost ;-) https://github.com/openclimatedata/globalwarmingpotentials/commit/c93f9f11120900e57de9e27f05d2f52df075f86b
Thanks again! (Does this update automatically from PyPI? There has been a 0.9.1 bugfix which contained the actual changes.)

yeah, there is an autoupdate-thing (have to approve the automatically done PR), but maybe it got confused because I approved 0.9.0 while 0.9.1 was also available. I'll see if it fixes automatically or I have to re-start the magic again.

Alright! :rocket:

Legend thanks!


Fixes for intermittent undefined errors

Intermittent javascript undefined errors ("undefined is not an object") have been fixed with additional null checks.

here is an error when run app.
Error: Module build failed: Error: ENOENT: no such file or directory, open 'H:\Projects\xxxx\node_modules\angular2-knob\index.js'

Can you add more detail about your problem @jacklau88, what version are you using from:
NodeJS
TypeScript
An screenshot of your problem

my app is an ionic app.i install this plugin with your readme info.
import { KnobModule } from "angular2-knob";
imports: [
BrowserModule,
KnobModule,
IonicModule.forRoot(MyApp),
],
then i run with command:ionic serve,no throws errors.but throws some error when hosting it.like this:


Current modal (Access to last opened window anywhere)

It's can be comfortable to have access to last opened window.

currentModal
or
const modal = useModal() // computed
or
lastModal( currentModal better)

const modal = useModal() is more pretty and usual decision.
function useModal(): ComputedRef<Modal | null>

I think returning null is problem


[Feature Request] Expose new "reset" request type to the JSON API

Hi,
It will be great if a new query type reset is added to the JSON API.
The expected behavior is to clear the cached files and start from scratch.
I'd rather sending a reset command to tern rather than restarting it (on Windows, the restart of a process is a slow operation... )
Thanks

You mean including forgetting which files are loaded? Or just clear the currently loaded type graph?

Clear the currently loaded type graph ( I am not sure what it is, I am assuming its something similar to AST).
It should have the equivalent effect of stopping and starting (aka "restarting") tern from the command line.

Implemented in attached patch. Fully restarting the server will also cause its list of loaded files to be cleared (i.e. files that you've uploaded will be forgotten), which might not be what you want here. I've added a boolean flag in the query object to toggle this (http://ternjs.net/doc/manual.html#req_reset)

Thanks for the new API.
However, it seems to have no effect...
(I confirmed that I am using the latest tern JS source code)
Here is an example, consider the following 2 files project:
main.js with the following content:
var m = require("./module.js");
m.fooBar();
m.baz();

and module.js with the following content:
module.exports = {
    fooBar : function() {},
    baz : function() {}
}

typing m. in the main.js file gives the proper completion entries - so far so good.
At some point, I have extended module.js with another function so now it looks like this:
module.exports = {
    fooBar : function() {},
    baz : function() {},
    bazKirk : function() {}
}

Once the user hit Ctrl-S (save file) CodeLite triggers a reset request (I have no indication if it worked or did anything, since the output is empty)
At this point, if I type m. in main.js I get the following completion box from CodeLite:

Checking out what did tern replied I see that CodeLite is simply showing what it was asked to display:
CodeLite request:
POST / HTTP/1.1
From: Eran Ifrah
User-Agent: CodeLite IDE
Content-Type: application/x-www-form-urlencoded
Content-Length: 319

{
 "query": {
  "type": "completions",
  "file": "#0",
  "end": {
   "line": 3,
   "ch": 2
  },
  "docs": true,
  "urls": true,
  "includeKeywords": true,
  "types": true
 },
 "files": [{
   "type": "full",
   "name": "main.js",
   "text": "var m = require(\"./module.js\");\r\nm.fooBar();\r\nm.baz();\r\nm.\r\n"
  }]
}

And tern replied with:
{
    "start": 58,
    "end": 58,
    "isProperty": true,
    "isObjectKey": false,
    "completions": [
        {
            "name": "baz",
            "type": "fn()"
        },
        {
            "name": "bazK",
            "type": "fn()"
        },
        {
            "name": "bazKi",
            "type": "fn()"
        },
        {
            "name": "bazKir",
            "type": "fn()"
        },
        {
            "name": "bazKirk",
            "type": "fn()"
        },
        {
            "name": "fooBar",
            "type": "fn()"
        }
    ]
}

As you can see the wrong completions are coming from tern. If I restart the server after the user "Save" file command - completion are parsed properly, I wanted to avoid this by using the reset command

Ah, what you're doing here is not the right approach. And I've realized that my reset implementation is also problematic (it won't, for example, reload files listed as loadEagerly in your project settings). So I've reverted it again.
You should not be resetting the server every time a file changes, but instead you should upload a new version of the file with your next request (or push it to the server when, for example, moving away from a buffer).

You should not be resetting the server every time a file changes, but instead you should upload a
new version of the file with your next request (or push it to the server when, for example, moving
away from a buffer).

Will this force a re-parse of files "included" implicitly? (in my above example: module.js is parsed implicitly)

or push it to the server when, for example, moving away from a buffer

How do I do this? I can't find the proper API for this in the docs

You can create a request with just a files field and no query field to push new files. Files included in requests are always re-parsed before the request is run.

Unfortunately, this does not work. I am still getting the messy code completion (as seen in the screenshot above)
Once a file is saved, I am sending a request to tern similar to:
{
 "files": [{
   "type": "full",
   "name": "modules\\inner.js",
   "text": "..file content goes here..."
  }]
}

It does not seem to have any effect. Any ideas?

How are you updating the server's representation of module.js?

By sending this command:
{
 "files": [{
   "type": "full",
   "name": "module.js",
   "text": "..file content goes here..."
  }]
}

That looks sane. When sending a new version of a file (as per the name field), properties defined by the old version should be erased. And in fact, this works for other Tern plugins (at least, I can't reproduce this issue in Emacs or the online demo), but somehow it's not working for you.

It usually works fine without the need to restart tern unless the active buffer is including another js file via the require function and that file was modified.
I did also check that the name property is the same as tern sees it via the files command.

I'm out of ideas. Maybe log requests (using tern --verbose) from another editor plugin, recreate the same situation, and see how those requests differ from the one your code is generating.

Can you recommend such a plugin to try with tern --verbose ?

The Sublime Text and Emacs plugins will connect to an existing server if you start it in the project directory before opening the file.


Send mempool requests for mempool inventories from the network

https://developer.bitcoin.org/reference/p2p_networking.html#mempool

If there is nothing else that the mempool crawler task will do, then it is not different from #2593 .
If so. we can close this as a duplicate and clarify that this is what it will do in the issue description.

Closing as duplicate of #2593


follow up PR #56 and issue #55

add explanation to configuration after change

See PR #56 for why I'm closing this.
Also, you can rebase a commit to add more to it (e.g. the docs have here) or even add additional commits to an existing PR.


Chrisda to Master

Typo fix similar to #4969

Docs Build status updates of commit 6129598:
:clock10: Full build: the average full build time is 12 min(s) 14 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 6129598:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/antispam-antimalware/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Enable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/client-access/Set-MailboxCalendarConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-InboxRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

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.

Docs Build status updates of commit 3a5b1e5:
:clock10: Full build: the average full build time is 12 min(s) 14 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 3a5b1e5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/antispam-antimalware/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Enable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/client-access/Set-MailboxCalendarConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-InboxRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

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.

Docs Build status updates of commit 241bc5e:
:clock10: Full build: the average full build time is 12 min(s) 14 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 241bc5e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/antispam-antimalware/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Enable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/New-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/client-access/Set-MailboxCalendarConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-InboxRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

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.


Adaptive Card form breaks emulator interface.

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.1.0
Describe the bug
When getting to a dialog that uses an adaptive card with form fields the entire interface vanishes. There's no error (i can't seem to find any logging). This happens on both development and production endpoints.
The form renders fine on a very basic test demo client. However that is pointing at the production app and not my local. I've been using the bot emulator for debugging the local bot.
To Reproduce
Steps to reproduce the behavior:

I've built an adaptive card (v 1.0.3 and v 1.0.0) with text blocks, text inputs, a choice set input and a toggle input. With a submit action also.
Go to that part of the dialog that triggers the form.
Interface vanishes.

Expected behavior
The interface should remain and the form should be rendered.
Screenshots
Before the response was submitted that triggers the issue

Once the response has been submitted the interface dissapears, leaving a blank window.

On a demo page that is pointing at the production endpoint the form renders correctly

Additional context
The methods that i used to create the card response is the following.
public static IMessageActivity SendClientForm(ITurnContext turnContext, dynamic data)
        {
            var response = turnContext.Activity.CreateReply();
            var card = BuildClientForm(data.Message).ToJson();

            response.Attachments = new List<Attachment>
            {
                new Attachment
                {
                    ContentType = "application/vnd.microsoft.card.adaptive",
                    Content = card,
                }
            };

            return response;
        }

        private static AdaptiveCard BuildClientForm(dynamic data)
        {
            var card = new AdaptiveCard();

            card.Body.Add(new AdaptiveTextBlock
            {
                Spacing = AdaptiveSpacing.Medium,
                Text = FindCandidateStrings.FORM_TITLE_LABEL,
                Weight = AdaptiveTextWeight.Lighter,
                Size = AdaptiveTextSize.ExtraLarge,
                Wrap = true
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_NAME_LABEL,
            });

            card.Body.Add(new AdaptiveTextInput
            {
                Id = "name",
                MaxLength = 100,
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_EMAIL_LABEL,
            });

            card.Body.Add(new AdaptiveTextInput
            {
                Id = "email",
                MaxLength = 100,
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_PHONE_LABEL,
            });

            card.Body.Add(new AdaptiveTextInput
            {
                Id = "phone",
                MaxLength = 20,
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_MESSAGE_LABEL,
            });

            card.Body.Add(new AdaptiveTextInput
            {
                Id = "message",
                MaxLength = 500,
                IsMultiline = true,
                Value = data
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_MARKET_LABEL,
            });

            card.Body.Add(new AdaptiveChoiceSetInput
            {
                Id = "market",
                Style = AdaptiveChoiceInputStyle.Compact,
                IsMultiSelect = false,
                Value = "",
                Choices = GetMarketChoices()
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_NUMBER_LABEL,
            });

            card.Body.Add(new AdaptiveNumberInput()
            {
                Id = "phone",
                Placeholder = FindCandidateStrings.FORM_NUMBER_PLACEHOLDER,
                Min = 1
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_INDUSTRY_LABEL,
            });

            card.Body.Add(new AdaptiveTextInput
            {
                Id = "industry",
                MaxLength = 100
            });

            card.Body.Add(new AdaptiveToggleInput()
            {
                Id = "acceptTerms",
                Title = FindCandidateStrings.FORM_PRIVACY_POLICY,
                Value = "false",
                ValueOn = "true",
                ValueOff = "false"
            });

            card.Body.Add(new AdaptiveTextBlock
            {
                Text = FindCandidateStrings.FORM_REQUIRED_LABEL,
                Size = AdaptiveTextSize.Small,
                Weight = AdaptiveTextWeight.Lighter
            });

            card.Actions.Add(new AdaptiveSubmitAction()
            {
                Title = "Submit"
            });
            return card;
        }

        private static List<AdaptiveChoice> GetMarketChoices()
        {
            var choices = FindCandidateStrings.FORM_MARKET_CHOICES.Split('|').ToList();
            var adaptiveChoices = new List<AdaptiveChoice>
            {
                new AdaptiveChoice
                {
                    Title = FindCandidateStrings.FORM_DEFAULT_SELECT,
                    Value = "0",
                }
            };

            foreach (var choice in choices)
            {
                adaptiveChoices.Add(new AdaptiveChoice{ Title = choice, Value = choice});
            }

            return adaptiveChoices;
        }

[bug]

This looks like a webchat issue. I'll investigate.

@paulmains - Do you have the adaptive card json handy?

Hi @justinwilaby i wasn't using json, but using the data in this ticket I quickly created one. That version works fine, however when you create one in C# using the AdaptiveCard library it breaks in the emulator (but works fine in the web client)
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"spacing":"medium",
"size": "extraLarge",
"weight":"lighter",
"text": "Form title",
"wrap": true,
"maxLines": 0
},
{
"type": "TextBlock",
"text": "form name label"
},
{
"id": "name",
"type": "Input.Text",
"maxLength": 100
},
{
"type": "TextBlock",
"text": "form email label"
},
{
"id": "email",
"type": "Input.Text",
"maxLength": 100
},
{
"type": "TextBlock",
"text": "form phone label"
},
{
"id": "phone",
"type": "Input.Text",
"maxLength": 20
},
{
"type": "TextBlock",
"text": "form message label"
},
{
"id": "message",
"type": "Input.Text",
"maxLength": 500,
"isMultiLine": true,
"value": "message"
},
{
"type": "TextBlock",
"text": "form market label"
},
{
"id": "market",
"type": "Input.ChoiceSet",
"maxLength": 20,
"style": "compact",
"value": "",
"choices": [{
"title": "please select",
"value": "0"
}]
},
{
"type": "TextBlock",
"text": "form number label"
},
{
"id": "number",
"type": "Input.Number",
"maxLength": 20
},
{
"type": "TextBlock",
"text": "form industry label"
},
{
"id": "industry",
"type": "Input.Text",
"maxLength": 100
},
{
"type": "Input.Toggle",
"id": "acceptTerms",
"title": "privacy policy",
"value": "false",
"valueOn": "true",
"valueOff": "false"
},
{
"type": "TextBlock",
"text": "form required label",
"size": "small",
"weight": "lighter"
}
],
"actions":[
{
"type":"Action.Submit",
"title": "Submit"
}
]
}

@paulmains do you mean it work in Web Chat but not in Emulator? Are you using Web Chat v4?
@corinagum can you repro it in Web Chat v3/v4. We often need to debug Adaptive Cards, it will be a great if MockBot can take an uploaded file (JSON of Adaptive Cards), and reply as an Adaptive Card activity.

@paulmains ❤ your inspection into the web page. I almost forgot we added <meta> tag to help user finding out the version and variant of Web Chat they are using.
Emulator is using Web Chat v3 for now, we will bump it to v4 in Feb release. So it is a good guess that a bug in Web Chat v3 is plaguing Emulator.
@corinagum we can scope down to v3.

@paulmains - can you please confirm this has been fixed with the bump to WebChat 4.0 in our nightly release?

We've upgraded the WebChat in the Emulator and this should no longer be an issue. Please reopen if you've updated your Emulator version (>=4.2.1) and are still seeing this issue.


[Feature Request] Open popover on tab close icon click

Existing Component
Yes
Component Name
Tabs, Popover
Description
It would be great to be able to display a popover when the user click on the "x" button on an opened tab.
Maybe to ask for a confirmation.
Is it maybe already possible? I do not know how, anyway.

The event handler for clicking the "x" button is defined by you, so you can do whatever you want in the handler.

Do you mean the "@tab-remove" event handler?
But this handler takes as input the selected tab name.
How can I append a popover to the icon (or at least the tab)?


Override file order display for indexes

Summary
Working with index files, they should not be mixed up with what they index, would be a real treat if they come first, as a index in a text document.
Current behavior
- movies
  - epics.php
  - index.php
  - slice.php

Finding index files become increasingly hard as the file count increases. And since they serve as map for the files, it makes sense they be the first thing the user will see when entering a new directory.
Proposed behavior
- movies
  - index.js
  - epics.js
  - slice.js

This would help understand what is currently exported in the index and what files you are handling through a file instead of a directory (some people may prefer this way).
Cases

what if there are different index.{html, js, ts}? Let them be sorted as they were between them, but still let them come first
what if I don't want this behavior? As everything in vscode, let this be configurable. Maybe start off and let the community try it first willingly.
what if I want only certain indexes first? Offer a regex config for this.

Config suggestion
"explorer.sortOptions": {
  "indexFirst": boolean,
  "ignoreFiletype": boolean,
  "filesFirst": boolean,
  "priorityRegex": Record<number, RegEx | string>;
}

Maybe this could have it's scope increased by letting users define the sorting algo by their taste. For example my vscode currently order things like this:
- react-store.md
- react.md

But would rather have the opposite:
- react.md
- react-store.md

(Like my file explorer does and what it seems subconsciously logic to me)

This one looks like duplicate of #27286 (umbrella issue)

@IllusionMH that issue got stale, do I close this one and comment on there?

Generally duplicate of #27286. You might be interested in #6328 as well, which I'm investigating this moth.


USHIFT-2926: Implement bootc-image-builder support for creating CentOS ISO files

Also addresses USHIFT-2983

/test ?

/test metal-bootc-test

/test metal-bootc-test

/test metal-bootc-test

Test failures are due to the problem fixed by https://github.com/openshift/microshift/pull/3286

/test metal-bootc-test
/test metal-bootc-test-arm

/retest-required

/test microshift-metal-tests-arm

This looks good. Will LGTM as we expect the arm tests to pass now
/lgtm


Error for input string: "@fraction/icon_viewport_size" in ic_panorama.xml file when building the project

 Issue by israelmatavele
Monday Jan 16, 2017 at 14:06 GMT
Originally opened as https://github.com/googlesamples/android-OurStreets/issues/3

Information:Gradle tasks [clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:compileDebugSources, :app:compileDebugUnitTestSources, :app:compileDebugAndroidTestSources]
D:\AndroidStudioProjects\OurStreets\app\src\main\res\drawable\ic_panorama.xml
Error:Error: For input string: "@fraction/icon_viewport_size"
Error:Execution failed for task ':app:mergeDebugResources'.

D:\AndroidStudioProjects\OurStreets\app\src\main\res\drawable\ic_panorama.xml: Error: For input string: "@fraction/icon_viewport_size"

 Comment by keyboardsurfer
Monday Jan 16, 2017 at 15:12 GMT

A fresh clone with ./gradlew assembleDebug works fine.
Please add more info on how to reproduce this issue.


WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - charger-offline, Charger is offline

Hi,
i´m getting the following error now and then until i restart homebridge to get rid of the error:
[4/29/2020, 2:44:48 PM] [Roborock S50 UNTEN] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - charger-offline, Charger is offline
Dock has power and the connectors are clean. The robot is charging according to the MII Home App.
No idea why it is spawning that error.

I also get a reoccurring error for my S5:
[Robot Vaccum] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 8, Make sure there are no obstacles around the vacuum.

I also get on a regular basis also warnings:
My vacuum is docked and charged and nobody touched it
WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 3, Try moving the vacuum to a different place.
Restarting homebridge resolves the issue.

Maybe this additional info is useful and others can confirm: I only get these errors after i let the robots clean something (full cleaning or room selective).
When i restart homebridge and the robots just sit in their dock the errors are never occuring in my log.

It only happens once I started and finished room cleaning

It seems like the robot keeps emitting past errors. We may need to investigate if there's a way to flush them from the memory once logged.
Thanks for reporting it and all the additional details!

same for me, xiaomi mi robot 1s, check screen!
even if Homebridge shows this error, the vacuum works perfectly.

It should be fixed in homebridge-xiaomi-roborock-vacuum@next. Can you test and confirm, please?

@afharo Works for me 😄 Errors no longer continue appearing

affirmative - so far i couldnt see any errors too. Closing the bug - thanks alot @afharo :)

Correction: Might be a different problem, but i am now getting old errors spawned again, even the problem (dirty contacts / no charging) was solved hours ago:
[5/4/2020, 3:45:08 PM] [Roborock S50 UNTEN] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 13, Couldnt charge properly. Make sure the charging surfaces are clean.
[5/4/2020, 3:45:38 PM] [Roborock S50 UNTEN] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 13, Couldnt charge properly. Make sure the charging surfaces are clean.

Hmmm @glowfishDE,
I'm not sure what it can be...
Are you sure you are running the @next version?
Can you run npm -g list homebridge-xiaomi-roborock-vacuum to check the installed version? If it's 0.8.0-... then you are running the version containing the changes.

Hi,
the above command gives me:
/homebridge # npm -g list homebridge-xiaomi-roborock-vacuum
/usr/local/lib
`-- (empty)

hmm... maybe without the -g? or by adding sudo?

Hah!
npm list homebridge-xiaomi-roborock-vacuum
/homebridge
`--<EMAIL_ADDRESS>╭────────────────────────────────────────────────────────────────╮
│                                                                │
│      New minor version of npm available! 6.13.4 -> 6.14.5      │
│   Changelog: https://github.com/npm/cli/releases/tag/v6.14.5   │
│               Run npm install -g npm to update!                │
│                                                                │
╰────────────────────────────────────────────────────────────────╯
Obviously it didnt update correctly ?
Strange because normally my homebridge-config-ui-x tells me there is an update available and i update quiet frequently.
Ill update and report again

Strange because normally my homebridge-config-ui-x tells me there is an update available and i update quiet frequently.

Yeah... the @next release is not @latest. That's why the UI doesn't tell you there's a new version ;)
It's kind of a beta version :)
If you want to install it, you'll need to enforce it by running npm install homebridge-xiaomi-roborock-vacuum@next :)

npm list homebridge-xiaomi-roborock-vacuum
/homebridge
`--<EMAIL_ADDRESS>Ok - lets see what happens next.. ill re-open if its occuring again. Thanks Alejandro

Hey, only as info:
I got still this error in version v0.11.2

😭
Thanks for confirming... reopening then... 🤦

Thanks!

It should finally be fixed in<EMAIL_ADDRESS>

Will try it.... and let youi know if it is not working ....

Thank you! And please, feel free to reopen the issue if you find it's not working


[AIRFLOW-2908] Allow retries with KubernetesExecutor.

Make sure you have checked all steps below.
Jira

[X] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2908

Description
This allows users to retry DAG tasks when using the Kubernetes executor.
Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:

There do not appear to be tests for this view.
Commits

[X] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue.

@dimberman

Codecov Report

Merging #3758 into master will increase coverage by <.01%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master    #3758      +/-   ##
==========================================
+ Coverage   77.67%   77.68%   +<.01%
==========================================
  Files         204      204
  Lines       15846    15860      +14
==========================================
+ Hits        12309    12321      +12
- Misses       3537     3539       +2

Impacted Files
Coverage Δ

airflow/www_rbac/views.py
72.78% <76.92%> (+0.06%)
:arrow_up:

airflow/www/views.py
69.11% <76.92%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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

Did you actually ran a job using this code? @jpds

@Fokko Yes, I have this happily working on our test Airflow instance.

Can anyone please explain why this operation is limited only for celery or Kubernetes executor.
I tried to remove this check & it seems working fine for LocalExecutor as well, Am I missing something ?

@Devarajegowda Probably because it didn't used to work and no one investigated to see that it does now work. If it does now work then please open a PR :)


optional comparison fail with equals method

fix https://github.com/Digipolitan/polymorph-cli/releases/tag/v1.1.0


Discrepancies in production build styles order (compared to nuxt 2)

Environment
Nuxt project info:
------------------------------
- Operating System: Linux
- Node Version:     v18.18.0
- Nuxt Version:     3.9.3
- CLI Version:      3.10.0
- Nitro Version:    2.8.1
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      css, devtools
- Runtime Modules:  -
- Build Modules:    -
------------------------------

Reproduction
Nuxt 3 repo vs Nuxt 2 repo
Both projects implement an identical structure (layout with header and index page)
In each of the reproductions, run the necessary commands to run the project in production mode

nuxt 3 - npm run build && npm run preview
nuxt 2 - npm run build && npm run start

Inspect the HTML code returned by accessing the index page. Notice the <style> tag in the <head>
Describe the bug
The way Nuxt 3 builds and extracts the CSS from the app is inconsistent with Nuxt 2. This can cause complications when migrating an existing Nuxt 2 app.
In Nuxt 3, the global styles specified from the nuxt config are injected at the end of the style tag. With Nuxt 2, these were injected at the beginning.
In both reproduction repositories, the @/assets/styles/global.css file is provided globally. If you inspect the result of the HTML pages (build for production), the contents of that CSS file are placed differently.
Follow-up observation - this might be unrelated, but you will also notice that in the case of Nuxt 3, it is including the styles for both components/dynamic/One.vue and components/dynamic/Two.vue even though only at render time only <dynamic-one /> is rendered. Nuxt 2 correctly only includes the styles from One.vue.
If unrelated (and is considered to be an issue) i am happy to open a separate report.
Additional context
We are in the process of migrating our Nuxt 2 app to Nuxt 3 and are running into multiple complications - this is one of them.
In the case of developing an app from scratch this would not be an issue because it would inform the development style.
However, in our case some of the global styles get overridden by rules at the component level. The new order in Nuxt 3 causes this to break.
Logs
No response

I think this is a duplicate of https://github.com/nuxt/nuxt/issues/22817#issuecomment-1720163503

@manniL thanks for looking into this so quickly, but I dont see how the two are related.
What i'm pointing out is that the contents of global.less (provided through the css option in nuxt.config.ts) is inlined in different locations.

with nuxt 2, it's added right after the opening of the style tag
in nuxt 3, it's added at the end

I think we can track in https://github.com/nuxt/nuxt/issues/23785.


You attempted to set the key _65 with the value 1 on an object that is meant to be immutable and has been frozen.

Current behavior
Error being thrown when calling getItem and resolve within function is called.

This started happening randomly and I cannot seem to figure out why. Whenever get item is called this error is being thrown.
You attempted to set the key `_65` with the value `1` on an object that is meant to be immutable and has been frozen.

Expected behavior
I should be expecting it to return a stored item without this error.

Repro steps
I have not figured out how to repro it as I've never had this error before, I don't even know if it is directly related I am just following the logs at this point.

Try to call getItem to a large storage item?
It seems to be returning debug-local from the requested storage key, which is also debug-local.

Environment

Async Storage version: 1.6.1
React-Native version: 0.60.4
Platform tested: iOS
Logs/Error that are relevant:

ExceptionsManager.js:86 You attempted to set the key '_65' with the value '1' on an object that is meant to be immutable and has been frozen.
- <unknown>: AsyncStorage.js:86:10

To get around it I am just doing this:
if (value) {
  resolve(value);
}

As that seems to work for now.
It seems that the value is returning null and is breaking only on this specific call from debug-local haven't seen that before.

Hey @mikehuebner 	,
Yeah, that'd be a taught one to solve without repro steps. Maybe you're trying to save a data that's returned from some kind of third-party API (and that data is indeed frozen?)

@mikehuebner Any update on this?

@Krizzu Apologies on not getting an update sooner, been busy with other projects. But the ending solution ended up being modifying the keys async-storage was saving. I can't remember off the top of my head but it was another package that was trying to save a key within storage that just wasn't correct. Took me a while to figure out which key it was modifying but was easy once I figured that out. If anyone else has a problem similar to this I'll add more on how I fixed it.

For anyone else seeing this error I was also getting it when using this library with redux-persist, and accidentally trying to store a promise in my store.

i was getting this error as well because i was as @CatapultJesse says, storing a promise. All i had to do was put a .then(value => {Asyncstorage.setitem()}) .

After upgrading to RN-0.61 I encountered the same issue.
I am checking every bit of steps from Redux dev-tools and can't figure out why is this happening.
I'm using:
 "@react-native-community/async-storage": "^1.6.2",
  "redux-persist": "^6.0.0"

Any suggestions will be appreciated.

I'm getting this with:
 await AsyncStorage.setItem("settings", "{"hasAskedForLocationPermission":true,"hasAskedForNotificationsPermission":true,"hasOptedForNotifications":false}")

Hey you see values like _65, it means that you used Promise as value. Try to find if there's a place in code where you forgot to await a value

I figured out the issue. It had nothing to do with async-storage, though. Yes, I hadn't awaited a promise, but it was only a problem when I used it as a property in Segment.trackWithProperties(event, updatedProperties) using expo-analytics-segment. Might be useful for anyone else who gets this problem. I always log before tracking in the console, but it wasn't easy to track down because I don't await tracking to Segment so that it doesn't slow down the app. This was confusing.


centos 7.3 build errors

Using CentOS 7.3 64bit
yum list libpng gflags libpng-devel gflags-devel -q | tr -s ' '
Installed Packages
gflags.x86_64 2.1.1-6.el7 @epel
gflags-devel.x86_64 2.1.1-6.el7 @epel
libpng.x86_64 2:1.5.13-7.el7_2 @updates
libpng-devel.x86_64 2:1.5.13-7.el7_2 @updates

make
==== Building guetzli (release) ====
guetzli.cc
<command-line>:0:18: error: ‘google’ is not a namespace-name
guetzli/guetzli.cc:33:17: note: in expansion of macro ‘GFLAGS_NAMESPACE’
 using namespace GFLAGS_NAMESPACE;
                 ^
guetzli/guetzli.cc:33:33: error: expected namespace-name before ‘;’ token
 using namespace GFLAGS_NAMESPACE;
                                 ^
guetzli/guetzli.cc: In function ‘int main(int, char**)’:
guetzli/guetzli.cc:194:55: error: ‘SetUsageMessage’ was not declared in this scope
       "guetzli [flags] input_filename output_filename");
                                                       ^
guetzli/guetzli.cc:194:55: note: suggested alternative:
In file included from guetzli/guetzli.cc:24:0:
/usr/include/gflags/gflags.h:331:29: note:   ‘gflags::SetUsageMessage’
 extern GFLAGS_DLL_DECL void SetUsageMessage(const std::string& usage);
                             ^
guetzli/guetzli.cc:195:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
   ParseCommandLineFlags(&argc, &argv, true);
                                           ^
guetzli/guetzli.cc:195:43: note: suggested alternative:
In file included from guetzli/guetzli.cc:24:0:
/usr/include/gflags/gflags.h:346:31: note:   ‘gflags::ParseCommandLineFlags’
 extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int *argc, char*** argv, bool remove_flags);
                               ^
guetzli/guetzli.cc:198:31: error: ‘ShowUsageWithFlags’ was not declared in this scope
     ShowUsageWithFlags(argv[0]);
                               ^
guetzli/guetzli.cc:198:31: note: suggested alternative:
In file included from guetzli/guetzli.cc:24:0:
/usr/include/gflags/gflags.h:175:29: note:   ‘gflags::ShowUsageWithFlags’
 extern GFLAGS_DLL_DECL void ShowUsageWithFlags(const char *argv0);  // what --help does
                             ^
make[1]: *** [obj/Release/guetzli.o] Error 1
make: *** [guetzli] Error 2

On Fedora 23 x86_64, with gflags-devel-2.1.1-8 package and gcc 5.3.1, I have the same errors.
One quick (and dirty) solution is to comment the two lines:
DEFINES += -DGFLAGS_NAMESPACE=google
in guetzli.make file.

same behaviour here with centos 7.3

Also same with Fedora 21 x86_64, gflags-devel-2.1.1-6, gcc 4.9.2-6.
Thanks BorisMansencal for the fix; works for me.

I don't have a CentOS install, so I couldn't properly verify the fix (I've checked with manually copied headers from that version). Please reopen if it still manifests.

Fixed


Don't require BufRead, only Read

While BufRead is preferable to avoid dog-slow performance, requiring
when no methods are called is also problematic, especially for wrappers
around Read that shouldn't necessarily need to know they're wrapping
BufRead.

Oh yeah, this was an artifact from the old Reader trait.  Thanks for noticing, and thanks for the pull request!


Merge TrueType bytecode manipulation library

This is work led by Patrick Lam (@patricklam), a professor at University of Waterloo.  Originally, Wenzhu Man (@wenzhuman) did a masters project and produced this document:
https://uwspace.uwaterloo.ca/bitstream/handle/10012/9116/Man_Wenzhu.pdf
Later on, Pat recruited Eduardo Hauck (@ehauckdo) to continue the project.  Anyway, all the work is in their fork of fonttools.  We should review and merge this work, and then see what to do with it:
https://github.com/wenzhuman/fonttools/commits/master

There is also a paper under submission to the Compiler Construction
conference which describes a newer version of the work more briefly.
I'd like to polish the code a bit before getting it reviewed. Perhaps I'll
have time to do that next week. I do think it should be eventually merged.
On Wed, Jan 6, 2016 at 12:27 AM, Behdad Esfahbod<EMAIL_ADDRESS>wrote:

This is work led by Patrick Lam (@patricklam
https://github.com/patricklam), a professor at University of Waterloo.
Originally, Wenzhu Man (@wenzhuman https://github.com/wenzhuman) did a
masters project and produced this document:
https://uwspace.uwaterloo.ca/bitstream/handle/10012/9116/Man_Wenzhu.pdf
Later on, Pat recruited Eduardo Hauck (@ehauckdo
https://github.com/ehauckdo) to continue the project. Anyway, all the
work is in their fork of fonttools. We should review and merge this work,
and then see what to do with it:
https://github.com/wenzhuman/fonttools/commits/master
—
Reply to this email directly or view it on GitHub
https://github.com/behdad/fonttools/issues/446.

Very interesting thesis!
@wenzhuman and @patricklam: Curious, have you considered doing your optimizations in Static Single Assignment form? Data flow analysis is much easier when the program is in SSA representation, which is why SSA has become standard practice in compiler construction about 20 years ago. Now, it isn’t immediately obvious why one couldn’t compute dominance frontiers for TrueType, but of course you’ve must have thought much more about this. Was there a particular reason for not using SSA?
Regarding the limitations in section 7.2 of the thesis: Curious, what is special about JROF, JROT and JMPR? Aren’t these just normal control flow instructions that end a basic block, similar to (for example) conditional branches in Java bytecode?

Thanks Sascha. We also submitted a paper to Compiler Construction, which didn't get in this year; there'll be a resubmission in the future. The paper is attached.
16.cc.fonts.pdf
There's not just upside to SSA form. Usually you would construct SSA after you have the three-address code in any case. And the problem (which people don't talk about so much, but which is real) is that when you try to manipulate the SSA form, you can easily break the invariants and produce invalid SSA. Most of the things you try to do with SSA form it turns out you can also do without SSA form.
We are using a structured representation of the bytecode, where if blocks are strictly nested. The jump instructions break that. The solution is probably to duplicate code.

BTW, see also: http://home.kabelfoon.nl/~slam/fonts/tticomp.html

And http://xgridfit.sourceforge.net/ — for the sake of completeness.


Completely quiet build?

As mentioned about styles in #134, can we tune the output such that there is no output, or maybe some progress indication (say, print a single "." for each event), and only have proper output if something breaks? So that logs are not so cluttered with success information, if one is interested only in the failures?

We are currently printing all build info using Shake's putNormal, see src/Base.hs.
@ndmitchell Is there a flag to pass to a Shake script that will silence all putNormal commands?

@snowleopard there is -q. Am I answering my own question? Ugh...

One still get's a lot of output from subcommands. And there's no indication if something is still happening. But maybe one could implement this in shake, such that a . is printed for each rule? @ndmitchell what do you think?
@snowleopard use -q and close this?

OK, let me close this: indeed -q is what I meant.
Regarding printing . for each command: this may be just another style dot to add to #134.

There are general plans for Shake to have more concise output modes, see https://github.com/ndmitchell/shake/issues/18


create a single user mode

this would make more sense that having to create login credentials and use those when running locally.

The intend of having Qiita run as a GUI has been superseded by the Q2 GUI. Thus, this is not needed. Closing.


Feature-add-report

This pull request introduces several new features and improvements, including the addition of issue templates, enhancements to the README.md file, and various updates to the frontend components and API routes. The most important changes are summarized below:
Issue Templates:

Added bug report template to .github/ISSUE_TEMPLATE/bug_report.md.
Added custom issue template to .github/ISSUE_TEMPLATE/custom.md.
Added feature request template to .github/ISSUE_TEMPLATE/feature_request.md.

Documentation:

Updated README.md with new project name, key features, installation instructions, and contribution guidelines [1] [2].

Frontend Components:

Replaced DataTable with InterviewsComponent in frontend/app/[locale]/(protected)/interviews/page.tsx (frontend/app/[locale]/(protected)/interviews/page.tsxL1-R2, frontend/app/[locale]/(protected)/interviews/page.tsxL200-R197).
Added MemberIdPage component to frontend/app/[locale]/(protected)/members/[memberId]/page.tsx for displaying member details (frontend/app/[locale]/(protected)/members/[memberId]/page.tsxR1-R117).
Updated MembersPage to fetch and display member data using MembersPageComponent in frontend/app/[locale]/(protected)/members/page.tsx (frontend/app/[locale]/(protected)/members/page.tsxL1-R26).
Added CreateInterviewReportForm component for creating interview reports in frontend/components/interviews/create-interview-report-form.tsx.
Updated DataTable component to include additional UI elements and logging in frontend/components/interviews/data-table.tsx [1] [2] [3].

API Routes:

Created API routes for fetching and creating members in frontend/app/api/members/route.ts.

CSS Adjustments:

Added new CSS rules for hiding elements in frontend/app/globals.css [1] [2].


[PE-D][Tester D] Title of the email template not matching

The title of the new window when click Email button should not be Help

Labels: type.FeatureFlaw severity.Medium
original: Ty-stan0417/ped#8

Is this a Ui bug? Allowed to fix?
I think it is not purely cosmetic


fuzz command forkserver is unstable/slow

upstream memory leaks or realloc issues need to be fixed or worked around, then forkserver needs to be fixed up to work well

fixed in b1ef319