Spanner: Block nested transactions

Cloud spanner does not support nested transactions. Use a thread-local
flag to check and throw exception. The flag is set to true when a transaction begins running. The checks are present when the possibly nested transactions are being prepared.
Single and batch transactions have slightly different paths, so the check is needed in two places.

@jcorwin

@pongad Has my new commit addressed your comments adequately?

@nithinsujir Hey sorry. I think the code looks good. There's a merge conflict though. Could you take a look? I think I can merge after that.

Resolved the conflict.


Allow configuration of which SD model to use

Closes #49 The syntax isn't quite the same (opting for --weights over --model), rationale being that --weights is more in-line with the existing naming convention.
An outstanding concern is whether the config/v1-inference.yaml will change, although I'm of the opinion that if it does need to change, adding an argument flag is simple, and at this point in time unnecessary.
Both of the below are valid:
--weights SD13
--weights C:/StableDiffusion/models/ldm/stable-diffusion-v1/SD13.ckpt

@maddavid123 I've reviewed and all looks good, and will merge with main.
I'm thinking that there's probably a more general solution to the issue of new models appearing (I know that 1.5 is imminent). What would you think about having a global JSON or YAML configuration file that attaches a label to the pairing between a weights file and its configuration file? Something along these lines:
{
   "laion400m":
           {
                "config": "configs/latent-diffusion/txt2img-1p4B-eval.yaml",
                "weights": "models/ldm/text2img-large/model.ckpt",
                "width": 256,
                "height": 256
           },
  "stable-diffusion-1.4":
      {
                "config": "configs/stable-diffusion/v1-inference.yaml",
                "weights": "mmodels/ldm/stable-diffusion-v1.4/model.ckpt",
                "width": 512,
                "height": 512
           },
  "stable-diffusion-1.5":
      {
                "config": "configs/stable-diffusion/v1-inference.yaml",
                "weights": "mmodels/ldm/stable-diffusion-v1.5/model.ckpt",
                "width": 512,
                "height": 512
           }
}

Then we select whichever model we want using --model=stable-diffusion-1.5.
Interested in working on this?

I do think that utilising yaml or some similar data format would probably be the most scalable approach here.
Sounds good. Will take a crack at this tonight, should be simple enough considering OmegaConf is already being imported.

Any preference where in the repo the yaml file lives?
Also, if we are to go with a yaml file approach, do we wish to deprecate --weights & --laion400m? Or do we wish to support these in tandem?


multitrack in play_utilities.py produces a player where the tracks are not snychronized

Describe the bug
Take 2 copies of the same audio signal. Hand them to multitrack to produce a 2-track player. Play both tracks simultaneously. There's an echo. Ergo, the tracks are playing a touch out of synch.
Steps To Reproduce
Do this in a python notebook.
import nussl
import matplotlib.pyplot as plt
import numpy as np
from pprint import pprint
from common import viz

signal = nussl.AudioSignal('path/to/file.wav')
signal.stft()
viz.show_sources({'copy A': signal, 'copy B': signal})

Now...run the audio player with both tracks playing.
Expected behavior
You should hear only one signal
What did happen
You hear a signal with an echo.
Audio output
Run it for yourself.
Software versions*
I ran this in Google CoLab
Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
Python 3.6.9 (default, Oct  8 2020, 12:12:24)
[GCC 8.4.0]
NumPy 1.19.4
SciPy 1.4.1
nussl 1.1.3rc5

Hi there, I'm having an issue with common.viz.show_sources too, but it's another one. Only the graphs are printed, not the player, like here.
I'm having a real trouble finding the documentation or even source code of this package (which has an unfortunate name...). I'm running nussl in a scipy-notebook jupyter docker container in which I also installed nussl in the image.
Best thing I got for now is that the module seems to be loaded from /opt/conda/lib/python3.8/site-packages/common/.
Have you got any luck finding the source perhaps ?

Hi @bryan-pardo, yeah the multitrack player can be improved for sure...it's down to using media elements to play the audio instead of using something more robust like Web Audio API. It's a bit low on the priority list right now, but I have an attempt lying around using trackswitch.js. Usually, with the current multitrack player, I can fix it by just stopping and restarting it.
@Atralb, the common library is not a pip library, rather it's just a set of utilities that was helpful for writing the source separation book. Here is the "library": https://github.com/source-separation/tutorial (under the common package). It gets installed when you clone the tutorial and install it via pip install -e .. By the way, it seems like you're using conda but not using conda environments. I recommend using conda environments to avoid any issues.
As for your issue, I've seen that happen sometimes in other browsers. Usually rerunning the code cell works. The multitrack player sometimes goes away when you refresh the page, when running it in a notebook.
I'm going to rename this issue to "Improve multitrack player", self-assign it, and keep track of progress here.

@pseeth Thanks a lot for the answer ! Of course, I forgot to check in source-separation/tutorial, dummy me...
And you're actually right about the player... reloading now makes it appear. I had reloading a second time when I encountered the issue and directly assumed this was an issue with my installation afterwards. Sorry for having gone too fast :/
As for conda and envs, I'm actually running a jupyter notebook server in an ad hoc docker container with a custom image based on scipy-notebook from jupyter/docker-stacks over which I added nussl, so that's why I don't need a virtual env.
PS: By the way, if you'd rather I moved my own message in a specific issue to separate it from bryan-pardo's one, I can :). Whatever you prefer.


Provide advice for developers on customizing the "assemble" / "npm install" step

As a bower user, how do I ensure that "bower install" will be run as a part of my build step?
(same issue for gulp, grunt, browserify, etc...)
Top options include:

define a postinstall script (to run after npm install): https://docs.npmjs.com/misc/scripts
define an install script (to run instead of npm install): https://docs.npmjs.com/misc/scripts

Maybe we need a good example app to point folks to?
@spadgett

Yes, an example will be good! Thanks! :+1:


Bug of python/triton/ops/blocksparse/matmul.py

The line 324 of python/triton/ops/blocksparse/matmul.py https://github.com/openai/triton/blob/5b29da719daeb3566bfc95b7d02f3561e505bcaf/python/triton/ops/blocksparse/matmul.py#L324
may be c.stride(1), ?

closing, as the code has been refactored already


Feature-request: Ability to set custom headers when reverse proxying

Nginx does not handle X-Forwarded-Host well.
It seems i cannot get server_name directive to look at X-Forwarded-Host instead of Host.
Thats why it would be nice to somehow per route be able to inject custom headers (In my usecase Host).

Hey there. Let me take this on board, and think about it. I'm trying to keep devd as lean as possible, so I want to be careful about adding general abilities like header rewriting.
In the meantime, have a look at the nginx htttp realip module, which I think does exactly what you want. Please do re-open this ticket if you feel this doesn't do what you need.

Yeah i completely understand. Its a complex thing needing new syntax etc for routes.
I managed to solve it with a generic server block catching all and then proxying to itself. That way i could set Host to X-Forwarded-Host and then the other server-blocks looking at the Host header could see and use it.
The reali module does not solve that. It only makes sure the correct source IP can be accessable by the application. It does not modify the Host header before the server_name is processed.
server {
    listen       80;
    server_name  _;

    location / {
		proxy_set_header Host $http_x_forwarded_host;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Real-IP  $remote_addr;
		proxy_pass   http://<IP_ADDRESS>:80;
    }

}


Allow css variable in style binding (object syntax)

I am not sure if this is intentional, I would like to be able to do:

…

instead of:

…

I was able to find the workaround quickly thanks to the doc search here: http://vuejs.org/guide/migration.html#v-bind-style-with-Object-Syntax-and-important-deprecated
It's a bit different from !important so I would like to push for this feature.
Thanks a lot for your good work, I can work on a PR if you agree with this proposition.

--color ?  this is not a valid css property name

@defcc --color is a CSS3 variable syntax.

I'm not sure if this should be supported – the current style binding only supports CSS properties. Reopening this, however, so that @yyx990803 and other members can chime in with their ideas.

My mistake. Then this should be a bug.

@phanan I believe the correct syntax is var(--color) and it's css4 not 3.

AFAIK var(--color) is the usage, --color: #fff is the definition syntax. I'm not sure about 4vs3, but it shouldn't affect our main issue here anyway.

Fixed in 4b8eb75


Mismatched IdToken expiration date with the reported IdTokenExpiresAt property

