Adding yaml template for compliance tasks

This yaml template will be consume by WebDeploy and IISExpress build definitions to run compliance tasks in VSTS.
Currently it runs ApiScan, BinSkim, CredScan, AntiMalware and Policheck scans.

Comparing with other definitions, they seem to have a few more compliance tasks.
  - task: securedevelopmentteam.vss-secure-development-tools.build-task-vulnerabilityassessment.VulnerabilityAssessment@0
    displayName: 'Run Vulnerability Assessment'

  - task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
    displayName: 'Run CredScan'
    inputs:
      regexMatchTimeoutInSeconds: 5

I'm also guessing Component Detection is auto-injected as part of the devdiv policy?


doc: remove discouraged enablePHP config from abstractions example

In the initial configuration the enablePHP config option is present. In the following abstracted example the commonConfig doesn't include it anymore.
Previous PRs #88505 and #284906 added the enablePHP config option to the commonConfig. @aanderse commented in https://github.com/NixOS/nixpkgs/pull/88505#issuecomment-632575200 the usage of enablePHP shouldn't be encouraged, services.phpfpm should be preferred whenever possible. So we remove the enablePHP config from theses examples.
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

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

in the future someone might even consider replacing services.httpd with services.nginx using relevance as a motivating factor
but yeah this looks good as-is, thanks for doing this

Thanks for your feedback - now on the correct PR :)
This is my first contribution to the Nix ecosystem. How will we proceed from here? I also read about backporting, is this something a maintainer (you?) will do, or is this on me after the PR got merged?

thank you for contributing!
i think we're fine to just let this trickle into stable over the next month with the new release


Update README.md

Description

Related Issue

This PR closes #
Motivation and Context

Screenshots (if any)
Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

Hey, I am sorry but I don't think I will be changing the README.md file. I will be closing this pull request.
Thank you.


grafana_admin_password is mandatory

In my opinion that would be better to preserve the official default grafana_admin_password (Cf. http://docs.grafana.org/installation/configuration/#admin-password).
But, if you do not want to set the grafana_admin_password in the defaults, I suggest to change the readme :
## Playbooks

    - hosts: servers
      roles:
         - role: ansiblebit.grafana
           grafana_admin_password: 'P4ssw0rd'

thank you for your feedback.
added this to https://github.com/ansiblebit/grafana/releases/tag/2.14.2 .


Paket install changes fsproj file

Description
command dotnet paket install adds <Import Project="..\..\.paket\Paket.Restore.targets" /> line to every fsproj in a solution. This is somewhat unwanted behaviour because we have introduced Directory.Build.Targets file to our solution witch contains this import already
<Project>
    <Import Project=".paket\Paket.Restore.targets" />
</Project>

Repro steps

have paket enabled project
create Directory.Build.Targets file in the root of the project
delete <Import Project...> lines from each fsproj file
run dotnet paket install

Expected behavior
Don't modify project files outside of migrate-from-nuget and use the import from Directory.Build.targets, or at least provide a way to disable this with some setting in the paket.dependencies file
Actual behavior
Install adds the import back to fsproj and causes build warning .paket/Paket.Restore.targets cannot be imported again....

Well that's just by design. Don't really see a way to do that without
breaking the world.
Jiří Landsman<EMAIL_ADDRESS>schrieb am Fr., 12. Juni 2020,
14:37:

Description
command dotnet paket install adds  line to every fsproj in a
solution. This is somewhat unwanted behaviour because we have introduced
Directory.Build.Targets file to our solution witch contains this import
already

Repro steps

have paket enabled project
create Directory.Build.Targets file in the root of the project
delete  lines from each fsproj file
run dotnet paket install

Expected behavior
Don't modify project files outside of migrate-from-nuget and use the
import from Directory.Build.targets, or at least provide a way to disable
this with some setting in the paket.dependencies file
Actual behavior
Install adds the import back to fsproj and causes build warning .paket/Paket.Restore.targets
cannot be imported again....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3867, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOANFQGXQHXBE6F25YXRLRWIOQFANCNFSM4N4JKMBQ
.

That is unfortunate but thx for the info :)


net-* should have consistent naming

Going to follow the convention
net-[component]-[component_type] - ie. net-certmanager-webhook

[x] https://github.com/knative-sandbox/net-certmanager/pull/240
[x] https://github.com/knative-sandbox/net-certmanager/pull/241
[x] https://github.com/knative-sandbox/net-http01/pull/232
[x] https://github.com/knative-sandbox/net-istio/pull/683

[x] https://github.com/knative-sandbox/net-istio/pull/693
[x] https://github.com/knative-sandbox/net-istio/pull/686

[x] net-ingressv2 - no changes
[ ] https://github.com/knative-sandbox/net-kourier/pull/555
[x] https://github.com/knative-sandbox/net-contour/pull/526

Downstream changes

[x] https://github.com/knative/operator/pull/669
[x] https://github.com/knative/serving/pull/11551
[x] https://github.com/knative/serving/pull/11559
[x] https://github.com/knative/serving/pull/11560

https://github.com/knative-sandbox/net-kourier/pull/555 was done. I think this could be closed?


[HOLD for payment 2024-10-24] QBO - Some Customer/projects values are trigger an error that disappears

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.43-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Issue reported by: Applause - Internal Team
Action Performed:
Precondition: workspace with connected QBO integration. Classes and Customers/Projects are imported via Import tab. 'Members must tag all expenses' toggle is ON.

Go to workspace chat
Click + > Submit expense > Manual
Enter amount and Merchant > Submit
Open expense report
Choose Category and Classes values
Click on Customers/projects > choose Coke Drink Canada:Big Project or Coke Drink Canada:Test Test

Expected Result:
Value is applied without error
Actual Result:
An error 'Customers/Projects no longer valid' briefly appears. Sometimes an error stays until user chose another value
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/81218217-f112-4926-b3eb-a523da93e15f
View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @kadiealexander

@kadiealexander  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

cc @arosiclair I know you worked on QBO recently!

cc @arosiclair I know you worked on QBO recently!

Sorry I don't have much info to give on this issue specifically. Seems like a legit bug though.

@Nodebrute's proposal looks good to me. The RCA seems to be correct and the solution makes sense as well. Let's go with them.
🎀 👀 🎀 C+ reviewed

Looks good 👍

Checklist

https://github.com/Expensify/App/pull/37461/files#r1807953238
https://github.com/Expensify/App/pull/37461
N/A
I think that this is really an edge case, that was specific to QBO integration. As such, we can skip the test here.

I think we should add the tests that uses special tag names with colon inside it, as this bug made to production unnoticed

@allroundexperts can you share test instructions that test for @MonilBhavsar's case here? Thanks!

Payouts due:

[ ] Contributor: $250 @Nodebrute  (offer link)
[ ] Reviewer: $250 @allroundexperts via manual request

Upwork job is here.

Reassigning to have someone raise a GH to get these requested testing steps into testrail once they're written, as I'm heading OOO!

Bump @allroundexperts

Regression test

Create a workspace, and enable tags + categories.
Add a tag, and category named as "test:new:exfy".
Submit an expense to the workspace, and select the above create tag and category.
Verify that no error occurs and the expense gets submitted successfully.

Do we 👍 or 👎 ?

Looks good to me. Closing this one out - thanks everyone!


Support for Discord

Discord does have a "sync with computer" option under User Settings > Appearance > Theme, but at least on Plasma (Arch Linux) it either doesn't work at all or it works sporadically. Not sure why.
Has anyone figured out where Discord looks for the "sync with computer" setting, or found a good way to make it work? I looked for a config file but couldn't find one.

I think thats because Discord is based on electron, which uses the engine of chromium. Chromium has a bug where the prefers-dark-theme check does not work.


Gep - Missing "Targetare.ro" button

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro
Browser: Microsoft Edge
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Search for "Gep" Company
Check the "Targetare.ro" button

EXPECTED RESULTS:
The "Targetare.ro" button exists and is functional
ACTUAL RESULTS:
The "Targetare.ro" button is missing

After retesting, the "Targetare.ro" button exists and is functional


Mailman 3 SSO client

Originally created by Tom Smyth at 2019-03-12 19:03, migrated from redmine-#9477

Tags changed from portland, groups to groups

By Tom Smyth at 2019-04-26 15:32

Subject changed from Mailman 3 integration to Mailman 3 SSO

By Tom Smyth at 2019-04-26 18:59

Subject changed from Mailman 3 SSO to Mailman 3 SSO client

By Tom Smyth at 2019-04-27 11:49


Reg Reset Handling

If someone writes this:
Foreach(...){i =>
  val r = Reg[Int](5)
  r.reset
  r := ...
  ... := r
}

In old spatial at least, the reset doesn't get handled in the buffer analysis because I added it as dirty as possible.  So r would be double buffered and at least in the chisel backend, a reset on a buffered memory wipes all buffers since we can't figure out which buffer to reset.  Is it possible to just have resets transform into writes that take the init value of the reg?  Or can we have resets be handled correctly in buffering analysis so we can intelligently reset the correct buffer (in the case of RegFiles, overwriting would take too much time)

For registers, reset as a write of the initial value makes sense. For RegFile, yeah you're right, we should handle reset like any other write. It just happens to write the entire memory in one cycle.


Incorrenct sematic highlight for lamda functions

Hi,
So, in case of lamda functions all lamda functions in current file will be highlighted, what is not correct  and additional it makes highlight useless.
As a simple fix it might be nice to disable highlight  for lamda functions.
As a perfect solution - highlight symbols inside that function.
Thanks

Can you give a more detailed example? Do you mean the highlight on idle?

here is an example. and it's very annoying. I would like to have ability to disable it.

@myrgy I'm not sure what editor you are using, but in emacs I ended up setting (setq lsp-highlight-symbol-at-point nil) some time ago as I found that highlighting more distracting than helpful.

No clear thoughts at the moment, this will require an indexer change.


Moar languages and rules

Subj.

Codecov Report

Merging #20 (f9d6d03) into master (dee9ec9) will decrease coverage by 1.67%.
The diff coverage is 2.77%.

@@             Coverage Diff              @@
##             master      #20      +/-   ##
============================================
- Coverage     47.58%   45.91%   -1.68%
- Complexity      186      187       +1
============================================
  Files            68       72       +4
  Lines          1473     1542      +69
  Branches        169      173       +4
============================================
+ Hits            701      708       +7
- Misses          712      774      +62
  Partials         60       60

Impacted Files
Coverage Δ

...g/uast/uast/generated/tree/green/GreenFactory.java
0.00% <ø> (ø)

...org/uast/uast/generated/tree/java/JavaFactory.java
100.00% <ø> (ø)

...ava/org/uast/uast/generated/tree/js/JsAdapter.java
0.00% <0.00%> (ø)

