ocropus-gpageseg - Segmentation

I'm from Thailand, and I use OCRopus to recognition my language structure, It's work!
but I got some problem in part of segmentation, for Thai structure have upper and lower character (not related to middle line)
your segmentation have cut some part of upper Thai character. I attempt to adjust argument value.
It still not work. can you tell me about how to add a upper height of the upper line or guild me a part of code that i can edit.

the upper character is cut

or if you have some document for line segmentation in OCRopus

Check out this blog for information about line segmentation
http://www.danvk.org/2015/01/09/extracting-text-from-an-image-using-ocropus.html.
There's no documentation other than that you can find in code comments.
On Wed, 23 Sep 2015 at 22:54 NatsuSencho<EMAIL_ADDRESS>wrote:

Reopened #57 https://github.com/tmbdev/ocropy/issues/57.
—
Reply to this email directly or view it on GitHub
https://github.com/tmbdev/ocropy/issues/57#event-417500954.

Thanks for providing the link and the info! Is it OK to add it to the home page?
(There used to be some iPython notebook files in the distribution; I'll try to update them and re-add them.)

I'm sure Dan wouldn't mind. @danvk OK for Tom to add your blog to homepage?

yep, no complaints here!

Both blog posts by @danvk are now linked from the wiki: https://github.com/tmbdev/ocropy/wiki together with some other links to resources and more information. Thank you very much!

Is there something that actually solve the original problem?

Well, it is hard to say at the moment. I think we would need to have the complete document to look closer at what is going on. @NatsuSencho If you are still interested in this question, then please just reopen this issue or maybe also start a new one.

From Tesseract V3.04.00 release notes:

Major change to improve layout analysis for heavily diacritic languages: Thai, Vietnamese, Kannada, Telugu etc.

So it seems that these languages are harder to segment and need special code to do it properly.


pull request for e2e test at 12/31/2016 23:45:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Proposition](Blade template compiler) Add indexing to foreach loops.

Disclaimer
I don't know that much about pull requests on Github. If it's irrelevant to post a request here, in issues, feel free to edit this comment or to write me about it.
Proposition to Blade
The index in a foreach loop is a must have in my opinion. I always find myself doing this:
<?php $i = 0; ?>
@foreach($array as $key)
    //
    {{ $i }}
    //
<?php $i++; ?>
@endforeach

It looks very messy, unelegant and how cool would it be to have this instead:
@foreach($array as $key)
    //
    @index  or  {{ $index }}
    //
@endforeach

Solution
Just change this ===> to this:
@foreach($array as key)    ===>    <?php $index = 1; foreach ($array as $key): ?>

and this ===> to this:
@endforeach    ===>    <?php $index++; endforeach; ?>

Then everyone could access the $index by saying:
@index or {{ $index }}

In Illuminate\View\Compilers\BladeCompiler ready compiler for @index method:
/**
 * Compile blade custom index property inside a loop
 *
 * @param  string  $expression
 * @return string
 */
protected function compileIndex($expression)
{
    return '<?php echo $index; ?>';
}

Conclusion
I think it's very easy to implement and that it is a must have for any templating language

Why don't you just do:
@foreach($array as $index => $key)
    // Code inside the loop
@endforeach

The thing is, imagine this example:
$fields = [
    'company' => 'Company name',
    'address' => 'Address',
    'city' => 'City',
];

@foreach($fields as $field => $field_name)
    //
@endforeach

What then? You clearly need some index value.
You could do something like
{{ array_search($field, array_keys($fields)) + 1 }}

or some other shit, but wouldn't it be nice to have an indexing number?
Twig has: http://twig.sensiolabs.org/doc/tags/for.html#the-loop-variable

You can use my (Counter)[https://github.com/CupOfTea696/Counter] package, just released the 1.0. Will write documentation at some point, but it will basically allow you to do this:
@foreach(Counter::loop($array) as $key)
   @if (Counter::first())
      <!-- do something -->
   @endif
   {{ Counter::index() }}
@endforeach

For a full list of methods just check the main Counter.php file for the moment, it should be self-explanatory.

+1 @CupOfTea696. Pretty cool.


Code maintenance updates for ART 1.9.0

Signed-off-by: Beat Buesser<EMAIL_ADDRESS>Description
This pull request adds general code maintenance updates.

Codecov Report

Merging #1446 (2ceaae3) into dev_1.9.0 (df2e613) will decrease coverage by 30.60%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           dev_1.9.0    #1446       +/-   ##
==============================================
- Coverage      90.30%   59.69%   -30.61%
==============================================
  Files            240      240
  Lines          19679    19679
  Branches        3490     3490
==============================================
- Hits           17771    11748     -6023
- Misses          1112     7367     +6255
+ Partials         796      564      -232

Impacted Files
Coverage Δ

art/estimators/object_detection/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/attacks/evasion/shapeshifter.py
5.89% <0.00%> (-93.30%)
:arrow_down:

art/attacks/evasion/carlini.py
7.64% <0.00%> (-86.99%)
:arrow_down:

...rt/defences/detector/poison/clustering_analyzer.py
8.22% <0.00%> (-86.71%)
:arrow_down:

art/attacks/evasion/pe_malware_attack.py
14.74% <0.00%> (-84.34%)
:arrow_down:

...ces/detector/evasion/subsetscanning/scanningops.py
11.59% <0.00%> (-84.06%)
:arrow_down:

art/attacks/evasion/wasserstein.py
11.94% <0.00%> (-83.28%)
:arrow_down:

art/defences/trainer/adversarial_trainer.py
11.60% <0.00%> (-82.15%)
:arrow_down:

art/attacks/evasion/elastic_net.py
18.00% <0.00%> (-81.34%)
:arrow_down:

art/attacks/evasion/deepfool.py
19.56% <0.00%> (-80.44%)
:arrow_down:

... and 97 more


challenges.certmanager.k8s.io can't be deleted

Describe the bug:
kubectl delete crd challenges.certmanager.k8s.io
customresourcedefinition.apiextensions.k8s.io "challenges.certmanager.k8s.io" deleted

hangs because
kubectl -n ambassador delete challenges.certmanager.k8s.io ambassador-certs-604305305-0
challenge.certmanager.k8s.io "ambassador-certs-604305305-0" deleted

can never end.
Expected behaviour:
kubectl delete ns ambassador can delete all resources in ambassador namespace.
Environment details::

Kubernetes version (e.g. v1.10.2):
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc):
cert-manager version (e.g. v0.4.0):
Install method (e.g. helm or static manifests):

microk8s.kubectl  version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:23:26Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:15:22Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

installed from helm chart  jetstack/cert-manager 0.9.0
/kind bug

This can happen if you delete the cert-manager namespace as the controller is no longer running so won’t ‘finalize’ the Challenge resource. To work around this, delete all Challenge, Order and Certificate resources before stopping cert-manager.
If your controller is still running, can you share your log messages? 😀

Is there a resolution to this? I mean come'on man; this does not remove the challenge pods?

@ksummersill2 you can remove those pods using kubectl delete pod.
This issue is also about the old API which is now not available any longer. If you are having issues with the latest version I invite you to create a new ticket for it.

This can happen if you delete the cert-manager namespace as the controller is no longer running so won’t ‘finalize’ the Challenge resource. To work around this, delete all Challenge, Order and Certificate resources before stopping cert-manager.
If your controller is still running, can you share your log messages? grinning

In this case, deleting the challenge will terminate the pod.


fix TS1479

i tested it locally

continue https://github.com/scroll-into-view/scroll-into-view-if-needed/issues/1163

@stipsan pr for #1176, need two merge sorry)

@stipsan please approve workflow

@stipsan compute works (i chek it with npm link) not see problem for merge


[Bug]: Journey option is not working

Contact Details
No response
What did you expect?
Journey option is working perfectly and smoothly
What actually happend?
I clicked Dashboard and then Start a month journey. Then I clicked Did you finish shlokas for today? and nothing is updating. And text after the slash is not appearing.
Version
0 (pre-release)
What operating system are you using?
Android
What OS version are you using?
Android 12 (Snow Cone)
Code of Conduct

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

This does not happen on Universal on Mac Chrome

Looks like issue on localStorage on android. Will test on iOS.

Looks like it is working on iOS fine. Will look in and try and fix.

Have implemented a bug fix that has been tested and works on Android 12 API 31

This bug has been fixed. Please update your app if you are on Android, iOS requires no action.


Cannot get QVER

when I import the package pyq into my python program, It throws an error:
"Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\pyq-3.8.4-py2.7-win32.egg\pyq_init_.py", line 96, in
_ij = {'i': 'i', 'j': ''} if QVER[0] >= '3' else {'i': '', 'j': 'j'}
TypeError: 'NoneType' object has no attribute 'getitem'"
I execute the file" init.py", and find  the parameter "QVER" was none, what's the problem??

Duplicate of #5. Closing.


