text:
Issues with Long Pathnames

There are still issues with long pathnames that we should address.  This issues result in CMake errors such as:
**The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX)
Potential solutions:
For users:

document how to extend the PATH limit to 1024 characters (may require changes to some Windows registry settings) and set CMAKE_OBJECT_PATH_MAX to this value.  See also: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/The-Windows-10-default-path-length-limitation-MAX-PATH-is-256-characters.html

document guidelines that explain that path length limits may apply when long filenames are chosen.

in CMSIS-Toolbox 2.0

Try to reduce the path components in the tmp directory, i.e. instead of:
C:\w\AWS_MQTT_MutualAuth_SW_Framework\tmp\Demo\WiFi\Release\CMakeFiles\Demo.Release+WiFi.dir\....

Just:
C:\w\AWS_MQTT_MutualAuth_SW_Framework\tmp\Demo\WiFi\Release\CMakeFiles\dir\....

Use relative paths in build script, i.e. instead of:
set(PRJ_DIR "C:/w/AWS_MQTT_MutualAuth_SW_Framework")
set(OUT_DIR "C:/w/AWS_MQTT_MutualAuth_SW_Framework/out/Demo/WiFi/Release")
set(INT_DIR "C:/w/AWS_MQTT_MutualAuth_SW_Framework/tmp/Demo/WiFi/Release")

Just:
set(PRJ_DIR ".")
set(OUT_DIR "./out/Demo/WiFi/Release")
set(INT_DIR "./tmp/Demo/WiFi/Release")

It seems enabling the long path in Windows is not sufficient for some tools.
For example armlink complains about a missing object file:
Fatal error: L6002U: Could not open file CMakeFiles/fxls8974cf_motion_wakeup.debug+frdmk22f_a8974.dir/a6d0b102fc087752ef65621176909b6b/fsl_component_generic_list.o: No such file or directory

Even if the file is there:
$ less CMakeFiles/fxls8974cf_motion_wakeup.debug+frdmk22f_a8974.dir/a6d0b102fc087752ef65621176909b6b/fsl_component_generic_list.o
"CMakeFiles/fxls8974cf_motion_wakeup.debug+frdmk22f_a8974.dir/a6d0b102fc087752ef65621176909b6b/fsl_component_generic_list.o" may be a binary file.

For the time being to cope with such limitation paths leading to object files should be kept as short as possible, for example by customizing intdir or by using the csolution --output option.
The "use of relative paths in build script" doesn't help, CMake always generates full path for object files, independently of source paths being relative. From CMAKE_OBJECT_PATH_MAX:
CMake computes for every source file an object file name that is unique to the source file and deterministic with respect to the full path to the source file. This allows multiple source files in a target to share the same name if they lie in different directories without rebuilding when one is added or removed.

well, I'm jumping here to highlight that a fix from ninja side is merged upstream.
internally we switched to latest ninja master branch, and it resolved our issues with long path.
please refer to: https://github.com/ninja-build/ninja/pull/2225
any way, optimizing the generated paths into the generated cmakelists is more than welcome.

@tarek-bochkati looks like no official release of ninja was made since this change got merged.

I'm trying to address this with documentation, but run into issues.
My attempt:

create directory with name: "C:\w\A1234567890B123456789C0123456789D0123456789E0123456789F0123456789G0123456789H01234567890IH01234567890JH01234567890"
Checkout to this directory: https://github.com/RobertRostohar/NXP_Sensor_SDK
Enable long pathname support as documented here https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation
Add to AC6.6.19.0.cmake: set(CMAKE_OBJECT_PATH_MAX "1024")
Run with VS Code extensions:  examples\issdk\sensors\fxas21002\fxas21002 - Target: frdmk22f_agmp03 - Build: debug - Project: fxas21002_fifo

This ends  with a ninja error at this command:
cbuild c:\w\A1234567890B123456789C0123456789D0123456789E0123456789F0123456789G0123456789H01234567890IH01234567890JH01234567890\NXP_Sensor_SDK\examples\issdk\sensors\fxas21002\poll_spi\fxas21002_poll_spi.debug+frdmk22f_agmp03.cprj

can confirm that new ninja version would solve the build issue.  Remaining issues are described here #838

See https://github.com/Open-CMSIS-Pack/devtools/issues/838.

authors: ReinhardKeil brondani jkrech tarek-bochkati

repo: Open-CMSIS-Pack/devtools


text:
Onnx example

Onnx allows users to create their models in e.g. tensorflow or pytorch and then save them to a common file format. They can then be executed in an openEO UDF without needing to provide the original libraries as dependencies.
https://github.com/Open-EO/openeo-geopyspark-driver/issues/543
https://onnx.ai/

Don't have funding for this work, so removing myself from assignees.

@JeroenVerstraelen  it seems like these comments are easy enough to fix, can you have a look so we can merge this pr?

source: gharchive/pull-request

authors: JeroenVerstraelen jdries m-mohr

repo: Open-EO/openeo-community-examples

license_type: permissive

license_source: github-api


text:
Update citations of MSS

https://gmd.copernicus.org/articles/15/8983/2022/gmd-15-8983-2022.html
is published and we have to add it to docs and MSUI about

@ReimarBauer I will work on this.

Do I have to include the whole article in a separate file or just update an existing one?

Or maybe just link the whole article in the publication section of the docs.

Not the article but how it could be found, similar to the first one, see https://mss.readthedocs.io/en/stable/

@ReimarBauer I created a PR please check.

source: gharchive/issue

authors: ReimarBauer rootxrishabh

repo: Open-MSS/MSS


text:
This should fix deployment

After toying around with the build.gradle, I think I've found a way to fix the deployment issues experienced in 2017.3.x builds. Fixes #6

Ahh, doh! Thanks for keeping an eye on that. Looks like I changed it in the java version of GradleRIO, but not on this repo. Use GradleRIO-C 2017.3.3. It should be updated shortly

Oddly enough GradleRIO (java) was throwing issues running gradlew publishPlugins, while this one seemed to just fail silently. :thinking:
Either way, it's out of my control. Thanks for the fix, 2017.3.3 is published and should be usable now

authors: JacisNonsense Redrield

repo: Open-RIO/GradleRIO-C

license: mit

license_source: bigquery


text:
Complete Redesign of the Contact Form component

Total Redesign of the footer component

Please add more details to your issue and use the issue template that we have. A similar issue is posted in #45

@BatoolMM  I would like to close this issue as I will not be working on it. It is a duplicate

You can close any duplicate issue @okerekechinweotito by clicking on "close with comment". Please close any duplicate issue you have!

authors: BatoolMM okerekechinweotito

license: MIT


text:
连续采集过程，勾选/取消，彩色模式，2D图出现花屏异常，采集结束后会恢复正常，建议可以加限制：采集过程不让切换

客户端版本:LUMOS version:278d68a commit: 2023-11-0910:47:23 build:2023-11-09 11:10:12
固件版本:LUMOS version: 278d68a commit: 2023-11-0910:47:23 build:2023-11-09 14:19:21

Lumos-v1.1.0-854a14c 验证已改善
采集过程禁止勾选/取消彩色模式


text:
[Item] Eldritch Sword.

Keep in mind that dev can change any part of item while implementing in.

Recipe:

Iron talon
Sange
Morbid mask

Stats:

Lfesteal
Armor
Attributes

Abbilities:
Graiter Maim: [Passive] Stronger version of Lesser Maim.
Graiter Quell: [Passive] Stronger Quell, grants splash effect on hit.

Can work only on creeps if too strong.

Oblivion Strike: [Acktive] Deal 15% of target current hp as pure damage to it. Heal same amount.  Can overheal creating shield. Max hp of shield is 300. Deals 50% of current hp if target is a creep. If target is creep cooldown is significantly shorter.

numbers are just for example to visualise how powerful item is in my mind.

Lore Description:
Sword made by Grandmaster of Oblivion Arts. Burried in Altair with his body abbadoned by new master survived conflagration only thanks to his powers.