...ava/org/uast/uast/generated/tree/js/JsFactory.java
0.00% <0.00%> (ø)

...in/java/org/uast/uast/generated/tree/js/Yield.java
0.00% <0.00%> (ø)

.../main/java/org/uast/uast/lang/FactorySelector.java
0.00% <0.00%> (ø)

...rg/uast/uast/lang/javascript/JavaScriptParser.java
0.00% <0.00%> (ø)

...main/java/org/uast/uast/lang/SourceCodeParser.java
50.00% <50.00%> (-2.95%)
:arrow_down:

.../java/org/uast/uast/generated/tree/green/This.java
26.92% <0.00%> (+26.92%)
:arrow_up:

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 dee9ec9...f9d6d03. Read the comment docs.


[question] how many checks are people running in production?

I'm curious, how people have scaled this out.  How big, and how many checks do you process/minute/5minutes.
How much history is stored in the database?  Curious to know.  Thanks!

On our system around 500 checks, frequency is default (5minutes) we don't rely on history in DB as it is flushed periodically, we are building our own Stat system using grafana, graphite and more


[Bug] SAGE not updating in NightScout

I've noticed that the sensor is doesn't always update in Nightscout. I change the sensor yesterday (G6/Anubis) and it's still showing as over 13 days old. Had this before but then suddenly it updated.
0.1.0  56a3f87 updated on my phone 4 June 2024.

Noticed this with G7 as well.
Let’s all observe closely and gather data on our next sensor changes to provide details and logs so we can help get to the bottom of this.

Observed again today.

Existing G7 had issues and stopped getting readings
Inserted a new sensor for a “background warmup” while hoping the old sensor would come back online
At 25m into “background warmup”, old sensor had still not come online - decided to cut over to new sensor
Used the “replace sensor” option in G7 app
Scanned QR code in G7 app to pair new sensor
Confirmed in G7 app that sensor was already applied
“Forgot” old sensor in iOS Bluetooth settings
G7 app picked up new sensor
Trio began receiving new readings
Observed that SAGE in Nightscout was not updated
Observed that no “CGM Sensor Start” (or similar) event had been created in Nightscout by Trio
Manually (via Shortcut) added “CGM Sensor Start” event to Nightscout via iOS shortcut
Observed SAGE updating in Nightscout after manually running the shortcut

The sensor details are stored in a file on your phone, probably in the Trio/monitordirectory. Could you please look that up and post it here?

Definitely, will do when kiddo is home and I can look at his phone - most likely this evening.

For some background, SAGE uploads to Nightscout was implemented by merging this branch:
https://github.com/trixing/freeaps/commits/patch/sage/
After some refactoring, SAGE was later fixed for G6 by this PR:
https://github.com/Artificial-Pancreas/iAPS/pull/212
Then apparently SAGE was broken by a refactor after the transition to submodules in Trio, where relevant files were removed:
https://github.com/nightscout/Trio/commit/47fa01786a7457b30e2307a11e02908719fa0aa9
Later, SAGE was fixed for Libre, but not Dexcom: https://github.com/nightscout/Trio/commit/15713b0f1d5d97cec8273df9edfa02315225a2b0
I assume we would need a similar fix for G6 and G7 SAGE to be updated in NS.

@aug0211 , only G6 sessions are written to this file, xdrip sessions are not.
If you look at my sleuthing above, you can track down the deleted files that broke this:
FreeAPS/Sources/APS/CGM/DexcomSourceG5.swift
FreeAPS/Sources/APS/CGM/DexcomSourceG6.swift
FreeAPS/Sources/APS/CGM/PluginSource.swift
Some change likely broke this for G7 at the same time, I have not pinpointed that.
The fix for Libre can probably be used as a model to fix this for Dexcom again.

I meant exclusively Dexcom sessions (probably including G7), and not xdrip :-)

Can confirm, using G6 btw, that the 'cgm-state.json' file has not been updated for me for the new sensor. Last sensor showing up is from 04-05-2024. I changed it on May 31st.

+1 here -- for G7. An install of Trio on a new phone June 12, no cgm-state.json file was created. I've tried scanning for new sensor, deleted CGM and added it again, SAGE does not update and cgm-state.json doesn't exist.


chore: update repo urls and author details

SUMMARY:
These were simply missed during the ownership transfer so just doing a bit of clean up. Technically github resolves to the correct locations anyway, but better safe than sorry, especially if ProductPlan ever decides to fork the repo down the line.

@ProductPlan/true-level this shouldn't impact you guys in any way but if it does let me know.


Creating Word cloud using js and jquery

I want to work on this issue. Please assign to me

@gupta31 Explain a little more I don't get it. Since we are currently accepting project based on pure vanilla.
will you be able to do it in vanilla JS?
Do let me know!

@gupta31 If you can implement everything in vanilla JS. Then I will assign it to you

This includes jQuery also apart from JavaScript.

@gupta31 Then leave this project for now !!


Restoring system handler when slot empties