[#4759] fix nested dirs name contains res_id

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Create new resource
Add a file
Download as zipped bagit
Upload the zip that you just downloaded back into the resource
Unzip in place withing the File browser
The directory created now contains the original files

Fixes #4759

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4760

yes this is a fix for #4759


Add a <<select>> macro

What it says on the tin.
<<select [optional_args]>>
	/*
		Links (<a> or <button>) and, optionally, descriptive text.
	*/
<<onselect>>
	/*
		Code to run if the player selects a link.
	*/
<<ontimeout>>
	/*
		Code to run if the `time` option is specified and the player fails to select a link in time.
	*/
<</select>>

Arguments
Optional

text description: (string) The text to display to the player that must be clicked on to reveal the selection content.  If not specified, the selection content is automatically displayed.
id identifier: (string) The unique CSS/DOM ID assigned to the selection wrapper element.
class classes: (string) The space separated list of CSS/DOM classes assigned to the selection wrapper element.
time: (time unit) The time until the selections time out and are disabled, in CSS compatible time units—e.g., 10s.  If the time is set to zero—e.g., 0s—then the timer is disabled and no timeout will occur.
meter name: (bar|radial) The type of meter used to show the remaining time if the time option is specified.  Defaults to bar.

Events

If the player selects a link, a :select event will be fired from the selection wrapper.
If the time option is specified and the player fails to select a link in time, a :selecttimeout event will be fired from the selection wrapper.

Notes

If the time option is specified, the timer will start only once the selection contents are displayed and within view.  Strolling the selection out of view, once started, does not affect the running timer.

Ideas

Maybe change the name to avoid a clash with a 3rd-party macro—Sleepy's <<select>>.  Possibilities: <<choose>>, <<event>>, …?

It would be great if it also fires an event when the timer runs out, passing the ID of the QTE that generated it

Also, a possibility to pause the timer would be nice, reasoning an author could make an "extra time" button or some "easy" game mode!

I'm thinking about using a button to unlock the content and timer rather than by scrolling into view.  This would almost certainly be better in situations where there's considerable text before the QTE that the player may want or need to read—for the QTE to make sense.

Updates to the OP.  The macro will be more generally useful.
Might change the name to <<choose>> since Sleepy has a <<select>> macro.  Dunno.

Might change the name since Sleepy has a <<select>>

Maybe <<action>> as a potential name replacement.

Select doesn't seem like the right word to me, but I can't think of anything better, either. Not helpful, I know, but I'll think about it.

Name suggestions, some variant on "time limit"

time-limit
timeout
deadline
countdown (probably not)
limit
cutoff

The current intent is a generic selection macro, so time-/duration-based names are a bust.
It still has a time option, so it can be a QTE, but that's not the sole thrust anymore.

Maybe <<action>> as a potential name replacement.

Too close to <<actions>>.  I don't like one of the alternates I came up with, <<choose>>, for the same reason.

Name suggestions, some variant on "time limit"

The current intent is a generic selection macro, so time-/duration-based names are a bust.
It still has a time option, so it can be a QTE, but that's not the sole thrust anymore.

Select doesn't seem like the right word to me, but I can't think of anything better, either. Not helpful, I know, but I'll think about it.

Please do. 🙏🏻
I hit the thesaurus already, but that was a bust.  Then again, I was probably thinking too narrowly.

The current intent is a generic selection macro, so time-/duration-based names are a bust.
It still has a time option, so it can be a QTE, but that's not the sole thrust anymore.

Looking again, then, maybe right name is <<choices>>, as analogue to the existing <<actions>>. Contents could then be links, <<link>>, buttons, <<button>> and <<choice>>. Rename <<onselect>> to something like <<any>> or <<after>> because it runs in addition to the whichever choice was selected.
Not to feature-creep, but if the same worked with <<radiobutton>> and <<checkbox>> you'd have also solved one of the most requested help features that pushes people to JS event handlers, namely the "How do I have something happen immediately when any one of these radiobuttons is chosen"

I agree with Hituro in the sense that this feels like two macros in a trenchcoat:

a <<qte>> macro, which would be a time-based vanishing link
a listener container that is meant to catch click events on its contents (which could be anything)

It is true that limiting the qte target to being a link feels arbitrary, and it'd be convenient to be able to attach a click listener to any element.
But in this situation, a macro which could listen for any event type would solve more issues and have broader uses.
<<listen>>

  The answer is:
  <<numberbox '$var' 0>>

<<when 'change'>>

  <<if $var === 15>>
    <<goto 'GoodJob'>>
  <</if>>

<</listen>>

Looking again, then, maybe right name is <<choices>>, as analogue to the existing <<actions>>.

That's not happening for exactly the same reason I gave to Greyelf.  It's too close to the name of an existing macro.  Simply adding or removing an "s" is not sufficient.
I should have hard deprecated those two miserable things ages ago.  Missed opportunity that.  /sigh

Contents could then be links, <<link>>, buttons, <<button>> and <<choice>>.

The active contents, as noted above, are <a> & <button> elements, regardless of how they're created.

Rename <<onselect>> to something like <<any>> or <<after>> because it runs in addition to the whichever choice was selected.

I'll be sticking with the <<on…>> naming.  I'm satisfied with that.

Not to feature-creep, but if the same worked with <<radiobutton>> and <<checkbox>> you'd have also solved one of the most requested help features that pushes people to JS event handlers, namely the "How do I have something happen immediately when any one of these radiobuttons is chosen"

That's not really feasible in v2 for a few reasons:

Changing the existing macros to containers would break all existing uses.
Adding a generic DOM event container macro to act as wrapper is not something I'm inclined to do for various reasons.  The primary being, aside from the absolutely basic usage of "I saw an event", it's not significantly more friendly than JavaScript.  I.e., once you get beyond simply executing a content section due to an event happening, you have to deal with the event object, and possibly arguments to the handler, and that's not going to be especially friendly no matter what you do.  Besides, Chapel already has such a macro that's easily added.

My personal preference is targeted applications built into macros that need it rather than attempting to have some generic catch all that's not much better than using a little JavaScript.  E.g., making <<textbox>> and <<radiobutton>> containers.

Maybe I should just suck it up and add an event wrapper macro as a stopgap in v2 until I can fix the core macro set in v3.

Another potential issue with the name <<select>> is the fact that HTML has a <select> element that behaves nothing like this macro.

The name's not going to be <<select>>, I just had to choose something after the scope changed.


feat: post-versioning script

Post-Versioning script and all scripts converted in Typescript
closes #90
Proposed changes
Read issue #90
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #91 (6abf645) into main (7a0cf9b) will not change coverage.
 Consider uploading reports for the commit 70bc8ec to get more accurate results

@@            Coverage Diff            @@
##              main       #91   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           73        73
  Lines          844       844
  Branches       111       111
=========================================
  Hits           844       844

Continue to review full report at Codecov.

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


/verify tries to get moderator member object when any component is interacted with, and fails.

What modules are affected by this bug?
Verification
Describe the bug
The /verify command tries to get the moderator member to check their roles when any component is interacted with, because ctx.Guild.GetMemberAsync() is outside of if (args.Id == component.CustomId).
How can the bug be reproduced?

Create a verification request
Use a command that makes a button or select menu
Select the button/select menu
Check the logs

What is the expected behavior?
The /verify command doesn't try to fetch the users' member object for the server.
What is the actual behavior?
The /verify tries and fails to fetch the user's member object for the server, polluting the logs.
What is your Discord username?
Bujju#1234

I fixed it for v1.6

Moved to #63


Added back coverage dependencies

Current coverage is 14.28%

Merging #2 into master will not affect coverage as of bd2c17f

@@            master      #2   diff @@
======================================
  Files            1       1
  Stmts           49      49
  Branches         0       0
  Methods         15      15
======================================
  Hit              7       7
  Partial          0       0
  Missed          42      42

Review entire Coverage Diff as of bd2c17f

Powered by Codecov. Updated on successful CI builds.


Add entrypoints for moved modules

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

I dropped the automerge until the next review.

I've decided to suppress some of the import errors in the inventory plugins as they aren't well-integrated anyway. This lets us unblock the docs builds among other things.
The dependencies are added all together and pulled in unconditionally. I think it might make sense to split them into optional ones (extras). I didn't add awx as a dependency because it's completely unsuitable for this and opens up a huge can of worms. We'll need to talk about this.
The inventory plugins are exposed as classes while the credential ones are initialized objects. We need to define a consistent interface for all the plugins.


"Confirm seed phrase" screen - doesn't match the design.

Design:
https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5bc7bad5846a440a5fc8bb9f

Actual:

checked


New Audio To Expressions Compatibility?

Is there any way to get VRCFT to work with the new A2E update to Q3, Q3S, and Q2. I use the quest 3. I don't know if I would need to make my own plugin for it (Not that I think I can lol). Or if there is something I need to do for it to work.
Thank you and have a good rest of your day - Rew :3

They work with the existing Quest pro face tracking extensions, just install the appropriate Quest Pro compatible module for your setup (this isn't really documented anywhere, probably should update the VRCFT docs with this information).

I tried but it doesn't send any data nothing happens.
I tried with airlink, regular link, Virtual Desktop, and steam link - with the respective modules, I'm thinking they might need something new enabled in the extensions since they got updated.


Make cache path configurable

Currently cache path is hardcoded to be /var/cache/impalatogo.
It should be possible to specify the path before startup in a configuration file.

This path is configurable via impalad option and if no option specified it will be set to var/cache/impalatogo

2 questions:
1 - What's the option?
2- Is the directory created if not forund?

If dir not found impala crashes.
On Tue, Mar 10, 2015 at 5:20 PM, Robert Navado<EMAIL_ADDRESS>wrote:

2 questions:
1 - What's the option?
2- Is the directory created if not forund?
—
Reply to this email directly or view it on GitHub
https://github.com/ImpalaToGo/ImpalaToGo/issues/45#issuecomment-78076117
.

impalad startup options specific for cache layer are:

cache_location - specify the absolute path where the root cache will be managed by Impala.
If omitted, /var/cache/impalatogo is for defaults. If empty and cache_mem_percent_of_available is 0, 2 options:

tachyon is configured : use tachyon as cache layer
no tachyon configured - use direct dfs work (no cache in between)

cache_mem_percent_of_available - percent of available memory on path specified with  cache_location that is allowed for Impala cache layer management. For more options, see above.

What about the cache location existence on Impala startup : should be decided should exist or we should create it (no shutdown if no configured cache exists). Please advice.

I think the directory should be created while warning printed in the log.


should I run process_tasks as a parallel process in order to execute tasks?

I run a project in Django 1.8.8.
The scheduled work is not executed though unless I start a separate process "python manage.py process_tasks". Then everything works fine. Sorry for my ignorance, but is it intended to be so or something wrong with my code?

Hi @chapkovski,
your code seems absolutely fine. Tasks are not executed in same process as your django application.
Here is the relevant part of the documentation: http://django-background-tasks.readthedocs.io/en/latest/#running-tasks


Update README.md

Improve grammar and flow of text
Improve readability of example
Bump required Go version to match https://github.com/cristalhq/aconfig/blob/main/aconfigyaml/go.mod

Looks like most of the changes are stylistic rather than practical. I appreciate for your time but I'm not ready to merge it. Thank you.

Fair enough. I reverted most of it and just left the grammar fix which is why I started the PR originally.

Thank you!


automation annotation is not good as readme

Hello,
thanks for sharing this project.
I have tried this tool from my side and using automation annotation feature by hold A key, but the result is not good as your demo.
Could you give more suggestion that how can I get better result? Do I need to train the model
again?

Pressing "A" will not run deep learning model, it's simply using some clustering method to generate the 3D bounding box. Details is in /docs folder. For running PointRCNN for prediction, try check the box "Fully automated annotation". If you are using the data I provided, you don't need to re-train the model.

yes, I have checked the box "Fully automated annotation". but the 3D bounding box are not created automatically, there is no error log print in the terminal. I guess the PointRCNN is not running in backend.
I am using the data you provided in the repo, and where is the pre-trained PointRCNN model?

Hello,
I re-run the eval_rcnn.py again to get the evaluate result and I can see the automation 3D bbox now after I checked the box "Fully automated annotation".

and I have another question:
Is the bottom edge line of bbox which has 3 adjust points means the head of vehicle?

yes, I have checked the box "Fully automated annotation". but the 3D bounding box are not created automatically, there is no error log print in the terminal. I guess the PointRCNN is not running in backend.
I am using the data you provided in the repo, and where is the pre-trained PointRCNN model?

You should be able to check the box and have everything ready by itself, which may takes long time for first time per your hardware. The details is in preprocess.py, it will be called automatically once you check the box and then run pointrcnn. If you manually type and run eval_rcnn.py, that breaks the purpose and is not the correct way to use this tool and I'm not sure what will happen by doing this.

Hello,
I re-run the eval_rcnn.py again to get the evaluate result and I can see the automation 3D bbox now after I checked the box "Fully automated annotation".

and I have another question:
Is the bottom edge line of bbox which has 3 adjust points means the head of vehicle?

Yea, the extra adjust point gives you the freedom to adjust yaw angle. The rest 4 at the the corners gives the freedom to adjust size IIRC.

yes, I have checked the box "Fully automated annotation". but the 3D bounding box are not created automatically, there is no error log print in the terminal. I guess the PointRCNN is not running in backend.
I am using the data you provided in the repo, and where is the pre-trained PointRCNN model?

You should be able to check the box and have everything ready by itself, which may take relative long time for first time per your hardware. The details is in preprocess.py, it will be called automatically once you check the box and then run pointrcnn. If you manually type and run eval_rcnn.py, that breaks the purpose and is not the correct way to use this tool and I'm not sure what will happen by doing this.
The pre-trained model file is in --rcnn_ckpt checkpoint_epoch_40.pth --rpn_ckpt checkpoint_epoch_50.pth as can be found in preprocess.py.
And again for the purpose of this tool I would not suggest to modify any low-level structure since we want to make it handy to use. If you are interested in changing the structures or re-train the model, etc, please follow the /docs folder and read the code to figure out how everything runs.

ok, thank you for your detail explanation .
I think there is some dependency library issue in my environment,  will re-install the necessary libraries and follow the docs to run this project again.


discovery service should also work to retrieve content in other (non - triple) structured formats like json or xml

would be nice if we can have a more generic version of this script that can also fetch infromation in text/xml or application/json
of course in those cases the Graph structured response would not make sense

and giving this some more thought...
there are also some more rdf sources we should support ( and test)

embedded RDF-A  in text/html (hopefully rdflib has some support for that )
conneg of rdf-xml (mime-type application/rdf+xml)

the mentioned extra non-rdf mime-types to cater for are

application/json  (could be embedded too)
text/xml


CSS Syntax-Highlighting won't recognize all keywords

The CSS rules for this code won't be highlighted equally:

    .first_rule {
       font-size: 12px;
    }
    .second_rule:hover {
       font-size: 12px;
    }

`.first_rule` will have a plain black color, but `.second_rule` will be
highlighted in blue because it is interpreted a keyword. It seems as if
`.first_rule` would also become a keyword, as soon as I append a pseudo class
(or anything else beginning with a  colon) to it. This lets the user assume
that there is a difference between the two kinds of identifiers, but indeed
there isn't.

Please have a look here to see this in action:
http://meta.stackoverflow.com/questions/132758/syntax-highlighting-wont-recogniz
e-all-css-keywords

Original issue reported on code.google.com by twiligh7sparkle on 16 May 2012 at 11:29

Live demo to test the issue: https://jsfiddle.net/amroamroamro/dz98x97r/


default node.js debug args is deprecated when update to node.js 8.0

VSCode Version: 1.12.2
OS Version: macOS 10.11.6

Steps to Reproduce:

run vscode debugger under node.js 8.0 and can find
(node:2224) [DEP0062] DeprecationWarning: node --inspect --debug-brk is deprecated. Please use node --inspect-brk instead. IN CONSOLE

This is expected. The message is hidden in 1.13

Fixing a bug by suppressing a warning, sorry?

It's not a bug, it's a valid way to put node 8 in debug mode, which they only kept to make life easier for IDEs. Also I have #27731 to make version detection more sophisticated in the future and try to use --inspect-brk.

Okay, now I got it. Apologize. :/

No worries, I know it doesn't look very good... That warning was added about 12 hours before node 8 final was out the door 😁


Error: global_route.tcl, 21 GRT-0119

Describe the bug
When I try to run make DESIGN_CONFIG=./designs/sky130hd/chameleon_hier/config.mk, I am getting an error.
[INFO GRT-0101] Running extra iterations to remove overflow.
[WARNING GRT-0230] Congestion iterations cannot increase overflow, reached the maximum number of times the total overflow can be increased.
[INFO GRT-0197] Via related to pin nodes: 14773
[INFO GRT-0198] Via related Steiner nodes: 555
[INFO GRT-0199] Via filling finished.
[INFO GRT-0111] Final number of vias: 22592
[INFO GRT-0112] Final usage 3D: 321877
[ERROR GRT-0119] Routing congestion too high. Check the congestion heatmap in the GUI and load ./reports/sky130hd/chameleon_hier/base/congestion.rpt in the DRC viewer.
Error: global_route.tcl, 21 GRT-0119
Command exited with non-zero status 1
Elapsed time: 0:33.32[h:]min:sec. CPU time: user 32.20 sys 1.10 (99%). Peak memory: 2623396KB.
make: *** [Makefile:598: results/sky130hd/chameleon_hier/base/5_1_grt.odb] Error 1
Expected Behavior
A clean RTL-to-GDS flow
Environment
n/a

To Reproduce
n/a
Relevant log output
No response
Screenshots
No response
Additional Context
No response

Have you tried "Check the congestion heatmap in the GUI and load ./reports/sky130hd/chameleon_hier/base/congestion.rpt in the DRC viewer."?

Similarly to https://github.com/The-OpenROAD-Project/OpenROAD/issues/3321 not a CI'ed design

@vijayank88 do you want to pursue this?


install: drop purge_data and related code

Not doing this step during the teardown phase of the install task makes it
easier to implement alternative deployment tasks (i.e. tests that deploy Ceph
clusters, but do not call ceph.py).
While the install task causes the ceph-osd package to be installed and creates
the OSD directories under /var/lib/ceph, it is actually the ceph task that
populates these directories so in any case their "unpopulation" should be
implemented there, and not here in the install task.
In the final analysis, however, this code is no longer needed now that all test
nodes (virtual and bare metal) are reimaged between runs.
Signed-off-by: Nathan Cutler<EMAIL_ADDRESS>

@smithfarm flake8 failed:
teuthology/task/install/__init__.py:11:1: F401 'teuthology.orchestra.run' imported but unused
teuthology/task/install/rpm.py:358:5: F841 local variable 'proj' is assigned to but never used

These are required to be resolved.

@kshtsk The second one I understand, but I don't see how my patch caused the first one ("teuthology/task/install/init.py:11:1: F401 'teuthology.orchestra.run' imported but unused").

@kshtsk The second one I understand, but I don't see how my patch caused the first one ("teuthology/task/install/init.py:11:1: F401 'teuthology.orchestra.run' imported but unused").

@smithfarm JFYI you've remove purge_data which has been using run.Raw.

Hmm. I'd been hoping at some point to make the test development workflow where you

lock a set of nodes
run your test directly (not through the queue) against your nodes
make changes
run your test directly against your nodes again

would behave. (It doesn't work right now because you can't nuke nodes without reimaging any more.) This moves us away from that. :/ Not necessarily a blocker, but it makes me sad.

So, are we good to merge it?

As @gregsfortytwo said, for manual workflow(testing scripts in local environment) it might still be useful(if deployed via ceph.py) , I am curious you are removing the functions but its called somewhere ?

I can't find the usage from anywhere in ceph/ceph repo and in ceph/teuthology rather than that.

I'm going to squash and merge this PR if you guys don't mind.

@gregsfortytwo @vasukulkarni I would argue there are better ways of purging (i.e. destroying) OSDs nowadays than this. Also, since the install task does not create OSDs, it should not be in the business of purging/destroying them.
In other words, this code is not only misplaced - it's also outdated. So I don't see any problem with removing it from where it clearly should not be, without reimplementing it in the ceph task (since "reimplementing" is not just a matter of copy/paste).


Website

The website not working on chrome. I was told it works in explorer.

Hi @LaFrish.
Please can you provide more details? What isn't working for you? The website is working fine across all major browsers for me here.
In general, this sort of project level question is best suited on the mailing list or slack team. That way the whole Node-RED user community can help, rather than rely on the core development team. This issue tracker is for code issues with node-red itself.
Thanks!

Hi @LaFrish - any updates on this? Given the website is working fine for us and we've not had any other reports of issues, I'm going to close this issue.
But please do let us know if you're still having a problem and we can help you figure it out.


Reddit RSS failed parsing

When parsing a reddit RSS feed directly as an optional rss, atom and or json feed fails but manually parsing as Atom works. It also seems summary text isn't working for AtomFeed.

Ever resolve?

@aehlke I didn’t ever find a solution unfortunately. It might have been a change in Reddit’s API, when I have more time I may take a further look.


Add rule 'no-promise-as-boolean'

This commit fixes #3983
PR checklist

[x] Addresses an existing issue: fixes #3983
[x] New feature, bugfix, or enhancement

[x] Includes tests

[x] Documentation update

Overview of change:
Added rule to prevent people from using a Promise in a boolean expression.
Is there anything you'd like reviewers to focus on?
No.
CHANGELOG.md entry:
"[new-rule] no-promise-as-boolean"

Thanks for your interest in palantir/tslint, @guidsdo! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Build is failing due to a bug in typescript@next, please ignore this.

@JoshuaKGoldberg fixed all the issues, please re-review

@JoshuaKGoldberg can I expect you to look at this before the 1st of August?

Would love to use this in tslint before it is too late!

Would love to use this in tslint before it is too late!

Hi folks! The 1st of August deadline is for sending PRs. I'm a bit swamped now but promise to review this, even if it's after then! 💖

Ah, I don't have permissions to make the one suggested change @guidsdo. Could you please commit that suggestion and merge the latest master into this PR? Once you do, we'll be good to merge! 🚀

Ah, I don't have permissions to make the one suggested change @guidsdo. Could you please commit that suggestion and merge the latest master into this PR? Once you do, we'll be good to merge! 🚀

Thought I put that on, but thanks I applied the change and merged master into my branch :-)

Thanks so much @guidsdo! Rule is looking great; let's get it in.


Pub/Sub model

Hey Nadav,
Is it possible to add a pub/sub mechanism to the bus so that clients can listen on specific events flowing through the bus? I have a great use case for it.
Thanks,
R

There's already a persistent pub/sub ability but if I understand correctly you're talking about true pub/sub.
I'll add this option in the near future.

Released version 0.12.0 with new pubsub capabilities.
var subscriber = bus.pubsub('my pubsub channel');
subscriber.on('message', function(message) {
  // do whatever
});
subscriber.subscribe();

var publisher = bus.pubsub('my pubsub channel');
publisher.publish('this is a message');

That's great new Nadav!
Thanks!
Sent from my iPhone
On Aug 8, 2015, at 12:34 PM, Nadav Fischer<EMAIL_ADDRESS>wrote:
Released version 0.12.0 with new pubsub capabilities.
var subscriber = bus.pubsub('my pubsub channel');
subscriber.on('message', function(message) {
// do whatever
});
subscriber.subscribe();
var publisher = bus.pubsub('my pubsub channel');
publisher.publish('this is a message');
—
Reply to this email directly or view it on GitHub
https://github.com/capriza/node-busmq/issues/11#issuecomment-128944125.

Is it possible to publish and subscribe on same variable?
var pubsub = bus.pubsub('all-workers');
pubsub.on('message', function(message) {
// do whatever
});
pubsub.subscribe();
pubsub.publish('rebellion!!!');

Absolutely!


install jaxlib==0.3.5 broken

pip install jaxlib==0.3.5+cuda113.cudnn820 -f https://alpa-projects.github.io/wheels.html
results in an error as https://github.com/alpa-projects/alpa/releases/download/v0.2.0/jaxlib-0.3.5%2Bcuda113.cudnn820-cp38-none-manylinux2010_x86_64.whl does not exist
fix:  change to https://github.com/alpa-projects/alpa/releases/download/v0.1.6/jaxlib-0.3.5%2Bcuda113.cudnn820-cp38-none-manylinux2010_x86_64.whl
for jaxlib==0.3.5 versions
workaround: pip install jaxlib==0.3.5+cuda113.cudnn820 -f https://github.com/alpa-projects/alpa/releases/download/v0.1.6/jaxlib-0.3.5%2Bcuda113.cudnn820-cp38-none-manylinux2010_x86_64.whl

@OrenLeung : please use jaxlib==0.3.15 instead

duplication of https://github.com/alpa-projects/alpa/issues/692

Duplication of https://github.com/alpa-projects/alpa/issues/692.
Thanks for sharing the fix. That is the recommended way to install old versions.


Android GCM :: How to detect the need to remove the DeviceToken/DeviceRegId from my database with the bundle?

Hey guys,
I got push notification working with gcm but now i need to find the way to remove the DeviceToken/DeviceRegId from my database when for example the user uninstalled the app from his device.
In ios i am using the feedback service but i found nothing in the bundle docs about how to do this in android gcm, i also would like to know how to handle this with 'use_multi_curl' enabled.
In my parameters i have:
rms_push_notifications:
android:
timeout: 5
gcm:
api_key: xxxxxxxx
use_multi_curl: true
dry_run: false
Thank you!

Hey guys,
I found a way to make it work for now, hope it helps someone.
I know is now the best way but it can make it until Rich or someone more experienced answer the issue.
First i changed the config property use_multi_curl to false.
Then your code can look like the sample bellow:
if($platform == 'gcm') {     $pushResponses = $pushNotificationService->getResponses('rms_push_notifications.os.android.gcm');     $pushResponse = (isset($pushResponses[0])?$pushResponses[0]:'');     if($pushResponse) {         $pushResponseContent = $pushResponse->getContent();         if(strpos($pushResponseContent, 'NotRegistered') !== false) {             //Remove the token from your database here         }     } }

@GuilhermeMoura1 Thanks for the snippet. With that one I came up to the following implementation for checking the response in general (not only for "NotRegistered"). This is just an action method in one of my controllers I have been using to test the push services (I just post this here in case of anyone is interested):
/**
 * @Route("/push-test")
 *
 * @return \Symfony\Component\HttpFoundation\JsonResponse
 */
public function pushTestAction() {
	//	… use RMS here to send push notifications

	//	now get the response for android similar to the code above by GuilhermeMoura1

	/** @var Response[] $pushResponses */
	$pushResponses = $this->get('rms_push_notifications')->getResponses('rms_push_notifications.os.android.gcm');
	$responses = [];

	foreach ($pushResponses as $pushResponse) {
		//	this is a JSON string
		$responseContent = $pushResponse->getContent();
		//	let's decode it
		$responseData = json_decode($responseContent, true);
		//	add to list of responses
		$responses[] = $responseData;
	}

	return $this->json([
		'respones' => $responses,
	]);
}


AMQP: Missing timeout of discovery message

It seems that we can get into a stuck state if the RabbitMQ is full on disk, where publishing discovery message gets into "blocked" state and the participant stays that way.

The issue would be less likely to be problematic if the discovery was using an exchange instead of queue, see https://github.com/msgflo/msgflo/issues/13


missing support for property-changed methods

property-changed methods need to be included in the metadata
a string property named Foo should automatically support things like the following methods:
private static void FooPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { }
private static void FooPropertyChanged(MyClass self, DependencyPropertyChangedEventArgs e) { }
protected virtual void OnFooChanged(DependencyPropertyChangedEventArgs e) { }
private void OnFooChanged(string oldFoo, string newFoo) { }

basic support has been added in #2


Align gradients API with TF (dl.grad returns a function f to be evaluated later)

This change is

Reviewed 14 of 19 files at r1, 4 of 5 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

src/math/softmax.ts, line 108 at r3 (raw file):

    }
    // Use a custom gradient for numerical stability.
    const customOp = customGrad(logits => {

this should take logits and label - the gradient should return both (this is supported in TF: https://www.tensorflow.org/api_docs/python/tf/nn/softmax_cross_entropy_with_logits_v2)

src/math/backends/gradients.ts, line 18 at r3 (raw file):

 */

import {ENV} from '../../environment';

What do you think about moving this file up a directory into math/? This seems like the wrong place for it, backends/ should be stuff for kernel implementation, not things that are backend-agnostic (my fault).
When you move it up, maybe you can move the tests in math_tests about gradients into gradients_test.ts?
This may also apply to tracking.ts, and even backend_engine.

src/math/backends/gradients.ts, line 49 at r3 (raw file):

   * `f(x)` must take a single tensor `x`. Returns another function `g(x, dy?)`,
   * which when called gives `df/dx`. If `dy` is provided, the gradient of
   * `dl.dot(f(x), dy)` w.r.t. `x` is computed instead.

f(x).mul(dy).sum()

src/math/backends/gradients.ts, line 98 at r3 (raw file):

   */
  @doc({heading: 'Training', subheading: 'Gradients'})
  static grads<O extends Tensor>(f: (...args: Tensor[]) => O):

move this up next to grad

Comments from Reviewable

Reviewed 19 of 19 files at r1, 5 of 5 files at r2.
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.

src/math/softmax.ts, line 108 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
this should take logits and label - the gradient should return both (this is supported in TF: https://www.tensorflow.org/api_docs/python/tf/nn/softmax_cross_entropy_with_logits_v2)

Done.

src/math/backends/gradients.ts, line 18 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
What do you think about moving this file up a directory into math/? This seems like the wrong place for it, backends/ should be stuff for kernel implementation, not things that are backend-agnostic (my fault).
When you move it up, maybe you can move the tests in math_tests about gradients into gradients_test.ts?
This may also apply to tracking.ts, and even backend_engine.

Yes, I'm planing on moving bunch of files out of backends folder (tracking, gradients, rename math_tests to engine_tests). Let's do that in a separate PR.

src/math/backends/gradients.ts, line 49 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
f(x).mul(dy).sum()

Done.

src/math/backends/gradients.ts, line 98 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
move this up next to grad

Done.

Comments from Reviewable


Feature/amex credit card

@AO16

:+1:

@pzuraq Do you have any plans to integrate this more within Ember?

I'm actually going to update the README to make it more clear, haven't communicated to well which is my fault, but I consider this component deprecated for a number of reasons. The biggest problem is performance, but it's also clunky with events and such like the problem this test showed.
This comes down to the fact that we are trying to wrap a Jquery plugin rather than doing input masks in native Ember. I've been meaning to make a native Ember input mask component for a while, but haven't had the time. It's clear that a lot of people are using this and need this functionality though, I'll see if I can hack something out over Emberconf :wink:

@pzuraq :+1: If you end up doing that, I'd be happy to help contribute. Thanks for the work!

@AO16 Are you on the Ember community slack? Thought about it a bit and the problem is difficult for a number of reasons, I'm thinking it might make more sense to focus on certain types of masks over others and would like to talk about it. Reproducing the functionality of jquery.inputmask may not be feasible.

@pzuraq Currently not on ember community slack. Is there an easy way to get an invite?


Unify RekorPubKeys and CTLogPubKeys, refactor.

Signed-off-by: Ville Aikas<EMAIL_ADDRESS>
Summary
This is a more invasive follow up change as discussed in #2548
This unifies both Rekor / CTLog public key handling, and in particular the map / data structures that deal with mapping from LogID (in CT Log v1 this is a hash of the Public Key) to share implementations / definitions.
As part of the work, moved most of the code from the pkg/cosign/fulcioverifier => pkg/cosign for couple of reasons:

Well it seemed like it makes sense for the verify functions to be next to each other
without it, there would have been dependency hell

Release Note

This is a breaking change if you are using cosign golang packages as they have moved around and data definitions have changed. And in particular if you are using the cosign.CheckOpts for Rekor / CTLog public keys.

Documentation

Codecov Report

Merging #2569 (47d207d) into main (ed437f1) will increase coverage by 0.01%.
The diff coverage is 43.85%.

@@            Coverage Diff             @@
##             main    #2569      +/-   ##
==========================================
+ Coverage   30.00%   30.02%   +0.01%
==========================================
  Files         140      141       +1
  Lines        8654     8635      -19
==========================================
- Hits         2597     2593       -4
+ Misses       5675     5658      -17
- Partials      382      384       +2

Impacted Files
Coverage Δ

cmd/cosign/cli/verify/verify.go
22.49% <0.00%> (ø)

cmd/cosign/cli/verify/verify_attestation.go
3.43% <0.00%> (ø)

cmd/cosign/cli/verify/verify_blob.go
49.59% <0.00%> (ø)

cmd/cosign/cli/verify/verify_blob_attestation.go
27.36% <0.00%> (ø)

pkg/cosign/fulcioverifier/ctutil/ctutil.go
74.28% <ø> (+1.91%)
:arrow_up:

cmd/cosign/cli/sign/sign.go
15.67% <33.33%> (ø)

pkg/cosign/ctlog.go
37.93% <37.93%> (ø)

pkg/cosign/verify.go
38.56% <50.00%> (ø)

pkg/cosign/tlog.go
38.43% <60.00%> (ø)

pkg/cosign/verify_sct.go
47.50% <100.00%> (ø)

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Release 0.3.3

👍

Coverage decreased (-0.2%) to 95.204% when pulling 15190b044680154d1befdac315a735b82fb1bf94 on d00rman:rel-033 into cc920abb357b97b2e5c8f946a98afa666b94d6bb on wikimedia:master.

Published as v0.3.3


Please add coastlines and axis (min max lons and lats) to these two files to wrap up

@banesullivan
Please add coastlines and axis (min-max lons and lats) to these two files to wrap up.  These two files are critical for a current application that I need to get done.  The files are located in the rood director because file paths were messed up otherwise and I just need to get these figures completed.  The two files are:

https://github.com/brendanjmeade/kale/blob/main/coastlines_grid_kale_single_step_erosion_figures_nankai.ipynb
https://github.com/brendanjmeade/kale/blob/main/coastlines_grid_poster_three_panel.ipynb

I anticipate that this is short work for you and when this is finished, we can consider things done!

@bane This getting there!  You can finish this off very soon.  Please see the figures below for the final details.  The central goals of this last step are to clean up, consistency, and making two figures look like they were generated in the same way (e.g., coastline widths).  I think some of this may be achieved by sizing kale_single_time_step_cumulative_slip_nankai_years_large.png  so that it is the same size as, kale_single_step_erosion_figures_nankai.png.  Both of these figures are created by the notebook coastlines_grid_kale_single_step_erosion_figures_nankai.ipynb so that is the file to modify.  Happy to Zoom as a wrap up!

Okay, I think this does it? See 7ecaf0884d2d25984d6f508e56885b4386edd14e

Great and thanks @banesullivan !


TextInputAction.next does not move to the next input field under the keyboard

If the next field is under the keyboard then on next button tap the keyboard hides and input focus gone.
https://user-images.githubusercontent.com/3534966/102919180-734c5700-4499-11eb-8ee7-976e31b670b8.mov
Code
import 'package:flutter/material.dart';

void main()
{
  runApp(MyApp());
}

class MyApp extends StatefulWidget
{
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> with WidgetsBindingObserver
{
  @override
  Widget build(BuildContext context)
  {
    return MaterialApp(
      onGenerateTitle: (BuildContext context) => 'Test app',
      debugShowCheckedModeBanner: false,
      home: MyHomePage()
    );
  }
}

class MyHomePage extends StatefulWidget
{
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage>
{
  @override
  Widget build(BuildContext context)
  {
    return Scaffold(
      appBar: AppBar(
        title: Text('Test app'),
        centerTitle: false,
      ),
      body: LayoutBuilder(
        builder: (context, constraints) => form(constraints.biggest),
      ),
      floatingActionButton: RaisedButton(
        child: Text('SUBMIT'),
        onPressed: () {},
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
    );
  }

  Widget form(final Size size)
  {
    const margin = 4.0;
    final theme = Theme.of(context);
    final column = <Widget>[
      buildTextField('field1', 'hint1',
        action: TextInputAction.next,
      ),
      buildTextField('field2', 'hint2',
        action: TextInputAction.next,
      ),
      buildTextField('field3', 'hint3',
        action: TextInputAction.next,
      ),
      buildTextField('field4', 'hint4',
        action: TextInputAction.next,
      ),
      buildTextField('field5', 'hint5',
        action: TextInputAction.next,
      ),
      buildTextField('field6', 'hint6',
        action: TextInputAction.next,
      ),
      buildTextField('field7', 'hint7',
        action: TextInputAction.next,
      ),
      buildTextField('field8', 'hint8',
        action: TextInputAction.next,
      ),
      buildTextField('field9', 'hint9',
        action: TextInputAction.next,
      ),
      buildTextField('field10', 'hint10',
        action: TextInputAction.next,
      ),
      buildTextField('field11', 'hint11',
        action: TextInputAction.next,
      ),
      buildTextField('field12', 'hint12',
        action: TextInputAction.next,
      ),
      buildTextField('lastField', 'lastHint,
        action: TextInputAction.done,
      ),
    ].expand((e) => [SizedBox(height: 10), e])
    .toList()
    ..add(SizedBox(height: theme.buttonTheme.height + 50.0));
    return SingleChildScrollView(
      child: Card(
        shape: RoundedRectangleBorder(),
        margin: const EdgeInsets.symmetric(vertical: margin),
        elevation: 3.0,
        child: ConstrainedBox(
          constraints: BoxConstraints(
            minHeight: size.height - margin * 2,
          ),
          child: Column(
            children: column
          ),
        )
      )
    );
  }

  Widget buildTextField(
    final String label,
    final String hint,
    {
      final TextEditingController controller,
      final FocusNode focusNode,
      final bool autofocus = false,
      final bool obscure = false,
      final int linesNumber = 1,
      final TextInputAction action = TextInputAction.done,
      final Function() onEditingComplete,
    }
  )
  {
    final theme = Theme.of(context);
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 20.0),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.stretch,
        children: [
          Padding(
            padding: const EdgeInsets.only(bottom: 2.0),
            child: Text(label, style: TextStyle(
              fontSize: 16,
              fontWeight: FontWeight.bold
            )),
          ),
          TextField(
            controller: controller,
            focusNode: focusNode,
            autofocus: autofocus,
            obscureText: obscure,
            textInputAction: action,
            minLines: linesNumber,
            maxLines: linesNumber,
            decoration: InputDecoration(
              contentPadding: const EdgeInsets.symmetric(
                horizontal: 8.0, vertical: 10.0
              ),
              isDense: true,
              border: OutlineInputBorder(),
              filled: true,
              fillColor: theme.canvasColor,
              hintText: hint,
            ),
            onEditingComplete: onEditingComplete,
          ),
        ],
      ),
    );
  }
}

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.0.1 20B50 darwin-x64, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.51.1)
[✓] Connected device (1 available)
• No issues found!

You should put it in a form with a form key

I was able to reproduce this issue on latest master channel.
flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.145, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.145 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 38fe7e2b1c (7 hours ago), 2020-12-28 21:39:03 -0500
    • Engine revision 892034dc6a
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • Redmi 5 Plus (mobile) • 0258ff700005 • android-arm64  • Android 8.1.0 (API 27)
    • macOS (desktop)       • macos        • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)          • chrome       • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.
Process finished with exit code 0

Hi, everyone, I have figured out what causes the issue.
This is because the RaisedButton widget gets focused when reaching the bottom.
We can set skipTraversal true to achieve what you propose.
      floatingActionButton: RaisedButton(
        focusNode: FocusNode(skipTraversal: true),
        child: Text('SUBMIT'),
        onPressed: () {},
      ),

You should put it in a form with a form key

Hi, @ajnaf ! Did you mean to put the Column with TextFields into the Form with key? Something like this?
          child: Form(
            key: ValueKey(1),
            child: Column(
              children: column
            ),
          ),

This does not works. But, thanks to @xu-baolin, the next solution works:
          child: FocusScope(
            child: Column(
              children: column
            ),
          ),

You should put it in a form with a form key

Hi, @ajnaf ! Did you mean to put the Column with TextFields into the Form with key? Something like this?
          child: Form(
            key: ValueKey(1),
            child: Column(
              children: column
            ),
          ),

This does not works. But, thanks to @xu-baolin, the next solution works:
          child: FocusScope(
            child: Column(
              children: column
            ),
          ),

Resolved and close.

Resolved and close.


Remove The Bourbon Family in ToC

Description
Remove The Bourbon Family in ToC in README.md.
Additional Information
Follow up of cbfa319eec938c15f7e6c9bac231707acc1a6bc8.

🏓  @tysongach

@tysongach Thanks! Happy holidays 🎁

Thanks, @JuanitoFatas! Happy holidays to you, too!


WIP: Fadeout placeholder

Proposition to fix https://github.com/brianegan/chewie/issues/31
This solves the black frame at the beginning as well. One thing though: I can see a one pixel (or less?) line of the video loading in the background on the left and right side of the clip even when setting StackFit.expand. @brianegan do you have an idea why?

One way to fix the lines might be to just have the same order as before and do a fade-in of the video instead of a fade-out of the placeholder but i'd still love to know why it happens :P

Gonna close this for now as I think it's been open for a bit and might not apply to the current version :)


Able to install ingress-nginx chart using helm cli, but not with the helm go package v3.6.0

I'm able to install the ingress-nginx chart version 3.32.0 from repo https://kubernetes.github.io/ingress-nginx without any issues using the helm cli, but when installing it using the helm go package it times out waiting for the job ingress-nginx-admission-create to complete.  Why might this be happening?
Output of helm version: v3.6.0
helm go package version: v3.6.0
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"clean", BuildDate:"2021-03-18T01:10:43Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.9-gke.1400", GitCommit:"ec68c7064ea987ad0c7fb63930df96bdefeb93c4", GitTreeState:"clean", BuildDate:"2021-04-07T09:20:04Z", GoVersion:"go1.15.8b5", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.): GKE

The Helm CLI uses the Go SDK so this is curious. How are you using the Go package? Is there anything you can share, for example how you're using the API or any logs?

Hi @mattfarina
I've developed a basic exmaple:

import (
	"fmt"
	"log"
	"os"
	"path"
	"time"

	"helm.sh/helm/v3/pkg/action"
	"helm.sh/helm/v3/pkg/chart/loader"
	"helm.sh/helm/v3/pkg/cli"
	_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
)

func main() {
	namespace := "ingress-basic"
	chartName := "ingress-nginx"
	chartDir := "/home/sebastian/helm-chart-repo"
	repoURL := "https://kubernetes.github.io/ingress-nginx"
	version := "3.32.0"
	releaseName := "test-release"

	settings := cli.New()
	settings.Debug = true
	actionConfig := new(action.Configuration)
	// You can pass an empty string instead of settings.Namespace() to list
	// all namespaces
	if err := actionConfig.Init(settings.RESTClientGetter(), namespace, os.Getenv("HELM_DRIVER"), log.Printf); err != nil {
		log.Panicf("failed to create action config, error: %v", err)
	}

	fmt.Printf("Pulling chart: %v from repo: %v\n", chartName, repoURL)
	pullClient := action.NewPullWithOpts(action.WithConfig(actionConfig))
	pullClient.RepoURL = repoURL
	pullClient.Settings = settings
	pullClient.DestDir = chartDir
	pullClient.Version = version
	_, err := pullClient.Run(chartName)
	if err != nil {
		log.Panicf("failed to pull chart: %v, error: %v", chartName, err)
	}

	client := action.NewInstall(actionConfig)
	client.Namespace = namespace
	client.ReleaseName = releaseName
	client.Wait = true
	client.WaitForJobs = true
	client.CreateNamespace = true
	client.Timeout = time.Minute * 3

	chartPath := path.Join(chartDir, fmt.Sprintf("%v-%v.tgz", chartName, version))
	chart, err := loader.Load(chartPath)
	if err != nil {
		log.Panicf("failed to load chart: %v\nerror: %v", chartPath, err)
	}
	values := map[string]interface{}{
		"controller": map[string]interface{}{
			"replicaCount": 2,
		},
	}
	fmt.Printf("Installing chart: %v, releaseName: %v\n", chartName, releaseName)
	release, err := client.Run(chart, values)
	if err != nil {
		log.Panicf("failed installing chart, error: %v", err)
	}
	fmt.Printf("Chart: %v installed", release)
}

This is the output I get:

I noticed that you set the “wait” flag to true. Can you check and confirm whether you do the same with the helm CLI, and if so, check the logs of the pre-install hook that is causing the failure?

I noticed that you set the “wait” flag to true. Can you check and confirm whether you do the same with the helm CLI, and if so, check the logs of the pre-install hook that is causing the failure?

With the cli I have installed it with or without the wait flag and both work without any issues. And I've ran the example with the flags on and off, it fails in both cases.
Where can I check the hook logs?

kubectl logs

potentially relevant: https://github.com/helm/helm/issues/9761

kubectl logs

The log for the job only contains:
"error: timed out waiting for the condition"
How can I get the logs for the preinstall web hook
Here is the describe for the job:

potentially relevant: #9761

I had seen that issue, but I am specifying a timeout.

The pre-install web hook IS the job. So running kubectl logs on the job is the correct action here.
In this particular case, it would appear that your job has his a "backoff limit". A backoff limit tells your Job to stop trying after a number of failed attempts. This parameter is described in the Kubernetes documentation.
From https://helm.sh/docs/topics/charts_hooks/#hooks-and-the-release-lifecycle:

What does it mean to wait until a hook is ready? This depends on the resource declared in the hook. If the resource is a Job or Pod kind, Helm will wait until it successfully runs to completion. And if the hook fails, the release will fail. This is a blocking operation, so the Helm client will pause while the Job is run.

In other words, because your hook was declared as a Job, and the hook failed due to reaching the backoff limit, the release failed to install.

Short answer: fix your Job, and the release should succeed.

Short answer: fix your Job, and the release should succeed.

So, do you mean that increasing the timeout should fix the issue? I've increased it to 10 minutes and still fails, with the cli the installation does not take more than 2 minutes

I'm saying that Kubernetes is informing you that one pod (the pre-install hook) is failing, causing the installation to fail. I would investigate further as to why that happened.

Kubernetes is informing you that one pod (the pre-install hook) has failed, causing the installation to fail. I would investigate further as to why that happened. Increasing the timeout will not fix the issue.

But what would be the reason that the job does not fail when I install the chart using the helm cli, but fails when I install it using the helm go package? I did not develop this chart.

It's unclear to me at this time. Perhaps the logs from the failed job would tell us more.

The log for the job only contains:
"error: timed out waiting for the condition"

Can you share how you found that error message? Was that from kubectl logs test-release-ingress-nginx-admission-create?

It's unclear to me at this time. Perhaps the logs from the failed job would tell us more.

The log for the job only contains:
"error: timed out waiting for the condition"

Can you share how you found that error message? Was that from kubectl logs test-release-ingress-nginx-admission-create?

kubectl logs job/test-release-ingress-nginx-admission-create


⚠ SolarOscp has degraded performance

In 0620668, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 405 ms

Resolved: SolarOscp performance has improved in 0873bee after 10 minutes.


Fixed spark jar publication (both sparkless and plugin jars)

The sparkcore.jar publication is a bit of a hack.  We should do better in future when we have more time.

@djspiewak, should the sparkcore.jar file be generated in the spark_local job? I don't see it being generated.
https://travis-ci.org/quasar-analytics/quasar/jobs/288801072#L569
Maybe I'm missing something.

sounds like it doesn't have to be generated in spark local job. I'll merge.

sparkcore.jar should be generated in different folder, will cover this in other PR


integer divide by zero in prometheus/tsdb.(*LeveledCompactor).Plan

Hi, I got a crash on an v2.0.0-beta.1 instance running just a few hours, due to a division by zero.
Do you need more info, or should this statement just be guarded by checking if NumTombstones == 0?
https://github.com/prometheus/tsdb/blob/e0aca4bee9ae472d1c164c5562eed2a4bf4c700a/compact.go#L173
panic: runtime error: integer divide by zero
goroutine 84 [running]:
github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb.(*LeveledCompactor).Plan(0xc42049bdd0, 0x7ffc5a300f03, 0x14, 0x0, 0x15da4889200, 0x15ded7d5400, 0x0, 0x0)
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb/compact.go:173 +0x621
github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb.(*DB).compact(0xc4200e82a0, 0xc420011100, 0x0, 0x0)
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb/db.go:406 +0x2c5
github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb.(*DB).run(0xc4200e82a0)
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb/db.go:281 +0x3c6
created by github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb.Open
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb/db.go:250 +0x488

Just fixed by #120


enable Go race condition check

Closing as it looks no longer relevant. We have a make entry to build binary with race detector.


Fix command in user-access.md

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9441.

Learn Build status updates of commit 253ba2d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/user-access.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@DaniEASmith
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_6e7ed57a-d1c7-4401-b178-16cbaaabc363/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_6e7ed57a-d1c7-4401-b178-16cbaaabc363.git

Docs Build status updates of commit 002e96c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-27-05-43-24 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-27-05-43-24

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


cucumber-expressions: Allow ?! as a non-capturing negative lookahead in TreeRegexp

This is considered to be a regression from 2.4. However I need a little help understanding the ?! nuances as one of the tests fails and I don't understand why.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[x] I've added tests for my code. - But they need looking at as one fails.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@madkin @nzifnab - If you've got time could you look at my ?! test and let me know what I've done wrong. As it seems to be failing.
Ping @jaysonesmith - Do you know if this will need fixing for JS / Go?

Fixed at Cukenfest. Commit to be uploaded shortly

Closing to fix on the main repo


update radiation observation

Update the radiation observation artifact to include surface radiative fluxes. The artifact is also much bigger and not downloadable now because of higher resolution.
Checklist:

[ ] I created a new folder $artifact_name

[ ] I added a README.md in that that folder that

[ ] describes the data and processing done to it
[ ] lists the sources of the raw data
[ ] lists the required citation, licenses

[ ] If applicable (e.g., for Creative Commons), I added a LICENSE file
[ ] I added the scripts that retrieve, process, and produce the artifact
[ ] I added the environment used for such scripts (typically, Project.toml
and Manifest.toml)
[x] I added the OutputArtifacts.toml file containing the information
needed for package developers to add $artifact_name to their package

[x] I uploaded the artifact folder to the Caltech cluster (in
/groups/esm/ClimaArtifacts/artifacts/$artifact_name)
[x] I added the relevant code to the Overides.toml on the Caltech Cluster
(in /groups/esm/ClimaArtifacts/artifacts/Overrides.toml)
[ ] I added a link to the main README.md to point to the new artifact

Can you maybe update this to use the function introduce here:
#9

When I do this, it creates an empty .gz file and asks me to upload it to caltech box. Maybe it's because the file is too big?


Provide warnings for unsupported data type, content type, mime types in ballerina service generation

Description:
This issue is to provide warnings for the default value assign scenarios in openAPI service generations.

[ ] Check dataTypes
[ ] Check contentTypes
[ ] Check mediaTypes

Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This was covered via the openAPI tool v2 revamping


Death checking & more

-Allegiance checking for AOE

Fixed skill levelup message

The addition of external links to off-site communities (e.g. Discord, off-site message boards, etc.) is prohibited.  I've removed the link from the script.json so that your updates to the script can be merged in.  I recommend you create a post on the Roll20 API Script forum if you wish to provide support.
Jeff


Add home page

Added home and register for job board notification page
Commit# bc0cb50f057cca404d3cd3c2c2f39ea2b6181f9a

Looks good. Proceed with closing this


issues#1946 add [Druid] Source & Sink

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

fix:issues#1946 add [Druid] Source & Sink

fix:issues#1946 add [Druid] Source & Sink

@ic4y PTAL, thx.

Hi, please resolve conflicts files

done
resolve conflicts files：
seatunnel-connectors-v2/pom.xml
pom.xml
plugin-mapping.properties

done add source & sink doc

I'm sorry, but I want reject this PR. Because too many code update but no connection with Druid Source/Sink. You can split it into multi PR, each have only one main purpose. Thanks again!

And you delete lots of code which shouldn't be deleted.

Any update you can reopen this PR again, or create another PR only with Druid Source/Sink (recommend).

OK  THX！
I can create another PR only with Druid Source/Sink.Done today or tomorrow


Event Service

Description
(What have been done/changed)

[x] [MVP 1] build your own schedule
[x] [MVP 1] FAQ
[x] [MVP 1] RSVP
[ ] [MVP 2] calendar and list view (sort by time, event type)

[x] calendar view for desktop
[ ] list view for mobile

[x] [MVP 2] attendance tracking tied to a wristband
[ ] [MVP 3] notifications — way for admin to message participants of a certain event to communicate updates (e.g., room or time changes) or things they should bring (e.g., a resume)

[ ] shown on top of page and clear
[ ] push notifications from the browser

[x] [MVP 3] have edit accessibility for admins (change event details)
[x] [MVP 3] tagging event types (e.g., sponsor event, workshop) and industry (e.g., CS, business)

Testing plan
(How will we test the changes requested on this PR?)

[ ] aaaa

@VictiniX888 to do before review:

[ ] deploy the event service to Cloudflare Workers


WIP: Migrate to elm 0.19

Hey guys,
Here is a draft to make elm-random-pcg compatible with elm v0.19.
The biggest change is the renaming of a few variables since now the compiler doesn't allow name shadowing.
I opened the PR early in order to have a few feedback before I start migrating the tests (so this is still a WIP).
One thing though, I am not sure exactly how to launch the tests.
Shall I run every single file in /tests one by one?
Last thing, I am very new to Elm so I am up for a tough review :nerd_face:

The new first-party library elm/random adopts this implementation. A small handful of features didn't get migrated such as fastForward and JSON conversion. Unless you are using those (and then we'll talk), use the official library.


Add training to colab

Hi I'm currently receiving a lot of errors when trying to train my own model with my own video. Could you guys add training into the colab so there is a less complicated guide that it more likely to run?

I've mostly made one now if anyone wants it reach out I just didn't finish running it due to runtime on google colab free version. I also have started running it on windows.

Hi could you post or send the working colab version? Im having the same troubles as you, so it would be of great help.

I made a repo with the colab, it is just the demo with added training command. You still have to create a directory in data with your name and upload a 512x512 video there.  Make sure to add .mat file and other files needed in 3DMM directory. Make sure you are in RAD-NeRF dir before running training or processing script. If you are using free colab it will take multiple runtimes to get from process.py to first to 3rd training seconds. Just rerun when out of run time installing requirements again but mounting drive helps keep 3DMM files intact and the uploaded video working better.

Would you mind sharing where you got the files required to be in the 3DMM folder?

it's in the readme ## prepare basel face model
1. download 01_MorphableModel.mat from https://faces.dmi.unibas.ch/bfm/main.php?nav=1-2&id=downloads and put it under data_utils/face_tracking/3DMM/

Thank you, I missed that part.

getting this error when running the covert_BFF.py file,
/content/RAD-NeRF/data_utils/face_tracking
Traceback (most recent call last):
File "/content/RAD-NeRF/data_utils/face_tracking/convert_BFM.py", line 4, in
original_BFM = loadmat("3DMM/01_MorphableModel.mat")
File "/usr/local/lib/python3.10/dist-packages/scipy/io/matlab/_mio.py", line 227, in loadmat
matfile_dict = MR.get_variables(variable_names)
File "/usr/local/lib/python3.10/dist-packages/scipy/io/matlab/_mio5.py", line 330, in get_variables
res = self.read_var_array(hdr, process)
File "/usr/local/lib/python3.10/dist-packages/scipy/io/matlab/_mio5.py", line 290, in read_var_array
return self._matrix_reader.array_from_header(header, process)
File "_mio5_utils.pyx", line 665, in scipy.io.matlab._mio5_utils.VarReader5.array_from_header
File "_mio5_utils.pyx", line 694, in scipy.io.matlab._mio5_utils.VarReader5.array_from_header
File "_mio5_utils.pyx", line 768, in scipy.io.matlab._mio5_utils.VarReader5.read_real_complex
File "_mio5_utils.pyx", line 445, in scipy.io.matlab._mio5_utils.VarReader5.read_numeric
File "_mio5_utils.pyx", line 350, in scipy.io.matlab._mio5_utils.VarReader5.read_element
File "_streams.pyx", line 171, in scipy.io.matlab._streams.ZlibInputStream.read_string
File "_streams.pyx", line 164, in scipy.io.matlab._streams.ZlibInputStream.read_into
OSError: could not read bytes
.mat file is present under 3DMM/ .Im trying to run the training process in colab (free version). Any suggests ? @gloomiebloomie


Email's are receiving without an attachment

Hello,
I used your code in my setup and I am receiving the email successfully but there is no file attached to the email. The email is just saying "A new file has been uploaded:"

@terraformcomplex sorry you ran into this issue and thanks for reporting it.
In order to reproduce it it would be great to have the file you were expected to see, and also would help a lot if you could share the logs of the Lambda function named email_sender_lambda .
Is the Lambda in the same region as your S3 bucket?


fix the leaking DynamicArray unittest

@MikeLing seems that broke msvc :)

the problem is that in CDynamicArrayFixture you create the wrapper_array* by:
		wrapper_array_b = new CDynamicArray<bool>(this->b_array, 5);
		wrapper_array_i = new CDynamicArray<int32_t>(this->i_array, 5);

if you check that'll actually set CDynamicArray.m_array.free_array = true, so when you call SG_UNREF on wrapper_array* it'll free the underlying array itself hence the deconstructor will try to call SG_FREE on an already deallocated memory region....

and actually could you fix the fixture to actually use meaningfully the typed tests
template<typename T>
class CDynamicArrayFixture : public ::testing::Test
{
protected:
	CDynamicArrayFixture()
	{
		array = SG_MALLOC(T, 5);
		for (int32_t i = 0; i < 5; i++)
		{
			array[i] = (T)i;
		}
	}
	virtual void SetUp()
	{
		wrapper_array = new CDynamicArray<T>(this->array, 5);
	}
	virtual void TearDown()
	{
		SG_UNREF(wrapper_array);
	}
	virtual ~CDynamicArrayFixture()
	{
	}

	CDynamicArray<T>* wrapper_array;
	T* array;
};

and then of course i'd do this:
typedef ::testing::Types<bool, char, int8_t, uint8_t, int16_t, int32_t, int64_t, float32_t, float64_t> DynamicArrayTypes;
TYPED_TEST_CASE(CDynamicArrayFixture, DynamicArrayTypes);

and then use TYPED_TEST for all the tests you've created for CDynamicArrayFixture

@MikeLing how is this going along? do you need a hand, the example i've pasted above is pretty easy to apply on your existing code

still need to verify its memory by valgrind, please don't review it for now :) thank you

isn't wrapper_array = new CDynamicArray<T>(this->array, 5); ctor actually setting the free_array=bool? but yeah i mean if valgrind says it's ok then it's ok ;)

check the formatting error:
https://travis-ci.org/shogun-toolbox/shogun/jobs/248706801#L798

ok, here is the valgrind's result  https://pastebin.mozilla.org/9026083. Hope it's good to fix the memory leaking issue :)


View File in Explorer

Hello,
Somehow in the article cannot find if using new EDGE the option "View File in Explorer" is being audited for file operation?

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

ID: 2c3f9bb0-43af-b544-3fd7-71eed410cbec
Version Independent ID: 250786b4-90f1-0eab-c15d-2f0182d69e5e
Content: View SharePoint files with File Explorer in Microsoft Edge - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/sharepoint-view-in-edge.md
Service: sharepoint-online
GitHub Login: @adeejoseph
Microsoft Alias: adjoseph

Hello @lightupdifire I am looking into this

Hello @lightupdifire
This is the information I could get
"View in File Explorer" is an ODOpen protocol handler invocation of the sync client from the SharePoint web experience. Note: this feature only works if the user is already syncing the content they are attempting to view in explorer. The sync client does not make events visible in the Windows event viewer. As the sync client keeps the local folder in sync with the cloud folder/document library, the download activity would be auditable within SPO. For example: sync activity reports will show a list of all sync clients in an organization."
Hope this information helps you,

@scanum

Added OneDrive sync reports in the Apps Admin Center - OneDrive | Microsoft Docs to Learn More area in View SharePoint files with File Explorer in Microsoft Edge - SharePoint in Microsoft 365 | Microsoft Docs


[ko] cs-229-deep-learning

Working in progress. :)

