Update 2.10.0: values jumping between sources

When there are different sources for the identical path the values within the instrument panel are jumping to another source.
The values are not jumping within SK or KIP data browser.
SK data
https://github.com/mxtommy/Kip/assets/143433271/c08d1a0e-2e79-4ada-93de-83dfea9f13af
KIP data
https://github.com/mxtommy/Kip/assets/143433271/e11e3583-5c4a-4816-8f76-fcd7ace9be2c
KIP instrument
https://github.com/mxtommy/Kip/assets/143433271/d6e4f801-3400-4ac2-b952-7fb9911b90ce

Did you notice this problem in prior versions?
If you have multiple sources for the same path, Source Priority for each path needs to be configured in SK, else widgets will jump between sources as they publish values. This is as per specs.
Check this and report back.
Thank you

I do use KIP for exactly one year. No prior version had jumping values.
Simplest example: engine hours of port and starboard engine, both displays/value do jump now (as well as RPM, fuel rate, load, voltages, amps, temps...)
Let's say: all configured instrument pages do have lot's of jumping values.
Kip is not usable any more since updating to 2.10.0
Pls check!

Von: David G @.***>
Gesendet: Mittwoch, 29. Mai 2024 16:40
An: mxtommy/Kip
Cc: Joerg R. Plaschka; Author
Betreff: Re: [mxtommy/Kip] Update 2.10.0: values jumping between sources (Issue #420)
Did you notice this problem in prior versions?
If you have multiple sources for the same path, Source Priority for each path needs to be configured in SK, else widgets will jump between sources as they publish values. This is as per specs.
Check this and report back.
Thank you
—
Reply to this email directly, view it on GitHubhttps://github.com/mxtommy/Kip/issues/420#issuecomment-2137719556, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGJ4N4MTFSUW57SJBMK4ZDZEXZGVAVCNFSM6AAAAABIOVIDIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXG4YTSNJVGY.
You are receiving this because you authored the thread.Message ID: @.***>

I do not agree on this logic:
The attached screenshot shows ONE selected path in the field "Signal K path" and ONE selected source from multiple sources in the field "Data source".
In my understanding this is a 1:1 definition and not 1:any (1:the last as of my observation)
Pls check the screenshot

Von: David G @.***>
Gesendet: Mittwoch, 29. Mai 2024 16:40
An: mxtommy/Kip
Cc: Joerg R. Plaschka; Author
Betreff: Re: [mxtommy/Kip] Update 2.10.0: values jumping between sources (Issue #420)
Did you notice this problem in prior versions?
If you have multiple sources for the same path, Source Priority for each path needs to be configured in SK, else widgets will jump between sources as they publish values. This is as per specs.
Check this and report back.
Thank you
—
Reply to this email directly, view it on GitHubhttps://github.com/mxtommy/Kip/issues/420#issuecomment-2137719556, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGJ4N4MTFSUW57SJBMK4ZDZEXZGVAVCNFSM6AAAAABIOVIDIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXG4YTSNJVGY.
You are receiving this because you authored the thread.Message ID: @.***>

I see 8 different sources for path electrical.batteries.0.voltage
They appear to be for different batteries. If it's the case, you should configure one path for each battery instead of multiple sources for the same device (path).

electrical.batteries.0.voltage
electrical.batteries.1.voltage
electrical.batteries.2.voltage
Etc.

I'm not saying there is no bug yet, but it's not good practice. Multiple Sources are meant to be used as backup providers for the same path. Line if you have 2 gps.  Use gps-1 and if it's stops sending data or breaks down, use gps-2 so the path still gets the info.
Can you share a screenshot of the volt gauge configuration please.

Yes, there are multiple sources on lots of paths, not just for electrical.batteries.0.voltage.
For the two engines it's the same method.
And the paths and sources are not defined by myself: I'm using SK on a Victron CerboGX. So the paths and sources are predefined and no changes can be done as every update from Victron will overwrite it.
Once again: no problem up to and incl. V2.9.3.

Von: David G @.***>
Gesendet: Donnerstag, 30. Mai 2024 03:43
An: mxtommy/Kip
Cc: Joerg R. Plaschka; Author
Betreff: Re: [mxtommy/Kip] Update 2.10.0: values jumping between sources (Issue #420)
I see 8 different sources for path electrical.batteries.0.voltage
They appear to be for different batteries. If it's the case, you should configure one path for each battery instead of multiple sources for the same device (path).

electrical.batteries.0.voltage
electrical.batteries.1.voltage
electrical.batteries.2.voltage
Etc.

I'm not saying there is no bug yet, but it's not good practice. Multiple Sources are meant to be used as backup providers for the same path. Line if you have 2 gps. Use gps-1 and if it's stops sending data or breaks down, use gps-2 so the path still gets the info.
Can you share a screenshot of the volt gauge configuration please.
—
Reply to this email directly, view it on GitHubhttps://github.com/mxtommy/Kip/issues/420#issuecomment-2138570887, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGJ4N2355YV32N73FHDR63ZE2G5DAVCNFSM6AAAAABIOVIDIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGU3TAOBYG4.
You are receiving this because you authored the thread.Message ID: @.***>

I'll run checks on multiple sources.
Until I find the problem, please ask in the Server and Victron Discord channel how to change the setup. It's not how sources are intended to be used. Even if it worked before. You are at risk of having other problems down the road.
It will probably be a much faster fix. I have 2 engines and 5 batteries myself and they all use single paths so it's something in the setup, or the plugins that needs a change.

You can also down grade to the previous version until the fix. Uninstall KIP, restart the server and from the command line in the .signalk folder run: npm i<EMAIL_ADDRESS>

Here is what I got from Discord:

Best solution is to filter out the n2k data and use the Venus plugin.
Or those instance numbers can be changed on the GX device. Instructions on the Victron site I believe.
There’s no reason to bring that data into sk Since the Venus plugin brings that in and more.
Filters on the Data Connections to ignore Venus n2k data.

I actually disable the n2k out on the GX. And use sk-to-n2k to send only what I need out on n2k.

See:
https://www.victronenergy.com/live/ve.can:changing_nmea2000_instances

I'm testing and I don't see source value jumps on my end. I've asked other user to check with their setup. Let's see if they report issues. That said, I strongly recommend you use the instructions above to clean up your setup and use individual paths. Go on Discord in the server channel to get support from the community.

Sorry, I don't get it: up to v2.9.3 KIP followed the rules/was able to run properly using Victron CerboGX and SK as predefined by Victron. Venus Plugin has been automatically installed and predefined by Victron large OS.
The data structure of using "paths" and substructure "sources" does make sense to me.
After installation of 2.10.0 not one of my instrument pages are in working order. On each instrument panel multiple values are jumping between sources within each path. This doesn't make sense to me.
I don't have to move the vessel until Monday morning and I'm actually not able to...
Please have a look at your code and the changes conc. reading data structures! (without the mentioned work-around of using another plugin)

Von: David G @.***>
Gesendet: Donnerstag, 30. Mai 2024 22:13
An: mxtommy/Kip
Cc: Joerg R. Plaschka; Author
Betreff: Re: [mxtommy/Kip] Update 2.10.0: values jumping between sources (Issue #420)
Here is what I got from Discord:
Best solution is to filter out the n2k data and use the Venus plugin.
Or those instance numbers can be changed on the GX device. Instructions on the Victron site I believe.
There’s no reason to bring that data into sk Since the Venus plugin brings that in and more.
Filters on the Data Connections to ignore Venus n2k data.
image.png (view on web)https://github.com/mxtommy/Kip/assets/34038713/66822464-e271-47d3-9148-f36123256b9b
I actually disable the n2k out on the GX. And use sk-to-n2k to send only what I need out on n2k.
See:
https://www.victronenergy.com/live/ve.can:changing_nmea2000_instances
—
Reply to this email directly, view it on GitHubhttps://github.com/mxtommy/Kip/issues/420#issuecomment-2140873734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGJ4N6OUVLDXQYZ5AD64I3ZE6I55AVCNFSM6AAAAABIOVIDIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQHA3TGNZTGQ.
You are receiving this because you authored the thread.Message ID: @.***>

Wow! I've been patient and polite... I think I need to set something straight with you. KIP is a software I build for myself, on my one personal time, for my personal pleasure.
You don't appear to appreciate something that you choose to use, for free, or the free assistance that you get either. Your directive tone is not appreciated.
Use another software.

I understand David's annoyance, and I really appreciate everything he does to develop an amazing tool and share it with us.
Having said that, I'm also seeing the same issue with the latest release.
I have multiple sources for the same data, and I've configured KIP to display the data from a particular source. It has worked perfectly for a long time, but the latest KIP release normally shows the wrong source, and sometimes jumps rapidly between the two sources:

@godind , is there anything I can do to help debug?

@tvr256 closing this issue is not about having a bug or not - some people just have no manners or appreciation. It's something no one has to suffer or tolerate.
As you can read in this thread, I've been troubleshooting and talking to others about proper setup to help his configuration that, as I mentioned, regardless if there is a problem or not (meaning until I find the problem),  reds to be changed.
Sadly not every report is a KIP bug and so I first need to pin point the issue so I can figure out a fix. In another issue he had opened, I spent 3h investigating to find out he had not configured the Scale Start/End properly. That's fine, it happens.
The challenge is I can't reproduce it with my setup. I also asked others in the #kip channel to test. Mat says he can't reproduce either.
May I ask if you join the conversation so we can try to figure out where the problem is coming from as a group? I'm hard at work with boat launch preparation so any help will speed up the resolution.
Thanks

Dear fellow fighters for good software,
I would like to make it clear that I do not know David as a person. As a result, I cannot and do not wish to criticise him personally.
My comments related to a piece of software for which I was and am prepared to invest my time. Deriving, recreating and documenting malfunctions or missing functions is not intended to criticise the developer, but to improve the software - for my benefit, of course, but also for the benefit of all users.
I would like to apologise if my previous comments were misleading or could even be taken as a personal attack! This was never my intention.
At the same time, however, I would like to call on you to work together on optimising the software in an objective manner and with a forward-looking approach. Emotions are never helpful in this process.
(Including on my part, even if none of my instruments work a second time after an update).
Cheers Joerg
Side note: English is not my native language and I am located in Europe. And yes, I partly use translation software.

Von: tvr256 @.***>
Gesendet: Freitag, 31. Mai 2024 09:15
An: mxtommy/Kip
Cc: Joerg R. Plaschka; Author
Betreff: Re: [mxtommy/Kip] Update 2.10.0: values jumping between sources (Issue #420)
I understand David's annoyance, and I really appreciate everything he does to develop an amazing tool and share it with us.
Having said that, I'm also seeing the same issue with the latest release.
I have multiple sources for the same data, and I've configured KIP to display the data from a particular source. It has worked perfectly for a long time, but the latest KIP release normally shows the wrong source, and sometimes jumps rapidly between the two sources:
image.png (view on web)https://github.com/mxtommy/Kip/assets/117984987/38b4cd98-434a-426e-9ff2-96b7a7f1af4c
image.png (view on web)https://github.com/mxtommy/Kip/assets/117984987/c908d8c2-f2f5-40f3-bdaf-c0e744e9c521
image.png (view on web)https://github.com/mxtommy/Kip/assets/117984987/f86ef9a0-9b1b-4c99-9d85-b133bb16b09b
@godindhttps://github.com/godind , is there anything I can do to help debug?
—
Reply to this email directly, view it on GitHubhttps://github.com/mxtommy/Kip/issues/420#issuecomment-2141453277, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGJ4N5YBMZLW4ZS3WOSE7TZFAWRRAVCNFSM6AAAAABIOVIDIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBRGQ2TGMRXG4.
You are receiving this because you authored the thread.Message ID: @.***>

User Mat has found that using source Default or the first available source in the list is fine. The problem is only visible on sources past the first one.
Possible workarounds until the fix are:

Rollback to previous version. On the server, uninstall KIP, restart Signal K server and from the command line, go to the .signalk folder (depending on your setup this can be cd ~/.signalk, execute command: npm i<EMAIL_ADDRESS>Configure SK Source Priority, if it makes sense.
See if you can remap sources to separate paths, if it makes senses.

I confirm: with V2.10.01 multiple sources of one path are working again.
Thx!


First time sync - a tip

Can be useful with large libraries.
Instead of letting the app navigate to the first image, one could go to the Photos web app, scroll all the way to the bottom, find the last image, open it. Copy the resulting URL and then:
# In the download directory
$ echo -e $URL > .lastdone

Now, CDP will open that file and start navigating to the left and downloading images. Of course this means that the first image won't be downloaded, but you can do that manually.

this kickstarted the process for me - it seemed hung saying it successfully navigated to the end but the item it listed was the newest photo, and none were downloading. After doing the .lastdone thing, it started pulling photos.
Thanks!

unfortunately now it is saying authentication not possible in -headless mode

so for me just re-launching the container and re-trying seems to get this going again. I have re-authenticated with the other container a couple of times but I don't think that was the problem. Not sure though which is why I mention it.
I have about 400GB of photos according to my storage page in google, but when I do "takout" it shows more like 700GB so I am somewhat regretting getting this deep with google photos but it was good while it lasted.
Anyway I'm at about 100GB downloaded at this point so I hope it's OK to put issues that I come across here even if I find solutions on my own.


Great plugin to learn

animaapp.com/figma-to-react
https://floating-ui.com/

https://cmdk.paco.me/


f-droid's package has a stray entity

also, a sidsnote - anyone know what the build process for this particular repository is? i have some changes i have wanted to work on for ages but i only have a vps to build on so if there /is/ a console oriented process that is awesome, otherwise I will look into adding one.

The last build process info is https://github.com/klausw/hackerskeyboard/wiki/BuildingFromSource & you might want to ask @KlausW for any updates since.

The instructions @TPS linked are current, though not very detailed. It uses Gradle via Android Studio. I haven't tried building from command line myself, but "gradle build" should work if you have all the prerequisites set up. (I don't know how to do that setup separately, Android Studio did that automagically for me.)

it looks like 'gradle assemble' makes the apks, a 'gradle build' leads to a
seemingly scary "failure" but pretty sure that's just a lack of
android-studio and your gpg install being told where each other are and
which keys to use.
~Quinn Morrighan Storm

+1.702.550.2984  SMS/Phone(Voicemail)

https://github.com/rtmf        Github
http://tymestl.org/            Resume
https://linkedin.com/in/quinnstorm LI

<EMAIL_ADDRESS> Hangouts™
QuinnStorm/RtMF     IRC:freenode/etc.
livinglatexkali         Skype™/Yahoo™

On Wed, Feb 27, 2019 at 4:53 PM Klaus Weidner<EMAIL_ADDRESS>wrote:

The instructions @TPS https://github.com/TPS linked are current, though
not very detailed. It uses Gradle via Android Studio. I haven't tried
building from command line myself, but "gradle build" should work if you
have all the prerequisites set up. (I don't know how to do that setup
separately, Android Studio did that automagically for me.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/klausw/hackerskeyboard/issues/722#issuecomment-468091742,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABOFUY7SjR33qgliGJ8RR8zjOAv6LHEyks5vRyhzgaJpZM4bTsEl
.


fresh setup, sample only has the "try this: curl...." line displayed

Up front, I'm a total Ruby newb so I'm expecting this is something I've got misconfigured.
I've downloaded and installed the 1.9.3 RubyInstaller (from rubyinstaller.org) onto my Win8 machine. I also downloaded and installed the 1.9.3 devkit from ri.org too (since the output of very first command in the "getting started" guide explained I needed this).
I then walk through the getting started steps. At the "bundle" step I was told that I didn't have bundle, so I guessed and did a "gem install bundle" and after that completed was able to complete the bundle step.
After I start dashing I go to http://localhost:3030/sample and all I see is a grey page with:
Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://localhost:3030/widgets/welcome

Since I don't have curl on here I attempted to use a push.rb based on the example. I gem install'd httparty and created a push.rb that looks like this:
require 'httparty'
require 'json'

HTTParty.post('http://localhost:3030/widgets/welcome',
  :body => { auth_token: "YOUR_AUTH_TOKEN", text: "Hey, Look what I can do!" }.to_json)

I then ran this with out an error message like thus: ruby push.rb
I refresh the http://localhost:3030/sample page but still only see a grey page with:
Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://localhost:3030/widgets/welcome

What am I doing wrong?

@jrgns  No luck even after installing node.js windows installer.
Im using windows 7 Enterprise.

@sikosis  Maxthon Cloud Browser didn't work for me.

Facing same problem, not working in chrome and firefox, just seeing blank (dark) page..

Had the same issue, then installed Node.js as recommended here. I installed in the dashboard project directory and it started working. Thanks for the ideas.


Add a "ViewModel provider" to Navigation

While the current recommendation for Ballast Navigation is to keep ViewModels ephemeral and manage data shared between screens in a Repository, there are still some valid use cases for keeping a ViewModel instance alive and tied to the state of the Backstack.
For instance, a sub-flow that shares data among multiple steps in a mobile view. This data is technically persistent in that it is shared by multiple screens, but ephemeral in that the data should be cleared once the user exits or completes the flow. The current method would require managing that data globally in an application Repository, but then you need to keep track of when the user has left the flow to know when to clear it. This is a lot of bookkeeping that is easy to get wrong if done manually.
I think the best solution is to have an optional feature in the ballast-navigation artifact that scopes CoroutineScope instances to each entry in the Backstack. The scope is killed once the Backstack entry leaves the Backstack. Users then register ViewModels or other dependencies against that CoroutineScope. Notably, this API is not a full DI feature. It allows you to register a factory function to create some instance, and an API to get or create those instances. The CoroutineScope allows one to hook into cleanup events.
This basically reimplements the Android ViewModel provider functionality, but in KMP, and with less ceremony and no reflection.

There also is state which doesn't really belong into a repository - mostly UI state, such as scroll state. For that a backstack-scoped view model can be quite handy.


FancyZones does not use my chosen layouts, shows only the default layout when dragging a window.

ℹ Computer information

PowerToys version: v0.27.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: No
Windows build number: 19041.630

📝 Provide detailed reproduction steps (if any)

Open FancyZones editor
Choose layout for each monitor
Click "Apply"
Close FancyZones editor
Drag a window and activate zones (shift or mouse4/mouse5)

✔ Expected result
Dragging a window should show me the layout I configured in the editor.
❌ Actual result
Dragging a window only shows me the default layout for each monitor, not the layout I configured in the editor. No amount of clicking "Apply" or messing with the layout editor fixes this. I have also restarted my computer to see if this would fix the problem. It didn't. I also tried deleting the FancyZones folder in PowerToys' AppData folder, to no success.
I frankly don't understand how this went unnoticed. This is a basic functionality of FancyZones. Did you not test them in this build at all?

I can confirm I see the same behavior.

PowerToys version: v0.27.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: 19042.685

I can confirm I see the same behavior.
PowerToys version: v0.27.0 and v0.28.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: 19042.685

This may be the same as https://github.com/microsoft/PowerToys/issues/8339
@miss-programgamer
what is your pc/monitor configuration?
Are you running a laptop with external monitor?
Same question for @srijan @Hardtmuth.

Yes, it looks like it might be the same issue.
I'm running a laptop with external monitor, with only the external monitor enabled. I'll try the steps mentioned in that ticket.
Thanks.

Same situation. Custom templates do not work. 3440x1440 external monitor.

Now, I'm running a desktop pc with one monitor, the problem appeared when I connected an additional monitor

@enricogior
Yes, I'm running a laptop where the builtin monitor is unused and I have two external monitors side-by-side.

Please update to 0.27.1 (using the check for update button in the settings or downloading the installer https://github.com/microsoft/PowerToys/releases/download/v0.27.1/PowerToysSetup-0.27.1-x64.exe)
Closing the issue for now, please reopen it if it still reproduce with 0.27.1.
Thanks.


Strange behaviour with XMLTYPE

Hi,
using 4.7.6 - not quite sure if XMLTYPE is supported, but:
#include <iostream>
#include <unistd.h>

#include "ocilib.hpp"

using namespace ocilib;

int main(void)
{
        Environment::Initialize();
        Environment::EnableWarnings(true);

        std::cout << "Compile-Version: " <<
                Environment::GetCompileMajorVersion() << "." <<
                Environment::GetCompileMinorVersion() << "." <<
                Environment::GetCompileRevisionVersion() << std::endl;

        std::cout << "Runtime-Version: " <<
                Environment::GetRuntimeMajorVersion() << "." <<
                Environment::GetRuntimeMinorVersion() << "." <<
                Environment::GetRuntimeRevisionVersion() << std::endl;

        std::cout << "OCILIB: " <<
                OCILIB_MAJOR_VERSION << "." <<
                OCILIB_MINOR_VERSION << "." <<
                OCILIB_REVISION_VERSION << std::endl;

        Connection con("db", "user", "pwd");
        std::cout << "Connected to: " << con.GetServerMajorVersion() << "." <<
                con.GetServerMinorVersion() << "." << con.GetServerRevisionVersion() << std::endl;

        std::cout << std::endl;

        Statement st(con);
    try
    {

        std::cout << "try 1 *********************************************" << std::endl;
        std::cout << "*execute" << std::endl;
        st.Execute("SELECT XMLELEMENT(\"element\",xmlattributes(('name') as name, ('str') as \"type\")) as xml from dual");

        std::cout << "*getresultset" << std::endl;
        Resultset rs = st.GetResultset();
        std::cout << "*getcolumn" << std::endl;
        Column col = rs.GetColumn(1);

        std::cout << "Name: " << col.GetName() << std::endl;
        std::cout << "Type: " << col.GetType() << std::endl;
        std::cout << "SubType: " << col.GetSubType() << std::endl;
        std::cout << "SQLType: " << col.GetSQLType() << std::endl;
    }
    catch (ocilib::Exception &ex)
    {
        std::cout << ex.GetMessage() << std::endl;
    }

        std::cout << std::endl;

    try
    {
        std::cout << "try 2 *********************************************" << std::endl;

        st.Execute("SELECT XMLELEMENT(\"element\",xmlattributes(('name') as name, ('str') as \"type\")) as xml from dual");
        Resultset rs = st.GetResultset();

        Column col = rs.GetColumn(1);

        std::cout << "Name: " << col.GetName() << std::endl;
        std::cout << "Type: " << col.GetType() << std::endl;
        std::cout << "SubType: " << col.GetSubType() << std::endl;
        std::cout << "SQLType: " << col.GetSQLType() << std::endl;
    }
    catch (ocilib::Exception &ex)
    {
        std::cout << ex.GetMessage() << std::endl;
    }

    Environment::Cleanup();

    return EXIT_SUCCESS;
}

gives:
Compile-Version: 19.6.0
Runtime-Version: 19.6.0
OCILIB: 4.7.6
Connected to: 19.18.0

try 1 *********************************************
*execute
*getresultset
Error occurred at OcilibTypeInfoGet: Oracle data type (sql code 58) not supported for this operation

try 2 *********************************************
Name: XML
Type: 12
SubType: 0
SQLType: XMLTYPE

why does this fail for the first but work for the second try ?
regards
gerald

Hi,
thanks for reporting the issue.
XMLTYPE is nto supported yet by OCILIB. but your example show a real bug in OCILIB a type info creation fails, it is not removed anymore since v4.7.4 from the internal list of type info objects. That's why the second iteration succeeds but uses an incomplete type info object.
I will commit a fix for this (resulting both iteration will throw the exception) by the end of the weekend.
Then I will check for XMLTYPE but few years ago, when I checked for it, it required to implement the whole client OCI side XML API.
Regards,
Vincent

thanks for the explanation,
but wouldn't it be a better idea to return a simple/complete type info for now until xmltype is fully implemented?
From my tool which i'm currently building -pov:
user enters query with xmltype and gets an non-oracle exception because the datatype is not supported. in my case
i would rather display the type and tell the user (when he tries to open the column like a char/lob type):
sorry, the type is xmltype but any further processing is not yet implemented.
regards,
gerald

Hi'
Yes, that's what I had in mind when you posted the issue.
I will first commit the fix for the regression that does not  remove the type info from the connection's list of type info in case of error while building the type info.
Then I will add support for creating a type info object for xmltype but need to find out the right way to handle it when fetching row values (mapping it to string/clob or reporting an exception).
Vincent

Hi,
Thus, some progress here. I have added in v4.7.7 partial support for XMLTYPE :)
Now column metadata reports "XMLTYPE" for such column.
XMLTYPE column can now be also fetched using OCI_Long/ocilib::Clong or even just simply by calling OCI_GetString() / resultset::Get().
Only fetching XMLTYPE is supported.
As for completely support them, must use the Oracle Client XML C API.
Let me know if there are any issues with this commit :)
Regards,
Vincent

see https://github.com/vrogier/ocilib/blob/develop-v4.7.7/tests/TestREportedIssuesCppApi.cpp
TEST(ReportedIssuesCppApi, Issue331)
{
    auto expectedString = ToUpper(ostring(OTEXT("<element name=\"name\" type=\"str\"></element>")));

Environment::Initialize();
    Environment::EnableWarnings(true);

    Connection con(DBS, USR, PWD);
    Statement st(con);
    st.Execute(OTEXT("SELECT XMLELEMENT(\"element\",xmlattributes(('name') as name, ('str') as \"type\")) as xml from dual"));

    auto rs = st.GetResultset();
    rs.Next();

    auto col = rs.GetColumn(1);
    ASSERT_EQ(ostring(OTEXT("XMLTYPE")), col.GetSQLType());
    ASSERT_EQ(ostring(OTEXT("XMLTYPE")), col.GetFullSQLType());
    ASSERT_EQ(DataTypeValues::TypeLong, col.GetType());
    ASSERT_EQ(LongTypeValues::LongCharacter, col.GetSubType());

    ASSERT_EQ(expectedString, ToUpper(rs.Get<Clong>(1).GetContent()));
    ASSERT_EQ(expectedString, ToUpper(rs.Get<ostring>(1)));

    Environment::Cleanup();
}

I will have to do further testing but its seems goo so far.

Just tried the new branch and it works, thanks!
(Though scrollable resultsets are now not working because of the LON G but thats ok for now :) )

I completely forgot the constraint about LONG with scrollable cursors.
I went with LONG + dynamic fetching as:

Host Lobs cannot be used on client side for XMLTYPE (that's weird)
Host string buffer can be used but have  regular string size limitations.

I will also check selecting 2 XMLTYPE as LONG with scrollable cursors (as documentation does not clearly mention server side columns types of host defined placeholder buffers types for columns).
I will also check if using dynamic fetching with an intern host string buffer instead a long object works with scrollable cursor as OCI documentation is not clear about this combination.
I will let you know asap.
Regards,
Vincent

I made a test selecting 2 XMLTYPES with scrollable cursors and it works :).
Thus the having 1 LONG columns for scrollable cursors is only on the server side column type, not the local host mapped type.
I will add these information to OCILIB documentation
Regards,
Vincent

ah i see :)
rewrote a bit of my code now and scolling is working.
will try the fetch later but on the console this also works.

Quick observation:
Table with 10 Rows, Fetchsize set to 20 returns 55 for rs.GetCurrentRow() after the first rs++.
Will check if my code does something wrong - but for tables with other datatype this works

Hi,
After thinking about it,  I will design  xlmtype support differently from what I committed (to quickly).
Instead of relying on OCI_Long, I will create a new type OCI_Xml / OCI_CDT_XML and add the following method to the C API:
OCI_XmlCreate()
OCI_XmlFree()
OCI_XmlGetContent()
OCI_XmlSetContent()
For the C++ API, I will add a new class ocilib::xml that will wraps OCI_Xml.
The reasoning is to be able to extend later XML support with DOM manipulation and integrate internally oracle XML library.
While with current commit, it will not be possible and I don't to add something that I will have break soon.
That also means that v4.7.7 will be become v4.8.0 as there are API additions .
I will commit this during the week.
Regards,
Vincent

Sounds like a plan :)

Hi,
I committed the changes (internal changes were bigger than expected, but public API changes reduced).
Check the changelog in v4.7.7. branch for more details.
Vincent

Quick observation: Table with 10 Rows, Fetchsize set to 20 returns 55 for rs.GetCount() after the first rs++. Will check if my code does something wrong - but for tables with other datatype this works

Any news on this subject ?

Hi,
I reproduced the issue. This is due to the combination scrollable cursors  + dynamic piecewise fetching used for retrieving of xml content.
OCI statement handle attribute OCI_ATTR_CURRENT_POSITION reports crazy values when using piecewise fetching. Up to now, OCILIB relied on this attribute only when using scrollable cursors. In this case, dynamic piecewise fetching was not used as it was only used for fetching service side LONG columns that are not supported with scrollable cursors.
It seems that combination is not well supported and defined in OCI.
I will work on a workaround asap to compute the value of OCI_GetRowCount() not using OCI_ATTR_CURRENT_POSITION .
Vincent

Hi,
I created a v4.8.0 branch with updates for XMLTYPE that will fix your scrollable statement issues.
I made changes to the public API (see changelog).
Regards,
Vincent

By the way, I pushed another commit today.
About your issue, adding test on NULL was next on my todo.
I will check that asap and will let you know.

Fix committed for handling NULL in dynamic fetching. Test suite also updated.
Regards,
Vincent

thanks, that works now :)
gerald


Annotation to override installer image name

We find the image we use to obtain the openshift-install binary based on its name in release metadata.
        {
          "name": "installer",   <== THIS NAME
          "annotations": {
            "io.openshift.build.commit.id": "ead355d7836a8a24613d062bf06ab0a6eef2765c",
            "io.openshift.build.commit.ref": "",
            "io.openshift.build.source-location": "https://github.com/openshift/installer"
          },
          "from": {
            "kind": "DockerImage",
            "name": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b2942182a31a0591dcbf3a3eec10c363d9d1f05dd75b98e1f8ac7f486b0ce25e"
          },
          "generation": null,
          "importPolicy": {},
          "referencePolicy": {
            "type": ""
          }
        },

By default, we use the image identified as "installer"; or "baremetal-installer" for bare metal installations.
Alternative or experimental installer images may be included in certain release images alongside these well-known ones. This commit provides a mechanism for consuming such an image instead of the default: in your ClusterDeployment, set the annotation
hive.openshift.io/installer-image-name-override to the release metadata name of the alternative image you wish to use.
This is currently for internal use only, and will not be documented or officially supported.
HIVE-2342

From meeting: If the override is not found in metadata, make sure the error is scrutable.

This tests gud.
Will continue to hold pending conclusion of design discussions.

Trivial manual rebase

The installer altinfra image is now appearing in release payloads, so it should be feasible to test this.

QE tested via https://issues.redhat.com/browse/HIVE-2362, all good. This should be ready to merge.
/hold cancel
/assign @lleshchi

/test security

/lgtm


Classes with $ in their name may produce illegal output code

Due to, I believe, the usage of $ to denote inner classes, if a class is decompiled which references a class like that, without that other class being on the decompilation classpath, the output code unconditionally splits, resulting in illegal code.
I've provided some example files (apologies for the package, it was simply the dev env I had open at the time, and I wanted to submit this before sleep), comments added by me:
A.class:
import mc.itemflexer.A..B; // Illegal import

public class A {
    B b = new B(this);

    public A() {
    }
}

C.class:
import mc.itemflexer.C..2; // Illegal import + class name

public class C {
    2 b = new 2(this); // Illegal class name

    public C() {
    }
}

E.class (Same as C, but not compiled as an inner class):
import mc.itemflexer..1; // Illegal import + class name

public class E {
    1 one = new 1(); // Illegal class name

    public E() {
    }
}

Whoops, forgot the files, haha
IllegalDolalrSignOutput.zip


⚠ Adacta-fintech.com has degraded performance

In f579f5f, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 879 ms

Resolved: Adacta-fintech.com performance has improved in a0345d6 after 8 minutes.


Link to paragraph
https://dbalague.pages.ewi.tudelft.nl/openlabook/Chapter3/GeometryofLinearTransformations.html#fig-geomlintrans-3dreflalongplane
What type of applet is this?
Interactive applet 3D
Link to applet
https://openla.ewi.tudelft.nl/applet/geom_lin_trans/3d_refl_along_plane
What state is the static image?
No, Dennis has not created a static image yet
Static image
N/A
Requirements
None
What elements are interactive?
No response
Does this issue relate or depend on other issues?
No response
Steps to completion:

[X] assign yourself & check labels
[X] implement new applet described above
[ ] embed the image in the book (with review status)
[ ] get feedback from the math teachers
[ ] get feedback from writers
[ ] remove review status in book

Choice: x,y,z or x1,x2,x3?


DSD-872: Updating the Card's image styling for mobile

Fixes JIRA ticket DSD-872
This PR does the following:

Updates the CardImage's margin-bottom in the row and column layouts for mobile to be the same.
Updates the CardImage to have a width of 100% on mobile regardless of size. This is done through the useWindowSize hook.

How has this been tested?
Storybook.
Accessibility concerns or updates

N/A

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr921-a1hpybku8u306mi7du8kc7pkllvku9hy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/62423125d128c6acc865d2e6

Tugboat has finished building the preview for this pull request!
Link:

https://pr921-a1hpybku8u306mi7du8kc7pkllvku9hy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/62423125d128c6acc865d2e6


Knob superimposition and selection

Hi,
I would like to know if someone have already do that.
I've many knob superimposed for create a multi knob (like http://jsfiddle.net/afj3mcsg/), but I would like to known on which knob I click.
I can't use canvas method because the last one displayed take all the place, and it's always the last one who is returned.
If anyone have a trick (or maybe it's just not possible)

+1


NLTK punkt bug

🐛 Bug
This line nltk.data.find("tokenizers/punkt.zip") always raises LookupError:
LookupError:
**********************************************************************
  Resource punkt not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('punkt')

  For more information see: https://www.nltk.org/data.html

  Attempted to load tokenizers/punkt.zip

  Searched in:
    - '/home/**/nltk_data'
    - '/data/**/anaconda3/nltk_data'
    - '/data/**/anaconda3/share/nltk_data'
    - '/data/**/anaconda3/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

Maybe it should be nltk.data.find("tokenizers/punkt")?
After the downloading that follows, this calling to find without .zip extension works successfully.
To Reproduce
import nltk

try:
    nltk.data.find("tokenizers/punkt")
except LookupError:
    try:
        nltk.download("punkt", quiet=True, force=False, halt_on_error=False, raise_on_error=True)
    except ValueError:
        raise OSError(
            "`nltk` resource `punkt` is not available on a disk and cannot be downloaded as a machine is not "
            "connected to the internet."
        )

nltk.data.find("tokenizers/punkt.zip")

Expected behavior
No error raised.
Environment

TorchMetrics version (and how you installed TM, e.g. conda, pip, build from source): 0.11.4, pip installed
Python & PyTorch Version (e.g., 1.0): Python 3.7.10, PyTorch 1.13.0
Any other relevant information such as OS (e.g., Linux): Ubuntu 18.04, nltk 3.8.1

Additional context
The above information should be enough.

Same problem. And the function always raises the error in epoch 2 or later, it has terminated my training serval times......


Cancel closing modal

Can I write some function to cancel closing from result?
Bad idea validating model in ModalInstanceCtrl.
  var result = $modal.open({
    templateUrl: 'myModalContent.html',
    controller: 'ModalInstanceCtrl'
  }).result;

  result.then(function(model) {
    if (!validate(model)) {
      ***CANCEL CLOSE***
      return;
    }
  });

  app.controller('ModalInstanceCtrl', ['$scope', '$modalInstance', function ($scope, $modalInstance) {
    $scope.ok = function () {
      $modalInstance.close(model);
    };
    $scope.cancel = function () {
      $modalInstance.dismiss('cancel');
    };
  }]);

Yes. From the docs (http://angular-ui.github.io/bootstrap/#/modal):

Finally, a modal.closing event is broadcast to the modal scope before the modal closes. If the listener calls preventDefault on the event, then the modal will remain open. The $close and $dismiss methods return true if the event was allowed. The event itself includes a parameter for the result/reason and a boolean parameter that indicates whether the modal is being closed (true) or dismisse

https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#got-a-question-or-problem

Please write small example, I can't understand this.

@Knoxvillekm, per the post from @pkozlowski-opensource, questions on how to use the library are best served by and for the community.  I would encourage you to post to Stack Overflow as it will get more views than 2 or 3.


Fix torus connector

Throws an error when connecting to a torus wallet and also when trying to vote.

Torus not working at all


VSCode crashes when editing heavy files

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 10.0.15063
Extensions: the listing length exceeds browsers' URL characters limit

Steps to Reproduce:

Tried to look into a minified javascript file (which is 200k+ lines unminified)
Tried to tidy the code manually via 'Search/Replace' (extensions stopped working before)
Scrolling and editing both lead to crash within seconds

Reproduces without extensions: Yes

@TheGrimSilence Can you please share the file that causes the crash or a file that is very similar to the one you have (even generated if needed) that also reproduces the crash ?

https://d3e54v103j8qbb.cloudfront.net/gen/js/webflow-designer.min.11db48d80c.js
The file is too large to paste or link. It's 7.93GB and trying to tidy it only causes further errors with VSCode.

I've finally been able to tidy the code which is 366,006 lines total. However, it's been 30 minutes but VSCode still hasn't added syntax highlighting.

@TheGrimSilence Syntax highlighting is disabled for files over 300k lines in order to save memory. I think you might have installed some extension that causes extreme slowness for large files. Does the slowness reproduce when disabling all extensions ?


Add extraction publishing date from article.

The publishing date of an article is critical. I believe a good way of extracting publishing dates is to use a set of regex patterns and/or some notable id/class names.

yeah i think we should put it somewhere in language regex.

This issue is resolved:
https://github.com/codelucas/newspaper/commit/30eab17a49eb484420c65f347aa728b2515969ae
I've tested it on 150 different articles on various domains and it has a 60% success rate. (it could be even higher, up to 90%, but at a sacrifice for accuracy, but for publishing date the accuracy must be precise).
The publishing date extraction technique used relies on parsing dates out of the URL or metadata, which has a higher accuracy than regexing the HTML and using heuristics to choose a proper date.


Fixes 176: add list sorting

[ ] need to update/add tests

https://issues.redhat.com/browse/HMSCONTENT-176

I'm not sure there is much to test here to be honest. If you see a test that will be meaningful do go ahead.

You may want to rebase from ticket 158, as it removes the url column.

updated, but my local environment isn't working for some reason.... so i can't test the result

alright, good to go


strings with variable/expression substitution

implement a string replacement/templating system simmilar to groovy g-strings

Found a nice looking, existing, pure lua library: https://github.com/hishamhm/f-strings which was added as the 'F' library.


Enhancing the WebsiteAgent: Browser Emulation

(or a new agent) that will render the page to make for easier DOM parsing.
 We could look at using something like phantom.js to pull out the rendered document.
Could be implemented as an option in the existing WebsiteAgent.

Since we already have therubyracer for the JavaScriptAgent, maybe something like https://github.com/tmpvar/jsdom would be a good solution?

The title of this issue is not very specific. You should at least include the word JavaScript in it.

Or maybe "browser emulation".
I don't know much about jsdom, but capybara+capybara-webkit might also be a good option.

There will be so much amount of work needed, but it could be worthwhile?

Running a given piece of JavaScript code onload/document ready
Providing JavaScript API to emit an event from within the code
Storing and extracting cookies/localStrorage in Agent's memory
Memory management (maybe the headless browser should be a separate process)

I know there's debate about future use of Heroku, but from quick googling, it looks like capybara-webkit won't run on Heroku whereas Phantomjs does. Something to consider...
Currently, I'm running a separate instance of PhantomJS on Heroku which returns a rendered page to the calling Huginn agent.

I wonder if there are any web services available that allow you to run a script of your choice in the context of a website of your choice, and get the output as an API result.

PhantomJs Cloud looks interesting.  It has a free plan that should be enough for personal use.

If someone gets this working well with Huginn it'd absolutely be worth documenting in the wiki.

I added an entry in the wiki for using PhantomJs Cloud with Website Agent.
Alternative to building an agent for it.

@irfancharania very cool, thanks you!

@dsander: The workflow actually works quite well.
It would be nice to have the ability to set API key and request options in a dedicated agent, but I wasn't sure how a separate agent + interactions with other agents would work with all the options PhantomJs Cloud has: GET/POST, output Html/Json/PDF/Image, etc

@irfancharania You should be able to use credentials and the credential liquid tag to extract the API key from the agent options like this: "https://PhantomJsCloud.com/api/browser/v2/{% credential credential-name %}/?request={{url}}" A separate agent sounds interesting, if the PhantomJs Cloud are not dynamic using FormConfigurable would be a nice option to configure the Agent.

@dsander  I forgot about credentials. Thanks for pointing that out. I'll update the wiki entry

@dsander I decided to try creating a PhantomJs Cloud Agent with FormConfigurable. My knowledge of ruby/rails is very limited, so I need some help.
So far I've got it creating an event with the correct url.
What I can't figure out is:

How to present a list of credentials for user to select their API key from
Why receive(incoming_events) doesn't seem to fire

FYI I just published a daemon written in Node that makes this dead-simple: https://github.com/strugee/fulldom-server
You can run fulldom on any old box and point WebsiteAgent at a fulldom URL instead of the actual URL, and fulldom will load up the page, run JS and then serve you the result. See the README for details.

Nice!

Mind putting a usage example on the wiki?

Sure. Though the README has it covered quite well.

@cantino just wrote this up on the wiki: https://github.com/cantino/huginn/wiki/Browser-Emulation-using-fulldom-server
It doesn't work yet due to #1735, though. Soon!

The PhantomJs Cloud Agent has been working well for me for quite some time.
Think we could merge that in?

Yes! Sorry I lost track of this.

It got merged!


Add JavaScript as a active language

Hello !
I was looking for a extension to write tailwind syntax inside a styled component, only to make the css write part more simpler.
Your extension does that but, not inside a JS file.
Can you add JavaScript file support to your extension please?
Thanks !

@alvarosoaress Hey! Just to clarify, things, we're gonna push support for tag literal (as I can understand from your body), e.g.:
const Custom = styled.div`
    |
`

But note that there is also object syntax which is also valid on some cases of such css-in-js lib:
;<Globals css={{
    // |flex ->
    display: "flex"
}} />

We're not gonna add this support until there is such request.
For example vscode-styled-components works in similar way: adding emmet completions only inside styled tag (e.g. try this code: styled.div`p3`).


删除

测试一下怎么删除

스포츠분석
토렌트
성인토렌트
카지노사이트
스포츠중계
The two went on to play for rival middle schools and high schools in the baseball-crazed Busan. They were back together on the junior national team that won the 2000 world championship in Edmonton, Canada.


Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices errors due to path length not handled well on UWP

Description
If you use MSTest.TestAdapter on a UWP project, the very long name of the Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices component can cause the resource generation step to fail because the Windows maximum path length is exceeded. The error message reported in this case does not make it at all obvious that path lengths are the problem.
I am using MSTest.TestAdapter 3.0.2 on Visual Studio 2022 17.4.5
Steps To Reproduce
In Visual Studio, create a UWP test runner project using MSTest.TestAdapter (or clone a repo that contains one) such that the fully-qualified name of the folder is longer than 80 characters. For example, the name of the project folder in which I encountered this problem was:
C:\Users\matth\source\repos\reactive\Rx.NET\Source\tests\Tests.System.Reactive.Uwp.DeviceRunner
That folder path is 95 characters long. This is more than enough to trigger the problem.
Building the project causes this error:
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.uwpcoreruntimesdk\2.2.14\tools\CoreRuntime\Microsoft.Net.CoreRuntime.targets(195,9): error : Framework resource extraction failed. Could not find a part of the path 'C:\Users\matth\source\repos\reactive\Rx.NET\Source\tests\Tests.System.Reactive.Uwp.DeviceRunner\obj\x86\Debug\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices\en\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Resources.Resource.resw'.

The path in the error message is 270 characters long, 10 over the traditional Windows maximum path length. As is common for modern Windows systems, this particular machine is configured to allow files longer than that old limit. But paths that long cause problems for code that does not know how to work with long filenames.
Expected behavior
Ideally, it should just be able to work with longer filenames.
Failing that, it should report that this is a path length issue.
Furthermore, it would be worth considering giving this component a much shorter name and/or making the name of the embedded resource shorter (does it really need to end with ".Resources.Resources"?) so that it is less likely to trigger this sort of problem. The current names of these components mean that this will add 175 characters to your project folder ("\obj\x86\Debug\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices\en\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Resources.Resource.resw") or more for Release builds (because "Release" is longer than "Debug")
Actual behavior
We get the error "Could not find a part of the path" which is not helpful when trying to diagnose the problem.
Additional context
Very long component names tend to cause path length problems, so it would be great it there was any way to make the names shorter.

Hi @idg10,
Sorry to hear you are facing this issue.
I will raise the point in our next chat with PMs because while technically it's easy to do, we have lots of customers still using the non-sdk project style and so having manual references to dll which would cause a massive break.

I am facing the same issue with WinUI 3, but only when testing in command line:
vstest.console.exe MyTestApp.build.appxrecipe

So I cannot run automate test in CI.
I can run tests in Visual Studio's test explorer though.

We will do the changes for shorter dll names as part of v4.

Hey there,
Getting more familiar with the codebase, have you tried to disable EnableMSTestV2CopyResources (see https://github.com/microsoft/testfx/blob/main/src/Adapter/Build/Universal/MSTest.TestAdapter.targets#L4) so that resources are not copied over? This should save some space while waiting for v4.


Add example support to schemas to enable unittests

Add example field to register and functions
Created a unit test template that can create unit tests for template
Update validator to optionally run unit tests on a template
Add examples to BMP280 peripheral
Fixes #271

It works cleanly with the validator tooling.

For peripherals w/o examples, it will generate a file w/o any tests, which is okay.

To do still are updating templates to handle this new field.

I'd like to put the .tex doc into Overleaf just to check it renders. And maybe change how the table works so it remains the same for files w/o examples.

Fixed the datasheet.


Docker-in-docker: Can`t docker login

In a docker container with ghcr.io/devcontainers/features/docker-in-docker:2, I can't do a docker login. This is what I get:
vscode ➜ /workspaces/teste $ docker login Authenticating with existing credentials... Error saving credentials: error storing credentials - err: exit status 1, out: 'Docker credential command not supported without credential helper: store.'
This is my devcontainer.json:
`// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker
{
"name": "Docker in Docker",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
	"ghcr.io/devcontainers/features/docker-in-docker:2": {
		"version": "latest",
		"enableNonRootDocker": "true",
		"moby": "true"
	}
}

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "docker --version",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"

}`
No Dockerfile nor docker-compose.yml

Hi 👋
I wasn't able to reproduce with your dev config, docker login looks alright to me

VS Code Version: 1.75.1
Mac OS 13.1
Dev Container Extension: 0.275.1
Docker desktop: 4.16.2

However, this looks related to the issue mentioned in https://github.com/microsoft/vscode-remote-release/issues/7982
@magnomp Can you try switching to the Dev Containers 0.279.0-pre-release version and retry?

In fact I`m already on 0.279.0-pre-release
But I can confirm removing credStore entry from ~/.docker/config.json as told on #7982 did work for me
VSCode: 1.75.1
Linux 5.15.0-56-generic x86_64
Docker version 20.10.12, build 20.10.12-0ubuntu4
Could it be somehow related to the host? It was all working fine for me until I went to a new host machine


core/tutorials/publish-to-azure-webapp-using-vs updates - Publish an ASP.NET Core web app to Azure App Service using Visual Studio

Publish an ASP.NET Core web app to Azure App Service using Visual Studio

[ ] Update to VS17
[ ] Add AI info and links. Explain how AI is hooked and show how to use it.
[ ] info on connecting to Server Explorer and doing basic debugging
[ ] new_prj.png Images should show core, not web (in the left pane).
[ ] Bonus: Make it work for macOS

@rachelappel can you work on this next?


Unable to integrate with my Next.js Project

I need to know a few questions in order to integrate with my next.js project.

Do somebody have a working sample of reactjs/next.js/angular etc?
I am trying to use the following within my uniswap next.js project (With a new page) in order to create an order but failing

import {
LimitOrderProtocolFacade, Web3ProviderConnector, LimitOrderBuilder, LimitOrderPredicateCallData
, LimitOrderPredicateBuilder
} from '@1inch/limit-order-protocol'
import Web3 from 'web3'
const contractAddress = '0x7643b8c2457c1f36dc6e3b8f8e112fdf6da7698a';
const walletAddress = '0xd337163ef588f2ee7cdd30a3387660019be415c9';
const chainId = 1;
const web3 = new Web3(Web3.givenProvider) // since I am using uniswap, so it picks from there
const connector = new Web3ProviderConnector(web3)
const limitOrderBuilder = new LimitOrderBuilder(
contractAddress,
chainId,
connector
);
const limitOrder = limitOrderBuilder.buildLimitOrder({
makerAssetAddress: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
takerAssetAddress: '0x111111111117dc0aa78b770fa6a738034120c302',
makerAddress: '0xfb3c7ebccccAA12B5A884d612393969Adddddddd',
makerAmount: '100',
takerAmount: '200',
predicate: '0x0',
permit: '0x0',
interaction: '0x0',
});
const limitOrderTypedData = limitOrderBuilder.buildLimitOrderTypedData(
limitOrder
);
const limitOrderSignature = limitOrderBuilder.buildOrderSignature(
walletAddress,
limitOrderTypedData
);
const limitOrderHash = limitOrderBuilder.buildLimitOrderHash(
limitOrderTypedData
);
all of the above code runs successfully but do not show a popup for metamask until I do the following:
const limitOrderSignature = await limitOrderBuilder.buildOrderSignature(
walletAddress,
limitOrderTypedData
);
But I am afraid that do I need to host my contract first? or the one provided by 1inch is sufficient?
Also, the limit-order-protocol-utils library is sufficient to just start off your project and do a limit order?
Thanks

Hey!
Yes, we are using this library in the Angular application.
You do not need to deploy your own contract, you can use an existing one (see README).


Check for user privileges during initialization

Maybe user privileges should be checked at initialization. If they are not, the user wastes time of a lengthy workflow with no results.

I don't think user privileges play an important role, since we are setting user network-manager profiles?

@foxyseta Thanks for the issue. Do you meant that if the user is not in the NetworkManager group it will only show a fail at the end?

Well, I actually have a problem with my current setup that prevents any user without super-user privileges from tinkering with the network settings (even  after adding said user to the appropriate groups). So my problem is definitely unrealted to your project. Still, I would still find this a nice UX improvement.

I don't really see a good way to do this, other than inserting mock network entries (and later removing them) in networkmanager, which IMO is not a nice thing to do


[Bug]: Cannot change default model, always gpt-4o

What happened?
I tried to change default model with fabric -d many times.  I tried entered corresponding numbers to models, like gemini-1.5-pro, mistral-large:123b, etc.  However, every time I run fabric without specifying -m parameter, I got errors:
googleapi: Error 404: models/gpt-4o is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.

Version check

[X] Yes I was.

Relevant log output
googleapi: Error 404: models/gpt-4o is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.

Relevant screenshots (optional)
No response

I can't reproduce. Please test it with current release and reopen the issue if still occurs.


Refactor/rewrite music_player

A little roadmap thing, for reference:

figure out how to store the queue. Queue is love, queue is life, the entire stability of the music bot depends on the queue. As is the ease of adding/removing/playing songs.
big problem with the current implementation is hooking up the "play next" function. Could try avoiding the clusterfuck by using events sort of asynchronously?
the player can handle streams, so the storage class could have a bool or something to support that? Possibly limit the max duration of a stream?
Implement an asynch playlist loader by tearing the current load function into "grab links and dump playlist contents" and "download the songs one by one". Or not, works fine as is.
I would really appreciate it outputting a message for each song it plays. Even if it's optional.
I personally haven't encountered anyone needing to be banned, but it is possibly nice to have.
learn how to decode the streams and adjust volume dynamically.

Going to close this since the main task is done, though some of the sub-tasks aren't; I'll file those in separate issues or cards.


Ncalc with .NET Core 2.1

hi, i have a question, is there any version of ncalc for .net core 2.1?
Greetings

I found these two:
https://www.nuget.org/packages/CoreCLR-NCalc/
https://www.nuget.org/packages/NCalc.NetCore/
but I have not used either yet. We are looking at evaluating both for a .net standard/core compatible replacement of NCalc.


Zmodem tests 6,7,8,9

Hi @klamonte
TestAll.java references
            System.setProperty("jermit.zmodem.escapeControlChars", "true");
            (new Zmodem6()).doTest();
            (new Zmodem7()).doTest();
            System.setProperty("jermit.zmodem.escapeControlChars", "false");

            /*
             * Noisy tests.
             */
            (new Zmodem8()).doTest();
            (new Zmodem9()).doTest();

https://github.com/klamonte/jermit/blob/master/src/jermit/tests/TestAll.java#L148
But those are not checked into the zmodem test directory. https://github.com/klamonte/jermit/tree/master/src/jermit/tests/zmodem

Sorry to be so late getting here, I moved across states and took a new job.
These tests are not yet ready, they are leftovers from copying Kermit tests.  I will get this cleaned up soon.
In the meantime jermit has moved to gitlab:  https://gitlab.com/klamonte/jermit


Fix tomcat ports overlapping

close #132

Merged, thanks @jajik

Thanks @rhusar

I'll have to look into it, because this PR also added the ability to set ports directly which might cause some problems too (what if I want to offset only some? I'll have a look).

I'll have to look into it, because this PR also added the ability to set ports directly which might cause some problems too (what if I want to offset only some? I'll have a look).

OK - opened https://github.com/modcluster/mod_proxy_cluster/issues/140


Delete my data does not delete health log

If you enter a health log entry and then choose to delete your data, the health log data remains.

I was not able to reproduce. It seems this is related to simulating exposures.

@dharding could you kindly confirm the fix and close?

Fixed


"Acquiring location" goes forever, breaks app

Sometimes it's able to acquire location, sometimes not and I can't use app. Maybe instead of automatic location, allow user to manually input sensor via settings?
I'd to help but local development guide is missing :(. Not sure what I need to be fully able to locally develop.

I have the same problem.

same, unable to get the location on 3 devices :/

same, unable to get the location on 3 devices :/

@lukas085 @RudolfTheOne @mszymczak-silvair check out my fix :)

