FIX #4376 : update default config response to render proper data for …

Description
Table row is not rendering the example data properly when table widget is dropped on the canvas the first time
Fixes #4376
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested Locally.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: FIX/4376-table-row-not-rendering-drop-on-canvas

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
53.34 (-0.01)
35.32 (0)
31.92 (-0.01)
53.85 (-0.01)

:red_circle:
app/client/src/mockResponses/WidgetConfigResponse.tsx
11.34 (-0.75)
0 (0)
0 (0)
11.7 (-0.8)

/ok-to-test sha=193ca43

Rerunning jobs for failing tests

@vibhandikyash Drag 2 table widgets with default data, this time query api for another table (Table2). Observe that the table1 data reset.
https://www.loom.com/share/ad1f6ddb23b24bf4be145267e5ce5eee

@vivekverma2312 It seems to work fine on my local machine. Can't reproduce as you mentioned in the video.

@vibhandikyash Can you please check if you are able to repro in the deploy preview.

/ok-to-test sha=2a27797

@vibhandikyash Can you please check if you are able to repro in the deploy preview.
@vivekverma2312 The issue that your mentioned has been fixed. Kindly retest.

/ok-to-test sha=c19b671

@vibhandikyash latest merge required here to fix failing tests

@vibhandikyash The fix has been tested and working fine.

@vibhandikyash the latest test failing has been fixed and merged into release, we will have to update it here again!

/ok-to-test sha=1754068


use reodrid to open excel,error