signal_hook::low_level::unregister() documents that the default handler isn't restored when the last action is removed.  I couldn't find a justification for this.  I'm trying to implement some temporary conditions where I want to trap signals, then restore the original behavior, but that appears to be unimplemented.
Did this cause issues?  A quick 'n dirty (and likely naive) fix appears to simply be this:
--- a/signal-hook-registry/src/lib.rs
+++ b/signal-hook-registry/src/lib.rs
@@ -636,6 +636,11 @@ pub fn unregister(id: SigId) -> bool {
     let mut sigdata = SignalData::clone(&lock);
     if let Some(slot) = sigdata.signals.get_mut(&id.signal) {
         replace = slot.actions.remove(&id.action).is_some();
+        if slot.actions.is_empty()
+            && unsafe { libc::sigaction(id.signal, &slot.prev.info, ptr::null_mut()) } != 0
+        {
+            panic!("sigaction() returned OS Error {}", Error::last_os_error())
+        }
     }
     if replace {
         lock.store(sigdata);

Some quick sanity tests seem to work fine.

Hello
I'm pretty sure I've written the reasons somewhere, but in short, the library assumes:

Running on arbitrary POSIX system, not only Linux.
Rust programs are routinely multithreaded.
Independent parts might want to add or remove hooks without knowing about each other.
Other libraries might want to add their signal handlers even if they are not based on signal-hook. For that, the chaining (slot.prev.info ‒ equivalent) is used.

Your solution has several problems:

This is racy in multi-threaded program. A signal might come in between removing the action and unregistering the handler (this can be fixed).
The signal handler may be „burried“ below other signal handlers someone else might have registered in between and there's no way to remove us from the middle of the chain.
The fact that the slot is or is not empty depends on behaviour of the other parts you don't know about, which results in sometimes restoring the original handler and sometimes not, because something else might have registered a debug print in the handler, or something.

These put together suggest the unregistering would behave quirkily at best, therefore the behaviour of just list of hooks that can even do nothing because of empty after the first takeover seemed much easier to reason about and make behave consistently when interacting with other parts, so it's not the thing it does by default.
But I believe the use case you describe should be covered by this function: https://docs.rs/signal-hook/0.3.8/signal_hook/flag/fn.register_conditional_default.html. You register this and then turn that on or off by setting that atomic bool. When it's off, the hook does nothing, when on, it invokes the equivalent of the default handler. If you need something more complex, you can invoke the default behaviour directly by https://docs.rs/signal-hook/0.3.8/signal_hook/low_level/fn.emulate_default_handler.html.
Configuring the slot to behave in the way you describe (more likely by checking if it's empty inside the handler and invoking the emulation, to avoid the burried-problem and racy-problem) is planned for the future, but I haven't gotten around to that yet. That's covered in #82.
As I believe the feature is already tracked and your use case should already be somehow covered, I'll close this issue.

I won't contest that -- at best, it's something I would have suggested in an environment where I already know what's going on. In my case, I needed to capture TERM signals within unit tests because I needed to do some teardown of an external mock environment before allowing the program to close, but I also wanted to be able to restore the environment for the next unit test (which would obviously have to operate serially).
In hindsight, this is already incredibly complex due to the fact that Rust unit tests generally run in parallel.  Trying to do this via a signal handler probably doesn't even make sense.  A watchdog process is probably the way to go.
Thanks for the commentary and explanation.

Hmm, I think I can post few tips around the use case of tests:

In general, the „best practice“ is considered that tests clean up after themselves (maybe in some Drop implementation, so they clean up even if the test fails and panics). But they also clean up any leftovers after previous runs, because no matter how much careful cleanup you do, the cleanup process can always be killed or fail...
There's https://crates.io/crates/serial_test for making tests run serially. Or, I've often used a global mutex that the test held during its run.


Backport 2.1: Add a facility to skip running some test suites

Backport of #2293. The changes to run-test-suites.pl are different from 2.7 and 2.14 because that script was very different in 2.1.
In 2.1, the list of test suites in tests/CMakeLists.txt is fine.

Mbed TLS 2.1 is now End of Life, as has been announced.
Unfortunately that means no further releases of Mbed TLS 2.1 will be made, so this PR will not be merged, and is closed now.


[ERR_IMPORT_ASSERTION_TYPE_MISSING]

hi @wooorm, my project is using next-mdx-remote which has a dependency with your package character-entities. everything works fine on local, but throws an error in deployment on vercel. i've been trying to find a solution online, but nothing is available so far as it's not my code but the third party package throwing error.

as far as i've researched about this error, they say it can be resolved by asserting a type during import, for example
import countryTable from "./data/countries.json" with { type: "json" };
but i won't be able to do it as the error is not in my code but the character-entities package instead.

There is no JSON here: https://github.com/wooorm/character-entities/blob/main/index.js. For years.
I recommend asking next-mdx-remote/Vercel folks for errors. Perhaps they’re using pre-ESM versions which don’t work on Vercel.

@nagarajpandith did you find a solution for this, by any chance?
Run into the same issue now, with a Vue project. Only happens on Node v18. On 20+, there's no problem.


✨ welcome tour

refs TryGhost/Ghost#5168

adds a tour service that handles syncing and management of tour throbbers & content
adds a gh-tour-item component that handles the display of a throbber and it's associated popover when clicked
populates viewed tour items on app boot/signin

TODO:

[ ] add tests
[x] review user.tour JSON format - do we need more than an array of IDs?

for the current tour items an array of IDs is sufficient, if we need deeper customisation for recording tour item state later on then the client should be able to modify the user.tour JSON itself

[ ] add usage instructions
[x] add content and hook up throbbers
[x] fix bug with throbber positioning not working with PSM's CSS based positioning/animation
[x] ensure that all on-screen throbbers are removed when the "skip these tips" button is clicked
[ ] update styles to match new design, see https://github.com/TryGhost/Ghost/issues/5168#issuecomment-305316885
[x] add mechanism to allow dynamic content to be inserted into tour content, e.g. {{blogUrl}}

partially fixed, using semi-hardcoded values for now, we can look at using variable replacement later on if required

[ ] fix bug with background animation not working too well with the PSM (may be possible to specify a liquid destination stack to avoid the PSM sitting on top of the background whilst it's animating)

Changes Unknown when pulling b986db04f49006db51150fcb73a5f5b26bb53806 on kevinansfield:feature-tour into ** on TryGhost:master**.

@kirrg001 this is ready to merge, the final style tweaks can be handled during the beta period and separate issues can be opened for the tests/instructions and the minor background animation bug for the PSM tour items

Coverage decreased (-0.2%) to 73.007% when pulling 16a9b42dfa05fe116176f5aca7b6fc7059021c3d on kevinansfield:feature-tour into 10d46c784fa876dc579df69951505758b9b299e0 on TryGhost:master.

Noticed another bug 😞 Split screen in the editor should probably disable the nav throbber...

Coverage decreased (-0.2%) to 73.007% when pulling 93dc861d3ceb72acb69723bfc2471d1f33c6f2d4 on kevinansfield:feature-tour into 3d0730ab03ed26f50bcb2a75c8ea66c4c35068da on TryGhost:master.


Suche funktioniert nicht

Man bekommt die Suchergebnisseite nicht angezeigt:

This works for me now on Windows and Android but not on the iPad (Safari).

This works for me now on Windows and Android but not on the iPad (Safari).

@cabotine Did you reload the page? I just want to make sure. It is working on my iPhone which uses the same browser as the iPad.
I just want to be 100% sure before reopening this issue.

Yes. I did. Cannot find out the safari version though. Kind of annoying. "Ergebnisse zeigen" works but the blue arrow button does not.

I can try to record a video later.

I can try to record a video later.

Finally a good reason for me to buy an iPad. I have been waiting for years for a good argument. ;-)


[top_earlgrey] Reduce number of PRINCE half rounds for main SRAM scrambling

This PR contains multiple commits to reduce the number of PRINCE half rounds for the main SRAM scrambling from 3 back to 2 as used for Earlgrey ES. This is done to reduce timing pressure.
The scrambling parameters of the other scrambled memory primitives (retention SRAM, ROM, OTBN IMEM & DMEM) are not touched by this PR.
Note that this PR is currently WIP. It will most likely not pass CI yet as I need to also update the tooling to support backdoor loading of memories using different numbers of scrambling rounds. But this PR is sufficient to allow the PD team kicking off another synthesis run. The RTL changes are okay and I pushed this through lint which hasn't flagged any warnings / errors.
For reference, the PRs where we increased the number of scrambling rounds in the past are:

https://github.com/lowRISC/opentitan/pull/22425
https://github.com/lowRISC/opentitan/pull/22948

This PR is superseded by #24447 which also contains the tooling changes. To allow comparing the RTL changes (must not change between this PR and #24447 because the PD team already absorbed this one), I decided to create a new one.


similar command line filter as for zsh

This won't work with bash < 4 (OSX's out-of-the-box one)
We'll need to have some fallback

I did not realize that the bash version in OSX is that old. Bash 4 dates back to 2009.


⚠ Movie Manager has degraded performance

In 4881c54, Movie Manager ($SITES_URL_MOVIE_MANAGER) experienced degraded performance:

HTTP code: 523
Response time: 1043 ms

Resolved: Movie Manager performance has improved in d45e59b after 20 minutes.


improve: Update Docker and service configurations

This commit makes several updates to the Docker configurations and service settings. The changes include modifying the network settings for improved container communications and updating the logging levels for better system monitoring.
The network 'pudding-infra-net' has been renamed to 'pudding-net', making it attachable so that it's more flexible for communication between containers.

Codecov Report
Patch and project coverage have no change.

Comparison is base (e878ede) 51.75% compared to head (0639b0e) 51.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #379   +/-   ##
=======================================
  Coverage   51.75%   51.75%
=======================================
  Files          46       46
  Lines        2885     2885
=======================================
  Hits         1493     1493
  Misses       1263     1263
  Partials      129      129

Files Changed
Coverage Δ

configs/log_config.go
61.90% <0.00%> (ø)

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


How to customize mat-paginator template?

How to customize mat-paginator template?
I want to add content on the left side of the <mat-paginator> component.
How can i achieve this?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

Is there a way to do this? Can it become a feature request. It would be nice if we could add stuff to the left side of the container or even have more than one thing added in the container.


Support recursive structs as concrete types in Go SDK

We do not allow types such as:
     https://godoc.org/cloud.google.com/go/datastore#Key

Use of these will require type registration.
Imported from Jira BEAM-3864. Original Jira may contain additional context.
Reported by: herohde.

+1.
I've run into this issue when trying to use geojson.Feature (https://github.com/paulmach/go.geojson/blob/master/feature.go) in the pipeline.
This doesn't work as the geojson.Geometry is recursive.


Origin header doesn't seem to affect Access-Control-Allow-Origin response header

Am I reading this code block correctly? Should Access-Control-Allow-Origin repeat Origin header if it is present?
https://github.com/cortesi/devd/blob/c1a3bfba27d8e028de90fb24452374412a4cffb3/server.go#L200-L214
> devd . -X --address="<IP_ADDRESS>" --port 8000 --logheaders

22:15:14: Route / -> reads files from .
22:15:14: Listening on http://devd.io:8000 ([::]:8000)
22:15:17: GET /
		User-Agent: curl/7.79.1
		Accept:     */*
		Origin:     http://devd.io:8001
		Referer:    http://devd.io:8001/
	<- 200 OK 7.7 kB
		Access-Control-Allow-Origin: *
		Last-Modified:               Wed, 06 Apr 2022 11:47:46 GMT
		Cache-Control:               no-store, must-revalidate
		Content-Length:              7684
22:15:29: GET /test.m3u8
		User-Agent: curl/7.79.1
		Accept:     */*
		Origin:     http://devd.io:8001
		Referer:    http://devd.io:8001/
	<- 200 OK 2.6 kB
		Access-Control-Allow-Origin: *
		Last-Modified:               Fri, 08 Apr 2022 19:11:38 GMT
		Content-Type:                application/x-mpegurl
		Content-Length:              2641

> devd --version
0.9

Hi, i think the code your looking at was added after 0.9 so try master. https://github.com/cortesi/devd/blob/master/CHANGELOG.md

oh


64Bit

Only 64 bit Python works.
Pls mention it.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f04b2376-8901-ee7a-86a7-500b09cfcf94
Version Independent ID: 01198991-2c3b-9873-3b2c-233b7b9a0ff0
Content: Azure SignalR Service serverless quickstart - Python
Content Source: articles/azure-signalr/signalr-quickstart-azure-functions-python.md
Service: signalr
GitHub Login: @anthonychu
Microsoft Alias: antchu

Hi @LeonidasKapassakalis, thanks for the feedback! We are currently investigating and will update you shortly.

Hi @anthonsu, can you please confirm this feedback?

@LeonidasKapassakalis which plan are you trying this with ? Is your Function App Dedicated/Premium/Consumption ?

Just the ServerLess Chat Python sample from Docs
On Thu, Feb 13, 2020 at 8:23 AM Anirudh Garg<EMAIL_ADDRESS>wrote:

@LeonidasKapassakalis https://github.com/LeonidasKapassakalis which
plan are you trying this with ? Is your Function App
Dedicated/Premium/Consumption ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/47970?email_source=notifications&email_token=ADSFMLGG7CBDMV5ODC23GC3RCTRO3A5CNFSM4KUCVDH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELTR2GI#issuecomment-585571609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSFMLH46YEECRZFUMV6Z2LRCTRO3ANCNFSM4KUCVDHQ
.

--
LeoKapasLg

We had this dependency before but we have removed it now and both 32 bit and 64 bit Python interpreter should be supported. The issue might be with your Core Tools version. If you update to the latest you should not longer see this.

@LeonidasKapassakalis do you have any updates for us on this issue?

Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


fqdn: Make maximum number of IPs per restored rule configurable

Only count the number of IPs for each FQDN selector/rule when storing
rules for restoration, rather than ignoring later rules on a port
after previous rules have hit the maximum number of IPs.
Make the maximum number of IPs per restored rule configurable with the
new option --tofqdns-max-ips-per-restored-rule (default 1000).
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>FQDN rule restoration IP limit has been made configurable (`--tofqdns-max-ips-per-restored-rule`, default 1000).

test-me-please

v1.7 backport in #13993


Adds additional context to the 1.6 EEPROM hardware parameters.

I have not updated any of the code structures in this repo to reflect this research, so feel free to consider this an open/working PR. But I hope this provides some context that can hopefully be reviewed / adapted / merged at some point in the future.

Err, I just noticed the diff looks pretty scuffed, I guess git got confused when I relocated & updated the hardware commentary.
I can try rolling back the changes and figuring out what went wrong there.


Extension not working... Only changes cursor position

i'm using VS-Code
Version: 1.57.1
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:26:56.255Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-77-generic (Ubuntu 20:04)
and your Extension in version 2.1.0 if i press the message icon or the keyCombi nothing happens except the cursor jumping from the Commitmessagefield to the Codeeditor or vice versa -.-

Hi, I'm not sure about what happen, can you send me your settings.json (only part for the extension) that's possibly something here

"vscodeGitCommit.variables": {     "prefix":"webphone_ui #13991"     },     "vscodeGitCommit.template": [         "{prefix}  {message}"     ]

Oki, I understand, I need to update the extension, for "vscodeGitCommit.variables" -> "prefix" the extension do not support custom string today, I let the issue open and work on it.
What you can do is :
{
  "vscodeGitCommit.variables": {
     "prefix": [
        {
           "label":"webphone_ui #13991",
           "key":"12345"
     ]
  }
}

thx a lot for the fast answer!
this is working now :)
maybe a error-message would be a good idea? then

Yep, I look how to add it 😉
Thanks for feedback


Fix iOS 14.5 crash

The mprotect function requires the address to be page size aligned. In iOS 14.5 Beta, some addresses of sections of __DATA_CONST and __AUTH_CONST segments are not aligned to the page size, the write protection will be added failed, and then the process may crash when writing to these addresses. So we can use vm_protect which not require the address to be page size aligned, instead of mprotect.
Besides, the protection of different pages in a section may be not the same. So we need to pass the address to be written into get_protection, not the first address of the section.
Fixed  #80 and #82.

I found some case that vm_protect return KERN_SUCCESS , but memory don't set VM_PROT_WRITE success.   like mprotect method

I found some case that vm_protect return KERN_SUCCESS , but memory don't set VM_PROT_WRITE success. like mprotect method

It seems a problem which hooking the same function in multithread. The memory was set write protection in a thread but hasn't written, while the same memory has set readonly protection back in other thread.

@grp are there plans to merge these PR's? Unfortunately, these are necessary for iOS 14.5+ usage of fishhook and are breaking our users.
https://github.com/google/EarlGrey/issues/1641


Update junit-interface to 0.13.3

Updates com.github.sbt:junit-interface from 0.13.2 to 0.13.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "junit-interface" } ]