Wow, you are a real savior, thank you @makbol!
@jsynowiec will you release the new version soon?

I am unable to reproduce this issue. Can you provide more details?

This is what I see (since ~Dec 2021) - it keeps acquiring location forever.

Thanks, I have found what the issue is. I could not reproduce it because I am using a different Google API key than the one included in the binaries. The account I was using to sustain the open-source free release ran out of credits in 2021, so it will not work anymore because the Geolocation API is not a free service. Also, the DigitalOcean's account, which hosts the Airqmon API droplet, will run out of credits in March, and the API will stop functioning.
For transparency, the monthly costs for Airqmon were about 50$, and I am no longer willing to cover that. I covered a lot since November 2017 out of my pocket, while the only received support was from the @digitalocean open-source program and one-time donations from @thymikee and @kdzwinel. I could offset some using the free credits until now, but that's no longer an option 🤷🏼♂
I have removed all binaries from the current and previous releases as they will no longer work. You can clone the latest release and build your own version while providing a working Google API key. The Airqmon API will keep functioning for a month or two more.

Sad to hear it, but I totally feel you @jsynowiec. Thanks for all the time and support you provided and for keeping the app in the open. Appreciated <3

I found a free geolocation service that does not require a key. Please check the v2.1.1 release. I will remove the pre-release flag if it works for you.

