Unable to run unit test when using vee-validate

Versions:

VueJs: 2.5.2
Vee-Validate: 2.0.0-rc.19

Description:
it is the same old issue #535, there is an error when running unit test with error
ERROR LOG: '[Vue warn]: Error in render: "TypeError: undefined is not an object (evaluating '_vm.errors.has')"

(found in <Root>)'
ERROR LOG: TypeError{stack: 'render@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:11992:34
_render@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:4594:26
updateComponent@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:2894:28
get@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:3237:29
Watcher@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:3226:15
mountComponent@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:2898:28
$mount@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:8430:24
$mount@http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:10744:20
http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31:11780:38
callFn@http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4481:25
run@http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4473:13
runTest@http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4969:13
http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:5075:19
next@http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4887:16
http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4897:11
next@http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4821:16
http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:4865:9
timeslice@http://localhost:9876/absoluteC:/Users/HP/Documents/Projects/try-test/node_modules/mocha/mocha.js?8bf1d1adf34e719cca6e8f6915b9cd6eabf83d6b:82:27', line: 11992, sourceURL: 'http://localhost:9876/base/index.js?30d99f44733647f9f36575c6da5880acaf90cd31'}

  HelloWorld.vue
    × should render correct contents
        undefined is not a constructor (evaluating 'vm.$el.querySelector('.hello h1')')
        webpack:///test/unit/specs/Hello.spec.js:9:32 <- index.js:11781:32

PhantomJS 2.1.1 (Windows 7 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.095 secs / 0.013 secs)

Importing vee-validate in the router as a workaround does not work
Steps To Reproduce:
Fresh vue-cli inti webpack and adding vee-validate with a basic example. calling npm run test gives an error

This is an issue with test context. I presume you have the Vue.use(VeeValidate) in your src/main.js file. That file is not part of coverage test context. If you look in test/unit/index.js you will find it in a comment.
// require all src files except main.js for coverage.

A simple solution is to just move the import and Vue.use to src/router/index.js. After that your tests should pass. Keep in mind that I believe PhantomJS / Karma don't support Promise out of the box, so you might still get some warnings. But the tests should pass.

Thank you for clearing the problem.
I added the promise-polyfill in test/unit/index.js to get rid of warnings.


Create 2.0.1 release

Hello,
Can you create a new release, so this commit is taken into account please? https://github.com/oknozor/toml-bombadil/commit/42a7ff957adbaea2fbd4c4d150745ca34f18b93b (toml-bombadil can't be installed at the moment)
Thanks a lot

@aeyoll thank you for pointing that out.
Just created 2.1.0, I was not aware the build was failing for 2.0.0 most of the time I am installing from my local repo or from the arch user repository so I didn't notice.
I've been working on another project lately but will work on toml-bombadil again soon.

Thanks @oknozor!


[SEDONA476] Expose kepler & pydeck as extras

Did you read the Contributor Guide?

Yes, I have read Contributor Rules and Contributor Development Guide

Is this PR related to a JIRA ticket?

No, this is a documentation update. The PR name follows the format [DOCS] my subject.

What changes were proposed in this PR?
This updates the Sedona python package with three new extras: kepler-map, pydeck-map, and an all extras.
It also moves the import of the optional dependencies kepler and pydeck inside the functions where they are used. This avoids logging unnecessary warnings like those described in #1222.
How was this patch tested?
I tested the addition of the extras by doing local installs of the module in a virtual environment. The changes to SedonaKepler and SedonaPyDeck have been tested in the CI.
Did this PR include necessary documentation updates?

Yes, I have updated the documentation.

Thank you for your contribution!


opam release?

Hi, I'm not sure how this works, but the version I have through opam isn't the most up to date -- in particular I'm looking for the legend functionality, which I see you've added after your initial publication to opam. Would it be possible to push the latest over to opam?

Sure, I've made a PR to update the opam version, you can follow it here.

Thank you!


Generate the F# file who contains the main (EntryPoint) based on runtime

F# bundle the Program.fs (who contains the main, [<EntryPoint>] in f#), because a test project targeting netcoreapp2.0 is built as exe (so need a main)
But if i switch to net461, the test project is a library, by design, and should include it.
Atm template is going to be changed to conditionally include the Program.fs (ref https://github.com/dotnet/templating/issues/1271 ) to workaround this.
But that's annoying, because all test framework templates need to do so. otherwise bug is subtle (ref https://github.com/dotnet/netcorecli-fsc/issues/79 ).
C# autogenerate the Program.cs needed in the CoreGenerateProgramFile target.
F# should do the same.
Minor notes:

need to add the file at end (for f# file order matter, and EntryPoint MUST be the last), so just Compile is not enough (=> require support by f# sdk, like adding CompileLast or CompileMain item)
need a property to disable this behaviour. For example the expecto test library, used a lot in F#, configure itself in main, so cannot be autogenerated
something to generate the main empty file, obj/{projectName}.Program.fs (in F# sdk or msbuild sdk or here)
a feature flag (a property?), so project based on previous template (who add a Program.fs explicit) doesnt break with new sdk version

/cc @dsyme @cartermp @KevinRansom
Environment
dotnet sdk >= 2.0

This would be great to have!

@enricosada Yes indeed!

Is there any plan to work on this?

Opened #1664 which does this - it's not a lot of work at all.

Love it! Thank a ton @saul!


Convert the lexer back to synchronous, add a simple parser

The asynchronous interface was unnecessary complexity at this point.
Added a simple parser that deals with elements and text nodes for now.

Ignoring content shell breakages for now.


Bug fix for histogram plotting

Description
Recently I've been using the 2d-histogram plotting, and found a couple of bugs:

When plotting with samples drawn from a wide range but with low weight (i.e. a typical nested sampling run), the axes resized in a way that was annoying, and iconsistent with the way that plot_hist_1d works. This PR fixes this, and supplies a test that fails with the old code, but passes with the update
There is a 'non-zero edge' correction in iso_probability_contours that apparently doesn't do anything except break in certain difficult to define cases. Removing it makes it more consistent with the behaviour of iso_probability_contours_from_samples and does not break. Will reinstate this code if it does become clear that it was serving a specific purpose.

Fixes # (issue)
Checklist:

[x] I have performed a self-review of my own code
[x] My code is PEP8 compliant (flake8 anesthetic tests)
[x] My code contains compliant docstrings (pydocstyle --convention=numpy anesthetic)
[x] New and existing unit tests pass locally with my changes (python -m pytest)
[x] I have added tests that prove my fix is effective or that my feature works

Fixes #78


Pacing removes category group highlight in current month

Name of Defective Feature
-Budget Rows Progress Bars
--pacing progress
System Settings (Required)

ToolKit Version: 2.9.0
Operating System: Windows
Browser: Chrome
Browser Version: 69.0.3497.100
Other Extensions:

Export of Toolkit Settings (Bottom Left of Settings Page)

Settings Export
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":true},{"key":"AccountsStripedRows","value":true},{"key":"AdjustableColumnWidths","value":true},{"key":"AutoDistributeSplits","value":true},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"pacing"},{"key":"BudgetQuickSwitch","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"ChangeEnterBehavior","value":true},{"key":"CheckCreditBalances","value":true},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":false},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":false},{"key":"CreditCardEmoji","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomFlagNames","value":false},{"key":"DaysOfBuffering","value":true},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"DisplayTotalMonthlyGoals","value":false},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":true},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":true},{"key":"HighlightNegatives","value":false},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":true},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"0"},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":true},{"key":"ResizeInspector","value":true},{"key":"ResizeSidebar","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"0"},{"key":"RowsHeight","value":"0"},{"key":"RunningBalance","value":"0"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"ShowIntercom","value":true},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":false},{"key":"SplitTransactionAutoAdjust","value":true},{"key":"SquareNegativeMode","value":true},{"key":"StealingFromFuture","value":true},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":true},{"key":"ToggleMasterCategories","value":false},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"0"},{"key":"ToolkitReports","value":true},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":true},{"key":"l10n","value":"0"},{"key":"options.dark-mode","value":true},{"key":"reports","value":true}]

Steps to Reproduce the Behavior

turn on "pacing progress" under "Budget Rows Progress Bars"

Expected Behavior

Add progress bars without changing highlighting in category group rows
Actual Behavior

Changes highlighting in category group rows

I will second this error, I am also getting it.