labels: test-library-update, early-semver-minor, semver-spec-patch, commit-count:1

Codecov Report

Merging #572 (41adcf5) into develop (e05de97) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #572   +/-   ##
========================================
  Coverage    60.36%   60.36%
========================================
  Files           53       53
  Lines         1539     1539
  Branches        30       30
========================================
  Hits           929      929
  Misses         610      610

Impacted Files
Coverage Δ

...-/com/twitter/bijection/CollectionInjections.scala
93.10% <0.00%> (ø)

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 e05de97...41adcf5. Read the comment docs.


Error when trying to connect

This is my action and it doesn't work. Getting:
Run psql "host=<IP_ADDRESS> port=5432 sslmode=disable dbname=testdb user=postgres"
psql: error: connection to server at "<IP_ADDRESS>", port 5432 failed: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.
Error: Process completed with exit code 2.

What am I missing?
name: proxy-test

on:
  workflow_dispatch:

jobs:
  scheduled-job:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - uses: actions/setup-node@v2
        with:
          node-version: "16"

      - uses: ahmadnassri/action-google-cloud-sql-proxy@v1
        with:
          key: ${{ secrets.GCP_CREDENTIALS }}
          connection: myproj-1234:europe-west1:instance_name
          port: 5432

      - name: Install postgresql-client
        run: sudo apt-get install -y postgresql-client

      - run: psql "host=<IP_ADDRESS> port=5432 sslmode=disable dbname=testdb user=postgres"

what are the log output of the ahmadnassri/action-google-cloud-sql-proxy@v1 step?

This is the log:

BTW, do I have to have public ip for the cloud sql instance?

I've seen an issue with GitHub actions where port 5432 is in use sometimes even if the proxy was able to attach to it (as per the log), we worked around it by changing the port settings on this action to 5430 and using that going forward...
give that a try.
also, no, no need to have a public IP

Thanks.
Will check and report back.

@naorye I'm experiencing a similar issue, but switching the port didn't seem to resolve it for me. Did you have any luck with this?

@GusPrice Yes.
You should enable public IP. If I remember correctly, this what solves the issue.

I cannot get it to connect, either


[Q]I want use wandb plot p-r line and mouseover show precison recall and threshold

As the title.I don't find  how set mouseover
My code is :
    data = [[x, y] for (x, y) in zip(r_array, p_array)]
    table = wandb.Table(data=data, columns=["recall", "precision"])
    wandb.log({"my_custom_plot_id": wandb.plot.line(table,"recall", "precision", title="Precision_recall")})

thanks your reply ,I get it


Add speed optimized rendering shader with no intensity grading for low end GPUs

The current shader does many memory writes and flops for intensity grading.
We can probably speed this up a lot, at the cost of losing intensity grading, if we just compute a min/max for each X coordinate and flood fill with alpha=1.

The intensity grading shader is now pretty fast, moving to v0.2 as this is less important.


qtile: install proper session .desktop files for both xorg and wayland

Description of changes
This PR modifies the qtile package to install the provided session desktop files for login managers.
That in turn allows us to add the package to services.displayManager.sessionPackages when the NixOS module is enabled.
After that, both the Xorg and Wayland sessions will be available from login (display) managers, instead of just one session that's hard coded to a specific backend (via the now removed option backend).
Additionally, this fixes the services.xserver.windowManager.qtile.finalPackage assignment to use the existing wrapper instead of building a whole new env.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

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

error: Default graphical session, 'none+qtile', not found.
       Valid names for 'services.displayManager.defaultSession' are:
         qtile
         none+icewm

build my whole system with your branch, seems to work:

@ofborg build qtile-unwrapped.passthru.tests.qtile

Thanks! This PR changed the session names, that's why the test is failing.
Since these changes work on both our systems, I'll just fix the test.
Another todo I thought of after submitting is marking the now-removed backend option deprecated, so people having that in their configs get a nice message.

Another todo I thought of after submitting is marking the now-removed backend option deprecated, so people having that in their configs get a nice message.

Yes this would be nice

Both done!

Looking at this again, I'm afraid the configFile option should be deprecated too. But that could break the way some people configure their system, especially those who don't use home-manager (which can write ~/.config/qtile/config.py).
We can't easily modify the session files that are now installed by the package, so the 'old' method isn't feasible I think.
I'm hoping others have ideas about this...? Perhaps a good solution would be a link to the provided config in the system-wide config dir (qtile docs here)?

it look after into the .desktop pr, indead would break the configFile option.
Setting to /etc/xdg would work, but for users that used previous configFile options, it may not be the cleanest especially one multiple users system.
I'm a bit new to options, could the desktop file be wrapped in it's own derivation, with a substitubeInPlace qtile start -> qtile start --config ${cfg.configFile}?

Done. I believe this is ready to test (again).

Converted to draft, because after testing I found that the logic regarding the wrapper and systemPackages isn't right. I'll have to dive deeper to get to a point where it just works.

Okay, I believe I have now (finally) arrived at a working and much cleaner solution!

I removed the wrapper since we weren't actually using it anyway (we built a separate new env for display managers and we added the unwrapped package to environment.systemPackages).
The extraPackages are now nicely added to the dependencies of Qtile itself, making https://github.com/NixOS/nixpkgs/pull/299843 a thing of the past (I hope).
The finalPackage (which optionally contains qtile-extras and other dependencies) is used for both display managers and added to $PATH (the latter makes commands like qtile check work).
If a configFile is provided, it is symlinked to /etc/xdg/qtile/config.py, which is automatically used by Qtile if ~/.config/qtile/config.py isn't found.

Should've made a warning for qtile instead of removing it tho 😕

Should've made a warning for qtile instead of removing it tho 😕

Yeah was quite surprised today when I tested the update to 24.11.


Possibility to choose region for Log Analytics / Automation Account resource deployment

It would be great if it was possible to choose what region Log Analytics and automation accounts resources will be deployed to because of Non-availability on those resources in some regions as for now.

This could be considered a bug. Deploying to paired region like East US results in non-functional automation which requires the Automation Account and Log Analytics Workspace to be in East US and East US2 respectively or vice-versa (docs).

signal boost for this, the default template creates broken pairings for east us and east us2

signal boost for this, the default template creates broken pairings for east us and east us2

Looping in @krnese for visibility.

I have the same issue when selecting East US 2 as the region. Adding screenshots below now.

To workaround this issue for East US 2 as the selected location, recommend hard-coding the value shown here in the screenshot to "East US" at line 1155 (as of the time of this message).

Trigger ADO Sync 1

Trigger ADO Sync 2


Allow passing multi-index dimension to spatial_analogs

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #743

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)
[ ] bumpversion (major / minor / patch) has been called on this branch
[ ] Tags have been pushed (git push --tags)

What kind of change does this PR introduce?

Add support for multi-index in spatial_analogs

Does this PR introduce a breaking change?
Yes, dist_dim will not accept lists of dimensions anymore. Users are expected to create multi-indexes themselves.
Other information:

Wait, are you saying that for all that time, the code imposed target and candidate to have the same number of obs ?

Haha, yes.

Well, this shows it hasn't been used much so far... I think I've fixed it now.


Bootstrap 3 accordion does not open/close on iPhone

This accordion example...
https://getbootstrap.com/javascript/#collapse-example-accordion
It doesn't work on real iphone 3/4 Safari browsers because of this...
http://stackoverflow.com/questions/19866172/bootstrap-3-accordion-collapse-does-not-work-on-iphone

Using  links instead of  is an acceptable solution for desktop users who hover their mouse over things before they click, but for touchscreen users who don't hover, the necessity to tap right on the text is unexpected or undesirably behavior. In this case you can kind of get away with it because the text takes up 3/4 of the space, but in general it doesn't fly. You might want to consider using  instead of . https://notsomany.wordpress.com/2015/02/12/bootstrap-collapse-ios-issue/ . The reason I'm bringing this up is that people expect the examples showcased on the website to work seamlessly.

Using  links instead of  is an acceptable solution for desktop users who hover their mouse over things before they click, but for touchscreen users who don't hover, the necessity to tap right on the text is unexpected or undesirably behavior. In this case you can kind of get away with it because the text takes up 3/4 of the space, but in general it doesn't fly. You might want to consider using  instead of . https://notsomany.wordpress.com/2015/02/12/bootstrap-collapse-ios-issue/ . The reason I'm bringing this up is that people expect the examples showcased on the website to work seamlessly.

and the examples on the site DO work. as demonstrated above. not quite sure what your point is here

and the examples on the site DO work. as demonstrated above. not quite sure what your point is here

hang on...so is your problem more that it's not a block-level, 100% width control that's triggering the accordion? i guess that's a matter of taste/opinion, but can be easily overridden by giving a display:block to the trigger links

hang on...so is your problem more that it's not a block-level, 100% width control that's triggering the accordion? i guess that's a matter of taste/opinion, but can be easily overridden by giving a display:block to the trigger links

Yes, but now you have another problem. Putting "a" tags around "h4" doesn't render the text in the style of an "h4".  Putting "a" tags inside "h4" tags does, but it is considered bad/invalid HTML to put an inline "a" tag inside of "h4"

it is considered bad/invalid HTML to put an inline "a" tag inside of "h4"

by whom? and to be clear, from an accessibility standpoint, you really want the accordion triggers to be either links or <button> controls (depending on how exactly you want to view them)...and not just an arbitrary HTML element.

@JohnReedLOL, I completely sure that you should use anchor tags or buttons as @patrickhlauke already told. Also there is .h4 class for styling any element like it's h4 header, so it's seems to be easy to implement.


dockerd crash while in swarm mode