Thanks for providing context. As you mentioned, even if you fix the geolocation error there's still API service which will run out of founds in March so changing location service will not fix that issue or maybe just temporarily.
Regarding new geolocation service - I tried and I'm getting an error - "communication error". I inspected that and it seems it's and Airqmon API issue

@makbol, I would say that this is an issue with the data returned from Airly. I used your IP address and location to check the response, and you can see the same sensor station on the screenshot.

I have seen in logs that some sensor stations can disappear or return incorrect data even if the station shows correctly on Airly's map 🤷🏼♂

As you mentioned, even if you fix the geolocation error there's still API service which will run out of founds in March so changing location service will not fix that issue or maybe just temporarily.

Well, it turned out that there was no error to start with 😉 The geolocation code in 2.1.0 works just fine. There is a different kind of issue, but I explained that in my previous comment.
With the latest commits, I just tried to provide an alternative to those who cannot or do not want to pay for the Google API 😄  We will see what happens regarding the API. There are still a few months of credits left.

I meant, the issue with geolocation :). Looks like it, with new location API it's working fine now although I'm getting station which is not close to my real location. How about introducing manual mode (as an option for more advanced users) which would enable manually picking station?
btw. can you please remove my ip address from screenshot?


Exfiltrate must retry for 5xx response codes

