text:
4 walletinfo

Description
After revisiting the component, I've seen that it's not looking great in dark mode, so I changed the className.
Before :

After :

Related Issues
Improves #4
Your ENS/address: yassirakh.eth

closing this I think we already merged this in #18, please feel free to add comment if I am mistaken 🙌


text:
Initialize React Application

Initialize a react application using the Create React App environment.

Just do pull request now!

And for the title, i suggest you change it to something like, Initial commit.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Disallowed Special Token

Hi,
Ive been trying to scrape the openai api docs for testing and im constantly getting the following error. Would anyone know how to resolve?
Im using the docker image if it makes any difference.
Found 634 files to combine...
file:///home/gpt-crawler/node_modules/gpt-tokenizer/esm/GptEncoding.js:78
                throw new Error(`Disallowed special token found: ${match[0]}`);
                      ^

Error: Disallowed special token found: <|endoftext|>
    at GptEncoding.encodeGenerator (file:///home/gpt-crawler/node_modules/gpt-tokenizer/esm/GptEncoding.js:78:23)
    at GptEncoding.isWithinTokenLimit (file:///home/gpt-crawler/node_modules/gpt-tokenizer/esm/GptEncoding.js:147:20)
    at addContentOrSplit (file:///home/gpt-crawler/dist/src/core.js:131:28)
    at write (file:///home/gpt-crawler/dist/src/core.js:156:15)
    at async file:///home/gpt-crawler/dist/src/main.js:4:1

Node.js v20.10.0
Crawling complete..

+1 to this, after crawling 5000+ pages sad to have it fail!

@ryanspice
I think I've got a workaround.
I made changes to the following files GptEncoding.js and specialTokens.jsin node_modules\gpt-tokenizer\esm\
Change the following function in GptEncoding.js
    encodeGenerator(lineToEncode, { allowedSpecial = new Set(), disallowedSpecial = new Set(), } = {}) {
        // Assuming ALL_SPECIAL_TOKENS is a placeholder for all special tokens
        if (disallowedSpecial.has(ALL_SPECIAL_TOKENS)) {
            disallowedSpecial = new Set(this.specialTokenMapping.keys());
            allowedSpecial.forEach(token => disallowedSpecial.delete(token));
        }

        // Check for disallowed tokens in the input
        disallowedSpecial.forEach(token => {
            if (lineToEncode.includes(token)) {
                throw new Error(`Disallowed special token found: ${token}`);
            }
        });

        return this.bytePairEncodingCoreProcessor.encodeNative(lineToEncode, allowedSpecial);
    }

Then in specialTokens.js replace these bits.
export const EndOfText = "<EOT>";
export const FimPrefix = "<FimPrefix>";
export const FimMiddle = "<FimMiddle>";
export const FimSuffix = "<FimSuffix>";
export const ImStart = "<ImStart>";
export const ImEnd = "<ImEnd>";
export const ImSep = "<ImSep>";
export const EndOfPrompt = "<EndOfPrompt>";

authors: MrAshRhodes ryanspice

repo: BuilderIO/gpt-crawler

license: ISC


text:
React:The scope of variety lost when i used dynamic component within .

I am interested in helping provide a fix!
Yes
Which generators are impacted?

[ ] All
[ ] Angular
[ ] HTML
[ ] Qwik
[ ] React
[ ] React-Native
[ ] Solid
[ ] Stencil
[ ] Svelte
[ ] Vue
[ ] Web components

Reproduction case
https://mitosis.builder.io/?outputTab=E4UwhgxgLkA%3D&code=JYWwDg9gTgLgBAbzgMWgGjgZQBYQO5wC%2BcAZlBCHAEQACARgK7AA2AJgKZQB0wEA9CGAwIAZ2AiqAbgBQ09gA9IsOBxIBDBs3gkGAOwDGMXrrgBZAJ4BhCpF3tdMABRhyYEQEpE0uHG9wo7DAMUCaOfj4APKzAAG4AfOE%2BcAAS7MzMEImRqFBw7Gr62AC8CC4QblwFRhC6IoQJSY2IjlXGnkVxcGFNTVGxDT29OPhweNj2Ja01PPo19VmDkVO6MzVwfAOLkXzDeJtbESJgarpxCMtcMAowhBF8Ryf7PXfR8Qs%2B7oQLdzn7L%2F1%2BdwyQhAA%3D%3D%3D&inputTab=FYZwHkA%3D
Expected Behaviour
transform as the following,
import * as React from "react";

export default function MyComponent(props) {
  return (

      Hello
      {props.actions?.map((action) => (

          {action.icon ? (
            <>
              <action.icon />
            </>
          ) : null}

          {action.text}

      ))}

  );
}

Actual Behaviour
The action.icon been raised to the top level of function.
Additional Information
No response

This is the code that makes this happen: https://github.com/BuilderIO/mitosis/blob/fd301d9d695bbe52973b9782dd5fcfc938ac877a/packages/core/src/helpers/process-tag-references.ts#L6-L31
I think we can safely delete this code entirely and stop doing this. Don't think it's needed at all!

This is the code that makes this happen:
https://github.com/BuilderIO/mitosis/blob/fd301d9d695bbe52973b9782dd5fcfc938ac877a/packages/core/src/helpers/process-tag-references.ts#L10
I think we can safely delete this code entirely and stop doing this. Don't think it's needed at all!

delete this, this test case won't pass
https://github.com/BuilderIO/mitosis/blob/main/packages/core/src/__tests__/data/blocks/builder-render-block.raw.tsx#L42-L44
<tagName() >  caused SyntaxError
  <tagName()  {...state.properties} style={state.css}>

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/__tests__/context.test.ts > Context > Use and set context in complex components
SyntaxError: Identifier expected. (109:9)
  107 |
  108 |
> 109 | <tagName()  {...(properties())}  style={css()}>
      |         ^
  110 |
  111 | <BlockStyles  block={useBlock()}  />
  112 |
 ❯ Ve ../../node_modules/prettier/parser-typescript.js:1:15607
 ❯ vz ../../node_modules/prettier/parser-typescript.js:280:5919
 ❯ Object.yz [as parse] ../../node_modules/prettier/parser-typescript.js:280:6242
 ❯ Object.m [as parse] ../../node_modules/prettier/standalone.js:40:1354
 ❯ S ../../node_modules/prettier/standalone.js:41:15055
 ❯ D ../../node_modules/prettier/standalone.js:45:576
 ❯ ../../node_modules/prettier/standalone.js:116:7304
 ❯ Proxy.format ../../node_modules/prettier/standalone.js:116:7395
 ❯ src/generators/react/generator.ts:184:14
    182|     if (options.prettier !== false) {
    183|       try {
    184|         str = format(str, {
       |              ^
    185|           parser: 'typescript',
    186|           plugins: [
 ❯ src/__tests__/context.test.ts:35:46

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: {
  "codeFrame": "  107 |
  108 |
> 109 | <tagName()  {...(properties())}  style={css()}>
      |         ^
  110 |
  111 | <BlockStyles  block={useBlock()}  />
  112 |",
  "loc": {
    "start": {
      "column": 9,
      "line": 109,
    },
  },
}

Ah, thanks for checking @kingzez. That makes sense. I will need to think through an alternative solution then...

Hey @samijaber how can we solve this one?

hey @samijaber  when I used the condition el.name.includes('.') to el.name.includes('.') && el.name.includes('(') && el.name.includes(')') no element was matched, is there another way for us to detect function names?

authors: findlay-best-wishes kingzez moaoa samijaber

repo: BuilderIO/mitosis


text:
Multiple Options are same in the Quiz Template.

Two Options are same as depicted in the pic which is unwanted from my point of view.

Closed via #265

authors: octacode opticod

repo: BuildmLearn/BuildmLearn-Toolkit-Android

license_source: bigquery


text:
1.18.2 Release

Hello I have just pushed the code for 1.18.2, if you don't mind do a release for it !

Well, I apparently have the rights to create a branch, but not to push, here is the patch : ```
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/build.gradle b/build.gradle
--- a/build.gradle	(revision 075ddea0eb36d23178831cb5632a37b5927234f4)
+++ b/build.gradle	(revision 41102a80c93ec1847c2a7f18cce4d77e6d2abebe)
@@ -14,12 +14,12 @@
version = '1.0.0'
group = 'sbm-puntanimal'
-archivesBaseName = 'SBM-Punt-Animal-1.17.1'
+archivesBaseName = 'SBM-Punt-Animal-1.18.2'
-java.toolchain.languageVersion = JavaLanguageVersion.of(16)
+java.toolchain.languageVersion = JavaLanguageVersion.of(17)
minecraft {

mappings channel: 'official', version: '1.17.1'

mappings channel: 'official', version: '1.18.2'
runs {
client {
properties 'forge.logging.console.level': 'debug'
@@ -35,7 +35,7 @@
}

dependencies {

minecraft 'net.minecraftforge:forge:1.17.1-37.0.13'

minecraft 'net.minecraftforge:forge:1.18.2-40.0.12'
}

jar {
Index: src/main/java/com/builtbroken/puntanimal/PuntAnimal.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/main/java/com/builtbroken/puntanimal/PuntAnimal.java b/src/main/java/com/builtbroken/puntanimal/PuntAnimal.java
--- a/src/main/java/com/builtbroken/puntanimal/PuntAnimal.java	(revision 075ddea0eb36d23178831cb5632a37b5927234f4)
+++ b/src/main/java/com/builtbroken/puntanimal/PuntAnimal.java	(revision 41102a80c93ec1847c2a7f18cce4d77e6d2abebe)
@@ -23,9 +23,7 @@
try
{
final Entity source = event.getSource().getDirectEntity();

       if (source instanceof Player)

       {

           final Player attacker = (Player) source;

       if (source instanceof final Player attacker) {
           final LivingEntity victim = event.getEntityLiving();

           if (attacker.isCrouching() && victim instanceof Animal) //TODO set allow/block list for victim

@@ -33,8 +31,8 @@
event.setCanceled(true);
                 victim.knockback(0.5F,

                       Mth.sin(attacker.yHeadRot * ((float)Math.PI / 180F)),

                       -Mth.cos(attacker.yHeadRot * ((float)Math.PI / 180F)));

                       Mth.sin(attacker.yHeadRot * ((float) Math.PI / 180F)),

                       -Mth.cos(attacker.yHeadRot * ((float) Math.PI / 180F)));
           }
       }
   }

Index: src/main/resources/META-INF/mods.toml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml
--- a/src/main/resources/META-INF/mods.toml	(revision 075ddea0eb36d23178831cb5632a37b5927234f4)
+++ b/src/main/resources/META-INF/mods.toml	(revision 41102a80c93ec1847c2a7f18cce4d77e6d2abebe)
@@ -1,26 +1,26 @@
-modLoader="javafml" #mandatory
-loaderVersion="[37,)" #mandatory
-issueTrackerURL="https://github.com/BuiltBrokenModding/SBM-Punt-Animal/issues"
-displayURL="http://minecraft.curseforge.com/projects/sbm-punt-animal"
-authors="BuiltBrokenModding"
-license="All rights reserved"
+modLoader = "javafml" #mandatory
+loaderVersion = "[40,)" #mandatory
+issueTrackerURL = "https://github.com/BuiltBrokenModding/SBM-Punt-Animal/issues"
+displayURL = "http://minecraft.curseforge.com/projects/sbm-punt-animal"
+authors = "BuiltBrokenModding"
+license = "All rights reserved"
[[mods]] #mandatory
-modId="sbmpuntanimal" #mandatory
-version="1.0.0" #mandatory
-displayName="SBM-Punt-Animal" #mandatory
-description='''Push animals without causing damage''' #mandatory
+modId = "sbmpuntanimal" #mandatory
+version = "1.0.0" #mandatory
+displayName = "SBM-Punt-Animal" #mandatory
+description = '''Push animals without causing damage''' #mandatory
[[dependencies.sbmpuntanimal]]
modId="forge"

mandatory=true
versionRange="[37,)"
ordering="NONE"
+mandatory = true
+versionRange = "[40,)"
+ordering = "NONE"
side="BOTH"

[[dependencies.sbmpuntanimal]]
modId="minecraft"

mandatory=true
versionRange="[1.17.1,1.18)"
ordering="NONE"
+mandatory = true
+versionRange = "[1.18.2,1.19)"
+ordering = "NONE"
side="BOTH"
\ No newline at end of file

Make a pull request

authors: DarkGuardsman LotuxPunk

repo: BuiltBrokenModding/SBM-Punt-Animal


text:
Downloading a Schedule of all NFL Games

I was having a problem earlier with downloading the 2015 schedule of games using the nflgame.schedulegames module.  To me it seems as though this is deprecated and nflgame.sched is the new convention.  If this is the case, the markdown here could be updated:
from schedule_games = nflgame.schedule.games to schedule_games = nflgame.sched.games
https://github.com/BurntSushi/nflgame/wiki/Cookbook#create-a-csv-file-with-all-games-in-the-2013-regular-season
Also, when looking at the example code, I noted that the 'schedule_games" variable was an ordered dictionary.  The JSON or python code may have changed the and I was getting a 'too many values to unpack error' (Python 2.7).  I tried using iteritems() to work around this, but ended up just calling out each dictionary value by key.  This portion may need a look at as well.
schedule_games = nflgame.schedule.games

Had the same issue. This works:
import nflgame
import nflgame.sched
import csv

schedule_games = nflgame.sched.games

with open('2015 Schedule.csv', 'wb') as csvfile:
    schedulewriter = csv.writer(csvfile, delimiter=',')
    schedulewriter.writerow(['Home', 'Away', 'Week', 'Year'])
    for key in schedule_games:
        game = schedule_games[key]
        if game['year'] == 2015 and game['season_type'] == 'REG':
            schedulewriter.writerow([game['home'], game['away'], game['week'], game['year']])

I just updated the wiki btw

Yeap! That's pretty much exactly what I had to do as well.

authors: johnjsyoo rimig

repo: BurntSushi/nflgame

license: Unlicense


text:
[BZZRWRDD-322] Pop의 드래그가 시작되면 Preview가 닫히는 기능 구현

Preview 드래그 기능의 구현이 오래 걸릴 것 같으므로, 일단 현재 구현된 것들은 적용하고 가는 것이 좋을 것 같아 PR을 올립니다.
구현 사항

Pop을 드래그하면 Preview가 사라지는 기능을 구현하였습니다.
위치 정보에 대해서 불필요하게 뜨는 로그를 제거하였습니다.

구현 상세
Pop 드래그시 Preview 닫기

HoverViewStatePreviewed.onPickedByUser()에서 messageView의 disappear를 애니메이션과 함께 실행하게 하고, mCollapseOnDocked를 true로 설정합니다.
HoverViewStatePreviewed.onDocked()에서 mCollapseOnDocked가 true이면 collapse 상태로 변경합니다. 이 때, 애니메이션이 없도록 하기 위해서 mTurnOffNextCollapseAnimation를 true로 설정합니다.
HoverViewStatePreviewed.onDroppedByUser()에서 변수들을 초기화합니다. 지금은 mCollapseOnDocked 필드 하나만 있습니다. Service는 HoverView를 매 번 새로 생성하지 않고, 한 번 생성한 후 재사용하기 때문에 Drop되는 시점에서 변수를 초기화 해주어야 합니다.
TabMessageView의 appear()와 disappear()에서 애니메이션을 적용할 때, 현재 Visibility를 체크하여 애니메이션을 적용할지 여부를 결정합니다.

위치 정보 로그 제거

(위치, 옆면)가 기존과 동일하고 getWidth()가 0이 아닌 경우에는 위치 정보에 대한 로그를 띄우지 않습니다. 기존에는 같은 위치 정보임에도 계속해서 여러개의 로그가 떠서 디버깅에 불편함이 있었습니다

@josh-yun onDroppedByUser()가 Pop을 지운 상태가 아니고 놓은 상태인가보네요. 좀 더 살펴보고 다시 PR을 열겠습니다.

@josh-yun Pop을 '놓는' 경우가 아니라 '버리는' 경우에 init()을 호출하도록 변경하였습니다.

source: gharchive/pull-request

repo: Buzzvil/hover


text:
Remove code duplication in Jenkinsfile

Create test.sh and setup.sh scripts to be used in Jenkinsfile, reducing code duplication.

launch jenkins

launch jenkins


text:
German Scheme Comments: CCitC Suggested Inputs to a Security Problem Definition, Guidance Documentation

Page 44:Combining 2 comments.
First comment, 1st paragraph
"Each CSP that is tested shall provide instructions for deployment of the TOE.
I would expect the TOE developer to leverage guidance of the CSP and to provide guidance on how to configure the Platform so that it fulfills the requirements of the OE. It can't be expected from the CSP to provide guidance on a TOE developed by TOE developers only using the CSP.
2nd comment, 2nd paragraph
"In some circumstances, the Cloud Provider is the only entity that may fulfill these guidance requirements to ensure that the TOE is deployed in the tested configuration."
In the light of the Shared Security Model this makes sense. Existing documentation of the CSP has to be used in this case.

Can re-work these para's to update based on these inputs (mostly comment 1 since comment 2 is in agreement with the text).

Update:
Remove "Each CSP that is tested shall
provide instructions for deployment of the TOE"
Response: Ack.

authors: bharveyTX jgb1128 tstodart

repo: CC-in-the-Cloud/General


text:
Implement Receiver FHIR Enrichment

User Story

As an onboarding engineer,
I need the ability to alter data in a message according to a specific receiver's requirements,
so that I can ensure ReportStream is sending data to STLTs that are accepted by their system(s).
Description/Use Case

The UP FHIR Pipeline has been updated to reflect the updated architecture of the translate function, as seen below. This design aims to decouple "enrichments" from "translations", recognizing they are different and adhering to the single responsibility principle. Furthermore, this design pushes all, or most, data-related enrichments to be done via FHIR transforms.

This ticket aims to implement the paths shown in the diagram above. Furthermore, FHIR Enrichment (FHIR transforms) are already implemented in the translate step (as part of the receive -> FHIR Enrichment -> dispatch path, so the feature is already done, it just needs to be plugged in to the translate function as shown in the diagram.
Another way to summarize this ticket is: Enable the execution of a receiver-specified FHIR transform before running the receiver-specified format translation (like FHIR -> HL7v2)
Risks/Impacts/Considerations

Dev Notes

A note on setting implications:
Presently, the convert step and translation step both share the same translation parameter, named "schemaName". Since we are now distinguishing between "enrichments" and "translations", we will need to rename this setting to be more clear as well as add a new setting. So, the current proposal is:

Update schemaName to enrichmentSchemaName and use this setting in the convert step as well as in the translate step when enriching the FHIR
Create a new setting named translationSchemaName and use this setting in the translation setting when converting from FHIR to another format
Investigate the UI on website for setting schemas and see how this impacts the front end. Will need to contact engagement team with suggestions on improvements on that end.

NOTE: We may not want to change the schemaName param due to deployment complications. The pros and cons should be weighed and discussed.
Acceptance Criteria

[ ] Design review with team as a huddle or 17th prior to implementation
[ ] Receiver FHIR transforms implemented as depicted by the diagram
[ ] Convert step updated to use new FHIR enrichment setting
[ ] Rollout plan for staging and production

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @jack-h-wang @jalbinson @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @mkalish @thetaurean

Should we store the FHIR bundle after we do enrichments in the Blob store. In case we need to debug these transforms?

Should we store the FHIR bundle after we do enrichments in the Blob store. In case we need to debug these transforms?

I think this is a good idea but I think it should be a separate ticket. Presently, in the convert step, we don't do this (we translate from HL7v2 to FHIR and then enrich with FHIR transform). This ticket is to basically do the same in the translate step, just the order is reversed (FHIR transform first then conversion). Whatever solution we come up for helping with traceability and debug-ability for the different conversions/translations should be applied evenly where it applies. Thoughts?

That sounds good to me and  yes we should also do this when applying sender transforms.

Created story for Victor's suggestion here: #12668

repo: CDCgov/prime-reportstream


text:
Retire old sender automation lookup mapper (LookupSenderValuesetsMapper)

Problem statement
Many months ago, a mapper called LookupSenderValuesetsMapper (in Mapper.kt) was created out of the ashes of an aborted effort to write a fuzzy-match AOE mapper. For whatever reason, this mapper was never adopted, and now a new mapper called LookupSenderAutomationValuesets is in active development which essentially does the same thing, only better. This mapper should either be completely removed or otherwise formally deprecated (if there is a way in code to designate that and support it)- along with its supporting unit tests and artifact(s), i.e. ./metadata/tables/local/sender_valuesets.csv
Acceptance criteria

[ ] One last general investigation into whether or not LookupSenderValuesetsMapper is being used (it's currently not, but it's always good to check one last time)
[ ] Remove (or deprecate) all code, tests and data related to LookupSenderValuesetsMapper

To do

[ ] ...

Hey team! Please add your planning poker estimate with ZenHub @ahay-agile6 @doug-s-nava @kevinhaube @sethdarragile6


text:
13136: metrics part 2

This PR adds a new event ReportAcceptedEvent which is emitted when a report is ready to be broken down by receiver.
Test Steps:

Run the application locally with the application insights jar and properly set up environment variable
Run the smoke tests
See events in the Application Insights dashboard

Changes

New event
Added parent report ID to other event to facilitate better querying

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[x] Added tests?

Linked Issues

Fixes #13136

You can do "joins" against the same table given that you break apart the different events into their own views. The output of this sample query is the number of reports routed to different senders per parent report.


text:
Deploy Azure function as part of the normal deployment pipeline

Description
Deploy Azure function as part of the normal deployment pipeline
Additional context
also move all config that into TF
azure functions apps are

reportstream-batched-publisher-dev (manually through github action)
reportstream-batched-publisher-test (manually through github action)
reportstream-batched-publisher-prod (prod deploy pipeline)

there are two functions in each app:
QueueBatchedReportStreamUploader timer function
ReportStreamExceptionHandler queue function

Also make sure you add documentation for the deployment process for this ticket

Done, just waiting for an environment to test in.

authors: emmastephenson zdeveloper

repo: CDCgov/prime-simplereport


text:
Upgrade react-router to v6

Related Issue or Background Info

Continuing #2908
The first merge of this (#3261) resulted in a few bugs. I have already fixed the bug with self-registration links, currently looking into the other bugs. We will be QA'ing the hell out of this before merging again.

Changes Proposed

Update react-router-dom to version 6.2.1. The major version upgrade from v5 to v6 introduced a number of breaking changes that touch a lot of different parts of the app. I followed this upgrade guide, making the following changes:

Switch to the hooks API introduced in v5.1 so that we don't have to pass the match prop down to child routes to access things like location and params. This is a huge improvement for code cleanliness!
<Route component={SomeComponent}> /> now becomes <Route element={<SomeComponent />} />, which allows us to easily pass props into routes! More info on the benefits of this here
Replace all uses of withRouter with hooks
Convert all <Redirect> components into <Navigate> components
Refactor the <GuardedRoute> and <ProtectedRoute> components into ones that get passed into an element prop of a <Route />, rather than returning a <Route /> component themselves. You can read a little more about why this change was made here.
Upgrade all <Switch> elements to <Routes> - see here, but the new <Routes> component allows relative routing!
Start using relative routes and links. You may have noticed before that some of our app components like PatientApp used to include an additional <Router> component with a basename prop so that we didn't have to prefix every route with /pxp. With v6 that's no longer needed because <Route> components can now be nested and the paths always include the parent route's path! The same goes for <Link> and <Navigate> components.
<Route> paths no longer need a leading slash, and can end in a wildcard * to match all subpaths. More info
Convert all uses of useHistory to useNavigate. More info
Related to the above, since useHistory is no longer available, we can't pass history into our Application Insights config. However, I don't think it was needed in the first place according to this comment. Since we have enableAutoRouteTracking: true set, it should already record any route changes automatically (see docs here)
Remove activeClassName and activeStyle props from Links
Last, the react-router team removed support for the <Prompt> component from this release in order to expedite the release. However, I was able to use a reimplementation found in this GH issue to keep that functionality since we use it in a couple places in the app. However, the team plans to readd it at some point, so I will keep an eye out and be sure to switch to the official API when it comes back.

These changes broke a lot of our tests, so I had to change a bunch of the tests, especially the ones that use <MemoryRouter>
Remove the react-router dependency. The react-router package includes everything from both react-router-dom and react-router-native, but we only use react-router-dom. Also updated all imports across the app to use react-router-dom
Added a REACT_APP_DISABLE_MAINTENANCE_BANNER environment variable that disables the maintenance banner, because it was causing issues on the e2e tests.
Added a /reload-app route which just redirects back to /. This allows us to retrigger the whoami query (for example after spoofing into an org) without actually refreshing the page and having to reload the bundle.

Additional Information

Another change that would be interesting is to use the <Outlet> component (docs here). This would allow us to place all of our <Route> components into a single tree in index.tsx, and then use the <Outlet> component in <Route> elements to refer to the child routes. This would be another big win for code cleanliness!

I took a stab at implementing, but wasn't sure how to pass state back up to the parent component, so I'm going to skip this for now.

Screenshots / Demos
Checklist for Author and Reviewer
Infrastructure

[ ] Consult the results of the terraform-plan job inside the "Terraform Checks" workflow run for this PR. Confirm that there are no unexpected changes!

Design

[ ] Any UI/UX changes have a designer as a reviewer, and changes have been approved
[ ] Any large-scale changes have been deployed to test, dev, or pentest and smoke-tested by both the engineering and design teams

Content

[ ] Any content changes (including new error messages) have been approved by content team

Support

[ ] Any changes that might generate new support requests have been flagged to the support team
[ ] Any changes to support infrastructure have been demo'd to support team

Testing

[ ] Includes a summary of what a code reviewer should verify

Changes are Backwards Compatible

[ ] Database changes are submitted as a separate PR

[ ] Any new tables that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user
[ ] Any changes to tables that have custom no-PHI views are accompanied by changes to those views
(including re-granting permission to the no-PHI user if need be)
[ ] Liquibase rollback has been tested locally using ./gradlew liquibaseRollbackSQL or liquibaseRollback
[ ] Each new changeset has a corresponding tag

[ ] GraphQL schema changes are backward compatible with older version of the front-end

Security

[ ] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

Cloud

[ ] DevOps team has been notified if PR requires ops support
[ ] If there are changes that cannot be tested locally, this has been deployed to our Azure test, dev, or pentest environment for verification

Fixed the three bugs that were found when #3261 was merged to prod:

Self-reg links are now prefixed with /app. However, the old links without /app prefixed will still be supported after #3344 is merged.
Patients list pagination works again. Also added a unit test to ensure pagination doesn't break in the future.
Edit facility form now loads the facility info in. Also fixed some tests here to prevent regression

Video:
https://user-images.githubusercontent.com/9121162/152599864-72a06740-73ba-4e07-a75c-75abdc59f9bc.mp4

Also deploying to dev for more thorough smoke testing.

Here is the changeset since the previous attempt to merge


text:
Access to CDCGov repos as a member of the Tech Enablement Team

What type of help do you need?

[ ] Question
[ ] New Repo
[ ] Delete Repo
[X ] User Membership (please make sure new members are familiar with the CDC open practices and set up their profile with name and org info to help people collaborate with them)
[ ] Other

Please describe how you'd like us to help.
Hello, I am a member of the Tech enablement team, and I need access to CDCGov repos in order to work on tickets like https://cdc-dexops.atlassian.net/browse/HL7-2362 and https://cdc-dexops.atlassian.net/browse/HL7-2365

Invited.

authors: boris-ning-usds hokoli-afs

repo: CDCgov/template


text:
These are fixes for github issues 250, 249, 248, 247

#250  This fixes the broken "Add Note" button on the curation history page so that it updates and works again (see the first commit in my commit history)
#249 That particular problem was fixed already, but another problem happened when a user wasn't logged in and tried to access a dataset.  Added logic not to check the user unless there was a current_user.  That fixed #247.
Also added text to curators telling them they won't see files until the user has actually submitted them to the repository if they are previewing an in-progress dataset version.
#248 was a problem with stash_identifiers not being set because of obsolete data in the database.  stash_identifiers are always created when new datasets are created now.

Hi Brian, I'm going to go ahead and merge this since I wanted to create a tag with the latest stuff in it for the curators to test on stage and these are some fixes based on problems they exposed.
I'm happy to modify based on your feedback, though.

repo: CDL-Dryad/stash


text:
tinymce editors for comments missing lists and tables

the tinyMCE editors appear to be standardized everywhere except lists and tables are missing in the Comments area on the write plan page. this is only happening on dmptool stage, not roadmap stage.

this is related to https://github.com/DMPRoadmap/roadmap/issues/1594.
We weren't happy with the resolution for that one. My suggestion is to update the notifications page so that its Tinymce editor allows tables and lists. We can just rely on Super Admins not to use that functionality since it will not display properly. That should become evident pretty quickly if they do use it.

transferred to roadmap

authors: briri stephaniesimms

license: mit


text:
🛑 e-INFRA CZ OpenStack site in Ostrava is down

In 2be773c, e-INFRA CZ OpenStack site in Ostrava (https://identity.ostrava.openstack.cloud.e-infra.cz/v3/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: e-INFRA CZ OpenStack site in Ostrava is back up in 24d5e38 after 43 minutes.

repo: CERIT-SC/uptime


text:
netopeer2-server start failed

When I started the netopeer2-server it failed with the error info "Unable to stat data file for 'ietf-system': No such file or directory." where is this file?
root@OpenWrt:~# netopeer2-server -d -v 2
netopeer2-server[2299]: Connected to daemon Sysrepo Engine at socket=/var/run/sysrepod.sock
netopeer2-server[2299]: Netopeer2 connected to sysrepod.
netopeer2-server[2299]: Extension plugin "/usr/lib/libyang/metadata.so" successfully loaded.
netopeer2-server[2299]: Extension plugin "/usr/lib/libyang/nacm.so" successfully loaded.
netopeer2-server[2299]: Reading module "ietf-yang-metadata".
netopeer2-server[2299]: Module "ietf-yang-metadata@2016-08-05" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "yang".
netopeer2-server[2299]: Resolving "yang" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "yang" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "yang@2017-02-20" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-inet-types".
netopeer2-server[2299]: Resolving derived type "union" failed, it will be attempted later.
netopeer2-server[2299]: Resolving type default "" failed, it will be attempted later.
netopeer2-server[2299]: Resolving derived type "union" failed, it will be attempted later.
netopeer2-server[2299]: Resolving type default "" failed, it will be attempted later.
netopeer2-server[2299]: Resolving derived type "union" failed, it will be attempted later.
netopeer2-server[2299]: Resolving type default "" failed, it will be attempted later.
netopeer2-server[2299]: Resolving derived type "union" failed, it will be attempted later.
netopeer2-server[2299]: Resolving type default "" failed, it will be attempted later.
netopeer2-server[2299]: Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "ietf-inet-types" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "ietf-inet-types@2013-07-15" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-yang-types".
netopeer2-server[2299]: Module "ietf-yang-types@2013-07-15" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-datastores".
netopeer2-server[2299]: Module "ietf-datastores@2017-08-17" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-yang-library".
netopeer2-server[2299]: Module "ietf-yang-library@2017-08-17" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-netconf-acm@2012-02-22" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-netconf-acm".
netopeer2-server[2299]: Resolving "ietf-netconf-acm" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "ietf-netconf-acm" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "ietf-netconf-acm@2012-02-22" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "nc-notifications@2008-07-14" from sysrepo.
netopeer2-server[2299]: Reading module "nc-notifications".
netopeer2-server[2299]: Reading module "notifications".
netopeer2-server[2299]: Module "notifications@2008-07-14" successfully parsed as imported.
netopeer2-server[2299]: Module "nc-notifications@2008-07-14" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "notifications@2008-07-14" from sysrepo.
netopeer2-server[2299]: Module notifications@2008-07-14 already present in context.
netopeer2-server[2299]: Loading schema "ietf-netconf@2011-06-01" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-netconf".
netopeer2-server[2299]: Reading module "ietf-netconf-acm".
netopeer2-server[2299]: Module "ietf-netconf-acm" already in context.
netopeer2-server[2299]: Module "ietf-netconf-acm@2012-02-22" successfully parsed as implemented.
netopeer2-server[2299]: Resolving "ietf-netconf" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "ietf-netconf" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "ietf-netconf@2011-06-01" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-keystore@2016-10-31" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-keystore".
netopeer2-server[2299]: Module "ietf-keystore@2016-10-31" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-ssh-server@2016-11-02" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-ssh-server".
netopeer2-server[2299]: Reading module "ietf-keystore".
netopeer2-server[2299]: Module "ietf-keystore" already in context.
netopeer2-server[2299]: Module "ietf-keystore@2016-10-31" successfully parsed as implemented.
netopeer2-server[2299]: Module "ietf-ssh-server@2016-11-02" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-tls-server@2016-11-02" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-tls-server".
netopeer2-server[2299]: Module "ietf-tls-server@2016-11-02" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "iana-crypt-hash@2014-08-06" from sysrepo.
netopeer2-server[2299]: Reading module "iana-crypt-hash".
netopeer2-server[2299]: Module "iana-crypt-hash@2014-08-06" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-x509-cert-to-name@2014-12-10" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-x509-cert-to-name".
netopeer2-server[2299]: Module "ietf-x509-cert-to-name@2014-12-10" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-netconf-server@2016-11-02" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-netconf-server".
netopeer2-server[2299]: Reading module "ietf-x509-cert-to-name".
netopeer2-server[2299]: Module "ietf-x509-cert-to-name" already in context.
netopeer2-server[2299]: Module "ietf-x509-cert-to-name@2014-12-10" successfully parsed as implemented.
netopeer2-server[2299]: Resolving "ietf-netconf-server" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "ietf-netconf-server" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "ietf-netconf-server@2016-11-02" successfully parsed as implemented.
netopeer2-server[2299]: Loading schema "ietf-system@2014-08-06" from sysrepo.
netopeer2-server[2299]: Reading module "ietf-system".
netopeer2-server[2299]: Reading module "iana-crypt-hash".
netopeer2-server[2299]: Module "iana-crypt-hash" already in context.
netopeer2-server[2299]: Module "iana-crypt-hash@2014-08-06" successfully parsed as implemented.
netopeer2-server[2299]: Resolving "ietf-system" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "ietf-system" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "ietf-system@2014-08-06" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-netconf-monitoring".
netopeer2-server[2299]: Module "ietf-netconf-monitoring@2010-10-04" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-netconf-with-defaults".
netopeer2-server[2299]: Reading module "ietf-netconf".
netopeer2-server[2299]: Module "ietf-netconf" already in context.
netopeer2-server[2299]: Module "ietf-netconf@2011-06-01" successfully parsed as implemented.
netopeer2-server[2299]: Module "ietf-netconf-with-defaults@2011-06-01" successfully parsed as implemented.
netopeer2-server[2299]: Reading module "ietf-netconf-notifications".
netopeer2-server[2299]: Resolving "ietf-netconf-notifications" unresolved schema nodes and their constraints...
netopeer2-server[2299]: All "ietf-netconf-notifications" schema nodes and constraints resolved.
netopeer2-server[2299]: Module "ietf-netconf-notifications@2012-02-06" successfully parsed as implemented.
netopeer2-server[2299]: Module not found. (/notifications)
netopeer2-server[2299]: lys_set_private: Invalid parameter.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/name" created.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/ssh" created.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/ssh/address" created.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/ssh/port" created.
netopeer2-server[2299]: Listening on :::830 for SSH connections.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/ssh/host-keys" created.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/ssh/host-keys/host-key[name='test_ssh_listen_key']/name" created.
netopeer2-server[2299]: Path "/ietf-netconf-server:netconf-server/listen/endpoint[name='test_ssh_listen_endpt']/ssh/host-keys/host-key[name='test_ssh_listen_key']/public-key" created.
netopeer2-server[2299]: Unable to stat data file for 'ietf-system': No such file or directory.
netopeer2-server[2299]: Attempt to subscribe to unknown 'ietf-system' module.
netopeer2-server[2299]: Unable to set socket directory permissions for '/var/run/sysrepo-subscriptions/ietf-system/'.
netopeer2-server[2299]: Cannot generate server socket path.
netopeer2-server[2299]: Cannot initialize Client Subscription Manager.
netopeer2-server[2299]: NULL value detected for subscription argument of cl_sm_subscription_cleanup
netopeer2-server[2299]: Error by initialization of the subscription in the client library.
netopeer2-server[2299]: np2srv_sr_subtree_change_subscribe failed (sysrepo: Requested schema model is not known).
netopeer2-server[2299]: Server init failed.
netopeer2-server[2299]: Client Subscription Manager successfully destroyed.
root@OpenWrt:~#

After created the
/etc/sysrepo/data/ietf-system.startup
/etc/sysrepo/data/ietf-system.startup.lock
file, the netopeer2-server can start up.


text:
Dedicated file logger for netopeer2/netconf

Hi !
This is a feature request/proposal.
Are you open to the idea of having a dedicated log file in parallel to the usual console logger to log all the netconf related messages ?
I want to have it separate to the main console output so that I can have both enabled at the same time, but keep the main log at info level for usual operation and the logfile at a more "debug" level to always have the rpc traces available. (I know that it is possible to have the messages in the console output using MSG option)
This is quite useful for instance to see at a glance the content of all the requests/replies  transiting through the netopeer2-server.
We can also then parse the file using a tool like https://github.com/AeroFlorian/netconf-parser
On my end I did it patching netopeer2-server (to alter the nc logging callback and create the log file) + the libnetconf itself to filter the display of the get-schema replies. (which are pretty huge)
I attached an example output:
netconf_trace_example.log
And its view in the tool I mentioned:

This is a similar subject as https://github.com/CESNET/Netopeer2/issues/307

No problem, if you create a nice PR, I will merge it. Just make sure the code is clean and all the new features optional.

authors: Krisscut michalvasko


text:
react-router-cache-route 能和umi结合下吗

俊哥儿，react-router-cache-route 能和umi结合下吗？
或者给个思路

你应该多看看umi的issues，umi已经对此做出了方案

没错，现在还没合并xiaohuoni 的分支

umi 的路由管理被包起来了，要使用 CacheRoute 的话只能等 umi 支持，在这之前如果想要即刻使用缓存功能，可以试试我新写的库 react-activation 不依赖路由的 KeepAlive 方案，不需要等 umi 支持

好的，我试试看

https://www.npmjs.com/package/umi-plugin-cache-route

https://www.npmjs.com/package/umi-plugin-cache-route

@johanazhu 推荐小火尼的渐进式方案

...@CJY0208 我不叫小火泥，我是小虎 oni

...@CJY0208 我不叫小火泥，我是小虎 oni

其实你已经介绍了遍插件，我又重复了，目的很明显，只是为了说一下这个给你起的外号~
顺便问一下，umi keepalive 的覆盖操作是不可逆的吗？

umi keepalive 覆盖操作不可逆，且是临时性的。重新安装任意模块，就会被重置。

使用云构建时，如何应用于生产环境


text:
The xenomorph weed has a restriction on simultaneous propagation

Description

The xenomorph herb has a limit on simultaneous distribution.
If you try to place multiple sources of xenomorph grass, they will all spread very slowly
Reproduction

Put in one source of xenomorph weed.
Monitor the rate of spread
Place 20-40 more xenomorph weed sources for more visibility.
Monitor the rate of spread

Screenshots

https://github.com/CM-14/CM-14/assets/74924875/3d5e49d3-9443-46a7-8bff-39f6f7d8239c
https://github.com/CM-14/CM-14/assets/74924875/cb3886d4-8676-41d1-a012-7e5f1586c70e
Additional context

This is because of the way edge spreader updates work upstream, I didn't fix it yet since I didn't think it would be a major problem after round start.
I hotfixed it now in https://github.com/CM-14/CM-14/commit/e79e3cff8b0a48d50a799d50d23053182d789578

authors: DrSmugleaf MetalSage


text:
Logout of User Account

Rationale: As a participant, I want to be able to log out of my profile, so I can sign in to another account
Description: Create a button on the user profile page that logs the user out of their account and redirects them to the MainActivity (Login/Registration Page). Only need to modify XML file and OnClickListener functionality
Story Points: 2
#16

This issue will have its work completed under issue #42

authors: EPostill raysarinas


text:
hide task with no errors

I wonder if the tasks that do not have errors at all should or should not appear in the console ; maybe they should not by default, and have a "show all tasks" button somewhere

Addressed on https://github.com/CMSCompOps/wtc-console/pull/19

authors: vargasa vlimant

repo: CMSCompOps/wtc-console


text:
🛑 MOVIE-RSS is down

In 8f550ff, MOVIE-RSS (https://movie-rss.cord.town/) was down:

HTTP code: 403
Response time: 60 ms

Resolved: MOVIE-RSS is back up in 5fa4d74.

repo: CORDTOWN/upptime


text:
Feature/open planner

Status
**PRODUCTION **
Description
Split OpenPlanner Into multiple nodules
Stage 1:

Update OpenPlanner library latest development from feature/OpenPlanner-dev
Test and fix  backward compatibility for current OpenPlanner nodes (way_planner, dp_planner)
Add new package to planning/motion/ : op_local_planner
Add new node for candidate trajectory generation: op_trajectory_generator
Add UI launcher in the Runtime Manager
Tested using way_planner and waypoint loader for global path generation
Tested with simulation and rosbag data.

Todos

[ ] Common parameter
separate common local planning parameters from each node specific parameters
[ ] Documentation

Steps to Test

Run op_trajectory_generator from runtime_manager/computing/motion planning/OpenPlanner - Local planning/op_trajectory_generator
Global path data should be available either by way_planner or waypoints_loader
current _pose should be available either by live localization from rosbag or simulation.
Results could be observed on rviz, green roll outs coming out from the center of the car parallel to the global path.

@hatem-darweesh this is a really large PR. Can you please explain where does the motivation come from? What are the exact benefits of this PR?

@dejanpan It is part of TierIV requirements , to merge latest OpenPlanner into master branch by splitting it into separate nodes.
Objectives are:

Separate different parts of OpenPlanner into small nodes
Refactor and use latest development for the past 8 month.

@hatem-darweesh so the code is now more modular. Is it also more performant?

@dejanpan Yeah, current code is optimized, more readable and planning performance is much faster. (100 hz on average)

@hatem-darweesh
I changed the base branch to develop.
however, conflicts are occurring. Please resolve it.

@hatem-darweesh @yk-fujii same here. It is impossible that change in 75 files is without bugs. Such PR must be thoroughly reviewed, discussed and there must be test.

authors: dejanpan hatem-darweesh yk-fujii

repo: CPFL/Autoware


text:
Enable Easy queue to be matched with Easy.* queue (as well as other Complexity)

Matching Service
E.g., Easy queue can be matched with any of the EasyPython, EasyJava or EasyC++ queue. However, the contrapositive is not true.

We have decided not to go with this way

authors: JrmCkh lhy-hoyin


text:
Need REST API to List a Promotion

As a User
I need the ability to see the list of promotions
So that I apply them to my purchase accordingly
Assumptions

The base URL would be /promotions/list
Hitting this endpoint will return all promotions

Acceptance Criteria
Given the server is available
When I call the URL /promotions/list
Then  it should return all of the promotions.
return a list of Promotions:
The Results should look like this
[
    {
        <id> : <value>
        <name>: <value>
        <start_date>: <value>
        <end_date>: <value>
        <is_active>: <value>
        <whole_store>: <value>
        <has_been_extended>: <false>
        <original_end_date>: <end_date>
        <message>: <value>
        <promotion_changes_price>: <value>
    }
]

#17


text:
add forgotten m2m_credentials variable

The default value is not what we use so leaving it to default is not acceptable.

The variable is already present.

repo: CSCfi/pebbles-deploy


text:
Parking issues

Buttons need color or icons.
Add Parking Logo to parking landing page
Map view boarder black for no reason.
Have boxes on list view  aligned properly.
make full into FULL
Make availability boxes have a shadow to be the button target
on get a parking pass, no boxes for availability.
or group availability and unavailability.

Return parking pass confirm button change color, RED

Show how much pro-rated amount is


text:
run_merlin.py (from Ossian repo) crashes on CPU

Hi Srikanth et al,
I'm running run_merlin.py (from Ossian) on a machine with 4 CPUs and 7.5 Gigs of memory, and it crashes when training the acoustic model.
Oct 21 23:36:46 ip-111-222-333-444 kernel: [128851.471423] Out of memory: Kill process 531 (python) score 833 or sacrifice child

I don't know if it's related, but I see only one CPU is getting used at a time, with 400% capacity, as if it's
running 4 jobs on one core.
Ideas? Is this a "I need a bigger machine" problem or a Merlin problem?
-josh

Can you change the buffer size in conf/acoustic_*.conf files and try?

Hi Srikanth,
I'm training again now after halving the buffer size for duration and acoustic models in these two files:
Ossian$ ls scripts/merlin_interface/
feed_forward_dnn_ossian_acoustic_model.conf  feed_forward_dnn_ossian_duration_model.conf

As a reminder, I'm using Ossian, so I gather these are the correct conf files.
I'll report on results when training finishes, but in the mean time I wanted to post the following for documentation reasons.
Here's the Merlin output I had on the original crash, as opposed to the kernel log (which I posted above):
2017-10-21 23:35:14,904 DEBUG    main.train_DNN: calculating validation loss
2017-10-21 23:35:24,706 INFO     main.train_DNN: epoch 4, validation error 189.982375, train error 176.896324  time spent 660.15
2017-10-21 23:35:24,707 INFO           plotting: Generating a plot in file /home/ubuntu/Ossian/train/ky/speakers/atai/naive_01_nn//dnn_training_ACOUST//plots/training_convergence.pdf
./train_ky.sh: line 33:   531 Killed                  python ./tools/merlin/src/run_merlin.py ~/Ossian/train/${lang}/speakers/${voice}/${recipe}/processors/acoustic_predictor/config.cfg

Update: Crashed again
I watched as the Memory usage crept up to 100%, as you can see from htop output:

The script advanced all the way up to epoch 4, and then crashed. Why would it not crash on epoch 1 if this were a buffer issue?
any ideas on what to do?
2017-10-23 17:14:47,542 INFO     main.train_DNN: epoch 4, validation error 189.688105, train error 176.420401  time spent 654.52
2017-10-23 17:14:47,543 INFO           plotting: Generating a plot in file /home/ubuntu/Ossian/train/ky/speakers/atai/naive_01_nn//dnn_training_ACOUST//plots/training_convergence.pdf
2017-10-23 17:25:41,840 DEBUG    main.train_DNN: calculating validation loss
2017-10-23 17:25:43,300 CRITICAL       main    : train_DNN threw an exception
Traceback (most recent call last):
  File "./tools/merlin/src/run_merlin.py", line 1175, in <module>
    main_function(cfg)
  File "./tools/merlin/src/run_merlin.py", line 838, in main_function
    cmp_mean_vector = cmp_mean_vector, cmp_std_vector = cmp_std_vector)
  File "./tools/merlin/src/run_merlin.py", line 304, in train_DNN
    this_valid_loss = valid_fn()
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 898, in __call__
    storage_map=getattr(self.fn, 'storage_map', None))
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line 325, in raise_with_op
    reraise(exc_type, exc_value, exc_trace)
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 884, in __call__
    self.fn() if output_subset is None else\
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 872, in rval
    r = p(n, [x[0] for x in i], o)
  File "/usr/local/lib/python2.7/dist-packages/theano/tensor/blas.py", line 1544, in perform
    z[0] = numpy.asarray(numpy.dot(x, y))
MemoryError:
Apply node that caused the error: Dot22(Elemwise{Composite{tanh((i0 + i1))}}[(0, 0)].0, W)
Toposort index: 10
Inputs types: [TensorType(float64, matrix), TensorType(float64, matrix)]
Inputs shapes: [(29669, 1024), (1024, 1024)]
Inputs strides: [(8192, 8), (8192, 8)]
Inputs values: ['not shown', 'not shown']
Outputs clients: [[Elemwise{Composite{tanh((i0 + i1))}}[(0, 0)](Dot22.0, InplaceDimShuffle{x,0}.0)]]

HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.

Hi Srikanth,
Any ideas on debugging this?
-josh

authors: JRMeyer ronanki

repo: CSTR-Edinburgh/merlin


text:
UI of 404 page should be improved

Problem
The UI of the 404 page of the website should be improved. The visiting user (non-technical person) cannot understand the meaning of the 404 code?
Solution
It should have well designed UI with graphics or illustration and with some appropriate information like we should inform the user that he has jumped or redirected to wrong page or the page he is trying to find is not available.
Please assign this issue to me under GSSOC '22.
Thanks!

I'm working on it.

I installed and setup this project locally but didn't made any changes locally in codebase. But, when I started localhost:3000 it is showing white background except dark background. Why?
Can you please tell me why this problem is happening?

Also, some nav links are not showing on the homepage.

repo: CSwala/CSwala-website


text:
Convert blog posts to Jekyll Spaceship syntax

@d33bs Mermaid and MathJax are now built into the template with Jekyll Spaceship. You may want to convert your blog posts to this simpler syntax (and remove the importing of the js libraries) in this PR.

Originally posted by @vincerubinetti in https://github.com/CU-DBMI/set-website/issues/17#issuecomment-1483267096

You may also want to manually set the last modified field, since all the files got updated in #17
https://greene-lab.gitbook.io/lab-website-template-docs/basics/blog-posts

repo: CU-DBMI/set-website


text:
Accuracy/rank counter positioning bug.

Describe the Bug
The accuracy and rank counter shows up in the middle of the lanes rather than on the side, below the combo.
Attach or Link Files
CountersPlusIni.zip
A helpful start will be to attach your current Counters+ Config (Located in Beat Saber/UserData/CountersPlus.ini) to this report.
If you wish to be even more helpful, try taking a screenshot of the Beat Saber Console when you reproduce the issue (--verbose in the start arguments. You can use Google to figure out how to take a screenshot.)
If you want to be my best friend, attach the latest log with a date and time name (Not latest.log.gz), located in Beat Saber/Logs/Counters+.
Probable Culprit
uhhhh
Screenshots or Video

Additional context
Add any other context about the problem here.

Hmm, strange.
I'm a bit busy right now, but ill get to this when I can.

Thanks! Let me know if you need me to send logs or something.

CountersPlusIni (2).zip
am I doing this right

Oh you have the same problem too?

Yes I do :/
On Thu, May 28, 2020, 10:55 AM Ryan notifications@github.com wrote:

Oh you have the same problem too?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Caeden117/CountersPlus/issues/53#issuecomment-635468961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMVMWJUTBNHXXCTAXXSBDLRT2JRBANCNFSM4NJ2DZTA
.

Fixed in Counters+ 1.9.1


text:
always shown tip

is there a way to make the tip always shown and not dependant of an event or smth ?
Thanks :)

I'm also interested on this feature. @eMerzh Did you manage to do something on your own?

@marco-lobo-jd no, didn't get the time to explore it yet... never say never but if you find smth i'm interested ;-)

I'm interested too. Did anyone find out anything on that?

Shouldn't it work just to call tip.show() manually, instead of in response to an event? You're in complete control of when the tip is shown and hidden.

authors: Pehesi97 eMerzh gordonwoodhull marco-lobo-jd


text:
How to use changeCallbacks in android

Expect
Hi. Thanks for making this package.
I do take picture, and save image at my folder.
Then, in iOS, receive changeCallback.
But, in Android, don't receive changeCallback.
I don't know that's why.
I used compileSdkVersion is 30, targetSdkVersion is 30, minSdkVersion is 16.
Is the usage wrong?
Any help would be appreciated.
Thank you for your advice.
ScreenShots
Screenshots showing the purpose.
add Callback code

save image code

callback method(just print)

The original observer has some problems.
Now I fixed it, but need to wait for the release of the next version.

The original observer has some problems.
Now I fixed it, but need to wait for the release of the next version.

Thanks for the feedback.
I look forward to the next version.


text:
[Feature] Paginated asset path list

Is your feature request related to a problem? Please describe.

On an iPhone 6 with 8.500+ assets it takes roughly  25 seconds for getAssetPathList() to load.
On an iphone 8 with 25.000+ assets the app crashes with this exception taken from Firebase Crashlytics:

Fatal Exception: NSRangeException
*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray

Fatal Exception: NSRangeException
0  CoreFoundation                 0x1cf0e127c __exceptionPreprocess
1  libobjc.A.dylib                0x1ce2bb9f8 objc_exception_throw
2  CoreFoundation                 0x1ceff67bc -[__NSCFArray count]
3  Photos                         0x1ddb2500c -[PHFetchResult objectAtIndex:]
4  photo_manager                  0x1032f4b34 (Missing)
5  photo_manager                  0x1032f47a4 (Missing)
6  libdispatch.dylib              0x1ceb20a38 _dispatch_call_block_and_release
7  libdispatch.dylib              0x1ceb217d4 _dispatch_client_callout
8  libdispatch.dylib              0x1ceafcdec _dispatch_lane_serial_drain$VARIANT$armv81
9  libdispatch.dylib              0x1ceafd92c _dispatch_lane_invoke$VARIANT$armv81
10 libdispatch.dylib              0x1ceb05e08 _dispatch_workloop_worker_thread
11 libsystem_pthread.dylib        0x1ced01114 _pthread_wqthread
12 libsystem_pthread.dylib        0x1ced03cd4 start_wqthread

and
Fatal Exception: NSRangeException
*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray

Fatal Exception: NSRangeException
0  CoreFoundation                 0x1cf0e127c __exceptionPreprocess
1  libobjc.A.dylib                0x1ce2bb9f8 objc_exception_throw
2  CoreFoundation                 0x1ceff67bc -[__NSCFArray count]
3  Photos                         0x1ddb2500c -[PHFetchResult objectAtIndex:]
4  photo_manager                  0x1032f4b34 (Missing)
5  photo_manager                  0x1032f47a4 (Missing)
6  libdispatch.dylib              0x1ceb20a38 _dispatch_call_block_and_release
7  libdispatch.dylib              0x1ceb217d4 _dispatch_client_callout
8  libdispatch.dylib              0x1ceafcdec _dispatch_lane_serial_drain$VARIANT$armv81
9  libdispatch.dylib              0x1ceafd92c _dispatch_lane_invoke$VARIANT$armv81
10 libdispatch.dylib              0x1ceb05e08 _dispatch_workloop_worker_thread
11 libsystem_pthread.dylib        0x1ced01114 _pthread_wqthread
12 libsystem_pthread.dylib        0x1ced03cd4 start_wqthread

My assumption is that requesting too many assets at once is the issue here. I'm happy to be proved wrong and given ideas regarding alternative solutions, though. 🙂
Describe the solution you'd like
I'm currently working on a second paginated version of getAssetPathList.
Ideally one can pass in both, the current page (e.g. page=1), as well as the number of items per page (e.g. per_page=40). However, I'd also be happy with  a fixed number of per_page at the moment. What's most important to me is that pagination is possible.
Since the largest issues in our team currently are on iOS devices, that's the first thing I'm tackling -- and simply hope that there are good solutions for Android as well.
In fact, this is the lead I'm trying to follow here as it looks pretty promising: https://stackoverflow.com/questions/47936192/how-to-add-pagination-to-phasset-fetching-from-photos-framework
Let's see how this turns out.
Additional context
Unfortunately I have never in my life touched Objective C and find the learning curve just for reading the syntax incredibly steep. Additionally, my Java-skills are also sorely lacking. If this was Dart, Go, PHP or Javascript, adding pagination would merely be routine work. However, this is a bit more involved for me.
One of the issues is that even if I manage to implement the pagination for getGalleryIdList, there is still other state in the ImageScanner-class that would have to be adjusted, specifically the logic sorrounding refreshGallery and refreshGalleryDict.
I'm willing to fight my way through this, though, and see what comes up.
The reason I open this ticket is that I have two questions:

Since I'm an absolute n00b in both ObjectiveC, as well as Java, do you believe that this is something you could implement in the library?
If you are not willing to implement this for any reason, which is absolutely fine, are there any pointers you can give me? Any pieces of advice? Anything I should keep in mind?

Other than this: thanks for this great library which is sorely needed on Flutter. This is the first library that makes scrolling through a large list of images a breeze. After lots of banging our heads against the wall this library is a life-saver. Thanks for the hard work and sharing it! 👍

Pagination is a reasonable requirement, but I may not have that much time to finish it soon.

That is fully understandable.
I have send you an email to the address in your Github profile. Let me know if that's something you're willing to talk about. If not: Again, I fully understand. 🙂

The feature has merged in #94 , but for some other reason, I will update it to the pub within a few days.

authors: CaiJingLong SvenSchoene


text:
OK unlocking should not eval

I've seen several students type 5/2 as an answer to a print(5/2) WWPD, even though this is not the correct answer.
Instead, we could try to parse and match the syntax trees, or something similar, to handle cases like
[1,2,3] ~ [1, 2, 3]

See #59 for the original issue.

IMO: ast.literal_eval() seems like the right solution here. We attempt to literal_eval the student response, if it fails the client fallbacks to do a normal comparison.

The string or node provided may only consist of the following Python literal structures: strings, numbers, tuples, lists, dicts, booleans, and None.

authors: Sumukh knrafto


text:
Only creates subdirectory for student if it doesn't already exist. Fixes #84

I forgot to check if a student subdirectory (within submissions) already exists before creating it. This fixes #84.

LGTM.


text:
Redirect user to calendarPage on login

Description
LoginWIthDiscord.js file is modified so that on login the user is redirected from landingPage to calendarPage.
Type of change
Please select everything applicable. Please, do not delete any lines.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Issue
'Redirect user to Calendar when user logs in' #268
Checklist:

[ ] I have executed npm run lint and resolved any outstanding errors. Most issues can be solved by executing npm run format
[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Tested and it works. My only concern is that this prevents users from accessing the landing page when logged in. Would it be possible to have login redirect to the calendar page, but not lock a logged-in user from the calendar?
Tagging @MatthewBozin for visibility and he originally created the issue.

Yes I see, the logged in user cannot access 'Home' from the calendar. I'll take another look at this!

It seems to work now, there is freedom to move to any page whether logged in or not. :)
Whilst trying to fix it, I also worked out how to redirect to the landing page when the user logs out, so I've left that code in the logout function in useProvideAuth.js just in case it is desired, happy to remove it if not!

It appears to be working now! I also added code to redirect to the landing page on logout, in case that's desired but I'm happy to remove it if not, let me know if there's a better way of doing it and I'll give it another go

The code looks good to me, tested it and everything works!
I'm curious about the line spacing, was that due to a linter you are using? Would you mind altering your line spacing to have it conform with the rest of the codebase?
Otherwise, this looks ready to merge.

That's great! I have removed those empty spaces now. Sorry this was overlooked as I was adding and removing an if statement when I was trying to get the useEffect hook to work. Many thanks

That's great! I have removed those empty spaces now. Sorry this was overlooked as I was adding and removing an if statement when I was trying to get the useEffect hook to work. Many thanks

Great work!

authors: Caleb-Cohen MatthewBozin jalonghurst

repo: Caleb-Cohen/Together


text:
awonder, fluoroid

This pull request was generated by the 'mq' tool

/trunk merge

repo: Canva/mergequeue-trunk


text:
change client_name to company_name

changed the references of client_name to company_name

#12

repo: Capgemini-Invent-France/CarbonAI


text:
PHPStan runs forever as pre-commit hook

This might be similar to https://github.com/CaptainHookPhp/captainhook/issues/35, but I opened a new issue to be more specific:
I have a reasonably large codebase with lots of legacy code, and am using PHPStan and Psalm for new code while ignoring the issues in the older code. I usually run PHPStan via composer (so I can just type in composer phpstan) and that works fine.
I attempted a few times to add the exact same command I use via composer scripts as a pre-commit hook with CaptainHook, but it seems PHPStan crashes without CaptainHook noticing, as the PHPStan command just runs forever and never returns: via composer it runs for maybe 15-20 seconds, but even after waiting for 10 minutes or longer via CaptainHook nothing happens. This has been an issue ever since I adopted PHPStan for the project (about 6 months ago) and is still occuring with the latest PHP 7.3 version and the latest CaptainHook and PHPStan versions.
Why I report this here instead of with PHPStan is that it does work via composer scripts, which should work similarly as CaptainHook (with spawning another process, running it and then reporting back), and because CaptainHook just waits forever on PHPStan and there is no error message or hint what actually happened to PHPStan, so I actually wouldn't know what problem to report, where it occurs and why.
This problem does not occur with a new 6-month-old codebase, so there is something in this legacy project that leads to the problem. Ideally there would be a way to show the output from PHPStan while running CaptainHook, or maybe something that composer scripts does can be added to CaptainHook to overcome this.

I'll look into this. Maybe I provide you with some code you can use to debug it on your end.

Sure, that is probably the easiest option to narrow down the cause.

This maybe sounds strange but have you tried to put composer phpstan into the captainhook configuration?

An interesting idea: I tried it, and the same thing happens, so composer phpstan also never returns and the pre-commit hook waits forever.
I also tried running vendor/captainhook/captainhook/captainhook-run pre-commit, which seems to execute a hook outside of git and is ideal for testing this, but it also hangs. I also tried php vendor/captainhook/captainhook/captainhook-run pre-commit, with the same result.
So at least it should be something influenced by Captainhook, as this only happens when it is run through Captainhook, no matter how.

I updated the cli dependency and fixed an issue that could cause deadlocks.
Maybe that already fixes your issue

I upgraded (to sebastianfeldman/cli version 3.2.1), but still the same. Is there a way to output what PHPStan outputs when called via Captainhook? I guess that might be a sensible source to get a further hint.

Next try then :)
Update to sebastianfeldmann/cli 2.3.3.
Look for this file in your vendor folder.
vendor/captainhook/captainhook/src/Runner/Action/Cli.php

And change the Processor to use in line 15 from ProcOpen to Symfony.
https://github.com/CaptainHookPhp/captainhook/blob/7b43019e273b91b4e3e0442437862459f692852b/src/Runner/Action/Cli.php#L15
use SebastianFeldmann\Cli\Processor\Symfony as Processor;

If that solves your problem, the error is in my ProcOpen implementation.

That works! PHPStan and the pre-commit hook finish as expected with the Symfony processor.

Douh! Ok I will take a look at the Symfony implementation and see what I made differently :/

I'm looking into this a little bit. @iquito What OS do you use where this problem occurs?
When looking at the ProcOpen implementation (https://github.com/sebastianfeldmann/cli/blob/master/src/Processor/ProcOpen.php) what's peculiar to me is that the code doesn't wait for the program to finish. It starts the process and immediately reads its output and closes the process. Also I don't think you can use pipe on Windows as the streams there are blocking.
I think at this point we'd be better off using Symfony's Process implementation or just use plain old exec() function (not sure how important is to have stdout and stderr strings in different variables).

Thanks @ondrejmirtes for having a detailed look at this.
I changed the ProcOpen implementation so it "waits" for the process to finish before fetching the output and exit codes.
Migrating to the Symfony implementation could be done quite quickly but for now I'm still a bit reluctant to add the Symfony dependency to CaptainHook just to prevent possible conflicts with users project dependencies.
@iquito could you give it another try?

I'm still a bit reluctant to add the Symfony dependency to CaptainHook

Yeah, that's why I separated phpstan/phpstan package from phpstan/phpstan-src. The first one is only a PHAR file and should be used by all users (it doesn't require anything in its composer.json), and the second one is development-only, and even cannot be requested as a Composer package. It's a great fit for tools like this that are not related to application source code (like an MVC framework).
I'm now free to add any dependency I want, and as a bonus, I now have a "build" step before publishing the package, so I'm free to do more stuff before building the final PHAR.

Hi @sebastianfeldmann I've stumbled on the same issue I think, but using PHPCS.
Using Captainhook 5.1.1
I have project that has lots of errors detected with PHPCS something like 7 000 lines of output. Running PHPCS works ok, but when the action is triggered from a pre-push hook it will run very long with 100% cpu for that thread, no errors thrown. I was experimenting with this new project and thought that I broke something, but then I've noticed that if I lower the number of scanned directories from phpcs it will pass. Why I think it's connected with output? If I put in the hook not only vendor/bin/phpcs, but redirect the output to file like vendor/bin/phpcs > errors.txt all works fine. I've tested with php 7.3, 7.2, in Docker container and also on bare metal - the same result.
I've tested with a previous version that I have on an old project 4.5.8 it works fine.
I've tried your fix with the Symfony Processor and it works fine.
If there is something more I can help I'll be glad.
Thanks for the awesome soft.

I finally gave up and added the Symfony Process dependency. I caught myself copying over solutions for bugs in php from Symfony Process to my own implementation and realized that it doesn't make sense.
Instead why not just use Symfony Process. I will totally consider @ondrejmirtes solution to create a package only containing the PHAR file. So everybody just uses the PHAR even if composer is used to install the Cap'n. Until then we have to live with the extra dependency ;)
Sorry it took so long to just do the obvious thing.
You can install version 5.1.2 and everything should work again.
If you still have issues feel free to just reopen this issue.
Thanks for your feedback and your patience

@ondrejmirtes I'm curious if one could keep a single repository with all requirements (but the php requirement) in require-dev and excluding all sources, tests, e.g. as archive.exclude and .gitattributes and creating the phar file within a binary directory and adding this to the bin config of composer. github actions could create the phar and add it to the tag (never worked with actions yet but wondering if thats possible).
Did you tried that?

I have tested 5.1.2 and it works fine for me.

@boesing I wouldn't try combining the two. For one, in order to be consistent, you'd have to update the PHAR in every commit (and not forget about it).

authors: boesing dimitar-ivanov-tryzens iquito ondrejmirtes sebastianfeldmann

repo: CaptainHookPhp/captainhook


text:
编译报错 Execution failed for task ':app:processDebugResources'.

Execution failed for task ':app:processDebugResources'.

Failed to process resources, see aapt output above for details.

这样看不出来问题

好吧，我再试试，先把issue关掉了，谢谢大佬

C:\Users\Administrator.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0.aar\f426d496ac0c44ad1261d82099102b0d\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCorne
rRadius not found.
E:\GSYGithubAPP\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: AAPT: error: resource android:attr/dialogCornerRadius not found.
C:\Users\Administrator.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0.aar\f426d496ac0c44ad1261d82099102b0d\res\values\values.xml:1304:5-69: AAPT: error: resource android:attr/fontVariationSettin
gs not found.
C:\Users\Administrator.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0.aar\f426d496ac0c44ad1261d82099102b0d\res\values\values.xml:1304:5-69: AAPT: error: resource android:attr/ttcIndex not found.
error: failed linking references.

找到原因了，修改lottie-react-native module下的build.gradle
将api 'com.android.support:appcompat-v7:28.0.0'修改
api 'com.android.support:appcompat-v7:27.0.1'

authors: CarGuo LaymanInCoding

repo: CarGuo/GSYGithubAPP


text:
From Starkware - Verify and label your contracts on block explorers

Description
Starkware strongly encourage apps to verify their contracts - both on mainnet and testnets - and put a name label on their contracts and classes.
Verify your contracts on StarkScan:
https://github.com/starkscan/starkscan-verifier
Put name tags on your contracts on StarkScan:
https://docs.google.com/forms/d/e/1FAIpQLSdqBJ311bP7VdYanA4S778LzWS0c_6nEi0yeaeCRvTM9cJPaA/viewform
Verify your contracts on Voyager:
https://voyager.online/verify
For assistance with StarkScan or Voyager, please reach out on twitter:
https://twitter.com/StarkscanCo
https://twitter.com/0xvoyageronline
Acceptance Criteria

[ ] Verify contracts on StarkScan
[ ] Verify contracts on Voyager
[ ] Put name tags on contracts on StarkScan

Apply this Issue to testnet-1 and testnet-2 #113 and #114 contracts

repo: Carbonable/carbonable-starknet


text:
🛑 Agent Online Ordering - Cartagena is down

In 2a027a1, Agent Online Ordering - Cartagena (https://cartagena.domicilioscrepesywaffles.com.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Agent Online Ordering - Cartagena is back up in 157794f after 11 minutes.


text:
🛑 Feeby.pl is down

In 53813ac, Feeby.pl (https://feeby.pl) was down:

HTTP code: 500
Response time: 1098 ms

Resolved: Feeby.pl is back up in efed37a after 25 minutes.

repo: Caro-Group/status


text:
Support Windows DLLs

Fixes #4

Please note: this works on my machine (64-bit Win10 with Rust 1.26), but is not rigorously vetted/tested.

Done and publish. I'm not particularly using it and it is proof of concept, let me know if commit right and or ability to publish on PyPI would be useful to you I can easily give you access.

Thanks! I'm not planning to do any more work on this at the moment, but I'll let you know if I do.

authors: BatmanAoD Carreau


text:
New – Subscribe for news.

This issue will get things like announcements, or coordination for meetings, etc.

Hello everyone, it seem like some people are interesting in having a video meeting to discuss the future of Papyri in person,
I already talked quickly to @ericholscher and @astrojuanlu; and @choldgraf reached out via twitter.
While we can setup calls privately I'd love to have something opened for the community.
Right now we have interested parties both in US and Europe, so let's try to do one morning.
personally I'll try to reserve every other friday 9 to 10 Pacific time to be available and code on Papyri, starting tomorrow. The other fridays i'll be attending the jupyter security workgroup meetings.

Please include me - I'm ok with times compatible with Europe or the US :)

It seem like Eric can't today, and we'll meet on Tuesday,
Today I'll be in https://meet.google.com/koy-jhmf-jep

Sounds good - I am happy to meet with folks in the community to discuss this. For transparency, here are my goals and things I'm trying to learn more about:

What subset of use-cases does Papyri want to meet? Is it only for codebase documentation, or more general technical documentation as well?
Does papyri integrate with the Sphinx ecosystem, or is it more like a parallel ecosystem? Will projects need to design their docs for one or the other, but not both at the same time?
Is there a way that the Jupyter Book pieces could be re-used in papyri? E.g., MyST Markdown, thebe, etc? (you may be interested in this myst markdown javascript parser we're working on)

And maybe in the long-term, I am wondering if a tool like Jupyter Book would leverage this somehow, or if "scientific and technical communication" is out-of-scope for this project.

More generally, I want to find ways that we can join forces and re-use either tools or standards so that we don't duplicate effort or cause split workflows wherever possible

I'm also more than happy to have scheduled community calls, with public note taking if needed :)
For Read the Docs, apart from what @choldgraf said and unless @ericholscher wants to add something, our goals are to stay in the loop, avoid duplicated efforts, and anticipate possible opportunities for improving the broader Sphinx ecosystem.

Some of the answers to your  questions will be "it depends", mostly because currently the grant scope is limited, and I don't want to spread too far outside of the scope. So for a lot of things they will be good to have but not a priority. Some of the responses are also my personal thoughts and where it ends up going may depends on the community.

Is it only for codebase documentation, or more general technical documentation as well?

In my initial design I tried to think about including non-api and non package author published documentation.
For example I imaging that someone could do :
papyri install user/@choldgraf

And that would install a set of documentation that you published, and that when you view API docs for mne.io.read_raw it list your tutorials that are using it. It's not not technically difficult right now, that documents are namespaced.
Right now narrative docs is not as well supported as API docs, but we can make it better. One of the drawback is that for security reason supporting arbitrary HTML and some things like jupyterbook side by side is not a priority.

Does papyri integrate with the Sphinx ecosystem, or is it more like a parallel ecosystem? Will projects need to design their docs for one or the other, but not both at the same time?

It's parallel in the sens that it does not reuse any of sphinx/docutils. It should be pretty straitforward to setup docs for sphinx and papyri for basic projects without complex requirements. The more directive or custom plugins you use the harder.
We might be able to reuse some of sphinx/docutils part but I doubt it. I also expect Papyri to be stricter in a few points.
For example recently I discovered that docutils allow directive .. name :: with a space before ::, but it's not in RST official description. There are ~10k directive w/o space in numpy/scipy/skimage.., and a dozen with space. I'm planning to explicitly fail on the one with spaces.
You know my feeling about classic notebook to Lab transition, I don't want to repeat that, and want to make it as easy as possible for project to start using papyri while they are using sphinx, but I also don't want to bend backward if some tweaks on the sphinx or each project side are reasonable.

Is there a way that the Jupyter Book pieces could be re-used in papyri? E.g., MyST Markdown, thebe, etc? (you may be interested in this myst markdown javascript parser we're working on)

And maybe in the long-term, I am wondering if a tool like Jupyter Book would leverage this somehow, or if "scientific and technical communication" is out-of-scope for this project.

Yes, Myst is of interest, but not explicitly in the grant. My interest for myst would be to let people use docstrings mostly. In other places as well.
I think the question of jupyterbook integration is two fold:

One philosophical. Do authors want jupyter book to be tightly integrated. I have the impression that Jupyter Book is mostly for standalone work.
Second Technical. When using papyri authors may loose the ability to have strong branding and heavy customization of appearance.

More generally, I want to find ways that we can join forces and re-use either tools or standards so that we don't duplicate effort or cause split workflows wherever possible

Definitely, I think that shifts the possibilities around,  and I will take one of your extension as an example. Users need to install Sphinx-copybutton when the generate the book. With papyri and readthedocs for example, users would not have to do that, if ever such an option for papyri is made then immediately all the project using it papyri on readthedocs would get a copy button.

authors: Carreau astrojuanlu choldgraf melissawm

repo: Carreau/papyri


text:
Student Developer Pack - HOW TO ACTIVATE IT?

Context
Hello,
I have activated the developer student pack (https://education.github.com/discount_requests/new) on my github account.
I registed in CARTO but my account is "professional trial" and I do not have the 2 year free software as promised.
Please help!
GDF

CARTO Support can help adjust your plan @giuliowithg - please send an email to support@carto.com about this, including your CARTO account's username.

I hope you have already solved your problem, so closing this

authors: VictorVelarde giuliowithg ztephm


text:
Put to_create(&:save!) in all AR factories

FactoryGirl/Bot uses save by default to save. We want it to use save! in AR factories to avoid hidden errors.

Keep alive!

Closing in favor of https://app.clubhouse.io/cartoteam/story/83525/put-to-create-save-in-all-ar-factories

authors: gonzaloriestra javitonino

repo: CartoDB/cartodb


text:
[Dashboard] Copy dataset name button

Context
This is a feature request. We have found that it is not easy to copy the name of a dataset because the element is a link.
Current Result

Expected result
So the proposal is to add a "copy button" near the favorite action to copy the name of the dataset.

Thanks @Jesus89

Already in production

authors: Jesus89 alonsogarciapablo alrocar


text:
Cannot delete sync from dataset view

Using the new dataset view from the builder, if you try to delete a synchronization (set interval to "never") it sets the interval to 0 instead of deleting it.

Create a sync table (e.g: import from the data library)
Open in the builder's dataset view
In the sync bar, select "View options", select "Never" and save

Expected behaviour: DELETE to synchronizations endpoint (same as editor).
Actual behaviour: PUT to synchronizations endpoint setting interval to 0. The dataset still shows as synced in the dashboard, and actually syncs from time to time.

👍

authors: javitonino xavijam


text:
Filters

This PR fixes #12386 #12388.

Implementation of https://github.com/CartoDB/cartodb-management/issues/4967#issuecomment-311906816 is still pending.

There is a small problem, GIF:

Also, this is a question, I feel, for @ethervoid. After selecting two filters, the results list is empty, but selecting only one the results appear correctly.

Back to development :female_detective:

When I change the Boundary level on my map, the screen "jumps."

@kevin-reilly that's an issue with the scroll component we are using.
@xavijam both issues are fixed. 🚀  to ruis.

authors: kevin-reilly nobuti xavijam


text:
Reviewed twitter import problems

Added tests for Twitter import (categories and credits views).
Fixed problem with datepicker UTC offset.

Fixes #3042
Fixes #3043

Frontend tests were OK :+1: (details)

@javierarce could you review it please :)?

Frontend tests were OK :+1: (details)

:+1: :tada:

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

authors: Cartofante javierarce xavijam


text:
Recover from tiler errors saving privacy

Fixes #4992
Scope and fix only reverts privacy change so is not a full transaction-like rollback. Just reapplies old privacy. Also when reverting the change tries a best effort: if something fails will continue try to revert as many as possible then report the error.
This basically covers 2 found scenarios:

Tiler down when saving a table privacy change. This is done through a Visualization model update affecting the privacy (first commits).
Named map errors when propagating the privacy change either to the canonical visualization or to any affected visualization (vis that has a layer or query using the table). This is done through a Table model update affecting the privacy (latest commits).

Bonus: covers also unlikely scenarios of UserTable privacy change failing and Map.save failing.

@juanignaciosl CR please

@juanignaciosl CR please, I hope all tests pass but else would just be pending spec stabilization, it is complete regarding logic.

Tough change :+1: I've made some suggestions to avoid god object Table grow even more, take a look.

authors: Kartones juanignaciosl


text:
Adds rake task for changing a users max layers

Fixes #46
CR please @ethervoid :grin:

:+1:

authors: ethervoid gfiorav


text:
Force full refresh on all dependencies when using update-internal-deps

It also deprecates preupdate-internal-deps.
cc @xavijam @nobuti

Supersedes https://github.com/CartoDB/cartodb/pull/9499.


text:
Error when labels have "space"

Hello @Cartucho i got error (again)

i think this error occur because i have labels which has spacing between the words.
Can you help me with this ?
Thank you

yes, that's causing the error.
Today I have no time, but tomorrow I will think about a solution, ok?

ok sir i'll wait for that
thank you so much

Hi @andikira ! Could you please try the updated code?

i got error

oh right, you use Python 3.
Fixing it...

It should work now!

Great, The extra feature is work now,
Thank you, but in result folder there is no recall-precision curve, prediction/ground truth diagram etc as usual
do you know why ?

do you have the matplotlib installed?

haha sorry i forgot that
Thank you @Cartucho
closed now

Btw you gave me an idea! I will write in the code's output:
matplotlib is currently not installed, please install it to get the resulting plots

Done!

authors: Cartucho andikira

repo: Cartucho/mAP


text:
Refactor: #110 Display balance wallets

Summary (Please recap what you changed or fixed)

Display the balance of wallets

Checklist (If you won't pass this checklist please comment why)

[x] I removed all commented or unnecessary code.
[x] Provide the screenshots due to UI changed or bug fixed
[x] My code has covered these test cases (please list down your tested cases):

Hi @duc-q, I resolved your comment, please take a look.
Thanks for your suggestion :D

repo: CasperDash/casperdash-client


text:
Remove H1 top margin added by normalize.scss

This is a patch that will update to v2.5.1, fixing an issue where the latest version of normalize.css adds top margins to H1 elements.

DTM.
IMO we should do a hard reset on our type and list styles to avoid this in the future, /cc @misscs, @stewartyu.

@robwierzbowski Agreed! If there's any normalization that we like from normalize, I think it's more maintainable to apply those on top of a reset.

authors: josephco robwierzbowski stewartyu

repo: CasperSleep/nightshade-core