I started docker 1.12.2-rc1 in swarm mode with 5 managers and 0 workers 2 days ago, today one the servers (I believe it was the leader at the time, but I'm not sure) was down because dockerd crashed. The machines where created with docker-machine on AWS and were communicating via a private subnet there. This happened only once, I don't know how to reproduce.
I had 5 services running in a overlay network, with a total of 20 containers. Only one of those services where exposed on the ingress network (6 containers).
Here are the logs, including a backtrace:
Oct  3 07:17:07 server01 docker[673]: time="2016-10-03T07:17:07.298243072Z" level=warning msg="containerd: unable to save<PHONE_NUMBER>e04d436c131a63a52f6958d4ddfc2c9cb52c7c34216dc7d0d1006e:af40500cf2648c1666bc615584b1c07240bf3c6a9de2e20ea2505c7f2614af0c starttime: open /proc/18988/stat: no such file or directory"
Oct  3 07:17:07 server01 docker[673]: time="2016-10-03T07:17:07.298840778Z" level=info msg="containerd:<PHONE_NUMBER>e04d436c131a63a52f6958d4ddfc2c9cb52c7c34216dc7d0d1006e:af40500cf2648c1666bc615584b1c07240bf3c6a9de2e20ea2505c7f2614af0c (pid 18988) has become an orphan, killing it"
Oct  3 07:27:09 server01 docker[673]: time="2016-10-03T07:27:09.696498275Z" level=info msg="2e0d7ace5974598b [term: 24] received a MsgVote message with higher term from 27a2d87eb2aaac1f [term: 25]"
Oct  3 07:27:09 server01 docker[673]: time="2016-10-03T07:27:09.696900661Z" level=info msg="2e0d7ace5974598b became follower at term 25"
Oct  3 07:27:09 server01 docker[673]: time="2016-10-03T07:27:09.697110440Z" level=info msg="2e0d7ace5974598b [logterm: 24, index: 3424, vote: 0] voted for 27a2d87eb2aaac1f [logterm: 24, index: 3424] at term 25"
Oct  3 07:27:09 server01 docker[673]: time="2016-10-03T07:27:09.697316207Z" level=info msg="raft.node: 2e0d7ace5974598b lost leader 49917b59e0eac37c at term 25"
Oct  3 07:27:09 server01 docker[673]: time="2016-10-03T07:27:09.703271989Z" level=info msg="raft.node: 2e0d7ace5974598b elected leader 27a2d87eb2aaac1f at term 25"
Oct  3 07:27:10 server01 docker[673]: time="2016-10-03T07:27:10.181050794Z" level=error msg="agent: session failed" error="rpc error: code = 13 desc = transport is closing" module=agent
Oct  3 07:27:10 server01 docker[673]: time="2016-10-03T07:27:10.252660063Z" level=error msg="container status unavailable" error="context canceled" module=taskmanager task.id=95fb1w4r13ry77rdv64hqitkl
Oct  3 07:27:10 server01 docker[673]: time="2016-10-03T07:27:10.253014864Z" level=error msg="container status unavailable" error="context canceled" module=taskmanager task.id=e4pyu914hu9s5qbfcwcdpm0zh
Oct  3 07:27:10 server01 docker[673]: time="2016-10-03T07:27:10.253309712Z" level=error msg="container status unavailable" error="context canceled" module=taskmanager task.id=23g5uxffl1xrpbeodyfj1wadd
Oct  3 07:27:10 server01 docker[673]: time="2016-10-03T07:27:10.253561723Z" level=error msg="container status unavailable" error="context canceled" module=taskmanager task.id=3qkkv8grze2adaff2yng9lkgy
Oct  3 07:27:10 server01 docker[673]: time="2016-10-03T07:27:10.290492886Z" level=info msg="2016/10/03 07:27:10 [INFO] memberlist: Suspect server05-ac695dfdd498 has failed, no acks received\n"
Oct  3 07:27:12 server01 docker[673]: time="2016-10-03T07:27:12.207067328Z" level=info msg="2016/10/03 07:27:12 [INFO] memberlist: Marking server05-ac695dfdd498 as failed, suspect timeout reached\n"
Oct  3 07:27:16 server01 docker[673]: time="2016-10-03T07:27:16.053591916Z" level=info msg="2e0d7ace5974598b [term: 25] ignored a MsgHeartbeat message with lower term from 49917b59e0eac37c [term: 24]"
Oct  3 07:27:16 server01 docker[673]: time="2016-10-03T07:27:16.096262653Z" level=warning msg="2016/10/03 07:27:16 [WARN] memberlist: Refuting a suspect message (from: server05-ac695dfdd498)\n"
Oct  3 07:27:16 server01 docker[673]: time="2016-10-03T07:27:16.098151592Z" level=info msg="2e0d7ace5974598b [term: 25] ignored a MsgHeartbeat message with lower term from 49917b59e0eac37c [term: 24]"
Oct  3 07:27:16 server01 docker[673]: time="2016-10-03T07:27:16Z" level=info msg="Firewalld running: false"
Oct  3 07:27:16 server01 docker[673]: message repeated 3 times: [ time="2016-10-03T07:27:16Z" level=info msg="Firewalld running: false"]
Oct  3 07:27:16 server01 docker[673]: panic: close of closed channel
Oct  3 07:27:16 server01 docker[673]: goroutine 939999 [running]:
Oct  3 07:27:16 server01 docker[673]: panic(0x1700a60, 0xc823291b90)
Oct  3 07:27:16 server01 docker[673]: #011/usr/local/go/src/runtime/panic.go:481 +0x3e6
Oct  3 07:27:16 server01 docker[673]: github.com/docker/libnetwork/networkdb.(*NetworkDB).handleBulkSync(0xc820793b00, 0xc821d28000, 0x3738, 0x4000)
Oct  3 07:27:16 server01 docker[673]: #011/usr/src/docker/vendor/src/github.com/docker/libnetwork/networkdb/delegate.go:325 +0x2c1
Oct  3 07:27:16 server01 docker[673]: github.com/docker/libnetwork/networkdb.(*NetworkDB).handleMessage(0xc820793b00, 0xc822298000, 0x373d, 0x373d, 0x3700)
Oct  3 07:27:16 server01 docker[673]: #011/usr/src/docker/vendor/src/github.com/docker/libnetwork/networkdb/delegate.go:358 +0x377
Oct  3 07:27:16 server01 docker[673]: github.com/docker/libnetwork/networkdb.(*delegate).NotifyMsg(0xc820844150, 0xc822298000, 0x373d, 0x373d)
Oct  3 07:27:16 server01 docker[673]: #011/usr/src/docker/vendor/src/github.com/docker/libnetwork/networkdb/delegate.go:371 +0x52
Oct  3 07:27:16 server01 docker[673]: github.com/hashicorp/memberlist.(*Memberlist).readUserMsg(0xc820afefc0, 0x7fdb203204a0, 0xc82199fa10, 0xc821777740, 0x0, 0x0)
Oct  3 07:27:16 server01 docker[673]: #011/usr/src/docker/vendor/src/github.com/hashicorp/memberlist/net.go:987 +0x389
Oct  3 07:27:16 server01 docker[673]: github.com/hashicorp/memberlist.(*Memberlist).handleConn(0xc820afefc0, 0xc822c361b0)
Oct  3 07:27:16 server01 docker[673]: #011/usr/src/docker/vendor/src/github.com/hashicorp/memberlist/net.go:216 +0x1912
Oct  3 07:27:16 server01 docker[673]: created by github.com/hashicorp/memberlist.(*Memberlist).tcpListen
Oct  3 07:27:16 server01 docker[673]: #011/usr/src/docker/vendor/src/github.com/hashicorp/memberlist/net.go:196 +0x163

docker version:
Client:
 Version:      1.12.2-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   45bed2c
 Built:        Tue Sep 27 21:29:42 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.2-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   45bed2c
 Built:        Tue Sep 27 21:29:42 2016
 OS/Arch:      linux/amd64

docker info: (after restarting the daemon)
Containers: 20
 Running: 0
 Paused: 0
 Stopped: 20
Images: 26
Server Version: 1.12.2-rc1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 101
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay host bridge null
Swarm: active
 NodeID: boq2xo0lo5o10zdllt5c8z0zs
 Is Manager: true
 ClusterID: eir1c28uzqvpjfn1rqeu9n774
 Managers: 5
 Nodes: 5
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-38-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 990.7 MiB
Name: server01
ID: USJC:HW4V:NKK6:MWHX:N7YO:OWJK:SJ6B:U2JQ:7DPZ:PGY2:IVME:K5W7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Labels:
 provider=amazonec2
Insecure Registries:
 <IP_ADDRESS>/8

ping @mrjana
@vieux

offending code is here:
	if !bsm.Unsolicited {
		nDB.RLock()
		ch, ok := nDB.bulkSyncAckTbl[bsm.NodeName]
		nDB.RUnlock()
		if ok {
			close(ch)
		}

		return
	}

@lbguilherme Thanks for the report. Will fix it.

Fixed by #27120


Audit "Reset Sandbox" and confirm all entities/resources being removed and all Locals reset

I've confirmed all entities and resources are being removed/reset.
I still need to audit State and Local


Added rudimentary support for VKB Gladiator NXT Premium Left and Righ…

There is great demand for support of the VKB Gladiator NXT Premium sticks, see forum threads:
https://forums.frontier.co.uk/threads/edrefcard-makes-a-printable-reference-card-of-your-controller-bindings.464400/
The VKB Gladiator NXT uses the Kosmosima grip (albeit with slightly different button mappings that i accounted for) but with a different base.
I quickly hacked this together based on the VKB Kosmosia SCG template and included a working bindings file for the left and right variant, taken from: https://edrefcard.info/binds/novitw.
This is not an ideal solution, because the inputs on the joystick base are still missing, but this would be a start to finally support the VKB Gladiator NXT in EDRefCard.
It would be nice if someone would integrate the mappings for the base as well, maybe based on the images available in joystick-diagrams.

Coverage remained the same at 44.454% when pulling 4c8a15a7e1c5fe9a254744779d67d222080eba4f on awerschlan:dev into 31bd67e0e9d738bffe7d7cc6341441f7b3e05fd5 on richardbuckle:dev.

Coverage remained the same at 44.454% when pulling 4c8a15a7e1c5fe9a254744779d67d222080eba4f on awerschlan:dev into 31bd67e0e9d738bffe7d7cc6341441f7b3e05fd5 on richardbuckle:dev.

Thanks for this. PR #56 builds further on this so we'll merge that one instead.


Data processor requests a record from the SQS Queue (create this)

Completed in https://github.com/LouisvilleMetro/WazeCCPProcessor/tree/feature/terraform-buildout


babel-loader should be configured to ignore node_modules by default

We should be defaulting babel-loader to ignore /node_modules. We should not be running code in /node_modules through the Babel transpiler as external packages are or should not be requiring any Babel transpilation. That should be happening in their build step.

Fixed via #65.


Also allow Linux Mint users to run script

Please add 'lisa' (and maybe more Mint codenames) to the list of the allowed versions (line 188), so that Linux Mint users can use your script, too. See here for Linux Mint  codenames (and which Ubuntu version they are based on): http://www.linuxmint.com/oldreleases.php
Thanks for the cool script.
Regards
Christoph

Hi,
Thanks for the feedback. Good idea. I'm just about to commit a new version of the script which should work with Linux Mint. Let me know how it goes.
Regards, Martin.


add scienceBoostTitanium unlock

addresses Issue #3 where it appears scienceBoostTitanium was not being unlocked

added by myself with v2.4.0


Fix RHEL-07-010050 default enable/disable setting

The /etc/issue and /etc/issue.net banners shouldn't be dependent on GUI
Signed-off-by: Dan Barr<EMAIL_ADDRESS>

Hi @danbarr
Thank you again for raising issues when you find them and providing the solution. We are still working to get the pipeline setup so all PRs are enabled to check by default.
To save waiting any longer for this to be put in place i have pulled yours into #361 (hopefully approved and pulled into devel later today). so that we can get you commit added and checked in the pipeline.
Thank you once again for continuing to assisting us in improving the roles.
uk-bolly


DBZ-3970 fix Openshift pods list image preview not found

@uidoyen Thx! No need for me to review such things really. Just go ahead and apply the fix yourself :)

