text:
generator and CEP5 compatibility on windows

I am not sure where to post this issue.
I am developing extension (extension panel) using CEP5 (runs on PS CC 2014).
It allows to run node.js code from HTML5 environment.
What I am trying to do is to run generator-core from the extension. This works on mac OS however there is a bug on windows (7 64bit). https://github.com/adobe-photoshop/generator-core/blob/master/lib/generator.js#L32 line is a problem because it is trying to reference process.stdout and for some reason it always throws following error on windows (only when node code is executed from HTML5 extension):
Error: Implement me. Unknown stream file type!
    at createWritableStdioStream (node.js:262:15)
    at process.stdout (node.js:278:16)
    at ...\node_modules\generator-core\lib\generator.js:32:28
    at Object.<anonymous> (...\node_modules\generator-core\lib\generator.js:1701:2)
...

Despite that console.log works both from HTML and node.js code (results are printed in chrome debugger).
I know it's not an issue of generator but could you tell me where I should post this issue? I guess it should go to PS dev team...

Running your own generator is (i think) not recommended. Even Adobe doesn't do that in CEP panels they ship with Photoshop.
The approach that they are using and we are using for almost all plugins at Source is that we separated generator-specific code (basically node.js app) to a module that will be automatically run by default generator after photoshop starts, so we don't need to launch our own and we save system resources. In that node.js app, we create a web server (that listens on localhost) and also a socket server exposing API that we need to make our CEP panel work. Think of it like classic web app, but instead of calling some remote server, you will be XHRing or socketing to 127.0.0.1:port.
(btw: I thing this is a good place for this as CEP repositories are kind of inactive and they even don't respond to e-mails)

Thanks for info. I was using same approach before but since CEP5 it works better (is more stable, at least on mac :) when in "single process". Also before I had to listen for some events in HTML5 extension and send them through socket to generator plugin (listening on localhost) because it was impossible to hook to those events from node.js code. Generally now (on mac) it is much faster and stable when I run both generator + plugin in extension panel. What's more I don't care about changes inside generator-core  shipped with PS because I run my own version.
Also I am not sure how you are installing/shipping your extensions but when I run all ( generator + generator plugin + HTML5 panel) in  CEP "container" I can ship whole plugin in a single zxp package.

Hi @alekbarszczewski. What @marekhrabe said is (as usual) right on: running Generator from within CEP isn't a supported configuration, and his suggested architecture is roughly how Adobe builds its own CEP-Generator plugins. It looks like the exception you're hitting is due to some difference between the CEP JavaScript interpreter and a vanilla Node interpreter, which is the platform on which Generator is intended to be run. I've also asked someone from the CEP team to chime in here about 1) the particular limitation you're seeing; and 2) what the right place is to file a CEP bug. Hope that helps!

Thanks! I have just one question - if I would like to run my generator plugin on top of photoshops default generator then, as far as I know, I would have to use custom plugin installer right? Because if I want to ship plugin in a single zxp package then I cant run any scripts during plugin installation so I am unable to copy generator plugin code to generator plugins folder - am I right?
I think there should be option to automatically ship generator plugin inside zxp package - it could be pointed from manifest file and would be loaded automatically by photoshop default generator.

I agree that this ought to be possible... but I'm not sure how to do this or if it actually is possible. @joelrbrandt: do you have any words of wisdom?

Maybe generator core, after it is started, could just iterate over all installed/active extensions (their directories) and look for generator plugins there (some special file or special entry in manifest file?) and load them automatically? It would be quite easy I think but I am not sure if it is possible for generator to list photoshop extensions (it is easy to do that using CEP api). Also not sure which part is initialized first - generator core or extensions?
Another way I can think of (better way I think) is to make it possible to dynamically load generator plugin from extension by sending additional plugins directory to generator core. So when may extension is started I could just tell generator to load plugin from /CEP/extensions/myextension/generator-plugin for example.

@iwehrman 's answer is correct. This is not a supported configuration.
Please report CEP issues to https://github.com/Adobe-CEP/CEP-Resources/issues
Thanks

@alekbarszczewski Unfortunately I don't have any words of wisdom -- there's currently no way for ZXPs to handle generator plugins. What folks are doing now is simply creating their own installers that copy plugins to the third party "Plug-ins/Generator" folder next to the application.
An alternative approach would be to have your CEP panel code do this on first launch. (Folks that are building apps that communicate with Generator do this same thing: copy to the plug-in folder on first launch.)
I'm going to rename this bug to be about supporting generator plugin installation in ZXPs. I can't guarantee we'll prioritize this soon, but at least we can collect some :+1:s in this thread to make a case for prioritizing the work.

In order for ZXP to install generator plugins, you can discuss with Nicholas Goodall (goodall@adobe.com), who is responsible for Extension Manager and Adobe Exchange. This sounds like a new feature for Adobe Exchange.

authors: alekbarszczewski arthurwei1975 iwehrman joelrbrandt marekhrabe

repo: adobe-photoshop/generator-core


text:
version 1.0.1 not creating default adobeDataLayer variable

Expected Behaviour
When loading the script, I would expect the adobeDataLayer object to be created if not present.
If already present, the object should be wrapped on the
Actual Behaviour
if adobeDataLayer is not present, it is not being created automatically, resulting in an error if trying to use it.
Steps to Reproduce

Load the script directly on page.

call the adobeDataLayer object => Issue arise.

Platform and Version
version 1.0.1
Sample Code that illustrates the problem
On your page :
<script src="/dist/adobe-client-data-layer.min.js" async></script>
<script>window.adobeDataLayer.push(function(dl) {
        // something
    });
</script>

@pitchmuc The adobeDataLayer object is available after the script has loaded. In order to use it before the script has loaded, you need to instantiate it before using it:
        <script>
            window.adobeDataLayer = window.adobeDataLayer || [];
            window.adobeDataLayer.push({ "test1": "Hello World" });
        </script>
        <script src="js/adobe-client-data-layer.min.js" async defer></script>

This is explained at:
https://github.com/adobe/adobe-client-data-layer/wiki#setup

source: gharchive/issue

authors: jckautzmann pitchmuc

repo: adobe/adobe-client-data-layer

license_type: permissive

license_source: github-api


text:
@releng - fix uit tests

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[ ] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

@asilaghi can you have a look at his?

source: gharchive/pull-request

repo: adobe/aem-cif-guides-venia


text:
Clarify supported Node, NPM and Maven versions

Currently the readme only states:

Required dependencies: node, npm, mvn

Please give a hint on the supported versions (minimum and also maximum if applicable).

This is related to https://github.com/adobe/aem-site-template-standard/issues/92

repo: adobe/aem-site-template-builder

license: MIT


text:
Brackets freezes after opening a file

