Create with wait:true should not call collection.parse

This seems to be a regression of #2824
collection.create calls model.save that sets options.parse = true and passes these options downwards success callback -> collection.add -> collection.set which then tries to call collection.parse with model as the first argument.
I've added a test case and an ugly fix (not sure if it can be done in a prettier way).

As a temporary fix of this bug, I added this in Collection.parse:
parse: function (data, options) {
   if (data instanceof Model) {
       return data
   }
   // return parsed data
}

Seems this broke with https://github.com/jashkenas/backbone/pull/3488.


upgrade markdown package reference

This upgrades the markdown package to 7.2.1, also fixes an issue where encodeHtml is not passed to the markdown parser.

 I'm guessing most/all of them is because we need corresponding changes in other packages.

Looking at the tests, I'm not sure about one of them, "unordered list followed by empty list item" seems to not actually convert in commonmark, so not sure if it's a bad test. Here too in this comment I've put the markdown and it doesn't end up as two list items, but the test wants it to. Maybe the new markdown parser is more correct here?
https://spec.commonmark.org/dingus/

list item 1

The strikethrough test also looks bad, strikethrough is a double ~ not one, but the test has a single. Github markdown seems to support single, but that doesn't appear to be standard or documented (https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax):
https://www.markdownguide.org/extended-syntax/#:~:text=You can strikethrough words by,before and after the words.
Seems like maybe the dart markdown package got more strict. Definitely a change in behavior, but most guides seem to confirm it's supposed to be double not single tilde.

Looks like we have 40 failing tests in super_editor - most/all of them look like auto-conversion of text, which is based on Markdown parsing.

Looks like we have 40 failing tests in super_editor - most/all of them look like auto-conversion of text, which is based on Markdown parsing.

@matthew-carroll looks like what was happening is the new darter markdown parser drops of extra newlines if there are hanging newlines at the end of the file after a list. There aren't any tests for this in the markdown package, but the tests in the super_editor package relies on it for setting the caret in an empty node after the lists. I'm adding a test for this case and some extra logic in the parser. It's a little dirty, but seems like the desire here is to insulate people from the markdown lib changing. At least the test will catch if they change the behavior back.

@angelosilvestre can you also take a look at this PR and see if you find anything that I've missed?

@angelosilvestre can you cherry pick when you get a chance?


Configure after_hooks to only run if terraform apply actually made changes

This is a feature request.
We are using terraform to create a kubernetes cluster and then using an after_hook to perform some custom actions after the cluster is created/updated. However, these changes take some time and we do not want them to run unnecessarily.
It would be great if we could somehow configure the after_hook to only run if terragrunt apply actually made changes. If no changes were made, then it can just happily exit and not run the after_hook script.

I think this would actually be kind of tricky to implement because terragrunt would have to somehow determine whether terraform actually made changes or not.
The exit code will be 0 in both scenarios:

there are no changes to make
there are changes to make and it successfully makes those changes

So, it will likely have to parse the terraform stdout or something. Gross.
Also, you can configure an after_hook to run after any command (init, plan, apply, etc). So, we would need to think through a generic configuration to update the after_hook syntax with. For example, does this idea/concept even make sense with a terragrunt init? Maybe, if it does not have to init, then it doesn't run the script? Needs some thinking

Sanity check: can you use a null_resource with a local-exec provisioner instead? That way, you can control when that runs using the triggers to tie to specific resources.


[Feature] Build view individual permit holder page

Notion ticket link

View individual Permit Holder page

Implementation description
Demo:

Notes

Making guardian information editable has been deprioritized for the MVP and will be addressed post-mvp so the edit guardian  modal was not built (clicking the edit button on the guardian information card does nothing)
Alerts that pop up at the bottom after editing should be closable, I couldn't figure out how to make it closable and just removed the close button and added a ticket to the task board.
The way data is handled in the components will likely change to match API response data

Checklist

[X] My PR name is descriptive, is in imperative tense and starts with one of the following: [Feature],[Improvement] or [Fix],
[X] I have run the appropriate linter(s)
[X] I have requested a review from the RCD team on GitHub, or specific people who are associated with this ticket

@angeladietz Thanks for all the great feedback! Addressed most of it and left comments for the ones I haven't fully addressed. I'll also message the designers to get their inputs on the points you brought up


Add issue-tagging script

Description
DO NOT MERGE: we're in the middle of a lot of workflow changes, so I suggest we wait the next release to merge this PR.
As discussed in CFG-1344 :

We want to have a mechanism to flag issues (by adding a comment, a label, milestone, whatever) to the version there were released.

This PR creates a issue-tagging script that automatically flag fixed issues with a milestone when we release a new version of driftctl. For example, let's say we release v1.0.2 that fixes issue #A and #B, running this script will create a milestone v1.0.2 (if it doesn't exist already) and add it to issue #A and #B. It will also add a comment to notify the OP that a new version is available.
I've searched for existing bots or software that would do what we want but found nothing that really fits with our needs. If you think this script is too much to deal with, let me know.
References

https://docs.github.com/en/rest/reference/issues#create-a-milestone
https://cli.github.com/manual/gh_issue_edit

Codecov Report

Merging #1327 (5ebae2d) into main (4051e58) will increase coverage by 9.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1327      +/-   ##
==========================================
+ Coverage   72.58%   82.05%   +9.46%
==========================================
  Files         481      410      -71
  Lines       18042    14925    -3117
==========================================
- Hits        13096    12246     -850
+ Misses       4634     2379    -2255
+ Partials      312      300      -12

Impacted Files
Coverage Δ

pkg/terraform/plugin_client.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/remote/aws/client/s3_client_factory.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/remote/aws/init.go
0.00% <0.00%> (-95.74%)
:arrow_down:

pkg/remote/azurerm/init.go
0.00% <0.00%> (-84.22%)
:arrow_down:

pkg/remote/github/init.go
0.00% <0.00%> (-76.32%)
:arrow_down:

pkg/remote/terraform/provider.go
6.08% <0.00%> (-68.25%)
:arrow_down:

pkg/terraform/provider_factory.go
0.00% <0.00%> (-62.50%)
:arrow_down:

pkg/terraform/providers.go
52.94% <0.00%> (-47.06%)
:arrow_down:

pkg/middlewares/aws_default_subnet.go
55.17% <0.00%> (-44.83%)
:arrow_down:

pkg/output/printer.go
55.55% <0.00%> (-44.45%)
:arrow_down:

... and 121 more


Having Buy as Market and Sell at Limit

Hey!
Again thank you for a great bot, it looks good and im looking to use it on a pump this Thursday.
From looking at alot of the pumps, I have seen the following as one of the better ways to make sure you can maintain a pump:
1. Buying:
Alot of places recommend using the Market and a 75% Buy in order to get the fastest buy.  It goes something like this:

Select Market Order
Click on Percent of your total BTC (100% can result in errors, 75% is recommended)
Click Buy to complete trade

2. Selling
It is recommended to do a Limit order BUT, I appreciate that can be a pain as it does require a manual limit being set.  I guess it could be worked out?
Limit (Recommended):

Select Limit Order
Enter Price or click from the Ask Order Book (red)
Click 100% on the Slider
Press Sell and check your order fills.

BUT as it can be tricky to set the limit, Market would work I believe simlar to what you have setup?
Market:

Select Market Order
Click 100% then press Sell when price is above your average Buy

Of course,t his is how its done via Binacne itself, but do you think this is better? if so maybe there could be an option to what you would like your buy and sell setup as? (so market and a % etc.)
What are your thoughts?
Also do you hgave a discord etc. for the bot?

Hello!! I suggest to use it with very low balance, it is very risky, sometimes I receive some errors from binance api and if the pump event is dirty (sometimes I saw increase of value 20minutes before public announcement) it will fail, because it buys too high then the price fall firing the stop loss, then there is a second wave but you already lost money.
When I saw this dirty practices I was demoralized :)

Yes, that's what I'm going to do.  I was thinking about £15 to £20 and see how it goes.
I, too, have seen groups with pre-pump and then your self with a loss.  I have recently found a group that seems decent.  saw the last few pumps and so far saw no sign of any pre-pump.
Worth a look (don't worry I'm not selling anything ha) these are them:
https://discord.gg/2pH27ZbTZP
So far seem fair, they give you a 5-min warning AND coin, so you can get ready to hit it when the time comes and looking at the graphics, you can see this too.
Ah, good to know about the decimals too, I need to take that into consideration :)

Hello, have you tried to use the bot? :)
Regards


support getProperty for the layer, optimizer ...

#986 will add support for a getProperty supporting only for the properties required to resolve #986.
Full support for getProperty will be tracked here.

:octocat: cibot: Thank you for posting issue #1073. The person in charge will reply soon.


New doc for modernized call-seqs (kwargs)

What problem is this PR intended to solve?
Adds a doc about "modernized" call-seqs.
A modernized method's doc can link to this doc.  This should allow a simpler discussion in the method's doc.
Have you included adequate test coverage?
Doc only.
Does this change affect the behavior of either the C or the Java implementations?
No.