```
!!! Reproduce the bug is important !!!
Post your code or upload a project to reproduce the bug
It's difficult to fix the bug without reproduce method

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Edition**
Which edition of ReoGrid do you using?

 - WPF

**Environment (please complete the following information):**
 - OS: [e.g. Windows [10]](url)
 - Language of OS: English

**Additional context**
Add any other context about the problem here.
[标准器清单.xlsx](https://github.com/unvell/ReoGrid/files/4892945/default.xlsx)

Thanks for your information. Can you please explain more about what is the problem?
You can try the issue template to describe your problem, sorry but I have to close this.


iOS Framework README is out-of-date

The README file in the iOS framework directory
(https://github.com/tangrams/tangram-es/blob/master/platforms/ios/framework/README.md) is used to populate our Cocoapods page (https://cocoapods.org/pods/Tangram-es) but it's currently not very useful.

[ ] Add an eye-catching screenshot
[ ] Update text, remove reference to "hosting repo"
[ ] Link to Mapzen iOS SDK for other map needs

No YOU'RE out-of-date!
But seriously, this issue is outdated. Gonna close.


broken parsing of path

@rultor release, tag is 0.0.2

@rultor release, tag is 0.0.2

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.2

@yegor256 Done! FYI, the full log is here (took me 1min)


Update en.yml

Context
Changes proposed in this pull request
Guidance to review

Added via https://github.com/DFE-Digital/get-help-with-tech/pull/349, closing.


Test an identity exchange with the real live system hangs on iOS

Testing locally with 2 iOS devices using branch story_001_vjrantal (but I suspect the same is on story_001).
Below what gets printed to the logs before hanging:
Server log:
~ UT840565 test do a cb and then a rnmine then a wrong peer then repeat rnmine to make sure state didn't get lost done!
~ UT55993 test do a cb and then a rnmine then a wrong peer then repeat rnmine to make sure state didn't get lost done!
------- stopping the test : do a cb and then a rnmine then a wrong peer then repeat rnmine to make sure state didn't get lost
UT840565 added test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
UT55993 added test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
+++++++ starting the test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
~ UT840565 test do a cb and then a rnmine with a rnmine that doesn't match the cb value done!
~ UT55993 test do a cb and then a rnmine with a rnmine that doesn't match the cb value done!
------- stopping the test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
UT55993 added test : Make sure apis don't allow incorrect states
UT840565 added test : Make sure apis don't allow incorrect states
+++++++ starting the test : Make sure apis don't allow incorrect states
~ UT840565 test Make sure apis don't allow incorrect states done!
~ UT55993 test Make sure apis don't allow incorrect states done!
------- stopping the test : Make sure apis don't allow incorrect states
UT55993 added test : Make sure we can start, complete and then restart and complete, no state gets horked
UT840565 added test : Make sure we can start, complete and then restart and complete, no state gets horked
+++++++ starting the test : Make sure we can start, complete and then restart and complete, no state gets horked
~ UT840565 test Make sure we can start, complete and then restart and complete, no state gets horked done!
~ UT55993 test Make sure we can start, complete and then restart and complete, no state gets horked done!
------- stopping the test : Make sure we can start, complete and then restart and complete, no state gets horked
UT5062 added test : Now do an identity Exchange with the real live system!
UT306978 added test : Now do an identity Exchange with the real live system!
+++++++ starting the test : Now do an identity Exchange with the real live system!

iOS device log:
{"type":"test","name":"Make sure we can start, complete and then restart and complete, no state gets horked","id":85}
{"type":"end","test":85}
{"type":"test","name":"teardown","id":86}
{"type":"end","test":86}
{"type":"test","name":"setup","id":87}
{"type":"end","test":87}
{"type":"test","name":"Now do an identity Exchange with the real live system!","id":88}
DB value for ThaliReplicationManager is: {"__opts":{"prefix":"/private/var/mobile/Containers/Data/Application/5096F0CB-A440-4021-Aailed":false,"queue":[]},"_adapter":"leveldb","_db_name":"thali","adapter":"leveldb","replicate":{}}
INFO identityExchange We will advertise the following device name as we start: 7HuwaGrZsrYlAZuEBBKlvg==;Sreejumon
2015-10-23 16:00:08.996 ThaliTest[2393:1477374] jxcore: startBroadcasting
2015-10-23 16:00:09.117 ThaliTest[2393:1477374] server: starting 7HuwaGrZsrYlAZuEBBKlvg==;Sreejumon.KpQGBQ==
2015-10-23 16:00:09.118 ThaliTest[2393:1477374] THEMultipeerSession initialized peer 7HuwaGrZsrYlAZuEBBKlvg==;Sreejumon
2015-10-23 16:00:09.118 ThaliTest[2393:1477374] jxcore: startBroadcasting: success
{"id":0,"ok":true,"name":"Did we successfully get a callback from start?","operator":"notOk","actual":null,"expected":false,"test":88,"type":"assert"}
"We found a peer - [{\"peerIdentifier\":\"SqI8iQsj8f/3RhKB9L8jxA==;Sreejumon.I72Z/w==\",\"peerName\":\"(null)\",\"peerAvailable\":true}]"
2015-10-23 16:00:10.167 ThaliTest[2393:1477374] jxcore: connect SqI8iQsj8f/3RhKB9L8jxA==;Sreejumon.I72Z/w==
2015-10-23 16:00:11.180 ThaliTest[2393:1477063] server: accepting invitation SqI8iQsj8f/3RhKB9L8jxA==;Sreejumon
2015-10-23 16:00:11.589 ThaliTest[2393:1477433] jxcore: connect: success
2015-10-23 16:00:11.614 ThaliTest[2393:1477063] client: relay established
2015-10-23 16:00:11.615 ThaliTest[2393:1477063] client: new accepted socket: 0x1ad52550
client bridge: new client socket
client bridge: new client socket
2015-10-23 16:00:12.728 ThaliTest[2393:1477063] server relay: connected (to port: 57381)
server bridge: new client socket
client bridge: socket closed
client bridge: socket closed
client bridge: new client socket
client bridge: new client socket
client bridge: socket closed
client bridge: socket closed
client bridge: new client socket
client bridge: new client socket
client bridge: socket closed
client bridge: socket closed
client bridge: new client socket
client bridge: new client socket
client bridge: socket closed

@DrJukka: Was it that this hangs on Android as well?

yep, that and the replication manager test.
Also the nativelayer tests are having a bug, thus I took all three out for initial testing, you should try the same


removed code typo in string_format function

there was an erroneous r before the beginning of the doc string of function string_format

I signed it!

Closing this PR as this not against master, please open a new PR against master
CC @mihaimaruseac


Make public a note/image/comment...

It would be nice if there is an easy way to make public an object that is already posted.
I'n not sure about how it should be done: "share" with everybody, or repost to public, or update the object with "public" as recipient.
Related issues:
#569 (share to specific list)
#658 Switch to post note publicly from pump-post-note
#249 Edit objects you posted

See also swicg/general#16


use the global setting to determine whether the minimap should be displayed for the script pane in table designer

fixed by https://github.com/microsoft/azuredatastudio/pull/18438


all events are cloud events and routed through the .NET runtime

What feature would you like to be added?
ensure that all events are passed as cloud events.
Why is this needed?
enables xlang agents

closed by #4395


Update how-to-launch-an-app-for-results.md

Added a cppwinrt code snippet option for steps 1-5

@microsoft-github-policy-service agree company="Microsoft"

@jamienhare
Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request. Thanks!
(Note: Remove the > from your comment, and it should work)

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Suggestion : add support for DOMAINS_TXT on the command-line

I have a situation where in my hook script I will need to execute a sub-script to push the certificates to my waf device, with different parameters depending on the domain. The way I found is to have several domains.txt file depending on what parameters are to be sent.
It would be nice to have the possibility to specify the domains.txt file to use on the command-line, instead of having a separate config file where DOMAINS_TXT is specified.

Thanks !


Active environment is not shown with bold font

Here test1 was the active environment.

We've basically given up on bolding items in Solution Explorer... believe this is fundamentally the same as #2430


Add codeowners for release notes

This change enables adding reviewers to PRs that contain changes to the release notes. This should allow us to get early feedback on release notes so we can avoid the bottleneck towards the end of the release.

This was an idea I was discussing with @pioterj the other day. Let me know if you think this adds too much friction to the PRs

I don't have a problem with this.  Is the expectation that Piotr would review release notes as they're added vs all at the end?

That is the idea, exactly. We'll still review the full notes to form the bigger picture but we'd like to try and have "each item" be reviewed and good to go by the time of RC1.

Yes. I've already done it once and it's so much better than leaving it to the end. Thanks, @bmuskalla!


Add support for nxfd_set and nxtimeval for select

What does this Pull Request accomplish?
Add support for nxfd_set and nxtimeval for select.

nxfd_set is represented as a repeated Session where the sessions map to nxSOCKET handles.
nxtimeval is represented by the well-known protobuf type Duration.

Add additional_arguments_to_copy_convert tag to allow nxfd_set conversion code to access the resource repository to resolve sessions.
Fixes AB#1863225.
Why should this Pull Request be merged?
Add support for Select to the xnet grpc API.
What testing has been done?
Ran and passed all Xnet tests.


Address Issue #266

Corrects ScalaDocChecker configuration documentation, as described in #266.
Also enforced use of "scaladoc", "javadoc", "anydoc" or "" as indentStyle parameter values. (Comparisons are case-insensitive.) The default style was changed to be "anydoc" instead of "", which looks less confusing in the documentation. However, "" was retained for compatibility.
Note: There doesn't appear to be a mechanism for reporting errors in Scalastyle configuration files, so I have lamely just thrown a RuntimeException. This does the job - albeit with a non-internationalized error message - but if you have a more elegant approach, please let me know.
UPDATE: This PR was originally created as #268. After rebasing, I ended up with additional commits (existing commits merged from master). I have squashed my four commits down into a single commit (11b7ea5), but it seems git got confused in the process, and included some existing commits to master in my PR. However, the only file changes in this PR come from my original commits. Incidentally, in future, I think this would go easier if you do the squashing, etc. as part of the PR merge. There are repository settings (on the Option tab) to allow squashing and rebasing when merging PRs.

Codecov Report

Merging #269 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #269   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          59     59
  Lines        1449   1451    +2
  Branches      140    140
=====================================
- Misses       1449   1451    +2

Impacted Files
Coverage Δ

...a/org/scalastyle/scalariform/ScalaDocChecker.scala
0% <0%> (ø)
: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 0cdc01b...c6e8cec. Read the comment docs.

Thank you for your contribution, but I'm sorry, I still can't accept this as it is. I would like that I have one, single, commit to merge.
You can do this using a rebase and squash. One alternative way to do this would be to start a new branch from master, do a git diff, and save this as a file somewhere. You can then apply the patch directly to your new branch using git apply.
The reason that I would like this to be done by you is that you know more about what you have changed than I do, so it is a lot easier for you to do the merge. Also, I am left with a single commit, which is easily reviewable. I've had contributions with 10 or more commits before, which are a nightmare to merge. Also, afterwards, it is hard to figure out what was done when.

I've already done a rebase and squash. I don't have time, right now, to redo the commit, but I'll try to get around to it soon...


feat: 2-commutative squares

This PR introduces the notion of 2-commutative squares of functors.

Oops, sorry, I just noticed that this doesn't have awaiting-review yet.


Detecting availability of a graphical PolKit authentication agent

I've seen some issues when running this module on GNU/Linux systems without a full featured desktop environment (e.g: Arch Linux + i3). In these kinds of systems, the user doesn't always have a graphical PolKit authentication agent, which causes pkexec to default to asking for the password using stdin, which won't be seen from the context of a desktop application.
I'd be great if we could make this module check if there is an available PolKit authentication agent, and default to other graphical sudo implementation, or throw a warning otherwise.
ps aux seems to output useful information about available authentication agents, but I bet there should be a more reliable way using PolKit tooling directly.
As an example, this is what I get on Ubuntu 16.04:
parallels@ubuntu:~$ ps aux | grep polkit
root       840  0.0  0.1 303876  6600 ?        Sl   07:35   0:10 /usr/lib/policykit-1/polkitd --no-debug
paralle+  3766  0.0  0.6<PHONE_NUMBER>0 ?        Sl   07:36   0:02 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
paralle+ 28096  0.0  0.0  15940   944 pts/10   S+   21:37   0:00 grep --color=auto polkit

After some investigation, there doesn't seem to be a way to reliably list the available authentication agents. This is stored in memory by the PolicyKit backend, and there is no public API to query it.
pkexec is supposed to exit with an error if we pass --disable-internal-agent (which we already do). I guess we can check if stderr contains No authentication agent found. and translate appropriately.

Thanks @jviotti

Thank you @jorangreef !


not a issue with the program it self, just can't find decrypter code.

i was trying to decrypt omori since I wanted to have the bgm/sound effects for my own use, however I couldn't find a decryption key... i don't really know anything about coding myself though, so maybe i just don't know where to look but all i've found so far was this:
Decrypter.readEncryptionkey = function(){
this._encryptionKey = $dataSystem.encryptionKey.split(/(.{2})/).filter(Boolean);
};
since the game is paid i don't really feel comfortable reuploading the files or anything so others can scour through them, but any help figureing out the key would be appreciated

nevermind, found another issue with the same problem i had, i found the encryption key

nevermind, found another issue with the same problem i had, i found the encryption key


Fix UI logging for client errors.

When we're moved from api/v1 to predApi/v1.0 we did forget change
error processing. Error message moved from "status" value to "message".

Coverage remained the same at 82.997% when pulling c3cc73c22385c6b86a4e30d052116d82961163d1 on kyrylo/fix-client-error-logging into b8d5bac1337acef18c12a0c25c7c387c2b7fd6bb on master.

Coverage remained the same at 82.997% when pulling 9a4a71d90a22560d7e70dccbeafd970ba952f2fd on kyrylo/fix-client-error-logging into b8d5bac1337acef18c12a0c25c7c387c2b7fd6bb on master.


Possible problem with [seq] when recording and saving a sequence

I'm not sure if this is a bug or just a lack of understanding on my part, but it seems that when recording and saving a MIDI sequence, the last note isn't written out to the file correctly. If I send a "print" message to [seq], all the data seems to be there (assuming a sequence of less than 16 events), but when I play back the MIDI file, the last note is cut off or doesn't play at all. Maybe a buffer isn't being flushed or something?
I found a work-around by adding an extra note-off to the sequence at the end, so it's not a big problem.

It also appears (although I'm not sure about this) that the first note in the sequence isn't getting written to the file either.

It also appears (although I'm not sure about this) that the first note in the sequence isn't getting written to the file either.

hi, please provide a minimal patch that shows the issue

hi, please provide a minimal patch that shows the issue

Here's a patch that records 3 notes. When I click on the "print" message, I see all 3 notes in the PD console window. But when I save it to a file, I only see 1 of them in the file when I open it in a text editor.

Here's a patch that records 3 notes. When I click on the "print" message, I see all 3 notes in the PD console window. But when I save it to a file, I only see 1 of them in the file when I open it in a text editor.

I meant I need you to send/upload a patch so I can test

I meant I need you to send/upload a patch so I can test

Sorry, misunderstood. Github wouldn't let me upload a file with the extension 'pd', so I uploaded it as a text file.
test-seq.txt

Sorry, misunderstood. Github wouldn't let me upload a file with the extension 'pd', so I uploaded it as a text file.
test-seq.txt

I don't know if you want me to open another issue for this, but the help file shows an example of sending [play( to [seq], but when I tried it, I got an error message, "seq: no method for 'play'". Sending it a bang still works, though.

I don't know if you want me to open another issue for this, but the help file shows an example of sending [play( to [seq], but when I tried it, I got an error message, "seq: no method for 'play'". Sending it a bang still works, though.

Ignore the example I posted above, I see the three notes now. I thought 2 of them were missing because the "note on" byte (x'89') was omitted for the 2nd and 3rd notes. But I still think there's a problem in formatting the MIDI file. I'll try to come up with a better example.

Ignore the example I posted above, I see the three notes now. I thought 2 of them were missing because the "note on" byte (x'89') was omitted for the 2nd and 3rd notes. But I still think there's a problem in formatting the MIDI file. I'll try to come up with a better example.

But I still think there's a problem in formatting the MIDI file. I'll try to come up with a better example.

i'll close this then... you can recreate the issue, and when you upload the patch you can send a .zip file instead

But I still think there's a problem in formatting the MIDI file. I'll try to come up with a better example.

i'll close this then... you can recreate the issue, and when you upload the patch you can send a .zip file instead


memory leak when run with --v4l2_sink=

[X] I have read the FAQ.
[X] I have searched in existing issues.

Environment

OS: Debian Buster
scrcpy version: dev branch, commit 41a0383
installation method: manual build
device model: HTC Desire 728G Dual Sim
Android version: 5.1

Describe the bug
I built and ran scrcpy as such:
ADB=/home/g/Android/Sdk/platform-tools/adb ./run x --v4l2_sink=/dev/video0

It worked as expected but the memory usage began to increase rapidly, consuming all of 16GB of available memory eventually.
It increases way faster when a camera app is open on the phone (tried both stock app and OpenCamera, the same).
When I do the same without v4l2-loopback integration,
 ADB=/home/g/Android/Sdk/platform-tools/adb ./run x

the memory increase does not happen, scrcpy consumes suprisingly low memory actually.

This is the kind of bug report which is very useful to detect problems introduced on the dev branch, thank you very much! :+1:
The memory leak is fixed by 1cde68a1fa01a9b37eeede3310edf163d4e79970.
An additional (small) memory leak on error is fixed by 84f17fdeab518cbe9f9c1a5fdf7dc50981c01806.

--v4l2_sink

Oops, it seems I failed something in my rebase. Renamed to --v4l2-sink by 45e72801484deae6c931a4a79595b606227e547a.

You're very welcome and thank you sooo much!! I had a zoom meeting for tomorrow, this is literally godsend :smile_cat:
Tested standalone and with an OBS v4l2 connection and both memory usage and CPU usage are stable (maybe somewhat noticably higher than without v4l2 tho, at 18.8% CPU at 3.6/9GHz and 7.2%mem w/ 16GB mem, I can test and report back on Thursday if that's unexpected).


Properties and Royalties for KSM

:arrow_up: @kodadot1/minimark
:bug: version is reactive
:bug: royalty is not passed to minting
:truck: changed imports in CustomAttributeInput
:bug: bottom and selectable are optional
:zap: ability to create attributes and royalties
:zap: royalty and attribute magic

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[x] Feature
[x] Refactoring

Context

[ ] Closes #<issue_number>
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[ ] My contribution builds clean without any errors or warnings
[ ] I've merged recent default branch -- main and I've no conflicts
[ ] I've tried to respect high code quality standards
[ ] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

From Singular:

copilot:all

copilot:all

copilot:summary

copilot:summary


[DanmuService: danmulike ] java.lang.IllegalArgumentException: bound must be positive

Related module
Code in sustc-api
What happened
When I run benchmark step 12, this error happen. And its error location come from testbench.
What you expected to happen
No response
How to reproduce
No response
Anything else
No response

that could be caused by your error responses in step 10, and throwing the exception won't affect our evaluation of your program's correctness. moreover, as we intentionally overlook the performance of step 12, this won't have any other affection

that could be caused by your error responses in step 10, and throwing the exception won't affect our evaluation of your program's correctness. moreover, as we intentionally overlook the performance of step 12, this won't have any other effect

So I could ignore the passCnt of step 12 ?

you should try correcting your sendDanmu (step 10) before further working on step 12


rouge: add possibility to specify size of image

For some cases we need to have image of certain size despite sizes of internal partitions.
This PR adds image_size field to image descriptor. If it is not specified or zero, then image is created taking into account internal partitions.
If actual size of partitions is bigger than image_size - error is raised, that we can't create image of specified size.

Generation of image was tested with this PR for a few cases:

image_size is specified and is bigger than the actual image size - image has a specified size;
image_size is specified and is smaller than the actual size - an exception is shown to the user, and no image is created;
image_size is not specified - image has actual size.

YAML with image_size looks like this:
  full:
    type: gpt
    image_size: 512 MiB
    desc: "Full SD-card/eMMC image"
    partitions:

Rebased to latest main.

Comments are addressed:

Optional[int] is used and tested with and without image_size;
documentation is updated.

Update.

Reference to 'Size Designation' section is added
VS Code editor showed me a notification that 'The character U+00a0 is invisible.' So I replaced that invisible char with regular whitespace.

RB is added.
Successfully tested with

image_size not specified
image_size < actual size
image_size => actual size

Ready to be merged.


Need to reset admin user

I have a Kong / Konga installation working well, but a recent laptop meltdown caused the admin credentials to be lost.  I have full access to the postgres DBs comprising the system-- what would happen if I just deleted the konga_users administrator record?  Would that cause Konga to prompt me to create a new administrator, while preserving all other settings (ideal)?

FWIW I deleted the administrator account from kona_users and was prompted to create a new administrator, whereupon I was able to login, activate the kong connection and have everything restored.

Hello aschofie,
I meet to the same problem, I forget my admin account and password.
However, I can log into konga DB. Also, I delete admin account record from konga_users table just    like you did ,  but after restart konga service，the record show again automatically.
Is there any other method to reset admin account ?

same issue here!!!!!

Hello,
have you tried to delete the "password" entry in konga_passports too?
You should delete the user and the secret record (the first from konga_users, the latter from konga_passports).
Regards

Hello,
I try clearing only the konga_users table but it didn't work
What worked for me was:

delete konga db with root account
launch konga in dev mode(-e "NODE_ENV=development") to recreate the needed tables like suggested in #40

thanks for the feedback @d4rkstar

Hello @dgonzalezc,
I tested what worked for me before writing my post.
I noticed that is not sufficient to delete the user from konga_users, because that entry is referenced from the other table konga_passports.
however, will try again later to confirm

Deleting the user from the table konga_users worked for me, but I did this with konga instance still running, and then I refreshed the site and it asked to create a new admin user.


Highlight specific lines in code block

It is important when you want to make emphasis on specific lines in code block.
The problem is that everything in code block is interpreted as code, and as far as I know there's no way to add special markup for that highlighting:
  script:
  - apt-get update && apt-get install lftp
<b>  - lftp -c "open -u $FTP_LOGIN,$FTP_PASSWORD $SERVER; $FTP_COMMANDS"<b>

Do you maybe have an idea how to approach this problem?

Ok, nevermind. Figured out how to do that with JS.
Here's starting point: https://jsfiddle.net/xhqr5eky/


Missing dependencies after installing

Not sure what the state of this project is, since the last commit was almost 2 years ago. However, I wanted to give it a try and found after just installing, the package is not yet usable and you get an error when trying to import it. This is because two dependencies are missing from the list of dependencies listed for the project, namely: babel-runtime and prop-types.  Only after manually installing these, as shown below, I was able to start using this library.
npm install babel-runtime prop-types

As an aside, the documentation of the options is a bit unclear and only after inspecting the source code was I able to figure out what they do and what values they expect. In particular, it took me a bit to figure out that the iterations option needs to be increased in order for more test values to be tried (but that could be ignorance on my part). More problematic for me was the argumentTypes option, for which the values expected in the array are not provided, nor is it clear to me how an array with multiple values is handled.

Hi @ericcornelissen,
Sorry for the extremely late reply, and thank you for bringing this to my attention. I have recently fixed this in the latest version, and plan to incorporate more of this as feedback for future versions. Thanks!

Cool, can confirm it works now :+1: If you want feedback when you're working on the documentation, feel free to at-mention me :slightly_smiling_face:
And no worries about the late reply, as I said the project didn't look very active when I posted it.

Will do!
If you don't mind me asking, I'm curious what led you to find this project? Was there a particular use case you were trying to solve? Did you end up using this or finding an alternative?

If you don't mind me asking, I'm curious what led you to find this project? Was there a particular use case you were trying to solve? Did you end up using this or finding an alternative?

Not at all. Essentially, I was looking for something like go-fuzz but for JavaScript, which I eventually found in jsfuzz. That is I was looking for something that generates random inputs with the goal of breaking the software, which this isn't quite. Anyway, along the way I looked at most NPM packages with the word "fuzz" in them, including this one. To be clear, I still think this package has merit due to the untyped nature of JavaScript.

Got it, I originally created this in 2017 for much of the same reasons. Thanks Eric!


Documentation for nexrender-server

Hello Vladyslav,
Most of nexrender modules has Readme files with explanation how this service works, but not the nexrender-server module (https://github.com/inlife/nexrender/tree/master/packages/nexrender-server).
Could you please publish any documentation for nexrender-server API: endpoints list and ways how to communicate with this endpoints; examples.
It would be really appreciated.

Sure, I'll work on that!

Please, check it out: https://github.com/inlife/nexrender/tree/master/packages/nexrender-server
Feel free to suggest any changes, fixes, or improvements. :)

Thank you!


Conditional compilation and optional dependencies

Hi,
Great project, thank you for it!
I would like to compile my project using rustls-tls and not being dependant of libssl.
Could you extend the features flag of reqwest ?
Regards,

Hey there,
Thank you for your suggestion. Please take a look at the referenced commit. Does this cover your use case? Note that I chose not to mirror all features related to TLS yet (like `reqwest/native-tls-alpn). And if it works for you I would leave it at that (for now).