@shervinea I finish translation of deep learning. :)

Awesome work @rickiepark!
Now, let's wait for a reviewer to come and take a look at the translation.

👍

@shervinea I've reviewed his work on cs-229-deep-learning translation, and it was perfect. Couldn't find any line to point out. Actually @rickiepark is professional translator who is very well-known in South Korea :)
I reckon we can close this PR now and merge into master

Thanks @kimdanny for your review, and thanks again @rickiepark for your work great work!


findstr syntax

Very helpful indeed, with the examples.
Commonsense suggests a typo:  end-of-word should have an escape character, as in the example, "word>" ?

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

ID: 2673bff6-4e43-3d54-f58f-2f6f805d341f
Version Independent ID: 9c9c8acd-5c0f-a681-58c8-86bab3942748
Content: findstr
Content Source: WindowsServerDocs/administration/windows-commands/findstr.md
Product: windows-server-threshold
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Hello @carrt7 do you mean in the table
\<string | Word position: beginning of the word
-- | --
string> | Word position: end of the word

That instead of string> it should be string\>?

Yes, exactly.  Thanks.
On Sun, 8 Sep 2019 at 18:07, surfmuggle<EMAIL_ADDRESS>wrote:

Hello @carrt7 https://github.com/carrt7 do you mean in the table

