Consider using Phoronix Test Suite

It might be a good idea to use PTS to measure the overall impact of changes after rebuilding the whole system.

i think that's out of scope of this project, the main focus of this is to bring up relative numbers and there is no way to rebuild the whole system and jump between those states. I don't see where adding PTS here would make any sense

You're right that it would be outside the scope of this GitHub project, but the project goal is "to determine if these flags can be the new default for all Arch Linux packages". The applications tested here consist of tight loops. I would argue that the results would not generalize well to a complete distribution compiled with the new flags.
AFAIK, Intel's Clear Linux project uses more aggressive optimization settings for its packages and it seems to work pretty well. Conversely, I would argue that enabling more checks will have a similar negative performance. I also don't think that the tests here can prove that it's a good idea to enable them for every package offered by Arch Linux.

in fact why not, they prove what they are supposed to prove, the relative impact of each of the combination of flags.
Fedora and other distributions already went this way and enabled the full set of flags for security. Also the current results show that we already have the most expensive one in place: stack-protector-strong. Compared to that its mostly like a NOOP, if the argument is to get any fraction of pseudo performance then we should go away from virtual memory addressing and use static hardware addressed memory: its faster

I'm not arguing for another operating system or hardware architecture, so please don't be snarky. My concern is that the results obtained here do not generalize well to more complex applications like web browsers or compilers.
xz and ffmpeg have tight loops that probably fit in the instruction cache, while UnixBench tests arithmetic and system call/IPC overhead (which is not affected by compiler options).
If the discussion was about making things faster I would argue for enabling LTO for some packages, like Clear Linux does, but it is not. I only hope that the decision to introduce more run-time checks will not be motivated by tests that don't exercise them.

@lnicola Patches welcome.

instruction cache is one thing, yes. however those flags affect anything that uses functions and library calls as (besides pie) we are also speaking about stack-check and no-plt options that indeed affect all those programs in one or the other way.

I'm going to close this as this is a feature request, not a bug. If someone wants to start pushing commits, we can coordinate in #archlinux-security.

Added to https://github.com/pid1/test-sec-flags/wiki/Feature-Requests


feat(docs): add clt tutorial

Description of change
Added the CLT tutorial following TAs suggestion to implement there example use case.
Links to any relevant issues
Fixes #1839.
Type of change

Documentation Enhancement

How the change has been tested

Change checklist

[x] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that new and existing unit tests pass locally with my changes

@Dr-Electron , is this ready for review?


Set default value for css['all']

Otherwise the combination no grappelli but with USE_JQUERY_UI will not
work.
Fixes #7

Coverage remained the same at 90.883% when pulling 2527c770230ce395fc60c7b3d1f07672f913c3e6 on erikw:fix/css_key_error into 16f963ed2532443500bb3cc9886475ef7cc1f6c7 on omji:master.

Thanks a million for your help Erik, really appreciate :-)

Will you make a release, so I can point it out with pip? :)
On Mon, Sep 19, 2016, 15:33 Guillaume Pousseo<EMAIL_ADDRESS>wrote:

Thanks a million for your help Erik, really appreciate :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omji/django-tabbed-admin/pull/8#issuecomment-247994009,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKstpIAvw-xZYcyy2zkOsy8yphP6oR2ks5qro8jgaJpZM4KAeFq
.

--
Erik Westrup
<EMAIL_ADDRESS><erik.westrup@gmail.com?src=inbox>>
+49<PHONE_NUMBER> | 2r.se
Zechliner Str. 5a, 13359 Berlin, Germany
This email is encrypted with 2ROT-13.

Done :-) 1.0.1
Thanks again!!!
Le 20/09/2016 à 08:37, Erik Westrup a écrit :

Will you make a release, so I can point it out with pip? :)
On Mon, Sep 19, 2016, 15:33 Guillaume Pousseo<EMAIL_ADDRESS>wrote:

Thanks a million for your help Erik, really appreciate :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub

https://github.com/omji/django-tabbed-admin/pull/8#issuecomment-247994009,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAKstpIAvw-xZYcyy2zkOsy8yphP6oR2ks5qro8jgaJpZM4KAeFq

.

--
Erik Westrup
<EMAIL_ADDRESS><erik.westrup@gmail.com?src=inbox>>
+49<PHONE_NUMBER> | 2r.se
Zechliner Str. 5a, 13359 Berlin, Germany
This email is encrypted with 2ROT-13.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/omji/django-tabbed-admin/pull/8#issuecomment-248215367,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKdulf-OkIHwSl18TtqhUjPQTQjF3-xks5qr38vgaJpZM4KAeFq.

Great thanks!
On Tue, Sep 20, 2016 at 12:52 PM Guillaume Pousseo<EMAIL_ADDRESS>wrote:

Done :-) 1.0.1
Thanks again!!!
Le 20/09/2016 à 08:37, Erik Westrup a écrit :

Will you make a release, so I can point it out with pip? :)
On Mon, Sep 19, 2016, 15:33 Guillaume Pousseo<EMAIL_ADDRESS>wrote:

Thanks a million for your help Erik, really appreciate :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub

<
https://github.com/omji/django-tabbed-admin/pull/8#issuecomment-247994009
,

or mute the thread

<
https://github.com/notifications/unsubscribe-auth/AAKstpIAvw-xZYcyy2zkOsy8yphP6oR2ks5qro8jgaJpZM4KAeFq

.

--
Erik Westrup
<EMAIL_ADDRESS><erik.westrup@gmail.com?src=inbox>>
+49<PHONE_NUMBER> | 2r.se
Zechliner Str. 5a, 13359 Berlin, Germany
This email is encrypted with 2ROT-13.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/omji/django-tabbed-admin/pull/8#issuecomment-248215367>,

or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAKdulf-OkIHwSl18TtqhUjPQTQjF3-xks5qr38vgaJpZM4KAeFq
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omji/django-tabbed-admin/pull/8#issuecomment-248267978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKstj0HAyMhr1rnzRPZ9CyUX45XR53lks5qr7rTgaJpZM4KAeFq
.

--
Erik Westrup
<EMAIL_ADDRESS><erik.westrup@gmail.com?src=inbox>>
+49<PHONE_NUMBER> | 2r.se
Zechliner Str. 5a, 13359 Berlin, Germany
This email is encrypted with 2ROT-13.


Load/Render Assets from Memory

I tried searching through the obvious headers, is there way to load/render bundled assets from memory?  A LoadImageFromMemory(), LoadWaveFromMemory() etc available?  Something that I could take IMAGE_DATA, IMAGE_SIZE (and for audio/font files as well) and get that to load within the program?

Hi!
Are you looking to load raw in-memory image data into textures, or do you simply want to load on-disk images (i.e. PNGs)? For the latter, there's basic_renderer::make_texture.
There's no great way to do it for in-memory assets using Centurion as of now. So there might be some room for improvement here for later versions. In SDL you might write something like to following, as you might be aware.
SDL_RWops* ops = SDL_RWFromMem(ptrToMemory, sizeOfMemory);
SDL_Surface* surface = IMG_LoadPNG_RW(ops);

It was for in memory.   I would use ld to link the asset files for embedding and from there load load them in.  Now this was using Raylib, as I'm trying to branch out, I was hoping something equivalent could be done outside of Raylib as well.


need to test the transformer for removing kataw types

This can be done with snapshots. Parse with types through the transformer API and no types should be seen in the returned output

@aladdin-add Is this something you can fix?


how it is looks like?

Hi I would like to see how it looks, would you mind to put a preview on readme?
Thanks

