Add an alternative to Fuslogvw.exe

I was wondering if the docs to the Fuslogvw.exe Assembly Binding Log Viewer could also point to 3rd-party tools (free or even open source only, of course) helping the developers using the .NET platform to track down binding issues.
I wrote Fusion++ here on GitHub but did not promote it much. Back in May, Scott Hanselman featured it on Twitter and added an update note to his personal blog. So I think it might be of interest to you and other developers as well.

How to add that in the docs … hm … let’s see …
I don’t see a real table of content to add it to. So maybe there could be a hint just like Scott did it linking to the GitHub project. I just added a green “Note”-block in which a hint could be displayed.

I did not write anything into that block, because I don’t really think that you want to add GitHub projects to the docs. But if you don't categorically refuse to do it, I'm happy to help out.
Just let me know if you want me to continue.
Thanks 🥳

Thanks for letting us know about Fusion++, @awaescher. Unfortunately, we don't link to external software from the official Microsoft documentation on docs.microsoft.com. We'd welcome a pull request to add it to the list of Open Source projects in the Tools section of .NET Open Source Developer Projects.

I was expecting that and it's perfectly fine. I'm going to add it there, thanks.


Broken Arguments

https://github.com/prs-eth/Marigold/blob/cc78ff3033f5804cadf8523ed11b6bbf0d025077/run.py#L64C16-L64C16
The bitwise NOT operator ~ should not be used with boolean values the same way ! is used in other languages.
It turns it into a number and doesn't work right when checked later.
Worse than that and how I know nobody bothered to test this:
When you fix the above issue and it actually returns false when checking resize_input, "image" never actually gets assigned and will throw an error.
I'm too lazy to make a pull request though.

Thanks for catching the issue. I fixed it and will close this issue.


Uncertainties in the areas using TRWPeak and TBGSubtraction are very different

Hello,
I have used TBGSubtraction to extract the peak areas for the gamma-gamma angular correlation. I have noticed the uncertainties are very small. Later I realized (with the help of Marco, Thanks!) that the uncertainties are quite different while fitted with the TRWPeak method. Then I did the fit using TPeak and found the same results as I get with TBGSubtraction.
See the fit results of the 1173 keV 60Co peak using TRWPeak and TPeak for the same inputs.
TRWPeak:
Centroid = 1173.118218 +/- 0.004988
Area = 51052.457883 +/- 228.824214
Chi2/Ndf = 176.957929/54.000000 = 3.276999
TPeak:
Centroid:    1173.117265 +/- 0.005070
Area: 	      50285.351544 +/- 144.986458
Chi^2/NDF:   3.766386
Since the uncertainties in the areas are very different in two cases, it creates a big difference in the gamma-gamma angular correlation result. Now I was wondering which peak fitter should we use. If we think that TRWPeak is better, is it possible to implement this into the TBGSubtraction?
Thank you.
Rebeka
I am attaching the fits as well.
60Co-TRWPeak.pdf
60Co-TPeak.pdf

Marco and I looked a bit further into fitting with the old TBGSubtraction, fitting manually with GPeak, TPeak, or TRWPeak (via TPeakFitter). We found that the different reported uncertainties of the area are due to the height running into the limits set by the code (in TPeak the limits are 0 to max. height of the spectrum). This makes it impossible for ROOT to calculate an accurate error on that parameter, and because the height has a very large influence on the are of the peak, this can cause from uncertainty estimations for the area.
Whether this happens depends very much on the shape of the peak in the data, the fit function, and which parameters are released. We tried changing the limits to a maximum of twice the height of the spectrum, but even then the height can (and did) run into a limit if the skewness of the peak is non-zero, as the height of the gaussian is now (1-R/100)*height parameter, so if R is 40 or 50%, even twice the height of the spectrum might not be enough.
We also found that the same thing can happen with other parameters as well (R and the background offset in this case), but in that case the contribution to the area is either very small (as was the case for the BG offset in this data), or the failed error estimate is large enough (as was the case for R in this data).
I will look into a way to determine if ROOT ran into this issue with one of the parameters, and to issue a warning when that happens, plus an option to tell the peak to just re-fit with larger limits until that doesn't happen anymore. I'm not sure this is possible, but this is what I think would be the ideal solution to this problem (apart from removing all "quiet" options for the fits and letting the user sift through the output to see if any error occurred ...).

This should be solved with PR #1206. I will close it now, if any other issues come up with the new fix we can re-open it or open a new issue.


First pass at merging Node.js support

Building
So this is rot.js with support for Node.js. It offers a new build target node:
make clean
make node

This will recreate package.json and create lib/rot.js.
Publishing
Once the Node version of rot.js is built, package.json specifies everything that npm needs in order to publish. Publishing to npm is just:
npm publish

I have added ondras as an owner on the rot-js npm module, so you should be able to publish and add/remove owners now. If you want me to publish, just let me know and I'll do so.
Usage
After publication, the most simple way to try out rot.js for Node would be:
npm install rot-js
node -e 'var ROT = require("rot-js"); console.log(ROT.isSupported());'

Notes

I did not delete the existing package.json file in order to keep the diff short and clear. I do think it should be deleted, or at least regenerated, as part of your merge back to master.
Let me know if there is anything else I can/should do. :smiley:

(CC @statico) for comments / suggestions.

Very nice. I particularly like how the "if exports" node-ism (or, more correctly, commonjs-ism) is now moved into a dedicated node-exports.js file.
One question for node-shim.js, though -- the fourth lines says
if ((typeof process !== "undefined" && process !== null ? process.env : void 0) != null) {

is this really necessary? This code is evaluated only in server context...
you are returning void 0, which is undefined, but you test against null. While this works, I would say that not using type coercion would result in a more readable approach
the first two values in the compound expression return bool; why not test agains false instead?
actually, why is there the whole != null) part anyway? :smile: Testing against a falsy value would be sufficient imho? Never the less, see point 1.

is this really necessary? This code is evaluated only in server context...

You are right! :smiley: The node build target is only for Node, so the conditional is unnecessary.
By the same logic, I also removed the "if exports" from node-exports.js, and left the naked for loop.
I came up with the code for that conditional by going to Try CoffeeScript and putting in the following CoffeeScript code:
if process?.env?
  alert 'Node.js!'

It generates this JavaScript:
if ((typeof process !== "undefined" && process !== null ? process.env : void 0) != null) {
  alert('Node.js!');
}

I wanted to check that process.env existed (my original draft was code that worked in the browser and Node), and figured the CoffeeScript compiler would give me something sensible. But now we've got a Node-specific build, so that check isn't necessary.
I also regenerated package.json. I prefer to delete it, but I figured an updated package.json is better than an older one. If you are OK to delete it, I'll do that, just let me know.
Thanks! :smiley:

Cool, will merge + delete package.json.afterwards.

package.json deleted, added .gitignore and .hgignore for package.json and lib/. I assume this concludes the node.js support?

I assume this concludes the node.js support?

Yep, that should do it! Would you like me to publish to npm? Or would you like to do it?
After make node it should be just npm publish, assuming Node is installed and on your path.

Done, published :) Please let me know if anything goes wrong or this particular feature needs more attention in the future. Thanks for your assistance!

Awesome! Thanks for doing this :)

@blinkdog, I'm eager to try this, but I can't seem to get it to work. Could you provide a working example of a game running under Node.js? If you don't already have something, you could try porting the rot.js tutorial game (full source).

FWIW, I was specifically using the FOV and Map classes, not the whole framework. If it's useful, here are the snippets that use ROT within Node 0.10:
    ROT = require 'rot.js'
    {vec2} = require 'gl-matrix'

    ...

    @terrain = new DenseMap(@width, @height)
    pos = [0, 0]
    map = new ROT.Map.Digger(@width, @height)
    map.create (x, y, v) =>
      vec2.set pos, x, y
      @terrain.set pos, switch v
        when 0 then TILES.FLOOR
        when 1 then TILES.VOID

    for corridor in map.getCorridors()
      for x in [corridor._startX..corridor._endX]
        for y in [corridor._startY..corridor._endY]
          vec2.set pos, x, y
          @terrain.set pos, TILES.CORRIDOR if @terrain.get(pos) is TILES.FLOOR

    ...

    # computer what areas the player can see
    pos = [0, 0]
    diff = new<EMAIL_ADDRESS>@level.height)
    isWalkable = (x, y) =>
      vec2.set pos, x, y
      @level.terrain.get(pos) of WALKABLE_TILES
    fov = new ROT.FOV.PreciseShadowcasting(isWalkable)
    for _, player of @playerActors
      [x, y] = player.pos
      fov.compute x, y, 10, (x, y, _, visible) =>
        # for now, just send terrain data to client
        vec2.set pos, x, y
        diff.set pos, terrain: @level.terrain.get pos

    ...

    steps = []
    path = new ROT.Path.AStar(target[0], target[1], isWalkable)
    path.compute @pos[0], @pos[1], (x, y) ->
      steps.push [x, y]

Thank you. What I'm puzzled about, mostly, is proper use of ROT.Display.Term.Xterm and getting keyboard input. Although, I guess the latter would need to accomplished with a different Node package.

Right. There is basically no input handling in rot.js whatsoever, as regular DOM events are somewhat sufficient in this area.

proper use of ROT.Display.Term.Xterm

"term" is another layout engine, similar to "rect" for rot.js in the browser.
In the browser, "rect" is default, so often code for the browser is written like this:
var display = new ROT.Display({width: 80, height: 25});

And this code would do the same thing, in the browser:
var display = new ROT.Display({width: 80, height: 25, layout: "rect"});

When working with Node.js, there is no DOM or browser, just your good old console with terminal emulation. So, when targeting Node.js you need to explicitly specify the "term" layout:
var display = new ROT.Display({width: 80, height: 25, layout: "term"});

Now, the tricky thing about terminal emulation is that there are a LOT of terminals to emulate. Each terminal had it's own sub/super set of ANSI Escape Codes. In order to make pretty colors on the display, the code needs to know how to tell the terminal "change to red background" and such.
That's where Xterm comes in. You see, like the "rect" default that rot.js provided for the browser, the Node.js port also pulls this trick with termColor:
var display = new ROT.Display({width: 80, height: 25, layout: "term", termColor: "xterm"});