Item is 100% in symbiosis with Dota 2 lore. Description and item name refers to pugna lore who in short was new Grandmaster of temple of Oblivion arts he burned it up.  Name of previous Grandmaster is reviled in description of Oblivion staff. Also Abbilities of that Sword is in symbiosis with lore when you compare abilities pugna learned in temple and abbility (nether blast is only one abbility that pugna was knew before, with high probability he killed other 2 children's with it) of Sword is high probability that if such item would existing it would be there. Only thing that description adds new is that Sword survived because of reapering itself with souls of regends dying in flames, with is pretty dark back story for weapon with is common in dota 2 lore, for eg. Demon's edge.

only change i would make is if it is used on a hero, then the max shield is 500, and if it is used on a creep then the max shield would be 250. I would also make it a drain, as in over X amount of seconds you drain XX% of the targets current hp, and you gain the shield over those few seconds.

15% HP ure damage on a hero should not be an instant ability. especially if it's a drain. We're talking half a laguna blade on a tanky hero.
I like the idea of it being a gradual drain; I also support making it magic damage.

@Haganeko take in mind that is current hp not a max hp.  That is significantly weaker also incantation would completely destroyed the item. And i puted 15% because it looks good,  in true i was thinking about 12 or 13 percent.  15 is slightly too much but it looks better. With shield i also doned same thing. And 12% of current hp is not that much.  In order to kill someone only with that if it would be max hp i would take around 8 uses in case that it is current hp and modify that to kill if target have 1hp left (in way it is now would take infinite uses to kill someone only using that abbility) it would take probably more than 60 uses( if you want you can calculate that, i have no feeling for that). Also when teamfight is on whois running with full hp? Even if you use it on tank who have full hp and you almost dying, you still need to deal him a tone more damage to kill him. Also for that is that additional health cup so you cannot go for like 5k additional health. That item have two usses. For dealing damage or too keep yourself alive.  it's very good ganking item cuz deal a lot of damage to full hp heroes. It's good for surviving ganks. To have benefits from that item you definitely need use brains. It might seem op on paper but it is not that strong in reality.  If it had only that abbility it would be actually trash item. Dealing splash damage and slow is more powerful than it seems on paper.  In 1 v 1 situation if you not overpower power enemy yourself you will not make much of a difference even with that item cuz you cannot use it for surviving. (using that on enemy that have like 300hp will damage/heal for like 39.  it's not that much)  and to be honest it is a good item don't get me wrong but when you put numbers it's could even take a buff. 12% from 1700hp(most of heroes mid to late game)  is around 204. And you want to make it magical so with basic 25% reducktion it would be like 153 damage / heal. Actually i think it definitely need a buff to like around 23% to be somewhat useful abbility.

I say make it magic damage and we can balance it later.

@Haganeko if you want so, just keep in mind that item was meant to be a farming item (like  bf) but with survival/ganking potential. Also to counter tank heroes, they usually get pretty nasty in mode like that. U know,  bristle, timbersaw or beast master(he's not rly a tank in dota but depending that he can do early strong ancients he usually is pretty tanky)

Iron Talon is not even a thing anymore, and this starts to look a lot like the new MKB. Closed.

authors: Haganeko Vafnar Wujekklawy

repo: OpenAngelArena/suggestions


text:
Rename userscript.js to Userscript.user.js

Userscript managers will detect these automatically when viewing the file raw

If doing this, rename it to something like arrpc.user.js instead of a generic name?

Agreed! 👍

authors: AKASGaming CanadaHonk

repo: OpenAsar/arrpc


text:
Added tcl tests for string

fix #1605

请将无法通过的 case 添加至 #1605 的待修复列表中，以便后续跟进修复。

authors: Mixficsol machinly

repo: OpenAtomFoundation/pika


text:
Right click to show app menu in Windows

Currently the code to show the app menu in start.js doesn't work on Windows, it should show the menu on a right click.
It will probably work similarly to v1:
ipcMain.on('contextmenu-click', function() {
  menu.popup();
});

closed via #453

authors: jjeffryes rmisio

repo: OpenBazaar/openbazaar-desktop


text:
Remove None as a scheduling option

Fixes for issues #372 & #373.

Callback changes:

Eliminated Callback::Schedule::None alternative. Optional schedule now is stored instead.
Added new Callback::Arg struct - parameter of the Callback::Function. Contains:

exec_time - scheduled execution time of the callback
approx_now - actual (approximated) time of the execution

Introduced Callback::Interface

has bool schedule(const Schedule::Variant&) method.

IExecutor changes:

Removed scheduleCallback method. Now scheduling done via callback interface.

SingleThreadedExecutor (and its derived PosixSingleThreadedExecutor) don't rely anymore on unsafe Callback::Handle and reinterpret_cast-s. Strong typed Callback::Interface is in use instead.

Also:

simplified RTTI usage (give up usage of cetl::rtti_helper which is not really helpful)
other minor fixes (based on previous PR review notes)
latest toolshed v 22.4.8

Coverage:

We should be removing MonotonicClock::now() because we now have IExecutor::now().

Yup, I remember about this - I wanted to introduce ITimeProvider in a separate PR. I believe it's better to have now() in separate interface (b/c one could be interested only in this functionality but not whole executor), and IExecutor will inherit from such ITimeProvider.

repo: OpenCyphal-Garage/libcyphal


text:
Enable "vz" vm-type for MacOS CI

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
Current Action Link
Error: msg="[hostagent] QEMU did not exit in 3m0s, forcibly killing QEMU"
Related issue: https://github.com/abiosoft/colima/issues/777

In PR #2499, got the above error once and the below error twice. And the runner get Intel images only and not ARM.
Error:  msg="did not receive an event with the "running" status"
Related issue: https://github.com/abiosoft/colima/issues/629
Give a brief summary of what the PR does, explaining any non-trivial design decisions
So, as suggested in https://github.com/abiosoft/colima/issues/629#issuecomment-1912389908, Using vz vm-type which seems fast which requires mac os >=13
If this fails too, need to reinstall or upgrade qemu as suggested in https://github.com/abiosoft/colima/issues/777#issuecomment-1878399603
Other references
Flowchart to choose the best vmType

Automatically canceled?

Merged even when it is running because the first attempt is skipped.

Both actions timed out after ~20 minutes at the following step

3rd attempt was not skipped.

repo: OpenDevin/OpenDevin


text:
Code

I haven't understood the code for generating the action yet. Could you please explain it? Thank you

Hi, the code just calculates the mode of the Beta distribution specified by the alpha and beta values. And it then converts the value between 0~1 to -1~1.

repo: OpenDriveLab/TCP


text:
OpenFAST can't find tail fin aerodynamics file (when absolute)

Bug description

OpenFAST gives a segfault or Allocatable argument 'fileinfo' is not allocated when TFinFile is set as an absolute path.
To Reproduce

Steps to reproduce the behavior:

Compile with any compiler
Run Tailfin_FreeYaw1DOF_PolarBased case with TFinFile set as an absolute path
See the error

Expected behavior

Be able to handle absolute path.
Screenshots, if applicable

OpenFAST Version

 **************************************************************************************************
 OpenFAST

 Copyright (C) 2024 National Renewable Energy Laboratory
 Copyright (C) 2024 Envision Energy USA LTD

 This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
 See the "LICENSE" file distributed with this software for details.
 **************************************************************************************************

 OpenFAST-3.5.TEST-1457-g93eeaa47-dirty
 Compile Info:
  - Compiler: GCC version 11.3.0
  - Architecture: 64 bit
  - Precision: double
  - OpenMP: No
  - Date: Aug  7 2024
  - Time: 03:42:12
 Execution Info:
  - Date: 08/07/2024
  - Time: 04:57:34+0000

System Information (please complete the following information):

OS: Ubuntu 22.04.2 LT Docker on Mac OS 13.6.8 (22G820)
Compiler: GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Compiler settings: -DCMAKE_BUILD_TYPE=Debug

Additional context

@mayankchetan Can this issue be closed since #2360 was merged?

Yes!

authors: deslaughter mayankchetan

repo: OpenFAST/openfast


text:
generate load cases

Hi everyone,
I'm pretty new on here,and these days I wanna use openfast to generate load cases but I really do not know where to start,like how to run them one by one or run them in batch,by the way I have all the data needed,I'm sorry I don‘t even know if I am describing  my questions  in an understandable way,anyways it would be so great if any of you can offer me some help like giving me some instructions or tell me where I can find related information I can refer to，thank u so much!

Dear @Unique-Wang,
A similar question was asked and answered here: https://github.com/OpenFAST/openfast/issues/658.
Best regards,

Dear @jjonkman ,
I cant thank you enough for your reply,I'm gonna try it right away.
Best regards,

authors: Unique-Wang jjonkman


text:
Error in worker "ssdp.js" Error: Text data outside of root node.

[2024.01.10 - 21:33.30.700][error][forwarder] Error in worker "ssdp.js" Error: Text data outside of root node.
Line: 1
Column: 15
Char: t
    at error (/home/marc/projects/OpenHaus/!connector/node_modules/sax/lib/sax.js:651:10)
    at strictFail (/home/marc/projects/OpenHaus/!connector/node_modules/sax/lib/sax.js:677:7)
    at SAXParser.write (/home/marc/projects/OpenHaus/!connector/node_modules/sax/lib/sax.js:1035:15)
    at module.exports (/home/marc/projects/OpenHaus/!connector/node_modules/xml-js/lib/xml2js.js:346:12)
    at module.exports (/home/marc/projects/OpenHaus/!connector/node_modules/xml-js/lib/xml2json.js:13:8)
    at /home/marc/projects/OpenHaus/!connector/ssdp.js:88:28
    at /home/marc/projects/OpenHaus/!connector/request.js:108:17
    at IncomingMessage.<anonymous> (/home/marc/projects/OpenHaus/!connector/request.js:40:13)
    at IncomingMessage.emit (node:events:526:35)
    at endReadableNT (node:internal/streams/readable:1589:12) {
  note: Error: Text data outside of root node.
  Line: 1
  Column: 15
  Char: t
      at error (/home/marc/projects/OpenHaus/!connector/node_modules/sax/lib/sax.js:651:10)
      at strictFail (/home/marc/projects/OpenHaus/!connector/node_modules/sax/lib/sax.js:677:7)
      at SAXParser.write (/home/marc/projects/OpenHaus/!connector/node_modules/sax/lib/sax.js:1035:15)
      at module.exports (/home/marc/projects/OpenHaus/!connector/node_modules/xml-js/lib/xml2js.js:346:12)
      at module.exports (/home/marc/projects/OpenHaus/!connector/node_modules/xml-js/lib/xml2json.js:13:8)
      at /home/marc/projects/OpenHaus/!connector/ssdp.js:88:28
      at /home/marc/projects/OpenHaus/!connector/request.js:108:17
      at IncomingMessage.<anonymous> (/home/marc/projects/OpenHaus/!connector/request.js:40:13)
      at IncomingMessage.emit (node:events:526:35)
      at endReadableNT (node:internal/streams/readable:1589:12)
}

Just noticed that it seems like the wrong connector. Why is the connector folder prefixed with !??

repo: OpenHausIO/connector


text:
Don't require ssl for local

Description
Due to a 'get the fix out the door' thing when heroku started requiring ssl for db connections, did not properly account for running locally (e.g. without ssl).  This commit fixes that oversight.
Related Issue
Not officially reported
Testing
ran the server with manage.py runserver
ran automated tests
Signed-off-by: Mairi Dulaney jdulaney@fedoraproject.org

resolved otherwise

repo: OpenHumans/open-humans


text:
[BUILD] OIIO Windows Build System Maintainer

OIIO Windows Maintainer Build Notes *

These notes are for the OIIO Windows maintainer (Robin Rowe) for making improvements and fixes to build system. To document what we're doing. If you have suggestions for Windows build improvements, you may add them to this ticket.
** Overview **
We build on Windows and CI test on Windows -- though just one entry in the test matrix is Windows, it doesn't include all dependencies and so lots of features probably go untested, so some beefing up to do there. Build all dependencies. More CI matrix cases to cover other compiler versions.
** Windows Maintainer Instructions **
Go to https://github.com/OpenImageIO/oiio and "watch" the project, to get email alerts as PRs and Issues are filed. And the OIIO mail list: http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
Build from source on Windows has many issues with documentation at  https://github.com/OpenImageIO/oiio/blob/master/INSTALL.md
It's wrong and outdated. The Windows section needs a complete rewrite once we settle on the best strategy for building dependencies.
In general, the OIIO build scripts work really well and do cross-platform builds. It assumes that all the major dependencies are already installed and accessible, so automating downloading and building dependencies is a goal. Perhaps using cmaker DownloadProject.
Also see https://stackoverflow.com/questions/37091735/building-openimage-io-on-windows
** Windows Package Management **
An issue that comes up all the time is that it's a big pain for inexperienced users to build for Windows, mostly because there are lots of dependencies to cover the many image formats. One cheat is that it's in VcPkg, so if you're already on the VcPkg train, you can just rely on that. But it's harder if you want to build a different version than is in VcPkg, or build with different options, or do development on it. So building from scratch instead of dependencies is still really awkward -- surely some set of much better step by step instructions, or maybe some auxiliary scripts that can largely automate the dependency downloads and builds, would go a long, long way. Without a windows box (or expertise) of my own, I'm just not the one to even evaluate whether beefed up install instructions are hitting the right marks for typical Windows users. I don't know if it's practical or wise, but many people want OIIO but don't really even wish to build from scratch if not necessary, so it may be at least worth thinking about whether it makes sense to host a pre-built binary of major releases?
DownloadProject with cmaker tweaks:
https://gitlab.com/robinrowe/cmaker/-/tree/master/cmaker_lib/DownloadProject
Not yet integrated with cmaker. Plan is that there will be a cmaker command such:
    $ cd my_project_directory
    $ cmaker_depends.sh zlib libjpeg libpng

And that will be all we need to configure our project's cmake build system to fetch and build the relevant 3rd party libs. Magic.
Cmaker DownloadProject will cache per git tag or tarball URL. Won't download what it already has. Then cmake will then detect what is already built, not rebuild lib. What happens if pulling git master for a lib, where sources change? After downloading dependencies, we may switch into Airplane Mode and work disconnected until we tell DownloadProject to check whether dependency sources have changed (by deleting a special generated build file, much like deleting CMakeCache.txt to force recompile).
If cmaker doesn't seem the best approach to downloading and installing dependencies, there's also https://github.com/cpp-best-practices/cmake_template with using CPM https://github.com/cpm-cmake/CPM.cmake. The OIIO project has several hand-crafted bash scripts for doing download/build for CI (or for users) at https://github.com/OpenImageIO/oiio/tree/master/src/build-scripts. Not well tested on Windows.
** Windows Testing and Debugging **
Windows maintainer to monitor:
(a) the PRs, just skimming and being on the lookout for if any of the developers are doing things that seem unwise for windows in particular but don't know it. Maybe we pass CI, but are still digging a hole for ourselves that we don't see because OIIO are primarily Linux users.
(b) issue and mail list triage where users are asking about specific Windows build or to overcome problems to tell them how to get unstuck.
Robin Rowe, April 22nd, 2023

More on cmaker with DownloadProject...
Use it selectively for just the dependencies one needs to build from scratch, with minimal changes to the rest of the build system.
That's the idea. Just works, no changes to the rest of the build system. CinePaint has the same hill of 3rd-party image library dependencies as OIIO. Been working on solving this for a long time. Have many libs working, but not complete yet for all libs (notably TIFF and OpenEXR need work).
A challenge with 3rd-party lib integration is that their maintainers have never tried building their code using add_subdirectory. Their cmake expects to be at the top of the source tree. I install dependencies that I own as subdirectories under cinepaint, don't DownloadProject those for myself, and use .gitignore so I won't pull them into cinepaint git. Built dependencies appear in the Windows sln project window as being part of CinePaint, not separate projects.
    $ cd my_project_dir/build
    $ cmake ..

No special commands from users. As soon as they call make or msbuild, the dependencies download and build themselves before proceeding to build our project and linking to the dependencies built. For each library that CinePaint uses, I specify the git or tarball URL and may write a little patch script to fix up their cmake code.

Summarizing more of the gist of the conversation Robin and I were having over email and transferring it here for any further follow-ups:
Currently, for almost all of our dependencies, the OIIO cmake build scripts simply assume that the dependency is already installed on the system and will turn up in the find_package search (possibly with the aid of setting <package>_ROOT). For many dependencies -- but definitely not all -- we also have src/build-scripts/<package>_install.bash which often will work for users, but are written to be used in our CI on GitHub Actions, so are clunkier and less general and robust that probably is ideal for users to rely on, and also are only present for the dependencies for which we need to install particular versions for our CI.
I really like the idea of migrating to a more principled approach that allows:

Finding a system install or being redirected to a specific one via <package>_ROOT.
Having the option to robustly build any or all of our dependencies with a single command that is more or less bullet-proof and cross-platform (and caches results so that, for example, blowing away the build directory or doing a make clean doesn't necessarily start you at square one), and works just as well and reliably for users as for CI. I think it could also result in our getting rid of a lot of those build helper scripts, which would be obsolete once this is in place.

I'm really looking forward to seeing what Robin proposes as a PR that prototypes his ideas for improving this. I don't know if the work is proportional to how many dependencies it is able to handle, but I think it's very reasonable to get just enough of the skeleton up to handle one dependency (any one) and then make a PR out of that so we can all look it over and comment, rather than going fully down the rabbit hole of chasing every dependency before we can look at the proposed solution and make sure it looks like it'll work for everybody's use cases.

And 1000x thank you to @robinrowe for being interested in tackling some of these issues involving Windows, cross-platform builds, and dependency setup. These are not always glamorous problems to work on, but they are the kind of thing that makes a project like this a well-running operation and for people to have a good user/builder experience. I would love for the portion of issues filed that are "how do I fix this build break" to go way down and for a higher portion of questions to be "how do I do this user task with my working OIIO installation."

As someone who just attempted this a few days ago I can maybe add some additional conversation points.

Yes, I used vcpkg to get the dependencies too. I did this before I lucked out and found that the CI scripts also use vcpkg to do the pre-req installs as well. It allowed me to trim some boost pieces and notice that freetype is also required.  It's a viable option, as you say, if you're happy with the versions available.  I used the vcpkg toolchain file so OIIO cmake could find the libraries which meant I didn't need to use any of the _ROOT variables.
The testsuite seems only runnable on *nix[1]?  I haven't been successful yet in discovering how it runs within CI :). As a Windows dev I'll say the following: I'd like a native Windows experience (no git bash window, no mingw64, no msys2 etc.) if possible

[1] Test suite issues
Has issues starting the test runner:
Process not started
 C:/Users/jesse/source/oiio/testsuite/runtest.py
[unknown error]
1/2 Test #131: png ..............................***Not Run   0.00 sec

When trying to run runtest.py manually you often encounter *nix tool usage:
> C:\Users\jesse\source\oiio\testsuite\runtest.py "C:/Users/jesse/source/oiio/build/testsuite/png" "--devenv-config" "Release" "--solution-path" "C:/Users/jesse/source/oiio/build"

<... some test spew ... but then >
'tr' is not recognized as an internal or external command, operable program or batch file.

Oh, interesting. I don't have a Windows box of my own, so I never get to build and test by hand on Windows to discover these things. The CI test passes, but I can imagine that it could have parts that rely on particular utilities that are pre-installed on the Windows GHA runners but might not be present on a typical Windows machine.

First OIIO dependency I'm looking at is Boost...
% git clone --recurse-submodules https://github.com/boostorg/boost

That tries to pull the whole smash of Boost, which is huge. Yuck. Ok, not doing that. So I cloned just the core Boost (78mb) and then tried building OIIO in Windows gitbash:
% git clone https://github.com/boostorg/boost
% cd oiio/build/x64
% cmake ../.. -DBoost_ROOT=/code/github/boost -A x64

--
-- Boost_COMPONENTS = thread;filesystem
-- Boost library not found
--     Boost_ROOT was: C:/Program Files/Git/code/github/boost
CMake Error at src/cmake/checked_find_package.cmake:177 (message):
  Boost is required, aborting.
Call Stack (most recent call first):
  src/cmake/externalpackages.cmake:65 (checked_find_package)
  CMakeLists.txt:166 (include)
-- Configuring incomplete, errors occurred!

Looking around, found this in externalpackages.cmake:
message (STATUS "Boost_COMPONENTS = ${Boost_COMPONENTS}")
# The FindBoost.cmake interface is broken if it uses boost's installed
# cmake output (e.g. boost 1.70.0, cmake <= 3.14). Specifically it fails
# to set the expected variables printed below. So until that's fixed
# force FindBoost.cmake to use the original brute force path.
set (Boost_NO_BOOST_CMAKE ON)
checked_find_package (Boost REQUIRED
					  VERSION_MIN 1.53
					  COMPONENTS ${Boost_COMPONENTS}
					  RECOMMEND_MIN 1.66
					  RECOMMEND_MIN_REASON "Boost 1.66 is the oldest version our CI tests against"
					  PRINT Boost_INCLUDE_DIRS Boost_LIBRARIES )

So, some Boost build weirdness here for me to fix. Ignores Boost_ROOT. Will give more thought...

If Boost is super onerous, we might consider whether to just accelerate our efforts to  replace the last of the boost use. A quick perusal indicates that we're down to only the following items:

boost::filesystem: Will be removed once C++17 is our minimum and we can rely on std::filesystem. If that's not soon enough, we can consider incorporating one of the many portable single-header filesystem replacements for C++14.
boost::thread_specific_ptr: we'd need to write our own or find a replacement. It shouldn't really be all that hard.
a small number of boost::algorithm uses in strutil.cpp which could probably be easily rewritten from scratch.
boost::stacktrace use in sysutil.cpp: I think there are other libraries (complexity: unknown) that do the same thing. In the much longer term, I think this functionality is included in C++23. Since this is a debugging aid, it may also be acceptable to only enable it if boost is found and just #if it out in cases where boost isn't available at build time.
boost::flat_map and flat_set: there are many single-header equivalents or we could roll our own, should be easy for the fairly limited functionality we require from it.

Looks like that's actually all the boost uses that I haven't removed already?

+1 for making the push to remove boost entirely. Its the first "no-go" to adoption in many fields (particularly game engines).

There is no boost in any of our public headers or APIs. Working around the use of boost in this handful of cases is a purely internal change, and one that could even be backported to the release branch, since no APIs or ABI would change.

authors: fpsunflower jessey-git lgritz robinrowe

repo: OpenImageIO/oiio


text:
The library may not have been found

cd directory
cmake
make
Cycles requires WITH_OPENIMAGEIO, the library may not have been found.
Configure OIIO or disable WITH_CYCLES
how do i fix this i am trying to compile blender
and i don't want to disable cycles.

No reply or follow-up. Closing.

authors: Thegoodartist lgritz


text:
Added support for setting BSONDecoder.userInfo

This is a slightly modified version of the previously submitted and withdrawn pull request: https://github.com/OpenKitten/BSON/pull/44
This change enables application developers to set BSONDecoder.userInfo. A test was added in BSONCodableTests and it passes on High Sierra but it appears that none of the BSONCodableTests run on Linux so it has not been run there.
It also includes some changes to the original pull request:

It includes a test demonstrating that either a concern raised for the original pull request ("userInfo is passed to sub-decoders but not back up") is either not an issue or that I don't correctly understand the issue.
Minor access control changes required to allow clients from outside the module to use the userInfo features.

I didn't test it yet, but it looks good to me 🙂

authors: Obbut neallester

repo: OpenKitten/BSON


text:
Is it possible to implicitely cancel an event (implied cancel)?

In the conformance rule the term "implied cancel" is mentioned. It happens when the VTN sends oadrDistributedEvent message without a previously known event.
While I found no requirement for VTN to support that scenario, I wonder if it is even possible with the current API, so the ven side can be tested?
The only way that I found to simulate that is by cleaning events/events_updated before adding events to the server:
    server.services['event_service'].events = {}
    server.services['poll_service'].events_updated = {}

    server.add_raw_event(ven_id, event, event_callback)

Implicit cancel is not supported at the moment with the internal event queueing mechanism. You can either use the external mechnasm (ie implement your own on_poll and on_request_event handlers), or use the method you describe above. I'll keep it on my list of possible additions to the API, but I see it mostly as a confusing way of cancelling an event.

authors: michal-kowalczyk stan-janssen

repo: OpenLEADR/openleadr-python


text:
Not installing configured version of WLP

I'm using the 3.1 plugin and am running into an issue where I attempt to download a nightly build of OpenLiberty to use, but the Liberty Maven Plugin ends up installing the latest GA version of OpenLiberty (19.0.0.10).  I can see in the maven output that it does download the nightly build, but the version of Liberty installed is 19.0.0.10.
Here is my pom.xml file:
https://github.com/OpenLiberty/sample-mp-graphql/blob/68e699f625f4ec77dd17dd1f21581c00fc10a7c4/pom.xml
Here is the mvn output that I received:
$ mvn clean install liberty:run
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< io.openliberty:mpGraphQLSample >-------------------
[INFO] Building mpGraphQLSample 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mpGraphQLSample ---
[INFO] Deleting /Users/andymc/dev/sample-mp-graphql/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mpGraphQLSample ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/andymc/dev/sample-mp-graphql/src/main/resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ mpGraphQLSample ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 3 source files to /Users/andymc/dev/sample-mp-graphql/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ mpGraphQLSample ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/andymc/dev/sample-mp-graphql/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ mpGraphQLSample ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ mpGraphQLSample ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ mpGraphQLSample ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/Users/andymc/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar) to field java.util.Properties.defaults
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Packaging webapp
[INFO] Assembling webapp [mpGraphQLSample] in [/Users/andymc/dev/sample-mp-graphql/target/mpGraphQLSample]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/andymc/dev/sample-mp-graphql/src/main/webapp]
[INFO] Webapp assembled in [22 msecs]
[INFO] Building war: /Users/andymc/dev/sample-mp-graphql/target/mpGraphQLSample.war
[INFO]
[INFO] --- liberty-maven-plugin:3.1:install-server (install-server) @ mpGraphQLSample ---
[INFO] CWWKM2102I: Using installDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp.
[INFO] CWWKM2102I: Using serverName : mpGraphQLSample.
[INFO] CWWKM2102I: Using serverDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/usr/servers/mpGraphQLSample.
[INFO] CWWKM2185I: The liberty-maven-plugin configuration parameter "appsDirectory" value defaults to "dropins".
[INFO] Getting: https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2019-10-23_1229/openliberty-all-19.0.0.11-cl191120191023-1229.zip
[INFO] To: /Users/andymc/.m2/repository/wlp-cache/openliberty-all-19.0.0.11-cl191120191023-1229.zip
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ mpGraphQLSample ---
[INFO] Installing /Users/andymc/dev/sample-mp-graphql/target/mpGraphQLSample.war to /Users/andymc/.m2/repository/io/openliberty/mpGraphQLSample/1.0-SNAPSHOT/mpGraphQLSample-1.0-SNAPSHOT.war
[INFO] Installing /Users/andymc/dev/sample-mp-graphql/pom.xml to /Users/andymc/.m2/repository/io/openliberty/mpGraphQLSample/1.0-SNAPSHOT/mpGraphQLSample-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- liberty-maven-plugin:3.1:run (default-cli) @ mpGraphQLSample ---
Downloading from central: https://repo.maven.apache.org/maven2/io/openliberty/openliberty-kernel/maven-metadata.xml
Downloaded from central: https://repo.maven.apache.org/maven2/io/openliberty/openliberty-kernel/maven-metadata.xml (759 B at 1.2 kB/s)
[INFO] CWWKM2102I: Using artifact based assembly archive : io.openliberty:openliberty-kernel:null:19.0.0.10:zip.
[INFO] CWWKM2102I: Using installDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp.
[INFO] CWWKM2102I: Using serverName : mpGraphQLSample.
[INFO] CWWKM2102I: Using serverDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/usr/servers/mpGraphQLSample.
[INFO] Running maven-compiler-plugin:compile
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 3 source files to /Users/andymc/dev/sample-mp-graphql/target/classes
[INFO] Running maven-resources-plugin:resources
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/andymc/dev/sample-mp-graphql/src/main/resources
[INFO] Copying 1 resource
[INFO] Running liberty:create
[INFO] CWWKM2102I: Using artifact based assembly archive : io.openliberty:openliberty-kernel:null:19.0.0.10:zip.
[INFO] CWWKM2102I: Using installDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp.
[INFO] CWWKM2102I: Using serverName : mpGraphQLSample.
[INFO] CWWKM2102I: Using serverDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/usr/servers/mpGraphQLSample.
[INFO] CWWKM2185I: The liberty-maven-plugin configuration parameter "appsDirectory" value defaults to "dropins".
[INFO] CWWKM2110I: Uninstalling: /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp.
[INFO] Installing assembly...
[INFO] Expanding: /Users/andymc/.m2/repository/io/openliberty/openliberty-kernel/19.0.0.10/openliberty-kernel-19.0.0.10.zip into /Users/andymc/dev/sample-mp-graphql/target/liberty
[INFO] CWWKM2143I: Server mpGraphQLSample does not exist. Now creating...
[INFO] CWWKM2001I: Invoke command is [/Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/bin/server, create, mpGraphQLSample].
[INFO]
[INFO] Server mpGraphQLSample created.
[INFO] CWWKM2129I: Server mpGraphQLSample has been created at /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/usr/servers/mpGraphQLSample.
[INFO] Copying 1 file to /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/usr/servers/mpGraphQLSample
[INFO] CWWKM2144I: Update server configuration file server.xml from /Users/andymc/dev/sample-mp-graphql/src/main/liberty/config/server.xml.
[INFO] Running liberty:install-feature
[INFO] CWWKM2102I: Using artifact based assembly archive : io.openliberty:openliberty-kernel:null:19.0.0.10:zip.
[INFO] CWWKM2102I: Using installDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp.
[INFO] CWWKM2102I: Using serverName : mpGraphQLSample.
[INFO] CWWKM2102I: Using serverDirectory : /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/usr/servers/mpGraphQLSample.
Downloading from central: https://repo.maven.apache.org/maven2/io/openliberty/features/install-map/maven-metadata.xml
Downloaded from central: https://repo.maven.apache.org/maven2/io/openliberty/features/install-map/maven-metadata.xml (350 B at 1.7 kB/s)
[INFO] Installing features: [mpGraphQL-1.0, mpmetrics-2.0]
Downloading from central: https://repo.maven.apache.org/maven2/io/openliberty/features/repository-resolver/maven-metadata.xml
Downloaded from central: https://repo.maven.apache.org/maven2/io/openliberty/features/repository-resolver/maven-metadata.xml (358 B at 1.8 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  31.176 s
[INFO] Finished at: 2019-10-23T14:18:36-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.1:run (default-cli) on project mpGraphQLSample: com.ibm.ws.install.InstallException: CWWKF1299E: The following features could not be obtained: mpGraphQL-1.0. Ensure that the features are valid for Open Liberty. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Note that it downloaded https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2019-10-23_1229/openliberty-all-19.0.0.11-cl191120191023-1229.zip
But here is the output of ./productInfo version:
$ /Users/andymc/dev/sample-mp-graphql/target/liberty/wlp/bin/productInfo version
Product name: Open Liberty
Product version: 19.0.0.10
Product edition: Open

If you want to reproduce the issue, you can clone and attempt to run my sample project at:
https://github.com/OpenLiberty/sample-mp-graphql

Update: When I changed this stanza (under the liberty-maven-plugin plugin element):
            <executions>
              <execution>
                <id>install-server</id>
                <phase>pre-integration-test</phase>
                <goals>
                  <goal>install-server</goal>
                </goals>
                <configuration>
                  <install>
                    <runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2019-10-23_1229/openliberty-all-19.0.0.11-cl191120191023-1229.zip</runtimeUrl>
                  </install>
                </configuration>
              </execution>
            </executions>

to:
            <configuration>
              <install>
                <runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2019-10-23_1229/openliberty-all-19.0.0.11-cl191120191023-1229.zip</runtimeUrl>
              </install>
              ...
            </configuration>

then everything worked as expected - the right version of Liberty was downloaded and executed.
If you want to close this issue that is fine, but it might also be worth updating the docs at:
https://github.com/OpenLiberty/ci.maven/blob/master/docs/install-server.md#install-server
I based my original pom on example 3 (where install->runtimeUrl was under the install-server execution).
Thanks for the help on this!

@andymc12  if you want your configuration to apply to all goals for a plugin you want to add the <configuration> at the plugin level, not just an execution level.   There's a reference here if you wanted to read more, but that might be all you need to know.
When you're running the liberty:run goal your execution-level config isn't going to get picked up.
So you're picking up the default behavior of the run goal, which isn't defined in POM but is actually coded in the Mojo Java implementation.
So it's adding the config at the plugin level rather than removing the install-server goal which is making the difference for you.    Though you probably don't need that goal anyway since the direction has been to do a lot more in the run goal.
I don't think that doc is wrong either because that's more describing a case where your binding goals to phases in the lifecycle for your build, not just doing liberty:run from the command line.
That all said, I'm a bit surprised the mvn ... install liberty:run would result in the run goal just installing (v 19.0.0.10) right over your installation from install-server at the different OL version (19.0.0.11).   Maybe someone else could take a look and make sure that part of it looks right.
But in any case, you probably just want to move the config.

Funny enough.. I just happened to look at #671 and there it seems to suggest it's expected to install over a different, already-installed Liberty installation.   If that's the case then maybe there's nothing more here but would still help to get confirmation.

As Scott mentioned, the documentation is correct. It just depends on where you put the config as to what goals it applies to. If you want all the goals to use the runtime specified, it should go in the <configuration> at the plugin level.

authors: andymc12 cherylking scottkurz


text:
install-feature from a LARS repository

In #47 the from parameter was added. This is passed to the installUtility --from flag. However, this only accepts a local directory of features and metadata. It doesn't accept a report repository that is hosted on a LARS To achieve that, there's going to need to be some fluffing up of a repositories.properties file. In the Liberty Chef cookbook we added the ability to include an array of repository URLs as the name of the repository isn't important in the properties file. So I suggest a structure in the pom like
<repositories>
  <repository>http://foo</repository>
  <repository>http://bar</repository>
</repositories>

<repositories> should have a useDefaultRepository flag for the plugin to set in the repositories.properties file.

Given nobody has seconded this request or asked about it in over 6 years, I am closing this issue.

authors: cherylking hughesj


text:
spark: Provide a ParentRunFacet using spark.sql.execution.parent property

In the recent support for Databricks' Synapse connector (#452), lineage is truncated due to the way the Databricks connector is written when a Synapse table is the output destination.
There are two separate run ids being reported during a normal execution.

Run Id 1 comes from the execution start and displays the correct lineage
Run Id 2 comes from the job start and job end events in Spark

Reports the correct inputs
Reports a user defined staging location as the output

The individual job start events do provide a property called spark.sql.execution.parent which links Run Id 2 to Run Id 1. In this case, the value in spark.sql.execution.parent is the execution id of the parent spark sql execution start event.
Ideally, we would be able to use the ParentRunFacet to link these two run ids and correctly represent the lineage.
I would like to propose that this property should be detected and a ParentRunFacet should be added to the OpenLineage payload that refers to this parent run id.

Hey, @wjohnson, this would be fantastic! Do you have a link or reference to source code that shows this property being set? I don't see any reference to it in the Spark source code. Is it an Azure-specific setting? Or is it Databricks-specific? I'd love to know the specifics of when we can use this property.

Hey, @wjohnson, this would be fantastic! Do you have a link or reference to source code that shows this property being set? I don't see any reference to it in the Spark source code. Is it an Azure-specific setting? Or is it Databricks-specific? I'd love to know the specifics of when we can use this property.

@collado-mike I dug around too and I cannot find this in the particular jar that Databricks is using to write the Synapse tables. I'm guessing it's buried somewhere in the proprietary code of Databricks' spark?  If that's the case, I could add this to the Databricks environment facet as a stopgap for US but it won't help pursue a general solution for all of spark.

I'm investigating how I might add this for JUST Databricks and I'm a bit stuck.
I've put together a sample of what I want to accomplish and I can get it to generate the ParentRunFacet on #707 with a hard coded UUID and parent job name but I could use some help thinking about how to go from execution id to RunId and Parent Job Name when I'm in the SparkSqlExecutionContext.
@collado-mike  and @mobuchowski  if you had a cycle or two, I'd appreciate any thoughts.

If the parent job manages to set up property that child jobs are able to read, maybe we could just write runId the same way? Would be great to understand how it's being set.

@wjohnson is this issue still relevant?

authors: collado-mike harels mobuchowski wjohnson

repo: OpenLineage/OpenLineage


text:
🛑 LinkOS Docker Registry Mirror is down

In 8eb7ac1, LinkOS Docker Registry Mirror (https://docker.linkos.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LinkOS Docker Registry Mirror is back up in 50f51b4 after 22 minutes.

repo: OpenLinkOS/uptime


text:
Question regarding python version requirements >=3.8.10

Question
Is it possible to support python version >=3.7.0 ?
Further Information
based on the pypi page, https://pypi.org/project/openmined.psi/
Meta
License: Apache 2.0
Author: OpenMined
Requires: Python >=3.8.10
PSI requires 3.8.10+, is it possible to support 3.7.0+ ?
Screenshots
n/a
System Information
Ubuntu
Additional Context
NVFLARE is currently requires python >=3.7.  my current pip install openmined.psi failed in CI env.

My initial reasoning for 3.8 was that it was the first version to give support M1 Macs. In addition, 3.8.10 is required by the (new) wheel names on Linux.
Having made some of these changes in the past, I no longer think it is difficult to try and support 3.7 with a notable exception that it will not work on arm64 which maybe fine for the majority of use cases.
I think the only thing I need to do is use manylinux2014 as the wheel name just for 3.7.

I can try, what is the full version of python, pip, and glibc in your CI environment?

@chesterxgchen I can try.
The main reason for not supporting 3.7 was that is it problematic for M1 Macs and the pep 600 naming convention required 3.8.10; however, I can probably carve out an exception for 3.7 if it doesn't require arm64 support.
What is the full version of python, pip, and glibc in your CI env?

@chesterxgchen Based on our discussions earlier, is this still a needed requirement?

@chesterxgchen, please let me know if v1.1.1 does not work in your environment.

repo: OpenMined/PSI


text:
Contribution Bounding - per partition and cross partition bounding

Description
Implementing Per partition - bounding of each contribution and cross partition. Added flat map in pipeline_operations.py to accommodate this functionality.
Affected Dependencies
How has this been tested?

Unit tests for bounding

Checklist

[x ] I have followed the Contribution Guidelines and Code of Conduct
[ x] I have commented my code following the OpenMined Styleguide
[x ] I have labeled this PR with the relevant Type labels
[ x] My changes are covered by tests

PTAL

@preethiraghavan1 there is a merge conflict.

repo: OpenMined/PipelineDP


text:
Allow glyphicons in all treeNodes

treeNodes used in various exlib components do not currently support the option to add glyphicons to them, please add that.
Related
http://stackoverflow.com/questions/25001393/use-glyphicons-in-pagetree-nodes

Closing this as we going to track this through this issue -> https://github.com/OpenNTF/XPagesExtensionLibrary/issues/8

authors: padraic-edwards tadrian

repo: OpenNTF/XPagesExtensionLibrary


text:
Proposal: refactor prompt templates to be functions instead of templated objects

I'm proposing a fairly major change to our concept of prompt templates. Instead of them being JSON files with string interpolation, they'll be small Javascript functions that take in a scenario and output a prompt.
Currently, prompt templates are defined as JSON documents with handlebars-style templating. For simple prompts that are constructed using only variable interpolation, they work well. However, in my experience many prompts benefit from more complex construction techniques. For example, it often makes sense to provide several example generations to the model as assistant prompts as part of the context. With our templating approach this is difficult to achieve.
I wanted to get a sense for how serious this limitation is, so I searched for open-source projects using the OpenAI API on Github. From the first 100 search results, I found 16 that seem to be real projects. 7/16 construct their prompts using basic string interpolation, while 9/16 use some more complicated logic (most commonly including a variable number of examples).
Switching prompt templates to be functions that produce objects instead of templated objects should make OpenPipe useful for a wider variety of prompts.

The main code was merged in https://github.com/OpenPipe/OpenPipe/pull/38 but I'm reopening to track outstanding TODOs on this task.

[ ] Strip Typescript types from the user-provided functions before execution
[ ] Ensure that the code executes and creates a valid object when passed a null scenario before saving the config
[ ]  Get the model and save it to the prompt variant
[ ] Get cost estimates working again

repo: OpenPipe/OpenPipe


text:
Unable to encrypt connection: A TLS fatal alert has been received.

Hello.
Please tell me how to fix this error
Unable to encrypt connection: A TLS fatal alert has been received.
E [11/Apr/2023:11:35:42 +0000] [Client 1] Unable to encrypt connection: A TLS fatal alert has been received.
E [11/Apr/2023:11:35:42 +0000] [Client 2] Unable to encrypt connection: A TLS fatal alert has been received.
E [11/Apr/2023:11:50:43 +0000] [Client 5] Unable to encrypt connection: A TLS fatal alert has been received.
E [11/Apr/2023:11:50:43 +0000] [Client 6] Unable to encrypt connection: A TLS fatal alert has been received.
E [11/Apr/2023:11:54:51 +0000] [Client 8] Unable to encrypt connection: A TLS fatal alert has been received.

Hi,
please follow the template and links in it and provide all requested information. Thank you!

repo: OpenPrinting/cups


text:
Creation of the How-To Contribute to docs

In the structure of the new documentation, a section should be added that would contain How-Tos, pages of instructions on a particular subject/task.
The first How-To I'm creating is a « How-to Contribute to OpenRefine’s documentation ».
I'm looking for feedback and suggestions here.
Regards,
Antoine

I think we need to discuss whether these should go into this documentation or on a separate platform. Personally I think it would be nice to have it in the same place, to encourage users to turn into contributors, and I don't think it would distract users too much if that is added in a section towards the end of the menu on the left.
But I think @ostephens prefers to keep this separate, which would also make sense.

@wetneb Do we have any update on this? What I was thinking is to keep our .md files in docs folder & we can keep the code related to docusaurus in website folder or seperate repo, we can write a bash script to pre-process our docs somewhat similar to this. Let me know if we have finalised something or discussion is still going on.

We are almost at the end of the technical writer hiring process, thanks for your patience, this should be moving ahead pretty soon!

We are almost at the end of the technical writer hiring process, thanks for your patience, this should be moving ahead pretty soon!

Oh, nice!

I have merged the changes introduced by this PR and the new structure of the documentation and will merge this PR soon unless anyone has concerns.
Sorry @antoine2711 for the time it took to merge this!

I have merged the changes introduced by this PR and the new structure of the documentation and will merge this PR soon unless anyone has concerns.
Sorry @antoine2711 for the time it took to merge this!

authors: antoine2711 kushthedude wetneb

repo: OpenRefine/OpenRefine


text:
Tidak bisa melakukan pencarian dan pengurutan data provinsi

Sudah diperbaiki melalui PR https://github.com/OpenSID/tracksid/pull/176

repo: OpenSID/tracksid


text:
translation mistake for QuickEdit

with German menus go to the agenda list
look at the context menu

result: there is an Entry "Quick-Edit". If you press it you get a window named "QuickEdit". This is inconsistent. So either always "Quick-Edit" or always "QuickEdit".

@donovaly Quick(-)Edit will be removed from all tables (may except the agenda table). If this will stay there which naming do you prefer?

which naming do you prefer?

I don't have a strong opinion. No matter what you decide, be consistent. If you ask me for a translation, I propose "Schnelländerung".

Seems like an anglicism to me. Therefore, I doubt that changing this is necessary. Every possible translation might be harder to understand.
also see: http://www.linguee.de/englisch-deutsch/uebersetzung/quick+edit.html

authors: FinnStutzenstein donovaly tsiegleauq

repo: OpenSlides/OpenSlides


text:
Deleting related lines for amendments will cause errors in 'line-numbering.service'

Describe the bug
If for a motion an amendment exists and the lines, which has "change-requests", are deleted, the line-numbering.service can't find the lines. See picture below for details...
How to Reproduce

Go to a motion and create an amendment.
Click on 'Edit' in the same motion.
Delete the lines, previously selected for the amendment.
See error in the console and the amendment-list for this motion.

Expected behavior
There could be some different behaviours:

Either the motion cannot be edited anymore, if at least an amendment exists
Or the amendment should be deleted, since it is redundant.

System information

OpenSlides-Version: Latest
Python Version: 3.7
Device: Notebook
OS: Arch Manjaro
Browser: Chrome
Browser-Version: 76

Screenshots

cannot reproduce anymore. Might be fixed tho.

No updates, cannot reproduce, no complains so far. Closing.

authors: GabrielInTheWorld tsiegleauq


text:
Mail all invites

Is your feature request related to a problem? Please describe.
When I want to invite users I have to send every mail manually.
Describe the solution you'd like
I'd like to be able to sent the invites to all or to certain groups.

you already can.

use multiselection
select all users you want to invite

you may filter by groups and hit "select all" before you do so

click [ ... ] menu and hit "send invitation email"

authors: kaffeeringe tsiegleauq


text:
./build.sh all hangs during installation of npm packages

Describe the bug
Command ./build.sh all hangs while running the command ng build --prod "--output-path" "/build/app/static". After some timeout ng is killed and the installation process failes. I'm running the setup on a Hetzner CX11 instance. Could it be that it does not have the power to run it correclty?
How to Reproduce

Get a Hetzner CX11 instance
Install official docker
git clone https://github.com/OpenSlides/OpenSlides.git
run ./build.sh all

Expected behavior
Compilation runs through so one can run docker-compose up
System information

OpenSlides-Version: [current master]
Additional version information (if any): [e.g. commit hash or installation-month]
Python Version: [none]
Device: [Hetzner CX11]
OS: [ubuntu 20.04.1]

Screenshots
...

Step 15/19 : RUN npm run build-to-dir /build/app/static
 ---> Running in 70536dd9fb5b

> OpenSlides3-Client@3.2.0 build-to-dir /build/app
> npm run build -- --output-path "/build/app/static"

> OpenSlides3-Client@3.2.0 build /build/app
> ng build --prod "--output-path" "/build/app/static"

Warning: Entry point 'ngx-papaparse' contains deep imports into '/build/app/node_modules/papaparse/papaparse.min.js'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
Generating ES5 bundles for differential loading...
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! OpenSlides3-Client@3.2.0 build: `ng build --prod "--output-path" "/build/app/static"`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the OpenSlides3-Client@3.2.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/openslides/.npm/_logs/2020-10-19T16_21_03_004Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! OpenSlides3-Client@3.2.0 build-to-dir: `npm run build -- --output-path "/build/app/static"`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the OpenSlides3-Client@3.2.0 build-to-dir script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/openslides/.npm/_logs/2020-10-19T16_21_03_154Z-debug.lo

Could it be that it does not have the power to run it correclty?

yes. We used to have a flag for increasing the minimum amount of necessary RAM for ng build --prod to at least 4GB (of effectively usable memory), but I disabled it with angular 9 since ram management in npm got slightly better. Even on Linux 2GB of memory is not enough to build angular applications in prod mode.

I see. I upscaled my instance and ./build.sh all runned through :)

authors: theScrabi tsiegleauq


text:
I want to add a GRB LED on the pi, what should I do?

Please read these quoted sections before submitting, and remove them (including this one) when you have provided what
is asked, in order to make addressing the issue easier for everyone. Thank you!
Be sure to:

Check the documentation HERE to answer many questions on hardware requirements and usage.
Make sure that your issue has not already been filed HERE.

Expected Behavior

Please describe the behaviour you are expecting.

Current Behavior

What is the current behaviour? If this is something that worked in the past, be sure to include the conditions in
which it did.

Context

Please provide all relevant information about your setup. This is important in case the issue is not reproducible
except under certain conditions. Important elements include:

Name of device
Link to where you purchased the device
Firmware version
Available schematics, designs, etc., especially for custom hardware
Similar hardware (e.g. if it has the same GPIO-to-button assignments as a Pico)

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

Step 1
Step 2
ETC...

Screenshots & Files

Please include any relevant screenshots or files here, including photos of the front and back of the board.

Hi @phucdat55 there is no info provided in this.  Please add the requested info.


text:
Discussion/POC: simplify Dual Directional Input by removing some/most combination modes

With 0.7.6 getting multiple pins outputting the same direction button, and #724 potentially allowing one pin to output multiple buttons, I think we should talk a bit about the Dual Directional Input addon. Specifically, I think at least one of the four combine modes is unnecessary now, and perhaps three of them (all but None) are on the chopping block.
Notes
Combination Mode Mixed

Combines both the Gamepad directions and Dual Direction Input directions and allows for all 3 SOCD modes.

This essentially has DDI work as 4 extra directional buttons that contribute to the core gamepad output. I think this is no different than mapping those buttons as more core directions, come 0.7.6, so I think this mode can be removed. Note that "Dual D-Pad Mode" has no relevance to this mode.
Combination Mode Gamepad

Gamepad always takes over when pressed, otherwise Gamepad and Dual act independently.

I have never fully understood this feature. The Dual "half" of the output is configured to be LS/DP/RS specifically, independent of the core gamepad's setting. Take the following situation:

core Gamepad in DP mode
DDI Mode in RS mode
DDI combination mode "Gamepad"

If you...

press Gamepad Up, you get DP Up and RS Up (this is probably a bug, but I don't know since when. I'm on v0.7.6-RC1)
press DDI Up, you get RS Up (okay)
press Gamepad Up and DDI Up, you get DP Up and RS Up (this is probably the intentional behavior, unlike the first situation)
press DDI Down, you get RS Down (obv.)
press DDI Down and Gamepad Up, you get DP Up and RS Up (unsure about which of this is desired, but this is Gamepad taking priority over DDI, and forcing DDI's Down to be core's Up, as described by the Combination Mode)

I think this is supposed to work like Dual Directional mode below, but right now it is way buggy...
Combination Mode Dual Directional

Dual always takes over when pressed, otherwise Gamepad and Dual act independently.

I don't understand the use case for this feature either, but it works more like how I thought it would.

core Gamepad in DP mode
DDI combination mode "Dual Directional"
(note that Dual D-Pad Mode again doesn't matter here)

If you...

press Gamepad Up, you get DP Up
press DDI Up, you get DP Up
press Gamepad Up and DDI Down, you get DP Down (order does not matter)
press Gamepad Left and DDI Left, you get DP Left (obv.)
press Gamepad Left and DDI Right, you get DP Right (order does not matter)

This is more clearly the DDI inputs taking precedence over the core gamepad inputs. However, I'm not sure what the use case for the behavior is. Again with multiple pin to button mappings possible now, I'm not sure how this precedence is any different than First Input Wins SOCD or Second Input Wins SOCD depending on your desired form of buttons.
Combination Mode None

Gamepad input and dual directional act independently of each other.

This does exactly what it says, and is maybe the only mode that intentionally uses the Dual D-Pad Mode setting. Core gamepad and DDI directions act independently, each getting SOCD cleaned independently (unless they're both contributing to the same output mode, in which case they get SOCD cleaned as one). This essentially allows for an extra set of directionals that can be mapped to something different than the core gamepad, distinguishing this mode (and maybe only this mode) from the ability to map multiple pins to the same direction in v0.7.6.
Conclusion
My opinions below, but I intend to act on this, so discussion welcome before I go gutting code:

Mixed Combination Mode: remove the mode, it's obsolete. Migrate mixed users to more non-DDI directional mappings.
Dual Directional Combination Mode: remove the mode, it seems like a more complicated way to achieve something achievable in core, absent someone (pinging @arntsonl) explaining the use case for this better than I can understand it.
Gamepad Combination Mode: remove the mode, as per Dual Directional, or else if it's important, fix it.
None Combination Mode: keep it, this has a unique feature beyond what's possible in core, at least until we refactor things further.
Dual D-Pad Modes: keep them all, they are relevant to None Combination Mode.

I think removing the three combination modes above will greatly simplify the addon, which is pretty hard to read, and further the ability for us to fold DDI into core in some fashion in the future. Comments desired.

I think this discussion can be combined with the Tilt Input addon discussion in #624, since the Tilt Left Analog and Tilt Right Analog direction pins functionally act as extra inputs for left analog and right analog at 100%, the same as Combination Mode None in this addon. The tilt factor settings do not appear to have any bearing on the two tilt direction pins, which to me says that the extra analog pins aren't actual tilts in the traditional sense but rather additional full direction inputs.

If the tilts don't actually tilt, I think that should be filed as a separate issue, because the whole alleged purpose of that addon was for them to tilt (rather than go to the extreme). I think DDI is conceptually separate as a simpler way to configure digital outputs (including DP).

Updates:
Further testing has led to the conclusion that if nothing else, Mixed mode allows for two layers of Last Input Wins SOCD to be applied on top of both directionals (since they have distinct SOCD cleaning histories and phases), which is interesting enough that it survives.
None combination mode is unique for simultaneous different direction output modes, and survives.
I suspect Gamepad and DDI combination modes will be unique once fixed/drilled into, so this might become more of a docs and tech debt update than anything else.

DDI Mixed, Last Input Wins SOCD

Core Left = Left
Core Left + Core Right = Right
Core Left + Core Right + DDI Left = Left
Core Left + Core Right + DDI Left + DDI Right = Right

3 and 4 are not possible if Mixed mode were removed and just replaced with more core directions. This makes sense because they're no different to the firmware. Hence, Mixed mode stays.
DDI Mixed, First Input Wins SOCD

Core Left = Left
Core Left + Core Right = Left
Core Left + Core Right + DDI Left = Left
Core Left + Core Right + DDI Left + DDI Right = Left

First input behavior is maintained still.
Gamepad and DDI combination modes still as described above. Gamepad mode still seems buggy to me, and DDI seems to work as described.

In testing DDI combination mode, I have confirmed the behavior of #823.

In the end, all the modes are staying, just the code is easier to read and the Gamepad Override mode should be fixed now.

authors: TheOpponent bsstephan


text:
client Master form

Add client Master
Feature
Name: client Master
Number: 7
Sub-feature
Name: client form
User Story
As a Client Coordinator, i should be able to Add the client details and update client details and delete the client .
Tasks

[ ] 1.  Transition from Angular to Angular Material.
[ ] 2.  give the structure to the form .
[ ] 3. form validation .

Description
Transition from Angular to Angular Material.
give the structure to the form .
form validation
Status

[x]  In-progress
[ ]  Reviewed
[ ]  Completed

Transition from Angular to Angular Material in progress .

repo: OpenTechXLabs/SmartHRM


text:
Issue 23 - RSpecs failing (but we know that)

I've temporarily disabled failing specs so that we can re-enable them one by one and verify that react functionality matches old.

I like this approach; CI becomes useful again for the react branch, and as we start reimplementing functionality it will be trivial to reenable appropriate tests.
:+1:

authors: mr-mcox wbushey

repo: OpenTwinCities/adopt-a-tree


text:
[question] How to request latest value, or force refresh of current value

For background, I'm setting up zwave2mqtt to work with the mqtthing plugin for homebridge.
If I'm connecting the mqtthing plugin (client) to the mqtt broker after zwave2mqtt has been running, what's the best way for mqtthing to be made aware of devices' current latest/values.
Listening to a topic (e.g. ozw/2/38/1/0, where ozw is my mqtt prefix) only picks up future value changes.
Is there a way to trigger a changed message with the current value? I'm hopping to include the pub command in the start up section, as detailed here

@dhritzkiv YOu should use retain flag for such purposes

This did the trick!

authors: dhritzkiv robertsLando


text:
[Feature Request] Skills tab shows available sockets in gear

I often find after setting the "Socketed in" setting for skills, I have to manually map out/count the number of gems socketed per item. It would be cool if there was some summary section that showed (at the minimum) the number of used sockets for each item piece. It doesn't need to be intelligent about what items they're socketed in (i.e. it'd be acceptable to say "6 gems slotted in Body Armour" even if the body armor is set to Kaom's Heart).
For example, I want something that would look like in the Skills Tab:
Headgear: 0
Weapon 1: 3
Weapon 2: 2
Body Armour: 6
Gloves: 5
Boots: 4
And by glancing at that, I'd immediately know that I still have 4 sockets available in my headgear and I've put 1 too many gems in my gloves and that I need to shuffle around my gem setup.

Bump, any possibility of implementing this FR?

repo: Openarl/PathOfBuilding


text:
Feat: Multiple Filters at a time.

Features Implemented:
1.) The User can toggle a filter by clicking on it. That is if the filter is already selected it will get deselected and if the filter is not selected then it will be selected on click.
2.) The User can select more than one filter at a time.
3.) Removed the All button from filters since all the projects will be visible if none of the filter is selected.

@AnirudhPanda Added a clear filters button. The button will only be visible whenever the user selects filters. On clicking the clear filter button, all the filters will be deselected and the clear filter button will be hidden.

@AnirudhPanda I've resolve the conflicts kindly review

merge conflicts @kailashchoudhary11

merge conflicts @kailashchoudhary11

bro aise tum mere pehle baaki PRs ko merge karte rahoge to conflicts aate hee rahenge na :)

