Minor documentation updates

This PR aims to fix the few instances of outdated documentation I found during my work with mapproxy.

Thanks for your contribution!

Welcome! I believe now that supported_formats is mentioned, this PR improves the documentation as it is now. (See my experiments for supported_formats here and request_format here).
If we want to improve on this paragraph further, I would look into this statement more closely:

This option has no effect if [...] the format of the cache is set explicitly

To test this, I use the following mapproxy.yaml file:
# start via: mapproxy-util serve-develop mapproxy.yaml -b :1233
# example query: http://localhost:1233/tms/1.0.0/italy_parcels/webmercator/18/280207/333564.jpeg
services:
  tms:
    use_grid_names: true
    origin: 'nw'
  demo:

layers:
  - name: italy_parcels
    title: ItalyParcels
    sources: [ItalyCache]

caches:
  ItalyCache:
    grids: [webmercator]
    sources: [ItalyWMS]
    cache:
      type: file
      directory: cached_tms
      directory_layout: tms
    request_format: image/png # or image/jpeg. This line has an effect regardless of the next line.
    format: image/jpeg
sources:
  ItalyWMS:
    type: wms
    req:
      url: https://wms.cartografia.agenziaentrate.gov.it/inspire/wms/ows01.php?language=ita&
      layers: CP.CadastralParcel,strade,vestizioni,province,codice_plla,fabbricati,CP.CadastralZoning,acque,simbolo_graffa,copyright
    supported_srs: ['EPSG:25832']

grids:
  webmercator:
    base: GLOBAL_WEBMERCATOR

globals:

Even though format is set explicitly to JPEG, when I query for http://localhost:1233/tms/1.0.0/italy_parcels/webmercator/18/280207/333564.jpeg, the request mapproxy sends uses PNG format:

[2024-07-16 11:54:06,778] mapproxy.source.request - INFO - GET https://wms.cartografia.agenziaentrate.gov.it/inspire/wms/ows01.php?language=ita&&layers=CP.CadastralParcel,strade,vestizioni,province,codice_plla,fabbricati,CP.CadastralZoning,acque,simbolo_graffa,copyright&format=image%2Fpng&bbox=772823.3043114123,4872949.21939256,773088.581247699,4873213.6462514745&width=1188&height=1184&srs=EPSG%3A25832&request=GetMap&version=1.1.1&service=WMS&styles= 200 - 880

If I change request_format to image/jpeg, delete the cache, relaunch the service, the request is made in JPEG:

[2024-07-16 11:56:47,423] mapproxy.source.request - INFO - GET https://wms.cartografia.agenziaentrate.gov.it/inspire/wms/ows01.php?language=ita&&layers=CP.CadastralParcel,strade,vestizioni,province,codice_plla,fabbricati,CP.CadastralZoning,acque,simbolo_graffa,copyright&format=image%2Fjpeg&bbox=772823.3043114123,4872949.21939256,773088.581247699,4873213.6462514745&width=1188&height=1184&srs=EPSG%3A25832&request=GetMap&version=1.1.1&service=WMS&styles= 200 - 1306

So request_format does seem to have an effect even if format is set explicitly.

nice work! feel free to improve the documentation so that it represents the actual behavior of the software. any improvement is appreciated.

Thank you! I'll do so! Once I feel I'm done, I'll re-request a review.


Add Copy Code Functionality to Code Editor

The current code editor in the Llama Coder application does not include a "Copy Code" button, which makes it difficult for users to quickly copy the generated code. This feature would significantly improve usability.
Proposed Solution: Introduce a "Copy Code" button to the UI that allows users to copy the generated code using the navigator.clipboard API.
Steps to Reproduce:
Open the Llama Coder code editor.
Generate some code using the editor.
Observe that there’s no option to copy the generated code directly.
Additional Context: This feature aligns with the roadmap item for improving best practices in the editor interface.

I'd like to work on this issue. Could you assign it to me if that's okay?

Hey @meet306, I added the copy code button, it was a pretty easy fix
https://github.com/user-attachments/assets/0bf649e1-8cdc-4ec7-908d-ba148816e4a9


HSEARCH-4869 Drop compatibility with Hibernate ORM 6.1 and 6.0 in -orm6 artifacts, get rid of deprecated/internal class references

https://hibernate.atlassian.net/browse/HSEARCH-4869

Actually the diff might be more readable if you have a look at the corresponding commits here

Thanks.

I cannot see changes from the last commit (changes toHibernateOrmMassEntityLoader) in the orm6 branch. Is it GH misbehaving or do you just need to push them 🙈 😃

I fixed up an earlier commit that was removing unnecessary casts to Serializable, that's why you don't see it in later commits.


How to get Text component value onPress