Hi,
Thank you for you reactivity. I'm not very familiar with rust conditional compilation. Does it still include reqwest json whatever features for tls is selected ? The referenced commit looks good to me.
I will be waiting for 0.6.4 release.
Thank a lot

Yes, the json feature will still be enabled.
Closing the issue as 0.6.4 is released.

Hi,
I have tried it and it's still quiet annoying, default features of reqwest are still up. It means that any program still depends on libssl. I don't know if it's possible for you to provide a flag to deactivate reqwest default features.
Sorry for the late discovery.
Regards,
ps: You do have a typo here; https://github.com/puetzp/prometheus-http-query/blob/master/Cargo.toml#L25

I see, I think I rushed it a little bit. I need to take a deeper look at it first.
I also yanked the latest release from crates.io. Will re-release when I made sure that everything is in order.

Take a look at the new release. If you disable the default features for prometheus-http-query and enable the rustls-tls feature, reqwest will be compiled with feature set [json, rustls-tls] and thus produce a binary that does not link to libssl:
prometheus-http-query = { version = "0.6", default-features = false, features = ["rustls-tls"] }

Hi,
It is perfect.
Thank a lot.


AttributeError: NewBase is_abstract, ImportError: libcudart.so.7.5

Hi,
I have tried to install tensorflow as in https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html
I have cuda 7.0 installed under /usr/local/cuda
After I install gpu version using pip it gives the error-  ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory.
But I have  libcudart.so.7.0 file. Why this is referring 7.5 by default ?
(issues for version 0.7 and 0.8)
Then I tried to install cpu only version and giving me the error
AttributeError: type object 'NewBase' has no attribute 'is_abstract' (only to version 0.8)
How can I solve those issues ?
Thanks

