feat: million cli

Please describe the changes this PR makes and why it should be merged:
This PR will be adding a CLI for million js.
will resolve #571
/claim #571
Status

[ ] Code changes have been tested against prettier, or there are no code changes
[ ] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[x] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I'd suggest to use https://github.com/natemoo-re/clack in the CLI

@rishi-raj-jain this looks nice.
Is there any documentation for it?

I'm afraid not

See https://github.com/getsentry/sentry-wizard/blob/master/src/nextjs/nextjs-wizard.ts which is a pretty solid example for using clack on a sdk setup wizard.

Thanks @AbhiPrasad . this would really help alot it in the process.

Hello @aidenybai . can you test the PR in your local.
Things which are complete by now-

install and update million js latest version.
create config file reference taken from installation docs

Things left -

update pre-existing config
docs
publishing package to npm.

One more thing wouldn't it conflict with million currently present in npm registry because of same name?

@kunal00000 i wonder if we can compile this and publish it as a CLI package via bin (https://medium.com/netscape/a-guide-to-create-a-nodejs-command-line-package-c2166ad0452e)
cc @AbhiPrasad

I have done same setup as in referred blog. But as far as I know npm registry restricts same name between packages.
I may be wrong let's wait for @AbhiPrasad views

Hello @aidenybai . do you have any approach to update existing config files?

Hello @aidenybai . do you have any approach to update existing config files?

Hmm, fascinating! I'm just an external observer that's trying to comprehend what you did Kunal.
Can I see a demo or something 😁😁?

@tobySolutions
https://github.com/aidenybai/million/assets/92316166/d807adad-e13d-4fce-b442-7fc76b8985d9

@tobySolutions
https://github.com/aidenybai/million/assets/92316166/d807adad-e13d-4fce-b442-7fc76b8985d9

Is it me or does the video not play 👀👀

@tobySolutions
https://github.com/aidenybai/million/assets/92316166/d807adad-e13d-4fce-b442-7fc76b8985d9

Is it me or does the video not play 👀👀

I'll try downloading it to see if I can play it.

Maybe try this https://drive.google.com/file/d/1B8rvBLEJAOcDczOUg1ndHKf9sJZvD4zO/view?usp=sharing

@kunal00000 amazing!
you should check out

https://github.com/unjs/magicast
https://github.com/getsentry/sentry-wizard/blob/523b7fae753fe00482fa94b52b735b531767b9c0/src/nextjs/nextjs-wizard.ts#L216

i will also raise the bounty by $25, transforming seems to be a bit difficult

I'm happy to collaborate! We shall be using packages like nypm, npm-check-updates and others instead of creating our own functions of package manager handling.

We shall be using packages like nypm, npm-check-updates and others instead of creating our own functions of package manager handling.

While installing and using packages, the required dependencies are also installed ig on the system of user. So we should not make it heavy for users and try not to use packages whose work can easily be done.

Hey, any support for reejs/packit too? @aidenybai
In order to check whether the project is a reejs project, look for the file reecfg.json in the project's root directory. Alternatively, look for the packit.config.js and add millionjs there.
Once confirmed that it is a reejs project, either the developer/the cli needs to add million to project, and even if reejs supports URL imports, esm.sh (as of now) fails to properly serve millionjs. Therefore, for the serverside, you need to add millionjs via npm. As for the browser side, esm.sh serves it fine. Therefore update the import_map.json and add the following data:
{
  "imports": {
...//other stuff.
//Replace the already existing fields if the below fields were already placed by the developer, ensuring millionjs would even work if the dev added millionjs manually and it failed.
    "million/compiler": "million/compiler",
    "million/react-server": "million/react-server",
   },
   "browserImports": {
//Replace version with the same version millionjs currently uses in the cli.
     "million/react-server": "https://esm.sh/million@<version>/react?external=react,react-dom&bundle",
...//others
    }
}

As questions might arise for someone who doesn't know  the inner workings of millionjs compiler: "why are you providing million/react-server instead of million/react, I saw that the compiler actually changes that in your code. And normally other code bundlers like swc would have served million/react for the browsers, packit provides isomorphic code, so it would be sending million/react-server to the browser side too. And that's why you need to link https://esm.sh/million/react for the browser side's import maps.

After adding the necessary import maps data, add millionjs to the configuration file: packit.config.js
import million from "million/compiler";
export default {
  plugins:[
    million.unplugin.vite({ // <- here we chose the vite edition of Millionjs
      mode: 'react', server: true, auto: true
    })
  ]
}

Hopefully you people will add support for reejs too!

@aidenybai pushed changes for modifying config files for esm type(complete cjs by tomorrow). I will post the video demo for it by tomorrow.

Video demo: https://www.loom.com/share/8f7f87578d24498bbb38b7391aa76187?sid=7561d0c5-98e7-4144-acf4-44e22c48341e

/claim #571

Hey, any support for reejs/packit too? @aidenybai In order to check whether the project is a reejs project, look for the file reecfg.json in the project's root directory. Alternatively, look for the packit.config.js and add millionjs there. Once confirmed that it is a reejs project, either the developer/the cli needs to add million to project, and even if reejs supports URL imports, esm.sh (as of now) fails to properly serve millionjs. Therefore, for the serverside, you need to add millionjs via npm. As for the browser side, esm.sh serves it fine. Therefore update the import_map.json and add the following data:
{
  "imports": {
...//other stuff.
//Replace the already existing fields if the below fields were already placed by the developer, ensuring millionjs would even work if the dev added millionjs manually and it failed.
    "million/compiler": "million/compiler",
    "million/react-server": "million/react-server",
   },
   "browserImports": {
//Replace version with the same version millionjs currently uses in the cli.
     "million/react-server": "https://esm.sh/million@<version>/react?external=react,react-dom&bundle",
...//others
    }
}

As questions might arise for someone who doesn't know  the inner workings of millionjs compiler: "why are you providing million/react-server instead of million/react, I saw that the compiler actually changes that in your code. And normally other code bundlers like swc would have served million/react for the browsers, packit provides isomorphic code, so it would be sending million/react-server to the browser side too. And that's why you need to link https://esm.sh/million/react for the browser side's import maps.

After adding the necessary import maps data, add millionjs to the configuration file: packit.config.js
import million from "million/compiler";
export default {
  plugins:[
    million.unplugin.vite({ // <- here we chose the vite edition of Millionjs
      mode: 'react', server: true, auto: true
    })
  ]
}

Hopefully you people will add support for reejs too!

@kunal00000 any updates on this?

@aidenybai do we support reejs as of now?
Also PR is ready for merge. Added documentation too.

@renhiyama afaik there are no users using both million and packit together. we can add packit once there is a feature request for it


Missing method getAncestors in the \FOS\CommentBundle\Model\CommentInterface

Hello
The method getAncestors() of class \FOS\CommentBundle\Entity\Comment is used in several places, but is not in the CommentInterface.
Is it deliberate or is it a conception error?
Have a nice day.

Oops the issue #301 has already reported this issue.


fix: OverlayEntry was not properly sending event to NotificationListener

Closes https://github.com/lenra-io/lenra_ui_runner/issues/173
Checklist

[x] I didn't over-scope my PR
[x] My PR title matches the commit convention
[x] I did not include breaking changes
[x] I included unit tests that cover my changes
[x] I added/updated the documentation about my changes
[x] I made my own code-review before requesting one

Description of the changes

Technical highlight/advice

:tada: This PR is included in version 1.0.0-beta.82 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


UI - BUG Icons are not being loaded in modern web browsers

cc: @christianmorfordwaitessw @SebastienBoissiere @adamcogan @tiagov8  @AndreasLengkeek
Left (rules v1) shows red external link icon, right (rules v2) shows no icon.

AB#58889

To: @bradystroud
CC: @adamcogan
Fixed, this was a redirection issue. Url stating with 'https://ssw.com.au' were redirected to 'http://www.ssw.com.au' causing the images to be blocked by the brother with a 'Mixed Content' error. This was fix by SysAdmin @kikibianc

Figure: Icon is now visible


Feature/351 fixed fields

Closes #351

Coverage increased (+0.02%) to 88.412% when pulling 3bf082587a075d692d44697903a09e92daeda430 on feature/351-fixed-fields into 573902f8449a21302cd0d877ee775aed88359fe2 on master.


samples num issue during train

I want train on cpu and use TextOCR LMDB dataset. i put data files in /data/train/real and /data/val. i use following command to train:
python train.py  +experiment=parseq-tiny
but problem is result that show is:
` 6.0 M     Trainable params
0         Non-trainable params
6.0 M     Total params
23.977    Total estimated model params size (MB)
/home/ali/.local/lib/python3.10/site-packages/lightning_fabric/accelerators/cuda.py:235: UserWarning: Can't initialize NVML
warnings.warn("Can't initialize NVML")
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Loading train_dataloader to estimate number of stepping batches.
[2023-08-05 22:40:34,115][strhub.data.dataset][INFO] - dataset root:	/parseq/github/data/train/real
[2023-08-05 22:40:34,982][strhub.data.dataset][INFO] - 	lmdb:	.	num samples: 0
Error executing job with overrides: [+experiment=parseq-tiny]
Traceback (most recent call last):
  File "/parseq/github/train.py", line 99, in <module>
    main()
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/main.py", line 94, in decorated_main
    _run_hydra(
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
    _run_app(
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 457, in _run_app
    run_and_report(
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
    raise ex
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
    return func()
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 458, in <lambda>
    lambda: hydra.run(
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/_internal/hydra.py", line 132, in run
    _ = ret.return_value
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/core/utils.py", line 260, in return_value
    raise self._return_value
  File "/home/ali/.local/lib/python3.10/site-packages/hydra/core/utils.py", line 186, in run_job
    ret.return_value = task_function(task_cfg)
  File "/parseq/github/train.py", line 95, in main
    trainer.fit(model, datamodule=datamodule, ckpt_path=config.ckpt_path)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 608, in fit
    call._call_and_handle_interrupt(
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 38, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 650, in _fit_impl
    self._run(model, ckpt_path=self.ckpt_path)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1093, in _run
    self.strategy.setup(self)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/strategies/single_device.py", line 74, in setup
    super().setup(trainer)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/strategies/strategy.py", line 154, in setup
    self.setup_optimizers(trainer)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/strategies/strategy.py", line 142, in setup_optimizers
    self.optimizers, self.lr_scheduler_configs, self.optimizer_frequencies = _init_optimizers_and_lr_schedulers(
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/core/optimizer.py", line 180, in _init_optimizers_and_lr_schedulers
    optim_conf = model.trainer._call_lightning_module_hook("configure_optimizers", pl_module=model)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1356, in _call_lightning_module_hook
    output = fn(*args, **kwargs)
  File "/parseq/github/strhub/models/base.py", line 91, in configure_optimizers
    sched = OneCycleLR(optim, lr, self.trainer.estimated_stepping_batches, pct_start=self.warmup_pct,
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 2247, in estimated_stepping_batches
    self.reset_train_dataloader()
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1529, in reset_train_dataloader
    self.train_dataloader = self._data_connector._request_dataloader(RunningStage.TRAINING)
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/data_connector.py", line 446, in _request_dataloader
    dataloader = source.dataloader()
  File "/home/ali/.local/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/data_connector.py", line 524, in dataloader
    return method()
  File "/media/ali/Me/Projects/07-PersianNationalCard/parseq/github/strhub/data/module.py", line 90, in train_dataloader
    return DataLoader(self.train_dataset, batch_size=self.batch_size, shuffle=True,
  File "/home/ali/.local/lib/python3.10/site-packages/lightning_fabric/utilities/data.py", line 323, in wrapper
    init(obj, *args, **kwargs)
  File "/home/ali/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 344, in __init__
    sampler = RandomSampler(dataset, generator=generator)  # type: ignore[arg-type]
  File "/home/ali/.local/lib/python3.10/site-packages/torch/utils/data/sampler.py", line 107, in __init__
    raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0`

Hello,
I ran into the same problem a few days ago. Most likely there is a problem in your database.
I will assume you created the database using the provided file tools.create_lmdb_dataset.py and that you didn't run into any troubleshoots, meaning you were able to create the .mdb file with the expected amount of samples. If not, starts by doing that.

Start by printing the number of samples of your database along the process in the function _preprocess_labels.
You can also check the different condition that discard labels by searching for the continue keyword inside the for loop.
Identify which one discard all your labels and why it happens.
The main reasons I can think of are:

You put the wrong data for the labels in your gt_file, the file used to create the lmdb database
The length of your label exceeds max_length

Hope it helps

Encountered the same problem. After looking at the _preprocess_labels , I got to know that I shouldn't normalize unicode. Changed normalize_unicode in the main.yml and then everything was smooth.


Check for Elastic response status code

Also remove an argument to sync that wasn't getting used

Exciting test failures here.

let me try and fix the tests since they are pretty ugly

I suspect that this will not catch all of our problems.

I think we would also need to check the shards.failures field is set to catch everything.

I think there is basically always going to be something there.

It's gross but do we just check for specific failures messages that we know will require a retry?


Greenwave disable network LED setting

Is your feature request related to a problem? Please describe.
Greenwave sockets have an annoying feature where the LED on the socket starts blinking after a configurable time of inactivity. The highest value you can set this to is however 255 minutes (setting 112-0-1). For sockets that are not used that much or for instance at night this blinking occurs after this time. To avoid the LED from blinking communication between the controller is needed. On zwave2mqtt there was a user setting that you could set to "Disable" for instance every 4 hours to make sure the blinking does not occur. The setting didnt do anything else, it would automatically update to enable again so you could just send disable every 4 hours and that would avoid the LED for starting to blink. The setting in zwave2mqtt was 112-1-4.
I do see a setting under config within zwavejs2mqtt called LED for network error (122-0-4) which seems to be the same setting. Setting this from the UI however does not stop the light from blinking. It looks like it's not actually being saved and I'm not seeying anything being published to MQTT either. And I dont know how to set this setting through MQTT. On zwave2mqtt I published a payload "Disable" to 112-1-4-set every 4 hours but publish this to 112-0-4-targetValue-set doesnt work. So i'd appreciate if this could be fixed somehow so my LEDs dont start blinking at night. Below are the ID's of the Greenwave products I'm talking about.

Single socket: 153-2-2 (0x0099-0x0002-0x0002)
multi socket brick: 153-4-3 (0x0099-0x0004-0x0003)

I have the single socket plug and setting the config value does disable the blinking altogether.
Maybe a problem in zwavejs2mqtt @robertsLando ?

@AlCalzone I think this could be a config issue. Does those devices have a DIsable entry on available states?

yes

@jghaanstra Could you go to the control panel, select the node and from the node tab under the table download the node json ? then attach it here

Sure thing. This is one of my single socket plugs.
node_11.zip

Seems you have it:
{
    "id": "11-112-0-4",
    "nodeId": 11,
    "commandClass": 112,
    "commandClassName": "Configuration",
    "property": 4,
    "propertyName": "LED for network error",
    "type": "number",
    "readable": true,
    "writeable": true,
    "description": "If the LED should indicate a network error by flashing or not",
    "label": "LED for network error",
    "default": 0,
    "genre": "config",
    "min": 0,
    "max": 1,
    "list": true,
    "states": [{
      "text": "Disable the LED for network error",
      "value": 0
    }, {
      "text": "Enable the LED for network error",
      "value": 1
    }]
  }

That's really strange, let me look at the ui


About the connection of Arena-rosnav

Hi, it's grateful for your work!
I want to know the connection between ignc-research/arena-rosnav and this code. Is this an updated version of the original code?
In the past few weeks, I have been learning from the ignc-research/arena-rosnav and encountered some questions. I wonder if I can get answers in this community?

Hey @AbelSyx ,
this organization contains the newest version of ignc-research/arena-rosnav. We restructured the whole project, refactored a lot and removed unused, deprecated and just bad code. Overall, the new structure is more modular and allows faster integration of new simulators, new robots and new planners. Furthermore, some parts of the infrastructure are now usable in combination with other projects, like the arena-simulation-setup package, which contains worlds, maps and robots and can now be used independently without the overhead of the whole structure.
In general, we made Arena-Rosnav more accessible and more modular. It is now way easier to install and to use.
If you have any questions, feel free to ask them here.

Thank you for your reply. I tried to install and compile the new version of arena-rosnav, and found it easier than the old version. I will learn on this basis and look forward to communicating with you!

Hey @ReykCS ,
I tried to use start_training.launch for Multiprocessed training, and modified the n_envs:5 in training_config.yaml file. The terminal shows that each environment is training normally, as shown in the following figure.

However, when I used visualization_training.launch to visualize the training environment, I found that there are some errors in TF Transform. Is this caused by my incorrect setting?

Hey @AbelSyx ,
these errors are not caused by your setup and are indeed some bugs in the code. I just pushed a commit, which should fix the issue. However, since we are not using the tf topic for training, it should be not effected by this and should work as expected.
Thanks for pointing this issue out!

Okay, thank you for your reply!

Oh! here is similar issue in this script!
Hi @ReykCS.
I launched visualization_training.launch that launch pkg is not solved above issue. but there is no "rviz_LP"  file in rviz folder. So i added some topics to visualize in default.rviz. you can see that like this.

Did it work right?. Could you check this?

Hey @CAI23sbP ,
the nav_LP is missing at the moment, you are correct. I'm sorry for this.
For now, this means one should start rviz manually and add the topics by hand. What you did looks really good so far and should work.


The entity disappears when deleting one entity in an attached table with 'Query' permission which has more than one entity

Storage Explorer Version: 1.23.0-dev
Build Number: 20220208.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.0.1
How Found: Ad-hoc testing
Regression From: Previous release (1.21.3)
Steps to Reproduce

Expand one storage account -> Tables.
Create a Table -> Add two entities.
Right click the table-> Click 'Manage Access Policies...'.
Add one access policy with 'Query' permission -> Generate a SAS URL via the access policy.
Attach the table via the SAS URL.
Switch to the attached table -> Delete one entity.
Check whether the entity doesn't disappear.

Expected Experience
The entity doesn't disappear.
Actual Experience
The entity disappears.
Additional Context

This issue doesn't reproduce when deleting more than one entity.
The entity appears after manually refreshing.

This issue still reproduces on the new build 20220210.3. Will verify on the newer build.

Verified this issue on the build main/20220210.8. Fixed. So close it.


[ServiceBus] Fix NPE in instrumentProcess

When an error happens during receiving a session, we can return ServiceBusMessageContext with null message
https://github.com/Azure/azure-sdk-for-java/blob/f079ad77da68e28836393bacc18ee0397c0b4d9f/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusSessionReceiver.java#L125
In such case, we log an error and should not trace or record any metrics. The instrumentation code should back off if the message is null.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-messaging-servicebus


chore(ci): bump CI versions

Remove the deprecated actions-rs/toolchain@v1 wherever it is still used.
Bump everything to latest versions.

This change is

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

Comparison is base (7db8f76) 68.77% compared to head (ece3fa5) 68.77%.

:exclamation: Current head ece3fa5 differs from pull request most recent head e9f562c. Consider uploading reports for the commit e9f562c to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##           main-v0.13.1    #1473   +/-   ##
=============================================
  Coverage         68.77%   68.77%
=============================================
  Files                59       59
  Lines              7970     7970
  Branches           7970     7970
=============================================
  Hits               5481     5481
  Misses             2032     2032
  Partials            457      457

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


Release v1.2.2-alpha.20221125

includes #113
avoid inlining init stages for lpc55
zip resulting raw binaries to reduce clutter in release

For the completeness:
52176 is the smallest number I've found on MSP (at 0x0000f7d2), meaning we should still have 51kB of RAM left during init, and it's certainly better than the previous 26 kB (measured during init with the RAM set to 272K).
The address translates to 0000f7d0 t fm11nc08::device::FM11NC08<SPI,CS,INT>::read_reg::hd9ff045ac242880f.
I could not get the exact place since GDB was not able to parse the ELF file, returning errors like:

Dwarf Error: Cannot find DIE at 0x53752 referenced from DIE at 0xae6b4

Interestingly, debug symbols referencing seems to work later in the idle state.


Fixes from static-analysis tools (without refactoring exceptions)

I think you wanted to submit another pull request for this,,,

Thanks for the reminder!
https://github.com/netty/netty/pull/91


Add  the model created on  in consume page

@JakeRadMSFT,@LittleLittleCloud , @briacht ,@romalpani   which time we want , the time training completed , the time after model are explored? do we need to have  model created on in training config ?

@LittleLittleCloud  when is the model actually created ?

Have added the model created message on consume page.
Main branch: https://privategallery.blob.core.windows.net/gallery/refs/heads/main/atom.xml

Windows 10 Enterprise, Version 20H2
ML.Net Model Builder (Preview): <IP_ADDRESS>2903
Microsoft Visual Studio Enterprise 2019: 16.9.4
.Net: 5.0.202


With the new UX, hard to find proposals that need review

With new UX, it is hard to find the latest proposals that need review. There are multiple issues with the new UX:

Infinite scrolling requires multiple clicks to get to the bottom
There is no easy way to discern if there is an updated proposal for a proposal under review.

Suggestions:

Add a filter to show only proposals that require review
Hide proposals whose updated version has been submitted for review

Agreed - i'll work on a PR for these.

This is in now


jest runs all tests found in monorepo<EMAIL_ADDRESS>

Jest currently runs all tests it can find in every workspace in the monorepo (spec/tests) when ran from CRA workspace.
This is somewhat unexpected, and can be problematic:

jest version mismatches can break tests
jest snapshots can potentially record different things depending on configuration

If needed I can try to get a clean repro up.

It has some really weird effects, such as if you have a cypress directory for e2e under the CRA app directory, jest would skip them but if you have a cypress directory in a imported workspace, jest would happily decide to run it and fail.

This is likely related to https://github.com/facebook/create-react-app/pull/3967

@bugzpodder The current 2.0 implementation assumes that you want all workspaces in the monorepo to be treated as part of your app source (transpiled, linted, and tested), there is no way to opt in or out.  #4092 proposes to fix this by requiring workspaces to be opted in.
It's not clear if that would fix your use cases, though.  (e.g, Are you wanting to transpile the other workspaces, but not run their tests?) What do you think?
(BTW, as a workaround for the current issue, you should be able to give a pattern to the test command, e.g. react-scripts test myapp to avoid running tests from other workspaces.)

Thanks for the quick scoping fix! Though I totally agree there should be a better way to go about this before 2.0.


fix: bumping jsdom, also adding .gitpod settings files

Issue
Closes #6
Intent
Avoid warnings on install - we've been waiting on a third party dependency to update their package
Implementation
Bumped package.json, also added gitpod yaml files for easier cloud development
Checks

[x] Code is formatted correctly (npm run lint:fix).
[ ] Any new functionality has been unit tested.
[ ] All unit tests are passing (npm test).
[ ] All CI checks are green.
[ ] JSDoc comments have been added or updated.
[x] Reviewer is assigned.

merge commit


Disable uriPlayer from UI to workaround bug:

https://github.com/googlesamples/android-ndk/issues/229
@hak PLAT, thanks

LGTM.


Remove block from estimate request; Improve error messages

Changes proposed in this pull request:

Fix bug that estimate was not working because too many params were supplied
Improved error messages for better debugging
Add sourcesJar task for jitpack

@gnosis/mobile-devs

Codecov Report

Merging #10 into master will increase coverage by 0.13%.
The diff coverage is 81.25%.

@@             Coverage Diff              @@
##             master      #10      +/-   ##
============================================
+ Coverage     65.85%   65.99%   +0.13%
  Complexity      142      142
============================================
  Files            48       48
  Lines          1031     1035       +4
  Branches        183      181       -2
============================================
+ Hits            679      683       +4
+ Misses          266      265       -1
- Partials         86       87       +1

Impacted Files
Coverage Δ
Complexity Δ

.../java/pm/gnosis/ethereum/rpc/models/RpcRequests.kt
88.4% <0%> (-0.17%)
0 <0> (ø)

...va/pm/gnosis/ethereum/rpc/RpcEthereumRepository.kt
93.87% <100%> (+3.13%)
7 <0> (ø)
:arrow_down:

...main/java/pm/gnosis/ethereum/EthereumRepository.kt
65.78% <80%> (+5.07%)
0 <0> (ø)
:arrow_down:

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 5cfbb8f...a8b0d10. Read the comment docs.


Where do we put ApplicationLauncher in top navigation?

Where do I composition the ApplicationLauncher component?
Right now I tried some ways, but I couldn't get a better result than what is shown in the picture below.
App.js:

ApplicationLauncher.js

Website:

@mcoker making you aware of this one.

Hi @xtrasmal, have you seen the react page demo which shows you how to add icons to the toolbar in the masthead?

Hi @mcoker, yes but it seems to drop off the screen as you can see in the image below.
Therefore I thought that the ApplicationLauncher is meant to be the icon version of the context selector(https://www.patternfly.org/v4/design-guidelines/usage-and-behavior/navigation-system#context-selector) and tried it on the left side of the menu.

@xtrasmal ah, you need to apply the position prop. position=DropdownPosition.right should position the menu so that the right edge of the menu is aligned with the right side of the toggle icon.

awesome, that solved it. Thanks.


TypeError: memoryview: a bytes-like object is required, not 'list'

I am using a SGP40 MOX air quality sensor from Adafruit ( link provided: https://learn.adafruit.com/adafruit-sgp40/overview). I have checked my wiring and it is exactly like the one provided, using i2c wiring for the SCL  and SDA. I have run into the following error that is listed in the title. Any help is greatly appreciated, and I can try my best to answer any further questions. I am fairly new to coding so I have done my best to research but to no avail. Please and thank you! I have also copied the trace back at the bottom. also provided the version.
TypeError                                 Traceback (most recent call last)
<ipython-input-13-d6b4af4d3b4a> in <module>
----> 1 help(sgp.raw)

/usr/local/lib/python3.7/dist-packages/adafruit_sgp40.py in raw(self)
    206         # recycle a single buffer
    207         self._command_buffer = self._measure_command
--> 208         read_value = self._read_word_from_command(delay_ms=250)
    209         self._command_buffer = bytearray(2)
    210         return read_value[0]

/usr/local/lib/python3.7/dist-packages/adafruit_sgp40.py in _read_word_from_command(self, delay_ms, readlen)
    248
    249         with self.i2c_device as i2c:
--> 250             i2c.write(self._command_buffer)
    251
    252         sleep(round(delay_ms * 0.001, 3))

/usr/local/lib/python3.7/dist-packages/adafruit_bus_device/i2c_device.py in write(self, buf, start, end)
     82         if end is None:
     83             end = len(buf)
---> 84         self.i2c.writeto(self.device_address, buf, start=start, end=end)
     85
     86     # pylint: disable-msg=too-many-arguments

/usr/local/lib/python3.7/dist-packages/busio.py in writeto(self, address, buffer, start, end, stop)
    156             if end is None:
    157                 return self._i2c.writeto(address, memoryview(buffer)[start:], stop=stop)
--> 158             return self._i2c.writeto(address, memoryview(buffer)[start:end], stop=stop)
    159         return self._i2c.writeto(address, buffer, stop=stop)
    160

TypeError: memoryview: a bytes-like object is required, not 'list'

pip3 show adafruit-circuitpython-sgp40
Name: adafruit-circuitpython-sgp40
Version: 1.1.0
Summary: CircuitPython library for the Adafruit SGP40 Air Quality Sensor / VOC Index Sensor Breakouts
Home-page: https://github.com/adafruit/Adafruit_CircuitPython_SGP40
Author: Adafruit Industries
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python3.7/dist-packages
Requires: Adafruit-Blinka, adafruit-circuitpython-busdevice
Required-by:

Thanks for the traceback. Really helps in tracking down the problem. Submitted a fix in #6 .


This worked for me! /sbin/init went from 100% cpu to nothing, and sudo commands work quickly again - had the same Transport endpoint issue when doing sudo systemctl status systemd-journald previously but now it works
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/WSL/issues/9029#issuecomment-1700254362, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOE4JO4P5OEQKZDHZTVSE3XX7WKVANCNFSM6AAAAAARHQ5JHU.
You are receiving this because you commented.Message ID: @.***>


Timeline view in channel program editor

I dont know exactly what this type of component is called, but I think it would be really cool to have it available in the channel programming config, time slot editor, and perhaps even the guide page:
This is the 'timeline' view of the performance tab in devtools:

Visx calls this a "brush"
https://airbnb.io/visx/brush


[ACL] Contributors can't add polygon to granted layers

A layer which collects polygon data, is only visible if the user is a manager on the project. Issue is restricted to the android app. I didn't even realize that acls were layer specific - as the UI doesn't allow that.
In our one time project xxx field layer which collects polygon is not visible as contributor but is visible as manager or owner in the list when you hit the + floating action button. Other layers which collect point info are visible to all.

Hi @atalekar When you say visible, I assume you mean they don't appear in the list when adding a feature, but features added or imported are visible on the map?

A layer which collects polygon data, is only visible if the user is a manager on the project. Issue is restricted to the android app. I didn't even realize that acls were layer specific - as the UI doesn't allow that.

You should be able to allow contributors to add polygons to a layer through the "Customize layer" dialog in the web app. For example:

Once you do that, you'll need to sign out and back into the app again since we don't yet react to remote project changes automatically.
Please let me know if this solves it!

In our one time project xxx field layer which collects polygon is not visible as contributor but is visible as manager or owner in the list when you hit the + floating action button. Other layers which collect point info are visible to all.

@atalekar I was able to reproduce this on my test project. Looking further, this is likely related to #1035.


Fix turbolink related issue with 'Facebook like' and 'Twitter tweet' buttons

I made some bug fixes related to turbolink issue. Please review.

Hi @fruqi, this has been applied to master branch, you welcome to try it out.


HADOOP-19269. maven-shade-plugin 3.6.0

Description of PR
HADOOP-19269
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
6m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 54s

trunk passed

+1 :green_heart:
compile
0m 16s

trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
compile
0m 16s

trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
mvnsite
0m 20s

trunk passed

+1 :green_heart:
javadoc
0m 20s

trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javadoc
0m 17s

trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
shadedclient
54m 31s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 11s

the patch passed

+1 :green_heart:
compile
0m 10s

the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javac
0m 10s

the patch passed

+1 :green_heart:
compile
0m 10s

the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
javac
0m 10s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 12s

the patch passed

+1 :green_heart:
javadoc
0m 12s

the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javadoc
0m  9s

the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
shadedclient
21m 38s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 11s

hadoop-project in the patch passed.

+1 :green_heart:
asflicense
0m 25s

The patch does not generate ASF License warnings.

85m 16s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7029/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/7029

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint

uname
Linux aed4d66835c2 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / cef857d2651cbe25895e4bd7d9ed7afd6f8cfb5d

Default Java
Private Build-1.8.0_422-8u422-b05-1~20.04-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_422-8u422-b05-1~20.04-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7029/1/testReport/

Max. process+thread count
760 (vs. ulimit of 5500)

modules
C: hadoop-project U: hadoop-project

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7029/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

done. if all is well we can pull into branch 3.4


No warning or assertion if I create a model with no ID and try to put it into a DAO

Instead I get null pointer exceptions from MDAO when it tries to convert the ID property to an index.
Not sure where the correct place is to put this validation, maybe the ClassProperty for all DAO.of should validate that OF has IDSupport of some sort.

The current flow has MDAO initialize its id index on creation ('of' is a required property), so it could be validated as soon as you try and create the MDAO.
Otherwise changing the init to be lazier could be an option.

Also I agree it's a general DAO requirement, since any DAO doing id comparisons should be using the efficient ID.compare() provided by IDSupport, so having a real ID property is required (rather than trying to cheat by assuming any 'obj.id' is good enough).


Can't select option with spacebar

It's not possible to select/deselect options with [spacebar] when using data-live-search="true". Looks like it searches for a "space", even though the search field don't have focus.
Reduced test case: http://jsfiddle.net/clausbruun/dexL1Lme/3/

This is the expected functionality. The search field always has focus. This allows you to search for a phrase without having to reselect the search field. It would be annoying if you were searching for, for example, "Kansas City" and it automatically selected whatever option was highlighted as soon as you pressed the spacebar.


In dart language implement a  trait in rust language

Just like some define below:
In rust:
pub trait Test {
async fn get_something(&self) -> Result<()>;
}
How implement this trait in dart?

IMHO this is not possible directly now.
Quick brainstorm: A workaround may be
struct YourTraitImplByDartCallback {
  callback_get_something: DartCallbackObject,
}

impl YourTrait for YourTraitImplByDartClosure {
  fn get_something(&self) { self.callback_get_something() }
}

In other words, create a implementation, which delegates the real implementation into a dart callback. This struct YourTraitImplByDartClosure may be able to be generated automatically (since this looks like a stable pattern).
However, IIRC callbacks are not implemented yet as well, so to deal with it, you can, for example:

Implement it. This issue may be related (though that issue also discusses many other things): https://github.com/fzyzcjy/flutter_rust_bridge/issues/1132 ; IIRC there is an older issue related to callbacks but I have not found it
Simulate it by other means, such as an object pool with id


Exceptions in Service process

{placeholder}

https://github.com/apache/incubator-kie-kogito-runtimes/pull/3553


Search not working

Source information and language
SuperStream 13.5
Steps to reproduce
When we try to search any show using this extension.
We don't get expected result.
Expected behavior
This should search the series or show and let us see the list of shows.
Actual behavior
It's saying unexpected Json token offset.
Providing SS

Aniyomi version
r5846
Android version
12
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.13.5.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

There's already a fix for that https://github.com/jmir1/aniyomi-extensions/pull/1060.
Wait for merge and update extension.


Discussion RTL support should be complete now

The content that was getting truncated needlessly needed an appropriate contentHorizontalAlignment

@aleffert pl review

@aleffert updated

@aleffert updated

:+1:


error in scanpy first tutorial

Hi, I'm trying scanpy for the first time, but following the first tutorial I got the error below.
Any idea of what is happening?

filter_result = sc.pp.filter_genes_dispersion(
...     adata.X, min_mean=0.0125, max_mean=3, min_disp=0.5)
Traceback (most recent call last):
File "", line 2, in
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/scanpy/preprocessing/simple.py", line 328, in filter_genes_dispersion
disp_std_bin[one_gene_per_bin] = disp_mean_bin[one_gene_per_bin]
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/series.py", line 938, in setitem
setitem(key, value)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/series.py", line 929, in setitem
self._where(~key, value, inplace=True)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/generic.py", line 7539, in _where
level=level, fill_value=np.nan)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/series.py", line 3248, in align
broadcast_axis=broadcast_axis)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/generic.py", line 7366, in align
fill_axis=fill_axis)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/generic.py", line 7435, in _align_series
return_indexers=True)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3772, in join
return_indexers=return_indexers)
File "/opt/anaconda3/envs/tiget/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4012, in _join_monotonic
ridx = self._left_indexer_unique(sv, ov)
File "pandas/_libs/join_helper.pxi", line 774, in pandas._libs.join.left_join_indexer_unique_object
ValueError: Buffer dtype mismatch, expected 'Python object' but got 'signed char'

