punctuating commands with && to build on windows

The (non Power) shell in Windows chokes on this luarock, because it doesn't separate commands with semicolons.

thanks


Increase the maximum email top level domain length

Previously this was limited to 6, but there are currently valid TLDs
that exceed this. The actual limit is 63 characters.
This fixes tgriesser/checkit#30.
http://en.wikipedia.org/wiki/Domain_Name_System#cite_ref-rfc1034_1-2

Uh. I see that I've modified an output file instead of a src file. Quite careless of me. I'll fix up the PR in a bit.

Hm. Sorry if I've done something wrongly. It seems the dist folder was out of date - many more changes than I made there. Also the tests are failing, but that doesn't seem to be on account of my changes.


Migrate to MVVM pattern

Resolved / Related Issues

Closes #56
Closes #73
Closes #78

Details of Changes

[ ] The first step for migrating to MVVM pattern.
[ ] Update code quality
[ ] Add custom splash screen
[x] Reduced slowdown in loading repo content
[x] Update Issue/PR templates

Validation

[x] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)

I think so, i'll try to fix it.

/azp run

oppps. i renamed this org name. then, azure pipeplines does not work property.
I will re-create in another PR.

/azp run

NoNo, I have only reduced the problem of slow loading of the repository content ListView.
So far, I cannot find solution to that problem yet.

Ahh ok. I dont really know what happens. I dont think it's our problem, but we might try to find a temporal fix. The request is weired....

