Initial Airbnb stylelint shared config stylelint-config-airbnb

See #13

A couple of notes:

I structured the folders in the same way as https://github.com/airbnb/javascript, this should facilitatte publishing the styleline-config-airbnb seperately from this repo, as is done for eslint-config-airbnb

Sorry no tests, I had to remove them as NPM was exploding and not installing packages, this can be easily revisited later, most things here in this PR are a cut and paste from https://github.com/ntwb/stylelint-config-wordpress with the tests pulled, and the config edited

Hello guys,
Does any of you have time to check this pull request out?
Having an official config for the airbnb css style guide would be very helpful for the community.
We would get the benefits of it, and also would be able to make pull requests to enhance it.
Thanks in advance

@ntwb Sorry for the delay on this!
Would you mind addressing these comments, and updating all the deps to the latest versions?
In addition, adding documentation as suggested by @DanielaValero would be quite helpful.

Would you mind addressing these comments, and updating all the deps to the latest versions?

@ljharb I've bumped them all apart from ESLint to 3.x per https://github.com/airbnb/javascript/issues/936

@ljharb Is that everything?
I've got more enhancements that can be added such as tests and some more SCSS rules but I'd rather look at that over the weekend and send those via PR's...

I don't think this will be able to be merged before next week - I need to run it by some colleagues first. It's totally fine if you want to add those things to a separate PR (or to this one if it's not merged by the time you're done).

Cool, I'll just keep pushing commits here then 👍
Not sure if you can turn Travis CI on for this repo but now that there's a .travis.yml file I'll add some tests also.

Good call - it's now enabled whenever there's a .travis.yml at the root. Please continue to mirror the "javascript" repo's organization :-)

Good call - it's now enabled whenever there's a .travis.yml at the root.

At the root won't work here then will it?

Please continue to mirror the "javascript" repo's organization :-)

👍

@ntwb The JS repo has two subpackages and a root .travis.yml file - you can probably just copy + modify the one from there.

Hello @ntwb
I cloned your fork and made two commits to apply two fixes into the code, however the pull request can be made only to the original repo. Here the two relevant commits:
https://github.com/DanielaValero/css/commits/master
Also I've set up a stylelint config with all the config of airbnb, plus some best practices:
https://gist.github.com/DanielaValero/b3a72b2f3d0c85c1985d5d2d7497f347
I was trying to come up with a regex to lint the naming convention for the variables, but did not figure it out quite right.. This is the last state I could get to:
'scss/dollar-variable-pattern': '\b[a-z]+(?:-)+(\b[a-z]+(?:-))*'

@DanielaValero Thanks, I've merged those two commits  👍
I messed up a pull request, but @DanielaValero you should be able to create pull requests against my fork and they will be added here to this pull request once merged, I think 😏
Do you want to try that with some of the changes you have in your gist?

@ntwb sounds like a plan, I'll do a pull request on your fork

Unfortunately, there are a lot of scss-lint rules that are enabled by default, so they are implicitly part of our scss-lint configuration. It would be nice if the stylelint configuration captured these. You can see the default set here: https://github.com/brigade/scss-lint/blob/master/config/default.yml

@lencioni Not entirely sure what you mean here, there are only two SCSS lint rules in the PR currently, scss/dollar-variable-pattern and scss/at-extend-no-missing-placeholder
Any reasons as to what is what is not in this initial pull request is because there is no other documentation of the Airbnb CSS elsewhere...
I'd also like not have to continue to iterate on this one single pull request, it would be nice to get this merged initially and then build on it with further pull requests.

I may be misunderstanding the intent here, but if it is to produce a stylelint configuration file that would be equivalent the scss-lint configuration in this repo, then I am suggesting that it capture the spirit of all the rules that scss-lint enables by default in addition to the rules that are explicitly enabled in the scss-lint configuration in this repo. They don't need to be the same rules, but they should cover the same scenarios.

@lencioni Cool, I'm with you now 👍
There will be a bit of time involved in going through that set of default scss-lint rules to their equivalent stylelint-css and stylelint-scss rules. I'll find a place/repo to document these so that I need only do this once and is also then available for others as a reference 💥

If you are going through the trouble anyway, it might not be a bad idea to pull all of the default rules into the scss-lint config here as well.

Yeah I will, it can be either in this PR, or a follow up PR, I add to add my last commit via the GutHub GUI as my local branch is full of conflicts 😖
Iteration is our friend ;)

spielen! http://cutt.us/1001spiele

Any help wanted? Would be very nice to see stylelint-config-airbnb published in NPM.

@ntwb What's the reasoning behind the blacklist for border?
    "declaration-property-value-blacklist": {
      "/^border/": ["none"]
    }

To disallow the value none for the border properties.
There was more than likely some Airbnb code I reference that showed the preference was 0 rather than none

@ntwb I understood what the code does, was curious why you wanted to prevent none for border. However, some quick research shows that 0 is nearly always preferable save for when dealing with tables where hidden may be preferred.

Thanks @TrevorSayre what I meant was I must have made that decision based off of an Airbnb code example somewhere, it also could have been a decision I made as we'd discussed this rule and the none vs 0 debate at @stylelint considerably, I honestly I cannot remember, it was so long ago 😏

@ljharb What's stalling this PR? Is there anything that still needs to be done to achieve acceptance?

@TrevorSayre My comment here describes what's still needed.

The Travis CI changes you requested there @ljharb were added the same day were they not?

No, i requested "at the root" (of the repo) since travis doesn't know about "packages" - similarly to how the javascript repo does it.

I've got a heap of merge conflicts, can you just merge this pull request so it can be iterated on please

@ntwb then can you check the "allow edits" box on the right hand column, so i can rebase it for you?

then can you check the "allow edits" box on the right hand column, so i can rebase it for you?

Done, I never knew that was a thing, it's an awesome thing matter of fact 👍

k, rebased. travis.yml still needs to be fixed.

@ntwb @ljharb Hello there, is there still something to do before merge ? :-)
Would be very nice to see stylelint-config-airbnb published in NPM :beers:

@cmalard https://github.com/airbnb/css/pull/23#issuecomment-306679267

Hey, great work so far!
Is there is a chance this still get's done?
I assume the travis.yml has to be changed to something like the airbnb/javascript/.travis.yml, right?

Closing in favour of #56


TS code scanning does not return error but tslint returns a list of errors

Hi,
i am having a strange issue -  for TS sources, the sonarQube runs but does not return errors.
All parameters are passed. Any idea what could be wrong. Thanks.
My sonar-project.properties has the following -
sonar.projectKey=CCW:20feb11
sonar.projectName=CCW20feb11
sonar.projectVersion=0.1
sonar.scm.disabled=true
sonar.sourceEncoding=UTF-8
sonar.sources=src
sonar.ts.tslint.path=node_modules/tslint/bin/tslint
sonar.exclusions=/node_modules/
sonar.ts.tslint.configpath=tslint.json
sonar.report.export.path=sonar-report.json
The logs of sonar-scanner -X are attached -
CCW-logs.txt
The tslint.json & tsconfig.json are also attached in the following zip file -
jsonfiles.zip
Thanks in advance.
Ed

15:38:51.046 DEBUG:   * SonarTS <IP_ADDRESS>2 (typescript)

You use the official ts plugin from SonarSource, not this one.


Introduce consistent Length Restrictions

Currently, both Identifiers and URLs are limited to 2000 (2048). A 2000-character-long identifier therefore cannot be put into a repository path (which itself is also limited to 2000 characters).

A 2048 characters long Identifier will be 2048 / 3 * 4 ~ 2731 characters long in base64url. This means that our upper limit for URLs should be:
max. length of baseURL

general overhead coming through the AAS endpoints
(number of path/query parameters with Identifiers) * 2731
=  max. URL

However:

I have currently no clue how to give a "max. length of baseURL", and
the number of query parameters is not restricted. Same for path parameters for SubmodelElements.


Changes made to readme

Added an icon to the top of the readme...

Changes finished, no complaints, so guessing no one wants to change back...


[Docs] Contributor: Convention and examples for creating errors

Current State
Instructions and examples of how to use the errors.newI() of MeshKit are needed.
Desired State
The contributing docs on docs.meshery.io should have this information.

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation
Layer5 Community Slack

@mgfeller or @kumarabd, will one of the two of you initiate this? This request (to provide succinct contributor instructions) is related to, but separate from #3208, which is the need to document the errorsutils utility itself.

If need be.  I can help.


Failed to read simple hydrodynamic load coefficients

I am trying to run 5MW_OC4Semi_WSt_WavesWN based upon my own properties.
I get the following error when run:
FAST_InitializeAll:HydroDyn_Init:HydroDynInput_GetInput:Failed to read simple hydrodynamic
coefficients.
OpenFAST encountered an error during module initialization.
Simulation error level: FATAL ERROR
I am unsure as to why this error is occurring. This is my first time using the software and are currently unfamiliar with the workings.
Please find attached the Hydrodyn.DAT file
------- HydroDyn Input File ----------------------------------------------------
NREL 5.0 MW offshore baseline floating platform HydroDyn input properties for the OC4 Semi-submersible.
False            Echo           - Echo the input file data (flag)
---------------------- ENVIRONMENTAL CONDITIONS --------------------------------
          1025   WtrDens        - Water density (kg/m^3)
           110   WtrDpth        - Water depth (meters)
             0   MSL2SWL        - Offset between still-water level and mean sea level (meters) [positive upward; unused when WaveMod = 6; must be zero if PotMod=1 or 2]