Now that we have a proxy in the mix, it's necessary to be a good citizen and treat HTTP response codes a little more carefully.  At the moment, a 5xx code will result in no retries, but that's probably wrong.

Probably requests denied with 500, 503, 504 can sensibly be retried.


Rendering routes server side with react-location-lite

Describe the bug
I've been trying react location lite in an SSR setup and hit a minor hurdle which I think is a bug.
Routes do not render on the server, the <Outlet /> simply renders null and the outlet renders client side. It looks like this is simply a result of this hook not executing on the server:
https://github.com/TanStack/react-location/blob/04abfd6e3b827d818e4444c867092ca93a2e06ee/packages/react-location-lite-experimental/src/index.tsx#L463-L478
It would be necessary to pass the initial path into the ReactLocation instance on the server to make this work, I haven't seen docs on this but something like this is possible:
  new ReactLocation({
    history: createMemoryHistory({
      initialEntries: [new URL(request.url).pathname],
      initialIndex: 0,
    }),
  }),

But I also wonder if there could be a simpler API for this that didn't involve invoking createMemoryHistory manually?
I'm currently just doing something like this in App.tsx to work around the issue:
  const router = useRouter();
  const [initialRoute] = matchRoutes(router, router.state.location);

  return (
    <Suspense fallback={null}>
      {import.meta.env.SSR ? initialRoute.route.element : <Outlet />}
    </Suspense>
  );