@osvalr there is a link to a documentation using the template in the project title (http://muhbaasu.github.io/doxygen-modern/index.html). I have to admit though it is easy to miss I'll add a screenshot and the link in the README itself.

thank you @marcelbuesing


Pie Chart (donut) with Label

Hi,
I want to ask if it is possible to the Label with the percentage value.  I have try without success.  Thanks.
var data = {
labels:['mon','tue','wed'],
series: [5, 3, 4]
};
var sum = function(a, b) { return a + b };
new Chartist.Pie('.ct-chart', data, {
labelInterpolationFnc: function(value) {
return Math.round(value / data.series.reduce(sum) * 100) + '%';
}
});

If you want the value to be passed to labelInterpolationFnc you should not specify any labels.

Hi,
What I want to achieve is for the label on the pie chart for example to show "mon 42%"  instead of the present code which only show the "42%".   Thanks.

did you try this?
new Chartist.Pie('.ct-chart', data, {
    labelInterpolationFnc: function(label, index) {
        return label + " " + Math.round(data.series[index] / data.series.reduce(sum) * 100) + '%';
    }
});

Closing this issue, please re-open if needed


Android 4.1.2

Hi there, I'm running your plugin version 0.3.6. Just wondering if there are any known issues with old Android versions? One customer is reporting it's not working, and I thought I'd check here before I start digging too hard.

4.1.2 should be fine.
However, the free Android is vastly inferior to the Premium version (though
not unreliable, just inefficient).
http://christocracy.github.io/cordova-background-geolocation/
On Thursday, May 21, 2015, Matt Grande<EMAIL_ADDRESS>wrote:

Hi there, I'm running your plugin version 0.3.6. Just wondering if there
are any known issues with old Android versions? One customer is reporting
it's not working, and I thought I'd check here before I start digging too
hard.
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/187
.

--
Snet from Gmail Mobile


Adding auth guards to add user cell

Check in with John on the process of adding in a cell to Dirtviz. Things to think about: what data is needed to configure john's board and what makes the most sense for an independent user to create their own deployments

Postponing actual "auth" to continue to use logger id's as we don't expect to have outside users.


AVT-990 [Spectron][Windows] Add test "Verify Always on Top options when multiple applications are opened"

Description
Add test "Verify Always on Top options when multiple applications are opened" AVT-990
Run
Please refer attachment for more details
Jest Test Report.zip

@thaisym1912 Please resolve conflicts

Resolved conflicts and rerun.
Jest Test Report.zip

Resolved conflicts and rerun.


Refactoring user configuration

Pivoting from JSON to Lua as a configuration method.
This also sets up future scripting through lua.
Some bugfixes:

tnd ve estimate was returning nan so the check was switched from isinf() to isfinite()
strain_probs were not recalculated after loading values from the database into Parameters

builds, compiles, and runs (init, example, and batch).
on debug, 1100 sims takes 1m50.456s


Inconsistent Version Selection for cargo's Subcommand

Problem
I have encountered an issue with the cargo nextest subcommand where it does not select the expected subcommand's version.
Steps
Here are the details of the problem:

I have cargo-nextest in my PATH, located at /nix/store/3yl7vgm2qkp7skr5gskbfd457f6g43cg-cargo-nextest-0.9.66/bin/cargo-nextest, and its version is 0.9.66.

bash-5.2$ which cargo-nextest
/nix/store/3yl7vgm2qkp7skr5gskbfd457f6g43cg-cargo-nextest-0.9.66/bin/cargo-nextest

Additionally, I have cargo-nextest installed in ~/.cargo/bin, and its version is 0.9.59.

bash-5.2$ ~/.cargo/bin/cargo-nextest --version
cargo-nextest 0.9.59

Running ~/.cargo/bin/cargo-nextest --version confirms that the version installed in ~/.cargo/bin is indeed 0.9.59.

However, when I execute cargo nextest --version, it incorrectly selects version 0.9.59 from ~/.cargo/bin, instead of the desired version 0.9.66 from /nix/store/3yl7vgm2qkp7skr5gskbfd457f6g43cg-cargo-nextest-0.9.66/bin/cargo-nextest.

bash-5.2$ cargo nextest --version
cargo-nextest-nextest 0.9.59

This behavior seems inconsistent and unexpected. It would be helpful if the cargo command could prioritize the version in the path /nix/store/3yl7vgm2qkp7skr5gskbfd457f6g43cg-cargo-nextest-0.9.66/bin when invoking the cargo nextest subcommand.
Thank you for your attention to this issue, and please let me know if you need any further information to reproduce or investigate the problem.
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.72.1 (103a7ff2e 2023-08-15)
release: 1.72.1
commit-hash: 103a7ff2ee7678d34f34d778614c5eb2525ae9de
commit-date: 2023-08-15
host: x86_64-unknown-linux-gnu
libgit2: 1.6.4 (sys:0.17.2 vendored)
libcurl: 8.1.2-DEV (sys:0.4.63+curl-8.1.2 vendored ssl:OpenSSL/1.1.1u)
ssl: OpenSSL 1.1.1u  30 May 2023
os: NixOS 24.5.0 [64-bit]

Hello,
cargo-nextest is not the cargo built-in command and this issue may not be related to cargo.
And I see you desired cargo is in /nix/store/...,  is there something like .env to activate it ?

This is a concern not with cargo-nextest but with how third-party subcommands are loaded.
On mobile so can't look everything up but cargo intentionally prefers the copy of packages it has installed. You can customize this by putting cargo's bin directory in PATH. If cargo sees it there, it will respect the users precedence.

Thanks for the report! As @epage mentioned, I believe cargo looks at PATH to determine the priority, so you can put ~/.cargo/bin later in the PATH. Closing as a duplicate of #11020 and #6507.

Have we documented this behavior in The Cargo Book? If not, I would like to propose this as a documentation issue.
https://github.com/rust-lang/cargo/blob/363a2d11320faf531f6aacd1ea067c6bc08343b9/src/bin/cargo/main.rs#L247-L270

Updating the documentation sounds good to me!

@rustbot claim
I plan to add  this behavior  in the custom-subcommands section. (a note block in the last )


[BUG] Memory module inheritance relationship problem

Required prerequisites

[X] I have read the documentation https://camel-ai.github.io/camel/camel.html.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

What version of camel are you using?
0.1.5
System information
3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] win32
0.1.5
Problem description
I think the design of the Memory module has some issues.
We can discuss it.

Reproducible example code
--
Traceback
No response
Expected behavior
No response
Additional context
No response

Discuss with @dandansamax  and leave it as is for now.


feat(Interaction): allow to throw kinematic objects

add an option to allow to throw kinematic objects
instead of letting them floating in the air.

I'm not sure this is the best way to solve this issue.
would it not be better if you had a kinematic object that you wanted to then throw, to extend the Interactable Object script and override the LoadPreviousState method and then force the rigidbody kinematic to false?
There is the potential that I may want to drop an object that is kinematic by default and have it return back to its kinematic state, but if the controller is moving at a certain velocity then i may want it not to be kinematic so i can throw it, but then have the object go back to being kinematic when it's velocity is zero.
All of the above is quite custom to a certain use-case though and therefore is better done by extending the interactable object rather than adding more options to the base class.

I agree with you.
It's what i wanted to do in the first place but the protection level of almost all variables used in the method LoadPreviousState are preventing me to implement this.
I can modify theses variables if it's ok for you.

What private variables do you need access to? they may be better being protected if you think they need accessing in an extended class.

All of them.
previousParent
forcedDropped
previousKinematicState
previousIsGrabbable
I can't call the base method and do my stuff after that because the base class is setting the kinematic value and it seems that is breaking the force added. So the objet fall instead of been throwed.
So i must re implement all the method.
I come from the java world and i'm not used yet to the C# good practices.
Should not be all the needed fields of a virtual method protected?

yeah makes sense to have these protected, i'll update them, give me a mo :)

https://github.com/thestonefox/SteamVR_Unity_Toolkit/commit/1384687c5cd782dcdb58d5421a0f120759ffdb68 done :)

Super thank you :)


Upgrade Linux Kernel for flatcar-3913 from 6.6.21 to 6.6.27

Subject says it all.

See instead https://github.com/flatcar/scripts/pull/1932


typo in description

In README.md there is a typo of Szymanski's surname. You have "Storer-Szymanksi" and should be "Storer-Szymanski".

See commit, should be fixed.


Add logging and settings check when app init

This change is

Coverage increased (+0.3%) to 69.797% when pulling e47e96b6ca3f42fadbda134531b9b2a0ce25f86a on kukirokuk:a628933811037433_log_app_init_and_check_settings into 1ba862ca60f56ff58378eeb0ca9a01085396a37a on openprocurement:ea_core_master.

Coverage increased (+0.3%) to 69.797% when pulling e47e96b6ca3f42fadbda134531b9b2a0ce25f86a on kukirokuk:a628933811037433_log_app_init_and_check_settings into 1ba862ca60f56ff58378eeb0ca9a01085396a37a on openprocurement:ea_core_master.


Unable to sync with Trakt

Hi, I'm new to Specto and has it installed successfully. Now I'm trying to integrate it with trakt but I could not get it to sync with my tv collection. The activation was done successfully.
Thank you
I'm using:
Kodi krypton b5
Android box with android 6.0

From My Specto,
I'm able to get list only form these options:
TRAKT : Movies Featured
TRAKT : TV Featured
TRAKT : Episodes
Movie Lists
Other options returns nothing.
Hope this help.