---------------------- WAVES ---------------------------------------------------
             2   WaveMod        - Incident wave kinematics model {0: none=still water, 1: regular (periodic), 1P#: regular with user-specified phase, 2: JONSWAP/Pierson-Moskowitz spectrum (irregular), 3: White noise spectrum (irregular), 4: user-defined spectrum from routine UserWaveSpctrm (irregular), 5: Externally generated wave-elevation time series, 6: Externally generated full wave-kinematics time series [option 6 is invalid for PotMod/=0]} (switch)
             0   WaveStMod      - Model for stretching incident wave kinematics to instantaneous free surface {0: none=no stretching, 1: vertical stretching, 2: extrapolation stretching, 3: Wheeler stretching} (switch) [unused when WaveMod=0 or when PotMod/=0]
           900   WaveTMax       - Analysis time for incident wave calculations (sec) [unused when WaveMod=0; determines WaveDOmega=2Pi/WaveTMax in the IFFT]
           0.2   WaveDT         - Time step for incident wave calculations     (sec) [unused when WaveMod=0; 0.1<=WaveDT<=1.0 recommended; determines WaveOmegaMax=Pi/WaveDT in the IFFT]
        2.0500   WaveHs         - Significant wave height of incident waves (meters) [used only when WaveMod=1, 2, or 3]
             6   WaveTp         - Peak-spectral period of incident waves       (sec) [used only when WaveMod=1 or 2]
"DEFAULT"        WavePkShp      - Peak-shape parameter of incident wave spectrum (-) or DEFAULT (string) [used only when WaveMod=2; use 1.0 for Pierson-Moskowitz]
      0.314159   WvLowCOff      - Low  cut-off frequency or lower frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6]
      1.570796   WvHiCOff       - High cut-off frequency or upper frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6]
             0   WaveDir        - Incident wave propagation heading direction                         (degrees) [unused when WaveMod=0 or 6]
             0   WaveDirMod     - Directional spreading function {0: none, 1: COS2S}                  (-)       [only used when WaveMod=2,3, or 4]
             1   WaveDirSpread  - Wave direction spreading coefficient ( > 0 )                        (-)       [only used when WaveMod=2,3, or 4 and WaveDirMod=1]
             1   WaveNDir       - Number of wave directions                                           (-)       [only used when WaveMod=2,3, or 4 and WaveDirMod=1; odd number only]
             0   WaveDirRange   - Range of wave directions (full range: WaveDir +/- 1/2*WaveDirRange) (degrees) [only used when WaveMod=2,3,or 4 and WaveDirMod=1]
     123456789   WaveSeed(1)    - First  random seed of incident waves [-2147483648 to<PHONE_NUMBER>]    (-)       [unused when WaveMod=0, 5, or 6]
        RANLUX   WaveSeed(2)    - Second random seed of incident waves [-2147483648 to<PHONE_NUMBER>] for intrinsic pRNG, or an alternative pRNG: "RanLux"    (-)       [unused when WaveMod=0, 5, or 6]
FALSE            WaveNDAmp      - Flag for normally distributed amplitudes                            (flag)    [only used when WaveMod=2, 3, or 4]
""               WvKinFile      - Root name of externally generated wave data file(s)        (quoted string)    [used only when WaveMod=5 or 6]
             1   NWaveElev      - Number of points where the incident wave elevations can be computed (-)       [maximum of 9 output locations]
             0   WaveElevxi     - List of xi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0]
             0   WaveElevyi     - List of yi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0]
---------------------- 2ND-ORDER WAVES ----------------------------------------- [unused with WaveMod=0 or 6]
FALSE            WvDiffQTF      - Full difference-frequency 2nd-order wave kinematics (flag)
FALSE            WvSumQTF       - Full summation-frequency  2nd-order wave kinematics (flag)
             0   WvLowCOffD     - Low  frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method]
      1.256637   WvHiCOffD      - High frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method]
      0.618319   WvLowCOffS     - Low  frequency cutoff used in the summation-frequencies  (rad/s) [Only used with a summation-frequency  method]
      3.141593   WvHiCOffS      - High frequency cutoff used in the summation-frequencies  (rad/s) [Only used with a summation-frequency  method]
---------------------- CURRENT ------------------------------------------------- [unused with WaveMod=6]
             0   CurrMod        - Current profile model {0: none=no current, 1: standard, 2: user-defined from routine UserCurrent} (switch)
             0   CurrSSV0       - Sub-surface current velocity at still water level  (m/s) [used only when CurrMod=1]
"DEFAULT"        CurrSSDir      - Sub-surface current heading direction (degrees) or DEFAULT (string) [used only when CurrMod=1]
            20   CurrNSRef      - Near-surface current reference depth            (meters) [used only when CurrMod=1]
             0   CurrNSV0       - Near-surface current velocity at still water level (m/s) [used only when CurrMod=1]
             0   CurrNSDir      - Near-surface current heading direction         (degrees) [used only when CurrMod=1]
             0   CurrDIV        - Depth-independent current velocity                 (m/s) [used only when CurrMod=1]
             0   CurrDIDir      - Depth-independent current heading direction    (degrees) [used only when CurrMod=1]
---------------------- FLOATING PLATFORM --------------------------------------- [unused with WaveMod=6]
             1   PotMod         - Potential-flow model {0: none=no potential flow, 1: frequency-to-time-domain transforms based on WAMIT output, 2: fluid-impulse theory (FIT)} (switch)
             1   ExctnMod       - Wave-excitation model {0: no wave-excitation calculation, 1: DFT, 2: state-space} (switch) [only used when PotMod=1; STATE-SPACE REQUIRES *.ssexctn INPUT FILE]
             1   RdtnMod        - Radiation memory-effect model {0: no memory-effect calculation, 1: convolution, 2: state-space} (switch) [only used when PotMod=1; STATE-SPACE REQUIRES *.ss INPUT FILE]
           900   RdtnTMax       - Analysis time for wave radiation kernel calculations (sec) [only used when PotMod=1 and RdtnMod=1; determines RdtnDOmega=Pi/RdtnTMax in the cosine transform; MAKE SURE THIS IS LONG ENOUGH FOR THE RADIATION IMPULSE RESPONSE FUNCTIONS TO DECAY TO NEAR-ZERO FOR THE GIVEN PLATFORM!]
        0.1000   RdtnDT         - Time step for wave radiation kernel calculations (sec) [only used when PotMod=1 and ExctnMod>1 or RdtnMod>0; DT<=RdtnDT<=0.1 recommended; determines RdtnOmegaMax=Pi/RdtnDT in the cosine transform]
             1   NBody          - Number of WAMIT bodies to be used (-) [>=1; only used when PotMod=1. If NBodyMod=1, the WAMIT data contains a vector of size 6*NBody x 1 and matrices of size 6*NBody x 6*NBody; if NBodyMod>1, there are NBody sets of WAMIT data each with a vector of size 6 x 1 and matrices of size 6 x 6]
             1   NBodyMod       - Body coupling model {1: include coupling terms between each body and NBody in HydroDyn equals NBODY in WAMIT, 2: neglect coupling terms between each body and NBODY=1 with XBODY=0 in WAMIT, 3: Neglect coupling terms between each body and NBODY=1 with XBODY=/0 in WAMIT} (switch) [only used when PotMod=1]
"../5MW_Baseline/HydroData/marin_semi"    PotFile       - Root name of potential-flow model data; WAMIT output files containing the linear, nondimensionalized, hydrostatic restoring matrix (.hst), frequency-dependent hydrodynamic added mass matrix and damping matrix (.1), and frequency- and direction-dependent wave excitation force vector per unit wave amplitude (.3) (quoted string) [1 to NBody if NBodyMod>1] [MAKE SURE THE FREQUENCIES INHERENT IN THESE WAMIT FILES SPAN THE PHYSICALLY-SIGNIFICANT RANGE OF FREQUENCIES FOR THE GIVEN PLATFORM; THEY MUST CONTAIN THE ZERO- AND INFINITE-FREQUENCY LIMITS!]
             1   WAMITULEN      - Characteristic body length scale used to redimensionalize WAMIT output (meters) [1 to NBody if NBodyMod>1] [only used when PotMod=1]
           0.0   PtfmRefxt      - The xt offset of the body reference point(s) from (0,0,0) (meters) [1 to NBody] [only used when PotMod=1]
           0.0   PtfmRefyt      - The yt offset of the body reference point(s) from (0,0,0) (meters) [1 to NBody] [only used when PotMod=1]
           0.0   PtfmRefzt      - The zt offset of the body reference point(s) from (0,0,0) (meters) [1 to NBody] [only used when PotMod=1. If NBodyMod=2,PtfmRefzt=0.0]
           0.0   PtfmRefztRot   - The rotation about zt of the body reference frame(s) from xt/yt (degrees) [1 to NBody] [only used when PotMod=1]
          9863.8 PtfmVol0       - Displaced volume of water when the body is in its undisplaced position (m^3) [1 to NBody] [only used when PotMod=1; USE THE SAME VALUE COMPUTED BY WAMIT AS OUTPUT IN THE .OUT FILE!]
           0.0   PtfmCOBxt      - The xt offset of the center of buoyancy (COB) from (0,0) (meters) [1 to NBody] [only used when PotMod=1]
           0.0   PtfmCOByt      - The yt offset of the center of buoyancy (COB) from (0,0) (meters) [1 to NBody] [only used when PotMod=1]
