text:
how to useGridRowGroup

I don't see any documentation around how to use this hook useGridRowGroup. I'm trying to follow the example from here https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/grid/stories/example.tsx. However, useListState only takes Item as the children nodes. I'm not able to use any other component created from useGridRowGroup
Expected Behaviour
export const GridRowGroup = (props) => {
  let { children } = props;
  let { rowGroupProps } = useGridRowGroup();
  return <div {...rowGroupProps}>{children}</div>;
};

<Grid>
    <Item></Item>
    <GridRowGroup>
        <Item />
    </GridRowGroup>
</Grid>

Actual Behaviour
Reproduce Scenario (including but not limited to)
Please take a look at this code snippet.
https://codesandbox.io/s/muddy-silence-di06sh
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem

Have you taken a look at how we use it in our components? Here's our TableView https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/table/src/TableView.tsx#L581
And here it is in our docs as well https://react-spectrum.adobe.com/react-aria/useTable.html#example
We haven't done documentation for the lower level grid hooks yet because they may still change.

Thank you!

authors: snowystinger xajhqffl

repo: adobe/react-spectrum


text:
Add docs for highlight selection

Docs for React Spectrum so far, React Aria examples to come.

Merge after release

source: gharchive/pull-request

authors: dannify devongovett

license_type: permissive

license_source: github-api


text:
Latest translations (Tag and Toast)

Latest translations for...

react-aria: tag and toast
react-spectrum: tag

GET_BUILD

authors: LFDanLu rgeraghty


text:
MWPW-146221 | Improving performance for hue sat

Improving performance for hue sat

Resolves: MWPW-146221
Test URLs:

Before: https://main--cc--adobecom.hlx.live/drafts/mathuria/interactiveelems/demo/huesat/hue-sat-marquee1?martech=off
After: https://mwpw-146221--cc--aishwaryamathuria.hlx.live/drafts/mathuria/interactiveelems/demo/huesat/hue-sat-marquee1?martech=off

Validated on the below url :
https://mwpw-146221--cc--aishwaryamathuria.hlx.live/drafts/suhjain/interactive-marquee/hue-sat-marquee?martech=off&mk=1
https://pagespeed.web.dev/analysis/https-mwpw-146221--cc--aishwaryamathuria-hlx-live-drafts-suhjain-interactive-marquee-hue-sat-marquee/8wi5tb9sqj?form_factor=mobile

https://mwpw-146221--cc--aishwaryamathuria.hlx.live/drafts/mathuria/interactiveelems/demo/huesat/hue-sat-marquee1
https://pagespeed.web.dev/analysis/https-mwpw-146221--cc--aishwaryamathuria-hlx-live-drafts-mathuria-interactiveelems-demo-huesat-hue-sat-marquee1/ep180wzsfv?form_factor=mobile

authors: aishwaryamathuria spadmasa

repo: adobecom/cc


text:
Mwpw 158926 company name wrap

before: https://partners.stage.adobe.com/channelpartners/home/
after: https://mwpw-158926-company-name-wrap--dme-partners--adobecom.hlx.page/channelpartners/home/

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

Project coverage is 83.57%. Comparing base (c031524) to head (dcf0299).

Additional details and impacted files
@@           Coverage Diff           @@
##            stage      #82   +/-   ##
=======================================
  Coverage   83.57%   83.57%
=======================================
  Files          10       10
  Lines        3179     3179
=======================================
  Hits         2657     2657
  Misses        522      522

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

@SonjaPopovic I think the "before" should be the URL on the stage branch, not partner-stage.adobe.com

repo: adobecom/dme-partners


text:
Revert "Build the tests with release=8 whenever it is possible"

Reverts adoptium/aqa-systemtest#489
related: https://github.com/adoptium/aqa-tests/issues/5760#issuecomment-2491232607

Can the branch revert-489-master be deleted, please? Thanks.

Done

authors: keithc-ca llxia

repo: adoptium/aqa-systemtest


text:
Ensure debug files are deterministic by mapping system include paths

Fixes https://github.com/adoptium/temurin-build/issues/3397
Update the build-scripts to add cflags for -fdebug-prefix-map of the gcc system include paths, so that an absolute path is not embedded in the debug files, which then makes the JDK libraries different due to the embedded CRC code.

A test pipeline: https://ci.adoptium.net/job/build-scripts/job/openjdk17-pipeline/716/

Noting that the single failure in the checks is the one fixed by https://github.com/adoptium/temurin-build/pull/3401

I've done an initial look over this - I wish it could be less complex :-) It looks like this is going to put a parameter like: -fdebug-prefix-map=/some/sysroot/include= Would it be preferable to have it set to the location where users are most likely to have the files such as /usr/include instead of leaving it blank to avoid debuggers being unable to find the files when needed? If I've misinterpreted this let me know.

@sxa The = blank is consistent with the what the openjdk make files add for the actual openjdk src folder, but I guess making to a likely common for these might make sense. The path gets "dirname'd", thus the path added are eg.
13:32:39  Adding -fdebug-prefix-map for root include: /usr/include
13:32:39  Adding -fdebug-prefix-map for gcc include: /usr/local/gcc11/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include
13:32:39  Adding -fdebug-prefix-map for g++ include: /usr/local/gcc11/include/c++/11.2.0

So currently, prior to this the User's gcc header path would have to be the same path and prefix a our compiler...

@sxa How about prefix mapping them to these, it then gives the user the chance to symlink appropriately if they wanted to debug with symbols? Different locations for gcc, as likely not installed by user in /usr/include :

root include : /usr/include
gcc include : /usr/local/gcc_include
g++ include : /usr/local/gxx_include

authors: andrew-m-leonard sxa

repo: adoptium/temurin-build


text:
More releasing guide updates

Plus a syntax fix in the last one.

Marking this ready for review without additional changes for now because the syntax problem is annoying ;-)


text:
API not sending back a response consistently

Working on a project and it seems like the API only sends back a response some of the time.

Console Errors:

Yeah, a cursory investigation of the logs indicates that we don't have enough dynos to SERVE ALL THESE DANG REQUESTS.

Hey guys, just saw this. I launched an app over the weekend that uses the API for its default avatars for new users, and we're getting a bit more traffic than we expected. If requests with referrals from treesradio.com are what's killing things for you let me know, I can spin up my own dyno so you guys don't have to take that hit.

@zbuttram I'd be curious to see if you redirecting to your own dyno changes the load enough to stop failures... atleast so we get a metric for what the capacity.

@itsthatguy Unfortunately I won't be able to spin it up and make the change until later today, probably after 7pm PST, but I'll get to it asap! Super sorry if we're the ones responsible, we really didn't expect the amount of traffic we're getting right now.

Just deployed the change on our end. Hopefully things look better soon.

I haven't seen any issues today on my end - I'm good with closing this issue

source: gharchive/issue

authors: itsthatguy rylnd voltaaage zbuttram

repo: adorableio/avatars-api

license: mit

license_source: bigquery


text:
"scrollbar-none" invalid on chromium when switch from 2.1.0 to 3.0.0.

tailwindcss
  .g-scrollbar {
    @apply scrollbar-thin scrollbar-w-1.5 scrollbar-thumb-border scrollbar-track-background;
  }

  .g-scrollbar-dark {
    @apply scrollbar-thin scrollbar-w-1.5 scrollbar-thumb-border-dark scrollbar-track-background-dark;
  }

  .g-scrollbar-hide {
    @apply scrollbar-none;
  }

code:
    document.documentElement.classList.remove('g-scrollbar');
    document.documentElement.classList.remove('g-scrollbar-dark');
    document.documentElement.classList.add('g-scrollbar-hide');

when switching back to 2.1.0, it can work properly.
What are the benefits for me to upgrade?

I need more to go on than this. What are you seeing that is making you think that it's invalid? In general, when filing a bug report anywhere, try to include all of the following:

What you did
What you expected to happen
What actually happened

Sorry, my English is very poor.
I want to hide the scrollbar with "scrollbar-none".

It can work properly at version 2.1.0.
But, when I upgrade to version 3.0.0, it can't hide the scrollbar.
Thanks for your project.

I understand that you're trying to use the scrollbar-none utility. I need to know how you're using it to be of any help. Do you have a small code snippet that you're using to run this test between versions?

My code
  .g-scrollbar-hide {
    @apply scrollbar-none;
  }

document.documentElement.classList.add('g-scrollbar-hide');

I'm getting the feeling that you're trying to use scrollbar-none to toggle off an existing scrollbar setting. That won't work (and has never worked) - see the screenshot you posted:

Because of browser quirks, this cannot be used to hide an existing styled scrollbar

When used on its own simply to hide a normal (i.e. unstyled) scrollbar, it's working as expected for me, and I have tests to verify that the CSS that's generated for scrollbar-none has not changed between 2.1.0 and 3.0.0.

Ok, thanks for your replay~

repo: adoxography/tailwind-scrollbar

license: MIT


text:
Initialize with local data?

Great package. I really appreciate your work!
Is there a way to initialize the localForage data with a local JSON file, such that when the app is opened for the first time while offline, there is already some data? I'm talking about an Ionic app on a smartphone, where I would like to ship the data as a JSON file with the app bundle and only use firebase for incremental updates.

Hi @pwespi, I think you've come across a very important use case! 👍
Demo
Here is a demo (with code) of initializing app data from a Json file, and it does work offline! 🎉
Testing in browser

Visit demo
Go offline
Open dev tools, go to IndexedDB, click localforage, then click keyvaluepairs, and clear the browser's local storage by clicking the lower righthand button
Reload demo

You should now see data initialized from the Json file!
Loading Json files
Loading Json files can be a little tricky using Typescript.
I just added the following to src/typings.d.ts:
declare module "*.json" {
  const value: any;
  export default value;
}

and imported it like this:
import jsonFile from './json-file-example.json';

These links may be helpful:

Hackernoon - How to Import json into TypeScript
SO - how to use a json file in a typescript file

Initializing data
To initialize data, just add the data as you normally would with any Firebase list/object.
Example:
initializeData() {
  // Add list data from Json file
  this.groceries.remove(); // Remove is optional
  jsonFile.listExample.forEach(listItem => {
    this.groceries.push(listItem);
  });
  // Add object data from Json file
  this.car.set(jsonFile.objectExample);
}

Just call the initializeData method when you want to initialize your app's data.
Next steps
Next you might want to make sure that the data was not already initialized by adding a data object to your Firebase database. You would then check this data point before initializing data so that the Json file is only loaded once.

authors: adriancarriger pwespi


text:
[Question] Intent with opened app

I'm writing an app using voyager right now and in the android part there was a problem with the standard code:
val appLinkIntent: Intent = intent
val appLinkAction: String? = appLinkIntent.action
val appLinkData: Uri? = appLinkIntent.data
setContent {
     AppTheme {
            setupKoin()
            if (appLinkData != null) {
                 if (!appLinkData.toString().startsWith("myApp:")) {
                     getLink(appLinkData.toString())
                    } else {
                        settings["authCode"] = appLinkData.toString().split("code=")[1]
                    }
                }
                setupUI()
            }
        }

doesn't work, because after I opened a link and the link returned via redirect_url with myApp://support?code=123 my application just didn't reach that point and continued from the same point. I even double-checked the settings current - it didn't write there either