Thank you for opening this! I apologize for not having made time to review this yet. I will do so in the next few days!

Thank you for opening this! I apologize for not having made time to review this yet. I will do so in the next few days!

NP.  I've been thinking that 2025 may be the Year of Nokogiri Doc.  I'm working on side docs (not in classes) about parsing -- in particular how to choose a parser and what the choice means.  There's much else that can be done, too.


feat: expose submitter to use:enhance SubmitFunction

closes #9414
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Hi you two, you might have seen I've opened up an issue and a  PR that references this PR. It looks like the SubmitFunction type is duplicated in index.d.ts which is the type that is accessed from the typing of a submit function declaration inside a SvelteKit app. This new PR just adds the submitter argument to this additional type.
Thanks for this feature!


Add presence or over-threshold value specification #1202

Resolves #1202

The next available ID in the OBI Term ID Reservation sheet is OBI:0002772, so I switched to that ID.


fix: update to eye v4.10.11

fix: update to eye v4.10.11

:tada: This PR is included in version 6.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v6.0.2

Your semantic-release bot :package::rocket:


Develop a Laravel Demo Project Demonstrating the CLI Capabilities

In order to provide a clear understanding of our CLI's functionalities, we need to set up a Laravel demo project. This project will serve as a practical example, allowing users to see the CLI in action and understand its features and benefits. The demo should be comprehensive, covering major CLI commands and their respective outcomes within a Laravel environment.

https://github.com/mehrancodes/harbor-laravel-sample


[demoing-storybook] Storybook fails on Windows

Environment:

Windows 10
NPM v6.13.0
Node v10.16.3

I have encountered two issues with the Storybook script.
After generating a project scaffolding using npm init @open-wc, running npm run storybook fails with the following errors:
We could not find any stories for the provided pattern "C:\dev\test-project/'components/*/stories/*.stories.{js,mdx}'".

I submitted a PR for that: #1008 but there's still a remaining issue. The Storybook starts without loading any components and with the following error in the console:
TypeError: Failed to fetch dynamically imported module: http://localhost:8001/c:/dev/test-project/components/my-component/stories/my-component.stories.js

It looks like the URL is not being constructed correctly in demoing-storybook/src/shared/getAssets.js:55.

Thanks for your PR. I think https://github.com/open-wc/open-wc/pull/1017 should address the other issue.

Please reopen if the fix doesn't work for you.


Redirect incoming message to an external endpoint

AS AN Architect
I WANT TO be able to reflect all incoming messages to an external endpoint for validation
SO THAT I could implement threat hunting etc related functionalities outside of Ruuter while still being able to stop Ruuter to further process the request if response code from that external endpoint is not within the values of Ruuter's proceed_predicate
Acceptance Criteria
Functionalities

Added as additional functionalities since 20.06.2023

[x] #178

Initial development
Expected output: https://github.com/buerokratt/Ruuter/blob/main/samples/backlog/settings/default.md
incoming_requests:
  external_forwarding:
    method: POST
    endpoint: "https://turvis/ruuter-incoming"
    params_to_pass:
      GET: true
      POST: true
      headers: true
    proceed_predicate:
      http.status.code: [200..202]

Reopen the issue to add an additional functionality Pass information about the original Ruuter endpoint to an external endpoint.

Closed as #178 is done and merged to main.


V21.6.0 and higher doesn't work

This library doesn't work at all since v21.6.0 for some reason. Rider just shows all the library classes and namespaces in red.

And when I'm trying to run it I get the error:
Program.cs(1, 7): [CS0246] The type or namespace name 'Telegram' could not be found (are you missing a using directive or an assembly reference?)
But when I install version 21.5.0, for example, the same program runs perfectly fine

Weird. Can you share your csproj ?

Make sure to "dotnet restore" nuget packages for 21.6 so your IDE can analyze the downloaded package

Make sure to "dotnet restore" your solution in order to download nuget package 21.6 so your IDE can analyze/build correctly

No, it doesn't help, unfortunately =(

try with latest v21.11 ?

Yes, I've tried many versions, including 21.11. And all higher than 21.5 don't work =\

make sure you have a nuget.config file in the project folder as shown here
and try dotnet build . -v d > build.log
if you can't see what's the problem from the build.log file, you can post it here for analysis.

Oops, wait, it seems I got something mixed up, and v21.11, unlike the previous ones, actually works. Thanks!

Still weird, but if it solves your problem, you may close the issue


v1.9 backports 2021-04-30

#15765 -- test: 5.4 CI job (@pchaigno)

I added a commit (first one) to define the Vagrant box version.
Many minor conflicts.

Skipped in this PR:

#15934 -- Drop a @ in clustermesh-apiserver helm chart (@anthr76)

Once this PR is merged, you can update the PR labels via:
$ for pr in 15934; do contrib/backporting/set-labels.py $pr done 1.9; done

test-1.17-5.4

test-1.17-5.4

test-1.17-5.4

test-backport-1.9

test-1.17-5.4

test-1.17-5.4

test-backport-1.9

test-backport-1.9


Add more attack moves for the phase 1

Add the following attacks for phase 1, based on feedback received:

trying to jump on the player.
spin to win/baeblade.

Attack sequence for the first phase could be:

jump 3 times, 3rd stalls.
takes 2 second to start to spin.
jump 3 times again. 3rd time stalls.
takes 2 seconds to start shooting electric balls.
go back to step 1.

Forget the dash attack for now, we might reuse it for another phase.

nvm ,going back to using the dash! It might work out nicely because I added a "power up" sequence before dashing

We need to make the boss move a bit around the map and not towards the player, like small jumps.
We need a good idle state

So 2 moves are missing for now: Idle and Spin

I built 2 different idle states.
I'm hoping that this is gonna be sufficient.
I still need to figure out the transitions.
Now, we only need a spin attack.
After that, we need to stop the dash when the boss hits the wall.
After that, we need to work on transitions.

the idea for the spin attack is the following:
Every 3 seconds or so, the boss goes to the predicted player position.
The player has to time its evading manoeuvre.
The attack ends with the boss going back to the center of the map.

quirky but it works okay for now. There is room for improvements I guess


Directory named build

I have a rule in my WORKSPACE for snappy
new_local_repository(
name = "snappy",
build_file = "//third_party:snappy.BUILD",
path = "third_party/snappy/build",     <--- problem
)
third_party/snappy.BUILD
cc_library(
name = "snappy",
hdrs = glob(["include/*.h"]),
srcs = ["lib/libsnappy.a"],
includes = ["include"]
)
If I compile everything to a directory called 'build' it seems that the intellij bazel tries to treat it specially and compile it.
ERROR: Skipping '//third_party/snappy:all': while parsing '//third_party/snappy:all': no such package 'third_party/snappy': BUILD file not found on package path.
If I rename the directory to anything but 'build', refreshing the project works fine.

Does naming your build file BUILD.bazel work?

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


chore: release  sdk 0.6.0

:package: Staging a new release
0.6.0 (2024-11-12)
⚠ BREAKING CHANGES

