Caching LESS Files

I know there's some chatter about the LESS compiling performance. I'd like to just add to that.
When developing a custom theme, you'll often include something like this.
css/bootstrap/bootstrap.less - which includes about 30 other BS LESS files
css/myCustomFile.less
now, when doing theme development, obviously having the LESS cache turned on is not an option, but because of the numerous LESS files, this is painful.
Ideally, I'd like to turn the cache on, but have a simple param available for whether or not a specific file should be cached or not. That way all the BS can be cached, while we work on our custom files. Something that looks like this would be sufficient:
css($view->getStylesheet('bootstrap/bootstrap.less', true))?>
css($view->getStylesheet('iGotStyle.less', false))?>
true being the default that would allow that file to get cached. false being a flag that wouldn't allow such and would require recompiling even with cache turned on.

I'm not exactly sure how it works with LESS, but Assetic (discussion: #3372) has caching system that only refreshes that one changed file based on modification time, and then joins it with other previously cached files to create one big CSS file. So I suppose that would also apply to recompilation of LESS files.


Latest-Data almost empty

I am using https://open-covid-19.github.io/data/data_latest.csv in my tracker.
It seems almost empty ... please fix.

Can you please provide a few examples of data that you expect to be there but it's currently missing?
To reduce the file size, we are now dropping rows which have no data other than Key and Date. Could that be what you are seeing?

It seems like all countries are missing expect the ones with local data.

Got it, let me investigate

I'm still not sure what's causing this, but I force-pushed an update and it should look good (for now, until the next automatic update)
https://github.com/open-covid-19/data/blob/gh-pages/data_latest.csv

Thanks ... looks good. Hopefully the next update won't break it again :)

The latest automatic update broke it again, I fixed it manually once more. I think gh-pages is having a hard time coping with the size of the data, soon we'll move to a cloud storage solution...

But why does it break „latest“? Its not so big ...

It doesn't break only data_latest.csv, it breaks the whole output. It seems that the github bot pushes an old commit to the server instead of the latest after an update. It could be a bug in the bot, although it would be strange that it started happening now.
I deleted the history of the gh-pages branch, we'll see what happens in the next automatic update tomorrow morning.

I'm 99% sure this is a GitHub Actions bug, and I couldn't resolve the issue. I simply disabled the automatic publishing of updates, I can run that locally and push manually to gh-pages branch since it's a pretty lightweight task.

Thank you! :)

Almost a month later, and I reencountered the same error in a completely different system. The root cause was that pathlib.Path.glob() (Python's equivalent to ls) returns items in different order depending on the filesystem. We combine the different tables into a single master table by iteratively performing left outer joins. My machine has APFS, whereas GitHub Actions (and other Linux servers) typically have some version of EXT. This led to the left outer joins picking up a table with only country-level data early on, and dropping all regional data -- but only on the Linux server!


RangeSlider thumb's center doesn't align with division's center and  thumb padding + rounded corners don't work as expected

Steps to reproduce
https://github.com/flutter/flutter/issues/149591
https://github.com/flutter/flutter/issues/62567
https://github.com/flutter/flutter/issues/149589
These three also exist for RangeSlider
Expected results
Thumb's center to align with division's center, proper thumb padding and rounded corners.
Actual results

Code sample
Code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  double _discreetSliderValue = 0.6;
  RangeValues _discreteRangeSliderValues = const RangeValues(0.2, 0.6);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        sliderTheme: const SliderThemeData(
          trackHeight: 32,
          thumbColor: Colors.green,
          activeTrackColor: Colors.deepPurple,
          inactiveTrackColor: Colors.amber,
        ),
      ),
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text(
                'Discrete Slider',
                style: Theme.of(context).textTheme.titleMedium,
              ),
              Slider(
                  value: _discreetSliderValue,
                  divisions: 5,
                  onChanged: (double newValue) {
                    setState(() {
                      _discreetSliderValue = newValue;
                    });
                  }),
              Text(
                'Discrete Range Slider',
                style: Theme.of(context).textTheme.titleMedium,
              ),
              RangeSlider(
                  values: _discreteRangeSliderValues,
                  divisions: 5,

                  onChanged: (RangeValues newValues) {
                    setState(() {
                      _discreteRangeSliderValues = newValues;
                    });
                  }),
            ],
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

These issues are also a  blocker when migrating RangeSlider to updated M3 design.


Merge UAT to PRD 16 Juli 2018

Coverage increased (+0.02%) to 78.537% when pulling d5b5cdcc9d6363a3f71162ab4b128c8dd220fae6 on uat into 40c923d6132cb3d32d69eac9ab1365eacd4b4a42 on master.


Updating the word "currently" to "might be"

Hi @devamiya, thank you for the update, however it looks like the change is a duplicate of earlier PR mentioned above.
In cases like that, we usually merge the earlier PR if possible. Thanks for understanding!


When tmux restores (including environment information), vf is not found

This is actually a pretty simple fix, but first a description so google hits this issue:-
If using tmux-resurrect, somehow virtualenv information is restored (if the last savepoint had a pane with a virtualenv loaded). This means 'vf' commands no longer work, which of course means that you're stuck with the virtualenv you started out with, as there's no 'deactivate' function unlike in other shells (all depends on vf).
The source of the problem is that when loading fish.config (since the virtualenv is still in use), the python binary being used is from the virtualenv. This is highly unlikely to have virtualfish installed.
The quick workaround/fix here is to put eval (/usr/bin/python -m virtualfish) rather than using just the name python. Seems to work for me.

Virtualfish 2.x should solve this; it gets rid of the python invocation on shell startup, instead writing out scripts with full paths at install time. For now, the workaround you've suggested should work.
I'm going to close this for that reason; feel free to reopen if there's any other brokenness.


Threading issue when using MoveIt services on mac

On a Mac, in some circumstances, when 4 or more calls are made to a ROS service with roslibpy, on the third or fourth call, the script hangs.  For example compas_fab/docs/examples/03_backends_ros/files/04_append_collision_meshes.py will hang when run from the terminal.  (It however runs fine in the context of invoke test --doctest --codeblock.)


unify @ynshah3's cornet submissions into one plugin

@ynshah3 please see if this makes sense to you (cleaning up the directory namespace)

all good, this is on our submission system for not being able to handle that many files at once

hi @ynshah3, the tests are running into
urllib.error.HTTPError: HTTP Error 404: Not Found

I can reproduce this locally. As far as I can tell, this is not an issue with the code change because the previous code also does not work, e.g.
    url = f'https://storage.googleapis.com/neurodp/0_0_0_ckpt.pt'
    ckpt_data = torch.hub.load_state_dict_from_url(url)

Did the files get moved?

@ynshah3 pinging this again


Table option to suppress checkbox column

I see many uses of Table to just view the results in a table format without the need to have the table drive further down-selection. Although the checkboxes on the left are great for having the table drive the next steps (selected rows) it would be great to have an option to have the table without this column.
Perhaps an option like 'selectable' with a default of true?

"disabled" would seem like a sensible choice?

I think disabled would retain the checkboxes, but in a disabled state. I think I’d prefer a select option.

For now, as a workaround, I am adding this style sheet to Inputs.table where I want to hide the first column:
  .nocheckbox td:nth-child(1), .nocheckbox th:nth-child(1) {     display: none;   }   .nocheckbox td:nth-child(2), .nocheckbox th:nth-child(2) {     padding-left: 0px;   }

For a css fix that wouldn't break the layout, we could consider visibility: hidden which should just toggle the visibility without affecting layout. https://developer.mozilla.org/en-US/docs/Web/CSS/visibility


NPM Demo 4.16

Will the npm build demo be updated to the 4.16 API?
I tried doing it myself but have run into issues with tslib. I tried updating it to match the version in the webpack demo but I am still not getting a stable build.

I am reporting an issue with

[ ] TypeScript definitions
[x] another resource in this repository

Forgot about that one. Updated, thanks!

I tried updating the package.json with the new api version.
It mostly works but I seem to have issues with geodesicBuffer after doing this.
I just throws an "Internal Error" when trying to do a geodesicBuffer
I have modified the app in the demo in git if you want to have a look. Just use the polygon sketch tool.
https://github.com/leevers/jsapi-resources/tree/master/4.x/npm/demo

Ah, thanks @leevers, I think I figured out the issue. Please bump the version to<EMAIL_ADDRESS>that should work now.

Thank you, this seems to be working better now


Delta values

GRETA has a "DELTA" x-list option in which it only outputs the timestamps when a mnemonic changes.  This could be a helpful option in the Telemetry Archive if we wanted to save on memory and decrease the output array size.  The user would just need to be aware that the delta timestamp isn't constant, but this is already the case now when using filter_bad=True.

MSID.logical_intervals() and MSID.state_intervals() in 0.13 now provide this functionality.


microsoft_gsl: Fix gcc8 build

Motivation for this change
Build breaks with our new GCC version and all the warnings we enable.
Until upstream fixes microsoft/GSL#806, we'll have to disable this warning.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @thoughtpolice @xwvvvvwx @yuriaisaka

backport:
[detached HEAD 4d378c25889] microsoft_gsl: Fix gcc8 build
Author: Daniel Schaefer<EMAIL_ADDRESS>Date: Fri Sep 13 11:35:50 2019 +0200
1 file changed, 3 insertions(+)


add doc string to generat proper docment.

Fixes #<GH_Issue_Number>
Status
<In development | not-tested | on hold | ready>
Description

Is it backward compatible (if not, which system it affects?)
<YES | NO | MAYBE>
Related PRs
<If it's a follow up work; or porting a fix from a different branch, please mention them here.>
External dependencies / deployment changes
<Does it require deployment changes? Does it rely on third-party libraries?>

@amaltaro
Could you review and commit?

@yuyiguo can you just update the PR description following the template suggested (as you can see above)

@amaltaro
Please merge.

test this please