When using the LoginAsync call, an Auth0User is successfully returned, along with a valid IdToken, however the IdTokenExpiresAt doesn't match the IdToken's embedded expiration date and time.
Call
Dim myUser As Global.Auth0.Windows.Auth0User = Await client.LoginAsync(ParentForm,, , myParams, True, strDevice)
Partial Results (myUser serialized to Json)
"Auth0AccessToken": "Fam1mw..",
"IdToken": "eyJ0eXAiOiJKV...",
"IdTokenExpiresAt": "9999-12-31T23:59:59.9999999",
"Profile": {
It looks like a default value versus a populated value.
Is this an issue you see?
thx
Chris

@cmlindstrom It appears you are using the old libraries. The new OidcClient libraries does not have an Auth0User class. Can you please double-check for me what NuGet package you are using?
You can find the correct WPF / Windows Forms instructions over here:
https://auth0.com/docs/quickstart/native/wpf-winforms

Thanks I’m using the latest stable version of the library 0.9.0 (Auth0.WinformsOrWPF) – Auth0.Windows.dll v<IP_ADDRESS> is referenced.
<EMAIL_ADDRESS>What am I missing?
Thx
Chris
From: Jerrie Pelser<EMAIL_ADDRESS>Sent: Wednesday, February 7, 2018 10:04 PM
To: auth0-community/auth0-WinFormsWPF-oidc-samples<EMAIL_ADDRESS>Cc: Chris Lindstrom<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [auth0-community/auth0-WinFormsWPF-oidc-samples] Mismatched IdToken expiration date with the reported IdTokenExpiresAt property (#4)
@cmlindstromhttps://github.com/cmlindstrom It appears you are using the old libraries. The new OidcClient libraries does not have an Auth0User class. Can you please double-check for me what NuGet package you are using?
You can find the correct WPF / Windows Forms instructions over here:
https://auth0.com/docs/quickstart/native/wpf-winforms
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/auth0-community/auth0-WinFormsWPF-oidc-samples/issues/4#issuecomment-363987795, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB8t0JnYMgIW3t0xZhYe35RU83OEhWcjks5tSmQCgaJpZM4R44SC.

As I said, you are using an old library. Please follow the steps in the Quickstart I linked before which will show you how to use the correct library


[BUG] english-verb-helper imports extraneous dependencies.

Describe the bug
english-verb-helper imports types from english-verbs-gerunds and english-verbs-irregular, but does not list those packages as dependencies (it does list them as devDependencies).
To Reproduce

Import mergeVerbsData from english-verb-helper in a TypeScript project that does not also require english-verbs-gerunds and english-verbs-irregular.
Pass unworkable values for the arguments.  There will be no error as the types of those arguments, EnglishGerunds and EnglishVerbsIrregular, cannot be found.

Expected behavior
english-verb-helper should have english-verbs-gerunds and english-verbs-irregular as dependencies, or redeclare the types from those packages.
Code
Context:

RosaeNLG version: N/A
Language: N/A
Packaging: Node.js

Additional context

Thanks @wtgtybhertgeghgtwtg
These resources are not declared as dependencies so that they are not automatically bundled in a browser package (in a browser package, often, you may wish to only include verbs that are really used in your project).
I decided to redeclare the types from those packages.
Can you please check the PR #132 and tell me if it looks ok?

I copied it to my local version and it works here.  Thank you for the quick fix.


[Bug] react-static not working in AWS Lambda

Following the current documentation on https://github.com/nozzle/react-static/blob/master/docs/guides/aws-lambda.md I found some issues that I was able to work around (and updated the docs)
However, there are still issues due to the nature of AWS Lambda. I found an issue with path.relative() https://github.com/nodejs/help/issues/1872 which is used in two key places: extractTemplates.js and generateBrowserPlugins.js to write relative paths for module resolution.
After making those absolute (and here's just an approach I took) I found the following error:
Module not found: Error: Can't resolve '/var/folders/kf/63t7gr_j6611gsbcfdptwkfh9rrg8x/T/src/index.js' in '/Users/tomas/WORK/react-whatever/node_modules/react-static/lib'

Would be nice to either update the docs saying react-static doesn't support AWS Lambda, or show a full working example.
Using:
  pathConfig = {
    root: require('fs').realpathSync(os.tmpdir()),
    nodeModules: __dirname + '/node_modules'
  }

seems to work better for Lambda, but throws an error on any JSX file inside my src

After further investigation, fixed it with:
const tmp = require('fs').realpathSync(os.tmpdir());
  pathConfig = {
    dist: tmp + '/dist',
    temp: tmp + '/tmp',
    buildArtifacts: tmp + '/artifacts',
    devDist: tmp + '/dev-dist',
    assets: tmp + '/dist'
  }

Basically, there are some paths that are written to, and some that are read from. This is not intuitive but those reading from (such as src) need to be local (not changing the root); whereas the ones that react-static needs to write to, must be coming from tmp on Lambda.


MRG Projs topomap

Fixes the figure handle for plot_projs_topomap

oops, let me fix the branch

you need to rebase :)

LGTM +1 for merge once travis is happy
thanks for the fix.

merge when travis is happy

Coverage decreased (-0.05%) to 90.24% when pulling 6287d3d6956b6868321af357a8a96d140212a2c7 on teonlamont:projs_topomap into 5012fdaf5f05fb10a85ab9e18fdb8c3829d6c2d4 on mne-tools:master.

Coverage decreased (-0.05%) to 90.24% when pulling 6287d3d6956b6868321af357a8a96d140212a2c7 on teonlamont:projs_topomap into 5012fdaf5f05fb10a85ab9e18fdb8c3829d6c2d4 on mne-tools:master.

thanks @teonlamont, if we can keep up this pace and we might actually get a release out :)


Added codeigniter as a framework

Since Codeigniter is a well known and popular framework for PHP. I added it to the frameworks section.

Since Codeigniter is a well known and popular framework for PHP. I added it to the frameworks section.

It seems duplicate of https://github.com/ziadoz/awesome-php/pull/786 👀

Still codeigniter hasn't been added right?

There are no plans to add CodeIgnitor. Thanks for the suggestion though.

What are the reasons ?


Size of the Library

It is advisable to have a library such that it has minimal impact on the App size, this library has almost 35 KB of JAR size + around 4.3MB of Dependencies JAR Size, so it is suggested to make them modular some way i.e if I want to have that Toast functionality, then I'll have to import the whole library although I have no use of RecyclerView Whatsoever so this will basically create an overhead for my app.
If you get what I mean

The utility files are independent of each other and every feature has its own file, so if you want only the toast functionality the go ahead and download the ToastUtils.kt file and place it into your project. Also make sure Kotlin support is enabled in your project.

Yes that could be a way, but that won't be a library then, that would work as a Gist or file which we have to copy in our project, ain't it?

Anyways good job Mr Developer, that would ease of many things 🥇  Thanks 👍

This library covers API's that are used on a daily basis and are essential when developing any kind of app, so to a wider developers it will serve as is, but anybody is welcomed to just use the parts that are required.


Fix NCCL version check when nccl.h in non-standard location

FindNCCL.cmake was inspired from PyTorch's FindNCCL.cmake from back in 2019 it seems.
But this means that upstream fixes like https://github.com/pytorch/pytorch/pull/40982 haven't been included.
This PR adds the fix from https://github.com/pytorch/pytorch/pull/40982, plus a couple of changes so that NCCL is properly picked if installed in a non-standard location.

Thank you for helping improving.


[Request] Please stop tagging major versions for feature/patch releases

Is this feature missing in the latest version?

[X] I'm using the latest release

Is your feature request related to a problem? Please describe.
The barrage of supposedly "major" release bumps for largely small feature or patch level changes is quite obnoxious and creates churn in downstream dependencies that is completely unnecessary.
Almost all of the releases I've reviewed have been non-breaking and required no change to projects using them. I've seen a couple breaking releases go through, but maybe on the order of 3 in more than a dozen I've scrutinized.
Describe the solution you'd like?
Making downstream projects review things for breakage when there is none is a pain. Please don't tag major versions unless a notable portion of usage is expected to have to make config changes to get expected results.
Describe alternatives you've considered?
GH Actions recommends a semver scheme with a sliding major-version tag that moves to the latest semver tag in that series, so for example a v20 tag would follow along between v20.0.0, v20.1.2, v20.2.0, etc. This makes it easier for projects with specific requirements to stick with a specific version while letting most projects just go along with the series until something breaking comes along.
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Yo! If you're going to have a bot that asks people to star it should at least check that people haven't done so already. It's public record and any bot could see that I have. Now I'm tempted to unstar.


Finish test coverage for TaskStatusChangeHandlerAsync

I believe this pull request finishes #787 but you may want to review it first.

@rmcc13, I've made some individual annotations on different commit that are part of this PR. One thing you can do is remove the comments from the unit test code. You code is clear enough that other devs should understand what you're testing and why you're testing it.
Great job on getting full test coverage on this handler. There is a lot going on in there, and now we have test coverage.

@rmcc13 let me know if you want to make any changes before I accept this PR?

@tonysurma, we can always implement any of my suggestions later. What @rmcc13 wrote works, and it gets this handler to full test coverage so we can accept the PR as-is.

okay I am accepting now.  thanks @rmcc13

@rmcc13 and @mgmccarthy looks like we have a failing unit test after the merge.  Can youi take a peek?
https://ci.appveyor.com/project/HTBox/allready/build/<IP_ADDRESS>2.master/tests

@tonysurma, back at work behind and impenetrable proxy... so I can't fix it now, but I know why it's failing.
For a quick fix, just comment out any assertions make on the DateTIme stuff in the unit test that's failing.
For a better fix, DateTime should be tested like it is in  UpdateMyTasksHandlerAsync and UpdateMyTasksHandlerAsyncShould

appears transient as it is now working in the current build.  DateTime stuff is fun... not

@tonysurma @mgmccarthy Hey guys, sorry I haven't been responding today, been at work all day. I kind of assumed the Github Android App would give me notifications, guess not. I agree with the base constructor, I can remove that and the comments. I guess I just don't understand what the benefit of having a delegate for returning a UTC DateTime. It looks like it is only added for the benefit of sharing a date time between the application code and unit test code for testing date times, I could be wrong, but if that's right, I don't think that is a good strategy, and could potentially be harmful. Even with code reviews and developers doing their due diligence, this leaves the possibility for someone to do in application code what is being done in the test code and now there's inaccurate data in the system.
I think a better strategy would be to come up with some agreeable threshold for unit testing, definitely something larger than what I chose (1 second) that caused the test to fail. We could write a helper function or extension methods and tell people to use that to compare dates. And if, later down the line, it is decided the threshold should be increased or decreased, you only have to change it in one place as long as people use that.

@rmcc13, I disagree with establishing a threshold, b/c that threshold is outside of our control, no matter how amicable we make the threshold. The AppVeyor build machine can be under different loads at any time and we have no control over that.
I also disagree with the service based approach, as we already have access to DateTime.Now and DateTime.Utc now as programmers, which are themselves abstractions on how to grab those values at runtime. We want to avoid needless abstractions (or abstractions of abstractions)
However, I do agree that a delegate might not be the best way to go here. I am also open to a larger conversation about how to go about testing dates and times in unit tests. For instance, do we really need to unit test simple usages of DateTime.UtcNow?
Where I work we currently use the delegate-based approach, and I first discovered its usage while reading a blog Ayende wrote about the challenges of testing dates and times:
https://ayende.com/blog/3408/dealing-with-time-in-tests
For now, I'm going to remove the test for DateTime so we can keep moving forward here. @rmcc13, thanks for sharing your thoughts on this and for the great work on the unit tests for TaskStatusChangeHandlerAsync.
@BillWagner @MisterJames @stevejgordon any feedback about this?


controlled_runge_kutta complex State error with Eigen.

I get an error in Line 89:
return algebra.norm_inf( x_err );   cant convert std::complex to double
i attempted to work around this by inserted a abs()
return abs(algebra.norm_inf( x_err ));
is this correct?
My state type is Eigen::VectorXcd
my Value type is double.
I'm  using
#include <boost/numeric/odeint/external/eigen/eigen.hpp>
Thank you in advance and best Regards!

I think your workaround correctly works (with a negligible computational cost, though).
It seems that the problem originates in
https://github.com/boostorg/odeint/blob/2bbc186b43d7267e622c4e1ad9527e4a8ecc8c42/include/boost/numeric/odeint/external/eigen/eigen_algebra.hpp#L89
which defines the result type of the norm_inf(). Here B is the scalar type (which is std::complex<double> in your case), though lpNorm() of Eigen returns a real value (double), so the result type should be just double.


Allow to specify a regex pattern for the branch to check

If a pattern is specified only if the change is in a branch with matches the pattern, the hook check is executed. If no pattern is specified all branches are considered.


Add  detail to footer

I think we should add some social icon links related to the MLH fellowship

maybe you should add a link (icon) to the portfolio too


Multiprocessing.Queue Instead of Map Reduction

Original idea was each thread pulls from shared queue, ran into a bug with it though. Will further investigate. Might be linked to #1, and python being used inside Vim process.
However, for me it failed even on Linux. That's why I abandoned that original static process design.
Error message reported below. Though I think this might be another problem because python embedded inside VIM.
https://groups.google.com/forum/#!topic/comp.lang.python/Gm0G5rDqyBU

Done with threaded version. Though to be clear, I still prefer non-locking map reduction. Doesn't quite work when embedded inside vim.


How to get plain text of a chapter?

You get html of chapter using
htmlContentForPage(_ page: FolioReaderPage, htmlContent: String) -> String
Then you can extract text from html with a tool like HTMLReader
Hope this helps

Disclaimer: I am closing GH Issues on this project, I don't work full time on it and I haven't been able to update that recently if you would like to help to maintain that and to push the development of this project forward, just reach me out or open a PR and we can discuss it there.


Add camera config to store

Switching between the Liver-CT and Abdominal-MRI samples causes the view-up in the Coronal view to rotate weirdly.

@floryst Can you attach a screenshot? I am not resetting the center of rotate by design, but can change that is necessary.

OK, I an recreate it. Will take a look.

Repro steps on the deploy preview:

Load Liver-CT
Load Abdomen-MRI
Switch back to the Liver-CT dataset in the Patients & Images tab

I also discovered that the bottom two views (1) do not have the slice and window/level info, which makes me suspect some state isn't fully propagating to them.

Strange its only when you load a DICOM image ...

AFAIK I think the Abdomen-MRI is the only dataset that has a rotated orientation. I forget if the Liver-CT one is also rotated...

Ok, that makes sense. Restoring the specific view up for the dataset solves the issue for me.

@floryst Looks like there is one more issue with the slice that I need to resolve ...

@floryst Looks like there is one more issue with the slice that I need to resolve ...

Actually looks like that dataset only has two slices :-)