Ok, i can just override onNewIntent

repo: adrielcafe/voyager


text:
medusa-plugin-auth plugin not working with latest version of medusa.

Unable to use medusa-plugin-auth getting following error while using it.
warn:    An error occurred while registering endpoints in medusa-plugin-auth
warn:    TypeError: app.use() requires a middleware function
at Function.use (/Users/yag/Documents/projects/my-medusa-store/node_modules/express/lib/application.js:217:11)
at /Users/yag/Documents/projects/my-medusa-store/node_modules/@medusajs/medusa/dist/loaders/plugins.js:376:37
at step (/Users/yag/Documents/projects/my-medusa-store/node_modules/@medusajs/medusa/dist/loaders/plugins.js:33:23)
at Object.next (/Users/yag/Documents/projects/my-medusa-store/node_modules/@medusajs/medusa/dist/loaders/plugins.js:14:53)

Would have been nice to look for existing issues first 😊
https://github.com/adrien2p/medusa-plugins/issues/129


text:
Update install instructions

Update install instructions for both VBA and VSTO versions.

duplicate

repo: aduguid/ScriptHelp


text:
Support basic slicing of sequences

Doesn't yet support the case of x[:0] = [1, 2, 3] (which is a different length), which I hope is uncommon.  My main use of this is [:] which works here.

#10 will also make the unsupported cases easier, with the caveat that the upgrade may lose extraneous (trailing) whitespace and comments for the whole sequence.  I think that's a fair tradeoff.

repo: advice-animal/codemod-yaml


text:
Updated attica url

previous url was returning 404

:+1:

authors: faun hideov

repo: adymo/homebrew-kde


text:
'&' !== ("")"link"[10]

Expression ("")"link"[10] error : Uncaught SyntaxError: Invalid or unexpected token

Looks like it was introduced here:
https://github.com/aemkei/jsfuck/commit/b618bf470c21ed3f76dc267c1feefe7e4d684490
cc @subzey