The Node.js port assumes that you are running an xterm-compatible terminal emulation. If you are running Node.js on a Linux or MacOS machine, you're probably OK. If you are running Node.js on a Windows machine, the default console probably isn't going to cut it. You'll need something like MobaXterm or the like.
If there was enough demand, and I could find a Windows machine to test it on, I would consider making a ROT.Display.Term.Microsoft for the Windows folks. But, I don't see that demand yet.

I'm eager to try this, but I can't seem to get it to work.
Could you provide a working example of a game running under Node.js?
If you don't already have something, you could try porting the rot.js tutorial game (full source).

Sure. I'll see what I can come up with in a few hours.

Okay @Kodiologist check out my repository here:
https://github.com/blinkdog/ananas-aus-caracas-node
It is the rot.js tutorial game with a shim for keyboard handling (addEventListener and removeEventListener), and a stub for the alert() function.
There are a few very tiny modifications to the game code itself, basically layout:"term" for the display and having the Node process exit nicely when the game ends.
I will do a better port (replace the browser-isms with Node-isms) when I get some free time this weekend. But for now, this should get you going with a working Node.js example.

Awesome, thanks! I linked to your repository from the tutorial.
I notice that the terminal cursor is visible when there's a floor square to the right of Pedro. That's probably easy to fix by hiding or moving the cursor, perhaps with an extra method of ROT.Display.Term.

I made another small round of updates to the shim version:

The shim now hides the cursor when the program starts
The alert() function now displays its message and then kludges a redraw
The program shows the cursor when the program ends

perhaps with an extra method of ROT.Display.Term.

This is a good idea. I should code this as a permanent fix and offer another pull request to @ondras

Now the repository contains a real Node version (game-node.js) that refactors all the browser-specific things into Node-specific things.
Some changes in this version:

The size of Pedro's warehouse depends on the size of your terminal window
Ctrl+C or ESC can be used to quit the game any time
Messages are displayed in the same yellow color as the player
Lots of comments around the things that I added/changed
Includes pretty screenshot referenced from README.md

Does it seem OK, @Kodiologist ?

@blinkdog Looks quite good to me. Well-commented, too.
You don't need the bind function, since its uses can be replaced with the built-in bind method.


graphene: Generate NONE constants

The none constants are not generated. e.g. graphene::Rect::NONE.

There's no point in doing that, is there? All the graphene types don't have inheritance.
Where do you need it?

gsk::Renderer::render_texture needs it.
        let renderer = gsk::CairoRenderer::new();
        renderer.realize(gdk::Surface::NONE).ok()?;
        paintable.snapshot_symbolic(&snapshot, SIZE.into(), SIZE.into(), &colors);
        let node = snapshot.to_node();
        let texture = renderer.render_texture(&node, None::<&graphene::Rect>);

Just pass None there

That fixes it, I wonder why the code I copied had it explicit. Thank


Modernize the library

update babel to 7.0
add Rollup for bundle compilation
move external dependencies to peerDependencies
replace require() calls with import/export syntax
inline necessary lodash parts to remove entire library as hard dependency
bump version to 0.2.2

Final package size reduced from
npm notice package size:  1.5 MB
npm notice unpacked size: 1.8 MB

to
npm notice package size:  119.4 kB
npm notice unpacked size: 523.1 kB

Sure, I was considering waiting for #80 to merge before sending this but decided it makes sense to just push it.
RIght now I'm at work so I'm afraid this will have to wait few more hours though.

Do you think all these changes merit a 0.3.0 release or only 0.2.2 ?

0.3.0 I guess since there is a new feature.

All right, master have been merged in and I bumped the version to 0.3.0. Tested the library working both with run.js demo and with an example app

I'll merge then. Do you need a swift npm release?

When I run the demo I get this:
WARNING: the `ws` package must be installed to use `react-devtools`.

Yeah, devtools and ws have been moved as peerdependencies. We may also add it as devdependency so the warning is not visible in demo or we can hide/remove the warning since even you yourself tripped over the fact this warning is visible only when NODE_ENV is not set to "production" ;)

Anyway, v0.3.0 is live on npm :)


Prompts for loss of changes when closing split

VSCode Version: Code 1.4.0 (6276dcb0ae497766056b4c09ea75be1d76a8b679, 2016-08-04T16:45:31.680Z)
OS Version: Windows_NT ia32 10.0.14393

Steps to Reproduce:

Open a document
Click on the Split Editor button
Make a change to the file
Go to close one of the two splits

You now get warned about data loss and whether or not to save the changes, even though you aren't closing the file completely. If you click on "Don't save", one of the splits closes, leaving you with the file still open, but your changes are lost! This happens regardless of which split you made the changes in and which split you close.
The desired behaviour would, surely, be just to close the split, leaving the file still open, no loss of changes and no prompt of loss of changes?

Thanks for reporting this issue. Please use the issue search next time to see if there is a duplicate already. In this case, the issue has already been reported.

Hi
I did perform an issue search before submitting this and could not find one. Can you please provide a reference to the existing issue so that I can see what I should have been searching for?

@pcolmer https://github.com/Microsoft/vscode/issues/8983, https://github.com/Microsoft/vscode/issues/9210, https://github.com/Microsoft/vscode/issues/9275, https://github.com/Microsoft/vscode/issues/9847, https://github.com/Microsoft/vscode/issues/9960, https://github.com/Microsoft/vscode/issues/9356, https://github.com/Microsoft/vscode/issues/9532, https://github.com/Microsoft/vscode/issues/9946, https://github.com/Microsoft/vscode/issues/9070

Thank you - I can see what happened. I only searched with the default "is:issue is:open", assuming (presumably incorrectly) that issues would only be closed after generally released, not just fixed.
I will search all issues in future.


merge_kerning is now subset-aware

The previous version of merge_kerning would check if the glyphs on either side of the kern pair exist in the final glyph set. However, in a case where UFO2 has, say, the /a, which is supposed to be subset out, but UFO1 contains an /a, the merge_kerning filter checks to see if there's an /a in the final glyph set when deciding whether to preserve the kern group from UFO2.
As a result, we encounter a circumstance where the /a exists in two different kern groups in the resultant UFO and thus fails validation.
This PR adds a new utility function that checks against the incoming_glyphset instead of final_glyphset and uses that when evaluating the kerns from UFO2.
#17 - Resolves this issue.

This is brilliant; thank you so much. I was puzzling about what the right behaviour should be. Will take a look on Monday.


[Table] with (nolock)

How do I do a [Table] with (nolock) hint?
var query = new Query("Posts").Select("Id", "Title")
will be
SELECT [Id], [Title] FROM [Posts]
but I want it to be
SELECT [Id], [Title] FROM [Posts] WITH (nolock)

currently there is no direct method to handle this, but you can use the FromRaw method
new Query().FromRaw("[Posts] WITH (nolock)").Select("Id", "Title");

Thanks

How can i add table hint for each join?
var query = new Query().FromRaw("Users with (nolock)")
.Join("Authors", "Authors.Id", "Posts.AuthorId")
.Where("Id", 1)
.Where("Status", "Active");
will be
SELECT * FROM Users with (nolock)
INNER JOIN [Authors] ON [Authors].[Id] = [Posts].[AuthorId]
WHERE [Id] = 1 AND [Status] = 'Active'
but I want it to be
SELECT * FROM Users with (nolock)
INNER JOIN [Authors]  with (nolock) ON [Authors].[Id] = [Posts].[AuthorId]
WHERE [Id] = 1 AND [Status] = 'Active'


Improve use bow when walking animations.

Before:
https://user-images.githubusercontent.com/10785634/165363717-964d8cc9-1f2c-4b0a-8d54-470dae716b77.mp4
After:
https://user-images.githubusercontent.com/10785634/165363734-21a386c2-369e-4260-9518-45f8bdce26ac.mp4

This PR does not start so it cannot be tested. Hangs here:
const loadPromise = (async () => {
  await Avatar.waitForLoad();
  const audioContext = Avatar.getAudioContext();
  soundFileAudioBuffer = await loadAudioBuffer(audioContext, '/sounds/sounds.mp3');
})();

ReferenceError: Cannot access 'Avatar' before initialization

Used _get7wayBlend combined with applyFn to handle bow walk and bow aim walk, instead of use applyFn purely.
https://user-images.githubusercontent.com/10785634/165518340-2d5bdc32-9515-4792-a001-bc9602511613.mp4

It works well 👍

Close in favor of https://github.com/webaverse/app/pull/3106


Custom confirm for data-confirm

I don't want the default dialog of the data-confirm. However, I really need this and I will like to use sweetalert instead. I had earlier made a different approach towards this. Trying to intercept with ajax:beforeSend as in this gist. That failed because I couldn't have it to continue in the fallback. How can I go about this?

You can just override the $.rails.confirm function. See https://github.com/rails/jquery-ujs/blob/master/src/rails.js#L77

@rafaelfranca I don't think you can, because anything other than the browser built-in will need a "what to do next" callback

Yes. That is true. You would have to block the execution of JavaScript to make it work.

Presumably we could attempt to rearrange our behaviour (callbacks all the things) so it can work.. but I'm not sure it'd be particularly feasible.

Seems I'll have no choice than to use the default dialog. I tried overriding $.rails.confirm and I get my pretty dialog but then it doesn't do anything after confirmation.
$.rails.confirm = function(message){
     swal(message);
}

I hope this gets easier in the future

This goes back to #196, where an ansyc implementation is available at https://github.com/JangoSteve/jquery-ujs/tree/async-confirm but it is a bit outdated. Would be awesome to see this landing on the main repo repo.


Plugin having trouble finding links in bullet points

We have content in list items within our Sanity "body" field. The plugin correctly finds links that are in the body regularly, but is unable to find them when they are in a list item such as a bullet point.

This is great feedback @NathanStanislavsky! We'll take note of this for a future release (but also feel free to submit a pull request).


SlideChange event always fires with prependSlide method

I download the slider images with Ajax then I update the slider with the method mySwiper.prependSlide(slides) but the slideChange event has always fired without changing the current slide

@ali-adlah can you make a demo?

It is be design, because active slide (particularly activeIndex) actually changes when you prepend slide