Adding a progress bar (what you're referring to as changing the highlighting in category group rows) is how we show you how far towards your goal you've progressed. The small vertical gray bar shows how far through the month we've progressed.
@kvittore and @Flyou10 Can you grab some screen shots and include them in a response? That will help me see exactly what you're seeing as it looks to me like things are working as designed.

Oct - light blue highlight only on Credit Card Payments

Nov - light blue highlight on all category groups

Exact same here. It is the “category group” highlight that YNAB naturals has that disappears with “progress bars” selected.

Hey @kvittore the fix for this should be in our current release! If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
Please note, all browser can take up to an hour to provide updates to all users. You can force an update if it's available for you by going to chrome://extensions and clicking the "Update" button. Firefox users can go to about:addons, click the setting cog, and click "Check for updates...".


Added the micky mouse animation

#5040

Close #5040

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@MohitGupta121 @TusharKesarwani please review it asap


Custom pointer shapes not shown in Mac Safari

E.g. hovering the mouse pointer over a window edge should show the resize arrows.
Still works in Chrome, does not work in Safari anymore. I see the hotspot jump, but the cursor shape does not change.

Hm, strange, it still works for Caffeine (e.g., https://caffeine.js.org/spa ). Then again, I'm behind and haven't even done the ESM changes yet.

It works in Safari Technology Preview Release 178 (Safari 17.0, WebKit 18617.1.6) ... let's hope it works in next Safari then.

Appears to have resolved itself


Added npm badge and npm installation instructions

Thanks.
It seems, the version could be changed to 1.1.1

I'll add version 1.1.1 to outstanding PR.


Fix default Windows install directory regression from WiX v4 port

The rules around <SetDirectory> changed between WiX v3 and v4, so our port resulted in the INSTALLDIR defaulting to C:\ instead of either C:\Program Files\swift or C:\Library.
Changes:

For the runtime, use <StandardDirectory> to root in ProgramFiles, and capitalize Swift for consistency with all other programs
For stuff installed under C:\Library, use <SetDirectory> + <Directory> as a means of rooting at WindowsVolume, also change the customizable installation path to the C:\ underneath Library (so the installer will write the Library directory under the users' path rather than start at the Developer directory)

How tested:

Rebuilt and installed runtime + sdk msi's to their default locations and to overriden locations, then installed the full installer. Verified that paths and environment variables are as expected in all cases.

Oops there seems to be a bad merge in there, gimme a sec

False alarm, there's no bad merge, just a confusing diff.

Tested at apple/swift#64815


Setting the control_method for a zone

Checklist

[X] This issue is not a duplicate feature request of previous feature requests.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).

Proposal
I would like a way to create an automation which sets the control_method for a zone back to 'temperature' if it has been left as 'damper' for x period. Ideally, I would like to do this without knowing or changing the temperature of the zone.
I am fairly early in my HA journey so forgive me if this function already exists.
Additional context
No response

I haven't added a specific service call for changing the control method, but you could just call the climate.set_temperature service using the current target temperature, for example:
service: climate.set_temperature
metadata: {}
data:
  temperature: "{{ state_attr(\"climate.my_zone\", \"temperature\") }}"
target:
  entity_id: climate.my_zone

Thanks I'll use your suggestion. I guess if the zone is off it could still be handy to have the service to change the control method without turning on the zone so I will leave my feature request standing.

Calling the set temperature service shouldn't cause a zone that is turned off to turn on. Are you having zones turn on when the temperature is changed?

I've created an automation blueprint that will change the control method for any zones from damper back to temperature control after a configured delay.  You can import it with the following link:


Update README to indicate port 80 caeveat.

I found that if I had
server {
      listen 80;
      server_name my_website.com;
      return 301 https://$server_name$request_uri;
}

.well-known/acme-certs would 404, as it would attempt to redirect to my domain and fail, since the server_name block is more specific.
The README now documents this caveat, since it is already handled by the config.
I would open an issue, but they are disabled, so I figured this is the next best thing. Sorry if this is a bit out of form.

Thanks for this @ollien!  Not out of form at all, I'm actually not sure why issues are disabled; I've enabled them again.


Discussion on which MongoDB driver to use

The akka-persistence-mongo persistence plugin had 2 variants to choose from regarding the used MongoDB driver:

official mongo-scala-driver (now EOL)

the linked dependency is EOL, the scala driver is now available at org.mongodb.scala:mongo-scala-driver_2.13:4.8.2
the documentation for the Scala driver is now accessible here: http://mongodb.github.io/mongo-java-driver/4.8/driver-scala/

ReactiveMongo driver

last release 1.0.10: "Dec 18, 2021"

In order to have a "future proof" driver also supporting the latest MongoDB versions and in order to reduce maintenance efforts, I suggest to only support a single driver in pekko-persistence-mongo.
As we in Eclipse Ditto had a very good and stable experience with the former mongo-scala-driver variant of akka-persistence-mongo - and this is the "official" driver from MongoDB I would suggest to only support this variant in the future.
As the replacement is org.mongodb.scala:mongo-scala-driver_2.13:4.8.2 with documentation here: http://mongodb.github.io/mongo-java-driver/4.8/driver-scala/, I would suggest to support that driver only.
This driver supports MongoDB version 3.6 (which maybe is important for MongoDB "replacements" like AWS DynamoDB supporting only up to MongoDB 3.6 due to license issues) up to 6.1: https://www.mongodb.com/docs/drivers/java/sync/current/compatibility/

Agree totally :+1:

@scullxbones I managed to work on an initial migration .. but did not yet e.g. look into tests.
Will do that next ;)
If you already have feedback, that would be great.

@thjaeckle will data from akka persistence mongo that used reactive-mongo be compatible with this using the mongo scala driver?

@bdoyle0182 when I wrote the original code I went through an effort to make sure driver switching was easy and backward compatible. That said, please verify for your use case.

Thanks for the forward thinking @scullxbones . I didn't realize this repo already existed, I can start testing and report back if things look good.


New Fake news

Hey guys,
Please add newsnow.co.za as fake news.
Thanks

^ @marktron

Although the site appears to be offline now, it was added to https://github.com/marktron/fakenews. Thanks @mrinc.


[flink] optimize code style and remove useless code in SortCompactAction

Just remove useless code, the sink builder will use the sorter parallelism, so we don't need to set parallelism.
No other influence.

add comment for overwritePartition, @JingsongLi, do we need to add an extra parameter to tag whether to overwrite


Internal Server Error when uploading file with non-ascii filename in a form

When uploading a file like for example https://ihl-databases.icrc.org/applic/ihl/ihl-nat.nsf/0/abf9bb704d4adec5412566e200524e21/$FILE/B%C3%BCrgerliches%20Gesetzbuch.pdf
this error occurs:
Internal Server Error: /de/testform/

UnicodeEncodeError at /de/testform/
'ascii' codec can't encode character '\u0308' in position 71: ordinal not in range(128)

You've probably not correctly configured UTF support in your environment (web server, db, etc). This has been discussed exhaustively on the mailing list.

I could not found a solution on the mailing list concerning this issue on non-ascii filenames.
I found this thread https://groups.google.com/forum/#!searchin/mezzanine-users/filename|sort:date/mezzanine-users/7mANDYTdgv4/TJznu_OLCgAJ
with no answer.
I found this PR https://github.com/stephenmcd/mezzanine/pull/1609/files but it is only about uploading ZIPs. Instead, I have this problem with a PDF file.
Locale, Webserver, Operating System and Postgres are all set to UTF-8.


slurm: 18.08.0-1 -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/slurm/versions.
meta.description for slurm is: '"Simple Linux Utility for Resource Management"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sacct had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sacctmgr had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/salloc had a zero exit code or showed the expected version
/nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sattach passed the binary check.
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sbatch had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sbcast had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/scancel had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/scontrol had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sdiag had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sinfo had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/smap had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sprio had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/squeue had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sreport had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/srun had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sshare had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/sstat had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/strigger had a zero exit code or showed the expected version
/nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/slurmctld passed the binary check.
/nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/slurmd passed the binary check.
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/slurmdbd had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin/slurmstepd had a zero exit code or showed the expected version
3 of 22 passed binary check by having a zero exit code.
0 of 22 passed binary check by having the new version present in output.
found <IP_ADDRESS> with grep in /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>
directory tree listing: https://gist.github.com/5b60fcb0889a4411c2f25da2f186e08c
du listing: https://gist.github.com/e260ed8b4da2b61e3349ad54db34bc9e

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:
nix-shell -p cachix --run 'cachix use r-ryantm'

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/6a1e3aacf3039f782ae599c65f57aaf11fc5038b.tar.gz -p slurm
ls -la /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>

cc @jagajaga @markuskowa for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: slurm
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: slurm
Partial log (click to expand)
gzipping man pages under /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/lib  /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin  /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/sbin
patching script interpreter paths in /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>
checking for references to /build in /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>...
moving /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/sbin/* to /nix/store/wql7rhp06nfljaig77vhsn7gy0j7g68f-slurm-<IP_ADDRESS>/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/xvp0123nqqysy1f1j3lxn2x8nl8kb6c0-slurm-<IP_ADDRESS>-dev
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/xvp0123nqqysy1f1j3lxn2x8nl8kb6c0-slurm-<IP_ADDRESS>-dev
checking for references to /build in /nix/store/xvp0123nqqysy1f1j3lxn2x8nl8kb6c0-slurm-<IP_ADDRESS>-dev...

Success on aarch64-linux (full log)
Attempted: slurm
Partial log (click to expand)
gzipping man pages under /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>/lib  /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>/bin  /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>/sbin
patching script interpreter paths in /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>
checking for references to /build in /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>...
moving /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>/sbin/* to /nix/store/yiipa5z9pqap76jlfigrm2izb41m08yy-slurm-<IP_ADDRESS>/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/27rcr9kggs0is91gfs2dvhg8qr9d3r98-slurm-<IP_ADDRESS>-dev
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/27rcr9kggs0is91gfs2dvhg8qr9d3r98-slurm-<IP_ADDRESS>-dev
checking for references to /build in /nix/store/27rcr9kggs0is91gfs2dvhg8qr9d3r98-slurm-<IP_ADDRESS>-dev...


More cookiecutter accessibility fixes

Bug 410725: Usability : Unable to invoke the context menu in Cookie cutter window using Shift key + F10
Bug 404076: Accessibility : MAS40B : INSPECT : Python + Cookiecutter : Name property is inappropriate for the interactive elements in Templates present in Cookiecutter window
Fixes alignment of search text box / button.
Prevents changing the selection if there's already a node that is selected.

👍


resolve issue #75

Previously Shared button opens the correct app but no content is pasted in app but now it works fine, There is minor error in /app/src/main/java/org/fossasia/fragments/FossasiaEventDetailsFragment.java file

@tradzik  Review please

can you please direct me to the bug ,where it is?


React example on css-blocks.com has incorrect class keys

On the home page of css-blocks.com, in the example section for the template.jsx file, there are class attributes in the JSX (which should be className instead):
  // ..
    return (
        <button class={style}>
            {icon && {icon}}
            {children}
        </button>
    )
  // ..

should be, instead:
  // ..
    return (
        <button className={style}>
            {icon && {icon}}
            {children}
        </button>
    )
  // ..

FWIW, I did a little search, but I couldn't seem to find a branch to make these changes myself, sorry!

Good catch! We actually already had a PR to fix this in the docs and its already pulled in to master 🙂 We just need to re-deploy the website, which will happen later today.
Closing as a duplicate – thanks for opening the issue!

(We're in the process of setting up CD for the website / API docs)

No worries -- thanks for the reply 👍 😁


Wildcard records not accepted.

Versions
NetBox Version: 0.18.7
NetBox DNS Version: 3.5.7
Python Version: 3.9
Describe the bug
Creating Wildcard DNS records (example:  *.test.example.com) fails inside Netbox-DNS.   Error indicates that it is not a valid hostname.
To Reproduce
Steps to reproduce the behavior:

Click the + sign to add new record.
put into *.test into the name field
select the correct zone.
Select type "A" record, and enter the correct value.

Expected result
DNS record be created.
Actual result
Error message saying it is not a valid host.

Good one :-)
Actually you can create *, but not *.test. That should work ... let me see.

The issue was actually that the validation code did not accept wildcard names including additional labels, which it should. I'll deploy a new release shortly.

0.18.8 is out.
Thanks for reporting this!

I upgraded to 0.18.8, but instead of the CSS style error, I takes me to a new error page.

Can you please enable debugging and send me the call stack? I can't reproduce it here.

I see where it happens - you are creating PTR records automatically, aren't you? The error occurs when creating the PTR record, and that doesn't happen in the view - hence the ServerError instead of CSS.
Fix is on the way, I just need to create some tests for this case.

-> 0.18.9


Upgrade react formio version

Issue #:
https://github.com/bcgov/met-public/issues/1256
Description of changes:
Upgrade react formio version
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1360 (12c75e2) into main (86ad046) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1360   +/-   ##
=======================================
  Coverage   71.58%   71.58%
=======================================
  Files         317      317
  Lines        9133     9133
  Branches      645      645
=======================================
  Hits         6538     6538
  Misses       2483     2483
  Partials      112      112

Flag
Coverage Δ

metweb
64.78% <ø> (ø)

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


EDU-947 Consolidate info labels and icons

Closes https://educandu.atlassian.net/browse/EDU-947

Nice consolidation! 👍


Istances on querySelector and querySelectorAll

In 1.0.0 alpha3 and alpha4 it appears that you can initialize with querySelectorAll all the elements, but Instances work only with querySelector.
Initialize everything and use getInstance comes handy, but it shouldn't be too much difficult to handle everything correctly with querySelectorAll.
P.S: If "swipeable:true", it sets the tabs at 400px height with JS, why? Can it be removed and\or set it if needed?

It does work, but they are in an Array instead


V0.2

Added main functions to dataset scripts.
Added evaluate and predict functions.
Added documentation.


Fix RBAC in Kubernetes 1.6. Fix etcdadm when terminated instances sti…

…ll exist.
Fix #501

Codecov Report

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

@@           Coverage Diff           @@
##           master     #504   +/-   ##
=======================================
  Coverage   37.74%   37.74%
=======================================
  Files          44       44
  Lines        3084     3084
=======================================
  Hits         1164     1164
  Misses       1728     1728
  Partials      192      192

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 bd693e1...92cf4c7. Read the comment docs.

@camilb Thanks for the fix! LGTM.


python3Packages.webthing: init at 0.15.0

Motivation for this change
Python implementation of a Web Thing server.
https://github.com/WebThingsIO/webthing-python
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108477 run on x86_64-linux 1

2 packages built:

python37Packages.webthing
python38Packages.webthing

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108477 run on x86_64-linux 1

2 packages built:

python37Packages.webthing
python38Packages.webthing

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108477 run on x86_64-darwin 1

3 packages built:

python37Packages.webthing
python38Packages.webthing
python39Packages.webthing

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108477 run on x86_64-darwin 1

3 packages built:

python37Packages.webthing
python38Packages.webthing
python39Packages.webthing


Issues using JPL on Windows and JDK > 8

I am having a pretty hard time to get JPL running under Windows. I am using SWI Prolog 8.0.3 and JPL 7.4.0. I tried various JVMs but only managed to get running it using Java 8 (AdoptOpenJDK Hotspot). The following JVMs failed:

AdoptOpenJDK 11, Hotspot
AdoptOpenJDK 11, OpenJ9
OracleJDK 13, Hotspot

The error is always more or less the same:
Current thread (0x0000029c55ed2800):  JavaThread "main" [_thread_in_native, id=18052, stack(0x000000e740d00000,0x000000e740e00000)]

Stack: [0x000000e740d00000,0x000000e740e00000],  sp=0x000000e740dfde60,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libswipl.dll+0x2b10]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.jpl7.fli.Prolog.open_query(Lorg/jpl7/fli/module_t;ILorg/jpl7/fli/predicate_t;Lorg/jpl7/fli/term_t;)Lorg/jpl7/fli/qid_t;+0
j  org.jpl7.Query.open()V+238
j  org.jpl7.Util.textToTerm(Ljava/lang/String;)Lorg/jpl7/Term;+57
j  org.jpl7.Query.<init>(Ljava/lang/String;)V+2
j  swiprolog.MultiThreadTest.insert(Ljava/lang/String;Ljava/lang/String;)V+39
j  swiprolog.MultiThreadTest.testSimpleQueries(I)V+26
j  swiprolog.MultiThreadTest.singleThreadTest()V+12
v  ~StubRoutines::call_stub
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0<EMAIL_ADDRESS>j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100<EMAIL_ADDRESS>j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6<EMAIL_ADDRESS>j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59<EMAIL_ADDRESS>j  org.junit.runners.model.FrameworkMethod$1.runReflectiveCall()Ljava/lang/Object;+15
j  org.junit.internal.runners.model.ReflectiveCallable.run()Ljava/lang/Object;+1
j  org.junit.runners.model.FrameworkMethod.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+10
j  org.junit.internal.runners.statements.InvokeMethod.evaluate()V+12
j  org.junit.runners.ParentRunner.runLeaf(Lorg/junit/runners/model/Statement;Lorg/junit/runner/Description;Lorg/junit/runner/notification/RunNotifier;)V+17
j  org.junit.runners.BlockJUnit4ClassRunner.runChild(Lorg/junit/runners/model/FrameworkMethod;Lorg/junit/runner/notification/RunNotifier;)V+30
j  org.junit.runners.BlockJUnit4ClassRunner.runChild(Ljava/lang/Object;Lorg/junit/runner/notification/RunNotifier;)V+6
j  org.junit.runners.ParentRunner$3.run()V+12
j  org.junit.runners.ParentRunner$1.schedule(Ljava/lang/Runnable;)V+1
j  org.junit.runners.ParentRunner.runChildren(Lorg/junit/runner/notification/RunNotifier;)V+44
j  org.junit.runners.ParentRunner.access$000(Lorg/junit/runners/ParentRunner;Lorg/junit/runner/notification/RunNotifier;)V+2
j  org.junit.runners.ParentRunner$2.evaluate()V+8
j  org.junit.runners.ParentRunner.run(Lorg/junit/runner/notification/RunNotifier;)V+20
j  org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(Lorg/eclipse/jdt/internal/junit/runner/TestExecution;)V+72
j  org.eclipse.jdt.internal.junit.runner.TestExecution.run([Lorg/eclipse/jdt/internal/junit/runner/ITestReference;)V+17
j  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests([Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/jdt/internal/junit/runner/TestExecution;)V+62
j  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Lorg/eclipse/jdt/internal/junit/runner/TestExecution;)V+10
j  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run()V+70
j  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main([Ljava/lang/String;)V+14
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x000000007b4ca140

I first throught that I am initialzing JPL in a wrong way or formulated an invalid Query but the exactly same code runs perfectly fine on the mentioned JDK 8 or on Linux. Anyway, I assume that Java 11 is supported in general because of the statements on the official website.
Unfortunately, I could not find much information about such issues except of one reported issue: ssardina-research/packages-jpl#23. The solution for that issue was downgrading to Java 8. However, this is not an option for me because I have to integrate my code into a larger project that requires Java 11.
I would be very grateful for any information on tracking down or solving the issue. Of course, I am keen to provide more information.

Got the same error:
hs_err_pid8412.log

Although I doubt it makes a difference, did you try the current development branch?
The Windows build for JPL is quite problematic.   SWI-Prolog for Windows is cross-compiled from Linux, but getting recent versions of the Oracle JDK installed in Wine was pretty much impossible the last time I tried.
Since the move to CMake it is feasible to build the system on native Windows AFAIK, which may allow building against a more recent JDK and, if needed, look around using a debugger.

Sorry for my delayed response. I was on vacation.
Is there any ready to use binary that I can give a try or should I build it by myself?

Not that I'm aware of.   This requires a Windows developer, probably with some Java knowledge.  Sorry.

@ssardina: As @JanWielemaker already said, even recent Java versions work fine on Ubuntu (which I used to test it). Most probably, this holds true for other distributions as well.
I tried to compile SWI-Prolog natively with the VS Build Tools but did not get very far because of missing dependencies. I am not completely sure if the build definition is really made to be build natively without mingw. I might also have missed something because there is no complete manual on building natively without mingw (or at least I could not find it).
I also gave the development builds a try. The latest builds do not work because JPL::init reports that it cannot find important ressources. I suspect the boot.prc file to be the problem because previously, the file was called boot64.prc or boot32.prc. Anyway, I am not sure about this.
After going back to 8.1.0-1, the error disappears (boot64.prc is there) but the same exception as initially reported is thrown.

I've been looking into the maven branch, I think I'll try to make it even with the other branches so builds can be repeatable and we can test them out with Travis CI.
However the reported problem is not in JPL but on swipl itself, according to the trace it is in

libswipl.dll

Got similar errors building on JDK 13 and 11. I've recently installed JDK 8 in order to see if it's a compatibility problem with the JVM version.

Same problem trying to build with Adopt OpenJDK 8:
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ packages-jpl ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jpl7.test.JPLTest
#
[thread 18868 also had an error]# A fatal error has been detected by the Java Runtime Environment:
[thread 15424 also had an error]#
#  EXCEPTION_ACCESS_VIOLATION[thread 19280 also had an error] (0xc0000005) at pc=0x0000000069d42b10
, pid=17540
, tid=0x00000000000043b4
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [libswipl.dll+0x2b10]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\RuslanLopez\IdeaProjects\packages-jpl\hs_err_pid17540.log
#
# If you would like to submit a bug report, please visit:
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

This issue has been mentioned on SWI-Prolog. There might be relevant details there:
https://swi-prolog.discourse.group/t/ann-swi-prolog-8-1-24/1958/1

Hi @javatlacati
I am a bit lost. Are you running on Linux or Windows?
I compiled and run the test with OpenJDK 11 and it was all good:
[ssardina@Thinkpad-X1 build-openjdk]$ !ctes
ctest -R jpl:prolog_in_java ; ctest -R jpl:java_in_prolog
Test project /home/ssardina/git/soft/prolog/swipl-devel.git/build-openjdk
Start 62: jpl:prolog_in_java
1/1 Test #62: jpl:prolog_in_java ...............   Passed    1.18 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) =   1.19 sec
Test project /home/ssardina/git/soft/prolog/swipl-devel.git/build-openjdk
Start 63: jpl:java_in_prolog
1/1 Test #63: jpl:java_in_prolog ...............   Passed    0.60 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) =   0.61 sec
[ssardina@Thinkpad-X1 build-openjdk]$ javac -version
javac 11.0.7
[ssardina@Thinkpad-X1 build-openjdk]$ java -version
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)

Could this be an issue with Maven? I can try that. See the maven branch was a bit of a shortcut. The idea is to get a pom.xml in the root of the master branch and that's it.
Are you modifying the JAVA API?

Hi @seiferma
yes, I have OpenJDK 11 in Linux Mint and works well and can compile latest SWIPL and JPL.
Windows, I have no idea. I started trying in a Virtualbox but then realized I know very little about Windows and have little time and motivation to learn about it; it is not trivial to set-up the whole environment to compile SWIPL...

Hi @javatlacati . Can you check if the latest version works for you? Lots of things have been fixed.

Just to summarise my contributions from #82, any Oracle Java version beyond 8u251 causes access violations with JPL. This seems to be because of their move from VS 2010 SP1 to VS 2017, see https://www.oracle.com/java/technologies/javase/8u261-relnotes.html

Just for the sake of it, I tried adding -l msvcr100 to the MinGW build.   This does indeed produce a binary that requires msvcr100.dll.  It still also seems to link to msvcrt.dll though.  Not sure that is a problem or not.   In any case, the result crashes the same way.   Might be the wrong trail :cry:

Just for the sake of it, I tried adding -l msvcr100 to the MinGW build. This does indeed produce a binary that requires msvcr100.dll. It still also seems to link to msvcrt.dll though. Not sure that is a problem or not. In any case, the result crashes the same way. Might be the wrong trail 😢

Well I guess that the Oracle release note explicitly states that at least VS 2017 must now be used for native libraries?
These applications should be rebuilt and shipped with modern C++ runtime dependencies that use a later instance of Visual Studio. Applications should not depend on DLLs included with the JDK/JRE that are not documented in the product as offering support for the specification or other functionality in Java SE.

@ssardina says

I compiled and run the test with OpenJDK 11 and it was all good:

This is quite interesting as https://hi.service-now.com/kb_view.do?sysparm_article=KB0853593 also says

Workaround

If customer desires the security updates from newer versions of java, upgrade your JVM to use Java 11.  It is important to note that this option will disable MID CPU monitoring unctionality on Windows.

Downgrade your JVM to 8.0_251, or switch to using the bundled 1.8.0_231

@Venorcis quotes

modern C++ runtime dependencies

This may be relevant, but note that there is no C++ in SWI-Prolog or JPL.  All is plain C, which is typically better interoperable.

I've just tried it with the latest OpenJDK 14 installed. Same access violation errors I'm afraid... I see others here reporting issues with various other versions too. @ssardina response was based on testing on Ubuntu; this issue is probably specific to Windows ;)

I did quite a few tests.  Indeed, OpenJDK11 on Windows fails the same way :(   Other observations

If I compile SWI-Prolog in debug mode OpenJDK no longer finds the JNI functions from jpl.dll :(
If I try to run OpenJDK Java under gdb (8) it crashes way before reaching Prolog, reporting a corrupted stack :(
If I enable C level debug messages in the release version I can indeed get messages on progress.  Turns out the whole Prolog initialization works fine.   This (to me) suggests that library interoperability is not the most likely issue.
Trying to call more of the JNI functions it crashes in Prolog (as reported by Java).  Trying to attach gdb using -XX:OnError="gdb - %p" works, but when the access violation is trapped the stack is reported corrupt, and even the top frame which is supposed to be in Prolog is broken.

This starts to suggest that modern Java uses different calling conventions.   Browsing I saw some hint in this direction, but I have not found any conclusive answers.   Also the fact that one can embed Java in Prolog seems to contradict this.
These days, thanks to CMake, it is possible to compile the core of SWI-Prolog using MSVC.    I guess with some persistence it is also possible to compile extensions such as JPL.   In previous experience MSVC does a lot worse job though (producing a significantly slower version) and  getting all dependencies compiled using MSVC to get a fully functional SWI-Prolog is a lot of work.   So, I still hope there is a better route.

I wish I could help, but I'm not at all at home in this stuff. I tried Googling some parts of the stack trace, and found two or three similar issues, but they were all unresolved 😓 It would be a real shame if we cannot upgrade beyond Java 8u251 on Windows, as this version is 'archived' and might have security issues and such already.

We see each other tomorrow.  Let us brainstorm a little then ...

These days, thanks to CMake, it is possible to compile the core of SWI-Prolog using MSVC. I guess with some persistence it is also possible to compile extensions such as JPL. In previous experience MSVC does a lot worse job though (producing a significantly slower version) and getting all dependencies compiled using MSVC to get a fully functional SWI-Prolog is a lot of work. So, I still hope there is a better route.

This also suggest using MinGW for JNI is just fine (JDK 10 is given as an example): https://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html#zz-2.1
I'm wondering what code is actually executed by the loadLibrary call from Java?

Just for the heck of it, I tried running with the 32-bits OpenJDK 14. Then I get a completely different error:
java.lang.UnsatisfiedLinkError: 'boolean org.jpl7.fli.Prolog.set_default_init_args(java.lang.String[])'

Seems like the 32-bit Windows jpl.dll isn't fully correctly yet (got it from the 2020-09-15 daily build).

@JanWielemaker the VU mail blocked my JAR file even in the ZIP ;)
WinDbg Preview:
https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools
Launch executable (advanced):
C:\Program Files\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot\bin\java.exe
-jar "C:\Users\Vince\Git\GOAL\krtools\krLanguages\swiprologlibs\target\swiPrologEnabler-1.3.3-SNAPSHOT-shaded.jar"
swiPrologEnabler.zip

Getting a little further.   If I print the values passed to PL_open_query(), I get
PL_open_query(FFFFFFFFCF949E60, 8, FFFFFFFFD00E5C60, 24)

Here, the first and third arguments are pointers to a module and predicate.   When I ask the C API for the module pointer, I get 000001EACF949E60, so it seems something is ignoring the upper 32-bit of the pointer and filling it with 0xffffffff (more or less at random, sometimes you get 0x0).   This feels like something that should be tractable.

Pushed bcbc3fb2db6851788fd339c74b4d0a340deebdd9.  When a pointer was placed in a  PointerHolder, it as casted to long, being 32-bits on Windows.   Changed to jlong, being 64 bits.   My tests on Windows 10 (64 bits) now pass using OpenJDK 11.
Should be in tomorrows daily build.

Pushed bcbc3fb. When a pointer was placed in a PointerHolder, it as casted to long, being 32-bits on Windows. Changed to jlong, being 64 bits. My tests on Windows 10 (64 bits) now pass using OpenJDK 11.
Should be in tomorrows daily build.

Awesome! Will test it tomorrow 👍🏻

Can confirm it works now (on 64-bit OpenJDK 14 at least) 😁

Thanks for testing.   I'm closing this issue.   I'm not claiming JPL is now perfect on Windows for all JDK versions, but the fundamental reason that caused this issue report seems fixed.   Possible other issues should open a new issue here.

Just for the heck of it, I tried running with the 32-bits OpenJDK 14. Then I get a completely different error:

I think I found it!   I've checked out 7.6.0 and tried to build it the old way.  Somehow that also fails, but differently.   Then I tried some bi-sectioning of the jpl.dll link command and found that the key is -Wl,--kill-at, which was present in the old link line, but not in the new.   If I link libjpl by hand in 8.3.7 using -Wl,--kill-at it works fine :smiley:
Now I only have to figure out how to get that integrated into the CMake specs and under which conditions.   That is for tomorrow.

Pushed d89aaae2104d0339d9e3929e9d2ce08cd99a528f, which adds -Wl,--kill-at.   This seems required for win32 and doesn't seem to harm win64, so it is now also used for win64.   Fingers crossed.


Incorrect predictions

After training the model (for a short time) I see an accuracy of 80%. However, when I test it, the result is as shown for all test images. Can someone help with this? Would be great if someone could share the pre-trained weights.

change
model.fit_generator(myGene,steps_per_epoch=2000,epochs=5,callbacks=[model_checkpoint])
in above line change the steps_per_epoch to 300 or 400 or 500 some thing should work

In case you or anyone else is still having issues with this, in the testGenerator function change this line
img = img / 255
for this
img = img / 255.

@ajithvallabai that was it. Training longer helped.
Thanks!

I modified img.255, but problems persisted.

model.fit_generator(myGene,steps_per_epoch=2000,epochs=5,callbacks=[model_checkpoint])
in above line change the steps_per_epoch to 300 or 400 or 500 some thing should work

I set steps_per_epoch=500, but my test images are still all gray...
should I set it more larger than 500? by the way, I just use CPU.

model.fit_generator(myGene,steps_per_epoch=2000,epochs=5,callbacks=[model_checkpoint])
in above line change the steps_per_epoch to 300 or 400 or 500 some thing should work

I set steps_per_epoch=500, but my test images are still all gray...
should I set it more larger than 500? by the way, I just use CPU.

i think epochs should be increased rather than steps_per_epoch to improve the acc . Another place to check is the function of adjustData.
def adjustData(img,mask,flag_multi_class,num_class):
# here#
elif(np.max(img) > 1):
img = img / 255
mask = mask /255
mask[mask > 0.5] = 1
mask[mask <= 0.5] = 0
return (img,mask)``
This code works for py3, if you use py2, modify '255' to '255.'; Last, you need to check the threshold '0.5' in order to make sure the returned mask is a binary(0/1) mask.

get it

@JianyingLi Hello,
I change cross entropy loss into dice, but the result become all white , could you help me?


Downgrade jenkins label and enable coverage reporting

Checklist

[ ] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

@Fabs What do you mean? 🙈

Code Coverage as a tool will instrument your code to get its stats. That means turning it on definitely means tests itself use more CPU and memory. Also there is the extra time to compile the final report. In that sense, I just wanted to raise a flag 🎏 to make sure we are not adding unnecessary stress on our tests.

Now I get you, thank you for explaining this in detail. As a matter of fact our unit tests currently take around 5 minutes. Our integration and system tests take 25 minutes each. Even if the time consumption would be bigger I think we still wouldn't sense it in the normal work life.
Also I think getting metrics over our coverage can help us understand if we are going in the right direction and how much we are improving, therefore they add a value, at least to me


ARANGODB_UPGRADE_DURING_RESTORE env variable.

If this is set during startup, a database upgrade is performed
and an automatic restart (with the same process ID) is happening.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7087/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7093/


Dark variant

I prefer light personally but hey.

I am in love with this theme.
But I would kill for a dark variant

i focken love this theme, but the white all over was burning my eyes, so maybe

![http://i.giphy.com/xTiTnzEhdR9y9PNyc8.gif]

I changed some variables to have black layout too.

@thetutlage Any chance for a PR/fork while we wait for the official one?

+1

Nice the dark variant. Please share it!!!

If someone who's already made the their dark variant could share there's, that would be dope.
If not, I've started working on a dark version. It still needs some color fixes for linter and other panels, sidebar, and settings etc. Here is what it currently looks like:

If no one else shares, I'll post the finished version here when it's done.

@saadq nice! :D

@thetutlage Fork please?

I submitted a dark version of this theme here:
https://atom.io/packages/Apex-ui-dark

quick hack, stick this in your .atom/styles.less:
.workspace {
  filter: invert(1) hue-rotate(180deg);
}

hue-rotate preserves the original tone, personally i like it warmer and went with filter: invert(1) brightness(1.5) grayscale(0.7) to bump the contrast and push the color back down


fix(console): apply labelpolicy if icon is provided, signout page

Closes #4498
Closes #4389

moved the policy to the localstorage now. write on signout and read and clear directly after it..


Question: how can I determine that the client sent a request to the web server from the same computer where the web server is running?

Hello dear Joel!
I have been using your wonderful web server for many years.
Could you help me,
how can I determine that the client sent a request to the web server from the same computer where the web server is running?
for example I have a request handler method:
async Task MyHandler(HttpContext ctx)
{
// here I have to determine that the client sent a request to the web server from the same computer where the web server is running
}
Note: I always execute Watson Web Server using address * (asterisk)

Hi Timur!  Good to hear from you.  I would use HttpContext.Request.Source which includes an IpAddress property.  You can use a method like the below to indicate if the request came from localhost.
bool IsLocalRequest(HttpContext ctx)
{
    var host = Dns.GetHostEntry(Dns.GetHostName());
    foreach (var ip in host.AddressList)
    {
        if (ip.AddressFamily == AddressFamily.InterNetwork)
        {
            if (ip.ToString().Equals(ctx.Request.Source.IpAddress) return true;
        }
    }
    return false;
}

Obviously this could be optimized in a number of ways: 1) pre-caching the result of Dns.GetHostEntry(Dns.GetHostName())  into a variable and re-using it and 2) using LINQ to test if ctx.Request.Source.IpAddress is within the host.AddressList object.
Hope this helps!


Support sending messages directly to DLQ

Adds support for sending SQS messages directly to the DLQ, bypassing the regular queue.
This can be useful in cases where a lambda handler receives a message known to be bad, and we want to record that we got this message for manual review later. Instead of sending said message to a different queue, we can put it in the DLQ directly.

Thanks for your answer @mckalexee ! Let me describe the use case, maybe you can comment if this pattern makes sense:
I have a lambda handler that's used as a webhook. This webhook receives requests from a service. One of the requirements of this service is that if my webhook handlers start returning non-200 responses, they will turn off my service integration. To avoid that, I want to always accept the webhook requests and immediately put them in a queue.
My webhook handler makes some checks for the incoming request. These checks would only fail if the service that sends the requests breaks backwards compatiblity or sends something unexpected. My thought here is that if the checks fail, I can send the message directly into the DLQ. Because if I ignore the failing checks and queue the request, the queue handler will repeatedly fail until the message hits the DLQ anyway. This PR allows me to skip queuing a message that I know will fail, and immediately send it to the DLQ to be reviewed manually later.

@mckalexee
Please see Kaan's message above.

Conceptually I view DLQ messages being messages that have some unexpected exception when trying to handle them.
Specifically, when trying to process a message something truly unexpected happened that isn't a part of the normal control flow for a handler.

Alex, the use case we need this is exactly as you have described above.
The data for the queue handler is coming from a 3rd party. We have no control over this data.
We expect the event object to have a specific specific shape and properties.
Since we do not have control over what the 3rd part sends us, they could change the object. When this happens we do not want to return back an error. We want to acknowledge the request with a 200. Then send the data to DLQ so that we can handle it individually.


Cookbook: creating a custom directive for scroll events

This cookbook example shows how you can coordinate animations triggered on scroll with the use of custom directives, and then also how to optimize further and pass arguments for repetitive code.

Thanks for the review! I updated the PR based on the suggestions. Also included: the ordering of the cookbook was all over the place, so I updated the entries to use solid numbers in the order that the PRs were received to avoid the collision here. I'll start making sections for them in a subsequent PR.


CLI now supports multiple frameworks (with tests)

✅ Checklist

[ ] I have followed every step in the contributing guide
[ ] The PR title follows the convention.
[ ] I ran and tested the code works

Testing

Run the unit tests pnpm run test --filter @trigger.dev/cli
Run the CLI, using the steps in the Contribution guide

Changelog
The CLI now supports multiple frameworks by delegating much of the responsibility for the init and dev commands to the detected framework.
Support for:

Nextjs
Remix
Astro

Has unit tests for tricky utilities and the individual frameworks.

I'm so hyped about this PR 🚀🚀🚀


Security: Upgrade meow

Type of issue
Security
https://www.npmjs.com/advisories/1753 is problematic due to super outdated meow

My environment

OS version/details: eg.


Updating documentation for 1.7_beta

###Removing the known issue added for JIT-325732. Defect to be closed in 1.7_beta.
Fixes #2395
Suggested Reviewers
@priti-parate @sujit-jadhav

Can one of the admins verify this patch?


[Usage]: How to run VLLM on multiple tpu hosts  V4-32

Your current environment
The output of `python collect_env.py`

How would you like to use vllm
As there is an example for offline inference on TPUs, but it is not utilizing all 4 hosts in v4-32, if I run the code on all hosts , ray detects each hosts TPU resource only, Environment is correct it works for single host but maybe I dont know how to let VLLM detect and use all 4 hosts , I would like to do that for bigger models.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

see https://docs.vllm.ai/en/stable/serving/distributed_serving.html#multi-node-inference-and-serving , you need to set up a ray cluster first.

getting this error @youkaichao  docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
I am trying the docker route, installing with docker , earlier attempt was by handling ray server directly with placement group.
I think this script is not configured for TPU. And thanks again for your help.

Docker vllm-tpu image is running

So , I have tried both methods in run cluster sh , with adding them in resources as well as deleting the resource file but issue persist and when trying to serve it gives this error as follows

I think it may be related to the tpu environment variables used in GKE or gcloud etc for a pod, like  done in
Relevant PR

This is needed for libtpu and TPU driver to know which TPU chip is actually visible. On GKE these need to be set, otherwise the TPU driver will fail to initialize because the number of devices would be different from the number of visible worker addresses.

any ideas @youkaichao

@sparsh35 did you succeed eventually? I followed your leads and managed to run inference on a v4-16 with the following changes:

add --privileged to the docker run command in run_cluster.sh
capitalize the tpu key in resources (so --resources='{"TPU": 4}')


Bump version.

Bump version in mix.exs file.
Forgot to do this and tried to publish a GitHub release... whoops, but Hex caught the mistake for me!

@snewcomer if you don't mind, I actually can't merge this PR without a review and I can't review it since I wrote it!

@mattpolzin I think you should also add an entry in the CHANGELOG file

@beam-community/team Would someone mind giving me a token thumbs up on this PR? Although I can create releases for this repository, I cannot merge my own PRs without someone else's review :).


fix: NetworkTransform: Check IsClientWithAuthority in OnDeserialize

This is the simplest way I can see to exclude the owner client from server updates when client authority = true:

I'm not sure what this is doing, there is already a  if (!IsClientWithAuthority) check in Update that stops the owner from applying position given by server

I'm not sure what this is doing, there is already a  if (!IsClientWithAuthority) check in Update that stops the owner from applying position given by server

It bypasses DeserializeFromReader and all the code in there, and that sets start and goal which are used in other places, including NeedsTeleport

It bypasses DeserializeFromReader and all the code in there, and that sets start and goal which are used in other places, including NeedsTeleport

DeserializeFromReader just sets the goals, it is Update that uses them, and update already has the IsClientWithAuthority check

DeserializeFromReader just sets the goals, it is Update that uses them, and update already has the IsClientWithAuthority check

Fine - not going to fight over whether spending CPU on DeserializeFromReader for nothing is worth it.

Fine - not going to fight over whether spending CPU on DeserializeFromReader for nothing is worth it.


Compare current CommitToPoly with three other potential implementations

See the following HackMD document.

Useful benchmark but the branch is pretty stale. If we refresh the bench numbers, we can refloat in a new fresh PR.


Can't upload text file using differential expression import on alpha site

Alas, this didn't work either.  Now I feel very depressed, as I was sure this would work. 👎

I might add that the same file uploaded beautifully on the PRODUCTION website.  That made me feel happy 👍

Works fine for me on alpha. Must be a blip.


Missed classes and test cases in OSS

Fixed #165 request

This PR is not needed...please delete it


Predicting other values from the QM9 dataset

Hello!
The QM9 dataset also contains information regarding the atomization energies of molecules. Can we predict those by simply adding to the targets list in main.py?
Also, can you please explain why you add 5 to the target values in [7,8,9,10]?

Hi!

The QM9 dataset also contains information regarding the atomization energies of molecules. Can we predict those by simply adding to the targets list in main.py?

Yes, we actually are predicting those atomization energies instead of the original U_0, U, H, G values as mentioned in the Appendix Section 7.1 of our work, which is also the common approach used in related works.

Also, can you please explain why you add 5 to the target values in [7,8,9,10]?

Since we are not predicting the original values for U_0, U, H, G targets (target indices from 7 to 10 in QM9), we directly add 5 for those target indices to load the related atomization energy targets (target indices from 12 to 15 in QM9).
https://github.com/zetayue/MXMNet/blob/265db785701681bc58a7a34c8ae06b508da3af91/qm9_dataset.py#L78-L94
An alternative way is to call the atomref function to subtract the atomic reference energies from total energies when loading the dataset:
https://github.com/zetayue/MXMNet/blob/265db785701681bc58a7a34c8ae06b508da3af91/qm9_dataset.py#L138-L143

Thank you so much!!

Is there a way to predict multiple values at once? For example, if we wanted our targets to be u_298, h_298, and cv, is there a way to modify MXMNet to do that?

Yes, you can just change the single target input in QM9 to multiple targets, and let the model to output multiple values for each molecule.
For example, to predict u_298, h_298, and cv, the corresponding indices are 13, 14, and 11. The MyTransform function has to be changed in order to load the ground truth multiple targets: data.y = data.y[:, 13, 14, 11]
https://github.com/zetayue/MXMNet/blob/fa1dbc5153d48b7380c9f20da21390e2a5aee8e5/main.py#L65-L68
Then the model should output a tensor of size [N, 3] for N molecules with 3 targets. The following line should be changed to self.y_W = nn.Linear(self.dim, 3):
https://github.com/zetayue/MXMNet/blob/fa1dbc5153d48b7380c9f20da21390e2a5aee8e5/layers.py#L87
By doing these, the output and data.y should all have a size of [N, 3] for N molecules to compute the L1 loss between them:
https://github.com/zetayue/MXMNet/blob/fa1dbc5153d48b7380c9f20da21390e2a5aee8e5/main.py#L117

I tried the modifications that you suggested. However, I don't think it recognizes the change in the tensor's size. I get the following error:
  File "/Users/pratyushavi/Developer/Projects/AAMP-UP/QM9/MXMNet/testing.py", line 143, in <module>
    for data in train_loader:
  File "/usr/local/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/usr/local/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 557, in _next_data
    data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
  File "/usr/local/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/usr/local/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/usr/local/lib/python3.9/site-packages/torch_geometric/data/dataset.py", line 188, in __getitem__
    data = data if self.transform is None else self.transform(data)
  File "/Users/pratyushavi/Developer/Projects/AAMP-UP/QM9/MXMNet/testing.py", line 71, in __call__
    data.y = data.y[:, 13, 14, 11]
IndexError: too many indices for tensor of dimension 2

How do you suggest we deal with this?
NOTE: testing.py is just a duplicate of your main.py with some modifications.

You can try data.y = data.y[:, [13, 14, 11]] or torch.index_select(data.y, 1, torch.tensor([13, 14, 11])). The goal is to get a tensor of size N*3 with the indices.


feat(CategoryTheory/Galois): Fibers are represented by Galois objects

We show that if X is an object in a Galois category, then there exists an object A and a point a in the fiber of A such that A is Galois and that the evaluation map at a from A ⟶ X to the fiber of X is bijective.
This is the main input in the pro-representability of fiber functors.

[x] depends on: #10419

Thanks for the review.

bors r+


Change editorconfig to use 2 space indent for all json files

Simple PR to change .editorconfig to use 2 space indent for all json files since we have package.json, config/properties.json and typings.json using this pattern already.
I think it's fair to keep this stated in .editorconfig.

Coverage remained the same at 100.0% when pulling bde09cda586147300e20eadc801a031422b04dbc on mkxml:editorconfig-change into fa46e27f8935e453518e71956ff82ea8933748c9 on developit:master.

Coverage remained the same at 100.0% when pulling bde09cda586147300e20eadc801a031422b04dbc on mkxml:editorconfig-change into fa46e27f8935e453518e71956ff82ea8933748c9 on developit:master.


Unclear division

Hello! I can't understand, why you in implementation of AAConv2d in initializatioin of self.dk and self.vd use visision by 1000?
self.dk = (out_channels*dk)//1000         self.dv = (out_channels*dv)//1000

Hi! That's a good question. We defined the dimensions for keys, queries, and values as a fraction of the output channels. These were specified as integers in the configuration files (example below), which required division by a constant (1000) to convert them into values between 0 and 1. Hope this helps!
https://github.com/sisl/AttentionAugmentedConvLSTM/blob/d8419b7a628b02ac49e8450deb3d60450c7b2d6b/configs/PredNet_with_SAAConvLSTM_Kitti.yaml#L12


Hive fails to return data when es.output.json is enabled.

When the EsSerde object used for the Hive integration receives data to be deserialized, it automatically assumes that the data is a Map object. In the case that es.output.json is set to true, the data that is received is a Text object that contains the raw JSON data. This causes a class cast exception during the execution.

Fixed in 5.1.1


htdocs/static/img is not saved in git repo causing tests saving to static/img to fail initially

I think we should save the unedited sample pictures in static/img to save the directory in the repo

I agrree. Should we have an output directory to view the edited images, something like /out maybe?

@willpatterson We could save the htdocs/static/img directory by putting .empty in it?

#22 Should fix this issue.


A11y_MySQLextensionforAzureDataStudio_Connect to a MySQL Server_I want to connect to a MySQL Server by providing server and authentication details so that I can manage it_VoiceOver: Voiceover is not announcing the "Connection Details" section name when voiceover focus is on the first field of section.

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHub Tags:
#A11yMAS; #A11yTCS; #A11ySev2; #GH-MySQLextensionforAzureDataStudio-MAC-Mar23; #MySQL extension for Azure Data Studio; #Screenreader; #VoiceOver; #Benchmark; #WCAG1.3.1; #Info and Relationships; #Benchmark; #FTP; #MAC; #AILimited; #Element:Dropdown; #A11yWCAG2.1;
"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility or the Divisional Driver."
Environment and OS details:
Application Name: Azure Data Studio
Application Version: 14.2.0
Operating system: macOS Ventura (Version 13.3)
Screen Reader: Voiceover.
Pre-Requisite:

Install Azure data studio From here https://learn.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver16&tabs=redhat-install%2Credhat-uninstall
Once installation done , Install MySQL Extension in Azure data studio
Tab Till new connection and press enter
Enter a valid server name username and password and press connect

Repro Steps:

Launch Azure Data Studio.
Select the Connections icon (if not already selected) from left bar.
Hover over the 'Servers' header and select the 'New Connection' icon.
Select server type as MySQL.
Turn on voiceover.
Tab to "Connection type" dropdown present in the "Connection Details" section.
Now check that Voice over is announcing the section name or not.

Actual Result:
Voiceover is not announcing the "Connection Details" section name when voiceover focus is on the first field of section.
Expected Result:
Voiceover is not announcing the "Connection Details" section name when voiceover focus is on the first field of section.
User Impact:
Screen Reader users will not be able to understand in which section the focus is there if the section name is not announced.
Attachment:
https://user-images.githubusercontent.com/91586743/229107313-75aa7923-cfea-4526-bdc0-4afd39d765b1.mp4

This issue is external to MySQL extension as it is a common feature of Azure Data Studio.

@nitishsharma25
As per the external bug process we have to log external bugs to MySQL extension. Please reactivate all the bugs and share all the details like VSO, area path details to log an external bug

Logged External bug - https://github.com/microsoft/azuredatastudio/issues/22680
We have follow External process for this bug We will act on this bug once external bug is fixed and closed. Please don't close the bug.

@Raghu-addepalli could you please share an example that meets the requirement? I want to see how it is implemented.

@nitishsharma25
the section name is not announcing by voice over, when we are using the arrow keys "connection Details" is not getting voice over focus.
it is getting voice over focus and announcing by voice over then it is fine.

verified the issue in below version, issue is Fixed Hence closing the Bug and added attachment.
Version details:
Version: 1.45.0-insider (Universal)
Commit: https://github.com/microsoft/azuredatastudio/commit/f7bc38d552e2cfbd7e8cadcf6cb40ed5f7cf9066
Date: 2023-05-09T05:57:43.872Z
VS Code: 1.70.0
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.4.0
Uploading 197_Fixed (2).zip…


Robot Icon v2

Icon Request

Icon name: robot-2
Tags of this icon: robot, ai
Use case: an application making use of AI
Additional Description: The current robot icon is very rounded. I'd love if remixicon had a square-faced robot icon. Examples of square-faced robot icons are given in the screenshots below.
Screenshots of similar icons:

Turned out amazing, thanks a lot @xiaochunjimmy


Chain prefix input component addresses

Fix the tests that were not expecting a chain prefix in the <Input /> component

You have failing tests on this branch.

You have failing tests on this branch.

Yes, I am on it. Will make the PR  a draft meanwhile

The failing test originated a new bug as it is a regression in the input component.

Here is the report of the input that is not working properly in the AB: https://github.com/gnosis/safe-react/issues/3131


golangci-lint round #3

this is the third round of preparing to use the golangci-lint on our
code base.
Signed-off-by: baude<EMAIL_ADDRESS>

/lgtm


New version: LiErHeXun.Quicker version <IP_ADDRESS>

Created by 🥟 Dumplings in workflow run #6502.

Log
Updated: <IP_ADDRESS> → <IP_ADDRESS>
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854


Have an exported AuthClient type (analog to the Auth exported type for server-side)

Is your feature request related to a problem? Please describe.
I would like to factorize an instance of authClient created by createAuthClient({ baseURL })
Describe the solution you'd like
Have an exported AuthClient type, analog to the Auth type for server-side.

You can just use ReturnType<typeof createAuthClient<any>>, but I still wouldn't recommend inferring the auth client like that, as it relies on a lot of generic inference. (same for Auth)

Thank for the tip.


chore(deps): bump rich-domain from 1.23.3 to 1.23.4

Bumps rich-domain from 1.23.3 to 1.23.4

Hey @GaetanCottrez I noticed that you forgot to update the dependency in some sub-packages. That was my mistake, and I didn’t document or communicate this earlier. To clarify now The rich-domain library has two supported versions: v3.x and v4.x.
For version v4, it is necessary to update the rich-domain dependency in every sub-package that uses it, found under /packages/*. For example, in the email package, which can be installed individually:
You’ll need to update the peerDependencies section in:
/packages/email/package.json

After updating the package.json for all relevant sub-packages, the core package should also be updated:
/packages/type-ddd/package.json

For version v3, I will handle the update, as this version is maintained on a specific branch (v3.x). For v3, it only requires updating the package.json at the root of the project.
Could you please make these adjustments for version v4? Let me know if you need any further information!

Ah, my bad!
I didn’t notice that 'main' was version 4.
I’ve taken care of it.
Quick question: when do you plan to release v4 on NPM?

The v4 has already been published under the @type-ddd/* package structure. However, compared to the original types-ddd package, this is more of an initial release (currently version 0.0.x) for the @type-ddd organization.
I believe there’s room for improvement in terms of how we handle versioning across the packages in this structure.
If you have any suggestions on how to improve this process, I’d be happy to hear them!
You can check it out using the following link:
npm package

@4lessandrodev Before starting, please feel free to reach out to me for any improvement requests.
And once again, a huge thank you for your work and for this library, truly! I use it in many projects and on a daily basis.
Here are some ideas for improvements and greater clarity.
Dependency Management
So, I don’t know exactly how Lerna works (I’m a user of Turbo created by Vercel), but for example, with Turbo, you have two strategies for managing dependencies:

Either you assume that all your packages can access your dependency (in this case, rich-domain), so you just need to add the dependency in the root package.json (and not in the individual package.json files of the packages).
Or the dependency is used only by one package (or 2 or 3, but not all packages), in which case, you should add the dependency only in the package.json of the specific package (and not in the global package.json of the repository).

For version 4, I noticed that all your packages contain rich-domain except the logger package. If you were using Turbo, it would be wise to remove the rich-domain dependency from the packages and keep it in the root package.json of the repository.
Even if logger could technically use rich-domain (which wouldn’t make sense), it won’t affect the build or the size of this package's build.
I don’t know if Lerna adopts the same strategies as Turbo, but if it does, I would advise keeping the dependency only in the root package.json, which will make version upgrades easier instead of having to change every package.json.
Managing v3 and v4
If v3 and v4 offer the same features and it’s just a matter of restructuring the repository into packages, then it might be wise to consider deprecating types-ddd and communicating the migration to @type-ddd/core, to stop maintaining both versions. If necessary, you could provide documentation for migrating from v3 (types-ddd) to v4 (@type-ddd/core).
Example App Based on types-ddd and @type-ddd/core
I’m not sure if it would be beneficial to consolidate your example repositories (finance-project-ddd, simple-ddd-app-example, ddd-app, ddd-demo-youtube) into an examples folder in your repository or to add links to all these repositories in your documentation (currently, only the link to ddd-app is there).
Because from my own experience, I had to look through your GitHub profile to find the examples and see how each mechanism of your library works in different contexts (especially to implement a Domain Events system with Redis Queue or SQS in my use case).
What do you think about that?


More customizable UI colors and fonts

Light and dark default UI modes for Cards/ButtonPanels/Prompts are great, but it would be great to have an option to customize these further to have a more unique style in certain scenes. In particular, it would be great to customize font colors, border colors, and main body colors, as well as font styles if possible.
(Requested by ARENA-ETC team.)

This should be fully resolved clientside as the args just get passed through from arena-py args as documented in arenaxr/arena-web-core#617
Leaving this to close out by @johnchoi313  if that is sufficient explanation


Handle WalletNotLoaded error

Appears as ValueError: Couldn't find wallet: lbrytv-id.xxx.wallet. in the SDK logs

Problem seems to be recurring, need to investigate more.


NBT.stringify does not accept arrays

NBT.stringify is not typed to accept arrays, but it works at runtime.
/**
 * Argument of type 'string[]' is not assignable to parameter of type 'RootNBT'.
 * Index signature for type 'string' is missing in type 'string[]'
 * ts(2345)
*/
NBT.stringify([ "hi" ])

Why would you want it to accept arrays?


Index is always highlighted as the active page.

No matter which page I'm on, the index always has the menu__active class on it. Maybe write a JS function that checks the URL?

I fixed this issue in the latest commit that has been submitted as a pull request. If you have any questions, let me know!  Feel free to close this if you feel comfortable with the changes. Otherwise, I'll just keep going on my fork.  This is a great project!

I think you'll be looking to carry on with your fork - I'll probably switch to using your fork too :) see the issue #5 that I suggested a JS fix on for the same problem, creator isn't amenable to putting it in.