ok. i am under arrent by exams :(( and I will resume on 3/10 fully. then I will find solution.

Yeahh, no problem! Good luck with them, i hope the best for you!

Thank you!! I do my best!!

Organization flyout

Really nice all that changes!

currently. repository issue/PR page is buggy and cases RT error. sorry I'll fix later but not now.

Yeah men, no problem!  Sorry for not being active at these days :( I'm very busy as you :(

I dont know how hard the school is in there, but here... Omg, i cant do anything away from the school lol, i have no time

that's no problem! good luck in your school!

Ohh thanks men! And keep it going! It will be a great app and i'll be coding when i'm ableª

yess! thank you.
Up until now and from now on I want to maintain this project!

:shipit: v0.8.3

now :)

+3,783
-4,510

Needed to improve:

Repo view deadrock

/azp run

/azp run

final needed to fix issues:

issue/PR views exception

ALL DONE! THIS IS ALREADY FOR YOUR REVIEW!!!

change log:
+ [infra] move project files to src/**
+ [infra] move docs to docs/** folder
+ [infra] move logo location from AppTiles/** to AppTilesDev/**
+ [infra] change `*ListPath` to `*esPage`
+ Update issue/PR templates
+ Add GitHub Actions(disabled)
+ Reduce slowdown in loading repo content
+ Update and rename Privacy Policy.md to Privacy.md
+ Update README.md
+ Add file navigation on top of repository code contents view
+ Update azure pipelines yaml files
+ Add org flyout card mock-up control
+ Add followers/following pages and extensions
+ Add FluentHub.OctokitEx class library
+ Fix some issue/PR page issues
+ Update UI generally

very exciting to release this updates!

sorry some critical errors were fixed. no more commits. I'll sleep:) (now 4:01 AM)

I need your review @BobbyESP

But it seems that we need to merge as soon as possible so I will merge.


Ensure we install the dependencies soon enough

The pip install happened too late, we need dependencies in order to
get ansible related libraries in

[X] Appropriate testing is done and actually running

/retest


Added store copy examples and error information

Please check below, if the PR fulfills these requirements:

[x] Commit(s) and code follow the repositories guidelines.
[ ] Test(s) have been added or updated to support these change(s).
[ ] Doc(s) have been added or updated to support these change(s).

Associated Links:

Types of Changes:
Add validation and examples around the store copy command as it is not documented at all.

Proposed Changes:
Add validation and examples around the store copy command

Verification/Testing of Changes:
Run hauler store copy to display examples.

Additional Context:

Will do, thank you!


Support NDP proxying on bridge networks

Proxying is enabled via the network option
com.docker.network.bridge.ndp_proxy_interface=<interface>

Fixes #1159
Overrides #1316
Overrides #1682 (Taking care of rebase conflicts here)
Related to  docker/issues/10919
Signed-off-by: Zvi "CtrlZvi" Effron<EMAIL_ADDRESS>Signed-off-by: mostolog<EMAIL_ADDRESS>

/cc @fcrisciani @abhinandanpb


[pdcurses] Incorrect link behavior

Describe the bug
Trying to use pdcurses gives the following error:
vcpkg_installed\x64-windows\debug\bin\pdcurses.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x338

This is the same problem as issue #8662, the dll is being added to the list of dependencies, rather than the lib.
Environment

OS: Windows
Compiler: MSVC 2022 14.35.32215

To Reproduce
Steps to reproduce the behavior:

./vcpkg install pdcurses
Add find_package(unofficial-pdcurses CONFIG REQUIRED) and target_link_libraries(main PRIVATE unofficial::pdcurses::pdcurses)
See error

Thanks for posting this issue. I'm not able to repro this issue. Could you please provide a simple repro project?

I've created a repo on https://github.com/Arcnor/TestPDCurses but there is not much more than what I explained above...

I can repro this now. This is a port bug, I will try to fix it.


AndroidSigning task should use secure files to avoid putting the keystore in the repo

Use the new secure files feature to retrieve the keystore from the secure files in the VSTS library

@gdavocap: Good suggestion! We have it on our backlog but it hasn't been scheduled yet.
Thanks,
Madhuri

@gdavocap : This feature is available in the current VSTS deployment and should be available on all accounts by end of this week (approx.).
Thanks,
Madhuri


Update development dependencies and practices

Clean up scripts to unify scripts across Logux projects
Update dependencies
Remove eslint-plugin-standard since Standard config doesn’t use it anymore
Add package.types to improve Skypack score
Add --fix to lint-staged commands to emulate Prettier behviour.

Add package.types to improve Skypack score

I've already added it to next brunch: https://github.com/logux/vuex/blob/next/package.json#L21

Add --fix to lint-staged commands to emulate Prettier behviour.

 Can we make an exception for me?

 Can we make an exception for me?

Fixed


Start-BcContainerAppDataUpgrade error "The term '=' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

Describe the issue
In version 5.0.6-preview1069 when you try to use cmdlet Start-BcContainerAppDataUpgrade you will get error
The term '=' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Additional context
version 5.0.6-preview1069
I have created PR #3179

Approved and merged - will be in a new preview in ~1 hour
Sorry for not noticing this in the review


Edge retrieval from origin - Configuring go_direct from traffic ops. [WIP]

All DS-es sharing an origin server should have same value for go_direct
(or)
No two Delivery service shares same origin.
Implementation:
Add a new column 'go_direct' in Deliveryservice table. Its value defaults to False.
Delivery service UI (Traffic Ops) and API will be enhanced to support this new column.
Conflicts:

DS Type HTTP_NO_CACHE and go direct False
DS Type HTTP_LIVE and go direct False
DS Type DNS_LIVE and go direct False
MSO = true and go_direct = true

When we have more than 2 DS-es sharing same origin, then updating one particular DS's go_direct value will result
in conflict, since all DS-es sharing an origin should have same value for go_direct

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Rawlin's comment on DS-es sharing same origin
If there is a scenario where we need two different DS-es need to share same origin,
that can be done using CNAME DNS records for the shared origin and using a distinct CNAME
in each delivery service.

I don't think we should be making go_direct configurable per-deliveryService just for the sake of avoiding conflicts when using the same orgServerFqdn for multiple deliveryservices. orgServerFqdns should really be unique to avoid this whole class of problems, and that can be done using CNAMEs if need be. go_direct is already determined by the type (i.e. HTTP_LIVE vs HTTP), so making it configurable on top of that seems unnecessary.

I'm not sure if the main goal of the feature has come up yet, but we are certainly not doing this to avoid orgServerFQDN conflicts (thats just a complicating factor).
The main driver for this change is a desire of some customers to have edge servers use the origin as a parent when all mid caches are down.
Today, when all mids in an edge's parent (and secondary parent) CG are down, the edge cannot retrieve content. This change would set go_direct=true so that if those mids are down, the edge can retrieve the content from the origin

@rawlinp Eric has pointed out the drive behind this PR. Do you see a problem in the way it is implemented?

Ok, that driver makes more sense to me, but it seems like maybe we need a new delivery service type that caches to disk but bypasses the mid tier? Basically the same type as HTTP_LIVE and DNS_LIVE except caching it to disk rather than RAM? Then you could just change the type from HTTP to HTTP_NEW_TYPE which would bypass the mid tier. That would avoid the whole "you can't set go_direct to this value because it conflicts with the type" issue.

It only skips the mid tier if all mids are down. If mids are up, they are used as normally

From: Rawlin Peters<EMAIL_ADDRESS>Sent: Monday, June 18, 2018 4:53 PM
To: apache/trafficcontrol
Cc: Eric Friedrich; Comment
Subject: Re: [apache/trafficcontrol] Edge retrieval from origin - Configuring go_direct from traffic ops. [WIP] (#2407)
Ok, that driver makes more sense to me, but it seems like maybe we need a new delivery service type that caches to disk but bypasses the mid tier? Basically the same type as HTTP_LIVE and DNS_LIVE except caching it to disk rather than RAM? Then you could just change the type from HTTP to HTTP_NEW_TYPE which would bypass the mid tier. That would avoid the whole "you can't set go_direct to this value because it conflicts with the type" issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/apache/trafficcontrol/pull/2407#issuecomment-398192126, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA0WtBSm3-2rfA0RLAJuBjGlpZ2IN2d-ks5t-BNVgaJpZM4Umxyx.

So it should be dynamic? This PR would make it static per DS. What do you mean by the mids being all down? They're all not set to ONLINE?

@rawlinp
Right now it is hard coded as false in parent.config for DS of types other than HTTP_LIVE, HTTP_NO_CACHE, DNS_LIVE and hence for such delivery services, if there occurs a problem in the network / in the Mids and they become unreachable / offline, all the requests fail because of this hard coded GO_DIRECT setting.
By making this configurable, we are giving a choice to the operators to fetch directly from origin under such scenarios.

The edges should automatically switch over to using the origins when the mids (i.e. parents) are down. Down meaning "unavailable" in trafficserver terminology, not related to Traffic Ops state.

Ok I think I understand now. ATS will go through all the parents first before going directly to the origin when go_direct=true. This does still smell like a new Delivery Service type that we should have, rather than having the operator manually set go_direct=true and having to know which DS types that setting is incompatible with. I think that makes both the code and the interface simpler...but we should probably discuss this on the mailing list to get more feedback.
Also, note that Delivery Service API changes need to be made in the Go version now that it's been rewritten. The ATS Config API changes can still be in Perl because that hasn't been rewritten yet.

Not a bad idea for a new DS Type.
We could do (not suggesting actual naming, just the semantics)

HTTP_LIVE_NATL_GODIRECT
DNS_LIVE_NATL_GODIRECT
HTTP_GODIRECT
DNS_GODIRECT

This will bring us up to 14 DS types. Should we be concerned that we are slowly growing too many DS types?

At what point are we implementing a cross product here? Seems like we
should separate the underlying variables into separate settings, HTTP|DNS,
disk|ram, mid|no-mid, direct|no-direct, etc. But that might be a bigger
project.
On Tue, Jun 19, 2018 at 8:31 AM, Eric Friedrich<EMAIL_ADDRESS>wrote:

Not a bad idea for a new DS Type.
We could do (not suggesting actual naming, just the semantics)

HTTP_LIVE_NATL_GODIRECT
DNS_LIVE_NATL_GODIRECT
HTTP_GODIRECT
DNS_GODIRECT

This will bring us up to 14 DS types. Should we be concerned that we are
slowly growing too many DS types?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/trafficcontrol/pull/2407#issuecomment-398420385,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE4GTZCu9gKE9lrEDt3ddlvLoK-U6P3Sks5t-QtUgaJpZM4Umxyx
.

I don't know what's worse, new DS types or a new DS field that doesn't apply to/conflicts with certain types.
That is a lot of DS types, but we'd still be staying with current DS type "families" (HTTP/DNS) rather than adding a whole new family like ANY_MAP. So maybe it wouldn't be that bad.

At what point are we implementing a cross product here? Seems like we
should separate the underlying variables into separate settings, HTTP|DNS,
disk|ram, mid|no-mid, direct|no-direct, etc. But that might be a bigger
project.

I like the idea, but that seems like a 2.0 DS API to me. DS types seem like a good idea because it hides a lot of these settings from the user so they mostly just need to know what kind of content they're serving (e.g VOD, linear, etc). So adding some new types for this would jive w/ the existing type-based implementation.

Can one of the admins verify this patch?

related to #3537

This PR changes Perl files that have been rewritten, and modifies the old, dead, TO UI code. If you still want this merged, please convert these to Go changes.


README.md doesn't support german umlauts

Actually the readme.md file doesn't support german umlauts like öäü, they are shown as �.

Thanks your feedback!

I have some README.md files with umlauts like ä and ö and this umlauts are shown in a right way. I wrote the README-md files with Atom Editor in Linux with UTF 8

Ok thanks, I changed my editor and now it's working fine.

@focmb :100:


Inconsistent use of schema.ClassName vs string

The class name is stored as schema.ClassName in some types, but as string in others. This makes it cumbersome, as type conversion are needed in both directions.
Todo

[ ] Clean up by either using the specific type or the primitive type consistently throughout the entire codebase

Maybe we should add the good-first-issue to the closing exemption on the stale bot :)


from peter

Please I am sorry for all the trouble we have caused you but count it all joy. Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.

I followed the commands, I don't know why there was force merge. I used the commands on the README. You can check the status of my forked repo

@tobisupreme can you look into this.

This is my view. I apologize for the way it was forced on your end. I am deleting the forked repo and local content.

🙏

Do you know what the issue is @tobisupreme ?

No, I don't.
I remember that when I discarded one of the branches that I opened a pull request with, I had a similar message. !
Merged with 0 commits


Kisscartoon Error

Describe the bug
Downloading a episode from kisscartoon throws out an error

To reproduce
anime dl --provider kisscartoon family

LOG
C:\Users\rob>anime dl -e 01 --provider kisscartoon --log-level DEBUG family
INFO root: anime-downloader 3.6.2
DEBUG root: Platform: Windows-10-10.0.17134-SP0
DEBUG root: Python 3.7.2
DEBUG root: Result url: https://kisscartoon.su/Search/?s=family&s=family
DEBUG root: Family Guy Season 17
DEBUG root: Family Guy Season 17 Episode 009...
DEBUG root: Family Guy Season 16
DEBUG root: Family Guy Season 16 Episode 020...
DEBUG root: Family Guy Season 15
DEBUG root: Family Guy Season 15 Episode 020...
DEBUG root: Family Guy Season 14
DEBUG root: Family Guy Season 10
DEBUG root: Family Guy Season 13
DEBUG root: Family Guy Season 11
DEBUG root: Family Guy Season 12
DEBUG root: F Is For Family Season 3
DEBUG root: Monster Family
DEBUG root: Monster Family (2017)
DEBUG root: F Is For Family Season 2
DEBUG root: F Is For Family Season 2 Episode 010
DEBUG root: A Flintstone Family Christmas
DEBUG root: The Proud Family
DEBUG root: F is for Family
DEBUG root: Family Guy Season 8
DEBUG root: The Family-Ness
DEBUG root: The Moo Family Holiday Hoe-Down
DEBUG root: A Special Valentine with the Family
DEBUG root: The Care Bears
DEBUG root: Festival of Family Classics
DEBUG root: Family Dog
DEBUG root: Family Guy Season 4
DEBUG root: Laugh It Up, Fuzzball: The Family
DEBUG root: Family Guy: Up Late with Stewie
DEBUG root: The Goode Family
DEBUG root: Family Guy Season 3
DEBUG root: Family Guy Season 9
DEBUG root: The Addams Family (1973)
DEBUG root: A Muppet Family Christmas
DEBUG root: A Family Circus Christmas
DEBUG root: Family
DEBUG root: The Swan Princess: A Royal Family
DEBUG root: Duckman: Private Dick/Family Man
DEBUG root: The Addams Family (1992)
DEBUG root: The Proud Family Movie
DEBUG root: Family Guy Presents Stewie Griffin
DEBUG root: Family Guy Season 7
DEBUG root: Family Guy Season 2
DEBUG root: Family Guy Season 5
DEBUG root: Family Guy Season 6
DEBUG root: Family Guy Season 1
 1: Family Guy Season 17
 2: Family Guy Season 17 Episode 009...
 3: Family Guy Season 16
 4: Family Guy Season 16 Episode 020...
 5: Family Guy Season 15
 6: Family Guy Season 15 Episode 020...
 7: Family Guy Season 14
 8: Family Guy Season 10
 9: Family Guy Season 13
10: Family Guy Season 11
11: Family Guy Season 12
12: F Is For Family Season 3
13: Monster Family
14: Monster Family (2017)
15: F Is For Family Season 2
16: F Is For Family Season 2 Episode 010
17: A Flintstone Family Christmas
18: The Proud Family
19: F is for Family
20: Family Guy Season 8
21: The Family-Ness
22: The Moo Family Holiday Hoe-Down
23: A Special Valentine with the Family
24: The Care Bears
25: Festival of Family Classics
26: Family Dog

Enter the anime no:  [1]: 1
INFO root: Selected Family Guy Season 17
INFO root: Extracting episode info from page
DEBUG root: EPISODE IDS: length: 9, ids: ['https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-001-Married-With-Cancer?id=81513', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-002-Dead-Dog-Walking?id=81592', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-003-Pal-Stewie?id=81665', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-004-Big-Trouble-in-Little-Quahog?id=81738', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-005-Regarding-Carter?id=81923', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-006-Stand-by-Meg?id=81957', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-007-The-Griffin-Winter-Games?id=82206', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-008-Con-Heiress?id=82375', 'https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-009-Pawtucket-Pete?id=82451']
INFO root: Found anime: Family Guy Season 17
DEBUG root: Extracting stream info of id: https://kisscartoon.su/Cartoon/Family-Guy-Season-17/Episode-001-Married-With-Cancer?id=81513
Traceback (most recent call last):
  File "c:\users\rob\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\rob\AppData\Local\Programs\Python\Python37\Scripts\anime.exe\__main__.py", line 9, in <module>
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\click\decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\anime_downloader\cli.py", line 117, in dl
    animes = util.parse_ep_str(anime, episode_range)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\anime_downloader\util.py", line 120, in parse_ep_str
    episodes.append(anime[int(episode_grammar) - 1])
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\anime_downloader\sites\anime.py", line 78, in __getitem__
    ep_no=ep_id[0])
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\anime_downloader\sites\anime.py", line 122, in __init__
    self.get_data()
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\anime_downloader\sites\anime.py", line 162, in get_data
    self._sources = self._get_sources()
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\anime_downloader\sites\kisscartoon.py", line 29, in _get_sources
    url = res.json()['value']
  File "c:\users\rob\appdata\local\programs\python\python37\lib\site-packages\requests\models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\json\__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "c:\users\rob\appdata\local\programs\python\python37\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\users\rob\appdata\local\programs\python\python37\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Still happening?

if its still happening try "pip install cfscrape -U"

Closing due to no response

i tried pming you on discord but got no response.


API Change

Scratch API has changed, you can't now get unshared projects (or even view it on TW),  if it works, it can bemy fault

Ok! Cool! So, I have to remove that features now...
Please wait for a few days until my exams get over.
I will plan to do that and delete some features. But releasing it (stable version), may take time. Maybe I will only be able to release next year in the month of March-April...
Connecting the cloud of unshared projects should work on Scratch but not on Turbowarp...


Circular link

"For information how to update or install the platform update, see Update for Windows Defender antimalware platform."
This link leads to THIS page.

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

ID: 61d65c37-bbb6-5c7a-8405-5994badd0b23
Version Independent ID: 61d65c37-bbb6-5c7a-8405-5994badd0b23
Content: Microsoft Defender Antivirus security intelligence and product updates
Content Source: microsoft-365/security/defender-endpoint/microsoft-defender-antivirus-updates.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Hello @BR77BE. Oh my goodness -- thank you so much for catching this! My apologies! I've updated the article and the changes will be live later today.


Code formatting doesn't work in projects

Doing Ctrl+Shift+P and selecting Format Document does nothing when the file I'm editing is part of a project. If the file is a .fsx script it does work but then there are other issues such as #1351.
Environment (please complete the following information):

OS: Windows 10 1803
Ionide version: 4.9.0
VSCode version: 1.44.2
dotnet SDK version: 3.1.201

The more I use it the more broken code formatting seems. With "Format On Save" enabled I was just having it insert new lines at the point the cursor was located. 🤦♂

I am experiencing the same behavior. How can we help in providing a reproduction scenario?
Attached a quick screen grab

Hi.
I was hit by the same issue, and my attempt at debugging it indicates that it caused by a lack of module/namespace in the Program.fs-file
I got an error like this:
Fantomas.FormatConfig+FormatException: Parsing failed with errors: [|/home/user/Projects/FSharp/Demo/Program.fs (2,1)-(3,1) parse error Files in libraries or multiple-file applications must begin with a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule'. Only the last source file of an application may omit such a declaration.|]
Adding a module to the file fixed it for me. Do note that in my case, Program.fs was in fact the last source file of the application.

CC: @nojaf any suggestions what may cause it?

This does ring a bell when we parse the code to get the AST.
If the name of the file is Program.fs, it is not considered to be a script file I think and then you get that error.
In the Fantomas CLI tool, we actually renamed the file name to something like tmp.fsx when we pass it to the FSharpChecker.
The main reason we don't do this all the time is that I think the internally compiler caching would not work anymore. Maybe we need an exception of Program.fs file names.
Does it make sense what I'm saying here @Krzysztof-Cieslak?

Have the same issue for Program.fs in my project. Does any workaround exist for this?

Just start to learn F# and be stumped by  this format issue too. Format only work on .fsx file and not .fs

I could relate to this partially. Formatting works nice for all files except for the Program.fs.
Ionide version is 5.0.3
OS: Windows 10
Dotnet: 5.0.101
Vs code: 1.52.1
Most likely the same error in the F# output log as the one mentioned above
[Error - 14:04:23] Request textDocument/formatting failed.
Message: Fantomas.FormatConfig+FormatException: Parsing failed with errors: [|d:\dev\bootcamp\src\Program.fs (1,1)-(2,1) parse error Files in libraries or multiple-file applications must begin with a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule'. Only the last source file of an application may omit such a declaration.|]
And options: { SourceFiles =
[|"d:\dev\bootcamp\src\Main.fs";
"d:\dev\bootcamp\src\Program.fs"|]
ConditionalCompilationDefines = []
ErrorSeverityOptions = { WarnLevel = 3
GlobalWarnAsError = false
WarnOff = []
WarnOn = []
WarnAsError = []
WarnAsWarn = [] }
IsInteractive = false
LightSyntax = None
CompilingFsLib = false
IsExe = false }
at Fantomas.CodeFormatterImpl.parse@70-2.Invoke(FSharpParseFileResults _arg2)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation1 ctxt, FSharpFunc2 userCode, b result1) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\async.fs:line 404
at <StartupCode$FSharp-Compiler-Service>.$Service.ParseFile@449-3.Invoke(AsyncActivation1 ctxt) in F:\workspace\_work\1\s\src\fsharp\service\service.fs:line 449    at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc2 firstAction) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\async.fs:line 104
Code: -32603
Hope this helps! Thanks for the amazing project.

Ah, something comes to mind. Let me check in the next couple of days.

Ok, I believe I have a fix for this in 4.4.0-alpha-007.
It worked on my machine 🙈.
You can download the NuGet package, unzip it and copy the Fantomas.dll file to your install location of the Ionide extension.
(For me this was at C:\Users\nojaf\.vscode\extensions\ionide.ionide-fsharp-5.0.3\bin).

Confirm worked on my machine without the need of a module declaration in Program.fs

@nojaf worked for me as well

5.1 includes a prerelease version of Fantomas 4.4. so it should work out of the box now.


[as2_core] Python as2_names bindings

Basic Info

Info
Please fill out this column

Issue(s) this addresses
#50

ROS2 version tested on
Humble

Aerial platform tested on
-

Description of contribution in a few bullet points

as2_names bindings to python

Future work that may be required in bullet points

QoS still pending to bing
Check as2_names list. Some might be deprecated and willing to remove
Use them in DroneInterfaces

Codecov Report
Attention: 69 lines in your changes are missing coverage. Please review.

Comparison is base (b0a7167) 1.97% compared to head (15dbfa4) 1.94%.

:exclamation: Current head 15dbfa4 differs from pull request most recent head ef629ae. Consider uploading reports for the commit ef629ae to get more accurate results

Files
Patch %
Lines

as2_core/src/_as2_core_pybind11.cpp
0.00%
69 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #366      +/-   ##
========================================
- Coverage   1.97%   1.94%   -0.03%
========================================
  Files        103     104       +1
  Lines       5633    5702      +69
  Branches     181     181
========================================
  Hits         111     111
- Misses      5412    5481      +69
  Partials     110     110

Flag
Coverage Δ

unittests
1.94% <0.00%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pariaspe do you think the changes done in as2_names in this PR #363 can work with this ?

check after #363 has been merged


Youtube configs of start changed after player is ready won't be reflected

Not sure if this is an issue with this component or the youtube player itself, but reporting here nonetheless.
Current Behavior

I have a youtube video to be configured to start at a certain time. At the start there are times where the value is still not the newest, but is updated a milliseconds after.
The problem is that if the player gets ready with the first value, then even if it's updated to the new value, it will still use the first value.
This is without even clicking the play button.
Expected Behavior

Expected it to use the most recent value.
Steps to Reproduce
You can see it here:
https://codesandbox.io/s/crazy-babbage-g9owgs?file=/src/App.js

Load video
Don't click play
Seconds should be at default, 120
Click "Change start"
New value should be shown above the button
Click the video to start playing
Starts at 2 minutes instead of 5

Environment

URL attempting to play:
https://www.youtube.com/watch?v=KRIBVykhpC4
Browser:
Brave (Chromium)
Operating system:
MacOS 13.2.1 (22D68)

Hi @LoyalPotato , This issue is not related to the youtube player. It is related to how we configure our component to re-render.
In your code there is no way the Player Component knows that some configure option value changed as the configure option is an object and react checks the object reference which won't trigger a render of the component even though one its props changes. We need to trigger a render for the player component and we could use key property to make this happen.
I have updated your code here to work properly for your scenario, Please check!
  const [start, setStart] = useState(120);
  const url = "https://www.youtube.com/watch?v=KRIBVykhpC4";
  const [id,setId] = useState(0);
  return (

      <Player  keyId = {id} start={start} url={url} />

{start} seconds

      <button onClick={() => {setStart(300); setId(id+1)}}>{"Change start"}</button>

  );
}
const Player = ({ url, start, keyId }) => {
  console.log(start);
  const config = {
    youtube: {
      playerVars: {
        start
      }
    }
  };
  return (
    <ReactPlayer
      key={keyId}
      controls
      config={config}
      url={url}
      volume={0.2}
      width="480px"
      height="400px"
    />
  );
};

Ohhh, that makes perfect sense.
I tested and it worked! Thanks :)


Support the application of Conan's BuildEnv/RunEnv

Closes #36

Sorry for the whitespace changes 🙈
I (hopefully) reverted all of them.

Thanks for merging! :-)


Use SlipStreamClientAPI instead of low level HTTP

[x] Add an issue on riemann project with a minimal setup to reproduce.
[ ] Once the problem of jar dependencies management is understood, switch to the use of SlipStreamClientAPI in riemann stream.

Connected to https://github.com/SixSq/NuvlaBox/issues/115

Issue open on riemann project :
https://github.com/riemann/riemann/issues/690


Typo "Postgres Hyperscale"→"PostgreSQL Hyperscale"

https://docs.microsoft.com/en-us/azure/azure-arc/data/restore-adventureworks-sample-db-into-postgresql-hyperscale-server-group
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-arc/data/restore-adventureworks-sample-db-into-postgresql-hyperscale-server-group.md
#PingMSFTDocs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


130 bidding pallet base functionality

Integrate the main current changes into the branch to continue implementation.

Codecov Report

Merging #142 (98461e1) into main (bacdad7) will decrease coverage by 0.28%.
The diff coverage is 48.83%.

@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
- Coverage   70.38%   70.09%   -0.29%
==========================================
  Files          41       45       +4
  Lines        3211     3254      +43
==========================================
+ Hits         2260     2281      +21
- Misses        951      973      +22

Impacted Files
Coverage Δ

assets/pallet_template/src/lib.rs
0.00% <ø> (ø)

pallets/bidding/src/weights.rs
0.00% <0.00%> (ø)

runtime/src/lib.rs
7.36% <ø> (ø)

pallets/bidding/src/lib.rs
40.74% <40.74%> (ø)

pallets/bidding/src/mock.rs
75.00% <75.00%> (ø)

pallets/bidding/src/tests.rs
100.00% <100.00%> (ø)

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


Numba gdb-python extension for printing

This adds support for printing Numba types as their python
equivalents from gdb by using its python extension.
It includes fixes from https://github.com/numba/numba/pull/7729 and https://github.com/numba/numba/pull/7744
Pythonic printing support is added for:

Numeric scalars
Strings
Tuples
NumPy arrays of primitive numeric types, and very basic record/structured dtypes.

Also:

docs - the documentation for gdb needs is updated to reflect these changes
numba -g has been added to provide a simple way of displaying the location of the gdb printing extension file along with gdb configuration information.

Demonstration of the impact of this patch on gdb output:
Python script: file:: test_python_ext.py
from numba import njit
import numpy as np

@njit(debug=True)
def foo():
    a = 1.234
    b = (1, 2, 3)
    c = ('a', b, 4)
    d = np.arange(5.)
    e = "Some string" + "           L-Padded string".lstrip()
    f = 11 + 22j
    return a, b, c, d, e, f

foo()

GDB session output:
$ NUMBA_OPT=0 NUMBA_EXTEND_VARIABLE_LIFETIMES=1 gdb -q --args python test_python_ext.py
Reading symbols from python...
(gdb) set breakpoint pending on
(gdb) b test_python_ext.py:12
No source file named test_python_ext.py.
Breakpoint 1 (test_python_ext.py:12) pending.
(gdb) r
<snip>
Breakpoint 1, __main__::foo_241[abi:c8tJTC_2fWgEeGLSgydRTQUgiqKEZ6gEoDvQJmaQIA] () at test_python_ext.py:12
12          return a, b, c, d, e, f
(gdb) info locals
a = 1.234
b = {f0 = 1, f1 = 2, f2 = 3}
c = {f0 = 0x0, f1 = {f0 = 1, f1 = 2, f2 = 3}, f2 = 4}
d = {meminfo = 0x55555702ec70 "\001", parent = 0x0, nitems = 5, itemsize = 8, data = 0x55555702eca0, shape = {5}, strides = {
    8}}
e = {data = 0x555556febc10 "Some stringL-Padded string", length = 26, kind = 1, is_ascii = 1, hash = -1,
  meminfo = 0x555556febbe0 "\001", parent = 0x0}
f = {real = 11, imag = 22}

(gdb) source numba/misc/gdb_extension.py  # LOAD IN PRINT EXTENSION
(gdb) info locals
a = 1.234
b = (1, 2, 3)
c = (0x0, (1, 2, 3), 4)
d = array([ 0.,  1.,  2.,  3.,  4.])
e = 'Some stringL-Padded string'
f = 11+22j

/azp run

CC @gmarkall @isVoid following on from https://github.com/numba/numba/issues/7616, it's not a fix but improves the printing of variables.

I think the tests are failing because of missing gdb

I think the tests are failing because of missing gdb

Think it's because I forgot to start the mock patch for the __init__ here a377c34.

ed435a2 fixes conflicts against mainline.

Note this patch series contains: 2461daf from https://github.com/numba/numba/pull/7744 (https://github.com/numba/numba/pull/7744/commits/bb7049ccaadafe2cd1c1cb73feb0dcd88ba640c1)
and 6347698 from #7729 (https://github.com/numba/numba/pull/7729/commits/1d60621bd4f5a309cb06ce2a260176be7722aab4) once those are merged the diff will shrink slightly.


no -E and -time options in gencumulativesky built from zip downloaded from link in readme

in main.py:
https://github.com/NREL/bifacial_radiance/blob/d6bf98b3954782df15c97ab0b4d3370d704fa7dd/bifacial_radiance/main.py#L824
then I get this in from gencumulativesky.exe:
In [4]: epwfile = demo.getEPW(37.5,-77.6)
Getting weather file: USA_VA_Richmond.Intl.AP.724010_TMY.epw
 ... OK!

In [5]: metdata = demo.readEPW(epwfile)

In [6]: demo.genCumSky(demo.epwfile)
message: gencumulativesky: Error - invalid input parameter '-E'

Usage: gencumulativesky [-d] [+s1|+s2] [-a latitude] [-o longitude] [-l] [-m standard meridian] [-h hourshift] [-G|-B] <climate file>
(Note: longitude +ve East of Greenwich)

        -d      Ignore diffuse irradiance
        +s1     Use "smeared sun" approach (default)
        +s2     Use "binned sun" approach
        -l      Output luminance instead of radiance
        -G      File format is col1=global irradiance (W/m2), col2=diffuse irradiance
        -B      File format is col1=direct horizontal irradiance (W/m2), col2=diffuse irradiance
Out[6]: 'skies/cumulative.rad'

related to #119 maybe? @tcapelle I used the windows subsystem for linux, and followed the instructions in the readme:
$ wget https://documents.epfl.ch/groups/u/ur/urbansimulation/www/GenCumSky/GenCumSky.zip

HTTP request sent, awaiting response... 200 OK
Length: 1161107 (1.1M) [application/zip]
Saving to: ‘GenCumSky.zip’
2019-08-15 23:29:09 (103 KB/s) - ‘GenCumSky.zip’ saved [1161107/1161107]

$ mkdir gencumsky
$ mv GenCumSky.zip gencumsky/
$ unzip GenCumSky.zip

Archive:  GenCumSky.zip
  inflating: average_val.awk
  inflating: climateFile.cpp
  inflating: climateFile.h
  inflating: cPerezSkyModel.cpp
  inflating: cPerezSkyModel.h
  inflating: cSkyVault.cpp
  inflating: cSkyVault.h
  inflating: cumulative.cal
  inflating: cumulative.rad
  inflating: cumulativesky_rotated.rad
  inflating: gencumulativesky.cpp
  inflating: gencumulativesky.exe
  inflating: paths.h
  inflating: README.txt
  inflating: Sun.cpp
  inflating: Sun.h
  inflating: Solar Irradiation Modelling.doc

$ cat README.txt

SOLAR RADIATION MAPPING
========================
This is directory contains the source for the gencumulativesky program.  To compile it using gcc:

g++ -D_XOPEN_SOURCE *.cpp -lm -o gencumulativesky

(The _XOPEN_SOURCE definition is required so that M_PI is defined when math.h is included - this will need changing depending on your compiler)

$ mv gencumulativesky.exe gencumulativesky.exe.old
$ g++ -D_XOPEN_SOURCE *.cpp -lm -o gencumulativesky

In file included from cSkyVault.cpp:1:0:
./cSkyVault.h:2:25: fatal error: ClimateFile.h: No such file or directory
compilation terminated.
In file included from gencumulativesky.cpp:8:0:
cSkyVault.h:2:25: fatal error: ClimateFile.h: No such file or directory
compilation terminated.

Theres an error in cSkyVault.h, ClimateFile.h should not be capitalized, it should be lower case, climateFile.h fix it, compile again, and finally copy to radiance bin dir.
$ g++ -D_XOPEN_SOURCE *.cpp -lm -o gencumulativesky
$ ./gencumulativesky
gencumulativesky: Error - invalid input parameters
Usage: gencumulativesky [-d] [+s1|+s2] [-a latitude] [-o longitude] [-l] [-m standard meridian] [-h hourshift] [-G|-B] <climate file>
(Note: longitude +ve East of Greenwich)

        -d      Ignore diffuse irradiance
        +s1     Use "smeared sun" approach (default)
        +s2     Use "binned sun" approach
        -l      Output luminance instead of radiance
        -G      File format is col1=global irradiance (W/m2), col2=diffuse irradiance
        -B      File format is col1=direct horizontal irradiance (W/m2), col2=diffuse irradiance

$ cp gencumulativesky ~/path/to/radiance/bin/

The -time option also doesn't work, or isn't available in the cpp file downloaded from the link - is there a newer version of gencumsky that has these modifications?
https://github.com/NREL/bifacial_radiance/blob/d6bf98b3954782df15c97ab0b4d3370d704fa7dd/bifacial_radiance/main.py#L844-L848

Sorry for all the noise. I polluted one of my previous pull requests by pushing to the wrong branch.
I found the updated sources for gencumulative sky on the daysim web site: http://daysim.ning.com/page/download
You need to fill out the form, download the DAYSIM 4.0 Windows installer, run it, and you can find the sources in daysim/src/GenCumulativeSky/
You'll still need to fix the capitalization issue but once that's done you can simply compile it with make
The result is a Linux binary that supports the -E option.
jalderman@crunchy ~/.wine/drive_c/daysim/src/GenCumulativeSky $ file gencumulativesky
gencumulativesky: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=d1b9a80447195df46f8e22548d136f79b515eed1, not stripped

jalderman@crunchy ~/.wine/drive_c/daysim/src/GenCumulativeSky $ ./gencumulativesky
GenCumulativeSky: Error - invalid input parameters
Usage: GenCumulativeSky [-d] [+s1|+s2] [-a latitude] [-o longitude] [-l] [-m standard meridian] [-h hourshift] [-G|-B|-E] <climate file>
(Note: longitude +ve East of Greenwich)

	-d	Ignore diffuse irradiance
	+s1	Use "smeared sun" approach (default)
	+s2	Use "binned sun" approach
	-l	Output luminance instead of radiance
	-r	Output radiance/179000 (ensures that units in the Radiance Image Viewer are in kWhm-2)
	-p	Output radiance/1000 (ensures that units in the Radiance RGB data file  are in kWhm-2)
	-G	File format is col1=global irradiance (W/m2), col2=diffuse irradiance (W/m2)
	-B	File format is col1=direct horizontal irradiance (W/m2), col2=diffuse irradiance (W/m2)
	-E	File format is an energyplus weather file (*.epw) The gprogram uses the global irradiance (W/m2) and diffuse irradiance (W/m2) data columns.
		In combination with '-E' the considered time interval can be specified:
		-time <start time of day> <end time of day>
		-date mm_start dd_start mm_end dd_end (if start-date after end-date then the winter interval is considered)

would you mind sharing the binaries?

I think we may need to contact Christoph Reinhart at MIT before we can distribute this code with their permission. MIT lists his contact info here:

key
value

name
Reinhart, Christoph

email
<EMAIL_ADDRESS>

phone
(617) 253-7714

address
5-418B

department
Department of Architecture

title
Professor

Does anyone want to contact them? There is also this entry for Christoph Reinhart on Research Gate.

Hi @ChristophReinhart, Bifacial Radiance is an NREL tool that uses RADIANCE to calculate the irradiance on photovoltaic panels for solar energy. Currently it uses a tool called GenCumulativeSky which I believe you may have authored. With your permission, we are seeking either to distribute or link to the latest version which contains the -E switch, so that users can either build it from source, or acquire a binary for their platform. Best Regards!

GenCumulativeSky was written by Darren Robinson. I expanded the program to read in EPW files a number of years ago and we added the code to the Deism repository. You can use the doe under the same agreement as Daysim.
Best,
Christoph
From: Mark Mikofski<EMAIL_ADDRESS>Sent: Monday, October 7, 2019 12:46 PM
To: NREL/bifacial_radiance<EMAIL_ADDRESS>Cc: creinhart<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [NREL/bifacial_radiance] no -E and -time options in gencumulativesky built from zip downloaded from link in readme (#129)
Hi @ChristophReinharthttps://github.com/ChristophReinhart, Bifacial Radiance is an NREL tool that uses RADIANCE to calculate the irradiance on photovoltaic panels for solar energy. Currently it uses a tool called GenCumulativeSky which I believe you may have authored. With your permission, we are seeking either to distribute or link to the latest version which contains the -E switch, so that users can either build it from source, or acquire a binary for their platform. Best Regards!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/NREL/bifacial_radiance/issues/129?email_source=notifications&email_token=ADQ42LRCWKZIP3HGVFUZ5ELQNNRVTA5CNFSM4IME42WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEARA4UI#issuecomment-539102801, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADQ42LV5HHEL5EBFLLA3G4TQNNRVTANCNFSM4IME42WA.

Daysim uses the same license as RADIANCE:
https://github.com/MITSustainableDesignLab/Daysim/blob/master/License.txt
This means we can make the source and binaries for GenCumulativeSky available with appropriate license and attribution info either as part of bifacial_radiance or in a separate repo.   @cdeline Do you have a preference?

Hi.  In #162 I'm getting around this by treating EPWs and TMY files the same, namely we create a temporary csv file (optionally truncated by starttime and endtime) that goes to gencumsky.exe with -G mode for both EPW and TMY.  We can therefore just use the original source code that leaves out the -E option.

One possibility that @mikofski  pointed out is bundling the gencumsky source code and having setup.py compile a platform-specific Extension, but that seems really burdensome.  For most casual (Windows) users, requiring a 6GB Visual studio installation instead of just providing the 1MB exe file seems inefficient.

For most casual (Windows) users, requiring a 6GB Visual studio installation instead of just providing the 1MB exe file seems inefficient.

@cdeline Visual Studio isn't needed to build extensions for Python.
Actually if uploading wheels to PyPI them only the CI that deploys the wheels or the person packaging the wheel needs a compiler.
All that's needed are the compilers called Build Tools 2015/2017, not Visual Studio. If using Anaconda then these are installed by default. All CI services like AppVeyor and Azure pipelines already have Build Tools installed, so no one should need to install anything.

bundling the gencumsky source code and having setup.py compile a platform-specific Extension

Also I don't think a Python extension is needed, perhaps I misspoke, instead we need setup.py to just build the binary that we are already using. This should be fairly straightforward to implement, and I think I can do it in about 2 hours, if I can find the time. Hooking up the CI will probably be the bigger challenge bc I've haven't learned to use Azure pipelines yet


deployment: remove grpc-health-probe check for false alarm

grpc-health-probe sometimes gets timeout when heavy traffic, the service will be killed with exit code 137, remove this check.
revert the test in the example code.

Seems this is a known issue in grpc-health-probe project: https://github.com/grpc-ecosystem/grpc-health-probe/issues/33


With ScyllaDB (and likely Cassandra too), increasing TTL leads to large numbers of sstables

What happened?
A ScyllaDB user ran with the Cassandra backend, but increased the TTL to 30 days.
Some tables use TimeWindowCompactionStrategy, which segregate time series into separate time windows. They use a 1 hour window.
A TTL of 30 days divided by 1 hour leads to 720 windows. With many such tables, this causes tens of thousands of SSTables, and hundreds of thousands of files (since each SSTable is composed of seven files). This stresses the server.
The Cassandra documentation recommends:

Ideally, operators should select a compaction_window_unit and compaction_window_size pair that produces approximately 20-30 windows - if writing with a 90 day TTL, for example, a 3 Day window would be a reasonable choice ('compaction_window_unit':'DAYS','compaction_window_size':3).

Steps to reproduce

Run using Cassandra or ScyllaDB with 30-day TTL
Insert data for 30 days
Observe hundreds of thousands of files

Expected behavior
Fewer files.
Relevant log output
No response
Screenshot
No response
Additional context
Recommendation: set the window size to be (TTL / 10) or so.
Jaeger backend version
unknown - not my setup
SDK
No response
Pipeline
No response
Stogage backend
Cassandra (but using ScyllaDB)
Operating system
No response
Deployment model
No response
Deployment configs
No response

You can alter tables in cqlsh to set different compaction windows.
Currently this is not configurable in the schema script https://github.com/jaegertracing/jaeger/blob/1b28b239f3c561d4162287b66511affcbbe1ffa4/plugin/storage/cassandra/schema/v004.cql.tmpl#L69-L73

Yes, but it would be better if the default was set up correctly in the first place.

So the proposal would be

change hardcoded window size like this one https://github.com/jaegertracing/jaeger/blob/a15f3a3e7b4aad92ad8c688b43f359f4b12143b2/plugin/storage/cassandra/schema/v004.cql.tmpl#L69 to be a parameter
allow overriding that parameter in plugin/storage/cassandra/schema/create.sh, and if not provided as input compute it from the total TTL so that it results in 30 intervals. For TTL=30d this means compaction window of 1 day, but for TTL=3d the window will be about 3hrs

Looks great, thanks.


feat(cdk-experimental/menu): add smart aim functionality to the menu

Implement Smart Aim which ensures that when a user is mousing through menus, the target
submenu the user is mousing into isn't closed prematurely. Currently, a user must perform precise
and deliberate mouse moves in order to avoid sibling trigger items which close the target submenu
the user is intending to go into.

Yup. The Menu and MenuBar are providers for the MenuAim service and it is injected into each menu item optionally. Developers can provide their own implementation or simply provide null and it'll default to the naive behaviour.

The TargetMenuAim is provided on CdkMenuBar here which means that its code will be included if CdkMenuBar is referenced somewhere. From what I can tell, the TargetMenuAim is the "smart" one that tracks the mouse movement.

@teflonwaffles yup. The cdkTargetMenuAim directive acts as a provider if added to a component. Otherwise it defaults to the naive logic.

@googlebot I fixed it.

@jelbourn Feedback addressed, left some comments and questions on some points though

Adding if (!this?.menuAim.isMovingTowardsSubmenu()) into the the item and pulling out of the MenuAim class.

Let's leave it as-is for now. When we go to incorporate this into mat-menu we might refactor a bit, but unlikely anything substantial.


Make explicit plane of UX separation

The main concern of this proposal, as far as I understand it, seams to be Skeleton/Surface separation.
Maybe this could be made explicit in the README.
The layouts are more or less platform independent but the surface relates to both platform visual identity and branding concerns.
One added advantage of making this separation explicit is the possibility of providing a wire-framing theme that will produce UIs devoid of thematic decisions (colours, fonts). Images in this theme could be replaced by a simple grey box diagonal.

hehe, to me all of theses changes were equally important, but after some consideration I feel this indeed might have the most impact. I will revisit the document in the next couple days. If you have suggestions how to do it I'm all ears :smile:
Another question: I looked into Elm a bit more yesterday, but haven't touch styling there. Would these suggestion also apply fine to Elm UI libraries? Does one even exist?

If you have suggestions how to do it I'm all ears

Start with the WHY of it. Why should this separation exist? Why should anyone care? What value can it bring? I think that facilitating a discussion with the client about functionality that is unencumbered by "Surface" arguments like colours and fonts is an amazing benefit. It could make things go faster.
I would also make this more visual. :)

I looked into Elm a bit more yesterday, but haven't touch styling there. Would these suggestion also apply fine to Elm UI libraries? Does one even exist?

I think this suggestions are universal and they would apply to any project that creates a User eXperience.
To my knowledge, there is no Elm UI.
Graphics.*  was an attempt at moving towards such an UI but it has been abandoned in favour of elm-html.
There are a few projects that try to create UI libraries and I believe that they would benefit tremendously by the leadership that React provides.


External Tooltips, Documentation and Samples

Creates a chart option for custom tooltips
customTooltips: false // default
customTooltips: function(tooltip){
    if(!tooltip){
        //hide tooltip
        return;
    }

    //Show custom tooltip
    //tooltip.x,
    //tooltip.y,
    //etc...
}

Samples included for pie/doughnut and line chart types.

Just reviewing this now - this is really cool.
This sort of usage was originally what I'd intended for the getPointsAtEvent API, but this makes it quite a bit simpler for having some basic HTML tooltips. I'm all for having this as a simpler way of doing this, and leaving the getPointsAtEvent APIs for doing more involved stuff.
Not totally sure about the API name changes from custom to external. External implies they'd have to be external to the canvas, whereas actually you could use the function to draw a completely different tooltip actually on the canvas itself. As we're aiming to get this in for 1.0 it'd be good to nail down what we're going to call this option :smile:. What do you guys think?

I am good with either.

I guess the idea was that customTooltips and the tooltipTemplate properties might be give the same functionality assumption.  So external was just the other option.

@jakesyl What about terming it "custom tooltip"?

@etimberg Yeah that sounds good

Yeah I think I like the customTooltip original terminology best here. Can always re-alias then deprecate in a later release if there's confusion around its functionality.
@tannerlinsley you ok swapping that, then I'll merge stage a release?

@nnnick All is well!


Add WIP action in order to make impossible to accept incomplete or not working PR

It can be helpful show what you are working on with a PR before is finished (like i did with #72 ) but if it is incomplete it can be mistaken as ready and merged. With an action like WIP action PRs that contains WIP in the name will be unmergeble.

Although I understand your request, I don't know how to put it in practice.
I do use travis with a .travis.yml for automated tests on a Linux OS, but I wouldn't know how to detect and filter the name of the PR in question (this Travis action is triggered by either all PR or None).
I've never played with Github Actions myself. Do you happen to know how to achieve this?

I will do a PR for this

Closing as it is stale. Can be reopened if there is activity.


Add asserts for ref frames update with frame reordering

Since the issue has been resolved the other way by fbossen, #647 , closing this.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-24-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1995

Questions ?
Please refer to the Backport tool documentation


How to shade a dependency?

I'm a Maven user who started modding a few days ago - Please forgive my basic gradle knowledge.
I'm trying to create an Hypixel mod, so I added the hypixel api:

The mod works within the IDE, but not when I create a jar.
I know from Maven that I need to shade and relocate the API, and I tried to do this:

But when I do build the jar file still doesn't contain the API...
What am I doing wrong?

Instead of using implementation you need to use shadowImpl. This is done because in mods you want to be much more deliberate in what you include in your mod.

Instead of using implementation you need to use shadowImpl. This is done because in mods you want to be much more deliberate in what you include in your mod.

It worked! :)
But I have a question: Why did it relocate a transitive dependency outside of the deps package?

relocate works on package names. you will probably not want to shade gson at all, so you would want to exclude that dependency:
shadowImpl("my:dependency:1.0.0") {
	exclude (group ="com.google.code.gson")
}

relocate works on package names. you will probably not want to shade gson at all, so you would want to exclude that dependency:
shadowImpl("my:dependency:1.0.0") {
	exclude (group ="com.google.code.gson")
}

Why would I not want to shade GSON if my dependency depends on it?
After you answer, you can close this because my problem is solved :)

Normally you would want to shade the dependency as well (and also specify that package to relocate). However gson is already present in minecraft, so you can just use that versionn.


debug control screen cheese

use attached launch config
start both apps
set a breakpoint in app.js
select a callstack
🐛 the floating UI went south

Dup of https://github.com/Microsoft/vscode/issues/16596


8 samples of ROSMAP needs excessive amount of mem: 128GB

During the RNASeqc,
Small number of jobs aborted due to requesting more memory
Star works fine.
Outliers issue?

The mem issues seems to be sth wrong with the data not being able to be figured out by the software?
I will check their issues tracker see if someone else have this problelm


memory leak - not releasing toggleLayer on DCRoundSwitch.h dealloc

Instruments Version 4.0 (3538) (try to create a switch & remove it, don't use the demo app, as its not releasing...)

I think this patch will fix it for you https://github.com/domesticcatsoftware/DCRoundSwitch/pull/6


onMessageReceived not working when in foreground

Please build and run the example project app which validates and illustrates the plugin functionality.
You can use its built-in FCM v1 API client to send test notification messages and assert that onMessageReceived works properly when the app is in the foreground on both iOS & Android

I am sending with firebase console! why is it not working ?

What is not working? That onMessageReceived() is not being called while the app is in the foreground or that a foreground notification is not being displayed when you expected it to be?

First,  thank you!
onMessageReceived is not being called while app is in foreground.

I would suggest building and running the example project app - change the package ID to the same as your own app so you can use the same Firebase config - and repeat the test.

I look on project, I don't see that it is an example that show how to use cordova-plugin-firebasex. I think it is not clear.

The example project is a Cordova app project which acts as a test harness for functional validator for cordova-plugin-firebasex as well as a code example of how the plugin is to be used.
The majority of interaction with the JS API of the plugin is in index.js

I am using the old version of corova-plugin-firebbase with no problem! I know how to use it.
Can it be, that in the new version, onMessageReceived not called in foreground, because I have not created a new channel ? again, in background it is working great!

Just added a couple of screencaptures of the example project to the README demonstrating receipt of notifications in both background and foreground:
https://github.com/dpa99c/cordova-plugin-firebasex/#cloud-messaging
The example app was built with v6.0.6 of the plugin to make the recordings.

I have tested the test example, and it is working good.
Still can't find what I am doing wrong. I am Comparing your code to my code, can't find the problem.
Still background message are ok, foreground message are not ok.
I am using quasar framework, maybe that?
I am adding screen capture of my package and AndroidManifest.
Please help. Thank you.

I found the reason .....
I think that you should fix it -
the AndroidManifest is not updating from plugin.xml with this code:
		<config-file target="AndroidManifest.xml" parent="application"> 			<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementService" /> 			<service android:name="org.apache.cordova.firebase.FirebasePluginMessagingService"> 				<intent-filter> 					<action android:name="com.google.firebase.MESSAGING_EVENT"/> 				</intent-filter> 			</service> 			<receiver android:name="org.apache.cordova.firebase.OnNotificationOpenReceiver"/> 			<meta-data android:name="com.google.firebase.messaging.default_notification_color" android:resource="@color/accent" /> 			<meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="@string/default_notification_channel_id"/> 		</config-file>
so to fix that, I added this code in config.xml file that located in the root of cordova project.

@dpa99c I'm having the same problem as @michelsondan. The onMessageReceived callback is not  being called when the app is in foreground on Android. In all other cases it works sublime 👌.
This xml code of @michelsondan does seem to fix the issue.

I found the reason .....
I think that you should fix it -
the AndroidManifest is not updating from plugin.xml with this code:
<config-file target="AndroidManifest.xml" parent="application"> <service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementService" /> <service android:name="org.apache.cordova.firebase.FirebasePluginMessagingService"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT"/> </intent-filter> </service> <receiver android:name="org.apache.cordova.firebase.OnNotificationOpenReceiver"/> <meta-data android:name="com.google.firebase.messaging.default_notification_color" android:resource="@color/accent" /> <meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="@string/default_notification_channel_id"/> </config-file>
so to fix that, I added this code in config.xml file that located in the root of cordova project.

@michielcrabbe96 have you added the notification_foreground key to the notification payload as outlined here?
Please try building and running the example project app and using its built-in FCM API client to sent the pre-defined messages such as notification.json

@michielcrabbe96 have you added the notification_foreground key to the notification payload as outlined here?
Please try building and running the example project app and using its built-in FCM API client to sent the pre-defined messages such as notification.json

No, I did not specify the notification_foreground key. But as the documentation says, this key is just to show a notification while the app is in the foreground. If I interpreted this correctly?
The problem is just that onMessageReceived does not get called when the app is in the foreground. @michelsondan fix did solve this problem tho. But now I'm just wondering if it's possible to include the fix in this repo? 😃

The relevant <config-file> block is defined in the plugin.xml of this plugin and it's the responsibility of Cordova to translate that into the AndroidManifest.xml.
Note that there is a bug in Cordova where placing any <config-file> block in config.xml will cause Cordova to fail to add conflicting <config-file> blocks from plugin.xml (including this one). AFAIK that fix has not made it into a Cordova release yet so until the next version of cordova CLI is released, there's a workaround which I mention in the above issue.

The same thing happens to me. The call onMessageReceived() doesn't work when the app is in foreground or even in the background when tapping the system notification. in Xcode console I can see the notification message but next i get
 FirebasePlugin[native] LOG: willPresentNotification: foreground notification alert=YES, badge=NO, sound=NO
 FirebasePlugin[native]: willPresentNotification: foreground notification

Sample Typescript code in Ionic 5
 this.firebase.onMessageReceived()
      .subscribe(msg => {
        if (this.platform.is('ios')) {
          console.log('ios message received: ', msg.aps.alert);
          this.toastService.showAlert(msg.aps.alert);
        } else {
          console.log('android message received: ', msg.body);
          this.toastService.showAlert(msg.body);
        }
      });


Error fetching OAuth credentials: "bad_verification_code".

I've configured my dropbox app api key and secret, and the first step, redirecting the dropbox and authorizing the app, works fine.
But then I get the error
Error fetching OAuth credentials: "bad_verification_code".
The browser url reads
https://kpa.wip/auth/connect/controller/dropbox?code=QYjJ-r8n7_kAAAAAAACpLl9emB4C3F3KvyIL4kfjTuY&state=85be9df85521f7b910c977538ed3a573
but curiously that url is never actually called.
I've tried this coding directly from the documentation here, and also from theleague's auth client.
I'm guessing something is wrong with the 'state', but I'm not sure.  And debugging is very hard because it does the redirect, then fails, and I'm not sure where to start, since that message appears to come from dropbox.
can you point me in the right direction on how to debug this?  Or a demo app where I can plug in my app key and secret to see it working?
Thanks.

FWIW, when I use github instead of dropbox, it works as expected.  I've hacked away at this for a few hours, I'm sure it's something trivial like a session var or something.

I was able to get it to work, so I'll close this.


Broken permalink with markdown back-ticks

Issue Summary
Post title allows markdown back-ticks which ends up breaking the permalink
Steps to Reproduce

Click on "New Post"
Include markdown back-ticks in post title such as - this is a blog post
Click on "Publish Now"
The new post will be published
Click on the post's link, it will give a 404

Live Example
http://selftaughtdeveloper.io/`this`-is-an-example-of-the-markdown-issue/
Suggestion
Inexperienced users may not understand why the post is not displaying
Perhaps, sanitize the post title or add a warning message
Technical Details
Ghost version: 0.7.1
Browser/OS: Chrome 51.0.2704.103 (64-bit) on Mac OS X

@ajzawawi Thanks for reporting and taking time. This bug is already fixed in 0.8.0.
You could update your Ghost Version: http://support.ghost.org/how-to-upgrade/


feat(buffer): add Buffer::get_opt, get_mut_opt and index implementations

Code which previously called buf.get(x, y) or buf.get_mut(x, y) can
now use index operators, or be transitioned to buf_get_opt or
buf.get_mut_opt for safe access that avoids panics.
The new methods accept Into<Position> instead of x and y
coordinates, which makes them more ergonomic to use.
let mut buffer = Buffer::empty(Rect::new(0, 0, 10, 10));

let cell = buf[(0, 0)];
let cell = buf[Position::new(0, 0)];

let symbol = buf.get_opt((0, 0)).map(|cell| cell.symbol());
let symbol = buf.get_opt(Position::new(0, 0)).map(|cell| cell.symbol());

buf[(0, 0)].set_symbol("🐀");
buf[Position::new(0, 0)].set_symbol("🐀");

buf.get_mut_opt((0, 0)).map(|cell| cell.set_symbol("🐀"));
buf.get_mut_opt(Position::new(0, 0)).map(|cell| cell.set_symbol("🐀"));

Partially addresses https://github.com/ratatui-org/ratatui/issues/1011

This looks good to me but maybe we can get more reviewers on this?
PR title + description should be updated.

I actually intended to put the deprecation of the existing methods in https://github.com/ratatui-org/ratatui/pull/1123, but accidentally pushed the commit to this PR. Happy to do it either way (though it would be easier at this point to just keep it in this PR and update the main PR comment.


[Spike] Work on a proposal for a kfp SDK extension to support Model Registry new artifact types

as per @rimolive :

for first pass, model registry will not be extending the artifact types


Add issue tracker

resolution_fixed type_defect   |    by<EMAIL_ADDRESS>

Issue migrated from trac:1 at 2024-01-31 17:07:02 +1100

<EMAIL_ADDRESS>changed resolution from `` to fixed

<EMAIL_ADDRESS>changed milestone from `` to accessdev v1.0

<EMAIL_ADDRESS>changed status from new to closed

<EMAIL_ADDRESS>removed milestone (was accessdev v1.0)

<EMAIL_ADDRESS>commented

Milestone accessdev v1.0 deleted


stdlib.h: No such file or directory ?

Hi!
I'm using Ubuntu 18.04 on a machine that can compile Jamulus (I installed libfftw3-dev libqt5svg5-dev) and bbang! I got this:
In file included from /usr/include/c++/7/bits/stl_algo.h:59:0,
                 from /usr/include/c++/7/algorithm:62,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:109,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                 from src/protocol.h:29,
                 from src/audiobuffer.h:33,
                 from src/audiobuffer.cpp:26:
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~
compilation terminated.
Makefile:575: recipe for target 'audiobuffer.o' failed
make: *** [audiobuffer.o] Error 1

I got the file though I think:
gilgongo@monospline:~/hpsjam$ locate stdlib.h
/snap/gimp/297/usr/include/stdlib.h
/snap/gimp/297/usr/include/c++/7/stdlib.h
/snap/gimp/297/usr/include/c++/7/tr1/stdlib.h
/snap/gimp/297/usr/include/x86_64-linux-gnu/bits/stdlib.h
/snap/gimp/322/usr/include/stdlib.h
/snap/gimp/322/usr/include/c++/7/stdlib.h
/snap/gimp/322/usr/include/c++/7/tr1/stdlib.h
/snap/gimp/322/usr/include/x86_64-linux-gnu/bits/stdlib.h
/snap/gnome-3-34-1804/36/usr/include/stdlib.h
/snap/gnome-3-34-1804/36/usr/include/c++/6/stdlib.h
/snap/gnome-3-34-1804/36/usr/include/c++/6/tr1/stdlib.h
/snap/gnome-3-34-1804/36/usr/include/freetype2/freetype/config/ftstdlib.h
/snap/gnome-3-34-1804/36/usr/include/x86_64-linux-gnu/bits/stdlib.h
/usr/include/stdlib.h
/usr/include/c++/7/stdlib.h
/usr/include/c++/7/tr1/stdlib.h
/usr/include/freetype2/freetype/config/ftstdlib.h
/usr/include/x86_64-linux-gnu/bits/stdlib.h

What compiler are you using? Can you try compling this software using clang?

Or g++ ?

Can you also show all the commands you did, like qmake ... and "which qmake" ?
@dingodoppelt : Any ideas?

I just followed the commands in your readme:
qmake PREFIX=/usr
make all
make install
The versions of qmake etc. will be the ones you get with Ubuntu 18.04 I would think. gcc I would think for the compiler too. What's clang?

I haven't yet test built on Ubuntu, only Linux Mint, which should be equivalent.

See:
https://stackoverflow.com/questions/52532936/usr-include-c-7-cstdlib7515-fatal-error-stdlib-h-no-such-file-or-directo
Can you try adding:
QMAKE_CFLAGS_ISYSTEM = -I
to HpsJam.pro ?
Then re-run qmake and make?

My setup might have some abnormality perhaps. The only thing I can think of though is that I have the Ubuntu realtime kernel installed (silly I know, but I'm quite young and inexperienced).

If you Google those error messages, you'll find the solution. You're not the first one to hit this problem and it doesn't appear to be specific to HpsJam ...

Can you try adding:
QMAKE_CFLAGS_ISYSTEM = -I

OK that worked. Running now, thanks!


Kustomize support for Argo Applications

What does this PR do?
Add support for installing kustomize based application via the blueprint's argocd_application map.
Motivation
https://github.com/aws-ia/terraform-aws-eks-blueprints/issues/621
More

[x] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[x] Yes, I have added a new example under examples to support my PR
[ ] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[x] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators

[ ] E2E Test successfully completed before the merge?

Additional Notes

I was able to add this PR and  re-apply my existing terraform code with no changes.
I was able to add the following block to my argocd_application object:

    "kustomize-test-${var.zone}" = {
      path     = "workloads/testing/litmus-chaos/overlays/${var.zone}"
      repo_url = local.addon_repos.internal_addons.url
      project  = "default"
      type     = "kustomize"
    },

which pointed to this file:

and resulted in this application being added to ArgoCD.

Closes #621

Thanks @spkane !

No problem. Happy to help!


[feature] Save historical Chrome screenshots

First, fantastic project, especially now with the visual selector
Version and OS
Docker 0.39.15
Is your feature request related to a problem? Please describe.
Currently only the most recent screenshot is saved using Playwright. Historical screenshots are lost.
Describe the solution you'd like
Save the screenshot for every change and make the screenshot available for viewing under the diff option.
For example, once we click the "screenshot" tab - it would offer a drop down of all the change dates
Describe the use-case and give concrete real-world examples
Screenshots are obviously useful to debug issues. The history of diffs are available, but it can be hard to debug issues when the only the most recent screenshot is available. If there were 5 total diffs of a page since the last time we checked - we might not be able to fully discern whether the diffs were accurate each time without the corresponding screenshot diff for each change.
Additional context
None

Duplicate https://github.com/dgtlmoon/changedetection.io/issues/330


remove histogram, part 2

This PR completes the removal of Histogram support from Blueflood.

Coverage decreased (-0.2%) to 78.075% when pulling fc24423c508bfc213fb8716ffa9c3f26a00a02ca on shintasmith:rm_histogram2 into 3d920a1c5620953715de2b1af46b5da1b94736a3 on rackerlabs:master.

@usnavi @ChandraAddala @VinnyQ @izrik pls review

Looks good to me.

Looks good. I was hoping coverage would increase.

@ChandraAddala , yeah, isn't that weird coverage decreased??? I'll take a look at Coveralls and see what's the diff.

@ChandraAddala , it looks like the coverage decrease is due to some exception cases not covered. Let me see if I can add a  few more tests.

Coverage decreased (-0.001%) to 78.313% when pulling 05d7890106432b5e6ec2d15d12178cf660269e90 on shintasmith:rm_histogram2 into 3d920a1c5620953715de2b1af46b5da1b94736a3 on rackerlabs:master.

Coverage decreased (-0.001%) to 78.313% when pulling efad9a47909aef6b2801bf1eca07c81ecf819715 on shintasmith:rm_histogram2 into 3d920a1c5620953715de2b1af46b5da1b94736a3 on rackerlabs:master.

Coverage increased (+0.06%) to 78.376% when pulling 18d22bf28699c154e59b665507634dfe9b3a118d on shintasmith:rm_histogram2 into 3d920a1c5620953715de2b1af46b5da1b94736a3 on rackerlabs:master.

lgtm


Add Curves Reference

Description
A reference for the new and upcoming curves feature.

Type of change

New content (non-breaking change which adds functionality)

Personal notes: the summary section is lacking so that is one major field of feedback I want.


Fly-Pie settings crash after a few seconds

Describe the Bug
Fly-Pie settings crash after a few seconds.
Steps to reproduce the behavior:

Go to Settings
After a few seconds Fly-Pie crashes

After
journalctl -f -o cat | grep -E 'flypie|' and starting the Fly-Pie I received this:
`Started GNOME Terminal Server.
Started VTE child process 305980 launched by gnome-terminal-server process 305958.
[session uid=1000 pid=2038] Activating service name='org.gnome.Shell.Extensions' requested by ':1.787' (uid=1000 pid=306213 comm="gnome-extensions prefs<EMAIL_ADDRESS>Started Application launched by gnome-shell.
[session uid=1000 pid=2038] Successfully activated service 'org.gnome.Shell.Extensions'
[system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.209653' (uid=1000 pid=306219 comm="/usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shel")
Starting Hostname Service...
[system] Successfully activated service 'org.freedesktop.hostname1'
Started Hostname Service.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f068dc50] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f068ccb0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f068dc50] is on because it needs an allocation.
pool-org.gnome.[306246]: segfault at 18 ip 00007ff6ebb75ae3 sp 00007ff6a37fd9d8 error 6 in libglib-2.0.so.0.7200.4[7ff6ebb1e000+8f000] likely on CPU 6 (core 3, socket 0)
Code: 2b 45 0c 00 4a 8d 0c c1 48 39 11 0f 84 96 00 00 00 e9 d1 92 fa ff 90 c3 0f 1f 80 00 00 00 00 48 8b 4a 18 48 8b 72 10 45 89 c1 <48> 89 4e 18 48 89 71 10 48 8b 0d f6 44 0c 00 4e 8d 14 c9 49 8b 0a
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55c2ec3ae0a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x55c2edeb4bc0] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x55c2ede247e0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x55c2f9127bc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StWidget>:0x55c2ef842120] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f02dcc90] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x55c2f40dcfb0] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x55c2eeeb1290] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x55c2ed503c50] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55c2ec3ae0a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x55c2edeb4bc0] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x55c2ede247e0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x55c2f9127bc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StWidget>:0x55c2ef842120] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f02dcc90] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x55c2f40dcfb0] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x55c2eeeb1290] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x55c2ed503c50] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55c2ec3ae0a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x55c2edeb4bc0] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x55c2ede247e0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x55c2f9127bc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StWidget>:0x55c2ef842120] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f02dcc90] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x55c2f40dcfb0] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x55c2eeeb1290] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x55c2ed503c50] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55c2ec3ae0a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x55c2edeb4bc0] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x55c2ede247e0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x55c2f9127bc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StWidget>:0x55c2ef842120] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f02dcc90] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x55c2f40dcfb0] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x55c2eeeb1290] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x55c2ed503c50] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55c2ec3ae0a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x55c2edeb4bc0] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x55c2ede247e0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x55c2f9127bc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StWidget>:0x55c2ef842120] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f02dcc90] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x55c2f40dcfb0] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x55c2eeeb1290] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x55c2ed503c50] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55c2ec3ae0a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x55c2edeb4bc0] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x55c2ede247e0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x55c2f9127bc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StWidget>:0x55c2ef842120] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x55c2f02dcc90] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x55c2f40dcfb0] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x55c2eeeb1290] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x55c2ed503c50] is on because it needs an allocation.
`
## Expected Behavior
Not crashing

## System
_Please complete the following information:_
 - Linux distribution - Ubuntu 22.04
 - Fly-Pie version Fly-Pie 22
 - GNOME Shell version: 42.9

Hi there! Thanks for the report, but this is most likely duplicate of #313. Maybe you could add your system details there?


Python fails to build with enableOptimizations = true on aarch64-darwin

Steps To Reproduce
Steps to reproduce the behavior:

nix-build -E 'with import <nixpkgs> { }; python311.override { enableOptimizations = true; }'

Build log
https://gist.github.com/pelme/212a67e6b6e09fc93a7cd4664e67db53
Additional context
It builds and works as expected on x86_64-linux and x86_64-darwin.
Metadata
~ $ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.2.0, macOS 13.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.13.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

@pelme I think this can be closed.
$ nix-build -I nixpkgs=flake:github:nixos/nixpkgs/master -E 'with import <nixpkgs> { }; python311.override { enableOptimizations = true; }'
/nix/store/gz619rpl5pi4y9316fr58fn8bwwrg26k-python3-3.11.6
$ echo $?
0
$ nix-info
system: "aarch64-darwin", multi-user?: yes, version: nix-env (Nix) 2.13.6, channels(n8henrie): "", channels(root): "", nixpkgs: /nix/store/wzr2makc1ww4h82qj9rgpg8ij5am0w40-source

@n8henrie Thanks for the pointer. I can confirm that it works for me too!


Failed to open new connection with OTA after upgrade to v4.3.1 (IDFGH-6171)

Environment

Module or chip used:    ESP32-WROOM-32D
IDF version:    v4.3.1-354-g98d34e5f6d
Build System:    idf.py
Compiler version:    xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2) 8.4.0
Operating System:     macOS
Using an IDE?:    Yes: VS Code
Power Supply:         USB

Problem Description
OTA is no longer working in my project after upgrading to v4.3.1 just over a month ago. Getting the below error (in Debug Logs) after getting an IP HTTP callback and after running esp_https_ota_begin(&ota_config, &ota_handle).
Expected Behavior
Expect to connect to WiFi network, start OTA connection, populate OTA partition and restart device.
Actual Behavior
Getting the above error response from device.
Code to reproduce this issue
esp_http_client_config_t clientConfig = {
        .url = "url_to_s3_bucket_location",
        .event_handler = ota_event_handler,
        .cert_pem = (char *)server_cert_pem_start,
        .timeout_ms = 20000, // default is 5000
        .keep_alive_enable = true};

esp_https_ota_config_t ota_config = {
        .http_config = &clientConfig};

esp_https_ota_handle_t ota_handle = NULL;

if (esp_https_ota_begin(&ota_config, &ota_handle) != ESP_OK)
{
        ESP_LOGE(GNAR_TAG, "esp_https_ota_begin failed");
        esp_restart();
        continue;
}

esp_app_desc_t incoming_ota_desc;
if (esp_https_ota_get_img_desc(ota_handle, &incoming_ota_desc) != ESP_OK)
{
        ESP_LOGE(GNAR_TAG, "esp_https_ota_get_img_desc failed");
        esp_https_ota_finish(ota_handle);
        esp_restart();
        continue;
}

if (validate_image_header(&incoming_ota_desc) != ESP_OK)
{
        ESP_LOGE(GNAR_TAG, "validate_image_header failed");
        esp_https_ota_finish(ota_handle);
        esp_restart();
        continue;
}

while (true)
{
        esp_err_t ota_result = esp_https_ota_perform(ota_handle);
        if (ota_result != ESP_ERR_HTTPS_OTA_IN_PROGRESS)
        break;
}

if (esp_https_ota_finish(ota_handle) != ESP_OK)
{
        ESP_LOGE(GNAR_TAG, "esp_https_ota_finish failed");
        esp_restart();
        xSemaphoreTake(ota_semaphore, portMAX_DELAY);
        continue;
}
else
{
        esp_restart();
}
ESP_LOGE(GNAR_TAG, "Failed to update firmware");

Debug Logs
E (26990) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x256a
I (26990) esp-tls-mbedtls: Certificate verified.
E (26990) esp-tls: Failed to open new connection
E (26990) TRANS_SSL: Failed to open a new connection
E (27000) HTTP_CLIENT: Connection failed, sock < 0
E (27000) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (27010) esp_https_ota: Failed to establish HTTP connection
E (27020) GNAR OTA: esp_https_ota_begin failed

Update After running idf.py fullclean, removing the sdkconfig, and rebuilding, I'm now getting the following error before the ESP restarts on failure:
W (71650) wifi:<ba-add>idx:1 (ifx:0, f0:72:ea:71:6d:ca), tid:0, ssn:0, winSize:64
E (72100) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x3b00
I (72100) esp-tls-mbedtls: Certificate verified.
E (72100) esp-tls: Failed to open new connection
E (72100) TRANS_SSL: Failed to open a new connection
E (72110) HTTP_CLIENT: Connection failed, sock < 0
E (72110) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (72120) esp_https_ota: Failed to establish HTTP connection
E (72130) esp_https_ota_begin failed

Here is what I'm getting from heap output also:
W (71640) free heap size: 45208
W (71640) max free heap size: 43032

@z7jzk

E (26990) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x256a

This error points to insufficient dynamic memory and hence allocation failure.

E (72100) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x3b00

This points to some error in parsing certificate file. Could you please double check on credentials passed to esp_https_ota API once?
Alternatively, please try OTA examples with local HTTPS server once per instructions at  https://github.com/espressif/esp-idf/tree/master/examples/system/ota#run-https-server and https://github.com/espressif/esp-idf/tree/master/examples/system/ota#local-https-server

Hi @mahavirj,
Thank you for the feedback. I was able to get OTA working again today! I had two main issues for anyone that stumbles upon this thread:
I was battling insufficient memory (as you pointed out above) in some instances where I had been calling xTaskCreate() on the same task more than once in some cases (fixed, available memory is now consistent at runtime). I was also using the wrong certificate for my custom domain that points to an AWS S3 Bucket location. I resolved this by using the correct certificate by referencing the reply on this thread.
Thanks again!

@z7jzk Great to hear that your issue is resolved. Thanks for sharing additional insights. I will go ahead and close the issue.


After approving access to insporation from pod getting net::ERR_UNKNOWN_URL_SCHEME

Huh, which browser and Android version is that?

Huh, which browser and Android version is that?

Stock browser lineageOS

Switched default browser and it worked


pull request for e2e test at 01/27/2017 06:56:29

:white_check_mark: Validation status: passed
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.