Fix incorrectly checking of AboutViewModelFactory

:loudspeaker: Type of change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description

The app crash when you tap on "About". Turns out it check KClass instead of Class, and the verification in AboutViewModelFactory throws IllegalArgumentException
:bulb: Motivation and Context

Fix "click About and immediately crash"
:green_heart: How did you test it?
I click "About" again and see if it crash
:pencil: Checklist

[x] I ran ./gradlew spotlessApply before submitting the PR
[x] I reviewed submitted code
[ ] I added tests to verify changes
[ ] All tests passing

:crystal_ball: Next steps
Should I add a test here? I checked other XXXViewModelFactory, and it doesn't seem like any of them have test either 🤷♀
:camera_flash: Screenshots / GIFs

Before

After
No crash 😁

fixed meanwhile


Update chart victoria-metrics-k8s-stack to 0.19.0

This PR contains the following updates:

Package
Update
Change

victoria-metrics-k8s-stack
minor
0.18.12 -> 0.19.0

Release Notes

VictoriaMetrics/helm-charts (victoria-metrics-k8s-stack)
v0.19.0
Compare Source
Release notes for version 0.19.0
Release date: 2024-02-09

Do not store original labels in vmagent's memory by default. This reduces memory usage of vmagent but makes vmagent's debugging UI less informative. See this docs for details on relabeling debug.
Update dependencies: kube-state-metrics -> 5.16.0, prometheus-node-exporter -> 4.27.0, grafana -> 7.3.0.
Update victoriametrics CRD resources yaml.
Update builtin dashboards and rules.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


⚠ AsianCinema has degraded performance

In 1a67a4a, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 525
Response time: 20467 ms

Resolved: AsianCinema performance has improved in ad23e62.


How to get twin data from KubeEdge 1.9.2

I followed this article, but only got null output:
看KubeEdge和Kuiper携手实现边缘流式数据处理
KubeEdge Version:1.9.2
Kuiper Version: 1.4.4
KubeEdge raw twin data
topic: $hw/events/device/modbus-heater/twin/update/result
data:
{
  "event_id": "",
  "timestamp":<PHONE_NUMBER>869,
  "twin": {
    "temperature": {
      "actual": {
        "value": "100",
        "metadata": {
          "timestamp":<PHONE_NUMBER>869
        }
      },
      "optional": false,
      "metadata": {
        "type": "int"
      }
    }
  }
}

kuiper output
topic: kuiper/result
data:
[
  {
    "__meta": {
      "messageid": "0",
      "topic": "$hw/events/device/modbus-heater/twin/update"
    }
  }
]

Kuiper stream
create stream demo () WITH (FORMAT="JSON",DATASOURCE="$hw/events/device/+/twin/update")
deviceModels.json
{
	"deviceModels": [{
		"name": "modbus-heater",
		"properties": [{
			"name": "temperature",
			"dataType": "int"
		}, {
			"name": "heat-on",
			"dataType": "boolean"
		}]
	}]
}

action:
{
  "sql": "SELECT data->temperature->value FROM demo",
  "actions": [
    {
      "log": {}
    },
    {
      "mqtt": {
        "server": "tcp://<IP_ADDRESS>:1883",
        "topic": "kuiper/result",
        "qos": 1,
        "clientId": "demo"
      }
    }
  ]
}

Thanks for opening this issue. It seems your SQL select does not match the data structure.
Your SQL select data->temperature->value means select the data.temperature.value in the json structure.
But the raw data does not have that structure. According to your paste data, you may need to select twin->temperature->actual->value.

Thanks,it worked!