---------------------- 2ND-ORDER FLOATING PLATFORM FORCES ---------------------- [unused with WaveMod=0 or 6, or PotMod=0 or 2]
             0   MnDrift        - Mean-drift 2nd-order forces computed                                       {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero. If NBody>1, MnDrift  /=8]
             0   NewmanApp      - Mean- and slow-drift 2nd-order forces computed with Newman's approximation {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero. If NBody>1, NewmanApp/=8. Used only when WaveDirMod=0]
            12   DiffQTF        - Full difference-frequency 2nd-order forces computed with full QTF          {0: None; [10, 11, or 12]: WAMIT file to use}          [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero]
            12   SumQTF         - Full summation -frequency 2nd-order forces computed with full QTF          {0: None; [10, 11, or 12]: WAMIT file to use}
---------------------- PLATFORM ADDITIONAL STIFFNESS AND DAMPING  -------------- [unused with PotMod=0 or 2]
             0   AddF0    - Additional preload (N, N-m) [If NBodyMod=1, one size 6*NBody x 1 vector; if NBodyMod>1, NBody size 6 x 1 vectors]
             0
             0
             0
             0
             0
             0             0             0             0             0             0   AddCLin  - Additional linear stiffness (N/m, N/rad, N-m/m, N-m/rad)                     [If NBodyMod=1, one size 6*NBody x 6*NBody matrix; if NBodyMod>1, NBody size 6 x 6 matrices]
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0   AddBLin  - Additional linear damping(N/(m/s), N/(rad/s), N-m/(m/s), N-m/(rad/s))        [If NBodyMod=1, one size 6*NBody x 6*NBody matrix; if NBodyMod>1, NBody size 6 x 6 matrices]
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0   AddBQuad - Additional quadratic drag(N/(m/s)^2, N/(rad/s)^2, N-m(m/s)^2, N-m/(rad/s)^2) [If NBodyMod=1, one size 6*NBody x 6*NBody matrix; if NBodyMod>1, NBody size 6 x 6 matrices]
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
             0             0             0             0             0             0
---------------------- AXIAL COEFFICIENTS --------------------------------------
             2   NAxCoef        - Number of axial coefficients (-)
AxCoefID  AxCd     AxCa     AxCp
   (-)    (-)      (-)      (-)
    1     0.00     0.00     1.00
    2     9.60     0.00     1.00
---------------------- MEMBER JOINTS -------------------------------------------
            15   NJoints        - Number of joints (-)   [must be exactly 0 or at least 2]
JointID   Jointxi     Jointyi     Jointzi  JointAxID   JointOvrlp   [JointOvrlp= 0: do nothing at joint, 1: eliminate overlaps by calculating super member]
   (-)     (m)         (m)         (m)        (-)       (switch)
    1     0.00000     0.00000   -20.00000      1            0
    2     0.00000     0.00000   -19.00000      1            0
    3     0.00000     0.00000     9.00000      1            0
    4     0.00000     0.00000    10.00000      1            0
    5     60.6200    -35.0000   -20.00000      1            0
    6     60.6200    -35.0000   -19.00000      1            0
    7     60.6200    -35.0000     9.00000      1            0
    8     60.6200    -35.0000    10.00000      1            0
    9     60.6200     35.0000   -20.00000      1            0
    10    60.6200     35.0000   -19.00000      1            0
    11    60.6200     35.0000     9.00000      1            0
    12    60.6200     35.0000    10.00000      1            0
    13    30.3100    -17.5000   -19.00000      1            0
    14    30.3100     17.5000   -19.00000      1            0
    15    60.6200      0.0000   -19.00000      1            0
---------------------- MEMBER CROSS-SECTION PROPERTIES -------------------------
             3   NPropSets      - Number of member property sets (-)
PropSetID    PropD         PropThck
   (-)        (m)            (m)
    1       8.80000         0.03000          ! Main Column
    2       14.00000        0.04000          ! Upper Columns
    3       24.00000        0.04000          ! Base Columns
    4        1.60000        0.01750          !  Main Column
    2          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 1
    3          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 2
    4          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 3
    5          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 1
    6          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 2
    7          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 3
    8          0.56          0.56          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Main Column
   10          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 1
   11          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 2
   12          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 3
   13          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 1
   14          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 2
   15          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 3
   16          0.56          0.56          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Main Column
   17          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 1
   18          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 2
   19          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 3
   20          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 1
   21          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 2

-------------------- MEMBERS -------------------------------------------------
            21C:\Users\brand\OneDrive\Desktop\Fresh_openFAST\openfast_x64.exe 5MW_OC4Semi_WSt_WavesWN.fst   NMembers       - Number of members (-)
MemberID  MJointID1  MJointID2  MPropSetID1  MPropSetID2  MDivSize   MCoefMod  PropPot   [MCoefMod=1: use simple coeff table, 2: use depth-based coeff table, 3: use member-based coeff table] [ PropPot/=0 if member is modeled with potential-flow theory]
  (-)        (-)        (-)         (-)          (-)        (m)      (switch)   (flag)
    1         1          2           3            3         1.0000      3        TRUE           ! Base Column 1
    2         2          3           2            2         1.0000      3        TRUE           ! Upper Column 1
    3         3          4           2            2         1.0000      3        TRUE           ! Upper Column 1
    4         5          6           3            3         1.0000      3        TRUE           ! Base Column 2
    5         6          7           2            2         1.0000      3        TRUE           ! Upper Column 2
    6         8          8           2            2         1.0000      3        TRUE           ! Upper Column 2
    7         9         10           3            3         1.0000      3        TRUE           ! Base Column 3
    8        10         11           2            2         1.0000      3        TRUE           ! Upper Column 3
    9        11         12           2            2         1.0000      3        TRUE           ! Upper Column 3
   10         4          8           2            2         1.0000      3        TRUE           ! Cross Brace
   11         1          5           2            2         1.0000      3        TRUE           ! Croos Brace
   12         5          9           2            2         1.0000      3        TRUE           ! Cross Brace
   13         8         12           2            4         1.0000      3        TRUE           ! Cross Brace
   14         1          9           2            2         1.0000      3        TRUE           ! Cross Brace
   15         4         12           2            4         1.0000      3        TRUE           ! Cross Brace
   16         3         13           2            4         1.0000      3        TRUE           ! Cross Brace
   17        13          7           4            2         1.0000      3        TRUE           ! Croos Brace
   18         7         14           2            4         1.0000      3        TRUE           ! Cross Brace
   19        14         11           4            2         1.0000      3        TRUE           ! Cross Brace
   20        11         15           4            4         1.0000      3        TRUE           ! Cross Brace
   21        15          3           4            2         1.0000      3        TRUE           ! Cross Brace
---------------------- FILLED MEMBERS -----------------------------------------
             1   NFillGroups     - Number of filled member groups (-) [If FillDens = DEFAULT, then FillDens = WtrDens; FillFSLoc is related to MSL2SWL]
FillNumM FillMList             FillFSLoc     FillDens
(-)      (-)                   (m)           (kg/m^3)
 3        1   4   7            -6.17           1025
---------------------- MARINE GROWTH -------------------------------------------
             0   NMGDepths      - Number of marine-growth depths specified (-)
MGDpth     MGThck       MGDens
(m)        (m)         (kg/m^3)
---------------------- MEMBER OUTPUT LIST --------------------------------------
             0   NMOutputs      - Number of member outputs (-) [must be < 10]
MemberID   NOutLoc    NodeLocs [NOutLoc < 10; node locations are normalized distance from the start of the member, and must be >=0 and <= 1] [unused if NMOutputs=0]
  (-)        (-)        (-)
---------------------- JOINT OUTPUT LIST ---------------------------------------
             0   NJOutputs      - Number of joint outputs [Must be < 10]
   0           JOutLst        - List of JointIDs which are to be output (-)[unused if NJOutputs=0]
---------------------- OUTPUT --------------------------------------------------
True             HDSum          - Output a summary file [flag]
False            OutAll         - Output all user-specified member and joint loads (only at each member end, not interior locations) [flag]
             2   OutSwtch       - Output requested channels to: [1=Hydrodyn.out, 2=GlueCode.out, 3=both files]
"E15.7e2"       OutFmt         - Output format for numerical results (quoted string) [not checked for validity!]
"A11"            OutSFmt        - Output format for header strings (quoted string) [not checked for validity!]
---------------------- OUTPUT CHANNELS -----------------------------------------
"Wave1Elev"               - Wave elevation at the platform reference point (0,  0)
"HydroFxi"
"HydroFyi"
"HydroFzi"
"HydroMxi"
"HydroMyi"
"HydroMzi"
"B1Surge"
"B1Sway"
"B1Heave"
"B1Roll"
"B1Pitch"
"B1Yaw"
"B1TVxi"
"B1TVyi"
"B1TVzi"
"B1RVxi"
"B1RVyi"
"B1RVzi"
"B1TAxi"
"B1TAyi"
"B1TAzi"
"B1RAxi"
"B1RAyi"
"B1RAzi"
"B1WvsFxi"
"B1WvsFyi"
"B1WvsFzi"
"B1WvsMxi"
"B1WvsMyi"
"B1WvsMzi"
"B1HDSFxi"
"B1HDSFyi"
"B1HDSFzi"
"B1HDSMxi"
"B1HDSMyi"
"B1HDSMzi"
"B1RdtFxi"
"B1RdtFyi"
"B1RdtFzi"
"B1RdtMxi"
"B1RdtMyi"
"B1RdtMzi"
END of output channels and end of file. (the word "END" must appear in the first 3 columns of this line)

