Very basic problem - updating vertices for existing line

I have a simple line and the vertices are driven by the React state, like this:
                        <line>
                            <geometry vertices={this.state.vertices}/>
                            <lineBasicMaterial color={0xc0c0ff}/>
                        </line>

I'm seeing issues with redrawing when the vertices change. Basically adding/removing vertices does not redraw the line and no change is seen.
However, if something else changes to cause a full "reset", the changes to lines are seen!
I have added a demo of this problem to a forked version of react-three-renderer-examples here:
https://github.com/jugglingcats/react-three-renderer-example
New page added to the menu "Line segments issue". On this page there are buttons at the top. Try clicking the buttons to add/remove lines, and you will see nothing happens. However, if you click the Hide button and then Show to drop/re-add the whole React3 scene, you can see the changes.
Am probably doing something very basic wrong...! Is this expected behaviour and how can I workaround it?
Thanks.

Hi,
Looks like it's a bug! I'll fix asap.
Thanks for reporting!
On Fri, Nov 25, 2016, 19:14 jugglingcats<EMAIL_ADDRESS>wrote:

I have a simple line and the vertices are driven by the React state, like
this:
                    <line>
                        <geometry vertices={this.state.vertices}/>
                        <lineBasicMaterial color={0xc0c0ff}/>
                    </line>

I'm seeing issues with redrawing when the vertices change. Basically
adding/removing vertices does not redraw the line and no change is seen.
However, if something else changes to cause a full "reset", the changes to
lines are seen!
I have added a demo of this problem to a forked version of
react-three-renderer-examples here:
https://github.com/jugglingcats/react-three-renderer-example
New page added to the menu "Line segments issue". On this page there are
buttons at the top. Try clicking the buttons to add/remove lines, and you
will see nothing happens. However, if you click the Hide button and then
Show to drop/re-add the whole React3 scene, you can see the changes.
Am probably doing something very basic wrong...! Is this expected
behaviour and how can I workaround it?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/toxicFork/react-three-renderer/issues/131, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA0iLRu8VhANjkQDAkvGQNC8zwMGoN8Gks5rBzORgaJpZM4K8q2E
.

Perhaps this is useful: https://github.com/mrdoob/three.js/wiki/Updates#geometries.

Can you think of any hack/workaround to have the three geometry recreated when updates occur? Happy to do anything that will get beyond this issue while waiting for a 'proper' fix... Tx

I found a workaround here: https://groups.google.com/forum/#!topic/reactjs/8JgClU9jol0.
Basically I added key={"rnd"+Math.random()} to the <line> element.
Total hack but moves me forward ;)

Oh, I see, I can think of a way of fixing this in react-three-renderer as well, thanks for posting the workaround!

I am running into a very similar issue.  Here is my setup:
          <points ref='points'>
            <geometry
              vertices={this.pointVertices}/>
            <pointsMaterial
              color='#000000'
              size={pointRadius}
              map={this.sprite}
              blending={THREE.NormalBlending}
              depthTest={false}
              transparent={true}/>
          </points>

If I update the coordinates of the vertices held in this.pointVertices, no update happens on the screen.  However, ray intersections no longer reflect the original positions:
    this.raycaster.setFromCamera(this.mouse, this.refs.camera)
      const intersects = this.raycaster.intersectObject(this.refs.points)
      if (intersects.length > 0) {
        this.state.hoveredEventDetails = intersects[0].index
      }

indicating that the new positions are being used for the intersectObject calculations, but not for the render.
On the other hand, if I treat this.pointVertices as immutable and assign a completely new copied-and-modified array to it on each animation, the visible positions will update, but the mouse hover intersect does not reflect the new positions 😕
My ideal situation would be not requiring a copy and reassign on each render for visible updates, and for the intersect calculations to reflect the new positions, as if a full world render was being done with the new positions.
In my case, the random key solution does not work when I apply it to either the points or geometry object.
Thanks for the help!

I used the following workaround for my vertex-updating issue:
On each render, I call...
  this.refs.points.geometry.applyMatrix(this.refs.points.matrixWorld)

...before checking for intersections with
  this.raycaster.intersectObject(this.refs.points)


[gsutil] update to 4.65

Library name: gsutil
New version number: 4.65
Other information that may be useful (release notes, etc...)
scripts/vcpkgTools.xml
ref.:
https://storage.googleapis.com/pub/gsutil_4.65.ReleaseNotes.txt

Closing in favor of https://github.com/microsoft/vcpkg/issues/18815


BannerAd Failed to Load: LoadAdError Code 1

I encountered an error while trying to load a BannerAd in my Flutter application. The error details are as follows:
BannerAd failed to load: LoadAdError(code: 1, domain: com.google.admob, message: Request Error: No ad to show., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: null, adapterResponses: [], loadedAdapterResponseInfo: AdapterResponseInfo(adapterClassName: , latencyMillis: 0, description: , adUnitMapping: {}, adError: null, adSourceName: , adSourceId: , adSourceInstanceName: , adSourceInstanceId: )), responseExtras: {})
I have ensured that my ad unit ID is correct and that I am using the latest version of the google_mobile_ads package. However, the issue persists. Any guidance or suggestions to resolve this issue would be greatly appreciated.

Hi @alionurozdemir, this is an ad serving issue which the Flutter plugin does not control. Please create a new thread in the AdMob Developers Forum for your issue to be properly triaged.
Closing this out. Thanks!


Deprecate package-specific changelogs

Description of changes:
We should store all changelog entries for the entire repo in a single CHANGELOG file at the root of the repo, as is standard practice for monorepos, to avoid confusion. This PR adds a note that future CHANGELOG entries will only be added to the top-level CHANGELOG.md file.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The full_sdk package doesn't actually contain any business logic, it just depends on the core, express, mysql, and postgres packages and used to contain the main changelog for all the other packages. If there is ever any substantive changes or actual business logic added to the full_sdk we can start including it in the changelog, but for now I think it's ok as is.


Django Collect static fail

I found an issue.
I do not know why, but after I add this library, I failed release new version because of failure of collect static.
Could you please check this issue?
Thanks

I need more informations, please fill the template for issues.
Thanks.


Can an overlay change a function definition?

Suppose I had a yml file that declared a function that is called throughout that yml file.  Can I add an overlay that redefines that function to have different content?

I think it cannot.
If you see here https://carvel.dev/ytt/docs/v0.49.x/how-it-works/ , overlay works on top of evaluated templates. Evaluated templates cannot have function definition because ytt does not emit comments, and all functions are defined as comments.

@scastria
for ytt clarifications, you can also reach out on #carvel in Kubernetes Slack


Fix robhz786/strf issue #12