old issue, fixed


Refactor the Main module from MVP to MVVM

Is it a ?

[ ] Bug Report

[x] Feature Request

[ ] Chore

Feature Request
Feature Description
Refactor the Main module from MVP to MVVM.
Would you like to work on the issue?
Yes.
Create separate child issues for each fragment/activity of this module treating this as a parent issue.
Parent issue: #562

Sir @iamareebjamal , @srv-twry I want to work on this issue. Can you please help me get started?

@mishuvs I believe right now this is out of scope. It would be better to develop features rather than refactoring from MVP to MVVM. Let's wait for what @iamareebjamal has to say though.

Yes, this can be tacked later

Alright, @srv-twry @iamareebjamal , I will focus on other issues for now.


Incremental update

Hello!!
This is a lot of fun thank you for doing that! I would like to know if you are thinking about implementing incremental updates for feeds. According with the logs  during an update it looks like all the articles are re-fetched.
This is an amazing start but if rssnix downloads and notifies only about new articles it never saw before will help me figure out when there is something to read, that I didn't look at yet
have a nice day

Sure, sounds good -- will look into implementing it sometime within this week.
Thanks for the suggestion.

I think there are 2 places where the "There are new articles" aspect need to be reported, or at least be visible. The first is during the update phase. But the second is when actually reading; how should a person reading the downloaded content know which of those are the new articles.
One idea which has come to mind is to instead write the article with a prefix of a serial number (leading zeros optional, but IMO it looks neater to have them).
So with a config of
[feeds]
example = http://www.example.com/rss.xml

articles would be created with the followings names/paths:
example/001-An early article
example/002-A subsequent article is this one
example/003-This is the most recently collected article

The report at the bottom during the update could then read something like
INFO[0000] 1 article fetched from feed 'example'  (last seen was 002)

This approach also approaches the second aspect (that of the reader easily finding the new articles) because the user would be able to scroll to the bottom (or top, if using vim and have sorted in reverse order) in order to find the new ones. The user would still need to remember which ones they had already read.
Does this seem like a good idea?

I think it is a valid approach but reading your message I thought about another possibility. Let me know what you think about it.
Rssnix can use a hidden file to track stare stare and it can store there the last update. Such value can be used during an update to figure out the new articles since the previous update and those articles can become symbolic links in a new directory called "news" or something like that. In this way the current foldering will stay as it is today. Simple and easy to understand. With this approach during reading the person can check such directory to know what's new.
Just a suggestion coming from the message you have posted 😅
On November 27, 2022 11:06:03 PM GMT+01:00, Matt Peperell @.***> wrote:

I think there are 2 places where the "There are new articles" aspect need to be reported, or at least be visible. The first is during the update phase. But the second is when actually reading; how should a person reading the downloaded content know which of those are the new articles.
One idea which has come to mind is to instead write the article with a prefix of a serial number (leading zeros optional, but IMO it looks neater to have them).
So with a config of
[feeds]
example = http://www.example.com/rss.xml

articles would be created with the followings names/paths:
example/001-An early article
example/002-A subsequent article is this one
example/003-This is the most recently collected article

The report at the bottom during the update could then read something like
INFO[0000] 1 article fetched from feed 'example'  (last seen was 002)

This approach also approaches the second aspect (that of the reader easily finding the new articles) because the user would be able to scroll to the bottom (or top, if using vim and have sorted in reverse order) in order to find the new ones. The user would still need to remember which ones they had already read.
Does this seem like a good idea?
--
Reply to this email directly or view it on GitHub:
https://github.com/jafarlihi/rssnix/issues/5#issuecomment-1328351014
You are receiving this because you authored the thread.
Message ID: @.***>

That's definitely a simpler approach. I've modified that proposal ever so slightly by checking existing articles and only writing files if necessary – this way no statefile is needed.
PR is https://github.com/jafarlihi/rssnix/pull/9

Done by @mattpep


How to use variables with different values for production?

I am switching to preact-cli from the preact boilerplate and I noticed that there is no webpack configuration file. The only missing feature for me is the ability to change the URL of my server: during development I am accessing localhost:3000 and during production api.my-server.com. With the preact boilerplate I use webpack's DefinePlugin:
new webpack.DefinePlugin({
  'process.env.NODE_ENV': JSON.stringify(ENV),
  'API_HOST': (ENV === 'production') ? JSON.stringify('https://api.my-server.com') : JSON.stringify('http://localhost:3000')
}),

(Here is the code as part of the entire project)
How do I achieve the same capability with preact-cli? I don't mind not using webpack at all. I know it can be done with grep and sed but that might not work on windows machines.
Thanks!

Hiya - you can use process.env.NODE_ENV, it'll be "development" or "production" just like in your setup:
https://github.com/developit/preact-cli/blob/master/src/lib/webpack-config.js#L245
const ENV = process.env.NODE_ENV;
const API_HOST = ENV === 'production' ? 'https://api.my-server.com' : 'http://localhost:3000';

Because of the way Webpack + Uglify work, this will actually get statically compiled out in production, so the above code will turn into simply:
const API_HOST = 'https://api.my-server.com';

what setup? currently the cli doesn't have webpack config. I am afraid to copy my entire webpack config just because of this need. can i have empty webpack config that only have those lines?

In the CLI's existing internal webpack config, this is already in place.  You can just use the value in you code.  This shouldn't require it, but what you're referring to is being implemented in #56 :)

awesome. thanks


Fix pbs server start

Test results here: http://vdt.cs.wisc.edu/tests/20161129-0935/results.html
The PBS server startup test started being "skipped" when we replaced the core.system() call to stop the service with service.stop()*, which doesn't start the service unless we set core.state['pbs_server.started-service'] = True**. We didn't have a complete PBS blind spot in the tests because the condor_ce_trace_pbs jobs seemed to run fine...
* We stopped the service because we had to run service pbs create to create the initial config and it did a bad job of stopping the service afterwards, which we needed to do to drop additional config (maybe?).
** We really shouldn't be setting core.state variables in our library functions, at the very least, not the <service name>.started-service keys because it makes following service state confusing.

Yay... Looks like this simplifies the PBS server logic a lot.
Just to make a note of it here: As alluded to in the PR comments, with these changes we are now doing the sort-of-hacky replacement for service pbs_server create on all platforms (instead of just on EL7), because the create function in the pbs_server init.d script was causing problematic side effects for our tests.
There is kind of a lot that's changed here, but the successful VMU test run gives some additional confidence that things are now working as expected.


Need help regarding page auto generation

I have a site with more than 100 pages in English I would like to translate a few pages but the problem is when I generate a site almost all pages generate in both languages.
For example.
example.com - example.com/es/
example.com/about - example.com/es/about/
example.com/blog - example.com/es/blog (I don't want to generate this page because it's available in English only)
Suggest me how I get rid of this

#1262


Change fallback appearence, icon, no banner

Resolve #3740
Please test with activated longpolling. I have no idea how to trigger this in my dev setup.

I changed the icon and the style for it.

Okay, I changed the margin top to -3px.


Add prevailing_rule/2 and matches_explicit_rule?/1

This fixes  #15 by adding prevailing_rule/2 (returns prevailing rule of domain) and matches_explicit_rule? (checks whether domain matches explicit rule). E.g.:
iex(1)> PublicSuffix.prevailing_rule(".com")
nil
iex(2)> PublicSuffix.prevailing_rule("foobar.com")
"com"
iex(3)> PublicSuffix.prevailing_rule("foobar.co.uk")
"co.uk"
iex(4)> PublicSuffix.prevailing_rule("com")
"com"
iex(5)> PublicSuffix.prevailing_rule("foobar.example")
"*"
iex(6)> PublicSuffix.prevailing_rule("ck")
"*"
iex(7)> PublicSuffix.prevailing_rule("www.ck")
"ck"
iex(8)> PublicSuffix.prevailing_rule("foobar.net.ck")
"net.ck"
iex(9)> PublicSuffix.matches_explicit_rule?(".com")
false
iex(10)> PublicSuffix.matches_explicit_rule?("foobar.com")
true
iex(11)> PublicSuffix.matches_explicit_rule?("ck")
false
iex(12)> PublicSuffix.matches_explicit_rule?("www.ck")
true
iex(13)> PublicSuffix.matches_explicit_rule?("foobar.net.ck")
true
iex(14)> PublicSuffix.matches_explicit_rule?("foobar.example")
false