Any help with this issue would be greatly appreciated!

@brandonmck1010
Which version of OpenFAST are you using?  Can you paste the full command line output including the version info?
PS: I made a minor edit to your post to put the HD input file in a quoted block of text for readability.

@andrew-platt see below for the output from Windows Powershell
OpenFAST
Copyright (C) 2021 National Renewable Energy Laboratory
Copyright (C) 2021 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.

OpenFAST-v3.0.0
Compile Info:

Compiler: Intel(R) Fortran Compiler 1900
Architecture: 64 bit
Precision: single
OpenMP: No
Date: Jun 23 2021
Time: 21:25:05
Execution Info:
Date: 03/16/2022
Time: 16:08:12-0000

OpenFAST input file heading:
FAST Certification Test #25: NREL 5.0 MW Baseline Wind Turbine with OC4-DeepCwind semi
configuration, for use in offshore analysis
Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running AeroDyn.
AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted.
Skipping nodal outputs.
Running InflowWind.
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ).
Using legacy Bladed DLL interface.
Running HydroDyn.
FAST_InitializeAll:HydroDyn_Init:HydroDynInput_GetInput:Failed to read simple hydrodynamic
coefficients.
OpenFAST encountered an error during module initialization.
Simulation error level: FATAL ERROR
Aborting OpenFAST.

I just noticed you have 4 lines of property sets in your input file, but NPropSets is set to 3 lines.  This is causing your error.
The reason is the input file parser is assuming the line with PropSetID 4 is the header line for the SIMPLE HYDRODYNAMIC COEFFICIENTS section, and it tries and fails to parse the units header line in that section as the data (the parser is not very smart in this regard).

@andrew-platt Ah yes, a silly mistake on my part! However, I now get an additional error (see below)
FAST_InitializeAll:HydroDyn_Init:HydroDynInput_GetInput:Failed to read member cross-section
properties.

It looks like you may have something strange going on between the MEMBER-BASED HYDRODYNAMIC COEFFICIENTS table and the MEMBERS table (maybe partly in copy/paste into this issue).  Check that the first table is formatted correctly.
In general, if you find an error like this, check that the section before it is correctly formatted -- the issue is often due to an incorrect number of entries in the table before, or something incorrectly in the number of header lines before a table.

I've had a look and removed the strange line within the members table, the problem continues to persist.
Thank you for taking the time thus far!

Do you have the correct number of entries in the section above?

That's it sorted now, another mistake by myself. Thanks very much!

Excellent!


[HUDI-8520] DROP INDEX & SHOW INDEX should work with index name instead of index partition name

Change Logs
spark-sql (default)> drop index idx_rider on hudi_table;
24/11/13 16:14:25 ERROR SparkSQLDriver: Failed in [drop index idx_rider on hudi_table]
org.apache.hudi.exception.HoodieSecondaryIndexException: Secondary index not exists: idx_rider
	at org.apache.hudi.index.secondary.SecondaryIndexManager.drop(SecondaryIndexManager.java:145)
	at org.apache.spark.sql.hudi.command.DropIndexCommand.run(IndexCommands.scala:83)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:75)

Drop index is not working using index name currently. It requires full name with prefix in order to drop the index. This PR aims to fix it so that index can be dropped using the index name itself.
Also the PR adds a fix so that show index works for both secondary and functional index.
Impact
NA
Risk level (write none, low medium or high below)
low
Documentation Update
NA
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@vinothchandar I have restored the old secondary index files. Could not think of a good package to move them to. These are the only files in location hudi-common/src/main/java/org/apache/hudi/index/secondary though.

The failing test Test Secondary Index With Updates Compaction Clustering Deletes is flaky on master. It is tracked in HUDI-8549. Going to merge this PR.


Simple target rules cannot be matched

I am testing out the spacy-v3 branch, on a couple of pretty simple target rules below:
target_rules = [
    TargetRule("obsessive-compulsive", "CONDITION",
              pattern=[
                  {"LOWER": {"IN": ["obsessive-compulsive", "obsessive compulsive"]}}]
                ),
    TargetRule("OCD", "CONDITION",
              pattern=[
                  {"LOWER": "ocd"}])
]

However the first rule doesn't seem to match anything even on an obvious sentence:

I have obsessive compulsive disorder also known as OCD.

The second rule is able to find the OCD instance, I really can't figure out why the first rule doesn't work at all. Shouldn't it just match whatever is in {"LOWER": {"IN": ["obsessive-compulsive", "obsessive compulsive"]}} or am I completely missing anything obvious here? Thanks.

This is something that takes a bit to get used to with spaCy's rule-based matching syntax. I think the issue is that each dict in a pattern needs to correspond to a single token, not span. So it will match "ocd" because it's a single token, but not "obsessive compulsive". Your rule instead should look something like this:
pattern=[
    {"LOWER": "obsessive"},
    {"LOWER": "-", "OP": "?"},
    {"LOWER": "compulsive"},
]

where one dict corresponds to each individual token.
Alternatively, you could also do a simple regex string: pattern=r"obsessive-?compulsive", but that is probably not going to be as efficient, so I recommend doing the list off dicts whenever possible.
Let me know if this helps or if you're still having issues!

spaCy's documentation has more detailed explanations of this: https://spacy.io/usage/rule-based-matching
The TargetMatcher wraps up the functionality of the Matcher and PhraseMatcher classes, as well as normal Python regular expressions.

Brilliant! You're absolutely right, Alec! Thanks!


rate of growth, R^2

Ref: https://epiforecasts.io/covid/posts/national/united-states/ Figure 3
First, the rate of growth should be properly defined. If the serial interval is assumed to be constant, then rate of growth and effective reproduction number is equal. So rate of growth needs a proper time frame, IIRC it is the daily growth rate - in the beginning we had ~25% more infections each day.
I have not fully understood how the results of Fig. 3C on the coefficient of determination were calculated. Does it show an evaluation on A or B? The caption says "with values closer to 1 indicating a better fit", so I would doubt the whole calculation if R squared goes negative.

With https://epiforecasts.io/covid/posts/national/united-kingdom/ figure 3 also - R^2 being negative seems unlikely, unless complex numbers are involved.

Maybe I should be more precise: if the serial interval is assumed to be constant, then the rate of growth r is a simple transformation from the reproductive number R_t: e^(ln(1+r))*t is the exponential growth formula and we need to now to which time frame the growth rate r refers to: Year? Month? Week? I assume, that it is the daily growth and this should be stated in the caption of figures 3A.
Regarding the problem with negative R squared, I think this has been solved by clipping the diagrams at 0.00 so there is no suggestion anymore that R squared is indeed negative, it is just a question of mathematically calculating confidence intervals which become rather wide when r goes through 0 (R_t through 1) and therefore the doubling time swaps the infinity sign. Nevertheless it should be emphasised that fig 3C refers to 3A and not 3B, which is a derivative of 3A.

Good point - its the daily growth rate. Will open issue in EpiNow2 to fix.


PLAYER_ENDED event and animated GIFs

From my observations when playing animated GIF, PLAYER_ENDED is always fired immediately at the beginning of playback, despite gif can be animated the next 10-20 seconds. This is undesired behaviour, isn't it?

This seems to happen because the load event in the html_img playback.
I don't think that gifs should be handled exactly the same way images are.


How to change font size of code?

Something like this in my theme.js doesn't seem to work (neither does pre). I noticed that code and pre aren't in the reference of the theme docs, either.
export default {
    ...baseTheme,
    code: {
        fontSize: '10px'
    }
};

Is there any way to decrease the font size of code blocks, either for the whole presentation or on a specific slide?

I was using syntax highlighting and I think that was the problem.
In case you still want to see them, here are snippets from the relevant files:
# deck.mdx
export { default as theme } from './theme';
...

# theme.js
import { dark as baseTheme } from 'mdx-deck/themes';
import prismStyle from 'react-syntax-highlighter/styles/prism/tomorrow';
import prismJson from 'react-syntax-highlighter/languages/prism/json';
import prismGraphql from 'react-syntax-highlighter/languages/prism/graphql';
import prismHttp from 'react-syntax-highlighter/languages/prism/http';

export default {
    ...baseTheme,
    prism: {
        style: prismStyle,
        languages: {
            json: prismJson,
            graphql: prismGraphql,
            http: prismHttp
        }
    },
    // code: { fontSize: '12px' } <- this wasn't working
    // pre: { fontSize: '12px' } <- and neither was this
};

With the changes in v2, the theme should target any <pre> or <code> tag, not just those created in MDX, which should resolve this issue. If you'd like to give it a shot, the beta can be installed with npm i mdx-deck@next


Remove the limit of 1 BTC (and any other limits for other token/coin) for viewing the preview of the quotes

I see that here it isn't possible to put an higher number then 1 BTC to ask for the quotes of value of the possible swaps.
Maybe there are other limits for other coin/token, I think that all them can be removed.

It seems also that when there is a wallet open, it isn't possible to get quotas that are over the balances on the addresses, the user need to close the wallet to being able again to get the quotas.

Has been increased to 500 BTC worth.


Does WAMR support sharing memory between modules?

I read the proposal from the meeting of the WebAssembly group:
Multiple Memories for Wasm
It seems that the Linear Memory Index Space of a module can maintain the index of imported external memory space. I am wondering if WAMR has supported this because from issue #92 it seems currently every module can only access its own memory space and a private app heap.