Oh - interesting. I didn't see that. I assumed it was just something that hadn't been done yet. Yeah, I'll continue work on my fork then. Feel free to contribute - I'm probably going to change out some of the icons in favor of either icono or fontawesome.

I'll leave this open in case the original repo creator wants to comment on this issue.

Issue is solved with the new {{navigation}} helper added in Ghost 0.5.9 - support is available in the newly released v.1.3.0 of the Portfolio theme.


Investigate adding a JS error tracking service

via https://www.getsentry.com/welcome/

I am concerned about privacy for users.  Is there something that can collect this information when they file a bug, that would feel better.


workflows: update apache yetus to 0.14

Update Apache Yetus for supporting Golang generics
Signed-off-by: Insei<EMAIL_ADDRESS>

LGTM


Raise error for unknown parameter_values

added else statement to inform user of an invalid parameter set
Description
Added else statement to inform user of an invalid parameter set in parameter_values.py
In response to #3063 - Raise error for unknown parameter sets
Fixes # (3063)
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all
[x] The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Ran unit tests, FAILED (failures=1, skipped=62)
FAIL: test_symbol_visualise (test_expression_tree.test_symbol.TestSymbol)
Traceback (most recent call last):
File "C:\Users\tom.maull\Desktop\PybammDev\PyBaMM\tests\testcase.py", line 29, in wrapped
return method(*args, **kwargs)
File "C:\Users\tom.maull\Desktop\PybammDev\PyBaMM\tests\unit\test_expression_tree\test_symbol.py", line 393, in test_symbol_visualise
self.assertTrue(os.path.exists("test_visualize.png"))
AssertionError: False is not true