Immediately after opening a file (I've tried html and css files) Brackets freezes up and will not do anything. The only thing I can do is use Force Quit to quit the application. Before opening a file I can do things such as view the About page or view the extensions manager. I've tried uninstalling an re-installing Brackets but the issue persists. I've also tried reverting to Brackets 1.0 but the issue exists in the older version as well.

Try Clearing your cache. This will remove all preferences, extensions, etc. and reset Brackets back to factory settings. When you open Brackets you should be in the Getting Started folder with index.html open. Do you get that far?
If not, what's you OS and version?
If so, it may be related to the files in your project. Try narrowing it down to a particular set of files.
See Troubleshooting guide for more things to try.

@llewellynathan Also, try disabling all extensions via Debug > Reload Without Extensions.  (Note: clearing your cache will not actually remove all extensions -- if you want to do that, delete the entire parent folder of the cache folder).

Closing since there's been no response.  @llewellynathan let us know if you've been able to try any of the suggestions above & we can reopen this.

authors: llewellynathan peterflynn redmunds

repo: adobe/brackets


text:
Where is download?????  Not on the brackets.io site!!!

Prerequisites

[ ] Can you reproduce the problem with Debug -> Reload Without Extensions?
[ ] Did you perform a cursory search to see if your bug or enhancement is already reported?
[ ] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here
Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

Brackets is now being brought to the end of its life, to continue using the project you can fork it on github, but adobe recommends moving over to Visual Studio Code, many of Brackets' features are available in Microsoft's Visual Studio Code (some through extensions).

Try archive.org it used to be there...
Also, try downloading from github.com/adobe/brackets/releases - if it is still there. As of Mar 3, 5:23 PM, it is still there.

There is a big banner on the homepage that explains what is going on. Take your time to read it please https://brackets.io/

github code -> tags -> releases -> assets

Also see #15326 (same problem)

I switched to macvim, best thing I've found as a replacement.

authors: BigBobDalton ORXLABS fakerybakery marko-hologram rafalkrupinski rxhull


text:
GH-68 - Move API

Rename / Move is faster (more concurrent)
Server-side API handles trying to rename / move a parent into a child.
Server-side API handles trying to rename / move to the same location as the original source (add a timestamp)
Rename / move is more reliable. If a file is moved, it should never exist anywhere else.
Can reliably handle 10,000 documents in ~20s.

Resolves: GH-68

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

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

Is this intended to replace the rename API operation? And no changes/updates planned for copy?

@bstopp correct and correct. Rename can be removed when da-live is updated to use this move API.
I'm trying to keep this isolated as much as possible for now in light of your changes. In the future, we can likely re-use object/copy.

Ok, but this doesn't solve the need for #66 on the Copy API. So that still needs to be merged.

Yes. That PR is still valid... I think. I would maybe solve it differently, though.
We should probably iterate through all the objects in the continuation tokens to get a full list of items then do the copy. At least, that's what I would explore at a later date.
Move into a child should be prohibited (which I do in move helper) while copy into a child should be legal... but it would mean getting a snapshot of all items before starting the copy so you don't recursively do that. If your solution works, I think that's great and low effort.

Can discuss on that PR :)

authors: auniverseaway bstopp

repo: adobe/da-admin


text:
fix: assume folder if sharepoint url without query param

#675

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

GitHub release
v6.41.0

Your semantic-release bot :package::rocket:

authors: rofe trieloff

repo: adobe/helix-sidekick-extension


text:
feat(embeds): Handle more embeds

PR for #18

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

v1.6.0
GitHub release

Your semantic-release bot :package::rocket:

authors: kptdobe trieloff

repo: adobe/helix-theblog-importer


text:
fix: added the experimentation type

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Thanks for contributing!

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

v1.6.1
GitHub release

Your semantic-release bot :package::rocket:

repo: adobe/spacecat-audit-post-processor


text:
Increase Parameter Limit on type of UrlEncoded

How to increase parameterLimit on type of UrlEncoded?
I try to add parameterLimit: 100000 in config/bodyParser.js file and still not working

Please make sure to read the new issue guidelines. The Github issues reporter is only for reporting bugs. This will help us in keeping the bug reporter clean and easy to work with 🙏.
Please ask the question on the forum or discord server

authors: thetutlage umaams

repo: adonisjs/adonis-bodyparser


text:
Adonis not Receiving Ajax Post Parameters

Hello,
I have been making ajax post requests with parameters from javascript to adonis successfully, (meaning that adonis receives the post parameters correctly) using jQuery. However a similar request being made using a JS software called Stimulsoft Report.JS is being sent, but it's post parameters are totally ignored by Adonis. I have attached pictures of the console logs (console.log(request.all())) and the requests that were made to adonis.
Unsuccessful request:

Successful request (using jquery ajax):

Do you know what the issue might be?

Hi @raen79!
As you can see it's not the same request. You are sending form data with jQuery, which is how it's working, instead, you are sending a payload with your software Stimulsoft Report.JS. It should be handled differently.

Hi!
I assumed it was because stimulsoft was sending a payload, but adonis doesn't seem to have a specific way to handle it (at least I can't find it in the documentation).

Ideally Request Payload is used by browser when you send raw data. I can see the Content-type of the request is set to text/plain which needs to be application/json to make Adonis parse the JSON body as a object.

And is there no way of receiving a request made with text/plain in adonis and converting it to json?

@raen79 Why would you do that?

When I wrote this I thought I wouldn't be able to change Stimulsoft's ajax request's content-type but I was able to so I solved the issue.
Thank you very much!

Closing the issue

authors: RomainLanz raen79 thetutlage

repo: adonisjs/adonis-framework

license: mit

license_source: bigquery


text:
computeUrl function not working without preComputeUrl config set

The README states that I can use the computeUrl function to compute URL on demand. This does not work however because the function only computes the URL when the preComputeUrl config is set.
Package version
v1.0.7
Node.js and npm version
Node.js: v18.15.0
npm: v9.5.0
Sample Code (to reproduce the issue)
DO NOT set the preComputeUrl property on the decorator config and use the computeUrl function.
The URL is not set on the attachment.

I am not using adonisjs and anymore, but this should still be a current issue with the library.

I just came across this problem too and found this issue.

+1 issue persists

Please provide a reproduction repo that I can use to reproduce the issue :)

authors: aa-ndrej filipebraida p3drosola thetutlage

repo: adonisjs/attachment-lite


text:
Fix glimmer render error when creating fragment arrays

Fixes https://github.com/adopted-ember-addons/ember-data-model-fragments/issues/357
Constructing a record throws an error:
store.createRecord('person', {
  titles: ['Hand of the King', 'Master of Coin'],
});

Error: Assertion Failed: You attempted to update `[]` on `<(unknown):ember176:owner(null)>`, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.

`[]` was first used:

- While rendering:
  -top-level
    application
      index
        PersonComponent

