Handle non-existant tag category id when importing a service dialog

Importing a Service Dialog with a Tag Control element will fail if the Tag Category ID has changed (e.g. when importing into a different region or when the tag category has been deleted and recreated).
There is no indication of failure in the UI, but a backtrace is generated in the logs
[----] F, [2018-03-27T15:01:04.983489 #2798:2af9b7ad40f4] FATAL -- : Error caught: [ActiveRecord::RecordNotFound] Couldn't find Category with 'id'=173 [WHERE "classifications"."parent_id" = $1]
/home/bevans/.gem/ruby/2.3.5/gems/activerecord-5.0.6/lib/active_record/relation/finder_methods.rb:353:in `raise_record_not_found_exception!'
/home/bevans/.gem/ruby/2.3.5/gems/activerecord-5.0.6/lib/active_record/relation/finder_methods.rb:479:in `find_one'
/home/bevans/.gem/ruby/2.3.5/gems/activerecord-5.0.6/lib/active_record/relation/finder_methods.rb:458:in `find_with_ids'
/home/bevans/.gem/ruby/2.3.5/gems/activerecord-5.0.6/lib/active_record/relation/finder_methods.rb:66:in `find'
/home/bevans/.gem/ruby/2.3.5/gems/activerecord-5.0.6/lib/active_record/querying.rb:3:in `find'
/home/bevans/.gem/ruby/2.3.5/gems/activerecord-5.0.6/lib/active_record/core.rb:151:in `find'
/home/bevans/my-repos/manageiq/app/models/dialog_field_importer.rb:40:in `adjust_category'
/home/bevans/my-repos/manageiq/app/models/dialog_field_importer.rb:34:in `set_category_for_tag_control'
/home/bevans/my-repos/manageiq/app/models/dialog_field_importer.rb:17:in `import_field'
/home/bevans/my-repos/manageiq/lib/services/dialog_import_service.rb:84:in `block in build_dialog_fields'

This PR captures the error condition and looks for the tag category using the name instead of the ID.
Steps for Testing/QA

Create a Tag Category and add a couple of values
Create a Service Dialog with a Tag Control Element using the previously created category
Export the Service Dialog
Delete the Service Dialog created in step 3
Delete the Tag Category created in step 1
Recreate the Tag Category, ensuring that the name and description are exactly the same as in step 1
Import the Service Dialog
7a. Without this PR the import fails with no error for the user
7b. With this PR the import succeeds and the Service Dialog Tag Control Element has the category assigned

@eclarizio re: find_by_name. In this case the rubocop issue is spurious. The find_by_name method is a defined method of Classification (https://github.com/ManageIQ/manageiq/blob/master/app/models/classification.rb#L335-L338) and can't be replaced by the more generic find_by.
I'll work on making the other changes requested.

@eclarizio Can you help me with adding the new tests and refactoring the test cases?
Some of the test cases are failing and it is due to variables not being set, but I'm not seeing why they are not being set.
The test snippet:
      context "when the import file contains a category_id" do
        before do
          @existing_category = Category.create!(:name => "best_category", :description => "best_category")
        end

        let(:options) do
          {
            :category_id          => @existing_category.id,
            :category_name        => @existing_category.name,
            :category_description => @existing_category.description
          }
        end

...

        context "when the category_id does not match an existing category" do
          let(:category_id) { 1_234_567 }

...

          context "when the category_name does not match the existing category" do
            let(:category_name) { "worst_category" }

            it "returns nil" do
              pp dialog_field
              dialog_field_importer.import_field(dialog_field)
              expect(DialogFieldTagControl.first.category).to eq(nil)
            end
          end
        end
      end

The when the category_name does not match the existing category test is failing. I added a pp to the test to see what values dialog_field contains and found that the category_id and category_name are not being overridden by the let statements.
{"type"=>"DialogFieldTagControl",
 "name"=>"Something",
 "label"=>"Something else",
 "resource_action"=>
  {"ae_namespace"=>"Customer/Sample",
   "ae_class"=>"Methods",
   "ae_instance"=>"Testing"},
 "options"=>
  {:category_id=>6000000000151,
   :category_name=>"best_category",
   :category_description=>"best_category"},
 "dialog_field_responders"=>["foo_that_gets_ignored"]}

Any help or pointers you can give me would be greatly appreciated.

@branic I wrote some of this on gitter but I'll put it here as well. It looks like in the options hash you passed in the @existing_category stuff instead of the lets that you defined.
The options hash I'm guessing is being used by the dialog_field in question to be imported. The @existing_category is only there so that something exists in the database to potentially find.
The options hash should probably look like this:
let(:options) do
  {
    :category_id => category_id,
    :category_name => category_name,
    :category_description => category_description
  }
end

Then you would adjust those three parameters with lets in each context. Sometimes they'll match the @existing_category, and sometimes they won't, depending on what you need to test, for example in the contexts you've provided above, the ID could be set to @existing_category.id + 1 just in case for some random reason the @existing_category that gets created has its ID set to 1,234,567. The category_name is fine.
For the context of "when the category id matches the existing category", that's where your let would look like:
let(:category_id) { @existing_category.id }
Then when dialog_field.options gets evaluated, it would use the proper category_id.

@branic I think this fixes https://bugzilla.redhat.com/show_bug.cgi?id=1566266

@d-m-u You are correct. This PR does fix that bug.

@gmcculloug please review 🌵

Thanks @branic.  You can safely ignore the find_by_name warning as the Classification model exposes that method, it is not using the Rails dynamic finder logic.
I would just ask that you squash the commits and then I think we are good.

@gmcculloug Thanks. I've squashed the commits.

@miq-bot add_label blocker

Gaprindashvili backport details:
$ git log -1
commit a243a24507e5217237b7c85422e5a625dd84567d
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Mon Apr 16 16:32:43 2018 -0400

    Merge pull request #17237 from branic/service_dialog_import_tag_category_id

    Handle non-existant tag category id when importing a service dialog
    (cherry picked from commit 7c2ef9c5ed0465560607f6d1b1737c0fca493659)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1568156


Link Title in Existing Reports and arrange by Date

Let's update this DT::datatable so:

[x] arrange(desc(date))
[x] use link to make title a true link to a new tab Some Title; be sure to use escape = F to enable HTML in output of datatable

Code
Here's the code to update:
https://github.com/marineenergy/apps/blob/583785de8f622b6882d2d3434660a11dd913a36f/reports-v2/server.R#L393-L396
Note that get_rpts_tbl() is a polling function that returns a data.frame, so you can go (ie %>%...) from there.
RStudio environment
Please choose:

Project: apps_dev from RStudio:

Branch: reports-v2:

Run/Debug Shiny app
The reports-v2 there is visible via:

https://shiny.marineenergy.app/reports-v2-dev/

OR debug by opening global.R, ui.R or server.R and clicking Run App:

Sorry @cdobbelaere, giving a demo in 10 min and wanted to show this feature so went ahead with fix in a68dd1e

Hi @bbest, no worries - what tasks should I work on instead? Or should I just work on familiarizing myself with the environment?


Issue 2832

@nisanharamati some of these tests (most) need names. do you have suggestions?

From watching the tests, it seems that the unit test jobs build everything and would end up covering the build option. So we could drop the build step.


Create project and post page

Create dedicated pages for projects and posts

Closed with the following commits:
Add dedicated /posts page
Add dedicated /projects page
Link to dedicated post/project pages from homepage headers
Add links to projects and posts to nav bar


Unused resources / stuck progress

Hi,
Having some spare time, I decided to test your project on hardware with 416CPU and 11TB of RAM memory.
So far, the setting "-k 512 / -n 0x4000000000000" has gone quite smoothly, which showed the result of 3 Ekeys / s<PHONE_NUMBER>685192864 keys / s), but it is still a small part of the available memory. At the moment I am trying "-k 2048 / -n 0x4000000000000", but it's been 24 hours since the start and the system is stuck at 49%:

While I checked before - it is from 413 available CPUs - only number 11 had 100% consumption, so now I can see that no one is working on anything. The process list also shows that resources are still available ... So what's wrong?
Over what configuration by. Will you be the most effective for such equipment? -k -n -t?

Same

And since I fixed htop - I also add htop screenshot

Hi, thanks for testing, yes there are some bug with high values of RAM.
At the beginning i think that this was related to the mutex to construct the bloom filter with a high number of threads but seems that is another bug.
I will try to figure how to resolve this asap.
Best regards!

Sure. Thanks. I stopped last operation due to try other options.
After decrease threads - other option processing as on screen:

Why this bug is present.
The bloom filter generation need to have some mutex to support multi thread access. That mutex make that the threads don't use the 100% of the CPU, the first 5% of the bPtable generation is more slow because it is generating 2 bloomfilter at the same time, after that percentage the speed will be near to the 100% of the CPU.
I just add some changes to the code to have a better control over the multithread switching in the bP Table generation, once that I finish some basic test i will publish the code just to see if the bug is solved.

So what's wrong?

There was a bug

Over what configuration by. Will you be the most effective for such equipment? -k -n -t?

Well the number of threads is the recommended the number of threads that you core support. But with your 416CPU im not sure, maybe will be a good idea set the -t number upto 416 minus one or two just to keep some for OS multithread switching but it is upto you.
About the values for k and n , I see that you already found some value that fill 8 Terabytes of RAM ( -n 0x100000000000000 -k 8192 )
Maybe you want to test some experimental value of K like 10240 or 9216 but those values (not exact 2^X values) have some bugs in the past, see the https://github.com/albertobsd/keyhunt/issues/130 as a reference, I'm solving those bugs when the users report it, I want that the users can use any value of K, so if you use those values make some publickey to test speed and hits.
Once that the bug of 49% will be solved is recommended to you use the -S option to generate the files related to your bPTable just to read it on the fly without needed of generate the Table again.
But the problem is that the generated 3 files together are the same length of RAM usage, so make sure to have available the same 8 or 11 TB in disk storage to save the files.

And since I fixed htop - I also add htop screenshot

What speed do you have with that parameters?

@Farizov I didn't make it to the end of loading. Today was an update + the fact that I did not set -S and did not provide enough disk space caused that today I restarted with the parameter -k 65536 and -n 0x4000000000000. It loads very slowly but you can see something is happening. I also set -t 208. So far from 4 hours:
Bloom filter for<PHONE_NUMBER>552 elements : 7537996.50 MB
Bloom filter for<PHONE_NUMBER>78 elements : 376899.83 MB
Allocating 1677721.00 MB for<PHONE_NUMBER>78 bP Points
processing<PHONE_NUMBER>/2199023255552 bP points : 0%
So far, I have managed the most 3 Ekeys / s<PHONE_NUMBER>685192864) with the parameter -k 512 -n 0x4000000000000 which is far behind the available RAM resource. Well ... I will have to wait ... I hope that 5% will actually go smoothly.