@aemkei, @jserNc.  What are the evidences of that '&' !== ("")["link"](0+")[10]? Which browser?
The repository has tests, and according to these tests all ASCII7 characters are generated correctly and produce correct results.
Because of the peculiarity of how the substitutions work in the JSFuck the " symbol if needed to be substituted by the code should not be enclosed into the quotes ('"') or escaped (\"). The original expression for & is ("")["link"](0+'"')[10] (note the difference between what's in the code and here: the " is not escaped.

You are right. Thanks for the clarification!

authors: aemkei hazzik jserNc

repo: aemkei/jsfuck

license: WTFPL


text:
[MNT] Split the annotation module into different packages

Describe the issue
The annotation module is currently a mix of different tasks including anomaly detection, segmentation, motif discovery, etc.
After a discussion on 05/09/23, attending developers thought it would be better to split this module up into different packages, i.e. anomaly_detection, segmentation.
This issue is here for further discussion on the topic, feel free to give your thoughts.
Suggest a potential alternative/fix
Create new packages for each task, and migrate algorithms currently in annotation over time.

see #592
I think we should split this into segmentation and anomaly detection, and we should do it before reinstating the deprecation policy. It would also be much easier to have coherent base classes
segmentation
ClaspSegmentation: Segmentation (BaseSeriesAnnotator)
GGS: Segmentation (no base class)
IGTS: Segmentation (no base class)
InformationGainSegmentation: Segmentation (SegmentationMixin)
anomaly detection:
STRAY: robust anomaly detection in data streams with concept drift. (BaseTransformer)
PyODAnnotator. "Transformer that applies outlier detector from pyOD." (BaseSeriesAnnotator)
not sure about:
HMM: "Implements a simple HMM fitted with Viterbi algorithm." (BaseSeriesAnnotator).
EAAgglo: "is a non-parametric clustering approach for multivariate timeseries" Should then be in clustering, but this class extends BaseTransformer, which seems a bit odd. Name not exactly informative

Think we can close this now and open more specific issues if required

repo: aeon-toolkit/aeon


text:
Немогу понять что не так...

Ошибка: Доступ запрещён (возможно, в группе от имени которой отправляется комментарий у аккаунта нет роли редактора) [15]
Я являюсь создателем группы
{
"token": "54846",
"group_link": "vk.com/***world",
"ignore_links": true,
"links": [
],
"messages": [
"Всем привет, эту группу видели? vk.com/***world"
],
"attachments": [
],
"autosubscribe": true,
"like": true,
"comment": true,
"likecomment": true,
"time": 10000
}

Привет, извини за долгий ответ. Нужно конкретно тестировать, в чем проблема.
Можешь отписать мне в телеграм: @aeonixlegit, будем разбираться.

Долго не было ответа, закрываю тему.

authors: aeonixlegit nawmem

repo: aeonixlegit/vk-autocomment


text:
minor updates

A bunch of Minor updates for Java 8, aerogear-parent, and android exclusions.

@secondsun is this PR complete? On IRC you mentioned a it needs an update, so I am not sure

authors: matzew secondsun

repo: aerogear/aerogear-crypto-java


text:
Change OSX node label to "ios"

I think "ios" label better describes purpose of the node.

@matskiv yes i agree with the change, as we call calling the slaves for android android as they build android not the the OS that is on the slave. In this case we are building ios not macOS

authors: laurafitzgerald matskiv

repo: aerogear/digger-jenkins


text:
gqlserve print-schema does not quit after printing schema

I have confirmed this is due to the MongoDB memory server not stopping, I am working on a PR to solve this issue

Closed by #865

repo: aerogear/graphback


text:
AEROGEAR-2794 Document how to download the build artefact to device

JIRA: AEROGEAR-2794
MOTIVATION
Update the documentation for creating a mobile build with a section around how to access and download your artefact once it is ready using the generated QR code.

@maleck13, @odra updated

repo: aerogear/mobile-core


text:
Add skin and videoCodec capabilities

Should set respective environment variables.

+1

Hi
Can you add PRESET an CRF?
For implementing Lossless H.264
like:
ffmpeg -i input -c:v libx264 -preset ultrafast -crf 0 output.mkv
doc:
https://trac.ffmpeg.org/wiki/Encode/H.264

@swifty-team please create a separate issue.

authors: swifty-team vania-pooh

repo: aerokube/selenoid


text:
Firefox 80 failing after a couple minutes in parallel

I've been testing out Selenoid to see if it would be a good solution for us and I was super impressed when Chrome was so fast and worked incredibly well.  However I am not able to run tests effectively in Firefox.  I run 5 tests in parallel (which for a 6 core machine should be no problem and there were no problems with Chrome) and after just a few minutes I get random failures but they all have 1 of 2 errors.
The main error is: org.openqa.selenium.NoSuchSessionException: Tried to run command without establishing a connection
This error will usually happen after 1 or 2 tests pass in a class.
Less rarely I see this error: NoSuchWindowException: Browsing context has been discarded
My guess is Firefox is probably crashing, but I'm unsure why.
Here is my browsers.json
{     "chrome": {         "default": "85.0",         "versions": {             "85.0": {                 "image": "selenoid/chrome:85.0",                 "port": "4444",                 "path": "/",                 "tmpfs": {"/tmp": "size=512m", "/var": "size=128m"},                 "shmSize" : 2147483648             }         }     },     "firefox": {         "default": "80.0",         "versions": {             "80.0": {                 "image": "selenoid/firefox:80.0",                 "port": "4444",                 "path": "/wd/hub",                 "tmpfs": {"/tmp": "size=512m", "/var": "size=128m"},                 "shmSize" : 2147483648             }         }     } }
I start selenoid with this command:
HTTP_PROXY=proxy.company.com:8080 HTTPS_PROXY=proxy.company.com:8080 ./cm selenoid start --args "-limit 10" --shm-size 2000
I am unsure of what else to try.  Is anyone else having this issue?
Let me know what else I can provide.  This is what I get from running "docker logs selenoid":
[2020/09/04 15:46:35 [-] [INIT] [Loading configuration files...] 2020/09/04 15:46:35 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json] 2020/09/04 15:46:35 [-] [INIT] [Video Dir: /opt/selenoid/video] 2020/09/04 15:46:35 [-] [INIT] [Logs Dir: /opt/selenoid/logs] 2020/09/04 15:46:35 [-] [INIT] [Using Docker API version: 1.40] 2020/09/04 15:46:35 [-] [INIT] [Timezone: UTC] 2020/09/04 15:46:35 [-] [INIT] [Listening on :4444] 2020/09/04 15:50:16 [-] [NEW_REQUEST] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [-] [NEW_REQUEST] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [1] [LOCATING_SERVICE] [firefox] [] 2020/09/04 15:50:16 [0] [LOCATING_SERVICE] [firefox] [] 2020/09/04 15:50:16 [-] [DEFAULT_VERSION] [Using default version: 80.0] 2020/09/04 15:50:16 [-] [DEFAULT_VERSION] [Using default version: 80.0] 2020/09/04 15:50:16 [1] [USING_DOCKER] [firefox] [80.0] 2020/09/04 15:50:16 [0] [USING_DOCKER] [firefox] [80.0] 2020/09/04 15:50:16 [0] [CREATING_CONTAINER] [selenoid/firefox:80.0] 2020/09/04 15:50:16 [1] [CREATING_CONTAINER] [selenoid/firefox:80.0] 2020/09/04 15:50:16 [-] [NEW_REQUEST] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [2] [LOCATING_SERVICE] [firefox] [] 2020/09/04 15:50:16 [-] [DEFAULT_VERSION] [Using default version: 80.0] 2020/09/04 15:50:16 [2] [USING_DOCKER] [firefox] [80.0] 2020/09/04 15:50:16 [2] [CREATING_CONTAINER] [selenoid/firefox:80.0] 2020/09/04 15:50:16 [-] [NEW_REQUEST] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [3] [LOCATING_SERVICE] [firefox] [] 2020/09/04 15:50:16 [-] [DEFAULT_VERSION] [Using default version: 80.0] 2020/09/04 15:50:16 [3] [USING_DOCKER] [firefox] [80.0] 2020/09/04 15:50:16 [3] [CREATING_CONTAINER] [selenoid/firefox:80.0] 2020/09/04 15:50:16 [0] [STARTING_CONTAINER] [selenoid/firefox:80.0] [c5dc9643c8a7d52fc17105f98d177b7c48af0d021612c36917111d4c11a13f9a] 2020/09/04 15:50:16 [1] [STARTING_CONTAINER] [selenoid/firefox:80.0] [5e354dabcb5a60e53664e14ebc6c752fefc33ed9429c780f07690b3b417b082b] 2020/09/04 15:50:16 [2] [STARTING_CONTAINER] [selenoid/firefox:80.0] [f61efae793d25677f57487bc53b0334602d0f8c83775f755d67dff5337200f8d] 2020/09/04 15:50:16 [3] [STARTING_CONTAINER] [selenoid/firefox:80.0] [a86ae6b1d0e4797fafa50d167d43f62a4f771c745f03dd23b05513cb7146c7f2] 2020/09/04 15:50:16 [-] [NEW_REQUEST] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.1] 2020/09/04 15:50:16 [4] [LOCATING_SERVICE] [firefox] [] 2020/09/04 15:50:16 [-] [DEFAULT_VERSION] [Using default version: 80.0] 2020/09/04 15:50:16 [4] [USING_DOCKER] [firefox] [80.0] 2020/09/04 15:50:16 [4] [CREATING_CONTAINER] [selenoid/firefox:80.0] 2020/09/04 15:50:16 [4] [STARTING_CONTAINER] [selenoid/firefox:80.0] [96e3579c37d4b92c4d3c192c3a09291963e89b4781020887d1c83fcdc9eacfcf] 2020/09/04 15:50:17 [1] [CONTAINER_STARTED] [selenoid/firefox:80.0] [5e354dabcb5a60e53664e14ebc6c752fefc33ed9429c780f07690b3b417b082b] [0.81s] 2020/09/04 15:50:17 [0] [CONTAINER_STARTED] [selenoid/firefox:80.0] [c5dc9643c8a7d52fc17105f98d177b7c48af0d021612c36917111d4c11a13f9a] [0.84s] 2020/09/04 15:50:17 [2] [CONTAINER_STARTED] [selenoid/firefox:80.0] [f61efae793d25677f57487bc53b0334602d0f8c83775f755d67dff5337200f8d] [0.87s] 2020/09/04 15:50:17 [4] [CONTAINER_STARTED] [selenoid/firefox:80.0] [96e3579c37d4b92c4d3c192c3a09291963e89b4781020887d1c83fcdc9eacfcf] [0.75s] 2020/09/04 15:50:17 [3] [CONTAINER_STARTED] [selenoid/firefox:80.0] [a86ae6b1d0e4797fafa50d167d43f62a4f771c745f03dd23b05513cb7146c7f2] [0.98s] 2020/09/04 15:50:20 [4] [SERVICE_STARTED] [selenoid/firefox:80.0] [96e3579c37d4b92c4d3c192c3a09291963e89b4781020887d1c83fcdc9eacfcf] [2.83s] 2020/09/04 15:50:20 [4] [PROXY_TO] [96e3579c37d4b92c4d3c192c3a09291963e89b4781020887d1c83fcdc9eacfcf] [http://172.18.0.7:4444/wd/hub] 2020/09/04 15:50:20 [4] [SESSION_ATTEMPTED] [http://172.18.0.7:4444/wd/hub] [1] 2020/09/04 15:50:20 [3] [SERVICE_STARTED] [selenoid/firefox:80.0] [a86ae6b1d0e4797fafa50d167d43f62a4f771c745f03dd23b05513cb7146c7f2] [2.81s] 2020/09/04 15:50:20 [3] [PROXY_TO] [a86ae6b1d0e4797fafa50d167d43f62a4f771c745f03dd23b05513cb7146c7f2] [http://172.18.0.6:4444/wd/hub] 2020/09/04 15:50:20 [3] [SESSION_ATTEMPTED] [http://172.18.0.6:4444/wd/hub] [1] 2020/09/04 15:50:20 [2] [SERVICE_STARTED] [selenoid/firefox:80.0] [f61efae793d25677f57487bc53b0334602d0f8c83775f755d67dff5337200f8d] [2.97s] 2020/09/04 15:50:20 [2] [PROXY_TO] [f61efae793d25677f57487bc53b0334602d0f8c83775f755d67dff5337200f8d] [http://172.18.0.5:4444/wd/hub] 2020/09/04 15:50:20 [2] [SESSION_ATTEMPTED] [http://172.18.0.5:4444/wd/hub] [1] 2020/09/04 15:50:20 [0] [SERVICE_STARTED] [selenoid/firefox:80.0] [c5dc9643c8a7d52fc17105f98d177b7c48af0d021612c36917111d4c11a13f9a] [3.01s] 2020/09/04 15:50:20 [0] [PROXY_TO] [c5dc9643c8a7d52fc17105f98d177b7c48af0d021612c36917111d4c11a13f9a] [http://172.18.0.3:4444/wd/hub] 2020/09/04 15:50:20 [0] [SESSION_ATTEMPTED] [http://172.18.0.3:4444/wd/hub] [1] 2020/09/04 15:50:20 [1] [SERVICE_STARTED] [selenoid/firefox:80.0] [5e354dabcb5a60e53664e14ebc6c752fefc33ed9429c780f07690b3b417b082b] [3.07s] 2020/09/04 15:50:20 [1] [PROXY_TO] [5e354dabcb5a60e53664e14ebc6c752fefc33ed9429c780f07690b3b417b082b] [http://172.18.0.4:4444/wd/hub] 2020/09/04 15:50:20 [1] [SESSION_ATTEMPTED] [http://172.18.0.4:4444/wd/hub] [1] 2020/09/04 15:50:26 [3] [SESSION_CREATED] [e2d933ec-34ab-419a-9a41-cbefaa0ba9b4] [1] [9.89s] 2020/09/04 15:50:26 [2] [SESSION_CREATED] [3838cabf-6541-40f2-bd42-dba12aa2d5dc] [1] [9.90s] 2020/09/04 15:50:26 [0] [SESSION_CREATED] [b347acd1-cf49-4898-8602-6e2232c911d8] [1] [9.94s] 2020/09/04 15:50:26 [4] [SESSION_CREATED] [e3669da3-4b97-492e-8fb9-f7d327fa24f4] [1] [9.79s] 2020/09/04 15:50:26 [1] [SESSION_CREATED] [bb5b0298-09e3-4a91-b4f6-f389ef0e0b94] [1] [10.03s] 2020/09/04 15:54:29 [7832] [SESSION_DELETED] [b347acd1-cf49-4898-8602-6e2232c911d8] 2020/09/04 15:54:29 [7835] [SESSION_DELETED] [e3669da3-4b97-492e-8fb9-f7d327fa24f4] 2020/09/04 15:54:29 [7837] [SESSION_DELETED] [3838cabf-6541-40f2-bd42-dba12aa2d5dc] 2020/09/04 15:54:29 [7836] [SESSION_DELETED] [e2d933ec-34ab-419a-9a41-cbefaa0ba9b4] 2020/09/04 15:54:29 [7838] [SESSION_DELETED] [bb5b0298-09e3-4a91-b4f6-f389ef0e0b94] 2020/09/04 15:54:30 [3] [REMOVING_CONTAINER] [a86ae6b1d0e4797fafa50d167d43f62a4f771c745f03dd23b05513cb7146c7f2] 2020/09/04 15:54:30 [2] [REMOVING_CONTAINER] [f61efae793d25677f57487bc53b0334602d0f8c83775f755d67dff5337200f8d] 2020/09/04 15:54:32 [3] [CONTAINER_REMOVED] [a86ae6b1d0e4797fafa50d167d43f62a4f771c745f03dd23b05513cb7146c7f2] 2020/09/04 15:54:32 [2] [CONTAINER_REMOVED] [f61efae793d25677f57487bc53b0334602d0f8c83775f755d67dff5337200f8d] 2020/09/04 15:54:34 [0] [REMOVING_CONTAINER] [c5dc9643c8a7d52fc17105f98d177b7c48af0d021612c36917111d4c11a13f9a] 2020/09/04 15:54:34 [4] [REMOVING_CONTAINER] [96e3579c37d4b92c4d3c192c3a09291963e89b4781020887d1c83fcdc9eacfcf] 2020/09/04 15:54:35 [0] [CONTAINER_REMOVED] [c5dc9643c8a7d52fc17105f98d177b7c48af0d021612c36917111d4c11a13f9a] 2020/09/04 15:54:35 [4] [CONTAINER_REMOVED] [96e3579c37d4b92c4d3c192c3a09291963e89b4781020887d1c83fcdc9eacfcf] 2020/09/04 15:54:35 [1] [REMOVING_CONTAINER] [5e354dabcb5a60e53664e14ebc6c752fefc33ed9429c780f07690b3b417b082b] 2020/09/04 15:54:35 [1] [CONTAINER_REMOVED] [5e354dabcb5a60e53664e14ebc6c752fefc33ed9429c780f07690b3b417b082b]

@jacattau I would take a look at memory consumption first.

@vania-pooh maybe I am missing it but I am not seeing what command to run to check this.  Could you point me in the right direction?  If i do see that i don't have sufficient memory how would I go about adding more?  I set the shmSize to 2gb already.

@jacattau I mean using commands like free and top.

I wasn't getting free to work but I did get top to work even though it wasn't showing me much in the way of memory usage.  I used docker stats and that got me some usage in real time.
I upped the memory from 2gb to 4gb but that only seemed to help a little.  From the point my tests started failing here was the usage statistics:
CONTAINER ID        NAME                   CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
5ef51bfc985e        selenoid               8.55%               7.445MiB / 3.848GiB   0.19%               361MB / 377MB       0B / 0B             19
0d09bf806e4c        focused_wescoff        0.29%               29.5MiB / 3.848GiB    0.75%               26.2MB / 5.51MB     0B / 0B             49
c87fb79d137d        gifted_chandrasekhar   75.79%              727.8MiB / 3.848GiB   18.47%              22.6MB / 4.6MB      0B / 0B             202
506747aff18c        modest_cohen           142.32%             725.6MiB / 3.848GiB   18.42%              19.1MB / 4.46MB     0B / 0B             201
b8a84da8cba6        xenodochial_liskov     68.34%              852.8MiB / 3.848GiB   21.64%              19.2MB / 3.95MB     0B / 0B             202
dc616d60aaed        gracious_engelbart     67.33%              718.3MiB / 3.848GiB   18.23%              17.3MB / 3.85MB     0B / 0B             200
So it looks like even though upping the memory to 4gb shouldn't have made a difference from 2gb.  However, it did work better with 4gb but I am still seeing this issue.  Right now it's about 24 failures out of 600 tests.  I am running on a 6 core machine so it should 100% be able to handle 5 parallel sessions right?
I do not think I have video recording running unless I am misunderstanding the documentation.  Do I need to do anything to disable video?  From what I understand it's disabled unless I set the capability to true.

@jacattau could you attach a log of failed session here (it will be automatically saved when enableLog capability is set)? Video recording is turned off by default.

Hi @vania-pooh I will try to get that to you, but I think there might actually be an issue with Firefox 80.0 itself.  I noticed they quickly released version 80.0.1 with this release notes: https://www.mozilla.org/en-US/firefox/80.0.1/releasenotes/
I started running tests on Firefox 79 (I didn't see a selenoid image for 80.0.1) and so far it seems to be working but I haven't finished a single regression suite yet. I will hammer 79 pretty hard and see if I can reproduce.

@jacattau they are doing hotfix releases almost for every stable release. But if your theory confirms - let's rebuild and image with 80.0.1 then.

@vania-pooh i do think there is an issue with 80.  I've been having success with 79 outside of the issue in #713  although i am seeing this on Chrome as well.  At this point #713 might be the only thing keeping me from adopting selenoid right now.

authors: jacattau vania-pooh


text:
Fix AddonCharacter PreviewCollisionNode

I slipped.

I slipped again.

repo: aers/FFXIVClientStructs


text:
feat: Top accounts

Description
resolves #616

The endpoint responds with top 200 accounts. Cannot be limited to 100. I think we can proceed with that https://mainnet.aeternity.io/mdw/v3/wealth?limit=100

Demo
https://github.com/aeternity/aescan/assets/15363559/2087fa57-f8d8-4090-91ac-2f3c69223780
Checklist:

[x] I have read and followed the Contributing Guide
[X] add top accounts page

is this feature only for mainnet accounts?
it might be worth adding a period at the end of the sentence to make it the same as the other sentences:

the rest LGTM.

is this feature only for mainnet accounts?

No, why? Different networks has different responses.

it might be worth adding a period at the end of the sentence to make it the same as the other sentences:

Sure, fixed. Thanks

@michele-franchi I was thinking about shortening the list to 100 (just print half of it), as the lower half does not have very important entries

Agree @janmichek, makes sense.

Agree @janmichek, makes sense.

fixed

authors: Liubov-crypto janmichek michele-franchi

repo: aeternity/aescan

license: ISC


text:
Readme.md

added the word YOU and the right link to the readme.md

I'd remove the link to the forum post at all, in favor of the faucet.
Also people should contribute to this using a PR not editing the file directly (where they don't have access to anyways)

authors: eminogrande thepiwo

repo: aeternity/tutorials


text:
Add response_type=code to Oauth.AuthorizeURL output.

This is currently the only response_type supported by the DNSimple API.
Documented in https://developer.dnsimple.com/v2/oauth/

LGTM :+1:

authors: aeden weppos

repo: aetrion/dnsimple-go


text:
Relationship Criteria Issue.

I currently have a Relationship Criteria on one of the Lookup Rollup Summary's I created and having issues with it working correctly.  I am looking for it to look for records that are Active, IsNew=True and the name of the record needs to start with either, AB, CE, EF, or GH.
See below for the criteria I created.
Status='Active' AND IsNew__c=TRUE AND (Name LIKE '%AB%' OR Name LIKE '%CD%' OR Name LIKE '%EF%' OR Name LIKE '%GH%')
Relationship Criteria Fields are:  Status, IsNew__c, Name
For some reason, other values other than the ones I specified within my criteria are displaying in the Aggregated Results Field.  Example, it will show 'TM34553', and TM is not even part of the criteria.
Any thoughts and/or suggestions are welcomed.

Hmmm none I am afraid that does not make sense. Maybe try the query in the Developer Console which lets you see the records selected. Perhaps this will shed some light?

authors: SenseiJP afawcett


text:
Fix #794

These changes should fix issue #794, providing a more meaningful message when we face a storage limit exception. This also allows for more DmlExceptions to be handled, but as far as I know most of them are impossible to mock in a test (like the storage exception itself).

@afawcett might want to take a look at the CI build.

@renatoliveira this looks great, thank you!
I don't have perms to merge so hopefully Andy get to this in short order.

@renatoliveira  thanks for this, looks good!

authors: afawcett aheber renatoliveira


text:
Add dummy bytes to adhere to the standard

https://openlabpro.com/guide/interfacing-microcontrollers-with-sd-card/

TECHNICAL NOTE: After interfacing the card, the micro-controller must always send a set of bytes, which we will refer to as dummy bytes. One dummy byte is 0xFF. These dummy bytes have a simple yet significant purpose. Prior to the initialization, the card must know the frequency at which the data is being sent. By sending around 75 dummy bits approximately (dummy byte * 10 times = 80 bits), the card will be ready for communication. Also even after every command is sent, it is a good practice to send at least one dummy byte. A logical explanation for this is that communication is driven by the clock pulse of the micro-controller. The clock pulse is sent only when the data buffer is filled. After every response is sent and prior to the next command or between command and response, the SCK will stop generating pulses due to an empty data buffer.

I had a problem in which my SD card was unreliable, it would occasionally stuck in dead loop waiting for R1. Turned out I missed them as I didn't give SD card time to process my command. This PR fixes that by feeding the sd card one header and one trailing dummy byte (0xFF)

Never minds the cause of my problems was an unreliable power supply.


text:
Distance calculation failure

Hi,
I tried to run AFLGo with openjpeg according to README.
I succeeded to instrument but when I run gen_distance_fast.py script, the error messages are printed repeatedly as follows.
~/aflgo$ $AFLGO/scripts/gen_distance_fast.py $SUBJECT/build/bin $TMP_DIR opj_dump
(0) Constructing CG for /home/user/aflgo/openjpeg-2.1.1/build/bin/opj_dump.0.0.preopt.bc..
(1) Computing distance for callgraph
(1) Computing distance for control-flow graphs (this might take a while)
cfg distance calculator failed while calculating distance for /home/user/aflgo/temp/BBtargets.txt.
cfg distance calculator failed while calculating distance for /home/user/aflgo/temp/BBtargets.txt.
cfg distance calculator failed while calculating distance for /home/user/aflgo/temp/BBtargets.txt.
...

~/aflgo/temp$ cat step0.log
Writing 'callgraph.dot'...

Can you tell me what's the problem?
Additionally, I also tried to fuzz gif2png. However the configuration step failed with the following error.
$ ./configure
...
checking whether make sets $(MAKE)... yes
checking for gcc... /home/user/aflgo/gif2png-2.5.8/afl-clang-fast
checking whether the C compiler works... no
configure: error: in `/home/user/aflgo/gif2png-2.5.8':
configure: error: C compiler cannot create executables
See `config.log' for more details

I followed all 1~6 step on README file, Is there something I missed?

Does it generate the distance.cfg.txt file? If not, can you try gen_distance.sh instead of gen_distance_fast.py?
//cc @Liblor

Thank you! It works!
However I met another error..
Working in CG mode..
Loading targets..
No targets available
-- Problem in Step 2 of generating !
-- You can resume by executing:
$ ./scripts/genDistance.sh /home/user/aflgo/openjpeg-2.1.1/build/bin /home/user/aflgo/temp opj_dump /home/user/aflgo/temp /home/user/aflgo/temp

When I run the command, It returns the same error.
I wrote the BBtargets.txt file manually instead of executing showlinenum.awk because I have no diff file.
Is it related to the error?? My BBtargets.txt file looks like this.
circuit@circuit:~/aflgo/temp$ cat BBtargets.txt
src/lib/openjp2/cio.c:87

I think the issue is the same. Probably, gen_distance_fast.py doesn't catch the error nicely (if this is the case I'll try to address that to get more helpful bugreports). I'll see if I can reproduce the problem

Thanks. The targeted openjpeg is version 2.1.1.
Is there any way to proceed the fuzz test right away or should I wait for the problem to be fixed?

The issue is that you probably don't compile opj_dump statically, as this isn't the default! In that case, gen_distance_fast.py / genDistance.sh can't find the targeted function in the callgraph, because they are in some shared library (that's why genDistance.sh complains that no targets are available).
Compile opj_dump as follows and it should work:
cmake -DBUILD_SHARED_LIBS=off ..
make opj_dump

(also remove the previous build directory and temp dir, to be sure to have no conflicting files)
Let me know, if you got it running.

I succeeded with the cmake option! However my distance.cfg.txt file is empty..😢
~/aflgo/temp$ cat distance.cfg.txt
~/aflgo/temp$ cat step0.log
Writing 'callgraph.dot'...

Both scripts genDistance.sh and gen_distance_fast.py show the same result.
How can i fix it? This is my step2.log step2.log

Hi,
unfortunately I can't reproduce your issue. Maybe you had an old state file in the $TMP_DIR folder?
Here are the steps I performed:
# clear tmp dir and set the target
rm -r $TMP_DIR/*
echo "cio.c:87" > $TMP_DIR/BBtargets.txt

# Set aflgo-instrumenter
export CC=$AFLGO/afl-clang-fast
export CXX=$AFLGO/afl-clang-fast++

# Set aflgo-instrumentation flags
export ADDITIONAL="-targets=$TMP_DIR/BBtargets.txt -outdir=$TMP_DIR -flto -fuse-ld=gold -Wl,-plugin-opt=save-temps"
export CFLAGS="$ADDITIONAL"
export CXXFLAGS="$ADDITIONAL"

# Build opj_dump
cd $SUBJECT
mkdir build && cd build
cmake -DBUILD_SHARED_LIBS=off ..
make opj_dump

# Clean up
cat $TMP_DIR/BBnames.txt | rev | cut -d: -f2- | rev | sort | uniq > $TMP_DIR/BBnames2.txt && mv $TMP_DIR/BBnames2.txt $TMP_DIR/BBnames.txt
cat $TMP_DIR/BBcalls.txt | sort | uniq > $TMP_DIR/BBcalls2.txt && mv $TMP_DIR/BBcalls2.txt $TMP_DIR/BBcalls.txt

# Distance computation
$AFLGO/scripts/gen_distance_fast.py $SUBJECT/build/bin $TMP_DIR opj_dump

and the distance file isn't empty:
cat $TMP_DIR/distance.cfg.txt | sort | head
cio.c:78,6
cio.c:83,4
cio.c:85,3
cio.c:86,2
cio.c:87,1
j2k.c:1369,13
j2k.c:1376,12
j2k.c:1377,11
j2k.c:1385,13
j2k.c:1392,12

Thanks for your help!! I succeeded to run the fuzzer!😊😊

authors: Liblor blbi mboehme

repo: aflgo/aflgo


text:
OS independent path 'META-INF/core.kotlin_module'

When i updated from 3.1.1 to 3.2.1 or 3.3.0 i got error:
"More than one file was found with OS independent path 'META-INF/core.kotlin_module'"
Kotlin version is 1.3.61
Gradle version is 3.5.3

Also got the same error at compile time

Fixed it with
android {     packagingOptions {         pickFirst 'META-INF/core.kotlin_module'     } }
clean and rebuild.

authors: JajaComp oppongjr

repo: afollestad/material-dialogs


text:
Change treatment of Common › Type: A-ENTITY → <a-entity>

can we tagName.toLowerCase()?

maybe even put brackets around it so it's more clear? idk…
<a-entity>:

Done as discussed in #26 too

Can you make this monospaced per the mock?

@cvan do you mean using monospace font?

@cvan do you mean using monospace font?

yep. I opened #134.

authors: cvan fernandojsg

repo: aframevr/aframe-editor


text:
Agave on Nerd Fonts!?

I was looking at Nerd Fonts collection on their website and they included Agave.
I didn't even knew that.
I feel good.

And so it is indeed! Much thanks to @xasx for the shout on the nerd-fonts issue tracker.
I'd like to take the opportunity to also give thanks to @jilen for mentioning agave to the codeface project, @dtzWill for packaging the font for nixos, and to various websites that mention the font.
I haven't looked around further so apologies if I fail to acknowledge anyone else who graciously helped to allow agave reach a larger audience.

I brag to my friends about agave, but never thought about bragging online, well, I'll try to brag whenever I can.

Thanks @aasutossh ! I'm so glad you like the font. All my love to everyone who's shown interest in agave.

Best looking font on my screen! Thank you!

Closing, but please reopen if anyone sees fit.

authors: aasutossh agarick jozsefk9

repo: agarick/agave


text:
Chapter 11. SELU example

Original
means = X_train.mean(axis=0, keepdims=True)
stds = X_train.std(axis=0, keepdims=True) + 1e-10
X_val_scaled = (X_valid - means) / stds

with tf.Session() as sess:
    init.run()
    for epoch in range(n_epochs):
        for X_batch, y_batch in shuffle_batch(X_train, y_train, batch_size):
            X_batch_scaled = (X_batch - means) / stds
            sess.run(training_op, feed_dict={X: X_batch_scaled, y: y_batch})
        if epoch % 5 == 0:
            acc_batch = accuracy.eval(feed_dict={X: X_batch_scaled, y: y_batch})
            acc_valid = accuracy.eval(feed_dict={X: X_val_scaled, y: y_valid})
            print(epoch, "Batch accuracy:", acc_batch, "Validation accuracy:", acc_valid)

New
x_val_means = X_valid.mean(axis=1, keepdims=True)
x_val_stds = X_valid.std(axis=1, keepdims=True) + 1e-10
X_val_scaled = (X_valid - x_val_means ) / x_val_stds

with tf.Session() as sess:
    init.run()
    for epoch in range(n_epochs):
        for X_batch, y_batch in shuffle_batch(X_train, y_train, batch_size):
            batch_means = X_batch.mean(axis=1, keepdims=True)
            batch_stds  = X_batch.std (axis=1, keepdims=True) + 1e-10
            X_batch_scaled = (X_batch - batch_means) / batch_stds
            sess.run(training_op, feed_dict={X: X_batch_scaled, y: y_batch})
        if epoch % 5 == 0:
            acc_batch = accuracy.eval(feed_dict={X: X_batch_scaled, y: y_batch})
            acc_valid = accuracy.eval(feed_dict={X: X_val_scaled, y: y_valid})
            print(epoch, "배치 데이터 정확도:", acc_batch, "검증 세트 정확도:", acc_valid)

Am I wrong?
If mine is not wrong, is there any reason you did that, which I couldn't catch ?
Thanks.

Hi @alogblog ,
Thanks for your question.  The original is correct.

When we perform feature standardization, we must compute the mean and standard deviation for each feature (not for each instance). So the axis should be 0, not 1.
Secondly, when we standardize a training batch, it is best to use the full training set's mean and standard deviation (for each feature), rather than the batch's mean and std.

To understand why feature standardization is important when using gradient descent, please read chapter 4 on gradient descent, there is a section that explains why features should be scaled.
Moreover, at test time we might get a single instance at a time: it would not make sense to standardize a single feature using its own mean and std deviation.  So instead, we will use the training set's mean and std deviation at test time to scale new instances.  Therefore, during training we should do the same: use the full training set's mean and std deviation (per feature).
Hope this helps,
Aurélien

Closing stale issues. Please reopen if you are still experiencing a problem.

authors: ageron alogblog

repo: ageron/handson-ml


text:
Include convolution of reflectivity and wavelets

Looking at the tutorial @kwinkunks recently posted, I noticed that the convolution itself for forward modeling is not implemented in bruges. It's a non-trivial piece of code to apply to multiple traces it would be good to have it in there so we don't have to write np.apply_along_axis all the time :)

That's right... so far it's been a vaguely conscious decision not to include it, since np.convolve is essentially all that's needed.
That said, as you say, maybe the application to multiple traces is non-trivial. It is especially non-trivial if both the RC series and the wavelet are multi-dimensional (e.g. wavelet in time and frequency).
So maybe there's a need for a kind of 1.5D convolution that's different from np.convolve and from scipy.signal.convolve2d.

Was added in v0.4, and actually works today in v0.5.4.

authors: kwinkunks leouieda

repo: agilescientific/bruges


text:
Update README.md

Header: A clear and attractive header with a background color and centered text.
Sections: Divided content into sections with appropriate headings for easy navigation.
Styling: Used simple CSS styles for colors, fonts, and layout, making it visually appealing without overwhelming complexity.
Code Blocks: Used  tags to format code snippets nicely.
Badges: Included badges for project metrics, styled as clickable badges.

include this in hactoberfest2024

This contribution is really interresting.
But I think that it will be difficult to beginners to edit
easily the readme file with this format.
Try to make it the most simple possible.
Thanks.

authors: Arohi-jd agnilondapakou

repo: agnilondapakou/helloWorld


text:
Possibility to add root url?

Is there a possibility to define the root url in the middleware, so I only need to set the endpoint (like endpoint: '/users') in the action?
Example: https://github.com/reactjs/redux/blob/master/examples/real-world/middleware/api.js#L20

You could use a simplified version of what I've written in #65

+1

With the release of v3.x fetch can be customized and this can be achieved on user land at middleware level or per action level.
-import { apiMiddleware } from 'redux-api-middleware';
+import { createMiddleware } from 'redux-api-middleware';
import { createStore, applyMiddleware, combineReducers } from 'redux'
import reducers from './reducers'
const reducer = combineReducers(reducers)

+function customFetch(input, init) {
+  return typeof input === 'string'
+    ? fetch(`${root}/${input}`, init)
+    : fetch(input, init)
+}

+const apiMiddleware = createMiddleware({ fetch: customFetch })

const store = createStore(reduce, applyMiddleware(apiMiddleware))

Or better I'd recommend to have something like this
import { createAction } from 'redux-api-middleware';

function route(endpoint) {
   return `/api/${endpoint}`
}

store.dispatch(createAction({
  endpoint: route('users'),
  method: 'GET',
  types: ['REQUEST', 'SUCCESS', 'FAILURE']
}))

authors: anyong iamandrewluca rochdev timche

repo: agraboso/redux-api-middleware


text:
有支持最新V2接口的封装么

如题，现在接口时支持V1的，是否有支持V2接口的计划啊

有的 需要就加

可以直接用现有的接口就可以了，这个银行不会不然用的

当前给的是这个 http://cdctest.cmburl.cn/cdcserver/api/v2
你的意思是http://cdctest.cmburl.cn/cdcserver/api/v1？ 好想我用给的参数，接口不对

现在封装的基本够平时业务需求了，你这边需要主要代发的功能还是什么

非常感谢作者的回复，我这里主要是给企业和个人转账，以及转账后的凭证获取，还有就是账户余额的查询。 现在对接给我的地址是V2的，我不知道这个与V1给我的参数有啥区别

那就代发，需要咨询可以加群沟通

https://img.opencodes.top/blog/cmb/wx.png
这个二维码打不开

不知道你们有没有中信银行的业务

不知道你们有没有中信银行的业务

有最近在对接

厉害的！！！
---- 回复的原邮件 ----
| 发件人 | @.> |
| 发送日期 | 2024年07月23日 23:31 |
| 收件人 | ahKevinXy/go-cmb @.> |
| 抄送人 | 莫愁 @.>,
Comment @.> |
| 主题 | Re: [ahKevinXy/go-cmb] 有支持最新V2接口的封装么 (Issue #17) |
不知道你们有没有中信银行的业务
有最近在对接
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

群二维码能发一个新的吗？

群二维码能发一个新的吗？

群二维码能发一个新的吗？

这个

thanks
---- 回复的原邮件 ----
| 发件人 | @.> |
| 发送日期 | 2024年08月20日 11:42 |
| 收件人 | ahKevinXy/go-cmb @.> |
| 抄送人 | 莫愁 @.>,
Comment @.> |
| 主题 | Re: [ahKevinXy/go-cmb] 有支持最新V2接口的封装么 (Issue #17) |
@.*** (view on web)
这个
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

repo: ahKevinXy/go-cmb


text:
Adding error catching

This way Gulp watch won't quit if there is a sass error

Great, wonder why I forgot to add that.

authors: ahmadawais akmur

repo: ahmadawais/WPGulp


text:
Feed is always empty

Hi. Media Feed does not work. it is always empty. Please help

Hi! You must call the Next () function so that the Feed is filled.

repo: ahmdrz/goinsta


text:
K-allagbe/issue1-setup-repo

Closes #1: repo setup and initial code

[x] decontainer config
[x] workflows
[x] initial code (notebook)
[x] documentation

@ThomasCardin please help me fix this: https://github.com/ai-cfia/llamaindex-db/actions/runs/7726927165/job/21064230103?pr=2. LICENSE file is present in this branch but not in main branch.

repo: ai-cfia/llamaindex-db


text:
emulator: initial log transform design

Short description of why the PR is needed and how it satisfies those requirements, in sentence form.
(Delete unused sections)
Added public API:

symbol (e.g. vcm.my_function) or script and optional description of changes or why they are needed
Can group multiple related symbols on a single bullet

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.

Significant internal changes:

Bulleted list of changes to non-public API

Requirement changes:

Bulleted list, if relevant, of any changes to setup.py, requirement.txt, environment.yml, etc

[ ] Ran make lock_deps/lock_pip following these instructions

[ ] Add PR review with license info for any additions to constraints.txt
(example)

[ ] Tests added

Resolves # [JIRA-TAG]
(Delete this for the commit message)
You are encouraged to check the PR against the Code Review Checklist.

Closing in favor of #1568


text:
Fine-tuning MLM Module on Homologous Sequence

I'm curious about how the model is finetuned to  be applied on specific protein design problems. From the "Fine-tuning MLM Module on Homologous Sequence" section of your paper, it seems that the model is fine-tuned with MLM loss:

Is the other two losses, the OGT prediction loss and the correlation loss, involved in this fine-tuning process?

How to decide when to stop fine-tuning? Do you split a validation set?

Thanks in advance!

同源序列微调的时候仅用了MLM LOSS
根据你的蛋白不同，一般来说1-2个epoch足够

这些非代码的问题，请给我们发送邮件解决，如果需要同源序列微调的代码，请写信说明单位，我们可以提供一份拷贝。


text:
github CS를 하나 올립니다.

다음이 내용의 일부입니다.

잘 활용합시다.


text:
Change description

Current description reads:
Opens pdfs with default system app and opens md in new/existing tabs.
I would prefer to move the focus on the new tab functionality. E. g. :
Opens md files in new/existing tabs and can open pdfs with default system app

Sure!

Please change it because I don't seem to be having the permission for this ;)

authors: aidan-gibson lukemt

repo: aidan-gibson/obsidian-opener


text:
Add Croissant metadata

To simplify using the data, let's add Croissant metadata.

After discussion, decided not to add this metadata and consider different options.

authors: ErnstRoell Pseudomanifold

repo: aidos-lab/mantra


text:
add AiiDA lab logo to README

add AiiDA lab logo to README
update goto button

@giovannipizzi this is also to have a place to get the AiiDA lab logo from (for eosc)

Thanks!

authors: giovannipizzi ltalirz

repo: aiidalab/aiidalab-registry


text:
Be stricter when extracting HTTP/S hrefs

Change HtmlPage.getAllHttpHrefStringsAsSet to also include the scheme
separator when matching the hrefs.
Update test to cover hrefs with local files that start with http and
https.
Fix #206 - Extraction of external links is too lenient

(The build is failing because of a previous change.)

I'll have a look at this proposal asap - want to investigate why travis build fails

That's because of this assertion:
https://github.com/aim42/htmlSanityCheck/blob/9ddf7668a02b30a2fd93415df8c8ac44bc1754bd/src/test/groovy/org/aim42/htmlsanitycheck/check/CheckerCreatorSpec.groovy#L150
the path is null by default for that checker.


text:
Tkinter Applications

@apb7 made a tic-tac-toe game using tkinter and it was really cool. I would love to see that idea expanded to more algorithms. The only additional requirement is python3-tk, and the new scripts can be added to a separate folder to keep the main directory as uncluttered as possible.
@norvig, what do you think? I personally feel this is a nice addition to the notebooks, especially since it gives us more freedom. (there is also the possibility of adding tkinter code to notebooks and executing it from there)

@MrDupin: I'll be implementing other algorithms as well. And as @Chipe1 suggested, an additional side panel to illustrate the working of the respective algorithm can also be added.
The directory structure: A separate gui folder to place all Tkinter files.

@MrDupin: Sorry for catching up so late! Shall I make a PR for the tic-tac-toe game? Also which other algorithms shall I expand this idea to now?

No problem. Yes, a PR sounds fine. I suggest you make a PR for the tic-tac-toe, and if it gets accepted you can work on other stuff.
For example, the search algorithms can be implemented in a guy. The nodes can be some random boxes, and with a 'Next' button the next move of the algorithm is shown, maybe by using a color scheme.
Apart from that, you can look at what you can implement from the notebooks into a visual way.

Okay! Thanks, @MrDupin. I'll get to work and keep you posted.

@MrDupin and @norvig : I have worked out a bit on the GUI for Searching and have pushed the changes in my version of the repository under gui. A map of Romania has been added as depicted in the book and notebook. Various search techniques will be added soon.
Please feel free to suggest any improvements!

The map looks good. The frame of the window though is a bit too small. The "Currently Exploring" item on the legend is cut off.

I'll make the necessary changes tonight. Also, I have plotted the actual coordinates as given in the romania_map due to which the windows frame seems to be small. Therefore I'll chose some other representative coordinates for this purpose. Thanks!

@MrDupin and @norvig: The following updates have been made:

Breadth-first Tree Search has been added.
Options for start city and goal city provided.
Window size has been adjusted to fit the canvas widget.
All changes have been pushed to the forked repository. Options for more search algorithms will be added soon.
Please feel free to suggest further improvements!

@norvig: Thank you for merging the PR!
@norvig and @MrDupin: I will now try to incorporate more search algorithms in the GUI and also fix a few minor problems. Thanks!

@norvig and @MrDupin: Breadth-First Search has been added. Also, the window geometry of TIc-Tac-Toe has been improved with a few other minor fixes.
Please feel free to suggest any improvements! Thanks!

repo: aimacode/aima-python


text:
Enable continuous testing

This PR integrated travis so that each pull request is tested and linted with PEP8 and pyflake.
This way we won't accept buggy code or revert buggy commits in the future.
I've added the necessary configuration. All you need to do is:

Go to travis-ci.org.
Sign-up using github.
Enable aima-python repository.

Thanks, tmrts -- I noticed that Ciaran was doing this for aima-java and was thinking of doing it here.

authors: norvig tmrts


text:
chore(main): release 1.6.3

:robot: I have created a release beep boop
1.6.3 (2024-07-14)
Dependencies

update dependencies (#59) (ec56186)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aimeerivers/watchthis-user-service/releases/tag/v1.6.3 :sunflower:

repo: aimeerivers/watchthis-user-service


text:
Rename redis-py health check message

https://github.com/aio-libs/aioredis-py/blob/c82fe277a5a6521aa9baacd672dd131313fe1b45/aioredis/client.py#L3873
Should we change this to aioredis-py @seandstewart @abrookins in case someone uses both redis-py and aioredis?

Yeah, we should. Good catch!

authors: Andrew-Chen-Wang abrookins

repo: aio-libs/aioredis-py


text:
Event only on value change

Only dispatch ‘change’ when dateValue has changed from previous

Thanks!
Please could you remove the changes to yarn.lock?  I only want to pull in the javascript change.

Sorry about that, I made the change in a Github Codespace, and didn't intend to add yarn.lock.
I just opened a new pull request with the single change to datepicker.js

authors: Yasser airblade

repo: airblade/stimulus-datepicker


text:
Call Session.remove after each run, to survive DB restart

Without this, we get the following exception for subsequent runs after a
DB restart, indefinitely:
sqlalchemy.exc.InvalidRequestError: This Session's transaction has
been rolled back due to a previous exception during flush. To begin
a new transaction with this Session, first issue Session.rollback().
Original exception was: (psycopg2.OperationalError) terminating
connection due to administrator command

:+1:

authors: mistercrunch sayap

repo: airbnb/airflow


text:
Update docs to externalize react/addons for newer versions of React

Deprecated CommonJS react/addons entry point was removed in React 15.
https://facebook.github.io/react/blog/2016/04/07/react-v15.html
resolves #325

👍

authors: dannynelson lelandrichardson

repo: airbnb/enzyme


text:
Is it possible to customize dimensions of DayPicker?

AFAIСT width of wrapper div in horizontal orientation is inlined and it's not possible to configure it in userland. Is this correct or there is a way to change root element's dimensions?

Hello! I have been working on adding a daySize prop here - https://github.com/airbnb/react-dates/pull/249
The idea being that most of the calculations come from the size of each day and if we allowed for customizing that from the standard 39px, everything else follows. I haven't had much bandwidth to work on it recently but I can get back to that.

Hi! Thanks for the response, I'm not familiar w/ internals and most likely in context it makes sense to define day cell width -> calculate container width instead of the opposite (define container width -> calculate day cell width), tho in most of the cases developer will be doing calculations to inject inline picker into layout.
Just wondering: why things can't be calculated via css, i.e. day-cell's width is calculated by the browser, depending on container's width, which is set via css class? It seems more flexible and might be faster in terms of rendering.

@alexfedoseev sorry for never getting back to this! The reason it can't be css-only is largely due to the animations.
Also we will probably be moving to a more css in JS solution in the future so writing this in as a prop makes the most sense.

daySize exists as a prop now so I will be closing this issue. :)

hi, digging up this topic to make sure I understood @majapw clearly: If I want a full-width calendar say on a column in a responsive layout, I can't do it with css ?

authors: alexfedoseev florentdestremau majapw

repo: airbnb/react-dates


text:
Fix dynamic imageSrc removal

Prevent triggering irrelevant imageLoader call, thus avoiding an exception.

https://github.com/airbnb/react-native-maps/issues/738

authors: btoueg gilbox

repo: airbnb/react-native-maps


text:
lack of support & proper testing

The lack of support from the author of this cookbook is just sad. Doc is poorly written. Poor testing. It would be a good idea to simplify the testing of this cookbook.
e.g:
node 1 - synapse
node 2 - nerve
node 3 - zookeeper
then apply your test "helloworld" service & then check haproxy for status & processed request.
Comparing the current work/testing here, Consul by HashiCorp is looking attractive. Why?
Good documentation.
Good support.
Good testing.
Hopefully the author of smartstack cookbook will do something about this.

@fnicholas I'm not sure what you hope to achieve from this issue. Pull requests or forking are always options for you if you're unhappy with the code.
I don't work on the smartstack cookbook, but I do help maintain synapse/nerve and we've received similar feedback there. I think the reality is that SmartStack is a system that Airbnb and Yelp help maintain because we use it, but open source doesn't mean free lunch.
I know that I do most of my work on SmartStack outside working hours, on my own free time, and my understanding is that Igor does this as well. Contrast that with HashiCorp where service discovery is their core competency and they make money from it...

this cookbook has drifted pretty far from our internal version of it at airbnb. backporting changes between a private and a public repo is kind of a pain. i'm tempted to delete this project off github. i might just clearly mark the README as deprecated...

sounds good. i suggest it should be deleted.

authors: fnicholas igor47 jolynch

repo: airbnb/smartstack-cookbook


text:
Add per schema permissions.

Adds per schema permissions for the user.
It will be shared among superset explore and sql lab functionality.
Reviewers:

@mistercrunch
@vera-liu
@ascott

LGTM

thanks !

authors: bkyryliuk mistercrunch

repo: airbnb/superset


text:
Weights in generated config

cc @vulpine
Rebased against airbnb/synapse master

Looks reasonable, can you check that this works with the state file (we should/will add tests of that soon)?
Also this doesn't have code for doing updates over the socket, but we presumably want that. Is that going to come in a follow up patch?

@jolynch ack - thanks for the feedback. I'll add tests around the state file, and I had totally forgotten the weight updates over the socket. I'd however prefer to do that as a separate patch to keep things relatively simple. Does that work for you?

My only issue with doing the socket update in a subsequent change is that something else will have to trigger a HAProxy reload to pick up any change in weights (since this patch neither informs the haproxy module that it needs to reload nor changes the weights over the stats socket). At the very least I think it should inform haproxy to restart?

@bobtfish #100 seems rather similar to this, can we sync up about how we want to be able to add metadata to nodes? I'm not against adding a bunch of top level keys, but I think we should at least have a plan.

#140 shows a technique for noticing things have changed via the state file. Perhaps we should just make the state file mandatory ...

authors: bobtfish jolynch

repo: airbnb/synapse


text:
Documentation?

Is there a place where I can view documentation for this library?  I see it used extensively in Presto, but I wouldn't know where to start if I wanted to use it in my own library.  Is there a place we can see Slice's design and related software?

The main entry points are Slice, Slices, SliceInputStream, and SliceOutputStream.  The code has pretty extensive Java docs, which you should be able to browse in any IDE.  Is there something more needed.

Link to a java doc html page on github pages or something would be nice.

authors: dain dhutchis tmm1

repo: airlift/slice


text:
is A128CBC-HS256 not available currently?

I found the closed issue (#82) in 2019 for using A128CBC-HS256.
But I think A128CBC-HS256 is deprecated now.
Is there any way to use A128CBC-HS256 with JOSESwift?

Hey, it is available since https://github.com/airsidemobile/JOSESwift/releases/tag/1.8.0 was released. You can use it like any other supported JWE algorithm.

authors: haeser sil-ios

repo: airsidemobile/JOSESwift


text:
Use native common crypto module

Swift 4.2 introduced a native common crypto module which we can/must use now. We can't use both or we will get build errors. Apparently, there is no official documentation though. See here.

I know this wasn't your goal, but this goes most of the way towards macOS support.
All I had to do was https://github.com/Bo98/JOSESwift/commit/613f0502cd9ddcecfd7fbcc359a582951ddd51df and all tests pass.


text:
Include gas prices in quote selection

API methods:

[x] Get gas price in ETH
[x] Get token price in WETH from uniswap
[x] Get gas price in tokens

[x] Integrate into order flow

The code looks sane 👍 Just wondering about the results I get (for eth->eth on mainnet)

Aha, got it! So, the NaN is the results you get when it has an non-existing or invalid API key. After adding a valid key, I got the proper results.

authors: gpxl-dev robbestad

repo: airswap/airswap-web


text:
Email Source

Motivation
Email is a critical part of any company's conversational stack, both for internal and customer-facing use cases. Since an email is nothing more than a message we can offer it as a messaging source in Airy.
As an airy user
Given that I have a running Airy core installation
When I configure email as source
Then I can send and receive emails

I would strongly suggest to differentiate between support on protocol level (email) vs. supporting individual transactional email providers.
Due to the impending restrictions by Gmail et al to restrict outbound sending of emails per day, this seems to be unsuitable for group outbound emailing use cases such as customer support, but rather only individual account usage per sender.
Therefore we should start with implementing individual transactional email providers such as Mailgun, Sendgrid, Mandrill (Mailchimp) et al, that provide for the necessary scale to send and receive emails on scale in a team context. They also offer receiving emails via webhooks and sending emails via API requests or as the case may be SMTP credentials, and in that regard resemble the approach that we chose for text messages via providers such as Twilio, etc.

@steffh If we want to go that route, we need to decide which of the providers to implement first and change the ticket title accordingly.

Interesting implementation example by auth0:

@chrismatix - the question would be how much the different providers differ from each other and how many we could implement at the same time?
Otherwise my order of importance would be: Mandrill, Sendgrid, Mailgun, Amazon SES, (SparkPost), SMTP

@steffh The send APIs for each of those providers differ and a quick look at the docs confirms that the same is true for the webhooks. Therefore we'd have to implement and deliver each provider as a separate source. So considering your priority list we should start by implementing Mandrill.
SMTP would not qualify as a full source since, as far as I understand, it's only used for sending emails.

authors: chrismatix steffh

repo: airyhq/airy


text:
Swiper 组件 数据有且只有两条时，第二幅图 配置的 url 跳转无效 。

Swiper 组件 数据有且只有两条时，第二幅图 配置的 url 跳转无效 。

https://vux.li/demos/v2/#/component/swiper
官网demo的最后一个貌似就是你这种情况，应该是可以跳转的
请贴出你的测试代码

是的 官网最后一个例子就是我这种情况。我使用过程中只是将swiper  嵌到了scroller 中。

如果只是将swiper 嵌到了scroller 中的话，请参考代码
https://github.com/airyland/vux/blob/v2/src/demos/ScrollerSwiper.vue

ok 了 ，多谢！

repo: airyland/vux


text:
x-input 遍历多个外部group时，列表中的input点击输入内容报错

VUX version
2.9.2
OS/Browsers version
chrome
Vue version
2.4.2
Code

 <group v-for="(item, index) in info.colleges" :key="guid()">
     <group-title slot="title">
      学校信息{{index + 1}}
      <span class="add" @click="addCollegeList" v-if="index < 1">增加
      删除
     </group-title>
     <popup-picker v-model="item.countryId" :show-name="true" title="国家" :data="countryType"  placeholder="请选择国家" value-text-align="left"></popup-picker>
    <x-input title="学校名称" v-model="item.collegeId"></x-input>
    <popup-picker v-model="item.degree" :show-name="true" title="学位" :data="degreeType"  placeholder="请选择学位" value-text-align="left"></popup-picker>
     <x-input v-model="item.chMajor" title="专业(中文)"></x-input>
     <x-input v-model="item.ehMajor" title="专业(英文)"></x-input>
     <x-input v-model="item.qtMajor" title="专业(本土语言)"></x-input>
  </group>

问题描述：
我在使用group遍历多个信息列表的时候，列表中的x-input 点击获取焦点，开始输入内容时报错：
Cannot read property 'selectionStart' of undefined 和 Cannot read property 'scrollIntoViewIfNeeded' of undefined并失去焦点，后续任何获取焦点或输入都会提示此错误，并且任何操作都会导致失去焦点

补充：正常的x-inpu都没有问题，只有在遍历group时会


text:
Step 样式

vux@^2.1.0-rc.32
Step的样式有问题。目测主要是第一个元素的左侧和右侧的分割线没处理好！由于在山上，用的4G无法加载更多的资源描述，见谅

截图一下？

机型？你访问demo站点会有这个问题吗？

demo站点不会啊！我用的就是demo站点最基础的代码

这么神奇。贴下代码看看。

<template lang="pug">
  flexbox(orient="vertical" v-bind:gutter="0")
    flexbox-item(v-bind:span="3/5")
      step(v-model="step" background-color='#fbf9fe')
        step-item(description="验证")
        step-item(description="设置密码")
        step-item(description="完成")
</template>

并没有出现你的问题。

<template lang="pug">
  flexbox(orient="vertical" v-bind:gutter="0")
    flexbox-item(v-bind:span="3/5")
      step(v-model="step" background-color='#fbf9fe')
        step-item(description="验证")
        step-item(description="设置密码")
        step-item(description="完成")
</template>

<script>
import { Step, StepItem, Flexbox, FlexboxItem } from 'vux'

export default {
  components: {
    Step,
    StepItem,
    Flexbox,
    FlexboxItem
  },
  data () {
    return {
      step: 1
    }
  }
}
</script>

找到问题了，wrap层写了 text-align:center! WTF, 后端写前端不容易啊

我想问一下 怎么修改 圆圈里面的背景颜色

能不能让步骤条竖向排列？

authors: WWuxd airyland modefyong ohohco


text:
⚠ BCR Bot has degraded performance

In 84981b8, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 828 ms

Resolved: BCR Bot performance has improved in 719b6f8.

repo: aisa-status/status-upptime-dev


text:
⚠ Turnos 24x7 has degraded performance

In 40f329a, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1033 ms

Resolved: Turnos 24x7 performance has improved in 489fe07.


text:
⚠ Turnos 24x7 has degraded performance

In 0914b64, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 988 ms

Resolved: Turnos 24x7 performance has improved in 4fdd707.


text:
⚠ Turnos 24x7 has degraded performance

In 934b21e, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 6497 ms

Resolved: Turnos 24x7 performance has improved in e8d1ac8.


text:
⚠ BCR Bot has degraded performance

In cc46171, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1206 ms

Resolved: BCR Bot performance has improved in 8ded660.


text:
🛑 Sender Service is down

In 93903df, Sender Service (https://sender.alternativasinteligentes.com/web/) was down:

HTTP code: 403
Response time: 76 ms

Resolved: Sender Service is back up in 6da2f97.


text:
⚠ BCR Bot has degraded performance

In dba3db1, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 885 ms

Resolved: BCR Bot performance has improved in 9da7af2.


text:
⚠ BCR Bot has degraded performance

In 4de1df4, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1000 ms

Resolved: BCR Bot performance has improved in 1ab8548.


text:
Update README.md

Added 3 community links

Added 3 community links


text:
There has a problem when the character “@” within password

There has a problem when the character “@” within password, maybe we should make the regex pattern more compatible? :) Here is my solution:
parts = re.match('(\w+://)([^:]+?:.+@)?(.+)', line.strip())

instead of
parts = re.match('(\w+://)([^:]+?:[^@]+?@)?(.+)', line.strip())

Included in my pull request to add compatibility with splash browser

authors: aleroot xzycn

repo: aivarsk/scrapy-proxies


text:
🪸 ui-rewrite: Add setup for styling

Goal

Devs can develop a static React component/view using aiven design system and CSS modules to enhance / overwrite styles.
We have the App.tsx showing the heading "Hello Klaw" in typo based on aiven design system but the color is overwritten in hotpink.

Note
In a next iteration we'll implement css variables based on the design system token.

First branch to include the aiven component library: git fetch origin
git checkout 113-ui-rewrite-add-setup-for-styling

repo: aiven/klaw


text:
Way to create password text input?

Currently the text field doesn't provide a way to create an password-type input?
EDIT:
Have created a PR to solve this issue: https://github.com/ajainvivek/preact-fluid/pull/9

@jaooe looks like the PR is merged. Closing the issue.

@jaooe released: https://www.npmjs.com/package/preact-fluid
+ preact-fluid@0.7.0

I am having similar issues with un-managed forms (onChange handler needs access to name or id.) I've been letting the browser manage values, and just run onChange for passive validation. It tends to be simpler and more robust for me.
Would it make sense  to pass props to the <input /> tag with {...props}?
It would make this sort of thing work:
const onChange = e => {
  const { name, value } = e.target
  // do stuff with name & value
}

<TextField
      label='Email'
      type='email'
      name='email'
      placeholder='user@host.com'
      effect='lineOutwards'
      onChange={onChange}
      errorText={errors.email}
    />

<Button disabled /> is also sort of similar.

authors: ajainvivek jaooe konsumer sabeurthabti

repo: ajainvivek/preact-fluid


text:
Validation of Api Values

Is this feature already requested?

[X] I have checked "open" and "closed" issues, and this is not a duplicate.

Problem or Missing Functionality
Currently, the API does not validate user input properly. This means that when users or systems send requests, data is accepted without checks for correctness, format, or constraints. For instance, fields like email addresses, phone numbers, or dates can be incorrectly formatted, leading to inconsistent data being stored in the system.
Feature Description
This feature adds input validation to the API to ensure that data received from client requests adheres to the defined constraints and business rules before processing. By validating inputs, the API can enforce data integrity, prevent invalid data from being persisted to the database, and improve security by mitigating the risk of malicious inputs.
Screenshots
No response
Would you like to work on this feature?
Yes
Implementation Plan
To implement validation in Spring Boot, identify key fields in the DTO classes that require validation, such as required fields (e.g., name, email), formatted fields (e.g., email, phone), and fields with constraints (e.g., age, price, string length). Use standard validation annotations like @NotNull, @Size, @Email, and @Pattern to enforce these rules. Update the DTO classes with these annotations to ensure that all incoming data is validated before reaching the service layer. This helps maintain data integrity, improves user feedback, and prevents invalid data from being processed.

@anishmu20, thanks for the detailed implementation plan! Input validation is crucial for ensuring data integrity and security within the API, and I believe this enhancement could significantly improve our system.
I’d like to assign this request to you for implementation. If you need any assistance while working on this, feel free to reach out!

Hi @anishmu20! Just wanted to check in and see how the input validation work is going. Let me know if you need any help with the implementation!

hii sorry for delay i am working on it  will  be done in  next 2 to 3 days .

No problem, thanks for the update!


text:
Added support to custom JSON logging

Hi AJ,
I have done few enhancements in the library. Hope you will review them and update other related files.

Added support to log custom JSON with the decorator.
Added support to configure console errors, if the user want to log them or not.
Added support to tag.
Bug fixes. (line #93)
Updated ReadME

@psquickitjayant thanks for the additions!  It looks like this can't be automatically merged because of conflicts.  Can you pull the latest changes from develop into your branch, address the conflicts, and then re-push?

Closing this PR. I will pull updates from this branch then will try to send PR again.

authors: ajbrown psquickitjayant

repo: ajbrown/angular-loggly-logger


text:
Better support cjs

When I tried to use fzf in a commonjs package, it always throws
Error [ERR_REQUIRE_ESM]: require() of ES Module xxx/node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/fzf.umd.js from xxx/index.js not supported.
fzf.umd.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead either rename fzf.umd.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in xxx/node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).

I've read https://github.com/ajitid/fzf-for-js/issues/85, if I change my package to esm, this can be solved, but the package must finally be compiled to a cjs format.
This can be fixed if the umd format dist file is renamed to fzf.umd.cjs since "type": "module" is added at the end of package.json.
changes to package.json
{
  "main": "./dist/fzf.umd.cjs",
  "exports": {
    ".": {
      "require": "./dist/fzf.umd.cjs"
    }
  }
}

changes to vite-legacy.config.ts
export default defineConfig({
  build: {
    lib: {
      fileName: (format) => `fzf.${format}.cjs`,
    },
  },
});

Heya! I looked at your PR and I can't say for sure if it'll be accepted. I'll have to check in other projects to know if it is an actual convention or format to have .umd.cjs as extension. This will take longer than usual as I'm occupied with other things as well.

authors: Pcrab ajitid

repo: ajitid/fzf-for-js


text:
Help With Configuration.yaml

@ajmarks, thanks SO MUCH for building this! You are AWESOME.
So I know this is a very n00b question, but could you help me with what I need to add into configuration.yaml to get this working?
I've already uploaded your ge_kitchen folder beneath /config/custom_components.
Apologies for asking such basic questions here.
Thanks in advance for all of your work on this + your help with these questions!

Just put  ge_kitchen under  /config/custom_components, and add the
integration through the control panel
On Tue, Jan 12, 2021 at 9:19 PM scottkritz notifications@github.com wrote:

@ajmarks https://github.com/ajmarks, thanks SO MUCH for building this!
You are AWESOME.
So I know this is a very n00b question, but could you help me with what I
need to add into configuration.yaml to get this working?
I've uploaded your ha_components-master folder under
/config/custom_components/ (...or should I be adding ge_kitchen as the
folder beneath /config/custom_components)?
Apologies for asking such basic question here.
Thanks in advance for all of your work on this + your help with these
questions!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX4QBXS7G2GMHYHF2H3SZT7LRANCNFSM4WADDXQQ
.

Just put  ge_kitchen under  /config/custom_components, and add the
integration through the control panel
On Tue, Jan 12, 2021 at 9:19 PM scottkritz notifications@github.com wrote:

@ajmarks https://github.com/ajmarks, thanks SO MUCH for building this!
You are AWESOME.
So I know this is a very n00b question, but could you help me with what I
need to add into configuration.yaml to get this working?
I've uploaded your ha_components-master folder under
/config/custom_components/ (...or should I be adding ge_kitchen as the
folder beneath /config/custom_components)?
Apologies for asking such basic question here.
Thanks in advance for all of your work on this + your help with these
questions!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX4QBXS7G2GMHYHF2H3SZT7LRANCNFSM4WADDXQQ
.

@ajmarks, when you say "control panel" do you mean Configuration > Integrations? Or elsewhere? (If the former, I've restarted a few times now and am not seeing it there.)
Thanks again for the help.

@ajmarks, when you say "control panel" do you mean Configuration > Integrations? Or elsewhere? (If the former, I've restarted a few times now and am not seeing it there.)
Thanks again for the help.

Sorry, yes
On Tue, Jan 12, 2021, 10:06 PM scottkritz notifications@github.com wrote:

@ajmarks https://github.com/ajmarks, when you say "control panel" do
you mean Configuration > Integrations? Or elsewhere? (If the former, I've
restarted a few times now and am not seeing it there.)
Thanks again for the help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-759173906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX4JFM3AYC54T4TKV7TSZUE4ZANCNFSM4WADDXQQ
.

Sorry, yes
On Tue, Jan 12, 2021, 10:06 PM scottkritz notifications@github.com wrote:

@ajmarks https://github.com/ajmarks, when you say "control panel" do
you mean Configuration > Integrations? Or elsewhere? (If the former, I've
restarted a few times now and am not seeing it there.)
Thanks again for the help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-759173906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX4JFM3AYC54T4TKV7TSZUE4ZANCNFSM4WADDXQQ
.

Got it. Thought that’s what you meant, @ajmarks.
Bummer, though, since I’m not seeing it there.
I’m overdue an update to the core. So I’ll try that and see if it takes care of it.
Just want to say thanks once more for building this and for the help here. REALLY appreciate it.

Got it. Thought that’s what you meant, @ajmarks.
Bummer, though, since I’m not seeing it there.
I’m overdue an update to the core. So I’ll try that and see if it takes care of it.
Just want to say thanks once more for building this and for the help here. REALLY appreciate it.

@ajmarks, the update to the HASS core did the trick! Very excited to have this integrated now. Now gonna work to get these ported over to Homekit.
THANK YOU.

@ajmarks, the update to the HASS core did the trick! Very excited to have this integrated now. Now gonna work to get these ported over to Homekit.
THANK YOU.

@ajmarks, would you ever turn the Github Sponsor feature on (or send me your Venmo/PayPal/etc.) so I can further support you with a small sum for doing this for the community? I know you built this for yourself, but sharing/supporting it for us all is a pretty special thing. And I'd like to support you further in a way that I can—if that is helpful/useful at all for you.

@ajmarks, would you ever turn the Github Sponsor feature on (or send me your Venmo/PayPal/etc.) so I can further support you with a small sum for doing this for the community? I know you built this for yourself, but sharing/supporting it for us all is a pretty special thing. And I'd like to support you further in a way that I can—if that is helpful/useful at all for you.

No, but thank you very much. All I'd ask is to please report any bugs you
find so we can make it better.
On Wed, Jan 13, 2021, 1:46 AM scottkritz notifications@github.com wrote:

@ajmarks https://github.com/ajmarks, would you ever turn the Github
Sponsor feature on (or send me your Venmo/PayPal/etc.) so I can further
support you with a small sum for doing this for the community? I know you
built this for yourself, but sharing/supporting it for us all is a pretty
special thing. And I'd like to support you further in a way that I can—if
that is helpful/useful at all for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-759243566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX35VUVKVCBDCO45AEDSZU6VBANCNFSM4WADDXQQ
.

No, but thank you very much. All I'd ask is to please report any bugs you
find so we can make it better.
On Wed, Jan 13, 2021, 1:46 AM scottkritz notifications@github.com wrote:

@ajmarks https://github.com/ajmarks, would you ever turn the Github
Sponsor feature on (or send me your Venmo/PayPal/etc.) so I can further
support you with a small sum for doing this for the community? I know you
built this for yourself, but sharing/supporting it for us all is a pretty
special thing. And I'd like to support you further in a way that I can—if
that is helpful/useful at all for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-759243566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX35VUVKVCBDCO45AEDSZU6VBANCNFSM4WADDXQQ
.

@ajmarks, well, that's the very least I can do. And I will certainly do that. You're AWESOME, my friend.

@ajmarks, well, that's the very least I can do. And I will certainly do that. You're AWESOME, my friend.

Thanks so much for this!  I got the entities card working properly, but I was wondering how to get the "Oven Controls" similar to the one at the bottom of the readme (with the nice temperature vs. time graph)?    Is it dependent upon oven model?
Sorry if this doesn't belong here, I didn't want to make a new issue since I think this is just me being dumb.

Thanks so much for this!  I got the entities card working properly, but I was wondering how to get the "Oven Controls" similar to the one at the bottom of the readme (with the nice temperature vs. time graph)?    Is it dependent upon oven model?
Sorry if this doesn't belong here, I didn't want to make a new issue since I think this is just me being dumb.

I need to update that screenshot for some HA interface changes, but you
should be able to get the temperature graph on the history tab once you
click into the entity card
On Sun, Jan 31, 2021, 8:51 AM zably notifications@github.com wrote:

Thanks so much for this! I got the entities card working properly, but I
was wondering how to get the "Oven Controls" similar to the one at the
bottom of the readme (with the nice temperature vs. time graph)? Is it
dependent upon oven model?
Sorry if this doesn't belong here, I didn't want to make a new issue since
I think this is just me being dumb.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-770385627,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX6XYYPPNYXJRGNYLULS4VN5ZANCNFSM4WADDXQQ
.

I need to update that screenshot for some HA interface changes, but you
should be able to get the temperature graph on the history tab once you
click into the entity card
On Sun, Jan 31, 2021, 8:51 AM zably notifications@github.com wrote:

Thanks so much for this! I got the entities card working properly, but I
was wondering how to get the "Oven Controls" similar to the one at the
bottom of the readme (with the nice temperature vs. time graph)? Is it
dependent upon oven model?
Sorry if this doesn't belong here, I didn't want to make a new issue since
I think this is just me being dumb.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-770385627,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX6XYYPPNYXJRGNYLULS4VN5ZANCNFSM4WADDXQQ
.

Thanks!  Looks like it's probably my oven model then, I see something called "User Temp Offset" but no actual temperatures, so mine probably doesn't report that info.

Thanks!  Looks like it's probably my oven model then, I see something called "User Temp Offset" but no actual temperatures, so mine probably doesn't report that info.

Your oven probably supports the user temp offset, but it's not hugely
useful. That's something you can set in the oven's setting to manually
correct displayed temperatures, for example by having the oven always
display 5 degrees above what it's measuring (after the factory calibration)
On Sun, Jan 31, 2021, 10:04 AM zably notifications@github.com wrote:

Thanks! Looks like it's probably my oven model then, I see something
called "User Temp Offset" but no actual temperatures, so mine probably
doesn't report that info.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-770396096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX57F2C6PK4H3AZGRA3S4VWPHANCNFSM4WADDXQQ
.

Your oven probably supports the user temp offset, but it's not hugely
useful. That's something you can set in the oven's setting to manually
correct displayed temperatures, for example by having the oven always
display 5 degrees above what it's measuring (after the factory calibration)
On Sun, Jan 31, 2021, 10:04 AM zably notifications@github.com wrote:

Thanks! Looks like it's probably my oven model then, I see something
called "User Temp Offset" but no actual temperatures, so mine probably
doesn't report that info.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ajmarks/ha_components/issues/3#issuecomment-770396096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHRHX57F2C6PK4H3AZGRA3S4VWPHANCNFSM4WADDXQQ
.

authors: ajmarks scottkritz zably


text:
How to put country/state limitation using enum.  Like using Enum value of state based on country

What version of Ajv you are you using?
v8.10.0
What problem do you want to solve?
I have a list of 3 countries defined as enum [US, UK, CANADA], I would like to keep the enum value of state based on country.
What do you think is the correct solution to problem?
NA
Will you be able to implement it?
No

This is a general JSON schema usage question, not specific to ajv. The best place to ask it is StackOverflow.

Quick answer: it should be possible in several ways combining standard JSON schema keywords

authors: epoberezkin swamx

repo: ajv-validator/ajv


text:
add strict additionalProperties

What version of Ajv you are you using?
8.10
What problem do you want to solve?
We want to be able to pass data to validate() and without having to turn on any modifying functionality (removeAdditional) be sure that the data we're validating only has the requested properties unless specifically and explicitly asked for additional ones.
What do you think is the correct solution to problem?
extend the available strict mode options with a strictAdditional that forbids additional properties unless additionalProperties is set to true or a schema in the schema.
const ajv = new Ajv({ strictAdditional: true })
let validate = ajv.compileSchema({ properties: { a: { type: 'string' } } })
validate({ a: 'hi' })
// > true
validate({ a: 'hi', b: 'hello' })
// > false

validate = ajv.compileSchema({ properties: { a: { type: 'string' } }, additionalProperties: true })
validate({ a: 'hi' })
// > true
validate({ a: 'hi', b: 'hello' })
// > true

Will you be able to implement it?
If someone can point me in the right direction, maybe.

This is a change to JSON Schema specification - won’t be done, sorry. You may look into JTD spec that ajv also supports and that has exactly the semantics for additionalProperties that you ask - prohibited by default, only allowed with additionalProperties: true.
See this comparison: https://ajv.js.org/guide/schema-language.html#comparison
“Brand-new” is no longer the case - it’s supported since January 2021, and I used it on a high traffic service, both for validation and request body parsing.

authors: epoberezkin swantzter