Stack trace for the update:
    at dirtyTagFor (http://localhost:4201/assets/vendor.js:49934:37)
    at markObjectAsDirty (http://localhost:4201/assets/vendor.js:9751:32)
    at notifyPropertyChange (http://localhost:4201/assets/vendor.js:9794:5)
    at Class.notifyPropertyChange (http://localhost:4201/assets/vendor.js:22511:39)
    at Class.notify (http://localhost:4201/assets/vendor.js:85031:14)
    at Class.replace (http://localhost:4201/assets/vendor.js:85059:12)
    at Class.setObjects (http://localhost:4201/assets/vendor.js:21903:12)

This happens when we initialize a fragment array while a render loop is running.

It's a problem with our property change tracking, but I'm not sure how to fix it.
https://github.com/adopted-ember-addons/ember-data-model-fragments/blob/fcc8fc70b626ffba40eddcd50a6d0e93a2e19e29/addon/array/stateful.js#L61-L82
createRecord('person', { titles: ... }) desugars to:
const person = store.createRecord('person');
person.titles.setObjects(['Hand of the King', 'Master of Coin']);

MutableArray.setObjects calls length and then replace, which effectively calls get('[]') followed by notifyPropertyChange('[]')

My workaround 10a7825cc3049d54674905ed52906647093f368c implements setObjects without calling length. Both tests pass. It's not a perfect solution, but probably good enough?

This issue was reported before in #357

Released as 6.0.1

authors: dwickern knownasilya


text:
AQAvit Meeting: Nov 30, 2022

Join via https://bluejeans.com/917304424
This meeting is part of the public Adoptium community calendar, if you wish to import the calendar use this link
Proposed Agenda:

TKG updates - @renfeiw
AQAvit README badges - @llxia
AQAvit Documentation restructuring - @smlambert
rerun links in TRSS - @momanmalik (tentative)

Pls add to the agenda: Add Windows Installer tests

Meeting recording link
Minutes: Added some notes & links into the agenda above.
Link to next meeting: https://github.com/adoptium/aqa-tests/issues/4175

authors: RadoslavCap smlambert

repo: adoptium/aqa-tests


text:
sun/security/krb5/auto/rcache_usemd5.sh failing some aarch64 linux machines for JDK8

First appearing in the April 2024 jdk 8 dry run triage, https://github.com/adoptium/aqa-tests/issues/5213#issuecomment-2051506962,
sun/security/krb5/auto/rcache_usemd5.sh

Nsanity started
Ja started
Jb started
Na started
Nb started
java.lang.Exception
	at ReplayCacheTestProc.main0(ReplayCacheTestProc.java:272)
	at ReplayCacheTestProc.main(ReplayCacheTestProc.java:319)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:750)
java.lang.Exception
	at ReplayCacheTestProc.main0(ReplayCacheTestProc.java:272)
	at ReplayCacheTestProc.main(ReplayCacheTestProc.java:319)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:750)

JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception

Passes on test-docker-ubuntu2004-armv8l-1 https://ci.adoptium.net/job/Grinder/9602/ and other machines such as
test-docker-ubuntu1804-armv8l-4 and test-docker-ubuntu2004-armv8l-2.
Fails on test-docker-ubuntu2204-armv8-2, test-docker-ubuntu2310-armv8l-1, test-docker-ubuntu2204-armv8-3, test-docker-fedora39-armv8l-1, test-docker-debain12-armv8l-1
The test belongs to openjdk sanity jdk_security4 target

If this infra issue can not get fixed ahead of the April release, we should consider excluding the test (with reference to this issue anyway) as we would like to run 'green' on first run during release and reduce the amount of reruns/Grinders/churn during release period.

Interesting ... It's passing on older distributions and not new ones.

https://bugs.openjdk.org/browse/JDK-8262033

If this infra issue can not get fixed ahead of the April release, we should consider excluding the test (with reference to this issue anyway) as we would like to run 'green' on first run during release and reduce the amount of reruns/Grinders/churn during release period.

Ive reopened the pr https://github.com/adoptium/aqa-tests/pull/5220

Probably connected with https://github.com/adoptium/infrastructure/issues/3614

Ref https://bugs.openjdk.org/browse/JDK-8330546 this should have been fixed in 8u422 in April. Regrinding on affected machines as listed above plus an Ubuntu 24.04 one:

test-docker-ubuntu2204-armv8-2
test-docker-ubuntu2310-armv8l-1
test-docker-fedora39-armv8l-1
test-docker-ubuntu2404-armv8l-1

Full jdk_security4 runs (Purely because that is what was listed in the exclude PR:

test-docker-ubuntu2404-armb8l-1
Random other machine (it hit test-docker-ubuntu2204-armv8l-2): Grinder 11712

authors: Haroon-Khel smlambert sxa

repo: adoptium/infrastructure


text:
Feature/localization/ru

Added Russian localization;
Verified and added main localization data for eight major world languages;
Fixed small error in English localization.

Thx !

Thx !

Thank you for that package!


text:
Adapt exports to camel case

Hi there!
It would be great to have this library adapted to the JS patterns. ESLint was showing a warning when I used ens_normalize, I disabled the warning, but that's not ideal.
Btw, awesome work you did here!

I greatly appreciate this PR but this would be a breaking change.
I will consider this for a future update.

authors: Alextnetto adraffy


text:
2 Factor auth

Is there a way around the 2 factor forced authentication? It seems its required per browser, possibly adding a cookie may work?

fixed

repo: adt-pulse-mqtt/adt-pulse-mqtt


text:
Having trouble self hosting.

I successfully set the secrets and published to Cloudflare Workers, invited the bot, waited more than an hour but the slash commands don't show up or work. I'm not sure if it's the worker not taking requests or the bot just not working.

you need to register commands yourself apart from the codebase.
https://discord.com/developers/docs/interactions/application-commands#registering-a-command


text:
Icon request: HP

URL of the site or app
https://www.hp.com
Logo resources for the icon
No response
Anything else?
No response

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/HP.svg

:question: How to add icon(s) to Aegis?
:star: Support this project by giving a star! Just adding like to this comment is also appreciated.

Thank you very much for the fast response!I couldn’t open the SVG in Aegis, but never mind – I’ll wait for the official icon pack update release 😊BR and Good luck! Sent from Mail for Windows From: Kristian SalonenSent: 28 февруари 2022 г. 1:36To: aegis-icons/aegis-iconsCc: DIMOV, A.B.; AuthorSubject: Re: [aegis-icons/aegis-icons] Icon request: HP (Issue #522) Here you go!https://github.com/aegis-icons/aegis-icons/blob/master/SVG/HP.svg❓ How to add icon(s) to Aegis?⭐ Support this project by giving a star! Just adding like to this comment is also appreciated.—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: ***@***.***>

repo: aegis-icons/aegis-icons


text:
Board tests failing due to broken error catching

Board does not catch errors related to direction in canFlow - if we pass in a pair of points and a cameFromPiece which shouldn't flow due to direction reversal (even though the points are reversed), canFlow will usually still return true.
Normally, this isn't a problem as this case is dealt with in NiceBoard anyway; however, we should either add it to Board as well, or update the doxygen to be explicit about the fact that this particular error is not caught in all cases (it does seem to catch some cases though...)

Won't fix due  to #11 meaning we will be standardising on the NewBoard API.

repo: aelzenaar/MetroSolver


text:
If the raw JSON is too long, use a minimized version

For AGPUSH-1543 I've added a quick fix to not try to save too long push notification metadata in the database.

@lfryc mind to review ?

@sebastienblanc any comments ?

:+1:

authors: matzew sebastienblanc

repo: aerogear/aerogear-unifiedpush-server


text:
Cannot query findAll method for graphql-js template

"message": "Cannot read property 'select' of undefined",

This is due to the wrong resolver format. Apollo pass different resolvers than graphql JS

Side note. I have disabled template for the moment as hacking things around to make it work might not have sense. We need a different generator for different types of resolvers.

Closing this as we removed the template

authors: ankitjena wtrocki

repo: aerogear/graphback


text:
SC: prune channel contract calls

PT SC: Prune calls subtree on every update
Prune contract calls on each channel round. The state of each round contains only call objects created by this exact round. Older calls are still kept locally for the user to inspect and prune manually but they are no longer part of the channel's state tree and their pruning has no impact on channel's state_hash
This is a prerequisite for forcing progess on-chain

A corresponding protocol changes PR will be comming soon

Rebased on top of master

Rebased again on top of master

Rebased on top of master and resolved conflicts

repo: aeternity/epoch

license: ISC


text:
Introduce strict validation of user configs, terminate node if it fails

Validation is run as a setup phase hook. These can be wired to
abort processing through -setup abort_on_error true. However, due
to a bug in setup, this didn't propagate all the way to an aborted
startup. This bug was fixed, and the setup dependency upgraded.
The schema has been upgraded to have "additionalProperties": false
at each level.

[Finishes #153138074]


text:
CPU Temp not displayed

My CPU Temperatur is not displayed.
Output of Linux-Dash:
Temprature | /usr/bin/sensors SA °C
Output of sensors:
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +28.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +28.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:       +26.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:       +26.0°C  (high = +105.0°C, crit = +105.0°C)
Output sensors -v:
sensors version 3.4.0 with libsensors version 3.4.0

Is this on a raspberry pi?

No. It's an intel chip.

Model name
Intel(R) Celeron(R) CPU J1900 @ 1.99GHz

Yes, but it's an Intel(R) Celeron(R) CPU J1900 @ 1.99GHz with Ubuntu 17.10 4.13.0-37-generic

To get the main temperature data, just change raspbian by ubuntu in the cpu_temp() function in the file app/server/linux_json_api.sh.
If you don't have an ubuntu based distrib, check the value of ID in file /etc/os-release and set it in place of raspbian in the script.
For temperature data by cores, see this pull request https://github.com/afaqurk/linux-dash/pull/465 (not tested yet)

authors: Jiab77 TobiasKneidl zmrow

repo: afaqurk/linux-dash


text:
Refresh display on setMaxDate/setMinDate

In particular, re-draw the backgrounds and set the visibility of the goToPreviousMonth and
goToNextMonth arrows.

I'm sorry, I forgot to run and fix the tests. The spotless plugin did not complain; if it's meant to do so, it doesn't work. Fixup-commit incoming.

I'm a bit out of ideas how to get rid of the non-null asserts on viewingMonth. I did verify that on all internal calls to render, the calendar argument is either also used immediately before to set viewingMonth, or actually derived from the current value of viewingMonth - and all further usage is also only interested in the month-year-values of that calendar parameter.
But it seems like the viewingMonth == null state can occur, so just making it lateinit is wrong, and of course exposing render in that case is not the greatest idea. Maybe, in the end, decoupling the MinMaxController and the DatePickerController doesn't work.

For completeness: The problem this is meant to solve can be observed by editing the sample MainActivity to e.g.:
    datePicker.addOnDateChanged { _, new ->
      toast("Date changed: ${new.format()}")
    }

    datePicker.setDate(Calendar.getInstance().apply { set(2019, Calendar.JULY, 5) })
    datePicker.setMinDate(Calendar.getInstance().apply { set(2019, Calendar.JULY, 2) })
    datePicker.setMaxDate(Calendar.getInstance().apply { set(2019, Calendar.JULY, 25) })

(and then observe the unexpected previousMonth/nextMonth arrows)
or to
    datePicker.addOnDateChanged { _, new ->
      datePicker.setMinDate(Calendar.getInstance().apply { set(2019, Calendar.JULY, 15) })
      toast("Date changed: ${new.format()}")
    }

(no setting date, letting it self-initialize - provided it's still July 2019, otherwise adapt the date appropriately).
Of course an actual use case would have a different trigger for setting the valid range while the view is displaying, but this is an easy demo. Observe how on selecting any date, no grey tube appears, only when forcing re-drawing of the affected days by trying to select them one-by-one.

repo: afollestad/date-picker


text:
Changes to a single tracked entity cause entire ui tree to be reapplied

The current implementation for tracking entities triggers the style sheet to be refreshed whenever a tracked entity has a component changed. By refreshing the style sheet, the entire user interface, and all components within the hierarchy are also refreshed.
Because a change can be caused by something such as hovering over an entity with a pseudo class, changes can occur extremely frequently. For very large UI trees, this can have a non-negligible effect on performance. Especially on highly complex menu structures that can use hundreds of nested entities for each page or hidden tab and so on.
A solution to address this might be to only reapply the CSS to the updated entity and it's children within the hierarchy. This would help to drastically reduce the number of elements being refreshed for updates to smaller elements within the interface.
While this is not a high priority issue, it is something worth considering as this project continues to get future updates.

There is a lot of room for improvement, but until something like Observers or some forms of reactivity lands on Bevy (I think 0.14), it's very hard to do so, since it's impossible to know, for instance, when a child entity has a new component which matches a property.
For example:
.pop-up :hovered {
    /* Something */
}

In this case, we need to keep an eye for all descendants of .pop-up which may or may not have an Interaction component. So when we track its entities, one descendants may have no Interaction component but later on can be added and we need to react to this change.
In the future, we should be able to improve this by defining some kind of TransientProperty, which are special properties that we have to react to add, removal and change detection (that's why Observers are a thing here). Not all properties needs to be transient tho, since Text and Style, for instance, will likely to always be there.

authors: TheDudeFromCI afonsolage


text:
Use redirect or express checkouts

⚠ This PR is build on top of another ⚠ It will be hard to review until those are also merged. They are awaiting QA.
Previously, opening the checkout would always give you the express checkout. We’ve added a switch to the CheckoutOptionsCell which turns off the express checkout, and that allows you to open the regular v1 checkout.
Summary of Changes

Add v1 checkout mode.

V1 Checkout (redirect)

V2 Checkout (express / postMessage)

Additional
The Example app also contained a reproducible crash bug:

Launch the Example app and go to the Components tab
Go back to the purchase tab, add something to the card, view the cart, and select 'pay now'
In the payment checkout, or in the checkout login screen, tap on a text field such that the on-screen keyboard appears

Expected: the on screen keyboard appears
Actual: the app crashes.
Interestingly, this only happened if you went to the Components tab before the checkout.
The reason for this is when the keyboard resized, the notification center called the adjustForKeyboard method on the ComponentsViewController. It only calls this method if the ComponentsViewController has been displayed at least once. In that method, it referred to text field properties. They were implicitly-unwrapped optionals. I had removed their assignment in 88caa3c7e7853527b79774618479922589cf0e16, but never removed the properties themselves. Since they were implicitly unwrapped, and never had a value assigned, this was a crash.
Submission Checklist

[x] Tests are included.
[x] Documentation is changed or added.

@k-obrien This should be a lot easier to review now. Would you be able to take a quick peak to see if there's anything you'd like me to add, please?

repo: afterpay/sdk-ios


text:
Join Us page improvements

GSSOC'23
Related Issue

#406

Proposed Changes

The details to be added are mandatory, otherwise form can't be submitted
cursor of the submit button changed

After:

Before:

Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the documentation.
[ ] 🎀 I have updated the documentation accordingly.
[ ] 🌟 ed the repo

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

Kindly review
Thanks

@agamjotsingh18 Kindly review

@agamjotsingh18 Kindly review

@agamjotsingh18 Kindly review


text:
Team wizz final update

We completed the task as requested, by adding the prices to the relevant flights and we added the team wizz logo successfully. Please review and tell up if there's anything else we need to update. Fly safe! Team Wizz

Team Wizz updated the review

Please check if this code can be improved with Promise.all. Give us an insight on improvement if possible. Thanks


text:
Use NSwag settings class

Hi, can't you use the NSwag settings classes (or inherit from them) so that all options are available?

Yeah, I thought about that when I was building but at the time it didn't really fit my design. I might revisit this.
I particularly like the idea of inheriting to get all the existing settings without sacrificing customisation. I assume the NSwag settings aren't sealed or anything?

Ah, I remember the big reason I didn't at the time: my existing settings classes are for a given target, regardless of source, whereas the NSwag ones are for a specific source and target combination (i.e. SwaggerToCSharpGeneratorSettings).
I will continue having a look because I agree having all the settings available would be nice, but I also like the elegance of the same settings interface for any source...

No, they aren't sealed... and yes, the big benefit is that you have always access to all settings and don't have to always extend your own settings class.. Btw. thanks for implementing this addin and using NSwag

Why dont you provide a sub class of the original settings class as second parameter of the From* and To* methods? They can stll return the same unified type...

Hmmm, yeah, that could work! I've started a branch to assess going "big bang" into the original settings classes, but that seems simpler. I'll have to take a look.

I've just published a new nswag-settings feature branch that uses a sort of hybrid approach which also doesn't break existing usages. Basically, there's a new WithSettings mode that lets you use an NSwag settings object, as per below:
NSwag.FromSwaggerSpecification("./swagger.json")
    .ToTypeScriptClient("./client.ts", s =>
        s.WithSettings(new SwaggerToTypeScriptClientGeneratorSettings
        {
            Template = TypeScriptTemplate.Angular2,
            PromiseType = PromiseType.Promise
        }));

That way, we can keep the simplicity of the old one, doesn't break existing usages, but still can use operation-specific settings if necessary.
Happy to take any thoughts, but I will just do a bit more testing and will probably push it out as v0.2 next week.

Included in 0.2.0 release.
Now available on the NuGet Gallery.


text:
⚠ AGEG website (prod) has degraded performance

In cf63704, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1029 ms

Resolved: AGEG website (prod) performance has improved in 450bd24.


text:
requests.exceptions.HTTPError: 400 Client Error: Bad Request

I keep on getting this error, anny idea what it is?

It means the request was badly formed, probably due to either malformed JSON or potentially the token used when sending the request. It might have to do with the logging in request. When do you receive the error?

Hmm, i get the error when logging in. Here is more of the error message:
File "build/bdist.macosx-10.9-intel/egg/pysnap/utils.py", line 88, in request
File "/Library/Python/2.7/site-packages/requests-2.5.3-py2.7.egg/requests/models.py", line 831, in raise_for_status
raise HTTPError(http_error_msg, response=self)
The bot was working before, i dont know what happend.

The error is occurring when sending the request, this doesn't really help. Does it occur when the log in request is sent?

i belive so, but im not too good at programming, here is the whole error so you can see for yourself:
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users/larserik/PycharmProjects/Koding/init.py
[2015-03-13 12:27:45,045] Starting new HTTPS connection (1): feelinsonice-hrd.appspot.com
[2015-03-13 12:27:45,339] "POST /bq/login HTTP/1.1" 400 None
Traceback (most recent call last):
File "/Users/larserik/PycharmProjects/Koding/init.py", line 41, in
bot = StorifierBot("xxxx", "xxxxx")
File "build/bdist.macosx-10.9-intel/egg/snapchat_bots/bot.py", line 20, in init
File "build/bdist.macosx-10.9-intel/egg/pysnap/init.py", line 100, in login
File "build/bdist.macosx-10.9-intel/egg/pysnap/init.py", line 83, in _request
File "build/bdist.macosx-10.9-intel/egg/pysnap/utils.py", line 88, in request
File "/Library/Python/2.7/site-packages/requests-2.5.3-py2.7.egg/requests/models.py", line 831, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request
requests.exceptions.HTTPError: 400 Client Error: Bad Request

i also get this error:
[2015-03-13 13:38:43,461] Starting new HTTPS connection (1): feelinsonice-hrd.appspot.com
[2015-03-13 13:38:44,573] "POST /loq/login HTTP/1.1" 403 434
Traceback (most recent call last):
File "/Users/larserik/Desktop/PycharmProjects/untitled/NTNUsnap-master/nfp.py", line 78, in
bot = StorifierBot("instaqwerty", "aXXo1212")
File "build/bdist.macosx-10.10-intel/egg/snapchat_bots/bot.py", line 26, in init
File "/Library/Python/2.7/site-packages/requests-2.5.3-py2.7.egg/requests/models.py", line 799, in json
return json.loads(self.text, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

i think i solved it my going through proxies.

Yeah, your IP was probably banned, not much to do from the library's side, except maybe better error reporting :)

larserikfagernaes Can you please share the details what exactly you did to solve this from proxies side?

authors: Rob-- agermanidis bsr4mpune larserikfagernaes

repo: agermanidis/SnapchatBot


text:
Add Open in Kaggle badge

This is an example of what adding a Kaggle Badge (that allows for opening the .ipynb as a Kaggle Notebook as seen here https://www.kaggle.com/product-feedback/152480) could look like.
If it makes sense I can submit a further PR adding it to the other notebooks in this repository.

Hi @pizzaz93 ,
Thanks a lot for this suggestion, I love it! If you want to send a PR for all the other notebooks as well, that would be greatly appreciated. Note that many notebooks check whether they are running on Colab, and if so they download datasets or images, or they install some libraries. In the first cells, they try to import google.colab, and if this succeeds, they define IS_COLAB=True and run the appropriate installation/downloading steps. We would need the same thing for Kaggle. I'm not sure what libs are preinstalled on Kaggle kernels, so it would be good to test that everything works smoothly.
If you don't have time to do all this, no worries, you can just add the Open in Kaggle links, and I'll take care of the rest.
Thanks again!

Hi @ageron,
I can definitely add the Open in Kaggle badges to the other notebooks as further commits in this PR. The other aspects of ensuring the notebooks run smoothly on Kaggle I wouldn't be able to do, but if you run into any issues or have any questions feel free to ping me.
Peretz

Awesome, thanks for your help Peretz!

I just updated all the notebooks so they run nicely on Kaggle. Please make sure you git pull before you add the "Open in Kaggle" links. I'll add Kaggle to the README.md as well.

Perfect, that's great, I'll make sure to do so.

One thing I'm struggling with is the index.ipynb notebook, which is just a table of contents that points to the other notebooks. It contains relative links, and these work fine in Colab and Binder, but not in Kaggle or DeepNote. I'm not sure how to fix this, other than putting an "open in kaggle" link next to each notebook, which wouldn't look great. Any ideas?

Based on the way that Kaggle is currently built the best available solution I was given was to create and save those notebooks as Kaggle Notebooks and then to link to them, which I understand would add a maintenance overhead.

I've added links to all the notebooks besides (2 and 8, 9, 14, 15, 17) and tested their links.
My branch is up to date with the edit you made today as well.

Very cool, thanks! However, could you please do a search & replace for pizzaz93 => ageron to ensure that the links remain in the same repo?

Good catch, I apologize for that, I'll fix it tomorrow morning.

All the links have been updated to point to the ipynbs in the original repo.

Thanks again @pizzaz93 , that's great! 👍


text:
Add main window resizing support

Motivation
When I first opened Sila I attempted to resize the height of the main window to display more content but was unable to since the window currently has a fixed size.
Changes

Create property abstraction for default window size
Specify minWidth / minHeight for main window content as well as a defaultWindowSize(...)
Convert LazyVGrid GridItems to utilize .adaptive(...) layouts

Video
https://github.com/agg23/Sila/assets/671271/33c7b62e-bbf0-4334-bde8-9901ce7f5005

Thanks for the contribution. I purposefully locked the size of the main window, as I didn't like how the grid elements looked during resize. From your video it looks like .adaptive helped, though I'm still not sure that this is the right change to make.

OK, no worries—feel free to close this out if you're not enthusiastic about the change! Happy to iterate on it if you have suggestions for improvements.
Thanks for your consideration.

I don’t mean to demean your contribution. I’m willing to entertain opinions. I didn’t think there was much use in allowing resizing since it looked bad, will worsen perf (which is already poor on visionOS in general), and I’m not really sure why a person would want to see more.

No offense taken!
Do you mean that it looks bad during the window resizing, or after the window has been resized to certain sizes? Would it help if the transition of size and position of items during resize was animated?
What's the performance issue? Is it the potential impact of scrolling a grid with adaptive items, or the performance during resizing, or something else?

On top of personal preference for more vertical space when vertically scrolling content, not being able to resize a window for this type of content (e.g. a grid/list of items) feels slightly out of place on this platform IMO. Most native Apple apps with similar content allow resizing the window to different aspect ratios and sizes.
I think it makes sense to restrict the aspect ratio/size for windows that exclusively present one piece of media such that it fits the content (like the video stream), but since the content browsing window is separate if seems like a good fit for being resizable to me.
Totally fine deferring to your preference here of course! I don't mean to push this suggestion on you.

Do you mean that it looks bad during the window resizing, or after the window has been resized to certain sizes? Would it help if the transition of size and position of items during resize was animated?

I don't like how the grid elements change in size and proportion. We could lock the aspect ratio, but that will only help so much, and it will decrease the amount of space you gain by resizing the window.
Additionally, I don't like the effect the elements changing display. They squish or grow and it looks like some kind of weird bounce animation, where they will spring back to original positions, but they don't. This may be largely alleviated by a locked AR, I'm not sure.
I notice that the Apple TV app locks AR on the window, locking the element AR as well, which maybe is the solution here (though it sounds like you don't like that).

What's the performance issue? Is it the potential impact of scrolling a grid with adaptive items, or the performance during resizing, or something else?

There's two issues.

visionOS handles scrolling via pinch extremely poorly. In every app with scrolling (including Apple apps), I have observed stuttering while scrolling when using pinch. Strangely this does not seem to occur when using a trackpad. It's not the pinch gesture itself stuttering, as you can throw the ScrollView and still have the stutters.
For some reason Vision does not like the tiled image display. Something about my rendering or fetching of images seems to be heavy, and even though I'm using Nuke to manage that and recycle old images, if you load enough images across multiple pages (Popular and Categories), switching between the pages can be slow, with a bit of a stutter when starting to scroll.

For all these reasons, I considered it not worth my time to investigate when I really just wanted to ship. I still don't think that it's very beneficial to display more stream buttons on screen at once, as it quickly becomes visually overwhelming.

locking the element AR as well, which maybe is the solution here (though it sounds like you don't like that).

I think locking the aspect ratio of the elements within the grid makes sense! Happy to iterate on that if you change your mind.

I considered it not worth my time to investigate when I really just wanted to ship. I still don't think that it's very beneficial to display more stream buttons on screen at once, as it quickly becomes visually overwhelming.

No worries—feel free to close this out if you'd prefer not to explore this further.
Thanks again for your consideration!

I did some experiments. I think I'm mostly OK with what you've done here; I would just like to avoid the information overload state that you can easily get into (with many columns visible simultaneously):

In this scenario, ideally the grid items would expand to fill the same 4 columns. I'm not sure if this is possible though.

I also discovered the obvious (in retrospect) that locking aspect ratio doesn't work unless you make your text size also adaptive, as otherwise the ratio of the button taken up by the text changes as the button resizes.


text:
Optional View Elements

In my test class I have multiple tests. For the first test I have to skip the onboarding of my app. So in the setup section of my test class I have a Screen<OnboardingScreen> with a KViewPager that is selected via the withResourceName ViewMatcher.
All tests in the test class except the first one now fail because the onboarding has already been skipped. So what I'd like to do in the setup section is to make the KViewPager optional so that I can check in the code whether or not it exists.
Is that possible with Kakao? Didn't find anything in the docs about that.

I think you have a wrong vision on UI testing.

All test should be run independently or with random sequences with same expected results

A clear way how to solve this issue:

Use test runner which will be responsible for clear run every time
If you want to skip on-boarding screen you need to inject or pre setup some data before test will be executed. Look at TestRule

Hmm... I was sure UI tests need to work in the way you describe, what I don't get is why espresso isn't clearing the app state (i.e. the entire app data) between each test then. There is the clearPackageData argument for the testInstrumentationRunner, but that only clears the data after each test class and not after every test. imho that doesn't make sense if  "All test should be run independently or with random sequences with same expected results", because not every test has the same starting point.
Anyway, to summarize: at the moment it isn't possible with Kakao.

repo: agoda-com/Kakao


text:
fixed description

Pull request description

since when are address points not publicly available?

someone was smoking crack that day and it wasn't me
On Wed, Oct 26, 2016 at 3:44 PM, steveoh notifications@github.com wrote:

since when are address points not publicly available?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/agrc/agrc.github.io/pull/269#issuecomment-256486449,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJNyEUut5QZraksHrfGBXHHErCriRJCZks5q38m3gaJpZM4KhtHG
.

--
*Zach Beck*
State of Utah AGRC
zbeck@utah.gov
801 538-3072

authors: ZachBeck steveoh


text:
Displaying 'areas not studied' for each hazard

Tables 3 & 4 attempted to solve the problem of showing that not finding a hazard doesn't mean it's not there—it could just not yet be mapped. They got complicated and confusing when dealing with AOIs that span different study areas with different sets of studied hazards and were abandoned.
In a future version, perhaps we could have features for every hazard that indicate where it has not been studied and include them as part of the AOI intersection check. Then, on each hazard they would be displayed on the map and included in the description/how-to-use sections.
These new features could be hosted as a separate feature service, using an identical HazardCode to link things up, or be added to the existing feature services as an extension of the HazardUnit (ie, a new 'NS' unit for Not Studied). These both have their pros and cons.
Basically, this idea pivots the studied/not studied logic from being based on study areas (as expressed in the list of hazards studied in each area) to being based on location (as expressed through the new features) and pivots the reporting from tables to additional shapes on the maps.

This is something that UGS would need to develop right? Basically every hazard layer would need to have statewide coverage with no hazard found and not studied attributes on them somewhere.
Is this enhancement something that AGRC can implement or is this more of a wishlist item that we can't fix?

Yes, UGS would need to figure out how they want to create and update the non-studied areas and come up with the appropriate text for the description.
This is something that we cannot currently implement with the data we now have. I put it here as a holding place to say this is conversation that needs to be had with UGS.
I was talking with Nathan about the importance of differentiating between "hazard not present" and "we don't know if it's present or not." Right now the blank areas of our maps (ie, the areas that the AOI doesn't intersect anything) means either of these. If the AOI covers areas both mapped and not mapped, it is not clear what the blank space means, and I know it will be misinterpreted. When it turns out that there is a hazard there, there will be serious trouble, up to lawsuits for someone.

We will come up with some text that explains areas that have not been mapped. I think that is the best way to deal e issue.

@gordondouglass How is the text coming along for this? Has it been incorporated into the tables yet?

So we don't need to make any changes to the app? I've not tested it with a geometry that does not intersect any hazards.

According to #14 the newly-added, statewide, groundshaking layer will always produce a report with at least one hazard. They added some text in the summary to say that just because a hazard doesn't appear on the report, it doesn't mean it's not there - it just may not have been studied.

authors: gordondouglass jacobdadams nathankota stdavis steveoh

repo: agrc/ugs-hazards


text:
🛑 SIHE Library is down

In 6074227, SIHE Library (https://library.sheridan.edu.au) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SIHE Library is back up in 8f79fd0 after 1 hour, 16 minutes.

repo: agrez/upptime


text:
Cannot install for .net45

I receive the following error from Nuget:
Could not install package 'RdKafka 0.9.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Please let me know how I can install this package for my project

Hi, could you upgrade to 4.5.1?

So to elaborate, .NET 4.5.0 has been officially deprecated for quite a while now: https://blogs.msdn.microsoft.com/dotnet/2015/12/09/support-ending-for-the-net-framework-4-4-5-and-4-5-1/
.NET 4.5.1 and up are supported, so all you need to do is to set that as the framework version.

thanks! works!

authors: ah- atharvai

repo: ah-/rdkafka-dotnet


text:
🛑 API version 2 is down

In e1d94c3, API version 2 (https://api.aharooms.com/healthz) was down:

HTTP code: 503
Response time: 28 ms

Resolved: API version 2 is back up in 801a642.

repo: aharooms/upptime


text:
The collapsing steps in the dashboard's flow diagram should not move the other elements

This distracts users from reading text and in general makes the user experience a bit nervous.

We won't fix this before the release.

repo: ahaselsteiner/virocon


text:
Adding C libraries related to Python's LXML and Pillow

Hi!
Thank you for this awesome library and all the time you spent maintaining it! I can tell it's a labor of love.
I would like to embed C libraries inside a Python 3.11 build, and I don't know how.
I'm writing a public issue in case someone else might want to do the same thing, so maybe we can learn together.
I wonder, would it be appropriate if I add some C libraries in superconfigure ?
I care about LXML and Pillow. LXML requires libxml2 and libxslt. Pillow requires libjpeg, zlib, libtiff, libwebp, maybe openjpeg, other optional ones...
I checked the other libs included in this repo and it looks like we need to download the code from the repo and build it here. I could find the following links:

https://gitlab.gnome.org/GNOME/libxml2/-/releases (Libxml does not require any other libraries)
https://gitlab.gnome.org/GNOME/libxslt/-/releases (the build system is similar to libxml2)
https://zlib.net/zlib-1.3.1.tar.gz -- I'm not entirely sure if Zlib is already included in cosmo?
https://github.com/winlibs/libjpeg/tags
https://github.com/libsdl-org/libtiff/tags
https://github.com/webmproject/libwebp/tags
https://github.com/uclouvain/openjpeg/releases

For the libxml2, I made this file:
LIBXML2_SRC := https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.12.6/libxml2-v2.12.6.tar.gz

LIBXML2_CONFIG_ARGS = --enable-static --disable-shared\
    --prefix=$(COSMOS) --sysconfdir=/zip/etc --datarootdir=/zip/usr/share\
    CFLAGS="-Os"

$(eval $(call DOWNLOAD_SOURCE,lib/libxml2,$(LIBXML2_SRC)))
$(eval $(call AUTOTOOLS_BUILD,lib/libxml2,$(LIBXML2_CONFIG_ARGS),$(LIBXML2_CONFIG_ARGS)))

o/lib/libxml2/built.fat: FATTEN_COMMAND = $(DUMMYLINK0)

I'm not sure how to start this, I imported the lib/libxml2/BUILD.mk in lib/BUILD.mk but I'm not sure why I can't build with make -j4 libxml2.
I can make a PR for all of these libraries, if it's acceptable.

Okay, let's add the libraries first, then we'll figure out how to add the Python extensions. At the start I'll mention that if any of the libraries require cffi then I'd recommend waiting, because we need figure out a better way to handle that first.
Super happy to hear you'd like to add more libraries to the repo! The file config/README.md might help get a general idea of what's going on. For now let's focus specifically on the BUILD.mk posted for libxml2:
# the source will be downloaded from here
LIBXML2_SRC := \
    https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.12.6/libxml2-v2.12.6.tar.gz

# this creates the Makefile code for downloading the source
$(eval $(call DOWNLOAD_SOURCE,lib/libxml2,$(LIBXML2_SRC)))

# for dependencies you would need to do something like
# LIBXML2_DEPS := lib/ncurses lib/readline
# $(eval $(call SPECIFY_DEPS,lib/libxml2,$(LIBXML2_DEPS)))

# these are the args passed to the configure script
# note the $$(COSMOS), that's a Makefile thing
LIBXML2_CONFIG_ARGS = --enable-static --disable-shared\
    --prefix=$$(COSMOS) --sysconfdir=/zip/etc --datarootdir=/zip/usr/share\
    CFLAGS="-Os"

# this creates the Makefile code for configuring x86_64 and aarch64
$(eval $(call AUTOTOOLS_BUILD,lib/libxml2,$(LIBXML2_CONFIG_ARGS),$(LIBXML2_CONFIG_ARGS)))

# this specifies the script to create fat binaries
# set as $(DUMMYLINK0) if there are no fat binaries to build
o/lib/libxml2/built.fat: FATTEN_COMMAND = $(DUMMYLINK0)

the above seems like it should work.

I'm not sure how to start this, I imported the lib/libxml2/BUILD.mk in lib/BUILD.mk but I'm not sure why I can't build with make -j4 libxml2.

You were so close :), the build should start if you try make o/lib/libxml2/built.fat. If you look at the BUILD.mk for datasette you see that make datasette is just a shortcut for make o/python/cpy311-datasette/built.fat.
That ought to get a build started for libxml2. You might need to patch a few source files, but it's better if you don't have to. We'll get to that if necessary. Let's look at the other C libraries you want to build:

LXML requires libxml2 and libxslt. Pillow requires libjpeg, zlib, libtiff, libwebp, maybe openjpeg, other optional ones...

zlib is already included in Cosmo, you can build it via make o/cosmo-repo/base/built.fat. The other libraries are pretty well-known, so I would expect that getting them to build should be ok (less than 10 lines worth of patching for each).

For Python extensions, the best thing we have now is building them statically via Modules/Setup, because Python's package building methods have a lot of variance, I haven't figured out a common method to build them with Cosmo yet.
Modules/Setup is kind of a shell-script/Makefile hybrid that CPython uses when building its standard library from source. You can see that I patched the linked script file to build most of the standard library statically, and a added a few extensions like yaml/_yaml and markupsafe/_speedups.
It is pretty easy to add extensions if all the C code is present in the source of the package. At present I think it is more likely that you will get a build of Pillow working before LXML, because Pillow has all the C source code as part of the package while LXML has .pxd files that are probably run through Cython. LXML is also likely possible, but it will be easier later. (@jart I remember we discussed how we could handle Cython -> C extension builds at some point)
After building all the necessary C libraries, to add Pillow you would have to add some lines to Modules/Setup like:
# what Modules/Setup part for Pillow would look like, for starters:
Pillow._imaging Pillow/src/_imaging.c -ljpeg-lib

I would recommend trying to build things like yaml and markupsafe first with before moving on to Pillow and LXML.

Awesome stuff !!
I'm taking the libs in order. libxml2 and libxslt are super similar and they go together. If I make one work, the other will be copy & paste.
When I run make o/lib/libxml2/built.fat, I get this error:
bash: line 4: /root/PWD/o/lib/libxml2/libxml2*/configure: No such file or directory
make: *** [config/common.mk:91: o/lib/libxml2/configured.x86_64] Error 127

If I go into o/lib/libxml2/libxml2-v2.12.6 and run: bash autogen.sh --with-sax1 --without-python that works and the configure is created, but then I see another error:
configure: error: source directory already configured; run "make distclean" there first
make: *** [config/common.mk:91: o/lib/libxml2/configured.x86_64] Error 1

There must be a step before AUTOTOOLS_BUILD, to run that autogen.sh script.

Oh if it has an autogen.sh step, perhaps we can do something like with pcre:
o/lib/libxml2/setup: o/lib/libxml2/patched
	cd $(BASELOC)/o/lib/libxml2/libxml2* && ./autogen.sh
	touch $@

o/lib/libxml2/configured.x86_64: o/lib/libxml2/setup
o/lib/libxml2/configured.aarch64: o/lib/libxml2/setup

Awesome! I think it worked. I can see output in o/lib/libxml2/build/ for aarch64 and x86_64.
I build pcre and I can see the exact same folders.
The thing is when I run the autogen.sh script, it generates the default config, with Python, with docs and examples, I wish I could exclude them.
I can see the message "I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the autogen.sh command line"
If I change the BUILD.mk file to:
o/lib/libxml2/setup: o/lib/libxml2/patched
	cd $(BASELOC)/o/lib/libxml2/libxml2* && ./autogen.sh --without-sax1 --without-python
	touch $@

It will throw the same error from before:
configure: error: source directory already configured; run "make distclean" there first
make: *** [config/common.mk:91: o/lib/libxml2/configured.x86_64] Error 1

The later config args don't seem to do anything? But maybe they do, not even sure how to check.
I also tried --with-sax1=no --with-python=no in different places.
I guess it's more like a tweak now, because the compilation did work.

OK I'm wrong. It actually works like intended.
make o/lib/libxml2/built.fat &> make.log
...
Disabling the older SAX1 interface
checking for library containing dlopen... none required
checking for pthread.h... yes
checking for library containing pthread_join... none required
Disabling zlib compression support
Disabling lzma compression support
checking for libiconv... none required
Disabling ICU support
Disabling code coverage for GCC
configure: creating ./config.status
...

Added libxml2 and libxslt.
https://github.com/croqaz/superconfigure/commit/dadf8426eab3a60948c7b56531ec05604e06ba01
I managed to also compile libjpeg, libtiff and libwebp in exactly the same way without issues.
I didn't try baking them into the Python executable yet, I want to try that next.
Thank you very much for all the support here and on Discord @ahgamut !

Managed to add LZ4 and LZMA in Python: https://github.com/croqaz/superconfigure/commit/309013cdb82e80eb1880ce0599e792846607529f
I imported both and tested a few compress & decompress functions and they seem to work.
>>> import lzma
>>> lzma.compress(b'asd')
b'\xfd7zXZ\x00\x00\x04\xe6\xd6\xb4F\x02\x00!\x01\x16\x00\x00\x00t/\xe5\xa3\x01\x00\x02asd\x00\x00\xe3q\xb4=i\xb2\x0fd\x00\x01\x1b\x03\x0b/\xb9\x10\x1f\xb6\xf3}\x01\x00\x00\x00\x00\x04YZ'
>>> lzma.decompress( lzma.compress(b'asd') )
b'asd'

>>> import lz4.frame
>>> lz4.frame.compress(b'asd')
b'\x04"M\x18h@\x03\x00\x00\x00\x00\x00\x00\x00\x87\x03\x00\x00\x80asd\x00\x00\x00\x00'
>>> lz4.frame.decompress( lz4.frame.compress(b'asd') )
b'asd'
>>> lz4.frame.COMPRESSIONLEVEL_MAX
16

Brotli works finally!
>>> import brotli
>>> brotli.compress(b'asd')
b'\x0b\x01\x80asd\x03'
>>> brotli.decompress( brotli.compress(b'asd') )
b'asd'

Super happy to have a static-built-python with all of these things.

I'm closing this issue because I kinda implemented all the stuff that is currently doable in Cosmopolitan Python.
LXML is a faraway dream and a huge huge blocker for me, because a lot of important libraries depend on it, but I'll continue digging.

authors: ahgamut croqaz

repo: ahgamut/superconfigure

license: Unlicense


text:
Delete a worksheet row

I am not seeing any way to remove a worksheet row. I need to finds and remove rows from a few worksheets and add some new rows and save.

dont believe that is supported.
you would need to read all into array, delete row from array, write back as worksheet
Rows.Append does not appear to work either.

authors: RobGray-au pressr-inl


text:
Video playback not working under Wayland

What it says on the tin. Even after installing the necessary requirements, it just seems that videos do not play at all.
It's possible to get them to work by setting GDK_BACKEND=x11 before launching the program from a terminal, but this results in severe visual glitching (audio plays just fine, though).

I'm unable to reproduce this on an old Thinkpad using Intel iGPU HD4400, running arch and hyprland.
The immediate thing that comes to mind is probably this code here, but this shouldn't prevent gstreamer from falling back to decoders that exist on your machine.  It could however prefer codecs that don't function properly (not sure about this tbh).
A good way to see if it's a gstreamer problem itself is to try playing some video files with gst-play, might be gst-play-1.0 depending on the distro.
Something like gst-play --videosink gtkglsink --use-playbin2 --volume 0.5 [video file path] would be pretty much be the same pipeline ahoviewer uses for videos.

Trying that, it fails to initialize OpenGL, apparently.
Seeing as it works on your end, I got curious and checked on my AMD laptop. Works fine there. I guess it's a NVIDIA issue (not surprised in the slightest, then).

authors: OrdinaryMagician ahodesuka

repo: ahodesuka/ahoviewer


text:
Code Quality Modularization Decoupling Testing

Some components are too highly coupled and violate the single responsibility principle making some components hard to test and debug
I would like to propose the following solution:

Break down components into smaller parts
Separate Component Logic from View
e.g. ClassifierContainer.tsx , ClassifierView.tsx
then export as one Module
This allows the React state logic to be tested separately from the UI structure
Make functions pure
Move functions that don't depend on React hooks into their own modules
In some cases, e.g. deep component nesting, React Context can be used to share information without having to rely on passing props repeatedly into a deep component tree

For the Body specifically, I think we can move all the popup JSX code down into the component tree close to the code that triggers them if we show them as Modals.

Ensure that @CFIALeronB understands the plan for change so he can adequately comment on it.

authors: ChromaticPanic rngadam

repo: ai-cfia/nachet-frontend


text:
Add CycleGAN training routine

This PR adds a "cyclegan" training function which trains a CycleGAN model.
Added public API:

added registered "cyclegan" training function to fv3fit with fv3fit.pytorch.CycleGANHyperparameters configuration
added fv3fit.pytorch.CycleGAN Reloadable

Refactored public API:

Bulleted list of removed or refactored symbols, such as changes to name, type, behavior, argument, etc. Be cautious about doing these and discuss with team more broadly.
PytorchPredictor is now initialized with and contains as attribute a scalars mapping that uses str instead of Hashable for keys

Significant internal changes:

Pytorch autoencoder architecture has changed, and is no longer a U-Net

[x] Tests added

Coverage reports (updated automatically):

Note there is no automated unit test of the full CycleGAN itself, I did this intentionally because a) CycleGAN cannot overfit on one sample, and b) true training of the CycleGAN is too slow to run on PR in our test suite.

Superceded by #2032


text:
Digital Miner not auto-ejecting to chests

Mekanism 526 the digital miner ejecting not working did see this report( but i have the feeling you know and have fixed in the Dev) but on the off chance you dont know reporting it

Fixed :)

repo: aidancbrady/Mekanism


text:
[Api improvement] More customizable jetpacks

Hi, @aidancbrady.
I've writing addon for mekanism for my server and I encountered a problem:
I've created electrical jetpack, it works on energy, but in main MC gui I see "Hydrogen" string instead of "Energy" or something I want. I think will be better to get the display string from main class of Jetpack and then I can override that method and write my own information.
Thanks!

The Electrical Jetpack is part of IC2, not Mekanism.

And what I need to do with jetpack on other gases?on methane, for example? I too see Hydrogen on main screen.

On my add on, methane jetpack is an upgraded version of hydrogen jetpack.

So, if electrical jetpack already exists in other mod I can't create it in my addon for Mekanism? Non-static jetpack info is a good feature I think.

authors: Radviger aidancbrady


text:
Where I can find the dataset ?

Where I can find the dataset ?

you can find them here
https://cloud.ilabt.imec.be/index.php/s/eRkdk6NnJZNL5XG

authors: dingminhao mh-mahmoud


text:
Removed link to error messages between Incar and IncarItem

Here we remove the erroneous link between the Incar and IncarItem class with respect to error messages.

We need solve #70, which is not addressed in this PR.

repo: aiida-vasp/parsevasp


text:
Properly catch connection loss or timeouts

Some requests HTTP requests are not wrapped in a try/except as they should, to catch any timeouts or connection losses. Furthermore, the variable TIMEOUT_SECONDS in aiidalab_optimade.utils should be used throughout.

Fixed in #42

repo: aiidalab/aiidalab-optimade