Tests also added. prevailing_rule is tested in test/generated_test_cases.exs. It should return the same as public_suffix, except for a few cases (e.g. when the domain is unlisted) where it should return "*"; these are handled separately in test/public_suffix_test.exs, where there are also some tests for matches_explicit_rule?.
(Disclaimer: I'd never touched ExUnit before but I think it's OK :))

Alright, should be better now. I did a few slight modifications to make find_prevailing_rule return a tuple with the actual matching rule, as suggested. Also removed the prevailing_rule/2 tests from generated_test_cases.exs (as it was probably just messy and confusing with the exceptions), and instead added more in public_suffix_test.exs.

Well done @andersju!  I left a few suggestions but this LGTM otherwise.

@myronmarston: I fixed the last few things you mentioned. Thanks for the feedback, very helpful!

LGTM.  Thanks, @andersju!


Save chnages settings doesn't work

Hello, I download and instal windows 10 version our beloved IPTVnator and i tried to change language and video player and theme but the "save changes" button doesn't work and changes aren't registered.

Hi, thanks for the feedback!
Does the issue still exist? Are you using the latest version?

Yes, the issue still exist, I am using only the latest version of IPTVnatorv0.11.1 for windows and I only installed one version of IPTVnator because I installed it a few days ago so I only used the latest version and the "save changes" button is greyed out and inactive from the beginning even before i make  changes to theme and video players, i am using latest microsoft visual c++ and latest windows 10 22H2 build 19045.2364 , but I specify that I disabled some windows features which I do not use to make my notebook more faster....

Sadly I have no opportunity to check on Windows, but on macOS and in the PWA, everything works as intended.

There is no problem :)  I think it is not a serious problem because videojs player is the main player and I was able to play iptv without any problems and in addition IPTVnator used the dark theme which I prefer so I think it doesn't matter if I can't change the settings because IPTVnator works perfectly by default without the need to change the settings ! Thank you !

+1 from me on this issue. You cannot change any settings (I am on Windows 11 21H2 Build 22000.1455) because the save changes button is just greyed out.

I found out that the issue is that if you don't enter an EPG URL, you can't save your changes because it's treated as a required field even though it's not marked as such. To resolve this, use the "-" icon to remove the EPG URL input field and you'll be able to save your settings.

@Wasilewskiii Wonderful Extraordinary gorgeous !! that's  works perfectly, i can change the settings ! thank you very much for your precious  help ! 🥇 💯   Effectively I do not see the usefulness of epg and I like to have the pleasure of discovering the content of tv channels by myself without epg  so I deleted or modified the default options to delete the epg and so that our bleoved Iptvnator will be more  faster !
@4gray now we hope  please that our beloved Iptvnator 🥇  will add option to choose user agent contained in a list beacuase i have discovered this huge chinese wiki containing huge iptv resources :
https://github.com/imDazui/Tvlist-awesome-m3u-m3u8
and i think choosing a user agent might be necessary to make all these streams work without bugs and i don't know how to add or choose the right user agents ! thanks a lot !

@trimechee @Wasilewskiii Thanks for the testing and feedback guys. Already fixed this behavior and I'll try to release a new version asap.
Regarding the user agent, let's discuss in another thread

Yes of course ! :) Thank you 💯 🥇

Yeah great news ! i submet and resquest again to videohelp to add Iptvnator and finally they add it ! https://www.videohelp.com/software/IPTVnator

@trimechee thanks for sharing!


gh does not work with fish

fisher dickeyxxx/gh does not work.
Unsupported use of '='. In fish, please use 'set GH_BASE_DIR $GH_BASE_DIR:-$HOME/src'.
~/.config/fish/functions/bb.fish (line 1): GH_BASE_DIR=${GH_BASE_DIR:-$HOME/src}
                                           ^
from sourcing file ~/.config/fish/functions/bb.fish
	called on line 767 of file ~/.config/fish/functions/fisher.fish

in function '__fisher_plugin_enable'
	called on line 639 of file ~/.config/fish/functions/fisher.fish
	with parameter list '/Users/shane/.config/fisherman/gh'

in function '__fisher_update'
	called on line 257 of file ~/.config/fish/functions/fisher.fish
	with parameter list 'dickeyxxx/gh'

in function 'fisher'
	called on standard input
	with parameter list 'update dickeyxxx/gh'

Unsupported use of '='. In fish, please use 'set GH_BASE_DIR $GH_BASE_DIR:-$HOME/src'.
~/.config/fish/functions/gh.fish (line 1): GH_BASE_DIR=${GH_BASE_DIR:-$HOME/src}
                                           ^
from sourcing file ~/.config/fish/functions/gh.fish
	called on line 767 of file ~/.config/fish/functions/fisher.fish

in function '__fisher_plugin_enable'
	called on line 639 of file ~/.config/fish/functions/fisher.fish
	with parameter list '/Users/shane/.config/fisherman/gh'

in function '__fisher_update'
	called on line 257 of file ~/.config/fish/functions/fisher.fish
	with parameter list 'dickeyxxx/gh'

in function 'fisher'
	called on standard input
	with parameter list 'update dickeyxxx/gh'

Unsupported use of '='. In fish, please use 'set GH_BASE_DIR $GH_BASE_DIR:-$HOME/src'.
~/.config/fish/functions/gl.fish (line 1): GH_BASE_DIR=${GH_BASE_DIR:-$HOME/src}
                                           ^
from sourcing file ~/.config/fish/functions/gl.fish
	called on line 767 of file ~/.config/fish/functions/fisher.fish

in function '__fisher_plugin_enable'
	called on line 639 of file ~/.config/fish/functions/fisher.fish
	with parameter list '/Users/shane/.config/fisherman/gh'

in function '__fisher_update'
	called on line 257 of file ~/.config/fish/functions/fisher.fish
	with parameter list 'dickeyxxx/gh'

in function 'fisher'
	called on standard input
	with parameter list 'update dickeyxxx/gh'

Unsupported use of '='. In fish, please use 'set GH_BASE_DIR $GH_BASE_DIR:-$HOME/src'.
~/.config/fish/completions/gh.fish (line 1): GH_BASE_DIR=${GH_BASE_DIR:-$HOME/src}
                                             ^
from sourcing file ~/.config/fish/completions/gh.fish
	called on line 801 of file ~/.config/fish/functions/fisher.fish

in function '__fisher_plugin_enable'
	called on line 639 of file ~/.config/fish/functions/fisher.fish
	with parameter list '/Users/shane/.config/fisherman/gh'

in function '__fisher_update'
	called on line 257 of file ~/.config/fish/functions/fisher.fish
	with parameter list 'dickeyxxx/gh'

in function 'fisher'
	called on standard input
	with parameter list 'update dickeyxxx/gh'

This is my bad. Sorry!
I just assumed variable assignment works the same as in sh, gotta do some testing the next time
Is this fixed with #23?

it's alright, I should've tested it before merging


Remove some niche test dependencies

Description
Remove the usage of some niche test dependencies for one of the following:

Generic JSON APIs in azure-json
Basic Java code

This help reduce the overall dependency list for the SDKs.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


grpc proxy: revert backup target grpc call

https://github.com/longhorn/longhorn/issues/4076

Test result:

test_backup: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/1470/
coretest: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/1471/
full regression: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/1472/


How to use / activate?

I'm trying to get my head around how to use (activate?) this... 😈
After not seeing #30 anymore, and having discovered the Import Bazel Project command (from here),
I am setting the Project WORKSPACE location in that Import wizard, clicking Load modules, checking a module, and clicking Start import.
The VSC Window reloads, but... the imports still can't be resolved.
The Classpath Configuration (from redhat.java) is still empty.

WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
[Error - 10:42:34 PM] Feb 18, 2023, 10:42:34 PM Error occured while building workspace. Details:
 message: The import io cannot be resolved; code: 268435846; resource: .../Bek.java; line: 3
 message: The import io cannot be resolved; code: 268435846; resource: .../Bek.java; line: 4
 message: ApiClient cannot be resolved to a type; code: 16777218; resource: .../Bek.java; line: 10
 message: Config cannot be resolved; code: 570425394; resource: .../Bek.java; line: 10

The preferences mention a bef.log but I don't see one in my $HOME.

FYI if I import the same project into Eclipse using bazel-eclipse instead of VSC with this project, I'm hitting https://github.com/salesforce/issues/450.
I'm not sure that's the cause of this. It "feels" like this is not even trying to import. Or it fails too silently, without providing details such as those.