implement end user authentication (#108)

Features

IaC for Azure Cluter & Azure Private Cluster (#103) (476fff7)
implement end user authentication (#108) (be521f9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carbynestack/carbynestack/releases/tag/sdk-v0.6.0 :sunflower:


Enable VM using moName

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

$ az connectedvmware vm create -g contoso-rg -v contoso-vc --mo-name contoso-vm -n test-mo

2024-09-16T00:56:31 WARNING  [1] /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/vm-123456
{
  "inventoryType": "VirtualMachine",
  "provisioningState": "Succeeded",
  "managedResourceId": "",
  "moName": "contoso-vm",
  "toolsVersionStatus": "guestToolsSupportedOld",
  "toolsRunningStatus": "guestToolsRunning",
  "toolsVersion": "11297",
  "instanceUuid": "12345678-1234-1234-1234-123456789012",
  "resourcePool": {
    "inventoryType": "ResourcePool",
    "inventoryItemId": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/resgroup-123456",
    "moName": "contoso-rp"
  },
  "ipAddresses": [
    "fe80::1234:5678:9abc:def0",
    "<IP_ADDRESS>"
  ],
  "powerState": "poweredOn",
  "smbiosUuid": "12345678-1234-1234-1234-123456789012",
  "folderPath": "Contoso-Datacenter",
  "moRefId": "vm-123456",
  "osType": "Windows",
  "osName": "Microsoft Windows Server 2019 (64-bit)",
  "host": {
    "inventoryType": "Host",
    "inventoryItemId": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/host-123456",
    "moName": "contoso-host1"
  },
  "cluster": {
    "inventoryType": "Cluster",
    "inventoryItemId": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/domain-1234",
    "moName": "Cluster-1"
  },
  "computerName": "contoso-vm"
}
2024-09-16T00:56:31 WARNING  [2] /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/vm-123457
{
  "inventoryType": "VirtualMachine",
  "provisioningState": "Succeeded",
  "managedResourceId": "",
  "moName": "contoso-vm",
  "toolsVersionStatus": "guestToolsSupportedOld",
  "toolsRunningStatus": "guestToolsRunning",
  "toolsVersion": "11297",
  "instanceUuid": "12345678-1234-1234-1234-123456789013",
  "resourcePool": {
    "inventoryType": "ResourcePool",
    "inventoryItemId": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/resgroup-123456",
    "moName": "contoso-rp"
  },
  "ipAddresses": [
    "fe80::1234:5678:9abc:def1",
    "<IP_ADDRESS>"
  ],
  "powerState": "poweredOn",
  "smbiosUuid": "12345678-1234-1234-1234-123456789013",
  "folderPath": "Contoso-Datacenter",
  "moRefId": "vm-123457",
  "osType": "Windows",
  "osName": "Microsoft Windows Server 2019 (64-bit)",
  "host": {
    "inventoryType": "Host",
    "inventoryItemId": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/host-123457",
    "moName": "contoso-host2"
  },
  "cluster": {
    "inventoryType": "Cluster",
    "inventoryItemId": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/domain-1234",
    "moName": "Cluster-1"
  },
  "computerName": "contoso-vm-1"
}
2024-09-16T00:56:31 WARNING  Multiple inventory items found with mo_name 'contoso-vm' in vCenter 'contoso-vc'. Please check logs above for the properties of the inventory items.
Do you want to select one of the inventory items to proceed? (y/n): y
2024-09-16T00:56:35 WARNING  [1] /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/vm-123456
2024-09-16T00:56:35 WARNING  [2] /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/vm-123457
Select one of the inventory items by entering the index between 1 and 2: 12
Invalid index. Please enter a valid index between 1 and 2: 2
2024-09-16T00:56:39 WARNING  You selected: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/contoso-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/contoso-vc/InventoryItems/vm-123457

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[x] My extension version conforms to the Extension version schema

For new extensions:

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

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

Thank you for your contribution! We will review the pull request and get back to you soon.


Offline support with service workers

Has anyone every rolled offline support for their apps built with react_on_rails? Would love to have some pointers on where to start or what would work the best.

@cbetta  You are the first one to bring this up.


Waveform generation takes very long

For a 1:15 hour long video, the waveform took 40 seconds to generate. Also, it is not cached on reload. -Innsbruck

Main problem here seems to be that the frontend has to download the whole video file before it can start generating anything, which may take quite a bit for larger files.
Possible solutions:

Send considerably smaller preview versions of the videos to the editor (instead of fullHD)
Have Opencast create a compressed audio file, which can then be used by the frontend for waveform generation.
Go back to Opencast generating the waveform

For really long videos (07:00) you get no waveform at all.

Even for videos with a duration of around 3:00:00 you get no duration ( or it takes longer than I and our users are willing to wait , > 10min ). Is there a way to configure this to use the opencast waveform ?

The editor preview videos are far smaller then FHD (with the default workflows). I would prefere to have an Option for Standolone Editor to select an separate Track (by flavor) for waveform generation.


Bumps version for next release

This bumps the version to 0.26.3 to prep for the next release

@samuelcolvin I forgot that I needed to bump the version prior to the release, so this will queue up for the next one


Unable to reconnect to wifi

Hi,

I just started playing around with homie 1.5.0 and managed to get what I needed from it.
I also run a dd-wrt router that disable and re-enable its wifi programmatically daily.
After the router re-enables its wifi, I can tell from the serial that the homie nodes are stuck in the connecting to wifi phase
It only connects properly after I press the esp8266 reset button
Option 1: dig really hard to find the issue
Option 2: reset the esp8266 programmatically after 10 wifi connection failures

Any other ideas/options? Thank you.

Option 3: Use Homie 2.0.0 :-)
It is almost stable (and less bugs than 1.5.0).

Hmm.. ok, let me give it a shot tomorrow. I tried but failed earlier due to a shallow understanding of MQTT. Thank you.

Hi,
I have also the problem of not reconnecting to wifi again. (Wemos D1, Homie 2.0)
The blue led is blinking with a frequency of 1 Hz.
Should I check under Homie.loop() if WIFI is connected and reconnect if not?
If yes, can I somehow read the wifi config of the device for reconnecting?
Or should homie reconnect from itself?

What version of esp Arduino core ? Homie should reconnect, but sometimes gets stuck and work working to solve these issues.

I've seen two reasons for this in my projects:

sometimes a device does not connect at all after restart.
--> the cause may be a power supply issue, as this happend to me only with devices with a high load on the same power supply (led strips that are switched on).  Most of the time, a reset (reset button) helps. Maybe some internal components of the esp8266ex chip need too long to initialize after power on with low voltage(?).

really bad WiFi connection.
Some devices did not reconnect due to bad wifi.
Wifi quality can change fast due to other devices (mobile phones, ...), weather condtions (humidity!) and moving objects (I once placed a metal ladder just in front of a device and wondered why it was offline...).

Check what version of esp8266/Arduino framework you are using. I've observed many strange behavior with the newest 2.4.0 version. If you are using platformio you can switch to previous 2.3.x version with this line in platformio.ini:
platform =<EMAIL_ADDRESS>At the very beginning of messages, during compilation you should see:
[03/12/18 07:10:21] Processing esp01 (platform<EMAIL_ADDRESS>board: esp01_1m; framework: arduino)
<EMAIL_ADDRESS>= esp8266/Arduino 2.3.x
<EMAIL_ADDRESS>= esp8266/Arduino 2.4.x

Thanks for the help!
Will look and try at weekend when I have time!

So, I tried version  2.4.1 for a few days now and it worked without problems!
So reconnect works again. Thx for the help.

Keep an eye on it and get back to use if there are any issues, would be nice if it is fixed


#21907 text editor limit improvements

Now the preference is read from datasource-specific preferences
Some visual overhaul of the message bar

Verified


Setup Kubernetes Network Policy

Migrate from Aporeto Network Security Policy (NSP) to OpenShift's implementation of Kubernetes Network Policy (KNP) in dev/test/prod

[x] base knp templates
[x] db-related knp templates
[ ] app-related knp templates

PR #13 relates to this ticket.


Add generated code for cwl-v1.2.1_proposed

This is the first version of cwl-ts-auto generated by the codegen currently under development in https://github.com/common-workflow-language/schema_salad/pull/479 using the cwl-v1.2.1_proposed schema
Any bug reports or improvement suggestions are highly appreciated!
Keep in mind that this code currently only has been tested with node.js v17 and probably does not work in the browser yet.
If there are any questions, feel free to ask in here or contact me privately. I will try to upload examples on how to use this library shortly!

Great to see the progress! Any thoughts on how to wire up the tests to run here?

Fix bug that caused exceptions not getting thrown

Yeah, I was going to copy over the workflow from https://github.com/common-workflow-lab/cwl-ts-auto/pull/1 I just didn't get around to doing it yet 😸

Codecov Report

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

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   30.43%
=======================================
  Files           ?       88
  Lines           ?     6141
  Branches        ?     1629
=======================================
  Hits            ?     1869
  Misses          ?     3955
  Partials        ?      317

Flag
Coverage Δ

unittests
30.43% <0.00%> (?)

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

Continue to review full report at Codecov.

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

Change file naming convention to all lower case\

Aww, that is a bummer. Is that a Typescript thing?

Heh, there isn't really a convention on this in ts besides "keep it consistent". I would personally prefer camelCase.ts filenames, but it's hard to autogenerate for class names like CWLVersion, because you would need to know that CWL is an acronym and the 'V' of version has to be capitalized again. Of course, you could add acronyms like CWL and the name conversion function would check against those, but this would get broken by any new acronyms. If you have any idea, let me know!

Change file naming convention to all lower case\

Aww, that is a bummer. Is that a Typescript thing?

Heh, there isn't really a convention on this in ts besides "keep it consistent". I would personally prefer camelCase.ts filenames, but it's hard to autogenerate for class names like CWLVersion, because you would need to know that CWL is an acronym and the 'V' of version has to be capitalized again. Of course, you could add acronyms like CWL and the name conversion function would check against those, but this would get broken by any new acronyms. If you have any idea, let me know!

Why not keep the case as-is? If people want another case convention than the one used in their source documents, they can apply a post-codegen transformation, yes?

Why not keep the case as-is? If people want another case convention than the one used in their source schema salad documents, they can apply a post-codegen transformation, yes?

That would break consistency with the filenames in the util folder. Other than that, I agree.
That aside, this is just the file names, the types and classes itself will keep their original name and will also be imported with the original name. The library consumer will never be concerned with the file names.

@ZimmerA shall we merge this and cut a 0.1 release?

@ZimmerA shall we merge this and cut a 0.1 release?

Can do, I will prepare the release and then we can merge 👍🏻

@mr-c I would say this is ready, what do you think?

Go for it!

Maybe mention that this is only for CWL v1.2 syntax, and other documents will need upgrading using https://pypi.org/project/cwl-upgrader/ first?

Done!


Error in generated-tls-issuer-staging.yaml when used with Cloudflare DNS Service

When running ofc_boostrap with Cloudflare as the DNS Service and the issuer_type: "staging" the file generated-tls-issuer-staging.yml is missing the section about the Cloudflare entities
Expected Behaviour
The file should look like this:
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
  namespace: openfaas
spec:
  acme:
    email<EMAIL_ADDRESS>    server: https://acme-staging-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: letsencrypt-staging
    solvers:
    - dns01:
        cloudflare:
          email<EMAIL_ADDRESS>          apiKeySecretRef:
            name: cloudflare-api-key-secret
            key: api-key

Current Behaviour
The generated file looks like that:
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
  namespace: openfaas
spec:
  acme:
    email<EMAIL_ADDRESS>    server: https://acme-staging-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: letsencrypt-staging
    solvers:
    - dns01:
        cloudflare:

Steps to Reproduce (for bugs)
run ofc_bootstrap with the following entries in the init.yaml file:
#TLS config section
tls: true
tls_config:
  # issuer_type: "prod"
  issuer_type: "staging"
  email<EMAIL_ADDRESS>  #Cloudflare
  dns_service: cloudflare

  # Cloudflare - Secrets section
secrets:
  - name: "cloudflare-api-key-secret"
    literals:
      - name: "api-key"
        value: "apikeyredacted"

Context
Trying to install openfaas cloud on a k3s cluster
Your Environment

faas-cli version ( full output ):

faas-cli version
  ___                   _____           ____
 / _ \ _ __   ___ _ __ |  ___|_ _  __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) |  __/ | | |  _| (_| | (_| |___) |
 \___/| .__/ \___|_| |_|_|  \__,_|\__,_|____/
      |_|

CLI:
 commit:  0ab4012784510381e2b90c031ede3d77197b10b1
 version: 0.11.0

Docker version docker version (e.g. Docker 17.0.05 ):

docker version
Client: Docker Engine - Community
 Version:           19.03.4
 API version:       1.40
 Go version:        go1.12.10
 Git commit:        9013bf583a
 Built:             Fri Oct 18 15:54:09 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Kubernetes version kubectl version:

kubectl version                                                                              1 ↵ Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-02-28T13:37:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3-k3s.2", GitCommit:"e7e6a3c4e9a7d80b87793612730d10a863a25980", GitTreeState:"clean", BuildDate:"2019-11-18T18:31:23Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}

Operating System and version (e.g. Linux, Windows, MacOS):
Windows 10

Do you want to work on a fix for it? There's a unit test that matched the Jetstack documentation. Do you think it may be wrong?

Just found the Error in the file templates/k8s/tls/issuer-staging.yml
this would be the fix:
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
  namespace: openfaas
spec:
  acme:
    email: "{{.Email}}"
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: letsencrypt-staging
    solvers:
    - dns01:
        {{.DNSService}}:
          {{ if eq .DNSService "clouddns" }}
          project: "{{.ProjectID}}"
          serviceAccountSecretRef:
            name: "{{.DNSService}}-service-account"
            key: service-account.json
          {{else if eq .DNSService "route53" }}
          region: {{.Region}}
          # optional if ambient credentials are available; see ambient credentials documentation
          accessKeyID: {{.AccessKeyID}}
          secretAccessKeySecretRef:
            name: "{{.DNSService}}-credentials-secret"
            key: secret-access-key
          {{else if eq .DNSService "cloudflare" }}
          email: {{.Email}}
          apiKeySecretRef:
            name: cloudflare-api-key-secret
            key: api-key
          {{else if eq .DNSService "digitalocean" }}
            tokenSecretRef:
              name: digitalocean-dns
              key: access-token
          {{ end }}

The section  {{else if eq .DNSService "cloudflare" }} is missing there.
Sorry, never did a Pull Request on a Open Source Project. Might go into it later on this or next year.
But I hope the pointer helps as well.

Thank you.
@Waterdrips please could you take a look?

I believe that the production issuer was updated correctly with the original patch, but the staging issuer was missed. I've now brought them both into alignment.
Please take a look again @cellerich ?
Alex

@alexellis: Looks good to me!
Can be closed and will work in the next release I guess.
Thanks.

This shouldn't need a release, you can just do a git pull and deploy again.


Fix up README.md

Just touched up the Readme a bit; nothing much at all.

Is there anyone still here? lol I want my arctic vault contributor badge


1.12.0 not published?

Looks like 1.12.0 (https://github.com/GitLiveApp/firebase-kotlin-sdk/releases/tag/v1.12.0) didn't make it?
https://central.sonatype.com/artifact/dev.gitlive/firebase-database
https://central.sonatype.com/artifact/dev.gitlive/firebase-firestore
the latest version is 1.11.1

Yeah the CI failed :( Hopefully we'll get it published today


authentication is getting stuck

I have pasted the credentials.json into the folder and enabled the API.
when i run 'node authorize.js', it gets stuck.  no output, no timeout or anything.
it is supposed to give me a URL to get a code, right?
any idea?

Any workaround for this? There is no pi in my setup and I'm running mm as a server in a tiny container.

What OS are you running on your container? Does it have a UI?  You should be able to access the UI of your container via vnc and open a web browser.

I'm running minimal Debian with no X as a magicmirror server that's accessed by several devices on my network.

are you doing this from the UI or from command line via SSH. When you run node authorize you need to be on the UI of the rpi because it opens up the browser to make you click allow
thanks for the reply.
there is the issue.  i use ssh to configure it, as it is fitted above our range hood in the kitchen.
is there a way to get it done via ssh?

are you doing this from the UI or from command line via SSH. When you run node authorize you need to be on the UI of
the rpi because it opens up the browser to make you click allow

thanks for the reply.
there is the issue.  i use ssh to configure it, as it is fitted above our range hood in the kitchen.
is there a way to get it done via ssh?

I configure mine via SSH and CLI too as its mounted on a wall with no access to a mouse and keyboard but I knew that there would be the need to have access to the UI to fix and configure issues so I installed an X and a vnc client. I would highly recommend doing both if you haven't.. The only other workaround would be to either rewrite the authorize to follow OAuth a command line input verification or to try and manually authorize using this  https://developers.google.com/identity/gsi/web/guides/devices

Hi, unfortunately this plugin doesn't support SSH authentication any longer. The latest updated module forces a browser to open in the Pi itself, hence you're unable to see it when connecting through SSH.
As suggested by @nobbie25 , try using VNC or try connecting the keyboard/mouse directly to the pi


Unable to build using Zig hermetic toolchain (linker cannot find library -latomic)

Hi, thanks for your work on this, it is overall a great library.
We are using Uber's hermetic CC toolchain to compile and are unable to get simple python scripts depending on rclpy to build. A minimal reproduction can be found here: https://github.com/tervay-bdai/zig-linking-repro
$ bazelisk run //src:ex

INFO: Analyzed target //src:ex (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/jtervay/.cache/bazel/_bazel_jtervay/2ba880a27a7b10a0e8a3abfc5bd990ba/external/ros2_rclpy/BUILD.bazel:11:16: Linking external/ros2_rclpy/rclpy/rclpy/_rclpy_pybind11.so failed: (Exit 1): c++ failed: error executing command (from target @ros2_rclpy//:rclpy/rclpy/_rclpy_pybind11.so) external/zig_sdk/tools/x86_64-linux-gnu.2.34/c++ -shared -o bazel-out/k8-fastbuild-ST-35841e508e03/bin/external/ros2_rclpy/rclpy/rclpy/_rclpy_pybind11.so ... (remaining 59 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
ld.lld: error: unable to find library -latomic
Target //src:ex failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.504s, Critical Path: 0.30s
INFO: 3 processes: 3 internal.
FAILED: Build did NOT complete successfully
ERROR: Build failed. Not running target

I am truthfully not sure if this problem lies within the toolchain or within rules_ros2. It seems that when building with this toolchain, it's not able to find the atomic library, even though mentions of it seem to be found in the generated bazel directories.
The line from rules_ros2 causing the problem is here: https://github.com/mvukov/rules_ros2/blob/a3e124988e8215f505bee467c73074e6f7c72dee/repositories/rclpy.BUILD.bazel#L21
I've tried patching the flag out, but it results in an illegal operation runtime error, so I assume the flag is actually required and patching it out doesn't actually solve anything.
Guidance would be appreciated here, if any; I can also file an issue on the Zig toolchain repo but again, I'm not sure where the problem actually is.

Hi, on Ubuntu the library is provided via apt in libatomic1 package. I guess you also need to have this library in the rootfs the compiler works on.

Any progress here?

Can it be that with zig/cc you don't need to link -latomic, like is the case with android/qnx?

Unfortunately no, no progress. Had to revert to clang toolchains in the meantime to unblock other things.

OK, let's close this for now then.


[SelectionArea] The height of highlight is different when english/non-english characters are used together

Steps to reproduce
Run sample code.
Related issues:
https://github.com/flutter/flutter/issues/54935
Expected results
The height of highlight should be the same.

Actual results
The height of highlight is different.

Code sample
Code sample
void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            SelectionArea(
              child: Text('abc啊啊啊'),
            )
          ],
        ),
      ),
    );
  }