Based on the issue you linked as well as https://github.com/bytecodealliance/wasm-micro-runtime/issues/190#issuecomment-597963563 and https://github.com/bytecodealliance/wasm-micro-runtime/issues/200 there is no sharing capabilities yet by default.
However, you can instantiate multiple modules and copy parts of memory from one to the other, which has worked for me.
WAMR also seems to support defining your own malloc, realloc and free functions. Using this you could make allocation functions that use mmap to create virtual memory and possibly during runtime then define the shared areas of the memory for the modules. This is something I have yet to test.

@oubotong the pthread supporting is on the way. It will allow instances share single linear space. Can it solve what you need?

Yes, it could solve my problem but I am also thinking of how to keep a good isolation while sharing a linear memory. I am thinking if we can share the memory during runtime, like when a new module initiates, he can join in the existing sharing memory space to utilize some results computed by other modules or do some acceleration stuff to the existing task of other modules. We may need some authorization methods during runtime to achieve this (just my personal thoughts).
Another thing I want to question is that WASM says it uses signatures to verify whether your intentional function call is valid in the function table which is basically in a format like i32i32i32 , what if the attacker just crafts his adversarial function to have the same type of parameters and return values as the i32i32i32 to make it valid.
I may misunderstand something here, please tell me if I make any mistake.

According to https://webassembly.org/docs/security/ Clang/LLVM is able to provide some additional checks for CFI with -fsanitize=cfi, the page also touches on coming additions reagarding CFI.


For autogen-ext sub modules, make sure classes can be imported independently without getting import errors from missing dependencies in other modules

Right now the directory structure is not great for submodule import:
autogen_ext
- code_executors
  __init__.py
  _azure_container_code_executor.py
  _docker_code_executor.py
- agents
  __init__.py # The init file contains all the imports from sub modules, causing import errors

It should be:
autogen_ext
- code_executors
  - __init__.py
  - azure
    - __init__.py
    _azure_container_code_executor.py
  - docker
    - __init__.py
    - _docker_code_executor.py
- agents
  - __init__.py
  - web_surfer
    - __init__.py
    - _multi_modal_web_surfer.py

@ekzhu , I think the pattern that @jackgerrits  adopted for code executors and tools was to move the imports inside the classes and throw a runtime error if the dependencies are missing. I did something similar in #4423. The main difference is that I still kept the imports in the top of the module but sued a module variable to track whether the dependencies are available and delay the exception to runtime. The only drawback is having some imports done twice because pyright complains the varaibles may be unbound (even with the variable check in the code).
If that pattern is acceptable then I can update the models and web surfer in the same way.
BTW, happy thanksgiving!


Fixed a key name typo for Glue table properties for issue #184

Issue #, if available: https://github.com/awslabs/aws-solutions-constructs/issues/184
Description of changes: Fixed a key name typo for Glue table properties.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: 84b8547b4d4c18883e69ef8002eb8ca1167b0141
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: e992baf7e0d929db0a969834f9890e48ab4fa993
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: 5a783168ed628b113a8d6bbfea9460710a120488
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: 131150072f8ab40c5d932ce2c0527b6371251ece
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Is there any way to get video player progress block?

I have implemented jp_playVideo(with: urlvideo), and I only need to display progress in my view like the Instagram stories. Can you please help me to how to get video progress? Thanks in advanced.

see JPVideoPlayerProtocol, thank u.


Shader error log line numbers are incorrect in CustomShader OPs

Reproduce using the op below, which has an error in line 5:
{"ops":[{"opId":"a165fc89-a35b-4d39-8930-7345b098bd9d","id":"be5d855d-cd9d-4760-8b8a-012a9de90ebf","uiAttribs":{"translate":{"x":-108,"y":0},"notWorkingMsg":null,"comment":"Click this op and press the edit button to see the editor.\nuResX and uResY are the width and height \nof the mainloop op","subPatch":0},"portsIn":[{"name":"Fragment Code","value":"uniform float uResX;\nuniform float uResY;\n\nuniform float uTime;\nA\nIN vec2 texCoord;\n\n{{MODULES_HEAD}}\nvoid main()\n{\n    vec2 uv = gl_FragCoord.xy/vec2(uResX,uResY);\n    \n    float animGreen = 0.5 + (0.5 * sin(uTime));\n    \n    vec4 col=vec4(uv,animGreen,1.0);\n    \n    {{MODULE_COLOR}}\n    outColor = col;\n}"},{"name":"Vertex Code","value":"\n{{MODULES_HEAD}}\nIN vec3 vPosition;\nIN vec2 attrTexCoord;\nIN vec3 attrVertNormal;\nIN float attrVertIndex;\nOUT vec2 texCoord;\nOUT vec3 norm;\nUNI mat4 projMatrix;\nUNI mat4 viewMatrix;\nUNI mat4 modelMatrix;\nvoid main()\n{\n   texCoord=attrTexCoord;\n   norm=attrVertNormal;\n   vec4 pos=vec4(vPosition,  1.0);\n   mat4 mMatrix=modelMatrix;\n   {{MODULE_VERTEX_POSITION}}\n   gl_Position = projMatrix * (viewMatrix*mMatrix) * pos;\n}"},{"name":"Use As Material","value":1},{"name":"uResX","value":0},{"name":"uResY","value":0},{"name":"uTime","value":0}],"portsOut":[{"name":"Has Errors","value":true}]}]}

The error is displayed as
[cgl_shader]
customshader shader linking fail...
[cgl_shader]
ERROR: 0:28: 'A' : syntax error
[cgl_shader]
bad line: 28: A

I use the version at  https://cables.gl/ to reproduce.

There is an easy workaround that fixes this:
You can add #line 2 to the very first line of your shader source.

oh interesting, i did not know about this...
i am thinking about having a internal system that adds comments to each line.
so you can later know which line was which in different shadermodules, that get combined into one big shader.


Async APIs for Discovery and execution tests reporting

Description

Currently the APIs like ITestCaseDiscoverySink  and ITestExecutionRecorder are synchronous APIs.
Making these APIs async can improve the performance.

Do we mean the internal implementation of these APIs?
They need to synchronous for data collection scenarios. It will be good for the platform to handle these decisions.


Deprecate MultiControlPauli

Make it a hidden class _MultiControlPauli. All users now use the derived MultiControlX or MultiControlZ instead. I've kept the class around as it has a simpler interface (list of control bits instead of a CtrlSpec), and also supports zero controls (#679).
Fixes #914

@mpharrigan ptal

usually, we'd keep the name as-is and use the warnings.warn(..., DeprecationWarning) thing to show that it's deprecated


New test runner

What
Create new test runner for android test.
Why
Improves support for testing sync-android on android for example you can select a single test from android studio and have it run on the emulator.
How
Uses the test runner from the android support library, which is from android testing kit
reviewer: @tomblench
reviewer: @alfinkel

OK +1 just squash down the whitespace a bit in build.gradle

:+1:


Add Native CI into Template

Description
It's safe to say I can deploy the native CI (not relying on external CI services) to develop a product regardless whether the template will be used here or elsewhere. So, let's integrate it in.
Expected Behavior
Next new spin of repository has native CI included in. Target are:
start.cmd - initiate the project development
prepare.cmd - update the project to a stated version
test.cmd - initiate project test sequences.
build.cmd - initiate project build sequences.
package.cmd - initiate project package sequences.
release.cmd - initiate project release sequences.
stop.cmd - initiate project stop sequences.
Current Behavior
CI is not available and has to be manually included.
Associated Data Files
No response

Added the native CI infrastructure in.


Hook with NaCl

When hooking with NaCl and run /hello.nexe, mmap issues:
2806/32017MB	14.96 13.54 13.21 14/1110 1097501	(0)
[1:0 0:91] 01:41:40 Wed May 01 [lind@ddfc562ab790: +1] ~/lind_project
@(1:91) $ lind /hello.nexe

executing: [sel_ldr -a -- "runnable-ld.so" --library-path "/lib/glibc" /hello.nexe]
[1097503,4016958592:01:41:46.081080] BYPASSING ALL ACL CHECKS
[1097503,4008478400:01:41:46.083977] NaClSysMmap: MAP_FIXED not fixed: returned 0xffffffffffffffff instead of 0x388611000000
POST-ABORT: LOG_FATAL abort exit

** Signal 6 from trusted code: pc=7f4bef76d32c

Plan to treat as normal read() / write()

Nacl will allocate some memory in text segment region, whose permission is denied by default, to run executables (eg: libcgcc_s.so.1). I need to change permission in mmap_syscall. Current solution is:
In mmap_syscall:

Use libc::mprotect to change the permission
Call IMFS readat to map corresponding file into the memory


fix: npm packaging was broken due to module structure; use symlink for common

In the previous commit we introduced the 'common' dir as a new
npm package named @gomomento/common.  We would never publish this
package anywhere, so the files that it contains weren't actually
accessible from the new @gomomento/sdk package.  Even if we bundled
those files into the package by hand, the exports didn't work properly
because they reference @gomomento/common, and consumers would never
be able to resolve it.
This commit changes the setup so that we use a symlink to bring in
the common deps rather than a separate npm package; this way we never
need to reference the non-existent @gomomento/common package in
the code, and the end result is still a single package that contains
all of the required files.