Hi All,
I am using react native react-native: 0.30.0. I want to get value of Text component onPress. Below is my code:
<Text  onPress={() => {this.setHabit(this)}}>  {'Test1}
<Text  onPress={() => {this.setHabit(this)}}>  {'Test2}
<Text  onPress={() => {this.setHabit(this)}}>  {'Test3}
my funtion"
setHabit(value){
alert(value);//here should be value show Test1,Test2 vice varsa
}
Please help

Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of React Native.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-native? We'll be happy to answer there. Post a link to your Stack Overflow question here, so that we don't lose track of it.

Hi
Thanks for help.
But I have not any textbox. There will be simple text like attached image.
I want to functionality like attached image eg. I will select select habit,clear habit

Thanks

@pardeepbeniwal.
If I understood Correctly, user should able to tap select and tap deselect items. is that right ?
In that case, simply have the List of Items in a object with a flag
selected: true
habits :[
   {
      habit: 'Go for a Walk',
      selected: false

   },
   {
      habit: 'Wash your hair',
      selected: false

   },
   {
      habit: 'Reply to a Text',
      selected: false

   },
   {
      habit: 'Go for a run',
      selected: false

   }

]

As user Taps on one of the Items, invert the flag on the  user selected habit object's variable  selected: !this.state.habit[index].selected (which should be in state). and as State changes, render with UI logic with selected: true with different color.

+1. I have a result list from a search query. I want to get the value when people click on the Text component, which is inside a ListItem.


Suggest: add support dark theme for PhotoPicker

for now, PhotoPicker didn't support dark theme. it show white background even if app is using dark theme.

It's not my fault, i just used androidx library which adds backport of android 12 photopicker, so unfortunately, i can't do this (


Doc Request: Add instructions for using the JupyterLab community add-on to run the PyScript kernel

The instructions in this issue over in the PyScript repo cover installing the PyScript kernel in the Home Assistant Community Add-On for JupyterLab.
This might be the easiest way for most people (using Home Assistant OS) to get the kernel running.  As mentioned by the author of that issue @chancancode, the advantages are:

Don't need to have a local install of Jupyter and Python on desktop/laptop.
The kernel can be installed/made to run by pasting some YAML into the add-on's config.
Home Assistant's supervisor/add-on infrastructure takes care of the access token, IP address, etc.

One advantage/caveat is that It runs on the Home Assistant server, so likely a minimum of a 4GB RAM is needed for Home Assistant plus add-ons.
I haven't done extensive testing but I haven't come across any issues that don't come up for other environments.
Here's the YAML I'm using in the add-on's configuration:
github_access_token: ""
system_packages: []
init_commands:
  - pip install hass_pyscript_kernel
  - jupyter pyscript install
  - >-
    echo "[homeassistant]" >
    /usr/local/share/jupyter/kernels/pyscript/pyscript.conf
  - >-
    echo "hass_host = homeassistant" >>
    /usr/local/share/jupyter/kernels/pyscript/pyscript.conf
  - >-
    echo "hass_url = http://supervisor/core/" >>
    /usr/local/share/jupyter/kernels/pyscript/pyscript.conf
  - >-
    echo "hass_token = $SUPERVISOR_TOKEN" >>
    /usr/local/share/jupyter/kernels/pyscript/pyscript.conf
  - mkdir -p /config/notebooks/pyscript
  - ln -sf /config/pyscript /config/notebooks/pyscript/config-pyscript
  - >-
    curl
    https://raw.githubusercontent.com/craigbarratt/hass-pyscript-jupyter/master/pyscript_tutorial.ipynb
    -o /config/notebooks/pyscript/pyscript_tutorial.ipynb

@jct Thank you for posting this YAML code for the pyscript setup to allow its use with the local JupyterLab server.  Could you possibly clarify exactly where the above YAML code needs to be added and with what headings?
Could you also add a suggested few simple lines in a new Jupyter Python notebook that one should run to make sure that the link is working?


Having issue with CloseDevice()

I'm testing this framework out with my own custom USB device and the NativeMethods.CloseHandle() hangs when I call CloseDevice() on the HIDDevices class.

Hi @rvlieshout , I still have the exact same issue even after using the latest master branch. I also installed the HidLibrary from NuGet package (the latest stable version (3.3.40). My system is 64-bit Windows 10 Pro with .NetFramework 4.8.
Just for curiosity, I even tried to insert the (CharSet = CharSet.Auto) into the DllImport(kernel32.dll) as it is no longer in the master branch, but nothing worked.
What is the solution?

This was 10 years ago... I have no idea. If this is an issue, please open a new bug report.


Rerender: MPICH issues

Rerender the feedstock.
Somehow I get an old 0.10.0 release when requesting MPICH since last night.
Ref.: https://dev.azure.com/axelhuebl/openPMD-api/_build/results?buildId=471

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

problem does not re-appear a day later, maybe this was just a temporary hick-up of the available packages.

and it's back again, this time for the default (nompi) variant


iOS ext request

[x] Extension name:
[ ] Extension GitHub or homepage:

Which extension? I recommend that you fill out the template so that the maintainers could help with your request.

Which extension? I recommend that you fill out the template so that the maintainers could help with your request.

Hi! We're planning to integrate with Open-VSX in the near future - I'd recommend asking the author of the extension to publish their extension on Open-VSX.


missing postinstall bower dependency

If you do a postinstall with bower, you must not put bower in the devDependencies.
If the postinstall step is required put it in dependencies or if not in optional.
Isn't it possible that you don't need bower for installation of a npm package?

What I can see is, you use bower to install openui5.
Why you'd like to require the openui5 from bower?

It is outdated.
There are npm possibilities to depend on openui5.
You limit the developer on how he wants to provide openui5.

As a workaround you can npm install --ignore-scripts openui5-qrcode

You are perfectly right. The idea was to update this build chain once the new ui5 build tool will be officially released with support to ui5 lib on npm ;)

@kolbma I'm going to deprecate bower in all my libraries while I'm switching to ui5-tool ;)


Update core.py

The reset of _ob_built and _gt_built should be done at the beginning of the new_trial function. Otherwise, ob and gt cannot be updated in the _step function later (when still in the same trial), because _ob_built and _gt_built are set to False.

Please provide a test function to show why this pull request is necessary. Thank you!


POST with content should be 400

If performing POST with content-length the server should reply 400?

Yes, 400 is a good status code in this case if the Content-Length is non-zero.

Related to https://github.com/tus/tus-resumable-upload-protocol/issues/104.
@Acconut: If I make a PR with updates in regards to failure modes will you have time to review and merge? Also, would that be interesting at all?

Yes, that would be grad. Please incorporate those failure modes as non-mandatory suggestions so this is not a breaking change.

Closing this since #88 will allow POST requests with content.


Excepting Noisy Data?

When I was trying to use the code provided in the guide on my own dataset (the Reddit one), I ran into a problem：
music21.midi.MidiException: badly formated midi bytes, got: b'<html>\r\n<head>\r\n<tit'
which is definitely an error in the midi files because the examples provided in the repository works.
Thus, I'm just curious if there is a way to skip these files - to make the code work even if there are less samples available.
Here is my code:
`midi_path = Path('data/midi/')
Location to save dataset
data_path = Path('data/numpy')
data_save_name = 'musicitem_data_save.pkl'
midi_files = get_files(midi_path, '.mid', recurse=True)
processors = [Midi2ItemProcessor()]
data = MusicDataBunch.from_files(midi_files, data_path, processors=[Midi2ItemProcessor()], bs=16, bptt=512,
encode_position=True, dl_tfms=[batch_position_tfm])
data.save(data_save_name)`

I just added a notebook to preprocess the large dataset. This is pretty identical to the code I used to do the same: 2fd9ddba88d94588b231b19ae69cdcdda61c6797
Notebook: https://github.com/bearpelican/musicautobot/blob/master/notebooks/music_transformer/DataPreprocessing-Reddit.ipynb
Hope that helps!


UI : Handle Loading States In a Better Way

On some pages, UI shows an empty placeholder or some kind of placeholder before the data completely loads, something like this.
https://user-images.githubusercontent.com/59080942/196706268-87574682-0c5d-4391-807f-e51119241da8.mov
UI should handle this thing gracefully if there is a slight delay in the API response, it should show the loader until data gets fetched.

Hi, could this issue be assigned to me please?


Deployment of Model via Powershell

When calling the deployment of a model.bim file via powershell
You get an error if the path to the file is too long in the arguments list.
E.g.
C:\A\B_C\C\E_F-CI\Model.bim
Error Message: Error loading model: The connection string is not valid.
Model deploys fine if you move the file to
C:\A\Model.bim
or change directory to where the model file is and put the path as ".\model.bim"

@dilshan-sivanesan Did you enclose the path in quotes? E.g. "C:\A\B_C\C\E_F-CI\Model.bim"? Would you mind posting the entire PowerShell command that is failing?

@dilshan-sivanesan Any update on this, or can we close the issue?

Hi Daniel
Using quotes didn't help we had to shorten the path my moving the location
of the file. I think if I'm the only one experiencing the issue we can
close the path for now
On Mon, Dec 3, 2018, 9:37 PM Daniel Otykier<EMAIL_ADDRESS>wrote:

@dilshan-sivanesan https://github.com/dilshan-sivanesan Any update on
this, or can we close the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/otykier/TabularEditor/issues/209#issuecomment-443879717,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqaZYmOtRJzxx3dwM3u8ncP67PyxW1BPks5u1ZmlgaJpZM4X6dSc
.


Customize antialiasing

I realize this is a long shot, but I'll ask anyway.
Is there any reasonable way to customize how antialiasing works without reaching deep into the library and routing a bunch of stuff around. I'm not even sure if it's possible to accomplish what I want, but it would be nice if I could figure out how:
I need to extract information along multiple paths in the SVG (something that could be encoded into a u16), and correlate pixel by pixel in the raster with that information. My naive approach was to modify the fill color on the path, so it would basically write this ID for every pixel, but it turns out the antialiasing can change the color of a pixel, not just the alpha.
I realize you can disable antialiasing with path.rendering_mode = ShapeRendering::CrispEdges, but that doesn't work very well for my paths (and low resolution), and produces an ugly result.

The only control you have is on and off. That's it. There are nothing else and never will be.
I'm not sure what you're trying to do. Can you illustrate it somehow?

but it turns out the antialiasing can change the color of a pixel, not just the alpha

Are you sure? This should not happen. You can get small differences due to rounding, but that's it.

I realize you can disable antialiasing, but that doesn't work very well for my paths (and low resolution), and produces an ugly result.

Well, that's the whole point of antialiasing.

My paths have a title attribute which contains an ID. I parse the SVG with a separate library than usvg to extract the titles and mark each path with that ID. I then convert the ID to a number and set the color of the path (in resvg) to that ID. Produces output kind of like this:

The point of doing this is so I have a many to one mapping of pixel to ID. These IDs are for LCD segments in a matrix, and I know which pixels to turn on/off based on that ID.

Like I said, it was a shot in the dark.  Thank you for your response.

I see. But again, I guess there is nothing you can do from the resvg side.


How to test i18n components

By using injectIntl, it is possible to get locale message in JS:
import { injectIntl, intlShape } from 'react-intl';
... props
  intl   : intlShape.isRequired,
... render
const { formatMessage } = this.props.intl;
let closeLabel = formatMessage(messages.closeAlert);
....
export default injectIntl(Alert);

The problem is now the unit test of my Alert is complaining because of the absence of <IntlProvider>
If I wrap my test with a <IntlProvider messages={{}}>, it complain of the absence of the connect store :
    Invariant Violation: Could not find "store" in either the context or props of "Connect(LanguageProvider)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(LanguageProvider)".

Does anyone know how to solve this without importing the whole context into the test ?

https://github.com/yahoo/react-intl/wiki/Testing-with-React-Intl


UnsupportedOperationException while login

java.lang.UnsupportedOperationException: Not a string: 81028
The following code causes UOE:
Skype skype = new SkypeBuilder("login", "pass").withAllResources().build();
skype.login();

This happens within FullClient::registerWebSocket method, theese lines:
Map<String, String> data = new HashMap<>();
            for (JsonObject.Member value : policyResponse) {
                data.put(value.getName(), value.getValue().asString());
            }

This is because one of the properties inside policyResponce is JsonNumber and can not be got asString.

Websockets aren't required for anything really apart from tracking... You should be safely be able to remove that and/or extend the websocket super class and ignore the send payload functions

Websocket are used for live contact notifications, and so are medium priority. With the latest code the api should not disable if websockets fail but it looks like I have missed something.

Are they? Haven't looked at them in a while, and as for contacts, the poller -should- was handling that.

@pikkvile This has been fixed already. Just hasn't been pushed to Maven Central yet

Yes, I cloned the repo and saw latest changes. Do you plan to release 0.1.5 in Maven Central?

Yes, but the current build is contains some bugs not fit for release, so that's why there is a delay


DEP Add asyncphp/doorman

Issue https://github.com/silverstripe/.github/issues/11

Why are we adding this here? Doesn't seem necessary?

So that it actually gets released if need be. It's essentially part of queuedjobs.

Oh right, it's not a supported module - https://docs.silverstripe.org/en/5/project_governance/supported_modules/
Will close


cucumber-expressions : failing on using non-capturing regex

following is my step defintion
Then(/^I should\s*((?:not)?)\s+ see page title as "(.*?)"$/) do |present, title|

end

which should match following steps
Then I should see page title as "foo"
Then I should not see page title as "foo"

but it failing with follow exception
Expression /^I should\s*((?:not)?)\s+see page title as "(.?)"$/ has 2 capture groups (["not", "Test Page for selenium–cucumber"]), but there were 1 parameter types ([".?"]) (Cucumber::CucumberExpressions::CucumberExpressionError)
following is configuration
Ruby version :

ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]

Cucumber gems:

cucumber (3.0.1)
cucumber-core (3.0.0)
cucumber-expressions (4.0.3)
cucumber-tag_expressions (1.0.1)
cucumber-wire (0.0.1)

Is this still an issue with cucumber-expressions 4.0.4?

thanks, it worked well with cucumber-expressions 4.0.4


Running FCMA - RuntimeError

Hello all,
I just started playing with brainiak. I'm trying to go through the tutorial and example dataset for FCMA locally. I have set up brainiak as instructed. When I run the bash script run_fcma_voxel_selection_cv.sh, I got the error saying
raise RuntimeError('one process cannot run the '
RuntimeError: one process cannot run the master-worker model

I checked the code this error was pointing to, it looks it is caused by MPI.COMM_WORLD.Get_size() == 1. I assume it means that it runs only 1 thread. So how/where should I specify that I want more cores to be involved (laptop has 8 cores, 16G RAM)? I have tried to change the value of the variable OMP_NUM_THREADS in run_fcma_voxel_selection_cv.sh, but it did not help.
Any insights would be super helpful, thank you all very much in advance!

Hello, @peetal. I moved your issue to the tutorials repository, because the script you are running is here. Our examples are similar to the tutorials; we should improve the code organization to reduce confusion.
The script does indeed need fixing according to @yidawang's instructions, so I am marking the issue as a bug. Thank you for reporting it.

@yidawang Thanks a lot! It works now!

@mihaic  No problem at all! Thank you all for making this great package!

This looks like the same issue as #48 with a fix in #49.


ANCM - How to disable logging of informational messages?

Other than any other IIS module, the ANCM module is quite a bit busy logging informational messages to the Application log. On servers running thousands of sites, one may want to disable this behavior. Is there any way to accomplish that?

@pakrym @shirhatti I think this is a good ask for ANCM V2.


Add a tool script for generating basic CIE diagrams

Add a tools script so we can generate useful diagrams for documentation
purposes.

Add a script that can export CIE diagrams for 1931, 1960, and 1967.
Ensure scripts handle both 2˚ and 10˚ observer values.
Add logic into coloraide to make it easy for Color objects to spit out
xy and uv (both 1960 and 1970) values.
Expose white points to user

Pretty pleased with how it turned out.  We can:

Print Chromaticity diagrams.
Show RGB color spaces on them.
Show white points.
Show a visual colored background.
And probably overlay anything else over them that we need to.

@gir-bot lgtm


Support Angular v16

Hey,
Can you release a version to support Angular v16?
Thank you :)

I created a PR https://github.com/shipshapecode/angular-shepherd/pull/1879

i installed npm i angular-shepherd --legacy-peer-deps and thats working for the time being so far

push

@RobbieTheWagner Could you please give us some information if there are plans to support Angular 16? Thank you!

plz i need it

Created a new PR with newer angular - https://github.com/shipshapecode/angular-shepherd/pull/1932


[Package Issue]: KDE.Kdenlive uses wrong download URLs

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
The KDE.Kdenlive package uses the the KDE CI automatic builds, which update often and do not produce stable results.  In particular, old build jobs get deleted and result in a HTTP 403 when attempting to fetch it.  These builds are linked from the download page, with an explicit note “[t]hey can be unstable and can corrupt existing projects, do not use in production”—so these appear inappropriate for the winget package.
The package should rather use stable release URLs, such as https://download.kde.org/stable/kdenlive/22.12/windows/kdenlive-22.12.3.exe.  Checksums for these files are provided on the file details page.  These download.kde.org URLs also automatically redirect to a mirror near the user.
This issue has appeared already in #96254 and #95801, but the fix for them was only the then-current daily build URL, not a stable one as I proposed.
Pinging @vedantmgoyal2009, as these URLs appear to come from his automation (cf. #102083).
Steps to reproduce
> winget install KDE.Kdenlive
Actual behavior
> winget install KDE.Kdenlive
Gefunden Kdenlive [KDE.Kdenlive] Version 22.12.3
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Wird heruntergeladen https://binary-factory.kde.org/view/Windows%20MingW/job/Kdenlive_Stable_mingw64/1058/artifact/kdenlive-22.12.3-1058-windows-gcc-x86_64.exe
Unerwarteter Fehler beim Ausführen des Befehls:
Download request status is not success.
0x80190193 : Nicht zulässig (403).

(Sorry for the German output, if someone tells me how to temporarily switch it to English, I can provide that as well.  The gist should be clear though.)
Expected behavior
The package should install.
Environment
> winget --info
Windows-Paket-Manager v1.4.10173
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19045.2846
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.19.10173.0

Protokolle: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Benutzereinstellungen: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Screenshots and Logs
No response

Continue to another PR. Duplicate PR is found. Failed to merge #102975 due to #103012

@Trenly Can you close this issue?

Close with reason: See above;


Object dataformat not working

Feature Proposal

Whenn using object data like this [{x: 5, y: 10}, {x: 8, y: 99}], if no labels array with integers if given transform the x values to the labels or give an error. Now it feels weird why its not working.
fiddle showing issue: https://jsfiddle.net/Leelenaleee/cj10653p/17/
Possible Implementation
Check if labels array is present and object index axis value is a number. If this is the case either throw an error: labels array needed with numbers to show on axes or convert them to strings

For category scale, number is the internal format and is a index to the labels array.
Label index is supported as raw value (as in your fiddle).
It cannot work properly in all situations, if it accepts numbers as labels. Examples:
// 3rd data point will match label at index 1, which would be '6'
labels: [],
data: [{x: 1, y: 1}, {x: 6, y: 1}, {x: 1: y: 2}]

// supported use case, points at labels 'c', 'b', 'a'
labels: ['a', 'b', 'c'],
data: [{x: 2, y: 1}, {x: 1, y: 1}, {x: 0, y: 1}]

Alright, I think this might need a clarifying text in the datastructure page so people wont walk into this issue


Package broken with newest opentelemetry dependencies

When using the latest opentelementy packages (0.27.0), the Nest application fails to start with the following error:
/home/node/app/node_modules/nestjs-otel/src/metrics/metric-data.ts:27
      const valueRecorder = meter.createValueRecorder(name, options);
                                  ^
TypeError: meter.createValueRecorder is not a function
    at getOrCreateValueRecorder (/home/node/app/node_modules/nestjs-otel/src/metrics/metric-data.ts:27:35)
    at MetricService.getOrCreateValueRecorder (/home/node/app/node_modules/nestjs-otel/src/metrics/metric.service.ts:26:36)
    at MetricService.getValueRecorder (/home/node/app/node_modules/nestjs-otel/src/metrics/metric.service.ts:20:17)
    at new ApiMetricsMiddleware (/home/node/app/node_modules/nestjs-otel/src/middleware/api-metrics.middleware.ts:90:47)
    at Injector.instantiateClass (/home/node/app/node_modules/@nestjs/core/injector/injector.js:301:19)
    at callback (/home/node/app/node_modules/@nestjs/core/injector/injector.js:48:41)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Injector.resolveConstructorParams (/home/node/app/node_modules/@nestjs/core/injector/injector.js:124:24)
    at async Injector.loadInstance (/home/node/app/node_modules/@nestjs/core/injector/injector.js:52:9)
    at async Injector.loadMiddleware (/home/node/app/node_modules/@nestjs/core/injector/injector.js:61:9)

That's actually great news 😂  I will try to patch that up this weekend, It will require a major version though. I've been keeping track of this release for a while but some packages might be moved somewhere else FYI.
Ref: https://github.com/open-telemetry/opentelemetry-js/issues/2480

any news?

howdy @elbasan there's a WIP Pr coming up to fix that. Unfortunatelly since metrics API was experimental, there is not major version bumps.

howdy @elbasan there's a WIP Pr coming up to fix that. Unfortunately since metrics API was experimental, there is no major version bumps.

Hey there, thanks for the quick response. Could you maybe tell me about to which versions i should downgrade the otel libaries so it still works

@elbasan I need to check again but my current project is running 0.24.0.

I've fixed the compatibility with opentelemetry 0.27 in https://github.com/marcbachmann/opentelemetry-node-metrics/pull/3

This still seems to be broken:
opentelemetry-node-metrics@1.1.0/node_modules/opentelemetry-node-metrics/metrics/version.js:17
  }).bind(version).add(1)
     ^
TypeError: meter.createUpDownCounter(...).bind is not a function

The dependencies got updated on the branch main: https://github.com/pragmaticivan/nestjs-otel/commit/c2f8b7b9fbe116953521fb6b5d7f4648d09d7712#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R42

@MattGson could you share which packages you are using? (versions)
I have it working here https://github.com/pragmaticivan/nestjs-otel-prom-grafana-tempo (latest released version)

This still seems to be broken:
opentelemetry-node-metrics@1.1.0/node_modules/opentelemetry-node-metrics/metrics/version.js:17
  }).bind(version).add(1)
     ^