Can you take care of the other PRs, merging and closing them? Thx!


Ordinals API query for genesis block returns total:0 but there are results in the array

Describe the bug
Ordinals API query for some genesis blocks always returns a "total: 0", but there are results. With a total equals 0, it´s not possible to paginate the results.
To Reproduce
Steps to reproduce the behavior:

Go to https://api.hiro.so/ordinals/v1/inscriptions?genesis_block=806117
View the results:  {"limit":20,"offset":0,"total":0,"results":[{"id":"ca2a8abcdfd...
Change the genesis_block values
Some blocks will show the correct total, but mostly between 806117 and 807269 will display total: 0

Expected behavior
All blocks should return the correct total value

Fixed by https://github.com/hirosystems/ordinals-api/pull/248


[WIP] add cache management for firebase auth

@jeromegamez It's a beginning to discuss how we would like to implement it. It's works like this but it's not the best way to do it

@Orkin Could you please have a look at #19 and see if that would work for you? It's a) not pretty and b) flawed, but I think it would work in most cases.
There's one edge case: when multiple projects are defined, the cache config from one project could overwrite the config from another project, but I haven't heard yet of someone using multiple Firebase projects in one Symfony application, so fingers crossed that nobody does 🤞

Replaced by #19 in agreement as per https://github.com/kreait/firebase-bundle/pull/19#issuecomment-561554026, thanks for your work and time!


Inventory Weight for Items

Would it be possible to add a function to the Item weight so it showed on the inventory tab and had a total at the bottom? It would make keeping track of inventory totals much easier.

I'd also use this if it were available.

Technically this is a duplicate of #233


Wikigeeks: on mobile screens, the red box is being reduced to 1px and displays as straight line. Text is centered

This is just a cosmetic issue and doesn't affect gameplay.

Cannot reproduce - may have been already fixed

Can't reproduce on any of the lab iOS/Android mobile devices


[📑 Docs]:  ShareMenu getting stacked over the footer

Hello Everyone. Heyy @derberg @magicmatatjahu :grinning:
I was working for the press and docs layout issues, and found some glitch, where the social media list dropmenu in DocsLayout is getting stacked over the footer.

I think, if you show me where this component is being rendered, I can fix this one :grinning:
Thank you :grin:
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This error is still present on the website. @Harish-b-03, do you want to work on this?

Closed via #1166


10Fold: Review the InfoWorld Technology of the Year Award opportunities

Review the InfoWorld Technology of the Year Award opportunities

We didn't submit anything


JARM Matches

What if few of our servers have similar JARM signatures listed in the CSV file, is it a 100% certainty that our external facing infrastructure is compromised?

Sorry to reply only now. It can't be 100 percent certain. We believe that JARM is only an auxiliary tool and not a direct evidence to determine the victim host. Please refer to:
https://quake.360.cn/quake/#/reportDetail?id=5fd8336e61cd410c7f25b898
https://blog.cobaltstrike.com/2020/12/08/a-red-teamer-plays-with-jarm/

Thanks imjdl for responding, and thanks to you and your team for the guide


Deprecate in favor of annotate gem

The annotate gem seems to be actively supported.

I think annotate and yard-activerecord serve somewhat different purposes. If there are things you'd like to see added to the project or you're experiencing issues using it, I welcome that feedback.

It's ok. You rock @theodorton . I hadn't seen commits in a while so I figured it might be easier to suggest to deprecate. Great stuff with the updates!


Instantiation

There is a problem in instantiating a Profile, if no instance that could be cloned would already exist.
Particularly, since the capabilities are attached to the instances of Profile.
Potential Solution:

If not assured that there is always at least one instance of Profile, an RPC shall be defined.
This RPC shall

either generate a default Profile, which can serve as a prototype for clones,
or create and edit actual instances of Profile.

Proposal to the 5G-xhaul call on 11th of January 2023:
The following changes shall be made to the UML modelling of the SchedulerProfile:

An Interface of name SchedulerProfileOperations shall be created

.

An Operation of name createSchedulerProfile shall be created
It shall be idempotent
It shall be atomic
It shall have the following input parameter:

_baseSchedulerProfile :: Profile [0..1] with comment "If filled with an UUID of an existing instance of SchedulerProfile, the RPC shall create a duplicate of the existing instance."

It shall have the following output parameter:

_createdSchedulerProfile :: Profile [1] with comment "UUID of the instance of SchedulerProfile that has been newly created."

.

An Operation of name modifySchedulerProfile shall be created
It shall be idempotent
It shall be atomic
It shall have the following input parameters:

_existingSchedulerProfile :: Profile [1] with comment "UUID of the instance of SchedulerProfile that shall be modified."
affectedQueueList :: QueueBehaviorType [1..8] with comment "List of queues that shall be subject to modifications. queueName to be used as key attribute for identifying the queue that shall be modified."

.

An Operation of name deleteSchedulerProfile shall be created
It shall be idempotent
It shall be atomic
It shall have the following input parameter:

_obsoleteSchedulerProfile :: Profile [1] with comment "UUID of the instance of SchedulerProfile that shall be deleted."

UPDATE on an Additional Change:
In accordance with the modelling in all other Profile definitions, the following changes have been made on the existing modelling:

SchedulerProfile_Pac::_schedulerProfileConfiguration has been changed from read/write to read-only.
SchedulerProfileConfiguration::queueBehaviorList has been changed from read/write to read-only.

UML changed as described.


Request: Add user definable sets to Modular Fungi

Your module is great.  Thank you.  I have a suggestion to increase functionality.
Adding the following lines to the Blanks.cpp (between lines 73 and 74) Should add 2 rows for user definable art if my logic is sound.  I'm not a great programmer by any means.
fileName[2] = FileName("res/User1_%dHP.png", x);
fileName[3] = FileName("res/User2_%dHP.png", x);
Alternately you can move those definitions to a user editable list of plate sets so people can make their own sets, share them, etc.
If the files are absent VCV does not error, it simply produces a black dropshadow that is movable like a blank (cool in its own right)  If you include a set of blank plates labeled as "UserTemplate_3HP.png" which I can throw together for you if you like.  Users can edit them and make thier own sets that won't be overwritten when the module updates. (I tested it with my own and assuming the code to add the categories works, downloading the mod does not overwrite files in the folder that are not normally part of the mod. (delete)
I Think this would be a great feature for the mod and would be happy to make an instructional video for editing and using the extra user templates.
Regards,
Jamie

We thought about this.
But decided no.
It's taken me far too long to respond, for which I apologise.


P8

Big Ideas
A) Defense:
What does the Defense do?

Frustrate The Offense

How Does Defense do it?

Take Anything easy
Make them work harder than us
Smother them like heavy blanket

B) Offense
What makes everything easier on offense?

Creating Space

What makes it easier to get open To Catch a Pass?

Create Space

What makes it easier to get open For a Shot?

Create Space

What makes it easier to dribble?

Create Space

AND how can you Create Space?

Change your Speed Or your Direction

How can WE create space?

I can set a screen
Use me as a screen
I can get a defender to chase me away

C) Passing
There are two people responsible for a good pass?

The Passer
The Catcher

Who has more responsibility?

The Passer

Who decides if the catcher "is open" ?

The Passer

Who should scream "Im Open" or "Pass to Me" at the Passer?

No One

ALSO: Announcement: 3 seconds is a rule where you are not allowed to hang out in "the key" (especially under the basket) - So, I am going to work with the refs to get an idea for when and how many times they might call 3 seconds.
All I need you to know, is I will say Clear Your Feet - that means Get your both Feet out of the key and you can come right back in and do what you want in the key.
If you hear me say 3 seconds, which I probably won't, it will be for the other team.

Review From Last Time:

Rebounding

In Front
Arms Up
Get The Ball

Wall 2 Wall Drill

4 Spots Drill

Dribble Around Defense

Dribbler -> Defender
Dribbler Zig + Zag
Defender turns + runs
Looking for Defensive L hands; Down hand is at the toes
Looking for Offense to dribble with your outside hand, and use your guard hand

Captains: - (Layla, Lui, MK)

Work on Pace/Tempo
For Scrimmage / Captains must complete passes before shooting.

Rubies vs Rainbows

Lui, MK, Iza, Lyla, Violet
Layla, Jolee, Ariel,  Sophia, Kenedy

rebounding drills; https://www.youtube.com/watch?v=pFRlEOeWpKY
24 in 2; https://www.youtube.com/watch?v=Gsxfbk0_bsY&list=PLoMdDjCZ-6lLbtOoWDASaYhZEsBePaiyF
15 in 2 (aka: 3 line layups) for 2 min

Center line - swing pass left & rebound + Inbound Pass from baseline (rotate to )
center goes left
left pass to right line, Slide over for inbound pass - then to center
right line shoots, and then becomes left lane


SqlAlchemy -> SQLAlchemy in README.md

Source: http://www.sqlalchemy.org/
Also made some lines in the markdown more dev readable, no visual changes to end users.

Coverage remained the same at 71.271% when pulling 1a52f9ab558cf2f1e5a34e9b46047dcadbb4caa5 on AaronCritchley:patch-1 into c2baa53b060cda4352582d238f53369e3f7773d0 on airbnb:master.

If that's important to you can you update the tutorial as well?

Coverage remained the same at 71.374% when pulling aeb18de697011099e477602e8c052ddb5f953c2f on AaronCritchley:patch-1 into c2bb49fec567c72f9752f99db783225787d87eb6 on airbnb:master.

Coverage remained the same at 71.374% when pulling aeb18de697011099e477602e8c052ddb5f953c2f on AaronCritchley:patch-1 into c2bb49fec567c72f9752f99db783225787d87eb6 on airbnb:master.


✅  Blog icon validations

