Don't use 'none' as sortDirection

Expected Behavior
Following typescript definition:
MUIDataTableColumnOptions {
  ...
  sortDirection?: 'asc' | 'desc';
}

Current Behavior
Currently sortDirection when is not defined sometimes is undefined and sometimes a string 'none'

Tech
Version

MUI-datatables
2.12

I think I need some clarification. sortDirection is an enum, and users need a way to specify that no sort direction is set, which is done with 'none'. The typescript definition is likely out of date if it does not accommodate that.

Wouldn't undefined be a natural value for no sort direction is set?

Enums in js should have all string options. We also do this with selectableRows where 'none' is an option there. Using undefined also leads to some confusion in situations where people want to dynamically change the sort direction, as setting values to undefined is atypical.

Thanks for feedback!


Added header comments explaining what some of our internal components/utils do

In an attempt to understand the internals of Masonry, I had to read and understand our ScrollFetch code. I figured I'd pay it forward to the next dev and add a summary of how some of the files work, especially considering these files don't appear in our docs.

Deploy preview for gestalt ready!
Built with commit a4d3d795a2f7fb96ea7256138c892cac8e5c6044
https://deploy-preview-124--gestalt.netlify.com


levelPicker feature

feat: added level picker
Summary
Closes #5
Completed levelPicker component. Takes in props for current level and number of levels to display a (currently static) level bar.
Test Plan
Checked responsiveness and rendering of props. No further tests as component is still static.

I apologize for having so many commits, I was confused by how the linting works.

I'll fix the lines thing ASAP. I'll also try to resolve the other changes before tomorrow.

Another thing: can you change your title to feat: added level picker? I know you put it here:

because it's in the template, but I think we meant for it to be put in the title :0

adding in @archishadatta to take a quick look at the css!!

The padding = 20px in the LessonSideContainer CSS was outside the scope of this ticket and hence left in px.


Pycharm 241 Support + Repl fix

