NIFI-1664 Preferring System.nanoTime to System.currentTimeMillis and …

…providing explicit handling of timestamps for files in those tests that are testing other attributes of the ListFile process besides timestamp which could lead to erroneous transmissions depending on exactly when files were created.

I can verify the tests on Windows 10.

I am testing on Windows 8.

Testing on Windows 7

I'm a +1, all tests previously in failure are now OK.

A very weird error with contrib check I am only getting windows 8, an unapproved license for:
nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/resources/TestEncryptContent/unsalted_128_raw.enc
It seems this should be excluded in the pom for standard processors but it isn't. What is more confusing is that neither Mac nor Travis fails to find this contrib check. Even more so, it looks like salted_128_raw.enc should fail as well but it doesn't on any tested machine.

I can add this as part of the commit.  Did everything else check out okay though?

I am seeing the same contrib check failure that @JPercivall mentioned above running Windows 10.

Unapproved licenses:
C:/Users/gilman/Documents/sandbox/mcgilman/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/resources/TestEncryptContent/unsalted_128_raw.enc

My environment:

mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: C:\Program Files\apache-maven-3.3.9\bin..
Java version: 1.8.0_73, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_73\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

Not sure why this came up, but have included it in a2e679bbbc4f612a9fc61a51d47aba693789a44b.  If that checks out, I can squash this with the actual changes.

With the added pom exclusions the build passes

+1
Reviewed the code and did a contrib check build on Windows 8, looks good.

+1
The build looks good in both OSX and Windows 10.

Great, thanks everyone for scoping this out.  I'll merge those exclusions in with my commit and get them off to master.


Triggering only on a change to the contents of a github repo folder

Hi,
I have my triggers setup to specify on branch and folder in a Github repo, but the ACR tasks are being triggered for changes to files outside of the specified folder.
Is it possible to only trigger on a push for the contents of the folder? Otherwise it looks like we can only have one task per repo.
In the example below I'd expect that a Task run only to occur when the contents of task_folder is changed.
   "sourceTriggers": [
      {
        "name": "defaultSourceTriggerName",
        "sourceRepository": {
          "branch": "master",
          "repositoryUrl": "https://github.com/A30004028/cloud.container.images.git#master:task_folder",
          "sourceControlAuthProperties": null,
          "sourceControlType": "Github"
        },
        "sourceTriggerEvents": [
          "commit"
        ],
        "status": "Enabled"
      }
    ],

Thanks
Mark

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

ID: bd0e3f3c-5aed-28b6-1e28-22ff32a8521d
Version Independent ID: 128e5bc6-e518-bd5a-f511-48e0ed185739
Content: az acr task
Content Source: src/azure-cli/azure/cli/command_modules/acr/_help.py
Service: container-registry
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

acr

@northtyphoon could you take a look?

@A30004028, ACR Tasks don't support folder filter. Please submit your request to http://aka.ms/acr/uservoice. /cc: @SteveLasker

Thanks all - Will do. Cheers


chore: removed unused import

Removed global import in consumers.py that caused circular import error in deployment.

Looks good! Thanks for fixing it. :)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
74.95% <ø> (ø)

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

Good work fixing circular import.


