Org Allow List Curation for Desktop Extensions

Tell us about your request
Extensions can integrate with services external to our organization that could pose a security risk without some analysis by the Organization.  Providing an allowList enforced by Docker Desktop similar to Chromium Extensions offers us the opportunity to vet the functionality before allowing associates to install.
Which service(s) is this request for?
Docker Extensions w Business License
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Installing things off the marketplace could lead to unplanned data leakage and more difficult discussions and less flexible controls
Are you currently working around the issue?
Extensions is new, but trying to avoid coarse grain controls to try and mitigate risk
Additional context
Ideally it should have a "requested" status that notifies Org owners of a marketplace request and allows them to evaluate the Extension and add to allowList if appropriate.  That should either install on next Desktop launch or notify Desktop user of status change.  You could also add metadata like allowed and denied that could adjust the available extensions view.

@byjrack Thank you for the suggestion.  We haven't started looking at Business specific features for extensions yet, but have plans for them in the future. We'll add this to the list of ideas we are investigating.

Yup given some of the more recent issues with Marketplace apps providing an indirect route into private Orgs through functionality or access there is a more heightened sensitivity to what could happen.  A review process can't eliminate those threats since extensions change and use cases as well, but some governance gives us one lever to try and manage them.  And ideally pull the plug if something unexpected arises.

Hi everyone - PM of Extensions here :)
We are actively investigating a solution for this now. If you have any additional feedback we would love to hear it!

No real details beyond what was there.
Similar workflow could be seen with Github Actions controls for Org admins
https://docs.github.com/en/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#allowing-select-actions-and-reusable-workflows-to-run
The allow list is currently a bit less ideal, but possibly a model similar to https://docs.github.com/en/organizations/managing-oauth-access-to-your-organizations-data/approving-oauth-apps-for-your-organization

And I think this will be less popular than just a simple allow list, but having mandatory extensions for Org members might be nice.  Let's say an Org authors their own extension and puts it in their Org as a private repo could you set that as mandatory so that all new Org members get it.
Maybe something akin to https://support.google.com/chrome/a/answer/9867568?hl=en and how Chrome allows admins to curate.


test_fit tolerances

@gelzinyte, I'm hoping to tweak and tighten the tolerances for this test. Sound okay?

Certainly, the previous form wasn't quite right, I think.

Great, thanks. Any guesses as to why atol = 1e-3 is the lowest I can go right now? Even if I restrict it to the RMSEs and skip the relative errors.

The values compared against are what I had when fitting on my laptop and running tests locally still gives the same results within machine precision. So maybe the differences are because of different architectures and related libraries? I don't have any sense of how much the accuracy is expected to change with different set-ups, but atol = 1e-3 seems high?

Thanks, that's helpful. I'd be more comfortable with atol=1e-6 for the RMSEs. I'll try on other machines too. Maybe we'll need to change the LSQR tolerances.

I don't have a view on this so happy for you to merge whenever ready.

@gelzinyte @cortner, I propose we merge this now. I added new tests (for a tiny silicon dataset) that cover the QR, LSQR, RRQR, BRR, and ARD solvers. I've been using these tests with ACEfit, so adding them here is a step towards sunsetting IPFitting.
I've set strict tolerances (atol=1e-5 for config-level RMSEs) for all solvers except LSQR. For reasons I still don't understand, LSQR has more machine-dependence than the others. I've tried --math-mode=ieee, which does change the RMSEs slightly, but doesn't eliminate the machine dependence. For now, I've added a warning saying the LSQR test tolerance is loose - maybe we'll figure it out at some later point.

Blast, after saying that I now see the ARD test failed on CI.


[Question] How could I embed the drawing (rasterizing?) into some video stream?

Firstly, I would express my appreciation for your work, which is amazing and cool.
If convenient for you, could you give my any hint on doing some stuffs which AE/Pr would do, like video composing, with Flutter widgets and your graphx abilities?
Sorry for my poor knowledge but I want to know if it is possible, for I've known that Flutter is based on Skia. May it be okay to do some special work to be capable of video composing. Which document I should refer to?
Excuse my strange language and thank you 👍

Hi @ryuujo1573 . If you mean capturing a video from a Widget, like screen recorder, you should see if you can find a package in pub.dev
I think Flutter processing has an option to export gifs. Graphx has nothing on the subject.
Did I answered your question?

I've found this “Video Editor in Flutter using dart”, which is the similar case.
Maybe I was wondering how could I harness graphx abilities to make some awesome effects in producing video (or live-stream)...
and seemingly this "Render Flutter animation directly to video" may be the clue to embed the drawing into videos.
Thank you.

sorry the misunderstanding.
You can rasterize any DisplayObject with createImage() (outputs a dart.ui.Image) might be cpu intensive... the callback is async though, so I guess you can have a flag on stage.onEnterFrame to capture the stage for a period of time and save the images in a List, then output every image separately as frame1.png, frame2.png etc then use ffmpeg to join them as video/gif... i doubt u can get 60fps though in this process... and probably will need some fine tuning, but might work.

Is it possible to access Skia so as to draw into the buffer using GPU? (or any APU by some authentic SDK from manufacturers)
I found nothing on how to do this, or maybe I could make a fork to Flutter and mess with bunches of code?
Appreciations, Zhang.

I think you have to recompile the flutter engine with the exposed backend from Skia that you need. That's beyond my knowledge though.

I'll try for that.
Thank you ❤

https://github.com/flutter/flutter/issues/99593
Initiated!
Any advise?


Swift disk partition creation fails for disks larger than 2TB

Encountered following when partitioning 4TB disk:
Error: partition length of<PHONE_NUMBER> sectors exceeds the msdos-partition-table-imposed maximum of<PHONE_NUMBER>

Issue fixed with merge of #1128


Windycity on TeXlive on windows 10

Hello, I'm trying to use windycity but I keep getting the following errors:

Package biblatex Info: Trying to load bibliography style 'windycity'...
Package biblatex Info: ... file 'windycity.bbx' not found.
! Package biblatex Error: Style 'windycity' not found.
l.14711 \RequireBibliographyStyle{\blx@bbxfile}
The bibliography style 'windycity' could not be found.
Package biblatex Info: Trying to load citation style 'windycity'...
Package biblatex Info: ... file 'windycity.cbx' not found.
! Package biblatex Error: Style 'windycity' not found.

Using texlive manager I've verified the package is installed and updated. in the log I have:

Package biblatex Info: Trying to load biblatex style data model...
Package biblatex Info: ... file 'windycity.dbx' found.
(c:/texlive/2018/texmf-dist/tex/latex/windycity/windycity.dbx)

So it finds windycity.dbx but not the .cbx and .bbs files. Am I doing something wrong?

Thanks for reaching out!
This seems like a simple case of not having windycity.bbx and windycity.cbx in the right places. Now, I've never used TexLive on Windows, so I'm not exactly sure where the files and directories there are supposed to go. But since biblatex finds windycity.dbx in:
c:/texlive/2018/texmf-dist/tex/latex/windycity/
...I'd guess that windycity.bbx, windycity.cbx, and american-windycity.lbx are supposed to be there, too, either in the root of the directory or in bbx, cbx, and lbx subdirectories, respectively. Do a search for the files and let me know where they are.
If they're in the root of the windycity directory, try making the bbx, cbx, and lbx directories and moving the files into them. If the files are already in those subdirectories, try moving them into the root of the windycity directory.
If neither works, biblatex should look for them in the directories where it keeps its own stuff. So, for example, you could see where it keeps alphabetic.bbx, alphabetic.cbx, and american.lbx.  You could put windycity.bbx where those other bbx files are, windycity.cbx where those other cbx files are, and american-windycity.lbx where those other lbx files are.
Anyway, sorry for not knowing much about Windows. Let me know if you get it working (and how you did it) and feel free to ask for more help.
Incidentally, the latest windycity.bbx on my github includes a bug fix that I forgot to include in the last release. I'll submit it to CTAN later this week.
Best,
Brian

Ok, tried as you said but nothing seems to work.
As you said, windycity.dbx is located in:
C:/texlive/2018/texmf-dist/tex/latex/windycity/
I tried putting the 3 files .bbx .cbx and .lbx either in root and in che respective sub folders.
Then I tried in biblatex directory:
C:/texlive/2018/texmf-dist/tex/latex/biblatex/
either in the root and in the subfolders. Still getting the error.
For you to know, the files are originally located in:
C:/texlive/2018/texmf-dist/doc/latex/windycity/

I should have added that after moving files, you probably need to update your texmf file name database.
But before you do that, biblatex will load style files if they're in the same directory as your *.tex file, and without needing you to update the database. As a quick test, then, copy the windycity files into the same directory as the *.tex file and try again.

Oh, that's good to know. Indeed, having the files in the same directory works (without subfolders, I write this here for future reference, at least for people like me).
Would you please be so gentle to explain to me how can I update my textmf file name database?

That's good to hear!
In TexLive for Windows, use TeXLive Manager to update the database. The option is called "Update filename database" or something like that. Again, I've never used TeXLive on Windows, but I think that's how it's done.
Before you update the database, I recommend putting the windycity files back where they were at the beginning, in the windycity directory. They were probably in the right place, and the database just needed an update. Once that's done, you should be able to use them with all your *.tex files.
Good luck!

Ok, I run some tests and I was finally able to make it work.
The correct path is:
C:/texlive/2018/texmf-dist/tex/latex/windycity/
with the three subfolders bbx, cbx and lbx, and respective files in them. Once put there, and updated the database, it works.
A clean texlive 2018 installation though, as I said earlier, puts the files in:
C:/texlive/2018/texmf-dist/doc/latex/windycity/
So we have a problem here.
I tried with another biblatex style, and there's the same problem, so there's something wrong in the texlive installation process. Am I the only one using windows???

Thanks for the information!
I run TeXLive on linux and just found the same issue with Windy City and other styles. Worse, the windycity directory is missing everything but windycity.dbx. I think they goofed.


Redirect deprecated function call

Replace deprecated keras.backend.categorical_crossentropy with keras.ops.categorical_crossentropy in the codebase.

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

Comparison is base (488f333) 79.69% compared to head (94eba79) 55.70%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19030       +/-   ##
===========================================
- Coverage   79.69%   55.70%   -24.00%
===========================================
  Files         339      339
  Lines       35616    35616
  Branches     7009     7009
