Feature remote management

Description of changes:

Curated packages will be installing controller only on management clusters: https://github.com/aws/eks-anywhere-packages/blob/main/docs/design/remote-management.md. This is a start to get the management cluster.
Testing (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


(err.code=EPROTO)

16:28:51.072Z FATAL wings: A fatal error caused the daemon to abort the startup. (err.code=EPROTO)
    Error: write EPROTO<PHONE_NUMBER>82112:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:

        at exports._errnoException (util.js:1018:11)
        at WriteWrap.afterWrite (net.js:800:14)
    --
    additional: {
      "code": "EPROTO",
      "errno": "EPROTO",
      "syscall": "write"
    }
16:28:51.073Z ERROR wings: You should forcibly quit this process and attempt to fix the issue.

https://image.prntscr.com/image/9UhMqbLBQN2tq89A6qit3A.png
error

This looks like there is something wrong with your configuration. Check the Urls and see if all of them are correct regarding HTTPS.

One of them was from beginning. But now i switch to HTTP. Solved


Depths of Despair quest start overlay has bugged requirements list in overlay

Hopefully this is fixed with https://github.com/Zoinkwiz/quest-helper/commit/363a9f17c4fb190aa80579b54388ec24e39cc079#diff-69c4272badb301a12cba72b9729c783eaddf47dade1cc95861de8d78bf83fca6, if anyone else encounters this please do report it.

This is sadly not fixed. I can confirm in shattered relic leagues that having all requirements besides favour leads to the same overlay bug mentioned in the original post here.

That is, I have Client of Kourend, X Marks the Spot, above 18 Agility, and 0% favour.


Annotate jpeg version...

... and re-build.

Hi! This is the friendly conda-forge-admin automated user.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


mysql-wordpress-persistent-volume article creates an invalid Service object

This is a Bug Report

Problem:
The Service definition in the wordpress-deployment.yaml has a selector matching the "wordpress" label.  Then the Deployment definition in the mysql-deployment.yaml defines the mysql Deployment as "app: wordpress" in the metadata.  This causes the wordpress service definition to match both the wordpress pod and the mysql pod.  So when routing http traffic to the wordpress Service, there's an attempt to serve wordpress requests from wordpress and also mysql.
Proposed Solution:
Change all labels and selectors to use "wordpress-mysql" in mysql-deployment.
Page to Update:
https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/#add-resource-configs-for-mysql-and-wordpress

I'm not sure that the issue description is recommending the right fix.
I'd expect to narrow the selector that the Service uses, so that all of the Wordpress Pods can keep app: wordpress.
For example, the web Pods could be labelled app.kubernetes.io/instance=wordpress-foobar and app.kubernetes.io/component=web and then the selector matches on both.

Does that make sense @kenmccann ? See https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/ for the reference behind my thinking here.

I've realized my own mistake @sftim - thanks for pointing out the recommended concepts.
At some point during my own deployment, I had commented out tier: frontend in the Service definition for Wordpress.
This caused the mysql pod to be selected into the Service as well.
User error.  Let's cancel this.

/triage support


nft-burn? snippet expands to nft-mint?

Using VSCode's autocomplete to generate a call to nft-burn? will instead generate the boilerplate for a call to nft-mint?.

Issue addressed with the latest version of the extension (v0.6.0), simply make sure that you're using the latest version of Clarinet (v0.22.0).


Segfault in TritonRoute

(Should this be filed with OpenROAD instead?)
I configured OpenLane and ran ./flow.tcl -design $DESIGN in the docker container. I'm running the rc2 release.
TritonRoute segfaulted and the whole flow died. I'm attaching the entire run output directory.
Please let me know if there's a way I can enable or provide more useful debug information.
run.tar.gz
Design source:
aryap_riscv_core.151.tar.gz

@growly, can you share with me the configuration files you fed to flow.tcl? I'm aware you included the config.tcl that gets generated inside the run directory. But, just to save time and allow me to replicate what happened to you, could you share the one you used?
Also, as a start, I'd advise using TR14 by setting ROUTING_STRATEGY to 14.

@agorararmard No problem, I think it's this one:
config.tcl.gz
(This is just gzipped, not tar'd)

@growly: As per our discussion yesterday, I have run your design (on develop - rc3-to-be) with a resized synthesized memory (~25% of the current one) currently with 30% core utilization, 0.2 target placement density, 30ns clock period, and it got all the way to a GDSII with ~2 violations (that's where exploration comes in as discussed). I am doing another run with 50% synthesized memory on the side, but I expect that it will still take a while.
Have you had a chance to re-run your design with TR14 and/or resizing the synthesized memory? From my observations, running your design as it is would require at least 16 GB of memory just during synthesis, and depending on the CPU and the design configuration, it is expected to take around 16-18 hours.

@growly could you try rc3 and tell us if you have any trouble?

Thanks for the updates, I'm working on reproducing your results!

I have been running the new rc3 flow for about the past week. It definitely seems more stable. I certainly haven't run into any segfaults this time.

@growly: That's great to hear!
Would you mind sharing your design in the repo (this way, we'll always be sure that it's able to pass the flow)?
You can do that by submitting a PR to the develop branch in which you put your design and configuration under ./designs/. Make sure to include a LICENSE accrediting yourself as the developer of this Verilog code. Of, course we'll understand if you don't want to share it on the repo, so no pressure.
Also, I'll close this issue since it no longer stands.


PDNS manager LDAP configuration not working

I have added following LDAP configuration in ConfigUser.php
$config['auth_type'] = 'ldap';
$config['ldap_uri'] = '';
$config['ldap_bind_dn'] = '';
$config['ldap_bind_pw'] = '';
$config['ldap_base_dn'] = '';
$config['ldap_search'] = '(&(uid=%user%)()';
but still panel accepting db authentication and ldap users failed to login, please correct me if I did anything wrong.

PDNS Manager does not support LDAP authentication.


WIP: E2E in github actions

Weird, I tested kind of the same thing for shipyard (on my fork until you enable actions in Shipyard repo) and it works perfectly..
https://github.com/mkolesnik/shipyard/pull/1

I'm closing this one, and we can move into your upgraded design @mkolesnik  :D


Humble tutorial Docker image has rolling installed

Description
When following the steps outlined in https://moveit.picknik.ai/humble/doc/how_to_guides/how_to_setup_docker_containers_in_ubuntu.html# with DOCKER_IMAGE=humble_tutorial, the humble container has ROS rolling installed instead of ROS humble.
Your environment

ROS Distro: Humble
OS Version: Ubuntu 22.04
Using the following docker image: https://github.com/ros-planning/moveit2_tutorials/pkgs/container/moveit2_tutorials/79102883?tag=humble-tutorial

Steps to reproduce

Go through the MoveIt 2 Docker requirements section: https://moveit.picknik.ai/humble/doc/how_to_guides/how_to_setup_docker_containers_in_ubuntu.html#requirements
Go through the steps to start a tutorial container via Docker compose: https://moveit.picknik.ai/humble/doc/how_to_guides/how_to_setup_docker_containers_in_ubuntu.html#requirements (on my machine, I don't have a GPU, so the command I entered to launch the container was DOCKER_IMAGE=humble-tutorial docker compose run --rm --name moveit2_container cpu)
Check the ROS version by running the following command in the container: echo $ROS_DISTRO
Check the version of ROS in the binary packages installed onto the image by running the following command in the container: apt list | grep -i ros | grep installed

Expected behaviour
Entering echo $ROS_DISTRO in the Docker container should give humble, and the binary packages listed by apt list | grep -i ros | grep installed should be ros-humble packages.
Backtrace or Console output
echo $ROS_DISTRO outputs rolling, and apt list | grep -i ros | grep installed gives ros-rolling packages.

The root cause for this issue has been discovered in https://github.com/ros-planning/moveit2/pull/2035#issuecomment-1480082496


[CS] Fix diagnostic fix-it paren handling

Don't consider implicit TupleExprs in exprNeedsParensOutsideFollowingOperator, as such implicit tuples may be used to represent argument lists for e.g binary expressions, and as such shouldn't be considered as parent exprs that satisfy the role of parentheses.
Also fix the callers to use the raw anchor as the root expression they pass to provide an accurate parent map. This requires sinking the UnresolvedMemberChainResultExpr handling logic into getPrecedenceParentAndIndex.
rdar://81109287

@swift-ci please test


Is the Azure Backup section still valid?

Last year, classic VMs were automatically migrated from Backup Vaults to Recovery Services. Recovery Services refer to classic VMs by their Resource Group assignment, so post migration, if the Resource Group assignment doesn't change and the backup extension is re-installed, then would the existing backup protection still work?

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

ID: 7e62fa0e-b3db-03a0-30ed-d280fa022219
Version Independent ID: 1037cec6-8878-85ca-e0d4-b7a0c2fdb4cf
Content: Frequently asked questions about Classic to Azure Resource Manager migration
Content Source: articles/virtual-machines/windows/migration-classic-resource-manager-faq.md
Service: virtual-machines-windows
GitHub Login: @singhkays
Microsoft Alias: kasing

Thanks for the question! We are investigating and will update you shortly.

@badbob001 yes the existing backups should still be valid and be working. Are you seeing any issues with them?

@badbob001 we are working offline to get an answer to this question. Will update you once we have more information.

@badbob001 Just to confirm, you are still using classic VMs right? However rather than backup everything is stored in Recovery Services

Hi,
Yes, I'm still using Classic VMs. They use to be connected to the Backup
Vaults but MS transparently migrated everyone to Recovery Services. So no
one should be using Backup Vaults anymore and thus their mention in the FAQ
is irrelevant.
Now that Classic VMs are assigned to Recovery Services, I see that the VM
registrations refer to the VM's Resource Group and not their Cloud Service.
Often the Resource Group and Cloud Service are named the same, but not
always. I was hoping that after the migration, I just need to install the
new backup extension and the VMs will continue to backup using their
original registration. But I just read that migrated VMs are assigned to a
new Resource Group, named -migrated, and the VM's
previous Resource Group is ignored. So if the VMs' Resource Groups are
changing, then all the backup registration will no longer be valid and I
will need to manually re-register all my migrated VMs to backup (a lot of
work). Please let me know if this information is still correct.
Thanks,
Robert
On Wed, Jul 25, 2018 at 12:56 PM Micah<EMAIL_ADDRESS>wrote:

@badbob001 https://github.com/badbob001 Just to confirm, you are still
using classic VMs right? However rather than backup everything is stored in
Recovery Services
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/12287#issuecomment-407823762,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzEJ-PDMmNfiq6LOvLKlkyLApgHs_RDks5uKKNMgaJpZM4Vc7mv
.

Got it! Thank for clarifying that for me. I am working offline to get an answer to this. Will update shortly.

@singhkays can you take a look at this document and ensure it still makes sense? As well as chime in on this issue

Hi,
I have gone through the process to stop the backup as mentioned in the article, I think some of the wording might be outdated such as all of 2. 'Click Stop Protection. Leave Delete associated backup data option unchecked.' I believe it is now 'Stop Backup' instead of 'Stop Protection' and it is no longer a tickbox it is now a dropdown menu but even after completing these steps when I go to validate migration from Classic IaaS to Resource Manager I still get the following error message:

VM server01 in HostedService server01 is currently configured with the Azure Backup service and therefore currently not supported for Migration. To migrate this VM, please follow the procedure described athttps://aka.ms/vmbackupmigration.

Can this be looked into.
Kind Regards,
-Gavin

I have the same issue as GavinEke - can't migrate as the backup services options are no longer available and it fails validation on "Migrate to ARM".. can we get an update on this?

@singhkays Can you please share who would be the right person to help this doc getting updated? Thanks :)

I have the same issue - can't migrate as the backup services options are no longer available and it fails validation on "Migrate to ARM".. can we get an update on this?

I was able to migrate after removing the backup extension from the VM.

Yes you need to remove the backup prior to performing the migration.
I will add a note to this doc.

Actually, the doc is correct.
To migrate the virtual machine to Resource Manager mode,

Delete the backup/snapshot extension from the VM.
Migrate the virtual machine from classic mode to Resource Manager mode. Make sure the storage and network information corresponding to the virtual machine is also migrated to Resource Manager mode.


Fix couple of branding issues, radio buttons not aligned

https://www.pivotaltracker.com/n/projects/2481183/stories/184076314

https://github.com/ideacrew/quoting_tool/pull/37


Catch all exceptions

Since i was using catcher and wanted to convert to your package.
i was missing the catching all exceptions part (catching unhandled exceptions accross all the app)
i was able to implement that using catcher as a refrence and following this https://docs.flutter.dev/testing/errors
example of how to use it (all exceptions will be sent as talker.error("unhandled exception", error, stackTrace);)
void main() async {
  final talker = TalkerFlutter.init();
  TalkerAppWrapper(
      talker: talker, ensureInitialized: true, rootWidget: MyApp());
}

also this pull request includes the changes i did on the log file path issues https://github.com/Frezyx/talker/pull/99
hope this gets approved, and thank you for the awesome package

I can remove the part related to the path of logs that was already merged, if that's a problem
Also if you think something should be done to improve the PR let me know

Hello @zezo357 !
Yes, that would be great. I've already looked at this pr a bit.
I like what you've come up with. But I want to dive deeper to check everything in detail.

Hello @zezo357 !
Yes, that would be great. I've already looked at this pr a bit.
I like what you've come up with. But I want to dive deeper to check everything in detail.

Yeah take your time and I will resolve the conflict and let you know.

@Frezyx hi, i fixed the conflict
also for references for how i did this pr
https://docs.flutter.dev/testing/errors for catching flutter errors
https://dart.dev/articles/archive/zones#handling-asynchronous-errors for catching dart errors

Hello @zezo357 ! Sorry for a long time waiting.
I think a lot about your improvements.
In many projects, there is also another setup code inside the initialization in main method,
and not so many people will need the code as in your example.
But I have a suggestion: we can add this code in example folder.
Like full setup talker usage.
What you think about it ?

I felt that if we provide the main class it will be easier for developers
Instead of giving them a complicated example?
Or is it the idea of leaving them to handle each error?

It's more about to let the developer choose the level of error handling in the application.

It would be great if there was some other way to initialize Talker for handling all app errors.

It's more about to let a developer choose the level of error handling in the application.

The objective of the pr is to include the wrapper in the package, if people want to use it (to help them not implement it by themselves)
If they don't want they can run the app without it.
It's just a wrapper for catching up handled exceptions.

It would be great if there was some other way to initialize Talker for handling all app errors.

From my research I found out the only one is wrapping the run app
If you found a better way, I would love to use it 😅

Hello @zezo357 !
Can we make method runTalkerZonedGuarded instead of ** TalkerAppWrapper**
I want to be able to configure all initialization methods independently, as done when using runZonedGuard
The method should make it possible to forward a callback to which the runApp will be passed.
This way we will be able to initialize all the abundance of methods that you have described and keep the customizability

Hello @zezo357 !
Can we make method runTalkerZonedGuarded instead of TalkerAppWrapper
I want to be able to configure all initialization methods independently, as done when using runZonedGuard
The method should make it possible to forward a callback to which the runApp will be passed.
This way we will be able to initialize all the abundance of methods that you have described and keep the customizability

So you want to be a wrapper for runZonedGuard with same parameters and calls it inside it , right?
If yes I will work on it this weekend, hopefully

Hello @zezo357 !
Can we make method runTalkerZonedGuarded instead of TalkerAppWrapper
I want to be able to configure all initialization methods independently, as done when using runZonedGuard
The method should make it possible to forward a callback to which the runApp will be passed.
This way we will be able to initialize all the abundance of methods that you have described and keep the customizability

So you want to be a wrapper for runZonedGuard with same parameters and calls it inside it , right?
If yes I will work on it this weekend, hopefully

Yes! You got me right.
That would be great if I could manage to do that.

i hope i implemented it like how you thought of it

@zezo357 Great!
That's exactly what I thought.
But last one. Can you move this code in utils folder ?
Because currently this code is more about tools than about ui.

@zezo357 Great!
That's exactly what I thought.
But last one. Can you move this code in utils folder ?
Because currently this code is more about tools than about ui.

Will do when I Finish work, should I mention you when I do?

@zezo357 Great!
That's exactly what I thought.
But last one. Can you move this code in utils folder ?
Because currently this code is more about tools than about ui.

Will do when I Finish work, should I mention you when I do?

I’m here today and ready for merge your feature. Also if you make changes later I will merge it. So up for you when you think about make changes 🤝

@zezo357 Great! That's exactly what I thought.
But last one. Can you move this code in utils folder ? Because currently this code is more about tools than about ui.

just to be sure you meant a utils folder in flutter_talker right? since this catches flutter exceptions too, so it shouldn't be in talker/utils
also i would like to add an option to catch flutter exception or not , to let the developers choose what they like

@zezo357 Great! That's exactly what I thought.
But last one. Can you move this code in utils folder ? Because currently this code is more about tools than about ui.

just to be sure you meant a utils folder in flutter_talker right? since this catches flutter exceptions too, so it shouldn't be in talker/utils
also i would like to add an option to catch flutter exception or not , to let the developers choose what they like

i did those changes, let me know if you got a better idea.

@zezo357 Thanks a lot!
You did a great job 🚀


Verbose runtime option

Hi ;)
It would be useful to add an option for log management
Scenario: in dev-mode it is necessary to turn off cache components, then we get log messages

Log

Temporary solution: use prop :noCache

Example
export const useCacheEnabled = () => {
    const { isServer } = useProcess();
    const noCache = computed(
        () => isServer && useRuntimeConfig().multiCache.component === false
    );

    return {
        noCache,
    };
};

...
const { noCache } = useCacheEnabled();
...
RenderCacheable(:noCache='noCache')

Unfortunately, I couldn't make a wrapper for the RenderCacheable component, because of this part

Thank you for raising this issue, I have removed all non-error log messages, not only on the component cache but also in other places. They are now only logged when setting the new debug option. It is available in the 3.1.0 release.


fix ilit miss issue: rename the ilit to lpot in code, ut and description

Description
In oneAPI 2021.2, the ilit is renamed to lpot. The UT case will be fault for it.
In same time, update the code, ut case and descrition for rename ilit to lpot.
Fixes # (issue)
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Sample Migration (Moving sample from old repository after completing checklist established)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode

Checklist for Moving samples:
Links and Details can be found in the samples WG Teams Files.

[ ] Review sample design with domain reviewers https://github.com/oneapi-src/oneAPI-samples/wiki/Reviewers-and-Domain-Experts
[ ] Implement coding guidelines and ensure code quality.
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com
[ ] Adhere to readme template
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Enforce format via clang-format config file
[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth or Joe Oster. (GitHub User: JoeOster)
[ ] Tested using Dev Cloud when applicable
[ ] Implement fixes for ONSAM Jiras
[ ] If you have new dependencies/binaries, inform Samples Project Manager Swapna R Dontharaju (@srdontha) or @JoeOster

it looks like we still have a  problem with this sample @NeoZhangJianyu
FileNotFoundError: [Errno 2] No such file or directory: '8.json'
Please take a look

@JoeOster Yes, I will check it soon.


Support watching independent files

As explained in the docs, JDK's watch service cannot watch independent
files and instead can only watch directories. To simulate watching
independent files, we watch their parent directories in a non-recursive
manner. This PR implements the bits to simulate this behaviour.
The strategy here is to first register all the paths that are
non-recursive, and then proceed to the recursive ones. If any of the
directories that must be watched non-recursively are subsumed by any of the
recursive directories, they automatically become recursive.
All events about directories contained in non-recursive directories are
ignored by default.

@gmethvin There seems to be an error in the Linux CI related to the sbt-sonatype upgrade:
[warn] 	module not found: org.xerial.sbt#sbt-sonatype;2.3
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/org.xerial.sbt/sbt-sonatype/scala_2.12/sbt_1.0/2.3/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.xerial.sbt/sbt-sonatype/scala_2.12/sbt_1.0/2.3/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /home/travis/.ivy2/local/org.xerial.sbt/sbt-sonatype/scala_2.12/sbt_1.0/2.3/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/xerial/sbt/sbt-sonatype_2.12_1.0/2.3/sbt-sonatype-2.3.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/travis/.sbt/preloaded/org.xerial.sbt/sbt-sonatype/2.3/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/travis/.sbt/preloaded/org/xerial/sbt/sbt-sonatype_2.12_1.0/2.3/sbt-sonatype-2.3.pom
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: org.xerial.sbt#sbt-sonatype;2.3: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		org.xerial.sbt:sbt-sonatype:2.3 (scalaVersion=2.12, sbtVersion=1.0)

It seems the resolution error disappeared in the last commit. CI is green again here and PR is ready for review.

@gmethvin How does this look?

What do you think about determining whether the watch path is recursive in the OSX service based on whether the FILE_TREE modifier is passed, rather than having an extra isRecursive on the WatchablePath? Seems like that would be more in line with the "standard" implementation and would make it easier to use the service on its own outside the context of directory-watcher.

Do you mean adding isRecursive to the constructor of the OSX watch service? I think it's better as it is because you usually want to control this at the path level.

No, it should be on a path level, but we can simply check for the ExtendedWatchEventModifier.FILE_TREE modifier, which we are already passing to the Watchable#register method. That requires us to do three things:

Update AbstractWatchService#register to take an additional WatchEvent.Modifier... varargs at the end.
Update WatchablePath#register to pass along the modifiers we give it (which are currently ignored).
Update MacOSXListeningWatchService#register to check for the FILE_TREE modifier, and keep track of which watchables are registered as recursive. This could be as simple as maintaining another Set<Path> of the recursive paths (or separate sets of recursive and non-recursive paths).

I like this approach because it brings our implementation more in line with the default JDK implementation. It also makes it easier to support additional modifiers in the future if we choose to.

Makes sense, I'll have a look later this week.

@jvican I'm going to close this for now since it's been inactive for a while and the changes are out of date, but feel free to pick it up again later if you're still interested.

@jvican I'm going to close this for now since it's been inactive for a while and the changes are out of date, but feel free to pick it up again later if you're still interested.

Sounds good, thanks Greg.

Sounds good, thanks Greg.


`iram0_0_seg' overflowed by 10488 bytes after adding TCP server code in existing code. (IDFGH-12178)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
ESP IDF 5.0
Espressif SoC revision.
ESP32-PICO-MINI-02
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
custom board
Power Supply used.
Battery
What is the expected behavior?
Build successfully and run as normal.
What is the actual behavior?
I was getting an error message as :-
c:/espressif3/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: SenseH_FW_Esp32.elf section .iram0.text' will not fit in region iram0_0_seg'
c:/espressif3/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: IRAM0 segment data does not fit.
c:/espressif3/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `iram0_0_seg' overflowed by 10448 bytes
After receiving this error changed the iram0_0_seg len from 0x20000 to 0x25000
/* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... /
iram0_0_seg (RX) : org = 0x40080000, len = 0x20000
TO
/ IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
iram0_0_seg (RX) : org = 0x40080000, len = 0x25000
After this change its code builded successfully after flashing getting run time error (device is booting in loop)

Steps to reproduce.
Due limitations can't attach the code.
Debug Logs.
I (28) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader
I (28) boot: compile time 17:13:17
I (28) boot: Multicore bootloader
I (32) boot: chip revision: v3.0
I (36) boot.esp32: SPI Speed      : 40MHz
I (40) boot.esp32: SPI Mode       : DIO
I (45) boot.esp32: SPI Flash Size : 8MB
I (49) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (58) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (73) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (81) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (88) boot:  3 factory          factory app      00 00 00010000 00158520
I (96) boot:  4 ota_0            OTA app          00 10 00170000 00158520
I (103) boot:  5 ota_1            OTA app          00 11 002d0000 00158520
I (111) boot:  6 storage          Unknown data     01 06 00429000 00300000
I (118) boot: End of partition table
I (122) boot: Defaulting to factory image
I (127) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=42ed8h (274136) map
I (235) esp_image: segment 1: paddr=00052f00 vaddr=3ff80063 size=00008h (     8) load
I (235) esp_image: segment 2: paddr=00052f10 vaddr=3ffbdb60 size=05758h ( 22360) load
I (249) esp_image: segment 3: paddr=00058670 vaddr=40080000 size=079a8h ( 31144) load
I (262) esp_image: segment 4: paddr=00060020 vaddr=400d0020 size=ed534h (972084) map
I (614) esp_image: segment 5: paddr=0014d55c vaddr=400879a8 size=1af28h (110376) load
E (614) esp_image: Segment 5 0x400879a8-0x400a28d0 invalid: bad load address range
0x400879a8: r_lld_evt_schedule_next_instant_hack at ??:?

E (619) boot: Factory app partition is not bootable
E (625) esp_image: image at 0x170000 has invalid magic byte (nothing flashed here?)
E (633) boot: OTA app partition slot 0 is not bootable
E (639) esp_image: image at 0x2d0000 has invalid magic byte (nothing flashed here?)
E (647) boot: OTA app partition slot 1 is not bootable
E (653) boot: No bootable app partitions in the partition table
ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6992
load:0x40078000,len:15512
load:0x40080400,len:3864
entry 0x40080650
0x40080400: _init at ??:?

I (54) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader
I (54) boot: compile time 17:13:17
I (54) boot: Multicore bootloader
I (58) boot: chip revision: v3.0
I (62) boot.esp32: SPI Speed      : 40MHz
I (67) boot.esp32: SPI Mode       : DIO
I (71) boot.esp32: SPI Flash Size : 8MB
I (76) boot: Enabling RNG early entropy source...
I (81) boot: Partition Table:
I (85) boot: ## Label            Usage          Type ST Offset   Length
I (92) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (100) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (107) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (115) boot:  3 factory          factory app      00 00 00010000 00158520
I (122) boot:  4 ota_0            OTA app          00 10 00170000 00158520
I (130) boot:  5 ota_1            OTA app          00 11 002d0000 00158520
I (138) boot:  6 storage          Unknown data     01 06 00429000 00300000
I (145) boot: End of partition table
I (149) boot: Defaulting to factory image
I (154) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=42ed8h (274136) map
I (262) esp_image: segment 1: paddr=00052f00 vaddr=3ff80063 size=00008h (     8) load
I (262) esp_image: segment 2: paddr=00052f10 vaddr=3ffbdb60 size=05758h ( 22360) load
I (276) esp_image: segment 3: paddr=00058670 vaddr=40080000 size=079a8h ( 31144) load
I (289) esp_image: segment 4: paddr=00060020 vaddr=400d0020 size=ed534h (972084) map
I (641) esp_image: segment 5: paddr=0014d55c vaddr=400879a8 size=1af28h (110376) load
E (641) esp_image: Segment 5 0x400879a8-0x400a28d0 invalid: bad load address range
0x400879a8: r_lld_evt_schedule_next_instant_hack at ??:?

E (646) boot: Factory app partition is not bootable
E (652) esp_image: image at 0x170000 has invalid magic byte (nothing flashed here?)
E (660) boot: OTA app partition slot 0 is not bootable
E (666) esp_image: image at 0x2d0000 has invalid magic byte (nothing flashed here?)
E (674) boot: OTA app partition slot 1 is not bootable
E (680) boot: No bootable app partitions in the partition table
ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6992
load:0x40078000,len:15512
load:0x40080400,len:3864
0x40080400: _init at ??:?

entry 0x40080650
I (54) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader
I (54) boot: compile time 17:13:17
I (54) boot: Multicore bootloader
I (58) boot: chip revision: v3.0
I (62) boot.esp32: SPI Speed      : 40MHz
I (67) boot.esp32: SPI Mode       : DIO
I (71) boot.esp32: SPI Flash Size : 8MB
I (76) boot: Enabling RNG early entropy source...
I (81) boot: Partition Table:
I (85) boot: ## Label            Usage          Type ST Offset   Length
I (92) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (100) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (107) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (115) boot:  3 factory          factory app      00 00 00010000 00158520
I (122) boot:  4 ota_0            OTA app          00 10 00170000 00158520
I (130) boot:  5 ota_1            OTA app          00 11 002d0000 00158520
I (138) boot:  6 storage          Unknown data     01 06 00429000 00300000
I (145) boot: End of partition table
I (149) boot: Defaulting to factory image
I (154) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=42ed8h (274136) map
I (262) esp_image: segment 1: paddr=00052f00 vaddr=3ff80063 size=00008h (     8) load
I (262) esp_image: segment 2: paddr=00052f10 vaddr=3ffbdb60 size=05758h ( 22360) load
I (276) esp_image: segment 3: paddr=00058670 vaddr=40080000 size=079a8h ( 31144) load
I (289) esp_image: segment 4: paddr=00060020 vaddr=400d0020 size=ed534h (972084) map
I (641) esp_image: segment 5: paddr=0014d55c vaddr=400879a8 size=1af28h (110376) load
E (641) esp_image: Segment 5 0x400879a8-0x400a28d0 invalid: bad load address range
0x400879a8: r_lld_evt_schedule_next_instant_hack at ??:?

E (646) boot: Factory app partition is not bootable
E (652) esp_image: image at 0x170000 has invalid magic byte (nothing flashed here?)
E (660) boot: OTA app partition slot 0 is not bootable
E (666) esp_image: image at 0x2d0000 has invalid magic byte (nothing flashed here?)
E (674) boot: OTA app partition slot 1 is not bootable
E (680) boot: No bootable app partitions in the partition table
ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6992
load:0x40078000,len:15512
load:0x40080400,len:3864
entry 0x40080650
0x40080400: _init at ??:?

More Information.
The one was developed the code in his system its working fine. I have tried to do it in 3 systems and all device showing same error.

euripedesrocha do you have any thought on this.

Hi,
You cannot simply just change the linkerscript like that unless you are 100% sure you know what you are doing. Those numbers have been chosen for a reason.
For info on how to optimize your application for IRAM usage I suggest taking a look at https://docs.espressif.com/projects/esp-idf/en/v5.0.6/esp32/api-guides/performance/ram-usage.html#optimize-iram-usage


Automatic Rails generation

Is it easier to use this gem for Rails applications (or all Heroku if possible) and then just run it every 2 months automatically? I can't tell if it's simpler than sabayon's implementation and setup.
https://github.com/KMarshland/heroku-ssl

I haven't tried that gem, so cannot say.
Though my personal opinion is that mixing certificate generation with your main app is a bad idea.
But you're free to pick any solution you want.


Track obsolete API in the script examples

There seem to be leftovers of obsolete, sometimes quite ancient API in the script examples. I'm afraid it might be tedious to look for them all manually.
Would it be realistic to make some kind of a script that would have a list of obsolete functions and properties as an input, and run through the wiki pages, and then tell which one still mention these?
Obsolete API table:
https://github.com/adventuregamestudio/ags-manual/wiki/ObsoleteScriptAPI

This was generated by ignoring the "Script API", "Upgrading", and the "Obsolete variables" pages, and then looking for matches. I think this is the best I can reasonably do whilst the obsolete functions are actually still documented and linked.
BlockingScripts.md:1786:Character.Say command. Say (or *DisplaySpeech* in old-style scripting)
Replace 'DisplaySpeech' with 'Character.Say'

BlockingScripts.md:1818:ProcessClick to run the appropriate event. When it does so, it finds
Replace 'ProcessClick' with 'Room.ProcessClick'

BlockingScripts.md:1834:calling ProcessClick, so the room script will actually be run on the
Replace 'ProcessClick' with 'Room.ProcessClick'

Constants.md:2009:    // only compile the MoveCharacter command if not using object-based scripting
Replace 'MoveCharacter' with 'Character.Walk'

Constants.md:2010:    MoveCharacter(EGO, 30, 40);
Replace 'MoveCharacter' with 'Character.Walk'

EnginePluginRun-timeAPI.md:4665:#### IAGSEngine.GetPlayerCharacter
Replace 'GetPlayerCharacter' with 'Use `player` pointer'

EnginePluginRun-timeAPI.md:4667:int GetPlayerCharacter ();
Replace 'GetPlayerCharacter' with 'Use `player` pointer'

EnginePluginRun-timeAPI.md:4781:Returns the view frame structure for the specified frame. `view` is the number you get from the editor (that's used in `SetCharacterView` and so forth), not the view minus 1.
Replace 'SetCharacterView' with 'Character.LockView'

EnginePluginRun-timeAPI.md:4914:#### IAGSEngine.IsChannelPlaying
Replace 'IsChannelPlaying' with 'AudioChannel.IsPlaying'

EnginePluginRun-timeAPI.md:4916:int IsChannelPlaying (int channel);
Replace 'IsChannelPlaying' with 'AudioChannel.IsPlaying'

EnginePluginRun-timeAPI.md:4942:**NOTE:** You should normally just use the PlaySound, PlaySoundEx and PlayMusic functions (via GetScriptFunctionAddress) to play sounds - only use this function in specific circumstances.
Replace 'PlayMusic' with 'AudioClip.Play'

EnginePluginRun-timeAPI.md:4942:**NOTE:** You should normally just use the PlaySound, PlaySoundEx and PlayMusic functions (via GetScriptFunctionAddress) to play sounds - only use this function in specific circumstances.
Replace 'PlaySound' with 'AudioClip.Play'

EnginePluginRun-timeAPI.md:4942:**NOTE:** You should normally just use the PlaySound, PlaySoundEx and PlayMusic functions (via GetScriptFunctionAddress) to play sounds - only use this function in specific circumstances.
Replace 'PlaySoundEx' with 'AudioClip.Play'

EnginePluginRun-timeAPI.md:4966:**IMPORTANT:** The returned struct is read-only. You should not modify any members of it directly; rather, call the script functions such as `ChangeCursorGraphic` which ensure that the game state is updated properly.
Replace 'ChangeCursorGraphic' with 'Mouse.ChangeModeGraphic'

EnginePluginRun-timeAPI.md:5254:#### IAGSEngine.SetMousePosition
Replace 'SetMousePosition' with 'Mouse.SetPosition'

EnginePluginRun-timeAPI.md:5256:void SetMousePosition(int x, int y);
Replace 'SetMousePosition' with 'Mouse.SetPosition'

Gamevariables.md:6445:game.close_mouth_end_speech_time | At the end of speech text, the speech animation will stop for this number of game loops. Default 10. No affect in voice mode.
Replace 'game.close_mouth_end_speech_time' with 'Speech.AnimationStopTimeMargin'

Gamevariables.md:6469:game.skip_speech_specific_key | Default 0. You can set it to a keycode, in which case only that key can skip speech text.
Replace 'game.skip_speech_specific_key' with 'Speech.SkipKey'

Gamevariables.md:6471:game.speech_text_align | Sets how text in LucasArts-style speech is aligned. Same possible values as game.text_align, default eAlignCentre
Replace 'game.speech_text_align' with 'Speech.TextAlignment'

ScriptingTutorialPart1.md:9076:*AddInventory* in the manual, you'll find it takes two parameters, an
Replace 'AddInventory' with 'Character.AddInventory'

TextParser.md:11956:could just use the InputBox command (but it has quite a short line
Replace 'InputBox' with 'Game.InputBox'

That looks interesting; thank you!


change behavior of recover_key to better support variable length keys

Change Description
#7421 introduced support for WebAuthN keys in the recover_keys intrinsic.  As both keys and signatures for WebAuthN are not fixed length actually using this intrinsic was difficult owing to the semantics where:

passing too small of an output buffer would assert, failing the transaction
there was no input that would return the required output size without risking assertion

This change attempts to modify the semantics in a way that is most backwards compatible with the existing semantics.
For the K1 and R1 suites the semantics are the same.
For WebAuthN, the semantics are:

output buffer sizes from [0..33) will assert (maintaining old semantics where those values would always assert)
output buffer sizes from [33..+inf) will write as much of the recovered key data as will fit in the output buffer and return the total available key data size as the return value.

This allows contract developers to have a reasonable buffer size for a single-call use case and fall back to allocating a larger, correctly sized, buffer if and only if that fails.
Outstanding work

[x] ~Unit tests for the behavior which depends on EOSIO.CDT integration of the variable length key/signature types.~ turns out this was implementable without requiring CDT changes.

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

I ended up re-enabling and fixing the rest of the api tests for the crypto api.  Mostly this reverted it back to a pre eosiolib-wrapper form which I think is more appropriate for testing the intrinsic ABI as it removes obfuscating elements.


Will this work on google container engine kubernetes?

On EKS I can just use roles but if Im on GKE I cant to that
Can I use the default AWS environment variables to set the secret access key and id so I can create an IAM user my gke clusters can use to get access to secrets manager?

Yep, that sounds like it should work, but I haven't heard of anyone trying that yet.  If you try it out and it works let us know or send us a PR to update the README.md.

@red8888  Are you able to use this process for GKE?

haven't tested yet but will soon. I mean its a pretty quick test, just set the AWS key and secret key env vars. you could probably just pull the container and run locally to test this I suspect
It looks like this is intended to run on EKS with AWS roles which means they are probably instantiating the clients without specifying creds/roles. If thats the case then this should totally work- all the AWS APIs look for those creds by default

Tried this but does not appear to be working I am seeing this int he logs:
"failure while polling the secrets {}"
Im not seeing what the actual error is beyond that message
I confirmed these env vars are set in the pod and the creds have access to get my secrets:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

ok @silasbw I just cloned this repo and to add some additional logging messages and pushed the image to gcr to test
when deploying with that image Its totally working now- I made no code changes other than adding some log messages
Was this fixed and there is a new release waiting to be cut or something? before I was running the latest image (godaddy/kubernetes-external-secrets:latest)

OK! im dumb your "latest" tag is 4 months old. I pulled the actual latest tag "1.3.0" and now its working yay!
Can I send a PR or could someone just up the chart with support for env vars from secrets? I wouldn't hard code params for aws keys it could easily be more dynamic and just support hydrating env vars from any k8s secret
I have been doing this in my charts which works really well for me:
values.yaml:
  # define env vars to be created from existing k8s secrets
  envVarsFromSecret:
    AWS_ACCESS_KEY_ID:
      secretKeyRef: aws-credentials
      key: id
    AWS_SECRET_ACCESS_KEY:
      secretKeyRef: aws-credentials
      key: key

Then in the deployment:
    .......
    spec:
      serviceAccountName: {{ template "kubernetes-external-secrets.fullname" . }}
      containers:
        - name: {{ .Chart.Name }}
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
          imagePullPolicy: {{ .Values.image.pullPolicy }}
          resources:
            {{- toYaml .Values.resources | nindent 12 }}
          env:
          {{- range $name, $value := .Values.env }}
          {{- if not (empty $value) }}
          - name: {{ $name | quote }}
            value: {{ $value | quote }}
          {{- end }}
          {{- end }}
          # For all env vars defined in envVarsFromSecret
          {{- range $key, $value := .Values.envVarsFromSecret }}
          - name: {{ $key }}
            valueFrom:
              secretKeyRef:
                name: {{ $value.secretKeyRef | quote }}
                key: {{ $value.key | quote }}
          {{- end }}
          .....

@red8888 , thanks for figuring this out!  I'll add updating :latest to the deploy script.
We'd appreciate a PR for the changes you mention above :)

Didn't mean to close.


[Stats] Improvements to stats coverage

Improve stats collection in following areas:

Fix an assertion failure when using stats on swift PCM generation job
Allow stats reporter to be initialized earlier without source manager so the coverage can start earlier to cover the compiler setup.
Extend some tracer into new areas like compiler instance setup and CAS output backend store.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Sample react multipage ga

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

What's in this Pull Request?
The React Multiple demo was built to code drop 4 and has been now upgraded to match SPFx GA.

@eoverfield,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Eric, appreciated. I'll double check that things are all ok and get this processed soon.

thx Eric, appreciated.


Deaths in Pennsylvania seem to have been updated with tested (?) counts.

This seems to have happened for several (maybe all?) counties in Pennsylvania. Also pasted below in case image doesn't work:
2020-05-15:Object
cases:50
deaths:1
tested:3036
growthFactor:1
2020-05-16:Object
cases:50
deaths:1
tested:3040
growthFactor:1
2020-05-17:Object
cases:50
deaths:1
tested:3060
growthFactor:1
2020-05-18:Object
cases:50
deaths:3015
tested:3065
growthFactor:1
state:"Pennsylvania"
country:"United States"
aggregate:"county"
sources:Array[1]
url:"https://www.health.pa.gov/topics/disease/coronavirus/Pages/Cases.aspx"
county:"Montour County"

Another example:

The deaths data is on a different page:
https://www.health.pa.gov/topics/disease/coronavirus/Pages/Death-Data.aspx
Than the cases data:
https://www.health.pa.gov/topics/disease/coronavirus/Pages/Cases.aspx

+1 seeing this issue too

Pep, the PA scraper code isn't nearly careful enough:
https://github.com/covidatlas/coronadatascraper/blob/master/src/shared/scrapers/US/PA/index.js#L279
It's assuming that the page structure doesn't change, which is no good.  Thanks for the issue, @roboton and @edwlook .

It appears that this just started happening today:

date
deaths

'2020-05-17'
4403

'-18'
4418

'-19'
277553

So that's nice, less lag in getting the fix in.  Should be quick, I'll add that now.

Thanks again @roboton , I've merged a fix in for this.  Please LMK if this resolves the issue.  Cheers! jz

(whoops closed by accident)

Hm should it be updated on the main site? I still see really large death
counts from Pennsylvania at this url:
https://coronadatascraper.com/#timeseries-byLocation.json
[image: image.png]
https://coronadatascraper.com/#timeseries-byLocation.json
Just wanted to say how awesome CDS is and grateful for what you all are
doing.
On Tue, May 19, 2020 at 4:09 PM JZ<EMAIL_ADDRESS>wrote:

(whoops closed by accident)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/covidatlas/coronadatascraper/issues/1014#issuecomment-631134309,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOLJSYDMPWCLEPIZDMS7STRSMGSRANCNFSM4NFHPCMA
.

Right, I see a correction for the last run for the last date, but not the prior date.  Here's from that URL, for Northampton again:

I just have to adjust the fix to be back one more day, and then we should be good.  I hope!  Fixing now, it should be resolved tomorrow.

(undo github auto-close)  Cheers and thanks for following up!

Looks good! Thanks for fixing @jzohrab


Add Support for Unit Tests

The existence of unit test can harden the quality of the driver, and can later be used in a CI environment to boost development and testing.

Let's first set it up as a building CI only. In the future, the following may be added as steps during CI:

Unit tests running
Static checking

Not that easy: GitHub Actions provides VMs from Microsoft Azure, among which ubuntu-18.04 is the newest, but still the components are old, so we need to compile them first. Worse, problems raises from time to time, so I'd postpone this plan.

As I will present the FYP on Oct. 30, I am now freezing the functionality of this project. This issue is moved out of the "FYPI Year 4 Semester 1" milestone.


[BUG] BurpCommunity Edition does not support scan

You mention in your documentation that Burp prerequisite is, I quote:
"Burp Suite Professional or Community Edition: Version 2023.3.2 or later".
I am running Burp Suite Community Edition 2023.3.5. on Kali Linux.
After installing and configuring the plugin I cannot see its results/report as scan option is disabled in community edition.
Did I miss something?
Thanks.

You need to run passive scans which I believe are enabled even on the Community version.

I must unfortunately disagree - scanner is disabled for Community edition altogether. Would be more than happy if you can prove me wrong.

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
azhu003, @klasdfji, @mikeyhodl, @NarHakobyan, @thekilladro, @AbKathiriya, @tajpouria, @buddh0, @microfisher, @destomanu, @remanswaty, @tassadar2002, @subinium, @7jrxt42BxFZo4iAnN4CX, @0xdaocore, @dhkoo, @GausPeerzade, @china-zhangdj, @Karan9034, @ctrl-alt-lulz


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/186 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 4cda711:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-10-14-06-17-43 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-10-14-06-17-43

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.


hotfix 2.1.1

hotfix 2.1.1

:tada: This PR is included in version 2.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


What change history tells us about thread synchronization

http://dl.acm.org/ft_gateway.cfm?id=2786815&ftid=1615552&dwn=1&CFID=725641379&CFTOKEN=87982003

The paper used 4 datasets
1- SVN for Apache (hosted at official Apache Site )
2- SVN for MPlayer (hosted at mplayerhq.hu)
3- Mercurial for Mozilla (hosted at official Mozilla site)
4- Bazaar for MySQL (hosted at official MySQL Site)
In total the data-set used had 250,000 revisions all together.


Bower

It seems your jquery dropdown is not in bower. There is a jquery-dropdown but it was created by https://github.com/claviska/jquery-dropdown/.
Could you add it please?

Now added as dane-jquery-dropdown


Github-hosted content results in error: "Can't download the hosts file. It contains unknown content."

Hi @StevenBlack,
I've tried to add multiple raw hosts files, directly from Github, and not one has allowed me to download the hosts file. I'd really love to add several of the "Raw hosts" from https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant to my combined local hosts file.
I'm able to see the content of these hosts files directly in my browser without a problem.
I'm using the latest version of Gas Mask v0.8.6 on Mac OS X Mojave v10.14.6 (18G103).
Thank you for your help!

Hi Rick @PickJBennett how are you attempting downloading these?  Using what url — can you provide a URL that isn’t working for you?  What is the OS you are using for this?

Hi @StevenBlack,
It's easier to say which ones are working because there are fewer. I've been able to download a total of 7 inside the app, but almost all others have resulted in this error. I'm adding links like this: + Create button > Remote > Paste URL > Add button
These next links are the ones that have downloaded correctly:

https://www.malwaredomainlist.com/hostslist/hosts.txt
http://sbc.io/hosts/alternates/gambling/hosts
http://sbc.io/hosts/alternates/social/hosts
http://sbc.io/hosts/alternates/fakenews/hosts
https://winhelp2002.mvps.org/hosts.txt
http://sbc.io/hosts/hosts

As for the ones that failed in the app, I've tested these (and other domains) that render perfectly in the browser:

https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts
https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts
https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts
https://someonewhocares.org/hosts/zero/hosts
https://urlhaus.abuse.ch/downloads/hostfile/
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=<IP_ADDRESS>

Downloading these files manually, then adding them as local hosts files works fine. But I'd love to be able to auto-update the hosts files. :)

This is a “feature” in GasMask, no doubt.  Hostman for Windows has a similar issue.
Try downloading from the mirror links instead.
Closing.


Looking for clarifications on ResponseWallet object

Wondering if you had particular reasons to have the ResponseWallet being the return type for the createWallet method.
It's not obvious to me that creating a wallet using something like the createWallet method should return an object with the balance and an address. Was there a particular reason for it to not return something like just an acknowledgement that the wallet was created without error?
Some of my questions immediately were things like "wait what type of address is this? New or LastIndex? I don't need an address right now, so is that address burned now and my next call to get_address will generate a new one? What happens if my device doesn't have internet connection at the wallet creation step? (it should be able to create the wallet even though it cannot sync, but at the moment the two are happening in the same step).

It could be more useful for createWallet to return an id which can then be used in sync and other wallet functions to support multiple wallets - as suggested in #27.


More automation (Travis), including sanity checking

As per comments on c968c74, we need to set up a Travis instance with sanity checks to enforce the agreed upon conventions.

I got a basic build running to generate HTML docs just like for the stdlib,
unfortunately the library requires too much memory for the machines travis has.
Trying to build against master now to see whether compact regions will help.
Worried about #91

Thanks a lot for working on this, the help is most appreciated.


feat(terrain): add TerrainManager

This PR introduces TerrainManager to manage the terrain meshes defined by map chunks in area data (.adt) files. Loaded terrain meshes are kept in an in-memory cache a la the other types of managers found in @wowserhq/scene.

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

Comparison is base (dbc7b18) 25.78% compared to head (a75eba2) 21.46%.

Files
Patch %
Lines

src/lib/terrain/worker/geometry.ts
0.00%
68 Missing and 3 partials :warning:

src/lib/terrain/TerrainManager.ts
0.00%
34 Missing and 2 partials :warning:

src/lib/terrain/material.ts
0.00%
15 Missing and 2 partials :warning:

src/lib/terrain/TerrainMaterial.ts
0.00%
8 Missing :warning:

src/lib/terrain/worker/material.ts
0.00%
7 Missing :warning:

src/lib/terrain/TerrainMesh.ts
0.00%
6 Missing :warning:

src/lib/terrain/geometry.ts
0.00%
4 Missing :warning:

src/lib/terrain/shaders.ts
0.00%
2 Missing :warning:

src/lib/terrain/worker.ts
0.00%
1 Missing :warning:

src/lib/terrain/worker/context.ts
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   25.78%   21.46%   -4.33%
==========================================
  Files          10       20      +10
  Lines         760      913     +153
  Branches      182      189       +7
==========================================
  Hits          196      196
- Misses        475      621     +146
- Partials       89       96       +7

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


Re: 'Individual Income'

Problem with 'Individual Income' (https://www.api.gov.uk/hmrc/individual-income/)
documentation not found.

Thanks for reporting this. I think this is the correct page:
https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/individual-income/1.2
I'm just getting confirmation of that and will update the entry when the correct URL is confirmed.

Link updated


Use Express middleware for JWT authentication to reduce code duplication

Many routes begin with the following set of code that verifies the JWT token or sends an error:
if (!req.headers["authorization"]) return res.status(401).send({ error: types.ErrorTypes.NULL_TOKEN })
    const [scheme, token] = req.headers.authorization.split(" ")
    try {
        const decoded = jwt.verify(token, process.env.JWT_SECRET, { complete: true })
...

By using some authentication middleware that runs before authentication-protected routes, the above authentication code does not have to be repeated.

oh I never know we can do something like that. Gonna implement it.

Implemented middleware in latest commit.


[ENGAGE-897] Support otel traceparent propagation header in http client and server

Should we fully wire in otel support?
I made a start...
https://github.com/circleci/distributor/pull/1152
the ENGAGE-897 ticket mentions opencensus - was/is that now part of otel ?


@changeState feature proposal

this feature could improve alot the java performance for many projects.
synchronzed keyword in java is essentially a exclusive lock so every time multiple threads are entering ,all threads except one will be blocked. The block generate a switch context in OS that comsumes a lot of time. A better solution would be replace exclusive lock with read-write lock.
Normally developers use synchronized because it is easy to use and normally in the code there are many read accesses and few write accesses.
Using instrumentation is possible read byte code synchnization blocks , understand if the object synchonized inside the block is read or written and replace monitorenter,monitorexit with a rw lock.
Essentially for understanding if the lock is read or write you can  check is there is no assignment inside to synchronized object.
This feature can be used non only for emproving performance but also for making working Fibers in legacy code or in the tons of projects containing synchonized keyword. In fact fibers can t work using standard synchonized block because you have to use RW lock developed by quasar not blocking the thread but just fiber(the cost to switch a fiber is about 100 instruction , instead thread is many thousands of instructions)
Theoretically it is possible to check recursivelly if inside a block there is a assigment to a object  but if it is too much difficult or slow you can do a simplier method:

direct assigment
reference calling method starting with set
method having annotation @changeState
will be considered write locks

Can you provide an example showing the difference between synchronized methods and your improved version with some usecase?
I think that you may even give your feedback to oracle so they can improve the jvm on your use cases or at least they can tell you why it would break.

@publicocean0 I'm afraid, this is much too hacky. Moreover, the read-write lock has a rather big overhead, so it's inefficient for low contention. At the same time, monitor-enter-exit gets heavily optimized. You're surely right that the context switch is very costly, but you don't know upfront, if it happens often enough. You surely shouldn't replace monitors with rw-locks blindly as the gain/loss depends on usage.
A half-baked analysis of what gets done inside a block is looking for troubles. Lombok can't access other classes, so you must give up on any method call on anything but this. I'm afraid, this has to be done manually or by some static analysis tool.
I can imagine annotations like @ReplaceSynchronizedByReadLock and @ReplaceSynchronizedByWriteLock, but if you'd have to insert it into a legacy class, you can rewrite it instead (it's more verbose, but I'm afraid, you need to think hard about any change).

There are man kind of of Locks and mutexes. synchronized is a generic good solution but if for example you have few writes and many read in block , there are lock better fits this needs. In addition now there is the problem with fibers. The fibers cant use synchronized blocks, you have to replace all of them with special locks not locking really the thread. So the uses of this feature could be multiple. If you use a jar you can modify the code manually , but using instrumentation you can do.


Release 2.1.1

Questions
Answers

Description?
Release 2.1.1

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
N/A

How to test?
Release Test

Hi @Progi1984,
It is ok :heavy_check_mark:
I checked with develop branch
The deprecated exception is no longer displayed in the FO > Order confirmation page
https://watch.screencastify.com/v/JcJj7kEwEUtUyAsPiMVV
I checked with PS1782 => ok

I tried to make orders from FO with different types of products & different currencies
I checked mails
I tried to create an order from BO
I tried to configure the module & check each field
I tried to make these actions: disable module / enable module / reset module / uninstall module / uninstall with remove / disable on mobile / disable module

I just found this regression on develop branch: https://github.com/PrestaShop/PrestaShop/issues/27118 not related to this release
Thanks!

Thanks @khouloudbelguith


Barcode validation

There is a list of allowed data and barcode sizes in the epson documentation. We should be validating data length and content.
A short term solution would be to set up regexes similar to escpos-php here, but in the future we might want to see if there is an external barcode library to validate checksums.

So far I have found https://pypi.python.org/pypi/pyBarcode/0.7
This is, however, a library for image generation. (We could use it in order to generate barcodes on models that do not support barcode-printing)

Should python-escpos venture beyond the escpos protocol? I think it's better to focus.
There are lots of libraries that can create barcodes. We should leave that up to the user.
As long as we can print, position and handle PIL objects I think we are good.
We should definitely do character set and length checking.
I have a barcode scanner handy here and most of the barcodes scanned fine.
I think the printer is doing checksum for us?
Ill try and decode some manually and check

Okay after quick review of UPC-A
escpos spec says you can supply 11 or 12 character data.
UPC-A spec requires 12 digits.
if 11 digits my printer calculates the check digit.
if 12 digits my printer prints the supplied 12th character check digit.
this is the best of both worlds I'd say.
a very quick look at code 128 with both my smartphone and usb scanner seems to indicate the checksum is calculated
Considering all the barcodes in my test scanned I would say the printer is supposed to handle the checksum for us.
So my conclusion is if a user wants to supply their own checksum they simply pass it, otherwise it is calculated by the printer.
That said, maybe non-epson stuff doesnt work this way?
Regardless we shouldn't write escpos to a specific printer but keep it generic.
If a user's printer does not support checkdigit calculation than they will need to do it in their own code.
Perhaps you guys can check your printers to observe their behavior.
I used
e.text("UPC-A\n")
e.barcode('13243546576','UPC-A',function_type="A")
e.text("UPC-A\n")
e.barcode('132435465767','UPC-A',function_type="A")
the first should scan. (check digit printed is 2)
The second should not (check digit 7 is invalid)
regex on character set and length should be sufficient I'd say.

I'll test it out when I get to my printer. My main worry was passing invalid barcode data and having the printer output text instead of a barcode. It looks like regex will cover most or all of that.

@Loafdude you are probably right, we should stay rather tight with our features. At least as long as there are still problems like cases in which image-printing does not work.
I tried the code and can confirm: the first UPC-A scans correctly and the second one does not.

Basically echoing the above- The regexes used to validate barcode data in escpos-php don't mind whether the checksums are valid, they were just added to avoid the creation of invalid ESC/POS.
I think that a well-behaved driver should avoid sending things that the device is not likely to understand. This is also useful for debugging (eg. in mike42/escpos-php#113, an exception was thrown when the CODE128 encoding was not included).
Some more info about barcodes that I've got from the PHP driver-

The open source Android app zxing/zxing is excellent for verifying printed barcodes.
This example (PHP, binary ESC/POS blob) prints a receipt containing a variety of barcode types.
I'm planning to write feature requests up for escpos-php shortly to add-
a wrapping function for each of the nine types of barcode, accepting the data as one paramater, and any type-specific options as the other parameters, so that the driver does not expose how the barcode data is represented in ESC/POS.
image-based fallback for printers that can't handle barcodes themselves.

Exploring the viivakoodi code I have found a check_code function that is called upon every code creation (code39, code128...) and that can check the passed characters are correct. See https://github.com/kxepal/viivakoodi/blob/b8a1f90242d87e8c72f0200747763b7c79ccbab0/barcode/codex.py#L20
We may want to construct viivakoodi barcodes even before hardware barcode sending for verifications purpose by using the viivakoodi validation knowledge. If the code is incorrect we can catch the exception, and if the code is correct then constructor ends fine and we can continue hardware printing of the code.

Hello there. Since #255 got merged, may we close this issue? Good work on the PR btw!

As far as I see it, yes. Thanks for the notification.
If anyone thinks differently, as always, please comment :-)


Browser hangs / disconnects when running testcafe tests  on docker

Are you requesting a feature or reporting a bug?
Reporting a bug
What is the current behavior?
Testcafe crashes/disconnects to browser when clicking a link that loads or opens another page.
Or when the page is loading a list of elements.
ERROR The HeadlessChrome 63.0.3239 / Linux 0.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
What is the expected behavior?
Continue test on that page
How would you reproduce the current behavior (if this is a bug)?

create a trial account (pm me for details)
Run a testcafe test on docker image using chromium.
Test the Trial Period header link on top right and it will load a page where you will be directed with a plans page.
Test page (normally the error on disconnect browser occurs after page is loaded)

Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code

Specify your

operating system:  MAC OS X 10.13.3
testcafe version: 0.18.7-dev20180206
node.js version: 5.6.0

I recently upgraded the chromium version to Chrome 64.0.3282 and error still occurs

Is there like a setting or debugger mode for testcafe that has additional logs that I can check after running to help me investigate this issue?

I have the same issue when running on local Windows machine with Chrome 64.0.3282 on the TestCafe 0.19.0

Any update on this? I really am quite lost, I switch to other browsers but apparently, our platform doesnt fully support firefox or safari.. so I need to do tests on chrome.
Additional Info: This issue doesnt happen on firefox BUT one test suite fails around 90% of the total tests due to our support issue with firefox

We're also facing this issue intermittently on our CI machines. We're running Chrome beta.

2018-03-08T22:20:46.8490380Z Error: The HeadlessChrome 0.0.0 / Mac OS X 10.13.2 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
2018-03-08T22:20:46.8523930Z     at Timeout.<anonymous> (/Users/agent/2.129.1/work/1/s/node_modules/testcafe/lib/browser/connection/index.js:225:34)
2018-03-08T22:20:46.8551560Z     at ontimeout (timers.js:386:11)
2018-03-08T22:20:46.8579960Z     at tryOnTimeout (timers.js:250:5)
2018-03-08T22:20:46.8606310Z     at Timer.listOnTimeout (timers.js:214:5)

The same thing is happening to me using Firefox. Is this something just recently started happening? I just started looking into using TestCafe.

The issue does not relate with docker or headless chrome.
It is the duplicate of the Add ability to perform testing in multiple browser windows issue.
TestCafe opens browser windows created with window.open function call in the same window.
I've created a test with steps from issue description and run it using TestCafe.
The test opens the 'Login via Facebook' page in the same window instead of secondary browser window.
Respectively, 'Login via Facebook' window will not closed (see video).
To 'Login via Facebook' try to use workaround from https://github.com/DevExpress/testcafe-hammerhead/issues/1428
@AhnpGit @leojh @ameyagholkar
Note that the error browser <browser-name> disconnected. ... can occur due to a variety of reasons.
It is necessary to investigate each case separately.

@miherlosev what can you recommend to troubleshoot the browser <browser-name> disconnected. ... issue?

I closed this issue because it is a duplicate.
@AhnpGit @ameyagholkar create separate issues and add for them more details about you environment.

Our test suite does not include multiple window test cases, but we also get browser disconnected errors running in Docker.
ERROR The HeadlessChrome 0.0.0 / Linux 0.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.

@miherlosev what can you recommend to troubleshoot the browser  disconnected. ... issue?

The question about debugging still stands. What are the ways to debug this? cc @miherlosev

@operatino
Since that error occurred randomly, it indicates that it is not a docker related problem.
In the current development sprint, we have planned to implement video recording of test running. This feature should help you find the reason of the problem. We can publish an early dev release with the video recording feature.
Track https://github.com/DevExpress/testcafe/issues/2151 to be notified about our progress.

Using @andrzej-kodify's video recorder plugin I was able to capture a screenshot, but it's just a white page. Note that it consistently halts after printing the first test name, stating:

ERROR The HeadlessChrome 71.0.3554 / Linux 0.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
Type "testcafe -h" for help.

It does not occur randomly.
Note: You can quickly set up a free test environment on https://buddy.works if you want to test out docker headless chrome issues.

@aphofstede, this problem can be specific to the site and the Docker container. Could you please provide the Dockerfile for the container that runs problematic tests?

I received a similar error after adding a .maximizeWindow() call to the test. Removing that was the only way to fix it in my case.

@meraj-ahmed looks like that really helped our pipeline to become stable. So instead of using testcafe call, we just start chrome with command line params setting up the resolution

I am still experience this issue, can anyone provided the solution for this issue ?

@neilmatillano
Try to specify the --no-sandbox flag for Chromium browser.
docker run -v //d/tests:/tests -it testcafe/testcafe 'chromium --no-sandbox,firefox' /tests/**/*.js

@miherlosev I've been hitting my head against this issue as well and finally came across this thread.  If I try only 'chromium --no-sandbox' it will hang with no timeout message, only after trying Firefox do I get any kind of message.
Aside from debug();, is there anything I can do to determine if it's an issue with TestCafe or the page I'm testing?

Hi @mfestrada

If tests hang with the --no-sandbox flag, it means there is a problem with TestCafe.
Please try to create a simple example to reproduce this problem so that I can run it on my machine.
I will lock this issue because other comments are not connected with the original problem.

@neilmatillano @ameyagholkar and others
If the problem still persists, try to do the followings:

update to the latest TestCafe version<EMAIL_ADDRESS>specify the --no-sandbox and --shm-size flags (see the Using TestCafe Docker Image help topic)

If it does not help you, please create separate tickets for each problem and provide all the necessary information.


Migrate value metric type e2e test to Go.

Signed-off-by: Vighnesh Shenoy<EMAIL_ADDRESS>Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Tests have been added

Fixes #2737
Fixes #3435

/run-e2e

❤❤❤❤❤


Vote part 7

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
#604 #607
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Only UI work.
🙈 Screenshots
Note: the gift says mins insted sec, but it has already been corrected.

👯♀ Paired with
"nobody"

@gguij004  help me review this PR

Seeds Seeds

fixed

A little of overflow on small device

Could you give me a hand here Idk how to manage this small overflow, at least i reduce the font style or spaces not idea.

Same of small device.

fixed

Same of small device.

Test it again pls

A little of overflow on small device

Could you give me a hand here Idk how to manage this small overflow, at least i reduce the font style or spaces not idea.

Yes I got you, I will look into it on another branch

Same of small device.

Test it again pls

is good. Small suggestion, I think is best if more height is added to the images, they have too much width compare to the hight. Maybe make the card bigger.


ndd开源组织.Notepad-- version 1.22.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


Convert CSS syntax to style objects

It would be awesome if we could write our styles like you can do it with react-style-syntax, e.g. https://github.com/js-next/react-style/blob/master/examples/0.13/syntax/Button.js
which allows 1:1 copying of css to radium and vice-versa. A killer feature!

For simple blocks of style without pseudo-classes and media queries this is fairly simple. It does give the impression, however, that the written CSS will actually map to classes, which of course it will not with Radium.
I think a feature like this does not belong in Radium core, but would be a good candidate for a separate addon package.

Hello.
You might be interested in the module I wrote yesterday
https://github.com/halt-hammerzeit/react-styling
It transplies CSS-alike to JSON objects.
If you have any suggestions I'm open to conversations.

I can rewrite my module for seamless integration with Radium if you would be interested in it.
You'll get nice syntax and extra flexibiliy and I get extra pageviews)

We may just recommend react-styling to use in addition to Radium. Feel free to submit a PR for the FAQ if you like! (e.g. "Can I write my styles using CSS syntax instead?")

@ianobermiller Oh, that would be nice, thanks, I'll pull something today

@ianobermiller pull request created

Closing this for now, since react-styling can be used.


tsconfig.json shows an error after files are renamed

Type: Bug

Create a project that uses Node.js and TypeScript in WSL2 running Ubuntu
Create use a tsconfig.json file that has an include field like this

{
  "compileOnSave": true,
  "compilerOptions": {
    "target": "ES2015",
    "module": "commonjs",
    "sourceMap": true,
    "lib": ["es6", "DOM"],
    "esModuleInterop": true,
    "strictNullChecks": true
  },
  "include": ["src/**/*.ts"],
  "exclude": []
}

Open the project in Visual Studio Code via code .
Add some .ts files in the src folder
Rename a ts file

Observe that tsconfig.json now shows an error along the lines of
File '/path/to/src/file1.ts' not found.
  The file is in the program because:
    Matched by include pattern 'src/**/*.ts' in '/path/to/tsconfig.json'

VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
AMD Ryzen 5 5600G with Radeon Graphics (12 x 3892)

Memory (System)
7.71GB (5.93GB free)

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.81.8

vscode-eslint
dba
2.4.2

copilot
Git
1.145.0

copilot-chat
Git
0.11.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vshan820:30294714
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
azure-dev_surveyone:30548225
f6dab269:30613381
vscrpc:30673769
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2cf:30928864
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
cp7184t3:30927821

If it helps here is a screenshot of what the bug looks like after I created a minimal project as described above and renamed the file myfile.ts to myfile1.ts
No errors in Developer Tools

Still happens if all extensions (other than the one for WSL) are disabled

For ease of reproducing this I created this repo: https://github.com/Ivan-Kouznetsov/rename-bug


Adding x86 artifact + artifact cleanup

retain last 4 artifacts - 2x 64-bit+2x 32-bit
increase artifact retention to 60 days
cleanup at 1AM GMT every day
cleanup will be automatically stopped by GitHub if no activity in repo for 60 days

@mschweiger do you know of any reasons why this shouldn't be merged? Or should I go ahead and merge it?

These changes seem fine, so I'm merging them since this PR has been open for 12 days. @mschweiger please let us know if you'd like any additional changes.


Increase and enforce GitHub API release fetching quotas

Describe the bug
I don't see a changelog after clicking on a legacy style URL to Octoclairvoyant.
Give the steps to reproduce

Click on this link https://octoclairvoyant.vercel.app/comparator?repo=renovatebot%2Frenovate&to=24.22.3&from=23.95.0
No changelog

What browsers are you seeing the problem on?
Bug is not about browser
Have you thought of a possible solution?
No
If you have thought of a solution, please tell us about it!
No response
Do you want to help fix the bug?
No
Is there anything else we need to know?
Maybe the version range is too big, and Octoclairvoyant craches or exceeds some GitHub API limit?
Or old style link not properly converted to new comparator slug?
I got the link from @Belco90 themselves, so I assume the link was good at the time it was posted. 😉
Source of link: https://github.com/renovatebot/renovate/issues/8177#issuecomment-762352681

This is an interesting bug, let me explain what's happening.
Since most of the repos I tend to check when I built the web app had just a bunch of releases, I'm doing max of 10 requests, with 100 releases per request, which gives us a total of 1,000 releases. You can see the code for this behavior here: https://github.com/octoclairvoyant/octoclairvoyant-webapp/blob/main/src/queries/release.tsx
However, Renobate bot has thousands of releases! So basically what's happening is that the desired From release is out of the first 1,000 releases at this point. You can see this by scrolling to the very bottom of the releases select:

So we need to update the login within that query so it keeps asking for more releases if after those 10 iterations both of them are not available yet.

Thanks you for the explanation. So the problem is with the GitHub requests limit, not with the URL. 😄
What if users spam our site with queries like from v1.0.0 to 31.84.1 in order to fetch 5000+ releases, plus heavy computation load to cobble it all together? At some point we should ask our users to use their own GitHub API quota instead of ours. 😉
We should test that:

The bug is fixed
We enforce reasonable API limits for "free queries"
Show modal once user reaches limits, or does one very large query

What do you think?

I'm working on fixing this issue, and I discovered something else:
If you didn't authorize GitHub (i.e. unauth user) then GitHub doesn't allow us to fetch more than 1k releases. I got the issue fixed, but I'm getting this error when trying to fetch page 11: HTTP 422 "Only the first 1000 results are available.". We will have to show a new error for this specific case.
For auth users is working fine, but it needs to fetch more than 50 pages in order to show the changelog for the case mentioned in this issue!

If you didn't authorize GitHub (i.e. unauth user) then GitHub doesn't allow us to fetch more than 1k releases. I got the issue fixed, but I'm getting this error when trying to fetch page 11: HTTP 422 "Only the first 1000 results are available.". We will have to show a new error for this specific case.

Do you want a new issue to track the new error, or will you fix this in PR #767 as well?

I'll try to address it here, at least with some temporary notification, then we can create a different issue to handle errors properly (together with the login modal). What do you think?

Sounds good to me! We should show the error to the user, we can make it look pretty later. 😉


Raylib 5.0

Are there any plans to update to Raylib 5.0?

I'll be looking into upgrading soonish, life has kept me quite busy but hopefully over the holidays I'll get some time to sink into Taylor development, still looking to get v1.0.0 out by next April.


initFirebase vs initializeFirebase

initFirebase() is mentioned on the Readme page example but the code has initializeFirebase() and no initFirebase().

You are right, this was a mistake in the README
Removed the reference to initFirebase().


In the case of Chinese, display questions on a weekly basis

Upon reviewing the code, it becomes apparent that the week was intercepted and there is an issue with the Chinese display.
file url: src/components/week/WeekTimeline.vue

        {{ day.dayName.substring(0, 2).toUpperCase() }}

Other languages should not be intercepted
{{ day.dayName.substring(0, 2).toUpperCase() }}


Does Not Work.

My issue is that it does not work... at all.

There is nothing in the status bar indicating progress when the solution loads. No indication of anything happening when using Tools -> Scan all Projects for CSS Classes as suggested.
Yes, this extension is enabled.
VS 2022 (v17.9.6), .NET 8 blazor wasm project, .razor file tested.

Same to me. I have all up-to-date.

I have the same problem. It used to work for a bit, but now suddenly it seems to have stopped.  If I look at the output from Extensions in VS, the following appears when I execute the "Scan all Projects for CSS Classes":
System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteGenericProject.GetFileName()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at HtmlCssClassCompletion22.ElementCatalog.<>c__DisplayClass11_0.<<GetProjectPathsWithReferencesAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at HtmlCssClassCompletion22.ElementCatalog.<GetProjectPathsWithReferencesAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at HtmlCssClassCompletion22.ElementCatalog.<RefreshClassesAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at HtmlCssClassCompletion22.RefreshCssClassesCommand.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Community.VisualStudio.Toolkit.BaseCommand.<>c__DisplayClass8_0.<<Execute>b__0>d.MoveNext()

I have problem, the extension seems not to work. I am using visual studio 17.12.3 to develop a Blazor NET 8 project that uses the MudBlazoe library version 7.15. It is shown by the "intelli-sense" exclusively the css classes that visual studio finds


Fix InferenceAPI on image task

Related to slack discussion (internal link).

text-to-image now works by returning a Pillow image (if PIL is installed, otherwise you get an ImportError).
if content type is application/json or image/jpeg => we parse the output. Otherwise raise NotImplementedError. This is in particular the case for text-to-speech tasks.
the InferenceAPI has now a kwarg raw_response: bool = False. If True, we return the full Response object to the user. At least this way if we don't handle a task yet, the user can build its own parser (typically for audio).
adapted/fixed some stuff (now sending user agent in request for example)
=> added 2 examples in the doc and some tests

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thanks for the review @osanseviero ! I've added the docstring and will now merge :)


Add namecheap provider

Adds libdns provider for namecheap.

LGTM, thank you very much for contributing! I'll make repos in libdns and caddy-dns for you to push to. Remember to update the module paths and such.

Thank you for Caddy! It's one of those rare pieces of software that always just works out of the box and when you need to, takes very little time to configure. I really enjoy using it!

Thanks for the kind words! It's great to have people contributing back to help others too.


sometimes solid blocks kill the player

this part in base after base kills the player and i have no idea why
https://github.com/famidash/famidash/assets/140995410/62f83e71-a6dc-4d34-84bd-a6f78e59c770

noooooo my collision system broke again ;_;

its being triggered in bg_coll_death

This is now fixed, pushing update


optimize put by reuse memory of kvData before

optimize the put

About that scenario ^ it would be good with a testcase for that.
Put(aaa, bbb)
val = Get(aaa)
Put(aaa, cc)
assert( val == bbb)

It should hold true for both disk-db and memdb

It might be that this actually already works, since leveldb uses sequence numbers overlaid on memdb. So this change does make memdb api unsafe, but it won't matter when the memdb is used through a regular db -- it won't Put the exact key another time, but only a key with the same ukey prefix.
Which still is a bit dangerous, because it's a very subtle bug which will be hard to find. However, due to this usage of sequence numbers, I think the optimization is probably moot aswell.

moot aswe

very great thoughts


There is a number of analyzer errors against libraries/dart2js

There is a number of unassigned suppression for CompileTimeErrors on the analyzer in tests/analyzer/analyze_library.status for libraries/dart2js. Since these seem to overlap a lot I am filing them all under this bug, please divide the work between you.
I will mark these with this bug number, please go through them and fix up the status files or make bugs against the analyzer if there are bugs there.
Also cc some Seattle people since this may have some overlap with dart:html stuff. Tentatively assigning this to area library, but feel free to split this up or change it.
Marking the following with this bug:
lib/indexed_db/dart2js/indexed_db_dart2js: CompileTimeError
lib/indexed_db/dartium/indexed_db_dartium: CompileTimeError
lib/_internal/compiler/samples/compile_loop/compile_loop: CompileTimeError
lib/_internal/compiler/samples/darttags/darttags: CompileTimeError
lib/js/dart2js/js_dart2js: CompileTimeError
lib/js/dartium/js_dartium: CompileTimeError
lib/svg/dart2js/svg_dart2js: CompileTimeError
lib/svg/dartium/svg_dartium: CompileTimeError
lib/typed_data/dart2js/native_typed_data_dart2js: CompileTimeError
lib/typed_data/dart2js/typed_data_dart2js: CompileTimeError
lib/web_audio/dart2js/web_audio_dart2js: CompileTimeError
lib/web_audio/dartium/web_audio_dartium: CompileTimeError
lib/web_gl/dart2js/web_gl_dart2js: CompileTimeError
lib/web_gl/dartium/web_gl_dartium: CompileTimeError
lib/web_sql/dart2js/web_sql_dart2js: CompileTimeError
lib/web_sql/dartium/web_sql_dartium: CompileTimeError

Closing out as very stale!


Helm deployment auto create superuser

value.yaml add username and passwd , instead with kubectl exec pod and run python manage.py createsuperuser, maybe we call change the deployment add command.

@lszxyz , I will close the issue for now. I'm not sure we are going to implement it in the nearest future. Feel free to contribute.


Toggle dialogs in god mode

Moved the god mode to the right side & added the toggle dialogs

If dialogues are OFF, upgrade orbs disappear.
You didn't take into account the Stats Displayer when moving the Menu to the right:

Make the changes in level 2 as well.

@magalenyo Good catch the stats displayer location, the orbs disappear when toggling dialogs that's expected & also added the changes to the level 2

Merging conflicts will appear with #271 in level1.scene.
Let it be merged first since its more complex, and edit the position after with this PR