@Farizov I didn't make it to the end of loading. Today was an update + the fact that I did not set -S and did not provide enough disk space caused that today I restarted with the parameter -k 65536 and -n 0x4000000000000. It loads very slowly but you can see something is happening. I also set -t 208. So far from 4 hours:
Bloom filter for<PHONE_NUMBER>552 elements : 7537996.50 MB Bloom filter for<PHONE_NUMBER>78 elements : 376899.83 MB Allocating 1677721.00 MB for<PHONE_NUMBER>78 bP Points processing<PHONE_NUMBER>/2199023255552 bP points : 0%
So far, I have managed the most 3 Ekeys / s<PHONE_NUMBER>685192864) with the parameter -k 512 -n 0x4000000000000 which is far behind the available RAM resource. Well ... I will have to wait ... I hope that 5% will actually go smoothly.

Yeap, 3 Ekeys looks like nothing for the resources you have.
I've got almost ~4 Ekeys with -k 7168:

Anyhow, If you don't mind, keep us updating what max speed you'll get... just curious to see this giant figures ).

not sure but i guess his ram is DDR3 and CPU also perhaps from old Xeon generation, so in real world comparison i guess perhaps he will hardly get 18 to 22 Ekeys. but if he got modern DDR4 and newest generation CPUs he can break 100Ekeys.

Allocating 1677721.00 MB for<PHONE_NUMBER>78 bP Points

Well I'm thinking in make some changes to this, time ago at the beginning of this project i just figure how to reduce the size of the bPtable up to the 5% of his original size the trick was implement one second bloom filter.

Bloom filter for<PHONE_NUMBER>78 elements : 376899.83 MB

This one, without it the size of the bP Table will be 20 times bigger, but now seeing the big amount of memory for your bP Table (~1.5 Terabytes) i think that i will add a third bloom filter.
So instead of a bP table of 1.5 Terabytes it will be a third bloom filter of 19 GB and his bP table of just 72 GB, this is only 91 GB instead of that 1.5 Terabytes
This will help a lot because you will get more space for the main bloom filter, each item in the bloom filter is about 28 bits.
But indeed I can extent this trick of chained bloom filters at infinitum but what is the optimal number? How this affect the overall performance?

not sure but i guess his ram is DDR3 and CPU also perhaps from old Xeon generation, so in real world comparison i guess perhaps he will hardly get 18 to 22 Ekeys. but if he got modern DDR4 and newest generation CPUs he can break 100Ekeys.

I was talking with @iceland2k14 and we estimate some speed  around the 32 to 64 Exakeys/s, but that was just a fast calculations real calculations need CPU Clock and RAM speed and i don't know much about the hardware specs
Regards!

Just checked as following version: https://github.com/233m/keyhunt.git

Just checked as following version: https://github.com/233m/keyhunt.git

I don't know what is your point, that speed is incorrect, is WRONG for that version with that K value, please READ THE README.
if you exceed the Max value of K the program can have a unknow behavior, the program can have a suboptimal performance, or in the wrong cases you can missing some hits and have an incorrect SPEED.
For the default N value the maximum K value is 4096.

In the last commit https://github.com/albertobsd/keyhunt/commit/338184301c155ba2d07bb6259f05f88543ca0a53 I added the 3rd bloom filter, this Bloom filter save 20% of RAM, also I change a little the Thread synchronizations for the bPtable Construction (3 bloom filters and  bPtable).
@ZielarSRC Those changes will help to fill more faster the 11 TB of RAM also now you an chose any K value even values like -k 1337 or something else.
Regards!


Strategy Help

Note: for support questions, please join our Discord server

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Action taken (what you did)

`
// helpers
var _ = require('lodash');
var log = require('../core/log.js');
//var config = require('../core/util.js').getConfig();
//var settings = config.buyatsellat;
// let's create our own method
var method = {};
// prepare everything our method needs
method.init = function() {
this.name = 'BASA';
this.previousAction = this.settings.init.prev_action;
this.previousActionPrice = this.settings.init.price_action;
this.requiredHistory = 0;
}
// What happens on every new candle?
method.update = function(candle) {
//log.debug('in update');
}
// for debugging purposes log the last
// calculated parameters.
method.log = function(candle) {
//log.debug(this.previousAction)
}
method.check = function(candle) {
const buyat =  1 + (this.settings.tresholds.but_at / 100); // amount of percentage of difference required
const sellat = 1 - (this.settings.tresholds.sell_at / 100); // amount of percentage of difference required
const stop_loss_pct = 1 - (this.settings.tresholds.stop_at / 100); // amount of stop loss percentage
const sellat_up = 1 - (this.settings.tresholds.sell_at_up / 100); // amount of percentage from last buy if market goes up
if(this.previousAction === "buy") {
// calculate the minimum price in order to sell
const threshold = this.previousActionPrice * buyat;
// calculate the stop loss price in order to sell //MP
const stop_loss = this.previousActionPrice * stop_loss_pct;

// we sell if the price is more than the required threshold or equals stop loss threshold
//if((candle.close > threshold) || (candle.close < stop_loss)) {
if((candle.close > threshold)) {
  this.advice('short');
  this.previousAction = 'sell';
  this.previousActionPrice = candle.close;
}

}
else if(this.previousAction === "sell") {
// calculate the minimum price in order to buy
const threshold = this.previousActionPrice * sellat;
// calculate the price at which we should buy again if market goes up
const sellat_up_price = this.previousActionPrice * sellat_up;
// we buy if the price is less than the required threshold or greater than Market Up threshold
if((candle.close < threshold) || (candle.close > sellat_up_price)) {
  this.advice('long');
  this.previousAction = 'buy';
  this.previousActionPrice = candle.close;
}

}
}
module.exports = method;
`

Expected result (what you hoped would happen)
Seen some trading roundtrips

Actual result (unexpected outcome)
I haven't seen any roundtrips on my backtest yet i get P&L percentages and also i made it against a live market and didn't trade at all after a long time. Can you please help i am fairly new and i found this code and twaeked a bit for my liking but strange i get no errors thought not working.

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Using v 0.5.11 with ui 0.2.0

Apologies for never getting back to you, this is the bug issue tracker. See this page for better places to get help with your strategy: https://gekko.wizb.it/docs/introduction/getting_help.html