This might not be an ideal fix, but since this extension was not working for me either I've managed to resolve my imports by creating the file ./workspace.code-workspace and adding the following lines :
{
    ...
    "settings": {
        ...
        "java.project.referencedLibraries": [
            "bazel-project_name/external/maven/**/*.jar",
        ],
    }
}

see #35


Simplify partition structure

This needs to be cleaned and rebased. Do not review yet.
TODO:

[x] Handle pattern matches in type queries
[x] Unit tests
[x] Cleanup partition
[x] Reorganize commits

The recent round of comments have been addressed or replied to.


Documentation Failure? There doesn't seem to be a way to tie junction tables to Select dropdowns.

I have three models, writers, books, and events. The events table joins the other two. In the CRUD interface it is displayed as two columns with the IDs, where is logically there should a select box displaying either all the IDs or a custom field from each model/table.
Laravel's relationships handle this just fine, but there doesn't seem to be anything in the docs or the comments that indicate that this is supported.

OK, this is a little tricky to find. I actually found it by Googling a phrase instead of seeing it in the documentation, which is no the worst thing in the world.
However, my question is, is it possible to do this automatically?

Not entirely sure what you mean really.
Are you looking to just have a select menu which lets you manage entity relationships?
If so you can do this using the the select or checkbox relationships which are explained in the docs under the field type section

This is the goal yes, and I have it working after I found it in the docs. However, I'm now asking if it is possible to do some of this automatically. The relationships are already defined in the application, it knows the columns to find, it should know the table to look at and be able to automatically choose an appropriate column.
Hypothetically.

What bit of it would you want to be done automatically?
As far as I'm aware you couldn't automatically

label the field
detect which relationship to use
know which property to display as the value to pick
know what sort or relationship it is

However it already maps the relationships for you, you just have to define the field.
Are you using the Automatic from DB thing in the controller. Or defining the fields yourself? As the automatic one is just really basic and should use the full alternatives ideally

Hi @christopher-wilson , @OwenMelbz ,
Yup, that's the plan for autoSetFromDb(). It's rather difficult so I don't expect it to be ready until June-July, but I think it's possible:

when generating a model using Backpack\Generators we'll make sure

all columns are placed in "fillable";
the primary key is properly set;
the Eloquent relationships are defined, based on foreign keys and naming conventions (pivot tables are "article_tag");

=> fully accurate models

autoSetFromDB() will pick up on those and create the appropriate fields for those relationships (will be searching for some default columns to use: name, title, etc; if none found, just use the first varchar column);

That should, in theory, be possible. And I think it will speed up development for most admin panels A LOT, with zero overhead for the developer. It's one of the things that will come in the "optimizations" stage of the project, when we're done introducing new horizontal features.
Here's the github issue for it: https://github.com/Laravel-Backpack/Generators/issues/18
Cheers!


BDD tests failing against "invalid email" error message

I see several BDD tests currently failing to find the correct "invalid email" error message.
Instead of seeing "Please enter a valid email address." they see "This value should be a valid email.".  Not sure why as yet.  Somehow the form's custom error message isn't getting through?  Could be something to do with django versions, or internationalization maybe?
Python 3.4.3, Django 1.8.2.

Example failure:
Failing scenarios:
  bdd/features/invite_user.feature:23  Moderator submits invalid data to the invite user form -- @1.3

more detail:
  Scenario Outline: Moderator submits invalid data to the invite user form -- @1.3   # bdd/features/invite_user.feature:23
    Given there is a standard user in the database                                   # bdd/features/steps/common.py:10 0.001s
    And there is a moderator in the database                                         # bdd/features/steps/common.py:36 0.020s
    And I am logged in as that moderator                                             # bdd/features/steps/common.py:68 0.374s
    Given I am "a logged in moderator"                                               # bdd/features/steps/common.py:83 0.000s
    When I visit the "invite user" page                                              # bdd/features/steps/common.py:91 0.117s
    And I enter "First Last" into the "full name" field                              # bdd/features/steps/common.py:113 0.065s
    And I enter "invalidemail" into the "email" field                                # bdd/features/steps/common.py:113 0.061s
    And I submit the form                                                            # bdd/features/steps/common.py:167 0.053s
    Then I see "Please enter a valid email address."                                 # bdd/features/steps/common.py:209 3.048s
      Assertion Failed: could not find 'Please enter a valid email address.' in page body:
      example.com
      Moderators
      My Account
      Logout
      example.com
      A tagline
      Invite a New Member
      Review Membership Applications
      Review Abuse Reports
      View Logs
      Invite a New Member
      Please provide the details of the member you wish to invite. Once they have accepted your invitatation, they will be able to edit the details provided here.
      Name
      Email
      This value should be a valid email.
      Made with by nlh and contributors. Fork me on Github.

I have just pushed a fix for this - it has to do with the library (Django Parsley) that is converting the django form error messages to JS errors.  It's not working properly on email addresses, so they are showing default messages.
I have forked the repo in question and made the changes.  I am waiting on a merge, but not holding my breath :)
In the meantime, I have updated the requirements file to point the forked repo.  See: https://github.com/nlhkabu/connect/commit/fd7af147d655b329db706a9da09eae81936ee418

Nice!  Let me update that.  Other than that, I have a full set of passing BDD tests fyi :-) :guitar: :guitar: :guitar:

Cheers! :beers:

Hm, that doesn't seem to have worked...

We had some issues with pip caching yesterday.  Try running it with --ignore-installed

Seems like something magic happened overnight, all tests passing now.  :notes: everything is fixed, at the end of the sprints! :musical_note:

:dancer:


add cookbook qda page

Ref #3105

I am not sure I see the connection between extracting things and the error here, can you explain in the chat?

travis worked

All good, same list as for other cookbook on hierarchical

@karlnapf I take back my words. So the problem actually is, when I try to get the cov matrix:
RealMatrix c = qda.get_cov(classlabel)
It gives error:
/Library/Ruby/Site/2.0.0/universal-darwin14/modshogun.bundle: warning: rb_define_const: invalid name `__MAC_10_8' for constant
[ERROR] In file /Users/zora/Github/shogun/src/shogun/io/File.cpp line 71: Error opening file '../../data/classifier_4class_2d_linear_features_train.dat'
ruby/classifier/qda.rb:3:in `initialize': [ERROR] In file /Users/zora/Github/shogun/src/shogun/io/File.cpp line 71: Error opening file '../../data/classifier_4class_2d_linear_features_train.dat' (fatal)
    from ruby/classifier/qda.rb:3:in `new'
    from ruby/classifier/qda.rb:3:in `<main>'

Which I cannot understand at all.
qda.get_cov() takes int32_t and doesn't require the access to origin dataset.

Also the .sg cannot take 0? Is this the way it should be or a bug?
When I tried to do
#![extract_class_mean_and_cov]
int classlabel = 0
#![extract_class_mean_and_cov]

Syntax error in input:
on line 16
Traceback (most recent call last):
File "/Users/zora/Github/shogun/examples/meta/generator/generate.py", line 116, in
includedTargets=args.targets, storeVars=storeVars)
File "/Users/zora/Github/shogun/examples/meta/generator/generate.py", line 48, in translateExamples
ast = parse(file.read(), os.path.join(dirRelative, filename))
File "/Users/zora/Github/shogun/examples/meta/generator/parse.py", line 234, in parse
return parser.parse(programString, filePath)
File "/Users/zora/Github/shogun/examples/meta/generator/parse.py", line 32, in parse
program = self.parser.parse(programString)
File "/usr/local/lib/python2.7/site-packages/ply-3.8-py2.7.egg/ply/yacc.py", line 331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
File "/usr/local/lib/python2.7/site-packages/ply-3.8-py2.7.egg/ply/yacc.py", line 1049, in parseopt_notrack
lookahead = get_token()     # Get the next token
File "/usr/local/lib/python2.7/site-packages/ply-3.8-py2.7.egg/ply/lex.py", line 386, in token
newtok = self.lexerrorf(tok)
File "/Users/zora/Github/shogun/examples/meta/generator/parse.py", line 100, in t_error
raise TypeError("Failed to tokenize input. Unknown text on line %d '%s'" % (t.lineno, t.value,))
TypeError: Failed to tokenize input. Unknown text on line 17 '0
#![extract_class_mean_and_cov]
#![evaluate_accuracy]
MulticlassAccuracy eval()
real accuracy = eval.evaluate(labels_predict, labels_test)
#![evaluate_accuracy]
additional integration testing variables
RealVector output = labels_predict.get_labels()
'
make[3]: *** [examples/meta/CMakeFiles/meta_examples] Error 1
make[2]: *** [examples/meta/CMakeFiles/meta_examples.dir/all] Error 2
make[1]: *** [doc/cookbook/CMakeFiles/cookbook.dir/rule] Error 2
make: *** [cookbook] Error 2

