Backpack 3.3 for Laravel 5.5 not publishing /views/vendor/

Bug report
What I did:
Follow the 3.3 installation procedure for Laravel 5.5:
https://laravel-backpack.readme.io/v3.3/docs/install-on-laravel-55
What I expected to happen:
Backpack vendor views to be published to resources/views/vendor/backpack/*
What happened:
Nothing was published
What I've already tried to fix it:
Roll back and attempt to reinstall from the beginning
Backpack, Laravel, PHP, DB version:
Backpack 3.3
Laravel 5.5
PHP 7.1.3
MySQL 5.7.17
All vendor:publish commands reported success, so I'm not sure what is going on:
vagrant@homestead:~/Code/pressstart$ php artisan elfinder:publish
Published assets to: barryvdh/elfinder
vagrant@homestead:~/Code/pressstart$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="public" #publish CRUD assets
Copied Directory [/vendor/backpack/crud/src/public] To [/public/vendor/backpack]
Publishing complete.
vagrant@homestead:~/Code/pressstart$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="lang" #publish CRUD lang files
Copied Directory [/vendor/backpack/crud/src/resources/lang] To [/resources/lang/vendor/backpack]
Publishing complete.
vagrant@homestead:~/Code/pressstart$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="config" #publish CRUD and custom elfinder config f
iles
Copied Directory [/vendor/backpack/crud/src/config] To [/config]
Publishing complete.
vagrant@homestead:~/Code/pressstart$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="elfinder" #publish custom elFinder views
Copied Directory [/vendor/backpack/crud/src/resources/views-elfinder] To [/resources/views/vendor/elfinder]
Publishing complete.

Hi,
It seams like you did this directly in Vagrant. Does the same happen if you do it on git bash? Are you on windows/ mac or linux?

Hi @neromaki ,
We no longer publish the views by default, nor recommend doing so in the installation process. I belive this started since CRUD 3.3, so that might be the source of your confusion. It looks to me like you've published everything that's necessary for CRUD to run, but NOT the views (since the installation doesn't ask you to do that). In order to publish the views use the views tag:
php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="views"

However. Before you do that, please consider NOT doing it :-) Because:

You don't need all the views published in your /views/ folder. If a view isn't there, Backpack will just pick it up from the package.
If you do publish all views, after a composer update you won't be getting any updates to the view files, since you won't be using the views from the package, but your own views (the ones you published).
Since CRUD has a lot of views, updates are bound to happen.

So I really recommend NOT publishing all the CRUD views. I recommend you manually create files for the views you need to customize, with the same name as the ones in the package. I know, it's a bit uncomfortable, but this way, you get the best of both worlds - you customize whatever you want, but you'll also receive any updates to all other files.
Just my 2 cents.
Cheers!


[aria-*] attributes do not match their roles

Describe the bug
While performing accessibility check using Lighthouse I get the following message in the results:
[aria-*] attributes do not match their roles

To Reproduce
Steps to reproduce the behavior:

Go to https://choices-js.github.io/Choices/
Open Dev Tools
Click on tab = lighthouse
Perform Accessibility check
See error / warning

Expected behavior
Expecting [aria-*] attributes to match their roles
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

adding role="option" to the elements that use aria-selected="true" will solve the issue.

while native HTML option elements that are descendants of a select can only be set as being selected, elements with an explicit option role can not only allow the equivalent aria-selected, but also the aria-checked attribute, supporting widgets/constructs that go beyond the capabilities of a native select element.

source: https://www.w3.org/TR/html-aria/#aria-semantics-that-extend-and-diverge-from-html

@hans2103 thanks, I've merged that into my fork which will be pushed to my v11.0.0 PR after the weekend. I'm still working through some of the e2e tests, so main on my fork may be broken.
The diff for this change isn't complicated but I only have the ability to merge other people's PRs not my own :(

It ended up touching a few more bits, but lighthouse accessibility score is reporting between 92 to 100 depending on the exact test page. Well better than the previous 72 or lower.
Obviously no substitute for real testing with a screen-reader.
One of the changes is to apply aria-label by extracting a matching <label for> which references the backing element's id.


Pythia support for mac M1 chip

I hope that the porting is not a big deal as in the end, this is ARM64
I see some info here https://github.com/pyca/cryptography/issues/6161
Mișu, give it a try on scaleway and see if we can build the python package.
This is low priority, but if the m1 chips have great computing power, maybe we will see them more often on servers.
The mac studio and mac pro hardware are a joke in terms of servers...so I don't have high hopes from apple producing a good server platform.
Thanks

Fixed through https://github.com/chevah/pythia/pull/39.


New version: TuringModels v2.0.0

Registering package: TuringModels
Repository: https://github.com/StatisticalRethinkingJulia/TuringModels.jl
Created by: @rikhuijzer
Version: v2.0.0
Commit: 763cdbea107cacb14ff48523272412240757bbc3
Reviewed by: @rikhuijzer
Reference: https://github.com/StatisticalRethinkingJulia/TuringModels.jl/commit/763cdbea107cacb14ff48523272412240757bbc3#commitcomment-46081566

The following dependencies do not have a [compat] entry that is upper-bounded and only includes a finite number of breaking releases: julia

Fixed in https://github.com/JuliaRegistries/General/pull/28216.

The following dependencies do not have a [compat] entry that is upper-bounded and only includes a finite number of breaking releases: julia

Fixed in https://github.com/JuliaRegistries/General/pull/28216.

Hi Rik,
if you insert a comment (as above), you need to add [noblock] at the end. I can’t edit your comment, maybe below noblock suffices but I doubt it.
[noblock]

Hi Rik,
if you insert a comment (as above), you need to add [noblock] at the end. I can’t edit your comment, maybe below noblock suffices but I doubt it.
[noblock]


help Godot 4.1.1

res://addons/godot_midi/midi_import_plugin.gd:51 - Parse Error: Identifier "Midi" not declared in the current scope.
res://addons/godot_midi/godot_midi.gd:7 - Invalid call. Nonexistent function 'new' in base 'GDScript'.
Can't open dynamic library: D:/Godot/Lythereal/bin/godotmidi/libgdgodotmidi.windows.template_debug.x86_64.dll. Error: Error 126: The specified module could not be found..
core/extension/gdextension.cpp:455 - GDExtension dynamic library not found: D:/Godot/Lythereal/bin/godotmidi/libgdgodotmidi.windows.template_debug.x86_64.dll
Failed loading resource: res://bin/godotmidi.gdextension. Make sure resources have been imported by opening the project in the editor at least once.

Did you open the project in the editor at least once?  Other than that, you need to provide more information, like your project setup, and how you are using the extension.

Please make sure the DLL file shown in the error message is in the expected location in your project.

I really don't know if I did the steps right, I just took the bin folder and the godotMidi folder and put it in my existing project (godot 4.1.1) from the source code, the bin I put it in the project folder and the godotMidi in the addons folder of the project, sorry if I didn't specify well

@flendoh This is my fault, I forgot Github Actions doesn't include the correct directory structure or any of the addon files, it only includes the shared library files (DLLs, etc.). I have updated "Beta Release 2" on the releases page with a new zip file, please try it with that. You should be able to simply follow the README instructions now.

@nlaha yep, now it works, thank you very much bro


Adding token and auth

Environment variables to add/change
{{ github.token }} is an optionally user-configurable variable that can now be used as an input.
What does this pull request do?
Adds {{ github.token }} to reduce rate limiting on the GitHub API.
How should this pull request be tested?
Specify Sops version 3.7.2 on a MacOS host, this appears to be where the bug surfaces most often.
Questions or comments:
Signed-off-by: Matthew Greenwald<EMAIL_ADDRESS>

I've seen flakey workflow runs with the SOPS installation complaining about an error on the GH releases URL. Can that be related to this PR?

@schlomo This is a known issue when setting the sops version to latest. I'm going to release a fix soon. In the meantime I'd suggest setting the version to 3.7.3 instead of latest.


Feat(eos_cli_config_gen): Add support for switchport port-security

Enhancement summary
Add support for switchport port-security feature in global and switched ethernet interface configuration.
Which component of AVD is impacted
eos_cli_config_gen
Use case example
Securing certain (IOT) ports on campus lan switches.
switchport port-security mac-address aging
switchport port-security mac-address moveable
switchport port-security persistence disabled

interface Ethernet1
  description IOT
  no shutdown
  switchport access vlan 999
  switchport mode access
  switchport
  spanning-tree portfast
  spanning-tree bpduguard enable
  switchport port-security mac-address maximum 3
  switchport port-security violation protect log

Describe the solution you would like
for global configuration
switchport_port_security:
  mac_address:
    aging: < true | false >
    moveable: < true | false >
  persistence_disabled: < true | false >
  violation_protect_chip_based: < true | false >

for ethernet interface configuration:
ethernet_interfaces:
  <Ethernet_interface_1 >:
    port_security:
      violation: < protect | shutdown, default: shutdown >
      mac_address_maximum: <1 - 1000 | disabled, default: 1 >
      log: <true | false, only supported in protect mode >

Describe alternatives you have considered
for global confg:
eos_cli: |
  switchport port-security mac-address aging
  switchport port-security mac-address moveable
  switchport port-security persistence disabled

for ethernet interfaces:
ethernet_interfaces:
  <Ethernet_interface_1 >:
    eos_cli: |
      switchport port-security mac-address maximum 50
      switchport port-security violation protect log

Additional context
Arista documents on this feature:
https://eos.arista.com/eos-4-15-3f/portsec/
https://eos.arista.com/eos-4-18-1f/port-security-preserve-macs-on-link-flapreload/
https://eos.arista.com/eos-4-24-0f/port-security-protect-mode/
https://eos.arista.com/eos-4-24-2f/port-security-protect-mode-enhancements/
https://eos.arista.com/eos-4-26-1f/vlan-based-port-security/
Contributing Guide

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

@kmueller68 we have considered reworking most of the switchport* commands on interface level, so they are mapped closer to the CLI. This will be an ongoing effort, but to get it started, I think we should call the interface key switchport_port_security.
Also the violation, we will not have a default per say in eos_cli_config_gen, but just render whatever the user inputs.
Re mac_address_maximum I think we need to separate this into two vars to avoid mixing types (We try to avoid this now, when we have schemas to enforce and guide the user). Ex. mac_address_maximum: <1-1000> and mac_address_maximum_disabled: <bool>. Then we can ignore the numeric value if disabled is set.
Thank you for your contributions!

One more thing. On interface level we will need an enabled: <bool> key to trigger configuring switchport port-security alone.

@ClausHolbechArista I have considered your requests.
And I have added the option vlan to have a full implementation.
ethernet_interfaces:<Ethernet_interface_1 >:
    switchport_port_security:
      enabled: < true | false >
      mac_address_maximum_disabled: < true | false >
      mac_address_maximum: <1 - 1000 >
      violation: < protect | shutdown >
      # Only supported when violation is set to protect
      log: <true | false>
      vlan:
        - id: < default | list of vlans as string >
          vlan_mac_address_maximum: <1 - 1000 >

the vlan option can add multiple lines like:
https://eos.arista.com/eos-4-26-1f/vlan-based-port-security/
interface ethernet1
  switchport port-security vlan 10 mac-address maximum 1
  switchport port-security vlan 200-203 mac-address maximum 5
  switchport port-security mac-address maximum disabled
  switchport port-security vlan default mac-address maximum 3

I have two suggestions for options violationand log:
    switchport_port_security:
      violation: < protect | shutdown >
      # Only supported when violation is set to protect
      log: <true | false>

or
    switchport_port_security:
      violation: < protect | "protect log" | shutdown >

I prefer
    switchport_port_security:
      violation: < protect | shutdown >
      # Only supported when violation is set to protect
      log: <true | false>

Re the vlan key, I would suggest to modify it a bit:
      default_vlan_mac_address_maximum: < 1 - 1000 >
      vlans:
        - vlans: < vlan range as string >
          mac_address_maximum: < 1 - 1000 >

Please keep this open, since we need this feature, but I am currently running out of time to implement it.

@JulioPDX Thank you very much for your implementation.


website: Fix link to the pull requests that implements support for configuring a liveness probe for an Ansible operator.

Fix link to that points to the work that implements liveness probe handling for Ansible-based operators that was done during the 0.18 release.

Description of the change:
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

CC @camilamacedo86 - is the normal workflow for the sdk team to merge against the most recent release branch instead of master?

@timflannagan1 Normal flow is if something is broken on master, merge there, and then backport to affected release branches.

Ah, it looks like we may need to go down one more release branch? Still seeing the old PR link to the Ansible liveness probe work.

I manually cherry-picked against the v0.18.x release branch: https://github.com/operator-framework/operator-sdk/pull/3606


How to pad image?

Hi, I'm happy to use SimpleITK.
I have a question about ResampleImageFiler class to do "image padding". I'd like to add padding to the original image, putting the original image into the center position of the padded image(Fig2)
When I tried with the code below, I got the padded image where the original image was at the left upper position(Fig1). It's not what I want.

[FIg1]

[Fig2]
My code is below. I think if I adjusted some parameter, I would get the right result. But I don't know which. How can I get the right result?

Please review the fundamental concepts of SimpleITK Images. Specifically, how images and pixel exist in physical space.
You have correctly propagated the image's direction and spacing however the output origin needs to be shifted. This can easily be done in index space then converted into physical space with something like:
output_origin_index = image.TransformContinuousIndexToPhysicalPoint ([-s/2.0 for s in shape])

Alternatively, a sitk::TranslationTrasform could be used instead of the identity. But this would move the physical location of the pixels which usually not what is intended when "padding".

Hello @HyunjiEllenPak ,
Possibly also look at the PasteImageFilter which is computationally more efficient than resampling.
If the padding is done in the context of deep learning / data augmentation this notebook may be of interest.

I believe your question has been addressed. Please feel free to post back with the solution for your problem.


no-unknown-property: allow allowFullScreen on iframe

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-allowfullscreen

I'll be backporting this into a patch release of v7.31.10 shortly, before later publishing a v7.31.11 (which will also include this fix).

Published.


[BUG] "TypeError: Failed to fetch" when package tries loading file via fetch(url)

What happened?
plasmo isn't bundling some files used by third party packages
when calling the init function of tlsn-js, it tries to load a .wasm file by doing
// ./node_modules/tlsn-js/wasm/pkg/tlsn-wasm.js
input = new URL('tlsn_wasm_bg.wasm', import.meta.url);
// ...
input = fetch(input);

but it seems that this wasm file isn't being bundled by plasmo so that fetch fails

I've set up a minimal example in this repo
Version
Latest
What OS are you seeing the problem on?
Windows, Linux
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Put the paths to the files you need embedded in your extension into the web_accessible_resources key of your package.json (see the mv3 manifest definition for more details). If you include them here, plasmo will bundle the assets and you can then access them from your code.


SSR

Neogrok right now is only CSR'd.  It's nice to have a statically servable application but any deployment of neogrok already needs a deployment of zoekt-webserver, so being CSR-only doesn't really make for a fundamentally simpler deployment situation.
The site is really only lacking SSR for expediency in getting it off the ground.
With a server, we could do things to improve performance even in CSR, such as wrapping the zoekt APIs to remove unneeded data from responses and getting the data we do need into a more readily renderable state, like all of the buffer/string slinging we do to render match chunks, and doing syntax highlighting, which will require large JS libraries to do with good fidelity; doing all of that on the server and sending a more straightforward response to the client ought to be a nice improvement to perf.
We should do SSR with a framework as rolling your own is quite perilous.  Since we're already using react-router, the easiest framework to use would be Remix, though we'd need to drink react-router's "loader" kool-aid as a first step toward being migratable to Remix.  The other prominent React option is Next.  The wildcard option is SvelteKit, but that's certainly going to be a big lift.
I have experience with none of those frameworks, so it is a bit of an open question.  The main constraint is finding one that supports the somewhat insane routing and history manipulation we do with live search.

The main constraint is finding one that supports the somewhat insane routing and history manipulation we do with live search.

I looked into doing this with next.js (because React server components are The Future!) and while I could sort out the react problems in this regard (and in a much better way than the current react key approach; I will probably incorporate it into the existing CSR-only app), I could not make it work for nextjs-specific reasons.  On popstate, next is incorrectly not going back to the server, ensuring that while the UI will update on back button, there will be no API call/rerender with the correct data.
This is tracked in issues like https://github.com/vercel/next.js/issues/42991 and https://github.com/vercel/next.js/issues/45026.  It is a hard blocker until that's resolved.  They've acknowledged the situation in the first issue but it's not clear when/where there will be a resolution.
I pushed the demo to https://github.com/isker/neogrok/tree/nextjs-demo.
I'll try remix next.

Okay, so the next issues are fixed in 13.2.5-canary.9, but it's revealed the next problem: everything is unmounted on navigation, regardless of whether it's a server or client component.  So we can't navigate on every keypress.  The form remounts and loses focus, for example.  Very janky.  Maybe next just isn't an option for this kind of UI.
On the remix front, I have a WIP conversion to remix and it's going okay.  The biggest annoyance is that remix unconditionally polyfills fetch and related web globals on the server, and their fetch polyfill is really bad.  It does things like crash the server when fetches are aborted under certain circumstances that neogrok trivially triggered.
Even though modern nodes provide all the web APIs remix polyfills, you can't opt out of the polyfills; it always blows the native implementations away.  This is in contrast to next's behavior, which uses the native implementations if available.  If you strip the polyfills, the remix node runtime is actually very simple.  I might reimplement it without the polyfills and try to start a conversation with the maintainers about it.
Because remix renders and hydrates the full document, it also has big problems with hydration mismatches on the latest released version of react when site users have any browser extensions that mutate dom.  That is fixed in the next unreleased version of react, 18.3.0.

I ended up making remix work using some gross yarn patches to overcome the polyfill problem.  It's pushed to this branch: https://github.com/isker/neogrok/tree/remix.
That being said remix has some pretty brutal performance problems with the constant navigations that react-router did not, especially on the repositories page.  I have not been able to get to the bottom of the problem, other than that it's related to the server-only load functions that are critical to my goal of minimizing code sent to the client, especially to do things like syntax highlighting.  If you get rid of those loads, perf gets way better.  Perf problems are much less noticable in prod builds but it's not exactly encouraging.
Overall, I am not very impressed with remix.  A lot of debt incurred servicing the previous states of both React and node from a few years ago, and no indications that it's keeping up with more recent changes.
Since I've been learning so much about the landscape trying these conversions out, I am just going to go the distance and try out Svelte and SvelteKit.


passes filename as title to vlc

adds usage of --meta-title to VLC's args (addressing #225, and #244)
Note: this requires vlsub 0.10+

0.37.0


Option to omit metadata?

Thanks for a great tool! I just recently discovered it after using the old transcode-video for a long time.  It's working well so far, but I have run up against one pain point and I wonder if there's a way to make it better.
Many of my rips have metadata tags in them that I would like to keep in the original but not copy to the transcoded version.  transcode-video seems to do this by default (I suspect as an "accident" due to the way Handbrake works), but other-transcode preserves them in the transcode.  Is there (or could there be) a way to omit tags from the newly transcoded file?  I know I can remove them as an extra step after the transcode finishes, but that requires a remux which can take a surprisingly long time.

@zb140 Thanks for using my tools and I'm glad they're working well for you.
What metadata and which tag is the problem?
BTW, the only metadata that other-transcode explicitly copies are audio track titles, but only if they're added by name, and subtitle track titles. Any other metadata being copied over is likely an behavior of ffmpeg itself.

Sorry, I should have been clearer -- I'm sure you're right that ffmpeg is copying the tags over by default.  The tags I'm talking about are custom tags I added when ripping that help some scripts I use to manage my library.  So I certainly wouldn't expect other tools to know anything about them :smile:
Handbrake (and thus transcode-video) seems to omit them by default.  ffmpeg seems to keep them, but I can explicitly remove individual tags with something like -metadata:s:v:0 x-whatever= or all tags with -map_metadata -1.  So I guess what I'm really asking is, would you ever consider adding a mechanism I can use to tell ffmpeg to leave tags out?

@zb140 A stream-specific option is too complex, not to implement but for most users to understand. And something like a --no-metadata option would disable all useful metadata. That's how adding adding -map_metadata -1 to your ffmpeg command line works. It's all or nothing.
And this whole destructive behavior would only be necessary for a very narrow use case.
So, I'll consider it but I'm not inclined to add this feature. So fair warning that the answer will likely be "no."
BTW, there's no need to completely remux and replace your output to remove these tags. You can simply modify your output using mkvpropedit. I do that all the time myself. Let me know if you need help crafting the proper command for that. You can then simply add it to a wrapper script or your batch file, if you use one.

That's fair. I get that my use case is not common. Where the pain comes in for me is that the write performance of the system I'm doing this on is, frankly, garbage :smile:  I just tried a plain vanilla cp copy of a ~40GB Blu-ray rip and it took over 5 min.
Having said that, it does look like mkvpropedit can solve my problem.  I've definitely tried it before and I don't remember why I gave up on it, but just now I was able to both add and remove tags instantly. And since the performance was the reason I wanted to be able to transcode and remove the tags at the same time, it looks like my problem is solved.  Thanks again!

@zb140 Sorry I took so long to respond. I've been AFK for most of the afternoon and evening.
I'm glad mkvpropedit worked so well for you! It's almost magic for editing metadata and yet another reason why MKV and not MP4 is the default output format from other-transcode.
I'll keep this open for awhile longer to see if anyone else comments.


Update README.md

http://caniuse.com/#feat=css-sticky

One small change since this PR went in, Chrome removed their impl

Thanks!


PLAT-16233: Updated sample to use new VideoTitle components

This is now the prescribed way to use the VideoPlayer control.
Enyo-DCO-1.1-Signed-off-by: Blake Stephens<EMAIL_ADDRESS>

Closing in favor of https://github.com/enyojs/enyo-strawman/pull/328


Texture overlapping error

I'm using DynamicTrees-1.16.5-0.10.0-Beta33.jar with some other mods and I have this issue with the textures overlapping or missin in the edges of the top and bottom, I was wondering if you had seen this before and perhaps help me fix it, maybe is a setting or a specific mod.
I'm not using any of the Incompatible Mods indicated in the Curse Forge page. (Applied Energistics 2, Tree Chopper, Liquid Luck or Cave Biomes API)
If you do not follow these basic rules we may well close the issue without explanation.
This are some vanilla blocks that have the issue but any type of dynamic block like the mod Add-Ons also have this issue.

I'm not using OptiFine but instead a combination of mods like Sulfuric, BetterFoliage, DynamicLightsReforged, Magnesium_extras, among others.
The game doesn't crash, is just a visual bug/conflict.

Dynamic Trees: 1.16.5-0.10.0-Beta33.jar
Forge: 36.2.20
CurseForge: v. <IP_ADDRESS>
Java: Version 8 Update 321 (build 1.8.0_321-b07)
OS: Windows 10 version 20H2

Dynamic Trees does not change blocks in this way. IIRC that is Better Foliage.


NameError: name 'isinstanceof' is not defined

isinstanceof() in not defined.

i have made a PR for this #2

Thank you!


Add finder to RequirementPreparer() kwargs

See https://github.com/pypa/pip/pull/7301

Changelog-friendly one-liner: Add compatibility with pip>=19.4.
Contributor checklist

Provided the tests for the changes.
[X] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

Broken again. Better to hold on and give pip's crew time to refactor it properly. Close it for now.


Import TSDB directly, without adapter; Unify Iterators, Querier, Series interfaces.

The interface separation was required as we were prepared for multiple TSDB implementations. We have one that just got merged into the same repository, so let's simplify everything. By accident, because of all of this, we have two complex MergeSeriesSet function that does the same thing. This will be fixed in next PRs.
This is part of https://github.com/prometheus/prometheus/pull/5882 that has to be done to simplify things.
All todos I added will be fixed in follow up PRs.
Changes

querier.Querier, querier.Appender, querier.SeriesSet, and querier.Series interfaces merged
with storage interface.go. All imports that.
querier.SeriesIterator replaced by chunkenc.Iterator
Added chunkenc.Iterator.Seek method and tests for xor implementation (?)
Since we properly handle SelectParams for Select methods I adjusted min max
based on that. This should help in terms of performance for queries with functions like offset.
added Seek to deletedIterator and test.
storage/tsdb was removed as it was only a unnecessary glue with incompatible structs.

No logic was changed, an only different sources of abstractions, so no need for benchmarks.
Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

Looks okay. Someone from Cortex should also take a look.

All should be ready for review @pracucci @pstibrany
Let me know if that's ok from Cortex perspective. Thanks!

I will try to integrate it into Cortex to make sure if I haven't missed anything.

I was able to easily integrate it into Cortex and make unit tests run. (I cannot fully compile and run, as Cortex also depends on Thanos...)

Thanks for all the detailed comments! :heart:
Addressing soon.

just need to fix the failing tests now :)

It took ages, but finally, it should be ready for final review! @krasi-georgiev @pracucci @pstibrany @brian-brazil Thanks!

Please review, but we will merge only after full v2.16.0 is out cc @brian-brazil

This statement is still not true for some iterators in Prometheus (eg. mergeIterator will simply panic). I (very strongly) prefer to keep At() behaviour before any Next or Seek operation (that returns true!) to be unspecified, so that clients cannot rely on it.

@pstibrany Might be that not all iterators comply to this but I believe there is an advantage in being consistent and specified. I will try to update all implementation and TODO is added to make sure with unit test if this works.

Also I will fix mergeIterator in next PR (probably even merge with duplicate one)

All addressed @brian-brazil :+1:

You are totally right @pstibrany, will remove the new requirement from the interfaces, however I would vote for making it consistent for Prometheus implementation in form of maxt, 0 e.g.

You are totally right @pstibrany, will remove the new requirement from the interfaces,

Thanks. I would go little further, and say that At() can only be called if Seek or Next returned true. Otherwise its return value is not specified.

however I would vote for making it consistent for Prometheus implementations in form of maxt, 0 e.g.

Sounds good to me.
Thank you!

All addressed @brian-brazil @krasi-georgiev @codesome @brancz
Let's merge this so I can move forward with https://github.com/prometheus/prometheus/pull/5882 :+1:

Kind reminder @brian-brazil

All addressed @brian-brazil  (:

Rebased... again. (:

:+1:

:tada: WIll merge on the green. Thanks all for review, was quite long PR.


T 7302 OnBeforeGetWhseLocation event needs var on parameter CurrentLocationCode

Hi,
we need in table 7302 on event OnBeforeGetWhseLocation return value of parameter CurrentLocationCode. Could you please put VAR there.

Please check latest code in 15.X before doing request, we already have this implemented. In general we do not accept requests for 14.X code base, so please use 15.X AL code instead.

OK thanks, i see that you put VAR there. Tnx


Packagist

Am I stupid, or is this module not on packagist.org (anymore)?

Thank you for raising the ticket, we're checking it out.

Hopefully we're back up and running now:
https://packagist.org/packages/silverstripe-terraformers/gridfield-rich-filter-header
Please re-open this ticket if you're still having any troubles.


Chalk cleanups

split off the Interner impl and the conversion code into their own modules
use TypeCtorId as AdtId directly (instead of raw InternIds), and rename the type alias StructId -> AdtId
provide missing Chalk debug impls

Nice!
bors r+


Replace spin loops with blocking in runCommand and performTask

Yes, I know, the blocking APIs for Process aren't very clean and generally suck, but I think not wasting 2-3 CPU entire cores while running tasks is more than worth a small amount of added complexity. CPU time doesn't exactly grow on trees.
I've marked this PR to allow edits by maintainers, feel free to turn the stderr/stdout lambdas in Util.runProcess into a function/do whatever else you want.
But please merge this :)
My CPU (and many others) will thank you later

How would the usage of Thread#onSpinWait compare?


-L (--files-without-matches) option does not work as expected.

ag -L 'foobarbaz' just prints all filenames regardless of whether they contain match for a given search string or not.
Version 0.14.

This is still an issue in 0.32.0. can this be reopened?

@jasonkarns
Confirmed.
It seems to list all files where the pattern does not match on any line.  E.g. ag -L 'e|a|o|u|i' will print much less.
I suggest creating a new issue for this.  Please link to here from it.

@blueyed #238 is a dupe of this and still open. Maybe best to take discussion there?


style class should declare a red-text? and have its class set to red?

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

@Tudie-Tudie
Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "Help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.


enable hairpin mode on the bridge port & fix iptables rule

When userland-proxy is disabled, enable hairpin mode on the host-side of the veth
When userland-proxy is enabled, fix the iptable rules appropriately

Signed-off-by: Madhu Venugopal<EMAIL_ADDRESS>

Fixes docker/docker#13873.

LGTM


Sample app please

I think this is a great library, please add an example app

Hey @lohriialo thank you!
The sample app v1 is on the way, I'll be sharing more details soon.

@eltonvs any chance sample app is ready?

@eltonvs any chance sample app is ready?

Would love to see a sample app!

Hey @lohriialo thank you! The sample app v1 is on the way, I'll be sharing more details soon.

Hey! How can we get the socket connection from OBD2 through bluetooth? That's the only missing part I have and would make things more clear for everyone I guess.
Thanks!
@eltonvs

hello please share a demo app .. thanks :)

@eltonvs Hi there! Please share demo app via bluetooth, wifi and usb... Thanks :)

how it goin ?

sample app please!

anyone got any sample apps??

I appreciate the work of all contributors!
I also want to use the library for my university Research, but dont understand how to go for it.
A Sample app, or much better in my opinion would be a YouTube Video explaining It (Connect to Bluetooth Stream, request multiple Data simultaniously, handle/save incoming Data etc.).

My sample app: https://github.com/roq3/ObdLogger

anyone got any sample apps??

My sample app: https://github.com/roq3/ObdLogger


[FLINK-12888] [table-planner-blink] Introduce planner rule to push filter into TableSource

What is the purpose of the change
Introduce planner rule to push filter into TableSource
Brief change log

remove FunctionCatalog in blink planner and use FunctionCatalog in flink-table-api-java
Added PushFilterIntoTableSourceScanRule that pushes filter into TableSource
Added RexNodeExtractor to extract conjunctive predicates to Expressions

Verifying this change
This change added tests and can be verified as follows:

Added PushFilterIntoTableSourceScanRuleTest that validates logical plan after PushFilterIntoTableSourceScanRule is applied
Added TableSourceTest that validates the physical plan for the filterable table source
Added TableSourceITCase that validates the execution result for the filterable table source

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@KurtYoung, @JingsongLi,  i have updated this pr based on comments. do you have any other suggestions? thanks
ps: i add another minor commit into this pr: remove FunctionCatalog in blink planner and use FunctionCatalog in flink-table-api-java


add reload to model

Similar to ActiveRecord::Persistence.reload, this will refetch a resource from the API and assign its attributes in-place.
user = User.find(1)
# => #<User(users/1) id=1 name="Tobias Fünke">
user.name = "Oops"
user.reload # Fetched again via GET "/users/1"
# => #<User(users/1) id=1 name="Tobias Fünke">

As described in the docs

Reloading is commonly used in test suites to test something is actually
written to the database, or when some action modifies the corresponding
row in the database but not the object in memory

It's useful in the console as well.
fyi PR #367 also adds reload to associations 😺

This is brilliant @zacharywelch thank you! I'm quite snowed under; how confident should I be just merging this? Will it break anything? I can't see that it can really.

(From a quick code review it looks really self-contained)

Hi @edtjones you're right it's rather self-contained and shouldn't interfere w/ her's public api. I spent some time confirming the Relation params weren't carried over after reload and that looks fine as well 👍

Amazing. I will try to merge and release this week. Thanks again!
(Would you like commit access? I'm keen to share with as many as are keen to contribute)

sounds awesome! sent an email to your errorstudio address 😄

Thanks for this PR! Do you think you can also merge #367?
I started using Her last week and I was just looking for a way to reload assotiations in my test suit.

@vinc yes! Plan to merge @zacarywelch's stuff asap.


On Android bitmap images with  do not load if requested from remote source and cached on disk.

On Android using the  component, if the image has been requested from a remote source it will work, if the image is loaded a second time and cached in memory it will work, however, it will not load if the image has been requested and the memory is cleared by closing the app. The next attempt to load the image is from the disk cache and it will not show. However, it is cached in memory when loaded from disk cache and will show subsequent times from memory until either the image is removed from memory because by the os or the app memory is cleared by closing out.
I used the method Image.queryCache() to see where the image has been stored in cache.

I think this code
    @Override
    public void draw(final Canvas canvas, final Paint paint, final float opacity) {
        if (!mLoading.get()) {
            final ImageSource imageSource = new ImageSource(getThemedContext(), uriString);

            final ImageRequest request = ImageRequestBuilder.newBuilderWithSource(imageSource.getUri()).build();
            if (Fresco.getImagePipeline().isInBitmapMemoryCache(request)) {
                tryRender(request, canvas, paint, opacity * mOpacity);
            } else {
                loadBitmap(request, canvas, paint, opacity * mOpacity);
            }
        }
    }

needs to include checking for the image in the disk cache before loading the bitmap in memory cache.
see http://frescolib.org/docs/caching.html

I found a hacky work around. Image.getSize() will move the image from disk to memory cache before the component is rendered.
    // Might as well start fetching the image
    const noop = () => {};
    Image.prefetch({ uri: venueImage });
    Image.getSize(venueImage, noop, noop);

I guess this is resolved then? If you find a nice place / set of conditions to put that logic then it would be great if you could open a pull request. Closing this for now.


Add SwipeRow.isOpen type

Add SwipeRow.isOpen type.
Quick one for you (love the library btw). Was hoping to add a type for the isOpen class value on SwipeRow.
export class SwipeRow<T> extends Component<Partial<IPropsSwipeRow<T>>> {
        isOpen: boolean;
	closeRow: () => void;
	closeRowWithoutAnimation: () => void;
	render(): JSX.Element;
	manuallySwipeRow: (toValue: number, onAnimationEnd?: () => void) => void;
}

Thanks!

Hey @PrescottJRynewicz turns out I already had the property set up, just had to add it to types!


anthropic import fix

Why are these changes needed?

Fix an import problem in anthropic
Run the notebook with claude-3-5-sonnet-20240620

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

We can rerun this notebook with the new fixes. @qingyun-wu
cc @marklysze


GitBuildId Error caused by git describe's unexpected output

how this can be fixed?

@ColinTree Which version of git are you using?

Easiest fix would be to make a new branch from head. You should be able to this by git checkout new-branch-name.

it just a new branch checkout from upstream(mit-cml/appinv) directly.
i m not sure if i need to clone the whole repo again?

Given that git is handing back a SHA1, it is likely not a branch. You are probably in detached head state, so you need to make a branch out of it using the checkout command I described above.

would the depth of cloning affect this? i cloned the repo with only depth 5 to save my storage space...

Solved, i should not checkout from a remote branch.
sorry


Docker runner updates.

Unifying configure/run function names across different runners. CLI functions with click wrappers have cli suffix: configure_cli and run_cli. They call regular worker configure/run functions.
Exporting these two functions so that they can be imported as from mlcube_docker import configure, run. This is used by mlcube for implementing single entry point functionality.

This is a series of PR proposing similar updates for all runners:

SSH #157
Singularity #158
Docker #159
K8S #160

Not relevant anymore.


Fix install for Races

Every time I see the identifier I think it's a mod that adds ethnic Kerbals...

"Oh, let me submit this to CKAN and then change the folder structure on my very next release!"
Grumble, grumble, grumble


Markdown in labels

Is it possible to make labels with markdown? I need to insert link to one of my labels (privacy politics)

From what I know, currently it's not possible to have markdown in labels. I think it's easier to make your own field which will contain markdown or dynamic html. Depending on how often you need this feature it might be introduced but only in a component form and not markdown.
label:{
 template: `This is my bold text
}

Or you can use help or hint prop. The help supports HTML tags.
https://icebob.gitbooks.io/vueformgenerator/content/fields/field_properties.html

@cristijora Thank you. I'll try.

I tried
`var privacy = {
label: {
template: 'This is my bold text'
},
};
var app = new Vue({
el: '#app',
mixins: [privacy],
components: {
'vue-form-generator': VueFormGenerator.component
},
...`
That doesn't work.
I know that I missed something important, but I don't know what.

@Dubaua Maybe I didn't express myself very clear here but that was more of an idea/suggestion to implement rather than an implementation detail
The only thing that support html now is the hint field

https://jsfiddle.net/0mg1v81e/526/
My example is just a suggestion which is not implemented


Always "Use strict"

@shivbijlani,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

ping @rohitnarula7176

:shipit:


proto: define sequencer v1alpha1

This patch extracts Rust types that are used in communication between sequencer, sequencer-relayer, conductor, and celestia (as the data availability layer). The resulting protobuf types are intended to be the only way that services exchange data, making the current json-based wire format obsolete.
The former protobuf definitions defined in sequencer.v1alpha1 are overriden. This does not constitute a breaking change because these types were never used.
Summary
Brief summary of the changes made, ie "what?"
Background
Brief background on why these changes were made, ie "why?"
Changes

List changes which were made.

Testing
How are these changes tested?
Breaking Changelist

Bulleted list of breaking changes, any notes on migration. Delete section if none.

Related Issues
Link any issues that are related, prefer full github links.
closes

Implemented by #395


Cannot change wand.init save_dir on Windows 10

wandb --version && python --version && uname

Weights and Biases version: 0.8.12
Python version: 3.7.3
Operating System: Win 10

Description
I cannot overwrite the default wandb save location './wandb/' nor the name of the run, here is a small script showing this:
What I Did
    os.environ['WANDB_DIR'] = str(dir_manager.seed_dir.absolute())
    os.environ['WANDB_DESCRIPTION'] = str(dir_manager.storage_dir.name)
    print(os.environ['WANDB_DIR'])
    # F:\PhD\my-irl-framework\direct_rl\storage\Pa30_e9c57d2_envhash_sacmh_cartpole_test_refacto\experiment1\seed131214
    print(os.environ['WANDB_DESCRIPTION'])
    # Pa30_e9c57d2_envhash_sacmh_cartpole_test_refacto

    wandb.init(dir=str(dir_manager.seed_dir.absolute()), name='test')

    print(os.environ['WANDB_DIR'])
    # F:\PhD\my-irl-framework\direct_rl\storage\Pa30_e9c57d2_envhash_sacmh_cartpole_test_refacto\experiment1\seed131214
    print(os.environ['WANDB_DESCRIPTION'])
    # test
    print(wandb.run.dir)
    # F:\PhD\my-irl-framework\direct_rl\wandb\run-20191001_142446-tdu4w2ge

I tried the following both in the Git-Bash and in the Command prompt
wandb run python main.py

main.py is located at F:\PhD\my-irl-framework\direct_rl\

Thanks for letting me know about this! I'll go over this issue in our weekly meeting.

We're pushing a fix this week, you can install with pip install --upgrade git+git://github.com/wandb/client.git@windows-no-run#egg=wandb

This should be fixed now - could you verify?


hugo 0.37: Markdown render italic is not worked well

The original string is Y*TTTT*Y.
Expect: YTTTTY
But Hugo 0.37 output is YTTTTY, not italic unless I add at least one space before first * and after last *, like Y *TTTT* Y.
I tried many themes, and there was same problem.

btw, bold ** is ok

I'm afraid this is a limitation you would have to live with, but you need to raise the issue here:
https://github.com/russross/blackfriday/issues


Hsql named arguments

Dialect: H2
failing sql: wherever named arguments are used, eg:
SELECT * FROM tablename WHERE columnname = :arg;

Error:
<binary like operator real>, <column expr real>, <compound operator real>, <exists expr real>, <expr>, <literal value real>, '?', BETWEEN, GROUP, IN, LIMIT, ORDER, RAISE or id expected, got ':'

Assuming #333 is taken (in some form or other), should also update mutator method generates proper method signature() test in sqldelight


The word Sprite misspelled in docs

Minor spelling issue in the documentation for Pointer.
https://github.com/straker/kontra/blob/master/docs/api/pointer.html#L164

Thanks for letting me know. Would you be interested in opening a pr to fix it? https://github.com/straker/kontra/blob/master/src/pointer.js#L41

Done #149

Closed via #149


P2W 1.2 for Java 6

More a Scala/SBT question, I'm respectively pretty/completely new to both. I need to build version 1.2 (Play 2.2.1) for JVM 1.6. How do I go about doing this in SBT?
I'll continue looking throught the SBT docs in the meantime but help would be greatly appreciated!

I need to build version 1.2 (Play 2.2.1) for JVM 1.6.

Why do you need that ? Play2war plugin is already built with "source" and "target" flags set to 1.6.

I deployed to JBoss 4 (Java 6) and got an UnsupportedClassVersionError (52.0 - Java 8) with controllers/Application. I thought this was due to P2W, as Play was configured to compile to 1.6. I realise now that Intellij is configured to compile artifacts to 1.6, not Play itself.
Sorry for the confusion. Thanks.


electric schemes

You did a great job congratulations! , I was wondering if you can add connection schemes so maybe we can too.

Yup, I have uploaded them as a build log on the hackaday.io page:
https://hackaday.io/project/177034-spot-spotify-in-a-4th-gen-ipod-2004/log/189343-wiring
I will also add to this repo this evening.

thank you very much, great job

i modified kakoub's schema found on hackaday.io if there are some errors, please tell me

That looks correct to me, just make sure you put the clickwheel flex cable in the right way!

ok thanks for the advice

Thank you very much for the detailed schematics! I just have one question. In @dupontgu 's Video he mentioned connecting the enable pin from the boost module to the hold switch, creating a power switch. So how would I need to connect the cables to do to the same?
The enable Pin to the right side of the hold switch and the left side of the switch to ground?

i modified kakoub's schema found on hackaday.io if there are some errors, please tell me

It is a good practice to connect a diode in parallel with inductive loads (the motir in this case)  in order to protect the transistor.  I am preparing an updated version for SPI display and power management. Will upload as soon as i am done with testing!

Thank you very much for the detailed schematics! I just have one question. In @dupontgu 's Video he mentioned connecting the enable pin from the boost module to the hold switch, creating a power switch. So how would I need to connect the cables to do to the same?
The enable Pin to the right side of the hold switch and the left side of the switch to ground?

You will need some extra electronic in order to use the EN pin in a meaningful way if you want to wait until the RPI is done with the power up/ down cycle


MINOR: Update DOAP with new releases

What changes were proposed in this pull request?
This PR aims to update Apache ORC DOAP with new releases, Apache ORC 1.7.4 and 1.6.14.
Why are the changes needed?
To keep DOAP up-to-date.
How was this patch tested?
Manual review.

Since this is about only project metadata, I'll merge this.

Backported to branch-1.8/1.7.
cc @williamhyun since he is the release manager of Apache ORC 1.7.6.


Api keys generated for user who have escaped comma in their DN is not working

Rancher server version - v1.6.7
Steps to reproduce the problem:
AD enabled setup.
Log in to rancher-server as a user who has escaped comma in their DN.
Create Account API Keys for this user
Not able to use the Api keys with rancher cli.
Sangeethas-MBP:rancher-v0.6.4-rc4 sangeethahariharan1$ ./rancher up -s hello -f rc.yml
ERRO[0000] Failed to open project : Bad response statusCode [403]. Status [403 Forbidden]. Body: [baseType=error, code=Forbidden, message=Forbidden] from [http://<ip>:8080/v2-beta/projects/1a29/schemas]
FATA[0000] Failed to read project: Bad response statusCode [403]. Status [403 Forbidden]. Body: [baseType=error, code=Forbidden, message=Forbidden] from [http://<ip>:8080/v2-beta/projects/1a29/schemas]'
Sangeethas-MBP:rancher-v0.6.4-rc4 sangeethahariharan1$ ./rancher env ls
ID        NAME      ORCHESTRATION   STATE     CREATED
Sangeethas-MBP:rancher-v0.6.4-rc4 sangeethahariharan1$

Following errors seen in rancher-server logs:
2017-09-05 22:43:10,825 ERROR [:] [] [] [] [p1020391880-156] [i.c.p.i.a.a.i.l.a.ADIdentityProvider] Cannot locate user information for (distinguishedname=CN=jellick\, craig,CN=Users,DC=testad,DC=rancher,DC=io)
2017-09-05 22:43:11,018 ERROR [:] [] [] [] [p1020391880-164] [i.c.p.i.a.a.i.l.a.ADIdentityProvider] Cannot locate user information for (distinguishedname=CN=jellick\, craig,CN=Users,DC=testad,DC=rancher,DC=io)
2017-09-05 22:43:11,349 ERROR [:] [] [] [] [p1020391880-157] [i.c.p.i.a.a.i.l.a.ADIdentityProvider] Cannot locate user information for (distinguishedname=CN=jellick\, craig,CN=Users,DC=testad,DC=rancher,DC=io)

Rancher server version - v1.6.9-rc3
AD enabled setup.
Log in to rancher-server as a user who has escaped comma in their DN.
Create Account API Keys for this user
Able to use the Api keys with rancher cli successfully .


[#159733111] Remove compose broker 🔥

What
This removes the compose broker from our deployment.
It includes a couple of temporary tasks to delete the broker, and to remove the secrets from the state bucket. These can be removed once they've run everywhere.
While working on this, I discovered that there was a fair amount of duplication in the list of secrets to be preserved when rotating. I've therefore taken the opportunity to de-dupe and alphabetise this list.
How to review

Run the pipeline from this branch
Verify all traces of the broker are gone
Run the pipeline again to confirm that the removal is idempotent.

Who can review
Not me.

API endpoint: https://api.samcrang.dev.cloudpipeline.digital
Authenticating...

OK
Deleting app compose-broker in org admin / space service-brokers as admin...
OK
Deleting route compose-broker-new.samcrang.dev.cloudpipelineapps.digital...
OK

👌🏻
$ cf a
Getting apps in org admin / space service-brokers as admin...
OK

name           requested state   instances   memory   disk   urls
aiven-broker   started           2/2         128M     1G     aiven-broker.samcrang.dev.cloudpipelineapps.digital
$ cf routes
Getting routes for org admin / space service-brokers as admin ...

space             host               domain                                   port   path   type   apps           service
service-brokers   aiven-broker-new   samcrang.dev.cloudpipelineapps.digital
service-brokers   aiven-broker       samcrang.dev.cloudpipelineapps.digital                        aiven-broker
$ cf service-brokers
Getting service brokers as admin...

name                           url
aiven-broker                   https://aiven-broker.samcrang.dev.cloudpipelineapps.digital
cdn-broker                     https://cdn-broker.samcrang.dev.cloudpipeline.digital
elasticache-broker             https://elasticache-broker.samcrang.dev.cloudpipeline.digital
rds-broker                     https://rds-broker.samcrang.dev.cloudpipeline.digital

🙆🏻♂

Second deploy does the right thing, ie does a noop because it's already been deleted.


Right clicking the mouse in Hyper v2.+ doesn't paste the clipboard contents 🙃

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10 Pro v1703

Hyper.app version: @latest

Link of a Gist with the contents of your .hyper.js: https://github.com/spences10/dotfiles/blob/master/.hyper.js

Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A

The issue is reproducible in vanilla Hyper.app: yes

Issue
Right clicking the mouse in Hyper v2.+ doesn't paste the clipboard contents 🙃
I have downgraded to Hyper v1.+ now
Thanks for all the awesome work 👍

I know it would take some getting use to, but you should be able to press CTRL+SHIFT+C/V to  copy/paste in Hyper on windows. CTRL+C is reserved for interrupt and CTRL+V is not related to pasting at all.

@bcorcoran but, but, it works in v1.4.8 why no workee in v2.+ 🙃

Fixed buy #2392


enable send_file function to send file via file_id(the hex str)

I was working on a streaming project, happened to use flask-pymongo, and found out that I needed to send file via file_id. And so I tweaked it a bit to send file via file id. Thought this might be helpful for other users.

Is it working ? as it gives typerror


new blocks are too far down

I actually prefer newly added blocks to not be visible yet when they are created. That way I have more time to place them where I want them.

You mean like sliding into view from the upper side?

Yes


Remove links:send_report rake task

The gds_zendesk gem is being retired and so we need to remove Smart Answer's dependency on it.
There is a single rake task that depends on the gem, and it does not
appear to be used anymore. The last support ticket raised by the gem
was on April 15th 2023, and we cannot find any code anywhere that would
be triggering the rake task. Therefore, instead of updating the rake
task to send the report to Zendesk without the gds_zendesk gem, we
are deleting the rake task.
Trello card
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Closes https://github.com/alphagov/smart-answers/issues/6848


Disallow Patient Login to Medplum App

Currently, if a Patient were to navigate to app.medplum.com/project=<id>, with a project id for a project they're enrolled in, they could log into the Medplum App.
Because we enforce default patient access policies, they would not have any elevated privileges. However, some Medplum customers might not want them to log into the app at all.
Proposal
A project-level setting that prevents patients logging into the Medplum App

👍 Thank you team!


🎮 Game Request
Game logic and basic description
Point down the features
Game points
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @Parth20GitHub !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @Parth20GitHub ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Refactor CacheDatasetOp and add tests

This PR refactors CacheDatasetOp and add the unit tests.
cc: @jsimsa

@jsimsa The variable name has been updated. Please have a look at the change (https://github.com/tensorflow/tensorflow/pull/30318/commits/e6593c186bed1e740efd4e65463542a1ca3a63d2)! The sanity check failed last time. It seems to be unrelated as the log shows:
ERROR: error loading package 'tensorflow/lite/delegates/gpu/metal/kernels': Unable to load package for '//java/com/google/wireless/qa/mobileharness/client/builddefs:mobile_test.bzl': BUILD file not found on package path
INFO: Elapsed time: 7.246s
INFO: 0 processes.

  This is due to invalid BUILD files. See lines above for details.

@rthadur The internal checks have been pending for a while. Could you please help trigger the internal checks?

@jsimsa The internal check and Window Bazel check failed. Could you please help check and paste the related log details here?

The cache dataset ops tests are timing out internally. The following error is repeated in the log a lot of times:
third_party/tensorflow/core/kernels/data/cache_dataset_ops_test.cc:172: Failure
Expected equality of these values:
  ::tensorflow::Status::OK()
    Which is: OK
  (iterator->GetNext(iterator_ctx.get(), &next, &end_of_sequence))
    Which is: Permission denied: open failed for cache_data_0.lockfile: Permission denied

When you specify a file path for the test, you should generate it with env::Default()->LocalTempFilename().

@jsimsa Thanks for the suggestion! The tmp_dir is added to the specified file path. Could you have a look at the change(https://github.com/tensorflow/tensorflow/pull/30318/commits/436516cacc69f4bbc8c9f66aca742a208af3164e)?

Close this PR as the code has been merged. @jsimsa Thanks for your help on this PR!


Talk: How to Be a Better Programmer.

[x] 😎 Ser el próximo speaker
[ ] 😃 Proponer un tema
[ ] 😋 Sugerir una idea/proyecto
[ ] 🤠 Convertirme en organizador
[ ] 🤕 Resolver una duda técnica
[ ] 🤡 Otro

Descripción

Who you are: Mentioning your context/experience is key of us to understand your talk better

I am a passionate full stack developer, i am working remotely at toptive.co, it is an Argentina startup. I have two years of expereince on being a full stack developer,
i have worked with technologies such as : ColdFusion, Nodejs, DHTMLX, Angular1, ReactJs, React Native, JQuery.

What's your talk/workshop about?

I would like to talk about important tips on how to be a better programmer computer.

How much time do you need?

I think 15 mins could be enough.
Thanks.

Súper @robinHurtado ! 😁 Este tema se ve súper interesante! Creo que nunca hemos tenido una charla como ésta en la comunidad! ⚡
No olvides echarle un ojo a nuestros Speaker Guidelines para que la saques del estadio 🎉
Envíame tus diapositivas cuando estén listas para darte feedback! ⚡

@robinHurtado ¿Cómo vas con tu charla!? Podría ser la primera del 2018 😀


Conformance tests for MongoDB State Store

Description
Conformance tests for MongoDB State Store.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #618
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

See sample run here: https://github.com/tcnghia/components-contrib/actions/runs/499855171
/assign @artursouza @mukundansundar


Please, How to print F1-score and recall etc.

i wnat to print F1-score, recall, acc etc, how to change code?

I have updated the eval.py to print the f1 score , recall and accuracy .
this is the part that will print it
'''
if y_test is not None:
correct_predictions = float(sum(all_predictions == y_test))
total_predictions = len(y_test)
accuracy = correct_predictions / total_predictions
f1 = f1_score(y_test, all_predictions, average='weighted')
recall = recall_score(y_test, all_predictions, average='weighted')
print("Total number of test examples: {}".format(total_predictions))
print("Accuracy: {:g}".format(accuracy))
print("F1 Score: {:g}".format(f1))
print("Recall: {:g}".format(recall))

'''

This is an automatic reply,confirming that your e-mail was received.Thank you!-------------------------------------liangting


Azure front door CLI is hard to integrate due to incremental changes

Extension name (the extension in question)
front-door
Description of issue (in as much detail as possible)
We are using the Azure CLI to control our front door configuration, but there are a lot of edge cases that are hard to implement due to that each incremental step has to be perfectly valid (the UI allows adjusting the state, then clicking "Save" to commit). Since every aspect of the front door configuration is its own command (unlike most other resources where a single command line can do everything), this turns out to be difficult to use.
For example, say that we want to replace all backends in a backend pool. One cannot simply delete the old ones and insert the new, since that would become an invalid configuration (a backend pool cannot be empty). But one cannot always create the new ones, since the backends will sometimes conflict with the old ones. This makes it very hard to update from a script.

front-door

front-door

Hi @rickardp , could you try arm template or bicep, that should be more friendly for automation.


react-native help CLI

Would be great if we could list all available commands.
➜  react-native help
Command `help` unrecognized. Did you mean to run this inside a react-native project?
➜  react-native -h
Command `-h` unrecognized. Did you mean to run this inside a react-native project?
➜ react-native --help
Command `--help` unrecognized. Did you mean to run this inside a react-native project?

:+1:

Can you send a pull request to do this?

Now run "react-native" without any argument in a project can print a help message. But run it anywhere else will only "You did not pass any commands, did you mean to run react-native init?"

Yes this is the current behavior. Please feel free to send a PR to improve this!


docker attach [container] hangs, requires input

Hi everyone,
When I docker attach [container] docker hangs for a second, but it's not really hanging, it just requires input to get to the container shell.
This doesn't seem so bad but it can be confusing if you're expecting the shell to just come up.
Figured I'd just get this up here, even if it's low priority and see what everyone says.
 It just hangs and I can't do anything to stop it. I used to use docker exec so I guess I'll stick with that...
version 1.5.0

same here.

same here.

docker exec -it [container-id] bash worked for me.

docker attach has still same hang issue with 1.5 version, "docker exec -i -t [cont-id] bash" worked for me too.

+1, any updates on this?

+1

+1
Furthermore, it completely takes over the terminal while "waiting for input", and does not respond to ctrl+z, ctrl+z, etc, leaving me with the option of closing the entire teminal window on my end (which in my case also terminates the ssh session to the Docker server)

Hmm, I don't think this is actually something solvable since attach is not running a new process in the container, it's literally attaching you to the current process state, therefore not really a bug.
The API has support for attaching "with logs", which would replay everything that has happened in the container since it was created....the CLI can be extended to support this (should be super super simple to add if someone wants to take a crack at it).

#dibs

My question is how did this become a feature if it doesn't work?

As far as I understood, it works, but for some use cases the behavior is not really obvious. So it's a feature because the task is adding 'logs' parameter to the 'attach' command.

@cpuguy83 I had a look on this issue and it seems to me that 'logs' parameter wouldn't help in this case. The problem is that we are reading container stdout with ReadBytes('\n') when writing data to a log file https://github.com/docker/docker/blob/master/daemon/logger/copier.go#L47, so in this case if we attach to container with running bash we wouldn't see the last bash prompt, because there is no '\n' byte at the end of the prompt. It'll look like this
root@ec51f1c959ef:/go/src/github.com/docker/docker# docker attach --logs=true af
root@af022be5e40f:/# echo true
true

I thought about writing to log messages with a particular size, let say 200 bytes in one log message, but I don't think that it's a good idea, at least log will be unreadable in this case.
So what do you think?

@pydima Yep, you're right.

@cpuguy83 Do you think that adding 'logs' parameter would be useful in this case?

Not for fixing this particular problem.

USER POLL
The best way to get notified when there are changes in this discussion is by clicking the Subscribe button in the top right.
The people listed below have appreciated your meaningfull discussion with a random +1:
@kylechadha
@bosswissam

+1

Hey guys. Is there any update on this?

@vijayviji See the discussion above...

@cpuguy83 I read the discussion. I couldn't understand the conclusion. Are we going to add 'logs' parameter or not? Even though last bash prompt won't be there, it's still a useful feature since it won't look like the attach command is hanging at least as we'll see the output. Is it not possible to read last set of bytes without '\n'? I don't understand the code fully.

@pydima I bet we could output whatever is currently in the logger's buffer (which buffers until it reaches a '\n')

I am having this issue on v1.10.3. Is the accepted way of doing this using docker exec -it <container> bash?

@stramel I don't understand the question.
But this is fixed and will be available in 1.11.

FWIW I'm having hella problems with docker exec bash script.sh sometimes hanging, seems to be related to the script redirecting a command's stdout/stderr to tee. I'm still having the problems with 1.11.0-rc3 (docker for mac), though I've also seen it on 1.9 and 1.10 in different environments.
Sorry I haven't been able to narrow down to a reproducible test case (it's part of a jenkins job), just thought I'd share. Using docker exec -it instead seems to workaround it. faketty docker exec -it works if you don't have a tty.
# linux only, not compatible with OSX script
function faketty { script -qfc "$(printf "%q " "$@")"; }

@cpuguy83 could you point me to where/how this was fixed? I'm having the same issue with docker 1.11.2 and would like to dig into it, but I just found https://github.com/docker/docker/pull/21048 and it looks like only marginally related (my containers are all starting and running correctly).

@GaretJax this issue was fixed in https://github.com/docker/docker/issues/19835

Thanks a lot @thaJeztah :)

still getting this error on windows 10

@dszmaj most likely a different issue, but it's best to open a new issue with more details. Depending on "what" you're running, you may have to open that issue in another issue tracker; If you installed "Docker for Windows" (https://docs.docker.com/docker-for-windows/), please open an issue in the Docker for Windows issue tracker; https://github.com/docker/for-win/issues

thanks @thaJeztah :) will do as you said

fwiw, I'm still able to reproduce this issue on docker 1.12 with:
docker attach $(docker run -d -it ubuntu bash)

$ docker version
Client:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 06:14:34 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 06:14:34 2016
 OS/Arch:      linux/amd64

$ docker -D info
Containers: 167
 Running: 3
 Paused: 0
 Stopped: 164
Images: 1331
Server Version: 1.12.5
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 1240
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.39-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.951 GiB
Name: moby
ID: 6IRC:XMEP:CVJR:NABO:GYOD:DSFW:FC2H:UTMH:ED52:RV6H:U5F2:HMKE
Docker Root Dir: /var/lib/docker
Debug Mode (client): true
Debug Mode (server): true
 File Descriptors: 38
 Goroutines: 58
 System Time: 2017-03-10T08:52:36.46583267Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Username: ejholmes
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

$ uname -a
Darwin Erics-MacBook-Pro.local 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

@ejholmes I'm not able to reproduce this on docker for mac (17.03), and docker 1.12.5 (running in a container). It's possible though that it's specific to that version of Docker for Mac (Docker for Mac uses a proxy to communicate with the daemon in the VM). If it's still an issue on the current version, could you open a new issue?

I can still reproduce this issue
Name            : docker
Version         : 1:17.06.0-1
4.11.9-1-ARCH
linux 4.11.9-1

Same here, It happened to me twice . I was coding with vi and everything hung. Then i tried to attach, i did restart and stop start but nothing has changed.

@ATPNazlit if it's a reproducible case, please open a new issue with the full details that are requested in the issue template that shows when you open the issue. The issue reported here is close to four years old, and likely not related to any issue on current versions of Docker.

Still having this issue on the latest version of docker on a Ubuntu 18.04 host machine. Any ideas?

Awesome


Issue with the nuget package

Hello,
Thanks for your work.
I would like to use your project but unfortunately after adding the nuget "Blazorized.AdminLte 0.1.8" the line services.AddAdminLte() is not recognized, ILayoutManager and NavBarLeftInjectableMenu as well.
Could you help me please?
Best Regards,

Did you add "using Blazor.AdminLte" in your Startup.cs ?

Did you add "using Blazor.AdminLte" in your Startup.cs ?

Hi @sjefvanleeuwen,
Thanks for your reply.
As you can see in the image, the Blazor package is not recognized even though the nuget Blazorized.AdminLte is properly installed.
Does I missed something?
Best Regards,
Jérôme.

Hi @sjefvanleeuwen,
Thanks for your reply.
As you can see in the image, the Blazor package is not recognized even though the nuget Blazorized.AdminLte is properly installed.
Does I missed something?
Best Regards,
Jérôme.

Please update nuget to 1.0.8 let me know

Please update nuget to 1.0.8 let me know

Hi @sjefvanleeuwen,
Many thanks for you recommandations, after upgrading to .net 5.0 and 1.0.8 for Blazorized.AdminLite everything is now recoggnized and I can execute the webapp.
But, I have another issue, the render is not what it should be, do I have to add manually some css and images?
Best Regards,
Jérôme.

Hi @sjefvanleeuwen,
Many thanks for you recommandations, after upgrading to .net 5.0 and 1.0.8 for Blazorized.AdminLite everything is now recoggnized and I can execute the webapp.
But, I have another issue, the render is not what it should be, do I have to add manually some css and images?
Best Regards,
Jérôme.

Sorry, I have found my mistake regarding the render.
You close that tissue.
Thanks again for your help!

Sorry, I have found my mistake regarding the render.
You close that tissue.
Thanks again for your help!

Sorry, I have found my mistake regarding the render.
You close that tissue.
Thanks again for your help!

Sorry, I have found my mistake regarding the render.
You close that tissue.
Thanks again for your help!


Add field selection to GQL directive

This a continuation from slack that will hopefully be easier to read. Just for consistency sake, I will define the client as the end user, stitch as stitch, and downstream as a backend service that will be the target of a rest/gql directive.
Imagine the following schema
    extend type Agreement @key(fields: "Id") {
        Id: String @external
        Claims(ClientChannelId: String!): [Claim] @gql(url: "https://{{ schemaConfig.customerClaims.targetUrl }}/graphql",
            fieldName: "claimsByMigrationStatus",
            operationType: Query,
            arguments: {
                migrationStatus: "{exports.MigrationStatus}",
                clientChannelId: "{args.ClientChannelId}"
            }
        )
    }

    type Claim @policy(namespace: "customer", name: "customerclaimsapiget", args: { userRoles: "{jwt.scope.split(\" \")}" }) {
        Id: string
        StartDate: String
        ClientChannelId: String
        ClientAccountId: String
        ServiceRequestId: String

        ContactPoint(ClientChannelId: String!): [ContactPoint] @gql(url: "https://{{ schemaConfig.customerClaims.targetUrl }}/graphql",
            fieldName: "getContactPoints",
            operationType: Query,
            arguments: {
                contactPointSearch: {
                    ClientChannelId: "{args.ClientChannelId}",
                    ClientAccountId: "{source.ClientAccountId}",
                    SearchParameters: {
                        ServiceRequestId: "{source.ServiceRequestId}"
                    },
                    FilterParameters: {
                        ReferenceType: "SRVRQST",
                        ReferenceIdentifier: "{source.ServiceRequestId}"
                    }
                }
            }
        )
    }
    type ContactPoint {
        Id: String
        Type: String
    }

In this case, we will populate some claims objects from a GQL downstream, and then we will make an additional call downstream to populate the ContactPoint type. The ContactPoint query requires the ClientChannelId, ClientAccountId, and ServiceRequestId from the Claim type. The following query will work as expected
      Claims(ClientChannelId: "1E5CA959308202F08CB4005056A72010") {
        Id
        ServiceRequestId
        ClientAccountId
        ContactPoint(ClientChannelId: "1E5CA959308202F08CB4005056A72010") {
          Type
        }
      }

However, this query does not work and returns an error that the inputs to the Claims gql directive are null
      Claims(ClientChannelId: "1E5CA959308202F08CB4005056A72010") {
        Id
        ContactPoint(ClientChannelId: "1E5CA959308202F08CB4005056A72010") {
          Type
        }
      }

This puts a burden on our consumers to know which fields are required in the query in order to make downstream fields resolve correctly. As our schema grows this is becoming complicated for our users.
The way I understand the GQL directive, the selection of fields in the clients query will be passed through to the downstream gql server. In the first example,

client queries for Claim.ServiceRequestId and Claim.ClientAccountId and Claim.Id. Stitch receives the request and queries the downstream for Claim.ServiceRequestId, Claim.ClientAccountId, and Claim.Id. At this point, all three fields are available in stitch's source object and thusly available to child resolvers/directives

In the second example, since the client does not request the ServiceRequestId and ClientAccountId fields, they arent queried from the downstream gql server and thus arent available in stitch's source object. Since they arent in the source object, the ContactPoint resolver fails.
What i am wondering is this - Is there a way that I can hardcode some selection of fields in the GQL directive such that the fields I've hardcoded are merged with the fields from the client query. This would let me ensure that I always populate the fields required by any downstream resolver without the client having to understand that logic. To extend the example above would look something like this.
    extend type Agreement @key(fields: "Id") {
        Id: String @external
        Claims(ClientChannelId: String!): [Claim] @gql(url: "https://{{ schemaConfig.customerClaims.targetUrl }}/graphql",
            fieldName: "claimsByMigrationStatus",
            operationType: Query,
            arguments: {
                migrationStatus: "{exports.MigrationStatus}",
                clientChannelId: "{args.ClientChannelId}"
            },
            query: {
                  ServiceRequestId,
                  ClientAccountId
            }
        )
    }

    type Claim @policy(namespace: "customer", name: "customerclaimsapiget", args: { userRoles: "{jwt.scope.split(\" \")}" }) {
        Id: string
        StartDate: String
        ClientChannelId: String
        ClientAccountId: String
        ServiceRequestId: String

        ContactPoint(ClientChannelId: String!): [ContactPoint] @gql(url: "https://{{ schemaConfig.customerClaims.targetUrl }}/graphql",
            fieldName: "getContactPoints",
            operationType: Query,
            arguments: {
                contactPointSearch: {
                    ClientChannelId: "{args.ClientChannelId}",
                    ClientAccountId: "{source.ClientAccountId}",
                    SearchParameters: {
                        ServiceRequestId: "{source.ServiceRequestId}"
                    },
                    FilterParameters: {
                        ReferenceType: "SRVRQST",
                        ReferenceIdentifier: "{source.ServiceRequestId}"
                    }
                }
            }
        )
    }
    type ContactPoint {
        Id: String
        Type: String
    }

In this proposed example, the ClientAccountId and ServiceRequestId are always queried - regardless of whether or not the client queries them. Because they are queried from the downstream, they are availble in the source, and the ContactPoint resolver will work for both of the client queries i detailed above.
Hopefully this clears up what I was trying to describe.

Thanks, this definitely helps understanding the issue.
We use apollo federation to merge the schemas, but don't use the federation runtime.
This is a feature the federation runtime natively handles through the @requires directive, so I think a good direction to solve this would be adding runtime support for @requires

@AvivRubys - that would be great - my question is if you guys have resources / bandwidth to pick this up and if you do - do you have an estimate on when it could be done? I dont mean to be pushy, but depending on whether or not we have this will shape how i move forward with an issue we are trying to resolve.
If I can add the fields i need through requires, I wont have to work with my clients to make updates to their queries.


Visual Studio - develop for Windows (the doctor check crashed)

Steps to Reproduce

1 - I installled Visual Studio 2022 and I cant compile some projects anymore and Flutter Doctors gives this message bellow
X Exception: Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: [
    {
      "instanceId": "aec4056a",
      "installDate": "2022-05-16T18:47:43Z",
      "installationName": "VisualStudio/17.2.2+32519.379",
      "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
      "installationVersion": "17.2.32519.379",
      "productId": "Microsoft.VisualStudio.Product.Community",
      "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe",
      "state":<PHONE_NUMBER>,
      "isComplete": true,
      "isLaunchable": true,
      "isPrerelease": false,
      "isRebootRequired": false,
      "displayName": "Visual Studio Community 2022",
      "description": "IDE avan�ado, gratuito para estudantes, colaboradores de software livre e indiv�duos",
      "channelId": "VisualStudio.17.Release",
      "channelUri": "https://aka.ms/vs/17/release/channel",
      "enginePath": "C:\\Program Files (x86)\\Microsoft Visual
      Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
      "installedChannelUri": "https://aka.ms/vs/17/release/channel",
      "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.2#17.2.2",
      "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
      "updateDate": "2022-05-25T21:07:49.6039966Z",
      "catalog": {
        "buildBranch": "d17.2",
        "buildVersion": "17.2.32519.379",
        "id": "VisualStudio/17.2.2+32519.379",
        "localBuild": "build-lab",
        "manifestName": "VisualStudio",
        "manifestType": "installer",
        "productDisplayVersion": "17.2.2",
        "productLine": "Dev17",
        "productLineVersion": "2022",
        "productMilestone": "RTW",
        "productMilestoneIsPreRelease": "False",
        "productName": "Visual Studio",
        "productPatchVersion": "2",
        "productPreReleaseMilestoneSuffix": "1.0",
        "productSemanticVersion": "17.2.2+32519.379",
        "requiredEngineVersion": "3.2.2148.26540"
      },
      "properties": {
        "campaignId": "2030:e061d924-141f-4b71-a6ff-1990a17df097",
        "channelManifestId": "VisualStudio.17.Release/17.2.2+32519.379",
        "nickname": "",
        "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
      }
    }
  ]
  .


Total vs Expected Duration

weekly working hours
Mo-Do 8h
Fr: 7h
Total 39h.
Total Duration is 39h but why expected duration is showing 46h. It looks like that somehow weekends also calculated. We use also the vacation / sick day and controlling plugin

Hi, the expected working hours are based on the user setting for the workdays. These you can see under "user" -> select the specific user and go to the working hours per day settings summing up Monday-Sunday. Typically Saturday and Sunday are set to 0.

Hi, thats right .. sat and sun is set to 0 .. see

thats why I'm wondering :)

Did you change the values for this person? The "expected duration" is calculated and stored when the first "submit for approval" is done. You can also check in the database the corresponding entry. If you find that one, you can apply "/60/60" to get the minutes - this is 46hours according your screenshot. When you scroll to an unsubmitted week (e.g. week 10 this year), is the expected duration is also 46 or is this in that case 39?

Beginning is as of 2023 .. we've newly implemented Kimai.

For me it looks like that it is expecting for every day 1h >> 39h + 7h = 46h .. I also wonder if it has something to do with the break-time ... see above .. for 8h it is separated in two timebands (for example 08:00-12:00 and 13:00-17:00) but in your screenshots it looks like that you entering full 8h without any breaks. The fact that there is a discrepancy between Total and Expected is currently not a big issue ... On the part of the employees and the granting persons, there are then questions as to where the discrepancy comes from. One employee complained to me personally today why she was expected to work 46 hours. 🤣


Add a .vscodeignore.

Reduces the size of the extension by about 1/2 (4MB).

Agreed. Will look into it.


Docs workloadendpoint example doesn't work

Expected Behavior
I'd expect examples given in the docs to 'just-work':
https://docs.projectcalico.org/v2.6/reference/calicoctl/resources/workloadendpoint
Current Behavior
$ cat test.yaml
apiVersion: v1
kind: workloadEndpoint
metadata:
  name: eth0
  workload: default.frontend-5gs43
  orchestrator: k8s
  node: rack1-host1
  labels:
    app: frontend
    calico/k8s_ns: default
spec:
  interfaceName: cali0ef24ba
  mac: ca:fe:1d:52:bb:e9
  ipNetworks:
  - <IP_ADDRESS>/16
  profiles:
  - profile1
$ ETCD_ENDPOINTS=http://<IP_ADDRESS>:2379 calicoctl apply -f test.yaml
Failed to execute command: error with field IPNetworks = '[<IP_ADDRESS>/16]' (IP network contains multiple addresses)

Possible Solution
Either the docs are wrong or the validation logic is wrong.  Not sure which.
Steps to Reproduce (for bugs)
See above.
Your Environment
Used CoreOS k8s Vagrant demo to install. https://docs.projectcalico.org/v2.6/getting-started/kubernetes/installation/vagrant/
$ ETCD_ENDPOINTS=http://<IP_ADDRESS>:2379 calicoctl version
Client Version:    v1.6.2
Build date:        2017-11-22T22:41:27+0000
Git commit:        855392a8
Cluster Version:   v2.6.3
Cluster Type:      k8s,bgp

Yeah, it needs to be a /32

@lwr20 can you fix the docs?

Seems to be fixed now.


jsonrpc dependency is unmaintained and is failing cargo deny

We're currently using https://github.com/paritytech/jsonrpc which is causing cargo deny to fail due to an issue in one of its dependencies: https://github.com/noir-lang/noir/actions/runs/12236926106/job/34131483409#step:4:6638
jsonrpc is no longer maintained as the maintainers have moved on to https://github.com/paritytech/jsonrpsee so we should probably update to this library.

See https://github.com/noir-lang/noir-bignum/pull/62/files for usage.


Indexing JObject documents does not work as expected

An issue occurs for us when you try to index a JObject as a document (using Nest) like this:
client.Index<JObject>(finalProposition, i => i
.Index("telecom_propositions")
.Type("proposition")
.Id(docId))

The request fails with a 400 because of "malformed content". When you inspect the request being sent, the JSON at first appears to miss its opening bracket. It took me a while to figure it out but it's not a malformed object that's being sent, but rather a list of JSON properties concatenated by a newline. Properties don't start with a bracket which explains the missing bracket.
The reason that it's not serializing the JObject as an object is this code:
https://github.com/elastic/elasticsearch-net/blob/develop/src/Elasticsearch.Net/Connection/RequestHandlers/RequestHandlerBase.cs#L62
It checks if the data is an IEnumerable<object>, which is true because a JObject is an IEnumerable<object> and from then on it treats the JObject as a list of items to serialize and not a singular object.
Expected behavior for me would be that it just serialized the whole JObject at once and that it would be possible to index a document from a JObject.
The reason this behavior is unexpected to me is that using the search API to get back a JObject works perfectly. It also works for the update document API (we use the DocAsUpsert route as a workaround for this issue) but not with the index API. It also works as expected when you use the bulk API to index JObject documents.
Suggested fix would be either a special-case check if data is JObject or perhaps for data is IDictionary<string, object> in which case it would just serialize the whole object as happens on line 66.

I'm getting this when creating bulk descriptors of indexes using JObjects

    private async void blahblah(IEnumerable < JObject >  jos)
            {
            var bdesc = new BulkDescriptor();
            foreach (var jo in jos)
            {
            bdesc.Index(i => i
            .Index(Index)
            .Type("Trace")
            .Document(jo));
            }
            //this yeilds the same as the above loop
           //bdesc.IndexMany(jos, (f,g) => f.Index(Index).Type("Trace"));
            var x = Client.Bulk(bdesc);
        }

I've added some integration tests to NEST 2.x for JObject and they get indexed as expected.
This looks to be an issue only with NEST 1.x - @JulianRooze, @amccool, which version of NEST are you using?

Using ElasticSearch.net 1.7.1

Fixed in https://github.com/elastic/elasticsearch-net/pull/1804 by @russcam


Related to himanshu-soni/ChatMessageView#21 (The default is right and…

… was not behaving as it should)
I guess that there was a bug because what I did was just to take to opposite of the left and it was working. Else right and long text wasn't working as mentioned in #21

@DaphnevanderVeeke If you look at the code completely you will see that the switch uses default for the "arrow right" case.
Then you can also see that the original "arrow right" case is very different from the "arrow left" case.
I mean it DIFFERENT (not the opposite like LEFT -> RIGHT).
What I did was to create the opposite of the left behaviour for the default of the switch.
Left was:
arrowRotation = 180;
arrowParams.addRule(ALIGN_PARENT_LEFT, TRUE);
arrowParams.setMargins(0, (int) arrowMargin, 0, (int) arrowMargin);
containerParams.addRule(RIGHT_OF, arrowImage.getId());

Whereas right was:
arrowRotation = 0;
containerParams.addRule(ALIGN_PARENT_LEFT, TRUE);
arrowParams.setMargins(0, (int) arrowMargin, 0, (int) arrowMargin);
arrowParams.addRule(RIGHT_OF, containerLayout.getId());

Which I replaced by the opposite of left:
// Opposite of 180
arrowRotation = 0;
// Opposite of arrowParams.addRule(ALIGN_PARENT_LEFT, TRUE);
arrowParams.addRule(ALIGN_PARENT_RIGHT, TRUE);
// Margin should stay same
arrowParams.setMargins(0, (int) arrowMargin, 0, (int) arrowMargin);
// Opposite of arrowParams.addRule(RIGHT_OF, containerLayout.getId());
containerParams.addRule(LEFT_OF, arrowImage.getId());

@himanshu-soni Any plan to merge it soon?


chore(deps): update dependency @sentry/cli to v1.49.0

This PR contains the following updates:

Package
Type
Update
Change

@sentry/cli (source)
devDependencies
minor
1.47.1 -> 1.49.0

Release Notes

getsentry/sentry-cli
v1.49.0
Compare Source

Detect Heroku's SOURCE_VERSION environment variable (#613)
Allow extensions with dots for sourcemap uploads (#605)
Fix validation of releases set-commits options in JS (#618)
Add an optional column for project slugs in releases list (#612)
Add an optional --wait flag for upload-dif (#619)

NOTE: This release changes the default behavior of upload-dif. Previously,
the command waited until Sentry had fully processed uploaded files. Now, the
command terminates after a successful upload but does not wait for server-side
processing. This will speed up uploads for the common case. Specify --wait for
the old behavior if you want to make sure that debug files are available before
sending native events.
v1.48.0
Compare Source

Add support for Brotli, GZip and Deflate compression algorithms for binary download (#607)
Fix binary download progress bar calculations (#606)

v1.47.2
Compare Source
Changes:

Always show the full version in releases list (#584).
Do not warn when using the standard docker entrypoint.

JavaScript API:

Pass the silent option to releases commands in JavaScript (#552).
Allow setting commits on a release in JavaScript (#580).

Fixed bugs:

Fix an error in the bash hook if the log file gets deleted (#583).
Fix detection of Azure repositories in releases set-commits (#576).
Fix detection of annotated tags in releases set-commits (#598).
Fix normalization of sourcemap URL prefixes with trailing slashes (#599).
Fix upload of source bundles created with difutil bundle-sources (#602).

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

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

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 2.152.10 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


GOAL: History API: Expose History Data to Senders/Receivers

GOAL of this Epic: Expose Database Data:  ReportStream provides an API with all kinds of wonderful data available to our sender/receiver/admin customers:  Data Custody info, Process Receipts, Lineage History, and Metadata, and Submission error/warning history.

Hey team! Please add your planning poker estimate with ZenHub @clediggins-usds @carlosfelix2 @jh765 @JGreenFearless @whytheplatypus


Add support for C# WinRT/components in C++ applications

In order to support this scenario we may need to support .NET Core 5 or .NET Core 6

See https://github.com/microsoft/Xaml-Islands-Samples/pull/38 which changed the NativeXamlIslands sample from a mixed C++/C# app to just straight C++.  As a starting point, we can go back to the version of this project from just before the PR.  More context on the issue we faced with this version:
The project builds but when deploying to a clean machine without Visual Studio installed, you'll see this error:
Windows cannot install package 99def245-f2b3-46c8-9d9d-2f4780e9e424_<IP_ADDRESS>_x64__gw2qmfeskbexa because this package depends on a framework that could not be found. Provide the framework "Microsoft.NET.CoreRuntime.1.1" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 1.1.27004.0, along with this package to install. The frameworks with name "Microsoft.NET.CoreRuntime.1.1" currently installed are: {}
The issue here is that the ".net UWP" package needs to be installed.   This package is not the same as .NET Core 3...  it's a special version of .net that supports UWP apps, and relies on .net native.
Some links with context on this:
Authoring a C# Windows Runtime component for use from a C++/WinRT app - UWP applications | Microsoft Docs
Error 0x80131040 "The located assembly's manifest definition does not match the assembly reference" when I use a Windows Runtime class written in C# from my C++/WinRT project | The Old New Thing (microsoft.com)
asklar/WinRTComponent: How to consume C# WinRT components from C++ (github.com)
Building C++/WinRT apps that consume C# components | a.rcad.io

FYI @tommcdon @SvetBonev


Dela32

write separate scripts to test DELA-32

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 99.007%

Files with Coverage Reduction
New Missed Lines
%

core/ordering/pow/block.go
1
98.91%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
12260

Relevant Lines:
12383

💛  - Coveralls


Gathering and storing  of commits

added functionality of gathering and storing commits for each build, created pojo-models for commits and tickets, changed table "BUILDS" in db.

please resubmit after fixing merge conflicts