===========================================
- Hits        28385    19840     -8545
- Misses       5619    14293     +8674
+ Partials     1612     1483      -129

Flag
Coverage Δ

keras
55.70% <ø> (-23.85%)
:arrow_down:

keras-jax
?

keras-numpy
55.70% <ø> (+<0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

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

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


export types

This fixes missing type errors when respecting the exports section of the package.json

Looks good to me, this would help with typing errors.

Thanks for this MR; until recently, I wasn't having issues with my tooling re:types, because there was already a types export being honored.
This left me hesitant to merge this MR, but when I had issues today trying to build an updated Vite TS Project, I realized why this had been filed 😅
Appreciate it!


Improve generate_new_mock_data.py

See conversation in context: #151
from @gavbarnett

generate_new_mock_data.py could certainly be improved. likely you'd like it to be more selective in what it does, rather than a blanket update of everything. but that's a separate issue/feature

and from me (granted, may or may not be related):

But because we are using exact copies of data files (including content) it seems to be failing where the content between expected output (static) and test output (generated) is significantly different - in the cases I've seen, where the order of the content is different. So this makes it really easy to fail since we don't consistently order the content post-retrieval.
I also have much much bigger questions about whether we should be using exact copies of data, rather than making a dummy set of data for test purposes only. Exact copies of data will age really quickly.

To expand further:
Currently this script gets the JSON output from the URLs listed in sources.csv and stores these as mock API data for future tests.
It does this so pytest doesn't ever need to call the real URL to get data (as that data changes all the time and we need static tests). (There were some changes made to the API scrapers to accommodate this shim/mock redirection for testing)
The script then also generates the API scrapers CSV files from the mocked JSON output about. This is done to create a expected result for future tests.
When the script is run it deletes all existing mock data (JSON & CSV output) and regenerates them.
It is the intention that this script is run infrequently when either:

the JSON response format changes from one of the APIs
the CSV handling format changes
we feel like more up to date test data is appropriate.

Suggested Improvements
Make the following possible with use of terminal flags etc. when calling the script.

Separate the CSV re-generation from the JSON collection. This would allow for us to change the CSV formatting with existing JSON data.
Allow for only updating certain sources.
Allow for duplicate sources across time (I think this is simply adding a timestamp to the file names to allow this)
work out a way to handle linked list style JSON responses. My current work around is to pretend they don't exist 😂. This might only be possible once the project folder structure is better.

Seems like there is still a newline character issue that needs resolved here too.🪲
It's got something to do with how git automatically switches line endings behind the scenes. But it's messing up the mock CSV files on Windows now.


Initial documentation for Boomi data services on PKS

We tried to adjust this one as per the feedback on the last one.  If there are further adjustments needed please let us know in Partner Slack so we can turn them back around as fast as possible. Thanks.

@byllc  Thanks! I will review with the Docs team and let you know any feedback they have.


Implement "is-monospace" class for button text

If we use a monospace font (Lucida Grande), button widths for single characters like + and - will be more consistent. I already have a class that specifies LG for tiny type, due to slightly better readability -- make this more globally applicable (and apply to buttons).

fixed https://culibrary.atlassian.net/browse/ARXIVNG-282


[bug] Assets in html are apparently broken

Describe the bug
Assets (in src/assets) behave in unusual where sometimes they work, for me, for example, when settings fonts:
src: url(./assets/fonts/ESAllianz-Light.otf) format("opentype");
But not when setting the source of an image node, e.g.:

Reproduction
Create the following index.html
echo '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
  <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z" fill="#ffffff" stroke="#000000" stroke-width="1.5"/>
  <path d="M14 2v6h6" fill="#ffffff" stroke="#000000" stroke-width="1.5"/>
  <line x1="8" y1="13" x2="16" y2="13" stroke="#000000" stroke-width="1.5"/>
  <line x1="8" y1="17" x2="16" y2="17" stroke="#000000" stroke-width="1.5"/>
  <line x1="8" y1="9" x2="10" y2="9" stroke="#000000" stroke-width="1.5"/>
</svg>' > assets/icons/doc-icon.webp

Then in src/index.html replace any scripts and have your body be:

Result is

Expected behavior
I would expect files inside src/assets to behave consistently -- i.e. for the paths to work from anywhere, or at least to work from anywhere provided some function ala convertFileSrc is called to format the paths.
Note: I am reasonably certain this is not a security.csp or security.assetProtocol issue (but those should be shipping /w sane defaults anyway)
Note: I am also almost certain this is not a "bug" in that "some big brain way exists to modify 3 config files and call the 2 anointed holy functions in order to make this specific behavior work" -- However having sane defaults (e.g. files in assets get bundled and are accessible at consistent URLs) seems like a very relevant behavior -- so this might be better suited as "feature request" as opposed to "bug"
Full tauri info output
[✔] Environment
    - OS: Mac OS 15.0.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.13.1
    - pnpm: 9.12.2
    - yarn: 1.22.22
    - npm: 10.5.2

[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.5
    - @tauri-apps/api : 2.0.3
    - @tauri-apps/cli : 2.0.5

[-] Plugins
    - tauri-plugin-dialog 🦀: 2.0.3
    - @tauri-apps/plugin-dialog : 2.0.1
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1
    - tauri-plugin-fs 🦀: 2.0.3
    - @tauri-apps/plugin-fs : 2.0.1 (outdated, latest: 2.0.2)
    - tauri-plugin-log 🦀: 2.0.1
    - @tauri-apps/plugin-log : 2.0.0
    - tauri-plugin-store 🦀: 2.1.0
    - @tauri-apps/plugin-store : 2.1.0

[-] App
    - build-type: bundle
    - CSP: script-src 'self' https://api.lttlbrd.app https://*.posthog.com; default-src 'self' https://api.lttlbrd.app $RESOURCE/**; style-src 'self' 'unsafe-inline'; img-src 'self' data: asset: https://asset.localhost http://localhost:* https://api.lttlbrd.app $RESOURCE/**; media-src 'self' mediadevices: blob: data: https://api.lttlbrd.app $RESOURCE/**; connect-src 'self' mediadevices: https://api.lttlbrd.app https://*.posthog.com
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace
No response
Additional context
No response

I may be a bit dense, but could you upload your reproduction into a github repo? The default create-tauri-app project also imports images from src/assets/ in the index.html

Hmh, in that case I expect I did something wrong, if you're saying "in the default app this should have been enough".
Asset importing from react ended up working if I specified the path so I assume this is me messing with the config in a way that caused the import from index.html to break (and might have to do with vite and not tauri itself)
So I will go ahead and close the issue


Polynomial Optimization

Using SymPy's native polynomial representation Poly to avoid conversion and slow, general integration. The run time of our biggest example (3 normals) can be reduced from ~80s to ~20s.

Added a lot of docs and did some cleanups. The cleanups also brought some performance improvement (3 normal run time: 20s -> 14s)


Traceback (most recent call last):   File "hash.py", line 5, in      import requests ModuleNotFoundError: No module named 'requests'

https://stackoverflow.com/questions/17309288/importerror-no-module-named-requests


Tables overlap on narrow screens / responsive design

This happens both on my phone (below) and on my computer. Ideally, if the screen is not wide enough, the tables on the right should be put below the ones on the left.

@corani How narrow are we talking (in px)?

In the case of my phone, 1440px wide, my laptop approx. 1200px available space. On my external screen (~1850px available) it shows correctly.
Some experimentation shows that if the window gets below ~1235px on my computer, tables begin to overlap.

@corani I kind of fixed this by setting the minimum width to 1235px. Can you try out if this works for you on your laptop and phone?

Yes, works for both now, awesome!

I have two default currencies and this doesn't work all that well on my phone.
Would you be supportive to pull requests for actual responsive style (@media and all that).  Or even better, is there some responsive framework you'd prefer to use instead of writing all the CSS by hand?

@xentac fava isn't optimized for a phone in any way.

Would you be supportive to pull requests for actual responsive style (@media and all that). Or even better, is there some responsive framework you'd prefer to use instead of writing all the CSS by hand?

Of course - help is always appreciated 🙂 Just open a PR and we can discuss the changes there.
I'm somewhat in favor of writhing all (S)CSS by hand, as it's not too complicated, and without any "side-effects" produced by the CSS-frameworks.


Y1 demo does not work if the enable_learning flag of the topology is set

I couldn't identify the reason for this behavior yet.
It looks like that the chain rules are not used when learning switch is enabled even though they should have a higher priority.

For the demo we don't need this functionality so we should postpone the fix to end of this month.

One thing I noticed is that there is a traffic loop created when:

learning is enabled
E-LAN (mgmt) network is defined in the NSD
E-LAN connected VNFs are distributed over multiple dc network switches

When sniffing with Wireshark, a lot of packets get re-flooded infinitely, they are broadcast packets sent over the E-LAN and flooded to every interface of all the VNFs.
This can cause the emulator switches or fw_vnf to overload and not properly forward the pcap traffic any more.
A more isolated implementation of E-LAN is needed. Taking into account it should enable correct forwarding of broadcast packets (only on the E-LAN) and that an E-LAN can be distributed over multiple DC switches.

@stevenvanrossem that seems to be the reason for it. I fully agree that we need a more isolated E-LAN implementation. This should be one of the features for the next release 👍


Welcome page always shows on startup

🐛 As title says, every time I launch VSCode, the Welcome page shows up, regardless of the checkmark at the bottom right "Show this page on startup".
Thanks in advance
🌴 Visual Studio Code Version : 1.39.2
🌴 Code Settings Sync Version : 3.4.3
🌴 Standard or Insiders : Standard
🌴 Portable or Installed : Installed
🌴 OSS or Official Build : Official
🌴 Operating System : Windows 10
🌴 Occurs On: Startup
🌴 Proxy Enabled: No
🌴 Gist Id: c22cafa8eddd6b219b20ef294c41b78d
📰 To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

💪 Expected behavior
A clear and concise description of what you expected to happen.
📺 Console Error Log
If applicable, add screenshots or paste the console log from developer console of VSCode (Help Menu > Developer Tool - Console Tab).
📺  Additional context
Add any other context about the problem here.

Right.. it's annoying. Should exist some option to turn off this or in #942 VSC globaly. Lets say that any plugin hvae this and before work firstly we must close all news about updates/features.
It's beter to do some "sumary list of extensions changes" in VSC. Can be useful in case that after restart of VSC this cheking updates and updating many ext.
https://github.com/microsoft/vscode/issues/82537

As title says, every time I launch VSCode, the Welcome page shows up, regardless of the checkmark at the bottom right "Show this page on startup".

Have you tried turning off the checkbox ? Does it still opens at startup.

If applicable, add screenshots or paste the console log from developer console of VSCode (Help Menu > Developer Tool - Console Tab).

Can you post any developer console log, if there is any

Same problem with v3.4.3 on Ubuntu, even after unchecking the checkbox it keeps showing on startup ! Any update on this ?

Same here.
I have tried checking and unchecking the 'Show this page on startup' checkbox but every time I open Visual Studio Code the window keeps showing.
This has happened on an iMac 27" and MacBook Pro 16" 2020, both running Catalina.

Same here.
Windows 2019 (Windows_NT x64 10.0.17763)
VS Code Version: 1.51.1 (system setup)
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0

Same here.
Windows 2019 (Windows_NT x64 10.0.17763)
VS Code Version: 1.51.1 (system setup)
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
Settings Sync (shan.code-settings-sync): v3.4.3

I've turned it off now, just too annoying.

为什么一直关闭不了啊，太烦人了

Same here.

Same here.

Cannot make it to disappear even with unchecked "show this page on startup"

Cannot make it to disappear even with unchecked "show this page on startup"

1 year 4 months...

Same here on my MacBook Air M1 and (older) iMac. A fix would be awesome! Thanks!

Same on Ubuntu 20.04.2 LTS 64-bit

Same here

@shanalikhan It has been almost 2 years with this issue. Can you please take a look at resolving this? On start up whether the 'Show this page on startup' checkbox is ticked or not it continues to show on start up. I'm having this issue on Ubuntu 21.04, looks like this issue is not platform specific though.

Still same

It's been two years. Why not fix it

still here

It's still here
Versions
OS: macOS 12.0.1
Visual Studio Code: 1.62.3
Extension: 3.4.3

The package hasn't been updated since 2019. Seems unlikely this will be fixed unless one of us does it :)

I had to uninstall it and install it again, it worked.

Don't know if it would help but i just find out this library is deprecated and we should us the build in functionality.
https://code.visualstudio.com/docs/editor/settings-sync
Hope it helps.


Point Degree

Please remove the point degree (1.2°,0.8°)

Well

Or maybe a toggle?

Yes, that's what I was going to do.


Extract hawkular-related settings to the provider

Depends on: https://github.com/ManageIQ/manageiq-providers-hawkular/pull/14 , and fixes https://github.com/ManageIQ/manageiq-providers-hawkular/issues/13 and https://github.com/ManageIQ/manageiq-providers-hawkular/issues/8.

@miq-bot add_label providers/hawkular

@miq-bot add_label fine/no

@miq-bot add_label refactoring

@miq-bot assign @lucasponce

I have not catched up about how the config properties split works between core and providers but this looks like a simple extraction, so LGTM.
The datawarehouse properties are related to CMOPs work so I put @moolitayer on the loop to keep an eye on it.

@lucasponce I also added @moolitayer to this PR, simultaneously :)

what is the status of this PR?

@durandom there's this one as well


GITHUB_AUTH_TOKEN未设置的提示不合理

在最开始直接拦住吧，如果不设置的话，就直接break退出吧，没必要再执行后续的流程了。
(venv) ➜  score_projects git:(main) ✗ score_projects --projects_list ./score_projects/projects.txt --result_file result.csv
Exception occurred when reading repo: https://github.com/moosefs/moosefs
GITHUB_AUTH_TOKEN needs to be set.
Exception occurred when reading repo: https://github.com/moosefs/moosefs
GITHUB_AUTH_TOKEN needs to be set.
Exception occurred when reading repo: https://github.com/moosefs/moosefs
GITHUB_AUTH_TOKEN needs to be set.
Exception occurred when reading repo: https://github.com/lizardfs/lizardfs
GITHUB_AUTH_TOKEN needs to be set.
Exception occurred when reading repo: https://github.com/lizardfs/lizardfs
GITHUB_AUTH_TOKEN needs to be set.
Exception occurred when reading repo: https://github.com/lizardfs/lizardfs
GITHUB_AUTH_TOKEN needs to be set.
Traceback (most recent call last):
  File "/Users/jiangyikun/huawei/score_projects/venv/bin/score_projects", line 11, in <module>
    load_entry_point('score-projects==1.0.8', 'console_scripts', 'score_projects')()
  File "/Users/jiangyikun/huawei/score_projects/venv/lib/python3.7/site-packages/score_projects-1.0.8-py3.7.egg/score_projects/score_projects.py", line 79, in main
    csv_writer.writerow(header)
_csv.Error: iterable expected, not NoneType

It's fixed already

It's fixed already


X11: Save and restore original X11 error handler

Greetings, I am proposing a patch to save&restore the X11 error handler that user might have set instead of restoring the default one. The point is that default X11 error handler is a bit ugly because it exits the program unconditionally, so the glfw user may override this (as GLFW also does).

Oh, yes, this needs fixing. Thank you!


Bug Report: Trying to parse EmbedViewImages on a post that has EmbedViewExternal

1. Current bug behavior
When trying to get a post with an embedded URL, the constructor is throwing the following error:
CheckedFromJsonException (CheckedFromJsonException
Could not create `_$_EmbedImages`.
There is a problem with "images".
type 'Null' is not a subtype of type 'List<dynamic>' in type cast)

Unfortunately, I could not dig deeper at the issue since I am not familiar with Freezed or the JSON Serialization method you are using, otherwise I would try to open a PR :(
But what I could get is that for some reason it's trying to create a EmbedViewImages and looking for an images array at the JSON even though the embed type is app.bsky.embed.external.
2. Expected behavior
I would expect the object to be parsed correctly.
3. Steps to reproduce
I first detected this bug when trying to load the timeline, but (fortunately) the issue is also reproducible when loading the thread for the specific post!
The following request should throw this same exception on parse:
bluesky.feeds.findPostThread(uri: AtUri.parse('at://did:plc:by3jhwdqgbtrcc7q4tkkv3cf/app.bsky.feed.post/3jtvi2jrijx2y'));

4. Flutter doctor output
flutter doctor -v
[!] Flutter (Channel stable, 3.7.12, on macOS 13.3.1 22E261 darwin-arm64, locale
    pt-BR)
    • Flutter version 3.7.12 on channel stable at
      /Users/edisonlsm/fvm/versions/3.7.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (4 days ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

5. More environment information
atproto: 0.2.5
bluesky: 0.3.7

Hi @edisonlsm !
Thanks for this issue :) When I tried it a few weeks ago, no error occurred, but maybe I didn't have enough test cases.
Also, as an aside, the embed field has the most challenging structure: it is a Union with 4 types. But, from reading your Issue, it doesn't seem to be that difficult a problem. I will check and fix it soon, thank you anyway! :)

@edisonlsm
I understand why. I had missed that media in the hierarchy below embed is also Union.
I would fix it by making the media field type Union object :)
        "embed": {
          "$type": "app.bsky.embed.recordWithMedia",
          "media": {
            "$type": "app.bsky.embed.external",
            "external": {
              "uri": "https://bluesky-heatmap.fly.dev/",
              "thumb": {
                "$type": "blob",
                "ref": {
                  "$link": "bafkreig4g4l6fwfl6r5z7yydzzfo2l26k5pajgdq2ue2tdu3xszbd3y6p4"
                },
                "mimeType": "image/jpeg",
                "size": 267294
              },
              "title": "Bluesky Posts Heatmap Generator",
              "description": "Generates GitHub-style heatmaps from your Bluesky posts."
            }
          },
          "record": {
            "$type": "app.bsky.embed.record",
            "record": {
              "cid": "bafyreic26yhtn46jxaggts75mbzmxth3tab6k5wj6krbvrumj5t63jqnjq",
              "uri": "at://did:plc:by3jhwdqgbtrcc7q4tkkv3cf/app.bsky.feed.post/3jtoq4zmhvz2z"
            }
          }
        },

@edisonlsm ,
I fixed this bug and it works now. I will release with some atproto features, I will prepare until tomorrow :)