Ok this needs investigation :)
Can you send me a gist with both problem illustrated, that I can put in my build and reproduce locally?
Thanks!

@karlnapf
get.cov() error (only in ruby): https://gist.github.com/OXPHOS/36a3c1f58cb657ab2f5ff86045238e6f
'0' error: https://gist.github.com/OXPHOS/4d58f4371e4e49ae8fbef16d176d8149

Ok got the error:
You constructed the QDA class with the (default) parameter store_vars=false
This means that you cannot extract covariances later.
I fixed that for you in #3220

This is a good example of "user(here you)  used shogun in a wrong way, but the error message is so cryptic that it doesnt help at all" ;)
We better make sure such a thing never happens ;)

@karlnapf Thanks! Yes I didn't think about this at all, though I did know there's a default boolean parameter...

@karlnapf Do you think we can put tolerance after store_cov, so users don't have to set tolerance to enable cov store? which one is more often used?

Feel free to send a separate patch with a new constructor for this case

Looks like you found another meta example bug ;)
I will fix it, which will make the Python build fail....

You have to use True with a capital T for the Python example to work

@karlnapf Only find a chapter that talks about LDA. Also, clicking the ref [Bar12]  links to knn page (So does Gaussian Naive Bayes page). Any way to solve it?

It is very closely related, that is why you can link to LDA as well.
Maybe also put this as a reference: https://en.wikipedia.org/wiki/Quadratic_classifier
You can also get inspiration in the description

Travis successfully executed the integration test https://travis-ci.org/shogun-toolbox/shogun/jobs/134037852#L3976
merging


#733 Add support for configuration objects

Description
Currently @Value is the only way to easily inject configuration values. While this previously made sense as this would only support basic types (Strings, Collections, and primitives), #731 introduced support for complex configuration types.
This PR adds a new explicit configuration stereotype for @Component, to allow the instance to be created based on configuration values through the PropertyHolder. If the instance already exists when the component processor is entered, the existing instance will be updated, instead of being replaced with a new instance (even if the processing phase technically permits it).
Fixes #733
Type of change

[x] New feature (non-breaking change that does affect the code)

How Has This Been Tested?

[x] Unit testing

Checklist:

[x] I have performed a self-review of my own code
[x] I have added tests that prove it is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Related issue number is linked in pull request title

Dependency check failure due to outage of external service. As no dependencies changed in this PR I'll ignore it and merge


newSubscription() creating two subscriptions

I am not doing anything different to the documentation but for reason every time i call newSubscription() I am getting two subscriptions created in both my database and stripe subscriptions.
My code is simply this:
$user->newSubscription($membershipPlan->title, $membershipPlan->stripe_id)->create($stripeToken);
I am on local host just using test details, could it be some sort of timeout issue?
I am pulling my hair out, i've never had this issue before. Any help would be very much appreciated.

What is your Cashier and Laravel version? Also, can you paste the entire method?

Closing this issue because it's already solved, old or not relevant anymore. Feel free to reply if you're still experiencing this issue.


Threads

I was thinking about trying to add threading support to the library, are you interested in this if I do so? Would be really nice to be able to thread messages properly, especially when using this in the context of automated outbound notifications (to slack) and automated responses to these notifications (also to slack).
Have you explored this at all? Looks like it would be doable as it's all optional.

Thanks @eklein. I haven't explored threads yet. I'm not sure if it's supported via webhooks. If you can send a PR or so, I would love to have that integrated in here <3

@eklein, sadly webhooks are a naïve implementation which don't support threads (they just blindly post); it would need to be implemented in the Web API (or RTM API if using a bot) as per https://api.slack.com/docs/message-threading.
The closest thing would be message buttons, which use a combination of the outgoing and incoming webhooks (you supply the glue) and pass a callback_id, along with the message_ts ID.

FYI - I ended up using the RTM API for this ages ago.. apologies for not posting something back here.


configparser version 3.3.0.post2 doesn't exist in pipy

Looks like there is no such version as 3.3.0.post2 for configparser. 3.5.0 is the latest version.

Should be fixed with #24


Add go-cf-api POC repos

Proposal doc (problem statement and different solution proposals):
https://docs.google.com/document/d/1DTYjYcQy0fzJlf7VvfWikTLnPm_kp9BCp8v-Xiw-Wk0/edit?usp=sharing

The repos contains a POC. We want to keep them (at least) as a reference for performance and load tests.
This PR adds them to the CAPI area. An alternative would be a separate CAPI-POC area.
The repos started in cloudfoundry-incubator, moved then to cloudfoundry and are now part of the Cloudfoundry Orphaned list.

@Gerg and @sethboyles : Any opinion if and how to add the POC repos to the WG?
There is meanwhile an RFC proposal on mgmt of repo ownership. The two POC repos belong to the subset of active, unmanaged repos. Active in the sense they are not archived, not in the sense that they are under active development.
As mentioned, we (capi approvers and contributors from SAP) want to keep them (at least) as a reference for performance and load tests until it is clear if the envisioned CAPI performance can be reached with Ruby (with suggested improvements like Ruby 3, Puma, incremental perf improvements, query optimization ...).

@sethboyles noticed that they are currently assigned to this WG in cloudfoundry.yml: https://github.com/cloudfoundry/community/blob/c4e233cc4bdccaff573c47752e942089ada6bfbe/org/cloudfoundry.yml#L2945-L2946

Removed the whitespace changes that got applied by my editor automatically.

Requested TOC review as per proposed RFC: Process for repository ownership changes.


Auth header not being attached to rate request?

Got one more for you, more serious this time.
I'm getting this exception when trying to get a rate request:
[Wed Mar 18 03:38:09.809335 2015] [:error] [pid 21867] [client <IP_ADDRESS>:16522]
 exception 'flydreamers\\shipwire\\exceptions\\InvalidAuthorizationException' with m
essage 'Please include a valid Authorization header (Basic)' in /home/reuben/konekt-
rest-api/vendor/flydreamers/shipwire-api/ShipwireConnector.php:145\nStack trace:\n#0
 /home/reuben/konekt-rest-api/vendor/flydreamers/shipwire-api/base/ShipwireComponent
.php(64): flydreamers\\shipwire\\ShipwireConnector->api('rate', Array, 'POST', '{"op

This is basically the code:
$rate = new \flydreamers\shipwire\Rate;
$shippinginfo = $rate->quote($shipwireaddress, $items, $options);

Actually this might be an issue on the shipwire side. I can't login to their sandbox website either. I'll investigate further.

I was confused. Closing this.


Can't run the electron app, node version compile error

Summary of Problem
(Please answer all 3)

What are you trying to do? Run my electron app
What happens? errors
What should have happened? run my app

An error occured when I run my electron app. Since last day, it fine(I was install the serialport with an old version<EMAIL_ADDRESS>, my app works fine, and I update the<EMAIL_ADDRESS>and reinstall packages, then meet anther prebuild error show that it can't find the compile version, and then I reinstall the<EMAIL_ADDRESS>and reinstall all the packages, it become failed). I've tried such as reinstall all the modules reinstall<EMAIL_ADDRESS>, delete package-lock.json , clean cache, npm rebuild and rebuild electron and so on , but nothing changed.
Versions, Operating System and Hardware

SerialPort@?
Node.js v?
Windows? Linux? Mac?
Hardware and chipset? (Prolific/FTDI/Other)

  "devDependencies": {
    "@serialport/bindings": "^9.0.1",
    "electron": "^11.0.1",
    "electron-rebuild": "^2.3.2",
    "serialport": "^9.0.2"
  },
  "dependencies": {
  }

node : v10.23.0
npm: 6.14.8
windows
error info
App threw an error during load
Error: The module<EMAIL_ADDRESS>was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 85. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5:1812)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12694)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (internal/modules/cjs/helpers.js:72:18)
at bindings (D:\workspace\warn-app\node_modules\bindings\bindings.js:112:48)
at Object. (D:\workspace\warn-app\node_modules\serialport\node_modules@serialport\bindings\lib\win32.js:1:36)
D:\workspace\warn-app\node_modules\electron\dist\electron.exe exited with signal SIGINT