Update LICENSE

ServiceGPT AI is analyzing the pull request

Here is the plan to proceed with this task:

The pull request diff shows that changes have been made in the 'LICENSE' file. You need to review these changes according to the coding standards document provided.

In the changes, I don't see any manipulations of the coding style like variable names, function names, indentation, or comments which the coding standards document mentions.

What changes are there: the copyright year has been updated to 2023, and a newline has been added at the end of the file.

To decide whether these changes are in line with the coding standards document, you would need specific rules regarding LICENSE file maintenance and copyright statements. The provided coding standards document does not include such rules.

So, in this case, coding standards can't be applied to this file, as it's more of a text file than a code file.

Recommendations to Improvement:

The coding standard document should include standards for maintaining and updating non-code files like the LICENSE file.

If the document was meant only for code files, then this PR doesn't seem to affect the codebase and hence should not violate any standards.

Only 'LICENSE' file has been modified in the PR.


Install on Windows 10 not working on power shell, but cmd

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 10 Pro Version 1607 amd64
TensorFlow installed from (source or binary):
Install via native pip or anaconda via:

conda create -n tensorflow python=3.5

TensorFlow version (use command below):
As described in the get started page:

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl

Bazel version (if compiling from source): -
CUDA/cuDNN version: -
GPU model and memory: -
Exact command to reproduce: -
Follow the install instructions [1] on windows using the power shell or git bash (with or without admin rights)
1: https://www.tensorflow.org/install/install_windows

You can collect some of this information using our environment capture script: https://github.com/tensorflow/tensorflow/tree/master/tools
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'

Describe the problem
Source code / logs
On running the pip install command, the classic "... wheel is not supported" error comes up:
PS C:\Users\user> pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl
tensorflow-1.0.1-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

Using the cmd, everything works just fine and i think, that a lot of people are having this problem out there right now, imho the install doc page must be updated to contain some warnings about this.

It looks like the powershell environment might be using a different platform.
Follow the command here to figure out what version you need.

Just a question, are you installing outside the conda env and importing tensorflow inside it?

@Carmezim I am not saying that it is not possible somehow like you're installing it, the point is, what you're doing does not match the install guide and standard case.
As described above I did follow the install guide for windows via both ways, via native pip and via anaconda as described in the install guide.
P.s.: We are in a loop here, this information has already been given. :)

@Carmezim thx for your comment [1] regarding the warnings and unknow op. This should somehow match the install guide for ident input (guide examples) and output.
1: https://github.com/tensorflow/tensorflow/issues/7778#issuecomment-281678077

@4F2E4A2E It does match the standard case as in it was installed satisfying all requirements in the Docs and with the code you provided that generated error for you on PowerShell.
If you're referring calling pip globally or using the script it won't make any difference whatsoever.
So the unsupported wheel error you received is due something wrong on your side and not a TensorFlow bug. One case for instance is if you have more than one Python installation which is not 3.5 64-bit generating conflicts with pip as it may be linked not to 3.5 but to other version. I am not sure if this is your situation.
The only thing I didn't test was to use a conda environment on PowerShell.

Thanks, i guess you're referring to https://github.com/tensorflow/tensorflow/issues/9273 right? :)

@4F2E4A2E I am referring to the unsupported wheel error you've got trying to install TensorFlow through Powershell, which is not a TensorFlow bug neither Powshell's but derived from a misconfiguration on your side. Then I mentioned one possible and common cause of this error which is multiple python installations and pip linking to an unsupported one (e.g. 2.7, 3.6 etc in this case).
The issue 9273 is a different situation non related to the problems you reported.
The only case to be addressed now is if there is any conflict using TensorFlow in a conda environment on PowerShell as you mentioned.

@4F2E4A2E Hi, did you make any progress? Let us know if you need help with anything else. If you successfully solved this issue can be closed now.

I had tensorflow working from the beginning, the only thing I wanted to point out is that if one follows the guide it won't work in some cases. I am glad you found the cause of this problem, you also sure did test it in a clean environment and can to 100% exclude any problems with the install procedure. Great job! 👍

which is not a TensorFlow bug neither Powershell's but derived from a misconfiguration on your side.


Add max length option

Should allow maxlength attribute to be set on input elements.

Thanks for the PR!
One of the goals of Formation is to reduce the template footprint of forms and move as much behavior and business logic as possible to controllers. To this end, Formation includes implementations of most of the common "attribute directives" that Angular provides for basic control validation, including max-length.
You can review the implementation and see usage examples here

The maxLength you/Angular provide is just a validator though, whereas the HTML input attribute limits the number of characters the user is actually able to type in the input box. So on inputs that want to set a hard limit on the number of characters allowed, stopping the user from being able to type more characters can be a great way to communicate that validation to the user.

Both a validator and the built-in HTML maxlength attribute will prevent more than X characters from winding up in your model (a "hard limit"), but I would argue that the Angular validator provides a more consistent user experience by showing a message to the user indicating what went wrong, whereas the HTML attribute does not (example CodePen).
In my opinion, it is a best practice to allow users to have invalid view values and then tell them what is wrong (while preventing bad model values from being written).
If you really wanted to enforce a max length on a control the way that the HTML attribute does, you could do so with a parser:
ngModelCtrl.$parsers.push(viewValue => {
  if (viewValue.length > 5) {
    let trimmedViewValue = viewValue.substr(0, 5);
    ngModelCtrl.$setViewValue(trimmedViewValue);
    ngModelCtrl.$render();
    return trimmedViewValue;
  }

  return viewValue;
});

Thanks for the feedback. I will attempt to use the parser like in the example you provided :)

I'll add support for all HTML5 attributes on input components in a future release. I've created this issue to track it.


docs: Clarify section title on filtering proper nouns

[x] PR title: "docs: Clarify section title on filtering proper nouns"

[x] PR message:

Description: The current title "Dealing with high-cardinality columns" for the section discussing how to filter on proper nouns in the SQL agent documentation is not quite accurate and may cause confusion.
While high cardinality (having many distinct values) is a characteristic of columns containing proper nouns like names or addresses, the section's focus is more on the challenges of handling inexact string matches for such values and the solution of using a vector store for disambiguation.
To better align the title with the content and avoid misinterpretation around the meaning of "high cardinality", this PR proposes changing the section title to:
"Filtering on Proper Nouns"
This shorter, more targeted title captures the key subject matter while keeping things concise. The technical details of the disambiguation approach using vector stores can be left to the section body.
This change should help readers quickly grasp the section's purpose and find the information they need more easily.

Issue: N/A

Dependencies: None

Twitter handle: N/A

[ ] Add tests and docs: N/A - this is a documentation update

[x] Lint and test: N/A - no code changes

Thanks for the review. Changed the title to Filtering on Proper Text.
Makes sense to me, since, for example, I didn't hard code the tables to retrieve the text from, but rather go dynamically through each table and extract the first two text columns.

i actually disagree, i think "high cardinality" is the unique thing here. if it is proper nouns but NOT high cardinality you can just put the the values as an enum or in the prompt


Add dependabot

Without this patch, our deps will have to be manually maintained.
This should fix it.

That's true, but those aren't the only ones...

When you check
https://github.com/weaveworks/kured/blob/549bb9b415edda492f8b4cefb63d82e48ab71aac/go.mod#L6-L14
	github.com/googleapis/gnostic v0.2.0 // indirect
	github.com/inconshreveable/mousetrap v1.0.0 // indirect
	github.com/prometheus/client_golang v0.0.0-20181230203121-fb3d5cb2ad57
	github.com/prometheus/common v0.0.0-20181218105931-67670fe90761
	github.com/prometheus/procfs v0.0.0-20190102135031-14fa7590c24d // indirect
	github.com/sirupsen/logrus v1.2.0
	github.com/spf13/cobra v0.0.0-20181127133106-d2d81d9a96e2
	k8s.io/apimachinery v0.18.8
	k8s.io/client-go v0.18.8

client-go and apimachinery is just a part of it :)

I do believe that dependabot shouldn't automatically be merged, until we've extended the functional coverage of those libs that will be bumped, though :)

dependabot will just open PRs - you need to merge them manually and can choose to close them

Yes, I meant if we later add automation to auto merge, which is possible :)


fix(deps): Swap lodash.assign for Object.assign.

Current coverage is 100% (diff: 100%)

Merging #29 into master will not change coverage

@@           master   #29   diff @@
===================================
  Files           1     1
  Lines          37    34     -3
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
- Hits           37    34     -3
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 9976b5e...be186b5


Mentor Profile Page

Description
Mentor profile page
Fixes #87
How to test?
storybook
Checklist

[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] This PR is ready to be merged and not breaking any other functionality

@Yaser-Aldammad Please fix the TimeZone so we can merge this one. Skills will be done in a future issue.

@Yaser-Aldammad Please fix the TimeZone so we can merge this one. Skills will be done in a future issue.


Variants & Kernel's is missing version info for nvidia drivers

Path to page with content (do not include domain name):
/en/os/1.14.x/version-information/variants/
What content is incorrect?
The nvidia driver version is commonly requested bit of info about variants that support GPUs and it's missing from this page.
What should the content say or communicate?
The nvidia driver should be listed as a column.

Sources
https://github.com/bottlerocket-os/bottlerocket/tree/develop/packages/kmod-5.10-nvidia
https://github.com/bottlerocket-os/bottlerocket/tree/develop/packages/kmod-5.15-nvidia
https://github.com/bottlerocket-os/bottlerocket/tree/develop/packages/kmod-6.1-nvidia
Rough logic:

find the /develop/packages/kmod-*-nvidia directories
split the directory by - , 2nd element is the kernel version
In that directory there is a Cargo.toml, get package.metadata.build-package.external-files element
In that element grab the filename from url
everything after the last - but before the extension is the version