The only version compatible with Pycharm 2024 is 1.40 which has broken REPL.
Turns out, version 1.43 of the plugin compiles just fine for build 241 and higher.
So anyone facing the same issue as I did, you can just clone the files, change the build number and you are good to go (I have no issue if that breaks anything else but upload and REPL is working fine so far for me).
Or, if you trust random dudes from the internet (which I wouldn't), here is a precompiled version of intellij-micropython v 1.43 for Pycharm 2024:
intellij-micropython-SNAPSHOT.zip
Follow this link for install instructions of local plugins: https://www.jetbrains.com/help/pycharm/managing-plugins.html

Hi Benno.
I've installed your compiled version but the REPL is still broken (Shows "=== SESSION HAS BEEN INTERRUPTED ==="). I'm on Pycharm 2024.1.2.
I know this is not a lot of information, but do you think you could help me to get it going?
Thanks!

I get the same thing sometimes but hitting 'restart' a few times always fixes it. See if it does the same for you. Otherwise I would highly recommend compiling it yourself.

Thank you for the comment.
I found the problem, which was a space after the device's address on the settings pane.
The plugin is working now!

Glad to hear that!

Seconded, I've also done this before reading this post, and it's worked for me too. If you get the keyboard interrupt, you can just run the code you want directly from the repl, not ideal, but does work.

Should be fixed now with PyCharm 2024.1.4 + plugin 1.4.4.

Great! Thank you @lancelote!


Increased default reconciliation timeout to 3 minutes.

How to categorize this PR?

/area robustness
/kind enhancement
What this PR does / why we need it:
Increased default reconciliation timeout to 3 minutes.
The default reconciliation timeout is used as a safety net to prevent reconciliation operations to hang forever. Therefore, it should be long enough that all usual operations succeed, but short enough so that the waiting time is not endless in case of issues/hanging operations.
With larger amount of resources being applied for example as managed resources the default reconciliation timeout needs to be increased. An example for such a resource is the istio ingress gateway in case the seed uses multiple availability zones as the managed resource will then include all entities for all availability zones. Another contributing factor may be if the control plane of a seed is latency-wise fairly distant to its data plane causing operations such as applying resources to be rather slow.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Release note:

Increased the reconciliation limit per managed resource to 3 minutes

/lgtm

I think the concrete timeout for ManagedResource reconciliation is overwritten, e.g. in https://github.com/gardener/gardener/blob/150da5fdc804520f6b567948c6640570da911928/pkg/resourcemanager/controller/managedresource/reconciler.go#L161-L162

I think the concrete timeout for ManagedResource reconciliation is overwritten, e.g. in
https://github.com/gardener/gardener/blob/150da5fdc804520f6b567948c6640570da911928/pkg/resourcemanager/controller/managedresource/reconciler.go#L161-L162

You are absolutely right that it is possible to reduce the timeout to a lower value, but it is not possible to overwrite it to a higher value as it is being limited by the default timeout:
https://github.com/gardener/gardener/blob/150da5fdc804520f6b567948c6640570da911928/pkg/controllerutils/miscellaneous.go#L134-L141
This is the reason why it may be required to change the timeout at all.

OK, and this works because we configure the ManagedResource controller's sync period with 1h for runtime clusters. Got it, thank you.
/lgtm
/approve

Can you adjust the release notes? I think it's not only the reconciliation timeout for ManagedResources that is affected by this change.

Can you adjust the release notes? I think it's not only the reconciliation timeout for managedresources that is affected by this change.

Indeed, this timeout is used all over the place. I adapted the release note accordingly.
@timuthy Does it work for you?

/test pull-gardener-e2e-kind-ha-multi-zone

/cherry-pick release-v1.73

/cherry-pick release-v1.72

/cherry-pick release-v1.71


Fix f-string as docstring

From Python docs:

Formatted string literals cannot be used as docstrings, even if they
do not include expressions.

So, using .__doc__ = f"""... assignment instead.

I'm not completely sure if moving the docstring so far from the method definition is actually a good idea. I understand the effort to prevent the duplication, but I would not say it's worth it here. When reading the code I would welcome to have the docstring at the known place.

In that case, I would remove the actual default options from the docstring, and replace them with reference only. Something like the following:
        By default the whole plan workdir is synced from the same
        location on the guest. Use the 'source' and 'destination' to
        sync custom location, the 'options' parameter to modify
        default options :py:data:`DEFAULT_RSYNC_PULL_OPTIONS`
        and 'extend_options' to extend them (e.g. by exclude).

Sphinx (and IDEs like mine) are able to render this, it's obvious where the default values live, they may change over time, I for one see no point in actually listing them in a docstring.

Fixed.


Brush Chart target multiple charts.

Is your feature request related to a problem? Please describe.
I have multiple charts in my app and want to control them al via 1 brush chart. Is this possible?
Describe the solution you'd like
Write multiple chart names in brush.target.
Maybe something like:
brush: {
target: ["chart1", "chart2"]
}

Hi Felix,
I think this might be undocumented, but apparently apexcharts lets you define this:
brush: {                    enabled: true,                       targets: ['candles', 'candles_2nd']                   },
I found in the lib-code that it actually handles it like this:
var targets = w.config.chart.brush.targets || [w.config.chart.brush.target]; // retro compatibility with single target option
Hope it helps.
Regards,
Jim

Important!
If the array of targets contains an id for a chart in which there is no data, it crashes the browser page, getting into an infinite loop.
Filter identifiers by the presence of data in the chart.

Is your feature request related to a problem? Please describe. I have multiple charts in my app and want to control them al via 1 brush chart. Is this possible?
Describe the solution you'd like Write multiple chart names in brush.target. Maybe something like: brush: { target: ["chart1", "chart2"] }

could you make multiple target? i try add array in target and get issue: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'w')

Can we please get this.

use "targets" instead of "target"
brush: {
targets: ["chart1", "chart2"]
enabled:true
}

How are you able to set "targets" if there is no such option (https://github.com/apexcharts/apexcharts.js/blob/main/src/modules/settings/Options.js) line 344 ?


Update IPYNB notebooks

There is one error to be solved and some points to be updated:

Error: Notebook validation failed
Each time I open a IPYNB file, I have the following error:

n invalid notebook may not function properly. The validation error was:
Notebook validation failed: Additional properties are not allowed ('source' was unexpected):
{
"data": {
"image/png": >"iVBORw0KGgoAAAANSUhEUgAAAkwAAAHHCAYAAABN+wdFAAAABHNCSVQICAgIfAhkiAAAAAlw>SFlzAAAPYQAAD2EBqD+naQAAIABJREFUeJzs3XdUFOf+BvBnF1iWjkgvgmLBgoAFRMWSYDA .....

To be updated
In one of the files, solution of the model is called "dr" --> It should be "sol" instead, and call "sol.dr" for the decision rule.
Example:

@time dr_gdp = Dolo.time_iteration(model, verbose=false, maxit=10000);
df_gdp = Dolo.tabulate(model, dr_gdp, :k; n_steps=50)

instead of

@time sol_gdp = Dolo.time_iteration(model, verbose=false, maxit=10000);
df_gdp = Dolo.tabulate(model, sol_gdp.dr, :k; n_steps=50)

Pablo's comment: Maybe we could create a new method for tabulate function to accept "sol" and extract "sol.dr" in the function.
Example:

@time sol_gdp = Dolo.time_iteration(model, verbose=false, maxit=10000);

Then calling

df_gdp = Dolo.tabulate(model, sol_gdp, :k; n_steps=50)

will yield to same output as

df_gdp = Dolo.tabulate(model, sol_gdp.dr, :k; n_steps=50)

To be updated
In some julia files such as "RBCS/test_algos.jl", methods are not up to date. Calling "details = yes" for example, returning an error.

Thank you @ezgioz for filing this issue.
Regarding the effects of removing details=true (it has been removed as an option), I think the notebooks should use the solution object as it has some pedagogic value, like showing the algo has actually converged.
This doesn't prevent to have compatibility methods to accept a solution object as initial guess. This should probably be an issue on the Dolo.jl repo though.
IMHO, test_algos.jl has nothing to do there. It could just be removed.


Maintaining object origin location through TriangleMesh to VoxelGrid conversion

Hello, I am using Kaolin to remove geometry inside of a triangle mesh through converting it to a voxelgrid. Currently during this conversion the geometry is shifted to a single quadrant with its local origin matching the global origin, which would normally not be an issue but as I do not know the location of the trianglemesh local origin I cannot compare the resulting voxel to it. Is there a way to get that origin transformation from the conversion or is that something that is going to be implemented in the future?
Thank you!

Hi @NSkoronski , thank you for your interest in Kaolin,
currently the default behavior of trianglemeshes_to_voxelgrids if you don't provide a scale and origin will try to fit the whole mesh into [0, 1]

[...] I do not know the location of the trianglemesh local origin

I'm not sure to understand why can you find the origin or your triangle? (It is basically the min of all dimensions over your vertices coordinates)

Here is how I would suggest to use the mesh => voxelgrid => mesh for keeping the scale:
resolution = 128
voxelgrids = kal.ops.conversions.trianglemeshes_to_voxelgrids(vertices.unsqueeze(0), faces, resolution)
origin = torch.min(vertices, dim=0)[0]
scale = torch.max(torch.max(vertices, dim=0)[0] - origin, dim=-1)[0]
new_mesh = kal.ops.conversions.voxelgrids_to_trianglemeshes(voxelgrids)
new_vertices = new_mesh[0][0]
new_faces = new_mesh[1][0]
scaled_vertices = ((new_vertices - 0.5) * (scale / resolution)) + origin

Here is a visualization, from far to near: the original mesh, the processed and rescaled mesh, the combined mesh (it looks almost 100% like the rescaled mesh)

And here is what happens on the combined mesh once I multiply the scale by 0.8 (so the mesh is a little bit smaller, and closer from the origin, hence the fact that it's coming out on one "corner")

Hope that answer your issue, closing now feel free to reopen if not :)


add $$target link to k2/schemas/config/v1/weaveFabricNetwork.json

in the interest of getting a critical feature merged, we allowed a doc fix to slip. this needs to be addressed.
the jsonSchema file k2/schemas/config/v1/weaveFabricNetwork.json does not have the required $$target link.  Please see this comment for the exact change to make

I believe I have since resolved this. closing the ticket.

ahh, yeah.  if you had said 'fixes #555' in the linked PR when the PR was merged this issue would have been auto-closed.

oh i didnt know! awesome :)
On Thu, Jul 13, 2017 at 11:46 AM, choused<EMAIL_ADDRESS>wrote:

ahh, yeah. if you had said 'fixes #555
https://github.com/samsung-cnct/k2/issues/555' in the linked PR when
the PR was merged this issue would have been auto-closed.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/samsung-cnct/k2/issues/555#issuecomment-315167683,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0KknsGqF10jSsRD7e0UNYHyoLyNeR7ks5sNmX9gaJpZM4OAae1
.


Training strategy

Hi, I'm now facing a problem when training on your code.
I have trained about 37 epochs on PASCAL VOC 2007 trainval dataset directly, and it turns out no bounding box appeared on test image.
I wonder what is your training procedure, for example,  changing learning rate value or training RPN and Regression layers alternatively.
Thanks a lot!!!

Can I ask you informations about your training strategy and mAp obtained after the training?
Thank you very much!


[Question] How can I get an input value?

Hello,
I've been trying this for a while but I couldn't extract the value of this.
<input type="text" class="textCtrl" readonly="readonly" value="S3CRD" style="width: 100px; font-size: 16px;     font-weight: 600;" id="confirmationCode">
This is the line of html code, I'd like to get this characters: S3CRD from value="S3CRD"
What I have tried:
if (page1.locator("xpath=/html/body/div[2]/div/div/div/div/div/div[2]/div[3]/div[3]/div[6]/div[3]/div[2]/a").isVisible()) {
String value = page1.locator("xpath=/html/body/div[2]/div/div/div/div/div/div[2]/div[3]/div[3]/div[6]/div[3]/div[2]/a").inputValue();
}

I'm sure this has an easy solution, but didn't find one on the internet :(
Thanks in advance.

Your selector is likely wrong, the following tests passes just fine:
  @Test
  void test() {
    page.setContent("<input type=\"text\" class=\"textCtrl\" readonly=\"readonly\" value=\"S3CRD\" style=\"width: 100px; font-size: 16px; font-weight: 600;\" id=\"confirmationCode\">");
    assertEquals("S3CRD", page.locator("input").inputValue());
  }

The xpath selector you use looks very brittle as it depends on the order of some divs in the dom which can change over time as the web app evolves. Look at our guide to see how to pick a better selector, something like page.locator("input#confirmationCode").inputValue() should work.


Error: 403 response downloading https://nodejs.org/download/release/v10.15.1/node-v10.15.1-headers.tar.gz

I have turned off my firewall and everything the above url works in the browser but not while node-gyp rebuild
C:\Users\tech team\yoheim\node_modules\node-pty>if not defined npm_config_node_gyp (node "C:\Users\tech team\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\tech team\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 403 response downloading https://nodejs.org/download/release/v10.15.1/node-v10.15.1-headers.tar.gz
gyp ERR! stack     at Request.  System Windows_NT 10.0.18363
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\tech team\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\tech team\yoheim\node_modules\node-pty
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v7.0.0
OS: Windows 10

Corporate firewall? Do you have http_proxy https_proxy, HTTP_PROXY, HTTPS_PROXY or any other such env var set on your machine? does npm config list show anything that suggests a proxy might be getting in the way?

No its not, npm install just runs fine.
Here is the output for npm config list
C:\Users\tech team\yoheim>npm config list
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.11.3 node/v10.15.1 win32 x64"
; userconfig C:\Users\tech team.npmrc
node_gyp = "C:\Users\tech team\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js"
; globalconfig C:\Users\tech team\AppData\Roaming\npm\etc\npmrc
msvs_version = "2015"
python = "C:\Users\tech team\.windows-build-tools\python27\python.exe"
; builtin config undefined
prefix = "C:\Users\tech team\AppData\Roaming\npm"
; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\tech team\yoheim
; HOME = C:\Users\tech team
; "npm config ls -l" to show all defaults.
I tried in ubuntu system in a virtual machine, it has the same problem

Unfortunately I don't have good suggestions for where else to look at this. I'm still suspecting there's proxy issues going on here. Are you in a corporate network that's likely to require a proxy and maybe your browser is auto-configured to use a proxy?
Maybe your DHCP is pushing a proxy to your machine that's being used by many of the HTTP services but hasn't been communicated to node-gyp - normally you'd do this with an environment variable. I'm not sure why an npm install would be working but node-gyp wouldn't be able to download, but it uses a different HTTP client to talk on the network and maybe npm has some smarts that we don't have built in here.
fwiw the majority of the proxy configuration is done in https://github.com/nodejs/node-gyp/blob/master/lib/proxy.js if that helps.

Another option to consider: you're hitting cloudflare with that request, npm uses fastly (at least they used to last time I checked), maybe CF is flagging your request as at risk due to its risk measurement heuristics. It would be interesting to see the contents of that 403 body, maybe you could hack your local node-gyp to output more information. In C:\Users\tech team\AppData\Roaming\npm\node_modules\node-gyp\lib\install.js you could edit just above line 187 and do a res.pipe(process.stdout) (you might need to ditch the cb() so it doesn't end prematurely, but the process will probably hang and you'll need to ctrl-c it).
Ref: https://github.com/nodejs/node-gyp/blob/master/lib/install.js#L187

This issue has been stale for too long and it uses a no longer supported version of tools. I'll close it for those reasons. If you encounter something similar, feel free to reopen it or open a new issue.


Multiple Remote Paths in Same Project

Hi,
My dev env involves multiple servers. So, I want to be able to create multiple mappings to different folders on the server. Is this possible? Currently, when i click map to remote, the generated file has only one mapping in it -
{
"type": "sftp",
"host": "example.com",
"user": "username",
"password": "password",
"port": "22",
"remote_path": "/example/path",
"ssh_key_file": "~/.ssh/id_rsa"
}

+1 for more server mappings

@udayms ,
There is a workaround around, which is not the best but it work. So you can have multiple project folders within Atom and keep the same deployment-config.json but different remotePath. You are organize you Atom editor with multiple project folders and deploy things individual.
Here is an example:

We test it out on @imuzz environment it works, but not on the root level. It work as individual projects.

I have 3 different files but it only uploads to the remote path named in the first.


Fix float parsing

Fixes #186

@yegor256 could you help me, please?
For some reasons, the tests fail with very ambiguous messages:
[ERROR] Failures:
[ERROR]   PacksTest.testPacks:45
Expected: an empty collection
     but: <[//o[@base='float' and @name='largestNegativeFloat' and @data and @text()='-1.7976931348623157E+308'], //o[@base='float' and @name='largestPositiveFloat' and @data and @text()='1.7976931348623157E+308'], //o[@base='float' and @name='smallestNegativeNormalizedFloat' and @data and @text()='-2.2250738585072014E-308'], //o[@base='float' and @name='smallestPositiveNormalizedFloat' and @data and @text()='2.2250738585072014E-308'], //o[@base='float' and @name='smallestNegativeDenormalizedFloat' and @data and @text()='-4.9E-324'], //o[@base='float' and @name='smallestPositiveDenormalizedFloat' and @data and @text()='4.9E-324']]>
[INFO]
[ERROR] Tests run: 24, Failures: 1, Errors: 0, Skipped: 0

What am I doing wrong?

@nlchar you should fix this line, to make it understand floats/doubles: https://github.com/cqfn/eo/blob/master/eo-parser/src/main/antlr4/org/eolang/parser/Program.g4#L240

@nlchar you should fix this line, to make it understand floats/doubles: https://github.com/cqfn/eo/blob/master/eo-parser/src/main/antlr4/org/eolang/parser/Program.g4#L240

The actual question was about how to write the XPath test properly. I investigated deeper and learned that  text()="something" should be used instead of @text()="something".
Now tests run properly after the bug fix and fail if I undo the bug fix back to float parsing.

This bug fix covers the issue of parsing EO float as Java float. Actually, EO float should be interpreted as Java double.
If we want to add the scientific float notation like 1.234453E100, just let me know and we'll try to cover it in a new issue.

@yegor256 ready for review

@nlchar I think you forgot to revert back your changes to app.eo?

@nlchar I think you forgot to revert back your changes to app.eo?

@yegor256 thanks, fixed that. Ready for review again.

Job gh:cqfn/eo#202 is not assigned, can't get performer


load the checkpoint.pth

Hello, please tell me how to load the checkpoint.pth weights that have been trained when testing? Moreover, assuming that the training is to input 10 frames and output 20 frames, how to input 10 frames and output 30 frames during testing? The 10 frames of the test input are the same as the training input, and the first 20 frames of the test output are also the same as the training output. I want to get the last 10 frames of the 30 frames of the test output.
Looking forward to reply, thank you.

You can consider taking the last 10 frames of the output 20 frames as input to predict the next 30 frames and the last 40 frames. In fact, during training, predictions beyond the actual dimensions are made by changing the output into input.

@mhy9989, Thank you for your kind answer.
I will close this issue if there are no more questions. Please feel free to open a new issue when you have new questions.


cmd/cgo: unexpected allocations when passing void pointers

What version of Go are you using (go version)? go1.6

What operating system and processor architecture are you using (go env)? linux/amd64

What did you do?

I was helping to debug several unaccounted for allocations and we came across what we thought was very peculiar behavior. Consider the following two implementations of the same package
http://play.golang.org/p/hC-b5VSG58
http://play.golang.org/p/soCMGF1WjG
And the following benchmark
http://play.golang.org/p/e37ObBxwJP

What did you expect to see?

Neither implementation appears to allocate anything in the Foo function. So I expect go test -bench to report zero allocations for both implementations of the package.

What did you see instead?

For the first example (hC-b5VSG58) the command go test -bench=. -benchmem reports two allocations (48 bytes total) when the C function is passed a non-nil argument.
$ go test -bench=. -benchmem
testing: warning: no tests to run
PASS
BenchmarkFoo-4           5000000               317 ns/op              48 B/op          2 allocs/op
BenchmarkFoo_nil-4      10000000               164 ns/op               0 B/op          0 allocs/op
ok      github.com/bmatsuo/lmdb-go/tmp/cgo-allocs       3.718s

The second example avoids any allocation.
$ go test -bench=. -benchmem
testing: warning: no tests to run
PASS
BenchmarkFoo-4          10000000               151 ns/op               0 B/op          0 allocs/op
BenchmarkFoo_nil-4      10000000               151 ns/op               0 B/op          0 allocs/op
ok      github.com/bmatsuo/lmdb-go/tmp/cgo-allocs       3.345s

The first example does see a performance impact, I assume because of the allocations.

The difference is that in the void* case, cgo doesn't figre out that the value does not point to a value that contains a Go pointer, and therefore inserts a check call.  In the char* case, cgo can see that the type C.char can not contain a pointer, and therefore there is no need to use a check call.  The check call causes the pointer to appear to escape, forcing buf to be allocated on the heap.

That mostly makes sense. But you are saying it is allocating space on the heap for the 24-byte slice header (pointer + 2 ints)? It seems strange that a slice header can "escape".

The slice header is being passed to a function via ....  I think the compiler doesn't see that the ... slice does not escape.


Suppress empty lines if option description is empty

If the width of the option column is exceeded (20 characters by default), then picocli will insert a newline in order to display the option description in the description column. However, this results in an empty line being inserted for options that do not provide a description, for example:
...
      --url=<url>
      --proxy-url=<proxyUrl>

      --proxy-user=<proxyUser>

      --proxy-password
  -k, --insecure          Disable SSL checks
  -u, --user=<user>
  -p, --password[=<password>]

  -t, --token[=<token>]

What would be the easiest way to suppress these empty lines?

Hi @rsenden, is there any work or open questions remaining on this ticket?


Readme updates

[x] remove hydra badge (8cfe1c24784f99c9fbf3f9f1a190b288a6865087)
[x] remove SMASH from compatibility column (8e5ca92f91e9d4c72555d53d6993e74aba9fad7f)
[x] Update badges due to https://github.com/badges/shields/issues/8671 (510e9a73df391cb00afa0f1917600b1b66bc5bea)

Comments
Smash is archived with the note:

:warning: This project is deprecated, and only supports up to cardano-node 1.30.1, for newer versions of cardano-node use the SMASH server in https://github.com/input-output-hk/cardano-db-sync. Do not use anymore, it is here for historical purpose.

Issue Number

I've also updated badges due to issue:  https://github.com/badges/shields/issues/8671 (510e9a73df391cb00afa0f1917600b1b66bc5bea)

bors r+

bors r+


Allowing the RM to resize embedding to better utilize tensorcore

Given the minor changes, I am merging it as is.


Causing site to hang....

I'm connecting to a remote SSRS Server and running a report and returning it.  When my view is calling @Html.MvcReportViewer my site becomes unresponsive for a bit (no requests will work).  I ran a Performance Profiler on it to check for Concurrency and it reported a blocking issue on System.Web.UI.Page.Process called by ASP.mvcreportviewer_mvcreportviewer_aspx.ProcessRequest.
I'm at a loss for what it could causing these issues.  I've tried Release version as well as Debug without any affect.  Has anyone else had this issue?
It's only affecting a single browser instance.  For example, while I'm loading an SSRS report in IE, if I add a new tab and try to access another page on the site it hangs.  If I open up Chrome, the site loads fine.  In IE, it even works if I go to File -> New Session.
Is it some sort of Session lock I'm missing?

What OS and IE version are you seeing this in?

Happening in Windows 10 in Chrome 54 and IE 11.

It could be this:

ASP.NET does not allow the same session to execute two parallel pages simultaneously, unless they execute with a readonly-session. The later is done either in the page directive, or in web.config, by setting EnableSessionState="ReadOnly".

Argh, I was adding the EnableSessionState="ReadOnly" to the MvcReportViewer.aspx in the related project, not my current project.  As soon as I added it to the one in my project it started working as expected (multiple session requests can be made).
Sorry for the issue.


build families on scicore data to validate assumption

std mean and median should be enough. to much work.


bower.herokuapps.com - static ip needed behind corporate firewall

I'm using Jenkins to build my app behind a corporate firewall.  The server Jenkins is running on is extremely locked down by firewall restrictions.  Fortunately I'm able to give my network admins static ips and ports for urls on an as needed basis.  I've done this for github.com, but it looks like bower calls bower.herokuapps.com for the github url to fetch from.
Is bower.herokuapps.com guaranteed to have a static ip?

Any progress on this?

I'm afraid that with our traffic and sponsored budget of $250/month for heroku services, we can't afford static IP for heroku hosting. We already use $240/month for three 2x dynos, and "Standard 0" postgresql database.

There are about 36 000 requests per hour.

For the sort of money would something like digital ocean/aws not be more cost effective? Just curious.

Incidentally, we've found npm to be a suitable alternative to bower for the following reasons:

npm has a static ip.
Client side packages are moving to npm in droves.
npm + browserify works out very nicely.

@jsdevel Where did you find (or what is) the static ip for npm?  (I am having the same problem.)

@sheerun any way we can reach out to heroku and see if they would be willing to sponsor us for a static IP?

@Vaccano Using ping npmjs.org -> PING npmjs.org (<IP_ADDRESS>) 56(84) bytes of data.

@jsdevel Thank you!

First we'd need to estimate traffic, but most likely it would be more than 5M requests per month and we'd need to get Enterprise Proximo which costs 1250$/mo. Currently we have budget of $250/mo.
Sincerely, I really doubt heroku agrees to that.

Heh, fair fair, just asking :wink: I guess that means that we can just close this right?

Otherwise we'd need to migrate entirely out of Heroku, and find new sponsor.
Another possibility is to ask someone to host 3rd party static IP proxy. Like https://www.quotaguard.com


Path Issue

Hey yall, so anyways i did the git clone to the ngage-toolchain and it went well but when i cd to the root directory then changed directories in the projects folder and it went great. but then I had a issue, when i type in cmake . it gives me a error, the error says "CMake Error at CMakeLists.txt:6 (message):
The environment variable NGAGESDK needs to be defined."
IDK what to do about this error, how do I set the path to the ngage-toolchan for the sdk!

It is explained in the README.md.
You have to set/create the Windows environment variate NGAGESDK as specified.


Add table of contents to "guides" docs page

Fixes

Fixes #693 by @sarayourfriend
Description

Makes the table of contents visible on https://wordpress.github.io/openverse-api/guides/index.html
Testing Instructions

View the docs preview comment on this PR and check for the ToC on the guides page.
Edit: Hmm, something about this PR doesn't actually trigger the docs build. Perhaps it's only triggered if the API is built. I'll investigate.
Checklist

[x] My pull request has a descriptive title (not a vague title like
Update index.md).
[x] My pull request targets the default branch of the repository (main) or
a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible
errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

We might need to hold off on this until #443 is merged (that may also be why the docs aren't building!).

@AetherUnbound ah yep, I forgot that wasn't already merged!

The monorepo_docs PR already adds the ToC to the guides page. You're not seeing it yet because those changes are on a _preview/ path and not merged yet. This PR might not be needed.


index out of range

I have installed go with homebrew and tried to use autoEqMac on current macOS BigSur. I can run it and select a headphone but when I confirm it I get the following error:
`You selected: Beyerdynamic Custom One Pro (step 3)
panic: runtime error: index out of range [5] with length 3
goroutine 1 [running]:
github.com/indiependente/autoEqMac/autoeq.ToFixedBandEQs(0xc0002aea00, 0x1dc, 0x200, 0xc0004b2c30, 0x24, 0xc000287dc0, 0x1f, 0xc000129300)
/home/runner/work/autoEqMac/autoEqMac/autoeq/fixed_band.go:29 +0x4fc
github.com/indiependente/autoEqMac/server.HTTPServer.GetFixedBandEQPreset(0x1476cc0, 0x169a8c0, 0x1477580, 0xc00000c4e0, 0x147a980, 0xc000010f30, 0x14775a0, 0xc000010f40, 0xc00005f470, 0xc00005f4a0, ...)
/home/runner/work/autoEqMac/autoEqMac/server/server.go:97 +0x412
main.run(0x0, 0x0)
/home/runner/work/autoEqMac/autoEqMac/main.go:71 +0xa32
main.main()
/home/runner/work/autoEqMac/autoEqMac/main.go:32 +0x25`
I have tried it with the 0.1.0 release and the (not yet finalized) deps-upgrade branch.

Tried it with the deps-upgrade branch and works there.


my contract dont display Buy price

I deployed my own contract
Could anyone please explain why when i sale items, they dont display "Cancel Selling" button and "Buy" button??

These two buttons are in the same condition depending on whether the user is the owner or not.
Here's the problem:

We will try to fix it in the near future. Thx!

Thank you for your time
This is a cool script

Fixed!
https://github.com/crosspunks/crosspunks-app/commit/1ca00abe6a6e03ac43461b705329a6aff89a50f3


[Enhancement]: When calling auditlog.LogDentryOp and auditlog.LogInodeOp, we should pass in microseconds as the latency parameter

Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched all the existing issues

What would you like to be added?
Now these functions are called like this:
auditlog.LogInodeOp(..., time.Since(start).Milliseconds(), ...)

But the latency recorded in the auditlog file is in microseconds. It should be changed to:
auditlog.LogInodeOp(..., time.Since(start).Microseconds(), ...)

Why is this needed?
The type of the latency parameter in auditlog.LogInodeOp is int64. If time.Since(start).Milliseconds() is passed to it, it will be rounded up. In most cases, the latency is less than 1 ms, so the input will be 0.xxx and it will be rounded to 0 or 1. In this situation, the latency recorded in auditlog will be 0 or 1 and it's inaccurate.
Anything else?
No response

@yuangcao Please close the issue if you have fix it .


tf.scatter_nd document refers to deprecated apis

URL(s) with the issue:
https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/scatter_nd
Description of issue (what needs changing):
Clear description
Here is a paragraph describing the relationship between tf.scatter_nd and tf.tensor_scatter_add:

This operation is similar to tf.tensor_scatter_add, except that the tensor is zero-initialized. Calling tf.scatter_nd(indices, values, shape) is identical to calling tf.tensor_scatter_add(tf.zeros(shape, values.dtype), indices, values).

However,  tf.tensor_scatter_add does not exist in TensorFlow 2.7, tf.tensor_scatter_add should be replaced with tf.tensor_scatter_nd_add.

I can fix this

@ArrowIntoTheSky , @Cheril311 ,
Please feel free to submit a PR for the requested change or share the link where requested change is to be made.

@tilakrayal cannot find the source file for the mentioned issue, can you help me a bit?

@ArrowIntoTheSky Thanks for raising this issue. This was merged internally and will show up soon on the TF website. Thanks again.


[ENH] Add Lambert W x F distributions

Is your feature request related to a problem? Please describe.
For modeling skewed and/or heavy-tailed distributions i'd like to have support for Lambert W x F distributions. On top of modeling, Lambert W x F distribution allow to "Gaussianize" the observed data.
This is especially useful / prevalent for financial time series data, which is often skewed and/or heavy-tailed.
Describe the solution you'd like
This exists in the LambertW R package and the pylambertw Python module, which is an sklearn transformer/estimator wrapper around torchlambertw.
Describe alternatives you've considered
Other heavy-tailed distributions; but none of the typical ones allow the ease of itnerpretation of the heavy-tail parameter, the input/output system view of transformation, and a bijective back-transformation.
Additional context

see here for a detailed discussion with references / screenshots etc.
https://github.com/StatMixedML/XGBoostLSS/discussions/55

https://github.com/StatMixedML/XGBoostLSS/pull/65#issuecomment-1911933973

I'd be happy to open a PR to implement a first version of Lambert W x Gaussian distributions, but would like some guidance/pointers on best practices for skpro.

Very interesting. For anyone looking for a mathematical reference, the annals article is available on the arxiv: https://arxiv.org/abs/0912.4554.
I am intrigued since, please confirm if I understad this correctly:

Lambert transformed distributions are actually dependent objects - i.e., Lambert tf of distr D, which makes thes compositional
the practical intention of introducing them is making distributions more normal for modelling, which is a common assumption in machine learning

If I understand correctly, there are also multiple related "objects":

the transformation itself, operating on empirical samples (matrices)
the distribution depending on another distribution that gets transformed
a regressor that applies the sample transformation on data, and inverts the transformation on a distribution that is predictd

The last one especially is related to the "transformed distribution" proposed in https://github.com/sktime/skpro/issues/30.

I'd be happy to open a PR to implement a first version of Lambert W x Gaussian distributions, but would like some guidance/pointers on best practices for skpro.
Thanks, that would be nice!

skpro generally follows sklearn extension patterns. The distribution extension contract is not that well-documented at the moment, it is maturing - you could however look at the classes in distributions, all methods have proper docstrings. Perhaps the Gaussian is the best template for now.
The one thing to note, perhaps, is that distributions are of matrix/table shape, i.e., a matrix/table with distributions (possibly dependnent but usually independent) as entries. This is because in tabular probabilistic regression, this object is the output.
Questions:

would it not be nicer to have Lambert W x any distribution? Or, are the transforms of Gaussians more explicit than the arbitrary case?

this would be representable in the interface, it would be a distribution that takes another distribution as argument.

@fkiraly yes to all your points in first reply.
re 2nd: yes, implementing Lambert W x Gaussian shouldn't be much different from just implementing a Lambert W x F abstract class and then inheriting/setting base_distribution=Gaussian .  This is what I ended up doing for torchlambertw as well as the xgboostlss implementations.
I need to get more familiar with skpro first to see how this would actually work in this framework. Will take a look at this and see if I run into any issues trying to implement the generic LambertWDistribution class first, with LambertWGaussian, LambertWExponential, etc as special cases.

shouldn't be much different from just implementing a Lambert W x F abstract class and then inheriting/setting base_distribution=Gaussian

I see!

I need to get more familiar with skpro first to see how this would actually work in this framework.

I would recommend to look at distributions.normal for an example. We have not gotten round to write an extension template, but I hope the stucture is self-explanatory.

Will take a look at this and see if I run into any issues trying to implement the generic LambertWDistribution class first, with LambertWGaussian, LambertWExponential

The way I imagined it would be sth around the lines:
any_inner_dist = InnerDist(a=a_arr, b=b_arr)
lambert_trafo_dist = LambertW(any_inner_dist, gamma=0.5)

That is, any distribution can be taken as an argument of LambertW - what is passed is the actual distribution, not a string.


Update Private.SourceBuild.Artifacts to be based on CentOS 7

Currently the Private.SourceBuild.Artifacts are gathered from a Fedora 33 build.  Using an older distro version would make the artifacts more universal and usable on a wider variety of distros without needing to use the --bootstrap option.  If we update to gather CentOS 7 artifacts, we may no longer need to support the bootstrap option.

CentOS 7 artifacts were uploaded as part of the 6.0.102 release.  The --bootstrap option should not be needed in most scenarios now.


Error when use method with multiple parameter list

Code to test:
package test

import cats.implicits._
import sloth.Router

import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Future

trait Api {
  def fun(a: Int, b: String)(c: Double): Future[Int]
}

object ApiImpl extends Api {
  def fun(a: Int, b: String)(c: Double): Future[Int] = Future(0)
}

object Test extends App {
  Router[String, Future].route[Api](ApiImpl)
}

When i run the above code i get an error. Does this library support multiple parameter list? How can i solve this problem?
Error:
type mismatch;
found   : String
required: Double
Router[String, Future].route[Api] (ApiImpl)

Good find, thank you for opening this issue.
There has been a regression with handling multiple parameter lists, which I have fixed now in #189. Will merge and then make a new release 🙏


Installation fails with missing node-warc submodule

Are you submitting a bug report or a feature request?
Bug report.
What is the current behavior?
Installing as per the instructions gives the following error in the bootstrap.sh script (relating to the node-war submodule):
Submodule 'node-warc' (https://github.com/N0taN3rd/node-warc.git) registered for path 'node-warc'
Cloning into '/Squidwarc/node-warc'...
error: Server does not allow request for unadvertised object 0de56e6628d1e0e8d18cb9e772ae7871bd8cd926
Fetched in submodule path 'node-warc', but it did not contain 0de56e6628d1e0e8d18cb9e772ae7871bd8cd926. Direct fetching of that commit failed.

What is the expected behavior?
Installation proceeds normally.

@peterk apologies for the delay in closing this issue officially but this issue should be fixed


strtod and locale "Malformed number"

I'm building luau in a unity3d ilcpp project that internally use setlocale() to simulate c# locale.
Using some language setting like "fr" on the system strtod inside parseNumber is expecting ',' instead '.' and is throwing a "Manfolrmed number" error on float variables.

I fixed it calling setlocale(LC_NUMERIC, "C"); because the rest of the project doesn't use any locale specific string parsing/formatting but I don't know if this was already discussed or can be a problem in other projects

This came up in #473 (fixed in #474) in context of CLI, with a similar fix. I think for now using C locale is the correct fix; correctly parsing numbers with C locale specification without doing that is pretty arduous (Lua tries to replace the dot with the decimal point but there are some potential inaccuracies with that approach wrt handling numbers that have a more complex formatting specification than just a different decimal point) - it might happen at some point but for now it's the best solution.

I think for now using C locale is the correct fix

Except when luau is used in a program that manipulates locales in an unpredictable way. I ran into this issue when using luau in a LADSPA plugin (other LADSPA plugins are very fond of changing the locale), so setting the locale there from the start is not a solution. A workaround for me is to replace luai_str2num with a custom localeless implementation, but this source is not tested for number overflow. strtod.h
I also noticed that luau uses strtod directly in Ast/src/Parser.cpp:2101 not through a macro luai_str2num...


opt_distance parameter in function definition for History.prototype.back

In pull request https://github.com/google/closure-compiler/pull/3330, the opt_distance parameter was included in the function definition for History.prototype.back
https://github.com/google/closure-compiler/blob/v20190528/externs/browser/html5.js#L3154
/**
 * Goes back one step in the joint session history.
 * If there is no previous page, does nothing.
 *
 * @return {undefined}
 */
History.prototype.back = function(opt_distance) {};

This causes the following warning when calling History.prototype.back with zero arguments
WARNING - [JSC_WRONG_ARGUMENT_COUNT]
Function History.prototype.back: called with 0 argument(s).
Function requires at least 1 argument(s) and no more than 1 argument(s).

That was my fault. I should have completely removed the opt_distance parameter. I will submit a PR to do just that.

internal issue created http://b/135115388

4877e4fb9d3def6b827e8c45b54003fe4dac01cc fixed the typing to make this parameter optional again.
https://github.com/google/closure-compiler/pull/3419 might still land to completely remove this parameter, but I believe this particular issue can be closed.


Adds version header

You should move mip_version.h.in to the cmake/ directory so it's not cluttering the source files. Also anything in the src/ directory gets installed with make install and that file shouldn't really be installed.

Oops. Meant develop


Logs for previous pods

It would be nice to see logs for previous (inactive) pods.
e.g.

Cron jobs run and complete, when completed logs are not accessible via kubetail.
When pod crashes, the reason why it crashed can't be checked via kubetail.

thanks

Thanks for the suggestion! I'll take a look. As long as the log files are still on disk in the cluster we should be able to expose them in the kubetail UI.

@piotr-00 This issue should be fixed in the latest version (0.6.3). To upgrade using helm you can run this command:
helm repo update kubetail
helm upgrade kubetail kubetail/kubetail --namespace kubetail

Let me know if that fixes the problem!

Just checked this on stopped, successful CronJob and can happily report that it works.
Thanks very much for implementing this feature

Great! Happy to hear it's working. Let me know if you run into any other issues or have more suggestions.

Great news!
Is it possible to see that on deployments and replicasets also?
When I kill pod from stateful replicaset and have opened console for that pod, I can see logs from previous and new pod, however when I refresh the page - logs from new pod remains only.
For deployment it's pretty much the same  as previously. I'm not sure if is it possible to see logs from all previous pods created by deployment - it that case each pod has different name and schema is not updating automatically. There is an option in Kubetail to select specific deployment but it shows pods which are actually active. If I kill a pod from deployment, I need to refresh console view to see new pod, and old one disappears.
Thanks

Is it possible to see that on deployments and replicasets also?

Currently, this isn't possible because kubernetes deletes pods automatically after they are replaced in deployments, replicaSets, statefulsets, and daemonsets and once pods are deleted, the associated log files are deleted too. In order for to view logs for deleted pods we'll need to add a persistence layer to Kubetail (stay tuned).

When I kill pod from stateful replicaset and have opened console for that pod, I can see logs from previous and new pod, however when I refresh the page - logs from new pod remains only.

Unfortunately this is expected behavior because once a pod is deleted, the only copy of the log records is what's in your browser cache and that copy disappears on page reload. I was thinking about adding a warning when you navigate away from the page but in the long run the only protection against losing those log records is to add a persistence layer.


Update index.md

Changes to some wording in the documentation in a few places.

This change is

I signed it, the CNCF LA that is.

thanks


content: Open links in-app on Android

url_launcher plugin now supports the desired behavior, which is using Android Custom Tabs, so we don't need the workaround of opening the links in external browser anymore, thus removed them.
Upstream PR:
https://github.com/flutter/packages/pull/4739
Fixes #279

Thanks @rajveermalviya! This looks great — merging, with small changes:

I pulled out the change to our dependencies as its own prep commit. If you look at our past dependency-updating commits, you'll see we keep them separate from code changes; try either the gitk graphical Git viewer, like gitk pubspec.*, or a command like  git log --stat -p --full-diff pubspec.* plus my "secret" for using git log -p .

I also narrowed down that commit to make just the one change related to the rest of this PR.

I updated some tests that appeared when rebasing this onto main.

It'll be great to have this fix. Sorry I've been distracted and took so long to come back and integrate it.


feat: add pod disruption budget and update app version

closes #80

@bitfactory-sem-denbroeder Thanks for your contribution.
@eliobischof can you have a look at it?

@eliobischof Updated your changes! Hope it's good now.

Looks almost good to me, thank you :partying_face:
We'd love to send you some swag. If you like that too, please send us a mail to<EMAIL_ADDRESS>

Updated the PDB as the tests were failing, hopefully it will all be alright now. Added back the previous check for pdb max and min available and added a helm failure state. If this is not desired, I can change it back.
(pushed the changes from my personal PC, that's why the author is different. both accounts are me 😄 )

Updated the PDB as the tests were failing, hopefully it will all be alright now. Added back the previous check for pdb max and min available and added a helm failure state. If this is not desired, I can change it back.
(pushed the changes from my personal PC, that's why the author is different. both accounts are me smile )

Thx, LGTM


Added encode(_:to:) method to FileManager

This method allows to save an object that conforms to Encodable protocol to a file at specified URL.
Example:
func saveArrayTo(fileURL: URL) {
   let array = [1,2,3,4,5] // array conforms to Encodable
   do {
       try try FileManager.encode(array, to: fileURL)
   }
   catch {
      print(error)
   }
}

Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 4.
[x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[x] I have added a changelog entry describing my changes.

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 535 tests, with 0 failures (0 unexpected) in 12.466 (15.533) seconds

:book:
tvOS: Executed 504 tests, with 0 failures (0 unexpected) in 4.822 (7.110) seconds

:book:
macOS: Executed 369 tests, with 0 failures (0 unexpected) in 1.086 (1.403) seconds

  Generated by :no_entry_sign: Danger

@guykogus, I have reverted change for getting tempDir url.
let temporaryDirectoryURL = FileManager.default.temporaryDirectory works for all devices, but the previous implementation with try block fails on iOS.

@omaralbeik @LucianoPAlmeida can you please check?

Sorry, I just notice that we missed that one 😅, just cleaning up those old PR's.
@AlexeiGitH Closing this one due inactivity, feel free to reopen :))


I am also receiving the same error, on Ubuntu 22.04 (dev)

I am also receiving the same error, on Ubuntu 22.04 (dev)
$ npx prisma generate
Error: Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided

OpenSSL version is 3.0.1 14
$ openssl version
OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)

Executing "yarn dev" produces
Server is running on http://localhost:4000/
/home/vee/Dev/graphql/hackernews-react-apollo/server/node_modules/@prisma/client/runtime/index.js:36111
      throw new PrismaClientInitializationError(`Unknown ${import_chalk7.default.red("PRISMA_QUERY_ENGINE_LIBRARY")} ${import_chalk7.default.redBright.bold(this.platform)}. Possible binaryTargets: ${import_chalk7.default.greenBright(knownPlatforms.join(", "))} or a path to the query engine library.
            ^

PrismaClientInitializationError: Unknown PRISMA_QUERY_ENGINE_LIBRARY undefined. Possible binaryTargets: darwin, darwin-arm64, debian-openssl-1.0.x, debian-openssl-1.1.x, rhel-openssl-1.0.x, rhel-openssl-1.1.x, linux-arm64-openssl-1.1.x, linux-arm64-openssl-1.0.x, linux-arm-openssl-1.1.x, linux-arm-openssl-1.0.x, linux-musl, linux-nixos, windows, freebsd11, freebsd12, openbsd, netbsd, arm, native or a path to the query engine library.
You may have to run prisma generate for your changes to take effect.
    at Object.getPlatform (/home/vee/Dev/graphql/hackernews-react-apollo/server/node_modules/@prisma/client/runtime/index.js:36111:13)
    at async Object.instantiateLibrary (/home/vee/Dev/graphql/hackernews-react-apollo/server/node_modules/@prisma/client/runtime/index.js:36102:21) {
  clientVersion: '3.8.1',
  errorCode: undefined
}
[nodemon] app crashed - waiting for file changes before starting...

Originally posted by @bopucky in https://github.com/prisma/prisma/issues/11356#issuecomment-1056781743

Error: Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided

@fomenkoyegor were you able to solve this? I'm getting the same problem. Thanks.

openssl 3 work!!!!!!!!!!!!!!!!!!!!! thank you

I am also getting the same error on Ubuntu 22.04. @fomenkoyegor Can you help me what did you do to resolve the issue?
Error: Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided
My OpenSSL Version : OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

Upgrading the libraries prisma and @prisma/client to 3.13.0 version resolved the issue for me.

After upgrading Ubuntu to 22.04 LTS I ran into the same error as described above. Now I have updated prisma and @prisma/client to 3.13.0 and I run into another error:
> Downloading Prisma engines for Node-API for debian-openssl-3.0.x [                    ] 0%Error: Not Found https://binaries.prisma.sh/all_commits/22b822189f46ef0dc5c5b503368d1bee01213980/debian-openssl-3.0.x/libquery_engine.so.node.gz
error Command failed with exit code 1.


[Feature]:  Run crypress with mongodb profiler to analyze any slow queries

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Running cypress tests with mongodb profilers helps in analyzing and marking any slow queries  thereby helping the stability
Why should this be worked on?
Helps in stability

@pratapaprasanna since we're moving to postgres, this no longer makes sense right?


Prune local branches that have been deleted on the remote to fix remote branch parsing

@AskAlice How does this look? It fixed the bug for me


浴霸能够识别但是无法添加

HA版本
2023.8.2
集成版本
0.4.2
设备类型及型号
Appliance code:210006726130388;<PHONE_NUMBER>16239;<PHONE_NUMBER>86645
使用的App
美的美居
问题详细描述
Appliance code	Type	IP address	SN	Supported
210006726130388	26	10...*	000026511M010003239281100*******	YES
210006725916239	26	10...*	000026511M010003239281100*******	YES
208907214486645	26	10...*	000026511M010003239281100*******	YES
以上3个浴霸为同一型号的美的Y5W，在添加设备时能够正常识别显示210006725916239 (Bathroom Master)，选择美的美居登陆，提交后就显示无法连接到指定设备，但同账号下的2台油汀添加没有问题。这个问题困扰很久了，从当初georgezhao2010一直至今，始终无法添加这几个设备，请大佬看看是为什么如有任何需要请随时联系，万分感谢。
The logs
No response

日志里当我提交以后会有一条：2024-06-30 14:52:57.704 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Try to get the Token and the Key use the preset MSmartHome account

Hi @Helloookimi, please add the full log not just 1 line.
Please add the following to configuration.yaml , restart HA, and post the log:
logger:
  default: warning
  logs:
    custom_components.midea_ac_lan: debug
    midealocal: debug

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
And add diagnostics (menu configuration -> integration -> midea_ac_lan -> download diagnostics )

@Helloookimi 请先更新到最新的v0.5.0版本，重新添加设备试试。
建议先根据首页提升，开启midea_ac_lan和midealocal的debug log，然后执行相关操作，并反馈一下结果。
再根据这个结果，对比添加成功和添加失败的设备，实际获取到的硬件以及软件版本信息差异，随后看看是否能够找出解决办法。

估计跟我提交的是同一个问题

Please we need data, now wild guesses.

Upgraded to the latest version, when adding, it prompts Can't get available token for this device, and there is a Can't get valid token with input account in Midea Mercure server in the log, and then the following key is used<EMAIL_ADDRESS>to get this account instead of my mobile phone account. The attached is a log file, thank you very much. Please feel free to contact me if you need anything.
home-assistant_2024-07-11T13-11-26.325Z.log
if you need anything

Inside your log I can find:
2024-07-11 21:09:25.580 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': '54af9f51ce38a49a49da060c15d679dd', 'reqId': 'f58837f724ea9646b06b91d83c7723c6', 'stamp': '20240711130925'}, response: b'{"msg":"\xe8\xb0\x83\xe7\x94\xa8\xe4\xb8\x9a\xe5\x8a\xa1\xe7\xb3\xbb\xe7\xbb\x9f\xe5\xbc\x82\xe5\xb8\xb8(\xe8\xae\xbf\xe9\x97\xae\xe5\x9c\xb0\xe5\x9d\x80\xe4\xb8\x8d\xe5\xad\x98\xe5\x9c\xa8) [no Route matched with those values]","code":40404}'
This means that we're trying to retrieve keys in an invalid endpoint. We need a sniffing on the network to correctly identify what is wrong.

what can I do for next? Do you need access my local network for test or I sniffing the network by myself? What kind of information  need to identify what is wrong? thank u for u helps.

I can priviod a remote desktop by rustdesk for you do any test run. windows or mac both fine. Please help to solve this problem. Thanks a million for the help!

Or I could try to make a packet capture of the network and upload this part of the packet file. Please tell me what you need do for next,remote or packet file upload, thank u .

I need a capture for that endpoint. That happens between your mobile and the cloud.

That happens between your mobile and the cloud. It's means you need a capture which is the app when I login with my account and do some remote control?

Yes, thats it

I send an email for you(lucas@mindello.com.br).with  capture file. pls tell me what need for next, if you need any other information. thank u.

@rokam @Helloookimi  it should be encrypted data with TLS/SSL, so we can't directly sniffer the packets.
and I also tried with inject with the client app to do MIMT some months ago, it also not works, client will report error and can't do any control, maybe Meiju using v2 api,it's cloud service. both client app and server have the cert check.

Is that means cannot add those drives into ha any more? When I do the packet capture yesterday, find that cannot use andriod with Packet Capture. The app are no network when VPN set up.

Is that means cannot add those drives into ha any more? When I do the packet capture yesterday, find that cannot use andriod with Packet Capture. The app are no network when VPN set up.

yes, there is no any good solution now,  and we should have some new solution.

由于github当前存在大量同样duplicate的issue，因此先关闭当前issue，统一使用 #275 来跟踪和处理，避免大量重复问题的跟踪和处理。
当然，当前issue仍然可以继续更新和发送其他消息

补充说明：close当前issue仅仅是不在默认open的issue list中显示，并不代表当前issue不再处理或者无视问题了。
主要是方便管理和跟踪其他issue，而当前issue的后续状态和进展，仍然可以继续update其他信息，都是能够收到提醒和状态更新的。
并且，在主issue中也都有当前issue的关联信息，后续都能逐个追踪，回溯回来。

我遇见了同样的问题，也是y5w的设备

Please reference to issue #275 as reuqested.


Didn't see a date picker in the components

Was using sketch to create a form view that required date inputs. Didn't see a date picker, though this could well be user error :)

Hey @antonmc ! We're working through some final tests for the Date Picker right now, you can track it's progress in this PR: #143 . Once we get it merged in, it'll be available in the code. The latest version of the Carbon Design Kit should have Date Picker in there 👍

great, thanks @bsonefeld :)


Reactor performance

Investigate possible causes of reactor slow downs. Especially after reboots it takes longer to complete requests to dashboard API.
Possible causes that we can handle:

Babel calls are blocking the reactor - According to @ttk2 measurements it usually takes 50ms on average to complete those calls. It'd be interesting to measure P90, P99s.
General system slowdown after a boot caused to flash I/O, etc.
Blocking calls such as pings that can timeout after some time therefore blocking whole reactor.
StatsCollector uses blocking calls #220

It would be good idea to add more insights to the code to better measure time spent in different parts of the code. From that point we can better know what decision should we make.

yes this seems resolved now.


Rate control fix

Fix rate control to not overshoot target. Bitrate deficit wasn't carried over to next VGOP, so we lose track of it and hence could end up overshooting.
Carry over RC budget on key frame insertion. Add higher QP for extremely low bitrates.
Fix overshoot with frame skipping inside codec. CheckFrameSkipBasedMaxbr() is only used inside  WelsRcCheckFrameStatus() which is called from PrepareEncodeFrame() to check if frame must be skipped. If it is then UpdateBufferWhenFrameSkipped() will be called in PrepareEncodeFrame() and will update same bitrate and buffer counters again. This results in overshoot as rate control thinks it has more bits than it actually has.
Add control on bit allocation ratio of key frames.

We tested this change on the video calling apps from Meta with public A/B test. The results show significant video freeze improvement and vbv delay reduction.

Hi @huili2,
Thank you for the stamp.
I have a question: since the pull request changes the encoding algorithm, we have to fix test references as https://github.com/cisco/openh264/pull/3272/commits
However, I cannot find any script to fix test references. Could you advise me on how I could do this efficiently?
Thank you.
Hi @mstorsjo,
Could you advise me on how you fixed this last time? Thank you.

Hi @mstorsjo, Could you advise me on how you fixed this last time? Thank you.

I just manually updated hashes by copypasting and rerunning the tests - as far as I know, there's no script for it.
The testcases that can have more than one test reference are tricky though (https://github.com/cisco/openh264/blob/fd92219def875f8a7c74f1007d3a6f6e1bf67671/test/api/decode_api_test.cpp#L782-L786), as you need to produce new hashes for both cases. I don't remember exactly, but I think you can achieve that by disabling the x86 specific routines in CDownsampling::InitDownsampleFuncs.

I attempted to fix test references error. Could you please approve for running the workflows. @huili2 Thanks.

I see that the check has passed, so probably need the final approval and someone with right access to merge. @huili2 Thanks for you help.


Limit Oauth scope to read:org and user:email

I believe this may be all we really need:

What is their email?
Are they already a member of the org?

Tested, and it worked!


Pushing/pulling files from the device

What can we do for you?
I'm using the following code:
void DownloadFile()
{
    using (SyncService service = new SyncService(device))
    {
        string path = Environment.CurrentDirectory + @"\test.txt";
        using (FileStream stream = File.OpenWrite(path))
        {
            service.PullAsync("/data/local/tmp/a.txt", stream, null);
        }
    }
}

void UploadFile()
{
    using (SyncService service = new SyncService(device))
    {
        string path = Environment.CurrentDirectory + @"\test.txt";
        using (FileStream stream = File.OpenRead(path))
        {
            service.PushAsync(stream, "/data/local/tmp/a.txt", 777, DateTimeOffset.Now, null);
        }
    }
}

But nothing happends... Neither the "UploadFile" method works, nor the other.
What I'm doing wrong..?

You never await your task. So your service just disposed after it gone...


Why oreilly video are not downloaded completely?

Checklist

[X] I'm asking a question
[X] I've looked through the README and FAQ for similar questions
[X] I've searched the bugtracker for similar questions including closed ones

Question

I'm downloading courses from  https://learning.oreilly.com, for some reason all the videos from all the courses are pausing exactly at 1:00.
I'm passing a cookie file which i'm downloading using coockies.txt Chrome extension while i'm logged in to the site.
I can't pass user name and password, because the login is through my organisation.
I'm also using youtube-dl tool for lynda courses with the same login option (through my org) and passing the cookie file to the command line and it's working there.
Please let me if i'm doing anything wrong.

@dstftw Please help me resolve the issue, i couldn't any issue similar to mine.
My use case is special


[Event Request] Page "Item Tracking Lines" Event "OnBeforeSerialNoAssistEdit" ad parameter"IsHandled"

As we have additional document types that require a different call of "ItemTrackingDataCollection.AssistEditTrackingNo...", we need to have an extra parameters, incl. isHandled.
  [EventSubscriber(ObjectType::Page, Page::"Item Tracking Lines", 'OnBeforeSerialNoAssistEdit', '', false, false)]
    local procedure OnBeforeSerialNoAssistEdit(var TrackingSpecification: Record "Tracking Specification"; xTrackingSpecification: Record "Tracking Specification", **var IsHandled: Boolean, CurrentSignFactor: Integer**);

Placement of IsHandled / Changes in Code of OnAssistEdit of Serial No.:
field("Serial No."; "Serial No.")
                {
                    ApplicationArea = ItemTracking;
                    Editable = SerialNoEditable;
                    ToolTip = 'Specifies the serial number associated with the entry.';

                    trigger OnAssistEdit()
                    var
                        MaxQuantity: Decimal;
                    begin
                        OnBeforeSerialNoAssistEdit(Rec, xRec);
**If isHandled then exit;**
                        MaxQuantity := UndefinedQtyArray[1];

                        "Bin Code" := ForBinCode;
                        ItemTrackingDataCollection.AssistEditTrackingNo(Rec,
                          (CurrentSignFactor * SourceQuantityArray[1] < 0) and not
                          InsertIsBlocked, CurrentSignFactor, ItemTrackingType::"Serial No.", MaxQuantity);
                        "Bin Code" := '';
                        CurrPage.Update;
                    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fix ansible role in freehold repo

[ ] Turn everything from line 102 down into working Ansible tasks. Ref: https://github.com/avnes/freehold/blob/main/ansible/roles/ansible-role-freehold/tasks/main.yml#L102
[ ] Automate CoreDNS setup mentioned in https://github.com/avnes/freehold/blob/main/README.md
[ ] Test role with poetry run ansible-playbook --inventory ansible/inventory/hosts.yaml ansible/playbook.yaml --check

Role has now been fixed, and have passed molecule test.


Investigate support for Dynamo Solids

Famous last words: would it be easy to support sending solids out as meshes from Dynamo? See this conversation on linkedin for reference.

(thanks to Søren Villadsen for the image)

Closing as stale. I'm pretending to be a bot; will reopen when we have the bandwidth.

This one just came in from the forum: https://speckle.community/t/cant-visualize-dynamo-solids-in-the-viewer/2075/7
Up to @AlanRynne if we should re-open it!


Specify style tags within the grammar

Hi there,
First off, thanks everyone for your work on this excellent library!
Lezer added support for specifying default props within the grammar file using @external propSource.
As far as I understand this enables you to declare the syntax highlighting within the lezer grammar itself.
For example lezer-json defines an @external propSource linking to these styleTags.
It would be great if lezer-clojure did something similar. Right now you need to pull in the clojure-mode package to grab the style tags.
For our use case, nothing in clojure-mode is particularly applicable except for the style tags.
If this sounds like a reasonable request/contribution, I'd be happy to draft up a PR :)

Hi @wavejumper, yes I've recently seen this style in other grammars and it's probably worth to comply with it.
That said we also define highlight properties in @nextjournal/lang-clojure, which is a tiny package in the style of the official codemirror/lang-x languages. Using that, you won't need to pull the whole clojure-mode.


Switch to ng-packagr + Use Jest

Made a few changes on the tooling for the library:

Use ng-packagr, which avoid us to maintain a webpack config and export our lib using the Angular Package Format (not a expert here, but the tool looks really great for building anguar libs)
Switched to Jest to simplify the config and run test faster
Switch ngx-translate into peerDepencies : The usage of dependencies in libraries aren't recommended as this can lead to duplicate dependency versions, so it's better to install ngx-translate in the JHipster application instead of ng-jhipster.

@deepu105 I'll do some more testing on various apps, but I tried with the sample app, both the dev using npm start and the production using npm run build && ./mvnw works.
But i'll try some other apps.

@deepu105 Tested on a freshly generated app with the dev profile and the prod profile, both works.
Ran through the admin menus and the recently merged metrics page, they work too.
Do you want me to do some tests on sample apps with some entities?


[adc_ctrl, doc] Update ADC_INTR_CTL register polarity according to th…

…e design
Signed-off-by: Sharon Topaz<EMAIL_ADDRESS>@msfschaffner Following our conversion and debug  yesterday, adc_intr_ctrl polarity was updated to match the RTL.
The new polarity: 0: interrupt is disabled, 1:interrupt is enabled.
Also I see that the ADC_CTRL documentation includes some registers (like intr_test register) that don't appear in the adc_ctrl.hjson file.
See https://docs.opentitan.org/hw/ip/adc_ctrl/doc/index.html#Reg_intr_test and https://github.com/lowRISC/opentitan/blob/master/hw/ip/adc_ctrl/data/adc_ctrl.hjson.

Also, note that the reggen tool automatically adds certain registers for interrupt handling & testing and for alert testing. Hence you see some more registers at the beginning of the register map that are named INTR_* or ALERT_TEST.


Searching by partial filename

Similar to searching by attributes with regexes - I'd like to be able to search filenames by regexes.
Is there a good reason for the filename not to be an attr?

Well, an attr means something specific in the permanode schema, and it happens that filenames are an indexed property of the file blob pointed to by the permanode's camliContent attr, so it has to be a separate search predicate. I think the plan is to integrate the Bleve search engine, which should provide more generic search facilities (ie, substring matching for all string fields etc).

Correct me if I'm wrong, but I get the impression that the property vs attr thing is an implementation detail rather than an essential complexity of the problem.
Being able to e.g. 'rename a file' from the web UI by editing the filename attr - although this could be worked around in every client implementation.


grafana

Hello!
I have a problem with grafana. I configure the data source according to your tutorial, but when I build a new dashboard, I don't show any data points.

Hi,
I ran into the same problem and I think I identified the problem.
I'm running devicehive with the provided docker environment. I configured the datasource as documented and got confirmation that the datasource is active.
The dashboard is however not showing the data points. I think it is due to wrong formatting option. The websocket query used by Grafana is:
{"action":"notification/list","deviceId":"test13","start":1602056204592,"end":1602056324592,"sortField":"timestamp","sortOrder":"ASC","take":960,"notification":"python-test","requestId":"deviceHiveId_5"}
The start and end property seem to be formatted as Unix Timestamps, whereas the documentation states that those should be datetime objects:
https://docs.devicehive.com/docs/query-1
I used a websocket debugging tool and changed the timestamps to datetime objects in the request like follows:
{"action":"notification/list","deviceId":"test13","start":"2020-10-07T07:15:28.080","end":"2020-10-07T07:45:28.080","sortField":"timestamp","sortOrder":"ASC","notification":"python-test","take":960,"requestId":"deviceHiveId_2"}
In this case, the Websocket Proxy returns the datapoints.
Unfortunately I haven't found a way yet to configure the format of the start and end property of the JSON to timestamps in Grafana.

Hi,
I managed to get this working.
In the Grafana Configuration tab, go to Preferences and change the Timezone to UTC and Save.
I am now getting the datapoints into the Dashboard.


Audit policy config observer

holding it, as soon as the openshift/api PR https://github.com/openshift/api/pull/681 merges we can remove the replace from go.mod
/hold

good for review
/hold cancel

/lgtm
/approve

/retest


Null Safety error

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:clear_all_notifications

For solutions, see https://dart.dev/go/unsound-null-safety
FAILURE: Build failed with an exception.

Where:
Script '/Users/naveenkumar/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/naveenkumar/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 44s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

I have migrated package to null safety.


log test questioned

A commentator doubts that the log test measures anything that harms accessibility and thus recommends that its results not be used in scoring for accessibility.

Testaro issue 27 (https://github.com/jrpool/testaro/issues/27) has resulted in a refinement in log reporting, with error logging messages being reported separately from logging messages as a whole. This makes it possible to count only error logging messages in a score proc. Error messages usually report that the browser was unable, or refused, to do something requested by the server. While there is no guarantee that such a failure will harm accessibility, there is also no guarantee that it will not. Protecting accessibility from unknown and unanticipated interference arguably requires updating deprecated, vulnerable, and prohibited conditions. Users who accept this argument can take logging messages into account in computing scores.


Multiple Hosts, Failover

Hello! It would be great to have a feature like this:
let hosts = vec!["postgres://postgres:password@server1/test".to_string(), "postgres://postgres:password@server2/test".to_string()];
let pool = PgPoolOptions::new()
.max_connections(50)
.load_balance_hosts(true)
.connect(hosts).await?;
Good example: https://www.npgsql.org/doc/failover-and-load-balancing.html?tabs=7
Sorry, if this already exists.. Thanks!

Seems like a duplicate of https://github.com/launchbadge/sqlx/issues/2290
That Issue also has more context what "failover" means for the specific databases


Feature request - specify branch/sha/tag when adding new projects

This feature request goes beyond adding new projects.  It appears the .meta file doesn't store branch/sha/tag information and so always defaults to cloning origin/master at the HEAD.  Many of the projects I would like to add have on going development and changes are not always backwards compatible.  Therefore we want to lock down the branch/sha/tag of a project until someone has had the time to integrate a newer version of the repo, at which point the branch/sha/tag of that repo would be updated in the meta file.

Hi @ktmills. Not sure what you mean here. Branch, tag information for each child repo is maintained by git.

for instance, when you run meta git clone , this will clone that top level repo, and then use the .meta file to clone all the repos that were added as children.  The cloning of a child repo leaves the repo at origin/master at the HEAD.   Its them up to the user to checkout a specific branch/tag/sha for that project repo.  For our work the origin/master branch at the HEAD might be incompatible with the current state of the parent repo.  An ideal solution for us would be to add branch/sha/tag information to the .meta file so that when meta git clone  is run, all child repo's are cloned and automatically set(git checkout) to point to the branch/sha/tag value in the .meta file.
For example:
.meta file contents:
{
"projects": {
"project1":
}
"versions": {
"project1": <branch/sha/tag>
}
}
meta git clone would essentially do the following:
git clone "projects::project1::<repo_url>"
git checkout "versions::project1::<branch/sha/tag>"
For backwards compatibly, the version value would default to origin/master as it does today.

Meta doesn't support this now. Happy to accept a PR that would leverage one of the existing plugins to make it happen.

Matt,
I working on the feature request.  I'm completely new to node/javascript
but not new to coding.  I'm confused on the ternary operator used in some
of your argv parsing.
In meta-project-add for example:
const destArg = argv[2] === 'blank' ? argv[3] : argv[2]
I can't find anything on the internet about the comparison to 'blank'.
Can you help me understand why this is needed and what 'blank' is.  My
only guess is it is a string containing the word "blank" but I can't
rectify in my mind why you would compare that to argv[2].
Thanks,
-Kelly
On Fri, Feb 22, 2019 at 10:38 AM Matt Walters<EMAIL_ADDRESS>wrote:

Meta doesn't support this now. Happy to accept a PR that would leverage
one of the existing plugins to make it happen.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mateodelnorte/meta/issues/128#issuecomment-466439417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOV7HF-CX7ron_k-TqeWdj-AK9TXtVlhks5vQA7ygaJpZM4bIXXj
.

Would love this feature too. We rolled our own because we want the meta repo to be able to track separate branches on it's own branches, for building/deployment.

@ktmills I don't remember super clearly why the == 'blank' conditional is in there, but it may be that commander.js caused those values to equal 'blank'. You could do some quick console.logs on the program variable to inspect and find out.

@ktmills What's the current status of your branches/PRs? What tasks do you have left in order to have things in working order?

One question I have overall is how you'll end up using this, in relation to meta git checkout commands. Do you not plan to use meta git checkout or meta git branch? Doing so would end up moving you off your default branches on any number of projects. You'd then need to remember which branches to move back to, when you're done with your feature branches.
A meta git checkout __default__ or something like it could get you back, but honestly, that's probably a good reason not to use non-master default branches.

I plan on using it like submodules but with the ability to have some repo's
always on the latest by default.
On Wed, Mar 13, 2019 at 5:02 PM Matt Walters<EMAIL_ADDRESS>wrote:

One question I have overall is how you'll end up using this, in relation
to meta git checkout commands. Do you not plan to use meta git checkout
or meta git branch? Doing so would end up moving you off your default
branches on any number of projects. You'd then need to remember which
branches to move back to, when you're done with your feature branches.
A meta git checkout default or something like it could get you back,
but honestly, that's probably a good reason not to use non-master default
branches.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mateodelnorte/meta/issues/128#issuecomment-472604243,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOV7HGzCqU35_Ms4QA2A8Z3KHaX8bp4Cks5vWWd0gaJpZM4bIXXj
.

I have a concrete need for a functionality like this and I've got some time on my hands to do it.

One question I have overall is how you'll end up using this, in relation to meta git checkout commands. Do you not plan to use meta git checkout or meta git branch? Doing so would end up moving you off your default branches on any number of projects. You'd then need to remember which branches to move back to, when you're done with your feature branches.

My use case is third party repositories. I want them in the meta repo for convenience and the third party uses non-standard branch names (no master branch). They are only minimally involved in the development workflow. No need for meta git branch or such things, though for the first iteration, I would just do:

add an option to meta project create called default-branch, defaulting to master.
record the information in .meta.
respect the setting on clone (meta project create and meta git update).

sounds like a reasonable strategy, we'll be happy to take a look at a PR and see what you come up with.


Scan JSON from outside sources for malicious code

Make sure you are not letting a malicious actor introduce code into the users device.

I will leave this open as it should probably be tested further, but a try/catch using div.setHTML if available, and div.textContent if not should prevent malicious code from being injected into the page from the puzzle CDN.


sorting doesn't work

When click to sort, arrow appears. but nothing else happens.
Anybody has same issue?

Hi @tombohub I hope you have added the filter backend for the viewset. I have the below config and the sorting works just fine. I hope. this helps.
filter_backends = [filters.OrderingFilter]
ordering = ['id']

Yes it works now.
So it orders by sending url parameters. Is that how usually these tables work? Material UI data table?

So it orders by sending url parameters. Is that how usually these tables work? Material UI data table?
It uses the ordering field in the query that is sent to the backend. You can check the same in your backed logs. Below are queries that are sent to the backend when using the sort option.

GET /api/countries/?ordering=id&page=1&page_size=10
GET /api/countries/?ordering=name&page=1&page_size=10

I see it fetches every time it sorts? ok


Implement Depth First Traversal

Fixes #14
Language: Java 8

The filename should be more expressive of the Algorithm.


refactor: cleanup literal Display trait

Moves display of literal to prql_ast crate.
This code is quite inherent to Literal, so it can reside in prql_ast.
Especially because it simplifies other parts of the codebase.

I think it makes more sense to have that logic be part of the PRQL codegen/formatter.

I think it makes more sense to have that logic be part of the PRQL codegen/formatter.

Are the orphaning rules an issue here? i.e. that we can't implement Display on structs from another crate?

Yes of course they are but that can be solved via a newtype, as I did in 2017621e8dea0ed662ec0a88a760293de9181086, which this PR essentially seeks to revert.
To clarify what I had in mind: I think we should get rid of this Display impl entirely and rather implement it via the codegen trait ... (which should also be adjusted since it currently requires needless string allocations rather than operating on e.g. std::fmt::Write).

Yes of course they are but that can be solved via a newtype, as I did in 2017621, which this PR essentially seeks to revert.

Yes, I guess this is a case of the tradeoff in https://github.com/PRQL/prql/issues/3108#issuecomment-1652202443

BTW @not-my-profile — just to emphasize — I think we're all v happy you're here and have already made such an impact.
It's possible that we don't immediately end up exactly where you want, as we compromise on some of these tradeoffs. I hope you're OK with that. Nothing is fixed, and we can revisit in the future.

I personally think that keeping the codegen together and out of prql_ast is much more preferable than slightly simplifying the code by getting rid of a newtype ... especially when the newtype can be gotten rid of by just properly implementing (a better) codegen trait for it.  I just disagree with this one.

Motivation here is that prql_parser::lexer::Token needs a display, so it can produce hints and error messages as "expected let, but found an identifier". The problem is that is contains prql_ast::Expr::Literal. Because Token is in parser and Literal is in ast, they cannot depend on codegen, which is in the main crate.
So this PR essentially says "tokens and literals are so simple constructs that they can be converted to strings on-the-fly. They don't require the whole codegen machinery, which deals with precedence and indentation".

I think that dependency problem can very simply be resolved with just a3d61a8737424cfe76a5f8853d097be24bbc88a3 (the first commit from #3141). We already have the spans, so I don't think repeating the literal in the error message really adds anything.

We can do without this refactor and avoid merge conflicts.


Added the ability to define Proxy and ProxySSL directives

Added the ability to define Proxy and ProxySSL directives in the EZproxy config.txt, this allows EZProxy to operate when behind a corporate firewall without HTTP/HTTPS allowances.

Sorry still learning how to do all of these git activities.


ASPNETCORE_MODULE_DEBUG_FILE Environment Variable doesn't work.

The Environment variable named with 'ASPNETCORE_MODULE_DEBUG_FILE' doesn't work with the section 'handlerSettings' of web.config.

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 6638bf14-1d5c-61b3-5de0-1b16f933cc1e
Version Independent ID: 1ed7b9ab-8a47-d948-b3ab-cfe3b1867fe3
Content: ASP.NET Core 模块的日志创建和重定向
Content Source: aspnetcore/host-and-deploy/iis/logging-and-diagnostics.md
Product: aspnet-core
Technology: aspnetcore-hostdeploy
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

At this point, I doesn't use environment variables to configure the enhanced diagnostics log of ASPNETCORE Module.

Now I attempt to use environment variables to configure the enhanced diagnostics log of ASPNETCORE Module. but it doesn't work for ASPNETCORE_MODULE_DEBUG_FILE Environment Variable. the log file named "aspnetcore-debug.log" is generated by default.

Where are you setting the environment variable?
From what I can tell, we definitely trying to read the environment variable here: https://github.com/dotnet/aspnetcore/blob/52eff90fbcfca39b7eb58baad597df6a99a542b0/src/Servers/IIS/AspNetCoreModuleV2/CommonLib/debugutil.cpp#L219

I set the two environment variables in system environment variables, but only the "ASPNETCORE_MODULE_DEBUG" took effect. I saw DebugInitializeFromConfig couldn't read "ASPNETCORE_MODULE_DEBUG_FILE" environmentvariable but DebugInitialize do it.

From my test,  "ASPNETCORE_MODUEL_DEBUG_FILE" need absolute path and isn't related to debugFile of handlerSettings.

From my test,  "ASPNETCORE_MODUEL_DEBUG_FILE" need absolute path and isn't related to debugFile of handlerSettings.


Split files generates inconsistency across commands

Problem statement
I'm testing the split of a single swagger.yml into smaller chunks but I'm getting a not consistent behaviour between validate and generate commands.
No errors found when the validate command is run. Instead, when I execute the generate command I get the following error:
could not resolve schema: open /go/src/github.com/codebien/definitions.yml: no such file or directory
The generate command is researching the file into the wrong path.
The expected path is: /go/src/github.com/codebien/swag/swagger/definitions.yml
I have created a repo to share the code.
Swagger specification
This is the main swagger file
swagger: '2.0'
info:
  version: 0.0.0
  title: Simple API
paths:
  /foo:
    $ref: 'swagger/paths/foo.yml'
  /bar:
    $ref: 'swagger/paths/bar.yml'
  /nested:
    $ref: 'swagger/paths/nested.yml#/response'

Steps to reproduce

Download the project
Execute the validate command
Execute the generate command

Environment
swagger version: 0.23.0
go version: docker 0.23.0 (Go 1.14)

Yes, this is the same issue as with #2137 and #2113 for $ref under paths.
I've worked on a fix for that, but this proved more complex than I thought initially (basically because we are running CI against windows and our $ref handling is a mess with windows paths...).
As a temporary solution, and if you are not running on windows (it breaks on windows), you can merge this patch and override the go-openapi/spec package with this patched version

Hi @fredbi, the patch works. Can I do something to speed up the merge? Do you need some contribution related to the CI?


WIP: add governance section

Just want to add this Governance page to include resources like the public meetings and calendar. we can iterate on copy and decide what else to add over time