The same exact error also happens using the docker image suggested on the web site
fastgenomics/scanpy

Hm, this is really strange. Sorry about this.
The docker image might be out-of-date now - you compiled, @flying-sheep, what do you think?
But you shouldn't need the docker image to exactly reproduce the results. Which versions do you run?
The latest version of the tutorial says
scanpy==1.0.2 anndata==0.5.8 numpy==1.14.1 scipy==1.0.0 pandas==0.22.0 scikit-learn==0.19.1 statsmodels==0.8.0 python-igraph==0.7.1 louvain==0.6.1

Your error is a Pandas error - do you run an older or more recent version of Pandas that might cause the problem?

Type pip install pandas==0.22.0 to get the same version and run the notebook again... Of course, if  we are not compatible with more recent versions of pandas, we'll immediately fix the problem.

Unfortunately, we had a prerelease with a bug in rank_genes_groups_violin... on PyPI... the current prelease 1.1a2 should run almost stable... 1.1 will be out in the next couple of days.

Hi, here my settings:
scanpy==1.0.4 anndata==0.6.1 numpy==1.14.2 scipy==1.1.0 pandas==0.23.0
scikit-learn==0.19.1 statsmodels==0.9.0 python-igraph==0.7.1
Ivan
Il 21/05/18 14:11, Alex Wolf ha scritto:

Hm, this is really strange. Sorry about this.
The docker image might be out-of-date now - you compiled,
@flying-sheep https://github.com/flying-sheep, what do you think?
But you shouldn't need the docker image to exactly reproduce the
results. Which versions do you run?
The latest version of the tutorial says
|scanpy==1.0.2 anndata==0.5.8 numpy==1.14.1 scipy==1.0.0 pandas==0.22.0
scikit-learn==0.19.1 statsmodels==0.8.0 python-igraph==0.7.1
louvain==0.6.1 |
Your error is a Pandas error - do you run an older or more recent
version of Pandas that might cause the problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/theislab/scanpy/issues/158#issuecomment-390636495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQodXjh94RzSL2371yaV3jB3i2hPLkpPks5t0q7qgaJpZM4UFwtK.

Ok, it's related to pandas 0.23 - runs on pandas 0.22. Don't know what happened but I'll fix this tomorrow. In the meanwhile you could pip install pandas==0.22.0.

Unfortunately, we had a prerelease with a bug

the dangers of installing prereleases :wink:

I was wrong. The pandas 0.23 issue is not related to the prerelease... Unfortunately, I still haven't found the time to figure out what is going wrong... but it's on top of the list.

The solution do downgrade to pandas=0.22 worked for me. Thanks