Doc test result:
(pybamm) C:\Users\tom.maull\Desktop\PybammDev\PyBaMM>python run-tests.py --doctest
Checking if docs can be built.
Traceback (most recent call last):
File "C:\Users\tom.maull\Desktop\PybammDev\PyBaMM\run-tests.py", line 427, in
run_doc_tests()
File "C:\Users\tom.maull\Desktop\PybammDev\PyBaMM\run-tests.py", line 68, in run_doc_tests
p = subprocess.Popen(
File "C:\Users\tom.maull\AppData\Local\mambaforge\envs\pybamm\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\tom.maull\AppData\Local\mambaforge\envs\pybamm\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

@all-contributors please add @tommaull for code and tests

changelog updated - sorry about that!


[Hardsuit] Brigmed hardsuit

About the PR

Adds a hardsuit for the brig medic, it will spawn in the Warden's closet, in the amount of 1 piece.
Media

I made the glow of the helmet more transparent and smaller, the picture is the first version

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: PuroSlavKing

add: Added brigmed hardsuit.

sounds like it should be mapped in or something the warden already has a hardsuit in their closet
lockers are already pretty bloated as-is

it looks good but im not sure i see the purpose of this on our codebase as it is right now (maybe brig med could be a map specific job and this could be included with it?)

While the mappers put the brigmed hardsuit on the map, all the brigmedics will die of old age, and therefore the hardsuit will always be at Varden's hand, and Varden will be able to hand it over to the worthy at any time.

well, after all, they found meaning in the paramedic's spacesuit :)

Puro, tvoi scafandr ahuitelen, ya konchil pri prosmotre na nego

Puro, tvoi scafandr ahuitelen, ya konchil pri prosmotre na nego

sounds like "your suit is cool, I cum when looking at it"

Please only type in english, also that comment is eyebrow raising.

it looks good but im not sure i see the purpose of this on our codebase as it is right now (maybe brig med could be a map specific job and this could be included with it?)

almost everything I wrote before the conclusion is the ravings of a madman, you don't have to read it.
So, I have prepared myself, now I am ready to tell everything from the very beginning of the universe. It all started from the moment I saw a poor brig medic who was dying in depressurization during an attack by nuclear operas....
no, no, it doesn't sound pretentious, he was dying in a security service hardsuit, absolutely without style....
Hell, it doesn't fit either... Oh! It all started from the moment I saw the poor brig medic, in survival mode, he was unable to treat the clown corny after bullying officers... I won't even talk about the treatment of officers, because the brig medic himself was simply infected without stopping with all the existing viruses that the officers so carefully brought, and the brig medic inherited viruses to other officers and prisoners. And I found a solution to this problem, add a brig medic hardsuit, you ask "why* does he need a hardsuit if this profession doesn't even exist"*, the answer is easy and simple, it's exactly the same profession as a paramedic (I don't know what the problem is with officially adding them, it can be done in literally 20 minutes, more already they offered to add a paramedic, but it's not my business to go where it's not necessary).
Well, combining all of the above, I can highlight a few points:

This will improve the experience of playing on the brig medic, because now you don't have to be the main link of the epidemic.
This will diversify the gameplay of the security service, and people who prefer medicine rather than beating clowns will be motivated to become a guardian angel of the brig. In a word, popularizes the role of the brig medic.
It turns out that we are improving the antagonists, improving, and the security service continues to stagnate, the most significant improvement of this department was at the moment of adding wardens hardsuit, after that there was a lull.

(and I am also sure that this role will appear officially sooner or later, and that's what happiness, the brig medic will already have a hardsuit, like a paramedic)

If you make a proper brig medic role I can merge this and we can use it as a map specific thing for high pop stations.

If you make a proper brig medic role I can merge this and we can use it as a map specific thing for high pop stations.

do you mean to create a role with a spawner and starting gear? In principle, it's not difficult for me, the main thing is to say that it will be merged, so that I don't try in vain :)

Then you should start a discussion or/and ask on Discord.


can you also add sync for tasks.json and my local launch.json is not synced

Visual Studio Code Version : [ 1.0.0 ]
can you also add sync for tasks.json and my local launch.json is not synced

Adding custom files are planned for future releases.
Can you tell me how your local launch.json is not synced
Did it give any error message in VSCode. ? Share the develop console error message.
have you checked that its been uploaded correctly in your github gist.