Adopt eslint rules in client/utils/** & migrate to typescript

General clean up of client/utils folder with linting re-enabled

move all text utils into one file (cleanForSlug) into text.ts (general text utils)
adopt typescript in most utils files (except performance, which is not used unless explicitly commented out for component redux work)
add unit tests missing for various functions within utils
add JSDOC if suitable
fix bug with ngettext
create noop and identity functions to use where set up in other files
disable some rules for unit test files to make writing tests simpler, we were basically ignoring the same kinds of things across many files and this did not add value for us
rewire the version util to remove need for extensive classes addition for throwing errors and setting up constants
[x] Do the tests still pass?
[X] Does the code comply with the style guide?
[X] Please list the exact browser and operating system versions you tested: Chrome 100/ Firefox 99

Please describe additional details for testing this change.

Manually retested anything that was touched even if code is basically 1:1; sidebar expanding, version notification, auto-slug generation for page title
May be good to do a smoke test of a few of these things

Went in a bit of a different direction, instead of resolving the filename issue re-looked at the existing structure and it makes more sense to bring the slug util into the text utils folder.
This is now a much smaller functional change overall (aside from JSDoc & unit tests), less import path changes.
I have also now added unit tests to most of the other utils folder (except performance which is dev only) and found a bug in ngettext which is now resolved.

updated with latest changes to utils/version and introduced two additional global changes to eslint

disabled max classes rule - this does not really align with our direction of it being ok for one file to do a few things, nor does it work for cases where we actually need more classes within one file.
refined the lines between class members - when using typescript and also static methods, it feels nicer to have these bunched instead of spaced out, so I have adjusted the rule globally accordingly to be less strict for one line class members.

Can do. Great idea.

1

PR https://github.com/wagtail/wagtail/pull/8746 created for the small issue in actions.ts
branch https://github.com/lb-/wagtail/tree/cleanup/8731-eslint-fix-utils-version created for after https://github.com/wagtail/wagtail/pull/8738 is merged
PR https://github.com/wagtail/wagtail/pull/8747 created for the gettext file (note: not really a linting issue)

Closing - all other parts have been split out to already merged commits or new PRs - see updated note above https://github.com/wagtail/wagtail/pull/8578#issuecomment-1166211648
Thanks Matt - looking at this again I realise it was a bit of a random grab-bag of things that would have been really hard to review.


v10: error when creating template (not blocked by default)

Ahoi. I get the following error when I create a template in v10 + PF2. As a result the template is not blocked by walls even though I set that as default via configuration.
module.js:302 Uncaught (in promise) TypeError: Cannot add property flags.walledtemplates.enabled, object is not extensible
[Detected 1 package: walledtemplates]
at Object.fn (module.js:302:46)
at #call (foundry.js:688:20)
at Hooks.call (foundry.js:670:38)
at ClientDatabaseBackend._preCreateDocumentArray (foundry.js:12367:47)
at async ClientDatabaseBackend._createEmbeddedDocuments (foundry.js:12307:22)
(anonymous) @ module.js:302

Reloading the browser switched the already created to being blocked by walls (as does manually switching it without reload). But the default wall-blocked creation throws the error.

These error pop up when I open/close a door on the map (no template present):
module.js:190 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0')
[Detected 1 package: walledtemplates]
at Object.fn (module.js:190:30)
at #call (foundry.js:688:20)
at Hooks.call (foundry.js:670:38)
at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12651:47)
at async ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12564:22)
module.js:250 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0')
[Detected 1 package: walledtemplates]
at Object.fn (module.js:250:30)
at #call (foundry.js:688:20)
at Hooks.callAll (foundry.js:645:17)
at ClientDatabaseBackend.callback (foundry.js:12745:13)
at foundry.js:12713:43
at Array.map ()
at ClientDatabaseBackend._handleUpdateEmbeddedDocuments (foundry.js:12713:33)
at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12575:17)
at async WallDocument.updateDocuments (commons.js:5674:23)
at async WallDocument.update (commons.js:5771:23)

Yeah having this issue as well.

Fixed in v0.4.2.


Devnet/Mainnet dry-run regression testing

Proposal of testing
Pipeline to use: https://buildkite.com/o-1-labs-2/hardfork-package-generation
One needs to trigger a custom build for this pipeline, specifying the branch and environment parameters.
For dry run (with PR #15591):
(We probably do not need DUNE_PROFILE and FORKING_FROM_CONFIG_JSON)
CONFIG_JSON_GZ_URL="https://storage.googleapis.com/tmp-hardfork-testing/fork-config-2024-04-25-1512.json.gz"
DUNE_PROFILE="mainnet"
FORKING_FROM_CONFIG_JSON="genesis_ledgers/mainnet.json"
GENESIS_TIMESTAMP="2024-04-25T21:00:00Z"
NETWORK_NAME="mainnet"
PRECOMPUTED_BLOCK_GS_PREFIX="gs://mina_network_block_data/mainnet-pre-hf-dry-run"

For devnet:
CONFIG_JSON_GZ_URL="https://storage.googleapis.com/tmp-hardfork-testing/devnet_fork_config_apr_09.json.gz"
GENESIS_TIMESTAMP="2024-04-09T21:00:00Z"
NETWORK_NAME="devnet"

For mainnet:
(I found this fork config on bucket, not sure who dumped it and if it is correct)
CONFIG_JSON_GZ_URL="https://storage.googleapis.com/tmp-hardfork-testing/mainnet-fork-config-4-26.json.gz"
GENESIS_TIMESTAMP="2024-04-27T21:00:00Z"
NETWORK_NAME="mainnet"

[ ] Mainnet (on #15591): https://buildkite.com/o-1-labs-2/hardfork-package-generation/builds/280
[ ] Devnet (on #15591): https://buildkite.com/o-1-labs-2/hardfork-package-generation/builds/281
[ ] Mainnet dry run (on #15591): TODO


Feature request: Automatic Encoding

Would it be possible to use auto-encoding
as a possible Encoding type?
I've got the Issue that I work with files with different Encoding types. For example:

I've set my main Encoding type Settings/Core/File Encoding to UTF-8
I edit a file which natively is Windows 1252  encoded - save it and  Diff it to an earlier Version of the same file. (Note: auto-encoding switches my encoding type automatically to Windows 1252 in this scenario)
The Diff will display all vocals like ä, ö or ü as differences since UTF-8 uses a different Symbol for them

This is indeed an uncommon scenario and it will likely be gone in 1 - 2 years from now since UTF-8 is slowly becoming the standard where I work. I'd be glad if you could look into it!

#EDIT:
Since this seems to be a bigger Issue than I tought - (https://github.com/atom/encoding-selector/issues/24) - it would be nice for now to be able to set the encoding type in the Diff View:
(Something like this)

EDIT:
Upon further digging, it looks like the problem lies within the time-machine package.
I've created a thread https://github.com/littlebee/git-time-machine/issues/135
This one can be closed.

Thanks for taking a look at that @WashirePie


predicted hit not working in barbarian assault

hey any suggestions to fix this? :)

As far as I understand you get no xp for attacking barbarian assault npcs. The plugin uses the hp xp gained to predict what you hit so it won't be possible to predict when no hp xp is gained


fix: Correct get-api-gateway-token.sh script for when DEV env is empty

Signed-off-by: Leonard Goodell<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-compose/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?) N/A

Testing Instructions
Run secure stack
Run make get-token
Verify no error message, just token displayed.

@cherrycl , same issue on this simple PR that doesn't have the TAF compose files.

recheck

recheck

recheck


Generate random MAC addresses even for local network instances

Even for local network instances we should generate random MAC address
that with a high probability will not collide with other apps on other
edge nodes. From networking point of view this is not necessary,
but there are apps that use MAC address as some sort of ID and could
fail to function properly if there is a collision across edge nodes.
As opposed to switch network instance, here the collision could be
a problem for such apps even if edge nodes are in completely different
locations and connected to different networks. We therefore need even
higher probability of address uniqueness. For example, with 24 random
bits and 1000 app interfaces the change of a collision would be as high
as 3%. Since these MAC addresses will not appear on external Ethernet
networks, we can also use OUI octets for randomness. Only I/G and
U/L bits need to stay constant and set appropriately.

 In logs I couldn't find anything related to the change of this PR. Let's maybe wait for the merge of https://github.com/lf-edge/eve/pull/3322 and then I would rebase this PR to trigger re-test.


SSL looking for file with incorrect extension

SSL is looking for '.cert' file instead of '.crt'.  Ref GH-5

Closing b/c #15.


Markdown cell in jupyter notebook vscode cannot input UTF-8 character from keyboard

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
several weeks ago, I could input UTF-8 characters from my keyboard but now it is impossible.  When typing it, the words appear and then disappear immediately.
Here is the video to describe it:
https://user-images.githubusercontent.com/64766759/205007794-9af48268-b3aa-4b97-83dc-36d9df308303.mp4
I haven't updated or done anything strange to Vscode, or notebook.
VS Code Version
Version: 1.73.1 (user setup) Commit:<PHONE_NUMBER>f055b99068d3688932416f2346dd3b Date: 2022-11-09T04:27:29.066Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.22000 Sandboxed: No
Jupyter Extension Version
v2022.9.1303220346
Jupyter logs
No response
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

for SO who might want to resolve this, delete the keybinding onBackSpace key from the extension.
ref: https://github.com/yzhang-gh/vscode-markdown/issues/617#issuecomment-585629661


Add owner_funds to txs in RPC ledger (RIPD-1050)

Add a new field (owner_funds) to the ledger command that when set, returns the current owner funds for each transaction offer create in the specified ledger.
Reviewers: @JoelKatz @HowardHinnant

Current coverage is 49.37%

Merging #1415 into develop will decrease coverage by -0.01% as of 9fd0c82

@@            develop   #1415   diff @@
=======================================
  Files           964     964
  Stmts         67065   67074     +9
  Branches          0       0
  Methods           0       0
=======================================
- Hit           33122   33120     -2
  Partial           0       0
- Missed        33943   33954    +11

Review entire Coverage Diff as of 9fd0c82

Powered by Codecov. Updated on successful CI builds.

:+1: Looks good to me.  Everything tests out ok on OS X.

@HowardHinnant parenthesis added for clarity.

We need to make absolutely sure that it's clearly documented that owner_funds gives the amount held even if it's frozen and that clients must make sure to check the freeze flag themselves.
:neckbeard::+1:

I have notified Rome about the documentation.

@JoelKatz I spoke with Rome about the documentation. Ryan Young will be handling it.


[Feature Request]: Redesign the Footer (Template with not working icons now )

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

Use Case
The current footer doesnt work . because the tags are not connected to the website, so it will redesign the footer and do all nessecary integrations across all the pages of the website
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

@samar12-rad go ahead


chore: Add tooltip-with-timeout example

Adds tooltip with timeout example for #939

Thank you @saideepesh000! 🚀

Thanks to you @diegohaz , happy to help ❤


[Fix][Tagger] Fix entities leak in the tagger

What does this PR do?

Extend the entities pruning logic in the tagger to delete entities with empty entries
Add telemetry around pruning entities

Motivation
Leaks are bad, even when they're tiny like this one.
Additional Notes
The leak s happening because of two factors

When we fetch an entity and one of sources (collectors) doesn't find it, we store an empty entry of that entity for the source in question (this has been like this since the early days of the tagger, the goal is to speedup the look up in the next queries). This fix doesn't aim to change this design.
Since https://github.com/DataDog/datadog-agent/pull/6624, the empty entry would never be deleted for the source in question if it doesn't track the entity in the first place (example: the docker collector doesn't process pod entities but will have a empty pod entities pushed when fetching pod tags)

Describe your test plan
Cron jobs can be used to reproduce the leak, with the fix we should no longer see entities like this
=== Entity kubernetes_pod_uid://f2c52209-23b6-48d3-b9a7-8eab14a210f1 ===
== Source kube-metadata-collector ==
Tags: []
===
...
=== Entity container_id://b3d3b540b10cdf19e19534c5291ffe7494dac3bd14f8846faf607bb58b181976 ===
== Source kube-metadata-collector ==
Tags: []
===

Nice find! Although I do wonder whether such a speed up is a good tradeoff for the complexity here. Some thoughts:

If a process keeps on calling Tag() with an entity that's no longer valid, this change acts as a 5 minute long throttle: the entity will come back empty to the store, will avoid a fetch for up to 5 minutes, but then be wiped, repeat. If that's what we want, I'd prefer to have that intent to be clearer.
If a process stops calling Tag() after it sees that the tags come up empty, the optimization is basically a no-op. It's probably somewhere in between "once and never again" and "forever", so I guess we could add some telemetry to find out.
The kube metadata collector tends to return empty tags quite often iirc, which means we run the risk of re-fetching (instead of relying on pull, which is more efficient) almost all entities every 5-ish minutes because they'll all get cleaned up. I'm not exactly sure how to get around this with either of the solutions above :/
This is a bit unrelated to the issue in question, but I've been thinking about removing the pruning in the store entirely, in favor of letting the expiration logic of the collectors themselves handle that (as they already do). As things currently are, there's two places in the code trying to keep entities alive for longer, and removing one would make things simpler.


Prettier, eslint, gitignore

Would you accept a PR that adds prettier to reformat the code, eslint for linting and adds the files generated by geninstr.ts to the gitignore?

Prettier will reformat the code using standardized rules
ESLint can be used to find potential problems, such as forgetting to write await on an async function and a many other checks
Adding the generated files to gitignore will reduce merge conflicts, but would require anyone working on the repo to run the geninstr command any time they clone or switch branches.

I would propose to exclude dsconvert.js from formatting & linting errors since it's vendored from DesyncedJavaScriptUtils.
Running prettier on compile.ts & assemble.ts would be a pretty big diff, prone to merge conflicts. Such merge conflicts are relatively easy to resolve by also running prettier on the branch that is being merged, but it would be good to coordinate this.
Thanks!

Prettier sounds good.
I'm a little unsure about eslint, I'd want to see what/how much it screams about. Maybe do that one separately?
I'm also not sure about gitignore for the generated files. It's kind of tricky to generate them, although it's at least documented how to do it now.

I didn't include that one in particular because I thought the game devs might not like it. Although the other files contain most of the same info, so maybe it's not any different?

I asked beatwho (Co-Founder of Stage Games Inc.) for permission to redistribute the data.json produced by my Data Dump mod, which includes this data and more:

So we could distribute only the json file, and have everything else be generated (at runtime, where feasable).

Ok awesome!


trying to figure out some vercel settings

@bbland1 Are you still having issues with the deploy?

@SchoolyB This specific issue I know the issue I need to get rid of the --preview flag. But I am trying to get the preview url to save from the yaml and the vercel output during the GitHub action deployment so I can put it in the comment. Since I turned off the default integration to be able use GitHub actions and my tests I just need to figure that out now.


07/03/2018 01:28 : Create Pull Request for branch master -> prTesting1_2018070301

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Change or remove font definition in frontmatter

@szaimen you can change the fonts here https://github.com/FH-Potsdam/the-ultimate-laser-guide/blob/5eae6ca2b9ea6cb995d45866c579666417fdb133/README.mdown?plain=1#L34-L44
related #2

this is not an issue. works fine. see current actions.

this is not an issue. works fine.

Fine by me as long as it works :)

@szaimen When ever the Readme.md is updated the PDF will change automatically. It will need a little bit more visual finetuning. But works in general...


Add hibernate search support

Adds support for queries made by hibernate search. Supported versions are all 5.x versions and I also added support for the current alpha version of hibernate search 6.x.
Since I'm currently unable to execute the build with the license plugin the license header is missing in the files (See #674)

Regarding a shared API between version 5 and 6. The hibernate team made a big rewrite of the Search DSL. So there is nothing shared we could instrument.

Since I can't answer to your comment with the JdbcHelperImpl#isAlreadyMonitored I add a comment.
I personally don't think the information of the JDBC calls is relevant in this case because hibernate search simply loads all objects which are in the result from the database. This could add a lot of spans which provide nearly zero value.

Regarding your comment https://github.com/elastic/apm-agent-java/pull/685#issuecomment-506725801 - I think you are better to judge. If you don't think this will add value for pinpointing latency issues and errors- no need to change. @felixbarny WDYT?

One more thing- after working so hard on supporting that, you should add it to the supported-technologies.asciidoc page 😄

@eyalkoren Now everything should be addressed. I would appreciate if you could resolve the discussions which are resolved. Took me some time to figure out what still needs to be done and what I already fixed.
Will add the supported technology page later.

Here are screenshots from a search transaction

Thanks for your review input!

run the tests

@felixbarny @eyalkoren Is there still something I have to do to get this integrated?

Sorry for the delay in getting this in. We are about to release a new version and were focusing on getting the necessary changes in. As this is quite a big new feature, we want to merge this in after the release. We plan to do releases more frequently so it won't take too long until this will be in an official release.

Ok. I will do a rebase when I have some time for it.

Thanks and sorry for the hassle. Version 1.8.0 was a big one and we wanted to make sure it is properly out with the 7.3.0 stack release.

Branch is rebased to current master. Adjustment for changed apm version and apis are made.

Codecov Report

Merging #685 into master will increase coverage by 0.06%.
The diff coverage is 37.73%.

@@             Coverage Diff              @@
##             master     #685      +/-   ##
============================================
+ Coverage     64.16%   64.22%   +0.06%
+ Complexity      106       68      -38
============================================
  Files           211      214       +3
  Lines          8921     8781     -140
  Branches       1141     1116      -25
============================================
- Hits           5724     5640      -84
+ Misses         2842     2791      -51
+ Partials        355      350       -5

Impacted Files
Coverage Δ
Complexity Δ

.../agent/hibernate/search/HibernateSearchHelper.java
0% <0%> (ø)
0 <0> (?)

...ent/hibernate/search/HibernateSearchConstants.java
0% <0%> (ø)
0 <0> (?)

...e/search/v6_x/HibernateSearch6Instrumentation.java
52.94% <52.94%> (ø)
0 <0> (?)

...e/search/v5_x/HibernateSearch5Instrumentation.java
57.89% <57.89%> (ø)
0 <0> (?)

...astic/apm/opentracing/TraceContextSpanContext.java
100% <0%> (ø)
3% <0%> (-4%)
:arrow_down:

...t/opentracing/impl/SpanContextInstrumentation.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...ic/apm/opentracing/ExternalProcessSpanContext.java
100% <0%> (ø)
4% <0%> (-5%)
:arrow_down:

...java/co/elastic/apm/attach/ElasticApmAttacher.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...agent/impl/stacktrace/StacktraceConfiguration.java
100% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...acing/impl/ExternalSpanContextInstrumentation.java

... and 8 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 c2fbeee...e328c09. Read the comment docs.

Build and all tests passed!! 🎉
@theobisproject thanks again for your effort! Highly appreciated!

@eyalkoren @felixbarny Thanks for your help to get this integrated!


WIP: add pydantic/ipyautoui version of dashboard

This PR adds a draft of the pydantic/ipyautoui version of the dashboard.

I looked this over, nice.  I think Matt's intention (from our previous discussions) was to provide these files as references (hence the directory name) and that we would use the existing 02b_widgets.ipynb notebook (with modifications) to review ipwidgets which scaffolding with the nbdev approach of literate programming to build a widgets.py module.
Assuming this:

Should we strip the existing tutorial questions from 03.00-widget-list.ipynb?
Should we consider merging 03.00-widget-list.ipynb and complete-ipywidgets-widget-list.ipynb (since it provides example code for each widget) and then call it something like ipwidgets_reference.ipynb and link to it from 02b_widgets.ipynb?

@nicole-brewer @JuanCab -- this is ready for a look.
I haven't written the answers yet, but will work on that later today or tomorrow.
I know I want to add a bit more to the ipyautoui widget (i.e. more in notebook 3b) and to save that to a python module.
The notebook I added, 3c, is a possible extension we could plan to do, or include but do only if time permits, or drop.
Feedback is very much welcome, especially in places where you find it confusing.

@jgunstone @ollyhensby -- I wanted to let you know that we're planning to use/promote ipyautoui as part of a widget tutorial at SciPy 2024. Any feedback is welcome (note these are not fully polished yet)...and if you find anything here that might be useful to the ipyautoui documentation feel free to use it.
But mostly thanks again for writing ipyautoui -- it is so much easier than doing widgets by hand!

hi @mwcraig -
this is great news, thanks for letting us know. We're so happy that you're enjoying using 'ipyautoui', and that it will feature in your tutorial at SciPy. I'll take a look over the notebooks when I get a chance and will defo harvest for the docs :)
thanks again

Do you want to create a version fo the entire dashboard using the pydantic/autoui code? If you do, it could illustrate how much more compact that code is.

:rofl: I had sort of forgotten until I reviewed #8 that there was more to the dashboard than these controls.

Thanks for the review -- I'll plan on making the revisions Friday morning.

@nicole-brewer @JuanCab -- I've done a fairly extensive rewrite of this. The first notebook walks through pydantic and mentions ipyautoui. The second discusses ipyautoui some more. The third has class-ified versions of the remaining widgets, and introduces adding traitlets to a class. The fourth assembles the pieces into the dashboard and introduces link as another way to accomplish what observe does.
I'm looking forward to your feedback on this and am happy to drop/rearrange/expand as needed. I'm a little worried I went overboard here...

I performed a code review the afternoon of June 24.  I did check all the %answer worked as expected...

In 03b_ipyautoui.ipynb

Answers have not been exported to their answer key files yet.
where you first generate ui2 to show it fails the validation check... you might want to say it is because it assumed a default value of 0 (since none was provided) for the window_size.
%answer key/03b/05.py is missing an answer. :)

In 03c_other_dashboard_widgets.ipynb might be better called 03c_other_dashboard_elements.ipynb.  In any case:

I would match the axes names, titles, and legend as shown in PR#8, its low-cost and clarifies the plot quite a bit.
Care to explain the @tr.observe('smoothing_info') decorator on select_and_plot method of DataAndPlot?
You do NOT use ipydatagrid when displaying the data table with DataAndPlot.  Might be nice to do that for consistency with the "02" notebooks.

In 03d_dashboard2.ipynb:

when I executed the cell with main_widget in it, NOTHING was displayed! This is intentional based on the text, but a little disconcerting... Not even a white bar to indicate the cell executed...
When I tried to nb_export the notebook, I got a strange error FileNotFoundError: [Errno 2] No such file or directory: '03d_deashboard2.ipynb' because there is a typo, it should be '03d_dashboard2.ipynb' not '03d_deashboard2.ipynb'

03e_more_ipyautoui_pydantic.ipynb contains the misspelt SmoothingSetttings instead of SmoothingSettings (where I stutter less with the t).


Some Help on sorting nodes

Hello , I'm new user of jstree and having some troubles in ordering my nodes:
My json looks like this
`
0 |
-- | --
id | 19
parent | "#"
text | "Sujet flottant"
type | "themes"
position | "0"
rang | "1"
state | null
1 |
id | 1
parent | "#"
text | "Il me faut un nouveau ....."
type | "themes"
position | "1"
rang | "2"
state | null
2 |
id | 5
parent | "#"
text | "Ça part pas , ça arrive pas"
type | "themes"
position | "1"
rang | "3"
state | null
My jstree init is like this $('#treeViewDiv').jstree({
'core':{
'themes':{
"icons":true,
"url":true
},
'check_callback' : true,
'multiple' : true,
"data":{
"url":"/treviewjson",
}
},
'checkbox': {
"three_state": true,
"cascade":'up',
},
'types' : {
"#" : { "max_children" : 1, "max_depth" : 4, "valid_children" : ["root"] },
"root" : { "icon" : "glyphicon glyphicon-th", "valid_children" : ["default"] },
"themes" : { "icon" : "/static/js/jstree/icons/baseline_receipt_black_18dp.png","valid_children" : ["default","question"] },
"question" : { "icon" : "/static/js/jstree/icons/baseline_chat_black_18dp.png", "valid_children" : [] }
},
  'plugins': ["themes", "checkbox",  "sort", "ui",  "changed", "search", "contextmenu", "types"]
}
  );`

And my nodes are not sorted by position like i would like , what do i miss ?
Thx

You need to provide a sorting function in the initialization of the tree, that will be invoked when nodes need to be sorted:
https://www.jstree.com/api/#/?q=sort&f=$.jstree.defaults.sort


Safer bookmarklets

Task/Issue URL: https://app.asana.com/0/search?q=bookmarklets&child=1202876283963356
Tech Design URL:
CC:
Description:
Have a defined flow in which bookmarklets are being executed.

Steps to test this PR:
See Asana task for details and additional test cases.
Create bookmarklet e.g. javascript:window.open(window.location.href);
Test how it is being executed from favorites, bookmarks list. It should not be present on the widget.

Device Testing:

[ ] iPhone
[ ] iPad

OS Testing:

[ ] iOS 14
[ ] iOS 15

Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@bwaresiak I've found an edge case - when selecting a bookmark via autocomplete suggestions the bookmarklets are executed, otherwise everything is looking good


fix: cfn validate schema warnings

readOnlyProperties cannot be specified by customers and should not overlap with writeOnlyProperties, createOnlyProperties, or required: {'/properties/ResourceId'}
Don't hardcode the aws partition in ARN patterns: ^arn:aws:securityhub:[A-Za-z0-9-]{1,64}:[0-9]{12}:action/custom/.+$

arn:aws: ARN partition still hardcoded in handlers.ts code:
https://github.com/search?q=repo:org-formation/aws-resource-providers+arn:aws:+language:TypeScript


Fix services env vars

postgres doesnt start due to missing env vars - others might also

yep, mariadb


The ordinal 345 could not be located in the dynamic link library

VSCode Version: 1.38.0
OS Version: Windows 10 18362.295

Steps to Reproduce:

Install VSCode
Try to run

Does this issue occur when all extensions are disabled?: Yes
A few days ago this error appeared (and it still appears to this day) when I've tried to run vscode:

(Translation: The ordinal 345 could not be located in the dynamic link library [path to vscode executable])
After trying to run vscode a few times, I've managed to get past mentioned error message, and then another error occurred, this time about window crash:

Log from running with --verbose option:
[main 2019-09-08T21:54:51.972Z] Starting VS Code
[main 2019-09-08T21:54:51.973Z] from: c:\Users\insertt\AppData\Local\Programs\Microsoft VS Code\resources\app
[main 2019-09-08T21:54:51.973Z] args: { _: [],
  diff: false,
  add: false,
  goto: false,
  'new-window': false,
  'reuse-window': false,
  wait: false,
  version: false,
  help: false,
  telemetry: false,
  'list-extensions': false,
  'show-versions': false,
  verbose: true,
  status: false,
  'prof-startup': false,
  'disable-extensions': true,
  disableExtensions: false,
  'disable-gpu': false,
  'extension-development-confirm-save': false,
  logExtensionHostCommunication: false,
  'skip-getting-started': false,
  'skip-release-notes': false,
  'sticky-quickopen': false,
  'disable-restore-windows': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-crash-reporter': false,
  'skip-add-to-recently-opened': false,
  'unity-launch': false,
  'open-url': false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false,
  force: false,
  nolazy: false }
[main 2019-09-08T21:54:51.975Z] Resolving machine identifier...
[main 2019-09-08T21:54:51.975Z] Resolved machine identifier: 5375e72aa437cc90b3f106407f86c4269d18ec805a1ec2202ae494c1cb3bc704 (trueMachineId: undefined)
[main 2019-09-08T21:54:51.990Z] update#setState idle
[main 2019-09-08T21:54:51.991Z] [storage state.vscdb] open(c:\Users\insertt\AppData\Roaming\Code\User\globalStorage\state.vscdb, retryOnBusy: true)
[main 2019-09-08T21:54:51.992Z] lifecycle (main): phase changed (value: 2)
[main 2019-09-08T21:54:51.992Z] windowsManager#open
[main 2019-09-08T21:54:52.068Z] lifecycle (main): phase changed (value: 3)
[main 2019-09-08T21:54:52.069Z] telemetry/optInStatus { optIn: true }
[main 2019-09-08T21:54:52.071Z] telemetry/update:win32SetupTarget { target: 'user' }
[main 2019-09-08T21:54:52.072Z] telemetry/machineIdFallback { usingFallbackGuid: false }
[main 2019-09-08T21:54:52.274Z] [storage state.vscdb] Trace (event): PRAGMA user_version = 1;
[main 2019-09-08T21:54:52.279Z] [storage state.vscdb] Trace (event): CREATE TABLE IF NOT EXISTS ItemTable (key TEXT UNIQUE ON CONFLICT REPLACE, value BLOB)
[main 2019-09-08T21:54:52.280Z] [storage state.vscdb] Trace (event): SELECT * FROM ItemTable
[main 2019-09-08T21:54:52.281Z] [storage state.vscdb] getItems(): 35 rows
[main 2019-09-08T21:54:52.382Z] [storage state.vscdb] updateItems(): insert(Map(2) {telemetry.lastSessionDate => Sun, 08 Sep 2019 21:54:22 GMT, telemetry.currentSessionDate => Sun, 08 Sep 2019 21:54:52 GMT}), delete(Set(0) {})
[main 2019-09-08T21:54:52.383Z] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[main 2019-09-08T21:54:52.384Z] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('telemetry.lastSessionDate','Sun, 08 Sep 2019 21:54:22 GMT'),('telemetry.currentSessionDate','Sun, 08 Sep 2019 21:54:52 GMT')
[main 2019-09-08T21:54:52.386Z] [storage state.vscdb] Trace (event): END TRANSACTION
[main 2019-09-08T21:54:52.936Z] [VS Code]: render process crashed!
[main 2019-09-08T21:54:52.938Z] telemetry/windowerror { type: 2 }
[main 2019-09-08T21:54:55.075Z] getShellEnvironment: running on Windows, skipping

I've tried to run Insiders 1.39.0, tried reinstalling VSCode multiple times or installing older versions, but nothing helped out.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Yes, it's reproducible on nightly insiders build:

PS C:\Users\insertt\Desktop\Microsoft VS Code Insiders> & '.\Code - Insiders.exe' --verbose
 [main 2019-09-10T15:34:19.456Z] Starting VS Code
[main 2019-09-10T15:34:19.458Z] from: c:\Users\insertt\Desktop\Microsoft VS Code Insiders\resources\app
[main 2019-09-10T15:34:19.460Z] args: { _: [], verbose: true, diff: undefined }
[main 2019-09-10T15:34:19.466Z] Resolving machine identifier...
[main 2019-09-10T15:34:21.522Z] Resolved machine identifier: 827f6f8f16b34636a3eb5e772b89afc4dd4444bcf384625a358b6f5627d64766 (trueMachineId: undefined)
[main 2019-09-10T15:34:21.544Z] update#setState idle
[main 2019-09-10T15:34:21.552Z] [storage state.vscdb] open(c:\Users\insertt\AppData\Roaming\Code - Insiders\User\globalStorage\state.vscdb, retryOnBusy: true)
[main 2019-09-10T15:34:21.554Z] lifecycle (main): phase changed (value: 2)
[main 2019-09-10T15:34:21.559Z] windowsManager#open
[main 2019-09-10T15:34:21.697Z] lifecycle (main): phase changed (value: 3)
[main 2019-09-10T15:34:21.701Z] telemetry/optInStatus { optIn: true }
[main 2019-09-10T15:34:21.703Z] telemetry/update:win32SetupTarget { target: 'user' }
[main 2019-09-10T15:34:21.705Z] telemetry/machineIdFallback { usingFallbackGuid: false }
[main 2019-09-10T15:34:21.895Z] [storage state.vscdb] Trace (event): SELECT * FROM ItemTable
[main 2019-09-10T15:34:21.895Z] [storage state.vscdb] getItems(): 0 rows
[main 2019-09-10T15:34:22.006Z] [storage state.vscdb] updateItems(): insert(Map(3) {telemetry.instanceId => 645065b3-2976-4d10-9f46-a44efb2f3a05, telemetry.firstSessionDate => Tue, 10 Sep 2019 15:34:21 GMT, telemetry.currentSessionDate => Tue, 10 Sep 2019 15:34:21 GMT}), delete(Set(0) {})
[main 2019-09-10T15:34:22.010Z] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[main 2019-09-10T15:34:22.011Z] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('telemetry.instanceId','645065b3-2976-4d10-9f46-a44efb2f3a05'),('telemetry.firstSessionDate','Tue, 10 Sep 2019 15:34:21 GMT'),('telemetry.currentSessionDate','Tue, 10 Sep 2019 15:34:21 GMT')
[main 2019-09-10T15:34:22.014Z] [storage state.vscdb] Trace (event): END TRANSACTION
[main 2019-09-10T15:34:23.499Z] [VS Code]: render process crashed!
[main 2019-09-10T15:34:23.507Z] telemetry/windowerror { type: 2 }
[main 2019-09-10T15:34:24.707Z] getShellEnvironment: running on Windows, skipping
[main 2019-09-10T15:34:51.547Z] update#checkForUpdates, state =  idle
[main 2019-09-10T15:34:51.548Z] update#setState checking for updates
[main 2019-09-10T15:34:51.553Z] RequestService#request https://update.code.visualstudio.com/api/update/win32-x64-user/insider/55825e9ad2aa4b4b3f8b2290a54a517bc454a7a5
[main 2019-09-10T15:34:51.957Z] update#setState idle
[main 2019-09-10T15:34:51.958Z] telemetry/update:notAvailable { explicit: false }
[main 2019-09-10T15:35:04.084Z] Lifecycle#window.on('closed') - window ID 1
[main 2019-09-10T15:35:04.084Z] Lifecycle#onWillShutdown.fire()
[main 2019-09-10T15:35:04.123Z] Lifecycle#app.on(window-all-closed)
[main 2019-09-10T15:35:04.124Z] Lifecycle#app.on(before-quit)
[main 2019-09-10T15:35:04.131Z] Lifecycle#onBeforeShutdown.fire()
[main 2019-09-10T15:35:04.145Z] Lifecycle#app.on(will-quit)
[main 2019-09-10T15:35:04.149Z] [storage state.vscdb] close()

It's worth mentioning that sometimes when I'm trying to run vscode from terminal, the system response is access denied:


Inline exercises for notebooks 1, 2, 3, and 4

Work in progress but opening for pulling in.

@darribas sorry, didn't have time to look at this again. Do we still include it in the material for tomorrow?

Just so people can access them, can we merge this so the exercises don't get lost on my fork?


[BugFix]Backport pr 30385 to branch 3.1

Why I'm doing:
What I'm doing:
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.23 out of 25 committers have signed the CLA.:white_check_mark: luohaha:white_check_mark: Astralidea:white_check_mark: LiShuMing:white_check_mark: evelynzhaojie:white_check_mark: EsoragotoSpirit:white_check_mark: smartlxh:white_check_mark: abc982627271:white_check_mark: amber-create:white_check_mark: xiangguangyxg:white_check_mark: sduzh:white_check_mark: liuyehcf:white_check_mark: ucasfl:white_check_mark: DanRoscigno:white_check_mark: decster:white_check_mark: Seaven:white_check_mark: hellolilyliuyi:white_check_mark: trueeyu:white_check_mark: Smith-Cruise:white_check_mark: kevincai:white_check_mark: MaxWk:white_check_mark: packy92:white_check_mark: letian-jiang:white_check_mark: mofeiatwork:x: mergify[bot]:x: zenoyangYou have signed the CLA already but the status is still pending? Let us recheck it.

@Mergify rebase

ref https://github.com/StarRocks/starrocks/pull/30385


[explorer] Displays Transaction Timestamps

Implements the frontend component of issue https://github.com/MystenLabs/sui/issues/1696.
This means timestamps in the following (all snapshots using live data).
Home Page

Object Results Page

Address Results Page

Transaction Results Page

The PR is ready for a second review:

The labels in all the above screenshots now read as 'Time'.
Time fields will no longer be displayed if there is no timestamp data.

@Andrew47 is there the option to show either the minute hour/s or days to account for instances where we will not display the entire time layout.

@Jibz1 - yes

I've rebased this a second time on main and resolved the conflicts. This will need an approval from @stella3d before it can be merged onto main


Wrong link

In the second paragraph,
In the sentence

To get the resource dictionaries for the desktop themes, see Default WPF Themes.

The link points to a page that has nothing to do with xaml themes.

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: 60c5ae30-77fe-da6e-a320-17a4e734f0cd
Version Independent ID: ba7cff33-a2c3-ae78-c1c6-ad0839c03ad4
Content: Styles et modèles Control - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/controls/control-styles-and-templates.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

Someone who works at Microsoft doesn't know where their own source code is?

On my computer, they are here:  C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\DesignTools\SystemThemes\Wpf

@ArrowRaider THANKS! I'll change that paragraph to be clearer. I bet those were uploaded somewhere at some point and then lost.


model.predict fails when running segmentation model on numpy images

import cv2

version = rf.workspace("model-examples").project("car-parts-instance-segmentation").version(3)
dataset = version.download("yolov8")
seg_model = version.model

first_image_path = os.listdir(f"{dataset.location}/train/images")[0]
first_image_path = f"{dataset.location}/train/images/{first_image_path}"
seg_image = cv2.imread(first_image_path)
assert seg_image is not None

# Path
result = seg_model.predict(first_image_path).json()
detections = sv.Detections.from_inference(result)
assert len(detections) > 0
# Succeeds

# Np img
result = seg_model.predict(seg_image).json()
detections = sv.Detections.from_inference(result)
assert len(detections) > 0
# Fails!

# Empty np img
result = seg_model.predict(black_image).json()
detections = sv.Detections.from_inference(result)
assert len(detections) == 0
# Fails!

Hi @LinasKo, I would like to contribute to this. Can you assign it to me?


Fix loading site page is slow

https://github.com/aqualinkorg/aqualink-app/issues/703
Splits liveData from Site, allowing components that don't need the the result of the time demanding liveData request to render.

this commit will also resolve https://github.com/aqualinkorg/aqualink-app/issues/709


Add COUNT(*) in DDL of CloudDataWarehouseBenchmark/TPC-H

Issue #, if available:
Fix #626
Description of changes:
Added count(*) to ddl.sql of TPC-H.
Summary of row counts:

table
10GB
3TB
30TB

customer
1500000
450000000
4500000000

lineitem
59986052
18000048306
179999978268

nation
25
25
25

orders
15000000
4500000000
45000000000

part
2000000
600000000
6000000000

partsupp
8000000
2400000000
24000000000

region
5
5
5

supplier
100000
30000000
300000000

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @Brandon-Schur @saeedma8,
Mentioning recent reviewers to bubble up this PR. Can we get this merged?
Let me know if there's anything to consider.


Issue finding template on Linux

Which Umbraco.Community.BlockPreview version are you using?
1.10.5
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
13.5.2
Bug summary
Our templates use pascal case for template filenames (e.g. "VideoBlock.cshtml") which works well when Umbraco is hosted on Windows, however on Linux we've see an issue with finding the template likely due to trying to find the template using the alias without pascal casing. Looking at the code within this repository I can see the two different cases ("videoBlock.cshtml" & "VideoBlock.cshtml") are being checked, however I think the problem is instead of IRazorViewEngine returning a ViewEngineResult with Success as false, an exception is being thrown, stack trace shown below.
System.IO.FileNotFoundException: Could not find file '/Release/Views/Partials/blockgrid/Components/videoBlock.cshtml'.
File name: '/Release/Views/Partials/blockgrid/Components/videoBlock.cshtml'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFileInfo.CreateReadStream()
   at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.FileProviderRazorProjectItem.Read()
   at Microsoft.AspNetCore.Razor.Language.RazorSourceDocument.ReadFrom(RazorProjectItem projectItem)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectEngine.CreateCodeDocumentCore(RazorProjectItem projectItem, Action`1 configureParser, Action`1 configureCodeGeneration)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectEngine.CreateCodeDocumentCore(RazorProjectItem projectItem)
   at Microsoft.AspNetCore.Razor.Language.RazorProjectEngine.Process(RazorProjectItem projectItem)
   at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath)
   at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath)
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromPath(String executingFilePath, String pagePath, Boolean isMainPage)
   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.GetView(String executingFilePath, String viewPath, Boolean isMainPage)
   at Umbraco.Community.BlockPreview.Services.BlockPreviewService.GetViewResult(String contentAlias, BlockType blockType)
   at Umbraco.Community.BlockPreview.Services.BlockPreviewService.GetMarkupFromPartial(ControllerContext controllerContext, ViewDataDictionary viewData, String contentAlias, BlockType blockType)
   at Umbraco.Community.BlockPreview.Services.BlockPreviewService.GetMarkup(ControllerContext controllerContext, String contentAlias, ViewDataDictionary viewData, BlockType blockType)
   at Umbraco.Community.BlockPreview.Services.BlockPreviewService.RenderGridBlock(BlockValue blockData, ControllerContext controllerContext, String blockEditorAlias, Guid documentTypeUnique, String contentUdi, String settingsUdi)
   at Umbraco.Community.BlockPreview.Controllers.BlockPreviewApiController.PreviewGridBlock(BlockValue blockData, Guid nodeKey, String blockEditorAlias, String contentElementAlias, String culture, Guid documentTypeKey, String contentUdi, String settingsUdi)

Steps to reproduce

Change view template filenames to use pascal casing
View block grid editor within Backoffice within a Linux environment
See error suggesting the view template can't be found

Expected result / actual result
Block grid editor would find the template and render a preview.

Thanks for raising @peterkeating! I've already started to work on this, and a fix is coming soon.


Add FileAlg.readResource

So that #1298 does not need to wait for #1309. /cc @kubukoz

Nice, thanks!


Fix shield absorbing asphyxiation damage

fixes #25966

About the PR

The shield will now only reduce damage itself can absorb.
Why / Balance

A shield should probably not oxygenate your blood supply.
Technical details

Instead of just multiplying the damage of the user, we now create a damagemodiferset with all the damages that the shield can take. For that we use the shield's damageable component. This does mean that shields that cannot take damage will no longer absorb damage.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

fix: Shields will no longer absorb asphyxiation damage, or any other damage they themselves can't take.

I should note, the shield can still do funny stuff like block barotrauma damage but I have no idea how to fix that as there is no way to distinguish barotrauma damage from normal damage.

I should note, the shield can still do funny stuff like block barotrauma damage but I have no idea how to fix that as there is no way to distinguish barotrauma damage from normal damage.

There's an arg on whether to apply modifiers though I think baro needs blocking by suits. Ideally it would just use some kind of event sub.


feat(core): upgrade to Nx 13

Description
PR Checklist

[ ] Migrations have been added if necessary
[ ] Unit tests have been added or updated if necessary
[ ] e2e tests have been added or updated if necessary
[ ] Changelog has been updated if necessary
[ ] Documentation has been updated if necessary

Issue
Resolves #

@devinshoemaker , I created a PR for this branch and main for a small fix in the ionic-angular generator dependencies.
nx13-v2
https://github.com/nxtend-team/nxtend/pull/586
main
https://github.com/nxtend-team/nxtend/pull/586


Udeler shows only 2 courses when starting the application on the second time

This is what happens:

I start the app, login and download courses as expected.
I  close the app.
I open the app again but it shows only 2 courses.
I log out and log in again and it works.

Thanks for reporting. I just checked and I see that for me it doesn't show all the courses on starting the second time. I recently updated some dependencies, so could be because of that.
I will fix this soon.


Owner API will stop working as vehicles begin requiring end-to-end command authentication in 2024

https://github.com/teslamotors/vehicle-command

Will most existing apps get approved?

A documented and supported API from Tesla, this is fantastic news!

I understand that pre-2021 S and X cars will not be compatible with this
new API but will still be with current one.
This should be considered for applications...
Le mer. 11 oct. 2023 à 11:52, Mark Purcell @.***> a
écrit :

A documented and supported API from Tesla, this is fantastic news!
—
Reply to this email directly, view it on GitHub
https://github.com/timdorr/tesla-api/issues/763#issuecomment-1757293605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUNWNJPQCU3YD5FJICCZV3X6ZT4ZANCNFSM6AAAAAA53R3RGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I understand that pre-2021 S and X cars will not be compatible with this new API but will still be with current one.

Hi @GaPhi can you point to where you found this info?

https://developer.tesla.com/
https://developer.tesla.com/docs/fleet-api
I think we're done here! This will very likely mean the end of this project and usage of the API outside of sanctioned projects. I guess we'll stay tuned as they publish more things.

I think we're done here!

end of an era!

I understand that pre-2021 S and X cars will not be compatible with this new API but will still be with current one.

Hi @GaPhi can you point to where you found this info?

It’s a quote from the last section on the github page
https://github.com/teslamotors/vehicle-command
I truly hope it’s a misunderstanding because then there will be two APIs and unless the new one has tantalisingly new functionality, the old/current one will continue to be used to widen the audience

I understand that pre-2021 S and X cars will not be compatible with this new API but will still be with current one.

I wonder where an older car with the MCU2 upgrade fits into this. Ie is it the MCU version that determines compatibility or other factors?

Thanks, must've missed it.

I truly hope it’s a misunderstanding because then there will be two APIs and unless the new one has tantalisingly new functionality

Unfortunately, it's prob not. Pre-refresh Model S & X don't support VCSEC (eg: no BLE compatibility) and BLE  is integrated into a significant portion of the new vehicle-command protocol.
So this:

I wonder where an older car with the MCU2 upgrade fits into this. Ie is it the MCU version that determines compatibility or other factors?

will prob have no effect :/

the old/current one will continue to be used to widen the audience

This prob won't be so bad with the new tesla-http-proxy, but if you skip the proxy entirely and adopt the new vehicle-commands protocol natively then yeah that will be a huge pain.
Hopefully @teslamotors chooses to reverse this decision and support older Model S & X vehicles in vehicle-command

I think we're done here! This will very likely mean the end of this project and usage of the API outside of sanctioned projects. I guess we'll stay tuned as they publish more things.

@timdorr I would like to thank you for all the work you have done bringing the unofficial API to the masses, I know I utilise it's befits every day.
I would also like to think that your work here has helped Tesla bring forward a documented and supported API as they have been able to see the befits of a third party eco system.

It only took 10 years! (e9a161aef8d1a0b1f328f82e32f5951539fef63d)

It only took 10 years! (e9a161a)

It can take a long time to become an overnight success.

Will most existing apps get approved?

I just applied and was immediately rejected. No reason was given.

I just applied and was immediately rejected. No reason was given.

That's interesting. I applied and was immediately approved. I didn't select all of the scopes, and I filled out all of the details as a "company".

That's interesting. I applied and was immediately approved. I didn't select all of the scopes, and I filled out all of the details as a "company".

What did you use for your OAuth provider?

What did you use for your OAuth provider?

I have a personal web server that I run a bunch of home/life automations on. I do OAuth through that.

What did you use for your OAuth provider?

I have a personal web server that I run a bunch of home/life automations on. I do OAuth through that.

Do you know if it's possible to get a list of referrals through their API?

Thanks @timdorr and everyone who contributed to the API docs + ruby code over the last decade!!

Perhaps this repo can become a Ruby client only for new API endpoints; new requirements like /vehicle_data?endpoints=location_data;charge_state

Looks like the EV.energy folks have something working already.
https://twitter.com/teslaownersSV/status/1724102225579188453?t=Qd7mDeInbR3poLKTL7zHxw&s=19

Looks like teslafi can be used as a (paid) proxy. Could this be an option for this project to keep living?

I am extremely confused. So is this website being deprecated? https://developer.tesla.com/docs/fleet-api/getting-started/what-is-fleet-api. Is this old?


feat(lutra): pull database schema into source

feat: pull schema
feat: editing

Awesome — this could be quite exciting!


Initial checkin

This PR:

Initial checkin:

✅  config.yaml driven map of FHIR resource to PFB node,
✅  Parse FHIR resources, retrieve and cache FHIR profile (schema) elements,
✅   Recursively match with FHIR profiles (schemas)
✅   Flatten for export
✅  write to PFB
✅  test cases for protected/ resources - ResearchSubject, Patient, Specimen, Task, DocumentReference
✅  networkx based visualization
✅  pfb cli
✅  demo with public data
✅  update README with Terra import examples
✅  update to new release of pypfb 0.5.18
[ ] 🚧  check with kids first to see if we can include a demo of their data
[ ] 🚧 pypi

To test:

clone this branch

setup  🏗

env: 💾

python3 -m venv venv
pip install -r requirements.txt
pip install -r requirements-dev.txt ;

package: 📦

install this package pip install -e .

demo
$ pfb_fhir demo --help
Usage: pfb_fhir demo [OPTIONS] COMMAND [ARGS]...

  Download Test data and create example PFB and figure.

Options:
  --demo_path TEXT  Path to download demo fixtures. Read from
                    PFB_FHIR_DEMO_PATH [default:./DEMO]

  --show            Print script to stdout  [default: False]
  --dry_run         Don't execute the script.  [default: False]
  --help            Show this message and exit.

Commands:
  anvil    Read 1000G data from AnVIL.
  dbgap    Read open access data from dbGAP's FHIR service.
  ncpi     Read examples from ncpi ImplementationGuide.
  synthea  Read synthetic clinical data created by synthea.

ncpi
 pfb_fhir demo ncpi

dbgap
 pfb_fhir demo dbgap

anvil
 pfb_fhir demo anvil

synthea
 pfb_fhir demo synthea

Maybe break the script into smaller steps so it's easier to determine which step failed

Done

Verified resulting schema by loading into gen3 dictionary.


ViewPropTypes: Enable strict-local, strengthen types

Part of #22100
This pull request enables strict-local on ViewPropTypes, and fills out all of the ambiguous Object and Function types.
InspectorOverlay had some flow errors due to ambiguously typed callbacks that are fixed in this pull now, too.
Test Plan:
yarn flow-check-ios and yarn flow-check-android have both been ran against this PR.
Changelog:
[General] [Fixed] - Strengthened ambiguous types in ViewPropTypes

Hi @empyrical, I plan to combine those entries in the changelog to a single entry, so the changelog section in this PR is n/a.


Context-specific add bar

Closes https://github.com/aredotna/case/issues/354
TODO:

[x] Toggle visibility on feed
[x] Toggle visibility on profile
[ ] Update icon assets

This is good enough to try out now. I'll address the icons in a separate PR


darwin build

This is yet another mac build PR.  darwin support of containerd is still underway, but would like to ask your opnions.
There are several notes on the current status:

On amd64 darwin, this patch can do nerdctl run with --net=none option; with --net options, it won't work.  On arm64/darwin, nerdctl itself works, but there is no available runtime.
go.mod tentatively put a commit hash which is not the upstreamed contaienrd; I will update this PR to non-draft one once https://github.com/containerd/containerd/pull/5935 is finalized.
cross build for darwin requires osxcross (https://github.com/tpoechtrager/osxcross) because dependent package (i.e., moby/sys) needs CGO_ENABLED.

This might be a duplicate of https://github.com/containerd/nerdctl/pull/645

This has to be marked as an experimental feature in docs/experimental.md.
We also need a well written document, perhaps in docs/darwin.md, or docs/lkl.md.
Differences from lima nerdctl should be explained in the docs, too.

This has to be marked as an experimental feature in docs/experimental.md.
We also need a well written document, perhaps in docs/darwin.md, or docs/lkl.md.
Differences from lima nerdctl should be explained in the docs, too.

okay.  I'll also prepare documents to address the above concerns.

@thehajime curious if this is still something people want to pursue.

It is still nice to support Darwin hosts, especially for Wasm and VM runtimes

See #3763 for a new attempt.


Test-2: Tests for PR # 175

Signed-off-by: Shishir Mahajan<EMAIL_ADDRESS>

After discussion with @rhvgoyal :
This is a WIP PR and we don't need to review it right now.
This TEST tests DOCKER_ROOT_VOLUME to be created and bind mounted on a custom graph location (/tmp/docker). It test this with all 4 possible options {--graph, -g, --graph=, -g=} by setting these options in /etc/sysconfig/docker.
This TEST runs successfully on my local system. However it might fail on CI, as it is dependent on this PR #177 . Once that is merged upstream, I would rebase this PR.
Shishir


RDS RadioText string should scroll during playback

I need to look into what's possible here.  The RDS RadioText string will scroll in the "RDS" dialog if it's longer than the UI allows for, but the request is to have it do that during normal playback.
The RDS implementation in Kodi appears to have been somewhat abandoned as of Kodi 18 "Leia", but it may be possible to keep two copies of the RadioText string in the PVR addon and make it scroll by manipulating the character order and sending Kodi new RadioText packets more frequently.  I think this would have a bad side-effect with the "RDS" dialog, but will have to see.
This one feels like a PR for Kodi rather than an addon change.

You should open an issue/PR for Kodi for that.

Scrolling the text by manipulating it in the addon would break support for RadioText+ so it fundamentally shouldn't/can't be done.  RadioText+ sends the character position and length of data elements in the RadioText, they are tied together.  I don't think the vision for RDS in Kodi was to have this scroll, but if the user raises the concern again I'll look from the Kodi perspective.


Use alternative logging method that doesn't kill the server

The previous behaviour of Puma when @launcher.events.error is used is to
kill the server. However, doesn't seem like a Plugin should be able to
do that.
https://github.com/puma/puma/blame/master/lib/puma/events.rb#L83
Fix for #34

thanks!


All cells update at once / generational automaton?

With the current implementation of Cellpond, it is impossible to create a generational cellular automaton like the game of life due to cell updates being asyncronous. Would it be possible to implement generations and create an option for it like there is an option for edgeless mode with - and =? I understand if this is unfeasible due to the current implementation of a recursive grid, as well as the circle and hexagon tools which add random chance to the mix.

hey yes it would be possible to add a mode like this! that would be nice
(sidenote: it is technically possible, as cellpond is turing complete. but it's feasibly very very very very very hard)


web-dist目录打包生成

请问按照描述方法构建了环境打包生成后的dist,css样式一点没有这是什么问题??????

i guess @moyan0531  you dist production is not made in right environment .. most of env are linux only and mostly could you dont produce in right way.. you must compile it with grunt
also you must write in english to property undertand you


Query with large WHERE clause causes timeout exception

I have a query that looks something like this:
private static IQueryable<MultiframeModule> WhereAllFramesProperties(this IQueryable<MultiframeModule> query, ICollection<Frame> frames)
{
    return frames.Aggregate(query, (q, frame) =>
    {
        return q.Where(p => p.Frames.Any(i => i.FrameData.ShaHash == frame.FrameData.ShaHash));
    });
}

MultiframeModule and Frame have an many-to-many relation.
With that query I want to find a MultiframeModule that contains all frames inside the frames collection I sent as a parameter, for that I check the ShaHash parameter.
If frames contains 2 frames, then the generated SQL would be something like that:
SELECT
   "Extent1"."MultiframeModuleId",
   "Extent1"."FrameIncrementPointer",
   "Extent1"."PageNumberVector"
FROM
   "public"."MultiframeModule" AS "Extent1"
WHERE
   EXISTS
   (
      SELECT
         1 AS "C1"
      FROM
         "public"."Frame" AS "Extent2"
         INNER JOIN
            "public"."FrameData" AS "Extent3"
            ON "Extent2"."FrameData_FrameDataId" = "Extent3"."FrameDataId"
      WHERE
         "Extent1"."MultiframeModuleId" = "Extent2"."MultiframeModule_MultiframeModuleId"
         AND "Extent3"."ShaHash" = @p__linq__0
   )
   AND EXISTS
   (
      SELECT
         1 AS "C1"
      FROM
         "public"."Frame" AS "Extent4"
         INNER JOIN
            "public"."FrameData" AS "Extent5"
            ON "Extent4"."FrameData_FrameDataId" = "Extent5"."FrameDataId"
      WHERE
         "Extent1"."MultiframeModuleId" = "Extent4"."MultiframeModule_MultiframeModuleId"
         AND "Extent5"."ShaHash" = @p__linq__1
   )
   LIMIT 2

-- p__linq__0: '0' (Type = Int32, IsNullable = false)

-- p__linq__1: '0' (Type = Int32, IsNullable = false)

But, if I have more frames, say 200 for example, then the call would throw an exception:
Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

With stacktrace:
   at Npgsql.ReadBuffer.<Ensure>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<DoReadMessage>d__157.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
   at Npgsql.NpgsqlConnector.<ReadMessage>d__156.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
   at Npgsql.NpgsqlConnector.<ReadExpecting>d__163`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
   at Npgsql.NpgsqlDataReader.<NextResult>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<Execute>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__92.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
   at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)

So, is there some obvious reason why my query is failing? And how can I improve it to be able to do the query successfully?

This issue was moved to aspnet/EntityFramework6#525


Broken apply link in job details page

Describe the bug
The job details page contains a broken apply link
To Reproduce
Steps to reproduce the behavior:

visit https://bsky.social/about/join/backend-developer
Click on Apply to Bluesky

Expected behavior
Should take me here
Screenshots

Looks like it was fixed.


Routing: prevent non unique feature ids

fixes #2160

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 99.552%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
11610

Relevant Lines:
11614

💛  - Coveralls


TOSCA parse errors in asterisk example

In the past I have been in the habit of copying the example TOSCA templates to turandot/assets/tosca
and then using puccini-tosca to parse them before building a csar.
This still works for most examples but fails for those TOSCA nodes which are derived from k8s:Resource
As a test I included elements in the TOSCA template which are derived from the static elements of
assets/tosca/profiles/kubernetes/1.0/ and this parsed OK so the problem seem to be with the dynamic build of the kubernetes TOSCA profile. However running assets/tosca/profiles/kubernetes/1.0/js/resources/get.js using node produces no errors.
puccini-tosca version version=v0.18.0 revision=e405b66cb91871c88b0f6b6089f692aa82995c29 timestamp=2021-04-21 13:11:54 CDT arch=amd64 os=linux compiler=gc
turandot version version=v0.5.0 revision=8f1173563de1a0299bb5f36f46367449a101eaf5 timestamp=2021-04-21 13:26:18 CDT arch=amd64 os=linux compiler=gc
The error message is :
~/turandot/assets/tosca$ puccini-tosca parse asterisk-vnf.yaml  PROBLEMS (8)   file:/home/<>/turandot/assets/tosca/asterisk-vnf.yaml     @104,13 topology_template.node_templates["asterisk"].capabilities["tcp"].attributes["ingress"]: undeclared attribute     @101,13 topology_template.node_templates["asterisk"].capabilities["tcp"].properties["ports"]: undeclared property     @119,13 topology_template.node_templates["asterisk"].capabilities["udp"].attributes["ingress"]: undeclared attribute     @108,13 topology_template.node_templates["asterisk"].capabilities["udp"].properties["ports"]: undeclared property     @63,13 topology_template.node_templates["asterisk"].capabilities["virtual-machine"].properties["metadataNamePostfix"]: undeclared property     @213,7 topology_template.substitution_mappings.capabilities["connection"]: unknown capability reference in node type "PBX": connection   file:/home/jordanpm/turandot/assets/tosca/profiles/kubevirt/1.0/capabilities.yaml     @17,5 capability_types["VirtualMachine"].derived_from: reference to unknown capability type: k8s:Resource   file:/home/jordanpm/turandot/assets/tosca/profiles/mariadb/capabilities.yaml     @11,5 capability_types["Connectable"].derived_from: reference to unknown capability type: k8s:Resource

Thanks! The main branch right now is a bit of a mess. I am in the midst of transforming how K8s profiles are created. I suggest for now reverting to an older tag or commit... I hope to resolve all of this by the end of the week.


fix: logIgnored settings

Fixes #15
This PR fixes the condition for logging events for ignored hostnames.

Thank you so much for this 💜
Indeed, I clearly inverse the logic during the rewrite! 😑


Pipelines cause Z-fighting

Currently pipeline expressions are causing some problem. You can see here that the two programs under tests/ are equivalent, just one uses pipelines and one always assigns to a new sketchgroup. However, the pipeline produces weird visual bugs.
closes https://github.com/KittyCAD/modeling-app/issues/1959
Closes https://github.com/KittyCAD/engine/issues/1941#issuecomment-2027907459

@jessfraz I get a pretty different set of API requests from running the two programs (one that uses the |> syntactic sugar, one that desugars into assignments)
desugar.txt
sugar.txt

Found and fixed the bug. My new execute_pipe_body was calling the first child expression twice. It should have read the second and following expressions from the body_iter but it actually read from body, so it read the first expression again.

I read this as Vulkan pipelines and my head exploded.  Lol.


[GSSoC'23] Styling & Improving Js-Projects - Digital Clock

Describe the Feature you want to add

Improve the overall styling (CSS) of the digital clock project and make it responsive

Expected behavior

The clock will be more visually appealing and be responsive for all screens

Screenshots (optional)

Additional context

I would like to work on this issue, please assign this to me

hi , i am ready to solve this issue
I will update its UI and make it responsive , kindly assign this to me under GSSOC'23


add-google-cloud-ops-agent-repo.sh pushes key to deprecated apt-key trusted.gpg keystore

add-google-cloud-ops-agent-repo.sh as currently delivered invokes apt-key add - to store the gpg key for package signing, which stores the key to /etc/apt/trusted.gpg, a deprecated procedure.
Newly on Ubuntu 22.04, the presence of this signing key in this location throws a deprecation Warning during apt-get update. This is a risk to the automated orchestration of updates. (apt-get update && apt-get dist-upgrade -y that we sometimes emplace, for example, is blocked by it as the first command appears to the shell to not exit 0.)
I produced the following diff of the change that relocates the signing key to its own file /etc/apt/trusted.gpg.d/google-cloud-ops-agent.gpg:
224c224
<         | ${DRY_RUN} apt-key add -
---
>         > /etc/apt/trusted.gpg.d/google-cloud-ops-agent.gpg

I do not locate the add-google-cloud-ops-agent-repo.sh file in this repository, though, so have not formed a PR.
Please consider updating the install scripting accordingly. Thanks.

Hi @sbconslt, we have been tracking this internally and are working on it.

Hi @braydonk , is there any update on when we might expect to see progress on this feature?

I was thinking I would take this one.  can you assign to cjac, plz?

Can I get this issue assigned to me plz

@jefferbrecht - can you get this assigned to me?  I've been doing a lot of work on the migration off of apt-key and know how this goes.

@sbconslt - what do you think of this?
https://github.com/GoogleCloudDataproc/initialization-actions/blob/169e98e424d87833e10b7761130f08bfde4b4815/gpu/install_gpu_driver.sh#L1193
I've got an example of the correct way to create a repo, too...
https://github.com/LLC-Technologies-Collier/initialization-actions/blob/ac85cddd631aca8548e5d1204ed0fe4b338f0b91/templates/gpu/util_functions#L616
Does one of these approaches seem to be a good solution to you?

oh, I'll just create a PR

now that I grep the code for 'apt-key' I am finding none.  Is this one already solved?

My patch was as you see in the original comment, just to send the key to /etc/apt/trusted.gpg.d/. The current shipping add-google-cloud-ops-agent-repo.sh still calls apt-key.

it looks like the source in the repo is using gpg --dearmor:
cjac@cjac:~/src/github/c9h/ops-agent$ grep -rsi 'dearmor' .
./integration_test/third_party_apps_test/applications/rabbitmq/debian_ubuntu/install:    sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/rabbitmq.gpg
./integration_test/third_party_apps_test/applications/rabbitmq/debian_ubuntu/install:    sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/rabbitmq-hostname.gpg
./integration_test/third_party_apps_test/applications/couchdb/debian_ubuntu/install:curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
./integration_test/third_party_apps_test/applications/vault/debian_ubuntu/install:  wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg >/dev/null
./integration_test/third_party_apps_test/applications/mongodb/debian_ubuntu/install:        --dearmor
./kokoro/scripts/test/go_test.Dockerfile:RUN wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg

I, like you, found that the add-google-could-ops-agent-repo.sh is not represented in repo here. The matches you have above are for other, unrelated repos.

is this the file you're speaking of?
https://github.com/GoogleCloudPlatform/getting-started-python/blob/main/gce/add-google-cloud-ops-agent-repo.sh

The current shipping version I'm pulling is https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh based on the documentation page https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/installation

okay, I've opened a bug against that public document to make sure we copy the new version of that script once my PR is merged.  Please ping me again if it falls by the wayside again.

That script is not the canonical version; I don't know why that is in that repo. The canonical version is stored privately (I believe this is for legacy technical reasons). Updating the script in that repo, as far as I know, will have no effect. I have no clue why it's there in the first place.
CJ, could you please make a CL to the canonical version of the script? I can send you a message and show you where that is.

Okay, I think the last change will be accepted without prejudice.  Will update the downstream GitHub repo nao

I do not yet find https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh to have been updated, fwiw.
I did see that the PR in the other repo was closed so presumably something was applied somewhere.

Yes, I know that it is not yet peer reviewed by code owner and has not reached that url.  Please stand by.

Take a look at this one.
https://github.com/LLC-Technologies-Collier/getting-started-python/blob/replace-apt-key-20241219/gce%2Fadd-google-cloud-ops-agent-repo.sh

The script won't be updated at the download link til after the holidays; we're restricted from doing releases of any kind until the new year.
We'll also have to verify that we are able to switch off of apt-key; we tried to make the switch over a year ago and were unable to because it broke customer environments due to conflicts with OSConfig Agent. We'll have to verify that is fixed before we can safely update the script. I hope they'll have fixed that by now, given they are on the same apt-key deprecation removal clock that everyone else is.


Migrate docs from terra-badge and terra-breakpoints to terra-core-docs

Summary

Just a simple migration, most notably decouples terra-badge from terra-icon.

Closes #
Deployment Link

https://terra-core-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Thank you for contributing to Terra.
@cerner/terra

Is https://github.com/cerner/terra-core/pull/3495 to migrate terra-badge still needed?

@mjhenkes Or should we keep this one as that one doesn't have this change? https://github.com/cerner/terra-core/pull/3498/files#diff-952c5ddfc5ed529d778384a2dfb685bfc43e5174b95fc5d5dcb0a914487194f5

@benbcai, good call. that is important.


Add support for node 18

Describe the bug
Add support for node 18 in all our services. and remove the ones we dont support eg. 12
Description
Cuurently most of the services give support only till node 16 but we should include it till node 18.
To Reproduce
Steps to reproduce the behavior:

Check the package.json files of specific services

Expected behavior
Node 18 should be supported.

Duplicate of https://github.com/sourcefuse/loopback4-microservice-catalog/issues/1359


Extension method to allow specification of pipeline stage for middleware

We are using bearer authentication with cookies for SignalR, and it's middleware moves itself earlier in the pipeline than the cookie saver middleware, so we would see the same issue with authentication for SignalR that we were (before cookie saver) on our authenticated ASP pages.
So, I required the ability to move the cookie saver middleware "above" SignalR in the pipeline. Pretty simple extension that I am using locally, but I thought I would contribute back since we have been getting great value from the 'saver'.

Thanks for the PR, I will merge and release shortly - just have a question, see the line comment.

I just released version 1.1.0 with this fix included to nuget. Thanks for contributing!


AUTH_TOKEN

Where can I find AUTH_TOKEN to start implementing RealMQ in my project? I didn't find it on realmq.com
const realmq = new RealMQ('<AUTH_TOKEN>');

@alexolliveira Sorry for this 1yr delay :open_mouth:
If you are still interested, please drop us an email to<EMAIL_ADDRESS>and we'll setup a demo account on our cloud platform.
Best, Alrik


"setup_max_pooling" can not find its function body if I doesn't set macro DLIB_USE_CUDA

"setup_max_pooling" can not find its function body if I doesn't set macro DLIB_USE_CUDA.
I always get error message "warning: unresolved symbol:_ZN4dlib3cpu7pooling17setup_max_poolingEiiiiii" when I try using dnn in program.

Are you following the instructions http://dlib.net/compile.html?

I can compile dlib successfully when I just use kmeans related functions in my program, but it will causes error if I use dnn related methods in my program. Any idea on this?
BTW: I am try compiling dlib into webassembly, and run it into browser.

You are not including dlib's .cpp files.  Follow the instructions on http://dlib.net/compile.html.  You are probably not including dlib/all/source.cpp.


New issue after update

After the service is removed from recent apps, the song pauses.
and when I click play again it randomly plays some song.
Also, cannot remove it from notifications. Works only when the app is in service.
Sorry to say but this version is more broken lol.

It worked better when I cleared data, but now I cannot remove it from notifications though.
The random song bug was just a weird bug which went away by itself.
Can you just not add a cross (X) mark in the notification to end the service? Just do it like soundcloud does it

Don't feel bad for saying that it's horribly broken, because the reality is that it is :). I've had a Jockey notification for a song that I don't think I've even listened to recently reappear 3 times today after stopping it (and once after rebooting), and that's not okay.
I've reverted the version file and made m18k the default download on SourceForge so that you can downgrade to the previous version without any trouble, although you'll have to uninstall the most recent version first. After seeing how much trouble there's been trying to implement background playing this way, I'm certainly going to change it to a simple close button in the next version. Hopefully I can get that working soon.
Sorry again for causing so much trouble with this version; many mistakes were made.

I tried working on the close button, its almost the same amount of trouble. Cheers for the try and hardwork though man :) :+1
I'll try and help as much as possible

I've implemented the close button, and it should be working significantly better than the old method. The downside is that the notification background color is now the default system white on Lollipop since I'm no longer using the MediaStyle for the notification, but I think it still looks nice.
As usual GitHub and SourceForge have been updated, and there's bound to be a few lingering issues.

I'll test ASAP and report by tomorrow morning :)

Well the newer issue is, the search doesn't work at all. It crashes when the search is opened

The search works for me on the newer version. Don't know how it is crashing on yours

Crashed on tabs, works fine after clearing data


Fix cloudflare plugin

The plugin broke with 5902ca9 when changing to python 3
pip is needed to be kept installed, and python path added to $pathToExternals

Ok thanks for your feedback I will move pip then 🙃

Great, thanks, requirements in python seems a bit confusing 👍