TypeError: meter.createUpDownCounter(...).bind is not a function

@MattGson Maybe you forgot to do  await otelSDK.start() ?

The same problem:
TypeError: meter.createUpDownCounter(...).bind is not a function
    at module.exports (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/opentelemetry-node-metrics/metrics/version.js:17:6)
    at setupNodeMetrics (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/opentelemetry-node-metrics/index.js:18:31)
    at OpenTelemetryCoreModule.onApplicationBootstrap (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/nestjs-otel/src/opentelemetry-core.module.ts:110:44)
    at callModuleBootstrapHook (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:35)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at NestApplication.callBootstrapHook (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/@nestjs/core/nest-application-context.js:198:13)
    at NestApplication.init (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/@nestjs/core/nest-application.js:98:9)
    at NestApplication.listen (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/node_modules/@nestjs/core/nest-application.js:155:33)
    at bootstrap (/Users/macos/Documents/work/projects/js/nodejs/nest-third-telemetry/src/main.ts:26:3)

package.json:
"dependencies": {
    "@nestjs/common": "^8.1.1",
    "@nestjs/core": "^8.1.1",
    "@nestjs/platform-express": "^8.1.1",
    "@opentelemetry/auto-instrumentations-node": "0.27.1",
    "@opentelemetry/sdk-node": "0.27.0",
    "nestjs-otel": "^3.0.4",
    "reflect-metadata": "^0.1.13",
    "rimraf": "^3.0.2",
    "rxjs": "^7.4.0"
  },

await otelSDK.start(); in place, but it seems like problem happens when NodeSDK constructs

same problem, but if I set metrics.defautMetrics to false in the module options the service comes up

same problem, but if I set metrics.defautMetrics to false in the module options the service comes up

It works for me, and I have to turn off this switch to use it

Investigating the changes, be aware that metrics SDK in JS is not stable and this package support for metrics aim to give it as a tease before 1.0. It's unlikely you might get quick support by underlying packages, so I would slow down a bit on updating packages related to metrics.

hey @pragmaticivan I'm using the same packages versions from here:
https://github.com/pragmaticivan/nestjs-otel-prom-grafana-tempo
but still get such errors:
[gateway] Error in getConfigurations: this.metricService.getValueRecorder is not a function
where metricService is
import { MetricService } from 'nestjs-otel';

Hello. I am also getting this error:
opentelemetry-node-metrics@1.1.0/node_modules/opentelemetry-node-metrics/metrics/version.js:17
  }).bind(version).add(1)
     ^
TypeError: meter.createUpDownCounter(...).bind is not a function

From what I understood this was fixed here in the opentelemetry-node-metrics.. which is already the version on the main branch on this repo, but not in the latest released tag.
@pragmaticivan Any chance to create a new release?

For those in a hurry, here is a solution:
const OpenTelemetryModuleConfig = OpenTelemetryModule.forRoot({
metrics: {
...blah
// defaultMetrics: true, <- ** commented this line **
...blah
},
},
});