<string
Word position: beginning of the word

string>
Word position: end of the word

That instead of string> it should be string>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windowsserverdocs/issues/1102?email_source=notifications&email_token=AJYRBUCHJ5DPJPKDE6J3KVDQIVZSZA5CNFSM4FI3KO6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6F2PKQ#issuecomment-529246122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJYRBUE3DF7TECG56YXU2Z3QIVZSZANCNFSM4FI3KO6A
.

--
www.godornot.org

The /g option works like charm. Even with a textfile with over 900 keywords and searching in 34 folders in 371 files, it took only a few seconds. But, I would have appreciated a sort order by keyword instead of file.

#please-close


Mismatched array shapes in GHF with custom Hamiltonian

I am trying to run a simple GHF calculation for the one-dimensional Hubbard model with 4 sites at half-filling. The script is included below:
import numpy as np
from numpy import zeros, matrix
from pyscf import gto, scf, ao2mo, cc, tools
import matplotlib.pyplot as plt
import scipy.linalg as sla
import scipy.io as sio

hubbard_U = 4.

mol = gto.M(verbose=4)
n = n_basis = 4
mol.nelectron = n_basis
mol.verbose = 0
# Setting incore_anyway=True to ensure the customized Hamiltonian (the _eri
# attribute) to be used in the post-HF calculations.  Without this parameter,
# some post-HF method (particularly in the MO integral transformation) may
# ignore the customized Hamiltonian if memory is not enough.
mol.incore_anyway = True
mol.unit = 'au'
#mol.spin = 4
h1 = np.zeros((n,n))
for i in range(n-1):
    h1[i,i+1] = h1[i+1,i] = -1.0 # -ve Hubbard t