Are they hidden under the netifiy footer, this is what I am seeing? If you minimize to footer they are there or do you mean something else?

Ok, it is hidden under the netlify bar, thanks. Unfortunate that they do it that way. I had to hide the bar in order to see the text on my display.

LGTM!

Actually, there's an issue with the resize-to-fit functionality. When I load two datasets, resize to fit works just fine. When I pan in one view, it works as expected: resize to fit is disabled for just that view. When I switch datasets, suddenly resize-to-fit is disabled in all views.

@floryst So resize-to-fit is disabled if we restore a camera configuration from the store. The problem is we are receiving camera modification events for all views ( even though you only interact with one ) so resize-to-fit is disabled for all view. How is this manifesting itself as an issue in UI, new dataset are still resize to fit ? Resizing the window?

Resize to fit should be on a per-view basis. Though in thinking about what can be done, I think tabling it for now and re-visiting the resize-to-fit logic later would be the best approach.

I think we probably need a way for user to reset a view, which would resize-to-fit.

I think we probably need a way for user to reset a view, which would resize-to-fit.

Agreed. I'll merge this first, and then fix up the resize-to-fit logic to include a "reset view" concept.


Scaffolding issues/suggestion

Firstly, it seems to be almost exact copy of OpenBlocks' scaffolding, so it shares the issues. Namely, random timer until breakage, and dropping itself when it self-breaks. I would appreciate if it didn't drop an item on self-break, only on player break, thus not cluttering.
Secondly, it acts as a non-transparent block, i.e. kills grass underneath, the placement/break sound is unproportionately loud, and in-air placement causes ghost scaffolding blocks as well as non-synchronized scaffolding itemstack drops (i.e. requiring inventory refresh until it is visible in inventory), all in singleplayer.
Thirdly, it would be most useful if the scaffolding, instead of self-breaking at all (because if you do self-break correctly it becomes identical to Block of Sticks from Random Things), had the following properties:

Climbable like a ladder but faster.
Right-clicking without sneaking replaces it with the block it was clicked with (=said block is placed in its position), without dropping an item-form of scaffolding/said item-form going straight to player inventory.
Sneak-right-clicking with another scaffold only places said scaffold on the opposite side from the one clicked.
Trying to place scaffold on another scaffold while player is too close and blocks placement with themselves extending the scaffold stack instead (vertically if standing next to scaffolding, in the direction player's looking if standing on top of scaffolding for faster bridges).

"I would appreciate if it didn't drop an item on self-break, only on player break, thus not cluttering." , i like it, but a change like that id just make a second version of it, which is probably easier anyway

" in-air placement causes ghost scaffolding blocks as well as non-synchronized scaffolding itemstack drops (i.e. requiring inventory refresh until it is visible in inventory), all in singleplayer" fixable

"Climbable like a ladder but faster" ive wanted to make a block like this for a while. maybe it makes sense here

"acts as a non-transparent block, i.e. kills grass underneath" agree, it should let grass live just like glass does

" the placement/break sound is unproportionately loud", ill look into it, it (should follow block volume settings )

"Sneak-right-clicking with another scaffold only places said scaffold on the opposite side from the one clicked .... Trying to place scaffold on another scaffold while player is too close and blocks placement with themselves extending the scaffold stack instead (vertically if standing next to scaffolding, in the direction player's looking if standing on top of scaffolding for faster bridges).." this sounds fun. . also vertical building would be useful  to go with the ladder feature.

... Cool lots of little ideas in here, i commented on some of them. Ill look into some of these and some other ideas and see what happens (no promises :P )

There are now three types of scaffolding with different properties in 1.10.3  Check them out and let me know what you think
https://minecraft.curseforge.com/projects/cyclic/files/2377827


Fix typo

If only there was a compiler to catch a mistake like this. :sob:

Strange build failure here. Restarting...


Pass similar args to foreground as to console/start

I was using foreground in production to run with upstart and noticed a bit of contention and it turns out my code was constantly hitting the code server for protocols. This makes Foreground start the same way as start/console.

Thanks! Definitely should've been there!


Razor QuickInfo should not show "runtime only" TagHelpers

In LSP Razor editor we get QuickInfo from Razor/C# code (e.g. taghelper quickinfo) and HTML LSP server (tag descriptions, etc). Currently that data isn't combined, and in cases where a single tag contains QuickInfo from two sources, you randomly get only one of them
To Reproduce

Enable Razor LSP editor
New .Net Core MVC app
Open _ValidationScriptsPartial.cshtml
Hover over the bottom

This is actually by design now. We show all TagHelpers.


Add more envs

@riywo I've split the envs added in https://github.com/riywo/anyenv/pull/14 into this PR. I'd really love to see them merged.

@devinus Thanks!


Fix v5.12.x builds

It looks that https://github.com/Perl/perl5/commit/3be560d07ca5eca20068b127c631663618ab05f6 broke the v5.12.5 build ( ref.https://github.com/shogo82148/actions-setup-perl/issues/469 )
It also says "This was independently fixed by commit https://github.com/Perl/perl5/commit/68f8932eb570af656553ed44c11a23f0a216a3ec."


Style fixes

This change is

Reviewed 10 of 10 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1, line 117 [r1] (raw file):

}

# some internal helper function to do the actual work:

why are we removing regions?

DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1, line 124 [r1] (raw file):

    if (!$newValue)
    {
        return

Fix merge conflicts

Comments from Reviewable

DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1, line 117 [r1] (raw file):
Previously, TravisEz13 (Travis Plunk) wrote…
> why are we removing regions?

Where were they removed? I was just cleaning up the comment style so the code is more polished

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1, line 117 [r1] (raw file):
Previously, mbreakey3 (Mariah) wrote…
> Where were they removed? I was just cleaning up the comment style so the code is more polished

looks good now

Comments from Reviewable

Reviewed 8 of 10 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Add isFinal() to xrplClient

Address issue https://github.com/XRPLF/xrpl4j/issues/153
Also adds a basic test.

The above change is for AccountTransactionsIT


Add Logo json-ld

Add JSON-LD for logo, you can insert it on MetaHead component.
Utilize the next/head to insert meta data
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "url": "https://ksana.in",
      "logo": "https://ksana.in/images/square/ksana-192x192.png"
    }
    </script>

Reference: https://developers.google.com/search/docs/data-types/logo

Close on commit https://github.com/mazipan/ksana.in/commit/27b5a8b6dcd10c25c1721a287d8f0969e2dc6eba


Increase 'no_output_timeout' for CircleCI tests

Recently, I have been seeing JdbcTpchQueryForAllDatabasesTest test failing due to "Too long with no output (exceeded 10m0s)".
I think it is likely to be Impala (or maybe redshift) that struggles to run one of tpch sample queries in 10 minutes when they are multiple tests executing tpch queries at the same time.
Maybe we can increase the no_output_timeout value from the default 10 minutes to get around this issue. (say 20, 30 minutes)

Please do so if it can be simply done by .circleci config file.
Otherwise, we probably have to ask Barzan because I am not the owner of the
account.
On Mon, Aug 13, 2018 at 12:06 PM Dong Young Yoon<EMAIL_ADDRESS>wrote:

Recently, I have been seeing JdbcTpchQueryForAllDatabasesTest test
failing due to "Too long with no output (exceeded 10m0s)".
I think it is likely to be Impala (or maybe redshift) that struggles to
run one of tpch sample queries in 10 minutes when they are multiple tests
executing tpch queries at the same time.
Maybe we can increase the no_output_timeout value from the default 10
minutes to get around this issue. (say 20, 30 minutes)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mozafari/verdictdb/issues/214, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQYCns7d5WTRuYUHFIfN_ZtuU1xJWnFks5uQaQOgaJpZM4V6ynD
.

--
Yongjoo Park, Ph.D.
Research Fellow
Computer Science and Engineering
University of Michigan
2260 Hayward St.
Ann Arbor, MI 48109-2121
Office: 4957 Beyster
Phone:<PHONE_NUMBER>
Website: yongjoopark.com

It can be changed with .circle config file. I will make the change and create a pull request.

This has been merged.


SPI: support for ISR and work_queue driven transfers

Added an _is_locked variable to the SPI class which is a simple bit mask where the bit position corresponds to the SPI bus number. When running SPI::transfer from an ISR, LockMode is selected as LOCK_NONE (because you cannot pend on a sem in interrupt context). I have added a check for the _is_locked flag for the given bus when LockMode is none, thus preventing an ISR driven SPI::transfer from clobbering an already active transfer taking place in workqueue/task/etc.

Another option to consider is to simply prevent the SPI transfer from an interrupt. Once https://github.com/PX4/Firmware/pull/11571 is merged the only concern is 3rd party drivers rebased on newer PX4. I think it would be acceptable to fail at runtime with an error (or even assert) if it points to instructions that show how trivial it is to migrate.


[gametests] Filter doesn't work with the use_project_app_data_storage setting

When the user has the regolith config use_project_app_data_storage true setting enabled. The gametest filter won't be able to build the files. This is most likely because it uses a relative path to access regolith's config.json file.
This is most likely the source of the problem:
https://github.com/Bedrock-OSS/regolith-filters/blob/6ea215b6a7b09f49dd8514c8885839142729bea6/gametests/setup.js#L8
It should use the ROOT_DIR environment variable to get the path instead:
https://bedrock-oss.github.io/regolith/guide/custom-filters.html#filter-environment-variables

Fixed in f83d0b9.


Win-acme unable to connect to Lets Encrypt API - Chain issues after recent root expiry

Hi
After the expiry of the crossed signed Lets Encrypt ISRG Root cert last week, it looks like we are unable to get the win-acme agent to connect to the API. The connection is failing after trying to force TLS 1.2 and the event viewer shows chain issues.

