Unable to build on GHC 7.10.1

Hi all,
First of all, since this project has been 'abandoned' - in which future direction should be we contributing our efforts, especially to support Eclipse FP (one of the most useful Haskell coding environments around)?
Secondly, I am not able to build the current version from source on GHC 7.10.1, this is my output:
(Note: I am building in a sandbox, and I have first pre-built ghc-pkg-lib from source)
Is this because of the breaking changes introduced in GHC 7.10?
Configuring buildwrapper-0.9.2...
Building buildwrapper-0.9.2...
Preprocessing library buildwrapper-0.9.2...
[1 of 6] Compiling Language.Haskell.BuildWrapper.Base ( src/Language/Haskell/BuildWrapper/Base.hs, dist/dist-sandbox-80d764cb/build/Language/Haskell/BuildWrapper/Base.o )

src/Language/Haskell/BuildWrapper/Base.hs:13:1: Warning:
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
[2 of 6] Compiling Language.Haskell.BuildWrapper.Cabal ( src/Language/Haskell/BuildWrapper/Cabal.hs, dist/dist-sandbox-80d764cb/build/Language/Haskell/BuildWrapper/Cabal.o )
[3 of 6] Compiling Language.Haskell.BuildWrapper.GHCStorage ( src/Language/Haskell/BuildWrapper/GHCStorage.hs, dist/dist-sandbox-80d764cb/build/Language/Haskell/BuildWrapper/GHCStorage.o )
[4 of 6] Compiling Language.Haskell.BuildWrapper.GHC ( src/Language/Haskell/BuildWrapper/GHC.hs, dist/dist-sandbox-80d764cb/build/Language/Haskell/BuildWrapper/GHC.o )

src/Language/Haskell/BuildWrapper/GHC.hs:304:105:
    Couldn't match expected type ‘PrintUnqualified’
                with actual type ‘(QueryQualifyName, QueryQualifyModule)’
    In the first argument of ‘showSDUser’, namely
      ‘(qualName style, qualModule style)’
    In the second argument of ‘($)’, namely
      ‘showSDUser (qualName style, qualModule style) df msg’
    In the second argument of ‘($)’, namely
      ‘removeStatus status
       $ showSDUser (qualName style, qualModule style) df msg’

src/Language/Haskell/BuildWrapper/GHC.hs:532:110:
    Couldn't match expected type ‘PrintUnqualified’
                with actual type ‘(QueryQualifyName, QueryQualifyModule)’
    In the first argument of ‘showSDUser’, namely ‘q’
    In the second argument of ‘($)’, namely ‘showSDUser q df pprTyp’

src/Language/Haskell/BuildWrapper/GHC.hs:558:31:
    Could not deduce (Foldable t1) arising from a use of ‘null’
    from the context (GhcMonad m)
      bound by the type signature for
                 getEvalResults :: GhcMonad m => String -> m [EvalResult]
      at src/Language/Haskell/BuildWrapper/GHC.hs:(504,19)-(506,44)
    or from (Num a, Ord a)
      bound by the inferred type of
               cPprShowable :: (Num a, Ord a) => a -> Term -> m (Maybe SDoc)
      at src/Language/Haskell/BuildWrapper/GHC.hs:(546,5)-(566,37)
    The type variable ‘t1’ is ambiguous
    Note: there are several potential instances:
      instance Foldable (Control.Applicative.Const m)
        -- Defined in ‘Control.Applicative’
      instance Foldable (Either a) -- Defined in ‘Data.Foldable’
      instance Foldable Data.Functor.Identity.Identity
        -- Defined in ‘Data.Functor.Identity’
      ...plus 100 others
    In the first argument of ‘not’, namely ‘(null txt)’
    In the expression: not (null txt)
    In the second argument of ‘($)’, namely
      ‘if not (null txt) then
           Just $ cparen (prec >= myprec && needsParens txt) (text txt)
       else
           Nothing’

src/Language/Haskell/BuildWrapper/GHC.hs:576:65:
    Couldn't match type ‘TyThing’ with ‘Var’
    Expected type: Id
      Actual type: TyThing
    In the expression: mkid
    In the second argument of ‘extendInteractiveContext’, namely
      ‘[mkid]’

src/Language/Haskell/BuildWrapper/GHC.hs:577:33:
    Couldn't match expected type ‘HscTypes.InteractiveContext’
                with actual type ‘[GHC.TyCon]
                                  -> [ClsInst]
                                  -> [FamInst]
                                  -> Maybe [Type]
                                  -> [PatSyn.PatSyn]
                                  -> HscTypes.InteractiveContext’
    Probable cause: ‘new_ic’ is applied to too few arguments
    In the ‘hsc_IC’ field of a record
    In the expression: hsc_env {hsc_IC = new_ic}

src/Language/Haskell/BuildWrapper/GHC.hs:794:38:
    Couldn't match expected type ‘P [Located Token]’
                with actual type ‘(Located Token -> P a2) -> [GenLocated t0 Token]’
    Probable cause: ‘go’ is applied to too few arguments
    In the first argument of ‘unP’, namely ‘go’
    In the expression: unP go initState

src/Language/Haskell/BuildWrapper/GHC.hs:802:21:
    Couldn't match type ‘P a’ with ‘GenLocated t Token’
    Expected type: (Located Token -> P a) -> GenLocated t Token
      Actual type: (Located Token -> P a) -> P a
    Relevant bindings include
      go :: (Located Token -> P a) -> [GenLocated t Token]
        (bound at src/Language/Haskell/BuildWrapper/GHC.hs:801:11)
    In a stmt of a 'do' block: ltok <- lexer return
    In the expression:
      do { ltok <- lexer return;
           case ltok of {
             L _ ITeof -> return []
             _ -> liftM (ltok :) go } }

src/Language/Haskell/BuildWrapper/GHC.hs:802:27:
    Couldn't match expected type ‘Bool’ with actual type ‘a1 -> m0 a1’
    Probable cause: ‘return’ is applied to too few arguments
    In the first argument of ‘lexer’, namely ‘return’
    In a stmt of a 'do' block: ltok <- lexer return