h1[n-1,0] = h1[0,n-1] = -1.0 # periodicity

eri = np.zeros((n,n,n,n))
for i in range(n):
    eri[i,i,i,i] = hubbard_U # Hubbard U

mf = scf.GHF(mol)
mf.conv_tol = 1e-8
mf.get_hcore = lambda *args: h1
mf.get_ovlp = lambda *args: np.eye(n)
mf._eri = ao2mo.restore(8, eri, n)
#mf = scf.addons.convert_to_ghf(mf)
#dms = np.random.random((3, mol.nao_nr(), mol.nao_nr()))
energy = mf.kernel()
print(energy)

When it gets to the mf.kernel() line, I get the following error: RuntimeError: Array shape not consistent: DM (3, 2, 2), eri (55,)
Clearly, there is a mismatch between the dimensionality of the two-electron integral and that expected by the GHF routine. Changing the symmetry of eri from 8-fold to 4-fold changes the dimensionality but the issue still persists. I would appreciate any tips on how to rectify this. Are there also any example scripts that use GHF with a custom Hamiltonian? I couldn't find any in the examples folder.
Thanks!

The return values from get_hcore() and get_ovlp() should be scipy.linalg.block_diag rather NxN np.ndarrays. I'm not a GHF expert, but this at least runs for me:
import numpy as np
from pyscf import gto, scf, ao2mo, cc, tools
import scipy