python312Packages.dissect-btrfs: 1.4 -> 1.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.dissect-btrfs is: Dissect module implementing a parser for the BTRFS file system
meta.homepage for python312Packages.dissect-btrfs is: https://github.com/fox-it/dissect.btrfs
meta.changelog for python312Packages.dissect-btrfs is: https://github.com/fox-it/dissect.btrfs/releases/tag/1.5
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5 with grep in /nix/store/j6jygqx44gs7v6rz2ll57xs464v1772j-python3.12-dissect-btrfs-1.5
found 1.5 in filename of file in /nix/store/j6jygqx44gs7v6rz2ll57xs464v1772j-python3.12-dissect-btrfs-1.5

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

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath

acquire
python311Packages.acquire
python311Packages.dissect
python311Packages.dissect-btrfs
python311Packages.dissect-target
python312Packages.acquire
python312Packages.dissect
python312Packages.dissect-btrfs
python312Packages.dissect-target

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j6jygqx44gs7v6rz2ll57xs464v1772j-python3.12-dissect-btrfs-1.5 \
  --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 python312Packages.dissect-btrfs https://github.com/r-ryantm/nixpkgs/archive/227d056d46d11c1613a3fa1a4be59a014adbf6c8.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/227d056d46d11c1613a3fa1a4be59a014adbf6c8#python312Packages.dissect-btrfs

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j6jygqx44gs7v6rz2ll57xs464v1772j-python3.12-dissect-btrfs-1.5
ls -la /nix/store/j6jygqx44gs7v6rz2ll57xs464v1772j-python3.12-dissect-btrfs-1.5/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

16 packages built:

acquire (python312Packages.acquire)
acquire.dist (python312Packages.acquire.dist)
python311Packages.acquire
python311Packages.acquire.dist
python311Packages.dissect
python311Packages.dissect-btrfs
python311Packages.dissect-btrfs.dist
python311Packages.dissect-target
python311Packages.dissect-target.dist
python311Packages.dissect.dist
python312Packages.dissect
python312Packages.dissect-btrfs
python312Packages.dissect-btrfs.dist
python312Packages.dissect-target
python312Packages.dissect-target.dist
python312Packages.dissect.dist

Maintainer pings
cc @fabaff for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Done in https://github.com/NixOS/nixpkgs/commit/2e57d4fb284bd6f0024c19d451ec5016cc0de6a8.


Question about padding for TLS 1.2 with provided AES-256-CBC cipher (OSSL_FUNC_cipher_update versus OSSL_FUNC_cipher_final)

Hello,
I'm trying to implement a provider that can do TLS 1.2 with OpenSSL 3.0.7 and AES-256-CBC as cipher.
My question is about the invocation of EVP_CipherUpdate in tls1_enc, specifically about padding. At one point my provider gets 18 bytes as input. My implementation encrypts the first 16 bytes, but I don't see a corresponding EVP_CipherFinal invocation, so the remaining 2 bytes are effectively discarded and TLS fails overall.
tls1_enc has this comment:
* We only do this for legacy ciphers. Provided ciphers add the
* padding on the provider side.

My understanding is that normally only OSSL_FUNC_cipher_final should handle padding. But maybe in this case my implementation of OSSL_FUNC_cipher_update should perform padding too? If so, how can I distinguish this special case?

My understanding is that normally only OSSL_FUNC_cipher_final should handle padding.

For non-TLS based usage - yes.

But maybe in this case my implementation of OSSL_FUNC_cipher_update should perform padding too? If so, how can I distinguish this special case?

In order to be usable in TLS your cipher needs to support the OSSL_CIPHER_PARAM_TLS_VERSION EVP_CIPHER_CTX parameter. See the "Settable EVP_CIPHER_CTX parameters" section of this man page:
https://www.openssl.org/docs/man3.0/man3/EVP_EncryptInit.html
Probably we could do with some doc updates there. The documentation is a little...err...terse! :-)
If the OSSL_CIPHER_PARAM_TLS_VERSION parameter has been passed then you know that the cipher is being used in a TLS context. With TLS each call to EVP_CipherUpdate() is passing a whole TLS record and TLS record padding is expected to be applied by the cipher. This is how the built-in OpenSSL ciphers do it:
https://github.com/openssl/openssl/blob/bdac6bcc50bb93b61989cee3f74a65c34abe1bd2/providers/implementations/ciphers/ciphercommon.c#L252-L326

Oh....I should also mention that it needs to support the gettable OSSL_CIPHER_PARAM_TLS_MAC param and settable OSSL_CIPHER_PARAM_TLS_MAC_SIZE param.
If the mac size > 0 then the cipher needs to also be provide a pointer to the mac in a decrypted record in order to support mac-then-encrypt (i.e. if the encrypt-then-mac extension is not negotiated).
See:
https://github.com/openssl/openssl/blob/bdac6bcc50bb93b61989cee3f74a65c34abe1bd2/providers/implementations/ciphers/ciphercommon_block.c#L137-L190
and
https://github.com/openssl/openssl/blob/bdac6bcc50bb93b61989cee3f74a65c34abe1bd2/ssl/record/tls_pad.c#L96-L178
This is quite tricky to do correctly since it needs to be done in constant time to avoid certain attacks.

Thank you very much. Your explanation has been very helpful. I'm getting much further now.

I still have a question, specifically about decryption, which works differently than I expected.
For example, suppose my OSSL_FUNC_cipher_update, after the removal of padding, has 51 bytes of output, meaning 16 bytes random IV and 35 bytes of payload. To get the whole handshake to work, I find that I have to copy back all 51 bytes to *out, but I have to set *outl to 35, not 51.
I could very well be misunderstanding, but this seems to be because of this fragment in tls1_enc in https://github.com/openssl/openssl/blob/openssl-3.0.7/ssl/record/ssl3_record.c :
https://github.com/openssl/openssl/blob/19cc035b6c6f2283573d29c7ea7f7d675cf750ce/ssl/record/ssl3_record.c#L1196-L1200
The intention of this code is to skip the 16 bytes random (bs == 16). I would expect it to subtract bs also from recs[0].length. But because it does not, my workaround is basically to compensate for that by assigning a 16 bytes smaller value to *outl. Everything works now, but it feels wrong to do this.
For what it's worth: on the corresponding legacy cipher path a little further down in tls1_enc, it does subtract bs also from recs[ctr].length:
https://github.com/openssl/openssl/blob/19cc035b6c6f2283573d29c7ea7f7d675cf750ce/ssl/record/ssl3_record.c#L1246-L1253
All this is still with OpenSSL 3.0.7. I haven't had time yet to try newer versions. The code in master (https://github.com/openssl/openssl/blob/master/ssl/record/methods/tls1_meth.c) looks the same in this regard, though.


Revert "Rewrite redirect code with pipe and cloexec" #403

This reverts commit https://github.com/realworldocaml/mdx/commit/de43f19ab1f3e37acc439fb27a54fb7ea978935d, introduced in "Rewrite redirect code
with pipe and cloexec" #403.
It is not possible (or difficult) to set non-blocking mode on pipes on
Windows. Moreover, using pipes instead of a file as a buffer between
subprocesses makes it harder to investigate hangs and data being
transferred.
I've added explicit close-on-exec flags from the previous PR.

@MisterDA @polytypic Thanks for the input. I'll try to wrestle the CI to get it to build.


Allow omitting value generation via convention when scaffolding

AnnotationsCodeGenerator currently allows to specify that a given annotation shouldn't be code-generated, since it is by-convention. However, the same isn't true of other, non-annotation settings such as value generation.
More concretely, PostgreSQL supports several methods of database-generated autoincrement values - serial (simple column backed by a sequence), and since PostgreSQL 10 also identity (with two variants, always and by default). NpgsqlValueGenerationStrategy has all these options and there are property builders for specifying them. The problem is that when scaffolding an identity column, in addition to the UseNpgsqlIdentityByDefaultColumn() property builder method, ValueGeneratedOnAdd() is generated, although the latter should be implied by the former.
This is obviously a very non-urgent issue.

👍 We hit the same problem in #10183 where SQL Server adds index filters by convention.


Improved Path Expansion Interaction