I'm wondering if I've missed some obvious pitfall with what I've done, was there a reason this is the SSR behaviour?
Expected behavior
Routes render on the sever and cleaner API for passing the route server side.
Desktop (please complete the following information):

OS: mac
Browser: chrome
Version: 98

With the move to TanStack Router, we're reworking our SSR story right now.


ジェットソンナノラスピカムが検出されない

jetson nano raspi cam not detected

Sorry I have not tested with Raspberry Pi Camera. Thank you for share logs with us.
I seem the camera supported only one video format "RG10". But our program is not support it.
If you want to try to use that camera. You have to add some transform programs inside capture process.
RG10 means 10bit sRGB. It conversion is not so difficult. If you can please try to support it.
The color format conversion has written in following file.
https://github.com/shiguredo/momo/blob/develop/src/rtc/scalable_track_source.cpp#L78
But use USB camera is easiest way for you. Momo supports common USB camera formats.
Your car seems so cool! I'm looking forward to add POV function in this car. Thanks.

Sorry we don't support CSI camera now and we don't have any plans for support it. We are only supports USB camera. It's specification. It's not bug then I close this issue.

Спасибо) желаю удави вашему проекту!


CheckDiskAccess always a warning

I have changed the settings for the security to one single user that has only access to one folder on my disk. (I checked the permissions) however the CheckDiskAccess keeps giving warnings on this point.
Am i missing something? because it looks like a bug..