(#2308) Add support for allowing normal users with account age equal or greater

than waiting period threshold to create streams.
If create_stream_by_admins_only setting is set to True, only admin users
were able to create streams. Now normal users with account age greater
or equal than waiting period threshold can also create streams. Account
age is defined as number of days passed since the user had created his
account.
Fixes: #2308.

Automated message from Dropbox CLA bot
@vabs22, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

@smarx thanks for notifying. I have signed up now.

Automated message from Dropbox CLA bot
@vabs22, thanks for signing the CLA!

@vabs22 did you intend to close this PR?

I guess it looks like you opened another for the same feature about the same time; next time, just push an updated version to the existing PR, rather than creating a new PR.

@timabbott yes, actually for some reason Travis CI test results weren't getting updated here. So in a hurry i had closed this and created new one. Now i can see the results have been updated here. Probably i should have waited for some more time.
But thanks, i will keep this in mind in future.

Cool, two things:

You can just do a git commit --amend, and not change anything, to generate a new commit ID, then force-push so that the tests will run again; no need to make a new PR to do that.
You may want to check out of GitHub guide in the documentation; that explains how to sign up your own account for Travis CI so you can run the tests without a GitHub PR.

okay, Cool


Blame parent links should link to specific line

If possible the blame parent links should try to link to specific lines which correspond to the code chunk which the blame link applies to. So it shouldn't respect existing line-specific links in the URL #LX-Y, but rather link to the lines corresponding to the hunk where the link was clicked.
I'm not sure if I'm explaining it properly. I could provide examples and an animation if needed.

Makes sense.

I've created a POC for this in my fork, but I've observed another issue related to this blame feature and I'll check out how to solve that.

When trying this out for a while, I'm not so sure anymore about the implementation. The thing is, most code moves around, so I didn't ever get the correct line. Maybe we could match on the line contents too? So go to the line and then find the closest line with the same content.

@sindresorhus good point, I need to reserve some time to investigate a bit more to figure out how to improve that...

@sindresorhus I'm not sure whether that's so easy as we'd have to jump to the matched line after the redirect to the older blame since we need to match against the older code.
I think it might be possible to do that by putting the stuff into the hash or sth. else and write another function which jumps into the line(s) containing the best match. (if someone else has a better idea, I'd be glad to discuss about it)
Unfortunatly I'm lacking enough time to focus on such a big feature right now, but if I'll try to work on it in the next weeks.

I think it might be possible to do that by putting the stuff into the hash or sth. else and write another function which jumps into the line(s) containing the best match. (if someone else has a better idea, I'd be glad to discuss about it)

Yup, that's what I was thinking too.

Unfortunatly I'm lacking enough time to focus on such a big feature right now, but if I'll try to work on it in the next weeks.

No rush :)

I think it might be possible to do that by putting the stuff into the hash or sth. else and write another function which jumps into the line(s) containing the best match.

Shouldn't it expand the selection to be the entire "block" inside the gray borders in the blame list?
If you click this commit, you can see that there are 15 new lines in the commit.
If you click blame^ link you are taken to this "parent" blame with not enough lines highlighted.

Does that seem to be a reasonable solution @Ma27 and @sindresorhus?
First Blame View

Clicking the Commit

Clicking the Blame Parent

An alternative to that solution is to highlight all of the lines related to a specific commit when you click on blame^. That's pretty simple to do too (now that we have jQuery), since we'd just search out the commit "blocks" that have the hash from the URL and highlight all the contained lines.
What about that idea?

@paulmolluzzo Sorry, I don't understand what you're proposing.

If you mean the line numbers match with the previous commit, that's just a lucky coincidence. Usually it does not.

An alternative to that solution is to highlight all of the lines related to a specific commit

What is related in this context?

If you mean the line numbers match with the previous commit, that's just a lucky coincidence. Usually it does not.

No, I mean each commit is outlined (top and bottom) by a thin gray line. We should highlight everything in that block as "the relevant part of the parent commit". The line numbers often don't match. I'm saying unite the line numbers and highlight every line affected by the parent commit.

What is related in this context?

Looking at the file there may be areas multiple areas affected in a single commit. We'd find all the "blocks" (described above) and highlight all of them. Basically, highlight the code introduced in the commit everywhere in the file.

@sindresorhus using my last screenshot we would highlight lines 18-33, which all fall in commit 3287d9b

Sounds good to me.


add suffix:while method

Thanks for contributing to Swift Algorithms!

- [x] I've completed this task
- [ ] This task isn't completed

Add a suffix(while:) method #62
Checklist

[ ] I've added at least one test that validates that my change is working, if appropriate
[ ] I've followed the code style of the rest of the project
[ ] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary

What about something like (neither compiled nor tested):
extension BidirectionalCollection {
  public func suffix(
    while predicate: (Element) throws -> Bool
  ) rethrows -> SubSequence {
    let start = startIndex
    var result = endIndex
    while result > start {
      let previous = index(before: result)
      guard try predicate(self[previous]) else { break }

      result = previous
    }
    return self[result...]
  }
}

?

What about something like (neither compiled nor tested):
extension BidirectionalCollection {
  public func suffix(
    while predicate: (Element) throws -> Bool
  ) rethrows -> SubSequence {
    let start = startIndex
    var result = endIndex
    while result > start {
      let previous = index(before: result)
      guard try predicate(self[previous]) else { break }

      result = previous
    }
    return self[result...]
  }
}

?

@CTMacUser I think that’s pretty much exactly what I imagined the implementation would look like.
Although, I think we might want to change
while result > start {

to
while result != start {

A lot of similar algorithms in the standard library use != instead of > or < for comparing indexes. I’ll have to do more research as to why that is. My initial guess is perhaps because implementations of custom indexes have slightly faster implementations of != than <. But either way, it would be good to have consistency here.

@CTMacUser I think that’s pretty much exactly what I imagined the implementation would look like.
Although, I think we might want to change
while result > start {

to
while result != start {

A lot of similar algorithms in the standard library use != instead of > or < for comparing indexes. I’ll have to do more research as to why that is. My initial guess is perhaps because implementations of custom indexes have slightly faster implementations of != than <. But either way, it would be good to have consistency here.

A lot of similar algorithms in the standard library use != instead of > or < for comparing indexes. I’ll have to do more research as to why that is. My initial guess is perhaps because implementations of custom indexes have slightly faster implementations of != than <. But either way, it would be good to have consistency here.

I agree that we should use != to be consistent with the stdlib.
One of the reasons stdlib uses != is historical. Originally Collection.Index in the stdlib was only Equatable, not Comparable. From SE-0065 which added the Comparable requirement:

It's worth noting that this requirement isn't strictly necessary. Without it, though, indices would have no requirements beyond Equatable, and creation of a Range<T> would have to be allowed for any T conforming to Equatable. As a consequence, most interesting range operations, such as containment checks, would be unavailable unless T were also Comparable, and we'd be unable to provide bounds-checking in the general case.
That said, the requirement has real benefits. For example, it allows us to support distance measurement between arbitrary indices, even in collections without random access traversal. In the old model, x.distance(to: y) for these collections had the undetectable precondition that x precede y, with unpredictable consequences for violation in the general case.

A lot of similar algorithms in the standard library use != instead of > or < for comparing indexes. I’ll have to do more research as to why that is. My initial guess is perhaps because implementations of custom indexes have slightly faster implementations of != than <. But either way, it would be good to have consistency here.

I agree that we should use != to be consistent with the stdlib.
One of the reasons stdlib uses != is historical. Originally Collection.Index in the stdlib was only Equatable, not Comparable. From SE-0065 which added the Comparable requirement:

It's worth noting that this requirement isn't strictly necessary. Without it, though, indices would have no requirements beyond Equatable, and creation of a Range<T> would have to be allowed for any T conforming to Equatable. As a consequence, most interesting range operations, such as containment checks, would be unavailable unless T were also Comparable, and we'd be unable to provide bounds-checking in the general case.
That said, the requirement has real benefits. For example, it allows us to support distance measurement between arbitrary indices, even in collections without random access traversal. In the old model, x.distance(to: y) for these collections had the undetectable precondition that x precede y, with unpredictable consequences for violation in the general case.

This is all set now — thanks for this implementation, @michiboo!


how to hide back arrow button

hi how to hide back arrow exoplatervideoview?

not supported now.However,you can define your own playback controller via the same id define in attrs.

@hafiz013  2.1.0 is released now.You can hide some widgets as you like in this version.See README for more details.


The section "Using the Git + GitHub Document Collection" needs updated screenshots

Using the Git + GitHub Document Collection
Note these images are critically important to anyone trying to create corpora and is a LLM programming newbie - as the second one is used in the process of creating "Git&Github corpus"

and

Apologies for my insistence: can you explain why is this information still missing and why is it that I am so unsuccessful asking for it?


uvloop does not support Windows at the moment

uvloop does not support Windows at the moment - which makes the whole app incompatible with Win. any workarounds?

uvloop has been removed few time ago, please update the script


Search problem when not in server mode

Hi,
While upgrading my npm modules, I have a strange problem. When I am searching, the searches inside the datatable are delayed.
I finally found why : In file /src/components/custom-table.vue around lines 730-736
You first watch search props changes and call changeSearch function before the watch search props that change the currentSearch const. You may invert these watch to not have a delay between search props and searched value.
Change these lines :
watch(() => props.search, changeSearch);
watch(
    () => props.search,
    () => {
        currentSearch.value = props.search;
    }
);

By these lines :
watch(
    () => props.search,
    () => {
        currentSearch.value = props.search;
    }
);
watch(() => props.search, changeSearch);

HI,
Can you please reproduce this in one of my demos, if yes then please give me all the steps to reproduce first and then i will think about that.

Your demos are in server mode. So I can't reproduce the problem.
Everything was working fine since I update local npm packages (It update Vue from 3.3.4 to 3.3.7).
I reproduce locally with both datatable version (1.1.1 and 1.1.2).
It seems logic that both watch orders are not coherent since currentSearch is used in filterRow. If currentSearch is not updated by watcher before calling filterRow then filterRow will search with an outdated currentSearch value.

Actually we have not changed anything regarding search, so its very strange.
Ok, can you please give me proper steps for reproduce that scenarios, so i can check easily and update if needed.

Here is a very simple example that reproduce the problem.
Hope you will have the same result...
dt-test.zip

Ok, will check and let you know.

Re,
I just try to merge both watch into one and it work. It might be better for "optimization".
watch(
    () => props.search,
    () => {
        currentSearch.value = props.search;
        changeSearch();
    }
);

Hi,
Ok, i will check and update.
But It's very strange to not working your demo and already working fine on our vue3 template.
you can check from below link.
https://vristo-vue.vercel.app/datatables/order-sorting

Yes, I agree that it's strange. Everything was working fine since I update Vue package to 3.3.7.
FYI : We are using Vristo here in our project and we love it 👍
I upgrade every package to the latest version without problem (I just have to replace @intlify/vite-plugin-vue-i18n intlify/unplugin-vue-i18n and remove import '@fullcalendar/core/vdom'; in calendar with the latest version of Full Calendar)

Yes, seems search not working properly with latest vue version.
Have you test this solution proper for both client and server side renderings?
watch(
() => props.search,
() => {
currentSearch.value = props.search;
changeSearch();
}
);

No, but it should work cause it's similar to both watch in only one call.

Yes, I know. i will check and update soon.
Thanks

Hi te-deum,
Resolved above issue and updated package.


bash command completions

I can't get this to work. Maybe I'm doing it wrong. Can you provide a screenshot and more instructions on how to get some completions to work?
I'd put it in /etc/bash_completions.d, started a new shell, sourced it, then tried:
bpftrace -e 'kp<tab>
bpftrace -e 'kprobe:vfs_r<tab>

But neither of them did anything.

Tested here, it seems to be working (as root). Steps I took:

Install bpftrace with sudo make install
Make sure I'm root (sudo su)
source bpftrace-completion.sh

# bpftrace -e 'tracepoint:ra<tab>
tracepoint:random:add_device_randomness  tracepoint:random:extract_entropy        tracepoint:random:mix_pool_bytes_nolock  tracepoint:ras:aer_event                 tracepoint:ras:non_standard_event
tracepoint:random:add_disk_randomness    tracepoint:random:extract_entropy_user   tracepoint:random:push_to_pool           tracepoint:ras:arm_event                 tracepoint:raw_syscalls:sys_enter
tracepoint:random:add_input_randomness   tracepoint:random:get_random_bytes       tracepoint:random:random_read            tracepoint:ras:extlog_mem_event          tracepoint:raw_syscalls:sys_exit
tracepoint:random:credit_entropy_bits    tracepoint:random:get_random_bytes_arch  tracepoint:random:urandom_read           tracepoint:ras:mc_event
tracepoint:random:debit_entropy          tracepoint:random:mix_pool_bytes         tracepoint:random:xfer_secondary_pool    tracepoint:ras:memory_failure_event

Root is required because bpftrace -l doesn't work with unprivileged users. Overall I don't see workarounds here, unless we save which kprobes and tracepoints are available in an unprivileged location.

@williangaspar when there's only one completion option and I hit tab, it closes the single quote: bpftrace -e 'tracepoint:random:mix_pool_bytes_n<tab> becomes bpftrace -e 'tracepoint:random:mix_pool_bytes_nolock'. I'm not sure if this should be the expected behavior.
Also, bpftrace -e 'tracepoint:random:mix_pool_bytes_nolock {} kpro<tab><tab>' becomes bpftrace -e 'kprobe:', which is a bug.

Closing, if anyone wants to implement this, please fill free to take over.


Plots directional axis

If you're comparing directional data such as wind direction, you would like sensible ticks such as 0, 90, 180, 270 etc

instead of default ticks like:

There are several features of the scatter plot, that need to be considered for directional data:

[ ] does the linear-fit make sense?
[ ] does the q:q markers make sense?

I guess the easy thing would be just to switch these off for directional data?

@daniel-caichac-DHI, @ecomodeller - what do you think about the linear fit and the qq line in scatter plot for directional data? (see above)

A scatter plot is difficult to interpret with directional data, unless the agreement between observed and modelled data is very good and doesn't cross North. I would say remove the linear fit and the QQ.

I agree with Henrik. I believe that some other statistics have been applied for circular data, but not the QQ nor the 1:1 line.
See example

Where are the testS?

It is not easy to test plots - what do you have in mind?

Just add some tests of directional plotting with an assert=True at the end. At least if someone else in the future tries to modify something and the plot breaks (invalid kword or whatever) then that test will fail.

Right. I’ll do that
From: Daniel.Caichac @.>
Sent: Thursday, August 31, 2023 12:29 PM
To: DHI/modelskill @.>
Cc: Jesper Sandvig Mariegaard @.>; Author @.>
Subject: Re: [DHI/modelskill] Plots directional axis (PR #247)
Just add some tests of directional plotting with an assert=True at the end. At least if someone else in the future tries to modify something and the plot breaks (invalid kword or whatever) then that test will fail.
—
Reply to this email directly, view it on GitHubhttps://github.com/DHI/modelskill/pull/247#issuecomment-1700780544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIECOYJNCZQXBQFUYR3HG53XYBRPLANCNFSM6AAAAAA3UTL3WA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

@daniel-caichac-DHI like these?  :-)


Fix simhash slicing and add tests. Fixes #19.

This adds very basic tests for all the static methods in SimHashUtils and fixes the simhash slicing algorithm.
The fixed version uses the current text representation, but I'd actually suggest switching to just using Longs instead of text and computing the slices uses bitmasks. This will not only make the computation of the slices faster and easier to understand, but will speed up the sorting and comparisons during the shuffle phase of clustering (but it does require changes elsewhere in the system).

Good catch, Tom! Since your contributions are getting non-trivial, I'd like to ask you for filling our contributor's license - this is what we apply for all DKPro open-source software (after discussions with the legal department at the Darmstadt Technical University). Please consult http://dkpro.github.io/contributing/ (you can send it via e-mail<EMAIL_ADDRESS>). Thanks :)

I hope it did not scare you off, Tom :)

I'm adding this to 1.0.1 milestone as we want to keep the functionality of 1.0.0 the very same as in the LREC article.

You didn't scare me off. :-) I just needed some quiet time to review the agreement.
Plus, as I suggested above, I've gone off on a different tack and implemented a new hashing scheme and built a little benchmarking framework so I can compare. I'll have more PRs in the pipe as soon as I stop playing around (and sign the CLA).


chore(deps): upgrade jenkins-x/jx3-pipeline-catalog to version 3.2.237

from: https://github.com/jenkins-x/jx

/close


try deployment using cobbler if indicated

so that the deployment route of cobbler can be tested
It uses the variable usecobbler to decide on the detour.

does it work? is it still WIP? can it be rebased?

oops, forgot about this one, I could not get the correct heat template, so closing this


Add function to get non-ROS arguments

When the context receives command line arguments, it only parses the ones between --ros-args and a --. The context could have a function to return a list of command line arguments not parsed by ROS, for further processing with clap or so.
This should be done using functions from https://github.com/ros2/rcl/blob/foxy/rcl/include/rcl/arguments.h, and the rcl_arguments_t instance stored in the rcl_context_t.

I think this issue can be closed because of #210 merge.

True!


Block library to decode block headers

A library that converts an RLP-encoded block header into a block header
struct. Can later be extended to full blocks.
Fixes #305

Was wondering if we should pass the rlpEncodedHeader and the all the individual items to the TestBlock.testDecode, so that we can test the failing cases as well ? your thoughts ?

Not sure how to test a failing case. You mean if the RLP encoding is incorrect?

@deepesh-kn I added two negative test cases.


Request: Firefox containers tabs background color

Hi,
I've always wished for container tabs to be more friendly when it comes to figuring out. Right now, there only goes a subtle highlight behind the tabs. I'm wondering if it's possible for you to color the tab with containers' color.

Hello. If you mean something like this, then yes. True, then the fonts can be difficult to distinguish in some situations.

There are several solutions here. You can color the fonts white and add a shadow, but that won't look very minimalistic. You can make the tab color translucent. Then the fonts will always be visible.

Wow! The mock-ups actually look really good!

Everything is ready. Minimum browser version 99+


Add checkhealth endpoint

Description

Protect function call with circuit breaker:

if the circuit open, a function call will raise the error "too many failures"
if the circuit is closed, perform the function call will:
++ if call successfully, set the circuit status to closed and cache this result for 5 minutes
++ if call unsuccessfully, set the circuit status to open and cache this result for 30 seconds

Add health endpoint to return UP (the circuit is closed) and DOWN (the circuit is open) status for each model. This endpoint is called by Artermis regularly, so it will try to get the status from the cache before calling to get new status

Step for testing

Purposely set wrong config for one model or just use the values from application.example.yml
Call POST /api/v1/messages for 3 times for that model, and the fourth time will have "too many failures" error
Wait for 30 seconds and can continue to call that model
Call GET /api/v1/health and should have the correct status for the models

Another thing that came up in conversation: Currently upon production deployment each worker is forked and thus we don't have shared state between the workers (in other words: Each worker gets its own copy of the in-memory cache).
This can be avoided by using the --preload flag for the server and using multiprocessing.Manager to get a dict that's shared between workers. This is extremly important to do, otherwise the whole endeavour becomes a bit pointless.

In this link, the author comment a disclaimer himself

Note: I do not make any claims about thread / async safety here and this method should probably not be employed in production services. In case of any doubt you should always rely on a proper database / caching / memory store solution for production setups. I myself only use this in demo code!

so I think I'm going with the Hazelcast solution since it is already well-defined. The stack also complies with Artemis


currency converter

Related Issue
Closes: #208
Describe the changes you've made
Made a currency convertor
Describe if there is any unusual behavior of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] 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.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@urvashi-code1255 @Vishal-raj-1 please review this

@Sapna2001 Resolve Conflicts please !!

@Vishal-raj-1 resolved

Thanks for this awesome contributon. 🤩
Keep Contributing.


Auto-merge dependabot feature - rebase feature

Signed-off-by: PrimalPimmy<EMAIL_ADDRESS>Pull request
Description

Added option to rebase during automerge
Related

Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[x] The performance impact of the change is measured (see below)

Performance

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.007%) to 85.462%

Files with Coverage Reduction
New Missed Lines
%

src/connectors.rs
1
85.89%

src/connectors/sink.rs
1
82.75%

src/connectors/source.rs
1
80.48%

src/pipeline.rs
1
76.39%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
39309

Relevant Lines:
45996

💛  - Coveralls


Changes to how common properties are included

Gist of the change:

We cannot list common properties using the common syntax, as that marks them as common to all VS Code extensions
If something is common for a particular extension, then we need to basically list all of the common properties for each event, i.e we need to document everything.

Fortunately there's a shortcut to including common properties for a number of events using fragments

Codecov Report

Merging #11238 (5b33bc8) into main (f6c93df) will increase coverage by 0%.
The diff coverage is n/a.

:exclamation: Current head 5b33bc8 differs from pull request most recent head e30d178. Consider uploading reports for the commit e30d178 to get more accurate results

@@          Coverage Diff           @@
##            main   #11238   +/-   ##
======================================
  Coverage     63%      63%
======================================
  Files        477      477
  Lines      33942    33942
  Branches    5511     5511
======================================
+ Hits       21425    21431    +6
+ Misses     10466    10462    -4
+ Partials    2051     2049    -2

Impacted Files
Coverage Δ

src/platform/errors/types.ts
68% <ø> (ø)

src/telemetry.ts
8% <ø> (ø)

src/notebooks/outputs/tracebackFormatter.ts
93% <0%> (-7%)
:arrow_down:

src/kernels/kernelDependencyService.node.ts
83% <0%> (-2%)
:arrow_down:

src/kernels/helpers.ts
65% <0%> (-2%)
:arrow_down:

src/platform/msrCrypto/msrCrypto.js
16% <0%> (-1%)
:arrow_down:

src/notebooks/debugger/debuggingManager.ts
58% <0%> (+<1%)
:arrow_up:

src/kernels/kernelProvider.base.ts
96% <0%> (+<1%)
:arrow_up:

src/kernels/raw/launcher/kernelProcess.node.ts
72% <0%> (+<1%)
:arrow_up:

src/kernels/raw/session/rawSocket.node.ts
75% <0%> (+1%)
:arrow_up:

... and 3 more


Feature Request: Check Currency Command

Identical to the bot.tf bot feature, a command for the owner to receive information on the current stock of metal and keys.

The stock command already shows keys, refined, reclaimed and scrap, even if there is none, but it does not summarize it as x keys and y metal.

Added !rate command some time ago so closing this


fix: unnecessary files in package

(also added configuration for release workflow with GitHub Actions, so
this release should be published automatically)

#4  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lewxdev and the rest of your teammates on  Graphite


Is there a way to change the month and weekday label text?

I need to change the language of the calendar to pt-br (months and weekdays) but I can't find how to.
Is there a way to accomplish that?
Thanks.

I just resolved that by changing thread's CurrentCulture and CurrentUICulture.
Thanks.

@marciogonzalez85 Can you share me your code? I want to change my calendar language in French. Thanks for your help.

Sure.
I just put these lines in the beginning of both methods FinishedLaunching from iOS AppDelegate class and OnCreate from Android MainActivity
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("pt-BR");
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("pt-BR");
Just replace to your culture code.
Hope it helps!!!

De: Naografix<EMAIL_ADDRESS>Enviado: quinta-feira, 9 de novembro de 2017 10:22:58
Para: rebeccaXam/XamForms.Controls.Calendar
Cc: marciogonzalez85; Mention
Assunto: Re: [rebeccaXam/XamForms.Controls.Calendar] Is there a way to change the month and weekday label text? (#58)
@marciogonzalez85https://github.com/marciogonzalez85 Can you share me your code? I want to change my calendar language in French. Thanks for your help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rebeccaXam/XamForms.Controls.Calendar/issues/58#issuecomment-343111082, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANX9Q0vEBxSh4L2TMxiUsHXd9mZ3EmQ_ks5s0tKCgaJpZM4QWTsF.


[BUG] 启动watcher服务, 报错Call to a member function setData() on null

Description:
正常启动是没问题的, 使用watcher服务就报错:Call to a member function setData() on null
/**
* @Inject()
* @var CodeMsg
*/
private $codeMsg;

$this->codeMsg->setData($return)

Steps To Reproduce:

composer require "hyperf/watcher:dev-master" --dev


network: create one connection to the jump host

this avoid to create a new connection for each run, we just create one
shared SSH connection for one flight instance.
Signed-off-by: Mathieu Tortuyaux<EMAIL_ADDRESS>
Tried with --parallel 2 kubeadm.v1.23.4.flannel.base kubeadm.v1.23.4.calico.base

Assuming it still works after the changes ;)

Ran a test (kubeadm.v1.23.4.flannel.base) before pushing.

will fix the go fmt issue in a following PR.


Need ROS2 Humble driver.

Currently, most packages being developed are in ROS2 and there does not seem to be any support for ROS2 for this driver.  Our lab has moved all development to humble as it is the latest LTS version.  Noetic can not be run on Ubuntu 22.04 so utilizing this driver would not be possible without a docker image, which also limits future development.

We are currently developing the ROS2 Humber version. However, the release schedule has not been decided yet.


[bug] App doesn't start on Windows 10

Describe the bug
After installation complete, app doesn't start on Windows 10. Tried restarting machine, starting with Administrator privileges.
To Reproduce
Steps to reproduce the behavior:

Download and run installer
Try starting the app
Nothing appears

Expected behavior
App launches normally
Logs

App logs: there is %USERPROFILE%\AppData\Roaming\MysteriumVPN\log folder, but it is empty
Node log: doesn't exist
Supervisor log:

2021-07-20T18:35:08.000 INF Installing supervisor with options: install.Options{SupervisorPath:"C:\\Program Files\\MysteriumVPN\\resources\\static\\bin\\myst_supervisor.exe"}
2021-07-20T18:35:08.000 INF Checking previous installation
2021-07-20T18:35:08.000 INF Previous service was not uninstalled error="skipping uninstall, service MysteriumVPNSupervisor is not installed"
2021-07-20T18:35:08.000 INF Running myst supervisor daemon
2021-07-20T18:35:08.000 INF Supervisor installed
2021-07-20T18:36:58.000 INF Uninstalling supervisor
2021-07-20T18:36:58.000 INF Supervisor uninstalled
2021-07-20T18:37:04.000 INF Installing supervisor with options: install.Options{SupervisorPath:"C:\\Program Files\\MysteriumVPN\\resources\\static\\bin\\myst_supervisor.exe"}
2021-07-20T18:37:04.000 INF Checking previous installation
2021-07-20T18:37:04.000 INF Previous service was not uninstalled error="skipping uninstall, service MysteriumVPNSupervisor is not installed"
2021-07-20T18:37:04.000 INF Running myst supervisor daemon
2021-07-20T18:37:04.000 INF Supervisor installed
2021-07-20T18:40:14.000 INF Uninstalling supervisor
2021-07-20T18:40:14.000 INF Supervisor uninstalled
2021-07-20T18:41:27.000 INF Installing supervisor with options: install.Options{SupervisorPath:"C:\\Program Files\\MysteriumVPN\\resources\\static\\bin\\myst_supervisor.exe"}
2021-07-20T18:41:27.000 INF Checking previous installation
2021-07-20T18:41:27.000 INF Previous service was not uninstalled error="skipping uninstall, service MysteriumVPNSupervisor is not installed"
2021-07-20T18:41:27.000 INF Running myst supervisor daemon
2021-07-20T18:41:27.000 INF Supervisor installed
2021-07-20T18:48:33.000 INF Running myst supervisor daemon

Desktop (please complete the following information):

OS: Windows 10 (10.0.19042)
App Version: 4.2.1

I tried installing 5.0.0-5 and it launched and connected without any issues.

Closing this as it seems to be resolved. Thanks.


Add a comment to PR after vercel preview deployment

At the moment we have to go to the github actions run to find out the preview link, it would be nice to comment the preview in the PR itself

Any thought of trying https://github.com/marketplace/actions/github-status-action to have a status instead of posting a comment ? That may produce less mails/notifications.
Haven't tried it though.

Any thought of trying https://github.com/marketplace/actions/github-status-action to have a status instead of posting a comment ? That may produce less mails/notifications.

Yeah, definitely. We can use that, would be fairly straightforward to change.


module declares its path as: github.com/stevenferrer/solr-go  but was required as: github.com/sf9v/solr-go

Please suggest how to build and run this repo on windows with all dependencies installed locally.
Great piece of work Steven!

C:\multi-select-facet>go build -v
go<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: github.com/stevenferrer/solr-go
but was required as: github.com/sf9v/solr-go

Resolved it using stevenferrer instead of sf9v
Another road block
C:\multi-select-facet\cmd\api>api -init-schema -index-data -init-suggester
2020/09/27 22:18:58 initializing solr schema...
2020/09/27 22:18:58 add field type: decode response: invalid character '<' looking for beginning of value

Hi @domini1969, thank you for the kind words!
I have updated the solr-go dependency to latest version. I tried it on windows and it seems to be working fine now.
Also, make sure that the multi-select-facet-demo core/collection is created first before running the initialization commands.

Can you try it again and see if it works on your end?

Much appreciated Steven!
Made another try without much success. Please see below the entire steps.
C:>git clone https://github.com/sf9v/multi-select-facet
Cloning into 'multi-select-facet'...
remote: Enumerating objects: 207, done.
remote: Counting objects: 100% (207/207), done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 207 (delta 105), reused 175 (delta 83), pack-reused 0
Receiving objects: 100% (207/207), 419.86 KiB | 1.35 MiB/s, done.
Resolving deltas: 100% (105/105), done.
C:>cd multi-select-facet
C:\multi-select-facet>
C:\multi-select-facet>git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
C:\multi-select-facet>git pull
Already up to date.
C:\multi-select-facet>cd cmd
C:\multi-select-facet\cmd>cd api
C:\multi-select-facet\cmd\api>go build -v
github.com/sf9v/multi-select-facet/cmd/api
C:\multi-select-facet\cmd\api>api -init-schema -index-data -init-suggester
2020/09/28 09:34:09 initializing solr schema...
2020/09/28 09:34:09 add field type: decode response: invalid character '<' looking for beginning of value
C:\multi-select-facet\cmd\api>

Here is the content of go.cmd

module github.com/sf9v/multi-select-facet
go 1.14
require (
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-chi/cors v1.1.1
github.com/pkg/errors v0.9.1
github.com/sf9v/solr-go v0.1.3
golang.org/x/net v0.0.0-20200625001655-4c5254603344 // indirect
)

Solr version is 7.7.2 standalone.

Tried it on solr 8.6.2 also. No luck. Do you mind sharing the solr schema (managed-schema) and solrconfig files so that I can manually build a solr core, define schema and requesthandlers and make a try?

It works now. Looks like need to create a core called 'multi-select-facet-demo' before running api.exe
Will test and give you a feed back.

One finding from initial testing.
Test case.
Search for kobo and choose Kobo Clara HD 6" Carta E Ink Touchscreen E-Reader from the suggest drop down
1 Product displayed.
The left nav bar facets shows irrelevant facets out of context of the current search term "Kobo Clara HD 6" Carta E Ink Touchscreen E-Reader"
Please see facets are created dynamically for a query where ?q="Kobo Clara HD 6" Carta E Ink Touchscreen E-Reader"

It works now. Looks like need to create a core called 'multi-select-facet-demo' before running api.exe
Will test and give you a feed back.

It seems to me that the original issue has been resolved, therefore I'm gonna close this issue.

One finding from initial testing.
Test case.
Search for kobo and choose Kobo Clara HD 6" Carta E Ink Touchscreen E-Reader from the suggest drop down
1 Product displayed.
The left nav bar facets shows irrelevant facets out of context of the current search term "Kobo Clara HD 6" Carta E Ink Touchscreen E-Reader"
Please see facets are created dynamically for a query where ?q="Kobo Clara HD 6" Carta E Ink Touchscreen E-Reader"

Please feel free to create a new issue for this one, I'll take a look at it as soon as I can.
Many thanks @domini1969!


Update for Godot 4.3

editor_settings.tres is now split per minor version since 4.3.

See https://github.com/abarichello/godot-ci/issues/148.

The release.yml workflow also needs to change so that it updates the GODOT_VERSION_MAJOR_MINOR argument, like it does for GODOT_VERSION

Ooh what is that?!?!

If this is like regex then we have to check if the version string is always the full one like "4.3.0", because if its "4.3" i imagine it would break.

If im understand this correctly: https://github.com/abarichello/godot-ci/blob/bd9eea16d14bf71f5876b71b16955218df36266b/.github/workflows/release.yml#L17-L19
it's extracting the version string from this repos tags, which don't have the x.y.z format for every release.

I've reworked the script to not require a new GODOT_MAJOR_MINOR_VERSION variable (thanks to Bash variable substitution).

Do we want to update the mono image's version ARG while were here? I get the release.yml overrides it but it looks like we're trying to clean up across the board.
#149 (files)

Done. The Mono Dockerfile now matches the main one, with support for exporting to Android and using rcedit for Windows exports.


Prefix status messages with a timestamp

Currently, there's no way to determine the time it takes any individual process to complete.  Simply prefixing the status messages with a timestamp would allow this to be done at a glance.

This issue has been fixed in commit 74dccb158e9344706b6768034a394176a9d356c9


Avoid Context leaks

An activity won't be garbage collected if LayoutCache holds it's Context, so it's better to provide the Context every time you want get the layout.
I think .clone()ing may be a problem since it is also cloning the old Context?

looks good. The cloning isn´t important anymore, the performance impact isn´t big and the recyclerview adapter is caching the viewholder anyway.

0.0.2-alpha36


xt::concatenate

Hi, I'm trying to concatenate a xarray but had no luck so far...
#include <iostream>
#include "xtensor/xarray.hpp"
#include "xtensor/xbuilder.hpp"

xt::xarray<double> arr1 {
   {1.0, 2.0, 3.0},
   {2.0, 5.0, 7.0},
   {2.0, 5.0, 7.0}
};

std::cout << xt::concatenate(xt::xtuple(arr1, arr1));

no instance of function template "xt::concatenate" matches the argument list -- argument types are: (<error-type>)

Am I missing something here?

Does it work if you add #include "xtensor/xio.hpp" ?

Thanks for posting @roliveira.
This seems to be it: including xio.hpp is necessary to have the ostream overloads.

That does the job, thanks!


Desired features

Currently desired features (30.08.2024)

Input handling (only after user has finished typing)
Positions and arrangement of nodes (which is saved somwhere so that everything doesn't rearrange when the notebook is closed)
Adding/deleting nodes reflected in underlying workflow
Duplicate nodes with automatically generated unique IDs
Hashing of output
Tab system improvements - adding and closing tabs, connection to treeview for each tab

Hashing of output

Hey Tara, can you elaborate on this a bit? The rest are very clearly GUI issues to me, but it sounds like this might possibly require changes of the back-end

Hashing of output

Hey Tara, can you elaborate on this a bit? The rest are very clearly GUI issues to me, but it sounds like this might possibly require changes of the back-end

Hey Liam, as it stands, the GUI has two buttons on each node: a button to view the source code and another to run the node (which also displays the output). If we have a node with a pyiron job (e.g. LAMMPS), then there's not much of an issue since the node would just reload the existing job unless specified otherwise by the user.  But if we have a node that has a large-ish analysis that is not currently included in pyiron, for e.g. some scipy opitmization, then it would be ideal if pressing "run" just displayed the already performed analysis instead of re-running it (unless specified otherwise by the user).

Ah. I think I'd rather call this "caching" than "hashing". Good news is that the underlying `pyiron_workflow infrastructure already does this by default -- as long as the inputs are the same as the last time the node was run. If the inputs aren't the same I guess you do want to actually rerun it anyhow.

We still need to sort out the versions of the pyiron_wokflow module, pyiron_base, pyiron_atomistic etc. I think we are still using a slightly older version of workflow which does not have caching/hashing due to compatibility issues.

pyiron_workflow-0.10.0 no longer depends on base or atomistics, so hopefully this will prove relatively straightforward for you!


Make test CTD data consistent with naming convention

i.e. z -> depth, s -> SP etc.

Closing #50 as it refers to the same issue.

Removing the low priority tag as I think this should be resolved before v0.1.0

Closed by #53 .


Manifest.json is not rewritten when updating the src/manifest.json or package.json

Summary
When running npm run dev when chaning some info in the src/manifest.json or in the package.json (for example: name, version) the manifest.json in the dist folder does not update with the info I changed.
Reproduction

run npm create vite-plugin-web-extension
give a name for the project and choose any framework (I'm using vue-ts)
go to the project folder and run npm run dev and wait for it to build.
while the server still running, change the name in the package.json.
manifest.json from dist folder still the same.

Environment

  System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
    Memory: 24.54 GB / 31.79 GB
  Binaries:
    Node: 18.16.0 - D:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - D:\Program Files\nodejs\npm.CMD
    pnpm: 8.7.4 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (120.0.2210.61)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    vite: ^5.0.0 => 5.0.9
    vite-plugin-web-extension: ^4.0.0 => 4.0.1

This is a known issue. I don't think there was a GitHub issue open for it though, so thanks for opening one.
I don't plan on implementing this feature for vite-plugin-web-extension. I'm close to releasing v1.0 of wxt, the spiritual successor to this project. Once WXT v1.0 is out, I'll announce that this repo is in maintenance mode. It kinda already is, but I'm holding off on officially announcing that until then.

Thanks for the response, wxt looks pretty good, I think I will start using it. But not sure if I should close this issue thought.

Feel free to keep it open 👍


Replit can't normal use

Using replit after the operation showed as follows
No code has been written.
The following commands are executed.
pip install reflex

mkdir my_app_name
cd my_app_name
reflex init
reflex run

Python : 3.10.8
OS : Linux 1d430db8ba03 5.19.0-1027-gcp #29~22.04.1-Ubuntu SMP Thu Jun 22 05:13:17 UTC 2023 x86_64 GNU/Linux

Can you provide more information, such as what code and commands you're running

Can you provide more information, such as what code and commands you're running

I think I know what the problem is, because reflex will open two ports, and the url provided by replit will randomly use one port, so this phenomenon is caused.

The workaround is to add to the.replit file
[[ports]]
localPort = 8000
externalPort = 3000


Character count parameters of RegQueryInfoKeyA refer to ANSI characters, not Unicode ones

@oold : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Update README.md

https://github.com/Azure/azure-sdk-for-python/issues/28017

/check-enforcer override


Excuse me ,How to choose the changing strategy of learning rate？the traing  time is long  in the article.

We set a learning strategy according to experience and did not try much.
You may refer to other papers specifically for learning rates. They may help increase training speed.


Support the '=' as an assignment (CS:GO)

I was looking at the leaked CS:GO code, they added the following:
		// support the '=' as an assignment, makes multiple-keys-on-one-line easier to read in a keyvalues file
		if ( *value == '=' && !wasQuoted )
		{

Any idea what this looks like in text?

Any idea what this looks like in text?

https://github.com/SteamDatabase/GameTracking-CSGO/blob/master/csgo/cfg/survival/survival_config.kv3
Could be this.

https://github.com/SteamDatabase/GameTracking-CSGO/blob/master/csgo/cfg/survival/survival_config.kv3
Could be this.

don't think we need this


real life usage

I'm trying to replicate the binary classifier that is described in the documentation (step 4, complete use case). The accuracy is much lower than what is shown in the documentation, using the training and testing datasets provided by Lorenz et al., 2021 QNLP .
As suggested, I also tried to run the scripts proposed on their github, in particular rp_task_simulation.ipynb using google colab but I am getting the following error message back
UnfilteredStackTrace                      Traceback (most recent call last)

<ipython-input-20-0fff64bd88f1> in <module>()
      4     start = time()
----> 5     print('Cost: ', get_cost_jit(rand_unshaped_pars))
      6     print('Time taken for this iteration: ', time()-start)

32 frames

UnfilteredStackTrace: jax._src.errors.TracerArrayConversionError: The numpy.ndarray conversion method __array__() was called on the JAX Tracer object Traced<ShapedArray(float32[])>with<DynamicJaxprTrace(level=0/1)>
While tracing the function get_cost at <ipython-input-18-b448627ced96>:8 for jit, this concrete value was not available in Python because it depends on the value of the argument 'unshaped_params'.
See https://jax.readthedocs.io/en/latest/errors.html#jax.errors.TracerArrayConversionError

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

TracerArrayConversionError                Traceback (most recent call last)

/usr/local/lib/python3.7/dist-packages/discopy/quantum/gates.py in array(self)
    410     def array(self):
    411         half_theta = self.modules.pi * self.phase
--> 412         sin, cos = self.modules.sin(half_theta), self.modules.cos(half_theta)
    413         return Tensor.np.array([[cos, -1j * sin], [-1j * sin, cos]])
    414

TracerArrayConversionError: The numpy.ndarray conversion method __array__() was called on the JAX Tracer object Traced<ShapedArray(float32[])>with<DynamicJaxprTrace(level=0/1)>
While tracing the function get_cost at <ipython-input-18-b448627ced96>:8 for jit, this concrete value was not available in Python because it depends on the value of the argument 'unshaped_params'.
See https://jax.readthedocs.io/en/latest/errors.html#jax.errors.TracerArrayConversionError

I have already set the variable IMPORT_JAX = True in discopy's config.py. any suggestions on how to fix it?

Hi @nlpirate, which version of discopy are you using? The README of that repository requires discopy 0.3.5.

This issue was resolved in the "QNLP-in-Practice" paper repository: https://github.com/CQCL/qnlp_lorenz_etal_2021_resources/issues/2.


Typo in put method?

Shouldn't that one
https://github.com/tizz98/py-front/blob/321cbf686056b47f49664f1f0136a5231ac96dba/front/api.py#L26
reads as
return self._request(endpoint, 'post', data=data, json=json, **kwargs)

yup it should be @dchaplinsky feel free to make a PR 😄


APS-831 Add ability to log API Request/Response for local deploys

This is only enabled for local deployments.
If enabled a sentry error will be logged, meaning we’d spot this quickly if the configuration was enabled in any other environment.
2024-05-23 12:35:48.729  INFO 56857 --- [nio-8080-exec-4] u.g.j.d.h.a.config.HttpLoggingFilter     : Request  | request.uri=/applications, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/applications, request.serviceName=approved-premises, request.id=7807a750-b333-4efe-a649-70be48dd732e
2024-05-23 12:35:48.729  INFO 56857 --- [nio-8080-exec-4] u.g.j.d.h.a.config.HttpLoggingFilter     : Response [{"createdByUserId":"aa30f20a-84e3-4baa-bef0-3c9bd51879ad","status":"started","isWithdrawn":false,"hasRequestsForPlacement":false,"type":"CAS1","id":"97bd44ae-3e91-4b0e-ad8c-2873f0050bbc","person":{"name":"Aadland Bertrand","dateOfBirth":"1987-08-02","sex":"Male","status":"InCustody","crn":"X320741","type":"FullPerson","nomsNumber":"A1234AI","pncNumber":null,"ethnicity":"White: British/English/Welsh/Scottish/Northern Irish","nationality":"British","religionOrBelief":"Other","genderIdentity":"Prefer not to say","prisonName":"Leeds","isRestricted":false},"createdAt":"2024-05-23T10:37:17.202561Z","isWomensApplication":false,"isPipeApplication":false,"isEmergencyApplication":null,"isEsapApplication":null,"arrivalDate":"2025-12-12T00:00:00Z","risks":{"crn":"X320741","roshRisks":{"status":"retrieved","value":{"overallRisk":"High","riskToChildren":"Medium","riskToPublic":"High","riskToKnownAdult":"High","riskToStaff":"Low","lastUpdated":"2022-11-02"}},"tier":{"status":"retrieved","value":{"level":"D2","lastUpdated":"2022-09-05"}},"flags":{"status":"not_found","value":null},"mappa":{"status":"not_found","value":null}},"tier":null,"releaseType":null,"submittedAt":null}] | request.uri=/applications, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/applications, request.serviceName=approved-premises, request.id=7807a750-b333-4efe-a649-70be48dd732e
2024-05-23 12:35:55.332  INFO 56857 --- [nio-8080-exec-6] u.g.j.d.h.a.c.LoggingHandlerInterceptor  : GET /reports/referrals - 200 | request.params.year=2023, request.uri=/reports/referrals, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/reports/referrals, request.params.month=1, request.serviceName=approved-premises, request.id=c1523478-41d4-4f62-86b0-74d8aa978c03
2024-05-23 12:35:55.333  INFO 56857 --- [nio-8080-exec-6] u.g.j.d.h.a.config.HttpLoggingFilter     : Request  | request.params.year=2023, request.uri=/reports/referrals, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/reports/referrals, request.params.month=1, request.serviceName=approved-premises, request.id=c1523478-41d4-4f62-86b0-74d8aa978c03
2024-05-23 12:35:55.333  INFO 56857 --- [nio-8080-exec-6] u.g.j.d.h.a.config.HttpLoggingFilter     : Response not logged as content type is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | request.params.year=2023, request.uri=/reports/referrals, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/reports/referrals, request.params.month=1, request.serviceName=approved-premises, request.id=c1523478-41d4-4f62-86b0-74d8aa978c03
2024-05-23 12:35:59.452  INFO 56857 --- [nio-8080-exec-8] u.g.j.d.h.a.config.HttpLoggingFilter     : Request  | request.params.crn=X320741, request.uri=/people/search, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/people/search, request.serviceName=approved-premises, request.id=dbe843d1-f6d0-4025-b918-fac1f499412c
2024-05-23 12:35:59.452  INFO 56857 --- [nio-8080-exec-8] u.g.j.d.h.a.config.HttpLoggingFilter     : Response not logged as content type is application/vnd.spring-boot.actuator.v3+json | request.params.crn=X320741, request.uri=/people/search, request.user=JIMSNOWLDAP, request.method=GET, request.pathPattern=/people/search, request.serviceName=approved-premises, request.id=dbe843d1-f6d0-4025-b918-fac1f499412c

Nice idea. It would be helpful to see an example of what this does on the PR but I trust it's outputting what you need 👍

That's a good point, I've added some sample output to the PR


Error While Deployment of auth and hello apps

Errors:
"""
Error from server (BadRequest): error when creating "deployments/auth.yaml": Deployment in version "v1" cannot be handled as a Deployment: v1.Deployment.Spec: v1.DeploymentSpec.Selector: v1.LabelSelector.MatchLabels: ReadMapCB: expect { or n, but found ", error found in #10 byte of ...|hLabels":"app:auth"}|..., bigger context ...|},"spec":{"replicas":1,"selector":{"matchLabels":"app:auth"},"template":{"metadata":{"labels":{"app"|...
"""
"""
error: error validating "deployments/auth.yaml": error validating data: ValidationError(Deployment.spec.selector.matchLabels): invalid type for io.k8s.apimac
hinery.pkg.apis.meta.v1.LabelSelector.matchLabels: got "string", expected "map"; if you choose to ignore these errors, turn validation off with --validate=fa
lse
"""

These errors were observed after applying changes in yaml file as suggested by #13 i.e version change and adding selector labels


Unable to call the cleaning script

BBB 2.5.6
Ubuntu 20. 04
I’ve been using the script for some time.
Since short, possibly since BBB 2.5 and Ubuntu 20.04 It doesn’t work anymore.
I haven’t really been able to fix the problem yet.
Installed as described
/etc/sudoers.d/bbb-autodelete is available.
After the end of the meeting the following is logged:
/var/log/bigbluebutton/archive-*. log
INFO --: Calling the cleaning script to remove raw files of rooms with no recording requested.
WARN --: Unable to call the cleaning script
Use the manual script:
manual-cleaning.sh
./manual-cleaning.sh: line 8: /usr/local/bigbluebutton/core/scripts/post_archive/delete_raw_if_no_recording.rb: Permission denied
ls -la /usr/local/bigbluebutton/core/scripts/post_archive/delete_raw_if_no_recording.rb
-rw-r--r-- 1 root root 3358 Oct 11 13:01 /usr/local/bigbluebutton/core/scripts/post_archive/delete_raw_if_no_recording.rb

/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- trollop (LoadError)
apt install ruby-trollop
fixed the script for me


How to get CRA with babel-plugin-macros (emotion/macro) with require.context working?

Describe the bug
in CRA i'm trying to use then new macros feature (emotion/macro) while requiring .stories.tsx in config.js.  babel-plugin-macros and require.context conflict, so tried adding "plugins": ["require-context-hook"] > .storybook/.babelrc but than no stories are loaded. Any idea?
This should be a common scenario so I'll contribute docs when it's resolved.
To Reproduce
Steps to reproduce the behavior:

create a project with CRA (--typescript in my case)
npx -p @storybook/cli sb init
import styled from 'react-emotion/macro' > src/components/test.stories.tsx
require.context('../src/components', true, /\.stories\.tsx?$/) > config.js
see:

WARNING in ./node_modules/babel-plugin-macros/dist/index.js 62:46-53
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

add   "plugins": ["require-context-hook"] > .babelrc
no stories are loaded.

Code snippets
If applicable, add code samples to help explain your problem.
config.js:
import { configure } from '@storybook/react'
const req = require.context('../src/components', true, /\.stories\.tsx?$/)

function loadStories() {
  req.keys().forEach(filename => req(filename))
}

configure(loadStories, module)

.babelrc:
{
  "plugins": ["require-context-hook"]
}

webpack.config.js be like:
const path = require('path')
const TSDocgenPlugin = require('react-docgen-typescript-webpack-plugin')

module.exports = (baseConfig, env, config) => {
  config.module.rules.push({
    test: /\.(ts|tsx)$/,
    loader: require.resolve('awesome-typescript-loader'),
  })
  config.plugins.push(new TSDocgenPlugin()) // optional
  config.resolve.extensions.push('.ts', '.tsx')
  return config
}

System:

OS: Manjaro 4.14
Framework: react, emotion

require-context-hook is definitely should not be added. It's needed to polyfill require.context for Node (for example tests)
What is this .babelrc you are using? Don't CRA hide their babelrc?

it does, I tried putting a .babelrc in stories, just to try that plugin.

CRA is now using babel to transpile typescript, that is how babel-plugin-macros kicking in. If using ts-loader/awesome-typescript-loader babel won't be applied.
You need probably to replace your ts rules with babel-loader and @babel/preset-typescript
Or you can help with this #4587, and it will be working by default =)


[Feature Request] "Label" attribute for buttons

Feature Request
What's the feature you think Backpack should have?
As mentioned in https://github.com/Laravel-Backpack/Base/issues/422, developers might want to just rename a button, for it to say something else. In fields, columns, filters they can do that, so they might expect to be able to do that for buttons to. But they can't, because the button label is hardcoded into the blade file (taken from the translation).
But we should be able to pretty easily add a new property on the Button class, $label, that is then used in the button blade file, to allow the developer to easily overwrite a button text (or icon).
Have you already implemented a prototype solution, for your own project?
No
Do you see this as a core feature or an add-on?
Core

Awesome! it's additional feature but it will be helpful for developer!


Check for ascendents and document.location.href instead

@shogun70 What do you think?

@shogun70 Yes, good catch. I realized this myself as I went to sleep :P

Closing this, since same change is now in https://github.com/gustafnk/h-include/pull/19


colours

Why the pokemon spawn point have different colour?

https://github.com/PokemonGoMap/PokemonGo-Map/pull/969
• Default color is purple
• At 5 minutes, spawn circles turn light blue and becomes darker until the spawn time
• At spawn time, spawn circles turn green and change to red over the course of the active spawn


image is very large,can it delay loading?

The panoramic image I need to load is very large,about 95Mb. It takes a long time to load. Can it delay loading? Or is there any other ways？

This is what Pannellum's multiresolution format is for, which splits the image into many small tiles such that it can be quickly loaded as needed. An equirectangular image can be converted into this format using the generate.py script.


fixes #74 by bypassing version check as an interim solution

First pull request? Read our guide to contributing
Checklist:

[x] Code has been formatted with autopep8 --in-place --recursive --a --a .
[x] Ensure all new and existing tests pass

Description:
Please explain the changes you made here:
Interim fix for ipfs version issue when connecting to js-ipfs exposed by origin-js dev setup.

@ambertch I have done the changes as discussed here: https://github.com/ipfs/py-ipfs-api/issues/126
Testing js-ipfs with py-ipfs-api now and updating test cases to make a PR to upstream and get back to the default API. But for the short term, the solution in this PR should work

LGTM!


Home page

[x] create a home page
[x] add a link to the home page in the main nav
[ ] keep the <h1> header for screen readers, but hide it visually
[ ] add measure for main content
[ ] intro blurb
[ ] photo of me giving Grad Slam talk (float left, maybe even outside text somewhat)
[ ] Me on the Web (set of links)
[ ] Linguistic Discovery (set of links)

Some useful wording:

My theoretical interests lie in the areas of linguistic typology and discourse, with an eye towards diachronic explanation and functionalist theory. I aim to understand the principles that underlie linguistic structure as it emerges from the social, cognitive, and discourse-oriented influences on language iterated over time. I approach this topic by applying corpus-based methods to documentary corpora of a diverse set of languages, whether these are corpora I have compiled through my own fieldwork, or acquired from other researchers. My research has a strong focus on data management and corpus linguistics for the purpose of empirical accountability, and to that end I have been working to develop data formats and browser-based tools for managing linguistic corpora, texts, and lexicons on the web.


(PSA/Info) If it stopped working for you, you must verify files/reinstall.

Hi, huge fan of the project, love what you're doing, thank you! I hope this helps someone.
At some point in an earlier version, Hephaistos seemed to corrupt some of my Hades files. As a result, I could not reinstall Hephaistos with really any version. Additionally, Hades could not read the save files.
I'm not sure if this is just a problem with me, but what I had to do was verify integrity files. Hephaistos was then effectively fully uninstalled (which, the program could not do by itself). Then, once I reinstalled Hephaistos, it worked, and everything is good now.
Sorry if this is either a "me only" issue, or not the right place to put this. Thought it was important.

Don

Hey! Do you happen to recall with which version this happened? I did switch up how Hephaistos worked internally several times while in v0.X, as it was not intended to be stable anyway 😄 And indeed there was one point where Hephaistos could not retrieve the backup files from an earlier version because I switched where they were stored.
It should not happen with 1.X onwards: should a breaking change be necessary, it will be release as 2.X and explicitly marked as such.

Sorry if this is either a "me only" issue, or not the right place to put this. Thought it was important.

Definitely the right place. I think we should be OK though, as this "worst case recovery scenario" can always be given to folks coming in with whatever issue (and I mean Steam integrity check is standard procedure when a mod breaks any game, right?), and anyway it should probably not happen anymore unless someone misuses the --force flag 😁

Did you play with the v1.X releases? Any feedback or anything? I've done a lot of runs trying to make sure it works well but I might have missed stuff, so don't hesitate to report it 🕵🏻

Hi there beloved Creator!
Good to hear that my issue makes sense, I think you're right that 1.x Hephaistos, having changed quite a few times during 0.x development, eventually was not able to identify the files from the old version.
By the way, I'm happy to help. Hephaistos is a wonderful project, and sadly I have no tips for you on how to make it better, haha!
1.x Hephaistos looks really good, I haven't run into any problems yet (aside from this specific issue involving the files being corrupt).
Thank you once again for your dedication to Hades and the Ultrawide community, you've made me and a lot of other people happy with this project! Good luck with future versions and projects.

Don :)


Moving window can become frequently unaligned

There is a clear window within the smart contract of how many tokens can be given within the interval, however in this implementation the window movement isn’t clearly defined. It is based on when the next claim starts instead of the end of the previous window, leaving gaps in the timeline.
The optimal solution would be that each window starts at exactly the moment the previous window ends, so that the total amount of tokens given over the broader timeline is expressed deterministically. For instance; 24 hours and 1000 tokens should equal no more and no less than 365,000 tokens over 1 year.
https://github.com/edenia/ultra-faucet/blob/main/faucet/src/faucet.cpp#L45

Thank you very much @nsjames.
What would happen if a faucet transfer is less than the maximum token per window time after the first window ends? Will it stack in the next transfer window?

Ideally it would work like so:

1000 available | 1000 available | 1000 available | 1000 available |
1 hour       |        1 hour       |        1 hour      |       1 hour        |
So every hour 1000 UOS would be available for claiming.

Thanks, looking into this now :)


deleting working stream

testing demon 3.8.0alph;  Win10
IPTV - remove all unavaiable = lost working streams are deleteng
could you check please
https://cp1.server89.com:19360/dasberni/dasberni.m3u8

I don't see any problems with this stream. Doesn't delete anything for me.

he does
please use same ref. number
4097_0_1_3604_3565_650d_1010101_0_0_0
if you have ref number basic - 4097_0_1_0_0_0_0_0_0_0
channel are not deleting...

he does

At me doesn't.

strange, maybe becouse im WIN10?

On screenshots Windows 10 also.

what could be difference?
any ide?
i see you did some update on demon
my wersion are from 06 sep ..do you have same or new one?

I tested with this version.

im using same...

Could yu check my bouquet, plese
...all streams will deleting....
"IPTV- Remove all unavaibe"
[
userbouquet.e2m3u2b_italia-tuvi_new-broadcasts.tv.txt
](url)

im using same...

Depending your screenshot this is an older version. Show your About dialog!

Could yu check my bouquet, plese ...all streams will deleting.... "IPTV- Remove all unavaibe"
[ userbouquet.e2m3u2b_italia-tuvi_new-broadcasts.tv.txt ](url)

just remove ".txt "

Download again and run from the unpacked folder. Perhaps you unpacked over an old version or something similar.

done. but same story.... streams deleted

fill list/bouquets

after "remove all unavaiable" stsays just marker

did you test sending bouquet?

Yes. I’m not completely sure of the correctness of this file, but I see one potential problem. Perhaps this is really a bug. I'll take a closer look later.

I'll take a closer look later.

hope you will find and fix bug and new version will be relesed
thank you for hard work

thank you, believe is working
could you relesed new version for Win10 please

Test builds.


fix!: do not pull cli defaults from the top level default key

One common issue I have been running into, when you set a default it passes that into the yargs config, which then results in thinking that is user input, so it will override any other default behaviors.  This is unexpected to me, and it has meant that I often have set defaultDescription for the yargs settings and then had the actual .defaults() call set the default in my program logic.
Thoughts?
cc @boneskull

An example:
      cwd: {
        description: 'Directory to run in',
        prompt: false,
        flag: {
          alias: 'd',
          defaultDescription: 'process.cwd()'
        }
      },

Then in the app code I have:
opts.defaults({
  cwd: process.cwd()
})

If I had instead passed .flag.default or .default the call in the app code would do nothing because the "default" from the cli invocation would come through as if it was user input on the call via --cwd=/foo.


fix: 🐛 fixing the findUsecases function

Fixes #

Proposed Changes

Fix the findUsecases function to generate the "findAll" routes.

Readiness Checklist
Author/Contributor

[ ] If documentation is needed for this change, has that been included in this pull request
[ ] Remember to check if code coverage decrease, if so, please implement the necessary tests

Reviewing Maintainer

[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance

@Vx-Nico your code changes the src, but not the tests. where is the test case exercising this scenario you changed?
not sure, but the reason why the CI is not building might be because the test for this scenario is broken.


Short solution needed: "Redis transactions using multi and exec" (python-redis)

Please help us write most modern and shortest code solution for this issue:
Redis transactions using multi and exec (technology: python-redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Redis transactions using multi and exec


Fixed Spelling.

Thanks. I have also forwarded this to the third-party project: https://github.com/PrismJS/prism/issues/1508.


Wrong solution to problem.

Challenge Prefilter JSON has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Cat Photo Finder

      The message will go here

      <button id = "getMessage" class = "btn btn-primary">
        Get Message
      </button>

The example wants us to "Let's filter out the cat whose "id" key has a value of 1."
But in the example you use return (val.id !== 1);
So we get all the cat with id not 1.
--

I'm sorry if I misunderstood this. Maybe we are given an example of how to change this and should solve the problem ourselves. I think that may be the case when I look at it again now.
Sincere apologies for this.


mermaid in Markdown Edit

It's amazing!!! A way to bring graph to the edit.
We can let people edit the graph in the place where they want to insert the pic, and introduce some syntax that doesn't conflict with markdown's to indicate the start and end of mermaid text. For example:
%MERMAID%
....mermaid text....
%END MERMAID%
When displaying the html on the right or export to pasteboard, we first filter this out and insert some hint at the place. After CommonMark parses the text into html, we insert it back with

 arounded.

I think mermaid is a neat idea as well.
The CommonMark Engine has to be told not to touch mermaid content. As it happens, this is already built into the CommonMark specification. Inline HTML is escaped, so to speak, from parsing so the

 tag actually produces the correct behavior.
Of course, a snippet could be added to make adding the tag easier.
Another thing to consider is that mermaid produces SVG which is targeted to work in a browser. The tag is a signal that this wiill only work in a browser.
So really, the work to implement this feature is to browserfy the mermaid stuff and add it inline to the default template. It's almost a freebie code-wise.

Just tried this. Mermaid is not supporting IE at the moment. I put in an issue. It looks like a minor problem.

I think it's because IE does not support SVG currently. We can try another browser in the preview window (the right window), for example, webkit-based browser.
I'll try https://github.com/cefsharp/CefSharp first. If it works, users just cannot view the exported html in IE browser, but it shows the graph in the preview window, which is acceptable from my view.

IE supports SVG. I talked with the author of Mermaid and he's
investigating.
On Wed, Jan 21, 2015 at 6:23 AM, Roger Shi<EMAIL_ADDRESS>wrote:

I think it's because IE does not support SVG currently. We can try another
browser in the preview window (the right window), for example, webkit-based
browser.
I'll try https://github.com/cefsharp/CefSharp first. If it works, users
just cannot view the exported html in IE browser, but it shows the graph in
the preview window, which is acceptable from my view.
—
Reply to this email directly or view it on GitHub
https://github.com/mike-ward/Markdown-Edit/issues/9#issuecomment-70821575
.

Issues still not resolved in mermaid. Dropping it.


Not receiving location on a specific device

Describe the bug
I have migrated from mauron85's cordova plugin to this one. I tested the app in virtual device with Android 11 and it worked well. But when I tested it on a physical device (previously working with the app), it says "Google Play Store is missing".
Other apps on this device work well with location.
Other devices with this app work well.
This error occurs even after OS reinstall.
I don't really think it is a bug, but I don't have any other idea what could cause it. I think it's something with the UnifiedNlp (microG), but I am not really experienced in this area. Do you have any suggestions?
To Reproduce

Subscribe to location updates
The location won't be ever given and logcat says W/GooglePlayServicesUtil: Google Play Store is missing.

Smartphone (please complete the following information):

Device: Sony E5823
OS: Android 11 (LineageOS with Play store and UnifiedNlp)

The variables.gradle file in your project should specify a version for the play services dependency, like so:
    ...
    playServicesLocationVersion =  '17.0.0'
}

This variable, $playServicesLocationVersion,  is used in the plugin's build.gradle to install the  correct dependency.

Thank you for your reply! I found out that 17.0.0 is the default version and 18.0.0 is (probably) the newest version. But what is the best practice? How to find the correct version? I tried 15.0.0 to 18.0.0 with just some variations in the error messages.
Can you, please, link me to some documentation for that?

Encountering the same problem and suspecting this plugin requires google services installed on the devices. Could you confirm that without gms this plugin simply won't work? Migrating from mauron85's plugin as it no longer works with capacitor when building signed apks.

We resolved that issue by reinstalling the LineageOS on the phone. I didn't investigate further.

Thanks for the reply. I figured out that this plugin uses Google Play Location APIs to provide service. I combined mauron85's plugin with this one and now it worked.


Fix account number capitalization in OptionsOrder

In OptionsOrder.init:

Function gets initialized with argument account_number
Options order endpoint gets defined with ACCOUNT_NUMBER
Error gets thrown.

Fixed. Updated version of uvatradier is 0.2.5


PoolСluster auto-restore node

#880

@dougwilson, should I wait for this fix?

+1

Sorry for the delay :( This PR is marked for the 2.6 milestone and I'm currently working through merging them all.

Please test the version that has landed on master as thoroughly as you need so we can catch issues before being released :)

I've tested pool cluster by shutting down mysql server nodes (I had 3 of them). Works well, but sometimes pool cluster emits a lot of offline events at a time. It's not a big problem, because it is not an exception.

Works well, but sometimes pool cluster emits a lot of offline events at a time

I'll take a look into this.

It happens when cluster is trying to restore node, but remote server still offline.

Gotcha. Yes, I was able to determine the same. It's a limitation unless the PoolCluster is seriously refactored such that we make the lookup for a node to be async instead of sync.


don't access other node's docker_exec_cmd variable

Except for some corner case, it's not correct to access some other
node's copy of variable docker_exec_cmd. Therefore replace
hostvars[groups[mon_group_name][0]]['docker_exec_cmd']by
docker_exec_cmd.
Signed-off-by: Rishabh Dave<EMAIL_ADDRESS>

Only ceph-ansible-prs-dev-centos-non_container-purge and ceph-ansible-prs-dev-centos-non_container-update have failed during second phase of testing.

jenkins test dev-centos-non_container-purge

jenkins test dev-centos-non_container-update


[pydirectml] fail to run a graph with single reshape (reinterpret) node

The following code could be used to reproduce this issue
import pydirectml as dml
import numpy as np

device = dml.Device()
builder = dml.GraphBuilder(device)
input_bindings = []
input = dml.input_tensor(builder, 0, dml.TensorDesc(dml.TensorDataType.FLOAT32, [16, 4, 4, 10]))
input_bindings.append(dml.Binding(input, np.ones([16, 4, 4, 10], dtype=np.float32)))
reshape = dml.reinterpret(input, dml.TensorDataType.FLOAT32, [1, 1, 256, 10], [2560, 2560, 10, 1])
# works with the following line
# reshape = dml.activation_identity(reshape)
op = builder.build(dml.ExecutionFlags.NONE, [reshape])
output_data = device.compute(op, input_bindings, [reshape])
output_tensor = np.array(output_data[0], np.float32)
print(output_tensor)

The error log is
Traceback (most recent call last):
  File "reshape.py", line 12, in <module>
    op = builder.build(dml.ExecutionFlags.NONE, [reshape])
RuntimeError: E_INVALIDARG

As commented in the code, if append another activation_identity node, it works. This issue can be reproduced before and after PR #69 .

This graph fails to create because it's essentially empty (zero operator nodes). There's no DirectML work to execute.
DirectML doesn't have a reshape operator because it doesn't have tensors as API objects. The caller (app, framework, pydirectml) feeds tensor descriptions to DirectML, but DirectML executes on D3D buffers. The shape of a tensor is just metadata. The dml::reinterpret API's purpose is to connect operator nodes in a graph while reinterpreting their tensor descriptions with different types or shapes. Since you graph has only input nodes and reinterpret nodes, there's nothing to execute!
You should really just call numpy.reshape on the data here.

This graph fails to create because it's essentially empty (zero operator nodes). There's no DirectML work to execute.
DirectML doesn't have a reshape operator because it doesn't have tensors as API objects. The caller (app, framework, pydirectml) feeds tensor descriptions to DirectML, but DirectML executes on D3D buffers. The shape of a tensor is just metadata. The dml::reinterpret API's purpose is to connect operator nodes in a graph while reinterpreting their tensor descriptions with different types or shapes. Since you graph has only input nodes and reinterpret nodes, there's nothing to execute!
You should really just call numpy.reshape on the data here.

Thanks for the explanation. I'll follow your suggestion. Closing this issue.

Thanks for the explanation. I'll follow your suggestion. Closing this issue.


[ADAM-1307] Add script for moving to Spark 1.

Resolves #1307.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1681/
Test PASSed.

Merge this on its own or wait for #1319?

+1 to merge this on its own.

Thank you, @fnothaft


Issue with editable-bsdate and UI Bootstrap 0.13.0

With the recent update of UI Bootstrap to 0.13.0, there were several datepicker fixes. I believe some of these fixes may be breaking the assignment in xeditable, because I receive an assign error each time. I also noticed that the date is formatted when you start the edit, but when selecting a new date it reverted to standard JS date.

@planttheidea any fix for this that you were able to find?

Hello Guys,
Could you please fix bootstrap datepicker attribute issue.
There is a wrong name of the attribute datepicker-append to body:
expected: inputDatePicker.attr('datepicker-append-to-body', this.attrs.eDatepickerAppendToBody || false);
actual: inputDatePicker.attr('date-picker-append-to-body', this.attrs.eDatePickerAppendToBody || false);

This issue can be closed.