I have built a package from this locally, and tested that I can consume that package successfully from the examples project.  All of the examples run fine.
If we merge this, I can attempt to do a manual release tomorrow morning and test it with the examples too.  We will want to be ready to revert the last few commits and do another release from the previously successful version if anything is broken.


Add jdk version classifier to distribution jars

Add jdk version classifier to distribution jars as an inital step toward pubishing java 9+ distributions.

Codecov Report

Merging #743 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #743   +/-   ##
=========================================
  Coverage     99.45%   99.45%
  Complexity     1888     1888
=========================================
  Files           285      285
  Lines          5639     5639
  Branches        282      282
=========================================
  Hits           5608     5608
  Misses            5        5
  Partials         26       26

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3815b1d...a145e97. Read the comment docs.

Linked issue: https://github.com/jpmorganchase/tessera/issues/738


License?

Hello Author,
I would like to know what the license is.
Thanks in advance.

just added, thank you

Thank you 😄


Update schemas to be more lenient with Windows registry keys

Also add instructions for how to update the schemas

Codecov Report

Merging #188 (eb827e3) into master (3d5c1bd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #188   +/-   ##
=======================================
  Coverage   94.37%   94.37%
=======================================
  Files          64       64
  Lines        6093     6093
=======================================
  Hits         5750     5750
  Misses        343      343

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d5c1bd...eb827e3. Read the comment docs.


 Basic active path

I'm not sure if this is in the docs. I'd like my Link to be active only when it is in the exact route, but not for children routes.
Is this possible at the moment?

It seems to be the only existing behaviour available. At least I'm trying to get the opposite result and mark my parent route's links active, with no success.

Just leave this here: https://github.com/rackt/react-router/blob/master/docs/API.md#indexlink


Window functions analyzer support.

Summary of the changes / Why this improves CrateDB
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed

@mfussenegger pushed another fixup


Helium window not focusing on click

To regain focus of the helium window i have to click on the helium icon in the dock, clicking on the window does not work.
This makes navigation to a new webpage or resizing the window more difficult especially if you have your dock hidden.
I often watch youtube tutorials in the browser then decide to open in helium, i would like to right click and  "Get video URL at current time". As it stands the video will just start form the beginning.

I believe this is more of a feature rather than a bug. The behaviour you are describing is only enabled when translucency is turned on. If you use 'cmd' + 'tab' instead of the dock helium vil also become focused.


Create a base class

Create a base class for all the models which includes all the common functionalities.

Created a base class. @dikshant2210 @somnat  Please update your code.


refactor: :recycle: refactor code | Move to MiniMessage | Improve Configs

Hello PandaUprising!
This is the implementation of the changes I mentioned in the Issue #10. I hope that this is what you expected!

Refactored the entire codebase
Moved from Paragraph or ChatColor.SOMETHING color codes to Kyori's MiniMessage
Improved/redid the configuration file contents

Closes #10

Thanks heaps for that!


populate fields when entity creation

Example (from measure-repository)
FROM
create(document: IMeasure): Promise<IMeasure> {
        return MeasureModel.create(document)
        .then(rejectIfNull('Measure not found'))
        .then(toObject)
        .then(normalizeFiledNames);
    }

TO
create(document: IMeasure): Promise<IMeasure> {
        return MeasureModel.create(document)
        .then(rejectIfNull('Measure not found'))
        .then((o: IMeasureModel) => o.populate({path:'sensor', populate: {
            path: 'type'
        }}))
        .then(toObject)
        .then(normalizeFiledNames);
    }

I would use this: (the the code from above does not work)
.then((o: IMeasureModel) => MeasureModel.populate(o, {path: 'sensor', populate: {
            path: 'type'
        }}))

Fixed in #75


[Bug] Users % targettig does not seem to work as one could think is does

[REQUIRED] Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: Open source from this repo
Firebase C++ SDK version: 8.9.0
Problematic Firebase Component: Remote config
Other Firebase Components in use: None
Platform you are using the C++ SDK on: Windows, Mac
Platform you are targeting: desktop

[REQUIRED] Please describe the issue here:
Users % targettig does not seem to work as it should. It rolls a dice every fetch so it does not have any notion of a user or client thus single client can get various configs every fetch
Steps to reproduce:
Configure remote config so it has a user % based condition and serve one config (config A) for 50% of users and the other (config B) for the rest. Fetch the config multiple times.

Relevant Code:

Hi @pawel-gener8
If you are using Remote Config on desktop, ex. Windows and macOS, users % targeting won't work because it relies Firebase Installation (to make sure the same installation always get the same config) and we do not have Firebase Installation implementation for desktop yet. :(
Please confirm if this is the case. If so, we can turn this into a feature request.
As a feature, this requires two components:

Firebase Installation desktop implementation
Firebase Remote Config API sends request with FIS id.


Fix handling of stdio chunks that don't end in a new line

LogWritable would cause the parts of chucks after the final new line in the chuck to be dropped. This change makes it so that they get correctly added to the buffer and logged on the next newline.
Version for stable is #265

I think we already covered it with readline


How to load model to specified GPU devices?

I'm trying a large model LLaVA1.5.
I know that if I set the parameter device_map='auto' in LlavaMPTForCausalLM.from_pretrained, the model will be loaded on all visible GPUs (FSDP).
Now I hope to load LLaVA1.5 on some of the visible GPUs, still in the FSDP mode, and automatically decide device_map like device_map='auto'. Note that the GPUs can be arbitrarily assigned, i.e. GPU 2, 3, 4, but not starting with GPU 0.
I try to achieve this by passing a max_memory, like
model = LlavaMPTForCausalLM.from_pretrained(model_path,device_map='auto', max_memory={2:<PHONE_NUMBER>6, 3:<PHONE_NUMBER>6, 4:<PHONE_NUMBER>6})
However, an error occured

I think the loop should be modified?
Or is there are any simpler ways to achieve my goal?

Have you tried to set CUDA_VISIBLE_DEVICES=2,3,4?
Like CUDA_VISIBLE_DEVICES=2,3,4 accelerate launch code.py

Have you tried to set CUDA_VISIBLE_DEVICES=2,3,4? Like CUDA_VISIBLE_DEVICES=2,3,4 accelerate launch code.py

I want to load LLaVA1.5 on GPU2,3,4, but another model on GPU 0,1, in one code.


[Storage-Preview] FileShare trailing dot support --disallow-trailing-dot

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Storage-Preview


More robust setup.py and bump numpy version

Codecov Report

Merging #157 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #157   +/-   ##
=======================================
  Coverage   86.36%   86.36%
=======================================
  Files          19       19
  Lines        1056     1056
  Branches      248      248
=======================================
  Hits          912      912
  Misses         80       80
  Partials       64       64

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a2749e2...c77146e. Read the comment docs.


gRPC builds fails due to ballerina stream type change

Description:
The build fails due to outdated return type in streaming_client.bal
Steps to reproduce:
Build the module with the latest dependency update
Affected Versions:
SL Beta 3
Suggested Labels (optional):
module/grpc
Suggested Assignees (optional):
@dilanSachi

This issue is fixed in the master branch, hence closing this issue


Add E2E test case cover duplicatepods strategy

Add duplicatepods strategy into E2E test case :)

What are your thoughts on moving this to its own file? e2e_toomanyrestarts_test.go?
I followed this pattern for TopologySpreadConstraint strategy as a single file was making it hard to read/follow.

/ok-to-test

/ok-to-test

/retest

I am really confuse for the test, I am so sorry that it fails, but my testcase already pass, it fails other test case, I don't change other test case...
=== RUN   TestRemoveDuplicates
    e2e_duplicatepods_test.go:51: Creating testing namespace
    e2e_duplicatepods_test.go:66: Creating duplicates pods
    e2e_duplicatepods_test.go:113: Creating deployment duplicate-pod in e2e-testremoveduplicates namespace
    e2e_duplicatepods_test.go:186: Waiting for 4 pods to be created, got 0 instead
    e2e_duplicatepods_test.go:150: Running DeschedulerStrategy strategy
    e2e_duplicatepods_test.go:173: Number of pods on node kind-worker changed from 4 to 4
--- **PASS: TestRemoveDuplicates (10.12s**

=== RUN   TestTopologySpreadConstraint/test-rc-topology-spread-hard-constraint
    e2e_topologyspreadconstraint_test.go:61: Creating RC test-rc-topology-spread-hard-constraint with 4 replicas
    e2e_test.go:980: Waiting for 4 pods to be created, got 0 instead
    e2e_test.go:980: Waiting for 2 pods to be created, got 0 instead
    e2e_test.go:985: Pod test-rc-topology-spread-hard-constraint-violator-b8jbl not running yet, is Pending instead
    e2e_test.go:985: Pod test-rc-topology-spread-hard-constraint-violator-b8jbl not running yet, is Pending instead
...
--- **FAIL: TestTopologySpreadConstraint** (94.29s)
    --- FAIL: TestTopologySpreadConstraint/test-rc-topology-spread-soft-constraint (47.13s)
    --- FAIL: TestTopologySpreadConstraint/test-rc-topology-spread-hard-constraint (47.13s)

@ingvagabund I already fix all the comments and also including the toomangrestart test strategy.
Would you help to review ? :) Much thanks

On my todo list :)

/retest

/lgtm

So sorry to at you again. It seems still need /approve label could be merge :) @ingvagabund

I asked @damemi for the final approval :) Just in case I missed something

/lgtm
/assign @damemi

/approve


fetch_attachment config option missing in version 2