I think the analyser is correct. You should remove access for the User group to other folders as the "App pool user" is also a member of the Users group.
(you should change anonymous authentication to apppool user though or the result will be a  site without stylesheets. :-)

Please read this article for more details. Essentially, one needs to remove Users group from the folders hosting the website(s), and explicitly add the App Pool user to the folder. https://stackoverflow.com/questions/5437723/iis-apppoolidentity-and-file-system-write-access-permissions

Moved to https://github.com/dnnsoftware/Dnn.AdminExperience/issues/131


Revert "Revert "Fix: Update automation scripts for Jan release""

This PR will restore the changes made in PR#56. These changes cannot go live until the SimpliGov Winter Release takes place and we have a successful deployment to Production.

Confirming that Training has been successfully deployed and QA'd without issue. This PR is now ready to merge.


adds a missing import and test for it

Coverage increased (+0.004%) to 88.9% when pulling f3215497cc169a2c3e9096e48c636b0e331bbcb9 on bug/valid-gradebook-id into ebbe5c98b0c5a52874ab3b2661f4d985aa378a0a on develop.


Merge JDL - JHipster Domain Language

Sorry Carl, this "can't be automatically merged", can you check this out?

Working on it


Freeze on Preparing to configure dhcpcd5 (armhf)

PiVPN Issue Template