i mean in-project-folder settings which is inside the .vscode both tasks.json and launch.json are inside my project folder

I'm sorry , this extension is limited to only general visual studio code settings.
Its a good idea indeed, I'll soon write new extension for this future when i had time.
Meanwhile I'll closing this issue, let me know if u get any problem using the features


pace progress hangs at 98% when websocket open

+1, even if trackWebSockets: false

ignoreURLs: [/websocket/] worked for me.  Can confirm trackWebSockets: false did not work


Bookmark folder icon invisible

Bug that I noticed: (with the exception of the bookmark bar) folder icons aren't visible.
To reproduce:

Create a folder
Create a folder inside that folder

The second folder's icon is invisible.
(also, unrelated but I noticed the new update makes incognito mode's URL bar white whereas in the old version the incognito mode would remain dark regardless of theme)

Can you send a screenshot? I'm having trouble reproducing this.

I'm on the latest Chrome and latest macOS btw

I have same issue on Chrome 69 MacOS 10.13.6
Demo: http://prntscr.com/ks3g5e

That's not what I meant, I meant something like this:

So I can compare Windows 10 vs macOS on how favicons look within nested folders.

I'm using Chrome's Dev channel and I think they fixed this in the last update.
It was happening in the official Incognito mode and now the folder icon is there.

@mmakarios, could you install my theme and check in Chrome Dev to see if this is fixed? If so, I'll feel confident enough to close this out.

Forgot to mention that I already use your theme. Yes, it is fixed!

Great, I'll mark this as closed then.


add support for explicitly specifying some artifacts to add

The 'rice' gem has bunch of files in ruby/lib that is not part
of the gem proper - it is to be used by the libraries. It's
obviously a misuse of the Rubygems system, but a useful one
so far.
This adds the --artifact PATH argument that allows to:

add a file explicitly
add a complete directory tree

Hello @doudou, thank you for your PR and providing the background of this request.
I haven't looked into the code yet but planning this weekend. Will also try to correct the CI issues so is no longer showing incorrect errors.
Thanks for your patience.
Cheers.

Hi Luis.
Heads up that I'm already preparing a v2 version of this PR ... I never realized how powerful Dir.glob is, and am thinking of directly allowing passing globs instead of files.

Updated ...

Hello @doudou, thanks for your patience.
Been looking at this change over the holidays and this might clash or could be refactor so --include-shared-dir can reuse this pattern globing option.
Will work on this over the holidays and submit an alternate version.
Cheers.

Hello @doudou, thanks for your patience.
I was working on a different approach on this and wanted to check with you the exclude pattern functionality.
From this PR, you're removing files from artifacts, which is by default the platform specific files that were collected, but not necessarily impacting the files that are included in the gem package.
Should include and exclude patterns be applied to the final list of files and not just the collected artifacts? I'm seeing an scenario for this like the following:
$ gem compile mygem.gem --exclude 'ext' --exclude 'spec'

Let me know your thoughts.
Cheers.

Should include and exclude patterns be applied to the final list of files and not just the collected artifacts? I'm seeing an scenario for this like the following:

I don't see a problem with that.

Excellent @doudou, wanted to confirm since your current PR applies this to collected artifacts and not all the files in the gemspec.
Will submit an alternative version in the upcoming days to address this.
Thank you for your patience and responses.
Cheers.