Initial connection failed, retrying with TLS 1.2 forced
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid
The site certificates that have been generated via win-acme appear to be fine with the correct self-signed ISRG Root X1 certs, but the win-acme agent itself is having issues.
Is this is a known issue and are there any steps to resolve?
Thanks

Are you able to open https://acme-v02.api.letsencrypt.org/ in Internet Explorer on that machine?

I have also same problem, and couldn't connect that site in the browser.

Didn't try direct from a browser but i can connect to the API via a Powershell TCP connect which worked fine, does not invoke TLS or the cert chain though. Will try today and check out all the certs in the store. Considering the actual certs used by IIS are working fine I am assuming the windows store is fine, but will check.

Make sure you haven't moved ISRG Root X1 into Untrusted to try to get the android compatible chain to work, it breaks connections to the LE API.

Issue is resolved. Simple in the end once I got access, the ISRG Root X1 self-signed cert was missing from the trusted root store on one of the servers. After adding it, the agent can now connect successfully. Will wait to confirm that the renewal job runs overnight, but don't see any reason why it wouldn't.
We have two servers, same OS & agent versions with same configurations, but one had the new root and one didn't.
Any reason why win-acme wouldn't install the full chain on both, as we didn't manually install the root on either?

win-acme doesn't manage the trust root store at all. Typically that's done either by yourself or by Microsoft through Windows Update.


[fix](group commit) Fix group commit debug log and improve performance

Proposed changes

show query_id in the debug log of when group commit insert does not work
remove string.format to improve performance

run buildall


docs: chain upgrade for testnet 72

Describe your changes
Bumps the application version to v0.72.0, which is required because the changes in #4293 were merged into a release branch, and thus didn't land on main naturally. We'll backport that patch shortly.
More relevantly, the chain-upgrade docs now reference the "current" migration, which is 71 -> 72, with its own genesis time.
Issue ticket number and link
Refs #4239.
Checklist before requesting a review