I can not making a Demo but ich write this code
getImagesCunks(rsArticleId,targetIndex,-1,chunksLength,iSwipeDirection,draftId).done(function(data){
//mySwiper.off('slideChange');
for(i = data.ARRIMAGESDATA.length - 1; i >= 0; i--){
var myCounter = data.ARRIMAGESDATA[i].IIDX +1 ;
mySwiper.prependSlide('
' +data.ARRIMAGESDATA[i].SBLN+ '');
}
mySwiper.update();
//mySwiper.on('slideChange', slideChangeHandler);
});


#0: DRAFT - Prototype bmm op API exposing cq_id

The changes made here are similar to what we'd need for all Ops that are to be assigned to a CQ.
CQ here refers to the low level HW CQ that is the interface between host and device. The worker threads in the async engine are per device and are shared between CQs.
Not included:

CQ ID added to .to() or .cpu()
TTNN Python Integration for modified op

fyi @davorchap @jliangTT


Best route calculation upgrade

When doing a best swap calculation for the user we don't yet take into account which contracts have already been approved and which not. The extra approval call could alter the order of most favourable swaps.

Sounds like https://github.com/OriginProtocol/origin-dollar/issues/864 😛

haha yes, I need to use search before making new tickets :)
closing as duplicate of: https://github.com/OriginProtocol/origin-dollar/issues/864


Switch to bs58

Part of the work required for https://github.com/Trust-Machines/core-eng/issues/320.
Swaps out crate base58 for bs58.
Minor version bump despite some error-related pub types having changed, would another type of version bump be more appropriate?

Great feedback, we now have more lines removed than added. Anything else?

Thanks @aryzing !

Was fun, thanks :)


UTF-8 support for commenting tables in SQL server

Hi,
after resolving this issue "SQL Server Table, Adding Comments to the Table Failing #4754"  #dba0522 it performs perfectly but there is one more thing, I can't add a comment to the table in another language like Chines or Georgian.
The SSMS performs a script like this:
USE [NAPR];  GO EXEC sys.sp_updateextendedproperty        @name = N'MS_Description',       @value = N'საკადასტრო კოდის უნიკალური ID',        @level0type = N'SCHEMA',        @level0name = N'DWH',       @level1type = N'TABLE',        @level1name = N'DIM_RealEstate',        @level2type = N'COLUMN',        @level2name = N'CadcodeID';  GO

Thank you for the report. I do not have an error message, but chinese/georgian letters convert to question marks after table reopening

Hello, @kano77, what exactly is the problem? Is the text being replaced with quote marks or you're getting an error?
Please refer to the SQL Server documentation page about collations to see if it helps.

Dear  Mention,
Thank you for your response. The problem is that when I'm trying to add
some comment to the SQL server database table column from dbeaver, it
generates a script for a stored procedure like this:
EXEC LOMBARDI.sys.sp_addextendedproperty 'MS_Description',  'გიორგი',
'user', 'dbo', 'table', 'Bank_Payment', 'column', 'Payment_ID'
It does perfectly but there is one problem. If I'm using Georgian or any
other Unicode character in the SQL server will get question marks in the
Extended Property.
If it is possible when the comments are made with Unicode character to have
'N' sign in front of comment like this:
EXEC LOMBARDI.sys.sp_addextendedproperty 'MS_Description', N*'გიორგი'**,
'user', 'dbo', 'table', 'Bank_Payment', 'column', 'Payment_ID'* .
On Wed, Oct 28, 2020 at 5:25 PM Who cares<EMAIL_ADDRESS>wrote:

Hello, @kano77 https://github.com/kano77, what exactly is the problem?
Is the text being replaced with quote marks or you're getting an error?
Please refer to the SQL Server documentation page
https://docs.microsoft.com/en-us/sql/relational-databases/collations/collation-and-unicode-support?view=sql-server-ver15
about collations to see if it helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/9664#issuecomment-717930549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJH5NSA7IWA26HZMNEWOSLSNALUVANCNFSM4QPCXRJA
.

Hello, @kano77, what exactly is the problem? Is the text being replaced with quote marks or you're getting an error?
Please refer to the SQL Server documentation page about collations to see if it helps.

Dear  ShadelessFox
Thank you for your response. The problem is that when I'm trying to add
some comment to the SQL server database table column from dbeaver, it
generates a script for a stored procedure like this:
EXEC LOMBARDI.sys.sp_addextendedproperty 'MS_Description',  'გიორგი',
'user', 'dbo', 'table', 'Bank_Payment', 'column', 'Payment_ID'

It does perfectly but there is one problem. If I'm using Georgian or any
other Unicode characters in the SQL server it converts to question marks in the
Extended Property.
If it is possible when the comments are made with Unicode character to have
'N' sign in front of comment like this:
EXEC LOMBARDI.sys.sp_addextendedproperty 'MS_Description', N**'გიორგი'**,
'user', 'dbo', 'table', 'Bank_Payment', 'column', 'Payment_ID'.

@kano77, thank you for your detailed response, now I understand what you mean. We will implement that in the near milestone.

verified


Fix circular reference in join node

I fixed #1411 and added test case.

Coverage increased (+0.04%) to 86.103% when pulling 7dfa12ece042c21e0304ee7191fe9fbfa3c9ec80 on HirokiUchikawa:master-joinnode into ef53dca0628cca360795fe05cab91e146c8207fb on node-red:master.


Import instructions don't appear to work on node 19.4

When I import { copyPlugin } from '@sprout2000/esbuild-copy-plugin'; as per the README, I get
import { copyPlugin } from '@sprout2000/esbuild-copy-plugin';
         ^^^^^^^^^^
SyntaxError: Named export 'copyPlugin' not found. The requested module '@sprout2000/esbuild-copy-plugin' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@sprout2000/esbuild-copy-plugin';
const { copyPlugin } = pkg;

The second form does indeed work as suggested. This is in a script executed via node esbuild.config.js which is defined as "type": "module" in package.json. Is there something I'm failing to do?

@rgarner
If you are writing esbuild scripts in vanilla JS, you must import this module using the require statement.
const { copyPlugin } = require("@sprout2000/esbuild-copy-plugin");

This would eliminate the need to set "type": "module" in package.json.
If you are writing scripts in native ESM, the suggestions are correct, because this module does not directly support native ESM.
best regards.

I'm writing in ESM in order to have native await access for esbuild; I slightly prefer "type": "module" over the .mjs extension. Thank you! I shall stop worrying about it.


Create Posts “license2”

Automatically generated by Netlify CMS

👷 Deploy Preview for festive-saha-f7160e processing.
🔨 Explore the source changes: a00c58248517a424d9a35fd25ffc4f03c12de780
🔍 Inspect the deploy log: https://app.netlify.com/sites/festive-saha-f7160e/deploys/618cf0121abce50007af099a


Maybe add govulncheck to pipelines

This is a thing now: https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
https://go.dev/security/vuln/

gosec and nancy seem to be pretty useless so hopefully this will be better.

This has been added. There is an action for it: https://github.com/Templum/govulncheck-action but it doesnt allow the path to be set
So just used the normal run tasks in the action


Minify source is not working - it's auto add a comment.

Hi,
I use this module with minify and it didn't work cause the regex "/[/*]/" (line 3064) has changed to a comment.
Could you help me to fix it ?
Thanks,
Dung

Check with whatever you are using to minify - there's now a Gruntfile showing how the current source gets it done, maybe just make sure you're using the non-minified source as a starting point.


Multi select

Adds a complex multi-select widget called CrossSelector which allows selecting items from a list by moving them from one list to another. The CrossSelector pretends to be a regular widget by hacking some of the methods ensuring that the traitlets of the outer widget are synced with the internal representation. Currently the widget gets used when there are more than 20 options in a param.ListSelector. It looks something like this and combines seamlessly with the MultiFileSelector:

The search function uses fnmatch for matching but automatically adds a wildcard to the end ensuring that it matches as you type. Better suggestions welcome, other filtering widgets out there generally just match based on whether any item contains the query substring.
Still needs a bit of cleanup.

I won't have a chance to try it now, but what does "filter options" do (in screenshot above) for the filename case?  Is that a second level of filtering?  Is it necessary?

And shouldn't there be two filter options boxes, one for white and one for black? Probably if I could try it out I'd see the answer to that.

I won't have a chance to try it now, but what does "filter options" do (in screenshot above) for the filename case? Is that a second level of filtering? Is it necessary?

That's a side-effect of the way the MultiFileSelector works, ideally that would also be implemented as a widget class like the CrossSelector. I do think it's useful though, especially when there's a lot of files, since the filename search will completely reset your selection.

It works well, but exceptions are raised for invalid regexs, which should probably simply just not match anything, because invalid regexs are unavoidable while typing.  E.g. "[" by itself will show an exception, before one has a chance to finish the expression.

@jbednar The layout issue you uncovered in the latest released ipywidgets is fixed now, however in old versions of ipywidgets (i.e. <6.0beta) the options do not sort themselves correctly while querying.


[Gnap] Validate computed hash

Validates hash: compute the interaction hash using the Client Nonce, Server Nonce, interact_ref value, and Auth-Request URI (hub-auth URL/gnap/auth), and assert that the result is equal to the hash value.

@talwinder50 to confirm if this has been implemented and update the issue


Correct purchase history graph scaling

The scaling of the purchase history graph is not consistent with elapsed time. I'm not actually sure what the scaling is based on, but at any rate it's confusing and has been suggested to be changed at some point. I couldn't figure out how to change it myself, tweaking the Highcharts scaling configuration didn't seem to do anything.

The history graph has been implemented correctly in the rewrite, closing.


Rendering issue

When the First stripped log pops in, all HT's tree chop rendering for the custom chopped "stripped" logs  are black where the block faces should be.
on Fabric
https://gist.github.com/FluffyBumblebees/3b370010b62e26d6a187ac5bfb7fed54