Extend gitignore

add commonly .gitignored files to your .gitignore

closed because PR is for the wrong branch.


Be less NSException-Happy...

A lot of things are exceptions that really do not need to be.
Replace them with interesting NSLog statements and return nil.

I'll submit a pull request, refactoring all of these NSExceptions to NSError *s. It will help its Swift compatibility.


Where to find the Microsoft.Windows.AI.Generative namespace?

The current Microsoft documentation has the application of Phi-3's API and its required namespace Microsoft.Windows.AI.Generative. and describes Microsoft.Windows.AI.Generative as part of the Windows Application SDK (https://learn.microsoft.com/en-us/windows/ai/apis/phi-silica and https://learn.microsoft.com/en-us/windows/ai/apis/phi-silica-api-ref?source=recommendations). But using Copilot+PC in Visual studio, I created either WinUI3 application or .NET Forms application and installed the various versions of Windows Application SDK given in Microsoft's documentation (including Experimental, Stable, and Preview) through Nuget Package Manager in VS. But still can't find the Microsoft.Windows.AI.Generative namespace, how to solve this problem?  Is it because all the current releases don't contain this namespace or it requires some specific environment configuration?

you need to wait for wasdk v1.7, AI Api is not released yet

you need to wait for wasdk v1.7, AI Api is not released yet