FYI, saw similar issue when installing 0.8rc0 in the Travis: https://travis-ci.org/tensorflow/skflow/jobs/123599570

cuda issue: our pip installs require libcuda 7.5  I've updated the documentation and the website to clear this up.  If you want to use a lower libcuda version, you need to install from sources.

the NewBase one looks related to benchmark.py, assigning to @ebrevdo

I have the exactly same problem. Could you tell me what you did to solve it?

I had the same problem and solved by upgrading a library named 'Six'

Hi guys,
I have the same problem after the tensorflow installation via pip and updating the Six library didn't help:

import tensorflow as tf I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally Traceback (most recent call last): File "", line 1, in  File "/usr/local/lib/python2.7/dist-packages/tensorflow/init.py", line 23, in  from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/init.py", line 94, in  from tensorflow.python.platform import test File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/test.py", line 62, in  from tensorflow.python.framework import test_util File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/test_util.py", line 41, in  from tensorflow.python.platform import googletest File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/googletest.py", line 32, in  from tensorflow.python.platform import benchmark # pylint: disable=unused-import File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/benchmark.py", line 112, in  class Benchmark(six.with_metaclass(_BenchmarkRegistrar, object)): File "/usr/lib/python2.7/dist-packages/six.py", line 617, in with_metaclass return meta("NewBase", bases, {}) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/benchmark.py", line 107, in new if not newclass.is_abstract(): AttributeError: type object 'NewBase' has no attribute 'is_abstract'

I'm using Nvidia GTX Titan X (comp. capability 5.2) and CUDA 7.5. Does anybody have an idea?
Many thanks in advance for your help!
Cheers,
A

Looking specifically at the NewBase issue: please tell me the exact version of python and six that you are using.

specifically, run:
import six
print(six.version)