Bummer, thought I fixed this (it used to also crash: #127). Thanks for reporting. I'll look into it tonight

Could you try updating Sodium? I see you're using 0.4.1, but when I attempted to fix this I was using 0.4.4 (the latest, 0.4.https://www.curseforge.com/minecraft/mc-mods/sodium/files/3957319)

I nailed it down to incorrect shadows. If I shine light on it via a shaderpack, it doesnt look black.

If I place a light next to it, without shaders. the light update alone makes it appear dark.

Could be starlight perhaps

It's starlight

Thanks, that helps a lot. I’ll see if I can add compatibility with starlight

Sorry, forgot to share here -- this should be fixed in 0.16.3

Yes, it's fixed. I tested! Everything works perfectly now. Thanks!


Activator improvements

Short description of what this resolves:
This makes the activator engage more quickly and improve the perception of performance on iOS. For example, when a user clicks a list item, we make sure to activate the list item as soon as possible.
It still isn't perfect but it's a step forward
Changes proposed in this pull request:

Activator runs on a full click event from TapClick
Activator upAction moved before the polyfill for click to avoid the case where the app is disabled before the activator can run

Ionic Version: 2.x

Check: off-by-one error in new rafFrames

@manu, this is the latest branch: https://github.com/driftyco/ionic/tree/activator-perf


AttributeError: 'Rebulk' object has no attribute 'chain_defaults'

Just installed subliminal with pip install subliminal, and when I execute it I get
$ subliminal
Traceback (most recent call last):
  File "/usr/local/bin/subliminal", line 7, in <module>
    from subliminal.cli import subliminal
  File "/usr/local/lib/python2.7/dist-packages/subliminal/__init__.py", line 11, in <module>
    from .core import (AsyncProviderPool, ProviderPool, check_video, download_best_subtitles, download_subtitles,
  File "/usr/local/lib/python2.7/dist-packages/subliminal/core.py", line 13, in <module>
    from guessit import guessit
  File "/usr/local/lib/python2.7/dist-packages/guessit/__init__.py", line 6, in <module>
    from .api import guessit, GuessItApi
  File "/usr/local/lib/python2.7/dist-packages/guessit/api.py", line 150, in <module>
    default_api = GuessItApi(rebulk_builder())
  File "/usr/local/lib/python2.7/dist-packages/guessit/rules/__init__.py", line 49, in rebulk_builder
    rebulk.rebulk(episodes())
  File "/usr/local/lib/python2.7/dist-packages/guessit/rules/properties/episodes.py", line 50, in episodes
    rebulk.chain_defaults(chain_breaker=episodes_season_chain_breaker)
AttributeError: 'Rebulk' object has no attribute 'chain_defaults'

is there something wrong with the install? or my python version?

Maybe you're using an old version of rebulk? Please try pip install -U subliminal so dependencies are updated along the way.

I swear I did pip install -U subliminal a few hundred times before opening this issue, I did it again now and it works now. Go figure...


fix using big rational #**with unsigned ints

the compiler complains that -other is not possible when passing an unsigned value to the function
    if other < 0
      return (self ** -other).inv
    end

I think this could be fixed simply by replacing -other with other.abs. That's done in other places as well. No need for an extra overload.

Thank you @stakach


[ENH] refactor annotation into segmentation and anomaly detection

Reference Issues/PRs
First stage in #722 and #592. Need to do this before v0.6
What does this implement/fix? Explain your changes.
creates two new modules, annotation and anomaly_detection. Only the first stage, makes the obvious changes, leaving some things in annotation.
Moves STRAY to anomaly_detection
Moves CLASP GGS and IGTS to segmentation.

Ive broken this due to branch confusion, will park it for now until refactoring is sorted

Ok well just as an FYI nothing links to the new .rst API pages currently

this is meant to be the first step in doing the refactor, its experimental, will link it all in to docs when its done, but its been stalled for ages. Any changes you want, feel free to PR


Support egg/zip files for IntelliSense

Environment data

VS Code version: 1.27.1
Extension version (available under the Extensions sidebar): 2018.8.0
OS and version: OS X 10.13.6
Python version (& distribution if applicable, e.g. Anaconda): conda Python 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: torchvision (installed via conda install pytorch torchvision -c pytorch)

Expected behavior
Expect autocompletion in a buffer after
import torchvision
torchvision.

Actual  behavior
Only generic suggestions with the 'abc' icon are listed.
It seems intellisense isn't finding the torchvision package. It looks like torchvision configures itself via a .pth file:
~/anaconda3/lib/python3.6/site-packages $ cat torchvision.pth
./torchvision-0.2.1-py3.6.egg

which results in the following sys.path from a Python session (note the special entry for 'torchvision-0.2.1-py3.6.egg'
In [1]: import sys

In [2]: sys.path
Out[2]:
['',
 '/Users/malmaud/anaconda3/bin',
 '/Users/malmaud/anaconda3/lib/python36.zip',
 '/Users/malmaud/anaconda3/lib/python3.6',
 '/Users/malmaud/anaconda3/lib/python3.6/lib-dynload',
 '/Users/malmaud/.local/lib/python3.6/site-packages',
 '/Users/malmaud/anaconda3/lib/python3.6/site-packages',
 '/Users/malmaud/anaconda3/lib/python3.6/site-packages/aeosa',
 '/Users/malmaud/anaconda3/lib/python3.6/site-packages/torchvision-0.2.1-py3.6.egg',
 '/Users/malmaud/anaconda3/lib/python3.6/site-packages/IPython/extensions',
 '/Users/malmaud/.ipython']

Perhaps VSCode isn't accounting for the pth file modifying sys.path when it searches for torchvision?

Is jediEnabled true or false?

false
On Sun, Sep 9, 2018 at 8:56 PM Mikhail Arkhipov<EMAIL_ADDRESS>wrote:

Is jediEnabled true or false?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/2532#issuecomment-419758804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8SvYsoA2fhYMEYZ0KaygJyO9r9dK66ks5uZbilgaJpZM4WgVRr
.

I'll try to verify.

I can't reproduce:

If you are expecting a different set of completions, @malmaud , let us know and I will re-open this issue.

Hmm, seems we must have different environments or something, since it's definitely not working for me with the latest everything:

And you can see my VSCode is configured to use the right Python:

I can confirm the same problem with Conda Python 3.7 + torchvision-cpu 0.2.1 on Ubuntu 18.04.1.

The same problem occurred when I install torchvision by conda. Try to pip install torchvision, It worked for me

The same problem occurred when I install torchvision by conda. Try to pip install torchvision, It worked for me

This would be an indication of the fact that torchvision was not installed in the right environment.

I still can't reproduce with torchvision==0.2.1 with Python 3.7 under conda 4.5.11 (at least under Windows 10):

@malmaud why do you have egg paths on sys.path? pip wouldn't set those since PyPI only has a wheel: https://pypi.org/project/torchvision/#files . And it isn't because of a lack of .pth support as it's there (I believe the language server asks Python what its sys.path is).
I'm afraid if we can't reproduce this then there is no way to fix it. So I'm going to close it for now, but if people can figure out the cause of the failure then please leave a comment and I will re-open this issue.

Hmm, that is simply how installing it via conda configured things at the
time -  it created a pth file which adds the egg to sys.path. I have no
idea why the pytorch maintainers configured their conda script to go that
route.
I will try again in a fresh conda environment to see if i can reproduce,
and thanks for trying to verify.
On Thu, Sep 27, 2018 at 8:05 PM Brett Cannon<EMAIL_ADDRESS>wrote:

Closed #2532 https://github.com/Microsoft/vscode-python/issues/2532.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/2532#event-1872389463,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8SvZ55KFmJmIdABvYKLzB28BzxvmwCks5ufWewgaJpZM4WgVRr
.

Hmm, just confirmed the problem still happens in a fresh conda environment, but doesn't happen if it's installed with pip. I'll just keep using the pip-based installation then.

@malmaud can you provide the install commands you used with conda? When I follow the instructions at pytorch.org they say to install using pip so I didn't even try to install torchvision via conda.

Sure, conda install pytorch torchvision -c pytorch.
On Fri, Sep 28, 2018 at 8:13 PM Brett Cannon<EMAIL_ADDRESS>wrote:

@malmaud https://github.com/malmaud can you provide the install
commands you used with conda? When I follow the instructions at
pytorch.org they say to install using pip so I didn't even try to install
torchvision via conda.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/2532#issuecomment-425598786,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8SveMrUxdLvUeDIzSJ9iY134wjPPsiks5ufrsZgaJpZM4WgVRr
.

@brettcannon Probably you would like to try installing torchvision on Linux.

I will have to wait until I'm at home as PyTorch on Anaconda lacks Windows 10 support.

I've verified it's because of the .egg installation since it's a zip file and the language server doesn't support zip files yet. I've filed an issue upstream for it.

Closing in favour of https://github.com/microsoft/python-language-server/issues/196

LS 0.4.17+


API: Remove cache instead of updating it

Closes https://github.com/serlo/serlo.org/issues/657

Shouldn't we be able to remove setUuid?

I only removed setUuid() at places where entities might be envolved. Here is the remaining changes: https://github.com/serlo/serlo.org/pull/659 Maybe we want to wait to see how the effects will be in production...

@inyono What do you when we change removeKey to updateKey so that the key get's updated via SWR?

@inyono What do you when we change removeKey to updateKey so that the key get's updated via SWR?

We could do that, sure.

@inyono This PR is now also live in production. When everything works fine we can also merge https://github.com/serlo/serlo.org/pull/659


Explained current scene functionality.

Improving the current_scene description, which was always very succinct. Now it clearly expresses the possibility of quickly getting the top node of the current running scene.
This change is compatible with 3.x.

Thanks for opening a PR! Why does it basically repeat the same thing twice?

I wanted to emphasize the fact of getting the top node quickly, something not as simple as it seems. Even using owner or get_parent (successively until null is returned). I will rewrite the note in another way.

Notes should be used for important but tangential mentions. Here you can just continue the paragraph with an extra tip.

It's ok now.

You should rebase instead of merging into your branch, you will need to clean up your branch

See here

What you need to do is:

Run git rebase -i master (assuming you've updated master, otherwise if you've added the upstream remote you can use upstream/master)
replace "pick" for all the commits that aren't yours with "drop"
replace "pick" of all your own commits save for your first one with "fixup"

Please squash your commits into a single commit as described above

I fixed it. Need to squash, I think.

Are you using git push -f?

You've now added an unrelated author, you need to reset the author with git commit --amend --reset-author

Are you using some kind of software that is generating all these commits?

I've made the mistake to sync between two of my branches. Now I'm trying to clean this. First time using git, but it's ok, using this to learn.

That's the spirit! Learning opportunities are important

I believe it is fixed now. Thanks.

I believe it is fixed now. Thanks.

Unfortunately, not exactly.  I fixed it and pushed on your behalf, so it should be good now.

Thanks!


add function package-url into function-get api response

Motivation
Right now, we mostly use function by submitting function with url and many times, we want to verify function package-url to confirm the package-version. So, function-admin api should return packageurl along with function metadata.
Modifications
return function pacakge-url along with function-metadata on get-function api call.

@sijie @jerrypeng can you please take a look .. we want to know function-pkg url to know actual package-version which function is running.


🚀 - strict and non-strict modes for Date, DateRange, DateTime

Which package(s) are relevant/related to the feature request?
@maskito/kit
Description
It is proposed to introduce new boolean parameter strict.
This new parameter decides if Maskito can calibrate not currently active date segment for invalid date.
import {maskitoDateOptionsGenerator} from '@maskito/kit';

const maskitoOptions = maskitoDateOptionsGenerator({
    mode: 'yyyy/mm/dd',
    strict: true
});

Default value: true (add TODO-comment to change it to false in future major release).
Strict:
This behavior is already implemented in our mask.
In strict mode, if a user tries to enter a non-valid date, the mask will either prevent the user from entering such a date, or if it is possible to turn it into a valid date, it will change it to a valid date. Textfield's value NEVER contains invalid date value.

Enabled strict can change even not currently active date segment!
For example, user overwrites month segment (active date segment – month) and new typed month does not contains the such day segment (i.e. 31st day). Day segment is calibrated automatically.

Hint: use native Date for automatic value calibration.
Examples:
Date mask: mm/dd/yyyyy

02.29.202| ⇒ Type 5 ⇒ 03.01.2025|
04| ⇒ Type 4 ⇒ 04.04|
04.31.2007 ⇒ 05.01.2007
02.31.2025 ⇒ 03.03.2025

Non-strict:
In non-strict mode, textfield sometimes can contains not-valid date (i.e. 31st day for month with only 30 days).

Non-strict can NOT change not currently active date segment!
For example, user overwrites month segment (active date segment – month) and new typed month does not contains the such day segment (i.e. 31st day). Day segment is NOT calibrated automatically.

Day: max 31, min 1
Year: max 9999, min 1
Month: max 12, min 1
Checking for non-valid dates in this case will fall on the developers.
For example, developer can use visual way to represent that textfield contains invalid date (i.e. angular form validators).
See good example of non-strict date mask: https://mui.com/x/react-date-pickers/adapters-locale/#with-luxon
Examples:
Date mask: 'mm/dd/yyyyy'

02.29.2025 ⇒ 02.29.2025
04.31.2007 ⇒ 04.31.2007

Closing this issue until it becomes more relevant for us


Run nft and integration at the same time as functional

Tested on a reference application in "nathan-demo" repo


Fedora 36 reached end-of-life on 10 - May - 2023

Fedora 36 reaches end of life on May 10, 2023
This issue is created to track progress for the remove support for Fedora 36 from .NET 6.0 and .NET 7.0
Repos team to update:

[ ] Remove installers for the outdated distro
[ ]  Remove build support
[ ]  Remove test assets

Infrastructure Team Accountabilities/Deliverables:

[ ]  Notification to NetCore Engineering Partners
[ ]  Remove the outdated version from the hardware pool

Release Team

[ ]  Send Notification to every team in .NET for upcoming addition
[ ]  Supported OS content gets updated on GitHub and marketing sites.
[ ]  Update release manifest files.
[ ]  Docker files which are used for install testing needs to be updated.

Document updates:

[ ] Add/Remove OS prerequisites to the dependencies document
[ ] Update distro install page

NIT: According to https://fedorapeople.org/groups/schedule/f-38/f-38-key-tasks.html the EOL date is May 16th, not May 10th.


empty input value by JS

When change input value to empty string by JS or Jquery(button), the list displayed only the last selected item.

Hi,
I think I know what you're trying to achieve here, would it be possible to do it like this instead, and get rid of the other changes? On this line.
if (!scope.inputValue || scope.inputValue === '')

If that doesn't work, could you please provide an example with your code running and explain the issue you're having in more detail?
Thanks!
Hanna


Updated to reflect Risk Based Step-up Consent

Added new blurb for new behavior and added previously missing error message.

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

#sign-off
Signing off for @msmimart who's currently unavailable for review. Cc: @CelesteDG for visibility.


Upgrade TypeScript dependency to 2.7.2

https://github.com/mgechev/codelyzer/blob/4.3.0/package.json#L69
We couldn't use codelyzer because its pinning TS 2.4

I'll take a look at this today.

Sounds good. Thanks Minko! Let me know if i can help.

@mertdeg2 would you try the branch minko/dev-typescript. It should work properly with the latest TypeScript.

@mertdeg2 I added the return type to noTemplateCallExpressionRule. Let me know if the build still fails.

Nope, this works. Thanks! :)


Please generate terraform-azurerm-cfi-aks from template cfi-terraform-template-child-module #14

Support Question
Title: Create repo: terraform-azurerm-cfi-aks
Subject: Terraform child module deploying compliant AKS instance.
@TheJuanAndOnly99 @eddie-knight @thinkl33t @AdrianHammond @maoo

@eddie-knight @ml4 Repo created https://github.com/finos/terraform-azurerm-cfi-aks


fix link in customization guide

https://github.com/krtschmr/active_material/commit/d801a4fb800cd801e0405063e44099dd7fe4e982
no idea why i cant make a pullrequest of this

I've fixed that here: https://github.com/dkniffin/active_material/commit/e91faafcb016477637330ea593673cd521c60aa9 I used a path, in case the repo url changes (again)


[core-http] Token refresher fix: Refresh in the background, keep returning valid token

This PR intends to fix the logic in the bearerTokenAuthenticationPolicy to:

Return a token for as long as it hasn't expired.
Wait for the token refresh only the first time we authenticate, or if the token has expired.

We can do this in a million ways. In this approach we avoid doing public API changes, but we add a redundant copy of the token inside of the bearerTokenAuthenticationPolicy.
If the design isn't good enough, please recommend me other ways to do this! We can use these same tests to verify any design.
The new design for core-rest-pipelines won't have this issue!

Backstory:
Recently I did this change in the bearer token authentication policy: https://github.com/Azure/azure-sdk-for-js/pull/13736
It fixed an issue in which we were refreshing the token every 30 seconds, instead of waiting for the token's expiration date (or a bit earlier than that, which we can call the refresh time window, in which we start refreshing).
That PR introduced a bug that is breaking ai-form-recognizer.
There are to time variables here:

The time before the token expires, which we somehow defined in the TokenCache, but it's intended to be used to start the refreshing of the token.
How frequently we allow token refreshes to happen. At least this one is tracked by the token refresher.

With those things in mind, we can explain a bug introduced by my last PR:

Bug: When we reach the refresh window, now we only try to refresh ONCE in this refresh time frequency, other incoming requests while the refresher is not ready will result in NO TOKEN.

This PR fixes that bug!

Closing in favor of #14223 where we've been collaborating on a different solution.


Update rdf4j-model, rdf4j-query, ... to 4.3.7

About this PR
📦 Updates

org.eclipse.rdf4j:rdf4j-model
org.eclipse.rdf4j:rdf4j-query
org.eclipse.rdf4j:rdf4j-queryalgebra-evaluation
org.eclipse.rdf4j:rdf4j-queryalgebra-model
org.eclipse.rdf4j:rdf4j-queryparser-sparql
org.eclipse.rdf4j:rdf4j-rio-rdfxml
org.eclipse.rdf4j:rdf4j-storage

from 3.7.7 to 4.3.7 ⚠
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.eclipse.rdf4j" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.eclipse.rdf4j" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #104.


opt-cli should be a devDependency

Unless I'm mistaken... But I think we should move opt-cli to a devDependecy. No reason to install it on other people's machines I think.

Users are currently able to opt-out of ghooks' install routine (doesn't make much sense to me now, idk if it did ever ¯_(ツ)_/¯). This should than be removed.

bin/module-install is invoked as npm install script and atm depending on opt-cli.

Oh, that's right! Ok, sounds good. Thanks!


SAML: request header fields are too large against a commercial IdP

ISSUE TYPE

Bug Report

COMPONENT NAME

Core, API, UI

CLOUDSTACK VERSION

4.16.1

CONFIGURATION

OS / ENVIRONMENT

Ubuntu 21.10
KVM
SUMMARY

May be related to #6427
When I try to authenticate against a commercial SAML IdP, I'm getting the following error in my browser console:
Status Code: 431 Request Header Fields Too Large.
This error occurs when IdP redirects back to ACS with the following link (trimmed): http://localhost:8080/client/api?command=samlSso?SAMLResponse=PHNhbWxwOlJlc3BvbnNlIH......
NOTE:
I created a little SAML2.0 client in GO and was able to successfully authenticate with my provider and my credentials
SAML responses
Working demo  - here
Failing CloudStack - here
STEPS TO REPRODUCE

1. Enable SAML in global config
2. Change SAML IdP metadata to the proper IdP link. Validate the IdP metadata link before using
3. Leave ALL other SAML related parameters default
4. Reboot mgmt server
5. Open mgmt login page and select `Single Sign-On`
6. Pick your IdP
7. Authenticate with your IdP with login and pass
8. Right after authn I'm getting redirected to the ACS page, which fails with the error specified

EXPECTED RESULTS

SAML SSO allows to authenticate

ACTUAL RESULTS

SAML SSO returns an error code 431

Can you check what headers your browser's sending by looking at the request it's making? Is there a specific size that it begins to fail at?
I've had similar issues with SSO with another application which was caused by the following two things.

The application was setting many large cookies. Does your browser just have a lot of cookie data that it's sending for each request?
The reverse proxy the application was behind couldn't handle large headers. Are you running CloudStack behind something?

I couldn't reproduce this recently with keycloak, shibboleth or azure AD. Pl reopen if you are still hitting this, thanks @tampler


AttributeError: 'TextArea' object has no attribute 'get_children'

I'm running the latest HEAD of python-prompt-toolkit.
The stack trace is:
Traceback (most recent call last):
  File "xpub_lib_termz.py", line 126, in <module>
    run()
  File "xpub_lib_termz.py", line 112, in run
    focused_element=command_prompt
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 49, in __init__
    self.focus(focused_element)
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 126, in focus
    for c in walk(value, skip_hidden=True):
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 380, in walk
    for i in walk(c, skip_hidden=skip_hidden):
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 380, in walk
    for i in walk(c, skip_hidden=skip_hidden):
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 378, in walk
    for c in container.get_children():
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 2110, in get_children
    return self.get_container().get_children()
AttributeError: 'TextArea' object has no attribute 'get_children'

Looks like this is the culprit:
https://github.com/jonathanslenders/python-prompt-toolkit/blob/c37cc6e805ff3df9ea79ae0b1bbc95995ba0e5b8/prompt_toolkit/layout/containers.py#L2110

Removing the focused_element=command_prompt, I then see:
Traceback (most recent call last):
  File "xpub_lib_termz.py", line 126, in <module>
    run()
  File "xpub_lib_termz.py", line 115, in run
    full_screen=True
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 260, in __init__
    self.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 334, in reset
    self.layout.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/layout.py", line 349, in reset
    return self.container.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 430, in reset
    c.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 233, in reset
    c.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 233, in reset
    c.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 430, in reset
    c.reset()
  File "/home/decentral1se/.local/share/virtualenvs/xpub-lib-termz-Dd1FRwsF/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py", line 2092, in reset
    self.get_container().reset()
AttributeError: 'TextArea' object has no attribute 'reset'

There seems to be a missing API for the DynamicContainer and TextArea?

Hi @lwm,
What is the parent control of this TextArea?
I think the problem is that a TextArea is not a real container object itself. (It doesn't implement the Container ABC). But it has a __pt_container__ method that should return the actual container. The to_container helper is supposed to do that, and I think this is missing from the parent control.

Aha, I see. Is this another instance of https://github.com/jonathanslenders/python-prompt-toolkit/issues/667?
    command_prompt = Frame(
        title='COMMAND SHELL',
        body=FloatContainer(
            content=prompt_buffer,
            floats=[
                Float(
                    xcursor=True,
                    ycursor=True,
                    content=CompletionsMenu(max_height=5, scroll_offset=1)
                )
            ]
        ),
    )

Which is then passed to the application where it blows up on run():
    application = Application(
        layout=Layout(
            container,
            focused_element=command_prompt
        ),
        key_bindings=bindings,
        full_screen=True
    )

Hi @lwm,
I just pushed this commit: https://github.com/jonathanslenders/python-prompt-toolkit/commit/1d6c25655fbf107a00cf64adf5624050cf8c5f30
Can you try again?

Oh yes, thank you very much, that works perfectly!

Well, thank you for reporting the bug!


Embassy-usb: Using HID Report ID

Hey, I am running a modified version of the embassy-usb raspberry pi usb_hid_keyboard example on my esp32s3 based board. The example works fine but if I add a report id to the hid descriptor it stops working. You can see that in the input loop, where the report is written from, there is nothing specifying the report id. I have tried prepending the report id to the report but that also fails. Am I not using the HID Class correctly?

Managed to get the report id to work. Had to remove output reports that were in the same collection with the report id. Do not know why.

Sorry meant to close, not complete.


[WIP] Add rotation moves + make a new folder for path changes

This PR moves each path change into its own file for simplicity / searchability.  It will also add three new moves:

RotateCamera(duration, axis, angle) - rotate the camera around axis
OrbitCamera(duration, axis, angle) - similar to RotateCamera in implementation, but rotates the camera around its lookat while keeping that lookat constant.
CompoundMove: apply multiple moves simultaneously, so you can e.g. rotate the camera while translating.  Moves are applied in order.

I started using this package. Is really convenient, great. However, the functions defined in this PR are definitely something I'm kinda doing in a more cumbersome way 😄 .  How can I help to make this go into master ?

More use cases would be nice, I wrote these path changes for myself but not 100% sure how people are using them / if there is a more general strategy!


What factor determines speed?

Comparing my 'regular' PC (16cores) against my server (96 cores), there is almost 0 speed profit.
What is the decisive factor to run on-chain tests at faster speed?

Higher CPU frequency and faster node access give better performance.

And the etherscan integration for onchain? Is that needed? I assume it limits the execution speed as well

You can build with no_etherscan feature. ItyFuzz would then use the decompiler to replace Etherscan.
cargo build --release --features no_etherscan


Incorrect imports

Describe the bug 📝
You are using incorrect imports by importing types not from module but from source
import { generateUUID } from "three/src/math/MathUtils";
In this case three decided to provide the functions by MathUtils
Could you please update your code?
Example:
import { MathUtils } from 'three';
console.log(MathUtils.generateUUID());
Reproduction ▶
No response
Steps to reproduce 🔢
No response
System Info 💻
System:
    OS: macOS 14.4.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 49.34 MB / 128.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
  Browsers:
    Chrome: 119.0.6045.105
    Edge: 124.0.2478.51
    Safari: 17.4.1
  npmPackages:
    openbim-components: ^1.4.21 => 1.4.21

Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Community.
[X] The provided reproduction is a minimal reproducible example of the bug.

I cannot build a bundle using rollup and i guess it comes from this bug :
[!] Error: Could not load C:\Users\rvouillo\Documents\GitHub\uebim24-debug\node_modules\three\src\math\MathUtils (imported by node_modules/openbim-components/src/navigation/ViewpointsManager/index.js): ENOENT: no such file or directory, open 'C:\Users\rvouillo\Documents\GitHub\uebim24-debug\node_modules\three\src\math\MathUtils'
Error: Could not load C:\Users\rvouillo\Documents\GitHub\uebim24-debug\node_modules\three\src\math\MathUtils (imported by node_modules/openbim-components/src/navigation/ViewpointsManager/index.js): ENOENT: no such file or directory, open 'C:\Users\rvouillo\Documents\GitHub\uebim24-debug\node_modules\three\src\math\MathUtils'

Do you have a way to bypass this?

Solved! Let us know otherwise. Also, all our libraries are bundled now, so using them should be easier. Cheers!


HIVE-28161: Incorrect Copyright years in META-INF/NOTICE files

What changes were proposed in this pull request?
Set the necessary properties in the pom file to generate an appropriate Copyright timespan (used by maven-remote-resources-plugin).
Why are the changes needed?
The generated META-INF/NOTICE file which resides inside each jar produced by Hive has incorrect copyright years.
Inside all jars the NOTICE file has the following incorrect content:
Copyright 2020 The Apache Software Foundation

The Copyright statement should include the timespan from the inception of the project to now.
Copyright 2008-2024 The Apache Software Foundation

The problem can be easily seen by inspecting the jar content after building any module or checking the previously published jars in Maven central.
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
Inspecting various jars before/after the changes
mvn clean install -DskipTests -pl common/
jar xf common/target/hive-common-4.1.0-SNAPSHOT.jar META-INF
cat META-INF/NOTICE

Hi @zabetak, hive-standalone-metastore-server-4.1.0-SNAPSHOT.jar this jar still has the incorrect content, cloud you please check that? thank you!
Copyright 2020 The Apache Software Foundation

@dengzhhu653 You are right, we should also add it in storage-api module. I took care of it in https://github.com/apache/hive/pull/5169/commits/8b0469c4a8859f0fff224a5fd3444a011b152964
I keep forgetting that we have these two modules disconnected from the main pom.


Rename class name

From Sbpayment::API::Softbank::RefundRequest to Sbpayment::API::Softbank::CancelRefundRequest.
Same as https://github.com/quipper/sbpayment.rb/pull/23

:+1:


Create a simple Angular-based UI as front-end

Create a Storybook of Angular-based components
Create a simple Angular-based UI as front-end.

Landing Page
Signup Page
Login Page
My Profile Page
Edit Profile Page
Update Password Page
Update Email Page
Post List Page
View Post Page
-- Add Comment
-- Edit Comment
-- Delete Comment
Add Post Page
Edit Post Page

Closing issue. Will do on another repo/project.


Chart with Groupby==null fails to render after upgrading to 3.0.0

Hi, I have found a chart we have in production stops working after upgraded to 3.0.0. This is a Time-Series chart with groupby==null in the chart properties. The error seems related with this line
How to reproduce the bug

Create a chart or use any existing chart whose chart props has groupby set to null
Open the chart in 3.0.0
See error

Expected results
Chart renders as in 2.0.0
Actual results
Chart fails to render
Screenshots

chart props in 2.0.0

chart props in 3.0.0

Environment
(please complete the following information):

browser type and version: Chrome latest version
superset version: superset version 3.0.0
python version: python --version 3.9
node.js version: node -v 20.6.0
any feature flags active: We have Cross Filter disabled.

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

I made a quick fix in our staging env which seems helping the chart to render, but not sure if there is any side effect by setting some default values. Would love to hear more thoughts.

Thanks for the issue @zhaorui2022. This is the problem of not having versioned schemas for the JSON fields 😞 I'm working on a more generic solution to ensure that all required fields, defined by Typescript, exist during runtime. I want to avoid the situation where the type definition does not accurately describe the data and the developers need to check for null values when the type definition clearly states that it shouldn't be the case.

@zhaorui2022 would you still be interested in fixing/contributing to resolve this? I'm not sure if we need to make the broader fix @michael-s-molina is talking about, or if your fix (and perhaps a test for it) would suffice. Seems like it would move the ball forward and let us close this issue as fixed. It's at risk of being closed as stale otherwise.

Closing as stale (and since we don't support 3.0.0 any more)... but happy to reopen this if anyone is interested in contributing a fix.


Capitalization should match on all text

This is rather low priority but, I think, worth mentioning. Some fonts use only upper case characters, while other fonts allow for mixed case. An example of this is items names. If incorrect letter case is used, then it can only be noticed outside of the areas that only allow uppercase. Case errors should be immediately obvious when typing. The following image provides an example. In this example, the error would be obvious once the title is stored but not while actively typing.

I'm not sure what can be done for this outside of dropping Bebas Neue (I don't think that forcing all-caps where the names appear elsewhere would look good), but I'll see if I can find a happy alternative.

Perhaps there is an edit font for when the field has a focus and a display font for the rest of the time. Either a completely different font or using a form of small caps with the Roboto font to show lowercase.


rbd: check nbd tool features only for rbd driver

calling setRbdNbdToolFeatures inside an init gets called in main.go for both cephfs and rbd driver. instead of calling it in init function call this in rbd driver.go as this is specific to rbd.
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

This only needs to be done for the node-plugin, the controller/provisioner does not need to check for it

is controller/provisioner checking this one? i am calling this function https://github.com/ceph/ceph-csi/blob/3ae65c6b22aa1c9c2d0e72cc11682e68a8e615f3/internal/rbd/driver/driver.go#L136-L158 if its a nodesever only. am i missing anything?

@mergifyio refresh


correct misleading description of WITH_NO_RESOLVE_IMAGE

the previous desctiption is misleading, official doc reads: "Do not query the registry to resolve image digest and supported platforms"
Yes, you can "force image deployment" but then it does never pull images from the registry.
https://docs.docker.com/engine/reference/commandline/service_update/

Sorry for the late response. Honestly I've never used that feature. So in essence this works the same as the --force flag, but without checking the registry for a newer image at first?

No, the "force" relates to skipping the registry-check. It would simply deploy if the registry is e.g. not responding.


Refresh Calendar Not working

Hi,
I have a ticket form where i am using the depart and return dates, i have two datepickers, when first change it cause the min date change to 2nd. I am using in select function and in apply function but it is not changing the dates in 2nd.
When change event call then i set new date limits and call like this.
var $btn2 = jq("#txtReturnDate").pignoseCalendar({
modal: true,
minDate: finaldate,
maxDate: maxDate,
select: function (date) {
$btn2.text(date);
}
});

Sorry @feldmarv
I be late for checking the issue.
I think i could answer the issue at tonight 😄


Algo removal no longer working

With the updates to twitter with 'for you' and 'following', the extension provides rather inconsistent results. Sometimes both are displayed, sometimes one, and it does stay bound to one.

Is this still happening? Which version are you using, on which browser?

I've newly downloaded this extension today, and this seems to still be an issue. I'm using a slightly out of date version of Chrome, and the latest version of the extension.

Latest version of firefox, same issue. Extension doesn't work at all, despite working for a few minutes.

Can anyone it's not working for provide some screenshots of what you're seeing and which settings you've changed (if any)?
You can also gain access to Debug mode by expanding the Experiments setting and clicking the last paragraph 5 times, like so:

If someone could do that and show me what gets logged in the F12 developer console that would be useful. e..g this is what it looks like for me when the home timeline algorithm removal is working:

twitter
settings
more
more
and console log
twitter.com-1674191808172.log

This line makes me think the main script is somehow being added to the page twice, trying to figure out and reproduce how that could happen:

tweak-new-twitter.user.js:1 Uncaught SyntaxError: Identifier 'lang' has already been declared (at tweak-new-twitter.user.js:1:1)

Various adblockers but only one specifically meant to interact with twitter: https://chrome.google.com/webstore/detail/twitter-large-thumbnails/lhmanalklfkgpfkinflfepcepbgkpmai

I had to disable the Eight Dollars extension to get this one to work
https://github.com/wseagar/eight-dollars

Crap, I had that and had forgotten about it. Removing it cleared up all of my issues too.

You both get official Extension Detective 🕵 badges
There is something I can do to mitigate this for people who have Eight Dollars or similar extensions installed now that I know what's happening.


[Feature Request] Renderer center model initially and Far Clipping Plane settings

Great app which is super useful.
It would be good to have a mode in the Renderer where it computes the Bounding Box of the geometry and centers it by default or something similar that ensures one can see the model initially. I run into it sometimes where I could not see anything rendered but that was just because the geometry was behind the far clipping plane.
Also an option would be good to change the near and far clipping similar like the frustum FoV setting.

Hi Rene, thanks for the feedback.
This feature is pretty high in our backlog, so hopefully it will be done soon.
This problem usually arises when the scale of the model is too big or too small. So another solution will be to have a global scaling parameter (which can also be computed automatically given the bounding box). I would expect this would fix the problem more intuitively, without having to change proportionally near/far plane and camera speed each time you load a model with an unusual scaling.

Yep, sounds even better,


Update broken readme links

Summary of changes
Update broken main readme links contract readme links.
Links updated to  docs.anchorprotocol.com domain from gitbook domains
that require login.
Minor grammar and wording changes.
Changes to the following readmes:

bEth custody contract
bLuna custody contract
distribution model
interest model
liquidations
liquidation queue
market
oracle
overseer

Report of required housekeeping

[ ] Github issue OR spec proposal link
[ ] Wrote tests
[ ] Added a relevant changelog entry to CHANGELOG.md

(FOR ADMIN) Before merging

[ ] Added appropriate labels to PR
[ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)
[ ] Confirm added tests are consistent with the intended behavior of changes
[ ] Ensure all tests pass

@MSNTCS Please review and merge. Contact me if you have any questions.


[WIP] Add deprecate notes

Improve display of deprecated errors:

[x] Unique error messages
[x] report after tests report
[x]  report with Red BG

Method to deprecate:

[x] friends()
[x] getMutualFriends()
[x] getFriends()
[x] getFriendsOfFriends()
[x] ...

Fix all deprecated errors for the build:

[x] Remove use of deprecated methods in src
[x] Use the group annotation in test classes

Add more details about new methods in deprecated notes:

[ ] @deprecated comments
[ ] E_USER_DEPRECATED error messages
[ ] in a changelog file

New methods (lazy getters = return a collection of model, a model instance or a integer for count method):
FriendRequests

[ ] Add deprecated note migration getFriendship become getFriendRequest (only 1 way ?)
[ ] Add deprecated note migration getAllFriendships become getFriendRequests  (only 1 way ?)
[ ] Add deprecated note migration getPendingFriendships become getPendingFriendRequests  (only 1 way ?)
[ ] Add deprecated note migration getAcceptedFriendships become getAcceptedFriendRequests  (only 1 way ?)
[ ] Add deprecated note migration getDeniedFriendships become getDeniedFriendRequests  (only 1 way ?)
[ ] Add deprecated note migration getBlockedFriendships become getBlockedFriendRequests  (only 1 way ?)
[ ] Remove deprecated note getFriends

Model (ex: User)

[ ] Remove deprecated note getMutualFriends
[ ] Remove deprecated note getMutualFriendsCount
[ ] Remove deprecated note getFriendsOfFriends
[ ] Remove deprecated note getFriendsCount

@stephane-monnot I believe we should keep getSOMEfriendships and getSOMEfriends methods just to exist and reference them in a Lazy Getters section in the readme. What do you think?

Yes, but maybe rename getSOMEfriendships to getSOMEfriendRequests.

@hootlex Could you valid the roadmap ("new method" checklist above) for deprecated notes and answer the "only 1 way" questions please ?

By keeping the current getSOMEfriendships method names, we achieve a small backward compatibility. So, I think it's better to keep them.
About '1 way', I agree. They should work how they used to work to avoid confusion.

Yes, but I'm a little confused about friendships and friends.

Keep the getSOMEFriendRequests if you prefer them. The difference is small.

I have to implement new methods because we can't mark methods as deprecated without alternatives.
I will try to finish this week.

@hootlex Could you work on this PR and :

Implement new renamed methods
Add details on deprecated messages (You should use XXXX instead)

I can work a little on this PR this month, but I don't have time as before, because I'm teaching in a school.

@stephane-monnot I am very happy to hear that. 😄 I don't have a lot of time now too because I am working on my Vue.js book.
Though, I expect to start working on this upgrade next month. Also, I will create a Gitter channel to be able to discuss about the package.
Thanks for the work you've done so far.


Feature suggestion - support for conversion of formatted strings

It would be useful if jsonschema could provide support for retrieving a processed copy of the validated document, with automatic conversion of formatted strings into python data types.
This would have to be a configuration option on the validator/formatter, since not all format strings have an obvious native python data type (e.g. datetimes have an obvious native type, but "ipv4" may not).
So for example, with an appropriately configured validator, you could do something like:
doc = {"created_at": "2020-02-01 00:00:00"}
validator.validated(doc)
# --> {"created_at": datetime.datetime(2020, 2, 1, 0, 0)}

Hi -- this is a somewhat common request, and is what Seep was an experiment in exploring.
In short, it's not the kind of thing I'd want to put in this library itself, but I certainly want to enable a library on top of this one to do it, and Seep was an attempt/example on how to do so.
Would definitely encourage you to have a look there, patches are certainly welcome.


Added custom header to js-ipfs deprecation

This a followup for https://github.com/ipfs/ipfs-blog/pull/585

Merging since the previews look good.


Created notebooks folder & minor updates

Move notebooks and test data to a different directory. fixed #24
Major file reconstruction; files moved and renamed, 1 notebook deleted (metagenomics_pipeline_qPCRnorm)
Minor updates; created optional comments in code

Thanks so much @kfogelso looks like there's a few conflicts from some of the notebook modifications that @callaband and @ahdilmore have made. Would you be able to work with them to reconcile these and update this branch? I think the changes look good at a high level, however I haven't been able to pull these down and look at them because of the conflicts

need to close this pull request so that we can solve conflicts locally


go get github.com/sdboyer/gps fails because /vendor/ is not checked in

From @spenczar on March 10, 2017 14:49
gps happens to require the 2.x branch of github.com/Masterminds/semver, which is not the master branch, but gps does not explicitly vendor its dependencies. That means go get github.com/sdboyer/gps (and its friends, like go test) don't work out of the box.
This took me about 30 minutes to suss out, which is a pretty significant hurdle to jumping in to help on gps/dep.
I'd be happy with loud documentation in CONTRIBUTING.md that says something like "You'll need to run glide install to populate /vendor/ before you can get started." I'd be even happier if the vendor directory were checked in, which would match what github.com/golang/dep does.
Copied from original issue: sdboyer/gps#182

From @spenczar on March 10, 2017 17:2
Thanks for the warm welcome! 😄
I'll write a PR to add some text to CONTRIBUTING.md, that sounds like the right plan.

From @sdboyer on March 10, 2017 16:26
Glad you're here! 👏 😄
Yeah, this is definitely not the best. Let's keep it simple for now, with a note in CONTRIBUTING.md. gps is going to move directly into dep soon (golang/dep#300), at which point we're probably going to be developing over there, so the considerations related to vendor will be different.

(we don't need this one over in dep at all)


Using translation

Packages Babel and i18n

Hey @bemanuel , could you update config_template.py to support LANGUAGES as the build is failing?

Yes, I could.
Em sáb, 10 de fev de 2018 às 15:34, Thomas<EMAIL_ADDRESS>escreveu:

Hey @bemanuel https://github.com/bemanuel , could you update
config_template.py to support LANGUAGES as the build is failing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thomasDOTde/PowerDNS-Admin/pull/18#issuecomment-364678999,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsBh192OKRLiiwkkPdDwEi91THja4Vtks5tTeE-gaJpZM4RlgDi
.

I will update it today.
Em sex, 16 de fev de 2018 às 00:13, Bruno Silva<EMAIL_ADDRESS>escreveu:

Yes, I could.
Em sáb, 10 de fev de 2018 às 15:34, Thomas<EMAIL_ADDRESS>escreveu:

Hey @bemanuel https://github.com/bemanuel , could you update
config_template.py to support LANGUAGES as the build is failing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thomasDOTde/PowerDNS-Admin/pull/18#issuecomment-364678999,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsBh192OKRLiiwkkPdDwEi91THja4Vtks5tTeE-gaJpZM4RlgDi
.

I'm correcting some changes, because after merge your code some parts giving error.

Hey, still failing for python 2.6 can you have a look?

Yeah, where I can see the error?
Em qua, 28 de fev de 2018 às 15:40, Thomas<EMAIL_ADDRESS>escreveu:

Hey, still failing for python 2.6 can you have a look?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thomasDOTde/PowerDNS-Admin/pull/18#issuecomment-369339275,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsBh8DdEymgST5QsateTcR2CBWh2B9cks5tZZ2WgaJpZM4RlgDi
.

https://travis-ci.org/thomasDOTde/PowerDNS-Admin/builds/346988829


How to customize layout by new xml?

On the system TV app presents channel, I want to change logo, channel number, channel title position and background color.
Please some help me how could I achieved this.

You, as a channel provider, cannot change the layout in the TV app.

Thank @Fleker.


Review JavaScript documentation

Review the JavaScript example documentation.

README was changed and added to, and the html and JavaScript code was cleaned up.

I made a few minor changes but otherwise the edits look good.  Close the issue.


Release v0.8.34

@muga @sakama v0.8.34 will be released only with #791.

What do you think to add the releate note the following message?
This release contains some secuirty fixes in builtin rubygems. http://blog.rubygems.org/2017/08/27/2.6.13-released.html

@hiroyuki-sato Thought about that, but I think we don't need that in this Embulk's release note.

Just waiting for one more day to hear about 0.8.33. To release tomorrow...

@dmikurube OK, Thanks!

Merging...


Error 56 - make install

Hi!
After ran make install, the scripts starts to download the images, etc. But at the end show this error:
Makefile:18: fallo en las instrucciones para el objetivo 'install'
make: *** [install] Error 56

It only works on a RPi? I'm trying to run in into an Ubuntu Server 20.04.

Creating influxdb ... done
Creating telegraf ...
Creating telegraf ... done
Creating grafana ...
Creating grafana ... done
Makefile:18: fallo en las instrucciones para el objetivo 'install'
make: *** [install] Error 56

After that, I can reach http://ip:3000 and login with admin - admin and then change my password. But I can't see any dashboard inside Grafana.
I tried to import the network-dashboard.json file. Once imported the dashboard is empty.
And another final question: why you use make and not docker-compose.yml only?

Hi @esturniolo, thank you for the detailed report. I will take a look of this and let you know as soon as posible.
Regarding your lasted question, I'm using make to avoid building images for myself provisioning the dashboards and some standard configuration (like the Datasource).
If you check the Makefile it does a few curl request against the Grafana API to provision the dashboard and also it's the reason because the manually import is not working for you, since the JSON dump is prepared to work with the API and not to be imported in the UI. For manual import please refer to: https://grafana.com/grafana/dashboards/13140
Thank you!.

Ok with the existence of Makefile.

Which cURL and make version do you have installed on your system?.

$ curl --version
curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL

Could you execute it and paste the output here?.

Sure!
After delete the containers and volumes, the output for a new make install is:
$ make install
Make: Creating persistent Docker volumes
Make: Initializing datasources and dashboards
Make: Bootstrap done
influxdb-storage
grafana-storage
Creating influxdb ...
Creating influxdb ... done
Creating telegraf ...
Creating telegraf ... done
Creating grafana ...
Creating grafana ... done
curl -s --location -X POST 'http://admin:admin@localhost:3000/api/datasources' \
	--header 'Content-Type: application/json' \
	-d @./grafana/datasource.json > /dev/null
Makefile:18: fallo en las instrucciones para el objetivo 'install'
make: *** [install] Error 56

This bug must be fixed with version v1.3 released today.

Hi again.

Creating influxdb ... done
Creating telegraf ...
Creating telegraf ... done
Creating grafana ...

Am I missing something?
There is some different log or something to try to help you with this?

Same issue here with the same version of Ubuntu 20.04 . Make log shows error 56 and the network dashboard is generated in grafana but now populated with any data even after 30 minutes.


fix meka io bytes/strings and decode if needed, reformat

the tests pass on both p2 and p3, but travis fails to pull newest docker image that is needed.

meka relevant tests pass, merging.


Feat/add reverse proxy

see also https://github.com/get10101/cloud-conf/pull/177
ssl-offloading will come with a follow up PR.

bors r+


feat: make navbar fixed and add images for various sections

This PR includes several updates and feature additions to the website:
Navbar

Changed the navbar from sticky to fixed.

Image Additions
Added images to various sections of the website to enhance visualization, including:

Carousel Event: Displaying images related to different events.
Carousel Divisi: Adding images representing each division.
Gallery: Adding a new collection of photos.
Project Dlor: Adding images with different themes.

link video:
https://drive.google.com/file/d/1GaSLcZ9_v_rklN5ndcSGXadCmWwny87R/view?usp=sharing

Everything looks good overall! However, for the components/contentProject.tsx pagination, there’s no clear demonstration of how the content changes when moving from the first page to the next. Wouldn't it be better to add a sample for the second page with slightly different content? This way, it would clearly show the content difference and how the transition works. What do you think?

For the components/contentProject.tsx pagination, I did not provide visible content changes when switching pages because this process is better handled on the backend. In my opinion, it would be more efficient to test it directly alongside the backend implementation so that the data flow and content changes can be thoroughly tested without needing to add dummy content on the frontend.

Everything looks good overall! However, for the components/contentProject.tsx pagination, there’s no clear demonstration of how the content changes when moving from the first page to the next. Wouldn't it be better to add a sample for the second page with slightly different content? This way, it would clearly show the content difference and how the transition works. What do you think?

For the components/contentProject.tsx pagination, I did not provide visible content changes when switching pages because this process is better handled on the backend. In my opinion, it would be more efficient to test it directly alongside the backend implementation so that the data flow and content changes can be thoroughly tested without needing to add dummy content on the frontend.

What do you think, @DiyArc-350 , as the backend developer?


ValueError: Error when checking input: expected input_14 to have 2 dimensions, but got array with shape (3, 1, 3)

help me please i'm trying to write a simple model with tensor as input but i keep getting same error when it comes to the shape of tensor
ValueError: Error when checking input: expected input_14 to have 2 dimensions, but got array with shape (3, 1, 3)
inputs = Input(shape=(9,))
output_1 = Dense(3, activation='relu')(inputs)
output_2 = Dense(2, activation='relu')(output_1)
predictions = Dense(1, activation='softmax')(output_2)
model = Model(inputs=inputs, outputs=predictions)
model.compile(optimizer='rmsprop',
loss='categorical_crossentropy',
metrics=['accuracy'])
model.fit(X_train)

Please provide some information about the data you are trying to pass in. Also, use some
code blocks
for readability.


Use more than one Apds9930

I need to use 5 apds9930 sensors simultaneously since I am making a line follower robot.
And I can't change the factory I2C address to read the different sensors.
Can you tell me how you can change the factory I2C address of these sensors?

You can't 🤷♂ if you Google "multiple i2c same address" you can find some devices that can be put between the Arduino and the sensor to change the address.
Or you could use software i2c but i doubt it's gonna work with 5 of them.


Fixed NPE in logger statement

Desperately trying to fix this NPE:
https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/Ipqz0rIGy_A

Could you describe the circumstances that lead to this error? Why is the object null in the first place?

It occurs when logging into Service A via CAS and then trying to access Service B by clicking B's URL within Service A (no iframes or so). CAS then just shows a blank page, no login to Service B, no successful redirection to B from CAS.  Also occurs vice-versa, i.e. when loggin into Service B first and then navigating to Service A.
There is additional information in the Google group post linked above. Let me know, if you need more information than what is there.
With the fix suggested here, the login into the second application works.

I see. So, why the object is null is beyond my comprehension. I tried to investigate it, but without success, because I do not know enough about what happens beyond the class that the NPE occurs in. This is the reason I asked for help on the Goolge group. There is nothing in the logs that has an obvious relation to the NPE to my understanding.

OK, no worries. A few more questions:

Do you have a sample CAS overlay that might demonstrate this issue? Would this show up with a vanilla CAS overlay?
Do you have a sample application that would connect to CAS to duplicate this issue? Would this show up with any application?
Do you have MFA turned on?
Can you share the registration record for apps A and B? Is there anything special about them?
Have you examined the TRACE logs to see the execution trail? Could you attach those as well?

And finally :), does the error occur with 5.3.11 SNAPSHOT?

I checked the current 5.3.11-SNAPSHOT, with which the NPE seems not to occur any more. So, this PR is obsolete. Thanks anyway.


Permits use of pre release activesupport

@diogobenica hey, why do we need this?

@kgorin Sorry for not explaining in description! We are using Rails 5 beta, and so far raml_ruby is working normally with activesupport 5.0.0.beta(1 to 3). I ran the tests, and everything pass too.
This way, we can use activesupport ~> 4 (that will be downloaded from bundle), but will not give a dependency error for those using Rails 5.

@diogobenica done, thanks


Deleting models from the Web UI does not work if they have been renamed

Bug Report
When trying to delete a model using the admin panel, this only works if the model has not been renamed. Otherwise the user assigned name will be used in the delete request and an error will pop up that the model could not be deleted.
I added some icons to the models to distinguish between their use cases, so I renamed phi3 from phi3:14b to 💬 phi3 and get this error:

Installation Method
docker run \
                              -e OLLAMA_BASE_URL=http://ollama:11434 \
                              --name open-webui -p 8080:8080 --network local-llms \
                              ghcr.io/open-webui/open-webui:0.3.30

Environment

Open WebUI Version: v0.3.30

Ollama: v.0.3.6

Operating System: linux 6.10.11 | NixOS 24.11

Browser (if applicable): Mozilla Firefox 130.0.1

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.

All ollama versions since 0.3.6 have a bug which leads to segmentation faults

[ ] I have included the browser console logs.
[x] I have included the Docker container logs.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Docker container logs
INFO  [open_webui.apps.ollama.main] url: http://ollama:11434
ERROR [open_webui.apps.ollama.main] 400 Client Error: Bad Request for url: http://ollama:11434/api/delete
Traceback (most recent call last):
  File "/app/backend/open_webui/apps/ollama/main.py", line 478, in delete_model
    r.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://ollama:11434/api/delete
INFO:     <IP_ADDRESS>:40838 - "DELETE /ollama/api/delete/0 HTTP/1.1" 500 Internal Server Error
INFO  [open_webui.apps.ollama.main] get_all_models()
INFO:     <IP_ADDRESS>:40838 - "GET /api/models HTTP/1.1" 200 OK

Fixed on dev!