For me, the below worked.
It seems to be an issue with the old version(1.1.0) of opentelemetry-node-metrics package being used. Forcing the dependency package manager to install the latest version of  opentelemetry-node-metrics did the trick for me.
add the following in package.json

btw, I am using yarn. This won't work for npm.
npm users: https://stackoverflow.com/questions/15806152/how-do-i-override-nested-npm-dependency-versions
yarn users: https://stackoverflow.com/questions/40226639/how-do-i-override-nested-dependencies-with-yarn

Working example here: https://github.com/pragmaticivan/nestjs-otel-prom-grafana-tempo


ledcSetup' was not declared in this scope; ESP32 core 3.01

/home/sam/Desktop/SeeedStudio-XIAO-ESP32S3-Sense-camera-main/CameraWebServer/app_httpd.cpp: In function 'void setupLedFlash(int)':
/home/sam/Desktop/SeeedStudio-XIAO-ESP32S3-Sense-camera-main/CameraWebServer/app_httpd.cpp:1390:5: error: 'ledcSetup' was not declared in this scope; did you mean 'ledc_stop'?
1390 |     ledcSetup(LED_LEDC_CHANNEL, 5000, 8);
|     ^~~~~~~~~
|     ledc_stop
/home/sam/Desktop/SeeedStudio-XIAO-ESP32S3-Sense-camera-main/CameraWebServer/app_httpd.cpp:1391:5: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
1391 |     ledcAttachPin(pin, LED_LEDC_CHANNEL);
|     ^~~~~~~~~~~~~
|     ledcAttach
exit status 1
Compilation error: 'ledcSetup' was not declared in this scope; did you mean 'ledc_stop'?
Related: https://github.com/espressif/arduino-esp32/issues/9510

Did you switch to Arduino-IDF 3.0?

Message ID: <limengdu/SeeedStudio-XIAO-ESP32S3-Sense-camera/issues/9@
github.com>

Yes. I've since downgraded to 2.xx but it fails to work with an unrelated problem

The esp-arduino version 3.0.x updated many interfaces that are no longer supported.

just for some more context, I see this happen too with Arduino IDE 2.3.2

but it seems that the CameraWebServer_for_esp-arduino_3.0.x.ino seems to do the trick! it works for me


Icons for start and stop screen share

Feature Request
Description

Need icons for start and stop screen share.
For start screen share I'm imagining something like IconSimulation with up arrow on top.
Ex:
For stop screen share I'm imagining something like IconSimulation with IconCancel.
Additional Context / Screenshots

These icons can be used in a video conferencing application.
@ Mentions

Thanks @yusufali2205 - I just sent you an email with the details of how to log a new icon request to our internal process with Cerner UX.
Closing this issue and will resolve though Cerner's normal open source icon publishing process.


How to Convert VGG16 caffe model to tensorflow

Hi @Vaan5
I am new with tensorflow and caffe. I am from FER also, a new student from Indonesia. Can you help me how to configure your project properly? I tried it few times, and end up with several errors. However, I still got some error while converting caffemodel. I tried to run this script:
./convert.py VGG16_SalObjSub.caffemodel --code-output-path=coba.npy
I got error:
File "./convert.py", line 60, in <module>     main()   File "./convert.py", line 56, in main     args.phase)   File "./convert.py", line 27, in convert     transformer = TensorFlowTransformer(def_path, caffemodel_path, phase=phase)   File "/home/adi005/ImageSegmentation/piecewisecrf/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 221, in __init__     self.load(def_path, data_path, phase)   File "/home/adi005/ImageSegmentation/piecewisecrf/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 227, in load     graph = GraphBuilder(def_path, phase).build()   File "/home/adi005/ImageSegmentation/piecewisecrf/caffe-tensorflow/kaffe/graph.py", line 140, in __init__     self.load()   File "/home/adi005/ImageSegmentation/piecewisecrf/caffe-tensorflow/kaffe/graph.py", line 146, in load     text_format.Merge(def_file.read(), self.params)   File "/usr/local/lib/python2.7/dist-packages/google/protobuf/text_format.py", line 476, in Merge     descriptor_pool=descriptor_pool)   File "/usr/local/lib/python2.7/dist-packages/google/protobuf/text_format.py", line 526, in MergeLines     return parser.MergeLines(lines, message)   File "/usr/local/lib/python2.7/dist-packages/google/protobuf/text_format.py", line 559, in MergeLines     self._ParseOrMerge(lines, message)   File "/usr/local/lib/python2.7/dist-packages/google/protobuf/text_format.py", line 574, in _ParseOrMerge     self._MergeField(tokenizer, message)   File "/usr/local/lib/python2.7/dist-packages/google/protobuf/text_format.py", line 619, in _MergeField     name = tokenizer.ConsumeIdentifierOrNumber()   File "/usr/local/lib/python2.7/dist-packages/google/protobuf/text_format.py", line 1066, in ConsumeIdentifierOrNumber     raise self.ParseError('Expected identifier or number.') google.protobuf.text_format.ParseError: 2:1 : Expected identifier or number.
can you show me a proper script to convert the model.
thank you in advance.

You should run the script with something like this:
python convert.py model.prototxt --caffemodel model.caffemodel --data-output-path .
Before anything else read the README.md (https://github.com/Vaan5/piecewisecrf/blob/master/caffe-tensorflow/README.md) file with instructions what to do. You will need to use upgrade_net_proto_text and upgrade_net_proto_binary scripts (from caffe) to upgrade the model first.
For more information about the conversion (and possible issues with the converter) try looking at the posted issues in the caffe-tensorflow repo (https://github.com/ethereon/caffe-tensorflow).


chore: bdd-spring-1585506319 to 0.0.1

chore: Promote bdd-spring-1585506319 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Command to teleport neareast player of a position (Code suggestion)

The idea is to teleport the nearest player from a position
I use this from command block.
Don't have permission to push this, so here is the stuff
http://www.mergely.com/ufK1bwJb/
TeleportCommand.java

Can't you submit a pull request? Not sure if this is completely relevant to Multiverse, though.


Missing updates in the iobroker integrated packet management for hiob adapter

Describe the bug
Missing updates in the iobroker integrated packet management for hiob adapter.
The last version offered there is about 0.0.40 or 0.0.41.
The new Android App of Hiob now needs at least v0.0.60, what could have been better described in the app updates. "Normal" users has no chance to avoid problems, because they cannot know before updating the android update and they won't receive the needed adapter updater in the iobroker.
I would recommend two things:

ensure the adapter updates are available in the iobroker adapter mgmt
if updates of the mobile app will lead to issues having older versions (because the issue was known before) inform the users in the update description of the app-update

I didn't know, how to name it :-)
Simply said, your version is missing in the frontend of the iobroker adapters:

Currently the adapter is in none of the official ioBroker repositories (hopefully not for long anymore), so you always need to update/install the adapter over CLI npm manually. For now.

Oh I see - my fault! I thought my last version has been installed over the iobroker repositories.
Overall it would  be a good idea trying to organize adapter updates over this way :-)
Thanks a lot!


Complete javascript comment remover

complete the code at the remove javascript function
It must read a javascript file, ignore the comments, and rewrite the file again without the comments

@kevinesaa can you assign this issue to me

@GAURCODER of course! let me know if you need extra details

@kevinesaa please review and accept the pr

I also faced a similar issue on my site but thankfully I hire a developer which resolve that's issue.

I also faced a similar issue on my site but thankfully I hire a developer which resolve that's issue.

@kevinesaa ??


Use udisksctl and expect to unlock encrypted volume without needing supeuser privileges

Hi,
first of all, thanks for this nice project, it helped me a lot setting up auto-decrypt with my Yubikey. I am working on Ubuntu (16.04 LTS) so I can say that the scripts work also on this distribution. Also, I was able to get this working with a loop device.
On Ubuntu (and I assume on other distros as well), if you have a removable drive attached on boot, it gets auto-mounted on user login. The mount operation is performed with the user as owner and root privileges (sudo) are not needed. If the volume is encrypted, a (graphical) passphrase prompt is presented to the user.
On the other hand, if you mount the device as root and then you unmount it as a user (say, clicking on the eject icon in nautilus) then you are prompted for your password because the system policy requires administrative privileges to unmount a device mounted by another user, which is understandable, but annoying. The problem is analogous with lock/unlock.
i wanted to mount and unlock the volume as a user, but ykfde-open needed to be executed as root.
Using udisks (udisksctl) it's possible to mount and unlock the volume as a regular (non-root) user. When unlocking, udisksctl prompts the user for the passphrase.
One problem was that there was no obvious way (at least to me) to pass the response of the yubikey to udisksctl's prompt, so I have worked around that using expect. You can see the small expect script embedded in the code.
One caveat is that it is not possible to specify the mapper name for luks, as it is created automatically as /dev/mapper/luks-<uuid-of-the encrypted-volume>. i was using that name anyway, so it did not make any difference to me, but maybe the pull request can be edited so that a warning is presented to the user.
This pull request adds udisks and expect as dependencies. udisks should be present by default in many desktop distros and expect is a "classic" *nix utility that can be easily installed, I expect (pun intended :-) ) it to be available via the various package managers.
Thanks again.
Cristian

I tested your changes and it works thanks!
One nitpick: can you double quote variable at https://github.com/agherzan/yubikey-full-disk-encryption/pull/17/files#diff-ca4ed95aa62e9b234a8b97da5d793c2bR79 ?
It may not matter in this case but it's nice to have consistence.
BTW: There is similar project addressed for ubuntu/debian https://github.com/cornelinux/yubikey-luks
You may want to submit your changes there also.

@Vincent43 said:

One nitpick: can you double quote variable at https://github.com/agherzan/yubikey-full-disk-encryption/pull/17/files#diff-ca4ed95aa62e9b234a8b97da5d793c2bR79 ?

I removed those quotes because I was having an issue, but it's working now. Probably the issue was "coding late in the night" :-)

It may not matter in this case but it's nice to have consistence.

Of course. Fixed, rebased the commit, and pushed.

BTW: There is similar project addressed for ubuntu/debian https://github.com/cornelinux/yubikey-luks
You may want to submit your changes there also.

Thanks for the pointer, I will do it.