hubbard_U = 4.

mol = gto.M(verbose=5)
n = n_basis = 4
mol.nelectron = n_basis
mol.verbose = 0
mol.incore_anyway = True
mol.unit = 'au'
h1 = np.zeros((n,n))
for i in range(n-1):
    h1[i,i+1] = h1[i+1,i] = -1.0 # -ve Hubbard t
h1[n-1,0] = h1[0,n-1] = -1.0 # periodicity

eri = np.zeros((n,n,n,n))
for i in range(n):
    eri[i,i,i,i] = hubbard_U # Hubbard U

s = np.eye(n)

mf = scf.GHF(mol)
mf.conv_tol = 1e-8
mf.get_hcore = lambda *args: scipy.linalg.block_diag(h1,h1)
mf.get_ovlp = lambda *args: scipy.linalg.block_diag(s,s)
mf._eri = ao2mo.restore(1, eri, n)
mf.kernel()
print(mf.e_tot)

This resolved the issue. Thank you!


External service pointing to cname does not resolve.

Rancher Version: Build from master
Steps to reproduce the problem:
Create an external service pointing to "google.com".
Create a service with link to this external service.
From within this container , try to ping external service name.
This does not resolve to google.com
Automated test that fails:
test_extservice_with_cname

Released in Rancher-DNS v0.10.4

