Upgrade lint dependencies | chore(lint)

Upgrade all lint dependencies and fix new lint errors

@jcwchen I wonder if we should have a requirements-lint file and let dependabot take over. What do you think?

I am exactly thinking the same thing! but would it be one PR or multiple PRs if there are few dependency updates in a period? If it would be just one PR, it seems like a good idea.

After consideration, ideally these dependencies should not update too often at the same time? Then I am fine with using dependabot anyway.

I will need to update the lintrunner adapters package to support using a requirements.txt file. I will actually move that script to here

I think we can configure the frequency

Merged. Figures crossed dependabot works


Include Istio version tested/supported in release notes

Had someone in Slack ask about supported Istio versions today but our documentation was out of date.
After talking with Dave I think it makes sense to make the docs point directly to the releases page and then include what version of Istio we are supporting/testing in future releases.

Any chance we can update the last few releases to mention the version- ie. releases 1.3 to 1.6 are currently in our support window

I can go back and update the old releases manually in the meantime 👍

+1
FYI net-gateway-api adds the release page by this script -https://github.com/knative-sandbox/net-gateway-api/blob/main/hack/release.sh#L69 .
Here is the result https://github.com/knative-sandbox/net-gateway-api/releases

Looks like we made the necessary changes to the website: https://knative.dev/docs/install/installing-istio/#supported-istio-versions
But the latest release doesn't mention the Istio version - https://github.com/knative-sandbox/net-istio/releases
Our release note automation [1][2] will scan PR bodies for release-note blocks and surface those. It still requires a release lead to update the release with these generated notes (hopefully this will be automated (https://github.com/knative/test-infra/issues/3655))
But if the person bumping Istio in a PR didn't include this message (or there was no bump) it's not going to show up.
We could do what @nak3 suggested and create a 'header' for the release note - that's probably the actionable thing for this issue
[1] https://github.com/kubernetes/release/tree/master/cmd/release-notes
[2] https://github.com/knative/actions/blob/main/.github/workflows/release-notes.yaml)

I just updated the 1.9 release note with Tested with Istio 1.16.0

Hello @ReToCode @dprotaso, I noticed this issue and would love to contribute. Is it still open for someone to work on?

👍  Sure, feel free to assign it to yourself and start working on a PR.

Sure. And, the current issue is to update the release by adding generated notes and including headers for istio version. Is that correct?

Yes: https://github.com/knative-sandbox/net-istio/issues/958#issuecomment-1431743096

We could do what @nak3 suggested and create a 'header' for the release note - that's probably the actionable thing for this issue

/assign

@Nageshbansal are you still interested in working on this issue?

/good-first-issue

@dprotaso , yes, I'll make the PR soon. Thanks

@dprotaso @ReToCode This is a very important usability issue, right now there is no way to know which versions of Istio are "officially supported" by what version of Knative.
The only way to know for sure is to test yourself, and issues might not expose themselves until after you have deployed to production.
I would be grateful for a list of Istio versions that each release ran its integration tests on, as this would probably be sufficient.


Kernel constant Crash

Dear Sir Madam,
I have recently noticed that my Kernel at some point simply stops resonding and I got nothing else but to restart the kernel, loosing all the data
It happens usually when I go into debugger mode placing this line in the text "import pdb; pdb.set_trace()"
at some point i can move my cursor in the kernel after some operation in debugger was done but hitting enter does not do anything nor does any other command like "Cntrl - C".
When I try to press the red square on top right force it to stop - it darkens but the procedure is not stopped and it continues to be stalled. Only after clicking red "x" in the consoles tab - does it reload and I can try again. It crashed almost every 3rd time i run kernel - quite annoying if you got to run it 60 times.
What to do in this case?
thank you
Stas

Problem Description
What steps will reproduce the problem?
Package Versions

Spyder version: 3.2.8
Python version: 3.6.5
Qt version: 5.9.4
PyQt5 version: 5.9.2
Operating system: Windows 10

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.4.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.23.0 (OK)
numpy >=1.7      :  1.14.3 (OK)
sphinx >=0.6.6   :  1.7.4 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.12.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.28.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.4.0 (OK)
pylint >=0.25    :  1.8.4 (OK)

You have to give us a very simple (please don't send us your entire simulation/data analysis stuff) and reproducible code example that always shows this problem, so we can test it and reproduce it in our side
Else, we can't help you, sorry.

Hello Carlos!
now I see your reply. Is there a way I could send you the link to the code in some sort of personal message or email?  I am a bit worried of sending around codes that I have been working on for long time.

Is there a way I could send you the link to the code in some sort of personal message or email?

Sure, please look at my Github profile page, there's my email.

but in practice it can even et stich with very small code as well but I need to think how to find the small version of what I have

Please do, it'll make easier for me to help you.

Dear Carlos,
I actually think I found the issue but I am not sure at which stage it forces spyder kernel to stall.
It has to do with Cntrl-C pressing during debugging. The reason is that Cntrl-C is assigned to kernel halt, if I am not mistaken, but some people like me use it also to copy paste parts of text in and out of many windows. So using Cntrl-Shift -C would be a solution during use of debugging to copy text. Is there another solution? maybe right click copy Raw text?

I actually think I found the issue

Great!

So using Cntrl-Shift -C would be a solution during use of debugging to copy text. Is there another solution? maybe right click copy Raw text?

Yes, that's the only other solution.
I'm closing this because it's solved now.


Paradigm's RWBY TTRPG V1.122 Update (9/3/22)

Removed Level/2 from Unarmed Attacks
Added modifiers for all Vehicle Weapons
Removed global Vehicle Heavy Caliber modifier

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[x] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


Campaign ExperienceEvent extension tweaks.

Make Campaign link Label and Category explicit fields.
Change Campaign resource name to marketingcampaign to handle protobuf parsing.
Fix examples.

Fixes issue #301
Out for review: @cmathis @trieloff @cdegroot-adobe

@trieloff As I understand, eventually we'd like to rename all these fields under the common namespace "https://ns.adobe.com/experience/campaign" and then ref to the entities in the separate schemas they are part of. In this case, it would lead to a new schema extensions/adobe/experience/campaign/link.schema which would have all these properties which will be $ref'ed by these properties.
If I change this here, that PR would lose context on which fields are part of the link schema. No?

@trieloff - Would something like the following be allowed:
properties: {
   "https://ns.adobe.com/experience/campaign/link": {
       "type": "object",
       "properties": {
              "label": { //Alternatively this could be xdm:label
              },
              "category": {
              }
        }
}

Is it necessary to repeat the namespace for those unlined embedded object fields. What we want to do is to avoid making the data files and fields path look like the following. https://ns.adobe.com/experience/campaign/link**.**https://ns.adobe.com/experience/campaign/label
The final schema and field path needs to be very simple and look something like adobe.experience.campaign.link.label.
and
adobe.experience.campaign.link.category

@cmathis I'd say yes, having plain names below a fully namespaced object is permitted, but I'd like to get @kstreeter's point of view.
You should be aware that it takes away second-level extensibility, i.e. nobody else would be able to extend this particular object.

@saurabhere creating a link.schema.json can have multiple implications:

if you create it as an abstract schema and just $ref or mix it into your existing schema, the property names need to be unique enough so that you don't mix up the "campaign ID" and the "link ID"
if you create it as a concrete schema and use it as the type of the link object, then even a short name like https://ns.adobe.com/experience/campaign/id could work.

@trieloff @cmathis OK, this PR was not about this conversion, but just wanted to add 2 new fields but seeing a need for the change akin to #306 , I will change the schema as well. So, don't review it yet.

@trieloff @cmathis @kstreeter Out for review.

This looks really good to me @saurabhere.  The only additional comment I had was around the use of @id.   There are a couple of places where this is used with a property of type integer.  @id is actually a JSON-LD concept as is defined as a URI, so these would either have to change to a string with format='uri' or be given a different name (like deliveryID, etc.).

@kstreeter does a simple id work? I see it being used in the user.schema
I am not sure if that would break the convension of prepending xdm: to all fields.

Hey @saurabhere, yes you could just use xdm:id.  It kind of depends on what the intention of the field is.  If you want to define a Campaign ID primarily for the purpose of identifying that campaign across systems, I would go with redefining it to be an @id URI, as that is how this generally is done across XDM.  On the other hand, if the primary purpose is to connect the data to a specific system-generated ID (which is an integer) then it would be appropriate to just call it xdm:id and make it an integer.

Thanks @kstreeter . Fixed.

@trieloff good to go?


refactor: separate peer score implementation to multiple functional files

Motivation

Part of #5478
The score.ts gets bigger, want to make peer score implementation easier to maintain

Description

Separate score.ts to multiple functional files: interface.ts, containts.ts, util.ts, store.ts, score.ts
Refactor only, no feature changed

:tada: This PR is included in v1.9.0 :tada:


Add infra harden

What other things might go into this project in the future? I'm wondering if something like infra-security is a plainer, less prescriptive name than harden?

Updated to infra-security


Capture WM_SYSKEYDOWN and WM_SYSKEYUP on windows

On windows, Keypress(Alt) is not captured currently. This fix allows it.
Reference: https://docs.microsoft.com/ja-jp/windows/win32/learnwin32/keyboard-input?redirectedfrom=MSDN#key-down-and-key-up-messages
Thank you great lib.

Thank you for this !


Add API to stream Missions/Boosters

Once the index is triggered the application get's a Future handle, it will be worth adding a Booster Stream API - which can be used by consumers to start fetching data from stream

@kameshsampath what is this API you refer to exactly? It isn't immediately clear to me what you are referring to?

Can you elaborate more? What's wrong with BoosterCatalog.getBoosters().stream()♧?

Perhaps you are referring to using web sockets like we do for the status updates? Or perhaps something react-like?

sorry moving to fabric8-launch/booster-catalog-service

This issue was moved to fabric8-launch/booster-catalog-service#12


Failed to connect to ovsdb error: Invalid socket file

On creating pod with 2 ovs interface it gives error "ovs": error in getting result from AddNetwork: failed to connect to ovsdb error: Invalid socket file, failed to clean up sandbox container
How can I debug more to know the actual cause of issue.
The yaml definitions file works on other setup. Here are the yaml files used:
ovs-net.yml
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: ovs-net-1
spec:
  config: '{
      "cniVersion": "0.3.1",
      "type": "ovs",
      "bridge": "vsperf-br0"
    }'

pod.yml
apiVersion: v1
kind: Pod
metadata:
  name: nginx-ovs
  annotations:
    k8s.v1.cni.cncf.io/networks: ovs-net-1, ovs-net-1
spec:
  containers:
  - name: nginx-ovs
    image: nginx:1.7.9
    ports:
      - containerPort: 80

kubectl describe pod nginx-ovs
Name:         nginx-ovs
Namespace:    default
Priority:     0
Node:         worker/<IP_ADDRESS>
Start Time:   Sat, 16 May 2020 13:48:19 -0700
Labels:       <none>
Annotations:  k8s.v1.cni.cncf.io/networks: ovs-net-1, ovs-net-1
              k8s.v1.cni.cncf.io/networks-status:
Status:       Pending
IP:
IPs:          <none>
Containers:
  nginx-ovs:
    Container ID:
    Image:          nginx:1.7.9
    Image ID:
    Port:           80/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-tw2c7 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  default-token-tw2c7:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-tw2c7
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason                  Age              From               Message
  ----     ------                  ----             ----               -------
  Normal   Scheduled               17s              default-scheduler  Successfully assigned default/nginx-ovs to worker
  Warning  FailedCreatePodSandBox  9s               kubelet, worker    Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "cf902dc941fa85325b871bcb93caa0298a9a8c1281b707150249a2cae984db68" network for pod "nginx-ovs": networkPlugin cni failed to set up pod "nginx-ovs_default" network: Multus: [default/nginx-ovs]: error adding container to network "ovs-net-1": delegateAdd: error invoking DelegateAdd - "ovs": error in getting result from AddNetwork: failed to connect to ovsdb error: Invalid socket file, failed to clean up sandbox container "cf902dc941fa85325b871bcb93caa0298a9a8c1281b707150249a2cae984db68" network for pod "nginx-ovs": networkPlugin cni failed to teardown pod "nginx-ovs_default" network: delegateDel: error invoking DelegateDel - "ovs": error in getting result from DelNetwork: failed to connect to ovsdb error: Invalid socket file / delegateDel: error invoking DelegateDel - "ovs": error in getting result from DelNetwork: failed to connect to ovsdb error: Invalid socket file]
  Normal   SandboxChanged          8s (x2 over 9s)  kubelet, worker    Pod sandbox changed, it will be killed and re-created.

The name of the bridge is vsperf-br0
The setup has one worker node and one master node.
The worker node has ovs installed. And ovs-daemonset.yml is deployed in the cluster.

Hello Parth.
My guess would be that the socket is not available on the expected default path /var/run/openvswitch/db.sock.. Would you try logging in the guest and call ovs-vsctl show to see if OVS is working in general and if it is, call ovs-vsctl show --db=unix:/var/run/openvswitch/db.sock to see if it is on the path we expect?

Thanks, VSperf builds ovs to a different path. And the socket file was located at /usr/local/var/run/openvswitch/db.sock
I rebuilt the plugin with a different path in NewOvsBridgeDriver() function.
It works.
Would it make sense to add socketFile: path/to/socket/file to netConf so that plugin can override socket file path?

It would be possible, but I don't like that option. It mixes the network configuration with deployment configuration. Rebuilding is a dramatic measure. You can accomplish the same effect by changing the mount path for OVS daemon set: https://github.com/kubevirt/ovs-cni/blob/master/examples/ovs-cni.yml#L67. Would it work for you? If it does, making the value configurable during templating in https://github.com/kubevirt/ovs-cni/blob/master/manifests/ovs-cni.yml.in#L67 may be a good middle ground.

Yeah, I did that also, it solved my half problem. Second half was the the change at plugin.
I agree with you, It would add complexity with Network Configuration. Maybe adding a script at VSperf for ovs-cni installation be a good option.
I am closing the issue.
Thanks.


fix: allow try_statement without catch/finally_clause

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/4632
At the moment, try_statement seems to require either a catch or finally clause. This seems to confuse tree-sitter's error recovery when users start with writing only the try block: tree-sitter will parse such incomplete try blocks without a catch/finally clause, like
    try {
    }

    try {
      foo = 1
    }

    try {
      foo = 1;
    }

with widely changing parsing results as the user types. This causes some challenges to editor features like nvim-treesitter's indentation that rely on tree-sitter recognizing try_statement or block. We might find a way to consider all possible intermediate error states in some way, but I wanted to ask whether it would make more sense to let the parser interpret incomplete try_statement in a more meaningful way to support incremental editing (the try block will always be as a child of ERROR node until the users finishes with catch/finally, tough dart seems to require catch/finally for a valid syntax.
@RobertBrunhage please test! You just need to change the git SHA in nvim-treesitter's lockfile.json to this commit.

@theHamsta just gave it a try and it's working. The only scenario that seems to be broke for me was the catch statement if you forget to add the argument for catch(e) before opening the {}.
Example
try {
} catch {} <-- // this isn't registered in `InspectTree` as a catch because you don't pass the argument.

Gave it a try in VSCode just to see how that handles it, and it indents even though you forget adding the (e) for catch (e).
If you feel like it's outside the scope for this, feel free to ignore it, but just wanted to let you know!

@theHamsta I'm going to merge this, but just want to see if you are planning on addressing the other remark @RobertBrunhage pointed out.
Some major changes are going to have to be made for patterns support etc, and I'm going to try to start tackling them.


use yarn for dependency management cli

Use yarn! No nested deps, retry failed requests, faster installs!
Description
Adds yarn lock
Update docs regarding how to interact with our build scripts
Motivation and Context
Faster builds, no nested deps, retry failed installs
How Has This Been Tested?
in dev
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Yaaaaasssssss

running into some issues with a dep called dtrace-provider, will investigate and report!


Theme doesnt load

I cant seem to change the theme , I open IDA and it says ather0z plugins loaded ! But on edit > skins there is no theme loaded , I think is the path , there is no skins directory whatsover , where should be the skins folder be pasted ?

The skin folder needs to be placed in the IDA root. To install the plugin properly, just download the latest release and paste the contents of the directory matching your IDA version into your IDA installation folder.


Helper class improvements

This same content is now in the memory_optimizations branch, but it can now be merged directly to master too and removed from the other branch.
@anttiylitokola @yogpan01


Add ccr instructions

This will add a new subsection to the Participation Certificate letting McGill student users know about the CCR option for their transcript. It includes a heading, an introduction with information about CCR and 3 steps to validate their hours for recognition.
The french keys are not yet translated and will need to be updated.

@raakal, what's the status on this pull request? Are you ready for it to be reviewed and then deployed?

@raakal, what's the status on this pull request? Are you ready for it to be reviewed and then deployed?

Hi @rsmithlal , its deployable except for the fact that we don't have the french translations. Would you suggest deploying anyways and updating the French after the fact?

Hi @rsmithlal , its deployable except for the fact that we don't have the french translations. Would you suggest deploying anyways and updating the French after the fact?

Yes, that would be fine. We can add the French translations whenever they are ready!  ---- On Sat, 02 Jan 2021 17:08:50 -0330<EMAIL_ADDRESS>wrote ----
Hi @rsmithlal , its deployable except for the fact that we don't have the french translations. Would you suggest deploying anyways and updating the French after the fact?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, that would be fine. We can add the French translations whenever they are ready!  ---- On Sat, 02 Jan 2021 17:08:50 -0330<EMAIL_ADDRESS>wrote ----
Hi @rsmithlal , its deployable except for the fact that we don't have the french translations. Would you suggest deploying anyways and updating the French after the fact?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


Update contributor's github page

Changes in this pull request
Issue fixed: #
Checklist

[x] All tests pass. Demo project builds and runs.
[ ] I added tests, an experiment, or detailed why my change isn't tested.
[ ] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

cc @qhhonx

cc @qhhonx

LGTM. Thanks a lot.


convert failed:  'NoneType' object has no attribute 'file_name'

I'm trying to convert the attached file to a .schematic file but I'm getting an error and no ouput.
3dmodel.zip
Here's the command that I use:
python3.9 Obj2SchemticConverter.py untitled.obj --output_dir output/ --h_max 50 --w_max 50
And the error output
checking arguments...
start converting...
convert failed:  'NoneType' object has no attribute 'file_name'
Traceback (most recent call last):
  File "/home/hellocatfood/Desktop/Artechlaw/Software/obj2schematic/Obj2SchemticConverter.py", line 240, in <module>
	converter = Obj2SchematicConverter(
  File "/home/hellocatfood/Desktop/Artechlaw/Software/obj2schematic/Obj2SchemticConverter.py", line 38, in init
	self.df = self._create_obj_df(obj_path)
  File "/home/hellocatfood/Desktop/Artechlaw/Software/obj2schematic/Obj2SchemticConverter.py", line 46, in _create_obj_df
	vertices = self._analyze_mtl(obj_path, scene)
  File "/home/hellocatfood/Desktop/Artechlaw/Software/obj2schematic/Obj2SchemticConverter.py", line 59, in _analyze_mtl
	img_name = material.texture.file_name
AttributeError: 'NoneType' object has no attribute 'file_name'

aha! I discovered that this occurs because the model does not have an image texture.
Are image textures required on all models or could there be a way to convert a model without it needing an image texture?

Hi! @hellocatfood
Currently, support two .obj formats.

1. geometric vertices with (x, y, z, r, g, b)
2. .obj with .mtl

Are image textures required on all models or could there be a way to convert a model without it needing an image texture?

If your .obj format is 1. geometric vertices with (x, y, z, r, g, b), you don't need texture image.
If your .obj format is 2. .obj with .mtl, you need texture. image.

I'm trying to convert the attached file to a .schematic file but I'm getting an error and no ouput.

Your .mtl file does not have map_Kd.
If you add map_Kd to your .mtl file, you might be able to convert it.
I hope this helps.

Thank you, this helps greatly!


added DaemonSets

added DaemonSets

@killabayte still conflicts

Guys, I can't see what exactly I need to fix to resolve those conflicts. It would be super great if you can point me to the particular piece that should be fixed.

hmm, ok, github mobile client was showing me that it's possible to merge this. Guess I'll have to cherry-pick it manually. @killabayte the easiest way for you to bring your fork back up to date after that would be to delete and re-fork the repo (sorry for that) (and please wait until I reply here that I've applied your patches)

@killabayte I cherry-picked commits manually, you should be good to go recreate your fork


Describe supported components in README file

As we add more and more components, some components have no service endpoints (e.g. table formats).
It would be clear to list the supported components(and versions) for the newbie.

@pan3793 WDYT?

Enriching user-oriented docs is always a good idea.


Make the layout look prettier and fix the overflow to the right

add styles to enhance the ui of the page
fix the overflow as ur able to scroll a little to the right

Consider assigning me this issue with tags gssoc and hactoberfest

Hmm I see.
Please fix that overflow issue.

alright! just the overflow? @vishanurag

Yes

@vishanurag since the pr has been merged ,kindly close the issue, thank you !


Are /etc/pm/sleep.d scripts supposed to work with Crouton?

A few days ago in another issue, I noted that I'm finding the network interfaces I add in my Trusty chroot (via /etc/rc.local) immediately vanish after the system wakes from suspend. I've tried to work around this by setting up a script to run automatically from sleep.d to reestablish them. But this also appears to fail. Are these wake/resume functions in /etc/pm/sleep.d supposed to work with Crouton? I'm trying to find a solution to this other than using cron. Thanks.

This is a duplicate of #2526. Please dont flood a bug system like this.


Android Build error "method does not override or implement a method from a supertype"

Hi @alinz -- I tried to start a fresh new RN project and use the extension, but when I attempt to build it with 'react-native run-android', I keep getting the error:
:react-native-share-extension:compileReleaseJavaWithJavac
:react-native-share-extension:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/NEW_RN_APP/node_modules/react-native-share-extension/android/src/main/java/com/github/alinz/reactNativeShareExtension/ShareExActivity.java:78: error: method does not override or implement a method from a supertype
    @Override
    ^
1 error
:react-native-share-extension:compileReleaseJavaWithJavac FAILED

Are you familiar with this error or how I might troubleshoot it?  Thanks!

update: don't know if this is just a coincidence or the cause, but RN just pushed a new update v 0.29.0 just a few days ago that might explain why this error happened when I just generated a new RN app yesterday and installed your extension.  the update creates a new file MailApplication.java that contains some code similar to what it was complaining about during the build (@Override protected List getPackages()).
v 0.29.0 Update Release Notes:  https://github.com/facebook/react-native/releases/tag/v0.29.0
quote:

Android
Change the application template (49f20f4) - @foghina
Plugins which pass activity reference in the constructor need to be updated to extend ReactContextBaseJavaModule use getCurrentActivity to get the activity reference. This change is backward compatible.
Apps need to be migrated to use the latest template
Migration instructions for apps

Create a new file MainApplication.java in the same folder as MainActivity.java
Update it to match - https://github.com/facebook/react-native/blob/0.29-stable/local-cli/generator-android/templates/package/MainApplication.java and move your customisations from MainActivity.java to this file
Update MainActivity.java to match - https://github.com/facebook/react-native/blob/0.29-stable/local-cli/generator-android/templates/package/MainActivity.java

@allenrl yes that is true. The bootstrap api for Android has been changed significantly. I will update the code soon. Once I push the code I will close this ticket.

hi @alinz just checking in to see if you have a fix any time soon.  if not, but you know how to fix it, can you provide a brief explanation or simple instructions and i'll see if i can make it work?  thanks!

Hi @alinz,  I would also love if you would update to handle the new bootstrap,  or maybe if you have some ideas on a work around.   I have your extension up and running on iOS work great.   But my RN is at .30.   Thank you.

Hi, alinz!
For our project we really need this issue to be resolved - is there any possibility that you finish it?
If there are some problems that cause this delay or somethig?
Million thanks in advance!!

+1

+1

+1

+1. Still waiting for update.

I have the same issue with:
"react": "15.3.2",
"react-native": "0.33.0",
"react-native-share-extension": "^1.0.3",

I'm going to assume this project has been abandoned. Would like to see this come back if possible, tag me if anybody figures out a fix.

I have published 2 version 1.1.0 for react-native 0.39 and below and 1.1.1 for react-native 0.40.0 and above.

@ChrisPikul510 just because I haven't published anything on npm doesn't mean I have abandoned this project. As you know, I have other priorities as well, so you can easily do a fork and build everything on top of it and if you want you can give me a PR.

Now it works perfect with:
"react": "15.3.2",
"react-native": "0.33.0",
"react-native-share-extension": "^1.1.0",

@luisfuertes please make sure to remove the ^ from the version in your package.json.

@alinz -- for those of us that encountered this error when building our RN app on version <0.29, can we resolve this issue by updating/upgrading your extension and RN to the latest version?  or, do we need to start over by creating/building a brand new RN app?

@allenrl I think you should be able to use 1.1.0. Give it a try. the thing is I can't support every single version. I need the community to support me. try it and let me know, and if you can fix any problem I would be gladly accept your PR.


latest Azure Functions release tries to serialize the HttpResponse returned by adapter

For a repro, you can run the existing sample on the latest azure functions runtime. You will see exceptions traced after the line Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Http.Internal.DefaultHttpResponse'.. This happens because we return the context's HttpResponse back to azure functions where it is being treated as an object needing to be serialized.
Based on what I learned in https://github.com/Azure/azure-webjobs-sdk-extensions/issues/478 this was never really a supported approach in v2, though I am still not sure why exceptions weren't visible on previous v2 runtimes with this approach.
I prepared a PR which addresses this with the minimal amount of changes by instead returning an IActionResult that does nothing. I assume this is ok for the azure function use case since the Giraffe/Saturn pipeline should handle everything needed to prepare the response to the client and we just want the azure functions runtime to pass the context back up the stack. If that assumption is off we may need to rethink what a Saturn binding means for azure functions.

Fixed by #136


Append question title and difficulty to daily question directory

Including difficulties and titles would make questions easier to browse.
Example: 2019/08/29-MEDIUM-Connect-Four

Resolved in pull request #49.


Blowfish fails to install as a Git Submodule: unable to checkout submodule 'themes/blowfish' and Hugo server not working.

Describe the bug
While downloading blowfish according to installation guides, the blowfish download fails with fatal error
fatal: unable to checkout submodule 'themes/blowfish'
All dependencies have been installed
/themes/blowfish empty along with all other folders.
While starting the server, nothing showed up with a Page Not Found error.
While testing site, error
To Reproduce
Steps to reproduce the behavior:

Install Hugo; latest version from official release binaries
run hugo newsite pranavblogs to create a site
change directory into the new site: cd pranavblogs
run 'git init`
attempt to download and add the github submodule using command:
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
attempt to start server after replacing toml files using hugo server -t blowfish

Expected behavior
Successful clone from github, with no errors. Contents in the cloned folders. Base theme webpage loading as does with other themes such as Paige, Terminal, etc.
Screenshots

The last line in this terminal snippet displays the error.
The Page not found error is also depicted.
Please do help with thise error as this theme is really cool. I am not aware if this a mistake on my part, and I would be very happy to get advice on how to do this right. have been trying for many days and hours.
Desktop (please complete the following information):

OS: [e.g. Windows 11 Home]
Browser [chrome]
Version [chrome - 131.0.6778.86; windows - 23h2 Build no. 22631.4541]

Hugo & Blowfish versions
Latest releases from respective websites.
hugo v0.139.2-770f548b47b39e6f0fd4da1cc80552024e5829e1 windows/amd64 BuildDate=2024-11-23T15:33:51Z VendorInfo=gohugoio
Additional context
The /themes/blowfish folder is also empty. After downloading the recommended downloading toml files, the webpage still shows page not found. I have tested this with the terminal theme and other themes, and they work just fine.

EDIT: Tried the blowfish-tools (npx) as recommended on blowfish.page.

I think the same issue is being encountered. Even the blowfish tools use the same command to download and clone the theme, and since that fails, it isn't able to locate any required files (cloning fails), hence the whole command fails. This shows its not specific to the github submodules.

Fixing this in v2.80.0

@schneekluth @nunocoracao Thank you! This really helps


Add support for radios printing

When the checkbox PR is merged, I think this only requires a rebase and a unit test similar to the checkbox one but for radio buttons.

I added a test so this PR is ready to be reviewed.

/botio-linux preview

/botio test

Another piece of the puzzle done. Thank you!


Trying other models and algos  for better analysis of the dataset

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
Please assign me this issue I am very excited to work on it
Screenshots
No response
Code of Conduct

[X] I follow Contributing Guidelines of this project.

@Rakesh9100  pls assign me this issue

I am GSSOC 23 contributor assign this to me

@AnuragJha003 Assigning you, proceed and try
Many similar issues are also open so merging will depend whose accuracy and other factors will be good

Hi, @Rakesh9100 I would like to contribute. Please assign the task to me under GSSOC'23.

@Mubashir-Ul-Hassan I have been already assigned this issue bro

Bro I want to contribute and want to gain skill I don't want to waste my
summer so please guide me want I do.
On Wed, May 24, 2023, 1:36 AM AnuragJha003 @.***> wrote:

@Mubashir-Ul-Hassan https://github.com/Mubashir-Ul-Hassan I have been
already assigned this issue bro
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/ML-Project-Drug-Review-Dataset/issues/16#issuecomment-1560090958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYZWFH4XCJJYCHBLMT3V7SLXHUNVHANCNFSM6AAAAAAYJFOIAQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

@Mubashir-Ul-Hassan Head to discord server of GSSoC23 for these discussions and queries you have

Ok thanks alot
On Wed, May 24, 2023, 1:56 AM Rakesh Roshan @.***>
wrote:

@Mubashir-Ul-Hassan https://github.com/Mubashir-Ul-Hassan Head to
discord server of GSSoC23 for these discussions and queries you have
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/ML-Project-Drug-Review-Dataset/issues/16#issuecomment-1560113689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYZWFH35QKVGJCOQNLO3LPDXHUQBRANCNFSM6AAAAAAYJFOIAQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

@AnuragJha003 Provide the update of your work

@sijalalyy Do you want to work?

@sijalalyy Do you want to work?

Yes i want to work on this.

Which models and algos will you implement? Specify in detail @sijalalyy

Algos and Models that can improve the analysis

Vectorization Techniques:
a. Bag-of-Words (BoW): This technique represents text data as a frequency count of words in each document.
b. TF-IDF: Term Frequency-Inverse Document Frequency is a measure that reflects the importance of a word in a document corpus.
c. Word2Vec: This technique represents words as vectors in a continuous vector space, capturing semantic relationships.

Classification Algorithms:
a. LinearSVC: Linear Support Vector Classifier is a variant of the Support Vector Machine algorithm, known for its effectiveness in text classification tasks.

I m working using word2vec and tf idf and SVC and have also thought of
using Random forest with xgboost for it .... Sorry for the late reply net
was down in my region and very slow over the last 2/3 days due to a
maintenance  work
On Mon, May 29, 2023, 1:17 AM Sijal Ali Ansari @.***>
wrote:

Algos and Models that can improve the analysis

Vectorization Techniques:
a. Bag-of-Words (BoW): This technique represents text data as a
frequency count of words in each document.
b. TF-IDF: Term Frequency-Inverse Document Frequency is a measure that
reflects the importance of a word in a document corpus.
c. Word2Vec: This technique represents words as vectors in a
continuous vector space, capturing semantic relationships.
2.
Classification Algorithms:
a. LinearSVC: Linear Support Vector Classifier is a variant of the
Support Vector Machine algorithm, known for its effectiveness in text
classification tasks.
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/ML-Project-Drug-Review-Dataset/issues/16#issuecomment-1566243149,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHRITDSPLFDFXGP7UJOU7LXIOTWNANCNFSM6AAAAAAYJFOIAQ
.

Within some days I was not able to work a bit because of my poor net
connection in the region. I started working on it and will create it very
soon .
On Mon, May 29, 2023 at 1:46 AM Rakesh Roshan @.***>
wrote:

@AnuragJha003 https://github.com/AnuragJha003 When will you create PR?
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/ML-Project-Drug-Review-Dataset/issues/16#issuecomment-1566250085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHRITDKCPHGVHLBV4UWEV3XIOXB5ANCNFSM6AAAAAAYJFOIAQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Hi, @Rakesh9100 I would like to contribute. Please assign the task to me under GSSOC'23.


Updated AppCatalyst for August 2015 release

Updated vmware-appcatalyst cask for August 2015 Release (TP2)

Thank you for the contribution. It needed some fixes, so they were made in 0f93b1ab2d2da152bc636c7dfb9407cfdc9c64a0. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Added Firebase, GoogleDrive, Kanoma, Lobe.AI and Flutter

I've just updated my library with new Logos and an updated version of the one from my company :)

Awesome, thanks!

Can you also add the new logos to the description so it's searchable?

Yup, I'll do it tomorrow morning :)

Merging!


InvalidOperationException("Only one operation can be active at a time");

Expected Behavior
Open dialog again
Actual Behavior
App crashes
Steps to Reproduce the Problem

Open picker dialog
Swipe down ( like close/cancel operation)
Try to open dialog again

Specifications

NuGet package version: latest
Platform: iOS 13 and higher

This is a known issue. See https://github.com/jfversluis/FilePicker-Plugin-for-Xamarin-and-Windows#all-platforms

Does the PickFile() call return? Maybe it has thrown an exception that you didn't catch? In this case .NET may forget about the exception altogether (and send an UnobservedTaskException event to notify you). Can you reproduce the error with the sample app?

The problem with this is that even if you catch the exception, picker stops working until you restart the app.
When the exception happens, call this and then present the picker again, it will start working again:
try
{
       Plugin.FilePicker.CrossFilePicker.Current as FilePickerImplementation)?.DocumentPicker_WasCancelled(null, null);
}
catch (Exception)
{
       //sender was null and won't be disposed, we can ignore that
}

@rihadavid please have a look at Xamarin.Essentials, they have implemented a FilePicker partially based on this one. We will retire this library :) If there is still an issue, open it with them. Thanks!

@jfversluis Will do in near future, but currently, since it's only in preview, could we get a workaround? In the documentation mentioned above there was no example of how to handle this exception:
catch (Exception ex)
       {
            if (ex.Message == "Only one operation can be active at a time")
            {
                 //How to handle this - re initialize?
            }
        }

I could not understand @rihadavid "call this" solution.
We are about to go in to production with our solution, and this is holding it up.
Please advise.

I understand your situation, but I think the "preview" is mostly a psychological barrier. Would it make you feel better if we would rush a fix in this library and release it? Or use a preview that is backed by a company like Microsoft?
I would suggest to just try the preview, see if that fixes it and works in all your other scenarios. If it does, I don't see why you can't use it.

I understand your situation, but I think the "preview" is mostly a psychological barrier. Would it make you feel better if we would rush a fix in this library and release it? Or use a preview that is backed by a company like Microsoft?
I would suggest to just try the preview, see if that fixes it and works in all your other scenarios. If it does, I don't see why you can't use it.

Understood, could you confirm in what version xamarin.e

I understand your situation, but I think the "preview" is mostly a psychological barrier. Would it make you feel better if we would rush a fix in this library and release it? Or use a preview that is backed by a company like Microsoft?
I would suggest to just try the preview, see if that fixes it and works in all your other scenarios. If it does, I don't see why you can't use it.

Thanks, I wasn't expecting a fix, I was hoping there is a quick workaroundas mentioned in documentation but not showing.
I have tried Xamarin.Essentials FilePicker on 1.6.0-pre2 and it worked fine, just need to test a few more scenarios, so thanks!
I Will reply if it won't work on some scenarios as I suspect people will be coming here with same issue.

About the "Only one operation can be active at a time" exception... If you study the code of the implementation, you will see that this exception is only thrown when there is already a TaskCompletionSource active and was never cleared in the this.Handler call back.
By the way, did you leave the picker by swiping down the picker window? It seems another user stumbled over this and fixed it in #212...

I could not understand @rihadavid "call this" solution.

@Edgaras91 What did you not understand? Just add my code to your code instead of //How to handle this - re initialize? and call the method again (open the dialog again).

Closing this since this project will retire, please check out Xamarin.Essentials which now has a FilePicker based on this one.

Whoops sorry, wasn't meaning to interrupt an ongoing discussion. Was just cleaning up here :) feel free to continue, but don't expect a lot of effort on this project anymore.


custom log format - missing user-agent ?

I am trying to replicate as close to possible the log format Nginx users but I can not found the user-agent placeholder https://caddyserver.com/docs/placeholders ? Is there one ?

That's just a header, right? {>User-Agent} should do the trick.

cheers so like this ?
log /opt/caddy/le12.http2ssl.xyz-access.log "{remote} {when} {method} {uri} {proto} {status} {size} {>User-Agent} {latency}" {
    rotate {
            size 100 # Rotate after 100 MB
            age  14  # Keep log files for 14 days
            keep 10  # Keep at most 10 log files
    }
}

That's how I'd do it!

thanks.. strange  though haven't had any logged entries since the change even after visiting the site
IP - [07/Dec/2015:00:37:33 +0000] "GET / HTTP/2.0" 200 548
date
Mon Dec  7 17:59:22 UTC 2015

any further debug mode logging available ?

Is that a log entry generated by the format you specified above? They don't seem to match, and what's with the newlines?

Oh the last 2 lines was date of system when i did the tail on the log to show that there was like ~17hrs 26mins since the last log entry in the log
the format shown above is the default log format, since switching to the custom format no new log entries have been logged even after visiting the sites

Oh, I just noticed you're missing the base request path to match in order to log the request. Change your first line to:
log / /opt/caddy/le12.http2ssl.xyz-access.log "{remote} {when} {method} {uri} {proto} {status} {size} {>User-Agent} {latency}" {

(notice the extra / at the beginning, according to the log format. Right now you probably have a file called  "{remote} {when} {method} {uri} {proto} {status} {size} {>User-Agent} {latency}" on your system somewhere. :smile:)

doh thanks for catching that :)


Adding intro-ansible solution

Putting this PR out there for when we are ready to activate the intro-ansible module

Thanks, I was looking for this while doing the section on https://learninglabs.cisco.com/lab/ansible-ios-modules


Introduce sector module

Summary of the discussion
#1399
Type of change (CHANGELOG.md)
Added

Added a new module oeo-sector.omn

Updated

move sector and sector division and subclasses to the new module

Workflow checklist
Automation
Closes #
PR-Assignee

[ ] 🐙 Follow the Pull Request Workflow
[ ] 📝 Update the CHANGELOG.md
[ ] 📙 Add #'s to term tracker item

Reviewer

[ ] 🐙 Follow the Reviewer Guide
[ ] 🐙 Provided feedback and show sufficient appreciation for the work done

I tried out several things and took https://github.com/OpenEnergyPlatform/ontology/pull/1649/commits/a595d172ab0e37fdb6f03202e5ba6e0e7cc97ca0 as template, but it the new module seems not to be recogized when I import it to oeo-shared-axioms. @areleu @l-emele @MGlauer any ideas what the problem is?

In file src/ontology/edits/catalog-v001.xml you have now both an Import Wizard Entry and an User Entered Import Resolution:
    <uri id="Imports Wizard Entry" name="http://openenergy-platform.org/ontology/oeo/dev/oeo-sector.omn" uri="oeo-sector.omn"/>
    <uri id="User Entered Import Resolution" name="http://openenergy-platform.org/ontology/oeo/dev/oeo-sector.omn" uri="oeo-sector.omn"/>

Maybe that is causing the problem?
Additionally, I noticed that when I open oeo.omn in your current branch, Protégé adds an additional entry into src/ontology/catalog-v001.xml
    <uri id="User Entered Import Resolution" name="http://openenergy-platform.org/ontology/oeo/dev/oeo-sector.omn" uri="edits/oeo-sector.omn"/>


Split sentence annotator and its resources into separate modules

Question open to debate (for Tuesday's meeting most probably):
Should we remove java.io.File from everywhere? (such as from SuffixSensitiveGISModelReader constructor)
Note that this implies a huge refactoring that will break a lot of things (actual code, but also tests) and will be really hard to do in only one pass.

Investigating CI build status...

Tests are now passing.

Thanks Marco for the PR. Looks great! Just a few details, do you mind fixing them? It should not be much work. If not, let's discuss tomorrow... Thanks again --

The last four commits should improve things as discussed yesterday morning. Let me know if there's anything else.


Use released versions of memcached extension

I completed the 3 steps below:

[ ] I've read the Contribution Guide.
[ ] I've updated the documentation. (refer to this for how to do so).
[ ] I enjoyed my time contributing and making developer's life easier :)

Uh, it looks like every PR with a CI run for the past 3-4 months has failed?

Oops, sorry about the Dockerfile one-line requirement breakage.


fix: remove us for pages scanned and pages written

This PR removes the 'us' unit for 'pages scanned' and 'pages written' in the dump statistics tree node.
Fixes: #91

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (5d84ffa) 82.43% compared to head (c413683) 82.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   82.43%   82.43%
=======================================
  Files           4        4
  Lines         558      558
=======================================
  Hits          460      460
  Misses         72       72
  Partials       26       26

Impacted Files
Coverage Δ

tree.go
87.17% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Capacitor v5 usage

Describe the bug
When we install a plugin for example like FileSystem and try to sync it does not work. Its only when we add the package to the app/project/package.json does it work.
To Reproduce
Steps to reproduce the behavior:

create a nx mono repo
create a test app project
install capacitor
install FileSystem plugin
use the fileSystem plugin (be silly with it doesn't matter ie as long as the android build picks up FIleSystem usage in your codebase)
run npx nx run project:sync:android (or ios or both..) & npx nx run project:copy:android
open the app in android studio
build project notice that it fails..
add to app/project/package.json =><EMAIL_ADDRESS>(same package that we added to root)
go inside directory app/project and run npx cap sync android.
now the build of android works

Expected behavior
We shouldn't have to add the dependency to the app's json
Additional context
Add any other context about the problem here.

You ought to delete the app/project/package.json file, allowing it to rely on external package.json dependencies instead. This issue can catch those who overlook it off guard. For detailed steps on identifying and resolving this problem, please refer to my article at [Medium]. It took me an entire afternoon to navigate through and resolve this perplexing issue.

It's indeed a concern related to this library. Let's hope for a swift resolution.


Fixing broken link

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/2153

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Regression test August 16 2019 beta release

[X] Run all the E2E tests on the nightly branch on jenkins:
Note: Make sure that ALL the tests are being run (about 51 tests).
OR run them from your computer, pointing to dev17 server.

Tested on dev17.

Ran all the E2E tests
Smoke tested on safari & firefox
Quick check around changing language on step 2 of checkout (shipping method)


Does not launch on Fedora Silverblue 40

[Flatpak from flathub]:
report from "flatpak run":
Could not load platform amazon, gave error: Unknown platform named amazon
Could not load platform playnite, gave error: Unknown platform named playnite
Could not load platform gamepass, gave error: Unknown platform named gamepass
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message:  called Option::unwrap() on a None value
Location: /run/build/boilr/cargo/vendor/glutin-0.30.8/src/api/egl/surface.rs:220
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.

Same issue here for Bazzite, which is based on Fedora Atomic 40.
Error message is pretty much a duplicate of OP.

As a temporary workaround (if you are using X11), you can get it to work by:
WINIT_UNIX_BACKEND=x11 ./linux_BoilR

Does not launch on Fedora 40 either. Same error.

Same issue with the Flatpak version on Arch

BoilR is launching fine nowadays, been using on Arch and just tested on a fresh Fedora Silverblue 41 without any changes on Flatseal and it just works.
I think we can close the issue.


feat: add coreset and coresubset data structures

PR Type
Closes #518

Feature
Tests

Description
As part of #581, it is necessary to decouple the coreset data-structures and solvers/reduction-strategies. The new coreax.coreset.Coreset and coreax.coreset.Coresubset data-structures introduced here facilitate this decoupling, such that the conceptual notion of a coreset better reflects our implementation. I.E. a coreset is a data-structure and a solver is a solver, the current implementation treats a coreset as both of these things.
Note: these new data-structures are currently unused. They will be used in an upcoming PR to fully address #581.
A new set of unit tests have been created for these new data-structures in tests/unit/test_coreset.py.
Additionally updates the new coreax.data.Data with at_least{1,2}d equinox converters and a __len__ magic method. This facilitates the coreset __len__ magic method, and will allow many atleast_{1,2}d calls to be removed from the codebase, at a later date.
Tests for coreax.data.Data have been refactored to reduce code duplication resulting from a new test for the new __len__ method.
How Has This Been Tested?
All tests pass
Does this PR introduce a breaking change?
No
Checklist before requesting a review

[x] I have made sure that my PR is not a duplicate.
[x] My code follows the style guidelines of this project.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have performed a self-review of my code.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.

If we want the ability to distinguish between supervised and unsupervised coresets, then we can make the pre_coreset_data generic on _Data = TypeVar("_Data", bound=Data). Then you could type Coreset[Data] or Coreset[SupervisedData]. The materialized coreset is independent of the supervision, so we only need it for typing pre_coreset_data.


10 issues

Bows and arrows will not work for 1.9 clients
It will take forever to eat with a 1.9 clients
Skin hats pants etc... will not show up for 1.9 clients
If you are using 1.9 and wear an armor, it will work, but it will not show on the armor bar
Your client will crash if you get near a wither boss with 1.9 client
You can not see the ender dragon boss bar
For 1.9 clients all spawn eggs will not have textures (all of them are white spawn egg named "spawn"), but its still working
Spawners dont have the right type as they all show as pig spawners for 1.9 clients, but its still working
"AAC" an anti hack plugin crash the players after being online for around 10 seconds

In my previous testing #8 isn't true, but I haven't tested of these.

Have you verified that this is true for the latest version?

i have none of those want to join my server? play.kwarkkings.us.to

only 3 en 6

Im using this version of spigot https://gyazo.com/9598032774f082c6de18605ba461f2bd I am not sure if they updated 1.8.8 after releasing 1.9

alex your server is whitelisted

try now ridalarry

Bows and arrows appear mostly fine, the only thing that doesn't work is the drawback animation doesn't show for 1.9 clients http://i.imgur.com/1L5Rtyh.jpg
Same for me
working fine for me: http://i.imgur.com/RKV29U2.jpg
Same for me
Same for me

Correcting some of my issues and adding another 2 issues

It works but not all of the time https://gyazo.com/2e564b8cd290c79b6350b5bb7774d90d
still not working
I mean the skin hats jackets etc... (the skins are 2 layers the second layer is not showing not the entire skin the first layer is fine)
Still not working
Seems to be fixed
You can not see the ender dragon and wither boss bars
For 1.9 clients all spawn eggs will not have textures (all of them are white spawn egg named "spawn", but on alex server it works fine for some reason), but its still work on right click
Still not working
Didn't recheck yet
On placing the dragon head its not moving, but on alex server it did
You can not sign a book nor read signed books

the dragon head only works with redstone, it's meant to not animate if no redstone near

The bow works fine sometimes.
They behave very odd, because when shooting your first arrow everything is fine.
If you then don't move, and shoot again, the arrow wont even show up.
If you move a little bit, it will launch with a small velocity.
If you move enough it will launch with normal velocity.
I have no idea which causes this.

@Wilco2998 Pretty sure the dragon head is supposed to be still unless it's powered by redstone.

Please submit a ticket for each problem. Also make SURE that such ticket is not already open. Thanks

Ok I will close this and submit new ones for each one seperated.


#Bug. When using two monitors, the window goes to the second screen.

When using two monitors, the window goes to the second screen. When you turn on the Acrylic effect
https://a.icons8.com/pNoVVVlQ/lkL8Uu/2018-12-27_17-40-47.png
Any idea how to fix this?

Hi, @AndreyGrishin.
Thanks for the feedback 😄
I recognized this issue.
I'm trying to fix this issue, but it is difficult.
Please wait for a while.

Thanks for the help

I am seeing this in a different way. Its quite odd.
https://cdn.discordapp.com/attachments/530128620732022811/530128652915179523/unknown.png

Hi @AndreyGrishin, @Stryxus
It took a long time, but finally I was able to fix it.
I fixed it in FluentWPF 0.10.0-alpha001: this is pre-release packages.
I'm confirming this way in several environments. If there is no issues, I'll release it as FluentWPF 0.10.0.
Please wait for a while.


cannot get formatted date while still using raw values of other data types

Hey, I`m currently working on a project that requires me to parse through an excel file and collect the information stored within to do other stuff with it.
After using cell dates and formatting the date to mm/dd/yyyy format, I'm forced to use the non-raw values of other columns that are being parsed that aren't dates. For example, one column is storing account numbers (e.g<PHONE_NUMBER>0). Because it is no longer getting the raw value, that account number is showing up as 6.13595E7, in scientific notation. Is there a way in which I can use this formatted date without having to compromise on the other values?
Edit: expanding on this, the complete number is stored in the .v field while the formatted date in the .w field. Is it possible for me to use the .w field for dates and .v field for everything else when using the sheet_to_json command?

For the greatest flexibility, you can walk the worksheet directly.  sheet_to_json does a pretty straightforward row-major-order walk of the worksheet.  The loop structure would be:
var range = XLSX.utils.decode_range(ws["!ref"]);
var headers = [], addr = "", out = [];
// create header array
for(var C = range.s.c; C <= range.e.c; ++C) {
  addr = XLSX.utils.encode_cell({r:range.s.r, c:C});
  if(!ws[addr]) headers.push("Column " + (C - range.s.c + 1));
  else headers.push(ws[addr].w || ws[addr].v || "Column " + (C - range.s.c + 1));
}
// process data
for(var R = range.s.r; R <= range.e.r; ++R) {
  var row = {};
  for(var C = range.s.c + 1; C <= range.e.c; ++C) {
    var addr = XLSX.utils.encode_cell({r:R, c:C});
    if(!ws[addr]) continue; // skip non-existent cells
    row[headers[C - range.s.c]] = ws[addr].t == "d" ? ws[addr].v : ws[addr].w; // put your logic here
  }
  out.push(row);
}


Kernel error

I performed the manual installation as given in the "README.md". But I am getting Kernel error during kernel start.
Failed to start the kernel
Unknown server error
Traceback (most recent call last):
  File "C:\Program Files\Anaconda3\lib\site-packages\notebook\base\handlers.py", line 457, in wrapper
    result = yield gen.maybe_future(method(self, *args, **kwargs))
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 62, in post
    kernel_id=kernel_id))
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
    kernel_name)
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
    self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Program Files\Anaconda3\lib\site-packages\tornado\gen.py", line 285, in wrapper
    yielded = next(result)
  File "C:\Program Files\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "C:\Program Files\Anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
    km.start_kernel(**kwargs)
  File "C:\Program Files\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 243, in start_kernel
    **kw)
  File "C:\Program Files\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 189, in _launch_kernel
    return launch_kernel(kernel_cmd, **kw)
  File "C:\Program Files\Anaconda3\lib\site-packages\jupyter_client\launcher.py", line 123, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "C:\Program Files\Anaconda3\lib\subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "C:\Program Files\Anaconda3\lib\subprocess.py", line 1224, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

OS - Win10
Python distro - Anaconda3 with Python 3.5.2
EDIT:
I also tried it in my Python 2.7.12 environment in Anaconda. The same problem there too.
Failed to start the kernel
Unknown server error
Traceback (most recent call last):
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\notebook\base\handlers.py", line 457, in wrapper
    result = yield gen.maybe_future(method(self, *args, **kwargs))
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1021, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\notebook\services\sessions\handlers.py", line 62, in post
    kernel_id=kernel_id))
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1021, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
    kernel_name)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1021, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
    self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 1015, in run
    value = future.result()
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\tornado\gen.py", line 285, in wrapper
    yielded = next(result)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
    km.start_kernel(**kwargs)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\jupyter_client\manager.py", line 243, in start_kernel
    **kw)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\jupyter_client\manager.py", line 189, in _launch_kernel
    return launch_kernel(kernel_cmd, **kw)
  File "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\jupyter_client\launcher.py", line 123, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "C:\Program Files\Anaconda3\envs\python27\lib\subprocess.py", line 711, in __init__
    errread, errwrite)
  File "C:\Program Files\Anaconda3\envs\python27\lib\subprocess.py", line 959, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified```

Hello? Anybody home?

these steps worked for me
sudo pip3 install jupyter-c-kernel
git clone https://github.com/brendan-rius/jupyter-c-kernel.git
cd jupyter-c-kernel/
jupyter-kernelspec install c_spec/
sudo pip3 install ipykernel
jupyter-notebook

I have the same problem. I guess there is no windows support??

I have the same problem... and I use windows 10 too.
OS - Win10
Python distro - Python 3.5.1 [MSC v.1900 64 bit (AMD64)] on win32
Jupyter version -
Metadata-Version: 2.0
Name: jupyter
Version: 1.0.0

I have been using Linux for a while now; so I can't test this solution and tell you that it'll definitely work, but I just think it might.
In the python script -   "C:\Program Files\Anaconda3\envs\python27\lib\site-packages\jupyter_client\launcher.py", change line 123 (where the error arises from) from this:
proc = Popen(cmd, **kwargs)
To this:
proc = Popen(cmd, **kwargs, shell=True)
I have worked with the subprocess module for sometime, and in Windows, I had to invariably pass the additional 'shell=True' argument in every Popen() call (even where it isn't supposed to be there) in order to make it work. I think it is a subprocess-Windows problem, and this solution is a dirty, temporary fix.
Could you try this fix and post back here?

I have tried this fix and change the line 123 into this:
proc = Popen(cmd, shell=True, **kwargs)

but it doesn't work.
I guess the key is kernel.json, I found that many of the wrong code point to a json content like this:
[D 2016-04-29 09:21:07.343 user1 manager:241] Starting kernel: ['python3', '-m', 'c_kernel', '-f', '/home/user1/.local/share/jupyter/runtime/kernel-09670651-81\
9e-4c67-b185-6b3b8cfd99f5.json']

I try to change the content of kernel.json in the downloaded jupyter-c-kernel(like step 4, path is  C:\Users\HuYibo\jupyter-c-kernel\c_spec\), but the change do not work on this error...
Maybe the true kernel.json is in other place. Anyone who post your position of kernel.json would help a lot:)
@kushalchauhan98

I found the true kernel.json is in C:\ProgramData\jupyter\kernels\c_spec, and after editing it into:
{
  "argv": [
    "python",
    "-m",
    "jupyter_c_kernel",
    "-f",
    "{connection_file}"
  ],
  "display_name": "C",
  "language": "c"
}

I fix this kernel error.

I'm getting this error on Windows too. @HunterYIboHu could you submit a PR?

me too have the same problem , jupyter4 , python 2.7 , gcc ,

On Windows 10, it works (for me) with the Ubuntu Windows Subsystem for Linux (WSL) but need  "master.c" bug repair (see other thread).
(first, I've tried Anaconda, and Windows install, but got bugs : "kernet error", "master.c", ...)
Jupyter 4.4.0
gcc 4.8.4
python 2.7.6 and python 3.4.3 (both needed ?)


Add gamma correction

Hi,
Thank you for writing and sharing this code. I do have one enhancement if possible. I'm new to the ESP&Arduino in general so am not able to contribute myself (yet). What i noticed that when setting the LED to yellow (i.e. 	#FFFF00). The light produces a more green then yellow light. And in general the true colors are somewhat "off".
So I think a gamma correction could/should be added. I found something in the likes of this:
https://learn.adafruit.com/led-tricks-gamma-correction/the-quick-fix
If this is what is needed it should fairly easy to implement. What do you think?
Thanks & kind regards,
Max

Hmm... This is really interesting, @makzdot. I've struggled with this issue in the past, and I hadn't seen such a simple fix.
I'll take a look at adding this solution to the project. I'll probably leave it as a configuration option (or an entirely different file) because some lights might not exhibit the same issue.
I'm working on some other projects right now, but I will leave this issue open to remind me soon.
If you, or anyone, would like to open a PR for this change, I welcome it.

Hi @corbanmailloux,
Thanks for your response. In the meantime I've been experementing and made a tinsy bit of progress. With this solution the colors are a little bit more accurate. Still not perfect though. But the oranges and yellows match up way better to actual RGB codes than before. And that is a win.
I'll make a pull request soon.


Update README-pt.md

Change some terms to improve portuguese speakers translation.

Thank you @elionaimc ! Sorry for the merge delay.


Add import of shims to index.js to ensure they load before React

Removed imports from webpack config. Updated to make consistent with other starters.
Tested in Chrome and IE.
Connected to rangle/rangle-starter#100

Out of curiousity, shouldn't this kind of thing be handled by babel?

@JaKXz We can keep the shims in the webpack config file and it will still work. But in this case, the change was made just to make the loading of shims consistent across the starters. For the angular2 starters, in particular, once we added the splitByPathPlugin, they were being loaded after vendor.js and causing issues (see https://github.com/rangle/rangle-starter/issues/100).
Maybe I should rename this PR?

@codebyuma yup I saw the original, but is this fix actually necessary when it doesn't actually affect this starter? I get that we don't want to fragment, but TBPH I'm surprised we need shims at all since Babel is supposed to transpile everything to "vanilla" ES5? Unless I'm missing some fundamental concept, this is how it works on some of our other react-redux projects.

@JaKXz Ah, I see. Well, let me try removing them and see what happens.

@JaKXz Ok, it works fine in Chrome without any of the shims but we get a 'promise is undefined' error in IE 11 when we don't include either 'es6-shim' or 'es6-promise' (though we don't need to include both). Do your other projects not include any of these at all?

Yeah, they don't at all. But I forgot about IE! ah, good old IE.

@JaKXz yeah the shims are mainly needed for IE. Some of them for Safari. We have not been consistent in using them on project teams but we should be.  Which is why the starters have them baked in now.

:shipit:


[SYSTEMML-1303] Remove deprecated old MLContext API

Remove deprecated old MLContext API, which is scheduled to be removed in version 1.0.0.

LGTM - thanks @deroneriksson; minor comments: (1) I would recommend not to modify the formatting of apache licenses because they are simply copies of each other, and (2) now that the old mlcontext is removed, we should be able to consolidate the test packages into functions/mlcontext.

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1487/

@mboehm7 @dusenberrymw
WRT 1) I think it might be a good idea to remove the trailing whitespace in all the Apache license headers since git tends to treat trailing whitespace as an error, 2) I agree that consolidating mlcontext and functions/mlcontext sounds like a good idea

I don't have a strong opinion here, but I would leave the formatting of the licenses and empty lines  as they are (tabs/spaces aligned with previous line) because this is the default in eclipse and it keeps the history clean.

Although I have used the same Eclipse defaults for about 15 years, I just recently switched to removing trailing whitespace. Git/GitHub tend to flag trailing whitespace as an error and developers such as @dusenberrymw have convinced me that removing trailing whitespace tends to be a good practice to follow. I updated my Eclipse using:
Preferences --> Java --> Editor --> Save Actions --> Configure
Code Organizing --> Remove trailing whitespace (and All lines)


Can't display paginators in non-interaction based contexts

Describe the bug
Quite a big problem we've encountered across all spaces of the bot, that the paginator is unable to work by providing a commands.Context instead of a discord.Interaction. This is a problem on certain hybrid commands that require the use of a paginator.
Expected behavior
Paginator works in all contexts, not just discord.Interaction`.
Additional context
Paginators is a way of creating pages. As an analogy, think of pages in a real life book, you flick each page to view the contents of what the author is conveying. This is what a paginator is, but instead of actual pages, in discord we use a view to create buttons that jump to the first, previous, next and last page. Since using a button is considered an interaction, it needs to take in an interaction from the command.

It should be noted that this only works currently on the PaginationSimple class for hybrid(s) and normal slash commands interoperably.


dotnet test does not respect LogFilePrefix

Description
In .NET6, using the command dotnet test -l:"trx;LogFilePrefix=/app/report/mstest/TestResults" results in a trx file that is not put into the /app/report/mstest/TestResults folder, but just inside the unit-test project's TestResults folder.
Steps to reproduce

Create a docker file like

FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine
WORKDIR /app
CMD dotnet test -c Release --no-restore -l:"trx;LogFilePrefix=/app/report/mstest/TestResults" solutions/ExampleSolution/$ExampleSolution.sln``

and build an image
2. Create a simple project with a unit-test
3. Run the build by running `docker run -v $(pwd):/app --rm -t buildImage
Expected behavior
A .trx file in /app/report/mstest/TestResults
Actual behavior
A .trx file in /app/ExampleTestProject/TestResults
Environment
Container image mcr.microsoft.com/dotnet/sdk:6.0-alpine

Add additional info, when executing exactly the same commands on .NET Core 3.1 with the image mcr.microsoft.com/dotnetcore/sdk:3.1-alpine, it was behaving as expected.

Same issue for me. I dived a bit deeper and had these findings:

I saw there is a validation if you specify both LogFileName and LogFilePrefix together. To check if the config is picked up I specified both and saw that there is an error. So its no problem on the general input.
Then I looked into the code that follows and saw that LogFilePrefix cannot be used for absolute paths. it is purely a file name prefix.
https://github.com/microsoft/vstest/blob/90ee608c51f07da7e6b7988b693d5e1a9d33f7a5/src/Microsoft.TestPlatform.Extensions.TrxLogger/Utility/TrxFileHelper.cs#L144-L150

It seem to be the expected behavior looking at the code. If we want this to work line 144 would need to be:
- var fileNamePrefix = Path.GetFileNameWithoutExtension(fileName);
+ var fileNamePrefix = fileName;

I think the documentation is misleading:

Run the tests in the project in the current directory, and log with the trx logger to files in the TestResults folder, with file names that are unique for each target framework:
.NET CLI
dotnet test --logger:"trx;LogFilePrefix=testResults"
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-test

If you look at the casing they really mean that the files will be in the usual "TestResults" folder where also other test results are. And the file names will be prefixes with testResults AND target framework specific parts.

This is a new feature and won't be implemented, we are focusing on adding new features to Testing.Platform instead.  https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-intro?tabs=dotnetcli

It's a bug - not a feature.

The logFilePrefix is meant to put a prefix into a name not change the output path. That works as far as I know.


Variables window does not allow unfolding first element of any python data structure

From @csakumar on February 7, 2018 5:4

VSCode Version: 1.19.3 Shell 1.7.9 x64 Arch
OS Version: Windows 7 Professional
Extensions used : Python 2018.1.0 from Microsoft

Steps to Reproduce:

Create any python data object with multiple elements.
While in debug mode, try unfolding the first element of the data object. While the icon changes to unfolded mode, the data element does not populate
Try unfolding the successive data element and it works as expected.
Does this issue occur when all extensions are disabled?: Yes

In the Attachment, please note the unfolded mode for 0th and 1st row of playerData object. Although 0th row icon indicates that it is unfolded, there is no populated data.

Copied from original issue: Microsoft/vscode#43074

Hi @csakumar, thanks for letting us know about this problem.  I was unable to reproduce the failure so let's see if we can figure out what I'm doing wrong. :)  I'm followed your steps with the following code:
from collections import OrderedDict as OD
data = [
    OD(x=1, y=2, z=3),
    OD(a=1, b=2, c=3),
]
print('done')  # breakpoint here

I'm using version 2018.1.0 (soon to be released) of the Python extension, with Python 3.6 on linux.  Could you give my code a try and see if you run into the same problem?  Also, what version of Python are you using?

Because it has been more than a month since we requested more info, I'm closing this issue. If you are able to provide the info later then please do so and we can re-open the issue.


The file name setting not working , is just like messy code

I had setting the filename as "{pageTitle}.md" of extension  options , but when I go to donwload folder , I just see messy code like bellow,
e9aa2bea-155b-45b2-99d8-55c3ce8712b1
7a3c3406-9934-4267-a717-ce8133d91d23
6b8866af-72d7-477b-8551-65a9123efc7d
no file name，no extension
I use chrome on ubuntu 20.04.
anyone can help ，appreciate

I have the same issue, could you tell me how to solve this?


Refactor Work

General Refactoring Work to clean up the app

[x]  Refactor Stats as component which receives rows as a prop, don't make it's own API call
[x]  Remove Home and Move Home2 into Home
[x]  Refactor Lower component into Home page
[x]  Clean up and improve all comments
[x] Change Toggle component prop name to allow reuse
[x] Refactor out the options API on the home page

Closed with a241cc545a754a943a0378340d4a7b8c79c4d7f2


GPT4 model not woking

There is what i get when change the model in the config yaml file:
`godoevix ~ > chatgpt
ChatGPT CLI
Model in use: gpt-4
[0] >>> So ?
Unknown error, status code 404
{
'error': {
'message': 'The model: gpt-4 does not exist',
'type': 'invalid_request_error',
'param': None,
'code': 'model_not_found'
}
}
Total tokens used: 0
Estimated expense: $0.0
`

GPT-4 APIs are in beta and limited only to some users.
The error message you got means that your OpenAI account don't have access to the gpt-4 model (yes, I know they could have used a more precise error message...). In order to gain access you need to join the waitlist: https://openai.com/waitlist/gpt-4-api

Anyway, the feedback about the error message has already been given to OpenAI: https://community.openai.com/t/better-error-message-when-the-account-doesn-t-have-access-to-a-model/102905


Added AnyTone AT-D878UV as copy of AT-D868UV

Extremely basic modification, seems to work so far on my AT-D878UV

Jim, thank you for the patch!

Serge,
Your code was clean and easy to follow, and the 878 is so close to the 868 that it was really easy to make the changes.
However, I realized I missed one place in radio.c, in radio_read_image(), so I'm sending you another pull request.  I do apologize for the oversight.
There are some differences in the versions that I'm probably just not running into.  If I can provide any kind of files or anything to be more thorough, just let me know.
Thanks,
Jim

On Dec 10, 2018, at 2:47 PM, Serge Vakulenko<EMAIL_ADDRESS>wrote:
Jim, thank you for the patch!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sergev/dmrconfig/pull/20#issuecomment-445947872, or mute the thread https://github.com/notifications/unsubscribe-auth/AXeJ1ZP2BlnHcyiNAQDT2n1sHgBPD8Znks5u3rpbgaJpZM4ZL1MZ.

That's OK - I just merged your second pull request. It would be helpful if you send me a binary image of d878uv, for my collection. May be a factory image, right after software reset. So I could compare it with d868uv and figure out the differences. Thank you.

I'll try to do that tonight, and get that to you.
Have you started work on adding support for the CS800D by any chance?
Thanks,
jim

On Dec 10, 2018, at 4:00 PM, Serge Vakulenko<EMAIL_ADDRESS>wrote:
That's OK - I just merged your second pull request. It would be helpful if you send me a binary image of d878uv, for my collection. May be a factory image, right after software reset. So I could compare it with d868uv and figure out the differences. Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sergev/dmrconfig/pull/20#issuecomment-445970988, or mute the thread https://github.com/notifications/unsubscribe-auth/AXeJ1evp0lcCgaBVkp1l3JhLfyauXSH0ks5u3stzgaJpZM4ZL1MZ.

Serge,
I've done a factory reset and used dmrconfig -r to get device.img and device.conf, which are attached.  Additionally, when I first got the radio, I did an initial CP read and saved it for archival purposes, and I've attached that as well.
When I bought it, it had firmware 1.06, and now it's at firmware 1.09, not sure if that will make any difference.  I can re-read via windows after a reset if you need that as well.
Before I did the factory reset, I made a backup with dmrconfig -r, and after pulling the blank config for you, I wrote the backup back with dmrconfig -w, and it even put my on-screen channel selections back where they were.
Please let me know if you need anything else from me to help make this radio better supported.  I'll do anything I'm capable of to help.
Thanks,
Jim

On Dec 10, 2018, at 4:00 PM, Serge Vakulenko<EMAIL_ADDRESS>wrote:
That's OK - I just merged your second pull request. It would be helpful if you send me a binary image of d878uv, for my collection. May be a factory image, right after software reset. So I could compare it with d868uv and figure out the differences. Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sergev/dmrconfig/pull/20#issuecomment-445970988, or mute the thread https://github.com/notifications/unsubscribe-auth/AXeJ1evp0lcCgaBVkp1l3JhLfyauXSH0ks5u3stzgaJpZM4ZL1MZ.

Have you started work on adding support for the CS800D by any chance?

Unfortunately, I don't have access to CS800D. The format of the codeplug file (RDB) looks pretty simple. The protocol can be reverse engineered with USB sniffer.

I've done a factory reset and used dmrconfig -r to get device.img and device.conf, which are attached.

Thank you, Jim! I still don't see any attached files.

Before I did the factory reset, I made a backup with dmrconfig -r, and after pulling the blank config for you, I wrote the backup back with dmrconfig -w, and it even put my on-screen channel selections back where they were.

So dmrconfig works pretty well with D878UV. Excellent!

I was afraid an attachment wouldn't work.
Perhaps this dropbox link will?
https://www.dropbox.com/sh/dw9d5gmod4g894y/AAC1r0k_Pg6vCkH6i0VOjWPNa?dl=0 https://www.dropbox.com/sh/dw9d5gmod4g894y/AAC1r0k_Pg6vCkH6i0VOjWPNa?dl=0
If not, let me know and I'll try to find another way to get the files to you.
Jim

On Dec 10, 2018, at 8:15 PM, Serge Vakulenko<EMAIL_ADDRESS>wrote:
I've done a factory reset and used dmrconfig -r to get device.img and device.conf, which are attached.
Thank you, Jim! I still don't see any attached files.
Before I did the factory reset, I made a backup with dmrconfig -r, and after pulling the blank config for you, I wrote the backup back with dmrconfig -w, and it even put my on-screen channel selections back where they were.
So dmrconfig works pretty well with D878UV. Excellent!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sergev/dmrconfig/pull/20#issuecomment-446036016, or mute the thread https://github.com/notifications/unsubscribe-auth/AXeJ1T5rVNUUQH876Cj8Wcm6S085Jl8Uks5u3wdEgaJpZM4ZL1MZ.

I understand.  I'm using a raspberry pi which I can keep powered up in the car overnight with the radio on while I ssh in and try to figure out how to talk to it.
lsusb shows this:
Bus 001 Device 005: ID 0483:5720 STMicroelectronics STM microSD Flash Device
I've added the device tag into radio.c in a branch, as such:
if (! ident) {
    // Try CS800D.
    if (hid_init(0x0483, 0x5720) >= 0)
        fprintf(stderr, "CS800D debug.\n");
        ident = hid_identify();
}

When I run dmrconfig -r, I get this:
sudo ../dmrconfig/dmrconfig -r -t
Cannot find USB device 0483:df11
Cannot find USB device 15a2:0073
CS800D debug.
---Send 01 00 07 00 02 50 52 4f 47 52 41
Error -9 transmitting data via control transfer: Pipe error
The sudo is to get around any device permission problems, which I figure I can solve with an update to 99-dmr.rules once it's all hashed out.
I'm not sure how to go about sniffing usb.  Ethernet is easy, but how would I go about it with usb?  Wireshark on the windows laptop?
Thanks for any pointers you can provide,
Jim

On Dec 10, 2018, at 8:12 PM, Serge Vakulenko<EMAIL_ADDRESS>wrote:
Have you started work on adding support for the CS800D by any chance?
Unfortunately, I don't have access to CS800D. The format of the codeplug file (RDB) looks pretty simple. The protocol can be reverse engineered with USB sniffer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sergev/dmrconfig/pull/20#issuecomment-446035298, or mute the thread https://github.com/notifications/unsubscribe-auth/AXeJ1ZarWIa2fFOvv8nFoJbB6Vah2Rlrks5u3wZjgaJpZM4ZL1MZ.

Got the files: a lot of thanks! I use thes images for regression testing.
For RD-5R, I was able to reconstruct the protocol using Winpcap to dump the USB traffic to a PCAP file. With native CPS, I made two pcap files: for reading a codeplug from the radio, and for writing to the radio. Raw binary data are here:
rd5r-read.pcap
rd5r-write.pcap
Then, I wrote a couple of Python scripts to decode the pcap files:
pcap-read.py
pcap-write.py
The scripts produce the following trace files:
rd5r-read.log
rd5r-write.log
Same method should work for CS800D as well.

I'll give that a shot tomorrow, and see what progress I can make.  I'll backup the existing config, factory reset, and start from there.  A capture of read, another of write, then parse them, and see what I can see, and see if I can turn that into code.
I'll share the files with you once I have them created.  I'll include the .rdt as well.

Serge,
I used wireshark to capture the packets.  I did 3 different captures, one with just connecting the radio, then disconnecting it.  The second was connect, read, disconnect.  The third was connect, write, wait for reboot (a disconnect/reconnect cycle in USB), then disconnect.
Wireshark saves the files as a "next generation" pcap file.  Fortunately, tshark still understands them, although the layers are a little different.  Also, any packet originating from the host had the address 'host', so I separated send and receive by 'host' and not 'host'.
I also saved the file in the native software (.rdb format).  I've bundled it all up into a zip file:
cs800d.zip
I'm honestly over my head at this point, since I don't have a lot of knowledge about USB protocol.
Do you think this is enough information to work with?

also, not sure if you know, but Connect Systems Inc is just rebranding a chinese DMR radio made by covalue.
http://en.covalue.cn/products_detail/productId=48.html
DM6000 is their model # for the same thing.

I used wireshark to capture the packets. I did 3 different captures, one with just connecting the radio, then disconnecting it. The second was connect, read, disconnect. The third was connect, write, wait for reboot (a disconnect/reconnect cycle in USB), then disconnect.

Jim, are you sure you captured correct USB bus? I cannot find any meaningful data here.

also, not sure if you know, but Connect Systems Inc is just rebranding a chinese DMR radio made by covalue.

I suspected CSI is just a reseller. Didn't know the manufacturer is Covalue.

I was afraid you'd say something like that...
I'm positive I wasn't getting any other USB bus data.  The capture was totally quiet until plugging in the radio, and after unplugging the radio it went totally quiet again after several seconds.
Digging through the wireshark capture, I could see that almost all the traffic between the host and the radio was done using the mass storage protocols, and the radio showed up looking like a flash drive, although with no partition table or other typical block device attributes.
I'm going to see if I can run a debugger on the actual CPS and see what function calls it is using when reading/writing.  I suspect that it's doing direct "disk" read and write, using pre-known addresses for the CPS records.
Looking in dmrconfig, I don't see support for anything other than HID or Serial interfacing, so this would be something new.  Looks like I have a lot more to learn in order to be able to contribute with this radio. LOL
Thanks for taking the time to look at it.  After this weekend, my shack will be better arranged for me to do further experimenting with this.

The USB traffic indeed looks like disk i/o. But the data portion seems too short. The codeplug size is 420k, so all these data have to be present in the pcap files. Could you try the same with Winpcap?
Currently dmrconfig does nos support this type of i/o. But adding it is not the most complicated part of the task.

Ok, I'll configure a machine with winpcap and capture again.
This'll have to wait for the weekend, as my workshop is getting new work surfaces this weekend then I'll have room to work on it.
I definitely want to follow up on this, and I really appreciate all of your assistance with it.  I'll contact you again as soon as I do another set of captures.

I've not forgotten about this, however I've been unable to get any better capture with the equipment I have.
Is the CS800D a radio you want to support?  If so, could I send it to you for investigation?  I'm planning to remove it from my vehicle soon, and eventually intend to sell it.  My 878 is such a better operational experience that I use it for everything now.


Add more validation and fix some bugs

This adds snapshot building validation and also fixes a bug to prevent duplicate usernames.

Let's bump to v0.3.2 here then do the release https://github.com/nats-io/nats-rest-config-proxy/blob/master/internal/server/const.go#L17


Create JDK9 branch with updates for JDK9

This should be a new major engine version to permit updates like switching to the JDK9-supplied dynalink.
The changes so far update dependencies and fix a VerifyError on JDK9 (commit 84fb08e).

Then need to update pom for the major version change and a new travis job for building the branch.