(Also, I was thinking that you may want to specify in the readme about the dependency on expect, IIRC it is not installed by default on all systems)

Looks good to me. Maybe I would remove on spurious new line that I see in the expect script.
I didn't know about that project @Vincent43 . I'm wondering if we could merge the projects. Sounds like duplicated work at this point.

@agherzan the problem is initramfs setup is different in debian. Also cryptsetup is slightly modified, there is /lib/cryptsetup/askpass tool which doesn't exist in Arch. Moreover supporting more than one cryptsetup or other binaries/libs versions can be tricky, someone would have to test that everything works on two platforms.

Well I don't think it would be tricky. It would be as it is now. Users will test both flavors but not using separate repos but using a flag or something. If one flavor breaks, it will get fixed. We will be able to reuse tons in this way.

@agherzan said:

Looks good to me. Maybe I would remove on spurious new line that I see in the expect script.

@Vincent43 said:

@CristianCantoro changing https://github.com/agherzan/yubikey-full-disk-encryption/blob/master/PKGBUILD#L8 to:
depends=('yubikey-personalization' 'cryptsetup' 'expect' 'udisks2') would be enough for users who build this as package.

I have removed that extra new line and added the dependencies
@agherzan said:

Well I don't think it would be tricky. It would be as it is now. Users will test both flavors but not using separate repos but using a flag or something. If one flavor breaks, it will get fixed. We will be able to reuse tons in this way.

 This project was easier to find for me (probably because I was googling for "yubikey full disk encryption external drive" and similar things) and I have been lucky enough that my use case works with this project. The overlap is for sure significant, at the very least it would be useful if both project mentioned each other in their READMEs.
Maybe we should see what @cornelinux thinks as well.

@agherzan I'm skeptical of merging.

It will make the whole more complicated.
This project is using bash and debian ver is using posix. You have to add conditionals - if debian do this if arch do that. Currently when you add new feature you don't have to care if it breaks something on distro you don't use. I doubt that there are many who use both distros simultaneously.

Those projects already share nearly all of the functionality.
Configs are different but you can easily generate same passwords with both tools. The only difference is that debian version supports plymouth and arch not. Merging won't provide much benefits for users.

Both projects aren't much active.
Someone would have to do the work. After that it may bring benefits but upfront you have to pay that cost. I like those projects and I did everything I can to make them better but I'm really not a programmer (even if we talk about simple scripting) and I don't have much expertise in those matters.

Of course if merge happens I will support and try to help with it.


Make transformer_engine::getenv arguments independent of C++ ABI version

Description
This is a cleaner workaround for undefined symbol errors for transformer_engine::getenv in the PyTorch CUDAExtension for which previously system.cpp from the common lib was being included as a source file in the framework build. We still need to be mindful when using getenv in the framework extensions henceforth with T as string or filesystem::path since this would also be the return type and would lead to the same errors.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Changes
Changes transformer_engine::getenv to use const char* arg instead of std::string argument.
Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/te-ci

Hmmm, TBH I don't understand why we don't just put that getenv template in the header file instead of the cpp file and just use that in the extensions rather than relying on the precompiled version.

Hmmm, TBH I don't understand why we don't just put that getenv template in the header file instead of the cpp file and just use that in the extensions rather than relying on the precompiled version.

This is not a bad idea either. This function is small, so explicit template instantiation doesn't save us much in terms of compilation time or binary size:
https://github.com/NVIDIA/TransformerEngine/blob/0edf30b87159e82048b5f248e4b379aebb8f364a/transformer_engine/common/util/system.cpp#L58-L70


processedImage rotated 90 degrees

I chain a bunch of filters before going to imagePreview
self.stillCamera.outputImageOrientation = UIInterfaceOrientationPortrait;
    self.imagePreview.fillMode = kGPUImageFillModePreserveAspectRatioAndFill;
[self.stillCamera addTarget:self.brightnessFilter];
    [self.brightnessFilter addTarget:self.contrastFilter];
    [self.contrastFilter addTarget:self.saturationFilter];
    [self.saturationFilter addTarget:self.whiteBalanceFilter];
    [self.whiteBalanceFilter addTarget:self.exposureFilter];
    [self.exposureFilter addTarget:self.imagePreview];

Image output is as expected.
When device is in Landscape, I change outputImageOrientation to landscape left or right depending on the rotation. Preview still looks good.
But still in landscape, I use the image capture function to take a photo as part of a segue, push a VC and set it's UIImage.image property to the processedImage as a preview.
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{

    if ([[segue identifier] isEqualToString:@"PreviewModal"]) {

        PreviewViewController *previewViewController = segue.destinationViewController;

        [self.stillCamera capturePhotoAsImageProcessedUpToFilter:self.exposureFilter withCompletionHandler:^(UIImage *processedImage, NSError *error) {
            previewViewController.previewImage.image = processedImage;
            NSLog(@"processedImage %@", processedImage);
        }];
    }
}

The preview image displays rotated 90 degrees. However, when I save it to my gallery, it's fine. I can't determine where the problem is coming from or what fixes this problem.

Solved it like this for anyone else facing the same problem
[self.stillCamera capturePhotoAsImageProcessedUpToFilter:self.exposureFilter withCompletionHandler:^(UIImage *processedImage, NSError *error) {
            UIImage *rotatedImage = [[UIImage alloc]initWithCGImage:processedImage.CGImage scale:1.0 orientation:UIImageOrientationUp];
            previewViewController.previewImage.image = rotatedImage;
            previewViewController.presetType = self.presetString;
            NSLog(@"processedImage orientation %ld", (long)rotatedImage.imageOrientation);
        }];