Thank you for your reply


Clean shutdown

The main purpose here is: Make sure the messages stored are sent out and no more messages are accepted.

After the Router has sent all the messages signal the Service to start to listen if all the modules finished.
Service should listen for each module if the work is done, after calling Stop()
Stop receiving messages.
Wait to handle all messages that were received.

Suggestion here is that the Stop method should return a channel that will be closed when work is done. Or the channel could also send an error and we log the error and consider the work is done also.

Sounds good.
In addition to that, we have to consider the right order of calling Stop() to ensure, that e.g. the router has no messages left in its channels, before calling stop on subscribers.

True, I moved the Router issue on the first line.


Update: qBittorrent.qBittorrent version 4.3.6

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Ahh @jedieaston you haven't been in this thread https://github.com/microsoft/winget-pkgs/pull/19135, we have been troubleshooting it for a month and it seems to be on and off if it triggers...

@msftbot it is stuck at windows defender validation.

.

Blocked by SmartScreen.


Add Flow, Turbulence and Combustion

awesome thanks for the quick mege. Does this immediately get used by Jabref?

Your additions will be available in the next JabRef release (since as of now updating the lists is a manual task).


PI4 4GB V31 - Retroachievements trophies do not show up on games list for Nintendo DS games.

When I press "FIND ALL GAMES" in Retroachievements settings in ES, it skips on the Nintendo DS system altogether.
I am running on a PI4 4GB, on Batocera version 31.
My Nintendo DS games are in .nds format. And are cheevos supported.
Selected MelonDS as core emulator, issue still on-going.
Please notice that trophies are not shown on the games list:

Retroachievements system does work using melonDS, as noted in these images:

@nadenislamarre
'cheevos' feature is missing on melonds core :
https://github.com/batocera-linux/batocera.linux/blob/master/package/batocera/emulationstation/batocera-es-system/es_features.yml#L265
It should be added since it's supported by the core :
https://docs.libretro.com/library/melonds/

Fixed in Batocera 32.


subtree-push nightly-2024-06-13

Bumping the toolchain version as part of a git subtree push
current toolchain (nightly-2023-12-28):

1.77.0-nightly (89e2160c4 2023-12-27)

latest toolchain (nightly-2024-06-13):

1.81.0-nightly (8337ba918 2024-06-12)

Diff-Check is still failing, but all the failures seem expected to me.

src/tools/rustfmt/tests/source/postfix-match/pf-match.rs

Add in https://github.com/rust-lang/rust/pull/121619. Likely that the older rustfmt doesn't understand the new syntax gated by #![feature(postfix_match)].

src/tools/rustfmt/tests/source/mut_ref.rs

Added in https://github.com/rust-lang/rust/pull/123080. Likely that the older rustfmt doesn't understand the new syntax gated by #![feature(mut_ref)].

src/tools/rustfmt/tests/source/macros/rewrite-const-item.rs

Fix for #6035 Added in rust-lang/rust#120218, which resolved a regression introduced by nightly-2023-12-28. This has been out on nightly since nightly-2024-01-23, and is just now getting merged back into the codebase.

sorry i should've done this before the doc site fix PR :facepalm:


p:camera Capture 16:9 or 4:3 photos

Use case
4:3 photos can capture "more", 16:9 is cropped version of 4:3. You can try it yourself using native camera.
previously closed issue: https://github.com/flutter/flutter/issues/93994
Proposal
Ability to choose preference whether camera should result in preview and photo captured 16:9 or 4:3 or 1:1...

@jozefvodicka
I think your use case is similar to below open issues, so I will close this in favor of them:
https://github.com/flutter/flutter/issues/45665
https://github.com/flutter/flutter/issues/80393
If you disagree, please write in comments and I'll reopen it.


[CARBONDATA-2410] Error message correction when column value length exceeds 320000 character