@AnirudhPanda I've resolved review now

BRO LAST TIME PROMISEEE!!

broooo @kailashchoudhary11

repo: Opentek-Org/opentek


text:
SPIKE: Batch Edit Forms Technical Planning

Technical Planning Doc

specifics now exist. closing

specifics now exist. closing

repo: Opentrons/opentrons


text:
feat(hardware-controller): initialize nsync to high on HC initialization

We need to make sure the sync line is set high across the system.

We really gotta find a name for this that doesn't give me flashbacks to the 90s

I think it's perfect 😆


text:
added spinnaker header

We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.
https://devopsmx.atlassian.net/browse/OP-6971

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://spin.prod.opsmx.com/#/applications/gitprtrigger/executions/details/01FAFD4RE0JKR8H8R9A7QT5BN1

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://spin.prod.opsmx.com/#/applications/gitprtrigger/executions/details/01FAFESVN4VAKQX3TC3YAVNDAC

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://spin.prod.opsmx.com/#/applications/gitprtrigger/executions/details/01FAFG2ZMV3C6KVTH7KS0N2009

authors: opsmxuser ramyaravi-opsmx

repo: OpsMx/gate


text:
peft问题

Please specify target_modules in `peft_config

Thanks for your interest in LMFlow! Could you please the detailed error message so we may check that for you? Thanks 😄

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks 😄

authors: OuYanXi research4pan shizhediao

repo: OptimalScale/LMFlow


text:
set  Autoroute to xxx.html , then Alternate

because  i need " XXX.html "
so, set Autoroute, then get " news.html "
use Alternate to create a view page ( Content-url-news.html.cshtml )
but it's not work
Can you help me?

I'm sorry.My English is very poor

Hi! We use GitHub for issue tracking (bug reports and feature suggestions). Questions should be asked on CodePlex: http://orchard.codeplex.com/discussions. Thanks for understanding.

or gitter ;)

authors: dcinzona lilonghe sfmskywalker

repo: OrchardCMS/Orchard


text:
Where to implment data verification or any business validation

Hi,
I am implementing a solution on Orchard framework. I extensively use REST APIs to do CRUD on the content items and parts.
I have been pondering where to invoke business validation on a data that user has submitted through REST API.
I have written some business validation scenarios in a class something like below
public interface IRatingValidationService : IDependency
    {
        bool IsValidRating(ContentItem content);
    }

Should I be invoking this service

In the API controller to make sure the submitted data is valid
In the ContentHandler events to make sure the submitted data is valid
None of them listed above

The problem with approach 1 is, every controller action which accepts the rating data, has to invoke the same validation service. I see a code redundancy here.
If I go through the approach 2, the exception thrown in the validation service is suppressed in the InvokeExtensions.Invoke method. This does not use IExceptionPolicy to handle the exception so that I can override the behavior.

Can you please ask the question on the forum or stackoverflow. We try to keep the github issues for actual bug reports or feature requests.

You got it, man. Here it is.
http://stackoverflow.com/questions/35491683/where-to-implment-data-verification-or-any-business-validation

authors: kumards sebastienros


text:
liveblog post module

is there any liveblog post module for orchard?

Not that I know of. Please keep github issues for bugs and feature requests. Prefer Gitter if you have questions, more responsive too.

authors: khoshroomahdi sebastienros


text:
Orders with missing payment_type in prod

We currently have 3 orders where orders.payment_type is null in prod.
dshop=> select id, created_at, shop_id from orders where payment_type is null;
  id  |         created_at         | shop_id
------+----------------------------+---------
 1731 | 2020-10-08 19:59:39.69+00  |    1258
 1865 | 2020-11-11 16:56:04.128+00 |    1553
 1867 | 2020-11-11 19:44:40.994+00 |    1553

This column should always get populated so it is a bug.

Took another look at the data. I'm not sure what happened.
We have not seen any new cases.

For the 2 orders on shop id 1553, the payments should have the type "Offline".
I did a test in production on one of my shop and was not able to reproduce.

For the order on shop 1258, this was a crypto payment.
What might have happened here is that this shop hasn't been published for about 45days. So it is still running an old version for the FE code which might be causing the issue?

I'm going to keep this issue open for now, hoping we get more data to troubleshoot.
It does not cause any user impact aside from the payment type missing in the order details.

repo: OriginProtocol/dshop


text:
Heroku Migration

We should migrate all the DApp and sites from GCP to Heroku, since that'd make it easier for us to maintain/deploy and help reduce some infra costs as well

[ ] dapp.ousd.com
[ ] analytics.ousd.com

Closing this since the migration is done. I'll create another issue for deprecating GAE

authors: franckc shahthepro

repo: OriginProtocol/origin-dollar


text:
git-hack: create the new feature branch as the parent of the current branch

As a user working on a feature X and realizing my feature is dependent on a separate change ("feature W") to be made first
I want to be able to create a new feature branch W as a parent of my existing branch X
So that I can implement feature W, and once that's in review keep working feature X without having to wait until feature W is shipped.

@kevgo closing this as it and #766 appear to be duplicates and #766 has a feature attached.

Good catch, I didn't realize we were talking about this before

authors: charlierudolph kevgo

repo: Originate/git-town


text:
Add support for GitLab

Is there any possibility you would add support for gitlab? Github is great but its not the only git hosting out there. Quite a lot of others use gitlab as well. And it could help user adoption as well if more people can use it. I find that when these libraries support gitlab, people tend to eat it up.

The codebase is purely based on the GitHub API and I have not seen how does GitLab API works. So, by "supporting GitLab", we'd have to re-write it completely.

This can be a fun project to work on (Although it will require quite some effort)! There can be a core of pep8speaks and two other wrappers for GitHub API and GitLab API.

authors: OrkoHunter autoferrit


text:
Add support for transactional state facet

Since the release of Orleans 2.1.0 grains now support transactions.
For a grain to use transactions it should be instanciated with a ITransactionalState<TState> facet:
public AccountGrain(
    [TransactionalState("balance", "TransactionStore")]
    ITransactionalState<Balance> balance)
{
    this.balance = balance ?? throw new ArgumentNullException(nameof(balance));
}

It would be great to be able to unit test grain with a transactionnal state facet with the test kit. Right now trying to get a grain with a ITransactionalState<TState> facet like so:
var grain = await Silo.CreateGrainAsync<AccountGrain>(Guid.NewGuid());

Is throwing this exception:
Orleans.Runtime.OrleansException : Attribute mapper Castle.Proxies.IAttributeToFactoryMapper`1Proxy failed to create a factory for grain type AccountGrain
   at Orleans.Runtime.ConstructorArgumentFactory.ArgumentFactory.GetFactory[TMetadata](IServiceProvider services, ParameterInfo parameter, IFacetMetadata metadata, Type type) in D:\build\agent\_work\23\s\src\Orleans.Runtime\Facet\ConstructorArgumentFactory.cs:line 90