Screenshots or Video

Screenshots / Video demonstration

Logs
No response
Flutter Doctor output
Doctor output
[!] Flutter (Channel [user-branch], 3.22.0-39.0.pre.2, on macOS 14.4 23E214 darwin-arm64, locale zh-Hans-CN)
    ! Flutter version 3.22.0-39.0.pre.2 on channel [user-branch] at /Users/yangjiakang/flutter/framework
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at
      https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision d02292dbc4 (3 个月前), 2024-05-20 21:25:37 -0700
    • Engine revision c2ef01f6f1
    • Dart version 3.5.0 (build 3.5.0-172.0.dev)
    • DevTools version 2.36.0-dev.10
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Thank you for the report!
There is a similar issue for SelectableText at https://github.com/flutter/flutter/issues/68675 as well. I see it can be worked around by using selectionHeightStyle: BoxHeightStyle.max. But I don't see the equivalent selectionHeightStyle on SelectionArea widget, so I keep this as a separate issue.
Reproduced this on Flutter stable 3.24.1 and master 3.25.0-1.0.pre.158.

cc @Renzo-Olivares


Make strip option effective on library packages

The strip option was not effective for library package (without applet defined).
Such cap file do not have "APPLET-INF/classes" directory.
class files are instead stored in a package name dependent directory.
A basic test was added within tests-11.xml
This MR hopefully fixes it.