refs #7688
Adds an uploads/icons/ endpoint to the api route to get a seperate entry point for blog icon validations.
The blog icon validation will specifically check for images which have icon extensions (.ico & .png) and throw errors if:

the icon file size is too big (>1000kb)
the icon is not a squaer
the icon size is smaller than 32px
the icon size is larger than 1000px
the icon is not .ico or .png extension

TODOs for this PR:

[X] get image dimensions
[X] validate for image

[X] size
[X] form (must be square)
[X] type
[X] dimenstion (min 32px and max 1,000px)

[X] return appropriate error messages
[X] write tests

TODOs for #7688:

[X] Figure out, which favicon should be used (uploaded or default) -> #7713
[ ] Serve and redirect the favicon for any browser requests, incl. redirects -> #7700 [WIP]
[X] Upload favicon via general/settings and implement basic admin validations -> TryGhost/Ghost-Admin#397
[X] Build server side validations -> this PR

This one is ready for review and merging 🎉


About semseg Visualization

Sorry to bother you.
I followed the readme file and first ran a training and test without visual commants on main_semseg.
Then, after running "python main_semseg.py --exp_name=semseg_eval_6 --test_area=6 --eval=True
--model_root=outputs/semseg/models/ --visu=area_6_office_1 --visu_ format=ply",
it prompts the error "OSError: data/indoor3d_sem_seg_hdf5_data_test/raw_data3d/Area_6/office_1(7007).txt not found."
I read the file "indoor3d_util.py" and learned that "/raw_data3d/Area_6/office_1(7007)" seems to be generated automatically during the data preprocessing, but the actual operation does not seem to be generated correctly.
Do you understand how to deal with this problem?
Thanks!

I retest my code and find no error. It seems that you have problem in np.savetxt, or you once interrupted the data preprocessing. You can delete data/indoor3d_sem_seg_hdf5_data and data/indoor3d_sem_seg_hdf5_data_test and follow README to rerun a testing task and a visualization task.


Misalignment of "Installation" in table of contents

The Installation item in the table of contents seems to be incorrectly aligned, causing unnecessary spacing. I'm guessing that it's probably not at the same level as the other contents (as in nested), I could be wrong though.

great point and yes it does look misaligned and not on the same level
we can address this

happy to take any PRs for this if anyone wants to tackle it!

I am on it @dillionverma

tysm @gokh4nozturk
merged


Support for defining decorator sets in a human friendly way

Feature Request 🛍
Support for defining decorator sets in a human friendly way.

Currently if I want to define decorators inline on the model, it is easy and my preferred way to define decorators.
i.e.
concept Car {
   o String make
   @uiHide()
   o String vin
   o String model
}

If I want to keep my model clean and separate the concerns of something like the UI application that will render this model, I want to be able to store a decorator set in a separate file instead of inline on the model like I showed above. Currently I would have to either write the serialized JSON form of my desired decorator set, or I would have to

write the decorators inline on the model
run the command line to output the JSON decorator set file and save that file
remove any of my inline decorators

Instead, I would like a way to write up my decorator set(s) in separate files in a business user friendly way.
Use Case

We have models that will be displayed in a UI component. We want a clean way to store UI specific concerns for how our model(s) should display in our UI component. A decorator set inside a separate file is a great way to manage separation of concerns from the model and expressing UI behavior, but maintain them is not scalable.
Possible Solution

Context

Detailed Description

This sounds useful. We could add API (and expose via command line) that walks a model and grabs all decorators, creating a decorator command set for the decorators found.
E.g.
To apply a decorator command set to a model, saving the modified CTO files to the ./modified directory:
concerto decorators apply --model test.cto  --input decorators.json --output ./modified

To create a decorator command set from the decorators on a model (writing the result to decorators.json):
concerto decorators create --model test.cto

Would that meet this requirement? Note that the decorators created in decorators.json on the CTO files would have to be removed by hand...


Default Parameter Code Valid Value DTO Check

Overview
The DTO check for valid Default Parameter Codes values excludes "SORX" (Maximum SO2 Emission Rate) and includes "BWA" (Moisture Fraction in Ambient Air).  Twenty-three instances of Default Parameter Code "SORX" currently exist with all beginning on January 1st, 2009.  No instances of "BWA" exists and could only be entered through a screen in ECMPS 1.0.  The purpose of this ticket is to update the DTO check to allow the import and entry of MP JSON that contains "SORX" Default Parameter Codes.
Changes

Change the checking for valid Default Parameter Codes in include 'SORX".
Determine whether "BWA" should be included as a valid Default Parameter Code and remove it if it should not be included.
Implement an Import Default Parameter Code crosscheck (or list) to define the valid Parameter Codes for Default records, and use that table in the Default Parameter Code DTO check.

Technical Information
Currently the DTO check for the Default Parameter Code uses the following to get a list of the valid parameter codes.
SELECT distinct parameter_code as "value" FROM camdecmpsmd.vw_defaults_master_data_relationships
It returns "BWA" but does not return "SORX".  "BWA" is not a Default Parameter Code in the ECMPS 1.0 XSD, but "SORX" is.
ECMPS 1.0 XSD vs ECMPS 2.0 View Default Parameters

Default Parameter
Description
ECMPS 1.0 XSD
ECMPS 2.0 View

BWA
Moisture Fraction in Ambient Air
No
Yes

CO2N
CO2 Minimum Concentration (pct)
Yes
Yes

CO2R
CO2 Emission Rate (ton/mmBtu)
Yes
Yes

CO2X
CO2 Maximum Concentration (pct)
Yes
Yes

FLOX
Maximum Stack Flow (scfh)
Yes
Yes

H2O
Moisture Percentage (pct)
Yes
Yes

H2ON
Minimum Moisture (pct)
Yes
Yes

H2OX
Maximum Moisture (pct)
Yes
Yes

MHHI
Maximum Rated Hourly Heat Input Rate (mmBtu/hr)
Yes
Yes

MNGF
Minimum Gas Flow Rate (hscf)
Yes
Yes

MNHI
Minimum Heat Input Rate (mmBtu/hr)
Yes
Yes

MNNX
Minimum NOx Emission Rate (lb/mmBtu)
Yes
Yes

MNOF
Minimum Oil Flow Rate
Yes
Yes

NOCX
Maximum NOx Concentration (ppm)
Yes
Yes

NORX
Maximum NOx Emission Rate (lb/mmBtu)
Yes
Yes

NOXR
NOx Emission Rate (lb/mmBtu)
Yes
Yes

O2N
Minimum O2 Concentration (pct)
Yes
Yes

O2X
Maximum O2 Concentration (pct)
Yes
Yes

SO2R
SO2 Hourly  Emission Rate (lb/mmBtu)
Yes
Yes

SO2X
Maximum SO2 Concentration (ppm)
Yes
Yes

SORX
Maximum SO2 Emission Rate (lb/mmBtu)
Yes
No

Additional Information
Locations with "SORX" Default Parameter Codes

ORIS
Facility
Locations

1913
Inver Hills
1, 2, 3, 4, 5, 6

4014
Wheaton Generating Plant
1, 2, 3, 4, 5, 6

10143
Colver Green Energy
AAB01

Issues Found During Performance Testing
Additional issues were found during performance testing. Per 9/12/2024 performance testing meeting, documenting these issues here as part of this ticket research.
Example 1: The following types of import and evaluation errors are generated for ORIS 1913, 1 & 2.
Import:

Evaluate: These are related to inactive SORX default records (1/1/2009 - 12/31/2009).

Example 2: The following types of import and evaluation errors are generated for ORIS 4014, 2, 3 and 4.
Import:

Evaluate: These are related to inactive SORX default records (1/1/2009 - 12/31/2017).

Verified in dev for for ORIS 4014 Config 2:
Hey @djw4erg, I have a question for you: when started testing in dev, I reverted, exported, and imported the MP file, then evaluated the file. The evaluation output a critical error, QUAL-38-C, "You have not reported all the required Monitor Qualification Percent records for QualificationTypeCode PK BeginDate 1/1/2008." I added a Qualification Action (Qualification Year 2024) , and was able to complete my QA testing. Could you confirm if this QUAL-38-C error is expected? If so, I will move the ticket to QA Done. Otherwise, we should determine alternative next steps or talk at the Friday Standup meeting, thanks.
Resource: This is a link to the passing MP file of the Wheaton Generating Plant, 2-(11-20-2024).json.
Acceptance Tests:
"SORX" defaults:

[x] Allow importing of "SORX" defaults.
[x] Allow the creation, editing, and display of "SORX" defaults in the Monitor Default create/edit screen.
[x] Evaluate the data and make sure no issues are encountered.

"BWA" defaults:

[x] Allow importing of "BWA" defaults. (Currently there are no BWA defaults)
[x] Correct the creation, editing, and display of "BWA" defaults in the Monitor Default create/edit screen.
[x] Evaluate the data and make sure no issues are encountered.

Verified in dev for for ORIS 4014 Config 2:
Hey @djw4erg, I have a question for you: when started testing in dev, I reverted, exported, and imported the MP file, then evaluated the file. The evaluation output a critical error, QUAL-38-C, "You have not reported all the required Monitor Qualification Percent records for QualificationTypeCode PK BeginDate 1/1/2008." I added a Qualification Action (Qualification Year 2024) , and was able to complete my QA testing. Could you confirm if this QUAL-38-C error is expected? If so, I will move the ticket to QA Done. Otherwise, we should determine alternative next steps or talk at the Friday Standup meeting, thanks.
Resource: This is a link to the passing MP file of the Wheaton Generating Plant, 2-(11-20-2024).json.
Acceptance Tests:
"SORX" defaults:

[x]  Allow importing of "SORX" defaults.
[x]  Allow the creation, editing, and display of "SORX" defaults in the Monitor Default create/edit screen.
[x]  Evaluate the data and make sure no issues are encountered.

"BWA" defaults:

[x]  Allow importing of "BWA" defaults. (Currently there are no BWA defaults)
[x]  Correct the creation, editing, and display of "BWA" defaults in the Monitor Default create/edit screen.
[x]  Evaluate the data and make sure no issues are encountered.

FYA - @esaber76 and @bryanramirez1

@ibarra-michelle - yes this is expected for any active locations with active PK or GF qualification records. They need to add them every year in the MP and our data is so old...


Improve Check speed by pruning userset lookups that cannot result in success

The introduction of the 1.1 type system in model definitions paved the way for Check performance improvements. Some were implemented here: https://github.com/openfga/openfga/pull/545
I believe that we can build upon the changes introduced in that PR and use the type information to further prune and short-circuit userset lookups that cannot result in access being granted.
Consider this toy authorization model:
model
  schema 1.1
type user
type oauth_client
type document
  relations
    define owner: [user]
    define can_write: [oauth_client] or owner