It seems your 'electron' version and 'abi' version comflict.
check your 'electron' version was:
eg:$./node_modules/.bin/electron -v
v5.0.1
and check your electron abi was:
eg:$./node_modules/.bin/electron -a
70
the abi 70 's nodejs is 12.18.4
reinstall your node and then use command to rebuild serialport by yourself：
npm install -g node-gyp
cd ./node_modules/@serialport/bindings
node-gyp rebuild --target=5.0.1 --arch=x64 --dist-url=https://atom.io/download/electron.
hope these informations can help you！

It seems your 'electron' version and 'abi' version comflict.
check your 'electron' version was:
eg:$./node_modules/.bin/electron -v
v5.0.1
and check your electron abi was:
eg:$./node_modules/.bin/electron -a
70
the abi 70 's nodejs is 12.18.4
reinstall your node and then use command to rebuild serialport by yourself：
npm install -g node-gyp
cd ./node_modules/@serialport/bindings
node-gyp rebuild --target=5.0.1 --arch=x64 --dist-url=https://atom.io/download/electron.
hope these informations can help you！

It works ! Thank you very much !!!!

please close this issue。


When a federated cluster endpoint is updated, federation controller manager still uses old endpoint

 Issue by saturnism
Wednesday Nov 16, 2016 at 22:34 GMT
Originally opened as https://github.com/kubernetes/kubernetes/issues/36921

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG
Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.1", GitCommit:"33cf7b9acbb2cb7c9c72a10d6636321fb180b159", GitTreeState:"clean", BuildDate:"2016-10-10T18:19:49Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:32:42Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Environment: OSX, GKE

Cloud provider or hardware configuration: GKE
OS (e.g. from /etc/os-release): GKE
Kernel (e.g. uname -a): GKE
Install tools: GKE
Others:

What happened:
I added a cluster into federation, say, "cluster-1", w/ an endpoint address, e.g. http://<IP_ADDRESS>. I later deleted cluster-1 and also the secret. I then re-added cluster-1 back, but now, with a new endpoint, e.g., http://<IP_ADDRESS>. The federation server shows cluster-1 is healthy, but in the logs, there is a repeating error on unable to connect to the old endpoint, http://<IP_ADDRESS>.
What you expected to happen:
Federation controller manager should use the new endpoint
How to reproduce it (as minimally and precisely as possible):

Add a cluster to federation, name it cluster-1
Delete the cluster from federation
Add a new cluster to federation, w/ a different API server, and name it cluster-1 as well
Observe the error

Anything else do we need to know:

 Comment by saturnism
Wednesday Nov 16, 2016 at 22:35 GMT

/cc @quinton-hoole

 Comment by quinton-hoole
Thursday Nov 17, 2016 at 00:01 GMT

cc @jianhuiz

 Comment by henriquetruta
Wednesday Apr 19, 2017 at 13:12 GMT

Executed this here with a 1.5.6 federated cluster in GKE, added a local cluster with kubectl create -f cluster_file, deleted it, and then recreated it with another IP. It worked as expected. It was looking for the new IP, instead of the old one. @saturnism did I do something wrong?

cc @saturnism


CorruptionTest.MissingDescriptor fails on Ubuntu 11.04 w/ snappy in release mode

A specific combination of factors causes corruption_test to consistently fail:
* Ubuntu 11.04 (test passes on OS X)
* leveldb r34 (test passes on r33 with or without snappy)
* snappy enabled (test passes with snappy disabled)
* optimized build (removing -DNDEBUG from the build causes the test to pass)

The Makefile patch from issue 15 was applied in order to build.

Here is the output:

==== Test CorruptionTest.Recovery
expected=100..100; got=100; bad_keys=0; bad_values=0; missed=0
expected=36..36; got=36; bad_keys=0; bad_values=0; missed=64
==== Test CorruptionTest.RecoverWriteError
==== Test CorruptionTest.NewFileErrorDuringWrite
==== Test CorruptionTest.TableFile
expected=99..99; got=99; bad_keys=0; bad_values=1; missed=0
==== Test CorruptionTest.TableFileIndexData
expected=5000..9999; got=7953; bad_keys=0; bad_values=0; missed=5
==== Test CorruptionTest.MissingDescriptor
expected=1000..1000; got=995; bad_keys=0; bad_values=0; missed=5
db/corruption_test.cc:114: failed: 1000 <= 995

Let me know if I can provide more context to help with a repro.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 29 Jun 2011 at 11:39

Can you include me your build_config.mk file that is generated when running $
make?

Original comment by<EMAIL_ADDRESS>on 29 Jun 2011 at 10:09

Changed state: Accepted

Directory listing of /tmp/leveldbtest-501/db_test, archive attached.

db_test/:
000004.sst  000006.log  CURRENT  LOCK  LOG  LOG.old  lost  MANIFEST-000005

db_test/lost:
000003.log  MANIFEST-000002

Original comment by<EMAIL_ADDRESS>on 30 Jun 2011 at 4:50
Attachments:

db_test.tgz

Ubuntu Server 11.04 on an x86_64 server with GCC 4.5.2. GCC ≥ 4.5.0 renames
<cstdatomic> to <atomic>. If I replace #include <cstdatomic> with a conditional
include (comment 7 in issue 3) the build uses c++0x and the problem still
occurs (build_config.mk attached).

Original comment by<EMAIL_ADDRESS>on 30 Jun 2011 at 7:18
Attachments:

build_config.mk

Generated build_config.mk attached.

Original comment by<EMAIL_ADDRESS>on 30 Jun 2011 at 4:52
Attachments:

build_config.mk

What kind of machine and operating system is this on? What's your version of
GCC?

It looks like you're building this on a machine without <cstdatomic>, so my
guess is that something in port/atomic_pointer.h must be going wrong.

Original comment by<EMAIL_ADDRESS>on 30 Jun 2011 at 6:48

Verified fixed in r36, thanks!

Original comment by<EMAIL_ADDRESS>on 1 Jul 2011 at 12:44

Fixed in revision 36 - can you verify?

Original comment by<EMAIL_ADDRESS>on 30 Jun 2011 at 11:18

Changed state: Fixed


chore(Makefile): tweak for GOFLAGS config

What this PR does / why we need it:

tweak for GOFLAGS config in Makefile
update API docs to latest

Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @simon-cj @gaocegege

Release note:

NONE

/lgtm


Bumped requirements.txt based on working with changes to agnosticd

I also needed to manually install the below requirements.yml.
ansible-galaxy install -r ${AGNOSTICD_HOME}/ansible/configs/ocp4-cluster/requirements.yml
I suspect something isn't right with using virtualenvs and https://github.com/redhat-cop/agnosticd/blob/9a1b2ed82727a69f3258841ff9eeaaa97b0cb292/ansible/setup_runtime.yml
I only tested with:

create_ocp4_workshop.sh
delete_ocp4_workshop.sh

I was under impression there was an issue with ocp3 and I did NOT test ocp3.

We may want to consider going to this larger upgrade of Ansible if we want to quiet some of the CVE alerts such as:  https://github.com/konveyor/mig-agnosticd/security/dependabot/4

This needs a rebase, but hoping to address it in https://github.com/konveyor/mig-agnosticd/pull/200
Running through a couple test deployments and assuming they're good I'll close this and we can merge the other.

Closing, will address with https://github.com/konveyor/mig-agnosticd/pull/200


cull superfluous peerDependencies

as discussed over in #7  ...

reduce peerDeps down to just eslint-config-standard (bare essentials)

no need to specify peerDeps that are already specified as peerDeps by eslint-config-standard

Thanks! published as 5.0.1

Thanks again @jokeyrhyme! I added you as a collaborator and an npm publisher.

/bow <3


Added support for conditional access policies

Issue-id
PR Checklist

[x] I have added example(s) inside the [./examples/] folder
[ ] I have added the example(s) to the integration test list for normal (~30 minutes) or long runner >30 minutes
[x] I have checked the coding conventions as per the wiki
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?

Description

Added support for the azuread_conditional_access_policy resource
Does this introduce a breaking change

[x] YES
[] NO

Requires azuread provider version > 2.2.1

Testing

In the example 2 different CA policies are defined which could be deployed.

Thanks @JvHd-vw. Will include your PR within our graph upgrade activities


KOGITO-8280: preserve JSON properties that aren't defined as target for marshalling

@romartin possible fix

@handreyrc can you please review this? Thx in advance!