Here is a naive implementation that fulfil the ITransactionalState interface and enable testing such grains:
class TestTransactionalState<TState> : ITransactionalState<TState>
    where TState : class, new()
{
    private readonly TState _state = new TState();

    public Task<TResult> PerformRead<TResult>(Func<TState, TResult> readFunction)
    {
        return Task.FromResult(readFunction(_state));
    }

    public Task<TResult> PerformUpdate<TResult>(Func<TState, TResult> updateFunction)
    {
        return Task.FromResult(updateFunction(_state));
    }
}

Standalone usage example:
var state = new TestTransactionalState<Balance>();
var grain = new AccountGrain(state);

This implementation works but something integrated to the test kit would be better.

This is very similar to #55. We can support constructor injection of ITransactionalState<TState> mock objects by registering our own implementation of IAttributeToFactoryMapper<TransactionalStateAttribute> in the silo's dependency injection container.

Any progress on this? Would be a great feature!

@erikljung Not directly. I have a branch that adds the needed support for constructor injection, but I've only applied it to the state facet interfaces/classes.

authors: Johanny erikljung seniorquico

repo: OrleansContrib/OrleansTestKit


text:
🛑 Autogestion is down

In 3275249, Autogestion (https://autogestion.osdop.org.ar/Account/LogOn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Autogestion is back up in e142e2a.

repo: Osdop/upptime


text:
🛑 CrdClub is down

In 2a41195, CrdClub (https://crdclub.su) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CrdClub is back up in 729d43f.

repo: OsintUK/Up-or-Down


text:
1.18.2 support

1.18.2 is no longer supported :(
Error message:
[11:17:41 WARN]: [StaffPass] Loaded class us.myles.ViaVersion.api.protocol.ProtocolRegistry from ViaVersion v4.2.1 which is not a depend or softdepend of this plugin.
[11:17:41 ERROR]: Error occurred while enabling StaffPass v1.0 (Is it up to date?)
java.lang.NoSuchMethodError: 'net.kyori.adventure.text.minimessage.MiniMessage net.kyori.adventure.text.minimessage.MiniMessage.get()'
        at com.oskarsmc.staffpass.StaffPass.onEnable(StaffPass.java:33) ~[staffpass.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:559) ~[paper-1.18.2.jar:git-Paper-231]
        at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:473) ~[paper-1.18.2.jar:git-Paper-231]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:666) ~[paper-1.18.2.jar:git-Paper-231]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:433) ~[paper-1.18.2.jar:git-Paper-231]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-231]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1165) ~[paper-1.18.2.jar:git-Paper-231]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.2.jar:git-Paper-231]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