See: Two templates for strf::range coincide - an issue of the parent repository. I need it fixed for my own work on the CUDA support feature (well, actually, for CUDA-related code that isn't part of strf for now and may not be).

See my comment there

@robhz786 : Got it. Well, ok, I'll apply the change you made on your repo here as well.


Dynamic and manual control over vehicle speed/position

I am wondering if this simulator provides an interface to control position (x,y) and velocity for specific vehicle IDs on the fly and during simulation. Like, when you want to manually drive one or more vehicles at your desired location/speed. That is something supported by SUMO and other simulators, however, I was not able to find an answer in CityFlow documentation.

CityFlow supports change vehicle speed on the fly, use set_vehicle_speed API, see https://cityflow.readthedocs.io/en/latest/start.html#control-api


[32-bit] functions.sh: Use the matching architecture

Change wget -c https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool in functions.sh as to use the matching architecture.

Sounds like this was fixed in 27682a424850870e2a2e5749cd62011462a0aeb8?

Indeed, thanks for your attention @uwehermann.
Feel free to reopen if the issue persists.


Poor Handlebars syntax highlighting in Material Spacegray

First of all let me say this is an issue I've had with plenty of color schemes in Sublime Text, so it may not be something wrong with this project.
Using the Sublime Handlebars extensions, syntax highlighting for .hbs. or .handlebars files is poor in a number of color schemes, specifically Spacegray. The main issue I have is that the opening and closing brackets as well as the "control" keywords (if, else, anything with a # before it) are all the same color. It'd be better if those at least were different. The properties passed to an Ember component (first screenshot) should also be different colors, not just the strings, but that isn't a big deal.
The problem is not with the extension by the way, it works in other color schemes. It's just Spacegray, Spaceblack, Spacegray Oceanic, etc that have this issue. Thanks.
Theme Issue:

OS: OS X El Capitan
Sublime Text version: 3103
Materialize version: 2.5.11
Description of issue: Poor syntax highlighting for Handlebars
Steps to reproduce (if appropriate): Load up any Handlebars file
Screenshot of issue (if appropriate):

Here's how it looks like on Atom Spacegray, for example:

Thanks for raising the issue. Yeah, this seems to be a problem with the original base16 color schemes. I can add support for Handlebars syntax, but there are some limitations due to the Handlebars language definition (I assume you're using this one.) It doesn't have any syntax definitions for the properties, so I can't make that a different color. So the best I can do right now is:

Let me know if I misunderstood what you meant by any of those color changes, I haven't actually used Handlebars before. And I'll raise an issue on the language definition and see if he would be down for adding support for parameters.
If you're cool with this I'll prob be able to push this by tomorrow since I had a couple of other pending issues to resolve as well.

Also, I can actually control the colors in a line like this:
{{if buttonDisabled "disabled" "green white-text"}}"

In a situation like this, would it make more sense for if and buttonDisabled to be the same color or have them be different like in the screenshot above?

Yeah your screenshots look fine, thanks! I'll also post an issue in the Handlebars Sublime syntax just in case, but for now this is good enough.

Update: Would it be possible to change the orange to another color entirely? Not sure what is the best alternative, but anything can be better than that.

Thanks for creating the issue over there, actually got a very bad case of the flu over the weekend. I've made some color modifications and pushed the changes to Package Control so the color schemes should update within a few hours. Once your scheme has updated let me know what you think about the color changes.  If you have any suggestions I can just do a quick patch. So just let me know if there's too much blue or too much red now or w/e. I tried to make it look a bit more similar to the Atom version.
I'll leave the issue open for now.

No problem, take your time and feel better! Either way the Handlebars project doesn't seem very active so it'll probably be a while until we get a reply anyway—thought I might as well do it now. I'll report back on the new colors later. Thanks.

Just updated—looking good! Thanks.

Okay, I'll close this issue but I'm watching the issue you created so I'll make updates if he replies.

Has this syntax highlighting been updated? I'm facing the exact same issue and my projects are heavily Ember-oriented. I absolutely love this theme but the same color between the {{ and the operators right after is throwing me off a lot. Currently, with material theme, my snippets looks like this:

versus default:

I saw here : https://github.com/daaain/Handlebars/issues/81 that the author of the handlebars package said he added definitions (?), but even with the latest versions, I'm not seeing the theme update with the screenshots you provided on May 7, 2016. Has something changed? This would be a tremendous help!


Redis sessions not working

Hey, i'm not sure if this issue is related to #3586
I followed your guide for setting up a more appropriate session store using redis, but cannot seem to set any cookies. I am using sails 0.11.5 with connect-redis 1.4.5 and have this in my config:
  adapter: 'connect-redis',
  host: 'localhost',
  port: 6379,
  db: 0,

What might i be missing here? Also I feel Sails should default to using redis for sessions as i was getting a 140ms delay on each response from the native memory session store on my server. This bottleneck was also quite elusive.

@Boycce will try to reproduce asap-- offhand, I don't see any problems with your usage, but I'll need to take a closer look. Would you mind adding your npm and node version to this issue for posterity in the mean time?

Sweet sure, node 4.1.0, npm 2.14.3. Im quite new to redis, I don't need to start it do I?

@Boycce thanks for posting the version info!

Im quite new to redis, I don't need to start it when we're dealing with connect-redis do I?

Hmm, sounds like that might be the culprit.  You'll want to open a new terminal window and run redis-server (that starts your redis db locally so that connect-redis can connect to it).  If memory serves, part 2 of this video touches on this (can't remember if I did local redis as well as redis on heroku or not offhand though)

When redis server not running. Sails (with passport) don't show any error.
npm 3.3.12; node 5.4.0; passport 0.3.2; passport-local: 1.0.0
brew services stop redis.
passport.use(new LocalStrategy(), function (email, password, done) {
    User.findOne({email: email}, function (err, user) {
      if (err) return done(err);
      if (!user) return done(null, false, {message: 'Incorrect email.'});
      bcrypt.compare(password, user.password, function (err, res) {
        if (!res) return done(null, false, { message: 'Invalid Password'});
        return done(null, user, {message: 'Logged In Successfully'});
      });
    });
  }
));

Howdy @Boycce,
After reading the thread it sounds like y'all might have discovered the issue – wasn't running the redis server locally, but I decided to create a quick project and see what errors I received.
My first thought was there's no need for
adapter: 'connect-redis',
host: 'localhost',
port: 6379,
db: 0,

because its optional and using the default setup.
After creating a new project sails v0.11.5 and uncommenting redis in session.js, I started sails via sails lift.

FYI: No adapter installed and redis not running locally yet.
I get the helpful messages

Do you have the Connect session adapter installed in this project?
Try running the following command in your project's root directory:
npm install<EMAIL_ADDRESS>(Note that<EMAIL_ADDRESS>introduced breaking changes- make sure you have v1.4.5 installed!)

So far so good.  Next I installed the adapter<EMAIL_ADDRESS>and then attempted to start the Sails server using sails lift. The Sails server started without an error.
So despite you being able to solve this issue, an explicit error message would be helpful here if the adapter fails to make a connection to a redis server.

Lol thank-you @mikermcneil, that got it! @udanpe @irlnathan yes an error message would be nice to have like you both suggested.

Opened #3590 to address the lack of error message; thanks everyone for tracking this down!


Matching Claimed performance

I have tried to check the model's performance on ICDAR15 test data. I got H mean of 79 at first. After changing the canvas_size to 2240 as mentioned in the paper, it increased to 84.5 but still short of the claimed performance in the paper which is 86.9. What am I missing and what are further changes required to reach 86.9?

As replied in https://github.com/clovaai/CRAFT-pytorch/issues/38#issuecomment-533800045, the postprocessing code was modified during the code clearing, so there is a performance gap even when using the same model.
Also, we observed that IoU evaluation was very sensitive to the thresholds. In the experiment, our thresholds were 0.85, 0.5 and 0.2 for text threshold, low text and link threshold, respectively.
I hope this will help your experiment.

I have tried to check the model's performance on ICDAR15 test data. I got H mean of 79 at first. After changing the canvas_size to 2240 as mentioned in the paper, it increased to 84.5 but still short of the claimed performance in the paper which is 86.9. What am I missing and what are further changes required to reach 86.9?

Have you reached 86.9 or near by?  Would you please share your parameters setting?


A question about what's happening in training

Great work! I have been using your code, and I noticed that the best results are achieved around the third or fourth epoch during training. Is this because you have some special settings for training?

How do I set it to a larger epoch when 60 epochs are not enough?Thank you for your answer

I changed the line self.parser.add_argument('--nEpochs', type=int, default=100, help='number of epochs to train for') but it still stops with 60 epochs

Thanks.

I have been using your code, and I noticed that the best results are achieved around the third or fourth epoch during training. Is this because you have some special settings for training?

No, it depends on the dataset. So I use the val set to locate the best epoch.

How do I set it to a larger epoch when 60 epochs are not enough?Thank you for your answer

Use --nEpochs to pass a customized epoch.

I changed the line self.parser.add_argument('--nEpochs', type=int, default=100, help='number of epochs to train for') but it still stops with 60 epochs.

When the performance has not improved for --patience epochs, the training will terminate.

Thank you. I changed the line self.parser.add_argument('--nEpochs', type=int, default=100, help='number of epochs to train for') and performance improves at 57th epoch, but it still stops at 60th epoch

what is your command?

what is your command?

my command: python main.py --phase=train_stu --resume=logs/tri_train_tea_0714_005535/ckpt_best.pth.tar

It is because the --nEpochs is overode by the ckpt. You may want to do a hack by adding options.nEpochs=100 after https://github.com/ramdrop/stun/blob/bda3537fcd3562c8f9f3e9a8e104789d960b48bd/main.py#L13

It is because the --nEpochs is overode by the ckpt. You may want to do a hack by adding options.nEpochs=100 after
https://github.com/ramdrop/stun/blob/bda3537fcd3562c8f9f3e9a8e104789d960b48bd/main.py#L13

Thanks for your patience, I'll try the method you suggested later on

Yes,  self.whole_training_data_loader and self.training_data_loader cannot be used interchangeably.

Yes, self.whole_training_data_loader and self.training_data_loader cannot be used interchangeably.

Thank you,But I see that you used the output of the teacher model as the target when training the student model, but I think using the data from training the teacher network together could improve the results,so this question arises


add second talk

cc @emiliom

Thanks, for the ping! I haven't forgotten about this, but I also haven't done it ...
Will try to have it by tomorrow.

ping :wink:

@emiliom -- I'd love to revisit some of the material from your talk. Could you please post it?


Add python37 to travis CI.

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   96.01%   96.01%
=======================================
  Files           2        2
  Lines         777      777
=======================================
  Hits          746      746
  Misses         31       31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6e7a496...865dd15. Read the comment docs.


Fix bank calculation if Golden Switch is active

Currently, the bank for lucky or frenzy/lucky is calculated solely based on CPS. Activating the golden switch makes the required bank go up, but there are no golden cookies to be clicked while GS is active. The bank calculation should ignore the 50% boost by GS to give an idea of what the required bank will be when GS is turned off and golden cookies are set to reappear.

That's a good point.  Though while reading your description, I was thinking you were going to say I should hid the Golden Cookie stats completely while having Golden Switch.

No, it would still be useful to have it because I don't want to turn off the golden switch only to find that I've blown through my bank and have to build it up again. Plus people can always minimize sections they don't use.

Sorry I wasn't clear.  I should have said I agree to just make the calculation without the Switch and keep the stats there.

I guess now I wasn't clear: that is exactly what I wanted out of this issue, do that haha.

Fixed in version 2.4


Should mention that this only works when called from the UI thread

Should mention that this only works when called from the UI thread

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

ID: 57a6c1d7-76d8-320e-be0e-db83257a4bd3
Version Independent ID: 2954912e-f045-38cc-4fa8-7e1d706bcf5c
Content: BrightnessOverride.GetForCurrentView Method (Windows.Graphics.Display) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.graphics.display.brightnessoverride.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Thanks, @KevinKennedy, I have an update in the publishing pipeline right now, and I'll make sure it makes its way to the live site.
Meanwhile I'll close this issue.
Thanks again,
Steve


fix :extended maxDate and minDate limits to 100 years from now.

Description

Extended max date and min date limits to 100 years from now.

Fixes # (#4137) ,(#4408)
Type of change

Bugfix (non-breaking change which fixes an issue)

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 on my code, particularly in hard-to-understand areas
[ ]  I have made corresponding changes to the documentation
[x]  My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
No changes to code coverage between the base branch and the head branch

@techbhavin The max/min date has been extended to 100 years from now in the pane property but not on the widgets. The year range for datepicker widget is still 1921 - 2041.

@techbhavin Tested the latest change and the issue has been fixed. Now the date range at all the places is consistent ie. 100 years from now.

/ok-to-test sha=90d4d3a


⚠ Processors has degraded performance

In c3cae12, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 56 ms

Resolved: Processors performance has improved in 8a81d3a.


failed to select a version for libsqlite3-sys

Describe the bug

Hi, I'm creating an application which uses rusqlite and also would like to use burn.
However, using bert-burn and rusqlite causes the error in the title.
To Reproduce

git clone git@github.com:tracel-ai/models.git
cd models/bert-burn && cargo add rusqlite
Additional context
I've tried the fixes suggested in other issues, none worked.

There seems to be a conflict in the dependencies.
burn = { version = "0.14", default-features = false, features = ["dataset", "std"] }
burn-import = "0.13"

burn version is set to 0.14 but burn-import to 0.13. Looks like burn-import isn't even used. If you remove that it should work.
Was gonna submit a PR but stumbled on another issue so I'll figure this out first.

Ha thanks for flagging this so quickly 😄
Forgot to commit something I had locally in the linked PR specifically for that. There is a missing feature flag in cubecl when burn 0.15 default features are disabled.
burn = { version = "0.15", default-features = false, features = ["dataset", "std"] }
cubecl-runtime = { version = "0.3.0", features = ["channel-mpsc"] } # missing feature flag when burn default-features are off


HLIL dose not show nested structures

Version and Platform (required):

Binary Ninja Version: latest

Bug Description:
nested types are not used in the HLIL

or mybe the problem is with nested arrays inside nested structures

How would that be represented?

well as close as possible to the provided C code

Here is a repro with original source, executable and bndb
repro.zip

The problem is that the compiler optimized two array lookups into a single multiply, because the index is the same for both. Because the multiplication factor doesn't match the size of any of the structures, it doesn't resolve the array access. We would need to account for this optimization.


Initialize DB

Overview
The DB will include some entities, including User, Class and Homework as base entities, with this, create a local DB with the corresponding entities using Postgresql.

DB initialized succesfully


Angular injector error when compiling with Browserify

Our application scripts are mainly built with Browserify but we still use RequireJS on some other scripts. But our Angular application is fully compiled with Browserify. Yesterday I tried to add Angular-translate module to out Angular app but I keep getting the following error

Currently we are using Angular v1.4.7 and Angular translate v2.8.1.
Here's how our application dependencies are stacked and how the application is instantiated

I have tried to use older Angular versions and different script ordering but nothing helps. Any ideas what might be causing this issue?

I cannot see RequireJS in the sample code. Said this, as long as this processed by browserify and you have ensured angular-translate.js is already loaded, the sample should work. However, I cannot see you are loading actually the code? Including a module by string is not loading a module (script(s) file).

It does not look like an issue for angular-translate, but a configuration problem in your app.
Feel free to reply, but I will close this in forward.

Now I had the time to try this again and figured out it was the RequireJS and Angular-translate that had some conflicts. When I removed RequireJS from my project everything worked fine. Although I don't understand why Angular-Translate and RequireJS does not work when loaded separately.
Here a screenshot on how scripts are loaded

And the ***Deps.js file is being compiled with Browserify but source looks like this

If I remove Angular-Translate or RequireJS everything works. Why is it that those scripts can't co-exist on same page?

Also noticed that if I load require.js dependency after the Angular components the site works. Though it might raise some other issues.


Multiplayer game

@Guuus Do you prefer use the same server for the webpage and the online game or use a separate server with the backend game ? (you can reply in french)

I could do the backend game server in Python.

@Felecarp I think I will use just one server for both parts but in two separates files because it's not a big game. Also I want to keep the online and the offline game (offline is the one I already developed) so I think I will create one folder by type of game.

@Felecarp If you want to developed the backend in Python you can but if I launched this project it is because I want to train to code in JS & Node.JS so I propose that the Python game is developed in an other separate folder like the offline and the online mode.

I want also an exercise on online games. We can develop this project more.

I will push a new repository, a python server named myrtille.py. This webapp could communicate with this server for his onlines games.


OCPBUGS-23191: Take tolerations into consideration for readiness check

/jira refresh

Codecov Report

Merging #509 (037ae63) into main (cf5eeb1) will not change coverage.
The diff coverage is 22.22%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #509   +/-   ##
=======================================
  Coverage   82.17%   82.17%
=======================================
  Files          24       24
  Lines        1784     1784
=======================================
  Hits         1466     1466
  Misses        218      218
  Partials      100      100

Files
Coverage Δ

internal/controllers/lvmcluster/controller.go
62.98% <22.22%> (ø)

/cherry-pick release-4.14


LDAP Anonymous Bind support

I'm not seeing a way to use this tool to query a DC with LDAP anonymous bind enabled. I just came across a CTF box which allows anonymous binding to query AD, and I want to pull bloodhound data. Seems this doesn't support that though, unless I am missing how?

hey, this is indeed not supported. Usually CTFs are designed to change things in a certain way so that existing tools don't work. Things like anonymous binds aren't really something you'd see realistically in real environments, so they are out of scope for this project.


MAUI Map Control: slow map update on pan map

Hi, I'm trying the MAUI sample described at https://mapsui.com/documentation/getting-started-maui.html with Mapsui.Maui 4.0.0-beta.4
It works, but on Windows I notice slow map update on panning the map:

When moving the mouse out of the map control, the map is updated.

Slow or no update?
And how is it for zooming.

The PR has been merged this will be fixed in 4.0.0-beta.5.


Higher iOS Versions In The Future?

Will there ever be higher supported iOS versions like 16.3.1 or inside of the iOS 16 range?

I have an iPhone XR with 15.5 and would also like to know.

No


feat: added stable diffusion pipeline (WIP)

Initial implementation of the stable diffusion.
Integration to the new pipeline flow (WIP)

Please also try to make the main.cc (https://github.com/mlcommons/mobile_app_open/blob/master/flutter/cpp/binary/main.cc) work
fp16/dynamic range quant models might be faster, https://github.com/freedomtan/keras_cv_stable_diffusion_to_tflite/blob/main/convert_to_tflite_models_with_dynamic_range.py

@RSMNYS You can test if your implementation work on desktop by running this cmd after updating the paths:
bazel build -c opt --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 //flutter/cpp/binary:main //mobile_back_tflite:tflitebackend

bazel-bin/flutter/cpp/binary/main EXTERNAL stable_diffusion \
--mode=PerformanceOnly \
--output_dir="output" \
--model_file="/Users/anh/Downloads/stable-diffusion-android/mobile_model_closed" \
--lib_path="bazel-bin/mobile_back_tflite/cpp/backend_tflite/libtflitebackend.so" \
--input_tfrecord="mobile_back_apple/dev-resources/stable_diffusion/coco_gen_full.tfrecord" \
--input_clip_model="mobile_back_apple/dev-resources/stable_diffusion/clip_model_512x512.tflite"

"mobile_back_apple/dev-resources/stable_diffusion/coco_gen_full.tfrecord" \

@anhappdev can you please provide these resources:
"mobile_back_apple/dev-resources/stable_diffusion/coco_gen_full.tfrecord"
"mobile_back_apple/dev-resources/stable_diffusion/clip_model_512x512.tflite"

found here: https://drive.google.com/drive/folders/10zCF7_ctUIM7xVPyhw5P60utnvWVUcSy?usp=sharing
Thanks

@anhappdev what does the coco_gen_full.tfrecord contain? The tokenized prompts?

@RSMNYS You can find the description here:
https://github.com/mlcommons/mobile_app_open/blob/239f92c615dd36eaba25198cd49ee5c8fbf197a2/flutter/cpp/datasets/coco_gen_utils/generate_tfrecords.py#L60-L72

@freedomtan  @anhappdev   for the stable diffusion process we need unconditional tokens. I guess we need to get them from the clip model we used to get the encoded prompts? If yes, we need to include them to the TF record?

@freedomtan @anhappdev for the stable diffusion process we need unconditional tokens. I guess we need to get them from the clip model we used to get the encoded prompts? If yes, we need to include them to the TF record?

actually those can be generated on the fly as I see. 49406 49407 with the max allowed size.

@freedomtan  @anhappdev   for the stable diffusion process we need unconditional tokens. I guess we need to get them from the clip model we used to get the encoded prompts? If yes, we need to include them to the TF record?

The unconditional context is the output of the text encoder.

@freedomtan  @anhappdev   for the stable diffusion process we need unconditional tokens. I guess we need to get them from the clip model we used to get the encoded prompts? If yes, we need to include them to the TF record?

The unconditional context is the output of the text encoder.

I was talking about the unconditional tokens. Which we then pass to text encoder to get the unconditional context. But as I've mentioned above, those could be generated on the fly [49406 49407..... 49407]

@freedomtan @anhappdev Guys, the flow is working, at least tested on the desktop. Work that should be done:

continue with the mobile part;
Compose 2 sd models into 1;
Adjust stable diffusion process to use one sd model;

Confirmed that SD pipeline works with the main.cc now. I will merge this. For new works, please open new PR.

for dynamic range quant, https://github.com/freedomtan/keras_cv_stable_diffusion_to_tflite/blob/main/text_to_image_with_tflite_models_from_huggingface.ipynb, could be used for test (that's v1.4 with dynamic range quantization)


Fixed percentage for special values (fixes #3736), added config to couple the candidates with the list of speakers (closes #3737)

Ok.


add AppVersion column to the history command

What this PR does / why we need it:
Adds an AppVersion column to the output of the history command. Closes #5044
Special notes for your reviewer:
While adding unit tests for this change, I noticed that a unit test for the history command does not seem to cover the max option that it targets. Added a commit to fix the unit test to cover the max option and add the required support to the fake client.
If applicable:

[x] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

The merge I performed was just to update a generated timestamp. A simple conflict.


Update subscriptions-and-licenses.md

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@michaelcurnutt Please implement the suggested changes, if you agree. Thanks

@michaelcurnutt Gentle reminder

@tiburd Please take an appropriate action to resolve this PR. Thanks


Release: lock file does not get updated in publish commit

What will this achieve?
Because package versions change after each release, the lock file should also be updated. When we upgraded yarn versions we had to add YARN_ENABLE_IMMUTABLE_INSTALLS to the release action to allow things to run as expected (given that the action will cause yarn lock changes), however, it looks like including this flag also does not add yarn.lock in the publish commit. We need to figure out a way to make sure it's included otherwise it has to be done manually after the fact.
Affects both v10 and v11 releases.

How will success be measured?
When yarn.lock is included in publish commit once again

Additional information

Designs
Existing code
etc

Believe this is still an issue we need to investigate.


We're still missing proper handling of unexpected token telegrams addressed to ourselves.

We're only supposed to accept a token telegram to ourselves when it was sent by the known previous active station in the ring or when the non-previous-station sender has repeated the token telegram once.
Unexpected token telegrams (e.g. during data exchange) are supposed to be dropped.

Unexpected token telegrams (e.g. during data exchange) are supposed to be dropped.

More generally, any unexpected telegram means we should release the token and see what happens.

Fixed in fb57480f9eca ("fdl: master: On recv of unexpected telegram, drop the token").


Make the JS wrapper configurable

For my application, I would like to wrap each JS file in a custom error handler but there's no nice way to change the JS wrapper right now. I made a new setting called JS_WRAPPER which defaults to the current wrapper code.

Not sure what happened with Job 813.2, though.

Is this project dead? There are pull requests from January that haven't been acknowledged.

Not dead, just busy.

Thanks!


Support for Apline.js 3.x.x?

When kutty will support latest version of alpine.js?

Hey, yeah it will support the latest version soon. You can see the progress on alpine-v3 branch

Are there still plans for v3?


Upgrade dependencies to latest versions

This PR upgrades pass-core dependencies to latest versions.  There were only a couple breaking changes:

Elide EntityDictionary add an optional param in the constructor.  Set to null assuming we don't want to set an IdObfuscator.
OCFL changed types of S3 objects used to TransferManager and Async clients.

Also, the Docker FROM image was updated to latest eclipse-temurin JRE 17 jammy image.

All tests pass locally, but they are failing for some reason in the gh workflow action.  Investigating.


//mask doesnt apply on copy/paste

Not really sure it's not a bug but.. we'll say its a feature.
It seems that the mask is ignored in copy/paste functions. It would be for example useful to do something like a "//insert" where it would paste the selection without overriding existing blocks by doing //mask air, then //paste, it would only paste on air, and leave unchanged the rest.

My bad, it seems to be the goal of //merge, which isn't documented on the readme.. like a lot of commands


Gather usage statistics

PLEASE NOTE: I had a 'brilliant' idea to add proper formatters and style checks on commit hooks. What I should have done is create a separate PR for this.  Apologies for that.
Summary:

Added several classes to handle gathering job usage statistics: class decorator for gathering stats, stat calculator that handles stat update and related DB operations.
Changed how database connection works: all SQL DB operations routed via one class (reduces errors and makes table creation more consistent, e.g. no need to catching value errors if a table is missing in the SQL file - all tables created on initial app init).
Centralised SQL table management by bringing all tables to one standard format.
A new dashboard page to display usage stats - PLEASE NOTE: design of the page is far from perfect, it's just a draft for us to decide how this should look like and which other statistics to gather / display. Let's discuss and I will continue working on it.
Added pre-commit hooks checking for style and structural changes (see README.md)
Added pyproject.toml to configure linters and mypy
Re-formatted the code to fit the new linter setup (incl. fixes to docstrings, etc.)
Brought test coverage back to 97%
Misc. bug fixes.

TODO: decide on what to do with mypy pre-commit hook (see .pre-commit-config.yaml)
NB: These are only proposed changes, if you don't like smth or think its misleading - let me know.

Codecov Report

Merging #11 (19a9c70) into main (fe682d7) will increase coverage by 4.32%.
The diff coverage is 95.53%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   92.88%   97.21%   +4.32%
==========================================
  Files           8       14       +6
  Lines         295      466     +171
==========================================
+ Hits          274      453     +179
+ Misses         21       13       -8

Flag
Coverage Δ

unittests
97.21% <95.53%> (+4.32%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tasklit/settings/database_tables.py
85.18% <85.18%> (ø)

tasklit/pages/dashboard.py
93.54% <93.54%> (ø)

tasklit/src/classes/observers.py
93.75% <93.75%> (ø)

tasklit/src/classes/data_repository.py
94.28% <94.28%> (ø)

tasklit/src/classes/stat_tracker.py
97.29% <97.29%> (ø)

tasklit/pages/homepage.py
100.00% <100.00%> (ø)

tasklit/pages/layouts/footer.py
100.00% <100.00%> (ø)

tasklit/pages/layouts/header.py
100.00% <100.00%> (ø)

tasklit/pages/layouts/homepage_new_task.py
100.00% <100.00%> (ø)

tasklit/settings/consts.py
100.00% <100.00%> (+5.26%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe682d7...19a9c70. Read the comment docs.


Any way to show "OPERATOR" in the statusline when in operator pending mode?

Is this possible?

No, Vim does not redraw the statusline after operator input.


[BUG] Helm Chart should include a way to specify work-namespace.

Describe the bug
A clear and concise description of what the bug is.
Currently, the helm chart as it is only support "default" as work-namespace, unless the developers change the helm chart itself. There should be a way to specify this work namespace without editing the helm chart.
Environment
Please provide the following:

Hub cluster details
Member cluster details
Work resource details

To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

https://github.com/Azure/k8s-work-api/pull/92


Add Revolut

Add Revolut to companys list

Hi, you have a merge conflict here that GitHub won't let me fix. Would you mind resolving it?
Thanks!

@drewbrew long story short I had to recreate the pr - here it is https://github.com/phildini/stayinghomeclub/pull/668


fixed item overflow when user type long task

fixed #74 when user type long task the item overflow from container now it's solved
screenshot

Thanks for your valuable contribution.


is it possible to change delimiter ?

Currently I use csv with comma delimiter
But I want to change it, as comma is used by email also
Do it have any option like that ?
or no issue, i can edit codes as well. Please point me where I can edit ?

never mind i used json format
its easy for parser
Actually my scenario was remove to irrelevant columns
I see same request here as well https://github.com/gosom/google-maps-scraper/issues/57
Posting my code, might be helpful for someone with relevant need:
FilterCsvColumns("padel in tokyo.json", New String() {"title", "emails"})

Public Sub FilterCsvColumns(ByVal inputFilePath As String, ByVal allowedColumns As String())
    Dim outputFilePath = Path.ChangeExtension(inputFilePath, ".csv")
    Using sr As New StreamReader(inputFilePath)
        Using sw As New StreamWriter(outputFilePath, False, Encoding.Unicode)
            Dim FirstTime = True
            Dim Line = sr.ReadLine
            While Not String.IsNullOrEmpty(Line)
                Dim Data = JSON.Deserialize(Of Dictionary(Of String, Object))(Line)
                If FirstTime Then
                    sw.WriteLine(String.Join(vbTab, Data.Keys.Where(Function(Key) allowedColumns.Contains(Key)).ToArray))
                    FirstTime = False
                End If
                For Each Pair In Data
                    Dim Key = Pair.Key
                    Dim Val = Pair.Value
                    If allowedColumns.Contains(Key) Then
                        If TypeOf Val Is String Then
                            sw.Write(Val.ToString().Replace(vbTab, Nothing) & vbTab)
                        ElseIf TypeOf Val Is ArrayList Then
                            sw.Write(String.Join(",", CType(Val, ArrayList).ToArray.Select(Function(K) K.Replace(vbTab, Nothing)).ToArray) & vbTab)
                        ElseIf Val Is Nothing Then
                            sw.Write(vbTab)
                        End If
                    End If
                Next
                sw.WriteLine()
                Line = sr.ReadLine
            End While
        End Using
    End Using
End Sub


Run 2to3 on the tree

To start porting it over to python3 I ran 2to3 on the repo.
Still several tests are failing.
xref: https://github.com/metocean/wavespectra/issues/15

Several of the failing tests appear to be related to this pattern not being valid in python3 anymore:
>       return (dict(zip(dict_of_ids, x)) for x in product(*dict_of_ids.itervalues()))
E       AttributeError: 'dict' object has no attribute 'itervalues'

@colourcode I have merged your changes into a new branch py23, with a few modifications. Most of your suggestions were good but there was one important one that was not working with python2 - it was breaking the dataset plugin (I did not test it on python3 yet):
https://github.com/metocean/wavespectra/pull/16/files#diff-f64ba786dd8c8f3debd45a4801020f6fL27
https://github.com/metocean/wavespectra/pull/16/files#diff-f64ba786dd8c8f3debd45a4801020f6fL34
Also I have removed a bunch of tests in tests/broken folder that were legacy.
Will make an effort soon to try and ensure these will work on python3, so we can merge into Master.
Thanks


no new releases after  version 4.1.1

hi there is no release after version 4.1.1 would you please release version 5.0.0 tag?

@moerafiee the future of this chart is currently "discussed" here: https://github.com/netbox-community/netbox-docker/discussions/1160

new 5.0 chart is under active maintenance, and currently available in beta form at https://charts.netbox.oss.netboxlabs.com/


When service timeout, Field OriginStatus should be empty

Do you want to request a feature or report a bug?

Bug

What did you do?

When service timeout, AccessLog field OriginStatus is 502
What did you expect to see?
When service timeout, AccessLog field OriginStatus should be  empty,  Because service not return anything
What did you see instead?
AccessLog field OriginStatus is 502
Output of traefik version: (What version of Traefik are you using?)
Version:      2.2.1
Codename:     chevrotin
Go version:   go1.14.2
Built:        2020-04-29T18:02:09Z
OS/Arch:      linux/amd64

I found this code in https://github.com/containous/traefik/blob/master/pkg/middlewares/accesslog/field_middleware.go#L59
// AddOriginFields add origin fields.
func AddOriginFields(rw http.ResponseWriter, req *http.Request, next http.Handler, data *LogData) {
	crw := newCaptureResponseWriter(rw)
	start := time.Now().UTC()

	next.ServeHTTP(crw, req)

	// use UTC to handle switchover of daylight saving correctly
	data.Core[OriginDuration] = time.Now().UTC().Sub(start)
	data.Core[OriginStatus] = crw.Status()
	// make copy of headers so we can ensure there is no subsequent mutation during response processing
	data.OriginResponse = make(http.Header)
	utils.CopyHeaders(data.OriginResponse, crw.Header())
	data.Core[OriginContentSize] = crw.Size()
}

When service timeout crw.Status() is not the origin status

@chzhuo Hello.
We changed quite a few things in the code, with respect to the capture response writer (in the context of #9487 ), and we think it's pretty likely that your issue got fixed as well in the process.
Could you please retry and let us know?


Unable to login

Describe the bug
When running the GkeepLogin command, I pass in the email address and password, all authentication processes are taken place, but then nothing happens. Webpage shows One moment please but never goes past that
To Reproduce
Steps to reproduce the behavior:

Go to nvim

Run command 'GkeepLogin'

See error: None

Expected behavior
A clear and concise description of what you expected to happen.
Login to gkeep and see gkeep notes
Version information

arch linux
Neovim: v0.5.1
Gkeep: 0.13.6

Additional context
Add any other context about the problem here.
Screenshots

This sounds like a google auth problem; I'm not sure if there's anything we can do about it from the gkeep side. From searching around, you can try clearing your browser cookies or marking the urls as trusted. You could also try using a different browser, or you could try opening the devtools to see if there are any errors that contain clues. If you have 2-factor enabled, you could try temporarily disabling it, or you could try enabling it if you're not using it.

I am facing the same issue

I found the solution for this, follow this

Thanks it works now

Glad to hear it! I'm going to close this and pin it so it's easy to find if others encounter the same problem.

I get this error

Unknown error logging in; please report an issue on github. API error: ('BadAuthentication', None)

But this Python script worked for me
import gkeepapi

keep = gkeepapi.Keep()
success =<EMAIL_ADDRESS>'APP-Passward')
print("######    TO DO             ################################")
gnotes = keep.all()
for ig in gnotes:
    if ig.pinned:
        print(ig.title)
        print(ig.text)
print("############################################################")

`:checkhealth gkeep`
Gives me

`## Python 3 provider (optional)
  - INFO: Using: g:python3_host_prog = "/usr/bin/python3.9"
  - INFO: Executable: /usr/bin/python3.9
  - INFO: Python version: 3.9.6
  - INFO: pynvim version: 0.4.3
  - OK: Latest pynvim is installed.
`

I suspect gkeep.nvim somehow picks up an older version of python.
How do I debug it ?

This is unrelated to the original issue, so I have filed a new one for you and moved the discussion over there

Even though I use an App Password that I just generated I get this error when trying :GkeepLogin:
Failed to log in: incorrect password
What do I do?

@kaddkaka please file a new issue using the bug report template. This is unrelated to the original report here.


Alot (most?) hyperlinks point back to the same article

[Enter feedback here]
Alot of the hyperlinks all direct back to the same page. For example:

See the OpenTelemetry documentation for more information about OpenTelemetry configuration options, in particular, alternative hosting options that are useful for ASP.NET applications.

Create an example application
Prerequisites: .NET Core 3.1 SDK or a later version

View metrics in Grafana with OpenTelemetry and Prometheus
Prerequisites
.NET Core 3.1 SDK or a later version
Overview
OpenTelemetry is a vendor-neutral open-source project supported by the Cloud Native Computing Foundation that aims to standardize generating and collecting telemetry for cloud-native software. The built-in platform metric APIs are designed to be compatible with this standard to make integration straightforward for any .NET developers that wish to use it. At the time of writing, support for OpenTelemetry metrics is relatively new, but Azure Monitor and many major APM vendors have endorsed it and have integration plans underway.
This example shows one of the integrations available now for OpenTelemetry metrics using the popular OSS Prometheus and Grafana projects. The metrics data will flow like this:

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

ID: f111f896-9278-9ca4-a5eb-0a448a7be40d
Version Independent ID: 1cab703b-de5a-f0a2-bfa4-7c5df8d8423b
Content: Collect metrics - .NET
Content Source: docs/core/diagnostics/metrics-collection.md
Product: dotnet-fundamentals
GitHub Login: @tommcdon
Microsoft Alias: tommcdon

I'm not sure where you copied that from, but the links look correct on the published site and in the source.


Update subscriptions to be a two way relationship

A robot needs an array of subscribers (Array of users)
A user needs an array of subscriptions (Robots, or a simpler struct)
Using "subscription_state_change" socket event, these lists should be both be updated. They should update one another and always be synced.
Also need to update the subscription count label at UI label if this value ever changes.

So previously this couldn't be done due to separation I had between public and private robots being in silos unaware of one another.
In theory though that may now be possible as I've changed the way this all works today. Will continue to investigate

Fixed


Update JSON output of webservice

show all IRIs

{
  "global": "http://id.dbpedia.org/global/4yRua",
  "locals": [
    "http://dbpedia.org/resource/Florida",
    "http://de.dbpedia.org/resource/Florida",
    "http://fr.dbpedia.org/resource/Floride",
    "http://nl.dbpedia.org/resource/Florida_(staat)",
    "http://sv.dbpedia.org/resource/Florida",
    "http://www.wikidata.org/entity/Q812"
  ] ,
 "cluster":[
"http://id.dbpedia.org/global/4yRua",
"http://id.dbpedia.org/global/xxxx",
"http://id.dbpedia.org/global/xxxx",
"http://id.dbpedia.org/global/xxxx",
"http://id.dbpedia.org/global/xxxx",
"http://id.dbpedia.org/global/xxxx"
 ]
}

I think it would be good to provide inline documentation:

"documentation" : "http://dev.dbpedia.org/Global%20IRI%20Resolution%20Service"
"github":"https://github.com/dbpedia/dbp-same-thing-service"
"license":"http://purl.org/NET/rdflicense/cc-by3.0"
"licenseComment": "Free service provided by DBpedia. Usage and republication of data implies that you attribute either http://dbpedia.org as the source or reference the latest general DBpedia paper or the specific paper mentioned in the GitHub Readme."
"comment": "The service resolves any IRI to its cluster and displays the global IRI and its cluster. Cluster members can change over time as DBpedia community, data providers and professional services curate the linking space.
Usage note:
1. Save the first global id AND the local IRI that seems most appropriate.
It is recommended that you become a data provider, in which case the local IRI would be your IRI.
2. Use the global id to access anything DBpedia
3. Use the stored local id to update and revalidate linking and clusters"

I implemented this quite literally, including the meta=off parameter. The cluster members are sorted by ID (taking length into account as well), and the locals have a corresponding order.
The big difference with @kurzum 's design, is that I think that users will in most cases not want full IRIs for the cluster. If this should not be the default, I'll add another parameter to choose between full IRIs or singleton IDs.


Moving GEOSldas Nightly Tests to GCC 12

A notice to @gmao-rreichle @biljanaorescanin and @weiyuan-jiang. I'd like to move the GEOSldas to use GCC 12 instead of GCC 11. My testing with GEOSgcm shows this would be a non-zero-diff change, but it seems to be the normal "compiler change" sort of difference. Here's a diff plot of T between the two compilers after 18 hours:

Let me know when you'd like me to try the switch in the scripts (i.e., change the gcc11 to gcc12 in LDAS_CUR.csh), and then you can compare the outputs.

Thanks, @mathomp4, for the heads-up and for keeping us current!  As far as I'm concerned, any day this week is fine.  If we do indeed get non-0-diff and we can't finish verification in a day, we'd just have to make sure to keep a copy of the gcc11 reference output.

Might as well do a run now! I won't advance the Baselines and once the full run is complete, I'll move the CURRENT outputs and go back to GCC 11 until all is explored.

About as expected:

Runtype
Clone
Build
Build Time
Model Run/Compare
Assim Run/Compare

gnuconus
pass
pass
12 min
pass/FAIL
-- / --

gnuglobal
--
--
--
pass/FAIL
pass/FAIL

gnuglobalcs
--
--
--
pass/FAIL
pass/FAIL

gnuglobalcnclm4
--
--
--
pass/FAIL
-- / --

gnuglobalcnclm45
--
--
--
pass/FAIL
-- / --

gnudebugconus
--
pass
14 min
pass/pass
-- / --

Per her email of 30-Aug-2022, @biljanaorescanin looked at these tests on 29-Aug-2022 found differences to be roundoff.
This morning (while Discover was still accessible), I checked LDAS_GNUGLOBAL/assim in "PREVIOUS" (because last night's automated test is now in CURRENT) against the gcc11 BASELINE.  This check also confirmed roundoff differences.
@mathomp4:  When you get a chance (and Discover is available again), please implement the change to gcc12 in the LDAS test suite.

@gmao-rreichle I will. And thanks to @biljanaorescanin for getting a look in. I opened my laptop and I had a terminal right in the runs directory to save the GCC 12 and...just got busy yesterday!
I'll make the change tomorrow.


fix grafana homepage js,css 404 bug

fix grafana homepage js,css 404 bug

This change is

I signed it!

i do not know how to sign it ,can anyone show me how?

Please visit https://cla.developers.google.com/ to sign.

can anyone merge this request?my google account can not login for a period of time,ps i am chinese

I'm sorry, but we can't merge any pull request without CLA. Closing until the CLA issue can be resolved.


Fixed DataLink comparison on lists

Fixes issue with DataLink described in https://github.com/ioam/holoviews/pull/3188.

[x] Adds unit test

Thanks for the quick fix! I'll merge when the tests pass then rebase #3188 again to test it there.

Tests have finally passed, merging.


MM-T1785 Toast - When marking post as unread

Summary

MM-T1785 Toast - When marking post as unread
Ticket Link

Usecase

Thank you for another great submission @openmohan!
I am approving this PR but I see one request from @saturninoabril. Please let me know if you plan on changing the number of posts from 40 to 30. In that case, I'll wait for your change to get added before merging.
Also, if the conflicts could be resolved, that'd be awesome. Thank you so much!

@prapti Thanks for reviewing, I have added @saturninoabril 's suggestions and conflicts are resolved now.

Thanks @openmohan!


[QUESTION] IOS - The editor doesn't load the first time I open it.

I am using version 2.5.1 of the plugin, and I have created a page with the HTML editor to display an email. When I install the app and open it, access the page, the editor loads but without the ability to write anything, and I don't see the content I put in init. If I then close and reopen the app, the HTML is displayed correctly, and I can edit it. On Android, this issue does not occur. If I try to click when it is not displayed, I receive the error: ReferenceError: Can't find variable: $.
Can you help me?

have the same bug in flutter web

After wrapping the HtmlEditor Widget with FutureBuilder it works fine in flutter web
`FutureBuilder(
future: Future.delayed(Duration(milliseconds: 50), () {}),
builder: (context, snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
return HtmlEditor(
  );
} else {
  return SizedBox.shrink();
}

},
)`


prometheus-blackbox-exporter: 0.15.0 -> 0.15.1

Motivation for this change
https://github.com/prometheus/blackbox_exporter/releases/tag/v0.15.1
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS (x86_64-linux & aarch64-linux)
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[] Fits CONTRIBUTING.md.

Thanks! Backported as 5066fad5925e58e921a817e139dba1d67ee5e99b.


Bump python version

Bikeshed no longer seems to run fine a python 3.8, so don't advertise that it does.
See for example https://github.com/w3c/w3process/actions/runs/3243873384/jobs/5319223498 This bug goes away by using python 3.10

No, it absolutely does, I just forgot the import that makes type annotations work on this file, and it's not part of my automated testing so it didn't get executed. :/ Fixed now and pushed to pypi.

sorry for the incorrect diagnosis, and thank you for the fix.


Add htmlbeautifier

Add the htmlbeautifier to Mason registry.
First PR for Mason, so please let me know if something is missing/incorrect. Thanks!

Hahah thank you @williamboman; maybe I shouldn't open PRs at 2 AM. 😬


Extract point clouds and annotations from SUN RGB-D

After running extract_split.m, extract_rgbd_data_v2.m and extract_rgbd_data_v1.m,
the number of files in 'calib/' is 6425,
'depth/' is 8786,
'image/' is 6425,
'label/' is 6425,
'label_v1' is 10335.
I suppose all the number of files should be 10335, why this happens?
Am I wrong?
What's more, when I run python sunrgbd_data.py --gen_v1_data, an error occurs:
-------------  5956
-------------  5957
Traceback (most recent call last):
File "sunrgbd_data.py", line 326, in
save_votes=True, num_point=50000, use_v1=True, skip_empty_scene=False)
File "sunrgbd_data.py", line 225, in extract_sunrgbd_data
pc_upright_depth = dataset.get_depth(data_idx)
File "sunrgbd_data.py", line 64, in get_depth
return sunrgbd_utils.load_depth_points_mat(depth_filename)
File "/home/aistudio/work/votenet/sunrgbd/sunrgbd_utils.py", line 196, in load_depth_points_mat
depth = sio.loadmat(depth_filename)['instance']
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 217, in loadmat
MR, _ = mat_reader_factory(f, **kwargs)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 72, in mat_reader_factory
mjv, mnv = get_matfile_version(byte_stream)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/scipy/io/matlab/miobase.py", line 224, in get_matfile_version
raise MatReadError("Mat file appears to be empty")
scipy.io.matlab.miobase.MatReadError: Mat file appears to be empty
How should I fix this problem?Thank you.

It seems that extract_rgbd_data_v2.m has skip some data.

HI all,
I was wondering if I can directly download output files from "extract_split.m, extract_rgbd_data_v2.m and extract_rgbd_data_v1.m" ? As I have limit access to matlab.

@bigeyesung did you find a way to directly get the output files?

I used Octave to run the MatLab scripts to preprocess data. You will have to make one or two edits to run under Octave, though.

@alar0330 can you please tell me what edits have you done? I also tried using Octave, but running extract_rgbd_data_v2.m just returns empty folder. Please help!

I don't recall exactly, but rest assured that it was really a minor edit.
If I am not mistaken, using custom Java-libs is a bit different in Octave. One place you ought to edit is
change this
hash_train = java.util.Hashtable;
hash_val = java.util.Hashtable;

with this
hash_train = javaObject("java.util.Hashtable");
hash_val = javaObject("java.util.Hashtable");

You might also have to change smth else though..

@alar0330 Yeah this was the problem in extract_split.m file. I'm facing issues in extract_rgbd_data_v2.m file

where did you'all find the files : extract_split.m, extract_rgbd_data_v2.m and extract_rgbd_data_v1.m, I mean in the SUNRGBD folder or SUNRGBDtoolbox folder or anywhere else, i mean it was written those files specifically avaialble in a matlab folder(which i can't find from all of the sun rgbd files i have collected).....

@alar0330 Yeah this was the problem in extract_split.m file. I'm facing issues in extract_rgbd_data_v2.m file

In extract_rgbd_data_v2.m, I changed the parfor loop to a for loop since Octave (without additional package) struggles with parallelized operations and parfor has no effect.
Also, I changed the parsave to save:
parsave(strcat(depth_folder, mat_filename), points3d_rgb); --> save(strcat(depth_folder, mat_filename), 'points3d_rgb');
This takes way more time (~2 hours for me) but no data lost in the process.
For the next operations, since scipy.loadmat (used to load .mat in depth folder) doesn't work with Octave original files, you have 2 choices:

go in sunrgbd_utils.py and change the sio.loadmat(depth_filename)['instance'] to np.loadtxt(depth_filename) line 196. I used this and it seems to work fine.
when saving the .mat, you can add an option -v7 check documentation here to save the data in Matlab format. It should work but I haven't tried this one.

HI all,
I was wondering if I can directly download output files from "extract_split.m, extract_rgbd_data_v2.m and extract_rgbd_data_v1.m" ? As I have limit access to matlab.

did you find a way to download the extracted data without using matlab?

@alar0330 Yeah this was the problem in extract_split.m file. I'm facing issues in extract_rgbd_data_v2.m file

In extract_rgbd_data_v2.m, I changed the parfor loop to a for loop since Octave (without additional package) struggles with parallelized operations and parfor has no effect. Also, I changed the parsave to save: parsave(strcat(depth_folder, mat_filename), points3d_rgb); --> save(strcat(depth_folder, mat_filename), 'points3d_rgb');
This takes way more time (~2 hours for me) but no data lost in the process.
For the next operations, since scipy.loadmat (used to load .mat in depth folder) doesn't work with Octave original files, you have 2 choices:

go in sunrgbd_data.py and change line 64.

def get_depth(self, idx):
depth_filename = os.path.join(self.depth_dir, '%06d.mat'%(idx))
return sunrgbd_utils.load_depth_points_mat(depth_filename)

to

def get_depth(self, idx):
    depth_filename = os.path.join(self.depth_dir, '%06d.txt'%(idx))
    return sunrgbd_utils.load_depth_points(depth_filename)

I used this and it seems to work fine.

when saving the .mat, you can add an option -v7 check documentation here to save the data in Matlab format. It should work but I haven't tried this one.

Even you have saved the depth data in the .mat format of Octave, you can still use the first choice here, just modify the "%06d.txt" to "%06d.mat".
In this way, you don't need to run extract_rgbd_data_v2.m again.


Text is not centered when data is empty

summary

Text is not centered when data is empty

screenshots

Your Environment

Tech
Version

Material-UI
4.12.0

MUI-datatables
3.8.2

React
16.13.0

browser
chorme 96.0

etc

Hey @frmachao buddy, Can you close the issue as the PR was merged.

Hi, I am using v4.2.2 mui-datatables, but this issue is still there. I suppose you forgot to merge it into v4.
https://github.com/gregnb/mui-datatables/pull/1825
In v4, there is no attribute "isEmpty" to detect when no dataset in mui-datatables, and the text will not align center.
Thanks

This issue is still a thing and the text is not aligned on the responsive view.
Cheers,


[Suggestion/Request] Redragon devices support

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported gam
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[x] Other, (Unsupported device)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[x] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
It would be interesting if the Redragon keyboards were recognized by Aurora software.
Actual behavior:
Keyboard not recognized by Aurora. In my case, a k551 Mitra RGB.
How often does this problem occur?

This problem occurs every time.
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Keyboard Connected
Redragon Manager installed
Aurora Installed but not recognizing the keyboard

What is the version of Aurora you are experiencing this issue with?

My version is the latest
Thanks in advance.
Best Regards

Duplicate of #718

We finally got a fairly complete build of QMK running on the Redragon keyboards with the OpenRGB HID protocol working.  Here is a short video of my Redragon K552 running QMK, connected to OpenRGB + Aurora running Overwatch.  The lighting works pretty well.
https://www.youtube.com/watch?v=Pf_Q3B1PmK4
I also tested this on the K556.  Most Redragon keyboards use the same Sonix microcontroller, so they should be supportable.  The stock firmware will never be supported for effects like this, as it lacks a direct control mode and is thus useless for real-time effects.  The only solution is to flash a custom replacement firmware.  We've chosen QMK for this as it already exists, is open source, and already runs on a ton of custom keyboards.


DCOS-34487 Use autoip instead of VIP for fetching config artifacts

With this PR, config fetching is switched from a VIP at port 80 to an autoip endpoint directly on the dynamic port.
Usage of VIPs was originally introduced before autoip was an option. VIPs have the issue of always running on the same port 80: Customers may have implemented firewall rules on agents which effectively block this access.

Only remaining failures are due to the known mesos bug


Lighting appearing strange for some images

When I render an image, it appears that the lighting is a little off. More specifically, objects appear brighter than they are intended to look. For example, see the tables in the image below. In prior versions, the tables appeared normal, however, I am only now running into this issue. Is there any way I can go about fixing this?

Do you observe this problem at different sample per pixel? Did you try to run without the denoiser?

@TontonTremblay i think this might be a race condition inside nvisii somehow. I haven’t been able to reproduce it locally though, so I haven’t been able to fix it yet.
@awesome-aj0123 could you post the portion of your python script here that creates the robot and the light sources? Are you calling nvisii.import_scene multiple times in a row?

This is the code for when I create the light source.
# Intiailizes the lighting
light_1 = nvisii.entity.create(
  name      = "light_1",
  mesh      = nvisii.mesh.create_sphere("light_1"),
  transform = nvisii.transform.create("light_1"),
)

light_1.set_light(
  nvisii.light.create("light_1")
)

light_1.get_light().set_intensity(150)
light_1.get_transform().set_scale(nvisii.vec3(0.3))
light_1.get_transform().set_position(nvisii.vec3(3, 3, 4))

Also, I am calling import_scene multiple times.

@awesome-aj0123 cool, good to know.
I understand that your current setup is difficult to share, but still, I need to be able to reproduce this issue on my end in order to fix the issue. Otherwise I can only guess what’s going wrong, which isn’t super productive. 😅
Could you create a similar script to what you have now that checks to see if calling import_scene many times in a row followed by the creation of a light source reproduces this issue? My theory is that the light source will appear in some position other than the position you set it to be. Ideally the script would be as similar to your current setup as possible, but more general and therefore shareable with us.
Perhaps you could try importing some of the freely available GLTF models from here? https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0


$attrs and inheritAttrs

With Vue 2.4 inheritAttrs has been added and I'm trying to figure out how to get tests to make sure that it works correctly. Here is a simple example of what I'm trying to do:
Component template:
<template>

    {{label}}
    <input type="text"
        v-bind="$attrs"
        :id="inputId"
        :value="lazyValue"
        ref="input">

</template>

Great, now attributes not listed as props go to the input as expected when I use it.
Is there any way to actually add other attributes in the mount function to test it? That way if v-bind="$attrs" somehow gets messed up the tests will fail so we know about it.
const wrapper = mount(inputComp, {
  propsData: {
    label: 'Label Test',
    id: 'input1',
    name: 'inputName', // doesn't work here
  },
  attrs{} // something like this?
});

// Can I set it like this somehow?
wrapper.vm.$attrs.name = 'inputName';

Any help would be appreciated

I've added this in 2.5.0
You can make attr available on the vm using the attrs option.
const wrapper = mount(inputComp, {
  attrs: {
    anAttribute: 'some value'
  }
})

Can you post a component and a test so I can see how you're using it?

Seems to be mostly working. It would be nice if it worked like the domProps and attrs in the render function data object. But I don't know how hard/possible that is for you.
Here is the component I'm working on:
https://github.com/rei/rei-cedar/blob/feature/vue-update/src/components/input/cdrInput.vue
Here are the tests for it so far: (some aren't working still)
https://github.com/rei/rei-cedar/blob/feature/vue-update/src/components/input/__tests__/cdrInput.spec.js

Ah, yes that's a good point. Right now I'm just adding it on to the vm directly before mounting.
I'll add it for you at some point over the next few days 😄


Tab and Steps component do not show content on initial page load

Overview of the problem
Oruga version: "0.5.6"
Nuxt version: 2.15.8
Description
in my project i noticed the same problem for steps and tab component. They do not show content on initial page load.
here a sandbox that reproduce the issue : https://codesandbox.io/s/relaxed-orla-b8p1wx

Following

@GiorgioJuniors the problem is that you are mixing string and number as step/tabs item value, try to use only number for example

@GiorgioJuniors the problem is that you are mixing string and number as step/tabs item value, try to use only number for example

i updated the sandbox using only numbers but the problem don't resolve, same results using strings.

@GiorgioJuniors it happens only with Vue 2

@GiorgioJuniors it happens only with Vue 2

It's happening to me with Vue 3
It only happens when "animated" property is set to true. I think it could be some kind of timing issue with animations.

@GiorgioJuniors @adrianogiannacco @jtommy just opened a PR with a fix for Vue 2 https://github.com/oruga-ui/oruga/pull/476
@carlosmojopicon can't reproduce on Vue3, do you have an example?

@GiorgioJuniors @adrianogiannacco @jtommy just opened a PR with a fix for Vue 2 #476
@carlosmojopicon can't reproduce on Vue3, do you have an example?

Ok, I tested it again and realized it's working as intended on Vue3 standalone. My issue was on Nuxt3 and it's a thing with server side rendering on development. When disabling ssr or building and running the project for production it works as expected.
In summary, this is happening under the following circumstances:

Nuxt project with SSR enabled
Animated option set to true
Run via nuxt dev


Unable to start Blockchain - after reinstall defi-wallet

Actual behavior:
After start deli-wallet the error "unable to start blockchain" appears
Expected behavior:
App should start normally
How to reproduce it (as minimally and precisely as possible):

What are your environment parameters?

DeFi Wallet Version: 2.5.2
Operating System (OS): Mac OS
Current free storage capacity:

Anything else we need to know?
I have deinstalled the wallet and dropped all installation files. After reinstall defi-wallet again, i got the error message "unable to start blockchain". In App.log I can find the message which seems to be the reason for this behaviour.
App.log

[2021-07-28 13:03:10.144] [IPC-RENDERER-error] Error: ENOENT: no such file or directory, open '/Users//Library/Application Support/Defi/.defi/defi.pid'
at Object.openSync (fs.js:476:3)
at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1846)
at Object.readFileSync (fs.js:377:35)
at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8872)
at Object.getFileData (/Applications/Wallets/DeFi Wallet.app/Contents/Resources/app.asar/electron-app/build/electron-app/src/utils.js:93:23)
at Function. (/Applications/Wallets/DeFi Wallet.app/Contents/Resources/app.asar/electron-app/build/electron-app/src/services/defiprocessmanager.js:290:39)
at step (/Applications/Wallets/DeFi Wallet.app/Contents/Resources/app.asar/electron-app/build/electron-app/src/services/defiprocessmanager.js:52:23)
at Object.next (/Applications/Wallets/DeFi Wallet.app/Contents/Resources/app.asar/electron-app/build/electron-app/src/services/defiprocessmanager.js:33:53)
at /Applications/Wallets/DeFi Wallet.app/Contents/Resources/app.asar/electron-app/build/electron-app/src/services/defiprocessmanager.js:27:71
at new Promise ()

Hi @baludwi , what version were you on previously or is this your first time downloading the DeFi Wallet app?

Encountered the same screen on macOS Big Sur version 11.2.2, DeFi Wallet v2.5.2. Did a fresh reinstall following https://github.com/DeFiCh/app/discussions/964 and still had the same issue.
Got the following on debug.log:
2021-07-29T15:16:26Z Ignoring unknown configuration value rpcconnect
2021-07-29T15:16:26Z DeFi Blockchain version v<IP_ADDRESS>-release (release build)
2021-07-29T15:16:26Z Assuming ancestors of block 9b257cb88630e422902ef2b17a3627ae2f786a5923df9c3bda4226f9551b1ea8 have valid signatures.
2021-07-29T15:16:26Z Setting nMinimumChainWork=000000000000000000000000000000000000000000003f2949bfe4efc275390c
2021-07-29T15:16:26Z Using the 'sse4(1way),sse41(4way)' SHA256 implementation
2021-07-29T15:16:26Z Default data directory /Users/marcusong/Library/Application Support/DeFi
2021-07-29T15:16:26Z Using data directory /Users/marcusong/Library/Application Support/DeFi
2021-07-29T15:16:26Z Config file: /Users/marcusong/Library/Application Support/Defi/.defi/defi.conf
2021-07-29T15:16:26Z Using at most 125 automatic connections (8192 file descriptors available)
2021-07-29T15:16:26Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2021-07-29T15:16:26Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2021-07-29T15:16:26Z Using 8 threads for script verification
2021-07-29T15:16:26Z scheduler thread start
2021-07-29T15:16:26Z Binding RPC on address <IP_ADDRESS> port 8555 failed.
2021-07-29T15:16:26Z Unable to bind any endpoint for RPC server
2021-07-29T15:16:26Z Error: Unable to start HTTP server. See debug log for details.
2021-07-29T15:16:26Z Shutdown: In progress...
2021-07-29T15:16:26Z scheduler thread interrupt
2021-07-29T15:16:26Z Shutdown: done

Same version, 2.5.2. I deinstalled defi-wallet, because it didn't work. But after reinstall the wallet, I got the described error

Hi @baludwi , I meant before v2.5.2; what version were you on? To uninstall the DeFi Wallet app, you need to remove 3 things:

defi-wallet folder

defi folder

DeFi Wallet app icon

There's also a hidden .defi folder which you'll need to remove, it should be in the Defi folder unless you're one of the early users.

/Users/username/Library/Application Support/Defi/.defi/
Let me know if you can find all 4 items. Remember to backup your wallet.dat.

Hi @izzycsy,
before 2.5.2, I came from 2.3.x. I am not sure. I use the defi-wallet since early days in December las year.
I did all the steps You've described above. Unfortunately it does not work. After reinstall defi-wallet, it takes approx 1 minute while starting followed by the message "Unable to start Blockchain".
When i cheek the App.log file, I can see this:
[2021-08-01 13:19:41.654] [IPC-MAIN-info]  [Starting Electron App] OS macOS Big Sur - 20.5.0 [2021-08-01 13:19:41.662] [IPC-MAIN-info]  Checking for update [2021-08-01 13:19:41.664] [IPC-MAIN-info]  Wallets folder missing... Creating directory... [2021-08-01 13:19:42.406] [IPC-MAIN-info]  Generated new staging user ID: 03c91bc4-0f0f-56e4-903e-f3fc851d83d3 [2021-08-01 13:19:42.709] [IPC-MAIN-info]  Update for version 2.5.2 is not available (latest version: 2.5.2, downgrade is disallowed). [2021-08-01 13:19:42.710] [IPC-MAIN-debug] checkForUpdatesAndNotify called, downloadPromise is null [2021-08-01 13:19:43.839] [IPC-RENDERER-error]  "Error in selected unit, setting it to default one" [2021-08-01 13:19:44.024] [IPC-RENDERER-info]   "[Starting App] App is running with version 2.5.2" [2021-08-01 13:19:44.031] [IPC-RENDERER-info]  [start] - Starting node connection... [2021-08-01 13:19:44.032] [IPC-RENDERER-info]  Current Node: 1.7.11 New Node: 1.7.11 [2021-08-01 13:19:44.049] [IPC-RENDERER-info]  [start] - Node start initiated [2021-08-01 13:19:44.052] [IPC-RENDERER-info]  [setLockTimeout] "Starting update of lock timeout..." [2021-08-01 13:19:44.057] [IPC-RENDERER-info]  [Update Auto-lock Time] "Timeout updated to 300 seconds" [2021-08-01 13:19:44.189] [IPC-RENDERER-info]  [start] - Node started [2021-08-01 13:19:44.189] [IPC-RENDERER-info]  [start] - Sending node started to client [2021-08-01 13:19:44.209] [IPC-RENDERER-error] [start] - Error on node connection: Error: Unable to start HTTP server. See debug log for details. [2021-08-01 13:19:44.215] [IPC-RENDERER-error] [startBinary] "Error: Unable to start HTTP server. See debug log for details." [2021-08-01 13:19:44.218] [IPC-RENDERER-info]  [Blockchain Status] {"success":false,"data":{"message":"Error: Unable to start HTTP server.  Nomally, a Mac doesn't has to restarted, but ok. Now defi-wallet can be started normal.


Deal with numerical instability from discontinuities

Turn autodiff=off in solver options.
Define a jacobian by yourself.
Replace the discontinuities with smooth functions (k~10). Increases stiffness but more suitable for stidd solvers.

Step function -> tanh()
Min / max     -> exp()

Callbacks to signal an event

Post from julia forum:
https://discourse.julialang.org/t/handling-instability-when-solving-ode-problems/9019/5
Deal with callbacks with large discontinuities:
https://diffeq.sciml.ai/stable/features/callback_functions/#Modifying-the-Stepping-Within-A-Callback


[TO-DO] Tutorial

Add tutorial

Hello Yusheng Su,
How do I run this in Visual Studio 2022 env?

@BillGundas . I think you can follow the getting started to run it. Did you encounter any problems?


Check target architecture as well

If you use svm-rs as a library then some platforms might still show up as supported even though they are not x86_64 (e.g. Linux aarch64, see https://github.com/gakonst/foundry/issues/597)

Looks good! Thank you @onbjerg


TypeError: this.iterations is undefined

On edge (0.8.0)
TypeError: this.iterations is undefined ractive.js:6279:0
Running into the above error, which happens due to a call to update(), but I'm having trouble distilling it down into a small repro.
Before the Exception, in a call to RepeatedFragment.prototype.bind, the call var value = context.get(); returns undefined, so the checks isArray and isObject are passed, leaving this.iterations unset.
Hoping someone might be able to take a look for anything obviously amiss. Otherwise, I will continue to try to create a small fiddle to reproduce.

Going to be optimistic and close this, as it should have been fixed by #2120. @woodlandhunter shout if that's not the case!


Impossible to determine which project a SequelAce window belongs to

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior
The SequelAce window should give me some indication of which project it is connected to.
Actual Behavior
I've used ddev sequelace in several projects.
I now can't tell which SequelAce window is for which project, because the window title is the same for all of them.
Steps To Reproduce

Do ddev sequelace in two projects
Observe window titles are identical

Anything else?
No response

You don't need to do any go. Just do a PR with a change to https://github.com/ddev/ddev/blob/master/pkg/ddevapp/global_dotddev_assets/commands/host/sequelace
To experiment with it all you have to do is take that script, remove the #ddev-generated, put it in ~/.ddev/commands/host, and get it working the way you want. Then do a PR with what you want, put the #ddev-generated back in.

Related, of course @joelpittet 's

https://github.com/Sequel-Ace/Sequel-Ace/issues/1819


[Bug]: .HTTPError: 403

enex2notion version
0.2.25
What OS are you using?
Windows
OS Version / Linux distribution
Windows 10
Bug description
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.notion.so/api/v3/loadUserContent
[3564] Failed to execute script 'main' due to unhandled exception!
Log excerpt
No response

I'm meeting the same issue whereas token is good because I still use it via web interface.
Same OS and same enex2notion version.
I used it without any problem until last week.

Can you show the full error log?

Same issue here.
@vzhd1701  FYI. token_v2 start with some prefix v02%3Auser_token_or_cookies%3AXXXXXX where XXXXXX is rest of the token

The issue is the same when the token hasn't the prefix v02%3Auser_token_or_cookies
ex :
enex2notion.exe --log e2n.log --token cexxx.xxxc8 .\Pros.2.enex

same

same

This should be fixed now. Please check out the latest version.

v0.2.26 works!
Thank you @vzhd1701 !!!


Men 2601 align docs with onboarding

Nice!

I have approve it, but you still have to fix the autoversion check failures.
Also FYI, it is good practice to run the spell checker. You can do that with ./spell-check.sh


sort

mhz, you wrote that indexed field is sorted but inresult i get unsorted
db.From("tv3").Select(q.Gte("Timestamp",<PHONE_NUMBER>)).Find(&videos)
i get
15 {ID:25 Timestamp:1472982298 Channel:tv3 Filename:stream-1472982298.ts Dirname:2016/09/04/12 Duration:10}
16 {ID:26 Timestamp:1472982356 Channel:tv3 Filename:stream-1472982356.ts Dirname:2016/09/04/12 Duration:10}
17 {ID:27 Timestamp:1472982365 Channel:tv3 Filename:stream-1472982365.ts Dirname:2016/09/04/12 Duration:10}
18 {ID:9 Timestamp:1472981432 Channel:tv3 Filename:stream-1472981432.ts Dirname:2016/09/04/12 Duration:10}

I did not, the sort order is not guaranteed.
Also for this query you should definitely set an index on Timestamp and use db.Range(), it will be faster
type YourType {
  ...
  Timestamp int `storm:"index"`
  ...
}

err := db.Range("Timestamp",<PHONE_NUMBER>, time.Now().Unix(), &list)

If you want to sort the results you need to use the sort package (at least for now)

ok, thanks


[Nominations Open] Top CDF Ambassador Award 2021 🏆

This issue is to receive nominations for the Top CDF Ambassador Award 2021.
To nominate someone, reply to this issue with the following:

Full name of the person you’re nominating (they have to be a CDF Ambassador, view list)
Short description of their contributions to the Continuous Delivery Foundation and why they should win.

Nomination deadline: Friday, April 30, 2021
EXTENDED to Friday, May 14, 2021
More details are available here: https://cd.foundation/cdf-community-awards/

Ambassador Award Nomination:
Garima Bajpai
Garima has been an outstanding Ambassador for the CDF. She has volunteered her time to work our CDF booths at various conferences and serves on the outreach committee. She is always making great suggestions and is a willing participate in the improvements of all of our outreach programs. In addition, Garima has taken on the Ortelius project in the area of building a recognition program for our contributors, a critical part of forming an open source community that can recognize the hard work of being a committer. Thank you Garima for your insights and contribution.

I nominate Oleg Nenashev for the Top CDF Ambassador Award 2021.
Oleg contributes to the Continuous Delivery Foundation through:

Online meetups like the CodeForCause "Contributing to the Continuous Delivery Foundation & Jenkins" and "Contributor Summit - Securing the Delivery Pipeline"
Presentations like "Roadmaps for Open Source Projects - Experience report" at cdCon 2021
Community building through sessions like the "Birds of a Feather" session at cdCon 2020
Advocacy and outreach through Google Summer of Code, Google Season of Docs, and the SheCodeAfrica Contributhon
Governance as a member of the Jenkins governance board, an active participant in broadening the use of CDF services and a key promoter of use of Linux Foundation resources by the Jenkins project (like the Jenkins Jira migration to Linux Foundation hosting, the use of the LFX Security by the Jenkins project, and the use of EasyCLA by the Jenkins project)

I would like to nominate Dan "Pop" Papandrea (@danpopSD on GitHub)
Why?

Great POPCAST, with many CDF and CNCF related topics covered at the podcast
Promotion of the Falco project which contributes to security of container runtimes
Promotion of open source and contributing best practices, on multiple occasions
LAST BUT NOT LEAST, eating the whole Hawaiian pizza as a sacrifice for getting more podcast followers and increasing the CDF 🍍🍕

We are no longer accepting nominations. Thank you to everyone who nominated someone and good luck to the nominees!


New package: DeterminedAI.CLI version 0.27.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Not sure why install validation failed. The logs there aren't very informative.

Hi @sirredbeard,
The label Internal-Error-Dynamic-Scan is a blanket error for one of a number of internal pipeline errors or issues that occurred during the Dynamic Scan step of our validation process. It only indicates a pipeline issue and does not reflect on your package. Sorry for any confusion caused.


font awesome icons addition in navbar

I would like to add icons on the navbar home, pslabschematics and everywhere

is this issue fixed now??


How to get position of current character

Hi,
I'm a newbie.
I'm currently learning by doing some game experiment with react-three-fiber.
I want to get the current position of the character which is being controlled by the ecctrl, how can i get it
I tried a simple way by wrapping it inside a  component and test it by logging the position but it still always the same position, although the character is moved:
const ControlledCharacter = () => {
  const charRef = useRef();
  window.onkeydown = (e) => {
    console.log(charRef.current);
    console.log(charRef.current.position); // always the same position, although the character is moved
  };
  return (
    <group ref={charRef}>
      <Ecctrl
        // debug
        animated
        floatHeight={0}
        followLight
        springK={2}
        dampingC={0.2}
        autoBalanceSpringK={1.2}
        autoBalanceDampingC={0.04}
        autoBalanceSpringOnY={0.7}
      >
        <EcctrlAnimation
          characterURL={characterURL}
          animationSet={animationSet}
        >
          <Demon position={[0, -0.65, 0]} />
        </EcctrlAnimation>
      </Ecctrl>
    </group>
  );
};

Am I doing something wrong? If so, is there any way to get the current position of the model? Thank you very much for your assistance and guidance.

You don't need the  tag. Assign the chraRef to Ecctrl: <Ecctrl ref={charRef}>
And this is the position of the character: charRef.current.translation()

You don't need the tag. Assign the chraRef to Ecctrl: <Ecctrl ref={charRef}> And this is the position of the character: charRef.current.translation()

Thank you for your guidance! Your suggestion worked perfectly. I really appreciate your help


GaxError Exception occurred in retry method that was not classified as transient, caused by 5:Requested entity was not found

When I tried to use keyword_plan_idea_service_client.rb to list keyword ideas, always return this error to me:
Error: 'GaxError Exception occurred in retry method that was not classified as transient, caused by 5:Requested entity was not found.'
Cause: '5:Requested entity was not found.'
Code: 5
Details: 'Requested entity was not found.'
Request-Id: 'MNH7cNiC8MpCzHokdPDu_Q'
Example:
kp_idea_service = client.service(:KeywordPlanIdea)

seed = client.resource(:UrlSeed)
seed.url = client.wrapper.string("github.com")

      kp_idea_service.generate_keyword_ideas(
        customer_id,
        client.wrapper.string(client.path.language_constant('en_US')),
        [client.wrapper.string(client.path.geo_target_constant(2076))],
        client.enum(:KeywordPlanNetwork)::GOOGLE_SEARCH,
        url_seed: seed
      )

/home/toshi/.rvm/gems/ruby-2.6.0/gems/google-gax-1.5.0/lib/google/gax/api_callable.rb:369:in `rescue in block in retryable'
/home/toshi/.rvm/gems/ruby-2.6.0/gems/google-gax-1.5.0/lib/google/gax/api_callable.rb:358:in `block in retryable'
/home/toshi/.rvm/gems/ruby-2.6.0/gems/google-gax-1.5.0/lib/google/gax/api_callable.rb:230:in `block in create_api_call'
/home/toshi/.rvm/gems/ruby-2.6.0/gems/google-gax-1.5.0/lib/google/gax/api_callable.rb:260:in `block in create_api_call'
/home/toshi/.rvm/gems/ruby-2.6.0/gems/google-ads-googleads-1.1.1/lib/google/ads/google_ads/v1/services/keyword_plan_idea_service_client.rb:245:in `generate_keyword_ideas'
teste.rb:55:in `generate_keyword_ideas'
teste.rb:145:in `<main>'

If you rescue the error, is it a Google::Ads::GoogleAds::Errors::GoogleAdsError or something else? Can you provide the results of error.inspect? Can you also turn on logging and provide the request/response logs?

It resulted in a very generic error. I was using the wrong id_language type, it had to be a number.


Percentage

What is the percentage of reward I make if I fund each side?

It's only known in appeal rounds. This is the initial round.


How to get all posts from a location given?

I make sure that i login in, and the location is valid. The Code is followed below:
posts = L.get_location_posts(LOCATION)
However, i got a error message:
连接异常: JSON Query to explore/locations/362629379/: 201 Created when accessing https://www.instagram.com/explore/locations/362629379/?__a=1&__d=dis
Traceback (most recent call last):
File "f:\Paper\task\CrawlIns\main.py", line 109, in
main()
File "f:\Paper\task\CrawlIns\main.py", line 106, in main
CrawlData(L)
File "f:\Paper\task\CrawlIns\main.py", line 40, in CrawlData
File "C:\opt\Anaconda3\envs\py39\lib\site-packages\instaloader\instaloader.py", line 1161, in get_location_posts
yield from SectionIterator(
File "C:\opt\Anaconda3\envs\py39\lib\site-packages\instaloader\sectioniterator.py", line 22, in init
self._data = first_data or self._query()
File "C:\opt\Anaconda3\envs\py39\lib\site-packages\instaloader\sectioniterator.py", line 32, in _query
self._context.get_json(self._query_path, params={"__a": 1, "__d": "dis", **pagination_variables})
File "C:\opt\Anaconda3\envs\py39\lib\site-packages\instaloader\instaloadercontext.py", line 481, in get_json
return self.get_json(path=path, params=params, host=host, session=sess, _attempt=_attempt + 1,
File "C:\opt\Anaconda3\envs\py39\lib\site-packages\instaloader\instaloadercontext.py", line 481, in get_json
return self.get_json(path=path, params=params, host=host, session=sess, _attempt=_attempt + 1,
File "C:\opt\Anaconda3\envs\py39\lib\site-packages\instaloader\instaloadercontext.py", line 469, in get_json
raise ConnectionException(error_string) from err
instaloader.exceptions.ConnectionException: JSON Query to explore/locations/362629379/: 201 Created when accessing https://www.instagram.com/explore/locations/362629379/?__a=1&__d=dis

It seems like you might be encountering a bug. The error message "201 Created" suggests that the response from Instagram might be unexpected in this context, which could indicate an issue with how the request is being handled.
To help resolve this, please provide a proper bug report with the following details:

The exact version of instaloader you're using.
Any additional context or observations that might help diagnose the issue.


NetworkXError: SubGraph Views are readonly. Mutations not allowed

Hi,
I am trying to use DeBaCl but I am getting this error:
NetworkXError: SubGraph Views are readonly. Mutations not allowed
I  have:
python: 2.7
numpy: 1.14.0
networkx: 2.0
Any idea?

Thanks

it works with networkx: 1.11


How to do a select random ? type:question

Hi ! Thank you for you work !
I'd like to know if it's possible to do a random select without using RAW SQL ?
For example, in MySQL I would to use " ORDER BY RAND() "
and in Postgres " ORDER BY RANDOM() ".
Thank you for your help !

Order(gorm.Expr("rand()")) or Order(gorm.Expr("random()"))

Thanks @jinzhu , It works for me!
Use rand()  or  random()  depend on  the database type  . For example ,

use rand()  or Order(gorm.Expr("rand()"))   in MySQL  ,
use   random() or Order(gorm.Expr("random()")) in  PostgreSQL or  sqlite

More database type can find solution from this answer:
https://stackoverflow.com/questions/580639/how-to-randomly-select-rows-in-sql/1209946#1209946

Order(gorm.Expr("random()")) no longer works in gorm.io/gorm versions, it prints ORDER BY {"random()" nil false} inside the raw query.
Use Order("random()") if you are using gorm v2 which is hosted on gorm.io

@MrWormHole also refer https://gorm.io/docs/query.html#Order