Encountering some problems with my own project.
I close this and eventually reopen once investigated

After investigation problems where due to errors in my library/applet code leading to installation failure.
All is fine when reverting to a working version.
Therefore I reopen this.
Any comment welcome.

Thanks for noticing!

Hi! If you could give a manual spin to the ant-javacard.jar produced by the 'next' branch, would be awesome! I did check that it does clean up library cap-s for me at least.

This should have been fixed by #86

Hi, sorry for not answering, was on holiday.
Tested and strip seems effective on both packages and applets, thanks.


instead of submodule for divisions, dynamically download divisions as needed

I'm curious how others (cc @fgregg, @jpmckinney) feel about this.
It seems like we could:

shrink the package install
get away from the necessity for a separate package for these, possibly just recombining this with python-opencivicdata-django (python-opencivicdata instead? kill the necessity for a namespace package?)
not have to do a release to include the latest ocd-division-ids

If we had the package download the appropriate divisions file from GitHub at runtime as needed.  At worst this would be a ~20MB (US) download

In my case I use the OCD_DIVISION_CSV environment variable to use whatever file I want instead of what's distributed in this package, so this is fine with me (as long as we preserve that override functionality).

ah forgot that was even there, good call.  we can make sure that works if we go forward w/ this


I guess more code can be parameterized by a parser and can be moved to base?

Like what?

Like what?

SingleFileCompiler?

Sorry, I'm probably wrong


SRS first draft

4217c80d6dcca41c8db925d21b6d7a771e5ecd2b

Thank you @PeaWagon  I look forward to reviewing your SRS.  😄

Some initial comments are included in commit 2465957.

@PeaWagon, I have completed my review of your SRS.  My comments are embedded in your tex file (11b5809).


Crash Immediately After Placing Infusion Pylon

crash-2021-11-10_13.47.30-server.txt
Just got this crash in my modpack, maybe you can look and see if it's your mod causing it?

I don't see the pylon mentioned in this crash log. It looks like Better End is trying to check for a "Blindness Resistance" attribute on a Quark stoneling and not finding that attribute.
Description: Ticking entity

java.lang.IllegalArgumentException: Can't find attribute betterendforge:blindness_resistance

-- Entity being ticked --
Details:
	Entity Type: quark:stoneling (vazkii.quark.content.mobs.entity.StonelingEntity)
	Entity ID: 3161
	Entity Name: Stoneling
	Entity's Exact location: -145.50, 20.00, 563.50
	Entity's Block location: World: (-146,20,563), Chunk: (at 14,1,3 in -10,35; contains blocks -160,0,560 to -145,255,575), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)

Oh my bad. It must have been a random crash because now I can't seem to reproduce it, weird. Thanks for the help!


Adding support for the redirect action. closes #144

Example:
 SecRule REQUEST_URI "/redirect"
       "phase:1,id:1,status:302,redirect:https://www.example.com"

[X] My code includes positive and negative tests.
[X] I have an appropriate description with correct grammar.
[X] I have read Contribution guidelines, maintainers note and Quality standard.

Thanks for your PR :heart:

Tests are not clean, as v3/dev is currently not clean.


Project status and plans

Hi, cool project! (As is any effort to bring static typing to Python, in my book.) What's the status of this project?
I tried throwing it at a couple of real code bases and it doesn't seem to be working. I can start debugging / posting issues, or if it's just not ready / meant for public consumption yet, I can save everyone's time and hold off. Or if there's some well-defined scope / set of limitations you can summarize, that would be immensely useful.
Thanks!

I haven't been developing recently for lack of time, but it works well for most of the language; it's just missing some features of classes like static methods and most importantly it still has some issues with imports. I probably won't have time to address issues myself for a while, but I can accept pull requests.


VS crash with IronPython and Dev 2015-08-21