[x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

docs only

Does this include the tweaking we had to do to the watermark file, or was that not necessary anymore?

Does this include the tweaking we had to do to the watermark file, or was that not necessary anymore?

That change landed in https://github.com/penumbra-zone/penumbra/pull/4267!


allOutputDevices is returning input devices

Hi, just updated to your refactored framework. It looks good. I like the syntax changes you've made.
One thing... I noticed that
let devices = simplyCA.allOutputDevices
returns input devices:
1 🎤  MacBook Air Microphone (54) UID: BuiltInMicrophoneDevice
 owning device id nil manufacturer Apple Inc. modelUID Digital Mic relatedDevices( [MacBook Air Microphone (54), MacBook Air Speakers (47)] output channels 0 input channels 1 output data sources nil input data sources [1768778083] controlList [56, 57, 58] isHidden( false has ownedObjectIDs true output jack connected nil input jack connected nil aggregateInputs:  [] aggregateOutputs []

2 👥 (Aggregate Device) 🎧+🎤  CADefaultDeviceAggregate-31643-0 (80) UID: CADefaultDeviceAggregate-31643-0
 owning device id nil manufacturer Apple Inc. modelUID nil relatedDevices( [CADefaultDeviceAggregate-31643-0 (80)] output channels 2 input channels 1 output data sources nil input data sources nil controlList [] isHidden( false has ownedObjectIDs true output jack connected nil input jack connected nil aggregateInputs:  ["🎤 MacBook Air Microphone (83) UID:BuiltInMicrophoneDevice"] aggregateOutputs ["🎧 External Headphones (84) UID:BuiltInHeadphoneOutputDevice"]

I looked at the source code and I don't see the problem though?
This works:
        simplyCA.allNonAggregateDevices.filter { $0.channels(scope: .output) > 0 }

outputs:
1 🎧  LG Ultra HD (65) UID: 1E6D095B-0000-0000-081B-0104B53C2278
 owning device id nil manufacturer GSM modelUID nil relatedDevices( [LG Ultra HD (65)] output channels 2 input channels 0 output data sources nil input data sources nil controlList [67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79] isHidden( false has ownedObjectIDs true output jack connected nil input jack connected nil aggregateInputs:  [] aggregateOutputs []

2 🎧 👉 External Headphones (59) UID: BuiltInHeadphoneOutputDevice
 owning device id nil manufacturer Apple Inc. modelUID Codec Output relatedDevices( [External Headphones (59)] output channels 2 input channels 0 output data sources [1751412846] input data sources nil controlList [61, 62, 63, 64] isHidden( false has ownedObjectIDs true output jack connected nil input jack connected nil aggregateInputs:  [] aggregateOutputs []

3 🎧  MacBook Air Speakers (47) UID: BuiltInSpeakerDevice
 owning device id nil manufacturer Apple Inc. modelUID Speaker relatedDevices( [MacBook Air Speakers (47), MacBook Air Microphone (54)] output channels 2 input channels 0 output data sources [1769173099] input data sources nil controlList [49, 50, 51, 52, 53] isHidden( false has ownedObjectIDs true output jack connected nil input jack connected nil aggregateInputs:  [] aggregateOutputs []

Is the released SPM version a bit behind? I just did the default of:

oh nevermind, i see that it was in a PR and merged to develop!. Must not be in the main SPM yet...

@ryanfrancesconi Yes, it hasn't been merged yet. I'll do a 4.0.1 release including this fix over the weekend. In the meantime you may use the develop branch. Thanks for the heads up 👍


fuzz: support id synonyms other than those obtained via OpCopyObject

spirv-fuzz has a pass that uses OpCopyObject to make ids that are synonymous with existing ids, and another pass to apply such synonyms.
There is scope for making synonyms in a more interesting fashion, for example by creating a composite out of a bunch of available ids, such that each id from which the composite was made is synonymous with some index of the composite.

This has been subsumed by a number of follow-on issues.


[TASK] Remove development notes from the chart before releasing it

Related to:
Support team request.
Overview:
Some of our users are confused by the development notes in the chart values and manifests (e.g., TODO and NOTE sections).
Actions:

Remove development notes from the chart before releasing it (that could be done in the release pipeline just before the release).

Hey @aabouzaid ,
I identified all the files that have TODO and NOTES below. For the ones in the test directory I am guessing we can ignore these since its our unit test.
Files to ignore
./test/unit/web-modeler/golden/deployment-webapp.golden.yaml
./test/unit/connectors/goldenfiles_test.go
./test/unit/identity/golden/deployment.golden.yaml
./test/unit/keycloak_statefulset_test.go
./test/unit/operate/configmap_test.go
./test/unit/tasklist/configmap_test.go
./test/unit/ingress_test.go
./test/integration/testsuites/core/testsuites/core.yaml
./test/integration/testsuites/base/job.yaml
./test/integration/testsuites/preflight/testsuites/preflight.yaml
./test/integration/scenarios/vars/dynamic.env
./test/integration/scenarios/chart-with-web-modeler/values-web-modeler-enabled.yaml
./test/integration/scenarios/lib/chart-upgrade-taskfile.yaml
./test/integration/scenarios/lib/testsuite-deploy-taskfile.yaml
./test/integration/scenarios/fixtures/values-integration-test.yaml
Files to remove TODO and NOTES + additional lines
./Chart.yaml
./charts/identity/templates/deployment.yaml
./charts/identity/templates/configmap-env-vars.yaml
./templates/web-modeler/deployment-webapp.yaml
./templates/connectors/_helpers.tpl
./templates/release-configmap.yaml
./templates/operate/deployment.yaml
./templates/tasklist/deployment.yaml
./templates/console/_helpers.tpl
./values.yaml
my thoughts were using sed to edit and remove the lines and maybe have an output on the changes of the files. Are there any notes/todos we want to keep is the real question or keep a log of them?


Update the UI of profile section

Describe the bug
Update the UI of the profile section which looks similar to leetcode profile section.
To Reproduce
Steps to reproduce the behavior:

Go to client
Run the client side
Go the profile
See the section

Current behavior

The sidebar bottom part is moving up when coming to /profile
the sections are not in the cards.
Loading is showing instead of skeleton

Screenshots

Viable Solution

fix the profile and logo at the bottom.
make the profile section look like leetcode profile.
adjust the various components of profile for a better UI/UX.
if initially data is not provided then show skeleton instead of loading...

Additional context
Add any other context about the problem here.
leetcode profile section:

shadcn skeleton component link:
https://ui.shadcn.com/docs/components/skeleton

Pls assign me

ok assigned.

This Issue can be closed now


Implement QSPI for STM32H7

The code is copy and modified from STM32F7.
I tested on my board with W25Q128 flash chip.

Note:
CONFIG_STM32[H7| F7]_QSPI_FLASH_SIZE define in both H7 and F7 will cause a problem, because the range (1-2147483648)  is too big. This problem will cause this filed becomes a negative number and not editable. But this value can be manually changed in .config file.


Appveyor CI (experimental, don't pull)

This is a test with caching.

The Appveyor cache does not seem to work currently. According to the documentation, it is only enabled for new user accounts by default. @zdenop, you have to apply to get it enabled for your account.

applied.
Zdenko
On Sat, May 6, 2017 at 9:02 AM, Stefan Weil<EMAIL_ADDRESS>wrote:

The Appveyor cache https://www.appveyor.com/docs/build-cache/ does not
seem to work currently. According to the documentation
https://www.appveyor.com/blog/2016/09/28/the-new-build-cache/, it is
only enabled for new user accounts by default. @zdenop
https://github.com/zdenop, you have to apply to get it enabled for your
account.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/pull/890#issuecomment-299620799,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjCzAfq1jpyiE1PGrRmM0lNTIWV4O1Dks5r3BsigaJpZM4NSpiD
.

So, can we merge this?

Ok, cache is up'n'running, so build time for windows is only 4 minutes now.
https://ci.appveyor.com/project/zdenop/tesseract/build/master.843

Wow!

Yes. :) Thanks, Stefan!
I'm activating training tools for building too.

By the way: I think 0 warnings is not normal. Are they suppressed by compiler options? Then I suggest to raise to the next warning level.

Ok, done.

Also this means that we have full set of training tools in artifacts section of every build.
https://appveyorcidata.blob.core.windows.net/zdenop-27740/tesseract/master-844/m23d78nft28axsd6/build/bin/tesseract-master.844.zip
So people could download binaries from there.

This is great. Is there a generic link to artifacts section that can be
added to the wiki?
ShreeDevi

भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Sat, May 6, 2017 at 5:19 PM, Egor Pugin<EMAIL_ADDRESS>wrote:

Also this means that we have full set of training tools in artifacts
section of every build.
https://appveyorcidata.blob.core.windows.net/zdenop-27740/
tesseract/master-844/m23d78nft28axsd6/build/bin/tesseract-master.844.zip
So people could download binaries from there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/pull/890#issuecomment-299634620,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2_o7k6256ztJKTo_rYGqI1ITy54m--ks5r3F4tgaJpZM4NSpiD
.

FYI: According reply from Appveyor:

Build cache is already enabled for all AppVeyor accounts.
The issue is that it won’t be saved during PR build.

Saved, but not loaded.
We care only about loading cache.

Hi Egor,
I downloaded the zip file for tesseract-master.848.zip
It has some of the training tools, but not text2image .
$ ls -l
total 40036
-rwxr-xr-x 1 vvkum 197611    14336 May  7 20:14 ambiguous_words.exe*
-rwxr-xr-x 1 vvkum 197611    33792 May  7 20:14 classifier_tester.exe*
-rwxr-xr-x 1 vvkum 197611    28160 May  7 20:14 cntraining.exe*
-rwxr-xr-x 1 vvkum 197611    13824 May  7 20:14 combine_tessdata.exe*
-rwxr-xr-x 1 vvkum 197611    14336 May  7 20:14 dawg2wordlist.exe*
-rwxr-xr-x 1 vvkum 197611    31744 May  7 20:14 lstmeval.exe*
-rwxr-xr-x 1 vvkum 197611    50688 May  7 20:14 lstmtraining.exe*
-rwxr-xr-x 1 vvkum 197611    45056 May  7 20:14 mftraining.exe*
-rwxr-xr-x 1 vvkum 197611   406016 May  7 20:14
pvt.cppan.demo.behdad.harfbuzz-1.4.5.dll*
-rwxr-xr-x 1 vvkum 197611    58880 May  7 20:14
pvt.cppan.demo.bzip2-1.0.6.dll*
-rwxr-xr-x 1 vvkum 197611  1098240 May  7 20:14
pvt.cppan.demo.cairographics.cairo-1.15.4.dll*
-rwxr-xr-x 1 vvkum 197611  1929728 May  7 20:14
pvt.cppan.demo.danbloomberg.leptonica-1.74.1.dll*
-rwxr-xr-x 1 vvkum 197611   114176 May  7 20:14
pvt.cppan.demo.expat-2.2.0.dll*
-rwxr-xr-x 1 vvkum 197611   221184 May  7 20:14
pvt.cppan.demo.freedesktop.fontconfig.fontconfig-2.12.1.dll*
-rwxr-xr-x 1 vvkum 197611   489984 May  7 20:14
pvt.cppan.demo.freetype-2.7.1.dll*
-rwxr-xr-x 1 vvkum 197611   929792 May  7 20:14
pvt.cppan.demo.gnome.glib.glib-2.50.3.dll*
-rwxr-xr-x 1 vvkum 197611   214528 May  7 20:14
pvt.cppan.demo.gnome.glib.gobject-2.50.3.dll*
-rwxr-xr-x 1 vvkum 197611   236544 May  7 20:14
pvt.cppan.demo.gnome.pango.pango-1.40.3.dll*
-rwxr-xr-x 1 vvkum 197611    83968 May  7 20:14
pvt.cppan.demo.gnome.pango.pangocairo-1.40.3.dll*
-rwxr-xr-x 1 vvkum 197611    64000 May  7 20:14
pvt.cppan.demo.gnome.pango.pangoft2-1.40.3.dll*
-rwxr-xr-x 1 vvkum 197611    51200 May  7 20:14
pvt.cppan.demo.gnu.gettext.intl-0.19.8.dll*
-rwxr-xr-x 1 vvkum 197611     9728 May  7 20:14
pvt.cppan.demo.gnu.iconv.libcharset-1.15.0.dll*
-rwxr-xr-x 1 vvkum 197611   919040 May  7 20:14
pvt.cppan.demo.gnu.iconv.libiconv-1.15.0.dll*
-rwxr-xr-x 1 vvkum 197611   251904 May  7 20:14
pvt.cppan.demo.jpeg-9.2.0.dll*
-rwxr-xr-x 1 vvkum 197611    73728 May  7 20:14
pvt.cppan.demo.madler.zlib-1.2.11.dll*
-rwxr-xr-x 1 vvkum 197611   159744 May  7 20:14
pvt.cppan.demo.openjpeg.openjp2-2.1.2.dll*
-rwxr-xr-x 1 vvkum 197611   234496 May  7 20:14
pvt.cppan.demo.pcre.pcre-8.39.0.dll*
-rwxr-xr-x 1 vvkum 197611   157696 May  7 20:14
pvt.cppan.demo.png-1.6.28.dll*
-rwxr-xr-x 1 vvkum 197611   332800 May  7 20:14
pvt.cppan.demo.tiff-4.0.7.dll*
-rwxr-xr-x 1 vvkum 197611  1254400 May  7 20:14
pvt.cppan.demo.unicode.icu.common-59.1.0.dll*
-rwxr-xr-x 1 vvkum<PHONE_NUMBER>3760 May  7 20:14
pvt.cppan.demo.unicode.icu.data-59.1.0.dll*
-rwxr-xr-x 1 vvkum 197611  1790464 May  7 20:14
pvt.cppan.demo.unicode.icu.i18n-59.1.0.dll*
-rwxr-xr-x 1 vvkum 197611   428032 May  7 20:14
pvt.cppan.demo.webp-0.6.0.dll*
-rwxr-xr-x 1 vvkum 197611    24064 May  7 20:14
pvt.cppan.demo.weltling.winlibs.libffi-3.2.1.dll*
-rwxr-xr-x 1 vvkum 197611   130048 May  7 20:14
pvt.cppan.demo.xz_utils.lzma-5.2.2.dll*
-rwxr-xr-x 1 vvkum 197611    37376 May  7 20:14
set_unicharset_properties.exe*
-rwxr-xr-x 1 vvkum 197611    30720 May  7 20:14 shapeclustering.exe*
-rwxr-xr-x 1 vvkum 197611    29184 May  7 20:14 tesseract.exe*
-rwxr-xr-x 1 vvkum 197611  2598400 May  7 20:14 tesseract400.dll*
-rwxr-xr-x 1 vvkum 197611    11264 May  7 20:14 unicharset_extractor.exe*
-rwxr-xr-x 1 vvkum 197611    18432 May  7 20:14 wordlist2dawg.exe*
ShreeDevi

भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Sat, May 6, 2017 at 5:19 PM, Egor Pugin<EMAIL_ADDRESS>wrote:

Also this means that we have full set of training tools in artifacts
section of every build.
https://appveyorcidata.blob.core.windows.net/zdenop-27740/
tesseract/master-844/m23d78nft28axsd6/build/bin/tesseract-master.844.zip
So people could download binaries from there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/pull/890#issuecomment-299634620,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2_o7k6256ztJKTo_rYGqI1ITy54m--ks5r3F4tgaJpZM4NSpiD
.

True. I'll fix.

text2image is obviously not built, maybe because pkg-config is missing.

Ok, fixed. Thanks, @Shreeshrii!
Also backported to 3.05 branch.

I tried just now to use `git bash' (https://git-for-windows.github.io/) under windows with tesstrain.sh script for training. Works after putting the exe and dll files in the bin directory.
This makes it possible for those using windows to try LSTM training using tesstrain.sh.
Thank you all for your work in making it possible.

@egorpugin https://ci.appveyor.com/project/zdenop/tesseract/build/3.05.851 failed.

Fixed.

Please also check if some setting needs to be changed so that 'info'
messages from leptonica are not displayed. The version built with automake
does not have these.
eg.
File
C:/Users/vvkum/AppData/Local/Temp/tmp.Q59kWa5fdq/hin/hin.FreeSerif.exp0.lstmf
page 218 :
Mean rms=5.246%, delta=46.464%, train=104.341%(100%), skip ratio=0%
Info in fopenReadFromMemory: work-around: writing to a temp file
Iteration 188: ALIGNED TRUTH : गई हैं. एशिया डैनियल श्रिया था. हैं.
Iteration 188: BEST OCR TEXT :
File
C:/Users/vvkum/AppData/Local/Temp/tmp.Q59kWa5fdq/hin/hin.FreeSerif.exp0.lstmf
page 94 :
Mean rms=5.245%, delta=46.466%, train=104.318%(100%), skip ratio=0%
Info in fopenReadFromMemory: work-around: writing to a temp file
Iteration 189: ALIGNED TRUTH : फ्लेमिंग लिया। बर्बाद स्पोर्ट्स %>
Iteration 189: BEST OCR TEXT :
File
C:/Users/vvkum/AppData/Local/Temp/tmp.Q59kWa5fdq/hin/hin.FreeSerif.exp0.lstmf
page 208 :
Mean rms=5.243%, delta=46.436%, train=104.295%(100%), skip ratio=0%
Info in fopenReadFromMemory: work-around: writing to a temp file
Iteration 190: ALIGNED TRUTH : हैप्पी सुर्ख घर मिलता हुई। के
Iteration 190: BEST OCR TEXT :

https://github.com/tesseract-ocr/tesseract/pull/543
related to info messages from leptonica
ShreeDevi

भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Sun, May 7, 2017 at 11:57 PM, ShreeDevi Kumar<EMAIL_ADDRESS>wrote:

Please also check if some setting needs to be changed so that 'info'
messages from leptonica are not displayed. The version built with automake
does not have these.
eg.
File C:/Users/vvkum/AppData/Local/Temp/tmp.Q59kWa5fdq/hin/hin.FreeSerif.exp0.lstmf
page 218 :
Mean rms=5.246%, delta=46.464%, train=104.341%(100%), skip ratio=0%
Info in fopenReadFromMemory: work-around: writing to a temp file
Iteration 188: ALIGNED TRUTH : गई हैं. एशिया डैनियल श्रिया था. हैं.
Iteration 188: BEST OCR TEXT :
File C:/Users/vvkum/AppData/Local/Temp/tmp.Q59kWa5fdq/hin/hin.FreeSerif.exp0.lstmf
page 94 :
Mean rms=5.245%, delta=46.466%, train=104.318%(100%), skip ratio=0%
Info in fopenReadFromMemory: work-around: writing to a temp file
Iteration 189: ALIGNED TRUTH : फ्लेमिंग लिया। बर्बाद स्पोर्ट्स %>
Iteration 189: BEST OCR TEXT :
File C:/Users/vvkum/AppData/Local/Temp/tmp.Q59kWa5fdq/hin/hin.FreeSerif.exp0.lstmf
page 208 :
Mean rms=5.243%, delta=46.436%, train=104.295%(100%), skip ratio=0%
Info in fopenReadFromMemory: work-around: writing to a temp file
Iteration 190: ALIGNED TRUTH : हैप्पी सुर्ख घर मिलता हुई। के
Iteration 190: BEST OCR TEXT :

#543 is present in master and 3.05.


How to import comments as well?

The content of $function ->getDocComment() has not been exported

Hi @hkargc, this is a limitation of the PHP engine that will be fixed in PHP 8.4.


[WIP] Improves logging for JS interop

Logs incoming .NET calls and outgoing JS interop calls.
Sanitizes unhandled exceptions on the circuit before sending an error.

There are a few missing things for this PR because they require deeper changes on the ComponentHub and JSInterop sides

[ ] Separate internal calls from regular JS interop calls.

We use JS interop to dispatch events. We don't want to change this for blazor client-side, but on the server-side client code we can detect this case (as we know what method we are invoking) and dispatch it to a hub method directly instead.

[ ] .NET invocations are implemented through JS interop too, we can instead, deliver .NET method invocations through a hub method.
[ ] JS interop async completions are delivered also through JS interop, we can simply call Dispatcher.EndInvoke from a method hub directly.

On the client side we will special case the beginInvokeDotNetFromJS to shortcircuit that call.

Closed in favor of https://github.com/aspnet/AspNetCore/pull/12182


Support excluding .vue files by specifying exclude in tsconfig

Problem
Currently, it is not possible to exclude .vue files from vue-tsc check by using exclude option of tsconfig.
To reproduce

Clone this repo https://github.com/ahnpnl/volar-starter-vite (branch master)
Install deps with yarn
Open tsconfig.json and check there is a exclude defined.
Run yarn build and observe a TypeScript error

Feature request
It would be a lot useful and closer to TypeScript native behavior that excluding files by option exclude would exclude files from type checking.

Thanks for the information, but I look for a way to exclude specific files

Hi @ahnpnl, this is expected TS behavior because App.vue is import by main.ts.

Does it mean all .vue files would be the same? Or only .vue files which are imported by main.ts cannot be excluded?

Or only .vue files which are imported by main.ts cannot be excluded?

It is.


az dls fs commads throwing 400 bad request error

Describe the bug
When trying to run the below commands with in the cloud shell focus mode or try mode it throws 400 bad request and follow trace.
az dls fs test --account myaccountname --path /source/test.txt
az dls fs move --account myaccountname --destination-path /destination --source-path /source/text.txt
Following the steps in the document - https://docs.microsoft.com/en-us/cli/azure/dls/fs?view=azure-cli-latest#code-try-11
The command failed with an unexpected error. Here is the traceback:
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 566, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 624, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 617, in _run_job
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 594, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 303, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 470, in default_command_handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/dls/custom.py", line 213,in test_adls_item
return cf_dls_filesystem(cmd.cli_ctx, account_name).exists(path)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/dls/_client_factory.py", line 43, in cf_dls_filesystem
url_suffix=cli_ctx.cloud.suffixes.azure_datalake_store_file_system_endpoint)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/core.py", line 70, in init
self.connect()
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/core.py", line 88, in connect
self.azure = DatalakeRESTInterface(token=self.token, **self.kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/lib.py", line 270, in init
self._check_token()  # Retryable method. Will ensure that signed_session token is current when we set it on next line
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/lib.py", line 303, in _check_token
check_token_internal()
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/retry.py", line 108, in f_retry
raise last_exception
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/retry.py", line 93, in f_retry
out = func(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/lib.py", line 299, in check_token_internal
cur_session = self.token.signed_session()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/adal_authentication.py", line 26, insigned_session
scheme, token, _ = self._token_retriever()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 540, in _retrieve_token
return self._get_token_from_cloud_shell(resource)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 373, in _get_token_from_cloud_shell
auth = MSIAuthentication(resource=resource)
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 592, in init
self.set_token()
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 598, in set_token
self.scheme, _, self.token = get_msi_token(self.resource, self.port, self.msi_conf)
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 486, in get_msi_token
result.raise_for_status()
File "/opt/az/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
To Reproduce
Go to this link https://docs.microsoft.com/en-us/cli/azure/dls/fs?view=azure-cli-latest
Try out any of the move or test commands and it throws with the bad request error
az dls fs test --account myaccountname --path /source/test.txt
az dls fs move --account myaccountname --destination-path /destination --source-path /source/text.txt
Expected behavior
It should test the file exists or not and the next command should move the file from source path to destination
Environment summary
Trying it in the cloud shell only , with in this link - https://docs.microsoft.com/en-us/cli/azure/dls/fs?view=azure-cli-latest#code-try-11
Additional context
Other customers on Stack seems to experience the same thing
https://stackoverflow.com/questions/56657939/correct-syntax-on-az-dls-fs-move

Similar to issue https://github.com/Azure/azure-cli/issues/6406.
This seems to be by design.

@akharit to check with @yugangw-msft and close this out.


Cursor pointer

Hello, i want to ask if we can had the cursor-pointer class  wich i manually implement to each project i think it can be usefull :) !
.cursor-pointer {   cursor: pointer }

I think it will not happen, for good reasons, as explained here:

https://github.com/twbs/bootstrap/pull/30563
https://github.com/twbs/bootstrap/issues/23709#issuecomment-571290182

However this change has been made: https://github.com/twbs/bootstrap/pull/31040/.

Thank you for your reactivity !


Added extended signing key support for cip8

This PR is an attempt at implementing extended signing key support for cip8 message signing and verification.
I am not confident that this is the correct approach, but it has the right pieces in place.
It wasn't clear to me whether I should include the public key plus the chain code for the extended verification key. It seemed obvious to me that you would, but I haven't played around with this. I did created a unit test, but it's not in depth.
I do have an application I can test against, but I thought I would open for comment.

I didn't see the .flake8 config in there, or I would have run it before opening the PR. Apologies.
Should be good now.

After some testing, I'm not certain this is the appropriate solution. However, I don't know what is. I think ideally we could extract the non extended payment/staking signing and verification keys from the extended keys. That would simplify this and make it consistent.
If someone could provide some guidance, I can work on implementing.

Actually, this does work! When I was doing testing I used the wrong test wallet to validate.

Then I logged into the dashboard, which requires a CIP8 signed message (signed with Eternl).
When I signed the message for Iagon, it successfully validated and let me perform API calls for my address.
I think details about the hackiness of the solution may need to be worked out. I basically pulled apart the internals of the COSE library to achieve this. Maybe there is a better solution here.

Codecov Report

Merging #273 (143e843) into main (0a95536) will increase coverage by 0.15%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
+ Coverage   85.14%   85.29%   +0.15%
==========================================
  Files          26       26
  Lines        2995     3006      +11
  Branches      719      722       +3
==========================================
+ Hits         2550     2564      +14
+ Misses        335      332       -3
  Partials      110      110

Files
Coverage Δ

pycardano/cip/cip8.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

I guess one final question I would have before merging is whether we can autodetect whether the signing was done with an extended key. Right now I added an extended parameter to verify. I forget if this is something you can detect based on the number of bytes in the verification key.
If this is a needed parameter, lets send it! I'm happy I've been able to contribute back.

Just saw this PR-- awesome work @theeldermillenial :)

Sorry that took a few days.
Should be good to go now.
What kind of a release schedule do you have with this? I have two different packages that are dependent on the different fixes I've implemented :)
No rush, just curious.


Do more liberal in what is accepted as an AS-SET

While people usually use AS-xxxx for simple macros, when using
hierarchical macros, some are not always using "AS-" as a prefix for
each part. For example https://www.peeringdb.com/net/2273 is using
AS16211:RS-ANNOUNCED which is invalid. However, there is little gain
of not accepting this macro as this makes the final configuration more
secure.
This commit removes the extra check about having AS- in the macro
name.

Coverage remained the same at ?% when pulling 46f2b79702c3d57eaf339d0f37df793ed829e61d on vincentbernat:fix/no-asset-checks into b21fc3c8d3b1fe5170f2cb651c442f61d711f439 on respawner:master.


Plugin and Colorscheme links on website broken

Both the user plugins and user colorscheme links on the official page redirect to the github and I can't seem to find them on the github. Have they been relocated or is there somewhere else I can find them?

Yes the website would need serveral updates in regards of old links pointing to code.google and the sourceforge icon in the footer.

Is there any way I (or someone else in the community) could help? I know it would take a lot of developer time away from the project to implement something like I mentioned in #26 but I'd love to help you guys out with the meticulous parts of this project. I'm closing this because it's clear this is a part of the bigger distribution problem for these projects. Feel free to reopen it if you want to track this separately though.


fix(guide): added hints & solutions for React and Redux challenge related Guide articles

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

This PR was created based on a branch of user @ShepherdNg who created PR #35781.  That PR had an extra file on it which did not need to be on the PR and a few of the solutions were only partial solutions and some stub info was left in the articles. The user was asked to fix the issues, but the PR went stale.  We attempted to fix the issues on user's behalf, but the user did not give maintainers write access to the user's branch, so I fixed the issues and submitted this PR using the user's branch.

@thecodingaviator Is this one good to be merged?

The formatting and all looks fine to me. I’ll have another look at then Code later today


Problem with image cell

Hi @orazz, I just implemented the autosizing feature, please take a look and you might have to make sure the content (e.g. the image) can stretch properly to the top and bottom of the cell. You can take a look at the latest example, it has a custom cell that supports autolayout and autosizing.


[TODO] Extra matchmaking data when creating servers

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
like if you want to use an int to change the server countdown time
based off the capabilities system so it'll be a bit

It will be possible to create servers with altered config values though the api too

Should now be easy to implement, we can just add or alter the gamelift api request

https://github.com/BeatTogether/BeatTogether.MasterServer/commit/9c029dbfeb49c8b08535ac61babe5cf2f6607c57


AOF4 server can't start with GolfIV 0.3.2

I noticed some suspicious disconnects after someone was looking for ink, so I wanted to add golfiv to the official aof4 server.
https://paste.alloffabric.com/ugitiqojol.yaml

Config is malformed around line items.survival.checkEnchants

Looking at the stack trace, it appears that your GolfIV config is damaged. Is checkEnchants properly set to true or false in GolfIV_config.json, and includes a trailing comma for the next line?
Example of what to look for:

Sorry, yeah it was a missing comma. Thank you.


added short_name to administrative_area

Hi,
nice work. I like the module.
For my project, I would need to retrieve also the short_name of the administrative area. I added that functionality (+test) in this pull request. Let me know if you can consider it.
Thanks

nice work! I merged your request :)

btw. can you update README.md and add there info about short_name? :)

ok great!
I updated the two files in the same branch. The attributes of the administrative_area are only mentioned in the code example in the README. I guess that should be explanatory enough. You want me to create another pull request?

yes.. make pull request :)


Issue text overlow on Input component using redux-form with native-base

I have an issue when I try to use redux-Form Field with native base Input component. The input behavior is weird on iOS (simulator and devices).
Actual behaviour
When I test the implementation suggested on docs ReduxForm Example
here suggested code :
const renderInput = ({
  input, // eslint-disable-line

  // label,
  // type,
  // meta: { touched, error, warning },
  meta: { error }, // eslint-disable-line
}) => (
  // const { value } = input;
  <Item regular>
    <Input {...input} />
  </Item>
);

here text overflow issue (input is multiline):
(Also doesn't work putting multiline nor numberOfLines={1}
Screenshot of simulator/device

Expected behaviour
If I change <Input {...input} />  to <Input />
Input behavior works as expected: (text with ellipsis)
Screenshot of simulator/device

But not redux form doesn't synchronize entered value
I had tried fix it, and I don't found a solution
On Android works better, not multiline, but without elllipsis, doesn't matter
On iOS behavior is noticeable and awful
I trying change nativebase Input by default TextInput
react-native, react and native-base version
React-native version 0.54.4
Native-base version 2.4.3 - 2.4.1 - 2.3.7
Steps to reproduce (code snippet or screenshot)
Follow example Nativebase - Redux Form example
const renderInput = ({
  input, // eslint-disable-line

  // label,
  // type,
  // meta: { touched, error, warning },
  meta: { error }, // eslint-disable-line
}) => (
  // const { value } = input;
  <Item regular>
    <Input {...input} />
  </Item>
);

Is the bug present in both ios and android or in any one of them?
On IOS

@mowbell can you try setting style of <Input/> to
<Item regular>
    <Input {...input} style={{ paddingTop: 3, paddingBottom: 7 }}/>
</Item>

Closing this issue due to no response


Generating Types From Third Party Imports Doesn't Work Automatically

I'm using genType to generate typescript code instead of plain javascript. In the generated TS files it references the Relude libs like so:
import {Bifunctor_t as Relude_Result_Bifunctor_t} from 'relude/src/Relude_Result.gen';
In the generated bs.js file it references
import * as Relude_Result from "../../../node_modules/relude/src/Relude_Result.bs.js";
The Relude_Result.gen.tsx file doesn't actually exist. Is there a way to get this to work?

The expectation is that annotations were added to relude directly, so the file would then be found.

So the expectation is for libraries to add genType annotations? Is there a way for library consumers to do it?

There's no way currently to annotate libraries from a client.
One workaround one can try is to re-define the type as in
[@genType]
type qq = B.t = | A | B;

where the type from B is re-defined and exported locally.

From #460, I think the issue name should be "genType don't annotate dependencies" or similar.

I wanted to share one bug that I have been facing using genType and generating TypeScript.
Using BuckleScript 7.x and genType 3.18.0 (accordingly).
If I flag a variable with genType that has inferred a type from a dependency (in this case bs-js-collections), the output expects this library to have a gen file. I'm not sure if genType should generate those files (in my node_modules) for me or expect the lib to use genType as well.
I read about it here: https://github.com/reason-association/genType#dependent-projectslibraries but wasn't exactly sure about its behaviour with conjunction with "exportInterfaces": true.
The same happens with Js.Re, that expects to expose a gen file.
[@genType]
let set = JsSet.fromArray([|1, 2, 3|]);

[@genType]
let regex = [%re {|/[a-zA-Z_][a-zA-Z0-9_]*/|}];

/* TypeScript file generated from Index.re by genType. */
const IndexBS = require('./Index.bs');

import {Re_t as Js_Re_t} from './Js.gen';
import {t as JsSet_t} from 'bs-js-collections/src/JsSet.gen';

export const set: JsSet_t<number> = IndexBS.set;
export const regex: Js_Re_t = IndexBS.regex;

debug info
  Project root: /Users/davesnx/dev/playgrounds/try-genType-with-TS
  Config language:typescript module: importPath: shims:0 entries bsVersion:7.3.2
  Add Index.cmt  /Users/davesnx/dev/playgrounds/try-genType-with-TS/Index.re
  Translate Structure
  Translate Value Binding set
  fromPath path:JsSet.t typeEnv:__root__ External resolved:JsSet_t
  Dependency: JsSet_t
  Resolve Reason Module: JsSet
  Resolve Generated Module: JsSet
  Import Path: bs-js-collections/src/JsSet.gen
  Translate Value Binding regex
  fromPath path:Js.Re.t typeEnv:__root__ External resolved:Js_Re_t
  Dependency: Js_Re_t
  Resolve Reason Module: Js
  Resolve Generated Module: Js
  Import Path: ./Js.gen
  Create Type Map for Index
  Code Item: ExportValue resolvedName:set type:JsSet_t<number>
  Converter type0:JsSet_t<number> converter:id
  Code Item: ExportValue resolvedName:regex type:Js_Re_t
  Converter type0:Js_Re_t converter:id
  Replace  /Users/davesnx/dev/playgrounds/try-genType-with-TS/Index.gen.tsx

I created a playground to show-case this bug: https://github.com/davesnx/try-gentype-with-ts
Thanks

I believe the third party library must have genType annotations and include the gen.ts files according to my reading of the docs.

I'm having a similar but worse problem - referencing a library module doesn't attempt to import library types from the library at all. I'm using rescript-fast-check and referencing (among other things) the arbitrary type, but the generated code is:
import type {arbitrary as Arbitrary_arbitrary} from './Arbitrary.gen';
I don't mind adding gentype annotations to the library but doing so makes no difference - this is trying to import it from the current folder.

With TypeScript mode from this
@genType
type arb = FastCheck.Arbitrary.arbitrary<int>

this is what I get:
import type {Arbitrary_arbitrary as FastCheck_Arbitrary_arbitrary} from 'rescript-fast-check/FastCheck.gen';

which is not far off, except for the fact that rescript-fast-check uses a namespace which here is not recognised.

This repository is being archived. If you feel like the issue still relevant, please re-create it in the compiler repo. Thanks!


.env.example file

you mention the .env.example file but there isn't one here.  it exists in ivr-recording-laravel but not in this file. this documentation isn't clear; are we supposed to use that file from another project or make our own or... ?

@mhbw,
Sorry for the confusion. This has been resolved with this commit.
Best regards,
José


batch size

Do you try differenet batch size to influence the result and if i use small bs, will the result be terrible?

hi,
So in the ablation studies in the paper we see that larger batch sizes lead to better results using Smooth-AP (Table 5), and there is some further analysis into this in the supplementary (on arXiv version).
This does not mean though that the performance is bad with small batch sizes, and no experiments that I did showed that. I think this just means that perhaps Smooth-AP is complemented particularly well by large batch sizes.


How can I add dynamic script for different page for the SEO?

Like
<script type="application/ld+json">
{
	"@context": "http://schema.org",
	"@type": "Organization",
	"name": "name",
	"description": "some description",
	"url": "http://some-url.com/",
	"telephone": "+323432423423423",
	"address": {
		"@type": "PostalAddress",
		"addressCountry": "Country"
	}
}
</script>

Hi  I am using react-pwa version 2.2.8  in it I cant able to find hooks in (node-modules->paw-js). Can you please help me with this issue


[Roadmap] Consider renaming https://uri.fiware.org/ns/data-models# to https://vocab.fiware.org/terms# and setting up all the infrastructure DNS resolution, etc.

After migration, there is not an issue with these links.


Font-size is too small

Font-size default is too small, I can't see, in the original theme is good, but in this theme is small. How I can change that?

Can be resolved passing a div and the font-size together
alert.show(
Layout excluído com sucesso!
)


Typing indicator

yeah

better image

one time issue, doesn't really happen anymore, that I've seen


WV-440 - Fix for Organization model to read-only database

\admin_tools\views.py - Goes to Template values
\issue\controllers.py - data retrieved for Api
\import_export_twitter\controllers.py -  Data is passed on to the below functions
(refresh_twitter_organization_details  -> save_fresh_twitter_details  >save_fresh_twitter_details_to_organization(in this function another instance of Organization is created and the twitter details are updated to the organization table)
\organization\views_admin.py  - Goes to template values
\organization\models.py - Goes to template values
\position\controllers.py - Organization information retrieved for the voter list template
\voter\views_admin.py - Goes to Template values
\import_export_wikipedia\controllers.py - Added Comment - Cannot be Read-only
\politician\controllers.py - Line - Added Comment - Cannot be Read-only
\import_export_facebook\views_admin.py - Added Comment - Cannot be Read-only

Thank you @anup2307! 👍


Configure test runner in GHA

This is done! pytest now running on python 3.9 - 3.12 and test coverage is being uploaded to codecov.


can we add arbitrary custom labels to scraped samples?

hello!
I've been looking into using relabeling configs to add an arbitrary label/value to scraped metrics.  I've been looking at the metricRelabeling (eg. prometheus relabeling configs) inside of a PodMonitoring spec
...except that it doesn't appear to be working in a way I've seen it behave in vanilla Prometheus - in fact, I don't see the new labels at all.  Is this supported behavior in GMP?
example:
apiVersion: monitoring.googleapis.com/v1
kind: PodMonitoring
metadata:
  name: my-service
spec:
  selector:
    matchLabels:
      app: my-service
  endpoints:
    - port: 3001
      path: /metrics
      interval: 15s
      metricRelabeling:
        - sourceLabels: [__name__]
          targetLabel: new_label
          replacement: foobar

i've also tried this configuration without the sourceLabels list, with the same (non) result
Am I misunderstanding how we can use this part of the config?  Thanks again for all the great work on this project!

oh and I'm not trying to replace any of the protected labels, like project_id

Hi @parkedwards,
The metric relabeling should work as it would in OSS Prometheus (this field gets converted into metric_relabel_configs by the operator).
The config you have there looks reasonable to me for your intention. A few things to debug:

Check to see these configs are present in the generated Prometheus config, via:

kubectl get cm -ngmp-system collector -oyaml

Check a collector's UI to see if it has the updated config loaded into memory, e.g. via port-forwarding and going to the "Status > Configuration" page and see if your relabeling rule is there.

For what it's worth, I just tried your relabeling rule verbatim myself on a PodMonitoring and saw the new labels being ingested.

Let us know how it goes!

😲 it's possible i didn't wait long enough for the podmonitoring configs to apply/propagate.  thanks for the sanity check! we can close this issue out


base64Binary literals may not deserialise correctly with classic-level

e.g.:
dataFactory.literal('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFi56F11nqql9rT2OBNrYaEfBXEALnXVPjxjcwQYQjixt4Cakq37+vEzBdL8s3nMEFsPu6L59cqq6Obt3Oh1qnVZL+hY/mC9lZ33rXQsfCd7eQYm+aHKj/A8wqLK5BTtX6FRFDXaH+YdEwI8KS7eOFuwZjQ+LPphK8e4ZpfmVsZQIDAQAB', dataFactory.namedNode('http://www.w3.org/2001/XMLSchema#base64Binary'))

does not deserialise correctly when retrieved in classic-level.
Test case (patch to existing quadstore.prototype.get.js test):
Index: test/quadstore.prototype.get.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/test/quadstore.prototype.get.js b/test/quadstore.prototype.get.js
--- a/test/quadstore.prototype.get.js	(revision 78fd616f7b55d70e8c89733fd7e6c223d5b1cc66)
+++ b/test/quadstore.prototype.get.js	(date<PHONE_NUMBER>226)
@@ -54,6 +54,12 @@
           dataFactory.literal('Hello, World', 'en-us'),
           dataFactory.namedNode('ex://c4'),
         ),
+        dataFactory.quad(
+          dataFactory.namedNode('ex://s5'),
+          dataFactory.namedNode('ex://p5'),
+          dataFactory.literal('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFi56F11nqql9rT2OBNrYaEfBXEALnXVPjxjcwQYQjixt4Cakq37+vEzBdL8s3nMEFsPu6L59cqq6Obt3Oh1qnVZL+hY/mC9lZ33rXQsfCd7eQYm+aHKj/A8wqLK5BTtX6FRFDXaH+YdEwI8KS7eOFuwZjQ+LPphK8e4ZpfmVsZQIDAQAB', dataFactory.namedNode('http://www.w3.org/2001/XMLSchema#base64Binary')),
+          dataFactory.namedNode('ex://c5'),
+        ),
       ];
       await this.store.multiPut(this.quads);
     });
@@ -287,6 +293,14 @@
       should(quads).have.length(0);
     });

+    it('should retrieve base64 object', async function () {
+      const { dataFactory, store } = this;
+      const { items: quads } = await store.get({
+        subject: dataFactory.namedNode('ex://s5'),
+      });
+      should(quads).be.equalToQuadArray([this.quads[7]]);
+    });
+
   });

   describe('Quadstore.prototype.get() w/ order', () => {

I have a suite of "compliance" tests, like system tests, in which one sub-suite uses asymmetric cryptography to sign and verify messages between clones. That involves storing public keys in the data. All those tests fail because the public keys are corrupted when retrieved. That's what led me to write the quadstore test included in the ticket. No other tests fail – they whizz through!
In more raw terms, I write this:
Literal {
  termType: 'Literal',
  value: 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFi56F11nqql9rT2OBNrYaEfBXEALnXVPjxjcwQYQjixt4Cakq37+vEzBdL8s3nMEFsPu6L59cqq6Obt3Oh1qnVZL+hY/mC9lZ33rXQsfCd7eQYm+aHKj/A8wqLK5BTtX6FRFDXaH+YdEwI8KS7eOFuwZjQ+LPphK8e4ZpfmVsZQIDAQAB',
  language: '',
  datatype: NamedNode {
    termType: 'NamedNode',
    value: 'http://www.w3.org/2001/XMLSchema#base64Binary'
  }
}

but get back this:
Literal {
  termType: 'Literal',
  value: 'd7eQYm+aHKj/A8wqLK5BTtX6FRFDXaH+YdEwI8KS7eOFuwZjQ+LPphK8e4ZpfmVsZQIDAQAB\x00\x00',
  language: '',
  datatype: NamedNode {
    termType: 'NamedNode',
    value: 'http://www.w3.org/2001/XMLSchema#base64Binary\x00\x00MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFi56F11nqql9rT2OBNrYaEfBXEALnXVPjxjcwQYQjixt4Cakq37+vEzBdL8s3nMEFsPu6L59cqq6Obt3Oh1qnVZL+hY/mC9lZ33rXQs'
  }
}

I'd be more than happy to look into this myself, if you like!

Hello! Apologies for the latency, got married this weekend :). I'm still looking into this regression, for which we need specific tests. Before my break I did manage to discover that this seems to be related to any term that serializes to a string longer than a specific amount of chars. The type of the term itself appears to make no difference.

Here's two value arrays: the first one related to a breaking test case in which I'm serializing a literal having length of 128 chars, the second one related to a passing test case in which I'm serializing the same literal minus one character.
Uint16Array(17) [0, 15, 0, 15, 3, 49135, 189,  0,  15, 0, 0, 0, 0, 0, 0, 0, 0]
Uint16Array(16) [0, 15, 0, 15, 3,   127,   0, 15,   0, 0, 0, 0, 0, 0, 0, 0]

The array even changes in length (!!!). Weird.

This doesn't happen with the memory-level backend. Also, tests reproducing the serialization steps for a single term seem to pass with flying colors:
it('Should serialize and deserialize a single generic literal term having length of 2048', async function () {
      const { store: { dataFactory: factory }, prefixes } = this;
      const term = factory.literal(''.padStart(2048, 'abab'));
      const value = new Uint16Array(4);
      const serialized = termWriter.write(value, 0, term, prefixes);
      const value_8 = viewUint16ArrayAsUint8Array(value, 0, value.length);
      // I/O to/from backend here
      const value_16 = viewUint8ArrayAsUint16Array(value_8);
      const deserialized = termReader.read(serialized, 0, value_16, 0, factory, prefixes);
      should(deserialized.equals(term)).be.true();
    });

This also doesn't happen when reproducing the steps for (de)serializing a single quad:
it('Should serialize and deserialize a quad having terms longer than 127 chars', async function () {
      const { store: { dataFactory: factory, separator }, prefixes } = this;
      const quad = factory.quad(
        factory.namedNode('http://ex.com/s'),
        factory.namedNode('http://ex.com/p'),
        factory.literal(''.padStart(128, 'abab')),
        factory.namedNode('http://ex.com/g'),
      );
      const value = new Uint16Array(16);
      const prefix = `SPOG${separator}`;
      const termNames = ['subject', 'predicate', 'object', 'graph'];
      const serialized = quadWriter.write(prefix, value, 0, quad, termNames, prefixes);
      const value_8 = viewUint16ArrayAsUint8Array(value, 0, value.length);
      const value_16 = viewUint8ArrayAsUint16Array(value_8);
      const deserialized = quadReader.read(serialized, prefix.length, value_16, 0, termNames, factory, prefixes);
      console.log(deserialized);
      should(deserialized.equals(quad)).be.true();
    });

@gsvarovsky could you please test again with version 11.0.3-beta.1 which I've just published to NPM?

awesome. 🫡

All right! Will add some more tests and publish a patch version. Thank you for flagging this, it was a major regression.

Version 11.0.3 is now on NPM!


Force Generator Combos to Have 1+ Produced Feature(s)

The backend currently allows generator combos to not have a listed produced feature. Generator combos will always need to have 1+ produced feature(s). I do not want to force all combos to have one listed, because of drafts and utilities that don't always need them.

The fact that generator combos must have a result is an editor convention, but in theory a generator combos could be composed of a set of features that alone are sufficient to generate variants with all the necessary results, without adding a new one on top.
In addition, I can't implement this feature because Django unfortunately does not allow to cross-check fields of a Combo (in this case the kind) together with the related entities (in this case the produced features).
If you agree I'd like to close this issue


New version: goreleaser.goreleaser-pro 1.25.0-pro

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

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

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

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

Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow

Hi @caarlos0,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 876.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-04-02 19:25:48.437 [FAIL] Installer failed security check. Url: https://github.com/goreleaser/goreleaser-pro/releases/download/v1.25.0-pro/goreleaser-pro_Windows_x86_64.zip Result: 0x80004005
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Packages\goreleaser.goreleaser-pro__DefaultSource\goreleaser.exe returned exit code: 1
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Links\goreleaser.exe returned exit code: 1

(Automated response - build 876.)

Hi @caarlos0,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 876.)

@wingetbot run

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\goreleaser.goreleaser-pro__DefaultSource\goreleaser.exe returned exit code: 1
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\goreleaser.exe returned exit code: 1
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Packages\goreleaser.goreleaser-pro__DefaultSource\goreleaser.exe returned exit code: 1
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Links\goreleaser.exe returned exit code: 1

(Automated response - build 876.)

@wingetbot waivers Add Validation-Executable-Error


Cache mismatch

Hi
When option AddOrUpdateInCacheWhenEntityIsUpdated is enabled, Update method stores dto to cache without includes. When option is disabled we can take only outdated dto from cache with Get methods
So we in trap)
I think it is necessary to delete from the cache when updating and the option AddOrUpdateInCacheWhenEntityIsUpdated is disabled
Something like
if (!_options.Value.AddOrUpdateInCacheWhenEntityIsUpdated)
{
   await Cache.DeleteAsync(id).ConfigureAwait(false);
   return MapToDto(entityDbo);
}

Thank you for awesome framework!

@Partiolainen thanks, I am glad to hear that you liked the Modern framework.
Indeed it's a bug in my code with an outdated value being left in the Cache.
I plan to delete the item from Cache in the ModernCachedService and ModernInMemoryService as you suggested.
I will release a fix today.
Meanwhile in the EF Core mapping you can mark a child entity with AutoInclude() when specifying a navigation, so when retrieved from the database it will be automatically included in every query:
https://learn.microsoft.com/en-us/ef/core/querying/related-data/eager#model-configuration-for-auto-including-navigations

@Partiolainen I've published Modern.Services.DataStore.Cached 2.0.1, Modern.Services.DataStore.InMemory 2.0.1 to Nuget with a fixes. Please try and confirm if the issue is resolved. Happy coding

Resolved, ty!


Command line disappears if 'cmdheight' is changed when in Command-line mode

Steps to reproduce
Run vim --clean -S reproduce.vim
" reproduce.vim
set laststatus=2
function! Function_name() abort
  set columns=80
  call feedkeys(":"..repeat('x', 80), 'x')
  let &cmdheight=2
  let &cmdheight=1
  redraw
endfunction
call Function_name()

Expected behaviour
Command line should not disappear.
Version of Vim
9.1
Environment
Windows 10
Logs and stack traces
No response

The bug was Introduced with patch 9.0.0190. https://github.com/vim/vim/commit/f797e309caff48f7a56c73b16e62ff67c4dcbdd6

Interesting. That Commit was reverted as part of 9.0.0340 https://github.com/vim/vim/commit/a2a8973e51a0052bb52e43a2b22e7ecdecc32003
So shouldn't matter

It looks like it wasn't reverted completely.
This seems to fix the problem. I haven't run the tests though.
diff --git a/src/window.c b/src/window.c
index 54e17be2d..9eb8f17ce 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6663,7 +6663,7 @@ win_drag_status_line(win_T *dragwin, int offset)
     row = win_comp_pos();
     screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' ', 0);
     cmdline_row = row;
-    p_ch = MAX(Rows - cmdline_row, 1);
+    p_ch = MAX(Rows - cmdline_row, 0);
     curtab->tp_ch_used = p_ch;

     win_fix_scroll(TRUE);
@@ -7129,11 +7129,6 @@ command_height(void)
     // p_ch was changed in another tab page.
     curtab->tp_ch_used = p_ch;

-    // If the space for the command line is already more than 'cmdheight' there
-    // is nothing to do (window size must have decreased).
-    if (p_ch > old_p_ch && cmdline_row <= Rows - p_ch)
-       return;
-
     // Update cmdline_row to what it should be: just below the last window.
     cmdline_row = topframe->fr_height + tabline_height();

Thanks.
+    p_ch = MAX(Rows - cmdline_row, 0);

That part is wrong. Command line height should not be possible to become 0.
-    // If the space for the command line is already more than 'cmdheight' there
-    // is nothing to do (window size must have decreased).
-    if (p_ch > old_p_ch && cmdline_row <= Rows - p_ch)
-       return;

That seems to be right however.

The bug persists if only the first part of the diff is applied.

That's what I am was trying to guess :)

Hm, this doesn't work properly. It fails the tests that were introduced with patch 9.0.0190. I think we need to make sure to always re-calculate old_p_ch always, since it can be unreliable after the early return.