The raw is displayed in the client, to avoid the same the exception message is intercepted and sent back to driver.…
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[X] Any interfaces changed?
None
[X] Any backward compatibility impacted?
None
[X] Document update required?
None
[X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
None
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
None

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4306/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4597/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4329/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5526/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4362/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4628/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5530/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4366/

@mohammadshahidkhan , can you please add details on why we have to change the exception parsing now.. Did we change univocity jar recently?

Can we add a test case for this scenario

In CSVInputFormat.java class set the error content length to 0 in parser setting so that parser while preparing the exception message does not contain the data on the error message.
Method: extractCsvParserSettings
parserSettings.setErrorContentLength(0);
Give this 0 a meaning name as constant and also write the comment before setting the error content length to describe its purpose

restricted parsed data display in the exception using parserSettings.setErrorContentLength(0)

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5578/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4420/

Failled test is unrelated

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4674/

LGTM


Move text to atlas-strings.xml

This will allow for localization of text.

would you mind squashing and rebasing agains master?

Text moved to string resources in 0.2.0


Meltano Permissions IncompleteRead error

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1701
Originally created by @tayloramurphy on 2020-02-11 14:19:04

I tried multiple configurations of dependencies in a docker container, but the simplest one where it fails is a container with just Meltano installed. https://gitlab.com/gitlab-data/data-image/-/merge_requests/93 is the MR where I'm generating the container.
I'm running this in Airflow locally but the jobs are launching in k8s pods in GCP. This is on meltano 1.20.0
error logs
[2020-02-10 22:03:32,968] INFO - [2020-02-10 22:03:32,968] INFO - b'Fetching granted privileges from Snowflake\n'
[2020-02-10 22:08:33,539] ERROR - ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/http/client.py", line 556, in _get_chunk_left
    chunk_left = self._read_next_chunk_size()
  File "/usr/local/lib/python3.6/http/client.py", line 523, in _read_next_chunk_size
    return int(line, 16)
ValueError: invalid literal for int() with base 16: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/http/client.py", line 588, in _readinto_chunked
    chunk_left = self._get_chunk_left()
  File "/usr/local/lib/python3.6/http/client.py", line 558, in _get_chunk_left
    raise IncompleteRead(b'')
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/response.py", line 331, in _error_catcher
    yield
  File "/usr/local/lib/python3.6/site-packages/urllib3/response.py", line 413, in read
    data = self._fp.read(amt)
  File "/usr/local/lib/python3.6/http/client.py", line 459, in read
    n = self.readinto(b)
  File "/usr/local/lib/python3.6/http/client.py", line 493, in readinto
    return self._readinto_chunked(b)
  File "/usr/local/lib/python3.6/http/client.py", line 604, in _readinto_chunked
    raise IncompleteRead(bytes(b[0:total_bytes]))
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/airflow/models/__init__.py", line 1441, in _run_raw_task
    result = task_copy.execute(context=context)
  File "/usr/local/lib/python3.6/site-packages/airflow/contrib/operators/kubernetes_pod_operator.py", line 135, in execute
    get_logs=self.get_logs)
  File "/usr/local/lib/python3.6/site-packages/airflow/contrib/kubernetes/pod_launcher.py", line 92, in run_pod
    return self._monitor_pod(pod, get_logs)
  File "/usr/local/lib/python3.6/site-packages/airflow/contrib/kubernetes/pod_launcher.py", line 105, in _monitor_pod
    for line in logs:
  File "/usr/local/lib/python3.6/site-packages/urllib3/response.py", line 430, in read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
  File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/urllib3/response.py", line 349, in _error_catcher
    raise ProtocolError('Connection broken: %r' % e, e)
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

View 9 previous comments from the original issue on GitLab


Add RPC call to wait for chain change

bgb asked for an RPC call to be able to wait until a new block has been accepted into the chain. This is implemented in huntercoin as a threaded, blocking RPC call, see https://github.com/chronokings/huntercoin/blob/master/src/huntercoin.cpp#L1581
This is probably a good thing for gridcoinstats as well.

I agree that this command can be useful. But how expensive is to getinfo every 90 seconds?

Not very expensive of course, but to me it is about accuracy, which means polling more than 90 seconds. If I have block info on the site, I want it to be as accurate as possible and not be delayed or missing blocks because the network was faster or slower than 90 seconds.

You can not possibly miss a block if you also go for the hashPrev of the best block.
How fast can you refresh the displayed explorer page?

@tomasbrod could be refreshed instantly using WebSockets.

I think for an explorer I would still want to supplement things. But for say the pool, the info would be mostly informational. I have a nodejs/websocket layer already in the pool, but I am not utilizing it yet really, but want to.

Maybe this can be used instead?
  -blocknotify=<cmd>     Execute command when the best block changes (%s in cmd is replaced by block hash)

Blocknotify can be used for this.


Custom roles not saving abilities

Trying to make use of a custom user role, i've found that the abilities for a user are not being saved at all IF the abilities are being applied to "All" rather than a specific page type.
Result being that users of that custom role have no abilities and cannot login to the CMS.

Further to this, using individual page types to set privileges including edit and publish for a user role, users with edit/publish "in app" privileges still cannot log into the CMS... (User does not have admin privileges error thrown to the console.)

This should be fixed now in the Respond 4.5 branch.

This issue is still present in Respond 4.6, there's an issue with a variable name in the getPrivileges method (canView should be renamed to canDo).

Wow!  Thanks.  This does fix the issue.  Saved me a lot of time hunting that down.  I will push an update to 4.8.

This looks like it is fixed now.


Logged out!

/media # linuxacademy-dl -u user -p pass https://linuxacademy.com/cp/courses/lesson/course/997/lesson/3/completed/2/module/119
INFO     Logging in ...
INFO     Analyzing ...
INFO     Downloading files ...
INFO     Skipping already existing file /media/8 - Highly Available & Fault Tolerant VPC Networking/1 - Auto Scaling and Elastic Load Balancing Essentials.mp4
...
INFO     Skipping already existing file /media/29 - Disaster Recovery/1 - Disaster Recovery.mp4
INFO     Skipping already existing file /media/18 - Redshift/1 - RedShift Essentials.mp4
INFO     Logged Out!
ERROR    Unknown Exception
ERROR    list index out of range
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/cli.py", line 206, in main
la.download()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/linux_academy.py", line 155, in download
self._course.download()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/course.py", line 102, in download
asset.download()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 140, in download
self.analyze()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 136, in analyze
self._resources = self.get_resources()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 133, in get_resources
return processor()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 108, in call
return self.process()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 71, in process
play_list_url = self.get_m3u8_playlist_url(lesson_page_source)
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 64, in get_m3u8_playlist_url
return LessonProcessor.m3u8_grabber.findall(lesson_page_source)[0]
IndexError: list index out of range
INFO     Please report this issue on https://github.com/vassim/linuxacademy-dl/issues. Make sure you are using the latest version. Be sure to call linuxacademy-dl with the --debug flag and include its complete output.
/media #

Adding the --debug flag adds this:
DEBUG    Python: CPython 2.7.13 (default, Dec 22 2016, 09:22:15) [GCC 6.2.1 20160822]
DEBUG    Platform: Linux-4.4.0-59-generic-x86_64-with [#80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017]
DEBUG    OS: Unknown

Hi @mabushey, Thank you for reporting this issue. I think this issue is beyond the scope of this project. The course you are referring here has some missing videos (Eg: SQS Essentials) and this problem must be happening because of that.

Hi Vassim,
I am facing the issue when I tried to download the videos and here is the error I am getting:
]# linuxacademy-dl -u  xxx -p xxxx  https://linuxacademy.com/cp/modules/view/id/204
INFO     Logging in ...
INFO     Retrieving an authentication token. Please wait...
INFO     Authentication token acquired!
INFO     Analyzing ...
INFO     Downloading files ...
INFO     Skipping already existing file /root/Lambda-Deep-Dive-NEW/1 - Getting Started/1 - Course Introduction.mp4
INFO     Skipping already existing file /root/Lambda-Deep-Dive-NEW/1 - Getting Started/2 - About the Course Author.mp4
INFO     Skipping already existing file /root/Lambda-Deep-Dive-NEW/1 - Getting Started/3 - How to Use The Lambda Cipher.mp4
INFO     Skipping already existing file /root/Lambda-Deep-Dive-NEW/1 - Getting Started/4 - Course Features and Tools.mp4
INFO     Logged Out!
ERROR    Unknown Exception
ERROR    list index out of range
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/cli.py", line 206, in main
la.download()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/linux_academy.py", line 222, in download
self._course.download()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/course.py", line 102, in download
asset.download()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 140, in download
self.analyze()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 136, in analyze
self._resources = self.get_resources()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 133, in get_resources
return processor()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 108, in call
return self.process()
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 71, in process
play_list_url = self.get_m3u8_playlist_url(lesson_page_source)
File "build/bdist.linux-x86_64/egg/linuxacademy_dl/assets.py", line 64, in get_m3u8_playlist_url
return LessonProcessor.m3u8_grabber.findall(lesson_page_source)[-1]
IndexError: list index out of range
INFO     Please report this issue on https://github.com/vassim/linuxacademy-dl/issues. Make sure you are using the latest version. Be sure to call linuxacademy-dl with the --debug flag and include its complete output.
Kindly advise how to resolved this issue.


using relative paths in bower.json main files

...tools like wiredep won't work otherwise

Good hint! thank you @jonaszuberbuehler :-)

No problem @ginader. Thx for the good work!