fix #528
There are more improvements we could make here (e.g. https://github.com/NeurodataWithoutBorders/nwb-guide/issues/510), but here's a working integration of https://github.com/catalystneuro/neuroconv/pull/680/files.

UI looks/feels really good so far
However, run into
index.js:39 [main-process]: [2024-02-18 14:05:11,925] ERROR in app: Exception on /neuroconv/locate/autocomplete [POST]
Traceback (most recent call last):
  File "D:\GitHub\nwb-guide\pyflask\apis\neuroconv.py", line 86, in post
    return autocomplete_format_string(neuroconv_api.payload)
  File "D:\GitHub\nwb-guide\pyflask\manageNeuroconv\manage_neuroconv.py", line 131, in autocomplete_format_string
    raise "Path is not contained in the provided base directory."
TypeError: exceptions must derive from BaseException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\api.py", line 404, in wrapper
    resp = resource(*args, **kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\views.py", line 109, in view
    return current_app.ensure_sync(self.dispatch_request)(**kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\resource.py", line 46, in dispatch_request
    resp = meth(*args, **kwargs)
  File "D:\GitHub\nwb-guide\pyflask\apis\neuroconv.py", line 89, in post
    neuroconv_api.abort(500, str(exception))
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\namespace.py", line 153, in abort
    abort(*args, **kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\errors.py", line 28, in abort
    flask.abort(code)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\helpers.py", line 277, in abort
    current_app.aborter(code, *args, **kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\werkzeug\exceptions.py", line 861, in __call__
    raise self.mapping[code](*args, **kwargs)
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

when I actually hit submit on the popup
SpikeGLX-Phy pipeline on tutorial data

(Perhaps symlink related?)

Yes, can confirm it's a symlink issue. The SpikeGLX one works fine
@garrettmflynn I can flag this on the NeuroConv side, but for now I guess it might be simplest for everyone if we just copy the artificial Phy data to each subdirectory, similar to the SpikeGLX. Could you make that adjustment? (the Phy data is pretty lightweight)

Steps to reproduce

generate tutorial data
generate pipelines
go to SpikeGLX-Phy pipeline
for Phy, specify the base folder for the tutorial dataset
go through autocomplete; select the example folder as one of the 4 phy folders and type in the subject/session IDs
hit 'create'

Traceback (most recent call last):
  File "D:\GitHub\nwb-guide\pyflask\apis\neuroconv.py", line 86, in post
    return autocomplete_format_string(neuroconv_api.payload)
  File "D:\GitHub\nwb-guide\pyflask\manageNeuroconv\manage_neuroconv.py", line 131, in autocomplete_format_string
    raise ValueError("Path is not contained in the provided base directory.")
ValueError: Path is not contained in the provided base directory.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\api.py", line 404, in wrapper
    resp = resource(*args, **kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\views.py", line 109, in view
    return current_app.ensure_sync(self.dispatch_request)(**kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\resource.py", line 46, in dispatch_request
    resp = meth(*args, **kwargs)
  File "D:\GitHub\nwb-guide\pyflask\apis\neuroconv.py", line 89, in post
    neuroconv_api.abort(500, str(exception))
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\namespace.py", line 153, in abort
    abort(*args, **kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask_restx\errors.py", line 28, in abort
    flask.abort(code)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\flask\helpers.py", line 277, in abort
    current_app.aborter(code, *args, **kwargs)
  File "D:\anaconda3\envs\nwb-guide\lib\site-packages\werkzeug\exceptions.py", line 861, in __call__
    raise self.mapping[code](*args, **kwargs)
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Unless I'm missing something

Ah I see. While Electron doesn't resolve the symlink (if you click on it, rather than into it), the Path(x).resolve() call in the comparison does on the Python side of things.
Fixed that. Once symlinks resolve, I can't think of a reliable way to do this at all.

Now the problem seems to be that when I select the symlinked Phy folder, it resolves to the actual test data folder instead of the one to apply autocomplete to

Yes, that's unavoidable when going through the filesystem using the native file selector. I'd gestured at this when distinguishing between clicking on the folder and clicking into it. Here are some screenshots to illustrate this point:
Works (clicking Phy once and pressing Open)

Fails (double-clicking Phy and pressing Open)

This means that symlinks are fundamentally going to present a challenge for this helper, as the way this interaction works is inherent in Electron and controlled by the user.

Works (click Phy once and press Open)

Windows doesn't have this behavior; selecting it by the 'once -> open' method works in the selector then becomes the true folder in the gray box, where there's no path to specify
Is there a way to detect if it is a symlink and forbid it with a message along the lines of 'symlinks aren't allowed for this feature'?
If that's all we can do, then should definitely adjust the tutorial data to copy Phy instead of symlinking it

Yeah, that sounds like all we can do. I've added two errors: One when you provide a symbolic link directly, and another as soon as you provide a path that isn't included in the base_directory.

The errors aren't showing up on Windows (still resolving directly to the target) - can you give your Windows a try? (and then update tutorial generator to copy)

I'm not at home right now, but I'll swap out for my PC as soon as I can.

The errors aren't showing up on Windows (still resolving directly to the target) - can you give your Windows a try?

These should pop up as red errors underneath the file input. I've just confirmed on a fresh Windows system that the "Must specify path in base directory" error works for the Phy test dataset, whereas the "Does not handle symlinks" one will never show up because Windows handles the resolution of the symlink path internally—so I'm not able to catch it except for the fact that the path is no longer contained.

No error was shown for you?

No error was shown for you?

I do get "Must specify path in base directory", but was expected the symlink error. The current one is rather confusing in explaining the 'why' of the error since I feel like I did what I was supposed to do in that case

whereas the "Does not handle symlinks" one will never show up because Windows handles the resolution of the symlink path internally

since it's not possible for Windows, maybe modify the other error message to include "This is likely due to the target being a symlink, which is unsupported by this feature."?

Got it. I'll add that at some subtext

@garrettmflynn I find this to be very busy

I much prefer this view:

In general, the error messages are really crowding up this interface. I think usually with forms you only get these messages if you edit a field or if you try to press continue before the end. Would it be possible to do that here? Otherwise, I think the UI is so busy it's hard to know what to do.

Also, for this element:

I think it we should be able to determine if this should be a directory or a file given the signature of the interface. Could you constrain it that way?

Another thing. I tried entering "example" and then finding the relevant file, and the error message continued on the subject field.

If you are expecting the user to file the file or folder first, can you inactivate the other fields until one is selected?

I think calling the button "Create" is a bit confusing. I understand you mean "create an fstring," but I think "Done" makes more sense here.

Can you also change "Example Filesystem Entry" to "Example file" or "Example folder" depending on the requirements of the Interface?

Here, I am in the SpikeGLXConverter AutoComplete modal

It's not clear to me what file or folder I should be selecting. Should it be a .bin file? Should it be the metadata file, or the folder that contains all of it? This information should be in the  description of the field in the json schema. Can you have that description show up here?


[Storage] Storage client does not use ProxyPolicy

The _create_pipeline method does not use the proxy_policy object from the configuration object. Currently, the only way to configure a proxy is using environment variables.
cc/ @johanste, @lmazuel

Fixed in https://github.com/Azure/azure-sdk-for-python/pull/8089


docs: clarify when to use for_each and count meta-arguments

Add section that describes how to use the count meta-argument to conditionally create resources. We use this technique in both the Web App and VM modules.
Remove the point that describes how to use the count meta-argument to create repeatable unnamed resources. Using for_each is always the safer approach, as it depends on static keys rather than dynamic indexes.

Closes #147, closes #63.

@equinor/terraform-baseline-maintainers Created this PR after the discussions in today's meetup. Any comments, or do you agree? 🙂


[FEATURE] Add side page that lists all object categories in all public folders

As a follow-up, the ability to click the object label and see any videos with annotations on them in a list would be helpful like
video name - video user  with links

so present the username with hyperlink on each video label? Or there is more to it?

Please add more details.

What is an "object label"?
What is a "video user"?
What page is this on?  The viewer?  The data manager table?

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

Describe the solution you'd like
Create a page (for all users? admins? dynamic based on user role?) that lists all types of objects across all datasets.

This list should be collapsible or somehow show links to all the videos that include this object.

Additional context
Anything else?  Does some other piece of software you know of have this?  Can we steal ideas from somewhere else?

I think this is a good idea.  It seems like it would be building towards having searchable data repository for doing vision stuff.
It would require a lot more gymnastics on the server side than we have right now.  I'm not really sure what this would look like, we might have to reconsider #306.

This appears to be a duplicate of #648, let's merge discussion into that issue?

I'm going to make a very rough pass on generating some summary data using celery.


Fix loader-utils warning

Update to loader-utils v1.0 and change the call from parseQuery to getOptions
Context here: https://github.com/webpack/loader-utils/issues/56

Hello @deepsweet
Did you have time to review this? Do you have an estimate date when this will be able to be merged and published?

Hi.
It should be fixed soon https://github.com/webpack-contrib/istanbul-instrumenter-loader/tree/d3viant0ne-DefaultsUpgrade as a part of moving to webpack-contrib org.

@DanielaValero - loader-utils upgrade enforces NodeJS > 4.3 and requires a semver Major not minor
It will be a part of the webpack-defaults upgrade as to not release back to back majors and should be out to npm later today.

Awesome guys! Thanks a lot for the quick replies

Superseded by #61 Thx :)


Update README.md to include auth login fix for github codespaces users

Purpose
Proposes an alternative command for azure auth login that solves issues encountered by GitHub Codespaces users.
Closes https://github.com/Azure-Samples/azure-search-openai-demo/issues/1855
Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
[x] Yes
[ ] No

Type of change
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

Code quality checklist
See CONTRIBUTING.md for more details.

[ ] The current tests all pass (python -m pytest).
[ ] I added tests that prove my fix is effective or that my feature works
[ ] I ran python -m pytest --cov to verify 100% coverage of added lines
[ ] I ran python -m mypy to check for type errors
[ ] I either used the pre-commit hooks or ran ruff and black manually on my code.

Technically azd is supposed to autodetect when to use device code, but I just got another report of it not working, so I think we should go ahead and document.


Backport AVRO-3715: [Java, Python] Fix build issues for branch-1.11

(cherry picked from commit 0b17623c1ca98899b4b2b98b7e63a3508f61ea21)

What is the purpose of the change
(For example: This pull request improves file read performance by buffering data, fixing AVRO-XXXX.)
Build failure due to wrong version
Verifying this change
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@nielsbasjes Can you please review this

Hello!  I'm taking a look at this -- thanks so much for identifying the commits!
Other committers: please make sure that you don't squash and merge this -- they should be committed individually!  It makes it easier to track the differences between badges.

Thanks @RyanSkraba

Hey @RyanSkraba, did you get some time to check this out?
Really looking forward to get this in.

Hey -- hello!  I've been hard at work getting the list of commits to cherry-pick in place, and they're getting close!
I think we can close this.  Some of the cherry-picks are unnecessary (anything to do with github actions, for example), and there's still a bunch missing outside of Java and Python.   I'm attempting to do them in branch-1.11 in the same order as they should have been picked on master.
Thanks so much for identifying these! Once we have something closer to a release candidate on branch-1.11, I'll be sure to check in to make sure you're happy with the state!

Thanks @RyanSkraba for taking this forward :)

Just to follow up.  https://github.com/apache/avro/pull/2284 Thanks again -- hopefully this will lead to a 1.11.2 release candidate soon!


fix Scala 3 semiauto

before
Welcome to Scala 3.1.1 (1.8.0_322, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.

scala> case class A(x: Int); case class B(y: A)
// defined case class A
// defined case class B

scala> io.circe.generic.semiauto.deriveEncoder[B] // don't derive nested classes if semiauto!?
val res0: io.circe.Encoder.AsObject[B] = anon$1@1ea5f0e7

after
Welcome to Scala 3.1.1 (1.8.0_322, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.

scala> case class A(x: Int); case class B(y: A)
// defined case class A
// defined case class B

scala> io.circe.generic.semiauto.deriveEncoder[B]
-- Error: ----------------------------------------------------------------------
1 |io.circe.generic.semiauto.deriveEncoder[B]
  |^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |cannot reduce summonFrom with
  | patterns :  case given encodeA @ _:io.circe.Encoder[A]
  | This location contains code that was inlined from Derivation.scala:53
  | This location contains code that was inlined from Derivation.scala:70
  | This location contains code that was inlined from Derivation.scala:51
  | This location contains code that was inlined from Derivation.scala:86
  | This location contains code that was inlined from semiauto.scala:27
1 error found

Scala 2.x
Welcome to Scala 2.13.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_322).
Type in expressions for evaluation. Or try :help.

scala> case class A(x: Int); case class B(y: A)
class A
class B

scala> io.circe.generic.semiauto.deriveEncoder[B]
                                              ^
       error: could not find Lazy implicit value of type io.circe.generic.encoding.DerivedAsObjectEncoder[B]

Codecov Report

Merging #1923 (1ba5f4b) into main (bbcbd53) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1923      +/-   ##
==========================================
- Coverage   86.09%   86.09%   -0.01%
==========================================
  Files          73       69       -4
  Lines        2532     2503      -29
  Branches      132      132
==========================================
- Hits         2180     2155      -25
+ Misses        352      348       -4

Impacted Files
Coverage Δ

...es/core/shared/src/main/scala/io/circe/Error.scala
61.76% <0.00%> (-1.40%)
:arrow_down:

...core/shared/src/main/scala/io/circe/CursorOp.scala
54.16% <0.00%> (-1.39%)
:arrow_down:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
87.13% <0.00%> (-0.59%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
83.12% <0.00%> (-0.56%)
:arrow_down:

...nter/src/main/scala/io/circe/pointer/Pointer.scala
89.34% <0.00%> (-0.13%)
:arrow_down:

.../src/main/scala-2/io/circe/EnumerationCodecs.scala
100.00% <0.00%> (ø)

...rc/main/scala-2/io/circe/EnumerationDecoders.scala
100.00% <0.00%> (ø)

...in/scala/io/circe/pointer/PointerSyntaxError.scala

.../main/scala-2.12/io/circe/CollectionDecoders.scala

...d/src/main/scala-2.12/io/circe/CompatBuilder.scala

... and 1 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 bbcbd53...1ba5f4b. Read the comment docs.

@zmccoy @zarthross 👀 🙏

With Scala 3 derivation the semiauto vs auto difference is where you derive the typeclass:
Auto:
case class A(x: Int)
case class B(y: A) derives Encoder.AsObject

Semiauto:
object A:
  given Encoder[A] = Encoder.AsObject.derived
case class A(x: Int)
object B:
  given Encoder[B] = Encoder.AsObject.derived
case class B(y: A)

Also have a look at https://github.com/circe/circe/pull/1800 it solves many problems of derivation under Scala 3.

@xuwei-k Do you mind updating the branch?  I know there is no conflicts, but we updated the CI and would like the new CI to run.

close in favour of https://github.com/circe/circe/pull/2258


Library is unable to extract authors from washingtonpost.com articles

I've tried these 3 URLs:

https://www.washingtonpost.com/news/arts-and-entertainment/wp/2018/02/10/kim-cattrall-rejects-sarah-jessica-parkers-condolences-stop-exploiting-our-tragedy/
https://www.washingtonpost.com/world/national-security/fbi-director-to-face-questions-on-security-clearances-and-agents-independence/2018/02/13/f3e4c706-105f-11e8-9570-29c9830535e5_story.html
https://www.washingtonpost.com/news/fact-checker/wp/2018/02/13/whats-the-immigration-status-of-melania-trumps-parents/

Transcript:
Python 3.6.4 (default, Feb 12 2018, 10:12:43)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from newspaper import Article
>>> article = Article('https://www.washingtonpost.com/news/arts-and-entertainment/wp/2018/02/10/kim-cattrall-rejects-sarah-jessica-parkers-condolences-stop-exploiting-our-tragedy/')
>>> article.download()
>>> article.parse()
>>> article.authors
[]
>>> article.publish_date
datetime.datetime(2018, 2, 10, 0, 0)
>>> article = Article('https://www.washingtonpost.com/world/national-security/fbi-director-to-face-questions-on-security-clearances-and-agents-independence/2018/02/13/f3e4c706-105f-11e8-9570-29c9830535e5_story.html')
>>> article.download()
a>>> article.parse()
>>> article.authors
[]
>>> article.publish_date
datetime.datetime(2018, 2, 13, 0, 0)
>>> article = Article('https://www.washingtonpost.com/news/fact-checker/wp/2018/02/13/whats-the-immigration-status-of-melania-trumps-parents/')
>>> article.download()
>>> article.parse()
>>> article.authors
[]
>>>

I'm a software engineer so I can potentially fix this, if you could provide a few pointers on where to look in the code.
Thanks.

The Washington Post must have changed their HTML.  Of the URLs I mention above, author information for the first 2 is successfully? extracted, but is still not for the 3rd URL.
Trying just now, I get:
>>> article = Article('https://www.washingtonpost.com/news/arts-and-entertainment/wp/2018/02/10/kim-cattrall-rejects-sarah-jessica-parkers-condolences-stop-exploiting-our-tragedy/')
>>> article.download()
>>> article.parse()
>>> article.authors
['Amy B Wang Is A General Assignment Reporter Covering National', 'Breaking News For The Washington Post. She Joined The Post In After Seven Years With The Arizona Republic.']
>>> article.publish_date
datetime.datetime(2018, 2, 10, 0, 0)

>>> article = Article('https://www.washingtonpost.com/world/national-security/fbi-director-to-face-questions-on-security-clearances-and-agents-independence/2018/02/13/f3e4c706-105f-11e8-9570-29c9830535e5_story.html')
>>> article.download()
>>> article.parse()
>>> article.authors
['Ellen Nakashima Is A National Security Reporter For The Washington Post. She Covers Cybersecurity', 'Surveillance', 'Counterterrorism', 'Intelligence Issues. She Has Also Served As A Southeast Asia Correspondent', 'Covered The White House', 'Virginia State Politics. She Joined The Post In', 'Shane Harris Covers Intelligence', 'National Security For The Post.']
>>> article.publish_date
datetime.datetime(2018, 2, 13, 0, 0)

>>> article = Article('https://www.washingtonpost.com/news/fact-checker/wp/2018/02/13/whats-the-immigration-status-of-melania-trumps-parents/')
>>> article.download()
>>> article.parse()
>>> article.authors
[]
>>> article.publish_date
datetime.datetime(2018, 2, 13, 0, 0)
>>>

The reason I put a question mark above - "successfully? extracted" - is that the authors property for the first 2 URLs is a bio rather than just an author's name.  I don't know if that's expected behavior.
Cheers.


참고

https://github.com/endmoseung/lolqbti
https://github.com/asroq1/Project_mbtiFeliz

http://16types.glam.am/result/INTP

https://spending.snackpot.kr/result/2


Resolve XOR resulting in encoding a "\0" byte

A nice observation as @forevernull pointed out long ago in PR #16 that XORing 'U' (binary value 0b01010101 with the obfuscating byte of 0b01010101 results in a '\0' character that in turn blows up the end-of-string handling bits of code.
This change uses a new obfuscating byte value along with unit tests to cover all the allowed bytes in a key. The unit test hides then reveals the key to show it works with all valid bytes.
Resolves #15

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@575b71f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master    #23   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      5
  Lines             ?    124
  Branches          ?      0
=======================================
  Hits              ?    124
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/keyhide.c
100% <ø> (ø)

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 575b71f...3c3bcff. Read the comment docs.


compatible hugo version

Hi
When trying to launch the hugo server, I get the following message:
WARN 2020/10/10 01:25:13 Module "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Building sites … ERROR 2020/10/10 01:25:13 render of "section" failed: execute of template failed: template: section/post.html:5:3: executing "section/post.html" at <partial "site_head" .>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-modules/wowchemy@v0.0.0-20201001144923-e58ee0ffc576/layouts/partials/site_head.html:153:56": execute of template failed: template: partials/site_head.html:153:56: executing "partials/site_head.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"

Even though the first line is a warning, I tried with several version of hugo (0.76.3, 0.74.3, 0.74.0, 0.73.0), but the mesage is always the same.
Using the indicated command `hugo mod graph I get:
╰─$ hugo mod graph
WARN 2020/10/10 01:31:31 Module "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" is not compatible with this Hugo version; run "hugo mod graph" for more information.
github.com/wowchemy/starter-academic<EMAIL_ADDRESS>github.com/wowchemy/starter-academic<EMAIL_ADDRESS>
Any idea whether the build error could be related to hugo version or other aspect?
Thanks

The full version of Hugo, named Hugo Extended, is required: https://wowchemy.com/docs/install-locally/#prerequisites


[Snyk] Security upgrade io.swagger.core.v3:swagger-core from 2.1.13 to 2.2.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

509/1000  Why? Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698
io.swagger.core.v3:swagger-core:  2.1.13 -> 2.2.2
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-2421244
io.swagger.core.v3:swagger-core:  2.1.13 -> 2.2.2
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Can' find 2.2.2 on Maven Central

Duplicate of #469


Adding parsing for class input

Take raw input from GROWL and break it down into more usable pieces.

Fixed in #9.


Feat/add tsci lint

Lint error shown

Closes issue - #13

So I think tsci lint should not require the "target project" (meaning the project the person is running tsci dev in) to have eslint installed (we need to bundle it). I also think we should only run custom rules for tscircuit not normal linting rules. For example: If you run tsci lint it might say You have a capacitor without a unit value "100", try changing to "100uF"

@seveibar Take a look now, I think this is a good place to start. We can either add the plugins config in this object tscircuitPlugin, or later publish it as a whole plugin in a separate repo. This should be done, when we have some listed rules that needs to be implemented


Error when spaces in path of cwd

If there are spaces in the cwd I get the following error
Error detected while processing /home/josh/.vim/plugged/syntastic-local-eslint.vim/ftplugin/javascript.vim:
line    4:
E172: Only one file name allowed: lcd /home/josh/Documents/test dir/video-service

But if "test dir" is changed to "test-dir" everything works perfectly.

If you feel up to it feel free to submit a PR with a bug fix and I'll get that merged in.

On it.

Resolved by #7


Release taskcat [0.9.2]

5d414cd Bump Version - Creating a new minor version
92b7b4d fix typo

Codecov Report

Merging #390 into master will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #390      +/-   ##
==========================================
- Coverage   73.62%   73.47%   -0.15%
==========================================
  Files          30       30
  Lines        2718     2718
  Branches      461      461
==========================================
- Hits         2001     1997       -4
- Misses        609      610       +1
- Partials      108      111       +3

Impacted Files
Coverage Δ

taskcat/_cfn/template.py
76.47% <0%> (-2.95%)
:arrow_down:

taskcat/_lambda_build.py
85.24% <0%> (-1.64%)
: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 b3e46e6...5d414cd. Read the comment docs.

/do-e2e-tests

/do-e2e-tests


AWS S3 bug

My public buckets is show privates but this is false.
terraforming output:
resource "aws_s3_bucket" "example-repo" {
    bucket = "example-repo"
    acl    = "private"
}

aws cli output:
{
    "Owner": {
        "DisplayName": "xxx",
        "ID": "xxx"
    },
    "Grants": [
        {
            "Grantee": {
                "Type": "CanonicalUser",
                "DisplayName": "xxx",
                "ID": "xxx"
            },
            "Permission": "FULL_CONTROL"
        },
        {
            "Grantee": {
                "Type": "Group",
                "URI": "http://acs.amazonaws.com/groups/global/AllUsers"
            },
            "Permission": "READ"
        }
    ]
}

terraform:
resource "aws_s3_bucket" "example-repo" {
    bucket = "example-repo"
    acl = "public-read"
}

I have tried to resolve this issue, however, I found that it's difficult to set appropriate acl value for now.
According to document, acl should be set Canned ACL which is a set of pre-defined ACL document. To dump appropriate canned ACL, we have to parse this ACL document and determine the document is canned ACL or not.
So for now, please fix your tf files by hand.


async v2.0 support

Hi, great work! I was really tired of passing callbacks to get results.
I wonder if async v2.0 includes breaking changes that would result in methods not working properly.
By any chance do you have idea? Perhaps the only way to be sure is to make tests for every async function.
I could help if you are interested.

Hey,
I coded that as proof of concept. Actually I don't use it in a production project and It was coded before 2.0 release, so it's outdated


Add optional binary relocatability

🎉 New feature
Closes part of https://github.com/gazebosim/gz-sim/issues/626
Summary
This PR uses the changes introduced in gz-cmake3 in https://github.com/gazebosim/gz-cmake/pull/334 to support the cmake installation directory to be moved after the make install prefix, and continue to work without the need to set any special environment variable, as long as the library is compiled as shared. To avoid regressions and problems in Ubuntu Focal due to the use of std::filesystem, this new behaviour is only activated if the GZ_ENABLE_RELOCATABLE_INSTALL option is enabled, and its default value is OFF .
In particular, this PR defines the functions gz::launch::getPluginInstallPath() and gz::launch::getInitialConfigPath() that should be used in place of the GZ_LAUNCH_PLUGIN_INSTALL_PATH and GZ_LAUNCH_INITIAL_CONFIG_PATH macros to ensure that the library is relocatable.
Furthermore, this PR also deprecates the GZ_LAUNCH_PLUGIN_INSTALL_PATH  and GZ_LAUNCH_INITIAL_CONFIG_PATH macros, using the strategy described in https://stackoverflow.com/a/29297970 . That strategy works fine on GCC and Clang, while on MSVC it raise a warning:
warning C4068: unknown pragma

However, I think that it does anyhow the job of raising some kind of warning, and then at soon as the developer checks the macro definition the kind of warning is clear.
Test it
The test should work as usual. The used CMake machinery is tested in https://github.com/gazebosim/gz-cmake/pull/334 .
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[x] Updated documentation (as needed)
[x] Updated migration guide (as needed)
[x] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@mjcarroll I was reviewing a bit the state of https://github.com/gazebosim/gz-sim/issues/626, I noticed this PR, there is anything I need to do on my side? If it simplifies I can also just retarget it to gz-launch7 .


Nested transclude issue 2

(reposting from (comment)[https://github.com/angular/angular.js/pull/7387#issuecomment-54363122])
JSFiddle example here – in the second test, the nested transclude is ignored.
It seems to lose the transcluded content when the ng-transclude is applied to the same element as the nested directive within the outer directive's template.
It works if the ng-transclude is applied to a wrapper element inside the nested directive (but then you're left with an irritating wrapper element).

:+1: ran into this today

I think there's a conceptual mismatch between how the fiddle assumes transclusion to work and how it actually works.
In short, transclusion determines the content that will be transcluded during compilation, whereas the transclusion itself is actually done during linking. Whether it’s done with ng-transclude or by calling the bound transclusion function some other way, doesn’t really matter.
So with these directives:
app.directive('inner', function() {
    return {
        transclude: true,
        template: ''
    };
});

app.directive('outer', function() {
    return {
        transclude: true,
        template: '<inner ng-transclude></inner>'
    };
});

app.directive('workaround', function() {
    return {
        transclude: true,
        template: '<inner><foo ng-transclude></foo></inner>'
    };
});

The fiddle’s assumption seems to be that this would happen with the when applied to <outer>✔</outer>:

Outer’s content "✔" is stored for later transclusion

Outer’s content is replaced with its template.
  <outer><inner ng-transclude></inner></outer>

Inner’s content is replaced with "✔" from outer’s transclusion in step 1
 <outer><inner ng-transclude>✔</inner></outer>

Inner’s content, now "✔" is stored for later transclusion

Inner’s content is replaced with its template.
 <outer><inner ng-transclude></inner></outer>

u’s content is replaced with "✔" from the inner transclusion in step 4
 <outer><inner ng-transclude>✔</inner></outer>

However, what actually happens is:
At compilation time:

Outer’s content "✔" is stored for later transclusion

Outer’s content is replaced with the template.
 <outer><inner ng-transclude></inner></outer>

Inner’s content, "" is stored for later transclusion

Inner’s content is replaced with its template
 <outer><inner ng-transclude></inner></outer>

At linking time

The ng-transclude on inner is applied. It is "" from step 3.
 <outer><inner ng-transclude></inner></outer>

The ng-transclude on u is never done because the element is removed before that.
For the “workaround” case in the fiddle the mental model holds, because  transclude: true and ng-transclude are never used on the same element, which is where the confusion begins.
There’s probably a way to fix this. To me it seems like it would mean a way for $compile to know not only where transclude: true is enabled, but also where transclusion is actually being applied. I don’t see away to do this without adding complexity and I feel like added complexity is the last thing $compile needs. :)

@teropa thanks for the break down of why this is happening. However, while the jsbin's mental model might not match the current implementation, it does match the expectation of what the correct behavior would be -- this is kind of the definition of a "bug".
If you have a directive like outer with this template:
<inner ng-transclude></inner>

It will work fine if <inner> does not use transclusion
It will be broken if <inner> uses transclusion

This forces <outer> to have intimate implementation knowledge of <inner>, which is unreasonable. <inner> should be able to refactor their code to use transclude without breaking <outer>.

@fenduru Agreed, this is a leaky abstraction at the moment.

@teropa - do you have any ideas of how to fix this? I have no capacity and this is a fairly uncommon corner case. Assigning to the Ice Box for now.


Create a Dockerfile to deploy as a container

Create a Dockerfile in root to deploy the cloudwash container! And create an image on Quay for new version create in cloudwash.

Hi @jyejare please consider making an image which can be used in jenkins using the kubernetes plugin

Created PR #16 for same !


synthesis.py Failed to load checkpoint at logs-Tacotron-2/wave_pretrained/

After learning Tacotron-2 up to 10000 steps, I tried text to speech.
How to train the wave_pretrained?
python synthesize.py

Error:
synthesized mel spectrograms at tacotron_output/eval
Synthesizing audio from mel-spectrograms.. (This may take a while)
Traceback (most recent call last):
  File "/home/modeep/Documents/GitHub/Text2Speech/wavenet_vocoder/synthesize.py", line 73, in wavenet_synthesize
    checkpoint_path = tf.train.get_checkpoint_state(checkpoint).model_checkpoint_path
AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "synthesize.py", line 101, in <module>
    main()
  File "synthesize.py", line 95, in main
    synthesize(args, hparams, taco_checkpoint, wave_checkpoint, sentences)
  File "synthesize.py", line 42, in synthesize
    wavenet_synthesize(args, hparams, wave_checkpoint)
  File "/home/modeep/Documents/GitHub/Text2Speech/wavenet_vocoder/synthesize.py", line 76, in wavenet_synthesize
    raise RuntimeError('Failed to load checkpoint at {}'.format(checkpoint))
RuntimeError: Failed to load checkpoint at logs-Tacotron-2/wave_pretrained/

Hi @Yudonggeun , if you only want to test the performance of your Tacotron-2 model (not together with WaveNet model, right?), you may run python synthesize.py --model=Tacotron. Furthermore, if you want to test your own sentences, you may run python synthesize.py --mode=live, and it will ignore WaveNet model when the mode is live. Hope that this information is useful to you :)

Thank you for you!!
I fixed it.

Thank you for you!!
I fixed it.


Send replies to inbox option?

I finally got the plugin working (thanks again!), but I noticed that replies to these posts don't go to my inbox. Is there a way to tell the action to send replies to my inbox?

After further research, it seems like Reddit auto-disables notification for link posts. Comments are however enabled by default. I could add another option to enable/disable notification for both post and comment. Gonna work on it now.

Done. Added a new notification option, which is disabled by default. You can set it to true to receive post and comment replies. It's updated to v1 so you don't have to change the tag.
I've tested the option at https://github.com/bluwy/release-for-reddit-action-test with manual releases and it seems to be working, no breaking changes. You can close this issue if it works for you :)

Thanks a ton! I'll pre-emptively close because my project is very small and my reddit changelogs don't generally get posts, but I will definitely let you know if it isn't seeming to work!


add no results indicator

Resolves #416
🔧 What changed
When a user entered a filtering combination that returned no results, the user was not prompted with something. Now they are prompted with an image based on the figma model that they need to retry the combination
🧪 Testing instructions
In the search bar, enter Emergency Medicine, Yokohama, English
📸 Screenshots

You're off to a really good start! I left a few moments. Let me know if you need any help undoing the formatting changes and whatnot.

@ermish There was an idea for an addition that you thought I should make. Can you remind me what that was ?


Balance suppliers charge notification AC 2 - Only with role active and passive

Synopsis
Only balance suppliers with role active and passive are to receive notifications.
As a charge domain, we subscribe to the marked roles from Market Participant.
Acceptance Criteria

[ ] Make a notification available to all balance suppliers, with market role active and passive.

[ ] A change in market role will take effect immediately, once a role shifts from passsive to inactive, no notifications are to be made available.

Tech. Notes
Valid Marked roles:
https://energinet.atlassian.net/wiki/spaces/D3/pages/203292687/Organisationer

Introducing new market participant statuses have now been merged into main.
Next steps for this story

Force 'SendIntegrationEvents' out of Market Participant domain on our environments, to get the correct market participant statuses in Charges
Our two test suppliers In T-001 are currently active, set one of our suppliers to Passive, and verify that it still receives message.
DO NOT SET IT TO INACTIVE !!!! it is not possible to revert it back to active from that. We need an alternative route to test inactive (or new or deleted) do not get notifications.

Blocked. Not able to trigger Force Send Integration Events out of Market Participant domain. According to Teams Titans this is a known issue that they are working on right now.

Blocked removed. Titans fixed force send.
Done force send in U-001. Market Participant status appear updated :smile:
:warning: Two exceptions related to GridAreaLink appeared in app insights. We've got some data cleaning needed for two GridAreaId's that appeared twice in the data.
Use below query two see which. This will be fixed later.
SELECT GridAreaId
From Charges.GridAreaLink
Group by GridAreaId
Having count(*) > 1

Tested in T-001 :heavy_check_mark:
AC1:
Count of Energy Suppliers in Charges with below statuses:

Summed up:

New: 2
Active: 38
Inactive: 5
Passive: 1

So, when a Grid Operator submits a new tariff with a D18 request, we expect below count of AvailableChargeData to increase with (38 active + 1 passive =) 39 new records.

Submitted Charge Information D18 Request:
<?xml version="1.0" encoding="UTF-8"?>
<cim:RequestChangeOfPriceList_MarketDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cim="urn:ediel.org:structure:requestchangeofpricelist:0:1" xsi:schemaLocation="urn:ediel.org:structure:requestchangeofpricelist:0:1 urn-ediel-org-structure-requestchangeofpricelist-0-1.xsd">
	<cim:mRID>DocId2022-10-04T07:51:07.695Z</cim:mRID>
	<cim:type>D10</cim:type>
	<cim:process.processType>D18</cim:process.processType>
	<cim:businessSector.type>23</cim:businessSector.type>
	<cim:sender_MarketParticipant.mRID codingScheme="A10">8100000000016</cim:sender_MarketParticipant.mRID>
	<cim:sender_MarketParticipant.marketRole.type>DDM</cim:sender_MarketParticipant.marketRole.type>
	<cim:receiver_MarketParticipant.mRID codingScheme="A10">5790001330552</cim:receiver_MarketParticipant.mRID>
	<cim:receiver_MarketParticipant.marketRole.type>DDZ</cim:receiver_MarketParticipant.marketRole.type>
	<cim:createdDateTime>2022-10-04T07:51:07Z</cim:createdDateTime>
	<cim:MktActivityRecord>
		<cim:mRID>OpId2022-10-04T07:51:07.695Z</cim:mRID>
		<cim:ChargeGroup>
			<cim:ChargeType>
				<cim:chargeTypeOwner_MarketParticipant.mRID codingScheme="A10">8100000000016</cim:chargeTypeOwner_MarketParticipant.mRID>
				<cim:type>D03</cim:type>
				<cim:mRID>TarId056</cim:mRID>
				<cim:name>Charge name</cim:name>
				<cim:description>updated The charge description</cim:description>
				<cim:priceTimeFrame_Period.resolution>PT1H</cim:priceTimeFrame_Period.resolution>
				<cim:effectiveDate>2022-09-30T22:00:00Z</cim:effectiveDate>
				<!--cim:terminationDate>2022-08-10T22:00:00Z</cim:terminationDate-->
				<cim:VATPayer>D01</cim:VATPayer>
				<cim:transparentInvoicing>false</cim:transparentInvoicing>
				<cim:taxIndicator>false</cim:taxIndicator>
			</cim:ChargeType>
		</cim:ChargeGroup>
	</cim:MktActivityRecord>
</cim:RequestChangeOfPriceList_MarketDocument>

As expected increased with 39 new records:

Same test, just with D08 Charge Prices
Initial count:

Submitted Charge Price D08 request as Grid Access Provider for TarId056.
<?xml version="1.0" encoding="UTF-8"?>
<cim:RequestChangeOfPriceList_MarketDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cim="urn:ediel.org:structure:requestchangeofpricelist:0:1" xsi:schemaLocation="urn:ediel.org:structure:requestchangeofpricelist:0:1 urn-ediel-org-structure-requestchangeofpricelist-0-1.xsd">
    <cim:mRID>DocId2022-10-04T07:54:17.959Z</cim:mRID>
    <cim:type>D10</cim:type>
    <cim:process.processType>D08</cim:process.processType>
    <cim:businessSector.type>23</cim:businessSector.type>
    <cim:sender_MarketParticipant.mRID codingScheme="A10">8100000000016</cim:sender_MarketParticipant.mRID>
    <cim:sender_MarketParticipant.marketRole.type>DDM</cim:sender_MarketParticipant.marketRole.type>
    <cim:receiver_MarketParticipant.mRID codingScheme="A10">5790001330552</cim:receiver_MarketParticipant.mRID>
    <cim:receiver_MarketParticipant.marketRole.type>DDZ</cim:receiver_MarketParticipant.marketRole.type>
    <cim:createdDateTime>2022-10-04T07:54:17Z</cim:createdDateTime>
    <cim:MktActivityRecord>
        <cim:mRID>OpId2022-10-04T07:54:17.959Z</cim:mRID>
        <cim:ChargeGroup>
            <cim:ChargeType>
                <cim:chargeTypeOwner_MarketParticipant.mRID codingScheme="A10">8100000000016</cim:chargeTypeOwner_MarketParticipant.mRID>
                <cim:type>D03</cim:type>
                <cim:mRID>TarId056</cim:mRID>
                <cim:effectiveDate>2022-09-30T22:00:00Z</cim:effectiveDate>
                <cim:Series_Period>
                    <cim:resolution>PT1H</cim:resolution>
                    <cim:timeInterval>
                        <cim:start>2022-09-30T22:00Z</cim:start>
                        <cim:end>2022-10-01T22:00Z</cim:end>
                    </cim:timeInterval>
                    <cim:Point>
                        <cim:position>1</cim:position>
                        <cim:price.amount>1.111</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>2</cim:position>
                        <cim:price.amount>2.002</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>3</cim:position>
                        <cim:price.amount>3.003</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>4</cim:position>
                        <cim:price.amount>4.004</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>5</cim:position>
                        <cim:price.amount>5.005</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>6</cim:position>
                        <cim:price.amount>6.006</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>7</cim:position>
                        <cim:price.amount>7.007</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>8</cim:position>
                        <cim:price.amount>8.008</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>9</cim:position>
                        <cim:price.amount>9.009</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>10</cim:position>
                        <cim:price.amount>10.010</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>11</cim:position>
                        <cim:price.amount>11.011</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>12</cim:position>
                        <cim:price.amount>12.012</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>13</cim:position>
                        <cim:price.amount>13.013</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>14</cim:position>
                        <cim:price.amount>14.014</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>15</cim:position>
                        <cim:price.amount>15.015</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>16</cim:position>
                        <cim:price.amount>16.016</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>17</cim:position>
                        <cim:price.amount>17.017</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>18</cim:position>
                        <cim:price.amount>18.018</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>19</cim:position>
                        <cim:price.amount>19.019</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>20</cim:position>
                        <cim:price.amount>20.020</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>21</cim:position>
                        <cim:price.amount>21.021</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>22</cim:position>
                        <cim:price.amount>22.022</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>23</cim:position>
                        <cim:price.amount>23.023</cim:price.amount>
                    </cim:Point>
                    <cim:Point>
                        <cim:position>24</cim:position>
                        <cim:price.amount>24.024</cim:price.amount>
                    </cim:Point>
                </cim:Series_Period>
            </cim:ChargeType>
        </cim:ChargeGroup>
    </cim:MktActivityRecord>
</cim:RequestChangeOfPriceList_MarketDocument>

AvailableChargePriceData table increase with 39 records as expected:

AC2:
This AC was implicit tested by setting up data for testing AC1. Energy Supplier with GLN<PHONE_NUMBER>289 was set to Passive in Frontend and thus updated via this integration event:


Add HINTS.md file for bob exercise

Hey @dvberkel here's my initial attempt at solving #54
Would you mind checking it out and leaving some feedback? Thanks 😄

Hi @kevgathuku, this looks fantastic! It is very thorough and a great help for people starting out with OCaml.
Eventhough this is good advice for all exercises, seeing that bob exercise is probably first encountered by new users, I think it is okay to keep it here for now.
I am willing to merge it as is, or do you want to add to it?

@dvberkel Don't think I have anything to add at this point.
If something else comes up, it could just be added to the file later.

@kevgathuku thanks for your contribution!

Thanks @dvberkel for helping me make my first contribution here a smooth process 💯


Anvil missing block totalDifficulty information

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (f540aa9 2022-09-09T00:09:51.262286Z)
What command(s) is the bug in?
No response
Operating System
macOS (Intel)
Describe the bug
Anvil does not appear to track totalDifficulty when mining blocks.
Reproduction steps

Fork ethereum mainnet using default Anvil settings:

% anvil --fork-url https://some-forkable-url

The last recorded block shows a totalDifficulty:

% cast block 15504216

...
timestamp<PHONE_NUMBER>
totalDifficulty<PHONE_NUMBER>4196789300626
transactions:        [
...

Perform a payment using the provided accounts:

% cast send 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 --value 1 --from 0x70997970c51812dc3a010c7d01b50e0d17dc79c8

The produced block does not show a totalDifficulty:

% cast block 15504217

...
timestamp<PHONE_NUMBER>
totalDifficulty
transactions:        [
...

there's no actual mining being done,
what does hardhat/ganache return here?

Yep, I think as long as something "reasonable" populated that would be OK. The package I was using to deploy Vyper contracts (ape-vyper / ape-geth) expected the total difficulty to be present.
I can provide the hardhat output of the same test:
 % cast block 15504364

timestamp<PHONE_NUMBER>
totalDifficulty<PHONE_NUMBER>6952823755627
transactions:        [

perform step 3...
% cast block 15504365

timestamp<PHONE_NUMBER>
totalDifficulty<PHONE_NUMBER>9090249676013
transactions:        [

@mattsse if u wanna go down the hh spiral at any point
https://github.com/ethereumjs/ethereumjs-monorepo/blob/95875500fe6069978e9fb90faae0e0b72be37091/packages/block/src/header.ts#L551

-.-
stopped reading here
https://github.com/ethereumjs/ethereumjs-monorepo/blob/95875500fe6069978e9fb90faae0e0b72be37091/packages/block/src/header.ts#L553-L554

-.-
stopped reading here
https://github.com/ethereumjs/ethereumjs-monorepo/blob/95875500fe6069978e9fb90faae0e0b72be37091/packages/block/src/header.ts#L553-L554

I suppose I could have waited ~ a week to test this 🤣


Fix several error handling issues

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>

 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.


Restart Bot gives error

Describe the bug
Every time when I restart the bot it gives the error below:

It seems that the folder generated is not yet fully gone, when it tries to recreate it.  When I delete the folder myself before restarting the bot it works fine. Also When clicking try again and you get the Publish Luis models dialog it starts fine (since then the folder generated is already long gone).
I disabled my synching to Google Drive, but no effect.

@cxbuilders if you ran Composer as an administrator does the error still occur?

@cwhitten Just tried, no difference. It does not happen with eg the echo-bot, only with bots that are more substantial in their dialogs.

similar to this https://github.com/microsoft/BotFramework-Composer/issues/3017 . But I could not repro it now.

@cxbuilders are you also openning your bot with VSCode? there is a lot of issues that VSCode is locking files and folder like https://github.com/microsoft/vscode/issues/81224, or if we search VSCode locking files in search engine

@liweitian can you help check if this related to several permission issues you saw before?

@boydc2014 I sometimes do, but that was one of the first things I closed as I suspected that was the issue. After it was closed (restarted composer etc), it still happens.

@cxbuilders I cannot repro this on my side. I checked the code and think you are correct. It failed to remove the generated folder before recreating it. So It would be helpful if you can share the bot folder with me. Can you attach your bot here?

@cxbuilders I tried on my side, but can only reproduce this only once.(start bot and restart bot)
I think this issue is bot related. And I think you are correct. Due to some reasons, the generated folder is not fully deleted. Can you share your bot with me and the operations you did to reproduce  the issue.

@liweitian I cannot share the code of the bot publicly here. Can I send it to you directly?

@cxbuilders Can you send it to<EMAIL_ADDRESS>? Thx

one additional thing:
The MeetingSkill main dialog has an issue whereby when you delete a
component it always shows an error message. (it works fine though), this
only happens in the main Dialog.
On Tue, May 19, 2020 at 8:28 AM liweitian<EMAIL_ADDRESS>wrote:

@cxbuilders https://github.com/cxbuilders Can you send it to
<EMAIL_ADDRESS>? Thx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/BotFramework-Composer/issues/3109#issuecomment-630611522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL4QIG7HU2QHHVO6N4FAJGDRSIRIHANCNFSM4NDKQKGQ
.

--

Bastiaan van der Kooij*

CX Builders*

M*: +31 (0) 65354 7010

W*: cxbuilders.com

Copied the bot to a not synced folder and there it works fine. Composer is the only tool however that has problems with this. For me this is fine, so closing this now, thanks.

@cxbuilder Thank you for helping testing this. As I said in the email, we probably have different settings on Google Drive. So it causes different blocking issues. If I got time, I can dive into this to check what really happened there. And your questions are always welcomed.


⚠ Bofrost.be has degraded performance

In a834103, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2156 ms

Resolved: Bofrost.be performance has improved in 624ee4f after 7 hours, 5 minutes.


exit gracefully

Right now the electron process throws when exiting with ctrl-c.
This is mentioned in their limitations: https://github.com/maxogden/electron-spawn
Ideally, this can be somehow solved with process.on('exit')

Solved here: https://github.com/CommaSword/noise-generator/commit/571d210b636c257e667b04b0a3abb86e9dc504b0
This is slightly hacky, but will do. Solved in a patch because electron-spawn doesn't seem to be maintained.


CompatibilityError in replace_in_file

Describe the problem
When doing teletype new app
I get an exception in tty-file (omitting the complete stack trace):
7: from ~/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/tty-0.9.1/lib/tty/commands/new.rb:224:in `add_license_to_readme'
...
1: from ~/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/tty-file-0.7.0/lib/tty/file.rb:587:in `replace_in_file'
~/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/tty-file-0.7.0/lib/tty/file.rb:587:in `gsub!': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)

The issue might belong to the teletype repository, but since one possible change in tty-file fixes the problem, I deemed it more relevant to put it here.
Steps to reproduce the problem
teletype new app
Actual behaviour
Got an exception, incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError).
Expected behaviour
No exception generated.
By undoing commit d185080e789bd80167cd6e8aa3272b45c858d326, the expected behaviour was observed. Maybe binary reading and writing of files is important, but it doesn't seem to handle encodings correctly in all cases.
In the function replace_in_file in file.rb, I observed that contents.encoding returned #<Encoding:ASCII-8BIT>, and args[0].encoding returned #<Encoding:US-ASCII>.
Describe your environment

OS version: macOS 10.13.6
Ruby version: 2.6.2
TTY::File version: 0.7.0

Thanks, Jonatan ❤ I really appreciate you reporting this issue. It's fixed in the 0.7.1 that will be released shortly.

Released v0.7.1


Optionally disable dynamic import() and use browser native feature

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
import() has been supported by modern browsers such as Safari and Chrome.
However import(url) will cause an error when building with webpack.
For example
import('https://connect.facebook.net/ja_JP/sdk.js')

Module not found: Error: Can't resolve 'https://connect.facebook.net/ja_JP/sdk.js' in '/Users/testuser/git/myproject/src/facebookModule.js'

What is the expected behavior?
Maybe something like this
import(/* webpackMode: "native" */ 'https://connect.facebook.net/ja_JP/sdk.js')

It's currently only possible to disable it with rules: module.rules[].parser.import: false, but a /* webpackIgnore: true */ would be great. Send a PR.

Can this be used for node apps too －  so that a require directive will be allowed to be handled by node (runtime) instead of webpack taking over and including the required code to the bundle?


German Translation

What it says on the box

hey, i'm not sure what to think of translations yet, as the amount of people that will use them is minuscule and most translations will probably end up unmaintained

I suppose yeah, would be cool tho!!


CI: Attempt to cache Cargo cache

I think you might see much better results using https://github.com/Swatinem/rust-cache

I think you might see much better results using https://github.com/Swatinem/rust-cache

Thank you! Sadly a huge chuck of the compile time is caused by RocksDB that is included in Oxigraph Cargo workspace so I am not sure it's going to help because Swatinem/rust-cache won't cache it.

I think you might see much better results using https://github.com/Swatinem/rust-cache

Thank you! Sadly a huge chuck of the compile time is caused by RocksDB that is included in Oxigraph Cargo workspace so I am not sure it's going to help because Swatinem/rust-cache won't cache it.

Couldn't you just put oxrocksdb-sys into a separate workspace by adding an empty [workspace] table to its Cargo.toml? You should still be able to use it as a path dependency. The only downside I see is that you will get a separate target directory when you work on the bindings themselves.

Couldn't you just put oxrocksdb-sys into a separate workspace by adding an empty [workspace] table to its Cargo.toml? You should still be able to use it as a path dependency. The only downside I see is that you will get a separate target directory when you work on the bindings themselves.

That's a great idea! Thank you!