Oh, great to hear that @myConsciousness !!!
I hadn't dig deeper on the list embed structure until finding this bug, but now I see how complex it is 😰 Specially since we have 4 different embeds, each one with their own structure...
Good to have Bluesky growing the number of users and with that having more test cases 😅

Hi @edisonlsm ,
If Dart supported Union as a language spec, this difficult process would not be necessary. The Dart team should have supported Union before I had to create this process lol
Anyway it's okay now, please just wait for release! :^)

@edisonlsm ,
I released fix build! It's bluesky v0.3.8, please try it!

Worked like a charm 😄


Add InferencePools resource to 2024-10-01-preview

ARM (Control Plane) API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[x] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[x] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[ ] Convert existing OpenAPI spec to TypeSpec spec (do not combine this with implementing changes for a new API version).
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[X] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[X] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Waiting for this PR to help with presenting scoped changes better: https://github.com/Azure/azure-rest-api-specs/pull/30540
My changes are represented by this contract change PR: https://dev.azure.com/msdata/Vienna/_git/vienna/pullrequest/1455945?_a=files

          "environmentId": {

is his of arm-id format?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:18601 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

              "additionalProperties": {

Use of additionalProperties is not allowed for properties owned by the service. The only time its ok to use it is when the properties are pass thru (user defined) and not subject to any validations. Please make this an array or provide an explanation for why you need this.

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:18609 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

          "modelId": {

is the url format applicable here?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:18637 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

                  "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample Kâ€“S) metric."

is this intended?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:22123 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

                  "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample Kâ€“S) metric."

is this as intended

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:22224 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

/azp run

          "properties": {

Use of additionalProperties is not allowed for properties owned by the service. The only time its ok to use it is when the properties are pass thru (user defined) and not subject to any validations. Please make this an array or provide an explanation for why you need this.

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:23228 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

      "post": {

shouldnt this be a get?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:9898 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

                  "$ref": "./examples/Workspace/InferenceGroup/getStatus.json"

are the example files added?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:9951 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

          "environmentId": {

is his of arm-id format?
Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:18601 in 7cb9771. [](commit_id = 7cb9771, deletion_comment = False)

This is expected to be in Azure Machine Learning asset ID format. I updated the examples to show what this format looks like. For environment id: azureml://registries/test-registry/models/enginefeed/versions/1. For model id, it is similar: azureml://registries/test-registry/models/modelabc/versions/1

                  "$ref": "./examples/Workspace/InferenceGroup/getStatus.json"

are the example files added?
Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:9951 in 7cb9771. [](commit_id = 7cb9771, deletion_comment = False)

Added examples

      "post": {

shouldnt this be a get?
Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:9898 in 7cb9771. [](commit_id = 7cb9771, deletion_comment = False)

For GetStatus APIs and for the DeltaModel APIs (modify, getStatus, listDeltaModels), we use POST because it is not just a state DB call. It requires an action for us to compute the current status of the resource. There is a chance it will take longer than the ARM GET call requirement. I used this for some reference: https://armwiki.azurewebsites.net/rpaas/rpaasextensionapi.html#extensions-available-for-post-action

additionalProperties

          "properties": {

Use of additionalProperties is not allowed for properties owned by the service. The only time its ok to use it is when the properties are pass thru (user defined) and not subject to any validations. Please make this an array or provide an explanation for why you need this.
Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:23228 in 7cb9771. [](commit_id = 7cb9771, deletion_comment = False)

These properties are immutable dictionary that user provides, it is completely pass-through and we do no validation on it. This is a standard for Azure Machine Learning resources, to have this pass-through property bag.

The Two Sample Kolmogorov-Smirnov Test (two-sample Kâ€“S) metric.

These descriptions were not added in my changes, they already existed.

/azp run

The Two Sample Kolmogorov-Smirnov Test (two-sample Kâ€“S) metric.

These descriptions were not added in my changes, they already existed.

this is from interation 1

Swagger SemanticValidation failed with missing example file.

              "additionalProperties": {

This can be converted in an array

In reply to:<PHONE_NUMBER>

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:18609 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

          "properties": {

ARM is trying to reduce instances of unschematized APIs to make it easier for consumers of those APIs to understand them and use them reliably, not to mention provide better support in the various SDKs.
You should attend ARM modeling office hours to see if there are better options for you use case scenario

In reply to:<PHONE_NUMBER>

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:23228 in 7cb9771. [](commit_id = 7cb977146e827079ef65b84d46fab8040ed44a7b, deletion_comment = False)

Swagger SemanticValidation failed with missing example file.

Updated, SemanticValidation and ModelValidation passing

          "properties": {

ARM is trying to reduce instances of unschematized APIs to make it easier for consumers of those APIs to understand them and use them reliably, not to mention provide better support in the various SDKs.
You should attend ARM modeling office hours to see if there are better options for you use case scenario
In reply to:<PHONE_NUMBER>
Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview/mfe.json:23228 in 7cb9771. [](commit_id = 7cb9771, deletion_comment = False)

OK I updated to what you recommended IList<KeyValuePair<string, string>>, including examples.

/azp run

You need to fix the Swagger PrettierCheck for some example files. I will sign this off to speed things up as we discussed in office hours, but be aware that for merging the check must be fixed first.

/azp run


fixes #170559

Related-to: #64350
Related-to: #91740

cc @chrmarti @sandy081 @TylerLeonhardt I could no longer reproduce those original issues.

Ugh thank you


Bug: Snooze notification popup does not trigger after first closed

Bug: Snooze notification popup does not trigger after first closed
Missing 2nd Snooze notification
time="2022-02-08T10:38:40+08:00" level=info msg="=========================="
time="2022-02-08T10:38:40+08:00" level=info msg=Started
time="2022-02-08T10:38:40+08:00" level=info msg="=========================="
time="2022-02-08T10:38:40+08:00" level=info msg="config: {SnoozeInterval:15 StartTime:01:00 Notification:{Before:10 Duration:10}}"
time="2022-02-08T10:38:40+08:00" level=info msg="job: [shutdown], scheduled: 01:00 (2022-02-09 01:00:00 +0800 CST)"
time="2022-02-08T10:38:40+08:00" level=info msg="job: [snoozeNotification], scheduled: 00:50 (2022-02-09 00:50:00 +0800 CST)"
time="2022-02-08T19:00:00+08:00" level=info msg="=========================="
time="2022-02-08T19:00:00+08:00" level=info msg="Config file changed:C:\\Users\\horac\\.shutd.yaml"
time="2022-02-08T19:00:00+08:00" level=info msg="=========================="
time="2022-02-08T19:00:00+08:00" level=info msg="config: {SnoozeInterval:15 StartTime:01:00 Notification:{Before:10 Duration:10}}"
time="2022-02-08T19:00:00+08:00" level=info msg="job: [shutdown], scheduled: 01:00 (2022-02-09 01:00:00 +0800 CST)"
time="2022-02-08T19:00:00+08:00" level=info msg="job: [snoozeNotification], scheduled: 00:50 (2022-02-09 00:50:00 +0800 CST)"
time="2022-02-09T00:50:00+08:00" level=info msg="=========================="
time="2022-02-09T00:50:00+08:00" level=info msg="Snooze notification"
time="2022-02-09T00:50:00+08:00" level=info msg="=========================="
time="2022-02-09T00:55:20+08:00" level=info msg="snooze is required: true"
time="2022-02-09T00:55:20+08:00" level=info msg="job: [shutdown], scheduled: 01:15 (2022-02-09 01:15:00 +0800 CST)"
time="2022-02-09T00:55:20+08:00" level=info msg="job: [snoozeNotification], scheduled: 01:05 (2022-02-09 01:05:00 +0800 CST)"
time="2022-02-09T00:55:24+08:00" level=info msg="job: [shutdown], scheduled: 01:30 (2022-02-09 01:30:00 +0800 CST)"
time="2022-02-09T00:55:24+08:00" level=info msg="job: [snoozeNotification], scheduled: 01:20 (2022-02-09 01:20:00 +0800 CST)"
time="2022-02-09T00:55:26+08:00" level=info msg="job: [shutdown], scheduled: 01:45 (2022-02-09 01:45:00 +0800 CST)"
time="2022-02-09T00:55:26+08:00" level=info msg="job: [snoozeNotification], scheduled: 01:35 (2022-02-09 01:35:00 +0800 CST)"
time="2022-02-09T00:55:28+08:00" level=info msg="job: [shutdown], scheduled: 02:00 (2022-02-09 02:00:00 +0800 CST)"
time="2022-02-09T00:55:28+08:00" level=info msg="job: [snoozeNotification], scheduled: 01:50 (2022-02-09 01:50:00 +0800 CST)"
time="2022-02-09T01:55:23+08:00" level=info msg="job: [shutdown], scheduled: 02:15 (2022-02-09 02:15:00 +0800 CST)"
time="2022-02-09T01:55:23+08:00" level=info msg="job: [snoozeNotification], scheduled: 02:05 (2022-02-09 02:05:00 +0800 CST)"
time="2022-02-09T02:14:41+08:00" level=info msg="job: [shutdown], scheduled: 02:30 (2022-02-09 02:30:00 +0800 CST)"
time="2022-02-09T02:14:41+08:00" level=info msg="job: [snoozeNotification], scheduled: 02:20 (2022-02-09 02:20:00 +0800 CST)"

Seems issue is with 2 snooze calls immediate after each other, without mutex

Seems the issue is as the job is triggered once with notification, the same rescheduled job will not be triggered

After using winc for notification seems resolved


new customer registration form

Hello!
During ordering, in the registration form when I tap continue button without filling any fields there is appearing only one warning - to check security policy, but no warnings for the name, address, password e.t.c.

Will be fixed.
Thank you for reporting this!


Improved Prime testing

prime sieving using small pre-computed primes
use pre-computed witnesses(?)
perform miller-rabin iterations using threads

Closed by #5


Add response transformer to SPA middleware

I am trying to inject data at runtime into the response body of the request that serves the index.html file as my SPA.
Describe the solution you'd like
A callback function that the SpaServices middleware calls that allows processing/transformation of the response body before it has been written to the HttpResponse object.
services.AddSpaStaticFiles(configuration =>
{
    configuration.RootPath = "ClientApp/build";
    configuration.ResponseTransformers.Add((context, body) => {
        body.Replace("__SERVER_DATA__", "foo");
        body.Replace("__AUTHENTICATED__", context.User.Identity.IsAuthenticated);
        body.Replace("__RequestVerificationToken", /* ... */);
    });
});

Describe alternatives you've considered
Using a app.Use() middleware that modifies the stream of Response.Body after it has been written, but modifying a Stream is rather clunky.
Additional context
https://facebook.github.io/create-react-app/docs/title-and-meta-tags#injecting-data-from-the-server-into-the-page
https://github.com/aspnet/Templating/issues/690
https://github.com/aspnet/Templating/issues/676

Thanks for contacting us, @vanillajonathan.
SpaServices is not a priority area for us at the moment so we plan to make no feature additions to that area in the near future.


Don't pass frozen programs to python.

Fixes part of #58 (thanks to @daranguiz for this solution).
If a script has been frozen, Gooey should run the executable as-is instead of trying to pass it to Python. This should work with most if not all Python "freezing" solutions, specifically PyInstaller and newer versions of Py2exe which both have a frozen attribute in sys.

Thanks! :+1:


[python] Continue #2516

Following up from PR #2516 for issue #2499 / [sc-46790]

Thanks @ryan-williams !


bar-plots with wrong color using Matplotlib 1.5

Hi there,
I'm not sure if this is a pandas/matplotlib or seaborn issue...but since I upgraded to Matplotlib 1.5 using anaconda I can't get the colors of my barplots right anymore, here's an example:
In ipython notebook:
import pandas as pd

%matplotlib inline

import seaborn as sns
sns.set_style('whitegrid')

# Works, color as expected in nice muted blue
pd.DataFrame([1,2,3,4,5,6]).plot(linewidth=10)

# Doesn't work, getting matplotlib "eye-cancer-blue"
pd.DataFrame([1,2,3,4,5,6]).plot(kind='bar')

I attached a screenshot one with matplotlib 1.4.x and one with 1.5:

Again I know this might well not be a pandas issue but maybe someone has an idea where the problem might be.

probably a pandas issue since plt.bar(df.index, df[0]) gives the correct colors.

hi,
just to say the issue is still there in 0.17.1


update labor investment question and formula

making changes as discussed during the call on July 26
/cc @klumb

related to #29


Some emoji are missing

Hi there!
Some emoji are missing. E.g. colored squares.

Hi @ganser8 - Thank you for reporting. Emojilib just came out with version 3.0.0 which supports colored squares amongst other new emojis. I'll upgrade to this version soon and let you know once it's complete.

Hi @ganser8 - Thank you for reporting. Emojilib just came out with version 3.0.0 which supports colored squares amongst other new emojis. I'll upgrade to this version soon and let you know once it's complete.

Great news! Thank you @oliveryh.

Great news! Thank you @oliveryh.

@ganser8 - v0.2.0 should have the latest set of emojis.

@ganser8 - v0.2.0 should have the latest set of emojis.


[feature request] jieba.loadDict support (支持词典扩展)

The effect of Chinese word segmentation is not good enough. I hope to expand the vocabulary by myself, so corresponding options are required.

目前中文分词效果不理想，希望能够自行扩充词库，因此需要相应选项。
const { cut } = require('@node-rs/jieba');

cut('微信小程序');

// [ '微', '信', '小', '程序' ]

const { cut, loadDict } = require('@node-rs/jieba');

const dist = `
微信 100
小程序 100
`;

const userdict = Buffer.from(dist);

loadDict(userdict);

cut('微信小程序');

// [ '微信', '小程序' ]

That sounds reasonable. We can let users opt-in to extend the dict, E.g.: zhUserDict and zhUserDictPath, which the latter one allows user to put the dict in a separate file. PRs are welcome, :)


In the readme add a section explaining how to configure an erlang app to redirect its output

done in https://github.com/lambdaclass/erlang_log_to_kibana_example/pull/11


Don't allow "any" for claim name or value

We treat "any" as a reserved word.  Don't allow it for the claim name or
value.  Stop returning True from validate_name_value(), since we throw
ValidationError when validation fails.

👍 Remind me to make sure that this is documented in our user guide.


1.8.1 enables kiosk-mode even if not activated

Home Assistant 2023.4.1
Supervisor 2023.04.0
Operating System 9.4
Frontend 20230406.1 - latest
I use three views:

Overview (Übersicht) for almost all entities, sensors and images.
Berta exclusively for my very old Acer A210 tablet (Android 4.4).
Vis as a testing ground for my html/css experiments

Kiosk-Mode is installed and enabled only with Berta. It does work nicely. Unfortunately kiosk-mode also affects the other views no matter if kiosk-mode is activated or not. So I have to use '?disable_km=' every time I want to edit a view other than Berta.
The wanted effect should be to only have kiosk-mode active on Berta but not on the other views.
And yes, the little typo (missing underscore) in 'hide_sidebar' has been addressed already ;)

These yaml give the following appearance:
Overview

Berta

Vis

Hi @DerEmder,
I‘m trying to reproduce it but I can‘t. Try something and let me know the result, disable kiosk-mode in Berta dashboard (delete the configuration) and check if it keeps hiding the header, I think that it could be multiple things executing there.

You are magic :)
Ok, did that, then ?clear_km_cache - now all is ok. Then activated in Berta (and only this view) again. Now all is good. That's weird because I tried these steps already, unsuccessfully I must say.
But now it worked. Thank you!


indexer: DB reset to handle incomplete migration history

Description
previous fix did not work well when migration run history in __diesel_schema_migrations table is not complete.
I also considered dropping the database as we usually do locally, but a connection cannot drop the database in its own connection and ended up having errors of
cannot drop the currently open database

thus this pr drops all tables, functions and procedures explicitly for PG and tables for MySQL as we now only have tables in MySQL.
Test plan

diesel reset on latest main
cherry-pick this pr to 1.31 and 1.30, run cmd below and make sure that DB are indeed reset

DB_POOL_SIZE=10 cargo run --bin sui-indexer -- --db-url =DB_URL --reset-db

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

@amn

Am I right in thinking that this is just for the purposes of CI? If so, can we use diesel's own diesel migration etc to achieve the same effect?

not only for CI but for all DB reset env like staging and devnet too. Counting on migrations file is fragile while we are making changes in a breaking / non-incremental way, for example if we change a table name from table_a to table_b, then next time if we do db-reset by reverting all migrations, table_a will not be dropped as DROP TABLE IF EXISTS table_a has been modified.
this is even worse when we have inconsistency between migration history in __diesel_schema_migrations and schema itself, which is what I saw today in CI. Not sure where the inconsistency was introduced but here a total reset instead of reverting all migrations is necessary afaict.

Is this not another example of what happens if you work against the intended usage of diesel's migration feature? I.e. if we did not modify migrations after we checked them in and only added new migrations in response to changes, could we then use the diesel CLI for this?
IIUC we want to eventually have a clean starting point for the schema once it is settled, and that is why we are going back and modifying migration files, but can we get the best of both worlds by using migrations as intended until we are happy with the schema, then squashing everything down into the final schema files as a single breaking change?

what happens if you work against the intended usage of diesel's migration feature? can we get the best of both worlds by using migrations as intended until we are happy with the schema, then squashing everything down into the final schema files as a single breaking change?

this is a fair point, but now the DB reset is solved by this pr, so we can squash the changes on each migration changes and that leaves the schema always compact and intuitive. I am open to this why-not-both idea tho if more relevant issues pop up and requires more baking.

Yes, this is okay for us to unblock this release, but is not a long-term solution.  We are only making things more brittle by relying on diesel's implementation details. I have added this as one of the topics for design discussions (although we have quite a few of these to get through, so maybe not for the coming Monday).


the tensorflow-CPU version can support X86 in window??

Now i want to compile tensorflow-CPU by cmake+vs2015 ,which is to get tensorflow.dll and tensorflow.lib，but now I can't sure tensorf-CPU can support X86 in window platform？
thanks

I am guessing what you want to do
is to compile tensorflow from sources in Windows....Follow the below links:
https://joe-antognini.github.io/machine-learning/build-windows-tf
https://github.com/cjweeks/tensorflow-cmake
https://medium.com/@shiweili/building-tensorflow-c-shared-library-on-windows-e79c90e23e6e
If I am guessing wrong, please correct me..!!

Yes it does support in x86 platform in windows.

thanks.
if compile tensorflow from sources in windows , and it can support  win-x86??  No 64

Yes it might support on x64-win too.Altough not much sure about it.

thanks

Now i want to compile tensorflow-CPU by cmake+vs2015 ,which is to get tensorflow.dll and tensorflow.lib，but now I can't sure tensorf-CPU can support X86 in window platform？
thanks

didyou  got the x86 dll?


⚠ SceneTime has degraded performance

In 19e4dea, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1658 ms

Resolved: SceneTime performance has improved in 6181d1e after 7 minutes.


Tagged template docs

My internet is broken and the PR description keeps getting lost.
This adds docs for the new tagged templates in Imba.

[ ] Double check the converted Imba code from the MDN example
[ ] Consider making the code more idiomatic for Imba, rather than a raw conversion from JS?

What's the status on this, is there a reason it hasn't been merged?

What's the status on this, is there a reason it hasn't been merged?

@familyfriendlymikey only that it didn't get a review, and I haven't checked up on the two checkboxes there. Can probably go in as-is!

I see, I'll probably get to this in the morning then. Thank you!

Looks like this actually made it in with the full imba onboarding rewrite, and the compiled js looks good.


Some image URLs cannot be displayed

Some Wikipedia images cannot be displayed, although the image URLs work in the browser.
E.g. first few images of the following dataset.
train_dset = load_dataset("alexandrainst/da-wit", split='train[:100]', data_files=['data/train-00000-of-00017-a976177c0f381298.parquet'], verification_mode=datasets.VerificationMode.NO_CHECKS)
df = train_dset.to_pandas()
spotlight.show(df, dtype={'image_url': spotlight.Image, 'embedding': spotlight.Embedding})

I confirm this bug.
What I can deduce is that Wikipedia images do not load. If I enable dev mode, I get exceptions like
renumics.spotlight.dtypes.exceptions.InvalidFile: URL https://upload.wikimedia.org/wikipedia/commons/4/45/Bispen_-_inside.jpg does not exist.

and if I try manually:
import requests

response = requests.get("https://upload.wikimedia.org/wikipedia/commons/4/45/Bispen_-_inside.jpg")

I get not-ok response with error message including:
Error: 403, Forbidden. Please comply with the User-Agent policy: https://meta.wikimedia.org/wiki/User-Agent_policy

So I think this should help.
Working on this.
Please report, if some images other than from Wikipedia do not load too.

BTW, everyone can enable debug mode through setting environment variable SPOTLIGHT_DEV="true" before strating CLI spotlight or python/notebook session to get rich exception outputs.

Fixed in the version 1.0.0rc10


Support dynamically removing store from storage manager

Given partition id, remove the corresponding store from storage
manager, disk manager and compaction manager.
Support deleting allocated files of store and returning swap
segments to reserver pool if necessary.

Codecov Report

Merging #1232 into master will increase coverage by 13.99%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #1232       +/-   ##
=============================================
+ Coverage     69.62%   83.62%   +13.99%
+ Complexity     5565       57     -5508
=============================================
  Files           432        6      -426
  Lines         33978      348    -33630
  Branches       4349       38     -4311
=============================================
- Hits          23658      291    -23367
+ Misses         9131       45     -9086
+ Partials       1189       12     -1177

Impacted Files
Coverage Δ
Complexity Δ

...ava/com.github.ambry/config/PerformanceConfig.java

...main/java/com.github.ambry.cloud/CloudReplica.java

...m.github.ambry.replication/ReplicationMetrics.java

...ava/com.github.ambry/frontend/SecurityService.java

...b.ambry.cloud/CloudBlobCryptoAgentFactoryImpl.java

...ain/java/com.github.ambry/frontend/Operations.java

...n/java/com.github.ambry.clustermap/Datacenter.java

...github.ambry.messageformat/TtlUpdateSubRecord.java

...in/java/com.github.ambry.cloud/CloudFindToken.java

...i/src/main/java/com.github.ambry/network/Port.java

... and 413 more

Continue to review full report at Codecov.

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

Addressed @cgtz 's comments. @lightningrob gentle reminder to review.


TestWait flake

https://prow.istio.io/view/gs/istio-prow/logs/integ-k8s-116_istio_postsubmit/1333901628121550848
Pilot logs show we do push something:
2020-12-01T22:46:03.926060Z	info	ads	Push debounce stable[45] 4: 100.145772ms since last change, 257.929983ms since last push, full=true
2020-12-01T22:46:03.940085Z	info	ads	XDS: Pushing:2020-12-01T22:46:03Z/29 Services:15 ConnectedEndpoints:8
2020-12-01T22:46:03.965986Z	info	ads	CDS: PUSH for node:istio-ingressgateway-759d775cfc-jsbck.istio-system resources:95 size:87.4kB
2020-12-01T22:46:03.966784Z	info	ads	LDS: PUSH for node:istio-ingressgateway-759d775cfc-jsbck.istio-system resources:2 size:5.1kB
2020-12-01T22:46:03.966994Z	info	ads	RDS: PUSH for node:istio-ingressgateway-759d775cfc-jsbck.istio-system resources:1 size:470B
2020-12-01T22:46:03.971407Z	info	ads	CDS: PUSH for node:istio-egressgateway-7b6784d587-4rfdz.istio-system resources:95 size:87.4kB
2020-12-01T22:46:03.971601Z	info	ads	LDS: PUSH for node:istio-egressgateway-7b6784d587-4rfdz.istio-system resources:0 size:0B
2020-12-01T22:46:03.981414Z	info	ads	CDS: PUSH for node:istio-eastwestgateway-598c64dc4c-c457h.istio-system resources:180 size:132.2kB
2020-12-01T22:46:03.981837Z	info	ads	LDS: PUSH for node:istio-eastwestgateway-598c64dc4c-c457h.istio-system resources:2 size:4.4kB

We don't really have enough info to know what (allegedly) wasn't pushed; the wait command doesn't give context here.
cc @therealmitchconnors

https://storage.googleapis.com/istio-prow/logs/integ-pilot-k8s-tests_istio_postsubmit/1336000079105888256/build-log.txt

Setting to p0 for UX since I think you have beta promotion on the roadmap

Based on the log, this was an error creating the port forwarding to istiod.  Since this is unique to the wait command (which is not part of CRD Status promoting to beta), I will lower the priority.

Based on the log, this was an error creating the port forwarding to istiod.  Since this is unique to the wait command (which is not part of CRD Status promoting to beta), I will lower the priority.

https://prow.istio.io/view/gs/istio-prow/logs/integ-k8s-117_istio_postsubmit/1360294947713978368

I suspect its a bug in our assumption: We send envoy envoy 2x responses before it ACKs the first, so it only ACKs one of them. Whether this is a core istio bug, envoy bug, or wait bug is unclear though (https://github.com/envoyproxy/envoy/issues/14598)

https://prow.istio.io/view/gs/istio-prow/logs/integ-k8s-117_istio_postsubmit/1458880592299954176

https://storage.googleapis.com/istio-prow/logs/integ-k8s-120_istio_postsubmit/1488638414830964736/build-log.txt. This time we see delta has none.
Note the test is setting a VS with no mesh field, so its not even pushing to sidecars


[OPTIMIZE] better UI/UX experience

Hi, Using your repository,
There should be some situation where a user wants to simply clear text.
By doing this code, user can do this. So, I added it
(actually this is way I customize and use this in my project)
I guess it may be better UI/UX.(Otherwise, it's okay.)
Anyway, Thank for your repository. I use this in very useful way.

Great! Thank you for your PR!


Generate applyconfigurations and Apply functions

Continuation of #5083.
Does not generate ExtractXXX functions because of additional openapi complexity and code.
fixes https://github.com/cert-manager/cert-manager/issues/5783
Release Note
Extended cert-manager api client functions with applyconfiguration structures

/retest

@inteon what is the benefit of these apply configurations over how we do applies currently?
This PR approaches doubling the number of lines of code in cert-manager/cert-manger.. Apprehensive to do so for purely cosmetic benefit.

TODO: validate the usefulness of this PR by trying to implement https://github.com/cert-manager/cert-manager/pull/5077 based on it.

xref

https://github.com/cert-manager/trust-manager/pull/217


[FEAT] Add a blog page

I believe it would be beneficial to set up a blog page where we can post blogs related to the features of the project.
For example, in the jobs section, we could have a blog discussing the preparation work for jobs in different fields.

Good to go !


Loopring Pay UI - Bounty

We recently launched Loopring Pay - fast, free, and completely self-custodial ETH and ERC20 transfers on our zkRollup.
We've been blown away by the reception of this tool by the Ethereum community, and beyond. However, right now, the experience basically feels like an "internal transfer" on the Loopring Exchange. You can see a 30 seccond video here of what it looks like.
We are hoping to give Loopring Pay it's own, purpose-built flow, that feels much more like simple payments, and less like an exchange environment. So we give the community that task.
This bounty is to build a Loopring Pay UI with the following requirements:

Responsive design (right now Loopring.io isn't mobile compatible, so mobile-friendly is important).
Have a Layer-2 balance page to display all layer 2 token balances
Have deposit/withdrawal/transfer history pages
Support deposit/withdrawal/transfers
Support a generic, configurable Web3 provider, and support Metamask as default.
The compiled code should be really tiny for mobile integration.
Use React as the frontend framework, no server-side rendering.

We are awarding 25,000 LRC (~$2.5k) to the winning bounty. We will give 3 weeks for the task.
zkRollup is a new (and very promising) technology for Ethereum. This is a great way to cut your teeth on the tech, and provide users a nice experience when they enter the Loopring zkRollup to escape main chain congestion.
We have just open-sourced the Loopring Exchange frontend (this very repo), so you will be able to see how to interact with the protocol and APIs from this. You can also have a look at the API here.
Thanks, and good luck!

Hey @mfinestone. Thoughts on this?


Problem with Authentication

Hi
Just installed Tweetnest on a shared Hoster, whit PHP 5.5.3 in FPM/FastCGI-Mode.
calling "/maintenance/loadtweets.php" won't work. It seems as if the "$_SERVER['PHP_AUTH_USER']" is not set.
I read some threads on stackoverflow, but the mentioned workarounds won't fix my problem.
My solution is removing the Password in the config File, comment out line 47 in mpreheader.php and securing the "maintenance"-Folder with .htaccess and .htpasswd
Has anyone the same problems and perhaps a fix that works?
best regards
Heiko

Had the same problem, your solution works fine for me. Sadly, I'm not able to find out why I couldn't get to run the file. I switched to a newer php version, had to update some tweetnest files and since then, I couldn't run the cronjob or access the loadtweets.php-file via browser. It worked before, so I guess the bad boy is the new php-version?


fix: SSA typing for right shifts

Description
Problem*
Partial work towards https://github.com/noir-lang/noir/issues/4275
Summary*
Previously, SSA was issuing (lhs_type, Field) DIV for right shifts. However this is wrong if we support shifts by the bit size (u1 >> 1)
This is interpreted in acir_gen as an euclidean division with bit_size = lhs_type.bit_size(). However, u1 >> 1 worked because of a + 1 that is in euclidean division https://github.com/noir-lang/noir/blob/0e073037b00212fd17fc8ca9c531b567614eb4c5/compiler/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs#L703 (and it failed in unconstrained functions since they don't codegen that extraneous + 1)
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Looking at the changes to simple_shift_left_right, ssa changes
Before
acir fn main f0 {
  b0(v0: u32):
    v31 = div v0, Field 2⁴
    v32 = mul v0, u32 2⁴
    v33 = truncate v32 to 32 bits, max_bit_size: 36
    v34 = div v33, Field 2⁸
    constrain v31 == v34
    return
}

After
acir fn main f0 {
  b0(v0: u32):
    v51 = cast v0 as u33
    v52 = div v51, u33 2⁴
    v53 = cast v52 as u32
    v54 = mul v0, u32 2⁴
    v55 = truncate v54 to 32 bits, max_bit_size: 36
    v56 = cast v55 as u33
    v57 = div v56, u33 2⁸
    v58 = cast v57 as u32
    constrain v53 == v58
    return
}

These additional casts are preventing us from doing some SSA optimisations. Not a blocker for this PR however we should look at whether we can look through these casts to recover some performance.

Gonna take a couple of mins to see if we can fix this in this PR, will approve in a sec

Doesn't seem like there's a clean way to handle this without turning this PR into a wider SSA optimisation PR.


[staging] fontconfig: fix properly

Description of changes
Revert #338326, apply fix to the right place.
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

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

Maybe combine the last two commits, so it's clear why it's being reverted and there's no point where it's broken again?

The first commit will go away once staging-next is merged into staging

Yeah, I'm talking about the other two.

I don't know, I kinda prefer an explicit revert

Okay.  I would like it if we had a rule like the kernel where we never knowingly leave intermediate broken states between commits in a series for bisectability, but we don't, so it's up to you.

Yeah, that makes sense. Squashed.

Just realised we could also have just swapped the order of the two commits, probably.  Oops.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tests-are-failing-due-to-missing-fontconfig-config/51487/4


added Pausenmenu, Timer and Stars

Addition

Pausenmenu

Click 'esc' button to open/close the Pausemenu.  When Pausenmenu is opened, the Time.timeScale = 0f (the time of the game is paused)
'Fortsetzen' button will close the Pausemenu.
'Neu Starten' will reset the timer by calling the 'Timer.ResetTimer()' and the stars by 'Stars.ResetStar()' on click
'Level Auswahl' will change the scene to 'Level Auswahl'
'Hauptmenu' will change the scene to 'Hauptmenu'

Timer

Timer is always shown and will be paused when Pausemenu is opened
To reset time call Timer.ResetTimer()
To get the time (probably for GameOver menu) call Timer.getTimer()

Stars

No stars will be shown at the start of the game and will only show stars corresponding to the number of stars collected (currently maximum is 3)
To increase the number of stars call Stars.CollectedStars() -> this is important when later we want to program the collect stars logic
To reset the number of stars call Stars.ResetStar()

Important: All the UIElement is built using the UIDocument in Assets/UI/UIScreens/gameUI

Pausenmenü.cs gibt es doppelt: "Pausenmenü.cs" "Pausenmenu.cs"

Hab schon geloescht


Open Database Object krash if asked to select object when focus is not in the Database Navigator

DBeaver - Version 5.1.2 CE
Operating System: Windows 7 / Windows 8.1 / Windows 10
If one try to use the Open Database Object / Ctrl+Shift+D command while the focus is not in the Database Navigator an exception message is shown:

An internal error occurred during: "Items filtering".
java.lang.NullPointerException

Contents in the .log file:

!ENTRY org.eclipse.core.jobs 4 2 2018-07-11 10:26:51.356
!MESSAGE An internal error occurred during: "Items filtering".
!STACK 0
java.lang.NullPointerException
at org.jkiss.dbeaver.ui.dialogs.GotoObjectDialog.fillContentProvider(GotoObjectDialog.java:132)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.filterContent(FilteredItemsSelectionDialog.java:2050)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.internalRun(FilteredItemsSelectionDialog.java:1998)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.doRun(FilteredItemsSelectionDialog.java:1970)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.run(FilteredItemsSelectionDialog.java:1957)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

To repeat the faulty behaviour:
o Start DBeaver and connect to a database (in my case Northwind).
o Click on your choosen database in the Database Navigator tree.
o Press the Ctrl+Shift+D and choose a table (in my case Customers).
o The table data is shown on the right - OK
o Click on the data tab Data to view the table data grid.
o Press the Ctrl+Shift+D and choose a new table (in my case Orders).
o As soon as I start to type the first letter in the new table name, the ERROR message are shown.

Duplicate of #3727


om configure-bosh not populating openstack iaas config

I'm running om 0.18.0 with the example config in the docs and I can't get the IaaS fields populated for OpenStack:
IAAS_CONFIGURATION=$(cat <<-EOF
{
  "openstack_authentication_url": "$OS_AUTH_URL",
  "openstack_username": "$OS_USERNAME",
  "openstack_password": "$OS_PASSWORD",
  "openstack_tenant": "$OS_TENANT_NAME",
  "openstack_region": "RegionOne",
  "openstack_security_group": "cloud-foundry",
  "keystone_version": "v2.0",
  "ignore_server_availability_zone": true,
  "ssh_private_key": "super!",
  "key_pair_name": "cool-and-good",
  "disable_dhcp": true,
  "api_ssl_cert": ""
}
EOF
)

OPS_MAN_DOMAIN_NAME="<IP_ADDRESS>"
OPS_MAN_UI_USERNAME="me"
OPS_MAN_UI_PASSWORD="changeme"

om --skip-ssl-validation \
--target "https://$OPS_MAN_DOMAIN_NAME" \
--username "$OPS_MAN_UI_USERNAME" \
--password "$OPS_MAN_UI_PASSWORD" \
configure-bosh \
--iaas-configuration "$IAAS_CONFIGURATION"

./scripts/configure-opsman.sh
configuring iaas specific options for bosh tile
finished configuring bosh tile

This is against Ops Man 1.9.4

@craigbookwalter - this feature is experimental and we haven't actually taken the time to deploy to it ourselves (since we just merged a PR for it). If you give me access to your ops manager I can take a look at why it is not configuring.

yea come to #ultimatesoftware in the piv slack and we can screenhero if that's cool

issue is with the newlines in the ssh key, will PR the docs

@craigbookwalter really appreciate you digging into this. I am going to close this issue and look forward to the docs PR!


Test Azure Account to be used for automated Azure testing

With a squash, all the history that used to contain hardcoded credentials should hopefully be lost to time 😅

Nothing is ever gone from the internet haha. You should delete whatever was hard-coded and create new credentials

I just tested it and there aren't any build errors after removing the implements AzureAccount in the index.d.ts.  I wasn't thinking, but the only place that the TestAzureAccount must be recognized as an AzureAccount type is when we assign it in the AzureTreeDataProvider which is all within the same package, so the index.d.ts isn't affecting it at all.  😌

@StephenWeatherford Just wanted to ping you to see if there were any requested changes that I've missed


Misc Update README.md

📝 Summary
It was unclear from that doc that we needed to update the configuration of both the beacon and validator. I made it clearer.
⛱ Motivation and Context
I was not able to find clear instruction at first glance when setting up MEV Boost on my validator. I guess others may also be tricked.
📚 References

✅ I have run these commands

[X ] make lint
[x] make test-race
[x] go mod tidy

thanks. merged into a temporary branch to add and fix a little, will get into a new PR soon 🙏


gpgme: fix cross, drop python2

This package very confusingly takes both python(2) and python3 as
arguments, and then mixes them up via an overlay in python-packages.
Since python2 is now marked INSECURE, let's just stick with python3.
Also fixes cross compilation.

takes both python(2) and python3

It takes null because python is an alias or maybe not even that anymore.

Please squash.

Done.


Implement editing a custom column format

Note: Set as Default applies only to numbers received from the database

DG 1.18.0

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14947


CORGI-1044 Duplicate components in SBOMs causing validation failure

I'm not sure what change cause this issue to surface now. It was happening in stage just before the upgrade to PG15
. However it does seem to be resolved by adding a distinct on manifest_components filter.

When looking at the latest components via the API I don't see the same duplicate components issue, so only adding this change to the manifest_components endpoint.


Export voters emails

Created a method that creates a batch from a list of objects. Currently it assumes the Class of the object to be Voter.  Future to-do will include making this method more flexible.

👍


Uc03

Coverage remained the same at 100.0% when pulling 0678deee1d06be9ca939c3d89bea20f1763e4b8f on uc03 into c0f5ceec95f7c5276ba6a154f1a1c4ac12dc17e0 on master.


Release 1.0.0

Codecov Report

Merging #60 (f09b64c) into main (c387dd1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   90.50%   90.50%
=======================================
  Files           5        5
  Lines         158      158
=======================================
  Hits          143      143
  Misses         11       11
  Partials        4        4

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 c387dd1...f09b64c. Read the comment docs.


Delete contents

This message is shown when I try to delete an element from a table: Bad Request. Your browser sent a request that this server could not understand.
For example, when I try to delete an association.

This happens when you try to delete an element from the list, right? I know what's happening, this functionality is not finished ;)

Delete contents in lists view available from #30


 Declaring it first and only assigning within if works ok:
func ShowAllTasksFunc(w http.ResponseWriter, r *http.Request) {
	var message string
	if r.Method == "GET" {
		message = "all pending tasks GET"
	} else {
		message = "all pending tasks POST"
	}
	w.Write([]byte(message))
}

True that, I will fix this issue. I just want one feedback from you, as a reader,  do you think it'd  be better if the book provided actual code examples adding upto the full app at the end?

@thewhitetulip it would be better to store all full example code in new folder for every section.

@appleboy The thing is, the book is based out of https://github.com/thewhitetulip/Tasks
So from the chapter 3 and beyond they can directly check Tasks application's source code.
So I am in a dilemma regarding if there is a point in adding source codes in both the places. Also Tasks will be updated more often than the book, so the latest code is always going to be there in Tasks.


Fix calling create-puzzle-issue.yml from other workflows

Looks like there's type mismatches. e.g.
Fetch Puzzle
The template is not valid. .github/workflows/fetch-puzzle.yml (Line: 80, Col: 13): Unexpected value '2024',.github/workflows/fetch-puzzle.yml (Line: 81, Col: 12): Unexpected value '1',.github/workflows/fetch-puzzle.yml (Line: 82, Col: 13): Unexpected value '1

@sourcery-ai develop


Volume control functionality added

Issue #26

Looks nice, will merge it tomorrow after testing :)

Hey, there are some merge conflicts, can you resolve them and create another pull request? @shrishti-c

Hey, haven't you added the functionality of volume up or volume down? It's not working right now, there's just a seekbar for music control. If possible can you add a small sound logo in the end of the music control seek bar so that people can get to know that this is volume control functionality?

Volume can be controlled by dragging the slider handle. If it's at top, volume will be highest and and vice versa. Yeah will add that logo.

Seems you have already added that logo!!!


Bug: QA import from historical data displaying inaccurate duplicate error message

Context
The system  is impropely displaying an error message about duplicate records when a user attempts to import from historical data. This issue was spotted for . Greene County,CS0EBN and Barry, CS0AAN
Steps to Reproduce

checkout a config (ex. Greene County,CS0EBN )
Select Linerairty as a test type
Remove any Linearity records recorded for the facility
Select import
Import from historical data
Select Q1 2018
Select Preview
Select System ID: C02
press import
click ok

The system still adds the record despite displaying an error message about duplicate records.  The error message is impropely displayed as the user deleted the Linearity record before importing.
Testing
Tester: @JanellC


DDO-2733 Support writing service account keys back to Vault

Add a new optional field to the Yale GcpSaKey spec, vaultReplications:
vaultReplications:
  # Write all the key/value pairs in the service account JSON key as key/value pairs in the Vault secret.
  - path: secret/foo/map
    format: map
  # Write the service account key JSON as a string value at the specified key
  - path: secret/foo/json
    format: json
    key: sa-key.json
  # Write the service account key JSON as a base64-encoded string value at the specified key
  - path: secret/foo/json
    format: base64
    key: sa-key.b64
  # Write the service account key's PEM-encoded `private_key` field as a string value at the specified key
  - path: secret/foo/json
    format: pem
    key: sa-key.pem

Yale will write these values back to Vault immediately after updating its target Kubernetes secret.
Also:

Update to go 1.20
Speed up slow test that sleeps for 5mins
Fix a few Dependabot security alerts
Get CI back in working order

Approves contingent that bump tag check passes.

Log messages from a successful run in the terra-dev cluster:
[INFO] 2023/03/16 20:51:01 diskmanager-sa-secret does not exist
15
[INFO] 2023/03/16 20:51:01 Attempting to create secret diskmanager-sa-secret ...
14
[INFO] 2023/03/16 20:51:01 Starting to create new key for diskmanager-dev
13
[INFO] 2023/03/16 20:51:02 Created key for diskmanager-dev
12
[INFO] 2023/03/16 20:51:02 replicating map-formatted key<EMAIL_ADDRESS>to Vault (path secret/dsde/firecloud/ephemeral/chelseatest/map, key )
11
[INFO] 2023/03/16 20:51:02 replicating json-formatted key<EMAIL_ADDRESS>to Vault (path secret/dsde/firecloud/ephemeral/chelseatest/json, key sa-key.json)
10
[INFO] 2023/03/16 20:51:02 replicating base64-formatted key<EMAIL_ADDRESS>to Vault (path secret/dsde/firecloud/ephemeral/chelseatest/base64, key sa-key.b64)
9
[INFO] 2023/03/16 20:51:02 replicating pem-formatted key<EMAIL_ADDRESS>to Vault (path secret/dsde/firecloud/ephemeral/chelseatest/pem, key sa-key.pem)
8
[INFO] 2023/03/16 20:51:03 Successfully created secret diskmanager-sa-secret for diskmanager-dev
7
[I


object_delete issue

object_delete API checks if resource is set to decide what should be deleted: object instance or all object instances instead off checking that  instance bit is set in the uri flag data member .
see the following fixed working code:
coap_status_t object_delete(lwm2m_context_t * contextP,
lwm2m_uri_t * uriP)
{
lwm2m_object_t * objectP;
coap_status_t result;
objectP = (lwm2m_object_t *)LWM2M_LIST_FIND(contextP->objectList, uriP->objectId);
if (NULL == objectP) return COAP_404_NOT_FOUND;
if (NULL == objectP->deleteFunc) return COAP_405_METHOD_NOT_ALLOWED;

LOG("Call to object_delete\n");

if (LWM2M_URI_IS_SET_INSTANCE(uriP))
{
    result = objectP->deleteFunc(uriP->instanceId, objectP);
}
else
{
    lwm2m_list_t * instanceP;

    result = COAP_202_DELETED;
    instanceP = objectP->instanceList;
    while (NULL != instanceP
        && result == COAP_202_DELETED)
    {
        result = objectP->deleteFunc(instanceP->id, objectP);
        instanceP = objectP->instanceList;
    }
}

return result;

}

Fixed by #192
Thanks for spotting this.


20.04 timeline?

Just curious: is there a timeline for baseimage-docker to support the 20.04 LTS release of Ubuntu?
Has this already been announced/discussed elsewhere?
Also, just wanted to say thanks: I'm a big fan of this project and appreciate that it's generally worked quite well -- and thus doesn't require much activity or maintenance on this repo.

@arlofaria If you feel up to it, you can certainly try it and see what breaks, push up your branch and create a PR, etc. We can go from there.

@Theaxiom I did the PR, but it seems like Travis is not allowed to access encrypted ENV variables so it cannot build.

Maybe we should fix master build first?

Maybe we should fix master build first?

There's really nothing we can fix.
https://travis-ci.org/github/phusion/baseimage-docker/jobs/677489186

@Theaxiom You are aware that the build is failing, all the PR's cannot be built?

I'll test locally and then merge it.
On Tue, May 5, 2020, 3:41 AM Skyler Mäntysaari<EMAIL_ADDRESS>wrote:

@Theaxiom https://github.com/Theaxiom You are aware that the build is
failing, all the PR's cannot be built?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phusion/baseimage-docker/issues/554#issuecomment-623980590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAN5NKSBARQSPSZ774HSA3RP7UMDANCNFSM4MSFXECA
.

I rebased my PR, so it only has the base image change now, as needed.

Thank you.
On Tue, May 5, 2020, 3:42 PM Skyler Mäntysaari<EMAIL_ADDRESS>wrote:

I rebased my PR, so it only has the base image change now, as needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phusion/baseimage-docker/issues/554#issuecomment-624344554,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAN5NPHUQDWDI5KF34A3ZLRQCI4XANCNFSM4MSFXECA
.

Should probably release a new version first from master before merging this
in, too. I will do that.
On Tue, May 5, 2020, 4:13 PM Travis Rowland<EMAIL_ADDRESS>wrote:

Thank you.
On Tue, May 5, 2020, 3:42 PM Skyler Mäntysaari<EMAIL_ADDRESS>wrote:

I rebased my PR, so it only has the base image change now, as needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phusion/baseimage-docker/issues/554#issuecomment-624344554,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAN5NPHUQDWDI5KF34A3ZLRQCI4XANCNFSM4MSFXECA
.

I haven't forgot, just been very busy at work. I am doing this tonight, thanks for all your hard work and contributions!

Yeah I know, I said I would do this last night... didn't quite make it. I have it at the top of my priority list.

It appears that I have been removed from the phusion organization on Docker Hub. Currently looking into this.

Apparently the organization changed on Docker Hub and I have to be re-added, @FooBarWidget sent an email back in February about it. Sit tight and we will get this resolved. :)

Sandro,
I completely agree with you and I am a DevOps architect, I build CI(CD
pipelines for a living. Right now I am too busy and overloaded both
personally and professionally to fix the CI/CD pipeline, I am actually
deferring work at this very moment to get this release out to the community
because I honor my commitments. Since you seem so knowledgeable about the
subject, I would suggest you fix the CI/CD pipeline and push the changes in
a pull request and I will review them and merge them in. Thanks!
Thanks,
Travis Rowland
http://travisrowland.com
http://linkedin.com/in/travisrowland
http://about.me/travisrowland

This e-mail is privileged and confidential.  Do not forward, copy or print
without authorization.  If you are not the intended recipient of this
E-mail, you are hereby notified that any dissemination, distribution or
copying of this message is strictly prohibited. If misdirected, please
delete and notify the sender by e-mail at<EMAIL_ADDRESS>CAUTION: E-mail sent through the internet is not secure and could be
intercepted by a third party. For your protection, avoid sending
identifying information, such as account numbers or social security numbers.
On Fri, May 29, 2020 at 4:03 PM Sandro<EMAIL_ADDRESS>wrote:

I don't think that images should be manually pushed to Docker HUB. This is
a task for CI which reduces human errors and adds away for us to confirm
that the images are legit and not tempered with in the build process.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phusion/baseimage-docker/issues/554#issuecomment-636229044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAN5NIEEHCDOQ7NQWMCJODRUA5LJANCNFSM4MSFXECA
.

I would love to help but the fails are related to a permission issue on Docker HUB and I am afraid that I can't help there.
This already got mentioned a few comments up.

As already mentioned, the only apparent problem with the CI/CD build are missing credentials for the "docker push" - as at https://travis-ci.org/github/phusion/baseimage-docker/jobs/692704078#L1185
Hopefully sorting out new valid credentials for Phusion on DockerHub won't be too difficult?
Would be good to get a 20.04-based phusion baseimage sorted as I would love to test using some software (particularly Wine v5) that is awkward to shoehorn into 18.04.
Cheers!

I got my credentials restored for phusion, pushing phusion/baseimage-docker:bionic-1.0.0 now

I created https://github.com/phusion/baseimage-docker/releases/tag/focal-1.0.0-alpha1 and it will automatically build a pre-release and push to Docker Hub.

Ugh, just remembered that you can't have more than 1 hyphen in a Docker image tag. I will fix it by pushing another tag focal-1.0.0alpha1

Here you go: https://github.com/phusion/baseimage-docker/releases/tag/focal-1.0.0alpha1

@Theaxiom Could you fix the build error? https://travis-ci.org/github/phusion/baseimage-docker/jobs/694582397#L1806

@samip5 it started failing when the base image was switched to focal -- I will look into it when I have time, unless someone else can get to it before me.

warning: /etc/service/sshd: unable to open supervise/ok: file does not exist

But I don't understand why it's complaining it like that?


Update quickstart tutorial video

Make a new quickstart tutorial video, making sure audio levels are good.

Updated in 622c9b05c9b22b89445d4c296322466b0f5ea2f9


support query with ExampleMatcher on AggregateReference properties

support ExampleMatcher with AggregateReference
ExampleMatcher always ignore any property with AggregateReference because it check if its an isAssociation

i was able to run with this change
if (!property.isTransient() && (!property.isAssociation() || property.getActualType().equals(AggregateReference.class)))


Refactor exception mapper location, validators, Admin mocking support

No functional changes

@mstruk , @tombentley - FYI if you have a chance to start poking around the repository at the point of this PR.
The new code is in the com.github.eyefloaters.console.api and the com.github.eyefloaters.console.legacy package can be ignored. I have kept it for reference until the implementation is more complete beyond the initial set of read-only operations.
I will also be updating the README and providing some k8s resource YAMLs as part of this PR to hopefully make it easier to get something up and running to try it.


use github status updater

what

dispatch to cloudposse/actions
use cloudposse/github-status-updater to set status of dispatch events

why

dispatch events are always triggered against master, so the the status for PR is not updated
use cloudposse/actions so we can be more dry

/test ping


Worker postMessage @deprecated

VSCode Version: 1.24.0
OS Version: macOS

https://developer.mozilla.org/en-US/docs/Web/API/Worker/postMessage
Why it's deprecated if it isn't?

@bsvipas Where is this interface from?

It has been marked as deprecated for several versions.
https://github.com/Microsoft/TypeScript/blob/v2.9.1/lib/lib.dom.d.ts#L15199
https://github.com/Microsoft/TypeScript/blob/v2.9.1/lib/lib.webworker.d.ts#L1519

From this commit:
https://github.com/Microsoft/TypeScript/commit/79e5e79ef7724066889fbce97e9e6d6db4e746b5#diff-0abb36c63a4c22194c1931b03ac33053R1514

The reason as stated in Microsoft/TypeScript#23653, is

The file is auto-generated from the webidl definition of edge. they have marked it as deprecated, and that is why it shows up as such.

It has already been fixed and should ship with next TypeScript release.
https://github.com/Microsoft/TypeScript/blob/master/lib/lib.webworker.d.ts#L2322


go install sponge error

Describe the bug
https://go-sponge.com/zh-cn/quick-start?id=安装-sponge
根据文档的安装步骤，安装sponge的时候报错。
To Reproduce
Steps to reproduce the behavior, if applicable:

The code is

 go version

 go version go1.20.4 darwin/arm64

The error is

go install github.com/zhufuyi/sponge/cmd/sponge@latest

# github.com/zhufuyi/sponge/cmd/sponge
ld: warning: '/private/var/folders/jx/41jbkxb92y7cmh1cs8kznr6w0000gn/T/go-link-3333539147/go.o' has malformed LC_DYSYMTAB, expected 129 undefined symbols to start at index 43311, found 221 undefined symbols starting at index 76

看错误信息是链接器错误，我没有darwin/arm64环境，不知道是否为兼容性问题。


Remove deprecated values-file modification for super-agent recipe in staging

Remove deprecated values-file modification for super-agent recipe in staging

Please wait before merging this, I'll probably create another PR that deorecates this one.

This PR is now ready for review.


Deprecation on latest Ember

DEPRECATION: Please refactor `{{input focus-out="focusOut"}}` to `{{input focus-out=(action "focusOut")}}. ('ember-place-autocomplete/templates/components/place-autocomplete-field.hbs'

👌

https://github.com/dmuneras/ember-place-autocomplete/pull/77

Hey @engwan,
I made that small change and publish a new version 1.0.1. Let me know if the WARNING still appearing after using the new version.
Best regards,
Daniel.