[11:17:41 INFO]: [StaffPass] Disabling StaffPass v1.0```

Thanks, I'll look into it, paper 1.18.2 now shades mini message 4.10.0, while this plugin is using an ancient version of it.

Fixed with release 1.0.0

repo: OskarsMC-Plugins/StaffPass


text:
create empty file

Домашнее задание, обучающийся - Копылов Иван Владимирович

Assignees почему то не дает заполнить


text:
User interface for watershed delineation service (4)

User story
User wants to run an hydrological model on a catchment. To do that, she needs information about that catchment. She goes to the PAVICS UI and in Maps Control, selects "Watershed delineation". She then clicks on the map, which calls the shape-selection process from raven, passing a longitude, latitude tuple. With a double-click, option collect-upstream is set to True. The process returns a geojson object with the watershed outline, which is then displayed on the map. Hovering on the selected region  displays a panel with watershed properties. The name property can be edited by the user. These properties are provided by the watershed-properties process in raven as a json file. These properties, as well as the lats and lons, can be used as inputs to  raven-gr4j-cemaneige and regionalization processes. They can also be saved in the user workspace.

[ ] Add Watershed delineation to Map Controls widget
[ ] Call shape-selection on click, passing lat, lon from click event. Store geojson output and watershed id.
[ ] - [ ] Call shape-selection on double-click, passing lat, lon from click event and collect-upstream=True. Store geojson output and list of watershed ids.
[ ] Call watershed-properties on click, passing ids of watersheds. Store json dictionary of properties.
[ ] On hover over the selected region, display panel showing the json property dictionary, with the name property being editable.
[ ] Mechanism to pass the properties and lat, long to the process launcher.
[ ] Add DEM from Geoserver to the list of basemaps.
[ ] Store the geojson and properties in the user workspace.

@richardarsenault Pourrais-tu réviser stp ?

Ça me semble bon! Pour l'extraction des autres propriétés basées sur les contours, ça va être un autre User story, exact?

Je suggère que tout se passe en même temps dans un seul clic, donc ça serait inclus ici. Objections ?

Aucune objection, bien au contraire. Par contre, on devrait avoir une option en quelque part pour permettre à un utilisateur qui a déjà son shapefile d'extraire les infos du bassin. Est-ce qu'on prend la même interface?

Je pense qu'on va se garder ça pour la maintenance. Ça va impliquer

[ ] Implement shapefile upload in workspace
[ ] User selects shapefile in layer switcher : contour is displayed on interface
[ ] User hovers on shape: triggers processes computing properties for arbitrary polygon.

Le point 3 exige qu'on puisse calculer les propriétés des bassins on-the-fly, ce que je ne pense pas qu'on soit capable de faire dans l'année 1.

Hmmm peut-être que j'ai mal exprimé mon idée. Disons que quelqu'un a déjà un shapefile d'un bassin et veut rouler Raven (ou faire de la régionalisation par exemple). Raven a besoin du lat/long du bassin. Si on roule en régionalisation, ça prend aussi Land Cover, etc. Un moment donné il va falloir appeler les fonctions d'extraction (slope, elevation, land Cover, etc.).
Donc je conclus qu'on ne permettra pas, à ce stade, à un user de recevoir les propriétés physiques du bassin défini par son shapefile, mais qu'on pourra le calculer pour nos besoins, pour nos codes?

Pour la première année, on va précalculer les propriétés sur des bassins prédéfinis (hydrosheds). L'utilisateur va sélectionner un de ces bassins et on va retourner les propriétés qu'on aura préalablement calculés.
L'année 2, on va permettre de passer un shapefile arbitraire.

OK je n'ai pas de problème avec ça, sauf qu'il va falloir trouver une façon de calculer les propriétés pour les 5700 bassins dans la BD pour la régionalisation...

Oui, on ne s'en sauvera pas.

We have decided to use Notebooks in lieu of a full-fledged GUI. Closing as now Out of Scope.

authors: huard richardarsenault

repo: Ouranosinc/raven


text:
Refusing to send coins

My balance is confirmed in the blockchain and displayed properly on the main wallet page.
When I try to send coin, it says I only have x amount, which is false, and much lower than the actual balance

Here the wallet. As you can see, it will actually let me send .0036btc at a time. But refuses a single transaction for full amount. I thought I could just do multiple tiny transactions until the wallet is empty but then I realized I'd be paying a huge huge percentage of the wallet contents to mining fees.

I don't see anything irregular with the address you posted.
Do you have any screenshots of the coinb.in screen with the incorrect balance?


text:
Gundi 3719 v1

This is the first implementation for a Bluetrax integration using their GraphQL endpoint.
See ticket: GUNDI-3719

I have unit-tests in progress and I'll submit them in a new PR. I'm going to merge this now and deploy so I can resume data for Loisaba and a few other users.

repo: PADAS/gundi-integration-bluetrax


text:
Increase test size for randNormal float32. Also, style fixes.

This should help for now - I'll port over seedrandom() in a PR today as well.

This change is

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

authors: dsmilkov nkreeger

repo: PAIR-code/deeplearnjs


text:
build fail...

@doutriaux1 @durack1 I don't understand impact of anaconda on Travis, but this "build fail" icon is really a blemish.   We should remove this for now.
Agreed?

@doutriaux1 @durack1  I have removed the travis link from readme.md until we can resolve why this is perpetually reporting as "failing"  .... that is unacceptable with EOS paper now published.   Question: is this travis report still relevant now that we are using Anaconda?


text:
Pex groups not inheriting their parent's per world permissions

I am an admin/developer on a server and we have a per world setup for permissions In the config, the Member rank has the permissions for a plot world called plots but the ranks up the inheritance ladder are not receiving those permissions. What can I do to solve this issue?
permissions.yml
Example, the Member rank has the permission plots.claim in world "plots", however, the Admin rank doesn't receive the permission. However, when added directly to the Admin rank, it works fine (Per world setting as well)
permissions.yml file if needed
https://pastebin.com/G69mLSxf

If you have access to the server console, you may see that there's actually an error in the permissions.yml file.  The "HBT" group has a line which reads rank: '7' and it's not under an options; section.  As far as I'm aware, that would invalidate the file, even though the file parses cleanly when it's run through any YAML checker, so the server console should note that error.  At the very least, anything above that (ranks 7 though 1) wouldn't work fully/correctly, and it's more likely nothing would work correctly for any group while that error existed.
Another potential cause of things not working correctly would only matter if the server is running Minecraft 1.9 or higher.  If that's true, every group on the server needs an inheritance: section, even if they're not inheriting from another group.  You can take a look at line 19 of this example to see how your "default" group should be given an inheritance.
Once those 2 issues are addressed, test the server again to see if the inheritance issue you encountered has been corrected.  Let me know if you need additional help.

On an unrelated note, you may want to consider removing all the duplicate "global" permissions from your groups.  For example, "SrAdmin" inherits from "Admin", so "SrAdmin" doesn't need essentials.fly listed in its own permissions: section.  If we wanted to give it to "SrAdmin" on only on one world, we'd list it under that world and negate it in the permissions: section, since it's inherited from "Admin" as a "global" (all worlds) permission.

Problem solved?

No reply from @Firestar311 in more than 7 days.  I guess this issue is resolved.

repo: PEXPlugins/PermissionsEx