Hi @treblereel @romartin,
I tested the changes and It works, however, I have some concerns about having a post-deserialiser/serializer to merge the parsed object retrieved from the marshallers with the "original" content.

The merge process does not take into account the declaration order of properties. After reloading the JSON, undefined properties are forced to the bottom resulting in a different JSON even if no changes are made. It may be an inconvenience for the user otherwise somehow we may have to deal with it before presenting the reloaded JSON to the user again.
Lets suppose that in the future, for some reason, we have some implementation that removes or replaces some specific property. These properties would come back to the final JSON after the merging process?

IMO we should consider dealling with the undefined properties in the parse process itself instead of using a post processing approach. This way the workflow object is always the latest, no need to merge properties.
WDYT?

Hi @treblereel @romartin,
I tested the changes and It works, however, I have some concerns about having a post-deserialiser/serializer to merge the parsed object retrieved from the marshallers with the "original" content.

The merge process does not take into account the declaration order of properties. After reloading the JSON, undefined properties are forced to the bottom resulting in a different JSON even if no changes are made. It may be an inconvenience for the user otherwise somehow we may have to deal with it before presenting the reloaded JSON to the user again.
Lets suppose that in the future, for some reason, we have some implementation that removes or replaces some specific property. These properties would come back to the final JSON after the merging process?

IMO we should consider dealing with the undefined properties in the parse process itself instead of using a post processing approach. This way the workflow object is always the latest, no need to merge properties.
WDYT?

Thanks for your review, i have never saw such requirement, but it's exist, we should definitely file an issue.

Hey @treblereel,
I undertand your point. Anyway we can do those improvements in a new JIRA.
So I'm approving this PR.
Thanks for your work here!

Approved!!
Thanks

From my point of view, each property must be defined in the corresponding definition, but as I understand, specs arent finished yet.


Rename db.operation to db.operation.name for future proofing

This will give us the chance to add more attributes under the db.operation.* namespace post-stabilization.
In particular, @lmolkova's https://github.com/open-telemetry/semantic-conventions/pull/875#issuecomment-2038034089:

I think we might entertain the idea of db.operation.duration metric (and it might still be an open question for messaging metrics since operation list is an open set).
In case of databases, we have a precedent when CosmosDB records operation name (e.g. ReadItems)  along with db.cosmosdb.operation_type (e.g. Read). We might want to generalize at some point.
If we translated it to messaging, we'd do something like messaging.operation.type = settle, messaging.operation.name = ack.

and https://github.com/open-telemetry/semantic-conventions/pull/875#issuecomment-2038050927:

Also, graphql has operation.name and operation.type - https://github.com/open-telemetry/semantic-conventions/blob/main/docs/graphql/graphql-spans.md

Done in #875.


Use absolute url for wix-storage strategy

For calls being made to '/_api/wix-user-preferences-webap, please use an absolute url (https://www.wix.com/_api/wix-user-preferences-webap)
Currently we have a problem that we configured axios's baseUrl configured to be something else, so data-capsule fails as it tries to reach our servers instead of the main wix.

In https://github.com/wix/data-capsule/pull/43 agreed that this is not needed.


Tag without child-elements (e.g. missing data) breaks schema

Hi,
(I think) I've found an issue with how schema is handled in cases where the tag can be both with and without children. I'm using the latest version 0.4.1 on 2.11 w/Spark 2.3.1.
When I try to read a XML file that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<container>
  <item>
     <title><![CDATA[ ..... ]]></title>
     <link><![CDATA[ ...... ]]></link>
     <guid isPermaLink="false">1203060</guid>
     <pubDate>Wed, 01 Aug 2018 18:42:00 +0200</pubDate>
     <modifiedDate>Wed, 01 Aug 2018 18:42:00 +0200</modifiedDate>
     <category><![CDATA[ ... ]]></category>
     <description><![CDATA[ ...... ]]></description>
     <authors>
        <author>
           <id>22</id>
           <name><![CDATA[ ..... ]]></name>
           <mail><![CDATA[ ..... ]]></mail>
        </author>
     </authors>
     <category><![CDATA[ ..... ]]></category>

<![CDATA[ ..... ]]>

     <paid>false</paid>
     <topics />
     <relatedArticles />
     <enclosure url=" ..... " type="image/jpeg" length="82066" />
  </item>
   <item>
      <title><![CDATA[.....]]></title>
      <link><![CDATA[......]]></link>
      <guid isPermaLink="false">1203060</guid>
      <pubDate>Wed, 01 Aug 2018 18:42:00 +0200</pubDate>
      <modifiedDate>Wed, 01 Aug 2018 18:42:00 +0200</modifiedDate>
      <category><![CDATA[...]]></category>
      <description><![CDATA[......]]></description>
      <authors>
         <author>
            <id>22</id>
            <name><![CDATA[.....]]></name>
            <mail><![CDATA[.....]]></mail>
         </author>
      </authors>
      <category><![CDATA[.....]]></category>

<![CDATA[.....]]>

      <paid>false</paid>
      <topics>
         <topic>
            <id>887</id>
            <name><![CDATA[ .... ]]></name>
         </topic>
         <topic>
            <id>1657</id>
            <name><![CDATA[ .... ]]></name>
         </topic>
      </topics>
      <relatedArticles />
      <enclosure url=" ..... " type="image/jpeg" length="82066" />
   </item>
</container>

Like this:
spark.read.format("com.databricks.spark.xml").option("mode", "FAILFAST").option("rowTag", "item").load("path-to-file)
I get out a schema that looks like this:
root
 |-- authors: struct (nullable = true)
 |    |-- author: array (nullable = true)
 |    |    |-- element: struct (containsNull = true)
 |    |    |    |-- id: long (nullable = true)
 |    |    |    |-- mail: string (nullable = true)
 |    |    |    |-- name: string (nullable = true)
 |-- category: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- description: string (nullable = true)
 |-- enclosure: struct (nullable = true)
 |    |-- _VALUE: string (nullable = true)
 |    |-- _length: long (nullable = true)
 |    |-- _type: string (nullable = true)
 |    |-- _url: string (nullable = true)
 |-- link: string (nullable = true)
 |-- modifiedDate: string (nullable = true)
 |-- paid: boolean (nullable = true)
 |-- pubDate: string (nullable = true)
 |-- relatedArticles: struct (nullable = true)
 |    |-- item: array (nullable = true)
 |    |    |-- element: struct (containsNull = true)
 |    |    |    |-- id: long (nullable = true)
 |    |    |    |-- title: string (nullable = true)
 |-- section: string (nullable = true)
 |-- summary: string (nullable = true)
 |-- title: string (nullable = true)
 |-- topics: struct (nullable = true)
 |    |-- topic: array (nullable = true)
 |    |    |-- element: struct (containsNull = true)
 |    |    |    |-- id: long (nullable = true)
 |    |    |    |-- name: string (nullable = true)
 |-- SymfonyID: string (nullable = true)

But when I try to do something on the file (e.g. show the topics column), I get informed that the file is malformed (java.lang.RuntimeException: Malformed line in FAILFAST mode) on the first record, where the topics-tag is empty.
Am I doing something wrong, or is this a bug in spark-xml?

This succeeds in master right now, and the topics column in null in the first row. It was likely subsequently fixed. (Note that this behavior should change in https://github.com/databricks/spark-xml/pull/355 to give you an empty struct there instead.)


[READY] GH-1 Adds a basic search endpoint

Refers to issue GH-1 API for search books by name or description

🟢 adds a simple unit test to validate that search endpoint returns Status: 200 OK
🟢 adds a simple test for empty search results when no results are available
🟢 adds repository tests
🟢 adds integration tests for search match and no match use cases
🟢 adds service test for empty search results

@sivaprasadreddy this PR is ready for review. (I know it is slightly longer than ideal :( )
Once merged, I can open another PR to do some refactoring and restructing as discussed in forum to follow DDD (if needed)

@sivaprasadreddy review comments have been implemented. And, wish you a happy new year ✨

@sivaprasadreddy / @rajadilipkolli are there any other comments? Is this good to merge ?

@sivaprasadreddy / @rajadilipkolli are there any other comments? Is this good to merge ?

Yes, Good to merge.


Quick fixes about page

📝 Changed routes:

/about

(view full size)

Commit 1fc844a48f1f9768616e0c83ed6c7f739ad5aa3a (https://thirdweb-l3whnl6p5.thirdweb-preview.com).


Add ovs libvirt tests

run skydive-cdd-overview-tests

run skydive-cdd-overview-tests

run skydive-cdd-overview-tests