Tested with rancher/dns:v0.10.4.
I am still able to reproduce this issue.

@sangeethah could you test with rancher/dns:v0.10.5

Tested with latest build from master and  rancher/dns:v0.10.5.
This issue is fixed now.


WEBCORE-121: Fix i18n output in GitHub PR description

Issue
https://zattoo2.atlassian.net/browse/WEBCORE-121

@z-merge it

@kim you didn't update the dist package so it won't effect the action, please create a new pr and update dist


Problem deploying chaincode with no couchdb indexes

It looks like the release is failing if there are no couchdb indexes.

2024-04-26 16:19:28.982 UTC 028d INFO [chaincode.externalbuilder.k8s_builder] waitForExit -> /workspaces/fabric-builder-k8s/.fabric/builders/k8s_builder/bin/release [31210] DEBUG: Releasing chaincode... command=release
2024-04-26 16:19:28.982 UTC 028e INFO [chaincode.externalbuilder.k8s_builder] waitForExit -> /workspaces/fabric-builder-k8s/.fabric/builders/k8s_builder/bin/release [31210] DEBUG: Copying couchdb index files from /tmp/fabric-go-contract-6f98c4bb29414771312eddd1a813eef583df2121c235c4797792f141a46d4b4574985262/bld to /tmp/fabric-go-contract-6f98c4bb29414771312eddd1a813eef583df2121c235c4797792f141a46d4b4574985262/release command=release
2024-04-26 16:19:28.982 UTC 028f INFO [chaincode.externalbuilder.k8s_builder] waitForExit -> /workspaces/fabric-builder-k8s/.fabric/builders/k8s_builder/bin/release [31210]: Error releasing chaincode: failed to copy CouchDB index definitions from /tmp/fabric-go-contract-6f98c4bb29414771312eddd1a813eef583df2121c235c4797792f141a46d4b4574985262/bld/META-INF/statedb/couchdb to /tmp/fabric-go-contract-6f98c4bb29414771312eddd1a813eef583df2121c235c4797792f141a46d4b4574985262/release/statedb/couchdb: lstat /tmp/fabric-go-contract-6f98c4bb29414771312eddd1a813eef583df2121c235c4797792f141a46d4b4574985262/bld/META-INF/statedb/couchdb: no such file or directory command=release