And a Check request:
POST /check:
{
  "tuple_key": {
    "user": "oauth_client:123",
    "relation": "can_write",
    "object": "document:abc"
  }
}

The Check system ends up doing two things to resolve this in CheckDirect:

Checking the direct relationship; querying the database for the full < document:abc, can_write, oauth_client:123 >
Checking the userset relationship; querying the database for the list of tuples satisfying object=document:abc, relation=owner

https://github.com/openfga/openfga/pull/545 made some changes that improved both of these parts:

(1) is completely avoided if the type definition makes the relationship impossible
(2) passes a type filter to the storage system; instructing it to return fewer tuples.

I think that for some models, (2) can be short-circuited in a way similar to (1). In this example authorization model, an oauth_client cannot be an owner of a document. If the type system can be used to understand this restriction, then we can avoid a db call completely for (2).

Yep, definitely. The relationship ingresses can be used to prune the search space. It's something we're aware of and have talked about adding optimizations for. We've also been working on the storage layer to reduce/filter the related types at the query layer. That will help as well.

Just to elaborate on my last comment for any future readers.. Imagine you have a model such as
type user

type employee

type group
  relations
    define member: [employee]

type document
  relations
    define viewer: [user, group#member]

If you call Check(document:1#viewer@user:jon), then the evaluation path for group#member relationships with document#viewer is an unecessary path in the search because there is no path in that subgraph that leads from document#viewer through group#member to a user object. group#member is only directly related to employee object types, and so there would not exist any path leading to a user object type from that subgraph.
We refer to these paths of connectivity in the graph of relationships as "relationship ingresses" or entrypoints. The ingress' from some source to some target are the paths that connected via directly related user types as you expand the graph.

See https://github.com/openfga/openfga/issues/852


Better Tooling ?

Our current way to compile/transpile Javascript is a custom webpack config, which we needed because React's default preconfigured Create React App toolchain (which itself is based on webpack) couldn't inject environment variables in JavaScript at build time.
I realized that it can do that now, but only with env vars starting with REACT_APP_.
React generally recommends writing your own webpack config if using it with something like flask, but we don't need any advanced webpack features so I think its time to retire our config.
On the flip side, switching to Create React App would give us:

Proper Code splitting and our final prod js bundle size is halved. (tested the half thing by compiling dashboard with CRA, but I think it can be reduced even more if we make it aware of routes later someday)
No need to maintain or rely on webpack.config.js
Warnings about bad JS/React practices
Better debugging (and better error messages during dev)

All this can be done by writing your own config, but its too complicated and I'm not a fan of the JS/npm ecosystem.
BTW, if we do this, we'll have to provide another env variable in openshift, something like REACT_APP_DEPLOYMENT because it needs to start with that.
All of the code will remain the same, but there might be some changes to the folder structure. I can do it next weekend if everyone is okay with it.

I'm not a fan of the JS/npm ecosystem.

me too :)
+1 on simplifying things and dropping the config if we don't need it any more

How do you provide an environment variable at build time ? There is no ARG command in the Dockerfile currently. Is there another way to do it that I'm unaware of ?

How do you provide an environment variable (like DEPLOYMENT) at build time ? There is no ARG command in the Dockerfile currently. Is there another way to do it that I'm unaware of ?

Example here: https://github.com/packit/deployment/blob/main/openshift/packit-service.yml.j2#L51
And this one is for dashboard: https://github.com/packit/deployment/blob/main/openshift/dashboard.yml.j2#L48

How do you provide an environment variable (like DEPLOYMENT) at build time ? There is no ARG command in the Dockerfile currently. Is there another way to do it that I'm unaware of ?

Example here: https://github.com/packit/deployment/blob/main/openshift/packit-service.yml.j2#L51
And this one is for dashboard: https://github.com/packit/deployment/blob/main/openshift/dashboard.yml.j2#L48

Thanks !

These look like they're provided at runtime, after the image is built. (please correct me if I'm wrong though) That is okay currently, but with the new tooling we will have to pass it at build time, with a build arg providing the env variable, with different env vars for the stg and prod image tags.
Example:
podman build --rm \
    --build-arg REACT_APP_API_URL=https://stg.packit.dev/api \
    -t quay.io/packit/dashboard:stg -f Dockerfile .

oh ok, sorry
what about this then? https://github.com/packit/dashboard/blob/main/.github/workflows/build-and-push.yml#L41
looks like it is possible with that action: https://github.com/marketplace/actions/buildah-build#inputs-for-build-without-dockerfile

what about this then? https://github.com/packit/dashboard/blob/main/.github/workflows/build-and-push.yml#L41
looks like it is possible with that action: https://github.com/marketplace/actions/buildah-build#inputs-for-build-without-dockerfile

Yes, thanks. This is it. We can specify build args here.

Fixed by #96?
@IceWreck or is there something more to do?

No, its done


counter resets

before I go further with testing / documentation on this i wanted to open an issue and see if you're interested, if there's a better approach etc..
problem: per instance counters don't reset, they count up forever, our infrastructure changes all the time as we deploy new versions of services so the graphs produced for count are only useful for understanding how much work an instance did (and when you aggregate they look like shark fins /| /| /|) - which is not what we're looking for, what we actually want is for example how many calls were made to method x or external API y per minute/hour/day.
we're working with datadog for graphing / alerts - using their forwarder (java/metrics -> graphite(carbon-relay) - > datadog agent)
the datadog agent resets counters if you use their sdk, so this is where the idea came from..
the code changes are currently just in the console reporter & graphite reporter (though it'd be easy to do this for all reporters)
GraphiteReporter.forRegistry(rego)
                .convertDurationsTo(TimeUnit.MILLISECONDS)
                .convertRatesTo(TimeUnit.SECONDS)
                .withResetCounters() // this is new

the LongAdder already has a sumThenReset method so the implementation is just to call that via new methods on the Timer/Counter/etc.. if the reporter is built with "withResetCounters" enabled
** i understand that this is not atomic but should be good enough, these are metrics not financial audit data though if you have a better solution that performs i'd be open to it of course
sound like something you'd accept if I finish up the other reporters, do some documentation and testing?
here's a working branch
https://github.com/willblackie/metrics/tree/counter_reset
thanks in advance

Reset comes up a lot, and the current policy is that we can't support resets, if for absolutely no other reasons than multiple reporters would end up clobbering each other, and that counters don't necessarily monotonically increase.


⚠ Secret Website 3 has degraded performance

In a88b6cc, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2158 ms

Resolved: Secret Website 3 performance has improved in 4e4658b.


Add a engines.node field in package.json

When an engines.node field is present in package.json, our builds will show some nice error message when a site is using a Node.js version that's too old for this plugin. This provides with a better user experience (otherwise the plugin might crash in a more obscure way).
Would it make sense to add this field in package.json, based on the minimum Node.js version?

I believe the plugin has it here:
https://github.com/netlify/netlify-plugin-gatsby/blob/7d6fd6380cc573cfe43d47f1b47c4a307003abfb/plugin/package.json#L30
It would still be good to add it at the top level.

Oops, I did not notice this repository had two package.json! Sorry about the noise. :pray:


[scoped-elements] Wrongfully replaces non-scoped tags

Using<EMAIL_ADDRESS>Example:
import {html, LitElement} from 'lit-element';
import { ScopedElementsMixin } from '@open-wc/scoped-elements';

class Button extends LitElement {
    render() {
        return html`button`;
    }
}

class OtherThing extends LitElement {
    render() {
        return html`other thing`;
    }
}

customElements.define('my-other-thing', OtherThing);

class Container extends ScopedElementsMixin(LitElement) {

    constructor() {
        super();
    }

    static get scopedElements() {
        return {
          'my-button': Button,
        };
      }

    render() {
        return html`
            Button: <my-button></my-button>
            OtherThing: <my-other-thing></my-other-thing>
        `;
    }
}

This results in
Button: <my-button-55790></my-button-55790>
OtherThing: <my-other-thing-55789></my-other-thing-55789>

I would have expected instead
Button: <my-button-55790></my-button-55790>
OtherThing: <my-other-thing></my-other-thing>

because I've never set my-other-thing as a scoped element and it's defined somewhere else.
I've worked around this for now by doing
static get scopedElements() {
    return {
        'my-button': Button,
        'my-other-thing': customElements.get('my-other-thing'),
        'my-other-thing2': customElements.get('my-other-thing2'),
        'my-other-thing3': customElements.get('my-other-thing3'),
        'my-other-thing4': customElements.get('my-other-thing4'),
    };
}

but that's ugly and error prone..

In case this is in purpose, my use case is that I'm porting things one by one to scoped elements, and having this all or nothing makes things complicated.

hey @lazka 👋
this is indeed on purpose. The currently proposed spec says every scoped registry is "new". There is no inheritance from the parent or global registry.
Hence all components you want to use in your scoped registry need to be registered.
We definitely should make this more clear in the docs 😅
@manolakis can you make sure that we have a "warning/info" in the docs about it... and that
'my-other-thing': customElements.get('my-other-thing'),

is the recommended way to "reregister" from the global registry if needed.

Thanks, having this in the docs like you described would have helped me.


bug in addMonths

dateFns.addMonths((29 january), 1) == (1 march), but should be (28 february)
/cc @paraboom @kossnocorp @dolbyzerr

Fixed in v0.14.9

:+1:


Crashing upon Unpacking CoinMayhem Mod.

And it was closing instantly the cmd.
The mod can be found on Mod browser and i don't know why is it not working.

Open the program through a command prompt, so the window stays open after a crash and show me the actual exception.


remove spend scaling step from budget optimizer

When looking into https://github.com/pymc-labs/pymc-marketing/pull/1044 I encountered the following issue: The budget to allocate in the example is of the order of ~ 1e6 and I was getting an uniform split
pd.Series(mmm.optimal_allocation_dict)

Direct Mail       1.972773e+06
Insert            1.972773e+06
Newspaper         1.972773e+06
Online Display    1.972773e+06
Radio             1.972773e+06
Social Media      1.972773e+06
TV                1.972773e+06
dtype: float64

Nevertheless the plot
fig, ax = mmm.plot_budget_allocation(samples=response, figsize=(12, 8))
fig.suptitle("Response vs spent per channel");

showed

which was values of the order ~ 1e12.
I talked with @carlosagostini and notice that with the latest changes we do not need to scale the spends.

📚 Documentation preview 📚: https://pymc-marketing--1070.org.readthedocs.build/en/1070/

In https://github.com/pymc-labs/pymc-marketing/pull/1070/commits/bc78e643b442f10650323877ffd6a002641874e1 I re-ran the notebook. The results look as expected right?

BTW: I changed the colours so that they can be synced with the user palettes (that is why we are using the "C0" and "C1") syntax