python 2.7.6
six 1.5.2

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/pip_package/setup.py#L41
We require > 1.10  for six.  I'm wondering why setup.py didn't require upgrading your 'six' :(  Can you try updating?

I can import six, but when I want to print six.version, it says " 'module' object has no attribute 'version' "

Here is the thing: I have installed "six-v1.10.0" by pip upgrading, but when I open the python and print the version of six, it still says "1.5.2".

I have figured out how to upgrade the package "six" properly.
The default location of "pip install" in my computer is "/usr/local/lib/python2.7/dist-packages". So when I upgrade "six", it is the file in "/usr/local/lib/python2.7/dist-packages" that is upgraded.
However, when we import some package in Python, another location "/usr/lib/python2.7/dist-packages" is searched first, while the file "six.py" in this location has never been upgraded.
So what we need to do is to modify the default location of "pip install" from "/usr/local/lib/python2.7/dist-packages" to "/usr/lib/python2.7/dist-packages"; then we can upgrade the right "six.py".
To modify the default location, we can make a new file "/etc/pip.conf", and type the following into this file:
"
[global]
target=/usr/lib/python2.7/dist-packages
".
Now you can upgrade the package "six" properly.
To avoid some unknown error, you may want to change the default location back to "/usr/local/lib/python2.7/dist-packages" after upgrading "six".

I only installed the CPU-version tensorflow. Now everything works well for me. Hope this could be helpful for you.

xuxy09's solution also works for GPU version

Thanks a lot for the help! Updating Six library to 1.10 helped!

Yes Thank you. I have uninstalled apt-get numpy and reinstalled pip numpy v11 and upgraded the six 1.10 package and working fine on CPU.

CUDA 7.5 and cuDNN 5.0. the above mentioned error no longer appears after doing what xuxy09 suggested. I would only like to make it a little easier for you with the next line:
sudo pip install six --upgrade --target="/usr/lib/python2.7/dist-packages"

It's strange that it works well in my PC--which the path is /usr/local/lib/python2.7/dist-packages--but occurs errors in my workshop computer with the same path. After I set the target path as /usr/lib/python2.7/dist-packages, this problem is gone. Now my tensorflow works well, thank you very much! @yselivonchyk

The most popular method of get the version one package is as follows.
$ python
>>>import six
>>>print six.\__version\__
...
>>>import protobuf
>>>print protubuf.\__version\__
Recently, I have learnt a simple method to get the version of the packages, such as numpy, six and protobuf, like this:
pip show numpy six protobuf
With this method, both the verison and orther detailed information of the package will be presented, so I want to share with you.

Aha
I have another solution:
$ cd /usr/lib/python2.7/dist-packages
$ sudo rm six*

That won't work in the long run if your package manager / os manages six in
that directory.
On May 10, 2016 2:32 AM, "Zhang Wang"<EMAIL_ADDRESS>wrote:

Aha
I have another solution:
$ cd /usr/lib/python2.7/dist-packages
$ sudo rm six*
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1965#issuecomment-218106367

I agree. It's quite dangerous to delete some package directly.
<EMAIL_ADDRESS>From: ebrevdo
Date: 2016-05-10 14:30
To: tensorflow/tensorflow
CC: XiangyuXu; Comment
Subject: Re: [tensorflow/tensorflow] AttributeError: NewBase is_abstract, ImportError: libcudart.so.7.5 (#1965)
That won't work in the long run if your package manager / os manages six in
that directory.
On May 10, 2016 2:32 AM, "Zhang Wang"<EMAIL_ADDRESS>wrote:

Aha
I have another solution:
$ cd /usr/lib/python2.7/dist-packages
$ sudo rm six*
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1965#issuecomment-218106367

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

$home/.pip/pip.conf is better and also worked.

I had a similar error:
AttributeError: type object 'NewBase' has no attribute 'is_abstract'
This fixed my issue:
sudo pip install six --upgrade --target="/usr/lib/python2.7/dist-packages"
Shouldn't TF test for a particular six version, or at least help the user on his way.

Seems like the issue is fixed by updating six correctly. Closing.

If you get error Not uninstalling six at /path/to/six, owned by OS, run sudo easy_install six

for the record as pr this thread a really simple solution was just to install python with brew, which aligns all the paths for you.

mac os : 10.11
before run the command in the following line , we must uninstall the six by running sudo pip uninstall six
I met this erro and fix it by run sudo easy_install six

My problem is exactly the same as @xuxy09, and I used the solution provided by @yselivonchyk. It solved my issue. Thanks a lot.

I can confirm either methods ( @xuxy09 / @yselivonchyk ) solve this particular issue on Ubunutu Trusty.

I needed to add a -U to the command to get it to work: sudo easy_install3 -U six

For me, I had the CPU version running on ubuntu 64bit. I had the same error "AttributeError: type object 'NewBase' has no attribute 'is_abstract' "
I fixed it simply by running easy_install3 -U six while inside the activated virtualenv. Hope that helps


Cygwin build error: ‘fileno’ was not declared in this scope

Win 7 (64 bit) + Cygwin (64 bit). See error below.
Administrator@Dell ~/foo/leveldb
$ git log -n 1
commit 77948e7eec0613fb5cbecb7e320b9498607030b5
Author: Sanjay Ghemawat<EMAIL_ADDRESS>Date:   Thu Dec 11 08:08:57 2014 -0800

    Add benchmark that measures cost of repeatedly opening the database.

Administrator@Dell ~/foo/leveldb
$ make
g++ -lpthread -shared -Wl,-soname -Wl,libleveldb.so.1 -I. -I./include -std=c++0x -fno-builtin-memcmp -lpthread -DOS_LINUX -DCYGWIN -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT -O2 -DNDEBUG -fPIC db/builder.cc db/c.cc db/db_impl.cc db/db_iter.cc db/dbformat.cc db/dumpfile.cc db/filename.cc db/log_reader.cc db/log_writer.cc db/memtable.cc db/repair.cc db/table_cache.cc db/version_edit.cc db/version_set.cc db/write_batch.cc table/block.cc table/block_builder.cc table/filter_block.cc table/format.cc table/iterator.cc table/merger.cc table/table.cc table/table_builder.cc table/two_level_iterator.cc util/arena.cc util/bloom.cc util/cache.cc util/coding.cc util/comparator.cc util/crc32c.cc util/env.cc util/env_posix.cc util/filter_policy.cc util/hash.cc util/histogram.cc util/logging.cc util/options.cc util/status.cc  port/port_posix.cc -o libleveldb.so.1.18
db/builder.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/c.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/db_impl.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/db_iter.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/dbformat.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/dumpfile.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2012 The LevelDB Authors. All rights reserved.
 ^
db/filename.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/log_reader.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/log_writer.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/memtable.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/repair.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/table_cache.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/version_edit.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/version_set.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
db/write_batch.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/block.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/block_builder.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/filter_block.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2012 The LevelDB Authors. All rights reserved.
 ^
table/format.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/iterator.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/merger.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/table.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/table_builder.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
table/two_level_iterator.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/arena.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/bloom.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2012 The LevelDB Authors. All rights reserved.
 ^
util/cache.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/coding.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/comparator.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/crc32c.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/env.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/env_posix.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/env_posix.cc: In member function ‘virtual leveldb::Status leveldb::{anonymous}::PosixWritableFile::Sync()’:
util/env_posix.cc:249:31: error: ‘fileno’ was not declared in this scope
         fdatasync(fileno(file_)) != 0) {
                               ^
util/filter_policy.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2012 The LevelDB Authors. All rights reserved.
 ^
util/hash.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/histogram.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/logging.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/options.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
util/status.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
port/port_posix.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 ^
Makefile:97: recipe for target 'libleveldb.so.1.18' failed
make: *** [libleveldb.so.1.18] Error 1

I succeeded in building after I changed the following line:
$ git diff
diff --git a/build_detect_platform b/build_detect_platform
index bb76c4f..56fc9c5 100755
--- a/build_detect_platform
+++ b/build_detect_platform
@@ -185,7 +185,7 @@ else
 EOF
     if [ "$?" = 0 ]; then
         COMMON_FLAGS="$COMMON_FLAGS -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT"
-        PLATFORM_CXXFLAGS="-std=c++0x"
+        PLATFORM_CXXFLAGS="-std=gnu++0x"
     else
         COMMON_FLAGS="$COMMON_FLAGS -DLEVELDB_PLATFORM_POSIX"
     fi

FYI, I have submitted pull request#323 to fix this issue.

N/A now that leveldb uses CMake.


[CPF-3061] Add Java support for foam.core.Exception

This PR adds support for generating Java exceptions with corresponding FOAM models.
Examples
Creating an exception
foam.EXCEPTION({
  package: 'foam.nanos.auth',
  name: 'AuthorizationException',
  javaExceptionExtends: 'SecurityException',
  javaSuperArgs: [ 'message' ],

  properties: [
    { class: 'String', name: 'message',
      value: 'Permission denied.'
    },
    { class: 'String', name: 'extra' }
  ]
});

Throwing a native exception (edited)
AuthorizationException ex = new AuthorizationException.Builder(x)
  .setExtra("Hello, World!")
  .build();
throw (AuthorizationNativeException) ex.newNative(null); // Uses default message

Catching a native exception (edited)
try {
  // ...
} catch (AuthorizationNativeException exJava) {
  System.out.println(exJava.getMessage()); // "Permission denied."

  AuthorizationException ex = (AuthorizationException) exJava.getFoamException();
  System.out.println(ex.getExtra()); // "Hello, World!"
}

There's a slight problem right now where the message passed to throwNative is ignored. Attempting to fix it.

In order to properly support an exception hierarchy I need to make some changes to the interfaces.
In particular, the getNativeException method's type is specific to the class, but this makes it impossible to extend, so really it should just be a foam.core.NativeException; also the getFoamException method of native exceptions should likewise be foam.core.Exception.

Can we not generate Builders for Exceptions and just use full-constructors instead?
Will review.

The way I have it working right now is that two classes are generated:

MyNameException - extends FObject, implements foam.core.MessageException
MyNameNativeException - extends java.lang.Exception, can be thrown

MyNameException gets a builder because it's no different from other models. MyNameNativeException doesn't have a builder, and it's constructor takes (foam.core.MessageException foamException, String message) as its arguments.

It may be worth mentioning here that last(x2) weekend I also made a script to migrate every throw new AuthorizationException for a modelled equivalent of the existing AuthorizationException. This script could be used for other exceptions too, but I wouldn't be surprised if AuthorizationException and AuthenticationException are the biggest ones.

@kgrgreer The first part of the redesign (modelling an exception with properties with the model's name) is complete - next I need to add a function to generate an FObject (and a corresponding private class)
To do this I want to move most of the code in FObject.buildJavaClass to a new method of foam.java.Class, similar to fromFObjectClass in foam.java.Exception. Would this be okay?

@kgrgreer We've updated this pr to now generate a native exception class alongside a foam exception class, with the names someNativeException and someException respectively.
Both classes have the same properties, the only differences are that someException will have a newNative() public method that returns an instance of someNativeException. someException extends an abstractException while someNativeException extends abstractNativeException which extends java.lang.Exception to allow it to be thrown.  So for example, if you had a UserFeebackException instance you could throw it via throw userFeedbackException.newNative().
If you would like to see an example of this, I've been using foam.comics.v2.userfeedback.UserFeedbackException for testing.  I would like a confirmation on this design before I further refine it and test it.


Missing file 'level.tscn' or one of its dependencies

I Created a new private repository using from te-template, and then i cloned the  thunder-engine repository ( i tried both downloading as a zip and cloning using git bash) and i put everything from thunder-engine in "(project directory)/engine".
when i click on the 'level.tscn' i get the error popup : Missing file 'level.tscn' or one of its dependencies
- Here's the debugger output:
. Attempt to open script 'res://engine/objects/core/player/scripts/player_camera_2d.gd' resulted in error 'File not found'.
. Failed loading resource: res://engine/objects/core/player/scripts/player_camera_2d.gd. Make sure resources have been imported by opening the project in the editor at least once.
.  scene/resources/resource_format_text.cpp:283 - res://engine/scenes/level.tscn:22 - Parse Error:
.  Failed loading resource: res://engine/scenes/level.tscn. Make sure resources have been imported by opening the project in the editor at least once.

Hello and thanks for trying out this project.
You can fix this issue by manually searching for this file and replacing the script dependency, this issue will be fixed later.
Also I want to warn you that this project is unfinished and it's not ready for production use yet.

yeah i managed to fix it by editing the scene dependency player_camera_2d.gd to res:\engine\objects\players
anyway, Hoping your project goes well :)

feel free to check out our discord and talk with us directly anyway


Change requests

database change requests from @darh:
factory/DB.Transaction

remove log.Print* from db.Transaction or route it through configurable logger

factory/DatabaseProfilerContext

pass context.Context from query/exec to DatabaseProfilerContext (might contain useful info, like request-id, that we can use in the logger)
pass non-serialized (raw) args to DatabaseProfilerContext, should be profiler's decision how/if to format it
store the actual duration of the query, not only the start time
db profiler context could be un-exported since it is pointless to use it outside

factory/DatabaseProfiler

DatabaseProfiler interface is a bit much, Flush() should extracted to DatabaseProfilerFlusher to ease-up on implementation requirements

Changes have been merged into master:

DatabaseProfiler was obsolete and removed, also removed DB.Profiler,
It is replaced with the logger subpackage, giving a simple interface for structured logging
logger also gets context if extra values can be derived from it (e.g. request-id)
added SetLogger() on factory.DB, by default set to Quiet

This is a breaking change, Closing after checking on the few projects that use it.


Radios Broken

this happened as of commit 548cee77e22fd52823df8929d4beab3ff660641c
radios brokey no worky, this error was reporpted by carbonhell on lizard after this publish
nukie radios seem to work same publish,

Other useful error, this is actually the first error that showed up for me at roundstart on my initial attempt to use the radio:

i tried to repro this on latest master but to no avail

 i tried to repro this on latest master but to no avail

I tried running a local server multiple times on latest master but it cannot be reproduced, it's happening only on live. Also I just noticed that, very rarely, some messages manage to pass. Sometimes they don't, and when this happens the 2 errors posted above can either happen or not. The TransformComponent error seems to be the most common one, and the entity id seems to be the same between rounds. An admin tried to VV this entity id but it seems to not exist (which would explain why it has no TransformComponent, since well, it doesn't exist)

here is one i got, not sure if this is related

Probably fixed in https://github.com/space-wizards/space-station-14/pull/11792

Per the Discord discussion, it doesn't look like the issue was fixed. Reproduced as far back as a210373972a with corresponding submodule.

Per the Discord discussion, it doesn't look like the issue was fixed. Reproduced as far back as a210373 with corresponding submodule.

Which engine version?

Which engine version?

According to Git, that revision uses <IP_ADDRESS>.

that was after the relevant reverted pr

this should be fixed


Set _active flag to false if session already closed

Summary
If the session created with from_id is already closed, jobs should be rejected immediately.
Details and comments
Fixes #1597

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 82.076%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/session.py
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.006%

Covered Lines:
6113

Relevant Lines:
7448

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 82.178%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/session.py
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
6119

Relevant Lines:
7446

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 82.178%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/session.py
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
6119

Relevant Lines:
7446

💛  - Coveralls


MAPREDUCE-7369. Fixed MapReduce tasks timing out when spends more time on MultipleOutputs#close

Description of PR
Fixed MapReduce tasks timing out when spends more time on MultipleOutputs#close

JIRA: MAPREDUCE-7369

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  1s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
15m  6s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
24m 59s

trunk passed

+1 :green_heart:
compile
2m 50s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
2m 32s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 26s

trunk passed

+1 :green_heart:
mvnsite
2m  1s

trunk passed

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 27s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  8s

trunk passed

+1 :green_heart:
shadedclient
20m 35s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 34s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 20s

the patch passed

+1 :green_heart:
compile
2m 34s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
2m 34s

the patch passed

+1 :green_heart:
compile
2m 16s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
2m 16s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  5s
/results-checkstyle-hadoop-mapreduce-project_hadoop-mapreduce-client.txt
hadoop-mapreduce-project/hadoop-mapreduce-client: The patch generated 2 new + 478 unchanged - 0 fixed = 480 total (was 478)

+1 :green_heart:
mvnsite
1m 26s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m  1s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 59s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 47s

the patch passed

+1 :green_heart:
shadedclient
20m 16s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
6m 39s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
unit
8m 51s

hadoop-mapreduce-client-app in the patch passed.

+1 :green_heart:
asflicense
0m 52s

The patch does not generate ASF License warnings.

129m 16s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4247

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml

uname
Linux b5d123e9a357 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / aa1e7fa48eb705be7746f86f02031a9548ec7130

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/1/testReport/

Max. process+thread count
1247 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m 35s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
15m 57s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m 12s

trunk passed

+1 :green_heart:
compile
2m 53s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
2m 31s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 23s

trunk passed

+1 :green_heart:
mvnsite
1m 56s

trunk passed

+1 :green_heart:
javadoc
1m 42s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  7s

trunk passed

+1 :green_heart:
shadedclient
20m 43s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 34s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 18s

the patch passed

+1 :green_heart:
compile
2m 36s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
2m 36s

the patch passed

+1 :green_heart:
compile
2m 15s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
2m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  5s

the patch passed

+1 :green_heart:
mvnsite
1m 26s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m  1s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m  0s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 47s

the patch passed

+1 :green_heart:
shadedclient
20m 24s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
6m 42s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
unit
8m 50s

hadoop-mapreduce-client-app in the patch passed.

+1 :green_heart:
asflicense
0m 50s

The patch does not generate ASF License warnings.

147m  3s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4247

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml

uname
Linux 9412cf26d281 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9c969c3c2c255de23715d41cae2ddddda041b33f

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/3/testReport/

Max. process+thread count
1382 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

It would be nice if we can add a test case reproducing the issue covered by this fix.

It would be nice if we can add a test case reproducing the issue covered by this fix.

Reproducing this issue seems a little tricky, But I have added a test case for this feature. Thanks.

Thanks @iwasakims for your review and approval. I have update it to mapreduce.task.ping-for-liveliness-check.enabled. You can merge the PR.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 57s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+0 :ok:
xmllint
0m  1s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
14m 41s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m 10s

trunk passed

+1 :green_heart:
compile
2m 52s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
2m 30s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 28s

trunk passed

+1 :green_heart:
mvnsite
1m 59s

trunk passed

+1 :green_heart:
javadoc
1m 44s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 13s

trunk passed

+1 :green_heart:
shadedclient
20m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 33s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 19s

the patch passed

+1 :green_heart:
compile
2m 36s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
2m 36s

the patch passed

+1 :green_heart:
compile
2m 13s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
2m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  5s

the patch passed

+1 :green_heart:
mvnsite
1m 26s

the patch passed

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m  1s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 45s

the patch passed

+1 :green_heart:
shadedclient
20m 10s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
6m 39s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
unit
8m 45s

hadoop-mapreduce-client-app in the patch passed.

+1 :green_heart:
asflicense
0m 53s

The patch does not generate ASF License warnings.

128m 39s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4247

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint

uname
Linux 6fb35668487d 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 39b2acef7fdb24db1c084f3086dfc71563803e11

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/5/testReport/

Max. process+thread count
1368 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/5/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+0 :ok:
xmllint
0m  1s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
14m 47s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m  1s

trunk passed

+1 :green_heart:
compile
2m 49s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
2m 29s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 27s

trunk passed

+1 :green_heart:
mvnsite
2m  3s

trunk passed

+1 :green_heart:
javadoc
1m 43s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  9s

trunk passed

+1 :green_heart:
shadedclient
20m 35s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 30s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 18s

the patch passed

+1 :green_heart:
compile
2m 32s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
2m 32s

the patch passed

+1 :green_heart:
compile
2m 12s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
2m 12s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  5s

the patch passed

+1 :green_heart:
mvnsite
1m 26s

the patch passed

+1 :green_heart:
javadoc
1m  3s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m  1s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 48s

the patch passed

+1 :green_heart:
shadedclient
20m 14s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
6m 21s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
unit
8m 40s

hadoop-mapreduce-client-app in the patch passed.

+1 :green_heart:
asflicense
0m 51s

The patch does not generate ASF License warnings.

128m  2s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4247

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint

uname
Linux 41ffaa245100 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 592596b4dd3a610dc1a851fd59843ca4775876b2

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/6/testReport/

Max. process+thread count
1215 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4247/6/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

merged this to trunk and branch-3.3.


Regex with splats

How do I use regex with splats?
This works for the first word in the splat:
'add specifiers': {'regexp': /^(?:add|at|and) (\w)$/, 'callback': addFunction}
...but I'm unable to find how to capture the entire splat. The fault here is entirely mine, i.e. I'm new to regexp. But after hours of reading/hacking, the correct expression eludes me.
Thanks,
Wayne

Can you explain a bit more what you are trying to accomplish with the regular expression? Maybe someone here will be able to help with it.


Add Buffer to Disk Support

Problem Statement
As a consumer of the Python SDK for desktop applications, I would like to be able to buffer events to disk in the case of connectivity issues, hard reboot, etc and have these events be resent when the application restarts.
Note that we use a custom transport for Sentry, and we are currently running SDK version 1.23.
Solution Brainstorm
This is mentioned as an expected feature in the SDK docs, and given our use of the SDK on desktop platforms, we are going to need it to fully rollout Sentry to production.

cc @yuval-sentry @irodrigues-git

thx for the issue @chodges15, there is a sample for a custom transport over at
https://github.com/getsentry/sentry-python/discussions/1484#discussioncomment-3077315
As an expected feature from the docs you linked, it is mainly meant for mobile platforms (android/ios) where internet connectivity is indeed sporadic. The Python SDK is mainly designed and optimized for backend server usage.
To be honest, this is not asked for that much so we will likely not be prioritizing implementing and maintaining this on our side. This is why we let the transport class be customizable to allow users to make it work for all their unique setups.
I will still keep this open as a backlog item but we can't promise an ETA and to track interest.

Thanks for the extra context here. We are looking at adding this into our existing custom transport. I think we're a pretty rare case of Python running on desktop, and we've got an aggressive timeline to address this so I'll mark as closed.


Remove automated branch generation for changelogs

The last version introduce a feature where changelog used to generate the changelog branch by observing the branch which the artifact is developed from.
This resulted in a bug, which prevents scenario where a single artifact repository is being used along with a scaled trunk model where the packages are
not recreated, resulting in incorrect changelog
To fix these scenarios, we are bringing back the branch flag back and let the users push the changelog to any preferred branch, however one that track
the trunk
The change implies  there needs to be a changelog that tracks a branch where the package is originated
Examples:
main --> "changelog-main" (during normal development)
release/1.0 -> "changelog-release_1.0" (when cut a release branch)

Codecov Report

Merging #529 (593e17c) into develop (e501624) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #529   +/-   ##
========================================
  Coverage    80.01%   80.01%
========================================
  Files           38       38
  Lines         1291     1291
  Branches       226      226
========================================
  Hits          1033     1033
  Misses         258      258

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 b968db9...593e17c. Read the comment docs.


ErrorBoundary crashes when an error is thrown from a route's action

What version of Remix are you using?
1.7.2
Steps to Reproduce
Export an error boundary from your root.tsx like:
export const ErrorBoundary = function ({ error }) {
  return (

        <title>Oh no!</title>
        <Meta />
        <Links />

        {error.message}


[SPARK-33037][SHUFFLE] Remove knownManagers to support user's custom shuffle manager plugin

What changes were proposed in this pull request?
Spark has a hardcode list to contain known shuffle managers, which has two values now. It does not contain user's custom shuffle manager which is set through Spark config "spark.shuffle.manager".
We hit issue when set "spark.shuffle.manager" with our own shuffle manager plugin (Uber Remote Shuffle Service implementation, https://github.com/uber/RemoteShuffleService). Other users will hit same issue when they implement their own shuffle manager.
It is better to remove that knownManagers hardcode list, to support user's custom shuffle manager implementation.
Why are the changes needed?
Spark has shuffle manager API to support custom shuffle manager implementation. The hardcoded known managers list does not consider that shuffle manager config value which could be set by user. Thus better to remove this hardcoded known managers list.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Current Spark unit test already covers the code path.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #129285 has started for PR 29916 at commit f726441.

cc @Ngone51

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33901/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33901/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33901/
Test PASSed.

Test build #129285 has finished for PR 29916 at commit f726441.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129285/
Test PASSed.

Test build #129313 has started for PR 29916 at commit 66c5fbd.

Please also make sure we update the PR description and title before merging. :)

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33928/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33928/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33928/
Test PASSed.

Test build #129313 has finished for PR 29916 at commit 66c5fbd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129313/
Test FAILed.

Test build #129320 has started for PR 29916 at commit 149364d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33933/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33933/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33933/
Test FAILed.

Test build #129320 has finished for PR 29916 at commit 149364d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129320/
Test FAILed.

Test build #129325 has started for PR 29916 at commit bb6acdc.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33938/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33938/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33938/
Test PASSed.

Test build #129325 has finished for PR 29916 at commit bb6acdc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129325/
Test PASSed.

so I believe the reason for this was that the external shuffle is assuming certain things - specifically getSortBasedShuffleBlockData, so if the shuffle manager does not support that similar then weird things could happen because it assume a certain file naming and layout.
now this code is old from when Spark had other shuffle managers - hash shuffle manager
I think a lot of the problem is while spark has a config to replace the shuffle manager it isn't really well documented or designed to have appropriate pieces public/private, etc.  That is why so many people are working on it.
I'd like to at least see documentation put in the description of the class that it relies on that so its more obvious to the user.

so I believe the reason for this was that the external shuffle is assuming certain things - specifically getSortBasedShuffleBlockData, so if the shuffle manager does not support that similar then weird things could happen because it assume a certain file naming and layout.
now this code is old from when Spark had other shuffle managers - hash shuffle manager
I think a lot of the problem is while spark has a config to replace the shuffle manager it isn't really well documented or designed to have appropriate pieces public/private, etc. That is why so many people are working on it.
I'd like to at least see documentation put in the description of the class that it relies on that so its more obvious to the user.

Yes, good suggestion! Agree that current shuffle manager isn't really well documented or designed to have appropriate pieces public/private. We could improve that as well. I will add some simple documentation in the class.

Test build #129355 has started for PR 29916 at commit 1dd54e8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33965/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33965/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33965/
Test PASSed.

Merged build finished. Test FAILed.

retest this please

Test build #129372 has started for PR 29916 at commit 1dd54e8.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33980/
Test FAILed.

Test build #129372 has finished for PR 29916 at commit 1dd54e8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129372/
Test PASSed.

Thanks! Merging to master.


Some bug fixes

Omit distro in library name if it is Debian.
Remove unsupported images. Since we do not have armel alpine base image yet so generation scripts updated to not generate Dockerfiles for these images.

SGTM


Error while creating  new flutter project

No new window is opened neither the file created with that application name contains any file .
one error is shown in event log.
'where' is not recognized as an internal or external command, operable program or batch file.
flutter doctor output
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 10.0.17134.286], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.2)
[√] Connected devices (1 available)
• No issues found!

What do you get if you execute where in a terminal window?

See also https://github.com/flutter/flutter/issues/10484#issuecomment-396484669

This doesn't look like a Flutter issue.
I'm going to merge with #10484


Two same types (mapped type of generic param) are not assignable to each other

Bug Report

🔎 Search Terms

Keywords:  generic function, mapped types
Errors:

Type 'T1' is not assignable to type 'T2'.
Two different types with this name exist, but they are unrelated.

I got both error messages in my original code, but only the first error message is left in the minimal reproduce.
🕗 Version & Regression Information
4.7.2
All other versions also have this issue.
⏯ Playground Link
https://www.typescriptlang.org/play?#code/C4TwDgpgBAYgjFAvFAPAFQHwAoCGAnAcwC4o0BKJDKAJTnQwG4AoUSGuzJKAbyaigDaAaSgBLAHZQA1hBAB7AGakoOAM5QA5MAirgGqBAAe28QBN1IgPxRxEAG4Q8UEkIC6JAAzMAvsyYB6fwNDHABjYAAbEChgAAtoVRwAW2hWCBZwaBgAJi56XEISckoabPpmNNL6Ll5+YTFJGXklNBV1LR09YJNzKCsbe0dnPvcoLyZfJiZTCFCI-GgIiGAoOzgSeGYZuYWoJZW7bI3svzWuQ4YoQKgAUTw8OTwmQ-O4S+u7h6emIA
💻 Code

type F1 = <T>(arg: T) => R1<T>;
type R1<T> = {
  [K in keyof T as 'test' extends K ? never : K]: 0;
};

// exactly the same type
type F2 = <T>(arg: T) => R2<T>;
type R2<T> = {
  [K in keyof T as 'test' extends K ? never : K]: 0;
};

declare let v1: F1;
declare let v2: F2;

v1 = v2; // Error
v2 = v1; // Error

The problem appears when a conditional type is used in a key remapping of mapped types.
🙁 Actual behavior
The two same types are not assignable to each other.
🙂 Expected behavior
The two same types should be assignable to each other. Because they are written in the same way.
In my case, the two "same-written type declarations" exist because they come from the same package with two different versions.

The issue here is that we only consider two mapped types with as clauses related if the as clause types are identical. We could probably be a bit more flexible here. Meanwhile, the workaround is to use a shared as type:
type N<K> = 'test' extends K ? never : K;

type F1 = <T>(arg: T) => R1<T>;
type R1<T> = {
  [K in keyof T as N<K>]: 0;
};

type F2 = <T>(arg: T) => R2<T>;
type R2<T> = {
  [K in keyof T as N<K>]: 0;
};

I am running into the same issue and found a slightly simpler example that shows the problem. Link to playground.
type R1 = <T extends PropertyKey>() => {
  [K in T as K extends unknown ? K : K]: 0
}

type R2 = <T extends PropertyKey>() => {
  [K in T as K extends unknown ? K : K]: 0
}

type Assert<One, Two extends One> = Two
type _ = Assert<R1, R2>

The last line produces:
Type 'R2' does not satisfy the constraint 'R1'.
  Type '{ [K in T as K extends unknown ? K : K]: 0; }' is not assignable to type '{ [K in T as K extends unknown ? K : K]: 0; }'. Two different types with this name exist, but they are unrelated.

Removing as K extends unknown ? K : K (even though this clause is a noop) unexpectedly removes that error.
Unfortunately, in my case, the workaround described by @ahejlsberg is not possible because R1 and R2 are actually two instances of the same package installed in different places in node_modules. This leads to my package's types not being assignable with themselves.


Could you share the pre-trained model parameters?

The previous link is invalid, could you reshare it? Thanks

Where do you randomize the weights?? Can you please provide the steps for that?

I found the answer for this.


Add a Gitter chat badge to README.md

mozillascience/studyGroup now has a Chat Room on Gitter
@acabunoc has just created a chat room. You can visit it here: https://gitter.im/mozillascience/studyGroup.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

I added a hook that will leave a message in this gitter chat if someone forks the repo. Not sure if you want this in the README.

yeah, maybe better to funnel live conversation at IRC? We're also going to get emails (per your other email), yes?
Thanks for this, webhooks are awesome!

hey @acabunoc, what's the status on this? I'm sorry I let it sit for so long, but if you think it's important I can resolve conflicts and try to merge.

Hey @auremoser - no worries. It's the just the badge that links to the gitter chat room. Not sure if you're actively using this room, though? https://gitter.im/mozillascience/studyGroup
Bill wanted notifications when someone forked the repo. I set up the notifications in this gitter channel (and created the channel) & email notiifcations.

Great, thank you! Would you like it merged into the readme here or did you both mutually decide to leave it out?

I think Bill decided to leave it out. It's up to you whether or not you want to use that room! There's a few ppl lurking there, but no real chatter (yet?) :)


Add onChange props to Paginator component

What this PR does
Currently, the Paginator component provides no method to listen for page change to the outside components so the UI cannot update accordingly, this will add a onChange props that is invoked whenever page is change whether it's jumping to specific page, navigate backward or forward.

I'm not 100% sure of the use case for this change, when the page is changed the values object gets updated with the latest page number, which could be used to solve this case I believe.
I may be missing context on this change.

I'm not 100% sure of the use case for this change, when the page is changed the values object gets updated with the latest page number, which could be used to solve this case I believe.
I may be missing context on this change.

Your method might work but last time I checked the <Consumer /> component doesn't have access to the values object so maybe instead of this add values to the context?


Look into installing CV library

Instructions: https://docs.ftclib.org/ftclib/vision/computer-vision
As we are using gradle, we could use it to install OpenCV.

That's a good idea; I think EasyOpenCV is a fork of OPenCV specifically designed for FTC. Does it fit your needs?

According to the readme file from the EasyOpenCV library, you can do this like:
dependencies {
    implementation 'org.openftc:easyopencv:1.6.2'
}

There are about three build.gradle files in the project. Which one should I use?


failed to exchange token: oauth2: "bad_verification_code" "The code passed is incorrect or expired." "https://docs.github.com/apps/managing-oauth-apps/troubleshooting-oauth-app-access-token-request-errors/#bad-verification-code"

Current Behavior
When logging in github, after accepting access for application, callback gives error
failed to exchange token: oauth2: "bad_verification_code" "The code passed is incorrect or expired." "https://docs.github.com/apps/managing-oauth-apps/troubleshooting-oauth-app-access-token-request-errors/#bad-verification-code"
Expected Behavior
When logging in github, after accepting access, openvpn connecting successfully
Steps To Reproduce
1. default configuration openvpn with script
2. updating openvpn to 2.6.6 version
3. installing plugin with Installing  page
4. configuration plugin with Configuration page
5. try to connect to vpn server
6. enter github credentials
7. give access for organsization on github
8. get error

Environment

openvpn-auth-oauth2 Version: 1.8.0
OpenVPN Server Version: 2.6.6
Server OS: Ubuntu Server 22.04
OpenVPN Client (flavor, OS): Tunnelblick 4.0.0, MacOS

Anything else?
No response

Based on what I found, this has nothing to do with the presence of two-factor authentication