Update CodeQL v2 And fix versions

❗ CodeQL Action v1 will be deprecated on December 7Th

We need to upgrade the CodeQL action to v2(#254)
Regards

Can you please also raise a PR releases/v1 branch which includes node_modules from where we do releases

Also, you may close the ticket you raised on the Microsoft side as we are discussing and addressing it here.

I'm not sure if I am understanding rightly and I think that I canceled this PR wrong.
I suppose that furthermore to handle that PR I need to open another PR to releases/v1

Merged in https://github.com/Azure/login/pull/273
Thanks


add TranslateA and change from/to type

I created the TranslateA function that automatically infers the language and translates it to langTo. I also modified the "to/from" string types to interface{} to accept both the parameters "en" or language.English.

This giving error in travis due to the examples folder, because there are two main functions, I put all use cases in the README, if you want, you can remove the examples folder.


Added rust favicon

Description
It's inevitable to avoid this statement, but I just love Rust, and you can't take that away from me. Well then why leave it's icon! This PR adds the favicon to the Async Tracking Page
// waiting for CI checks

Thanks.

Thanks.

Nope, it won't work like this, the favicon is still not appearing

Oh, wrong directory... will fix

Oh, wrong directory... will fix

The Pages is hosted to go with which dir as the root?

Files under static are copied into the output, and templates are just used to generate the main page.

Files under static are copied into the output, and templates are just used to generate the main page.

Fine, I'll fix that. Thanks @upsuper

I have fixed that in master.

Great. Thanks

Yes it works!


All possible values for "row_count" column are not documented.

It is common for the row_count column to have a value of -1 in sys.dm_pdw_request_steps. But this document suggests that the column will always have a value >= 0. Please include a definition for when the value is -1.

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

ID: 9a7154f3-1239-dab8-48ac-0fa21fb158d3
Version Independent ID: fc2ae299-9493-6e71-4801-333405c63405
Content: sys.dm_pdw_request_steps (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-pdw-request-steps-transact-sql.md
Product: sql
Technology: data-warehouse
GitHub Login: @ronortloff
Microsoft Alias: rortloff

@potato-enthusiast -- thank you for your feedback.  Please consider these resources:

DBA Stack Exchange
Stack Overflow

@ronortloff -- please look into this issue.

Thanks for the feedback.  A PR was submitted to address this.

#please-close


GEOMESA-1476 Removing geohash index support

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

We still have the back-compatible tests going to 1.1.0-rc.7 - if you run them you can see the warning that gets logged, but how the tests still run using full table scans.
Good point about documentation - I'll add some.

Does this work with raster support;)?

also need to test out raster to ensure it still works


LimeSDR + LimeRFE + Open5gs

Issue Description
Hello everyone. I would like to run srsRAN on LimeSDR v1.4s using LimeRFE amplifier. How to do it?
I use this documentation. When I use LimeSuite GUI, following the instructions, the ports open.

LimeSDR
INFO: Disconnected control port
INFO: Reference clock 30.72 MHz
INFO: Connected Control port: LimeSDR-USB FW:4 HW:4 Protocol:1 GW:2.23 Ref Clk: 30.72 MHz

LimeRFE
Port opened
Firmware version: 1
Hardware version: 0x10

But since the device is already busy, I can not be able to connect srsRAN.

srsRAN
[ERROR] Cannot claim interface - Resource busy
[ERROR] Failed to open device
[ERROR] connection is not open
[ERROR] TransferPacket: Write failed (ret=0)
[ERROR] connection is not open
[ERROR] TransferPacket: Write failed (ret=0)
[ERROR] Failed to open. Device is busy.
Failed to create Soapy object
Error initializing radio.

Technology stack
Ubuntu 22.04 (Intel® Core™ i7-7700 CPU @ 3.60GHz × 8)
srsRAN 22.04 (open5gs)
LimeSDR v1.4s (LimeSuite v20.10.0, SoapySDR 0.7.2)
LimeRFE 1v31

Did you try running just with LimeSDR and antennas? I am not sure whether SoapySDR drivers supports LimeSDR+LimeRFE


resolved.conf via pillar

added option to configure resolved.conf via pillar using https://docs.saltstack.com/en/latest/ref/states/all/salt.states.ini_manage.html#salt.states.ini_manage.options_present

A quick eyeball review for now.  This looks good, I'll try to test it out within the next day, to leave further feedback.  Thanks.

@myii thanks for looking over the PR, fixed the small issues.

@aboe76 No problem, I'm testing out the PR now, so I'll be giving you some feedback shortly.

@aboe76 Not sure about the inconsistencies between defaults.yaml (represented below with -) and pillar.example (represented below with +).  Unless the intention is to show the various ways options can be set.
+      DNS: <IP_ADDRESS> <IP_ADDRESS> 2606:4700:4700::1111 2606:4700:4700::1001
-      FallbackDNS: '<IP_ADDRESS> <IP_ADDRESS> 2001:4860:4860::8888 2001:4860:4860::8844'
+      FallbackDNS: <IP_ADDRESS> <IP_ADDRESS> 2001:4860:4860::8888 2001:4860:4860::8844

FallbackDNS should lose the quotes?

-      LLMNR: 'yes'
+      LLMNR: 'True'

-      MulticastDNS: 'yes'
+      MulticastDNS: 'True'

-      DNSOverTLS: 'no'
+      DNSOverTLS: 'False'

-      Cache: 'yes'
+      Cache: 'True'

Better to stick to either yes/no or True/False?

@aboe76 The yes/no gets converted to True/False at my end.  To preserve that, it works using | yaml like so:
    - sections:
        Resolve:
          DNS: {{ config.DNS | yaml }}
          FallbackDNS: {{ config.FallbackDNS | yaml }}
          Domains: {{ config.Domains | yaml }}
          LLMNR: {{ config.LLMNR | yaml }}
          MulticastDNS: {{ config.MulticastDNS | yaml }}
          DNSSEC: {{ config.DNSSEC | yaml }}
          DNSOverTLS: {{ config.DNSOverTLS | yaml }}
          Cache: {{ config.Cache | yaml }}
          DNSStubListener: {{ config.DNSStubListener | yaml }}
          ReadEtcHosts: {{ config.ReadEtcHosts | yaml }}

@myii fixed the defaults and pillar.example with your suggestions.

@aboe76 Just the last thing I think!  No longer need the double-quotes inside the "empty" quotes.

@myii will do something similar with timesync when this is merged, that way you can define everything by files or via pillar.

@aanriot Thanks for the review.
@aboe76 Merged.