Add /etc/default/* files as /etc/default files

so that they are verified against in-place modifications and such

My version of fpm doesn't have --default, only --deb-default, at least according to the docs:
% fpm --help  | grep -- -default
    --[no-]deb-no-default-config-files (deb only) Do not add all files in /etc as configuration files by default for Debian packages. (default: false)
    --deb-default FILEPATH        (deb only) Add FILEPATH as /etc/default configuration

Should it be --deb-default, or is --default something else that's not in the --help output (or from a different version? I have fpm 1.4.0)

@henrikhodne yep, it was a rotten guess on my part.  I was looking at the fpm source while writing those out the first time.  All better now.

@henrikhodne the bit I was looking at when adding --default :smiley_cat: https://github.com/jordansissel/fpm/blob/15b050e5991389f7aabc0e04f7c8c52e90242a7b/lib/fpm/package/deb.rb#L146-L154

Ah, yeah, that is a bit confusing.

Looks good to me, although I'm not quite sure what the overlay and templates folders do.

@henrikhodne those directories do nothing on their own, but instead are separate dirs for files that can be directly rsync'd (overlay) and those that are "templates", meant to satisfy specific fpm flags.


Calls

Merging latest changes in the code. This commit will introduce a basic connection with Twilio and the ability of sending / receiving sms.

approved and branch deleted


updating swamp

@iscriptology I'm not sure the best way to proceed with this. I need to get SWAMP working quickly so I can move on to other things. I would like to be able to work with you and create a more robust implementation, but as I said in my PR for Carthage support, my patches are going to all depend on each other.
If you don't have spare time to work on this right now, I'll proceed with development in my own fork, and maybe at some point in the future we can work together to merge the two.
Here's my short term plan:
add enums for WAMP protocol and auth method
add separate WebSocketSwampTransport initializers for JSON and MsgPack
fix wampcra support for salted passwords
remove cryptoswift, replace with CommonCrypto (CryptoSwift is a very heavy dependency for one single call to HMAC)
I can't figure out if is possible to advertise multiple protocols [json, msgpack] and get enough information back via the websocket to set the mode and serializer properly, but it would be nice to have that happen programmatically.

As long as you keep your code kinda clean, I don't see a reason for you not to work on your own fork, and once it's good we can merge it.
I do have time on weekends actually, we can do it together. might be fun.

@iscriptology I've hit a snag with adding MsgPack support.
MessagePack.swift consumes all Signed and Unsigned Int values and stores them in the minimum size possible (so, an Int64(17) will be stored as a single byte). When unpacking, all values are unpacked to Int64 or UInt64
This behavior is permissible within the MsgPack specification, but it wreaks havoc on the SwampMessages serializer / deserializer workflow that is designed around using Int.
If I try to make everything use UInt64 and Int64, it breaks the json serializer.
Probably, MessagePack.swift needs to be modified to behave a little differently, but I'm fairly certain the maintainer won't accept a PR for the purpose. He might be OK with importing a modified copy into the SWAMP repo.
We are close to giving up on MsgPack and sticking with JSON and base64, so if you don't have any good ideas I'll just commit my changes and pull a PR for you to look at, and move on for a bit.


"mixed_precision fp16" not working for Flux

Why doesn't mixed_precision fp16 work for Flux?
In SDXL it was possible to train in fp16 and the result was quite normal (probably, didn't compare).
If  specify mixed_precision fp16 for Flux, the training goes normally and the training speed is 5 times faster than with bf16, but as a result LoRa turns out to be "empty", it does not make any changes when connected.
By the way, how right or wrong is it to train in FP16? Do the gains in speed and resources justify the losses?

First I need to clarify that I used the lowest recommended settings for up to 1GB of VRAM usage with the "adafactor" optimizer
fp16 may easily cause overflow of the parameters
a bit of a vague statement. Adafactor itself has Adaptive Gradient Scaling and Normalization, which should keep Exploding and Vanishing to a minimum.
coupled with the error "avr_loss=nan" we need to check whether this is a feature of Flux and not a bug.
(I think it would be useful to know the reasons for sure, but I have no ideas either.)


Filter key for sorted review and some course page stuff.

What huh woah?

Refactor the sorted review from sort and filter_by to filter_key.
Add an optional review ID key to the sorted review.
Review deletion feature.
Grade Pie Chart and effort for course statistics.

What I didn't do.

Other statistic for the course page.
Shareable link for the review card.
Each reviews its page.
The review owner can edit their review.

Pie Chart

Delete review

The others are backend feature
I just want to do a PR before any further development so my feature on the backend side didn't go to waste.

Seems like my backend causes errors I will fix them first

I fixed the test and the bug. Let's go!!!!! Are there any bugs? Please let me know if you have any suggestions on styling, write a comment, and notify me via Discord.

Pls tell me why there is an error on deployment I think it is about the force refresh page that I use, but you know I can't read all of the errors except.

Why it still fail? after add ; XDDD

I forgot to mention that I add a new package for the pie chart if u want to see the chart npm install again la

Woohoo Vercel approve me now yeahhhhhhhhhhhhhhhhhhh @PanidaRumriankit @Ichi1234 review pls

When will everyone review my PR 😭

Don't forget to resolve the conflicts na

I resolved the conflicts. Those conflicts are from merging a new branch before merging mine. All the fixes have become conflicts, so please review the branch before merging any fixes or stuff.


Guess the tune - Submission to the gallery

Guess the tune - Submission to the gallery
Author name
Author: Sajeg
About your game
What is your game about?
You have to listen to the melodies you hear and repeat them.
How do you play your game?
Press a, w, s, d to play a tone. With i you can start the game and the undo key is k. If you want to listen to longer melodies press l and for shorter ones j.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thank you for reviewing my game. Of course it would be awesome if I could get one of the Sprig devices.

Cool music/memory game!  If you're a teenager, and you haven't already received one, you can fill out this form to receive a Sprig device!  Feel free to hop into the Hack Club Slack in the #sprig channel to share your game w/ others!


Return directly when key function executes failed

workqueue
Signed-off-by: HF<EMAIL_ADDRESS>
What this PR does / why we need it:
Fixed code error.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Return directly when key function executes failed, the unexpected key should not be added into workqueue.
Special notes for your reviewer:
Release note:

NONE

/ok-to-test

/retest

Hi @crazytaxii! Thank you for your contribution.
Could you please give more information about what this PR does and what it's for? Fixed code error. doesn't really say much...
Thank you!

Hi @crazytaxii! Thank you for your contribution. Could you please give more information about what this PR does and what it's for? Fixed code error. doesn't really say much... Thank you!

If we don't return, the invalid or empty key will be added into work queue.

Hi @crazytaxii! Thank you for your contribution. Could you please give more information about what this PR does and what it's for? Fixed code error. doesn't really say much... Thank you!

If we don't return, the invalid or empty key will be added into work queue.

Indeed! Thank you.
/approve

/test pull-kubevirt-e2e-kind-1.22-sriov
/test pull-kubevirt-fossa


dev/shallowwater

integrate shallowwater developments from G. Foucart

hll and rusanov flux
some basic boundary conditions
would need subcritical and supercritical boundary conditions

Codecov Report

Merging #5 (a742e44) into develop (812f778) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           develop      #5   +/-   ##
=======================================
  Coverage     0.00%   0.00%
=======================================
  Files           13      14    +1
  Lines         1029    1116   +87
=======================================
- Misses        1029    1116   +87

Impacted Files
Coverage Δ

flowdyn/modelphy/base.py
0.00% <0.00%> (ø)

flowdyn/modelphy/euler.py
0.00% <0.00%> (ø)

flowdyn/modelphy/shallowwater.py
0.00% <0.00%> (ø)

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 812f778...a742e44. Read the comment docs.

Bc decorators seems to conflict between models (shallowwater and euler). Bc dict has been now defined as instance variable instead of class variables. decorators fill class bcdict which allows to update instance bcdict

data in pytest modules can interact, best is to declare fixtures or segregate them in classes


error in zero_shot

when I try to make the arg "-z" False to carry out main.py,it shows an error named "main.py: error: unrecognized arguments: False"

I found that the parameter action='store_true' means that if you include -z in the command, the parameter will be set to true; otherwise, it will be set to false. So, I made this change.
parser.add_argument('-z', '--zero_shot', action='store_true', default=False,                         help='running under zero-shot mode or fine-tune mode')
Then I can carry out it smoothly.


typo in xgboost script

https://github.com/rhiever/sklearn-benchmarks/blob/master/model_code/XGBClassifier.py#L12
n_estioatmrs ^^

Fixed in production, thankfully. :-D


[cosmos] Adopt target: es2017 in tsconfig

This change greatly reduces bundle size by allowing us to leverage native async functions in the runtime.

Resolved by linked PR


Add frontend lint / tests to ci workflow

makes frontend2 tests / linting run on each pr.

do we ever plan on renaming frontend2 to frontend and then frontend to "old" or smth? if so, we'll have to make careful note to change this folder too, cuz it's not really a directory name in the same way in code as everything else
to be fair, i think that errors will expose this too

GitHub workflow looks good to me! [modulo nit about using working-directory instead of cd blah &&] Thanks so much for doing this :tada:

do we ever plan on renaming frontend2 to frontend and then frontend to "old" or smth? if so, we'll have to make careful note to change this folder too, cuz it's not really a directory name in the same way in code as everything else

This can be done already, can't it? If I understand correctly this branch has zero dependency on the contents of frontend so the old stuff can be safely dropped and this directory renamed on the branch. Whenever you need to peek at old stuff, you can still find it in version control on main until this big feature branch gets merged.

GitHub workflow looks good to me! [modulo nit about using working-directory instead of cd blah &&] Thanks so much for doing this 🎉

do we ever plan on renaming frontend2 to frontend and then frontend to "old" or smth? if so, we'll have to make careful note to change this folder too, cuz it's not really a directory name in the same way in code as everything else

This can be done already, can't it? If I understand correctly this branch has zero dependency on the contents of frontend so the old stuff can be safely dropped and this directory renamed on the branch. Whenever you need to peek at old stuff, you can still find it in version control on main until this big feature branch gets merged.

will put this into our roadmap

added a recommended plugin to eslint and required semicolons.


Restart title scene after some time

Should just be able reset the camera and the scroll function call - all other timers should be fine. Or as an easier alternative for starters, see if there is some kind of "restart scene" function


04 Statements

Statements

state (v.)
1590s, "to set in a position," from state (n.1); the sense of "declare in words" is first attested
1640s, from the notion of "placing" something on the record.

A statement is a declaration, a way of "placing" something on a record ... with words? In programming, we say that statements are a way of changing the state of the computer's internal data. Expressions are evaluated, their value extracted, and then they are forgotten; they came into being, produced a result, but never changed any data.
Statements, on the other hand, almost always change the state of the computer's data in some way, without necessarily returning any value. They are therefore not evaluated, but executed.
In 9608 pseudocode, statements look like the following examples:

DECLARE Pointer : INTEGER
OUTPUT "Customer name is ", "John Goh."
Index <- Index + 1

FUNCTION PolygonArea(Sides: INTEGER, Length: REAL) RETURNS REAL
    ...
    RETURN Area
ENDFUNCTION

The general pattern in 9608 pseudocode, as far as I can tell, is that they never start with a value or symbol. They start with one or more keywords, or a name, and end with a line break (\n).
We have expression() for parsing expressions. Here we implement statement() for parsing statements. We represented expressions with expr, and we'll use stmt for representing statements. We will continue using dicts to represent them, and decide on the necessary keys when we figure out what we need.

Our entry point to parsing statements is statement(). It checks the first token for a matching keyword or name. Then it passes control to the appropriate statement-parsing function, and gets a stmt dict in return.
[eb280b4aa1c417e2844ab7a120c8b2d9d214609c]

We are setting up the skeleton here for parsing other kinds of statements too. Each kind of statement will have its own function for consuming the tokens it is looking for. And every statement ends with a line break (\n) that must be consumed.
[83ce62945316923323b13dc08853911040846012]

More helper functions
With some foresight, we can also see that some patterns here are going to be repeated a lot. In particular, I notice:

https://github.com/nyjc-computing/pseudo/blob/83ce62945316923323b13dc08853911040846012/parser.py#L101-L105
https://github.com/nyjc-computing/pseudo/blob/83ce62945316923323b13dc08853911040846012/parser.py#L87-L88

Pattern 1 check()s for a specific token, consumes it, raises an error if it doesn't find it,
It expects a specific token.
Pattern 2 check() for a specific token, consumes it if it finds it, and proceeds with parsing.
It matches a specific token (and later, maybe multiple token values).
These two features are used to check for keyword tokens, which don't form part of the parsed stmt but are used to describe its structure.
Let's add two more helper functions to our menagerie of parser helpers: [0d0864cf7d756ab271ad4d20b991e8c48a656b6c]

Bugfix
Testing:
import scanner
import parser
import interpreter

src = 'OUTPUT "Hello", ", ", "everyone", "!"'

tokens = scanner.scan(src)

statements = parser.parse(tokens)

for statement in statements:
    print(statement)

Result:
File "scanner.py", line 91, in scan
    raise ParseError(f"Unrecognised character {repr(char)}.")
builtin.ParseError: Unrecognised character ','.

Oops, scan() doesn't pick up that comma. Fix: [1c4feb7be0a8ff207c840bc9423ba8fcee099f87]

Refactor
Our statement parsers now use the new helper functions to simplify their code: [1fc0ec993d5913bea75fc3db51801a21f4337359]

The parsing loop
We have expression() as our entry function to parsing expressions, and statement() as our entry function to parsing statements. They match one expression or one statement, respectively.
We need another parsing loop to keep parsing statements, until we run out of them.
The EOF token
One problem: our statement-parsing functions also consume() \n keyword tokens, which we use to mark the end of statements. This means that halfway through parsing incomplete code, we might run into an IndexError when the parser runs out of tokens.
We shall mitigate this by introducing a new type of token: EOF. We add it to the end of our scanned token list before sending it to the parser: https://github.com/nyjc-computing/pseudo/blob/1e4ea8282a6094efb68e32d60f4e5e8bac7f704a/parser.py#L124-L125
And we define an atEnd() helper function, analogous to our scanner's atEnd(), to look out for this token: https://github.com/nyjc-computing/pseudo/blob/d4d4bcccd3d18f63dd2f2d40c63451b74148eae7/parser.py#L8-L11
Introducing the parsing loop: [1e4ea8282a6094efb68e32d60f4e5e8bac7f704a]

Testing
import scanner
import parser
import interpreter

src = 'OUTPUT "Hello", ", ", "everyone", "!"'

tokens = scanner.scan(src)

statements = parser.parse(tokens)

for statement in statements:
    print(statement)

Result: ```
{
'rule': 'output',
'exprs': [
{'type': 'string', 'word': '"Hello"', 'value': 'Hello'},
{'type': 'string', 'word': '", "', 'value': ', '},
{'type': 'string', 'word': '"everyone"', 'value': 'everyone'},
{'type': 'string', 'word': '"!"', 'value': '!'}
]
}

Next steps
We're still missing the last step. This is where we execute() the statements, carrying out the stmts and evaluating the exprs we have painstakingly built up so far. This is the interpretation phase, and we have already written evaluate().


Feature/communication values

Reference Comment:

https://github.com/robotology/walking-teleoperation/pull/72#discussion_r781085256
https://github.com/robotology/walking-teleoperation/pull/72#issuecomment-1015219491

@S-Dafarra  is there any other comment, or we can continue with the merge after the CI checks?

@S-Dafarra is there any other comment, or we can continue with the merge after the CI checks?

Looks good to me! Thanks

thanks, merging.


pipeline: move context to build folder to work around unexpected behaviour

Linked issue
Without this Now is ignoring most of the config and deploys it under another project.

:tada: This PR is included in version 0.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix path in controller manager image for Tilt

Description of changes:
We specifying a custom binary dst path for the manager, the PATH generated by the Dockerfile was invalid, pointing to the binary instead of its path.
Testing (if applicable):
Ran tilt manually
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Fix cpu spinning loop

Move the error checking up, otherwise we could get in a continuous loop. (eg after a "connection reset by peer")

@42wim awesome. thanks!


Color picker doesn't work on Safari Mobile

The "advanced form elements" section in the preview app doesn't work properly on my iPhone, in particular the color picker. Bootstrap Colorpicker 2.3, which seems the same used, works fine on their website.
Is it something broken in the demo app?

Hi,
This is working on my iphone. Which browser are you using?

The popover comes out but can you change the color? On my iphone (6s with latest iOS) is not really usable neither in Safari nor Chrome.


Issue 1210 isstepmismatch validation

Types of Changes
Prerequisites
Please make sure you can check the following two boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project

Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[x] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] All new and existing tests passed

Description
Fix issue #1210 IsStepMismatch validation not valid with floating point numbers. Does not match expected documented behavior or that of browsers.
Modified BasicTypeInput IsStepMismatch() method to handle floating-point numbers more appropriately. Added two tests to prove assertions of both valid and invalid floating-point numbers are made as expected. In addition to automated testing, verified tests match validity state of same elements in chromium browser.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Swipe support in mobiles to set Rating

Any update on this?

Hey @Log1x , Sorry!, i may not get time to work on this at-least 1 month from now :(

No problem! Look forward to it. :)


Getting error undefined is not a constructor (evaluating 'new Intl.Locale(locale)')

Hello Team,
Am getting error undefined is not a constructor (evaluating 'new Intl.Locale(locale)') when I run the react-native run-android.

If i do not change the index.js as mentioned in the readme document, i get an error at the component where i use the picker as: ReferenceError: Can't find variable: Intl

Yes we had the wrong instructions in the past, I think you have the same issue as described here: https://github.com/web-ridge/react-native-paper-dates/issues/33
Please read the instructions on the latest release, it will probably fix your issue!
https://github.com/web-ridge/react-native-paper-dates/releases/tag/v0.2.15

Yes we had the wrong instructions in the past, I think you have the same issue as described here: https://github.com/web-ridge/react-native-paper-dates/issues/33
Please read the instructions on the latest release, it will probably fix your issue!
https://github.com/web-ridge/react-native-paper-dates/releases/tag/v0.2.15

It also can be a good idea to make an index.android.js file with the imports and a index.js without the polyfills. because formatjs will be imported on iOS too but is not needed there.

It also can be a good idea to make an index.android.js file with the imports and a index.js without the polyfills. because formatjs will be imported on iOS too but is not needed there.

Thanks for quick response. It solved the problem.

Thanks for quick response. It solved the problem.

👌🥳

👌🥳


For Wikisql, different agg may lead to same result. How do you deal with this problem?

Thank you!

I didn't do anything special for this. A program that gets the right answer, no matter which agg it uses, will receive a good reward. It is related to the spurious program problem discussed in the MAPO paper and this paper.


Yatima-lang expression generator

What
This PR adds two files: Tests/LambdaGenerator.lean and Tests/ExprGenerator.lean.
The two files generate random untyped λ and Yatima ASTs, together with a very rudimentary printing for the expressions to visualize the output. The λ expression file served as a proof of concept for the algorithm before implementing the actual Expression generator
How
The approach to generating both the ASTs are identical and use a custom State monad ExprGen.
ExprGen can be thought of as a basic version of a tactic monad: It keeps track of 3 pieces of data

A list of Holes that (essentially less fancy Lean metavariables)
A key-value map for filled Holes and their associated Holed ASTs HExpr
The head hole.

Once all the holes are filled (at this point this is only done totally randomly), an actual Expr can be generated from the head HExpr and the filledHoles KV map
Why
Having random Yatima expressions will be helpful for writing Quickcheck style tests for specifications related to Yatima expressions. At this point the generated expressions are very far from typechecking, but a few simple fixes can be implemented to make them look more "normal".

After some tests it's clear there are some inefficiencies in the generation algorithm.
I believe a big speedup can be achieved by

replacing the List of key-value pairs with a HashMap
Fixing the IO.rand usage to only generate a seed once, and then pass the randNat generator into child random generation calls.
Keeping track of a Hole's "universe level" (value, sort, type) and ensuring the generation respects the constraints that value : Sort : Type


README Example Code Missing

Hello, the README mentions example code, but I can't seem to find it. I would love to test ESM_AA out. The below statement is in the README.
"Currently, we provide an example for the unsupervised contact prediction task using the same settings as the original ESM model. You can find the example code in the examples directory."
However, I do not see any code there. Could we get some examples for jump starts on ESM_AA usage? Thank you!

Thank you for your interest. We have released the code for the contact prediction task based on the original ESM code repository's implementation. The code is available at: https://github.com/zhengkangjie/ESM-AA/blob/main/examples/contact_esm_aa.py . If you have any further questions, please feel free to reach out for more discussion.


Set origin/pivot of the monster bars to be the center

Right now when there's multiple monsters, the bars will continue being added to the right. It would be great if the origin/pivot of the widget would be centered. This way the widget will take up the same amount of space on each side of the screen instead of only growing towards the right.

You can achieve this a small skin change, by setting a MinWidth on the Grid inside the DataTemplate for MonsterWidgetContext, and then setting HorizontalAlignment="Center" on the ItemsControl.


Return list of files used in compilation of document

I have a number of projects that consist of large numbers of documents (in the 1000s) and a collection of supporting classes, function libraries, etc. that are used across them. These projects are of course under version control and, when pushed to a central repo, get built by a CI system that looks through all the documents, re-renders the ones that have been updated and ships the new PDFs off to a shared file server.
Each project has a Makefile which comes up with a list of sources in the project and checks whether they have been updated since the last build. Make is really good at this — provided you can supply it with a good list of dependencies for each target. For my SILE projects this is quickly becoming unwieldy. For example, given a target PDF one might assume that a like-named .sil file is a dependency along with the project's main lua library and some cross-project shared class or function library. Optionally if it exists, a like-named lua file could be a dependency:
%.pdf: %.sil <project>.lua <toolkit>/class.lua $(wildcard $$*.lua)

But now suppose that some of the .sil files also pull in custom bits:
\script[src=toolkit/specialfunction]

Now toolkit/specialfunction.lua should technically be listed as a dependency to build that PDF, but it shouldn't necessarily be listed as a dependency for all the PDFs in a project, just the ones build from that particular source. Regenerating rendered PDFs is expensive.¹ Such a list could be maintained by hand, but that's a royal pain. Instead we must enter the world of auto-depenency-generation.
There are pretty well established ways of doing this in the C/C++ world. For example one can run gcc -MM to generate a makefile snippet that lists all the dependencies of a source file such that make can know when to rebuild it or not. Some LaTeX compilers have similar solutions that parse documents for \usepackage, \import, etc. Others such as latexmk parse the compilers log to determine what files were included and use those when checking for dependencies on the next build.²
A quick hack would be to grep the source and look for script commands, but this would only be a band-aid as it would miss any conditional includes, nested includes from includes, etc. A true list of  dependencies can really only be achieved by parsing the source and processing all the functions. Ergo this can only be done properly by SILE itself.
I propose that:

SILE should keep an internal table with a list of all files included while rendering a document. This would need to catch everything successfully resolved by Lua's require() function as well as image files, fonts specified via filename, and other resources referenced by the document. This should include the full relative path to the resource as parsed by SILE at render time, not just the module names passed around in Lua.
Access to this table should be available from a command line flag that would write this file list to a dependency file that could  be parsed by external processes. The output should probably have an optional exclude filter for all of SILE's bundled resources such as core/*, classes/*, and packages/*.

This would enable a vastly simplified usage that might look like this:
SRCS = $(wildcard *.sil)

%.pdf: %.sil
    sile $< -o $@

-include $(SRCS:.sil=.deps)

%.deps: %.sil
    sile $< --deps $@

The main issue here being one would have to keep the build artifacts around in order to avoid unnecessarily rebuilding PDFs in the future. Any run in a clean environment would require at least one render pass on all documents before it figured out what it didn't need to build next time.
To aleviate this overhead as well, a useful (if somewhat harder to implement) extension of this would be to:

Introduce a dummy typesetter of some sort so that documents could be "processed" to the point that an accurate dependency table was generated but no actual output produces and the hard work of actually typesetting the content was skipped. Basically this would need to follow all of the scripting logic including recursing through all function and process() calls, but replacing all functions that do any typesetting work with some null function so no actual work is done except parsing out what external resources are called.

This would enable a builder to determine the dependency tree quickly and avoid having to do a full render pass in the event that it was starting "clean" (without the build artifacts from a previous run):
%.pdf: %.sil $(shell sile --deps $$*.sil)
    sile $< -o $@

¹ One document stash I have takes the CI runner about 9 hours to re-generate all the PDFs and produces 1.8 Gigs of files that has to re-sync to over a dozen users. Re-rendering whatever documents were affected by a change is fine, re-rendering the whole stash just because some toolkit file was updated that only actually included half 5 documents is not okay.
² Much like LaTeX, SILE also has an issue with circular dependencies, but that's slightly out of scope for this particular issue and more relevant for #230.

Well, at the moment, everything pulled in via SILE.resolveFile (.sil inputs and .lua packages) should appear in angle brackets on the terminal log. You can access the resolved fonts with the --versions command line. Then there's images.
What I would do, if i needed this, would be to write a package which wrapped SILE.resolveFile, SILE.outputter.imageSize and SILE.shaper.debugVersions to stash everything that it sees into a table, then dump the table out in the debugVersions bit.

Humph. I got half way through typing up this feature request all over again before the feeling of déjà vu led me to search open issues.


Fix CLI casing functions to remove white-spaces

Closes #

After a discussion with @rannn505, the solution applied in this PR doesn't align with the product vision. I'll open an issue and Ran will decide on a solution.


What's Gather_2468?

Hi, I came cross same problem as yours.
My ONNX is not exactly like yours, I exported directly from detectron2, but my trt inference result also all zeros, however, my onnxruntime inference is OK.
So just wonder:
1). How did u found, it was caused by such Gather node?
2). What's the exactly layer or step in detr according to the Gather node?

Hi, I came cross same problem as yours. Have you solved it?


Twitter SSL error

Hi!
I'm getting this error while using the script:
? Menu  Start TraDOGE
07:05:37 : Waiting for new DOGE tweet from Elon  (CTRL+C to stop)
ERROR :
Cannot connect to host api.twitter.com:443 ssl:True [Connection reset by peer]
It might be my extreme 1 second refresh rate doing it - should I just go with 5 or something?

Yes, 1 second is probalby too low you might be blocked by Twitter.


Improve Step Counter

Improve the Step Counter by calculating the steps directly
instead of increasing.
Move Step Counter to atomic, since we access it from two threads.
Assert if atomicity is given at compile-time.
ping @aure @marcussatellite

@marcussatellite @aure can i merge? did anyone have time to look at this?

Hey Matthias,
I didn’t get to try it out but it looks like a simple change.  Totally trust you to merge.
I have some questions about how to add velocity to your new sequencer code, but I’m at my day job now.  I’ll slack you later.
818 802 4085<EMAIL_ADDRESS>
On Mar 11, 2019, at 11:11 AM, Matt Sieren<EMAIL_ADDRESS>wrote:
@marcussatellite @aure can i merge? did anyone have time to look at this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Sounds good! Hit me up!


Testing package on wagtail kit initial instance

Test the package inside a wagtail kit instance.
This is the process:

Create .whl for install with poetry
poetry add ./wagtail_wordpress_import-0.1.0-py3-none-any.whl
poetry lock && poetry install

Tooling commands

[x] ./manage.py reduce_xml budgetsaresexy.xml
[x] ./manage.py reduce_xml millenialmoney.xml
[x] ./manage.py analyze_html_content budgetsaresexy-reduced.xml
[x] ./manage.py analyze_html_content millenialmoney-reduced.xml

Importer commands

[x] ./manage.py import_xml 4 -a news -m NewsPage
[x] ./manage.py delete_imported_pages news NewsPage

Issues:
#60

This test is outdated now against the latest version


fixed tests (i think)

FYI, this code is currently untested:
    // if we are trying to mint a subdomain,
    // check that the root is owned by the same address
    let path_parts = get_path_parts(&username);
    if path_parts.len() > 1 {
        let root_username = path_parts.clone().into_iter().nth(0).unwrap();
        // look up owner of root id
        let root_id_owner_addr = USERNAMES.load(deps.storage, &root_username)?;
        if address_trying_to_mint != root_id_owner_addr {
            return Err(ContractError::Unauthorized {});
        }
    }


Reference time documentation

Added a new document that explains a bit about reference time and fixed offset timezone.

@KBbitsP, could you please review the doc to see if it is easy enough to follow? Thanks!


Super Fix

Bug Fixes

Fixed Application Link copy issue

126790701

IMPORTANT
This time as an exception, please don't delete branch after merge!

Breaking process under duress :rocket:

yes please

As this is superfix will let you update change log and create release


Add remote functionality

Hi,
I'd like to use your awesome function as part of a module I'm writing that provides  an operations menu for service desk folks. For this to work as envisioned, I need to add remote capabilities to your function. Do you mind if I do a PR?
https://github.com/jasonroth/ServerOpsMenu

Absolutely! I'm in the process of rewriting this as a module, so some things may change -but I am very excited to see what you do with this!

Wow, your rewrites look awesome!

Okay, I went ahead and merged your changes. I then went back and fiddled with the way it works. Give the script a try now and let me know if it is still working the way you are expecting it to.


Not every month begins on a Monday

Also, clean up the DatePicker to use more modern technology, such as a
grid for displaying the days of the month.
Fixes #3976

@collinjackson @Hixie


Aside from the number of fields, ensure that no types are int

I think for everything related to the number of fields, we can get away with int as a type (also due to NumPy dtype limitations).  However, for things like the number of rows, int is not valid and would fail on ridiculously large files.

I think we are fine here, but some size cleanups are probably still necessary (other open issue)


Source of  the base connector

Base connector of Industrial Data Space used docker image. I was trying to find the source code of the base connector but unable to find.
Can you please give the explanation regarding the source code of the base connector and also where can i get the source ?
Thanks in Advance

Sorry, this is not a valid issue for this project. This is the Trusted Connector project.
What is the "Base Connector" in your opinion? There is some instances of it like the simple connector from our colleagues from Fraunhofer ISST.

You can find an overview of all connector implementations at https://www.dataspaces.fraunhofer.de/en/software/connector.html.


traefik - Unable to obtain ACME certificate for domains

Hello,
I look at the traefik log, and I see a error. How can I solve this?
level=error msg="Unable to obtain ACME certificate for domains "btc.wb.local" detected thanks to rule "Host: btc.wb.local" : unable to generate a certificate for the domains [btc.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:19Z" level=error msg="Unable to obtain ACME certificate for domains "api.wb.local" detected thanks to rule "Host: api.wb.local; PathPrefix:/trading, /trading-ui-assets" : unable to generate a certificate for the domains [api.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:19Z" level=error msg="Unable to obtain ACME certificate for domains "pma.wb.local" detected thanks to rule "Host: pma.wb.local" : unable to generate a certificate for the domains [pma.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:20Z" level=error msg="Unable to obtain ACME certificate for domains "mail.wb.local" detected thanks to rule "Host: mail.wb.local" : unable to generate a certificate for the domains [mail.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:21Z" level=error msg="Unable to obtain ACME certificate for domains "monitor.wb.local" detected thanks to rule "Host: monitor.wb.local" : unable to generate a certificate for the domains [monitor.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:21Z" level=error msg="Unable to obtain ACME certificate for domains "ws.ranger.wb.local" detected thanks to rule "Host: ws.ranger.wb.local" : unable to generate a certificate for the domains [ws.ranger.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:21Z" level=error msg="Unable to obtain ACME certificate for domains "rabbitmq.wb.local" detected thanks to rule "Host: rabbitmq.wb.local" : unable to generate a certificate for the domains [rabbitmq.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:21Z" level=error msg="Unable to obtain ACME certificate for domains "eth.wb.local" detected thanks to rule "Host: eth.wb.local" : unable to generate a certificate for the domains [eth.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:22Z" level=error msg="Unable to obtain ACME certificate for domains "auth.wb.local" detected thanks to rule "Host: auth.wb.local" : unable to generate a certificate for the domains [auth.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:38Z" level=info msg="Server configuration reloaded on :443"
time="2018-12-06T08:46:38Z" level=info msg="Server configuration reloaded on :8080"
time="2018-12-06T08:46:38Z" level=info msg="Server configuration reloaded on :80"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "monitor.wb.local" detected thanks to rule "Host: monitor.wb.local" : unable to generate a certificate for the domains [monitor.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "eth.wb.local" detected thanks to rule "Host: eth.wb.local" : unable to generate a certificate for the domains [eth.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "auth.wb.local" detected thanks to rule "Host: auth.wb.local" : unable to generate a certificate for the domains [auth.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "rabbitmq.wb.local" detected thanks to rule "Host: rabbitmq.wb.local" : unable to generate a certificate for the domains [rabbitmq.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "pma.wb.local" detected thanks to rule "Host: pma.wb.local" : unable to generate a certificate for the domains [pma.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "ws.ranger.wb.local" detected thanks to rule "Host: ws.ranger.wb.local" : unable to generate a certificate for the domains [ws.ranger.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "mail.wb.local" detected thanks to rule "Host: mail.wb.local" : unable to generate a certificate for the domains [mail.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:39Z" level=error msg="Unable to obtain ACME certificate for domains "btc.wb.local" detected thanks to rule "Host: btc.wb.local" : unable to generate a certificate for the domains [btc.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:40Z" level=info msg="Server configuration reloaded on :443"
time="2018-12-06T08:46:40Z" level=info msg="Server configuration reloaded on :8080"
time="2018-12-06T08:46:40Z" level=info msg="Server configuration reloaded on :80"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "api.wb.local" detected thanks to rule "Host: api.wb.local" : unable to generate a certificate for the domains [api.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "btc.wb.local" detected thanks to rule "Host: btc.wb.local" : unable to generate a certificate for the domains [btc.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "monitor.wb.local" detected thanks to rule "Host: monitor.wb.local" : unable to generate a certificate for the domains [monitor.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "mail.wb.local" detected thanks to rule "Host: mail.wb.local" : unable to generate a certificate for the domains [mail.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "eth.wb.local" detected thanks to rule "Host: eth.wb.local" : unable to generate a certificate for the domains [eth.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "auth.wb.local" detected thanks to rule "Host: auth.wb.local" : unable to generate a certificate for the domains [auth.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "ws.ranger.wb.local" detected thanks to rule "Host: ws.ranger.wb.local" : unable to generate a certificate for the domains [ws.ranger.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:41Z" level=error msg="Unable to obtain ACME certificate for domains "pma.wb.local" detected thanks to rule "Host: pma.wb.local" : unable to generate a certificate for the domains [pma.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:46:42Z" level=error msg="Unable to obtain ACME certificate for domains "rabbitmq.wb.local" detected thanks to rule "Host: rabbitmq.wb.local" : unable to generate a certificate for the domains [rabbitmq.wb.local]: acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: Name does not end in a public suffix"
time="2018-12-06T08:47:15Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:47:15Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:47:16Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:47:16Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:48:17Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:48:18Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:48:19Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:48:19Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:49:21Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:49:22Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:49:24Z" level=info msg="Skipping same configuration for provider docker"
time="2018-12-06T08:49:25Z" level=info msg="Skipping same configuration for provider docker"

I solved the problem. This error is happening because I use a failed commit. Solved using the last successful build.


InfluxDB 2.0: The "System buckets" are returned when I try find the not exist bucket

Steps to reproduce:

Start the latest nightly build
Try find not exists bucket:

-> GET
-> http://<IP_ADDRESS>:9999/api/v2/buckets?name=my-bucket-not-found

<- 200
<- OK
<- {
	"links": {
		"self": "/api/v2/buckets?descending=false\u0026limit=20\u0026name=my-bucket-not-found\u0026offset=0"
	},
	"buckets": [{
		"id": "000000000000000a",
		"description": "System bucket for task logs",
		"name": "_tasks",
		"retentionRules": [{
			"type": "expire",
			"everySeconds": 259200
		}],
		"createdAt": "0001-01-01T00:00:00Z",
		"updatedAt": "0001-01-01T00:00:00Z",
		"links": {
			"labels": "/api/v2/buckets/000000000000000a/labels",
			"logs": "/api/v2/buckets/000000000000000a/logs",
			"members": "/api/v2/buckets/000000000000000a/members",
			"org": "/api/v2/orgs/",
			"owners": "/api/v2/buckets/000000000000000a/owners",
			"self": "/api/v2/buckets/000000000000000a",
			"write": "/api/v2/write?org=\u0026bucket=000000000000000a"
		},
		"labels": []
	}, {
		"id": "000000000000000b",
		"description": "System bucket for monitoring logs",
		"name": "_monitoring",
		"retentionRules": [{
			"type": "expire",
			"everySeconds": 604800
		}],
		"createdAt": "0001-01-01T00:00:00Z",
		"updatedAt": "0001-01-01T00:00:00Z",
		"links": {
			"labels": "/api/v2/buckets/000000000000000b/labels",
			"logs": "/api/v2/buckets/000000000000000b/logs",
			"members": "/api/v2/buckets/000000000000000b/members",
			"org": "/api/v2/orgs/",
			"owners": "/api/v2/buckets/000000000000000b/owners",
			"self": "/api/v2/buckets/000000000000000b",
			"write": "/api/v2/write?org=\u0026bucket=000000000000000b"
		},
		"labels": []
	}]
}

Expected behavior:
Return empty list
Actual behavior:
Returns the system buckets
Environment info:

The latest nightly build of InfluxDB v2

introduced by #14884, cc @jademcgough

This will be resolved as part of https://github.com/influxdata/idpe/issues/4203

Still happens.
Moreover, system buckets are also returned when offset params is greater than number of buckets (3 at empty, set up, server) or offset >= limit

@bednar
Just built from source, looks like it's been resolved. I was having the issue with the last docker beta image.

looks like this has been resolved.


document how to manually resurrect DTR 2.2 from just the data from a rethinkdb volume

Problem description
It's technically possible to recover DTR to a usable state from just the contents of a rethinkdb volume from a cluster that's lost consensus, but we don't have a tool to do it or any documentation for how to do it. In DTR 2.2 this should be reasonably easy (as compared to 2.1 anyway).
Problem location
DTR docs
Project version(s) affected
DTR 2.2
Suggestions for a fix
I plan to go through the steps, test them out and document them.

Update: this turned out to be more difficult than expected. We might be better off just implementing this feature in the product.

This is kind of what the docker/dtr backup command does, so maybe it would make sense to extend that command to include this behavior.
I'm closing this docs issue since there's nothing to do here.


hamburger menu mobile

Hi, I've installed skeleton Open Publishing Space. After the last upgrade of theme "Quark Open Publishing "the humburger menu' for mobile is visible but not working.
I mean that after the upgrade if you click on the hamburber menu this is not able to open anymore. regards

Hi @NandoPiz , thanks very much for reporting this. I've got a lead to the issue and am working on a fix now.

Ok @NandoPiz I just released a theme update which should address this issue, please let me know if it works for you.

Hi. Thak you very much for your job. I cannot see the theme update (versione 1.6.1) I can only see version 1.6.0 using normal update theme procedure with admin GUI interface

I am not sure why that would be the case, the updated 1.61 version is listed on https://getgrav.org/downloads/themes
Is the update in Admin working for you now? If not, you could manually update the needed file:
https://github.com/hibbitts-design/grav-theme-quark-open-publishing/blob/master/templates/partials/base.html.twig
Please let me know if you can get things going.

the update is visible now and works perfectly. Hamburger menu works fine thank you very much. regards

Great, thanks for letting me know @NandoPiz !


Review support for other opcodes

See example list here.  Should research and see if there's anything else and then make issues for whichever ones are not currently supported by Discordgo
https://github.com/RogueException/Discord.Net/blob/80f3724ae401cf0f3dd29d67f9ad5991de4b52d9/src/Discord.Net/API/Client/GatewaySocket/OpCodes.cs#L21
        Dispatch = 0,
        /// <summary> C↔S - Used to keep the connection alive and measure latency. </summary>
        Heartbeat = 1,
        /// <summary> C→S - Used to associate a connection with a token and specify configuration. </summary>
        Identify = 2,
        /// <summary> C→S - Used to update client's status and current game id. </summary>
        StatusUpdate = 3,
        /// <summary> C→S - Used to join a particular voice channel. </summary>
        VoiceStateUpdate = 4,
        /// <summary> C→S - Used to ensure the server's voice server is alive. Only send this if voice connection fails or suddenly drops. </summary>
        VoiceServerPing = 5,
        /// <summary> C→S - Used to resume a connection after a redirect occurs. </summary>
        Resume = 6,
        /// <summary> C←S - Used to notify a client that they must reconnect to another gateway. </summary>
        Redirect = 7,
        /// <summary> C→S - Used to request all members that were withheld by large_threshold </summary>
        RequestGuildMembers = 8

We definitely need support for 8.

https://github.com/bwmarrin/discordgo/issues/25

Also, here's a issue for opcode 5 https://github.com/bwmarrin/discordgo/issues/84

Looks like this issue is far outdated; we support all documented opcodes at this time.


Express + Formidable not triggering any events :(

Well, all of events formidable not getting fired, i've been disabled all of my middlewares
I have tried google, stackoverflow, github issues but couldn't find anything related to this, so i hope it's ok to file this issue.
Cheers :)

export const createWidgetIconByClient = async (
req: Request,
res: Response,
next: NextFunction
): Promise => {
var responses = [];
const form = new formidable.IncomingForm({ multiples: true });
const dirUploads: string = './public';
const regex = new RegExp("(.*?).(svg|png|jpg|jpeg)$");
form.on("file", (tes, oke) => {
console.log("aowjoawoj");
});
}

export const createWidgetIconByClient = async (
  req: Request,
  res: Response,
  next: NextFunction
): Promise<any> => {

  var responses = [];
  const form = new formidable.IncomingForm({ multiples: true });
  const dirUploads: string = './public';
  const regex = new RegExp("(.*?)\.(svg|png|jpg|jpeg)$");

  form.on("file", (tes, oke) => {
    console.log("aowjoawoj");
  });
  }

I hope someone could helped me out :)

do you ever form.parse ?

@GrosSacASac yeah i've been using form.parse, but my problem is for multiple upload files

@GrosSacASac thanks for help, i solved my problem with form.parse instead of event trigger

@GrosSacASac maybe u can close this issue?


No longer patch react-native-url-polyfill once createObjectURL is fixed

Track: https://github.com/charpeni/react-native-url-polyfill/pull/267

@acostalima FYI the PR you've linked for that has merged.


Invalid key passes submit

I warned you I'm going to bother you again:)
I  have a field that confirms the password in an auto form that submits to a method that should insert a new user with Accounts password. (I am validating against a SimpleSchema, not the collection)
pass_again:{
		type: String,
		label:"Confirm Password",
		optional: false,
		custom: function(){
			if(this.value !== this.field("password").value){
			   UsersSimpleSchema.namedContext("adminContext").addInvalidKeys([{name: "pass_again", type: "noPassMatch", }]);
			}
		}
	},

I customised an error message :
UsersSimpleSchema.messages(
	{
		noPassMatch:"Passwords do not match"
	}
);

The problem is that the form gets submitted and doesn't behave as the other errors that prevent it and show up under the input field.
What am I missing?
Thank you for your time.

Instead of the addInvalidKeys line, do return "noPassMatch". The invalid key you're adding isn't part of the same validation run, so SS doesn't know about it.


Rename cards.csv to cards.sample.csv

Renaming cards.csv to cards.sample.csv
Adding cards.csv to .gitignore
User has to copy the sample file to on board. This will help development in the future. Developers don't need to switch branch or copy testing data from elsewhere.

@chinghanyu please review :)

I used to exclude cards.csv from being committed in my local repo but this solution might be better. Can you add an warning in case a user forgets to provide cards.csv?

@chinghanyu sure just pushed


Having a hard time activating debug functionalities

Working with NPM version of quagga2, I'm trying to activate debugging but nothing works
My configs
 Quagga.init({
      numOfWorkers: 0,
      frequency: 15,
      debug: true,
      locate: true,

      inputStream: {
        name: 'Live',
        type: 'LiveStream',
        target: '#liveStream',
        constraints: {
          width: 640,
          height: 480,
          facingMode: 'environment' // or user
        },
      },

      locator: {
        patchSize: 'x-large',
        halfSample: false,
        debug: {
          showCanvas: true,
          showPatches: true,
          showFoundPatches: true,
          showSkeleton: true,
          showLabels: true,
          showPatchLabels: true,
          showRemainingPatchLabels: true,
          boxFromPatches: {
            showTransformed: true,
            showTransformedBox: true,
            showBB: true
          }
        }
      },

      decoder: {
        readers: [
          "code_128_reader",
          "code_39_reader",
          "code_39_vin_reader",
          "code_qr_reader",
        ],
        debug: {
          drawBoundingBox: true,
          showFrequency: true,
          drawScanline: true,
          showPattern: true
        },
        multiple: false,
      },

I'm not sure what I'm doing wrong.   Is debugging only available when working directly with sources? I do see a lot of    if (ENV.development)   in quagga code.

I haven't tried the debug functionality since I've been here, but I do use some extra CSS that might help -- my suspicion is that the debug canvas is probably not visible
Given that my div that contains the scanner area has class "scannerContainer", I use
.scannerContainer {
    background: black;
}

.scannerContainer canvas {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 99%;
    width: 99%;
    border: 3px solid green;
}

which seems to position canvases on top of the container, instead of under it.
the associated React snippet that I use to display that is
            <div className={css.scannerContainer} ref={scannerRef}>
                <video style={{width: window.innerWidth, height: 480}} />
                <canvas className="drawingBuffer" width="640" height="480" />
                <Scanner cameraId={scannerCameraId} scannerRef={scannerOpen && scannerRef} onScannerReady={onScannerReady} onDetected={onScanDetected} />
            </div>

also noted to #33 which is at least related.
If you're able to find an answer as to where the debugging output goes, before I do, please follow up :-)

Also, it does look like your suspicion about requiring a dev build is probably correct -- initCanvas() in barcode_decoder is a No-Op in production build.  So, I'll make a note to self also to investigate how to actually make use of a development build -- npm run build:dev looks to create one, but i'm not sure exactly how one would use that in a project, right at this time.

Yes, even after applying the CSS to make the canvas above, there's still nothing being displayed.

It looks like the way to use debug is to clone the repo, use npm run build:dev then include the dist/quagga.js into your project.  If you're using a module loader, that might also require adjusting the package.json, but if you're just loading it via the script tag then it should be just a matter of loading the correct script.
It looks to me like that's some things geared towards debugging the internals, if you're just trying to get a visualization of what it's thinking, you can use something like
https://github.com/ericblade/quagga2/blob/master/example/live_w_locator.js#L263

please close this if that is a sufficient answer, or let me know if there is some further request here.

Yeah thats pretty much what I wanted to see.  Thx

Great :-)  I also just updated quagga2-react-example to include some canvas drawing if you'd like to check that out too


Separate "call for papers" and "voting" periods

I don't know the right way to do it, but ordering by creation date is too biased.

I think you're talking about the ordering of proposals.
If it's correct, I agree with you that is not the best field to sort, but I don't agree that will cause any issue with the vote itself. Maybe the issue is not about the ordering and more about the presentation of the proposals to do the voting.
What do you think?

I have some problems with the current voting system.
In some past Python Brasil, I remember I voted after the proposals were sent. You have two distinct phases, first you do the call for papers and after it you do the voting.
If I send a late proposal, I'll have less votes because I had less days to receive votes and my proposal will be at the end of the list, receiving less attention.
As I said, I don't know how exactly is the fix for this issue, but I want to start the discussion.

Hi, @iurisilvio.
Did you mean we need distinct periods, such as 'Call for papers' and the 'Voting' itself?
The issue title is not that clear. Could you review it, please?

@victor-torres yes, this is my idea. I created the issue because the ordering, but after some thought, I don't think it is possible to fix it reordering the proposals.
First, we need all proposals registered. This is the "Call for papers" time. I agree it is interesting to show the proposals and give some fake voting controls for social purposes.
After that, we need a voting period, maybe only for conference participants (it can be an option to the event creator). It is not a popularity contest, it is about what people in the conference want to watch.
This is basically what I saw in an ancient Python Brasil (2009?). I have no idea what platform they used, but I liked the system.

Hi @iurisilvio, i am totally agree with you, and this work on Speakerfight, it is just the Event creators keep the voting process private (In the private mode, the users can just send proposals, without voting or people seeing anything) until some time, and then just make it public, they will have that distinct moments.
I understand that this "trick" is a fault of the Speakerfight ux, we need to explain this steps in the event creation interface.
Thanks for your feedback!

I never created an event, so I didn't knew it. Thanks for the
clarification.
On Jun 2, 2015 1:11 PM, "Luan Fonseca de Farias"<EMAIL_ADDRESS>wrote:

Hi @iurisilvio https://github.com/iurisilvio, i am totally agree with
you, and this work on Speakerfight, it is just the Event creators keep the
voting process private (In the private mode, the users can just send
proposals, without voting or people seeing anything) until some time, and
then just make it public, they will have that distinct moments.
I understand that this "trick" is a fault of the Speakerfight ux, we need
to explain this steps in the event creation interface.
Thanks for your feedback!
—
Reply to this email directly or view it on GitHub
https://github.com/luanfonceca/speakerfight/issues/54#issuecomment-108002959
.

It is just a hack, as I code it i know how it works haha

Seems that what you're asking for is already implemented and the actual voting process for Python Brasil [11] is due to the event's organization choice. So, wontfix, right?
By the way, I think fake voting is the worse scenario we could have. Imagine that I 'fake voted' someone. I will not come back to the event and vote again. It's already hard to get endusers clicks, trying to do that twice? Won't happen.


Breakpoint action not working on mac

Not sure exactly why we'll need to investigate

Closing for now because seems to be working fine now; could just be flakiness in VSCode's breakpoint impl.  Can revisit if reappears


Disable workaround for numba threading backend fix

The wheels for numba 0.40.1 now use tbb by default without causing the openmp backend introspection to crash (openmp is disabled in those wheels).

Codecov Report

Merging #15 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
- Coverage   73.91%   73.82%   -0.09%
==========================================
  Files           8        8
  Lines         598      596       -2
==========================================
- Hits          442      440       -2
  Misses        156      156

Impacted Files
Coverage Δ

pygbm/__init__.py
100% <ø> (ø)
:arrow_up:

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 176a35b...883bbf3. Read the comment docs.

Code coverage report is not very clever to say the least: how can deleting 2 lines of code decrease coverage...


"Unknown assertion failed" in otherwise trivial higher-order, polymorphic example

This simplified example comes from an attempt of proving the hoare logic for the skip command. Funnily enough, this fails even if I use magic to admit it, not only when I try to give a proof of it.
type heap = unit -> Tot unit

type pred = heap -> Tot unit

type deduce : unit -> Type =
| Blah : deduce ()

val feq : #a:Type -> a -> Tot unit
let feq x = ()

type hoare_c (q:pred) = (h':heap -> deduce (q h'))

val skip_spec : u:unit -> Tot (hoare_c feq)
let skip_spec u = fun h1 -> magic()

The error message:
../../bin/fstar.exe --fstar_home ../.. bug189.fst
bug189.fst(16,0-17,0): Unknown assertion failed

No longer reproduceable


Update details for Jonas in AboutUs.md

Closes #18

Codecov Report

Merging #49 (89f55b0) into master (8bd249b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #49   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 8bd249b...89f55b0. Read the comment docs.


Sending HTTP traffic over Hyperswarm. Should we consider supporting multiplexing in the protocol?

Sending HTTP traffic over Hyperswarm sockets is a use-case I'm currently exploring. This leads to a small challenge:
HTTP semantics depend on the connection life-cycle. After a response is finished, the server is expected to close the connection. This seems like a problem for Hyperswarm, because connection setup isn't as quick as it is for traditional TCP. We don't want to open and close connections for every request.
One option is to use empty messages to indicate the end of a request or response, without closing the stream. This should work so long as responses are sent in the same order that requests are sent, but that's a performance penalty.
We can improve on that by using multiplexing such as in libp2p-mplex. This would allow multiple in-flight HTTP request/responses, and the "channels" could be freed for reuse after the req/res sessions end on each of them.
I'm opening this issue for two reasons:

To confirm that I understand the situation correctly. (not a given)
If I'm correct, I wonder if there'd be any merit to supporting multiplexing natively in the protocol? I have two reasons for suggesting that: A) It might be useful in other contexts, and B) I suspect that sending HTTP over Hyperswarm sockets will be really common, and since Hyperswarm sockets don't have any "standard header" to declare the message format they're about to send, having multiplexing on all sockets would simplify things.

Another option I might look into is using HTTP/2, which supports multiplexing.

The hyperswarm layer will likely never support any high level protocols. Support is coming for TCP in addition to UTP and we are open to adding more "raw protocols". If you wanna run any multiplexing you should do that on top of your raw connection. The only exception to this might be a websocket interface for browser compat, but I'd prefer not doing that here as well for the same reasons. For the same reasons headers don't make much sense, it's just an encrypted raw socket.
In addition connections are always handshaked seperately through the dht for holepunching reasons.
I'd suggest the following:

Quantify what "isn't as quick" means - it's a testnet that is clustered in europe atm - do you mean high latency? Whats the numbers? Where are you connecting to/from.
Contribute low level benchmarks that help us track this over time

My hyper-web-relay experiment deals with experimental connection maintenance, traditional proxies will keep a connection open and re-use it when set up correctly, I believe direct relaying of a browser to a web server typically accomplishes the same thing since the connection maintenance and multiplexing happens on the http layer of the protocol stack

Doesn't matter where the nodes are, I'd imagine the bulk of the current latency is speed of light to the testnet DHT which is all running in northern germany. All handshakes go through the DHT always - that's how you holepunch.
With a more widely deployed DHT this might be better or worse. For both your localities I'd imagine it can only get better as it's really far geographically to the testnet.

You should look into HTTP pipelining, it's basically multiplexing for 90% of all use cases.

Also making multiple connections to the SAME host is very optimisable (read competive to direct connections)

Just confirmed through some googling that node's http server HAS pipelining but the client doesn't. https://github.com/nodejs/undici does tho.

@lanmower I'm guessing your hyper-web-relay package is going to get different kinds of HTTP traffic from nginx than it would from a browser directly accessing it.

That being said, all browsers multiplex.

@pfrazee can you link me to where you do multiplexing? maybe I can blatantly steal your technique for hyper-web-relay :)

I ended up solving it by putting an nginx reverse proxy in front with keep-alive enabled


Request to update aiobotocore version for additional Bedrock support.

Async AWS SDK for Python version: 2.13.1
Python version: 3.11.10
Operating System: Linux

Description
Utilizing the current version of aioboto3 (13.1.1) pins aiobotocore[boto3]==2.13.1.  Unfortunatly this version of aiobotocore doesn't include support for batch_delete_evaluation_job.  I haven't determined when this was added to the boto client, but it appears to be present with aiobotocore versions greater than 2.15.x.   When can we expect to see this dependency get updated?
What I Did
1, Created an evaluation job via the cli (note this fails, but doesn't matter for testing purposes):
        echo "Creating IAM role for model evaluation job"
        aws iam create-role \
        --role-name bedrock-eval-role-$SHORT_RANDOM_STRING \
        --assume-role-policy-document '{
          "Version": "2012-10-17",
          "Statement": [
            {
              "Effect": "Allow",
              "Principal": {
                "Service": "bedrock.amazonaws.com"
              },
              "Action": "sts:AssumeRole"
            }
          ]
        }' \

        echo "Attaching policies to the IAM role"
        aws iam attach-role-policy \
        --role-name bedrock-eval-role-$SHORT_RANDOM_STRING \
        --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess \

        aws iam attach-role-policy \
        --role-name bedrock-eval-role-$SHORT_RANDOM_STRING \
        --policy-arn arn:aws:iam::aws:policy/AmazonBedrockFullAccess \

        # Wait for a few seconds to ensure the role is fully propagated
        echo "Waiting for IAM role propagation..."
        sleep 10

        # Create a unique S3 bucket name
        S3_BUCKET_NAME="automatic-eval-jobs-$SHORT_RANDOM_STRING"

        echo "Creating S3 bucket for output data"
        aws s3 mb s3://$S3_BUCKET_NAME

        echo "Creating model evaluation job"
        aws bedrock create-evaluation-job \
        --job-name "automatic-eval-job-cli-$SHORT_RANDOM_STRING" \
        --role-arn "arn:aws:iam::$AWS_ACCOUNT_ID:role/bedrock-eval-role-$SHORT_RANDOM_STRING" \
        --evaluation-config '{"automated": {"datasetMetricConfigs": [{"taskType": "QuestionAndAnswer","dataset": {"name": "Builtin.BoolQ"},"metricNames": ["Builtin.Accuracy","Builtin.Robustness"]}]}}' \
        --inference-config '{"models": [{"bedrockModel": {"modelIdentifier":"arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-text-lite-v1","inferenceParams":"{\"temperature\":\"0.0\", \"topP\":\"1\", \"maxTokenCount\":\"512\"}"}}]}' \
        --output-data-config '{"s3Uri":"s3://'$S3_BUCKET_NAME'/outputs"}'

Attempt cleanup of the evaluation job.

    from typing import cast
    from types_aiobotocore_bedrock.client import BedrockClient
    import aioboto3

    async def main():
       session = aioboto3.Session()
       async with session.client("bedrock") as bedrock_client:
                evaluation_paginator = bedrock_client.get_paginator("list_evaluation_jobs")

                job_identifiers = []

                async for page in evaluation_paginator.paginate():
                    for job in page["jobSummaries"]:
                        job_identifiers.append(job["jobArn"])

                if job_identifiers:
                    await bedrock_client.batch_delete_evaluation_job(jobIdentifiers=job_identifiers)

This fails with the currently implemented version of aiobotocore stating this function wasn't found, but if you manually upgrade this to the latest, currently 2.15.1 it will succeed.

13.2.0 is out which uses aiobotocore 2.15.2, give that a go.

Now aiobotocore is pinned at 2.15.2. However, it has been upgraded to 2.16.0 which uses later versions of boto3 and botocore that I need for additional functionalities.
Is it possible to pin it to 2.16.0 or not pin it on a single version?
https://github.com/terricain/aioboto3/blob/main/pyproject.toml#L27

So whilst I'd like to not pin aiobotocore to a specific version, this library patches specific boto3 methods, so therefore relaxing the requirement on aiobotocore relaxes the requirement on boto3 which then opens up the can of worms that is this library not patching boto3 correctly, which then is a nightmare to diagnose.
13.3.0 is out.


使用4卡跑一直报错

我使用的是Dataparallel，一直出现这样的问题，请问我是哪里出错了

It seems your tensors are located in different GPU, thus cannot be directly computed.
We only test our model in a single GPU, so it may need some modification for multi-GPU setting.


FS-3337 split copilot deploy out from other deploy

https://dluhcdigital.atlassian.net/browse/FS-3337
Change description
Bring copilot into line with other repos and put post-deploy into it.

[ ] Unit tests and other appropriate tests added or updated
[ ] README and other documentation has been updated / added (if needed)
[ ] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
If manual testing is needed, give suggested testing steps
Screenshots of UI changes (if applicable)

Overridden by other PRs


Add T5 data (encoder-decoder model)

Another possibility if we want to include another type of transformer in the visualization tool

How can we add more models?
We could analyze instructions models with flan-t5.

Hi, we have not tried flan-t5 yet, but if you can get the data in a similar format as the provided gpt or bert data, you can substitute that in when running the application. Streamlining this process is an area for future work, as currently, adding new models may require modifications to both the frontend and backend.


Create command for existing infra validation

Description
Need to create validate command for existing-infra architecture that will validate the necessary port by sending request on remote server where deployment will be happen to check port is open or not.
For that create a command chef-automate ha-validate
Acceptance-criteria
All necessary port should be checked and if any port is blocked then it should give the warning message like please open such port. Otherwise your deployment will be stuck.

https://github.com/chef/automate/pull/6493


How to debug the two models，20170511-185253 and 20170512-110547？？

As the title, how to debug these two models, it is difficult for me to understand the meaning of the downloaded model? What is the process? Thx

Have you seen the wiki, for example this page?

@davidsandberg Yes, I had read the wiki later, and verified the model on LFW. The process is clear in the wiki, thank you so much.


Add catalog null check to fix initializing a MSSQL db issue

Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
A null check has been added in order to avoid having issues when trying to run a Liquibase command like "generateChangeLog" proving only the defaultSchemaName.
Fixes #3181
Things to be aware of

nothing

Things to worry about

nothing

Additional Context

nothing

This PR looks good, I tried connecting to db with defaultSchemaName param with liquibase 4.16.1 and this build with the same credentials, 4.16.1 failed with [Failed SQL: (156) USE null] and this build could conect without any aparent issues.


Macros KS_EXTRA keycodes change file encoding

Steps to reproduce
I noticed when I record a simple macro with some combinations of modifier keys "Control" or "Alt" or make a motion like f) and then paste that macro register content in a buffer Vim prints some strange characters I think are called "KS_EXTRA keycodes"
1.TESTLINE_2001 (testing_test)
2.If I record macro qw 0viwf)vi)
3.PASTE_1 Then I paste "wp (Note I write here the characters letters not the bytecodes)
4.0viw^Af)<80>avi)<9b>^DCj<9b>^Hj<9b>^DV
5.PASTE_2) I get this with :echo keytrans (@w)
6.0viwf)<t_a>vi)j
7.PASTE_3) And I get this if I paste register w in insert mode with Ctrl-R+w
8.0viw2) f)<t_ý>avi)üCjjüV
9.If I save that buffer to a file and then close and open it again the encoding changes from "utf-8" to "none" and is also a read only buffer
10.The original register paste automatically changes from "PASTE_1" to "PASTE_3"
Expected behaviour
Im not a programmer but I use gVim on Windows 10 as my primary text editor for a long time and the macros contents never pasted these extra keycodes until now
Also all my text files are in utf-8 encoding and unix fileformat since it helps with compatibility with Linux systems and gVim never had a problem to edit them that way until now
Im not an advanced Vim user and when I try to look for references or help about this problem I always get entangled in the rabbit hole that is file encoding configurations
I also have not done more extensive testing because like I say I actually have no idea what am I doing in this particular field
Please help
Version of Vim
gVim version 9.0.2189
Environment
Here is the output of the :version command:
https://github.com/iddqd505/dotfiles/blob/main/vim version
Here is my :scriptnames list of plugins. However I still can replicate the problem exactly the same even if I remove all my installed plugins and reload gVim
https://github.com/iddqd505/dotfiles/blob/main/vim scriptnames
And here is a sanitized and debloated version of my _vimrc file:
https://github.com/iddqd505/dotfiles/blob/main/_vimrc
Logs and stack traces
No response

Maybe its necessary to add an actual notation for K_NOP?

can you please fix the formatting of your how-to-reproduce section? I have troubles following the guide. Please use markdown code formatting if possible

Yes sorry for the late response since I dont know Github I also had trouble trying to fit the how to steps in the required post format but I tried to follow the posting rules
I will try to fix it also I have uploaded 2 sample files with a before and after I open them with my gVim editor alongside screenshots of how they show in my gVim to see if it happens in other editors too
Here are the links:
sample file 01 before
https://github.com/iddqd505/dotfiles/blob/main/sample file 01 before
sample file 01 before.jpg
https://github.com/iddqd505/dotfiles/blob/main/sample file 01 before.jpg
sample file 02 after
https://github.com/iddqd505/dotfiles/blob/main/sample file 02 after
sample file 02 after.jpg
https://github.com/iddqd505/dotfiles/blob/main/sample file 02 after.jpg

The mappings is probably related to patch v9.1.0050. You may want to enable the experimental keycode handling for Ms-Windows, please read the related documentation at :h :h w32-experimental-keycode-trans-strategy.

I also think it looks good now. keytrans() correctly shows the translated keys.

These are great news thanks for the info about experimental keycode handling. I installed Vim v9.1.0067 and my Ñ mappings now work directly writting nnoremap Ñ g$
However the macro register keeps changing the test file encoding from "utf-8" to "none" exactly as described in this comment
I have been installing old versions of gVim and all V8.2.x I tried replicate this issue with the only difference some of them give me this error warning when opening the test file with the macro register written in line 14:
ILLEGAL BYTE in line 14
I had to go back to gVim version 8.1.2408 to print macro registers without "KS_EXTRA keycodes" that would change the encoding of my file but there was no keytrans() command in that version

Im out of the loop with this problem but if it helps I have found an old laptop with Windows 7 installed and an old version of gVim where I tried the test macro
Windows 7 Ultimate Version 6.1 (Build 7601: Service Pack 1)
gvim82.exe <IP_ADDRESS> (2019 Dec 12) 32 bits
This gVim version <IP_ADDRESS>:

Doesnt print the control keycodes in the macro register paste
Doesnt print wrong characters in insert mode when pasting the register with <C-r>w
Doesnt have the keymap() command or help related to it
Doesnt change file encoding or corrupts the register paste after reopening the file

Also I found in this Windows 7 computer another gVim install file I copied there but forgot to update:
gvim_8.2.4478_x86.exe (2022 Feb 26)
compiled by appveyor@APPVYR-WIN
This updated gVim version 8.2.4478:

Prints the control keycodes in the macro register paste
Doesnt print wrong characters in insert mode when pasting the register with <C-r>w
Doesnt have the keymap() command or help related to it
Changes file encoding and corrupts the register paste after reopening the file

Probably not relevant but wanted to share the discovery


Creating new Python project in VS Code is very slow on Windows

originally filed by @gbowerman here
VS Code 1.31.1
Azure Functions extension 0.14.0.
Create a new project, use browse to create new folder, and select Python as language.
Project creation takes minutes on Windows compared to seconds on Mac.

This is only because we're creating a virtual environment. Separate issue here for possibly removing venv: https://github.com/Microsoft/vscode-azurefunctions/issues/1092

@EricJizbaMSFT is it slower on Windows than Mac because there is no venv on Mac?

Both have a venv and there is a delay for both when we create that venv. I don't know why your windows machine is so much slower than your mac, but it just depends on the machine. Either way, removing the venv will speed up creating a project on both OS's


Update GitHub Action versions

Update the base GitHub actions to versions:

actions/checkout@v2 -> actions/checkout@v3
setup-node@v2-beta -> setup-node@v3

I removed the line git diff --exit-code --quiet because it was always failing. Does anyone have any context as to why that line was added in the first place?


Theme submission: Tokiwa

Theme submission
Please make sure that you have read the theme submission guidelines before submitting a theme. The guidelines provide all relevant information and requirements that have to be fulfilled before the submission. Please tick the relevant boxes for your theme in the checklist below:
Link to my theme repository: https://github.com/heyeshuang/hugo-theme-tokiwa
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[x] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample

[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

N.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. You will need to keep an eye on whether your theme's demo generates on the Hugo website, whenever there is a new release. We are a very small team and we just cannot keep up opening issues in the various theme repositories to notify authors. Whenever a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
New themes will usually be promoted on Hugo's official Twitter account. If you would like to be mentioned in the tweet please add your Twitter username to this submission.
Link to my Twitter account (optional): https://twitter.com/heyeshuang
Feel free to ask questions. We're glad to help.

Hello @heyeshuang
At first glance the provided images do not have the required dimensions. You need to change theme.

Thumbnail should be 900×600 in pixels
Screenshot should be 1500×1000 in pixels

Also We ask that theme assets are not served through third party CDNs, consider including the various assets in the theme repo.

We discourage the use of third party CDNs to serve assets. It is no longer a good practice in this day and age (fingerprinting, security risk etc) despite of the possible benefits of faster loading times.

Once you look into the above please let me know so that I can test your theme further.

Thanks @onedrawingperday

At first glance the provided images do not have the required dimensions.

Changed. Sorry I forgot the 200% DPI.

Also we ask that theme assets are not served through third party CDNs, consider including the various assets in the theme repo.

Now the scripts pangu.js and KaTEX are self-hosted.

@heyeshuang
I am afraid that I have to reject your theme submission.
When I cloned the Tokiwa theme for testing I noticed the following:
Receiving objects: 100% (14422/14422), 28.58 MiB | 2.51 MiB/s, done.

28.58 MB is too much for a new theme.
Trying to figure out how the repo can be made smaller I noticed that there is a huge commit history by some 30 contributors including a couple of the Hugo developer team.
I was intrigued and then I realized that your theme is a fork of the Blackburn theme without crediting the original.
Here is how your repo looked up to the 25 of March 2017 and before:
https://github.com/heyeshuang/hugo-theme-tokiwa/tree/d1eb99085598bada0d40a42db0535310de94aac4
@heyeshuang
This isnot how things work in Open Source.
You have to give credit where credit is due otherwise you are plagiarizing.
We are very specific about this in the theme submission guidelines.

If a submission is found to violate the LICENSE of an original theme, it will be rejected without further discussion.

cc: @digitalcraftsman


drivers: gpio: nrf5 add polarity logic, and other

1.Correct handling of polarity flags
2.Correct handling enable callback by port
3.Correct handling disable callback by port
Signed-off-by: Findlay Feng<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #8308   +/-   ##
=======================================
  Coverage   64.53%   64.53%
=======================================
  Files         420      420
  Lines       40122    40122
  Branches     6763     6763
=======================================
  Hits        25892    25892
  Misses      11110    11110
  Partials     3120     3120

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 8e89206...c06996a. Read the comment docs.

@findlayfeng Looks like the changes in this PR, listed in the description, could be done in separate commits, since they seem to be independent of each other. I wonder if you could do this split, to ease the review.

Ok, wait a while

@findlayfeng could you please rebase this pr?

I need to confirm if this pr is needed, and other alternatives have been added to the latest code.

This pr is no longer needed


Dead code scanner mistargets predicates called by meta::map

Logtalk 18ea2f9
Code for reference:
:- category(hooked_loader(_Hook_)).

    load_term(Term) :-
        _Hook_::expand_term(Term, Term1),
        assertz(Term1).

    :- protected(include/1).
    include(Path) :-
        reader::file_to_terms(Path, Terms),
        meta::map(load_term, Terms).

:- end_category.

See documentation:
https://logtalk.org/manuals/devtools/dead_code_scanner.html#caveats

Also with compile directives (arg_type is called in meta::map on line 106)

See documentation: https://logtalk.org/manuals/devtools/dead_code_scanner.html#caveats

Ah, missed that, thanks. Not a new issue then.

Note that you can use the logtalk_make/1 predicate (or its tope-level shortcuts) to quickly recompile code in debug/normal/optimal mode:
https://logtalk.org/manuals/refman/predicates/logtalk_make_1.html


option to disable attribute validation.

Subject of the issue
I feel attribute validations should be disabled by default and enabled as per need.
Environment

v1.12.0
all browsers

Steps to reproduce
Type email field will have ootb error message without adding any rule. "Email not valid error"
Expected behaviour
Default attribute validations should be disabled. Should be enabled as per need.
This is because I created a authoring interface where i can added multiple validations on same field using authoring. Even If I remove all the validations still its showing the default error message.
Actual behaviour
Shows error message without even adding any rule for attribute type email.
$.validator.attributeRules( element ).
Happening due to this code a 179 line core js.

Hi @susheel61,
The plugin is reading the rules from the attributes by default, and we don't have an option to disable that. Disabling the default behavior will be considered a BC break, so we are avoiding it in the meantime.
For now, if you want to disable reading the rules from attributes, set $.validator.attributeRules to a new function that returns an empty object:
$.validator.attributeRules = function() {
  return {};
};

Will close for now and revisit in case someone else requested the same.
Thanks!

Thanks for responding.. I used text field for time being. But I can try what you suggested.

@susheel61
In case you want to still use the email input type, then disable the email validator:
$("form_selector").validate({
  rules: {
    "email_input_name": {
      // ...
      email: false  // <-- Set it to `false`
    }
  }
});

got it thanks :)


Add support for ensemble batch prediction intervals

For time series models, see here and MAPIE
Tasks:

[x] #57
[x] #58

Closed by #57


Incorrect hot air petri dish icon

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[X] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Hot-air petry dish have wrong icon
Steps to reproduce

Assign hot air petri dish recipe to glasswoks

Additional context
old icon

new icon

Log file
No response

Duplicate https://github.com/pyanodon/pybugreports/issues/738