VS 2013 Desktop Express, IronPython 2.7.5, PTVS Dev 2015-08-21 VS 2013
I spoke too soon :( I just got a hang while rebuilding my solution which is a mix of one IronPython project and three Windows Forms C# projects.
PTVS Dev 2015-08-21 VS 2013 is definitely more stable than PTVS 2.2. I haven't yet encountered a crash or "Exception caused by an extension" message while editing the IronPython code which used to happen quite often in 2.2. I often got the crash below while rebuilding my solution in 2.2 and this is the first since installing Dev 2015-08-21 so somewhere, hiding in a dark murky corner there must be one or more unchecked casts that got overlooked when the rest were fixed!
Microsoft Visual Studio Express 2013 for Windows Desktop has stopped working.
Problem signature:
Problem Event Name:	CLR20r3
Problem Signature 01:	WDExpress.exe
Problem Signature 02:	12.0.40629.0
Problem Signature 03:	5590c29f
Problem Signature 04:	Microsoft.PythonTools.IronPython.Interpreter
Problem Signature 05:	2.2.30821.1
Problem Signature 06:	55d7b607
Problem Signature 07:	21a
Problem Signature 08:	0
Problem Signature 09:	System.InvalidCastException
OS Version:	6.1.76<IP_ADDRESS>.768.3
Locale ID:	2057
Additional Information 1:	0a9e
Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
Additional Information 3:	0a9e
Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Hopefully there's a second event in your Event Log near that one with a stack trace. (Generally true, but especially for our IronPython support, stack traces are very helpful.)

I found ActivityLog.xml in AppData\Roaming\Microsoft\WDExpress\12.0 with the following stack trace at the end with the source given as "Editor or Editor Extension" but the date looks wrong. It is 2015/08/22 and so is probably from PTVS 2.2 as I installed Dev 2015-08-21 on 2015/08/25 and the crash was on 2015/09/01
System.InvalidCastException: Unable to cast object of type 'IronPython.Runtime.Types.BuiltinFunction' to type 'IronPython.Runtime.Types.PythonType'. at Microsoft.IronPythonTools.Interpreter.RemoteInterpreter.<>c__DisplayClass64_0.b__0() at Microsoft.IronPythonTools.Interpreter.RemoteInterpreter.CallAndHandle[T](Func1 action, T defaultValue) at Microsoft.IronPythonTools.Interpreter.RemoteInterpreter.GetPythonTypeMemberType(ObjectIdentityHandle pythonType) at Microsoft.IronPythonTools.Interpreter.RemoteInterpreterProxy.GetPythonTypeMemberType(ObjectIdentityHandle value) at Microsoft.IronPythonTools.Interpreter.RemoteInterpreterProxy.GetPythonTypeMemberType(ObjectIdentityHandle value) at Microsoft.IronPythonTools.Interpreter.IronPythonType.get_MemberType() at Microsoft.PythonTools.Analysis.Values.BuiltinClassInfo.get_MemberType() at Microsoft.PythonTools.Analysis.Values.SpecializedNamespace.get_MemberType() at Microsoft.PythonTools.Analysis.MemberResult.GetMemberType() at Microsoft.PythonTools.Analysis.MemberResult.get_MemberType() at Microsoft.PythonTools.Intellisense.CompletionAnalysis.PythonCompletion(IGlyphService service, MemberResult memberResult) at Microsoft.PythonTools.Intellisense.NormalCompletionAnalysis.<>c__DisplayClass5_0.<GetCompletions>b__3(MemberResult m) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.d__0.MoveNext() at Microsoft.VisualStudio.Language.Intellisense.BulkObservableCollection1.AddRange(IEnumerable1 items) at Microsoft.PythonTools.Intellisense.FuzzyCompletionSet..ctor(String moniker, String displayName, ITrackingSpan applicableTo, IEnumerable1 completions, CompletionOptions options, IComparer1 comparer, Boolean matchInsertionText) at Microsoft.PythonTools.Intellisense.NormalCompletionAnalysis.GetCompletions(IGlyphService glyphService) at Microsoft.PythonTools.Intellisense.CompletionSource.AugmentCompletionSession(ICompletionSession session, IList1 completionSets) at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.Start() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionBroker.TriggerCompletion(ITextView textView) at Microsoft.PythonTools.Intellisense.IntellisenseController.TriggerCompletionSession(Boolean completeWord, Nullable1 commitByDefault) at Microsoft.PythonTools.Intellisense.IntellisenseController.HandleChar(Char ch) at Microsoft.PythonTools.Intellisense.IntellisenseController.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor p, TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1e`1.b__1a() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

I found this in the computer system application logs. The date for this one is correct so this should be the crash I observed. Owing to the xml it doesn't preview properly when pasted. I think I corrected it for the first few lines which are the important one, later ones may be corrupted.
Application: WDExpress.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
Stack:
at Microsoft.IronPythonTools.Interpreter.RemoteInterpreter.<>c__DisplayClass74_0.<GetBuiltinFunctionDocumentation>b__0()
at Microsoft.IronPythonTools.Interpreter.RemoteInterpreter.CallAndHandle(Func`1 action)
at Microsoft.IronPythonTools.Interpreter.RemoteInterpreter.GetBuiltinFunctionDocumentation(ObjectIdentityHandle function)
at Microsoft.IronPythonTools.Interpreter.RemoteInterpreterProxy.GetBuiltinFunctionDocumentation(ObjectIdentityHandle value)
at Microsoft.IronPythonTools.Interpreter.RemoteInterpreterProxy.GetBuiltinFunctionDocumentation(Microsoft.IronPythonTools.Interpreter.ObjectIdentityHandle)
at Microsoft.IronPythonTools.Interpreter.IronPythonBuiltinFunction.get_Documentation()
at Microsoft.PythonTools.Analysis.Values.BuiltinFunctionInfo.get_Documentation()
at Microsoft.PythonTools.Analysis.Values.SpecializedNamespace.get_Documentation()
at Microsoft.PythonTools.Analysis.MemberResult.get_Documentation()
at Microsoft.PythonTools.Intellisense.CompletionAnalysis+<>c__DisplayClass13_0.b__0()
at Microsoft.PythonTools.Intellisense.DynamicallyVisibleCompletion.get_Description()
at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultCompletionSetPresenter.ShowToolTip()
at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultCompletionSetPresenter.OnShowTooltipTimer_Tick(System.Object, System.EventArgs)
at System.Windows.Threading.DispatcherTimer.FireTick(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

Looks fine to me. I normally find/replace at with \n at  when copying out of the activity log. Putting it in triple backquotes (I just updated your comment with them) also makes it easier to read by disabling wrapping.
And we didn't actually go through and check all the casts - we did some manual static analysis and discovered a point where we were putting the wrong type in and that was causing (so we thought) all the issues.
This one is strange, since there would have been an earlier call that immediately triggered the same exception (getting the name of the function). I think what we actually have here is a race condition caused by the rebuild.
I can't finish fixing everything right now, so note to myself (or whoever picks this up): PythonObject probably should capture the remote interpreter so that it doesn't call through to the wrong instance after it gets recreated.


pricehist: init at 1.4.6

Description of changes
pricehist is a command-line tool for fetching and formatting historical price data, with support for multiple data sources and output formats. It is usually used with plaintextaccounting tools such as ledger-cli, hledger and beancount, and with GnuCash.
I was able to provide this pull request thanks to the help of @WolfangAukang with #247241.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg eval

FYI, the commit related to curlify should be python3Packages.curlify: init at 2.2.1

I cannot test this on nixpkgs-review because I get the following:
$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f <nixpkgs> --nix-path nixpkgs=/home/bjorn/.cache/nixpkgs-review/pr-253302-3/nixpkgs nixpkgs-overlays=/tmp/tmplynqvbai -qaP --xml --out-path --show-trace --no-allow-import-from-derivation --meta
Nothing to be built.

So I had to fetch the PR:
> git fetch upstream pull/253302/head:pricehist
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 14 (delta 2), reused 8 (delta 2), pack-reused 0
Unpacking objects: 100% (14/14), 208.48 KiB | 1.01 MiB/s, done.
From https://github.com/nixos/nixpkgs
 * [new ref]                   refs/pull/253302/head -> pricehist
> git checkout pricehist
Switched to branch 'pricehist'
> nix build .#pricehist
> ./result/bin/pricehist fetch ecb EUR/AUD -s 2023-08-15 -e 2023-08-22
date,base,quote,amount,source,type
2023-08-15,EUR,AUD,1.6888,ecb,reference
2023-08-16,EUR,AUD,1.6895,ecb,reference
2023-08-17,EUR,AUD,1.6931,ecb,reference
2023-08-18,EUR,AUD,1.6999,ecb,reference
2023-08-21,EUR,AUD,1.6995,ecb,reference
2023-08-22,EUR,AUD,1.6878,ecb,reference
> nix build .#python311Packages.curlify
>

I am rebasing new commits to the 3 commits with git push --force to maintain only the 3 commits in the PR. Perhaps, could it be a problem? should I add new commits and rebase all the commits once we finished working at the PR?

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

6 packages built:

pricehist
pricehist.dist
python310Packages.curlify
python310Packages.curlify.dist
python311Packages.curlify
python311Packages.curlify.dist

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1105


Issues with flowplayer

Hello, i have two issues while working with mdl + flowplayer (quiet popular video player: http://flowplayer.org). First i asked about that on flowplayer forum but devs said that problem is related to "my own css" = mdl css. Here i made two sample pages to not make things too complicated.
Sample 1: http://flowplayer.zobaczzwiastun.pl/sampleMdl.php
Sample 2: http://flowplayer.zobaczzwiastun.pl/sampleMdlAdsense.php
So first problem appears only on my ipad (dont have any other Apple device to test it, not sure if its just mobile iOS problem or overall iOS) when i fullscreen video, player goes behind all mdl items. Check Sample 1, header is on top of player.
Second issue is related to adsense for video plugin: https://flowplayer.org/docs/asf.html. Sample 2 shows flowplayer + mdl + adsense for video plugin. When you play video after 3 second show up image_text ad, since this moment i can no longer pause video by clicking on it, only buttons from controlbar works (there is little space above controlbar where its possible to click and pause/resume video but its just impossible for regular user).

Hey @pmallek. I am not familiar with FlowPlayer but this is definitely something you should take to StackOverflow using the material-design-lite tag. This falls under support and is not a bug with MDL at its core.
My guess would be that the z-index that we set in MDL are somehow incompatible with iOS fullscreen and AdSense, but I am not sure (don’t have an iOS device at hand right now).

@surma we dont have to talk about fullscreen problem on iOS, i have some solution for this issue. However adsense plugin is pretty big problem and i cant solve it. Believe me if it would be z-index or any other simple css thing i would never post it in any public place:) I did some more research, if i dont import mdl css file, problem still exists. I also commented every component register in material.js file. After that player works fine. I checked all components one by one to see which one cause problem and its layout. How ad is working in player? In my sample it loads iframe (after 3 seconds) and here something bad happen with this iframe (if i manually, for example in chrome delete iframe with ad from dom, i can again resume/pause player). So question is, is there any way how mdl js can interact with iframe?
Summary: Something bad happen with ad iframe when layout component is on and this make troubles with player usage.
I also asked about that on stack but community isnt to big yet. http://stackoverflow.com/questions/32560839/flowplayer-and-material-design-lite


lanScanner.start() freezes app when wifi is not connected to interner.

Hello!
My app freezes when i try to scan wifi network that is not connected to internet.
Can you give me any clue why this happens? Whenever the wifi has access to the internet everything works as expected.

@lubie0kasztanki I am facing the same problem.


feat: register entities

Description of the changes
Entity registration.
To-Do

[x] happy path: naive blocking workflow
[ ] happy path: async workflow (entities registration shouldn't block the processing pipeline)
[ ] happy path: local cache (avoid triggering registering same entities again and again)

Nice to have

[ ] happy path: context cancellation

PR Review Checklist
Author

[ ] the PR should focus on a single subject. Change only relevant files to the problem you’re working on
[ ] clean and format the code
[ ] add unit tests for your changes and make sure all unit tests are passing
[ ] add a risk label after carefully considering the "blast radius" of your changes
[ ] describe the intent of your changes in the description. don't just rewrite your code in prose
[ ] assign at least one reviewer
[ ] address the feedback
[ ] add a "ready for review" label. Only PRs with this label will be reviewed.

Reviewer

[ ] review code for readability
[ ] verify that high risk behavior changes are well tested
[ ] check license for any new external dependency
[ ] ask questions about anything that isn't clear and obvious
[ ] approve the PR when you consider it's good to merge

Pull Request Test Coverage Report for Build 197680285

288 of 1094 (26.33%)  changed or added relevant lines in 11 files are covered.
238 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-2.5%) to 53.207%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/backend/identityapi/connect_client.go
0
2
0.0%

internal/plugins/testing/agent_mock.go
0
6
0.0%

pkg/identity-client/response.go
0
10
0.0%

cmd/newrelic-infra/newrelic-infra.go
0
20
0.0%

pkg/backend/identityapi/register_client.go
48
74
64.86%

pkg/integrations/v4/dm/emitter.go
141
169
83.43%

pkg/identity-client/configuration.go
33
62
53.23%

pkg/identity-client/api_default.go
47
732
6.42%

Files with Coverage Reduction
New Missed Lines
%

internal/agent/event_sender.go
1
72.56%

pkg/integrations/v4/logs/cfg_watcher.go
4
64.18%

internal/agent/useragent_linux.go
21
0%

pkg/backend/commandapi/client.go
212
38.9%

Totals

Change from base Build 197673584:
-2.5%

Covered Lines:
9050

Relevant Lines:
17009

💛  - Coveralls


Adding lang support

I want users to be able to support a multitude of languages for their generated HTML output. This feature will be implemented with a -l or --lang option.

Added and merged through this branch:
https://github.com/Namatuzio/tiller/tree/issue-17

Closed by: https://github.com/Namatuzio/tiller/commit/358d1e45d4710ad55aab1effa4c9f890c261450e


[DOC] Access control - 404 after clicking a link

Documentation issue

When clicking on "here" I got 404.
link -> https://refine.dev/docs/advanced-tutorials/access-control/
Describe the thing to improve
I should not get 404.
Describe the solution (optional)
No response

Hey @Mikilll94, sorry for the trouble! Do you want to create a PR for this? We'd love to see your contribution to refine! External links sometimes break without us noticing 😅

@aliemir  can I solve this ?
Would love to contribute to the project !

@adityakode Yes, feel free to do it. All links on this page are broken.

@Mikilll94 made a PR #3747
thanks for the encouragement!


CentOps: Design CentOps Architecture

AS AN Architect
I WANT TO document and clarify the functional requirements and desired capabilities of the Central Operations System in Buerokratt
SO THAT the team can choose the appropriate technologies and solutions to ensure it meets those goals.

[ ] Produce a draft architectural design
[ ] Present to the team to solicit feedback
[ ] Commit a design document which captures the goals of the system

Moving this one into the backlog until https://github.com/buerokratt/DMR/issues/1 is reviewed and committed.

To conduct a workshop to discuss the design on Tuesday 7th of June


Added A.L.E. glass logo and source PSD file.

In regard issue #8: It was just a question of free time.
The source PSD file uses the following typefaces:

Bebas Neue, available under the SIL Open Font License, Version 1.1.

There is no third period, after the letter E? Is that intentional?

@neersighted Yep, for the sake of symmetry.

@bhalash This is pretty awesome, thanks!
If I'm going to put this into the README so you can see it on GitHub, is there something that should be done with resizing the logo, taking a background away, etc.?
I think I'll add a "Special Thanks" section to the help doc and mention your contribution with the logo in it.

@w0rp Let me know how you'd like it cropped and such. I can also throw up some variations (with/without background).

I'm a fan of the layout used by isort on GItHub. https://github.com/timothycrosley/isort Although here the logo is more a vertical logo than a horizontal logo.

@w0rp Grand, I'll update the PR with more sizes tomorrow.

Cool. Thank you for contributing a cool logo!

Looking pretty good! I'll add this into the README soon enough. Thank you for making this logo.

Thanks again for the cool logo. :+1: I resized the PNG to 50%, exported it at decent quality without making it too big, and put it up in the README file. It looks pretty cool. I added a "Special Thanks" section to the help file mentioning you and linking to your website.
I downloaded a copy of the PSD file and such. I suppose they can be separately hosted somewhere. I might add them to a GitHub pages... thing.

If you look at the logo and think that the settings I used for GIMP are terrible, or background could be something else, just open up a pull request whenever.


Paper revise

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

Comparison is base (6a59443) 84.78% compared to head (dbbc72f) 84.78%.

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

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   84.78%   84.78%
=======================================
  Files          30       30
  Lines        1932     1932
=======================================
  Hits         1638     1638
  Misses        294      294

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

Closing #22 with this


Localize groups of tools.

What feature or new tool do you think should be added to DevToys?
I want to translate categories so that I can select tools intuitively.
Why do you think this is needed?
This file is not recognized by Crowdin and is therefore hidden from the translator.
src/app/dev/DevToys.Blazor/BuiltInGroups/Groups.resx
Solution/Idea
Change Crowdin configuration or add file path to crowdin.yml
Comments

Hello,
These groups are defined in DevToys.Tools repository.
They're also included in Crowdin. Here is the one for Converters, for example :
https://crowdin.com/editor/devtoys/1004/en-ja?view=comfortable

That is correct!
So this was affected by the recent project separation.
This was not a feature request, but a fix.


More info in text only email

For email sent to person who has expiring items.

[ ] Manually deploy email job when this is merged

`--_----PDHJFU2/jsOAe07VvaMb9Q===_C2/FC-27452-03A9A9C5
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="UTF-8"
Jason Sylvestre, you have 2 expiring items in team notify test in PEAKS.
Thanks for PEAKing at this email. It sPEAKS well of you.
Notification Details
Type, Item, Date expiring
Access, test 1, 03/26/2019
Equipment, test 2, 03/26/2019
Please contact your team's assigned individuals to either update the expiration date or return/check-in the above items.
Not sure who that is? Click Help. To see your team's Admins
Help link for this team: http://goto.ucdavis.edu/f/a/nkPixQoR-Z5Hxe-wY8PXCw~~/AAB5cQA~/RgRefR8wP0QqaHR0cHM6Ly9wZWFrcy51Y2RhdmlzLmVkdS9ub3RpZnktdGVzdC9IZWxwVwNzcGNCCgAlMJqaXDxrPc9SGWphc29uY3N5bHZlc3RyZUBnbWFpbC5jb21YBAAAAlM~
This email was automatically generated please do not reply to it as the mailbox is not monitored.`

Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="UTF-8"
Jason Sylvestre, you have 8 new notifications from PEAKS.
Thanks for PEAKing at this email. It sPEAKS well of you.
Notification Details
Team: Test bad user
Details, Date Created
KeySerial(Cebra Lab: 385 through 397A) Unassigned to Samuel Heppelmann (sheppel)  by Jason Sylvestre (jsylvest), 03/18/2019 10:58 AM
KeySerial(Cebra Lab: 385 through 397A) Unassigned to Samuel Heppelmann (sheppel)  by Jason Sylvestre (jsylvest), 03/18/2019 10:58 AM
Team: notify test
One or more items in this team require you to accept them. Please click on the link below to confirm receiving these items.
Link to confirm: http://goto.ucdavis.edu/f/a/nqgJla2S3PY3cMYnBl2XSg~~/AAB5cQA~/RgRefR8vP0Q1aHR0cHM6Ly9wZWFrcy51Y2RhdmlzLmVkdS9ub3RpZnktdGVzdC9Db25maXJtL0NvbmZpcm1XA3NwY0IKAB4vmppciUKGHFIZamFzb25jc3lsdmVzdHJlQGdtYWlsLmNvbVgEAAACUw~~
Details, Date Created
Access(test 1) Created by Jason Sylvestre (jsylvest), 03/26/2019 2:25 PM
Access(test 1) Assigned to Jason Sylvestre (jsylvest)  by Jason Sylvestre (jsylvest), 03/26/2019 2:25 PM
Access(test 1) Assigned to Jason Sylvestre (jsylvest)  by Jason Sylvestre (jsylvest), 03/26/2019 2:25 PM
Equipment(test 2) Created by Jason Sylvestre (jsylvest), 03/26/2019 2:26 PM
Equipment(test 2) Assigned to Jason Sylvestre (jsylvest)  by Jason Sylvestre (jsylvest), 03/26/2019 2:26 PM
Equipment(test 2) Assigned to Jason Sylvestre (jsylvest)  by Jason Sylvestre (jsylvest), 03/26/2019 2:26 PM
This email was automatically generated please do not reply to it as the mailbox is not monitored.


Package config variables not available to npm-alternatives

Hi,
Any idea on how to solve this mysticatea/npm-run-all#201, within your fork?
Thanks

What implements Package config variables? Is that an npm feature?

No need for apologies, it's a somehow under-utilized npm/package.json feature.
While running scripts, all the package's properties are available as variables ($npm_package_...), which gives you $npm_package_name, $npm_package_version, etc
And of course, potentially, $npm_package_config_foo as in the original issue.
But it seems when the original npm-run-all (or yours) is used with any npm alternatives (pnpm for sure, and yarn) these variables are lost.

Bummer. In general npm's config has historically had many errors that surface and disappear for who knows why.
If you are interested in tracking down the source of the problem, I'd be happy to land a fix if it doesn't have a ton of strings attached.

Well, I have to be honest, I just did a global search on GitHub and it seems we are not so many using or trying to use this feature.... Or maybe a lot gave up 😢
You seem to have an active working fork of npm-run-all, so I tried 😄
Next weeek, I'll see what I can do to track it down!

I definitely use npm-run-all everywhere so happy to fix issues people are running into. Though as you can see largely the work here has been maintenance, so I'm not intimately familiar with how everything works still. I dont currently have time to look into this issue but I can defiantly look at any findings or fixes you can come up with and will be happy to land them in some form.

Looks like npm itself disabled a fair bit of their config offerings. I'm going to close since I have no bandwidth to fix this. If someone else wants to take a look feel free and we can re-open.


dotnet tasks fail when executed on external build server

Hello,
I got a simple build definition that uses the new dotnet task (preview) to restore, build, test and pack my project. The project(s)-field is set to
**/project.json on restore, build and pack tasks
**/*Tests/project.json on the test task.
Everything works beautifully on the hosted build server. The log of restore starts with

2016-11-16T15:23:31.7112509Z ##[section]Starting: Restore
2016-11-16T15:23:31.7602495Z
...
2016-11-16T15:23:31.7602495Z Task         : .NET Core (PREVIEW).

I then tried to run the build on one of our own build servers. It has Visual Studio 2015 Update 3 installed as well as "Microsoft .NET Core 1.1.0 - SDK 1.0.0 Preview 2.1-003177 (x64)". All dotnet tasks fail with the message "Project file(s) matching the specified pattern were not found.". Specifically, the log of restore looks substantially different (only few lines, can provide more)

2016-11-16T20:04:30.5305592Z Set workingFolder to default: C:\agent\tasks\DotNetCoreCLI\0.1.0
2016-11-16T20:04:30.9055608Z ##[debug]agent.workFolder=C:\agent_work
2016-11-16T20:04:30.9211849Z ##[debug]loading inputs and endpoints
2016-11-16T20:04:30.9211849Z ##[debug]loading ENDPOINT_AUTH_1DA08703-470D-4634-B30A-E1DB636F54B0
2016-11-16T20:04:30.9211849Z ##[debug]loading >ENDPOINT_AUTH_PARAMETER_1DA08703-470D-4634-B30A-E1DB636F54B0_ACCESSTOKEN
2016-11-16T20:04:30.9394337Z ##[debug]loading >ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN:

On top we see that the working folder is set to the DotNetCoreCLI-task-folder, something that's not done when running on the integrated hosted build server. Obviously there's no project.json here. The logs of all tasks look very similar, setting the wrong working directory, setting some variables and failing in the end. This line may be of interest:

##[debug]Glob pattern: ["C:\agent\tasks\DotNetCoreCLI\0.1.0\\project.json","!C:\agent\tasks\DotNetCoreCLI\0.1.0\\*.Tests\project.json"]

Still, the task seems to get the location of dotnet.exe right (C:\Program Files\dotnet\dotnet). Running dotnet restore/build/etc. locally on the build server runs just fine, so the SDK is verified to be working.

Hi Daniel,
This is happening as you have legacy version of the agent on your build servers (not happening on hosted since the agent is updated here). In order to resolve this please update your build server agents to the latest version. If for some reason/requirement you are unable to update the agent version then edit all the .NetCore tasks setting Project(s) value as  "$(system.defaultworkingdirectory)//project.json**" without the quotes.


Routify style helpers and functionality

Having used Routify on a number of projects and now trying out Kit I find myself missing some of the helpers.
I think these helpers in particular are of great value:

url()
isActive
beforeUrlChange
layout (useful for getting the children of a node (for example to construct navigation)

In addition to this, I find Routify's concept of a layout reset file very compelling. It's also something that constantly comes up up again and again in the Discord.
The alternative to these features is obviously to make them yourself but some of these features are very oft-used.
These helpers aren't super important  important but overall I think they make it a lot easier to construct applications.

+1 for Layout Reset files @kevmodrome . A simple use case for the same is, a dynamic website and its management panel in a single SvelteKit project. Both will need a separate $layout and even separate $error files.

Agree that we need layout resets. I was thinking something nice and simple like $layout.reset.svelte. There's an issue for it here: https://github.com/sveltejs/kit/issues/626
beforeUrlChange would be covered by https://github.com/sveltejs/kit/issues/560.
To be totally honest, I'm unclear on the value of url, isActive and layout.

That sounds like a reasonable solution to me. I had completely missed that issue - my bad!
You might be right about the url and isActive helpers. I suppose I just like the idea of having a quick and easy way to check if the page i'm on is active. In fairness I one could just as well use the page.path and stick an includes('some-path') on there 🤷
The layout one is pretty nice though, it makes it possible to reach into the manifest (is there one in kit?) and grab the children of a route in a very accessible way. One example is the sidebar on the recipe pages on the Svelte Society website. Makes for a great experience when you're building documentation style websites. One downside to this is that we one might want a way to set page titles on routes since you might not always want the file name as your title. In the end, maybe not worth it.

[...something].svelte handles fallbacks, yeah.
There is no developer-accessible manifest, and even if there was we don't have a way to set the title of a given page that would be visible to said manifest. Even if we did, that would exclude dynamic routes (think blog/[slug].svelte, where slug corresponds to a Markdown file or some data from a CMS, which is arguably what we want to encourage over the comparatively expensive .svx paradigm in cases where the content is static).

Fair enough. That makes sense. Cheers!

which is arguably what we want to encourage over the comparatively expensive .svx paradigm in cases where the content is static

@Rich-Harris just curious, why is .svx more expensive? I don't really see why it would be, but am probably missing something

@benmccann data is cheaper than code! the .svx file has to go through the compiler, it has to be parsed and evaluated in the browser, and the rendering itself involves overhead compared to {@html big_blob_of_content}

layout (useful for getting the children of a node (for example to construct navigation)

@kevmodrome How are you managing this at the moment? I was getting rid of routify but then got stuck here.

There's some info in how to convert here: https://github.com/svelte-society/sveltesociety.dev/issues/223#issuecomment-840871466


Azure implementation for the streaming output

Support Azure for streaming output
Shell script for running the whole system through docker-compose depending on the availability of Azure environment variables.

Good commit, Thank you!


Config variable added

I made the changes to the config variable.
The version is increased as the new feature.

The test cannot find the injection token, but as a program it is working. I cannot tell what the problem is with the test.

You simply don't need a config variable, once this is a component, you should be using @Input and @Output. That's not what we want and we are not mantaining v0.x.x at the moment.
Something like this was already added to v1.0.0-dev, you can check it out on the develop branch. 😉

Please, note that it was added as @Input:
https://github.com/werthdavid/ngx-zxing/blob/bdef0e561b6633f325998029af0ab1320e444174/src/app/modules/ngx-zxing/ngx-zxing.component.ts#L60-L64
You cna make some tests by adding this property instantiation to construct:
https://github.com/werthdavid/ngx-zxing/blob/bdef0e561b6633f325998029af0ab1320e444174/src/app/modules/ngx-zxing/ngx-zxing.component.ts#L30-L33
I did that and I removed after because I noticed too much performance issues. but that's the way it should be done in the "Angular way".
Thanks again for your enfort, you are free to play with the develop branch, which is already stable. 😁

I was told to solve it in issue #24 .

Sorry, but that's not a solution we can accept. Also the issue is in milestone v1.0... and not v0.x....

@csutorasr what is the advantage of the injection token over the current solution with @Inputs and @Outputs as stated by @odahcam ?
We're currently doing lot's of rework as you can see in development branch. As you can see there exists a possibility to change the throttling behavior

Its advantage: no performance issues.
Its disadvantage: cannot be changed (can be configured only once).

Is performance really an issue?
I'd suggest to set ChangeDetectionStrategy to OnPush, this should increase performance. I'll create an issue for that


Support converting Buffer to byte[]

Motivation
There are some unity methods in io.netty.buffer.ByteBufUtils:

byte[] getBytes(ByteBuf buf)
byte[] getBytes(ByteBuf buf, int start, int length)
byte[] getBytes(ByteBuf buf, int start, int length, boolean copy)

Also, it would be better if we support something like above for esa.commons.netty.core.Buffer

commons-http and commons-netty were split into https://github.com/esastack/esa-commons-net


Add weather column and accompanying API

Created a weather column to fill some of the whitespace between the rider names/900s and the call volume blocks. This weather column pulls data from the openweathermap API and automatically updates icon colors based on light mode vs. dark mode. It currently shows 4 days of weather because any more would cause notes and chores to be pushed down.

Can you fix the JavaScript file to use ES6 notation such as let instead of var. Also you can remove the dependency on jQuery as current JavaScript standards make it pretty much obsolete. I also request that you fix the code climate issue above. Code climate is our automatic structure checker which ensures that the code is maintainable.

@ymmahmoud bump


refactor script.js button states

Create setButtonState function to set up button props more easily.

Thanks for that piece of tidying up.


Have Deployment Robort build a changelog

Currently, Deployment Robort just tells us which commit we are coming from and which we're going to. However, we can probably provide more information, showing a brief changelog based on the commits in the series.
This should be fairly trivial - just get the first line or so of each commit from where we start to where we're going. We already have the commit hashes, so this should be doable with some bash / git commands.
If a snippet is provided, I'll add it to the deployment script.

We have the variables in our update script as $OLD_HASH and $NEW_HASH

Also, we should have him send a message when deployment starts (and potentially delete it after deployment is done)

I did it