src/Language/Haskell/BuildWrapper/GHC.hs:990:17:
    Non type-variable argument
      in the constraint: Data.String.IsString [a]
    (Use FlexibleContexts to permit this)
    When checking that ‘pragmaBehavior’ has the inferred type
      pragmaBehavior :: forall a.
                        (Eq a, Data.String.IsString [a]) =>
                        [a] -> PPBehavior -> PPBehavior
    In an equation for ‘preprocessSource’:
        preprocessSource contents literate
          = let
              (ts1, s2) = ...
              (ts2, s3) = ppSF s2 ppSCpp
            in (ts1 ++ ts2, s3)
          where
              ppSF contents2 p = let ... in (reverse ts, unlines $ reverse nc)
              ppSCpp ::
                ([TokenDef], [String], PPBehavior)
                -> (String, Int) -> ([TokenDef], [String], PPBehavior)
              ppSCpp (ts2, l2, f) (l, c)
                | (Continue _) <- f
                = addPPToken "PP" (l, c) (ts2, l2, lineBehavior l f)
                | (ContinuePragma f2) <- f
                = addPPToken "P" (l, c) (ts2, "" : l2, pragmaBehavior l f2)
                | ('#' : _) <- l
                = addPPToken "PP" (l, c) (ts2, l2, lineBehavior l f)
                | Just (l', s, e, f2) <- pragmaExtract l f
                = (TokenDef "P" (mkFileSpan c s c e) : ts2, l' : l2, f2)
                | (Indent n) <- f
                = (ts2, l : (replicate n (takeWhile (== ' ') l) ++ l2), Start)
                | otherwise = (ts2, l : l2, Start)
              ppSLit ::
                ([TokenDef], [String], PPBehavior)
                -> (String, Int) -> ([TokenDef], [String], PPBehavior)
              ....

src/Language/Haskell/BuildWrapper/GHC.hs:1137:12:
    Constructor ‘ITspec_prag’ should have 1 argument, but has been given none
    In the pattern: ITspec_prag
    In an equation for ‘tokenType’: tokenType ITspec_prag = "P"

src/Language/Haskell/BuildWrapper/GHC.hs:1359:92:
    Couldn't match type ‘GenLocated SrcSpan [LIE Name]’
                   with ‘[LIE Name]’
    Expected type: Maybe (Bool, [LIE Name])
      Actual type: Maybe (Bool, Located [LIE Name])
    In the second argument of ‘($)’, namely ‘ideclHiding imp’
    In the second argument of ‘($)’, namely
      ‘maybe [] snd $ ideclHiding imp’

src/Language/Haskell/BuildWrapper/GHC.hs:1375:94:
    Couldn't match type ‘GenLocated SrcSpan Name’ with ‘Name’
    Expected type: Name
      Actual type: Located Name
    In the fifth argument of ‘ghcNameToUsage’, namely ‘nm’
    In the expression:
      ghcNameToUsage df tpkg tmod tsection nm src False

src/Language/Haskell/BuildWrapper/GHC.hs:1376:99:
    Couldn't match type ‘GenLocated SrcSpan Name’ with ‘Name’
    Expected type: Name
      Actual type: Located Name
    In the fifth argument of ‘ghcNameToUsage’, namely ‘nm’
    In the expression: ghcNameToUsage df tpkg tmod tsection nm src True

src/Language/Haskell/BuildWrapper/GHC.hs:1377:99:
    Couldn't match type ‘GenLocated SrcSpan Name’ with ‘Name’
    Expected type: Name
      Actual type: Located Name
    In the fifth argument of ‘ghcNameToUsage’, namely ‘nm’
    In the expression: ghcNameToUsage df tpkg tmod tsection nm src True

src/Language/Haskell/BuildWrapper/GHC.hs:1378:104:
    Couldn't match type ‘GenLocated SrcSpan Name’ with ‘Name’
    Expected type: Name
      Actual type: Located Name
    In the fifth argument of ‘ghcNameToUsage’, namely ‘nm’
    In the first argument of ‘(:)’, namely
      ‘ghcNameToUsage df tpkg tmod tsection nm src True’

src/Language/Haskell/BuildWrapper/GHC.hs:1379:71:
    Couldn't match type ‘GenLocated SrcSpan Name’ with ‘Name’
    Expected type: [Name]
      Actual type: [Located Name]
    In the second argument of ‘map’, namely ‘cons’
    In the second argument of ‘(:)’, namely
      ‘map
         (\ x -> ghcNameToUsage df tpkg tmod tsection x src False) cons’

src/Language/Haskell/BuildWrapper/GHC.hs:1388:72:
    Couldn't match type ‘ModuleName’
                   with ‘GenLocated SrcSpan ModuleName’
    Expected type: DM.Map (Located ModuleName) [Located ModuleName]
      Actual type: AliasMap
    In the second argument of ‘DM.lookup’, namely ‘moduMap’
    In the second argument of ‘fromMaybe’, namely
      ‘(DM.lookup modu moduMap)’

src/Language/Haskell/BuildWrapper/GHC.hs:1398:35:
    Couldn't match type ‘GenLocated SrcSpan ModuleName’
                   with ‘ModuleName’
    Expected type: [ModuleName]
      Actual type: [Located ModuleName]
    In the second argument of ‘mapM’, namely ‘realModus’
    In a stmt of a 'do' block:
      mapM
        (\ modu2
           -> do { pkg <- lookupModule modu2 Nothing;
                   let tpkg = ...;
                   let tmod = ...;
                   .... })
        realModus

src/Language/Haskell/BuildWrapper/GHC.hs:1425:77:
    Couldn't match type ‘GenLocated SrcSpan [LIE Name]’
                   with ‘[GenLocated l0 a0]’
    Expected type: [GenLocated l0 a0]
      Actual type: Located [LIE Name]
    In the second argument of ‘map’, namely ‘ns’
    In the expression: map (T.pack . showSD False df . ppr . unLoc) ns
cabal: Error: some packages failed to install:
buildwrapper-0.9.2 failed during the building phase. The exception was:

Well yes that's one of the reasons I've abandonned BuildWrapper and EclipseFP. Since they rely on the GHC API, every new release of GHC mean having to adapt to the changes, and I was the only maintainer of all these projects. If you're interested in pursuing EclipseFP, you can either take over BuildWrapper and adapt it to GHC 7.10, or maybe adapt EclipseFP to use another GHC API wrapper, like ide-backend maybe.

Thanks for the context, JP! I'm curious, if EclipseFP is currently dead, what are you guys using? I'm still searching for the elusive "useful Haskell IDE", and for a while, I was convinced that EclipseFP was it.
Any pointers for a fellow enthusiast without a clever editor? (syntax highlighting just isn't enough)

I've started using Leksah, since I'm not a huge emacs fan. It's OK but missing things I was used to in EclipseFP, hopefully it will improve if people use it and submit pull requests!


python310Packages.azure-mgmt-eventgrid: 10.1.0 -> 10.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.azure-mgmt-eventgrid is: "This is the Microsoft Azure EventGrid Management Client Library"
meta.homepage for python310Packages.azure-mgmt-eventgrid is: "https://github.com/Azure/azure-sdk-for-python"
meta.changelog for python310Packages.azure-mgmt-eventgrid is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.2.0 with grep in /nix/store/7l1qzh5bg7306a5h8vrax1h8m0x2hi68-python3.10-azure-mgmt-eventgrid-10.2.0
found 10.2.0 in filename of file in /nix/store/7l1qzh5bg7306a5h8vrax1h8m0x2hi68-python3.10-azure-mgmt-eventgrid-10.2.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
azure-cli
python310Packages.azure-mgmt-eventgrid
python39Packages.azure-mgmt-eventgrid

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7l1qzh5bg7306a5h8vrax1h8m0x2hi68-python3.10-azure-mgmt-eventgrid-10.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.azure-mgmt-eventgrid https://github.com/r-ryantm/nixpkgs/archive/6c99b09ac10593bcd1278791c1c157bebb15c735.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7l1qzh5bg7306a5h8vrax1h8m0x2hi68-python3.10-azure-mgmt-eventgrid-10.2.0
ls -la /nix/store/7l1qzh5bg7306a5h8vrax1h8m0x2hi68-python3.10-azure-mgmt-eventgrid-10.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

azure-cli
python310Packages.azure-mgmt-eventgrid
python39Packages.azure-mgmt-eventgrid

Maintainer pings
cc @mwilsoncoding for testing.

Result of nixpkgs-review pr 178422 run on x86_64-linux 1

3 packages built:

azure-cli
python310Packages.azure-mgmt-eventgrid
python39Packages.azure-mgmt-eventgrid


animate not work exactly in iphone safari

hey there,your do a great job here,I use wow+animate.css in my website,i open it on my iphone safari browser,any element add animate do not work,could you please give me some advice for this?

Please see #519.


PowerPC packages

Now that texlive-core has ppc64le, all dependencies in this recipe are available for this architecture. Is it possible to enable it in the builds?
Thank you!

How should I ask for ppc64le builds for version 1.8.14? We need that specific one for our openmm package.

Send a PR to downgrade and I'll merge to a new branch.


Result reproduction

Hi Thanks for open-sourcing this work. I have problems reproducing the results in the paper, looking forward to your help.
I have replicated twice the multitask w/o pertaining experiments. However, I fail to reproduce the results. My results are

For reference, I have also tested your released checkpoint on R2R and REVERIE, the results are

It seems the results come from the validation split, right?
Could you provide more details about your implementation? Did you change any hyper-parameters or turn off some subtasks? And how do you choose checkpoints for testing?

Yes. The results are from validation. I use the scripts provided from training and on-the-fly testing. It adopts the best model to test on validation.

As for the code, the only modifications are to adapt the LMDB to work on my cluster

I move the creation of self.sim to each rank during their data fetching.

It looks a bit weird. I have tried this script twice and the results are relatively stable in my trials (As shown in the following figures).
Would you please share your training log file with me?

The losses of first few epochs are similar to your log. But the val numerical results are much better. It is quite wired. Do you think the simulator environment may be a cause?

I suspect it may be because we actually used vicuna-7b-delta-v1.1 but mistakenly thought we were using vicuna7b-delta-v0.
I will confirm it soon.

For Vicuna-7b-delta-v0,  the `delta model' cannot be used directly. Users have to apply it on top of the original LLaMA weights to get actual Vicuna weights. See instructions.
Have you performed this transformation before using the model? Otherwise, the obtained vicuna parameters may be abnormal.

So the model is Vicuna-v0?
The Vicuna model on my side should be ok, as I have already used it for many other models and tasks.

It takes me some time to verify. Apologize for the inconvenience.

That's fine. Thank you for getting back to me.
Do you have other ideas about the performance?

It seems that we actually use vicuna-7b-v1.1.
You can replace the model with vicuna-7b-v1.1, please let me know if you still have problems.
Sorry for the inconvenience.

It's actually good news. Let me have a try.

Hi, have you successfully reproduced the results?

The model is in training.
Also, I have encountered another issue: if I use vicuna-v0 tokenizer testing model on ScanQA, everything is fine except the numbers don't match; whlist I use vicuna-v1.1 tokenizer, the code reports error. I can make sure that because I have tried several times with different machines and environments (including the one you provided in requirement.txt). Testing on R2R and REVERIE is fine with both tokenizers.
The error is reported on
https://github.com/zd11024/NaviLLM/blob/09f5cbeac9bf96d1a1053785d6a32df888ffeaeb/models/nav_model.py#L395
Error trace:
Traceback (most recent call last):
File "/xxx/NaviLLM/train.py", line 297, in
main()
File "/xxx/NaviLLM/train.py", line 234, in main
results = val_one_epoch(
File "/home/xx/.local/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/xxx/NaviLLM/train.py", line 140, in val_one_epoch
preds = agent.validate(
File "/xxx/NaviLLM/tasks/agents/llava.py", line 64, in validate
outputs = model("3dqa", batch, training=False, **generation_kwargs)
File "/home/xx/.local/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/xxx/NaviLLM/models/nav_model.py", line 145, in forward
return self.forward_3dqa(mode, batch, **kwargs)
File "/xxx/NaviLLM/models/nav_model.py", line 421, in forward_3dqa
generated_sentences = self.lang_model.tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)
File "/home/xx/.local/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 3446, in batch_decode
return [
File "/home/xx/.local/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 3447, in
self.decode(
File "/home/xx/.local/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 3486, in decode
return self._decode(
File "/home/xx/.local/lib/python3.9/site-packages/transformers/tokenization_utils.py", line 931, in _decode
filtered_tokens = self.convert_ids_to_tokens(token_ids, skip_special_tokens=skip_special_tokens)
File "/home/xx/.local/lib/python3.9/site-packages/transformers/tokenization_utils.py", line 912, in convert_ids_to_tokens
tokens.append(self._convert_id_to_token(index))
File "/home/xx/.local/lib/python3.9/site-packages/transformers/models/llama/tokenization_llama.py", line 129, in _convert_id_to_token
token = self.sp_model.IdToPiece(index)
File "/home/xx/.local/lib/python3.9/site-packages/sentencepiece/init.py", line 1179, in _batched_func
return _func(self, arg)
File "/home/xx/.local/lib/python3.9/site-packages/sentencepiece/init.py", line 1172, in _func
raise IndexError('piece id is out of range.')
IndexError: piece id is out of range.
The generated_ids when reporting bug are:
[[1, 29871, 29906, 2], [1, 2175, 2, -1]]

Debugging..

The vicuna v1.1 I use is https://huggingface.co/lmsys/vicuna-7b-v1.1
Though I think it should not be problem, I need to confirm this.

The point is the loaded tokenizer fails to decode -1, which is not in the vocabulary. Can you check whether this also an issue on your side? By the way, please to help to check the config.json in the vicuna model you use.
Now I replace the token id -1 with your pad token id
Traceback (most recent call last):
File "train.py", line 297, in
main()
File "train.py", line 234, in main
results = val_one_epoch(
File "/mnt/bn/kinetics-lp-maliva/envs/conda/envs/navillm3/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "train.py", line 140, in val_one_epoch
preds = agent.validate(
File "/mnt/bn/kinetics-lp-maliva-v6/playground_projects/NaviLLM/tasks/agents/llava.py", line 64, in validate
outputs = model("3dqa", batch, training=False, **generation_kwargs)
File "/mnt/bn/kinetics-lp-maliva/envs/conda/envs/navillm3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/mnt/bn/kinetics-lp-maliva-v6/playground_projects/NaviLLM/models/nav_model.py", line 148, in forward
return self.forward_3dqa(mode, batch, **kwargs)
File "/mnt/bn/kinetics-lp-maliva-v6/playground_projects/NaviLLM/models/nav_model.py", line 414, in forward_3dqa
generate_ids = self.lang_model.generate(
File "/mnt/bn/kinetics-lp-maliva/envs/conda/envs/navillm3/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "/mnt/bn/kinetics-lp-maliva/envs/conda/envs/navillm3/lib/python3.8/site-packages/transformers/generation/utils.py", line 1437, in generate
return self.greedy_search(
File "/mnt/bn/kinetics-lp-maliva/envs/conda/envs/navillm3/lib/python3.8/site-packages/transformers/generation/utils.py", line 2248, in greedy_search
outputs = self(
File "/mnt/bn/kinetics-lp-maliva/envs/conda/envs/navillm3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/mnt/bn/kinetics-lp-maliva-v6/playground_projects/NaviLLM/models/modified_lm.py", line 109, in forward
if cand_locations.sum() != 0:
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.

The model is vicuna-7b-v1.1. However, I found that the tokenizer is slightly different from the current version. The pas token in my config is set to 0.

The pad_token_id of vicuna-7b-v1.1 is -1, and the pad_token_id of vicuna-7b-delta-v1.1 is 0 (their parameters are exactly the same). Thus, -1 is automatically produced in the generation process, causing this error. To solve this problem, you can either modify the pad_token_id in the config, or manually pass it in when calling the generate function.

Hello, have you addressed the problem and reproduced the results?

I prepared vicuna-v1.1 using the delta model by FastChat. The overall val-unseen score is 2.93, lower than the released training log. Specifically on REVERIE by 2 points, on ScanQA by ~1 point. But things are much better.

It's good to hear that. Thanks for your feedback and discussion!


remove pull_request:edited trigger from most workflows

When we have a lot of dependabot PRs to review, sometimes we use all our rate limit up and stuff starts failing.
I think one of the issues causing this is that because we trigger a build on pull_request:edited, as soon as dependabot edits the top post of a PR to say "dependabot is rebasing this PR", all the builds unnecessarily re-trigger. Then they retrigger again on pull_request:synchronize when it force-pushes the branch.
This PR removes the pull_request:edited trigger from most of the workflows. I've left it on the service tests because its quite useful that editing the PR title re-runs those.
Hopefully this should reduce the number of builds we run a bit and make it a bit easier to stay under the rate limit.

going to merge this one and see if it helps as I bash through this week's dependabot PRs


MSDKUI-1903: Handle NMANavigationManagerInvalidValue

NMANavigationManager.sharedInstance().distanceToCurrentManeuver returns NMANavigationManagerInvalidValue for invalid distance to next maneuver.
This commit handles this value.

Codecov Report

Merging #91 into master will increase coverage by 0.83%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
+ Coverage   88.38%   89.22%   +0.83%
==========================================
  Files          89       59      -30
  Lines        5494     3527    -1967
==========================================
- Hits         4856     3147    -1709
+ Misses        638      380     -258

Flag
Coverage Δ

#ios
89.22% <100%> (+0.83%)
:arrow_up:

Impacted Files
Coverage Δ

MSDKUI/Classes/GuidanceManeuverMonitor.swift
82.08% <100%> (+0.55%)
:arrow_up:

MSDKUI_Demo/IconButton.swift

MSDKUI_Demo/OptionsViewController.swift

MSDKUI_Demo/ManeuversOverviewViewController.swift

MSDKUI_Demo/GuidanceDashboardViewController.swift

MSDKUI_Demo/ExtensionArray.swift

MSDKUI_Demo/RouteViewController.swift

MSDKUI_Demo/ExtensionUITableViewCell.swift

MSDKUI_Demo/ExtensionBundle.swift

MSDKUI_Demo/ExtensionNMAMapMarker.swift

... and 21 more

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 00f3540...c73519c. Read the comment docs.


NtSystemDebugControl Anti-Debug

Originally reported by: Carbon Monoxide (Bitbucket: NtQuery, GitHub: NtQuery)

http://pastebin.com/6kbt1Vka

Bitbucket: https://bitbucket.org/mrexodia/titanhide/issue/1

I have replaced this function in my in-kernel embedded version of TitanHide. The hooked version of the function is extremely simple and looks like this:
NTSTATUS NTAPI HookedNtSystemDebugControl(
	IN SYSDBG_COMMAND Command,
	IN PVOID InputBuffer,
	IN ULONG InputBufferLength,
	OUT PVOID OutputBuffer,
	IN ULONG OutputBufferLength,
	OUT PULONG ReturnLength)
{
	if (Command == SysDbgGetTriageDump) // 0x1D
	{
		return STATUS_INFO_LENGTH_MISMATCH;
	}
	return STATUS_DEBUGGER_INACTIVE;
}

It is an SSDT-only function, but I just tried hooking it with TitanHide and the regular SSDT hook functions that are already in place work fine for it. So it's just a matter of adding the typedefs and hooks.
For reference, the full SYSDBG_COMMAND enum is
typedef enum _SYSDBG_COMMAND {
	SysDbgQueryModuleInformation,
	SysDbgQueryTraceInformation,
	SysDbgSetTracepoint,
	SysDbgSetSpecialCall,
	SysDbgClearSpecialCalls,
	SysDbgQuerySpecialCalls,
	SysDbgBreakPoint,
	SysDbgQueryVersion,
	SysDbgReadVirtual,
	SysDbgWriteVirtual,
	SysDbgReadPhysical,
	SysDbgWritePhysical,
	SysDbgReadControlSpace,
	SysDbgWriteControlSpace,
	SysDbgReadIoSpace,
	SysDbgWriteIoSpace,
	SysDbgReadMsr,
	SysDbgWriteMsr,
	SysDbgReadBusData,
	SysDbgWriteBusData,
	SysDbgCheckLowMemory,
	SysDbgEnableKernelDebugger,
	SysDbgDisableKernelDebugger,
	SysDbgGetAutoKdEnable,
	SysDbgSetAutoKdEnable,
	SysDbgGetPrintBufferSize,
	SysDbgSetPrintBufferSize,
	SysDbgGetKdUmExceptionEnable,
	SysDbgSetKdUmExceptionEnable,
	SysDbgGetTriageDump,
	SysDbgGetKdBlockEnable,
	SysDbgSetKdBlockEnable,
} SYSDBG_COMMAND, *PSYSDBG_COMMAND;

This will break non-hidden processes that call NtSystemDebugControl though.

Yes, that's true. I forgot I was copying from my WRK kernel source which doesn't have a concept of non-hidden processes :P
I created PR #16 that wraps it in an IsHidden() check and logs it like the SystemKernelDebuggerInformation hook.


About page

There should be a page explaining:

What is WoTify
What is WoT: giving links to the specs and so on
Who are we
Tutorial on how to make a WoT device:

Connecting an LED and resistance to a RPi. One with Python, one with node-wot
Connecting a HAT (e.g. SenseHAT). This would be better since a HAT is more fool proof

@neniman I think the best way would be to have an about button on the navigation bar that pops down with:

Us
Contact
What is WoT
Tutorials

I will start working on the content of those so can you make the button part?

Contact and Tutorials still remain not done


Can spaces before first selector be removed?

CSSComb configuration in Visual Studio Code:
"csscomb.preset": {
    "block-indent": "    ",
    "space-after-opening-brace": "\n",
    "space-before-closing-brace": "\n"
}

Initial CSS code (notice the blank spaces before selectors):
    h1 { color: black; }
    h2 { color: black; }

Obtained result (blank spaces before the first selector are not removed):
    h1 {
    color: black;
}
h2 {
    color: black;
}

Expected result (both blank spaces before first and second selector removed)
h1 {
    color: black;
}
h2 {
    color: black;
}

Is it a CSSComb bug? Is there a CSSComb configuration option that removes the spaces before the first selector?
Thanking you in advance,

Seems to be fixed.

Yes. I will close this bug, then.


Cmake touchups

Just some minor things like only checking if Windows once, and removing the unecessary Config.cmake.in file. find_package(platform_folders) will still work the same.

Looks good to me


Feature (request): uniqueness checker

I've noticed that I am writing very similar processors to check for multiple definitions of objects (entities, properties etc.) in a DSL similar to entity example.
As there is a mechanism to help with name resolution, I think it could be useful to have one to check for multiple definitions.
I have implemented a simplistic checker as an object processor. It is limited for checking non-unique children by name. Imports and scoping are not taken into account.
Please advise how this should be improved.

Thank you for your work.
I like your idea to add a library of standard object processors. Your proposal could be a starting point. Good idea!
Discussion:

how do we organize the code? A validation module?

do we need more expressiveness (e.g., for an IDE) to report not only errors but also warnings? This involves probably fundamental API changes, and is maybe too much for now...

For the concrete validator proposed here: can it be employed in a more generic way (without explicitly selecting entities or properties - maybe I did not see that, yet).

we need to sort out the impact on scoping...

Wait for more feedback... Best wishes!

how do we organize the code? A validation module?

Yes, I vote for validation module with all generic/reusable semantic checks.

do we need more expressiveness (e.g., for an IDE) to report not only errors but also warnings? This involves probably fundamental API changes, and is maybe too much for now...

We could think of mechanism to collect warnings on the model that could be utilized by IDEs. I think that even semantic errors could be collected as we could find all in one go (parsing phase is already over when we get to obj. processors). Yup, some of these are backward incompatible so we should make a branch for 2.0 development for all backward incompatible changes.

For the concrete validator proposed here: can it be employed in a more generic way (without explicitly selecting entities or properties - maybe I did not see that, yet).

In my opinion if we have a collection of nameable things (and thus referencable) we should by default check for uniqueness. In this case entities and properties would be checked for uniqueness as they have name. I fail to see a use-case where this would not be right solution. Other way around is not that straightforward. If we have many collection of the same type, sometime they should be unique in between but more often not (due to scoping).

We could think of mechanism to collect warnings on the model that could be utilized by IDEs. I think that even semantic errors could be collected as we could find all in one go (parsing phase is already over when we get to obj. processors). Yup, some of these are backward incompatible so we should make a branch for 2.0 development for all backward incompatible changes.

I wanted to ask about it in another thread, but since it came up here: from what I understand all errors are non-recoverable because once an error is detected an exception is raised and thus the parser cannot continue parsing from where it stopped. Thus there are no "syntax warnings" and the parser cannot report more than one syntax error at a time, is that right?

In my opinion if we have a collection of nameable things (and thus referencable) we should by default check for uniqueness. In this case entities and properties would be checked for uniqueness as they have name. I fail to see a use-case where this would not be right solution. Other way around is not that straightforward. If we have many collection of the same type, sometime they should be unique in between but more often not (due to scoping).

In what scope the objects should be checked for uniqueness? It makes sense to check in the parent object container, but for plain name import scope provider, objects at model top-level need be checked against objects at top-level in the "imported models", needn't they? Also it might be the case that one object is allowed to "shadow" or "rebind" a previously defined object with the same name. Another question, what about imported models, should their imporURI be checked for uniqueness (it makes some sense to)?

I am willing to work on this feature, could you outline some steps this should be broken into?

@igordejanovic  @dkrikun : To be discussed.
Thank you @dkrikun for the detailed questions. I think your ideas lead us to a quite complete and flexible implementation of the checker. I tried to summarize your ideas...
Uniqueness Checkers
I think you mentions the right aspects. We could add two checkers:

A plain name checker
A FQN name checker

Both of them should have several options (note type==rule):

a flag to perform checks on a per-type basis (same name, but different type allowed) or globally (no name is allowed twice).
an optional white list of types to check.
an optional black list of type not to check.
a flag to indicate if uniqueness is per file or across files (multi file models, visible models affected).

Note: a checker for, e.g., uniqueness of attributes within a class (you mentioned to check for uniqueness in the parent of a container) is - in my eyes - covered by an FQN uniqueness checker restricted to a white list indicating the attribute-type.
Validator API
I suggest to stick to execptions to be thrown by the validators. We should move the new warning/error API to a new issue and postpone it. I could imagine that this design decision is quiet cheap to modifiy later.

I may be messing the concepts, but what I meant is, for example, if the
grammar is:
Model:
    zoo1 *= Animal ';'
    zoo2 *= Animal

then the uniqueness should be checked separately in zoo1 and zoo2.
On Mon, Nov 19, 2018, 19:10 goto40<EMAIL_ADDRESS>wrote:

@igordejanovic https://github.com/igordejanovic @dkrikun
https://github.com/dkrikun : To be discussed.
Thank you @dkrikun https://github.com/dkrikun for the detailed
questions. I think your ideas lead us to a quite complete and flexible
implementation of the checker. I tried to summarize your ideas...
Uniqueness Checkers
I think you mentions the right aspects. We could add two checkers:

A plain name checker
A FQN name checker

Both of them should have several options (note type==rule):

a flag to perform checks on a per-type basis (same name, but
different type allowed) or globally (no name is allowed twice).
an optional white list of types to check.
an optional black list of type not to check.
a flag to indicate if uniqueness is per file or across files
(multi file models, visible models affected).

Note: a checker for, e.g., uniqueness of attributes within a class (you
mentioned to check for uniqueness in the parent of a container) is - in my
eyes - covered by an FQN uniqueness checker restricted to a white list
indicating the attribute-type.
Validator API
I suggest to stick to execptions to be thrown by the validators. We should move
the new warning/error API to a new issue and postpone it. I could
imagine that this design decision is quiet cheap to modifiy later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igordejanovic/textX/pull/113#issuecomment-439969226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfGBNIwO4Wa2W5ZqMOtMpHssYperY-Iks5uwuXxgaJpZM4YnpO8
.

Ah: I see.

So you suggest to allow a "Tiger" to be present twice (in zoo1 and zoo2)
In this case a FQN link will not be able to distibuish between them, since zoo1 and zoo2 have no names (even that the new checker would allow these double usage).

Do you think this is a use case?
If you have
Model: zoos+=Zoo;
Zoo: name=ID animals+=Animals;

then a "normal" FQN checker would work...

Yes, this the example, I am not 100% one needs to build it this way, and
adding name to zoo definitely works.
So the plain checker will only need to loop over each object's child
containers and check uniqueness per container.
I guess it won't be useful to check in non-container types, e.g.:
Model:
    alpha=Animal ';'
    zoo*=Animal
;

Then if the same tiger is both in the zoo and he's the alpha it is fine.
On Mon, Nov 19, 2018, 20:05 goto40<EMAIL_ADDRESS>wrote:

Ah: I see.

So you suggest to allow a "Tiger" to be present twice (in zoo1 and
zoo2)
In this case a FQN link will not be able to distibuish between them,
since zoo1 and zoo2 have no names (even that the new checker would allow
these double usage).

Do you think this is a use case?
If you have
Model: zoos+=Zoo;
Zoo: name=ID animals+=Animals;
then a "normal" FQN checker would work...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igordejanovic/textX/pull/113#issuecomment-439987271,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfGBPw4Zo1HwNlluKMzO0EpB90N52Vxks5uwvLYgaJpZM4YnpO8
.

I am not 100% convinced:
The plain name checker should check the uniquness of all elements (maybe per type or independent of the type) - and not the uniqueness per container.
(if you wish the per-container, you use the FQN uniqueness, maybe restricted to animals if you wish - this will do the job).
The alpha-Tiger is not an issue to me:
Model:
  alpha = [Animal] ";"
  zoo += Animal;

The one-and-only tiger is the alpha! ;-)

Note: FQN-uniqueness will distiniguish zoo_munich.tiger from zoo_paris.tiger
--> Thus, you will get uniqueness per-container (the container needs to have a name...)
If you need the uniqueness of elements in unnamed containers, we may need another case...

Let's sleep one night. Maybe we could add some more positive /negative examples (like the ones in your first commits).
This may help illustrating all combinations we mentioned above...
I am quite happy with our discussion, since we worked out some nice aspects... Good work! Thank you very much!

I wanted to ask about it in another thread, but since it came up here: from what I understand all errors are non-recoverable because once an error is detected an exception is raised and thus the parser cannot continue parsing from where it stopped. Thus there are no "syntax warnings" and the parser cannot report more than one syntax error at a time, is that right?

You are right. There is no error recovery in the underlying Arpeggio parser so
the parser will raise an exception on syntax error. But, once the parsing is
done we can make all semantic checks in one go.

In what scope the objects should be checked for uniqueness? It makes sense to check in the parent object container, but for plain name import scope provider, objects at model top-level need be checked against objects at top-level in the "imported models", needn't they? Also it might be the case that one object is allowed to "shadow" or "rebind" a previously defined object with the same name. Another question, what about imported models, should their imporURI be checked for uniqueness (it makes some sense to)?

This is a good question. Thanks. I guess that the scope we are looking for is
the one that is used for referencing. So we should analyze all references and
decide what is the proper scope for uniqueness of the referenced objects.
"shadowing" and "rebinding" are indeed interesting cases to discuss. I guess we
could automatically detect shadowing/rebinding but should have a way to specify
if it is allowed in the language or error/warning should be raised.
I guess we'll have a better picture once #111 is resolved so I suggest to first deal with that.

I would leave this PR open, or reopen it for 2.0.0.

I would leave this PR open, or reopen it for 2.0.0.

I agree to leave this open for now.


Pin the version of flutter/plugins to test against

Description
Per follow-up discussion on https://github.com/flutter/flutter/pull/70887 - this pins the version of flutter/plugins to test against to make sure tests for a given commit are deterministic.
Related Issues
#69309

CI is failing with:
  Failed to load "test/test_test.dart": Invalid argument(s): Uri data:application/dart;charset=utf-8,%20%20%20%20//%20@dart=2.2%0A%20%20%20%20import%20%22dart:isolate%22;%0A%0A%20%20%20%20import%20%22package:test_core/src/bootstrap/vm.dart%22;%0A%0A%20%20%20%20import%20%22file:///b/s/w/ir/k/flutter/dev/bots/test/test_test.dart%22%20as%20test;%0A%0A%20%20%20%20void%20main(_,%20SendPort%20sendPort)%20%7B%0A%20%20%20%20%20%20internalBootstrapVmTest(()%20=%3E%20test.main,%20sendPort);%0A%20%20%20%20%7D%0A%20%20 must have scheme 'file:'.
  package:path/src/style/posix.dart 57:5   PosixStyle.pathFromUri
  package:path/src/context.dart 1000:32    Context.fromUri
  package:path/path.dart 417:32            fromUri
  test.dart 35:67                          flutterRoot
  test.dart                                flutterRoot
  test.dart 42:52                          flutterPluginsVersionFile
  test.dart                                flutterPluginsVersionFile
  test/test_test.dart 64:62                main.<fn>
  package:test_api                         Declarer.group
  package:test_core/test_core.dart 221:13  group
  test/test_test.dart 62:3                 main

I'll take a look...

CI is failing with:
  Failed to load "test/test_test.dart": Invalid argument(s): Uri data:application/dart;charset=utf-8,%20%20%20%20//%20@dart=2.2%0A%20%20%20%20import%20%22dart:isolate%22;%0A%0A%20%20%20%20import%20%22package:test_core/src/bootstrap/vm.dart%22;%0A%0A%20%20%20%20import%20%22file:///b/s/w/ir/k/flutter/dev/bots/test/test_test.dart%22%20as%20test;%0A%0A%20%20%20%20void%20main(_,%20SendPort%20sendPort)%20%7B%0A%20%20%20%20%20%20internalBootstrapVmTest(()%20=%3E%20test.main,%20sendPort);%0A%20%20%20%20%7D%0A%20%20 must have scheme 'file:'.
  package:path/src/style/posix.dart 57:5   PosixStyle.pathFromUri
  package:path/src/context.dart 1000:32    Context.fromUri
  package:path/path.dart 417:32            fromUri
  test.dart 35:67                          flutterRoot
  test.dart                                flutterRoot
  test.dart 42:52                          flutterPluginsVersionFile
  test.dart                                flutterPluginsVersionFile
  test/test_test.dart 64:62                main.<fn>
  package:test_api                         Declarer.group
  package:test_core/test_core.dart 221:13  group
  test/test_test.dart 62:3                 main

I'll take a look...

I think the problem is the line:
final String flutterRoot = path.dirname(path.dirname(path.dirname(path.fromUri(Platform.script)))); not playing well with the memory file system

Thanks, looks like Platform.script returns a data URI when executed with pub run test 😕 , looking for a testing friendly alternative

I don't see an easy way around the data:uri path when executed with pub run test, ended up allowing the test to override the path to the versions file so that flutterRoot is not evaluated in test. Sadly it means that the test now covers one less thing (the file path).

I don't see an easy way around the data:uri path when executed with pub run test, ended up allowing the test to override the path to the versions file so that flutterRoot is not evaluated in test. Sadly it means that the test now covers one less thing (the file path).

Yeah, I think we hack around this in the flutter tool by checking the scheme, and then doing a regex in tests. Which isn't ideal.


Implement a trap() function

Includes some additional changes that are logically seperate. These need to be seperated into additional commits/PRs:

Include doc(cfg(...)) attributes
Improve & fix docs

EDIT: Previous changes have been rebased into #2 . The only remaining problem is lack of cross-platform tests.

The problem right now is lack of testing.

Successfully tested on the following architectures with QEMU:

armv7-unknown-linux-musleabi
i686-unknown-linux-musl
-x86_64-unknown-linux-musl
aarch64-unknown-linux-musl

Tested  aarch64-apple-darwin natively.
However, compiling for wasm32-wasi fails when encountering core::arch::wasm::unreachable() because "use of unstable library feature 'simd_wasm64'"

Successfully tested again on wasm32-wasi with the wasm3 interpreter.


React Native Windows: Package does not work

Description
I've followed all steps mentioned in docs.
first of all the docs are out dated and need to be updated.
For example: I had to remove src from this to make it work
  <PropertyGroup Label="LottieReactNativeProps">     <LottieReactNativeDir>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\lottie-react-native\package.json'))\node_modules\lottie-react-native</LottieReactNativeDir>   </PropertyGroup>   <ImportGroup Label="LottieReactNativeTargets">     <Import Project="$(LottieReactNativeDir)\windows\cppwinrt\PropertySheets\LottieGen.Auto.targets" />   </ImportGroup>
Issue: When i try to build the project it gives this error
 × Building Solution: Microsoft.ReactNative.Managed.CodeGen -> E:\MyApp\node_modules\react-native-wind...  × Build failed with message E:\MyApp\windows\pos\obj\x64\Debug\Generated Files\Animations\LoadingLottie.cs(220,58): error CS1061: 'Compositor' does not contain a definition  for 'CreateAnimationController' and no accessible extension method 'CreateAnimationController' accepting a first argument of type 'Compositor' could be found (are you missing a using directive or an assembly reference?) [E:\some\pos-windows\windows\pos\pos.csproj]. Check your build configuration. Command failed. Re-run the command with --logging for more information.
I'm using VS 2022. I had to update properties of project as well
Snack or a link to a repository
Lottie React Native version
6.7.2
React Native version
0.74.5
Platforms
Windows
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
Real device
Acknowledgements
Yes

We don't have resources and time to test windows integration. We will update you on this as soon as we find someone working on react native windows.


Update how-to-configure-openssl-linux.md

Removing NOINDEX tag from metadata. Our SEO team alerted me to the issue and I spoke with Jarno who said it shoud be indexed. If for some reason the NOINDEX was intentional, just let me know the circumstance so we can disregard.
Thanks! Jessica

@jhakulin

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@eric-urban I removed the NOINDEX tag from metadata. Our SEO team alerted me to the issue and I spoke with Jarno who said it should be indexed. If for some reason the NOINDEX was intentional, just let me know the circumstance so we can disregard.
Thanks! Jessica

Closing this PR. @eric-urban will update in VSCode in the correct repo.


[earlgrey_1.0.0] Update after CW 34

This PR updates earlgrey_1.0.0 with the following PRs that were merged to master:

#24339

CHANGE AUTHORIZED: sw/device/silicon_creator/rom/e2e/release/rom_e2e_self_hash_test.c

CHANGE AUTHORIZED: sw/device/silicon_creator/rom/e2e/release/rom_e2e_self_hash_test.c

@timothytrippel //sw/device/silicon_creator/rom/e2e/boot_policy_flash_ecc_error:a_corrupt_b_valid_code_last_word_fpga_cw310_rom_with_fake_key and //sw/device/silicon_creator/rom/e2e/boot_policy_flash_ecc_error:a_valid_b_corrupt_code_last_word_fpga_cw310_rom_with_fake_keys failed in both tries of CW310 ROM Tests. Do you think this could be an actual problem?

@timothytrippel //sw/device/silicon_creator/rom/e2e/boot_policy_flash_ecc_error:a_corrupt_b_valid_code_last_word_fpga_cw310_rom_with_fake_key and //sw/device/silicon_creator/rom/e2e/boot_policy_flash_ecc_error:a_valid_b_corrupt_code_last_word_fpga_cw310_rom_with_fake_keys failed in both tries of CW310 ROM Tests. Do you think this could be an actual problem?

https://github.com/lowRISC/opentitan/pull/24345/commits/39b3f76a0daf287ec257987d6994333240f1eef2 fixes the issue on master branch.


move footer email pop up

Moved email sign up form to pop up at 75% of page height instead of at very bottom

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/472b1093a25dd802329ad17880a9bcfb78bc364e/

@sploiselle, I can't get the pop up to show at all. Can you?

@sploiselle, is this working for you? I still can't git it to pop up.

@jseldess It's working locally but not on the preview site.

OK, I'll clone it and test locally, too.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0ff52bfe0b82ff90a50842723589c8ac83e1d67c/

@jseldess Fixed and ready for review!

Fixes #983


Quick fix to get media loading again

thanks, it really helped

Confirmed it works ! https://github.com/pgrimaud/instagram-user-feed/issues/44

Confirmed it works ! pgrimaud/instagram-user-feed#44

Also confirmed to work, please merge 😄

Thanks, solved the issue

For those who need a fix for production with CI, here is a fork with this PR merged https://packagist.org/packages/rikless/instagram-php-scraper

@benlumley thank you for contribution


Flaky Test: solana-runtime bank::tests::test_bank_update_sysvar_account

AUTO-GENERATED. DO NOT EDIT.
📝 Buildkite Analytics

I saw one of these fail just now.
https://buildkite.com/anza/agave/builds/11601#01925922-690d-4b40-b66a-2f67a1d9a60c
failures:

---- bank::tests::test_bank_update_sysvar_account stdout ----
thread 'bank::tests::test_bank_update_sysvar_account' panicked at runtime/src/bank/tests.rs:3967:17:
assertion `left == right` failed
  left: 44
 right:<PHONE_NUMBER>3709551615

failures:
    bank::tests::test_bank_update_sysvar_account

Seeing the rent epoch fail intermittently is a bit surprising:
https://github.com/anza-xyz/agave/blob/2b3f1ff9ff1b686e548fb23d2c070099d814862b/runtime/src/bank/tests.rs#L3948-L3967

Good catch Brooks. From DM's, Brooks mentioned a couple potential ideas/options:

Disable rent in the test
Use a fixed pubkey that we know will get rent-collected
Jump by an epoch so we know that every

I am not going to pick this up right now, so posting that above for when I come back and/or if somebody else picks this one up


Skin/armature export produces NODE_SKINNED_MESH_NON_ROOT

There's been discussion of this before, for example https://github.com/KhronosGroup/glTF-Blender-IO/issues/1538#issuecomment-1015403354

So perhaps GLTF exporter should apply transforms and clear skinned mesh parent during export.

I've come to understand the correct fix is to NOT apply transforms to the skinned mesh.  The design of glTF's skinning system is such that any transforms applied to the skinned mesh itself are completely ignored, only joint transforms are considered.  Specifically, the final location of each vertex coming out of a glTF skinned vertex shader has influence from joints adding up to 100% strength, with exactly 0% coming from the mesh's own model matrix.
So the correct answer here sounds pretty reckless, but it's true:  Just clear the parent of the skinned mesh.  As in, just lose the reference to the parent.  Don't apply any of the parent's transforms or animations (and you may also clear any transforms or animations that target the skinned mesh itself; they're unused as well).
Essentially glTF's skinning system treats the mesh as always being at the origin, and uses the joints (not parent node transforms) to move each vertex where it belongs.  The joints' transforms do the work of inheriting from their own parents, so these are not lost.

As said in comment, now vtree is merged, this change is now quite easy.
PR still need to be fully tested, to be sure this is regression free for all cases.

Don't apply any of the parent's transforms or animations ...

Understanding that applying transforms to the skinned mesh node (as opposed to the armature) does not have an effect in glTF ... don't we still need to apply those transforms somewhere, if they were contributing to the final position of the vertices in Blender? Applying the transform to the inverse bind matrices might be the best approach if that's the case.

Whether the exporter handles skinned meshes correctly is a separate question, since obviously correctness is unchanged by moving skinned meshes to root nodes. The only goal of moving it would be to get rid of NODE_SKINNED_MESH_NON_ROOT warnings in the validator.

don't we still need to apply those transforms somewhere, if they were contributing to the final position of the vertices in Blender?

I think @scurest's understanding here is deeper than mine, but my own take on this is that Blender's insistence on placing the mesh as a child of the armature is to treat the mesh's transform as kind of an unspoken "root bone" of sorts when no other bones have influence.  But glTF insists on each vertex having 100% control (no more, no less) from added-up bone weights, so the "root" bone (if there is one) must be explicit, not implicit.  So... no mesh transform influence needed.

The only goal of moving it would be to get rid of NODE_SKINNED_MESH_NON_ROOT warnings in the validator.

That's correct, but the validator doesn't issue this warning frivolously.  It indicates that client implementations may be wasting GPU cycles applying and then inverting the mesh's node transform hierarchy.  So in that light this is... a teeny performance gain, perhaps?  For some client implementations at least.  Still users seem more vocal about the warning than the performance, as the latter is nearly undetectable.

Apologies if it's been a while in this issue, but I'm working on some asset conversion tooling for VisionOS

The only goal of moving it would be to get rid of NODE_SKINNED_MESH_NON_ROOT warnings in the validator.

@scurest @emackey I disagree with this. The option to set the skinned mesh as a root is essential for certain animation production pipelines.
In particular, tools from Apple's and Pixar's USD pipelines expect the mesh to not be a child of the armature when converting to USDZ from glb/gltf.
If you try and pass an asset with a NODE_SKINNED_MESH_NON_ROOT error, it prevents the animation from playing in certain Apple environments such as Reality Composer Pro.
I will submit appropriate feedback to Apple, however, the option to have this as a flag would be extremely handy 👍
FYI, the reasoning for not exporting directly from Blender to .usd* is due to the lack of support for USD_Skel in Blender's export.
Apple's developer tools are however able to convert glb/gltf with animated skeletons. Unfortunately, certain tools from Apple/Pixar will not detect animations unless NODE_SKINNED_MESH_NON_ROOT is resolved.

however, the option to have this as a flag would be extremely handy

Yes, we should fix this, so skinned meshes are always root nodes in glTF.
But we don't need a flag for it.  We don't need to ask the user if they want it broken or fixed.  Once fixed it should just stay fixed.

What if you need the skinned mesh nested inside other objects? How can it be root in that case?

What if you need the skinned mesh nested inside other objects? How can it be root in that case?

Then the mesh's skeleton must be nested inside the other object, not the actual skinned mesh.  In glTF, all location information comes from the skeleton's node transforms, not from the skinned mesh's node transform.


TraceEnter is instrumented on async methods BEFORE the LogicalCallContext is updated

https://github.com/csnemes/tracer/issues/43#issuecomment-289994952
^ true that
If the instrumentation code is logically meant to be embedded at the { of async methods, it would be expected that the LogicalCallContext (like AsyncLocal in .NET 4.6) would have been scoped to that. However, it seems in the IL the instrumentation happens before the call off to the state machine, meaning that users who expect to be in a nested LogicalCallContext at time of { are still in the caller method's ExecutionContext.
I think the only way to achieve this is to not instrument async methods themselves, (let them do their state machine stuff) but add the TraceEnter call inside the generated state machine's MoveNext(), inside the main try, immediately after the locloc, brfalse, br.s commands that are 'restoring the state machine'.
Perhaps this makes sense given the work you recently did with #81? (I give a proposal above but I admittedly know very little about the Cecil interactions so I'm hoping the proposal makes more sense to you than it does to me :-) )

I see the problem, managed to reproduce it, but fixing won't be easy. have to somehow figure out the link between the method's input argument and the generated state machine fields.

Having realized that tracer essentially just becomes "full AOP in C#" once this is fixed, I found this other library. Unfortunately, they have the same problem :-P
https://github.com/vescon/MethodBoundaryAspect.Fody/issues/5

https://github.com/Fody/AsyncErrorHandler this may provide some help for this

Thanks. I take a look on that.

I worked on this this weekend and was able to get a POC working -- for async methods we want to instrument 'enter' on the first call to the MoveNext method of the generated state machine (when <>_state is -1), and for 'exit' the best I could do -- since sometimes the end of the state machine method is never actually hit (think where the SetResult() actually triggers the ending of the program) was to wrap the return value of the parent method (the Task) with a ContinueWith(() => ) kind of call -- in my solution I actually did this and left the 'exit' which was also instrumented in the MoveNext (but skipped over during normal state machine continuations except finish), I added the ContinueWith so that the end of the method WAS ALWAYS HIT, but I think that doing it purely in the ContinueWith would probably be a better solution.
Just some notes in case you look into this before I manage to ship anything.

I came almost to the same conclusion. The exit part is already working (at least it supposed to), Fody piggybacks on the SetResult and SetException to find the logical return point (its in the AsyncmethodWeaver.cs). For the entry data the idea is the same as you mentioned at the beginning of the MoveNext add a state check and if its the first call log the data. Although the method entry parameters are reflected in the state machine's fields I'd rather inject them using my own fields. I hope I can finish the POC this week and see if it works.

I've managed to add the trace enter logging into the state machine (start of MoveNext). I'm still fighting with a PEVerify error (although the rewritten assembly works, I'm more confident if there are no PEVerify errors around). One strange thing is that the order of entry and exit calls don't follow the expected logic if the first statement in a method is an await. Instead of External Enter, Internal Enter, Internal Leave, External Leave I get Internal Enter, Internal Leave, External Enter, External Leave.

check out 3.2. It should now work as expected.

Seems fixed! For some crazy reason I haven't saved a whole test suite to be used :-S but I'll reach back out if any edge cases are found!
BTW thank you so much! This is a great achievement in observability during local/console development!

Wonderful, it even handles the case some other libraries missed of instrumenting the state machine when I put the TraceOn attribute on the method! <3


metadata should be stringified as one object

@Kirkkt @dmitrig01 metadata should be stringified as a single object. on the api service, only two endpoints use metadata, /v1/event and /v1/eventresponse. I can't find eventresponse in the web-sdk, so I feel confident that I'm not breaking anything else in the web sdk by using it here.
One partner is waiting on this to go live, so hopefully we can distribute today or tomorrow.

okay this is much cleaner

:+1:


fix: get kms values & age key generation order

Description:
This PR fixes the getting of kms values and corrects the order of Age key generation, preventing the creation of multiple Age keys.
Checklist

[ ] Architecture Design Records have been added as adr/*.md and appended to list in adr/_index.md, if applicable.
[ ] The values-schema.yaml file and test/** fixtures have been updated to reflect code changes, if applicable.
[ ] The OpenApi Schema from redkubes/otomi-api project is compatible with definitions from values-schema.yaml file, if applicable.
[ ] Helm releases are meeting otomi's baseline security policies, if applicable.
[ ] Helm chart and helmfile changes are tested against upgrade scenario, if applicable.

I verified that age generated key is preserved in  the otomi/otomi-generated-passwords  secret.
Thanks to that if the first installation Pod fails the second one can restore already generated secrets.


FS-4328-convert-timestamp-to-bst-for-export-applicant-information

Ticket
https://dluhcdigital.atlassian.net/jira/software/c/projects/FS/boards/50?selectedIssue=FS-4328
Description
The timestamp converted to bst for Export applicant information download file.

@ramsharma-prog Will this function automatically switch to Daylight Saving Time when the clocks go back later this year?

@ramsharma-prog Will this function automatically switch to Daylight Saving Time when the clocks go back later this year?

Yes Sir @rayhan15243 . This is the function being utilised that I created a while ago. It converts the utc to bst dynamically.
https://github.com/communitiesuk/funding-service-design-assessment/blob/93831454425196b78f933ed7d6d4ef12c91dd619/app/blueprints/shared/filters.py#L22


Setup failed for custom integration 'smartrent': Unable to import component: No module named 'custom_components.remote_homeassistant'

I installed this package in a manual way by copying the smartrent dir to the custom_components. HA can find SmartRent in integrations but when I click on it I get this error in the UI:
Config flow could not be loaded: {"message":"Invalid handler specified"}
HA version:
Core: 2024.6.1
Frontend: 20240605.0
And in the Log:
2024-06-08 20:40:44.459 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartrent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-06-08 20:42:36.543 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration smartrent: No module named 'smartrent'

It seems that it cannot find/load the module. Any pointers?

Fixed simply by restarting my system.

So rebooting my system got past the first issue:
Error: Config flow could not be loaded: {"message":"Invalid handler specified"} and I could enter my credential for SmartRent.
However, I still get the failure message as below:
Setup failed for custom integration 'smartrent': No setup or config entry setup function defined.

Not sure what caused this but it seems I hadn't cloned the most up-to-date version. Everything is working fine now after updating to the latest version.


Training set data question

Since your Nerf model is not in the same coordinate system as the original training set, is there any way to get the coordinates of the training set under your coordinate system?

I did a interesting thing on your code. Just change the folder name of your train set to test test, and the test set to train set. Why did your model perform so much worse on the training set than on the test set? Another question is that we do not use --eval, just run train.py, your code run epoch on test set instead of training set.

For example, Cambridge king has 1220 images in training set and 343 in test set. After I change the folder name of the Kings, then I run evaluation of your pretraiend DFnet-dm model, the result on training set is not so good. However, if I keep the original 343 test set, the result is close to your paper. I am confused that why your pretrained models perform worse in training set than test set.

Cambridge Hospital has 895 images in training set and 182 in test set. After I change the folder name of the Kings, then I run evaluation of your pretraiend DFnet-dm model, the result on training set (895 images) is not so good . However, if I keep the original 182 test set, the result is close to your paper. I am confused that why your pretrained models perform  much worse in training set than test set.

Cambridge Shop has 231 images in training set and 103 in test set. After I change the folder name of the Shop, then I run evaluation of your pretraiend DFnet-dm model, the result on training set (231 images) is not so good . However, if I keep the original 103 test set, the result is close to your paper. I am confused that why your pretrained models perform much worse in training set than test set.

The performance of your pretrained models differs by a factor of 5 to 10 on the training and test sets. Could you please explain why?

Another question is that we do not use --eval and set eval = false, and add some print lines to get the image_name when training in DFNet/dataset_loaders/cambridge_scenes.py,

just run train.py,

@LZL-CS I see you've gone deep into the code. I don't know if you're interested in this.

Hi,

coordinate system: the NeRF coordinate system is OpenGL. We transform the system within the dataloading files (fix_ccord). If you want to reverse it, you just need to reverse the process. However, I don't know the coordinate system of the original datasets as I didn't find any description from them.

Training set results.
This should be expected. The insights of the unlabeled training experiments for our paper is to show that our formulation can finetune unlabeled images without using ground truth poses. We'd encourage you to checkout sec.4.2 and sec.4.3 of the paper.

If you really want to get both good training and testing results, there's a path.
I'd encourage you to try the combined training strategy proposed by the authors of MapNet, section 3.3:
"each mini-batch samples half from the labelled data D and half from the unlabeled data T".
In our case, for example, you could use DFNet training (training images+ training GT poses) + Unlabeled training (part of val/testing images w/o GT poses).
In short, training the labeled data is basically overfitting them to the network. We didn't implement this in our unlabeled training experiments as the overall training could be much longer due to our limited computation resources.

We follow suit with MapNet's comparison methods section. 4.1 of MapNet: "The unlabeled data used to ﬁne-tune MapNet+ for these experiments are the unlabeled test sequences." This is probably why you see the test set being loaded.

Hope this helps!
Best,

Hi,

coordinate system: the NeRF coordinate system is OpenGL. We transform the system within the dataloading files (fix_ccord). If you want to reverse it, you just need to reverse the process. However, I don't know the coordinate system of the original datasets as I didn't find any description from them.
Training set results.
This should be expected. The insights of the unlabeled training experiments for our paper is to show that our formulation can finetune unlabeled images without using ground truth poses. We'd encourage you to checkout sec.4.2 and sec.4.3 of the paper.

If you really want to get both good training and testing results, there's a path. I'd encourage you to try the combined training strategy proposed by the authors of MapNet [4], On MapNet paper section 3.3: "each mini-batch samples half from the labelled data D and half from the unlabeled data T".
In our case, for example, you could use DFNet training (training images+ training GT poses) + Unlabeled training (part of val/testing images w/o GT poses).
In short, training the labeled data is basically overfitting them to the network. We didn't implement this in our unlabeled training experiments as the overall training could be much longer due to our limited computation resources.

We follow suit with MapNet's comparison methods section. 4.1 of MapNet: "The unlabeled data used to ﬁne-tune MapNet+ for these experiments are the unlabeled test sequences." This is probably why you see the test set being loaded.

One of the interesting perspectives of thinking about DFNet_dm is an improved version of APR + iNeRF.
Hope this helps!
Best,

Thanks for your reply!


Justin/modeling: Add basic models and viewModels for Gyms and Classes

A small initial PR to kick off Uplift's codebase with basic models and ViewModels for gyms and classes. No composables have been made yet--those will come next.
Changes:

Added Gym data class
Added UpliftClass data class
Added GymDetailViewModel
Added ClassDetailViewModel

great stuff


5.0.7 windows notifications

By default notifications are set to "false".
However Windows ignores the setting and shows them anyway on both "false" and "true".
Windows 10 Pro x64. 1903.

Pls verify if the issue exists in 5.0.8


"500 Operation could not be completed within the specified time" when downloading huge file

I'm trying to download a big exported disk snapshot (1.6 TB) but azcopy fails upon downloading with error 500.
Which version of the AzCopy was used?
10.21.2
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy.exe copy "https://md-gdlkcldgsmbx.z1.blob.storage.azure.net/dk4rgsx2pkrj/abcd?sv=2018-03-28&sr=b&si=xxx&sig=xxx" "D:\download\datadisk.vhd"
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
2023/11/08 13:50:12 PERF: primary performance constraint is Unknown. States: C:  0, R:  0, W:  0, F:  0, H:  0, B:  0, S:  0, P:  0, Q:  0, D:  0, E:  0, T:  0, GRs: 192
2023/11/08 13:50:12 0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total,
2023/11/08 13:50:12 INFO: [P#0-T#0] Page blob throughput tuner: Target Mbps 4066
2023/11/08 13:50:12 ==> REQUEST/RESPONSE (Try=1/30.1644245s[SLOW >3s], OpTime=30.2698049s) -- RESPONSE STATUS CODE ERROR
   GET https://md-gdlkcldgsmbx.z1.blob.storage.azure.net/dk4rgsx2pkrj/abcd?comp=pagelist&si=xxx&sig=-REDACTED-&sr=b&sv=2018-03-28
   Accept: application/xml
   User-Agent: AzCopy/10.21.2 azsdk-go-azblob/v1.1.0 (go1.19.12; Windows_NT)
   X-Ms-Client-Request-Id: xxx
   x-ms-version:
   --------------------------------------------------------------------------------
   RESPONSE Status: 500 Operation could not be completed within the specified time.
   Connection: Keep-Alive
   Content-Length: 246
   Content-Type: application/xml
   Date: Wed, 08 Nov 2023 13:50:12 GMT
   Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   X-Ms-Client-Request-Id: xxx
   X-Ms-Error-Code: OperationTimedOut
   X-Ms-Request-Id: xxx
   X-Ms-Version: 2020-10-02
Response Details: <?xml version="1.0" encoding="utf-8"?> <Error>OperationTimedOut<Message>Operation could not be completed within the specified time. </Message>

How can we reproduce the problem in the simplest way?
Try downloading a huge VHD/Azure VM Disk?
Have you found a mitigation/solution?
no

See also: https://feedback.azure.com/d365community/idea/6a479865-d383-ee11-a81c-000d3ae5ae95
Looks like older version 10.18.1 hasn't got the problem.

I can reliably reproduce this. 10.22.1 on macOS (Apple Silicon) gets stuck at Pending with the occasional 500 Operation could not be completed within the specified time.
10.18.1 works as expected.
Interestingly, 10.22.1 works correctly with a ~136GB VHD file download, but not one ~200GB. Is this potentially caused by some pre-download source file size checking that ends up out of bounds?

Hi @schindlerd and @pid1 could you share the full AzCopy log as well as the console output of a recent run? This will help our investigation. Also, please keep the request ID intact in the log, so we can look up service logs if necessary.

Thank-you for fixing this.
FYI: We were having this issue with Azure Storage Explorer.  Including insider builds and running update didn't get us the fixed version of AZCopy (at time of writing).
For anyone else wanting this fix before Azure Storage Explorer is updated, I found I could do this update by:

Download the latest version of AZCopy as appropriate for your OS
Ensure Azure Storage Explorer is not running on your machine.
Navigate to Azure Storage Explorer's main directory, then go to the child path: \resources\app\node_modules\@azure-tools\azcopy-win64\dist\bin (on my machine that translates to C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@azure-tools\azcopy-win64\dist\bin).
Extract azcopy.exe from the download into this directory (filename may vary based on your OS)
Rename or delete the old azcopy_windows_amd64.exe.old file (again, filename may vary)
Rename azcopy.exe to azcopy_windows_amd64.exe (amending filenames as appropriate for your OS.
Rerun Azure Storage Explorer, click Help, About.  You should now see the version of azcopy has updated, and you're able to download large files without hitting the timeout issue.


400 Bad Request when trying to connect from Android App

I'm trying to connect to python socketio server from Android Java app, using the following code:
import com.github.nkzawa.socketio.client.IO;
import com.github.nkzawa.socketio.client.Socket;

 private Socket mSocket;
    {
        try {
            SSLContext sc = SSLContext.getInstance("SSL");
            sc.init(null, null, new SecureRandom());
            IO.setDefaultSSLContext(sc);
            HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier(){
                public boolean verify(String hostname, SSLSession session){
                    return true;
                }
            });
            IO.Options opts = new IO.Options();
            opts.forceNew = true;
            opts.reconnection = true;
            opts.secure = true;
            opts.sslContext = sc;

            mSocket = IO.socket("https url", opts);
        }
        catch (URISyntaxException e) {}
    }

But in server logs I get this:
ERROR - <IP_ADDRESS> - - [18/Sep/2017 00:19:36] code 400, message Bad request syntax ('\x16\x03\x01\x00´\x01\x00\x00°\x03\x03,Ö')
My server is self-signed, and it's 'green' in browsers.
First I tried without SSL code, then I found out that SSL might be the cause of this problem, but it looks that either my SSL code in Java is wrong, or the problem lies elsewhere.
What is the general guideline in connecting to Python SocketIO server from Android Java app? What could be the usual suspects for this kind of error?
Thanks in advance!

Hmm, why are you connecting to the socket.io server? It's not a Python server, it's running Node.js and Socketio.js. It's only for real-time notifications and it's not meant for third parties.

I'm not connecting to 'https://socket.io/'.
I'm running my own server, with my own Python Flask-SocketIO server running on it. I know that it's python, because I wrote it.
I writing my personal voice-assistant, and it works as client-server. The server side is written in Python Flask and flask-socketio. Right now I have a web-client that works perfectly. But I want to write a native android client as well.
Client must be able to recognize text (got that part) and  just send a text string to the server and receive a response.

Wait, why is this in newsblur. This is supposed to be in java socketio git, what!? This is weird, sorry


Add bash to image

I'd like to use some existing shell scripts with CUXD but they are using some bash related stuff. So it would be nice, to have bash in the Raspberrymatic image (Not as default shell, just the precompiled binary)

I can of course understand your request, however, you also have to understand that I can't all kind of packages users' might need for there own stuff. IMHO an Addon (e.g. CUXd) should come with a bash binary that can be used instead of integrating it for all users that so that 99.9% of users won't require it but still have the binary installed. RaspberryMatic's mission is to be lightweight and not a full-fledged linux distribution with all gimmicks included. However, I will keep that request open for the time being and see how many other users might require that.

Just forwarded the request for providing „bash“ to the hm-tools“ CCU Addon package (https://github.com/fhetty/hm-tools)


Create script is out Outputing wrong string value on window type "Full Screen"

EG:
Wrong:
"/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper" -windowType fullscreen -heading "test" -description "test"
Where windowType is fullscreen
Correct:
"/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper" -windowType fs -heading "test" -description "test"
As per documentation window type should just be fs for full screen

This issue has been corrected in v1.0 build 7. The project has been updated and a release has been compiled and uploaded to Github.


Support accelareting the specific subdirectory of PersistVolumeClaim

Ⅰ. Describe what this PR does
Support accelareting the specific subdirectory of PersistVolumeClaim.
Ⅱ. Does this pull request fix one issue?

fixes issue #156
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #165 into master will increase coverage by 3.48%.
The diff coverage is 27.14%.

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   12.02%   15.50%   +3.48%
==========================================
  Files          44       44
  Lines        2088     2148      +60
==========================================
+ Hits          251      333      +82
+ Misses       1800     1771      -29
- Partials       37       44       +7

Impacted Files
Coverage Δ

pkg/ddc/alluxio/master.go
0.00% <0.00%> (ø)

pkg/ddc/alluxio/master_internal.go
0.00% <0.00%> (ø)

pkg/ddc/alluxio/ufs.go
0.00% <0.00%> (ø)

pkg/ddc/base/setup.go
36.76% <0.00%> (-1.70%)
:arrow_down:

pkg/ddc/alluxio/transform_ufs.go
78.57% <40.00%> (-21.43%)
:arrow_down:

pkg/ddc/alluxio/utils.go
16.12% <50.00%> (+5.01%)
:arrow_up:

pkg/ddc/alluxio/operations/local.go
92.30% <91.66%> (-0.55%)
:arrow_down:

pkg/ddc/alluxio/operations/base.go
61.27% <0.00%> (+38.72%)
:arrow_up:

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 46a5859...480124b. Read the comment docs.

/hold


Error: Cannot find module 'puppeteer'

Puppeteer version:1.14
Platform / OS version:window 10
URLs (if applicable):
Node.js version:10.15.3 (includes npm 6.4.1)

Issue : i am running below example.js file
const puppeteer = require('puppeteer');
console.log("Hello World");
(async () => **{**
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.goto('https://example.com');
})();

and getting the error:
C:\NewLearning\Nodejs>node TestScript.js
internal/modules/cjs/loader.js:584
    throw err;
    ^

Error: Cannot find module 'puppeteer'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (C:\NewLearning\Nodejs\TestScript.js:1:81)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)

How did you install puppeteer? Where is it located?

@nazimdevs you should install Puppeteer before using it.
$ mkdir my-project
$ cd my-project
$ npm i puppeteer

After that, the my-project folder will have a node_modules/ subfolder with puppeteer folder in it.
If you put your script in the my-project folder, it should see Puppeteer module just fine.
Hope this helps.

I have same error while running examples using recommended method
cd ~/puppeteer-master
$ npm i
$ NODE_PATH=../ node examples/search.js
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'puppeteer'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (~/puppeteer-master/examples/search.js:24:19)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
$ npm i puppeteer
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "puppeteer" under a package
npm ERR! also called "puppeteer". Did you name your project the same
npm ERR! as the dependency you're installing?

I use windows 10 and got the same problem.  Previously, I install through 'npm i puppeteer'
Then, I install it through 'npm install puppeteer'. And, it is solved.

@Jaymmyin os is win7x64, same problem and same solution. thanks guy

Ubuntu 24.04 The command "PATH=$PATH:/usr/local/bin:/opt/homebrew/bin NODE_PATH=npm root -g node '/var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/vendor/spatie/browsershot/src/../bin/browser.cjs' '{"url":"file:///tmp/1899450890-0701601001724751401/index.html","action":"pdf","options":{"args":[],"viewport":{"width":800,"height":600},"displayHeaderFooter":false,"printBackground":true}}'" failed. Exit Code: 1(General error) Working directory: /var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/public Output: ================ Error Output: ================ Error: Could not find Chrome (ver. 127.0.6533.88). This can occur if either 1. you did not perform an installation before running the script (e.g. npx puppeteer browsers install chrome) or 2. your cache path is incorrectly configured (which is: /var/www/vhosts/mmbd.eu/.cache/puppeteer). For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration. at ChromeLauncher.resolveExecutablePath (/var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:291:27) at ChromeLauncher.executablePath (/var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:209:25) at ChromeLauncher.computeLaunchArguments (/var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:89:37) at async ChromeLauncher.launch (/var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:70:28) at async callChrome (/var/www/vhosts/mmbd.eu/skladovka.mmbd.eu/vendor/spatie/browsershot/bin/browser.cjs:94:23)


Submit to https://engineeringblogs.xyz/

Submit via PR against https://github.com/peterc/engblogs. Check closed PRs to get a sense of how to submit things: https://github.com/peterc/engblogs/issues?q=is%3Aissue+is%3Aclosed

Have submitted at https://github.com/peterc/engblogs/issues/12

Reviewed and maintainer would like to wait and see more content from us before including. They'll review in about a month and hopefully we can get a few more posts up by then.
@merit-ddennis, @merit-jrussell, @merit-schelcj, @merit-dsclair

Reviewed and maintainer would like to wait and see more content from us before including. They'll review in about a month and hopefully we can get a few more posts up by then.
@merit-ddennis, @merit-jrussell, @merit-schelcj, @merit-dsclair


Data discrepancy found

Lost in translation release date is 3003, should be [2003]url:https://www.imdb.com/title/tt0335266/?ref_=ttfc_fc_tt

@hairynose thanks for sharing it will be update with the next release

hey @hairynose the issue is fixed with release v1.0.0


Change the wrong placement of pull_request_template.md

@mtshiba

Placing it in the location would seem to allow for multiple PR templates (though I have only prepared one yet).

Placing it in the location would seem to allow for multiple PR templates (though I have only prepared one yet).

A single template should not be placed in a folder

@mtshiba

Now I created a template for bug fix and that for implementing new features, is it still invalid?

Now I created a template for bug fix and that for implementing new features, is it still invalid?

Yes

I see. It seems that if there are multiple PR templates here, you have to add ?template=template_name.md to the PR creation URL.
This is a hassle, so let's not do this.


Rework simple-linked-list exercise docs

Linked lists are commonly used in computer science and programming for data storage and manipulation. Here are a few real-life examples of where linked lists might be used:
Music Player: In a music player application, a linked list can be used to create a playlist. Each song can be represented by a node in the linked list, and each node would contain a pointer to the next song in the playlist.
Browser History: A web browser's history can be stored using a linked list. Each webpage that the user visits can be represented by a node in the linked list, with each node containing a pointer to the previous webpage visited.
Train Scheduling: A linked list can be used to represent the schedule of a train. Each station along the train's route can be represented by a node in the linked list, and each node would contain information about the arrival and departure times at that station.
File System: A file system can be represented using a linked list, with each file or directory represented by a node in the linked list, and each node containing a pointer to the next file or directory in the file system.
Text Editor: In a text editor application, a linked list can be used to store the text of a document. Each line of text can be represented by a node in the linked list, with each node containing a pointer to the next line of text.
Scenario Prompt: You are a software developer at a music streaming company, and you've been tasked with creating a playlist feature for your music player application. You need to use a linked list to create a playlist that users can add songs to, remove songs from, and shuffle.
Programming Exercise Instructions: Using a linked list, create a playlist feature for a music player application. The playlist should allow users to add songs to the end of the list, remove songs from the list, and shuffle the playlist. Implement functions for each of these actions, and test the functionality of the playlist by adding and removing songs and shuffling the list. Your code should be well-documented and easy to read, and should include error handling for cases where the user tries to remove a song that isn't in the playlist or shuffle an empty playlist.

I've taken another stab at this. I'm not entirely happy with the wording, but I think that the pretext makes more sense now. I'd love suggestions for how to finish tightening this one up!