We can no longer build JavaMOP Agents from our own properties :(

If I try the following command with the latest version of JavaMOP:
javamop -merge -keepRVFiles properties/annotated-java-api/java/util/
I get error messages like the following:
The mop name ServiceLoader_MultipleConcurrentThreads is not valid!
There is nothing wrong with that property. After debugging, the error seems to be coming from this line where the regex we are using does not allow mop file names to have underscores in the middle; many of our properties have are named like: "_.mop"

This is a fix for the bug. I had to do it when I was using javamop in my own branch.
https://github.com/runtimeverification/javamop/commit/5cc421028bb0e05c5b3ec5907a78a83e0d972742
I'll submit a javamop issue.

@willschellhornrv @owolabileg  I made a little modification to that pull request.

The original error is now gone, but I still can't build an agent from our properties. Here are the steps that I followed with the latest JavaMOP and the errors I get:

git clone https://github.com/runtimeverification/property-db.git
cd property-db/annotated-java-api
javamop -merge -keepRVFiles java
mkdir -p classes/mop
rv-monitor -merge -d classes/mop/ `find -name "*.rvm"`
javamopagent MultiSpec_1MonitorAspect.aj classes -n JavaMOPAgent -v

The 3 errors I get after step look like the following:
/home/owolabi/projects/rvtest/scripts/properties/annotated-java-api/MultiSpec_1MonitorAspect.aj:1 [error] Duplicate method ajc$if$4a16b97f(Object, JoinPoint.StaticPart, JoinPoint, JoinPoint.StaticPart, MultiSpec_1MonitorAspect) in type MultiSpec_1MonitorAspect
(no source information available)

@owolabileg Thanks for the detailed error info. It seems that the problem has something to do with the generated code. I'll try to reproduce and debug this issue when I have time.

@owolabileg I can reproduce the same problem with exactly the same 3 errors; I'll try to debug once I have time to do so.

@owolabileg I narrowed down the range of specs causing the errors, and it turned out to be these three pointcuts:
pointcut Comparable_CompareToNull_nullcompare(Object o) : (call(* Comparable+.compareTo(..)) && args(o) && if(o == null)) && MOP_CommonPointCut();
	before (Object o) : Comparable_CompareToNull_nullcompare(o) {
		MultiSpec_1RuntimeMonitor.Comparable_CompareToNull_nullcompareEvent(o);
	}

	pointcut Comparable_CompareToNullException_badexception(Object o) : (call(* Comparable+.compareTo(..)) && args(o) && if(o == null)) && MOP_CommonPointCut();
	after (Object o) throwing (Exception e) : Comparable_CompareToNullException_badexception(o) {
		MultiSpec_1RuntimeMonitor.Comparable_CompareToNullException_badexceptionEvent(o, e);
	}

	pointcut Comparable_CompareToNullException_badcompare(Object o) : (call(* Comparable+.compareTo(..)) && args(o) && if(o == null)) && MOP_CommonPointCut();
	after (Object o) returning (int i) : Comparable_CompareToNullException_badcompare(o) {
		MultiSpec_1RuntimeMonitor.Comparable_CompareToNullException_badcompareEvent(o, i);
	}

These three pointcuts are the same but with different names, so when they are put together, it will cause problems.

@owolabileg Basically, the specs involved are two:

Comparable_CompareToNull.mop
Comparable_CompareToNullException.mop

Moreover, the first spec is good to run on itself, while the second spec, "Comparable_CompareToNullException.mop" cannot even be run by itself.
Combine these two specs to a single .aj file will therefore generate 3 pointcuts with same contents but different names, and as a result, causing the duplicate methods error.


Touchmove / scroll or something

Hi everyone,
I use ionic v1.
I try to learn ionic framework. I have some problem. Maybe you can help me. I’m learning how to code newer. I checked many people's code. They didn’t do anything special for touchscreen or I couldn’t understand…
My problem is that I can move screen down/up with touch.
Gif link: https://puu.sh/u8QCX/a939ddb768.gif
If you help me I’m so happy.
Thanks for helping.

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


Make space available for querying during ingest

This PR adjusts the ingest process following @mccanne's design to make data available for querying as it is processed, rather than waiting for everything to land before allowing anything to be queried.
The main changes are:

Indexing and zeek processing of the pcap now happen sequentially. Indexing is first; a HTTP 2xx is returned upon successful index creation.
Instead of waiting for all zeek logs to be ready, and then running a one-time bzng conversion job after that, we now take "snapshots" of the zeek logs as they are being generated, and make these snapshots
available for regular querying while zeek processing continues. A final snapshot is done after all logs have been processed.

@mccanne, I did not implement the "stable" scheme in this PR, as I had a question that raised offline (on the issue). I can add it here once that's resolved or in a different PR.
This change needs tests. I'm waiting for #399 to get in and will add those after that.

@jameskerr with this PR, as soon as you get a first PacketPostStatus, the space is available for querying (partially). When you get the TaskEnd message, you know that all data is ingested.

To do this, Done() channel on the "proc" instead could be a status channel that multiplexes updates from the zeek writer and the snapshotter and gets closed when ingest is finished.

@mccanne totally agree and I started out wanting to do streaming updates as you describe, but that would required the packet package to assemble api messages (or bits of them), which it appears is no good.
However your comment makes me realize we could have a separate snapshot channel on which the ingest process sends a struct{} at every snapshot; the handler can then use notifiction to send a "snapshot done" API message.

@henridf Awesome, thanks! I'll adjust the app to be ready to search after I receive the first one. @mccanne I don't quite follow how you'd like to stream back results from ingest. Maybe we can talk over zoom later.

we could have a separate snapshot channel on which the ingest process sends a struct{} at every snapshot; the handler can then use notifiction to send a "snapshot done" API message.

@mccanne (and/or anyone else) I did this in ff088397743ae59596daf16860e15b97f88ae85e , please take a look
Rather than create a separate snapshot message, i just added the minTs/maxTs fields to PostStatusUpdate. This way @jameskerr just gets these messages and updates the mints/maxts every time (it's possible that two subsequent messages have the same values in these fields, but that's fine).

Indexing and zeek processing of the pcap now happen sequentially. Indexing is first; a HTTP 2xx is returned upon successful index creation.

The index isn't really helpful unless there is data pointing to pcaps. I would consider either here or in a separate pr waiting for some data to be "snapshotted" until the 2xx response header is returned.

The index isn't really helpful unless there is data pointing to pcaps. I would consider either here or in a separate pr waiting for some data to be "snapshotted" until the 2xx response header is returned.

This is useful in the case of a bad pcap file, since we'll fail the request faster & before we start up zeek & the rest of the ingest actions.

The index isn't really helpful unless there is data pointing to pcaps. I would consider either here or in a separate pr waiting for some data to be "snapshotted" until the 2xx response header is returned.

@mattnibs just saw this comment after responding above; same response as https://github.com/brimsec/zq/pull/402#discussion_r389853935

This is useful in the case of a bad pcap file, since we'll fail the request faster & before we start up zeek & the rest of the ingest actions.

My comment isn't suggesting that we shouldn't return 4xx immediately in the event of a bad pcap.

Rather than create a separate snapshot message, i just added the minTs/maxTs fields to PostStatusUpdate. This way @jameskerr just gets these messages and updates the app's minTs/maxTs every time (it's possible that two subsequent messages have the same values in these fields, but that's fine).

This looks good.  App can compare its min/maxTs to the update and update when different.  And since trigger an update from the snapshot, the first update will be nice and tight.

As noted above, tests will follow in a separate PR.


refactor: axios to fetch

This pull request refactors the arweave-js codebase to use the fetch API instead of the axios module. This fixes the incompatibility with service workers and chrome extensions based on the Manifest v3 standard.
Closes #184

Status of this PR:

Tests for the web bundle all pass, so it should work for the browser
Nodejs version tests fail, the Headers class used by fetch is undefined and my solution to polyfill it does not work (polyfill code here)

Any help is appreciated!

@rosmcmahon if you have a little bit of time to look at this, that would help massively as well

One possible solution could be to utilize the same technique that the crypto-driver uses in arweave-js, but I feel like this would be an overkill (?)

https://github.com/ArweaveTeam/arweave-js/blob/master/src/common/lib/api.ts#L46-L59
  public async get<T = any>(
    endpoint: string,
    config?: AxiosRequestConfig
  ): Promise<AxiosResponse<T>> {
    try {
      return await this.request().get<T>(endpoint, config);
    } catch (error: any) {
      if (error.response && error.response.status) {
        return error.response;
      }

      throw error;
    }
  }

ah. i didn't realise the purpose of the Axios error handling in this function before. it's making it like Fetch API:

just return http status codes without throwing an error.
only throw on connection errors.

so there has been some work done in preparing arweave-js for conversion to fetch already...

Yeah exactly, that's what I realized too. Altho this could have been done more easily, with validateStatus.

i'm looking at raising the minimum node.js version to 16 and using the new built-in Fetch API

i'm looking at raising the minimum node.js version to 16 and using the new built-in Fetch API

Would be the easiest solution. Do you think it would cause mayor incompatibilities? LTS is 18.12.1 right now, so i think it would be fine.

hey @martonlederer can i get push access to your repo?

@rosmcmahon you should be invited now

no Windows laptop handy. troubleshooting through github actions 😃

all tests passing...

thoughts about using nodejs Fetch API:

it's marked experimental, I have already seen some typing changes while using it over the last couple of months, we will need to keep an eye on it for changes, but this is not a big deal i think. builds break, you fix them.
if someone wants to use nodejs < 16 they can install a previous version of arwaeve-js

i'm not gonna publish this straight away. maybe another set of eyes first, and then update the minor version.
can you be the extra set of eyes @hlolli ?

yeah, great work @martonlederer !! thanks for taking the time on this important PR! 😃


SSL Get Request: 406 Not Acceptable in RestClient; Works in Net::HTTP and curl

Hi,
I'm currently trying to access an API through SSL using the code from the Readme:
facts = RestClient::Resource.new(
        'https://example.com:8081/v3/nodes/intranet.example.com/facts',
        :ssl_client_cert  =>  OpenSSL::X509::Certificate.new(File.read("cert.pem")),
        :ssl_client_key   =>  OpenSSL::PKey::RSA.new(File.read("key.pem")),
        :ssl_ca_file      =>  "ca_certificate.pem",
        :verify_ssl       =>  OpenSSL::SSL::VERIFY_NONE
      ).get

The result is the following error:
RestClient::NotAcceptable: 406 Not Acceptable
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'
        from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/net/http.rb:853:in `start'
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
        from /nethome/intranet/www/intranet/shared/bundle/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/resource.rb:51:in `get'
        from (irb):93
...

Most likely it's a server error, but because I couldn't find anything, I tried with curl and the blank Net::HTTP:
curl 'https://example.com:8081/v3/nodes/intranet.example.com/facts' --cacert ca_certificate.pem --key key.pem --cert cert.pem

uri = URI.parse("https://example.com:8081/v3/nodes/intranet.example.com/facts")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.cert = OpenSSL::X509::Certificate.new(File.read("cert.pem"))
http.key = OpenSSL::PKey::RSA.new(File.read("key.pem"))
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(uri.request_uri)

curl as well as Net::HTTP are working and are returning the desired content.
Is this a bug in RestClient; any more options/attributes which need to be set?
Versions:
rest-client-1.6.7
ruby 2.1.0p0
curl 7.26.0
puppetmaster 3.5.1 (for completeness)
Thanks in advance!

    I have resolved the issue using following way:

       ```
        HttpClientHandler clientHandler = new HttpClientHandler();
        clientHandler.ServerCertificateCustomValidationCallback = (sender, cert, chain, sslPolicyErrors) => { return true; };

        HttpClient httpClient = new HttpClient(clientHandler);
        httpClient.BaseAddress = new Uri("https://localhost:44361/");

        var restClient = new RestClient(httpClient);
        var request = new RestRequest("UserLog/GetData", Method.Get) { RequestFormat = DataFormat.Json };
        var response = restClient.Execute<List<QueryExecutionModel>>(request);


Error following the tutorial write your first flutter app (https://codelabs.developers.google.com/codelabs/first-flutter-app-pt2#6)

Use case

Proposal

Hello! First of all this framework is amazing, keep up the good work! I started recently to use it moving from react native and I really like this framework and its community, but I'm having trouble with your documentation as the examples given in it have errors.
In the tutorial of "write your first Flutter app part 2" (https://codelabs.developers.google.com/codelabs/first-flutter-app-pt2#6) in the end of the tutorial it gives me the following error

As I'm not experienced enough with this framework I tried to solve it sticking as much as I could to the structure of the tutorial but still I couldn't solve this :(
I found another error but it was easy to solve, it's that the Scaffold from the build method of the class _RandomWordsState should be wrapped in a MaterialApp widget as it gives the error "no media query widget ancestor found".
I hope you someone can help with this little issue, if not I hope I can collaborate in a close future when I have more experience with this framework.
Best regards!

cc: @domesticmouse

@wontlearn2codewithme Can you give me some details? I'm interested in the output of flutter doctor -v, which platform you were targeting, be it Android, iOS, Web, Windows, macOS, or Linux. It would also help to have the content of your lib/main.dart.

Hello and thank you a lot for your fast and kind reply!
Here you can find the output of the command flutter doctor -v
https://pastebin.com/42TQsFa0
And here you may find my lib/main.dart file
https://pastebin.com/06ts6Ne6
The platform I'm targeting is iOS, I'm using a simulator of an IPhone 13
with iOS 15.
This error happens when I try to open the sidebar from the top right
button. Let me know if I have to give you more details.
Best regards!
El mar, 30 nov 2021 a las 11:09, Brett Morgan @.***>)
escribió:

@wontlearn2codewithme https://github.com/wontlearn2codewithme Can you
give me some details? I'm interested in the output of flutter doctor -v,
which platform you were targeting, be it Android, iOS, Web, Windows, macOS,
or Linux. It would also help to have the content of your lib/main.dart.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/94396#issuecomment-982483168,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATKETGCEW5SCHNSLQBVL6Y3UOSPELANCNFSM5JBA4LPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I was able to reproduce this on stable 2.5.3 the context to navigator is incorrectly passed

Hello Mahesh,
Ok I get it, but what should I do to fix that? And the most important
thing, could you change your beginners guide so other beginners won't face
this problem?
I just followed this example:
https://github.com/flutter/codelabs/blob/master/startup_namer/step7_navigate_route/lib/main.dart
El vie, 3 dic 2021 a las 7:22, Mahesh Jamdade @.***>)
escribió:

I was able to reproduce this on stable 2.5.3 the context to navigator is
incorrectly passed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/94396#issuecomment-985248999,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATKETGBQW2L5X6NVD67NJ7LUPBO37ANCNFSM5JBA4LPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @wontlearn2codewithme,
The primary change you have to make to fix your code is to wrapper the top level with a MaterialApp. Here's the updated code I used:
void main() => runApp(const Test());

class Test extends StatelessWidget {
  const Test({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Startup Name Generator',
      home: RandomWords(),
    );
  }
}

Context

https://stackoverflow.com/a/51292613
https://github.com/flutter/codelabs/blob/master/startup_namer/step7_navigate_route/lib/main.dart


Add CodePen examples

This resolves #11 by adding three examples with code playgrounds:

Get listing
Get listing by index
Create listing

This is a minimal proof-of-concept, which only handles the failure case of not having a web3-enabled browser. I will create additional GitHub issues for other enhancements.

Noticed that the examples fail silently if you're not on Rinkeby. I suggest we move that test, and the test for web3 in general, to a standard js file that's included with codepen.

Also, looks like we can style our pens to match the colors of our docs site:
https://blog.codepen.io/documentation/features/embedded-pens/#embed-themes-1
@micahalcorn can you pm me the OriginProtocol login creds?


UI Component: Navbar

Is your feature request related to a problem? Please describe.
As a user I want to see the navbar after the loggin in.
Describe the solution you'd like
The navbar will house name of the app (logo), a help link, current network name and connection status
See Use case

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
See CONTRIBUTING.md for contribution guidelines

I'm working on this one now.

See https://github.com/spacemeshos/app/wiki/Visual-Assets-and-Specs for complete spec and designs

@iamonuwa Do you have any guideline best practice to implement responsive in React-Native component?

Use flex. See https://github.com/necolas/react-native-web/blob/master/docs/guides/style.md

Use a copy of this https://github.com/spacemeshos/app/issues/21


IT-1874: Remove peering with nlpsandbox account

This PR removes the admincentral side of the peering with nlpsandbox account. Don't merge until https://github.com/nlpsandbox/nlpsandbox-infra/pull/41 is merged.

Depends on https://github.com/nlpsandbox/nlpsandbox-infra/pull/41


Paragraphs.tsv and queries.tsv file link is not working

In demo section, paragraphs.tsv and queries.tsv files have been used. The link provided to download that data is not working. Please provide the file.

I updated the benchmarking readme, should work now


Future 2.8 updates

Hey there, i love the sprytile tool for blender so much but i want it to be supported on future versions like 3.1 and such anything possible about that

Hi!
Can't make any promises about 3.x (it depends on how much work will be needed), but future versions of 2.8 should be supported fairly easily!


MySQL or I don't know error but nothing just "Plugin is loading..."

Hello!
 I just try to make modifications on my actually quests but I can't on any servers because the plugin is loading with your famous sentence. So how can I make the plugin work? Please, by advance, you're greatest supportert! (I have also QuestGUI on both).
Greetings!

Quests doesn't support Bungee at all.
MySQL support it's not fully done yet. Either way.
If you plan to make 2 servers. You need to have exactly same locations, npcs, everything copied aka Duplicate of the server in order to EVENTUALLY work.
Since Bungee ain't supported it would most likely not work as you think it should.
"Plugin is loading" because it errors out in your console.

Ok so If I remove the NPCs and the quests which are not on the good positions it will be worked? Then I ask the question: If I'll do this, I can hope XP and so many rewards about quests will be work even If I have stats of others plugins connected because I suceed to make quests already present but failed to use commands because errors like you said!

Bro I removed quests and config.yml nothing changed, maybe delete all datas to be work?

Trial - Error it. Eventually you will either get it working nor won't.
Officially Quests does not support Bungee and cross-servers.

I removed all the folder from both servers, reboot then it works! I changed the config.yml like before, I put my old quests and it work! I'm happy, thanks!


[Zeppelin-354] - List notebooks REST API

replacing PR #367
This is the implementation, test and documentation of List notebooks REST API.
The documentation include sample JSON with different looknfeel option and coron options.
This is ready for review.

I think it would be better if API implementation uses NoteInfo class to generate list, and manage to share the same logic building list with Websocket API here

Hi,
Sorry for the late response, if I implement the list based on NoteInfo it
means that we only publish Note id and Note Name as implemented in the
Websocket
API here
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L280
,
right?
What about the note info?
Eran
On Fri, Oct 30, 2015 at 9:03 AM Lee moon soo<EMAIL_ADDRESS>wrote:

I think it would be better if API implementation uses NoteInfo
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteInfo.java
class to generate list, and manage to share the same logic building list
with Websocket API here
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L280
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-zeppelin/pull/369#issuecomment-152445699
.

Update ListNotebook API to match and use same code as socket implementation
Ready for review

Checked updated codes and Looks good to me.
Thanks for the update!

Merge if there're no more discussions


Add Zenodo to host pretrained models

Zenodo offers several benefits compared to the other options detailed in this list.

More free storage
citable DOI
long-term storage, without ability to delete files

Especially the last point is very important to allow other researchers to reproduce results even years after the release. Therefore I suggest to make zenodo the #1 recommendation for this list.

Thanks - merged!


Add subPath and readOnly mount options support for virtiofs

What this PR does / why we need it:
This PR adds support of subPath and readOnly mount options for virtiofs.
Currently kubevirt supports mounting a PVC as virtiofs filesystem, but it does not support subPath and readOnly options which are already supported in K8S pod volumeMounts. Adding these options would make VM virtiofs filesystem behaves more closer to Pod.
When using filesystem-mode PVC like CephFS or etc, supporting subPath is a quite necessary.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note:

/cc @alaypatel07

@bougou thanks for the PR!
Could you please provide your use-case for the subPath field in the API?I don't quite understand how user would use it.

Hi @alicefr
We deployed rook-ceph in our K8S cluster, and created a single CephFS PVC (named data-pvc) to store data of all users.
We want to store each user's data under separated directories like /{username}/. The root path here is the rootpath of the above CephFS data-pvc.
To create a VM for a user called user1, and want to exposes ONLY the data under /user1/ directory to the VM.
kind: VirtualMachine
metadata:
  name: "vm-user1"
spec:
  template:
    spec:
      domain:
        devices:
          filesystems:
            - name: data
              virtiofs: {}

      volumes:
        - name: data
          persistentVolumeClaim:
             claimName: data-pvc

With current kubevirt API, there's no place to specify the directory information, the above VM would see all data of data-pvc.
If the kubevirt API supports the following subPath field, the VM would see ony data under /user1/ directory.
kind: VirtualMachine
metadata:
  name: "vm-user1"
spec:
  template:
    spec:
      domain:
        devices:
          filesystems:
            - name: data
              virtiofs:
                subPath: /user1    # Added API

      volumes:
        - name: data
          persistentVolumeClaim:
             claimName: data-pvc

Hi @alicefr We deployed rook-ceph in our K8S cluster, and created a single CephFS PVC (named data-pvc) to store data of all users.
We want to store each user's data under separate directories like /{username}/. The root path here is the rootpath of the above CephFS data-pvc.
To create a VM for a user called user1, and exposes ONLY the data under /user1/ directory to the VM.
kind: VirtualMachine
metadata:
  name: "vm-user1"
spec:
  template:
    spec:
      domain:
        devices:
          filesystems:
            - name: data
              virtiofs: {}

      volumes:
        - name: data
          persistentVolumeClaim:
             claimName: data-pvc

With current kubevirt API, there's no place to specify the directory information, the above VM would see all data of data-pvc.
If the kubevirt API supports the following subPath field, the VM would see ony data under /user1/ directory.
kind: VirtualMachine
metadata:
  name: "vm-user1"
spec:
  template:
    spec:
      domain:
        devices:
          filesystems:
            - name: data
              virtiofs:
                subPath: /user1    # Added API

      volumes:
        - name: data
          persistentVolumeClaim:
             claimName: data-pvc

Thanks, the use case makes sense.
@germag IIRC, you wanted to use a single virtiofs instance for the same VMI. Could this potentially conflict with it?

@bougou then the code looks good to me to. Please, add some unit tests as @vasiliy-ul suggested


Collapsable sections on Request View

As an IAO analyst
I want to be able to collapse sections of the request view
so that I only see information that is important to me

Assumptions & Scope
What are the assumptions for this story?
We will use Material UI: https://mui.com/material-ui/react-accordion/
Collapsable sections are in AXIS and have been requested for the new app by the business.
What is IN scope?
Collapsable sections for the IAO request view.
What is NOT in scope?
Collapsable sections for the ministry request view.
Acceptance Criteria
Scenario 1:  Applicant Details and Contact Information closed by default

GIVEN an IAO analyst is on their queue or advanced search
WHEN the analyst click on a request
THEN the request view will be displayed
AND there will be a grey line with an arrow for each section of the request (e.g. Applicant Details, Request Description, Extensions, etc,.)
AND Applicant Details and Contact Information will be closed by default
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/908679737

Scenario 2: Close a request section

GIVEN an IAO analyst is on a request
AND a section is visible (e.g. Request Description)
WHEN the analyst clicks on the grey line
THEN the request section will close
AND the request fields for that section will not be visible

Scenario 3: Open a request section

GIVEN an IAO analyst is on a request
AND a section is not visible (e.g. Applicant Details)
WHEN the analyst clicks on the grey line
THEN the request section will open
AND the request fields for that section will be visible
...

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

I have confirmation from the business that they want Applicant Details and Contact Information closed by default.
Confirming if Intake and Flex wants something different.
cc @m-prodan, @KaraBeach

Clarified and captured preferences of Intake and Flex in AC.

@JHarrietha-AOT  The grey color looks disabled. can we go with standard BCGOV blue.

@sumathi-thirumani-aot For sure, I'll update the designs

@sumathi-thirumani-aot Designs are updated in the links above based on your suggestion. Thanks

Closing ticket based off of changes to design and understanding in refinement.

@divyav-aot, processing team has just asked the the Child Details be closed by default.  I've updated AC 2 accordingly.

all ACs passed, good job @aparna-aot!


Fixes to wasm validation

There are two places where wasm validation needs to change:

When validate_wasm returns false run needs to return an error
validate_wasm needs to be called after running each pass, to match wasm-opt behavior.

done


cool box idea

cen you add an coolbox so you cen store food without it starting to go bad?

My idea is to use the decorated pots in 1.21

you could add a fridge storage block

My idea is to use the decorated pots in 1.21

maybe also using an ender chest could be a cool ☃ greetings from 1.20.1


Dark lines at degrees of longitude / latitude when hill shading layer ist displayed

In higher zoom levels (11 and above), BRouter-web draws dark lines at each 10th degree of longitude and each 10th degree of latitude, examples:
https://brouter.de/brouter-web/#map=15/50.0000/10.0000/osm-mapnik-german_style,HikeBike.HillShading&profile=vm-forum-velomobil-schnell
https://brouter.de/brouter-web/#map=13/40.0000/20.0000/osm-mapnik-german_style,HikeBike.HillShading&profile=vm-forum-velomobil-schnell
… but not everywhere on the planet. Where degrees of lon/lat are not multiples of 10, this problem does not seem to appear.

All maps in BRouter-Web are from external providers, so nothing we can do.
The Hillshading layer is part of the Hike & Bike Map, you get to the original site with the Hillshading link on the bottom right:
http://hikebikemap.org/?zoom=15&lat=50&lon=10&layer=HikeBikeMap
http://hikebikemap.org/?zoom=13&lat=40&lon=20&layer=HikeBikeMap
My impression is that this map is not really maintained anymore.
Suggestions for an alternative hillshading layer are welcome.

Alternative hillshading: https://cycling.waymarkedtrails.org/#?map=15!50!10


Downloaded 720p 900MB file but only 30 seconds of running time

I tested it with "https://pluto.tv/de/on-demand/series/star-trek-discovery-de/season/1/episode/wahle-deinen-schmerz-2017-1-5" at the highest level Quality.
It obviously downloads all of the segments. But the output is only about 30 seconds.
I'm using Firefox 94.0.2 (64-bit) and hls-downloader 3.2.1

Have you tried with a different codec or player?
Does that happens every time you download it?

The first thing I tried was playing it with different players. I've also tried other episodes this season. It always came out with the same result.
I don't think I tried any other quality level as my goal was best quality.
Can't reproduce the error?


deps(dev): update electron

Update to the latest electron version.

I tried running this locally to get this unstuck and it keeps stalling out for me locally. Nothing useful when enabling DEBUG=*
╰─ ✔ ❯ node src/index.js test -t electron-main
build

><EMAIL_ADDRESS>build
> node src/index.js build --no-bundle

[09:35:28] tsc [started]
[09:35:29] tsc [completed]
test electron main
  ✔ Downloading electron: 29.2.0

Superseded by #1582


feat(#647): Add Imports Only When It Is Needed

In this PR I added the logic that adds meta information (imports) only when they are needed.
For example, when we have a Java interface - it usually doesn't have any instructions or labels.
So, we don't need to add "opcode" and "label" imports to the generated XMIR.
Also I removed the outdated ad-hoc solution of this problem.
Closes: #647
History:

feat(#647): change DirectivesMetas significantly
feat(#647): naive implementation of opcodes and labels checking
feat(#647): fix the small bug with class names
feat(#647): fix all the integration tests
feat(#647): remove deprecated code and the puzzle for #647 issue
feat(#647): fix all the code offences

PR-Codex overview
The focus of this PR is to enhance the representation of classes and methods in the codebase by introducing methods to check for opcodes and labels.
Detailed summary

Added hasOpcodes and hasLabels methods to DirectivesMethod and DirectivesClass.
Introduce DirectivesMetas to handle metadata in class representation.
Improved XML generation in DirectivesClassVisitor.
Refactored DirectivesProgram to use DirectivesMetas instead of ClassName.

The following files were skipped due to too many changes: src/main/java/org/eolang/jeo/representation/directives/DirectivesProgram.java, src/main/java/org/eolang/jeo/representation/directives/DirectivesMetas.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 38min)

@volodya-lombrozo Hey there! 👋 Nice work on your contribution! You've earned +4 points, but there's room for improvement. The 295 hits-of-code was a bit high (over 200), and we missed out on a code review. Only 2 comments came in, which is below the 6 we aim for. Don't worry though, we've adjusted it to give you something for your efforts. Keep the contributions coming, but remember: smaller chunks, more reviews, and encourage those comments! Your balance is now +154. Let's aim higher next time! 💪


Backend: Create Attractions.js model

Create a Mongoose Model to map all of the data related to attractions for the app.

https://github.com/HashemE1999/locus/commit/80d169e6530ea31205726bc4c487f8921fb4a4e7

Model is based on the API documentation from Destination Experiences: https://developers.amadeus.com/self-service/category/destination-experiences/api-doc/points-of-interest/api-reference


recursion keeps recursing, endless loop

~ Description of the issue ~
gps -id $pid | select name,id | convertto-json

{
  "Name": "pwsh",
  "Id": 24500
}

This appears to occur regularly
~ The Bicep version ~
az bicep version
A new Bicep release is available: v0.4.1318. Upgrade now by running "az bicep upgrade".
Bicep CLI version 0.4.1008 (223b8d227a)

~ Sample Bicep code to reproduce the issue ~
param Prefix string

@allowed([
  'I'
  'D'
  'T'
  'U'
  'P'
  'S'
  'G'
  'A'
])
param Environment string = 'D'

@allowed([
  '0'
  '1'
  '2'
  '3'
  '4'
  '5'
  '6'
  '7'
  '8'
  '9'
])
param DeploymentID string = '1'
param Stage object
#disable-next-line no-unused-params
param Extensions object
param Global object
param DeploymentInfo object
#disable-next-line no-unused-params
param deploymentTime string = utcNow('u')

var Deployment = '${Prefix}-${Global.OrgName}-${Global.Appname}-${Environment}${DeploymentID}'
var DeploymentURI = toLower('${Prefix}${Global.OrgName}${Global.Appname}${Environment}${DeploymentID}')

Code of Conduct

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

[ ] test a
[ ] test b


Add basic CrossOver migration info

Not directly merging this so we can decide if we actually want this.
Given the increase of Mac users in discord, I think we'd benefit from having mac-specific support topics and channels, similar to our Linux ones.

No longer needed


Update scipy constraints for py3.8

Proposed changes
Closes #319.
Constraints on Scipy caused an error when trying to build new Snakebids apps. This commit updates fixes this issue by updating the constraints on the Python version from >=3.11 to >=3.8.
Also updated the poetry.lock. Had to constrain pytest since it also updated to 7.4.0 which was causing pyright to error out from an partially unknown type from pytest.FixtureRequest.node.get_closest_marker. Can look into this later on, but wanted to get the scipy stuff working first.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

[x] Changes have been tested to ensure that fix is effective or that a feature works.
[ ] Changes pass the unit tests
[x] I have included necessary documentation or comments (as necessary)
[x] Any dependent changes have been merged and published

Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

I have a py38 upgrade branch underway, so hopefully a lot of these issues will be resolved when that's finished

I say go ahead and merge, we were going to do one more py37 release anyway


Developer Edition is not launched over the default Firefox

System: Host: jx-X1 Kernel: 4.14.48-2-MANJARO x86_64 bits: 64 compiler: gcc v: 8.1.1 Desktop: i3 <IP_ADDRESS> Distro: Manjaro Linux 17.1.10 Hakoila
Firefox Developer Edition path: /usr/bin/firefox-developer-edition
Firefox path: /usr/bin/firefox

If I don't specify firefoxExecutable, the default version of Firefox is still launched over the Developer Edition.

I was looking for firefox-developer but not firefox-developer-edition. Fixed in version 1.4.1.
Thanks for the bugreport.


New version: PlanetOrbits v0.3.0

Registering package: PlanetOrbits
Repository: https://github.com/sefffal/PlanetOrbits.jl
Created by: @sefffal
Version: v0.3.0
Commit: 99606afd976c0a6a5ff59987cfa760e6ef18e70b
Reviewed by: @sefffal
Reference: https://github.com/sefffal/PlanetOrbits.jl/commit/99606afd976c0a6a5ff59987cfa760e6ef18e70b#commitcomment-83678953
Description: Tools for solving and displaying Keplerian orbits for exoplanets.

[noblock] Not sure what this error means. Any suggestions? CI is green in the package repo (code coverage failure is not important)


Redirection of stderr output from external programs sets $? invariably to $false, no longer reflecting whether $LASTEXITCODE equals 0

Closely related: #4002
Normally, immediately after execution of an external program, $? and $LASTEXITCODE -eq 0 can be used interchangeably to test for success.
However, under the following conditions $? is invariably set to $false, even if $LASTEXITCODE contains 0 and therefore indicates success:

If a 2> or *> redirection is involved
and actual stderr output is produced by the external program.

Note that you generally cannot and shouldn't infer success vs. failure of an external program from the presence of stderr output - many CLIs use stderr to emit status information; only the process exit code should be consulted.
Steps to reproduce
Run the following on Windows, which produces both stderr and stdout output and reports 0 as the process exit code:
& { cmd /c 'nosuch & ver' *>$null; $?; $LASTEXITCODE } | Should -Be $true, 0

Expected behavior
The test should succeed.
Actual behavior
The test fails:
Expected @($true, 0), but got @($false, 0).

That is, $? was $false, even though $LASTEXITCODE was 0.
Environment data
PowerShell Core 7.0.0-preview.3
Windows PowerShell v5.1.18362.145

Closed in favor of https://github.com/PowerShell/PowerShell/issues/3996#issuecomment-666495478


add monthly endpoint

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 10 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.02%) to 97.899%

Totals

Change from base Build<PHONE_NUMBER>:
1.02%

Covered Lines:
180

Relevant Lines:
184

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

10 of 10 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 97.899%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
180

Relevant Lines:
184

💛  - Coveralls


Removed locale from docs.microsoft.com URLs

Found a number of docs that contained the locale in the docs.microsoft.com URL.  Removed the locale to keep them in line with our other document links.

@ChrisKibble : Thanks for your contribution! The author, @mestew, has been notified to review your proposed change.

Verified the updates.
@ChrisKibble Thanks!