Hi @Webklex
Looking at https://github.com/Webklex/laravel-imap/blob/master/src/config/imap.php it seems like the config option for fetch_attachments has also been removed, could this maybe be added back?
From previous config file:
    |   -Attachment download option
    |       Default TRUE

and in imap.php config file
 'options'     => [
    ...
        'fetch_attachment' => true,
     ...
    ],

I realise this options defaults to true, but it would be nice to have the option back to turn it off.

Hi @ricus-zero2one ,
this option is no longer supported. This has to do with the fact how content fetching works. The attachments are actually part of the body - if you fetch the body, you also fetch all attachments. If you fetch the attachments, you also fetch the body :)
If you want to reduce the load, you could disable the body fetching and work with the message headers and perhaps fetch the body later if you actually need it:
$messages = $folder->query()->all()->fetchBody(false)->get();
$messages->each(function($message){
    if ($message->uid == 123) {
        $message->parseBody();
        dump($message->getBodies());
    }
}

If this option is added back, it could just prevent the attachment parsing, which might shave off some loading time?
Best regards,

Thanks @Webklex no worries then, I do have it enabled because I need the attachments.
I've come to realise that attachments are actually in the body, think it's base64 encoded or something like that. I was manually appending mails with attachments to imap folders for clients that don't automatically save a sent copy if sent via smtp, before I came to my senses and just used swiftmailer to build up the mail 😆
You're welcome to close this one 🙂


Test issue with logs

Windows Version
N/A
WSL Version
N/A
Are you using WSL 1 or WSL 2?

[ ] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
N/A
Expected Behavior
N/A
Actual Behavior
N/A
Diagnostic Logs
WslNetworkingLogs-2024-03-07_10-24-12.zip

Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9
An HNS error seems to be causing WSL2 to fail to start. Adding network tag

An HNS error seems to be causing WSL2 to fail to start. Adding network tag

Diagnostic information
                        Debugging information: `Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9`
Debugging information: `Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9`
Debugging information: `Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9`

An HNS error seems to be causing WSL2 to fail to start. Adding network tag

Diagnostic information```
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x800706d9
```

https://github.com/microsoft/WSL/files/14607801/WslNetworkingLogs-2024-03-07_10-24-12.zip


Split role management

so that user admins can only manage people in the same role (rather than same prison OR same role)

retest this please


Completely Done and Finalize Design Move Alpha to Alpha-Main By Pasindu Nethsara 2024/10/30 1.16 am

Completely Done and Finalize Design Move Alpha to Alpha-Main By Pasindu Nethsara 2024/10/30 1.16 am

Completely Done and Finalize Design Move Alpha to Alpha-Main By Pasindu Nethsara 2024/10/30 1.17 am


Signal connection to disconnect when a connection_closed error is received from ODBC

Typically the ping that runs every second, by default, checks the connections and disconnects bad ones before they can be used. Because the ping cost $ in Snowflake we changed the ping to 5 minutes making it effectively useless. Now we are seeing bad connections being left in the pool and used.
This fix will do the disconnect when is query is made and return the error.
We should consider proactively retrying the query if the error is connection_closed so the caller doesn't have to know the internals of this.

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


Keyboard is not showing up when clicked on parked view

I imported your code and used the example code into xml. But when i click on view the keyboard is not showing up. Any suggestions?

Thank you for using.
Hmm... . I have not good idea soon.
Did you rewrite my example code ?

I just copied what ever you have in the description.
BTW, this is a nice. Hope you develop more like this.

Same issue, I am also facing, I just downloaded the project and ran it in 5.1.1, the keyboard is not opening.

@EpariNigam could you resolve this problem?

@raviteja06 @EpariNigam @MahdiPishguy Haha, I had the same problem... The first thought that came to my mind was focusability, so I tried:
android:focusableInTouchMode="true"
and it worked like a charm!  ;)
P.S Hey, @gotokatsuya Thanks for this nice library, cool name too, the only catch is that it sounds like a subclass of TextView, instead of EditText!  :P

Hey, @gotokatsuya Just tried fixing it from the class side so that there's no change required in the XML side. I simply put setFocusableInTouchMode(true); in the ParkedViewText.init() and it all falls in place.  :)


purge _get_args helper func