Setting up the database, modification the exisiting blazor component for the sign-in sign-up functionality, pipeline updates  (#2, #11, #12, #15)

Providingt the modification according to this issues

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Update getStepCount().md

Just updating the documentation as the previous changes was incorrect.
As shown in the Objective-C implementation here:
- (void)fitness_getStepCountOnDay:(NSDictionary *)input callback:(RCTResponseSenderBlock)callback
{
    NSDate *date = [RCTAppleHealthKit dateFromOptions:input key:@"date" withDefault:[NSDate date]];

    if(date == nil) {
        callback(@[RCTMakeError(@"could not parse date from options.date", nil, nil)]);
        return;
    }

    HKQuantityType *stepCountType = [HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierStepCount];
    HKUnit *stepsUnit = [HKUnit countUnit];

    [self fetchSumOfSamplesOnDayForType:stepCountType
                                   unit:stepsUnit
                                    day:date
                             completion:^(double value, NSDate *startDate, NSDate *endDate, NSError *error) {
        if (!value) {
            callback(@[RCTJSErrorFromNSError(error)]);
            return;
        }

         NSDictionary *response = @{
                 @"value" : @(value),
                 @"startDate" : [RCTAppleHealthKit buildISO8601StringFromDate:startDate],
                 @"endDate" : [RCTAppleHealthKit buildISO8601StringFromDate:endDate],
         };

        callback(@[[NSNull null], response]);
    }];
}

getStepCount is accepting date as optional and returning startDate, endDate and value.
Changes:

Replace startDate and endDate in options with date and commented it with optional.
Add startDate and endDate to the return result

Hey @kw7oe!
Thanks for the contribution. Currently, this project is being deprecated in favour of react-native-health
Would definitively be valuable if you could move your PR to that repo instead! Also, let me know if you have any feedback on the project

Hi @lucaspbordignon,
Thanks for the update. I have checked on react-native-health documentation on getStepCount and it looks good for me. Will close this one first 💯


refactor: remove db file on db drop command.

Fixes https://github.com/paradigmxyz/reth/issues/874

Codecov Report

Merging #885 (97f1ae1) into main (5c80bc9) will increase coverage by 0.10%.
The diff coverage is 0.00%.

:exclamation: Current head 97f1ae1 differs from pull request most recent head 1629647. Consider uploading reports for the commit 1629647 to get more accurate results

@@            Coverage Diff             @@
##             main     #885      +/-   ##
==========================================
+ Coverage   73.44%   73.54%   +0.10%
==========================================
  Files         280      280
  Lines       29631    29874     +243
==========================================
+ Hits        21763    21972     +209
- Misses       7868     7902      +34

Flag
Coverage Δ

unit-tests
73.54% <0.00%> (+0.10%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

bin/reth/src/db/mod.rs
0.00% <0.00%> (ø)

crates/metrics/metrics-derive/src/expand.rs
80.59% <0.00%> (-18.78%)
:arrow_down:

crates/transaction-pool/src/test_utils/mock.rs
53.11% <0.00%> (-6.60%)
:arrow_down:

crates/metrics/metrics-derive/src/metric.rs
78.12% <0.00%> (-2.37%)
:arrow_down:

crates/consensus/src/config.rs
50.00% <0.00%> (-1.29%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
58.87% <0.00%> (-0.50%)
:arrow_down:

crates/net/rpc-builder/src/lib.rs
2.04% <0.00%> (-0.35%)
:arrow_down:

crates/metrics/metrics-derive/src/lib.rs
100.00% <0.00%> (ø)

crates/executor/src/config.rs
94.87% <0.00%> (+0.04%)
:arrow_up:

crates/interfaces/src/test_utils/headers.rs
93.66% <0.00%> (+0.18%)
:arrow_up:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add teplate "Responsive Side Navigation Layout""

please create a template with "Responsive Side Navigation Layout" and send it to http://materializecss.com/getting-started.html
And add to template logo like the sketch

Duplicate #650


Manually specifying namespaces no longer works

I noticed that in v0.1.11, trying to set namespaces individually and manually no longer works:
# /usr/local/bin/zdbfs \
  -o mh=2a02:1802:5e:0:c11:7dff:fe8e:83bb \
  -o mp=9900 \
  -o mn=18-622157-meta0 \
  -o ms=password \
  -o dh=2a02:1802:5e:0:c11:7dff:fe8e:83bb \
  -o dp=9900 \
  -o dn=18-622159-data0 \
  -o ds=password \
  -o th=2a02:1802:5e:0:c11:7dff:fe8e:83bb \
  -o tp=9900 \
  -o tn=18-622158-temp0 \
  -o ts=password \
  /mnt
[+] initializing zdbfs v0.1.11
[+] blocks cache size: 4096 KB
[+] virtual filesystem size: 10.0 GB
[-] zdb: select: zdbfs-meta: Namespace not found

It works as expected in v0.1.10, so I guess this has to do with the supported added for specifying the host, port, and socket universally.

I see the issue now. To facilitate the global options, the code that sets defaults was moved to after the call to the parsing function. While this is needed for options that have a global, and will be handled properly, for the other options it means the default is always used.


Errored

Here is the error
http://pastebin.com/G26uNGHv#
please help me

Update OpenModsLib (and OpenBlocks).


CSS class hashes to prevent CDS site overrides

https://github.com/ctxhou/postcss-hash-classname

Something similar to Svelte


Do QA testing for replacement of Gulp

What
Test the latest Prototype Kit code thoroughly. Including on GDS managed macs.
Why
We want to make sure the changes to remove Gulp will work for the majority of our users without issues.
Who needs to work on this
Anyone
Who needs to review this
@joelanman
Done when

[x] Test on GDS managed mac (@joelanman has one set up for testing)
[x] Test with Heroku
[ ] Test with Glitch
[ ] Test updating an existing prototype
[x] Test on Windows (@BenSurgisonGDS has one)
[ ] Test with users?
[x] Look at how many people have created custom Gulp stuff?

While doing this exercise we found a couple of bugs:

#1349
#1354
#1355

We might want to repeat it after those have been fixed.

@joelanman would you mind checking something? I notice that when you used your managed Mac, it was using Node 14... if you update the Mac to use the latest version of Node in the GDS App Store, does that remain the case?
I think if so we should ask GDS IT to update Node in the app store to be Node 16.

Just testing on Glitch, npm install did not appear to happen automatically (no node_modules) and when I try to run it manually it takes a long time then crashes on:
Installing Cypress (version: 9.6.1)

✔  Downloaded Cypress
✖  Unzipping Cypress        5% 532s

Glitch is running Node 12 :(

I manually removed optional dependencies and forced node 16, still get errors:
node v16.14.2, npm 7.20.6
Installing...
npm notice
npm notice New major version of npm available! 7.20.6 -> 8.11.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.11.0>
npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
npm notice
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /app/node_modules/ansi-escapes
npm ERR! dest /app/node_modules/.ansi-escapes-0e9hgmra
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/app/node_modules/ansi-escapes' -> '/app/node_modules/.ansi-escapes-0e9hgmra'
npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npm-cache/16.14.2/_logs/2022-06-01T09_38_57_202Z-debug.log
><EMAIL_ADDRESS>predev
> node lib/build/check-files
><EMAIL_ADDRESS>dev
> node start
/rbd/pnpm-volume/1ec94afc-a69e-4eaf-bee4-f9f4f5dbf38a/node_modules/ignore/index.js:230

SyntaxError: Unexpected end of input
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1032:15)
    at Module._compile (node:internal/modules/cjs/loader:1067:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/rbd/pnpm-volume/1ec94afc-a69e-4eaf-bee4-f9f4f5dbf38a/node_modules/globby/gitignore.js:6:19)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)

it's possible Glitch are having problems, I can't get an older Prototype Kit to run either, it completes npm install (again using Node 12, and it takes 81344ms) but it won't run, it just hangs, nothing in the logs.

@lfdebrux IT have told me Self Service has Node 16. Attempting to test on managed mac but its having some problems with Self Service

Calling this done.


Proposal: drop scala 2.11, upgrade scalajs to 1.1.1, cats to 2.2.0-M1, refined to 0.9.15

Fixes #164
I'm currently using droste for work and we want to move forwards with the ecosystem to sjs 1.x, especially given that cats and cats-effect have dropped the support for sjs 0.6.x, and cats isn't published for 2.11 anymore.

Fine with me! Sorry for the delay.


Auto change TextField's keyboardType.

I want to dynamically modify the keyboard type of TextField.
But after I modified the keyboard type, the UI was not updated after calling setState().
Only when I manually close the keyboard and reopen it , then it update.
class _MyHomePageState extends State<MyHomePage> {
  TextInputType keyboardType = TextInputType.number;
  FocusNode focusNode = FocusNode();

  void _changeKeyboardType() {
    if (keyboardType == TextInputType.text) {
      keyboardType = TextInputType.number;
    } else {
      keyboardType = TextInputType.text;
    }
    setState(() {});
    focusNode.unfocus();
    Future.delayed(Duration(milliseconds:1), (){
      FocusScope.of(context).requestFocus(focusNode);
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(children: [
          TextField(
            keyboardType: keyboardType,
            focusNode: focusNode,
            // autofocus: true,
          ),
        ]),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _changeKeyboardType,
        child: Icon(Icons.refresh),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Hi @sanjin123
try with this code sample,
seems to work fine with the latest master
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @sanjin123
try with this code sample,
seems to work fine with the latest master
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I tried this solution and it works, thanks.


Invalid image name after deployment

I did every step as described in readme (installing from chart). Image tags seem to be wrong in some pods:
NAME                      READY   STATUS             RESTARTS   AGE
taiga-async-0             0/1     InvalidImageName   0          31m
taiga-async-rabbitmq-0    1/1     Running            0          31m
taiga-back-0              0/1     InvalidImageName   0          31m
taiga-db-0                1/1     Running            0          31m
taiga-events-0            1/1     Running            0          31m
taiga-events-rabbitmq-0   1/1     Running            0          31m
taiga-front-0             0/1     InvalidImageName   0          31m
taiga-gateway-0           1/1     Running            0          31m
taiga-protected-0         0/1     InvalidImageName   0          31m

Example for back:
Containers:
  taiga-back:
    Container ID:
    Image:          taigaio/taiga-back: {{ .Chart.AppVersion }}
    Image ID:
    Port:           8000/TCP

Warning event:
Warning  Failed         31m (x12 over 33m)     kubelet            Error: InvalidImageName
  Warning  InspectFailed  3m21s (x141 over 33m)  kubelet            Failed to apply default image tag "taigaio/taiga-back: {{ .Chart.AppVersion }}": couldn't parse image reference "taigaio/taiga-back: {{ .Chart.AppVersion }}": invalid reference format

Every other failed one has the same problem.
Helm version:
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.5"}

The solution for me was to provide tags in values.yaml.

This is still an active issue

Can you show what exactly you changed?

I'm sorry, it's been 1,5 year and I don't have a local copy of this chart anymore. Look inside the helm templates of the resources that fail to run in your cluster. For example taiga-async-statefulset has the following image defined:
image: "{{ .Values.taigaAsync.image.repository }}:{{ .Values.taigaAsync.image.tag | default .Chart.AppVersion }}"

the part {{ .Values.taigaAsync.image.tag | default .Chart.AppVersion }}" is the tag, so you probably need to set the values like this:
taigaAsync
    image:
        tag: [THE_CORRECT_TAG]

You can look for the correct tags on hub.docker.com
I'm sorry but that's everything I can do for you currently as I don't have my local copy anymore.

I've created fixes for the default tags in this pull request https://github.com/nemonik/taiga-helm/pull/18


ndt_matching of pcl_anh_gpu has died

Bug
When use 'pcl_anh_gpu', I got "operration not supported" error.
I think pthread_mutex can not use in the kernel function.
Steps to Reproduce the Problem

Use pcl_anh_gpu's ndt_maching on drivepx2

Specifications

Ubuntu version: 16.04

ROS Version: kinetic

Autoware branch: develop

Used Map: moriyama( only use bin_global*)

Machine: Nvidia DrivePX2

CPU: aarch64

HostMem: 8GiB

GPUMem: 4GiB

Error: operation not supported /home/nvidia/autoware/ros/src/computing/perception/localization/lib/fast_pcl/ndt_gpu/src/Registration.cu 366
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument
[ndt_matching-1] process has died [pid 13760, exit code -6, cmd /home/nvidia/autoware/ros/devel/lib/ndt_localizer/ndt_matching __name:=ndt_matching __log:=/home/nvidia/.ros/log/adb9dbe8-1c6e-11e8-bf2f-4ccc6ad50d08/ndt_matching-1.log].
log file: /home/nvidia/.ros/log/adb9dbe8-1c6e-11e8-bf2f-4ccc6ad50d08/ndt_matching-1*.log

@yk-fujii No, this is not pthread's problem. Somehow the system on NVIDIA DrivePX2 does not support cudaHostRegister. Hence, the system returns an error right after cudaHostRegister is called.

@anhnv3991
ah, I understand.
Is it difficult to implement without you using cudaHostRegister?
Is it impossible with cudaHostAlloc?

@anhnv3991
Great!
Could you create patch which is disable it on PX2(CPU arch is aarch64) only?

@yk-fujii OK.

@yk-fujii @anhnv3991 can we close this?

This is fixed in #1139 .


spelling: algorithm

mark CMS_R_UNKNOWN_DIGEST_ALGORITM as compat
mark CMS_R_UNSUPPORTED_RECPIENTINFO_TYPE as compat
Split from #3459

Note: this uses the same notation I'm proposing in #3460

For "bookkeeping" purposed I would insist on making this commit specifically about CMS and not spelling of specific word[s]. This means that ghashv8-armx.pl should not be part of it.

@dot-asm: sure, I can split those two out. That's perfectly reasonable.

Merged. Thanks for report.


(compiling sass) Invalid CSS after "...N THE SOFTWARE."

What should happen?
When I import foundation like this on Vue:
<style lang="scss">
@import 'sass/_settings.scss';
@import 'sass/foundation-sites/scss/foundation.scss';
</style>

I would expect that Foundation is loaded into my website.
What happens instead?
Instead, I get this error:
Failed to compile.

./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=1!./src/App.vue
Module build failed:
// Copyright Joyent, Inc. and other Node contributors.
^
      Invalid CSS after "...N THE SOFTWARE.": expected 1 selector or at-rule, was "var getOwnPropertyD"
      in /home/besto/projects/sites/vue/foundation/founcho/node_modules/util/util.js (line 1, column 1)
 @ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=1!./src/App.vue 4:14-359 13:3-17:5 14:22-367
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

Test Case and/or Steps to Reproduce (for bugs)
I'm unable to provide a test case because it's serverside and the error is in the build stage, so there's no web result yet. I uploaded my folder to a GitHub repo in case it's useful for anyone.
How to reproduce:

Install nodejs and npm
Prepare the vue project folder
npm i -g vue vue-cli
vue init webpack project-name
cd project-name
npm i -s foundation-sites node-sass sass-loader style-loader
Add the imports to App.vue

Note: I moved the foundation-sites folder from node_modules into src/foundation-sites for easier access from src/App.vue

<style lang="scss">
  @import 'sass/foundation-sites/scss/settings/_settings.scss';
  @import 'sass/foundation-sites/scss/foundation.scss';
</style>

Try to compile
npm run dev

Context
I'm trying to build a dynamic e-commerce website and thought that Vue would be the best choice for this, but given these problems, I'm not sure if I should keep going this way or look for another more complicated way that actually works.
Your Environment
I'm using the latest version of foundation, node 11, vue 3.6.
Link to the Github repo: https://github.com/Bestulo/founcho
Checklist

[x] I have read and follow the CONTRIBUTING.md document.
[x] There are no other issues similar to this one.
[x] The issue title and template are correctly filled.

Hi @Bestulo,
this looks like your sass-loader or config is not correct as these are comments from Node. You probably want to exclude node_modules and so on.
So far this is not a direct bug in Foundation Sites.

Alright. I guess this issue should be closed. Do you know how to configure that? I've been googling but I haven't found proper results. Thank you for your advice.

I have no experience with Vue so I would have to debug this using the linked repo.

I have no experience with Vue so I would have to debug this using the linked repo.

Thank you for your time. I'll switch to Vuetify for now as I can't find a way to solve the problem.

Solved by:

Remove
@import 'util/util';
from " _settings.sass"

Move
@import 'util/util';
before
@import 'settings/settings';
in "foundation.scss:

And in my sass entrypoint:

@import '~foundation-sites/scss/foundation';
@import '~motion-ui/src/motion-ui';
@include foundation-everything;
@include motion-ui-transitions;
@include motion-ui-animations;

@WrapTheCode This worked for me! Using WordPress w/ Webpack 4 + Foundation. Cheers!

Alternatively, you can include path to …/node_modules/foundation-sites/… to have shorter import statements in your scss files:
{
  loader: 'sass-loader',
  options: {
    sassOptions: {
      includePaths: [
        './node_modules/foundation-sites/scss',
      ],
    },
  },
},

Then you import foundation like so:
@import '_settings'; // file in your src/ i.e. src/_settings.scss
@import 'foundation'; // node_module/

simply replace

@import 'util/util';
from _settings.scss
by
@import '~foundation-sites/scss/util/util';

Never modify the package's file directly because, you changes will be replaced when package get updated

@lexprimost it's because of the missing includePaths setting.


Adding expectation functions

A bit like https://rstudio.github.io/pointblank/index.html, we can have some expectation functions to help assess the diagnostics results. The user gives some expectations and we check if these are met in the result
Some simple ones to start with:

is median age in a given range
is proportion male (vs female) in a given range

Need @albertpratsu to help think about how best to incorporate

expectations dataset

expectation_name
expectation_description

summarised result columns ..... (so that we know which result this would refer too)

group_level, group_name, etc ..... ?

thresholds

threshold_lower
threshold_upper

probably would be difficult for the user to know all the summarised resut columns etc, so probably easier to start with prespecified like median age etc (which we can find easily enough in the code)