PiVPN Freeze on "Preparing to configure dhcpcd5 (armhf)"
It gets to 27% and stops responding. I've left it for a few hours and still at 27%. I've ran it multiple times, the very first it got up to the 60's. Every time after has been 27.
Headless setup via SSH. Fresh install of stretch, installed pihole, now trying to install pivpn.
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
Have you searched for similar issues and solutions?
https://old.reddit.com/r/pihole/comments/5lnc0r/updateinstall_hanging_at_configuring_dhcpcd5/
sudo ps -aux | grep [d]ebconf-apt-progress | awk '{print $2} returned no pids.
Website (http://www.pivpn.io/) says get Jesse, but docs (https://github.com/pivpn/pivpn#prerequisites) say Stretch. Assuming website is outdated.
Console output of curl -L install.pivpn.io | bash
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0    576      0 --:--:-- --:--:-- --:--:--   576
100 51064  100 51064    0     0  79127      0 --:--:-- --:--:-- --:--:-- 79127
:::
::: sudo will be used for the install.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages....
::: done!

Console output of pivpn add or pivpn add nopass

Console output of pivpn debug

Console Output of sudo iptables -t nat -S

-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT

Console Output of sudo iptables -S

-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

output of sudo netstat -uanp | grep openvpn
  None

Have you taken any steps towards solving your issue?

issue is quite old without any activity, lots of stuff had changed,
If the issue is still a thing, take the issue to our subreddit r/pivpn


Best Practice - IT Support

I wholeheartedly agree with modern auth, MFA, etc., but it's next to impossible to troubleshoot, manage and deploy systems (i.e., Windows 10) using Office 365 when "confirmation" is needed to complete steps involving (MA/MFA) authentication.

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

ID: acc64ec1-ba7d-bcd3-51a6-a99a5d060e2c
Version Independent ID: 2e6ca190-14c5-5ae5-780a-00ca99ccc9fd
Content: Plan for multi-factor authentication for Office 365 Deployments
Content Source: Office365-Admin/security-and-compliance/multi-factor-authentication-plan.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@officedocsbot assign @mypil

@laughey - Thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback on how to make Office 365 better. They keep a close tab on user feedback and it would be awesome if you could add your voice in
User Voice .
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

Idea submitted!
Modern Authentication Pause
Thanks for the direction/advice.
J. Lance Aughey | IT Manager
Direct<PHONE_NUMBER> | Main<PHONE_NUMBER> | Cell<PHONE_NUMBER>
Communication assembled using two thumbs; please excuse brevity and typ0s.

From: Joyce Y<EMAIL_ADDRESS>Sent: Friday, August 23, 2019 11:33:26 AM
To: MicrosoftDocs/OfficeDocs-O365ITPro<EMAIL_ADDRESS>Cc: Lance Aughey<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-O365ITPro] Best Practice - IT Support (#698)
[ EXTERNAL EMAIL ]
@laugheyhttps://github.com/laughey - Thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback on how to make Office 365 better. They keep a close tab on user feedback and it would be awesome if you could add your voice in
User Voicehttps://office365.uservoice.com .
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/698?email_source=notifications&email_token=ALPGLNWKLJHC37GLLX5XRQTQF77MNA5CNFSM4IPARGGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ARXSA#issuecomment-524360648, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALPGLNULB3DUEJK54XW4BZTQF77MNANCNFSM4IPARGGA.
NOTICE: This email message is confidential and may contain information the disclosure of which could prejudice Hansa Consult of North America, LLC’s (HCNA) commercial interests or legally privileged information. If you are not the intended recipient, you should not copy, distribute, disclose or use the information it contains and you are requested to notify the sender immediately and delete this message from your system. Email messages are susceptible to corruption, interception and unauthorized amendment; HCNA does not accept liability for any such changes or for their consequences.

@officedocsbot close


Try to running the sample notebook results error

Hi, I just include the package using
pyspark --packages com.microsoft.ml.spark:mmlspark_2.11:0.5 \
 --repositories=https://mmlspark.azureedge.net/maven

However,  when I run the sample notebook example 302, the following code
import mmlspark
import numpy as np
from mmlspark import toNDArray

IMAGE_PATH = "datasets/CIFAR10/test"
images = spark.readImages(IMAGE_PATH, recursive = True, sampleRatio = 0.1).cache()
images.printSchema()
print(images.count())

results error:
Py4JJavaError                             Traceback (most recent call last)
<ipython-input-1-4aed556d1de7> in <module>()
      6 images = spark.readImages(IMAGE_PATH, recursive = True, sampleRatio = 0.1).cache()
      7 images.printSchema()
----> 8 print(images.count())

/home/wonglab/spark_install/spark/python/pyspark/sql/dataframe.py in count(self)
    378         2
    379         """
--> 380         return int(self._jdf.count())
    381
    382     @ignore_unicode_prefix

/home/wonglab/spark_install/spark/python/lib/py4j-0.10.4-src.zip/py4j/java_gateway.py in __call__(self, *args)
   1131         answer = self.gateway_client.send_command(command)
   1132         return_value = get_return_value(
-> 1133             answer, self.gateway_client, self.target_id, self.name)
   1134
   1135         for temp_arg in temp_args:

/home/wonglab/spark_install/spark/python/pyspark/sql/utils.py in deco(*a, **kw)
     61     def deco(*a, **kw):
     62         try:
---> 63             return f(*a, **kw)
     64         except py4j.protocol.Py4JJavaError as e:
     65             s = e.java_exception.toString()

/home/wonglab/spark_install/spark/python/lib/py4j-0.10.4-src.zip/py4j/protocol.py in get_return_value(answer, gateway_client, target_id, name)
    317                 raise Py4JJavaError(
    318                     "An error occurred while calling {0}{1}{2}.\n".
--> 319                     format(target_id, ".", name), value)
    320             else:
    321                 raise Py4JError(

Py4JJavaError: An error occurred while calling o45.count.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0, localhost, executor driver): java.lang.UnsatisfiedLinkError: org.opencv.imgcodecs.Imgcodecs.imdecode_0(JI)J

Any idea? Thanks in advance!

Could you please let us know what platform you are running this on (uname -a)? I suspect it's a missing native dependency that happens to existing on Ubuntu 16.04. Thank you so much and sorry for the inconvenience!

Thanks for the prompt reply. Here is the output of  uname -a
Linux WONGLABSERVER01 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
The underlying operating system is Ubuntu 14.04.
In addition, the output message when kernel is started is as follows
https://mmlspark.azureedge.net/maven added as a remote repository with the name: repo-1
:: loading settings :: url = jar:file:/home/wonglab/spark_install/spark-2.1.1-bin-hadoop2.7/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
com.microsoft.ml.spark#mmlspark_2.11 added as a dependency
:: resolving dependencies :: org.apache.spark#spark-submit-parent;1.0
        confs: [default]
        found com.microsoft.ml.spark#mmlspark_2.11;0.5 in repo-1
        found io.spray#spray-json_2.11;1.3.2 in central
        found com.microsoft.CNTK#cntk_jni;2.0rc3 in repo-1
        found org.opencv#opencv_jni;3.2.0 in repo-1
:: resolution report :: resolve 236ms :: artifacts dl 5ms
        :: modules in use:
        com.microsoft.CNTK#cntk_jni;2.0rc3 from repo-1 in [default]
        com.microsoft.ml.spark#mmlspark_2.11;0.5 from repo-1 in [default]
        io.spray#spray-json_2.11;1.3.2 from central in [default]
        org.opencv#opencv_jni;3.2.0 from repo-1 in [default]
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   4   |   0   |   0   |   0   ||   4   |   0   |
        ---------------------------------------------------------------------
:: retrieving :: org.apache.spark#spark-submit-parent
        confs: [default]
        0 artifacts copied, 4 already retrieved (0kB/7ms)

I suspect our OpenCV native dependencies need neww

I suspect our OpenCV native dependencies need a newer version of glibc than what's available by default on Ubuntu 14. Is there any way you could try on Ubuntu 16 until we figure out how to compile against an older version? If you are testing locally, you can just pull our Docker image and open a bash session into it. We have spark-shell, pyspark, etc all in the path. Thank you and apologies again for the trouble!

Sure, I will use the docker image to test instead, thanks again for your help!

ok, let me look into what whether we cold have an OpenCV build compatible with Ubuntu 14 and 16.

Marking this as closed for now - please feel free to reopen if you are still blocked. Thank you!


Question Generation

Is it possible to run only the Question Generation part?
I have done all the steps mentioned till the Question Generation part.
But while running the interact.py file in question_generation folder I get the following Error

I haven't run the pipeline.sh because I just want to run the Generation part

Even I was trying to run only QUestion Generation part. Followed the steps given in question generation part. Yet this is the error I am getting.

Hi @princebaretto99 did you use the command in pipeline.sh to run the interact.py file? It needs data correctly formatted before it can be run. @ajinkya2903 that does not look like an error to me, it's expected behaviour.

I am also getting the same error, could you please tell the solution @martiansideofthemoon @princebaretto99

If I run pipeline.sh on Linux, it can run successfully, but if I run Windows, I will get this error. Why is this?

hi @zonyiwer what's your Python, PyTorch and HuggingFace Transformers versions? Are they exactly the same as the Linux version of your codebase?

@martiansideofthemoon Yes, the same version as in my Linux, but it will get an error.


feat(data): Rename evolutive to progressive, reorder code

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Arrows are not visible

In my document I have foo -> bar and so the arrow gets procesed into foo → bar, but the colour of the arrow is white so it is not visible in the pdf.

Note that the arrow now appears thanks to the fallback font fix by @chloerei. See https://github.com/asciidoctor/asciidoctor-pdf/commit/11bcf455f39429706ee5890eb54886ee6a01bced
However, I'd still like to update the NotoSerif font file so that it doesn't have to use the fallback for this character.

I looked into it and, as it turns out, the single arrows in NotoSerif are really ugly and don't line up evenly in the line. The double arrows are just missing. For those reasons, I actually prefer that the arrows fallback to M+ 1p. Now that we have fallback font support, we can rely on this. I added a note in the default theme that the fallback font is providing these characters.
I wish Prawn would warn when a glyph isn't resolved, but it's silent about it. I may pursue this upstream to see if we can get a warning. See https://github.com/prawnpdf/prawn/blob/master/lib/prawn/text/formatted/box.rb#L427-L434

I'm going to mark this issue as fixed since we no longer get blank arrows :)


Should remove permalink

This permalink filter cause exception in API
https://github.com/stevenschobert/instafeed.js/blob/d287c68329a7afc88d9505f189e11ade78baf364/src/instafeed.js#L119

Seems to be temporary issues at Facebooks end.
It would be nice with at feature to exclude some fields though (e.g. permalink).

I wouldn't call this a feature request. Instafeed is broken for me until permalink is removed the request.

Hey @rwblue and @mastrup! Thanks for the heads up -- strange to hear an specific field request could be causing troubles in the Instagram API.
I like the idea of adding an option to control which fields are requested though! I've added a feature request #706 to track that.


Automate some dependency updates

Is your feature request related to a problem? Please describe.
Given that most PRs are about dependency updates, and that we have a relatively comprehensive test suite out there, it would be useful to automatically approve and merge the dependency updates that we consider safe. That would let us focus on more interesting PRs.
Describe the solution you'd like
A relatively simple GitHub Actions job such as the following:
---
name: Dependabot automation

on:  # yamllint disable-line rule:truthy
  pull_request:
    types:
      - opened
      - synchronize

permissions:
  contents: write
  pull-requests: write

jobs:
  dependabot:
    env:
      PR_URL: ${{github.event.pull_request.html_url}}
      GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
    runs-on: ubuntu-latest
    if: github.actor == 'dependabot[bot]'
    steps:
      - name: Fetch Dependabot metadata
        id: metadata
        uses: dependabot/fetch-metadata@v1
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"
      - name: Approve the PR
        run: gh pr review --approve "${PR_URL}"
      - name: Enable auto-merge for patch updates PR
        if: >
          steps.metadata.outputs.update-type == 'version-update:semver-patch'
          || steps.metadata.outputs.dependency-names == 'actions/checkout'
          || steps.metadata.outputs.dependency-names == 'docker/metadata-action'
        run: gh pr merge --auto --squash --delete-branch "${PR_URL}"
...

In this example, we  automatically merge patch updates for any dependency, and any update for the actions/checkout and  docker/metadata-action.
Thoughts?

Done! https://github.com/super-linter/super-linter/pull/4648

@zkoppert I think we need to allow dependabot as a reviewer, and we should be good to go. Unless we want to manually approve updates, which brings us back to square 1 :)
Example: https://github.com/super-linter/super-linter/pull/4651

PS: I don't have the necessary access rights to do so.

I tried to add the bot to the CODEOWNERS file and it says that I can't add a bot, so for now I think we are stuck with manual review of dependencies.

Please reopen if someone has got ideas on how to get around this.


Sometimes localhost resolves to ipv6 ::1 leading to the error: no pg_hba.conf entry for host "::1", user "root", database "vmdb_production", SSL off

We've seen a few situations in which appliances will receive this error:
PG::ConnectionBad: FATAL: password authentication failed for user "root"
FATAL: no pg_hba.conf entry for host "::1", user "root", database "vmdb_production", SSL off

Generally, it seems that localhost in the database.yml host field is being resolved to ::1 (IPv6) before <IP_ADDRESS> (IPv4) and the default configuration for pg_hba.conf is to allow local connections but not specifically <IP_ADDRESS>.
This issue will track details as we find more information about this problem.  It's unclear if this is an appliance only problem or something we could see in podified but considering pg pods are separated from application code, they are never "local" to each other, so it's very unlikely we'll see it there.

This pull request changed how the appliance console code configures the host field in the database.yml to use localhost instead of <IP_ADDRESS>.  It's unclear if we need to revert that but it's certainly something to keep in mind.

In the past we've used some diagnostics and suggestions to help workaround this problem.
If you’re using localhost in the /var/www/miq/vmdb/config/database.yml, you can try this command to see what order the system will resolve localhost:
getent hosts localhost

Or you can add an entry for ::1 in the pg_hba.conf in the data directory…
You can find the location of that file by running show DATA_DIRECTORY in psql:
psql -U root postgres postgres

postgres=# show DATA_DIRECTORY;

I would make copies of the configuration files before you make any changes.  Additionally, if you’re replacing another appliance, check what the pg_hba.conf and database.yml look like on system you’re upgrading from and compare it to the new machine.
You might want to also run the getent command from above on both systems and compare the results.

We can populate https://www.postgresql.org/docs/current/auth-pg-hba-conf.html#EXAMPLE-PG-HBA.CONF
Our pg_hba.conf seems to often have passwords ignored for loopback, but not sure why we have this since we have a password in database.yml and we allow access to users for our database.
# TYPE  DATABASE  USER            ADDRESS                 METHOD
host    all       all             <IP_ADDRESS>/32            trust
host    all       all             ::1/128                 trust

Anyway, if you want to ignore them, then remember to ignore them for IPv4 and IPv6


refactor opsStatus

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

(1) refactor opsStatus: move reason message into error, and add the extraInfo, remove endingLifecycle progress
(2) refactor actionHandler interface
(3) improve pending -> processing