closes #11089
@larsoner in all but one case, a simple signature(f).parameters (or list(signature(f).parameters) was sufficient.  IMO the helper function is not really needed, but if you disagree feel free to close this without merging.

These failures passed for me locally... turns out I had scipy 1.8.x and they fail with 1.9.x.  Will fix:
_________________________ test_ica_additional[picard] __________________________
mne/preprocessing/tests/test_ica.py:789: in test_ica_additional
    for name, func in get_score_funcs().items():
mne/preprocessing/ica.py:121: in get_score_funcs
    assert 'pearsonr' in score_funcs
E   AssertionError
_________________________ test_ica_additional[fastica] _________________________
mne/preprocessing/tests/test_ica.py:789: in test_ica_additional
    for name, func in get_score_funcs().items():
mne/preprocessing/ica.py:121: in get_score_funcs
    assert 'pearsonr' in score_funcs
E   AssertionError
_______________________________ test_ica_labels ________________________________
mne/preprocessing/tests/test_ica.py:1374: in test_ica_labels
    ica.find_bads_eog(raw, l_freq=None, h_freq=None)
<decorator-gen-447>:12: in find_bads_eog
    ???
mne/preprocessing/ica.py:1889: in find_bads_eog
    self.labels_['eog'], scores = self._find_bads_ch(
mne/preprocessing/ica.py:1376: in _find_bads_ch
    scores += [self.score_sources(
<decorator-gen-443>:12: in score_sources
    ???
mne/preprocessing/ica.py:1318: in score_sources
    scores = _find_sources(sources, target, score_func)
mne/preprocessing/ica.py:2367: in _find_sources
    score_func = get_score_funcs().get(score_func, score_func)
mne/preprocessing/ica.py:121: in get_score_funcs
    assert 'pearsonr' in score_funcs
E   AssertionError

OK those tests pass locally now for me with scipy 1.8.0 and 1.9.1 so hopefully CIs are happy now

@britta-wstnr I let you click the auto-merge button if it's ok for you.

thx @drammock


Format Learn how a stack works challenge

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Improve readability of challenge
Spell out JavaScript abbreviations
Apply appropriate dfn and code tags
Change from single quotes to double quotes
Add periods to end of challenge tests

Related #12757

@dhcodes thanks for the feedback! I've been bogged down with other stuff the past few days. I'll get to this by sometime this weekend.


Allow preventDefault on wheelEvents, fix Chrome intervention console logs

Replace jQuery.on with addEventListener for wheelEvent
Add passive: true to event options
Check for event.originalEvent before accessing wheelDelta in wheelHandler function

Thanks

Should you also use removeEventListener to remove the event instead of jQuery .off()?

I am sorry, but I am a total nooby to JS, and I can't find JQuery.on anywhere in the script.
What am I doing wrong here?

I tried this fix on the Scrolify DEMO page and the transitions just became less glitchy.

Any ETA on getting a new release tagged?

this fixed the console errors, but scrolling is still very glitchy

Thanks guys! For me the same. console warnings disappeared, but scrolling is still extremely glitchy. is there any update on this?

Do we know what has caused the glitchiness?

On my end, I also added capture: true after the passive: true in the eventListener and I do not have glitchiness. Maybe that is what helps?

As you can see on the website I used Scrollify it works great: https://clubkombucha.ca/en/products#bitter

@mabrodeur that seems to be it! could you share the code or file or whatever? :)

If you get the latest file, change line 380 from
window.addEventListener(wheelEvent, manualScroll.wheelHandler, { passive: false });
to
window.addEventListener(wheelEvent, manualScroll.wheelHandler, { passive: false, capture: true });

Thank you guys. I immediately tried your solution, but it doesn't seem to fix my problem. I tried it on a protected staging server, that isn't exposed - But here is the original site without the latest fix. There you can see my problem:
https://group.pfeiffer-vacuum.com/annual-report-2018/
In Chrome & Safari I have heavy glitching while scrolling with the mouse wheel. On Firefox it works perfectly. Can you reproduce the problem with your browsers on this page?

@mabrodeur i figured that's what you meant, but unfortunately it's not doing anything.
your website is working fine though (clubkombucha). are you sure you didn't change anything else??

@lars2011 do you find any solution for this problem? I have the same problem and I don't know what can I do.

@lars2011 I'm facing the exact same issue on 2 websites. Can anyone help me to resolve this issue?
URL : https://bestercapitalmedia.com/

I have had a look at this issue and I really cannot work out what Chrome has changed in their latest version that has messed up the smoothness of the transition (there is also some sort of miscalculation going on). if you look at the wheelHandler method there are values (magic numbers) that can be tweaked which does result in some reduction in the glitch. If anyone actually knows what the issue is I can look at making a PR for it but at the moment i'm struggling to see what it

@nckblu the wheelHandler method detects the users scrolling (direction and acceleration etc) it doesn't directly manipulate the scrolling of the page. The only method that does this is animateScroll.

Here is my file if anyone wants it.
https://gist.github.com/mabrodeur/535908298f196343bec6ced3a9587a7a
I didn't change much things... The main difference I think is the way the e = e || window.event;is handled. I also changed the way the destroy function is working to really reset everything. I needed this because my website is all ajax and when I come back to a page I need everything to reset properly. There is no glitch with my version (don't really know why) and you can test it out here : https://clubkombucha.ca/en/products#bitter

@mabrodeur thanks for the file, but it's the same.
perhaps you are using a specific set of settings that don't glitch?

Here are my settings if it might help:
$.scrollify({
  section: ".node-product.view-mode-full",
  sectionName: "section-name",
  // interstitialSection: "",
  easing: "easeOutExpo",
  scrollSpeed: 800,
  offset: 0,
  scrollbars: true,
  standardScrollElements: "",
  setHeights: true,
  overflowScroll: true,
  updateHash: true,
  touchScroll: true,
  before: function (index, sections) {
    // ...
  },
  after: function (index, sections) {
    // ...
  },
  afterResize: function () {
    // ...
  },
  afterRender: function () {
    // ...
  }
});

thats it... setHeights has to be true.
the original .js works just fine for me then :)

@andrejasoko For me it works too with setHeights:true, but only when a section is not longer than one particular screen. Could you check if it still works when a section has way more content than a simple screen? In my case it then gets "jumpy" / glitchy while scrolling in chrome.
Another simple solution is with CSS body {overflow:hidden}. It's basically the same effect that longer sections get cut off. In my non-developer opinion it seems to have to do with the calculation of variable heights...

@lars2011 it doesn't work on long sections, and this time i can't find a way around it..

Adding body{overflow:hidden} as @lars2011 suggested solved the issue for me in Chrome, using Version 1.0.19 of Scrollify

The same problem in the last section
https://www.ufgam.com/

For my use case, I was able to correct the jitter/stutter effect when scrolling with a mouse wheel in Chrome.  In the 'wheelHandler' function, add a e.preventDefault() to if(locked) condition, on line 318.
if(locked) {           return false; }
to
if(locked) {           e.preventDefault();           return false; }
May need to do some additional testing prior to deployment but solves the issue in Chrome and does not alter behavior in Firefox.

Thanks @dhpollock ! I tested it and can confirm that the jitter is nearly completely gone. It is much better! Sometimes while scrolling very fast on long sections the stutter appears once, but then it's smooth again.
So this seems to be the best workaround so far! Thank you very much!

this fixes it for most use cases, thanks @dhpollock.
but the stutter still happens once you reach a scrollify section while scrolling trough a long regular section.

Can confirm that the jittering still exists in chrome around overflow sections.
I think I slightly improved the jitter (though it still exists, especially with erratic scrolling behaviors), by changing the following lines (620 and 639) by changing the < to <= such that lines 620 and 639 now appear as :
if(($this.css("height","auto").outerHeight()<=portHeight) || $this.css("overflow")==="hidden") {
...
if(($this.outerHeight()<=portHeight) || (settings.overflowScroll===false)) {
This seems to give the overflow array the correct boolean values, least with the following settings
{scrollbars: true, standardScrollElements: "", setHeights: true, overflowScroll: true}
Not a solution but maybe a step in the right direction?  YMMV

Had the same problem with Chrome (Windows 10). For my use case setting offset to 1 instead of 0 does the trick.
 offset: 1,

I've got the same problem and cannot understand the proposed solutions!

I had the same problem. The worst glitches got better by updating to the current version of the jquery.scrollify.js and it got somewhat better by changing that exact file as @mabrodeur stated above

If you get the latest file, change line 380 from
window.addEventListener(wheelEvent, manualScroll.wheelHandler, { passive: false });
to
window.addEventListener(wheelEvent, manualScroll.wheelHandler, { passive: false, capture: true });

Still it's not as smooth as it should be, so I'd be very thankful if there is a real fix to be released somewhen in the future


ENYO-1335: Date Picker : Passing undefined params stops application

Issue
At creation time of Date Picker, value is set to null so iLib date object cannot be instantiated from it. However picker calls iLib function to calculate maximum days by passing undefined values. Inside iLib API, there exist a code trying to manipulate undefined params and it causes undefined error.
Fix
If value is not set yet, default values are assigned, which are based on start of unix time.
Enyo-DCO-1.1-Signed-off-by: Hunkyo Jung<EMAIL_ADDRESS>

This issue is only happened in Ethiopia calendar.
Every calendar has own guard code in i18n except Ethiopia.
So, i18n would better to add guard code for Ethiopia like others.
Anyway this guard code looks reasonable.

I think we'd be better off skipping the call into ilib altogether by checking for invalid values in DatePicker.monthLength(). As it is now, that error is happening 2 functions deep in ilib and there's no value in those method calls. Even if they add a check, there's no reason to wait to hit it when we know we can't determine the month length when month and year are invalid.

@ryanjduffy Yes, you're right. However when I asked i18n team to add a check in ilib code, they said that the problem is to send undefined values to ilib and it should be avoided first. That's why I added guard code. (I heard i18n team also would add a check but I don't know when they are going to work on it.)

Previous condition to assign default values is removed. Instead monthLength function in date picker would check if inYear and inMonth have actual values before calling iLib API.


iPhone X safeAreaInsets for button layout

Fix for #119 to indent buttons by safe area inset for iPhone X

Thanks @joebenton. But while your fix is somewhat correct, it doesn't consider the table view's safe area insets. This is now fixed.


eyes.inspect([null]) throws TypeError: Object.keys called on non-object. fixed.

wasn't checking if something that was typeof 'object' wasn't null.

Duplicate of #5


[REQUEST] Hotkey to quickly comment/uncomment lines

Could you please add a hotkey to quickly comment/uncomment lines in LoliScript Editor?
I suggest CTRL+#, but any other combination is fine. Thanks.

Duplicate https://github.com/openbullet/openbullet/issues/611

issue #611 is about a button
but this one is about a Hotkey
but this one labeled as duplicate

It doesn't matter, you should instead go comment on the other issue that it would be better to also add a hotkey.


Update script url

Updates the script url to use the latest version.

Currently following the instructions in the readme you get
TypeError: invalidFrees.push is not a function


Client Allocation Request for: Zhao KK

Client Allocation Questions
Core Information

Name: Zhao KK
Website / Social Media: https://github.com/orgs/NpoolFilecoin
Region: Greater China Region
DataCap Requested: 100TiB
Addresses to be Notarized: f1dm6ydma5gw4s64frnwgu5flpmwd7lvdrrzfxgli
Notary Requested: Fenbushi-Filecoin

@kikakkz Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Don't know the website is fail or not, just close duplicated request

This user’s identity has been verified through filplus.storage


Handle explicit-entry activities

Description
Provide a basic interface for explicit-entry activities and add a new top-bar component for displaying the countdown.
Note there is a change related to the result service in the middle. It is a (non-breaking) change to the backend which has been made in the meantime to avoid a new requests (as we needed the expiration time of the attempt to display the countdown).  I haven't reorganized the result/attempt related types in depth, but there is something dirty around this Result type which has to be mapped after fetching.

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/explicit-entry/playwright-report/index.html

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/explicit-entry/playwright-report/index.html


Max width for plot app

Currently there's no max width for plot app being defined. The only "width" being set for the app is that the app will fill 80% of the container that it is in (browser window or iframe). In the changes for issue #160 , this width is being increased to 95% and issue #163 will allow for this to be configurable.
For large screens (or zoomed out screens), this width stretches the graph making it become less readable since labels get very small with a large chart display.
There should be a max width being set on the plot app container so that at a certain screen size, the plot will remain constant and no longer stretch.

Closing this issue since a more recent issue has been created with more details. See issue #176


go_vncdriver window blank for flashgames environments

The examples agent for pong runs normally. DuskDriver-v0 opens go_vnc, fails to render for a minute and then loses TCP.
universe.txt

Thanks for the logs! Not sure what's going on yet, though. Can you also attach logs from the example agent and the docker container? Easier to do if you run them as separate processes. See https://github.com/openai/universe/issues/6#issuecomment-264947599

Around 05:46:31 I have the render process up on examples. As for the docker logs, docker ps -l claims that there isn't a container so I've tried docker run -p 5900:5900 -p 15900:15900 --ipc host --privileged --cap-add SYS_ADMIN quay.io/openai/universe.flashgames:0.20.1. This also runs for a minute or two before stopping:
docker.txt. I haven't read through docker's side yet so hopefully it will have an insight.

At least it's obvious that the environment isn't starting properly. I hope it's not from something trivial like a missing dependency.

I met the same problem running the demo code firstly, then i tried to restart the docker and run it again, that's ok now. See http://localhost:15900/viewer/?password=openai, this the same stream as the new game window.

Thanks very much for the tip, not only restarting docker but container management may have a result.

Now running DuskDrive.py, with all other containers removed from docker. First run:
docker-stdout.txt
stdout.txt
universe.txt
After stopping and restarting docker:
stdout-2.txt
universe-2.txt
At a glance I don't see a difference on the restarted container.

From docker-stdout.txt:
Failed to start environment with 10 consecutive attempts. Probably not going to happen.

This means the process in the docker container failed to start Chrome 10 consecutive times. We've seen a few causes for that. One thing to try is adding --cap-add NET_ADMIN to your docker command. It's also worth double-checking that your docker container isn't out of memory or disk space.
We should try to report the error message from Chrome here. The client should definitely get a better error than the server inside the container just hanging up the connection.

See discussion at #25 on debugging Chrome issues

Perfectly correct, I was not cleaning docker properly. And in fact, the dev2 version in that thread is now rendering!


Comments Update in routes

Missing asterisk in block comment opening

Sorry, but those blocks function as multiline comments. What you're proposing is for doc blocks, which in this case are not.