Building an OpenRA AppImage: how to make a persistent symlink in the AppImage

Hi,
I've been working on an OpenRA AppImage and I think I'm close to it working. The problem is that the mono-runtime package it uses to provide the mono command relies on a symlink to mono-sgen in order to provide the mono command. This symlink is lost whenever I built an AppImage. This is my present recipe:
#!/bin/bash

# In this case the upstream project seems to already
# provide binaries that are supposed to run everywhere,
# so we merely package these as an AppImage

set +e

APP=OpenRA
LOWERAPP=${APP,,}
VERSION="release-20161015"
URL="https://github.com/OpenRA/OpenRA/releases/download/${VERSION}/openra_${VERSION//-/.}_all.deb"
rm -rf ./$APP/$APP.AppDir

mkdir -p ./$APP/$APP.AppDir/usr/bin
mkdir -p ./$APP/$APP.AppDir/usr/lib
cd ./$APP

wget -c "$URL"

wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh
. ./functions.sh

generate_status

echo "deb http://archive.ubuntu.com/ubuntu/ trusty main universe
" > sources.list

apt-get $OPTIONS update

URLS=$(apt-get $OPTIONS -y install --print-uris libopenal1 mono-runtime libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-data4.0-cil libmono-system-numerics4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-xml-linq4.0-cil libmono-i18n4.0-all libfreetype6 libc6 libasound2 libgl1-mesa-glx libgl1-mesa-dri xdg-utils zenity liblua5.1-0 | cut -d "'" -f 2 | grep -e "^http" )

printf "URLS is \n:$URLS"
wget -c $URLS

wget -c "https://github.com/probonopd/AppImageKit/releases/download/5/AppRun" # (64-bit)
chmod a+x ./AppRun

cd ./$APP.AppDir/

find ../*.deb -exec dpkg -x {} . \; || true

# The following three lines are what I am attempting to use to fix this symlink issue, unsuccessfully I might add
cd usr/bin
ln -sf mono-sgen mono
cd -

get_desktop
get_icon
get_apprun

rm -rf ./etc/ ./home/ || true

# patch_usr
# Patching only the executable files seems not to be enough for some apps
find usr/ -type f -exec sed -i -e "s|/usr|././|g" {} \;

wget -O ./usr/bin/$LOWERAPP.wrapper https://raw.githubusercontent.com/probonopd/AppImageKit/master/desktopintegration
chmod a+x ./usr/bin/$LOWERAPP.wrapper

cd ..
wget -c "https://github.com/probonopd/AppImageKit/releases/download/5/AppImageAssistant" # (64-bit)
chmod a+x ./AppImageAssistant
mkdir -p ../out
if [[ -f ../out/$APP"-"$VERSION"-x86_64.AppImage" ]]; then
  rm ../out/$APP"-"$VERSION"-x86_64.AppImage" || true
fi
./AppImageAssistant ./$APP.AppDir/ ../out/$APP"-"$VERSION"-x86_64.AppImage"

Any ideas?
Thanks for your time,
Brenton

Now I have the Recipe:
#!/bin/bash

# In this case the upstream project seems to already
# provide binaries that are supposed to run everywhere,
# so we merely package these as an AppImage

set +e

APP=OpenRA
LOWERAPP=${APP,,}
VERSION="release-20161015"
URL="https://github.com/OpenRA/OpenRA/releases/download/${VERSION}/openra_${VERSION//-/.}_all.deb"
rm -rf ./$APP/$APP.AppDir

mkdir -p ./$APP/$APP.AppDir/usr/bin
mkdir -p ./$APP/$APP.AppDir/usr/lib
cd ./$APP

wget -c "$URL"

wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh
. ./functions.sh

generate_status

echo "deb http://archive.ubuntu.com/ubuntu/ trusty main universe
" > sources.list

apt-get $OPTIONS update

URLS=$(apt-get $OPTIONS -y install --print-uris libopenal1 libmono-corlib2.0-cil mono-runtime libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-data4.0-cil libmono-system-numerics4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-xml-linq4.0-cil libmono-i18n4.0-all libfreetype6 libc6 libasound2 libgl1-mesa-glx libgl1-mesa-dri xdg-utils zenity liblua5.1-0 | cut -d "'" -f 2 | grep -e "^http" )

printf "URLS is \n:$URLS"
wget -c $URLS

wget -c "https://github.com/probonopd/AppImageKit/releases/download/5/AppRun" # (64-bit)
chmod a+x ./AppRun

cd ./$APP.AppDir/

find ../*.deb -exec dpkg -x {} . \; || true

cd usr/games
echo '#!/bin/sh
cd "././/lib/openra"
mono --debug OpenRA.Game.exe "$@"
if [ $? != 0 -a $? != 1 ]
then
ZENITY=`which zenity` || echo "OpenRA needs zenity installed to display a graphical error dialog. See ~/.openra. for log files."
$ZENITY --question --title "OpenRA" --text "OpenRA has encountered a fatal error.
Log Files are available in ~/.openra." --ok-label "Quit" --cancel-label "View FAQ" || xdg-open https://github.com/OpenRA/OpenRA/wiki/FAQ
exit 1
fi' > openra
chmod +x openra
cd ../../lib/openra
ln -sf ../../usr/bin/mono-sgen mono
cd ../..

get_desktop
get_icon
get_apprun

rm -rf ./etc/ ./home/ || true

# patch_usr
# Patching only the executable files seems not to be enough for some apps
find usr/ -type f -exec sed -i -e "s|/usr|././|g" {} \;

wget -O ./usr/bin/$LOWERAPP.wrapper https://raw.githubusercontent.com/probonopd/AppImageKit/master/desktopintegration
chmod a+x ./usr/bin/$LOWERAPP.wrapper

cd ..
wget -c "https://github.com/probonopd/AppImageKit/releases/download/5/AppImageAssistant" # (64-bit)
chmod a+x ./AppImageAssistant
mkdir -p ../out
if [[ -f ../out/$APP"-"$VERSION"-x86_64.AppImage" ]]; then
  rm ../out/$APP"-"$VERSION"-x86_64.AppImage" || true
fi
./AppImageAssistant ./$APP.AppDir/ ../out/$APP"-"$VERSION"-x86_64.AppImage"

and the error I am getting whenever I run it is:
./games//openra: 3: ./games//openra: mono: not found
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged

Please request an OpenRA AppImage from the upstream application authors. :-)

Done https://github.com/OpenRA/OpenRA/issues/12257.

Added a yml file for OpenRA:
https://github.com/probonopd/AppImages/blob/master/recipes/meta/OpenRA.yml
The game starts to launch on Ubuntu 16.04, but game files fail to be found and/or downloaded. I did not investigate this futher; someone who knows how the game works should take over from here on.

@fusion809 can you ask the upstream team to have a look at this? Thanks

Ping @fusion809 did you ask upstream about this?

The upstream issue OpenRA/OpenRA#12257 is already pelleted with references to this issue. Didn't think I'd have to add yet another one, rofl.

The game starts to launch on Ubuntu 16.04, but game files fail to be found and/or downloaded. I did not investigate this futher; someone who knows how the game works should take over from here on.

Do you mean the individual mod assets, or the core OpenRA files?
OpenRA expects read/write access to ~/.openra/ for storing userdata.  This includes the original game assets (in ~/.openra/Content/) as well as the usual settings, custom maps, replays, etc.  I'm not familiar with how AppImages work, but I guess that you will need to whitelist this somewhere?

The AppImage has no problems writing to ~/.openra. But it wants to download something and fails. I can send you an URL if you want to give it a try, just let me know.


Empty destination paths are not preserved in to_string() for Files objects

Steps to repro:

Download the NMM version of Skyrim Special Edition mod "Insects Begone" (https://www.nexusmods.com/skyrimspecialedition/mods/1190?tab=files). This version comes with a FOMOD installer.

Extract to a folder (let's say it's accessible at src/insects-begone)

Observe the following behavior in python interpreter (using python 3.7.0, probably irrelevant):

>>> import pyfomod
>>> pyfomod.__version__
'0.8.1'
>>> root = pyfomod.parse('src/insects-begone')
>>> print(root.pages[1][1][0].files.to_string())
<files>
  <folder source="Mesh Replacers\Webs" priority="2"/>
</files>
>>>

The actual tag in the xml says:

<folder source="Mesh Replacers\Webs" destination="" priority="2"/>

I believe this is relevant as a matter of correctness because an empty string for destination implies the root of the folder, while if destination is not provided it means it should be the same value as the source. Let me know if my understanding is incorrect.
BTW, I fully understand that to_string() according to the docs is not generally recommended and that API isn't stable, I just encountered this because I'm using it anyway in order to parse out the priority information which is currently not supported by the Files object. There's no pressure, just thought to mention it and keep the issue logged. 😃

I believe this is relevant as a matter of correctness because an empty string for destination implies the root of the folder, while if destination is not provided it means it should be the same value as the source. Let me know if my understanding is incorrect.

destination defaults to an empty string when not present, that's why to_string() omits it!

BTW, I fully understand that to_string() according to the docs is not generally recommended

I may have to rewrite the docs slightly, it's not that it's not recommended or somehow unusable, it just provides functionality that is generally not needed to the user (correct me if I'm wrong). write() itself uses to_string() to get the file contents.

Hi GandaG,
Sorry if this is beating a dead horse. It seems to me there's a case not handled by the 'default to an empty string' behavior, which is exactly what I was trying to call out.
According to the xml schema you have here: https://github.com/GandaG/fomod-schema/blob/master/ModuleConfig.xsd#L484, the destination attribute says:

The path to which the file or folder should be installed. If omitted, the destination is the same as the source.

To me, this sounds like a tag that was originally written as:

<folder source="Mesh Replacers\Webs" destination="" priority="2"/>

... would end up installing the contents under <dest>/Mesh Replacers/Webs if there's no distinction between an ommitted destination attribute and an explicitly stated destination attribute given an '' as a value.
This is relevant because that Insects Begone fomod does intend to put the contents of Mesh Replacers/Webs right at the root of the destination, instead of under <dest>/Mesh Replacers/Webs, and I suspect other fomod installers might have done similar things.
Basically, the behavior with the tag omitted (according to your xml schema) and the behavior with the tag set to an empty string (according to existing FOMOD expected behaviors) are different.
In any case, if I'm wrong on this and seem totally crazy, feel free to ignore.
Thanks,
leontristain

See here for MO2 code.
It seems there's a doc error then (I believe that documentation is untouched from the original, it should benefit from a good cleaning), the missing destination defaults to an empty string (as it should).


Ability to modify value in a document using Pointer

Hello there,
Thank you for such clean and simple library!
What feature or capability would you like?
I'd like to have an ability to have a call like pointer.Set(interface{}). E.g., if we treat pointer.Eval() as Get method, it would be great to have a Set version as well.
Do you have a proposed solution?
Yes, probably some recursive (or just a bit more if-hairy iteration) over pointer parts -- we should be aware of the latest part in the pointer and set its value in a document instead of accessing it.
Have you considered any alternative solutions or workarounds?
Yes.

As a reference this modified evalToken() can be used to have this feature:
  func evalPointer(data interface{}, p jsonpointer.Pointer, v interface{}) (prev interface{}, err error) {
      if len(p) == 0 {
          return nil, fmt.Errorf("empty reference pointer")
      }
      var (
          set = len(p) == 1
          tok = p[0]
      )
      switch c := data.(type) {
      case map[string]interface{}:
          if set {
              prev = c[tok]
              c[tok] = v
              return prev, nil
          }
          return evalPointer(c[tok], p[1:], v)

      case []interface{}:
          i, err := strconv.Atoi(tok)
          if err != nil {
              return nil, fmt.Errorf("invalid array index: %s", tok)
          }
          if i >= len(c) {
              return nil, fmt.Errorf("index %d exceeds array length of %d", i, len(c))
          }
          if set {
              prev = c[i]
              c[i] = v
              return prev, nil
          }
          return evalPointer(c[i], p[1:], v)

      default:
          return nil, fmt.Errorf("invalid reference pointer part: %q", tok)
      }
  }


[Hexagon] [CMake] Fix v66 build issue

This patch fixes the issue mentioned in #17163.
The issue was because some files that are built into the runtime depend on architecture features that are only available starting from v68. Hence, we should not link them into the runtime if the architecture mentioned is v66 or v65.

with SDK4.5 and added your modifications about the cmake file, building errors like this:
Hexagon_SDK_4_5/libs/qhl_hvx/inc/internal/qhmath_hvx_vector.h:837:66: error: use of undeclared identifier 'Q6_Vsf_equals_Vqf32'
vout_linear_interp = Q6_V_vmux_QVV(pred_linear_interp_right, Q6_Vsf_equals_Vqf32(output_linear_interp_right_vqf32), vout_linear_interp);

with SDK4.5 and added your modifications about the cmake file, building errors like this:
Hexagon_SDK_4_5/libs/qhl_hvx/inc/internal/qhmath_hvx_vector.h:837:66: error: use of undeclared identifier 'Q6_Vsf_equals_Vqf32' vout_linear_interp = Q6_V_vmux_QVV(pred_linear_interp_right, Q6_Vsf_equals_Vqf32(output_linear_interp_right_vqf32), vout_linear_interp);

This patch fixes the issue mentioned in #17163.
The issue was because some files that are built into the runtime depend on architecture features that are only available starting from v68. Hence, we should not link them into the runtime if the architecture mentioned is v66 or v65.

with SDK4.5 and added your modifications about the cmake file, building errors like this:
Hexagon_SDK_4_5/libs/qhl_hvx/inc/internal/qhmath_hvx_vector.h:837:66: error: use of undeclared identifier 'Q6_Vsf_equals_Vqf32'
vout_linear_interp = Q6_V_vmux_QVV(pred_linear_interp_right, Q6_Vsf_equals_Vqf32(output_linear_interp_right_vqf32), vout_linear_interp);

According to your suggestions, I update the cmake file with the following changes:
Adding as you change:
set(htp_supported_archs "v68" "v69" "v73" "v75")
list(FIND htp_supported_archs "${USE_HEXAGON_ARCH}" supported_arch_index)
Adding as your change:
if(${supported_arch_index} EQUAL -1)
list(REMOVE_ITEM RUNTIME_HEXAGON_SRCS "${TVMRT_SOURCE_DIR}/hexagon/hexagon_user_dma.cc")
endif()
Adding as your change:
if(${supported_arch_index} EQUAL -1)
list(REMOVE_ITEM RUNTIME_HEXAGON_SRCS "${TVMRT_SOURCE_DIR}/hexagon/hexagon_user_dma_tests.cc")
endif()
Modifying:
**if((USE_HEXAGON_QHL) AND (${supported_arch_index} GREATER -1))
file_glob_append(TVM_QHL_WRAPPER_SRCS
"${TVMRT_SOURCE_DIR}/hexagon/qhl/*.cc"
)
include_directories(
  "${USE_HEXAGON_SDK}/libs/qhl_hvx/inc/qhmath_hvx"
  "${USE_HEXAGON_SDK}/libs/qhl_hvx/inc/internal/"

  "${USE_HEXAGON_SDK}/libs/qhl/inc/qhmath"
  "${USE_HEXAGON_SDK}/libs/qhl/src/internal/"
  )
set_property(SOURCE ${TVM_QHL_WRAPPER_SRCS} APPEND_STRING  PROPERTY COMPILE_FLAGS "-Wno-narrowing -mhvx -mhvx-length=128B")

list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,--whole-archive ${USE_HEXAGON_SDK}/libs/qhl_hvx/prebuilt/hexagon_toolv84_v68/libqhmath_hvx.a -Wl,--no-whole-archive)
list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,--whole-archive ${USE_HEXAGON_SDK}/libs/qhl/prebuilt/hexagon_toolv84_v68/libqhmath.a -Wl,--no-whole-archive)

endif()**
Modifying:
**if(${supported_arch_index} GREATER -1)
file_glob_append(RUNTIME_HEXAGON_SRCS
"${TVMRT_SOURCE_DIR}/hexagon/ops/*.cc"
)
include_directories(
"${TVMRT_SOURCE_DIR}/hexagon/ops"
)
set_source_files_properties(
  "${TVMRT_SOURCE_DIR}/hexagon/ops/conv2d_quant_hvx.cc"
  PROPERTIES COMPILE_FLAGS "-mhvx"
)

set_source_files_properties(
  "${TVMRT_SOURCE_DIR}/hexagon/ops/conv2d_fp16_hvx.cc"
  PROPERTIES COMPILE_FLAGS "-mhvx"
)

endif()**
after that, building succeed!

after adding the following cmake modification:
 if((USE_HEXAGON_QHL) AND (${supported_arch_index} GREATER -1))

building succeed!

after adding the following cmake modification:
 if((USE_HEXAGON_QHL) AND (${supported_arch_index} GREATER -1))

building succeed!

Right, the problem is the Starting 4.0, Hexagon SDK supports v68, so v68 libraries are also included in QHL_HVX libs. Excluding just the ones not supported for v68 when we mention a lower architecture is a problem because the exact files that need to be excluded changes with each Hexagon SDK release. The best way is to just use Hexagon SDK 3.5 which is the last version that does not have v68 support and so it should work without any change. Or the other option is to pass USE_HEXAGON_QHL=OFF in your cmake command

@tvm-bot rerun

cc @csullivan @abhikran-quic


AnimFrame Event do not trigger update

I found out when modifying data in  AnimFrame, the Widget::update will not run.
For example, I have a widget which use AnimFrame event to poll some thread results, and then it will change a boolean flag in my data which is controlling a Either widget. But it do not work as expect and my Either widget do not switch.
I think the reason of that is :
https://github.com/xi-editor/druid/blob/cbc31d86fe0548be507116f543b0f2efa700bdf8/druid/src/win_handler.rs#L144-L165
If I understand correctly, It should call update after AnimFrame event but current implementation did not.

Yea, AnimFrame is strange. It is a goal to move AnimFrame out of Event and make it part of the new life cycle system; the lifecycle method on Widget will be similar to update, and you won't be able to mutate data; the only state that should be modified during animation should be state that is internal to the widget. If you need to do something fancier I would send a Command.
Also just to clarify: it should not be expected that update is called after every event, but only that it is called before each layout call. So you can receive multiple events before a single update event. (This isn't a problem here, but wanted to mention it because I don't think it's written down anywhere)


Fix method length

NOT READY TO MERGE

@EGiataganas What's happening with this? Is it worth working out the conflicts and getting it reviewed, or shall we just close it?

@SteveMarshall let me have a look

@dan-palmer @tatyree @SteveMarshall Please have a look!


[Feature]: Alignment index type with Milvus 2.3.x

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
Milvus deprecated some index types in version 2.3.x and add ScaNN index, need to keep aligned.
ref:
https://milvus.io/docs/release_notes.md#ScaNN
Describe the solution you'd like.
No response
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response

Hey @jiaoew1991 you need the documentation updated to insert a point the ScaNN index has been added...am i right that is what the issue is about?

Hey @jiaoew1991 you need the documentation updated to insert a point the ScaNN index has been added...am i right that is what the issue is about?

Sorry, you can find the introduction of ScaNN here, https://milvus.io/docs/release_notes.md#ScaNN

Hey @jiaoew1991 you need the documentation updated to insert a point the ScaNN index has been added...am i right that is what the issue is about?

Sorry, �you can find the introduction of ScaNN here, https://milvus.io/docs/release_notes.md#ScaNN

@jiaoew1991 So could you please help me understand what is needed from this issue?

A batch of index types is defined here, but it is aligned with Milvus 2.2. In Milvus 2.3, the annoy index was removed and the ScaNN index was added instead, so adaptation is needed.
https://github.com/milvus-io/milvus-sdk-rust/blob/main/src/index/mod.rs


Automatic archiving of long-inactive streams

There's an interesting problem for very large organizations of how to manage cleaning up streams that have been forgotten / become unused, which would otherwise clutter the namescape.  There's a few different approaches we could consider for this:

Adding an option to automatically archive streams that have received no traffic for a long time
Adding a convenient easy report on streams that have receive no traffic for a long time, to faciliate someone manually investigating and cleaning them up
Something else

Feedback on the space of ideas here is very welcome!

@timabbott as an administrator of a large organization that's been putting some more time into thinking about these issues lately, the thing that would be most immediately useful is just a button in the "Stream settings" pane for archiving it, no automated reporting or anything else necessary.
Our pain point is basically there there are streams that we
Our pain point is basically there there are streams that we would like to not be used anymore, but which we'd also like not to delete, since they have a lot of valuable past discussion in them. So what I mean by archive above is something like—unsubscribe everyone who's subscribed, don't allow subscription or posting in them anymore, but still allow viewing their past contents somehow. would like to not be used anymore, but which we'd also like not to delete, since they have a lot of valuable past discussion in them. So what I mean by archive above is something like—unsubscribe everyone who's subscribed, don't allow subscription or posting in them anymore, but still allow viewing their past contents somehow.

👋
bumping this topic if this is still a

feature that is on the roadmap
a pull request that zulip is open to fielding?

I agree with @porterjamesj  on their assessment that is still a desired feature/issue.
This might be two issue requests. The user experience would be similar to the on in slack now

offering archiving streams as a feature

hiding it from channels but providing it in the UI the option to view archived channels
allow search over the message
denying adding new comments to archive stream threads
some challenges
private stream archiving?
tracking blocking threads and adding the active/deactive flag to messages/threads

Part two would either be a nice zulip bot or an integrated feature that does the automatic archiving similar to this bot
https://github.com/randsleadershipslack/destalinator
I work at a remote distributed company with a 1000 users and hundreds of streams and this has helped add a lot of usability at scale
@timabbott is this something the project is open to or has looked at ?

A few notes on this:

I think Zulip's "Delete stream" feature actually does something pretty similar to what @porterjamesj described above: The messages are still stored and accessible (though it's actually quite difficult to get to them through anything other than full-text search, since all the navigation hides them).
The main work here would likely instead be providing a way to interact with the resulting "archived streams", which are currently invisible in most views.

We'd need to figure out the details for how this should work, but we certainly intend to have a more extensive user-facing archive access UI.

hey @timabbott thanks for addressing this!
do you think this is a priority that could be added to the roadmap and designed so possibly someone could work on this?

The main work here would likely instead be providing a way to interact with the resulting "archived streams", which are currently invisible in most views.

In the capacity of someone being "not joined to a channel" but able to view, could this be changed so that it makes a stream "unsubscribable" so it not editable?
This seems like a shortcut way that is supported in the application already of an archive mode.
Ostensibly it could be implemented as a "unsubscribable user stream" but postsearch text should work and has some support in the applications.
What do you think?

I think this is something where if there were someone committed to spending dozens of hours working on building this, I'd be happy to spend the couple hours of my time required to design it properly.  I don't think there's enough demand from this to invest that time without someone committed to do the work.

Closing as I think the ability to sort by traffic level, quickly preview the stream, combined with the "archive stream" feature, is probably a reasonable workflow for this use case.


Add InfoType::to_string method

Currently, the InfoType::to_str method converts an OpenCL C string into a Result containing a Rust ffi::CString and a NulError.
The InfoType::to_str method now handles null characters in OpenCL C strings returned from some devices, see issue #2.
The new InfoType::to_string method converts an OpenCL C string into Rust String using the from_utf8_lossy method to convert invalid characters to std::char::REPLACEMENT_CHARACTER. It is intended to replace InfoType::to_str which is now marked with the deprecated attribute.
This change replaces all instances of InfoType::to_str in this library with  InfoType::to_string.

@vmx I don't understand what you want with the TryFrom trait.
Please can you explain or give an example in issue #4?


Build tools & yeoman component generator maintenance & stability updates

Jira
http://vjira2:8080/browse/BDS-1981
Summary
Build tool and yeoman generator maintenance / stability updates.
Details
Build Tool Updates

Proactively addresses an Octokit depreciation warning in the CLI relating to Github API authentication

Also more smoothly handles the authentication token not being available locally to prevent errors

Adjusts the path resolution logic in the runtime generator script (used in the SVG icon build process) to address build errors relating to two dependencies being unable to be located... so far I've only seen this locally (EDIT: on Travis as well...) so this is likely an early warning of what we could start to see elsewhere

...

Adds the elapsed Webpack build time to the bottom right corner of the dev server boot-up screen

Adds a new param to the @bolt/build-utils timer function to round to the nearest second

Misc

Renamed the package.json template filename used in the Yeoman component generator to avoid getting automatically picked up / validated by other tools

PR was released with v2.17.0


Move tool over to Mono Framework

Not sure why I didn't think of this before (probably b/c I was hung up about it being in C# in first place).
Anyways, this is just a self-task issue so that I can mark it off when I'm done.
GOAL: Move tool over to Mono Framework and fix anything that prevents me from doing so.
Reason 1: Because C# only works on Unix-like OSes via the Mono Framework.
Reason 2: This app doesn't work via wine, simply crashes on startup. So no other option than Mono.

What about waiting for a stable release of .NET Core 2?

Not worth it. My time is always in short supply, so waiting isn't exactly a favorable option. According to the roadmap, the stable version will be released this month anyways and a preview version already has.
This app is only suppose to be a prototype, long-term concerns are moot. It was always the plan between me and xTridence that once we had a workable program that we would rewrite it in C/C++. The prototype was simply written in C# because he said it was quicker for him. A common practice in development.
Regardless, he has apparently quit the project. So I must finish it now and, as you know, only Mono C# works on my OS.
So my process now is:  C# => Mono C# =/\/=> C/C++. It's a little more complicated than that, but worry not, I will be including Windows support in the C/C++ code.

The code is far more compatible with Mono than I initially thought. It simply requires a extra library and the removal of an ancillary component which does an external performance check for fun.
Thus all the program needs is some install instructions (for ubuntu) which I will add. This prototype went beyond what I wanted to achieve which was a nori extracter (and packer - for brownie points). Thus I have little use for most of the code, especially the GUI code. Additionally the nori extraction code for this tool is still incomplete resulting in occasionally bitmap images that are a garble of black, pink, and white.
I will be creating a new repo for the C/C++ tool because of this and leaving this one alone after including the new install instructions. The new tool will take what insights about nori extraction we gained from this tool and applying it to new one without a GUI.
Optionally, I willing to remove the nori code from this program and leave it as libconfig editor as it seems that ended up being xTridence main passion for this app instead of the intended nori manipulator. That is decision up to fans though.
The new app will be more in line with this organization's goals of creating a Trickster Online clone with libre licensing. That goal has little use for maintaining the original cumbersome file formats. So other than maintaining this program's ability to compile, it is now deprecated.


proposal: x/sys/unix: make withData public

Proposal Details
The ifreq functionality through the Ifreq interface and its IoctlIfreq interface currently do not offer the flexibility it could have.
A simple example would be to issue some ioctl where ifr should be a pointer.
There are of course workarounds for that (e.g. issuing raw ioctls via the syscall API and providing a byte slice) but adding a more robust interface like already supposed would be a good idea.
I currently don't see any reason why not to expose this already existing functionality, but maybe I miss a bigger structural point here.
If you do not have enough resources for implementing this change I'd be happy to help you out on that.
The code suggests that @mdlayher once thought about exporting access to IfreqData, but postponed it due accessibility through IoctlGetEthtoolDrvinfo. This although is read only.

I want to issue an ioctl call that passes as an argument an Ifreq struct that holds custom ifr data that is a uintptr. The API calls for Ifreq although only expose methods to SetInet4Addr, SetUint16, SetUint32, none of which is suitable to set a pointer value (64bit) for https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/if.h#L253.
Alternatively, one could add an interface to set 64bit values or even arbitrary byte slices to ifr.raw.Ifru.

A pointer to what struct exactly? Is there a concrete C struct we can generate to give you a type safe API for this?


i18n: Can not select the languages.

Can not select the languages In http://localhost:3000/settings.
I had set the right route value in project-tap.i18n and restart app still cannot see any languages,here is my project-tap.i18n:
{
    "helper_name": "_",
    "supported_languages": ["zh-CN"],
    "i18n_files_route": "/tap-i18n",
    "cdn_path": null
}

and my tap-i18n folder:
├── tap-i18n
│   └── zh-CN.i18n.json

and my package.json:
Package.on_use(function (api) {
<EMAIL_ADDRESS>["client", "server"]);

  .
  .
  .

  // You must load the languages files after you load your templates -
  // otherwise the templates won't have the i18n capabilities (unless
  // you'll register them with tap-i18n yourself, see below).
  api.add_files([
    "tap-i18n/zh-CN.i18n.json",
  ], ["client", "server"]);
});

Why and how to fix?

Sorry about that, let me know if it's fixed (if you pull the latest master branch).

BTW, if users do a $meteor deploy then untar the file, the i18n files seems got wrong path value, Maybe it's another reason?
FYI: https://github.com/tutaslabs/openshift-meteor-telescope/issues/1

Untar what file? Sorry I'm really not familiar with openshift…

Sry,i mean after tar  the bundle file, the i18n files got wrong path value in github.
FYI: http://www.tutas-labs.com/deploying-meteor-applications-to-openshift-paas/


Add unit test coverage for fhir router graphql

🤖 Generated by Copilot at d07dcee
Summary
✅🧹🚀

This pull request improves the fhir-router package by removing unnecessary code from the graphql.ts file and adding a new test case for the connection API in the graphql.test.ts file.

Sing, O Muse, of the valiant code reviewers who scrutinized the changes
That added a new test case for the GraphQL handler, a skillful craft
To probe the response of the connection API, a mighty query
That lacked the count field, a subtle flaw that could escape the draft

Walkthrough

Simplify and remove caching logic for GraphQL handler (link,link). This avoids potential bugs and inconsistencies with schema updates and improves code readability. The cache was only used for the introspection query, which is not a common or performance-critical use case.

Coverage: 94.224% (+0.01%) from 94.21% when pulling d07dceec5a5b585b8ad578b5e50f44f15367d885 on tony-increase-fhir-router-graphql-test-coverage into 38d930b4fb596801167aa1b5150f50b7ee2142cb on main.


Update Deploy command-r.ipynb

updated to new cohere_packages

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


Fixed - Actionsheet of android returns buttonIndex as string instead of number

Fix for issue #1353

@Empact Yes!, we will add ChangeLog with tags

Recreated this PR
#1401

Thanks! I just got hit by this. So this will be fixed in 2.3.4 right?

@ceefour I made a comment in this PR
https://github.com/GeekyAnts/NativeBase/pull/1370#issuecomment-347841546


Grunt

Add in guides/DevOps

I would like to work on this sir!

I would like to work on this

Assigned to @megha070 .
@Pallavi024 you have been assigned one already


Rotate the OAuth client credentials without revoking the previous client credentials

With the current implementation of the product when we rotate the OAuth client credentials it will revoke the previous client credentials. This will fail the client invocations with the old client credentials.  Since it will take some time to update the client applications with the newly rotated client credentials by application owners. Shall we take a step to improve the feature to rotate the OAuth client credentials without revoking the previous client credentials?

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


[CSApply/Distributed] Identify implicitly throwing calls while applying solution

Calls to distributed actor methods could be pointing to a thunk for remote access,
such thunks are implicitly throwing. Their existence has to be identified early in order
for later steps of solution application to mark context as throwing e.g. implicitly
generated autoclosures for async let initializers rely on that to make closure as
throwing when necessary.
Resolves: rdar://83610106

@swift-ci please clean test

@swift-ci please clean test

@swift-ci please test Windows platform

@swift-ci please test Windows platform

Awesome! And CI green everywhere as well now 🥳


fix private Is in types #55

our Is instances should be public, so people don't run into the issues such as #55.
Ultimately, I think we do a pretty decent job in providing default constructors so people don't have to ever resort to using Is (i.e apply or fromArray), but they should be public for the sake of things that require a construction like doobie's Meta

Build triggered. sha1 is merged.

building

Build Passed!


build_detect_platform line ending error

What steps will reproduce the problem?
1. git clone https://code.google.com/p/leveldb/
2. cd leveldb
3. make

What is the expected output? What do you see instead?
It should compile. I get an error:
$ make
/bin/sh: 1: ./build_detect_platform: not found
Makefile:18: build_config.mk: No such file or directory
make: *** No rule to make target `build_config.mk'.  Stop.

./build_detect_platform actually exists, but when executed it prints:
$ ./build_detect_platform
bash: ./build_detect_platform: /bin/sh^M: bad interpreter: No such file or
directory

What version of the product are you using? On what operating system?
leveldb 1.9, Ubuntu 12.04.

Please provide any additional information below.
'dos2unix build_detect_platform' fixes the problem

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 22 Jan 2013 at 1:41

Original comment by<EMAIL_ADDRESS>on 22 Jan 2013 at 5:55

Changed state: Invalid

This was my problem, there was a:
---------
[core]
       autocrlf = true
---------
in my .gitconfig which was replacing line endings.

Original comment by<EMAIL_ADDRESS>on 22 Jan 2013 at 2:14


Propagates logs and reports 128-bit trace IDs (1.1.x)

This supports 128-bit traces via a new field traceIdHigh, which matches
other zipkin implementations. In encoded form, the trace ID is simply
twice as long (32 hex characters).
With this change in, a 128-bit trace propagated will not be downgraded
to 64-bits when sending downstream, reporting to Zipkin or adding to
the logging context.
This will be followed by a change to support initiating 128-bit traces.

backport of #452

picked into 1.0.x


Basic Support for ESP32S3

Get to the point that at least "hello_world" can be flashed and runs. Ideally also the other examples besides "blinky" (since GPIO will be a bigger task)

Closed by #14


New version (2.3.2) breaks custom facades

Hello,
I have custom models (non-eloquent) for which I have created Facades. My models methods are now highlighted if I use the facades. If I use the models directly, there's no problem.
class Domain extends \App\Models\Domain {}
`namespace App\Models {
class Domain {

}

}`
This class \App\Models Domain has it's own (mostly static) methods. It also extends another class (which is not reflected in the _ide_helper.php as shown above) which contains more methods (static and otherwise). All of these now produce errors.
Do I need to do something specific to get these methods recognized?

custom non-eloquent models with facades? 🤔
Sounds very… special.
Do you still experience this problem?

I created those at the time to be able to approach data from an API as if they were simply eloquent database models.
But this issue is over 3 years old and the application I used it for it no longer in use (actually the whole company doesn't exist anymore). So I have no way of telling whether the problem would still occur. I'll just close the issue.


"Measure M Independent Taxpayer Oversight Committee - Public Hearing" Not Showing Concluded Status

Greetings!
I noticed that our Measure M Independent Taxpayer Oversight Committee - Public Hearing meeting is not showing as "concluded" and still shows as "upcoming" under "Today's Meetings" section.

It seems like this meeting did end properly as shown within insite. Please advise.

The event in question doesn't have an EventBroadcast. I'm thinking we can just manually create an EventBroadcast for the meeting to patch this. Does that sound right to you, @hancush?
(Could have something to do with #1116?)

@antidipyramid Sure thing. Go for it!


Error: Actions must be plain objects.

A question about how to call angular service function on container.
When I try to call a "service map to redux" function on container, I get this error =>
EXCEPTION: Error: Actions must be plain objects. Use custom middleware for async actions. in [null]

code is like:
this.ngRedux.mapDispatchToTarget((dispatch)=> {
      return {
        fetchToday: ()=>dispatch(
          this._service.fetch()
        )
      };
    })(this);
this.fetchToday();

Service function code is simply as
return (dispatch, getState)=> {
      dispatch(FETCH_TODAY_ACTIVITIES);
    }

where FETCH_TODAY_ACTIVITIES is a string

Redux requires the final dispatched action to be a plain JSON object, and it also expected to have a type property.
Would

return (dispatch, getState)=> {
      dispatch({type: FETCH_TODAY_ACTIVITIES});
    }

Redux is pretty un-opinionated about how you structure your objects - the only 'required' thing is it's a JSON object with a type property.

Great help! Many thanks.
2016年5月2日 下午7:19，"Evan Schultz"<EMAIL_ADDRESS>
Redux requires the final dispatched action to be a plain JSON object, and
it also expected to have a type property.
Would
return (dispatch, getState)=> {
dispatch({type: FETCH_TODAY_ACTIVITIES});
}
Redux is pretty un-opinionated about how you structure your objects - the
only 'required' thing is it's a JSON object with a type property.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/angular-redux/ng2-redux/issues/71#issuecomment-216418327

@lanocturne happy to help. Going to close this issue, but if you have any other questions feel free to ask.
Thanks,
Evan

@e-schultz
Probably you should update the README cook book code
loginUser(credentials) {
    return (dispatch, getState) => {
      **dispatch(LOGIN_USER_PENDING); **
...

to
dispatch({**type**: LOGIN_USER_PENDING});

@lanocturne good point - will update the readme. Thanks for the input/feedback.


test(command-dev): limit concurrency

This is an attempt to make our CI more stable by limiting the concurrency of the servers we spawn during tests.

@ehmicky this doesn't solve all our CI issues, but looks like it doesn't impact performance:
https://github.com/netlify/cli/actions/runs/477184868
https://github.com/netlify/cli/actions/runs/477774268

@ehmicky this doesn't solve all our CI issues, but looks like it doesn't impact performance:
https://github.com/netlify/cli/actions/runs/477184868
https://github.com/netlify/cli/actions/runs/477774268


Model is not learning problem

Hi,
I'm trying to train the Transformer model on a custom dataset, however, the model fails to learn and just output the same prediction for all the inputs. More than that, due to the early stopping mechanism, it always stops after the 20 epoch and not continue forward.
I tried to change the learning rate, the optimizer, and then stopping, however, there is no improvement.
Thanks.

You should post this question to some forum. We are unable to help you to fix issues if you are experimenting with a custom dataset because we have no knowledge about that. Closing this issue.

Actually, I prepared the custom dataset, the same way the dataset that used in your paper, the same tokenization techniques, and the same ratios. But instead of java projects, I used Android projects instead.
Thanks.

How many training examples you have?


Weird error messages in validation

I have been using Oxygen to encode inscriptions on my Macbook. I tried encoding gaps for the first time and got error messages that say I can either have "quantity" or "extent" but not both (screen shot shows the errror messages), when I have not included "extent" at all. I also get these error messages when I try to open other team members' files, even though the files were validated on their computers. My files, when cloned, are also validated on other computers. I tried to open the same file on the Windows computer in my office (assuming it was a problem with my MacBook) and am oddly facing the same problem there as well.
I also get error messages when I encode verses saying the value of attribute "part" is invalid, even though I have only the attribute "meter" included.
I would really appreciate any help with this!
@michaelnmmeyer @ajaniak

The files are in https://github.com/erc-dharma/tfb-kalyanacalukya-epigraphy but as Samana says, we have not been able to reproduce these error messages on my or Annette's computer, while conversely, the same sort of errors popped up in my files we tried to validate on Samana's computer. Any help would be much appreciated.

Have you updated your oxygen lately?

Then, can you check that the parameters for the schema are still the right one? In the preferences, XML / XML Parser / RELAX NG, the box "Add default attribute values" shouldn't be ticked.

Great! Glad to read it is solved!
have a good evening.
Best,


Styled Component PropType

Description
Recently in our project we started noticing weird PropTypes errors in components, which accept another components in their props.
A typical example is a <Field /> component from redux-form, which is commonly used as
<Field component={Input} />.
In our use cases the passed component is a component wrapped in styled(), to inject some additional styles to the field.
Everything works fine, but when such styled() component goes through PropTypes check, it fails with a warning like "Failed prop type: Invalid prop component supplied to ...".
By debugging the PropTypes of the Field component and the type of the styled component, I found out that the return value of styled() call gets interpreted by PropTypes as an object, when majority of PropType rules for this case validate for either func, string or a node, but not an object.
This is quite weird as I'm not really sure if it's the problem with the styled-components or prop-types library, but I hope you will help us with this.
Environment
System:

OS: macOS 10.14
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 136.18 MB / 16.00 GB
Shell: 5.3 - /bin/zsh

Binaries:

Node: 10.14.1 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman

npmPackages:

babel-plugin-styled-components: ^1.5.1 => 1.9.2
styled-components: ^4.1.2 => 4.1.2

Reproduction

Open sandbox
https://codesandbox.io/s/14r2xn4n7j
Open browser devtools' console
You should see a warning "Warning: Failed prop type: Invalid prop component supplied to Wrapper."

Steps to reproduce

Create a styled() component
Pass it to a component as a prop
Add a PropTypes validation to this prop as follows:

PropTypes.oneOfType([
    PropTypes.func,
    PropTypes.string,
    PropTypes.node
]).isRequired

You should now see the warning, as styled components gets interpreted as an object

Expected Behavior
The component should be interpreted as a function or node by the prop-types
Actual Behavior
Component is treated as an object and a warning is thrown

This is a problem with the PropTypes library, you probably have to update it. styled-components v4 returns a React.forwardRef object, which needs to be accounted for in PropTypes.node!

Apparently prop-types package doesn't support a valid type for a forwardRef component.
For anyone stumbling upon this, here is the issue in the prop-types repo:
https://github.com/facebook/prop-types/issues/200

Just FTR, this worked for me: https://github.com/facebook/prop-types/issues/200#issuecomment-447754082.

You can now use elementType (see this comment).


Add grpc v1.56.3.bcr.1

This basically replaces
use_repo(python, local_config_python = "python_3_8")

with
bazel_dep(name = "pybind11_bazel", version = "2.11.1")
python_configure = use_extension("@pybind11_bazel//:python_configure.bzl", "extension")
use_repo(python_configure, "local_config_python", "pybind11")

in order to pick the default Python toolchain instead of a fixed one which leads to problems on a mismatch.

Does default Python toolchain mean the one on the host or the default one registered by rules_python?

Does default Python toolchain mean the one on the host or the default one registered by rules_python?

Default one registered by rules_python. At least this is how I interpret https://github.com/bazelbuild/rules_python/blob/main/BZLMOD_SUPPORT.md#default-toolchain-is-not-the-local-system-python.

Also I inspected the usages in more detail and it seems the only relevant place for Bzlmod is
https://github.com/grpc/grpc/blob/06021d918406f8814fb475e1fd53dbf7d0197e53/bazel/cython_library.bzl#L75.

I found a Python version independent way and updated the description.


draft PR check remote build

Fixes #6364
Description

Specific Changes

Testing

Pull Request Test Coverage Report for Build 333705

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.03%) to 79.096%

Files with Coverage Reduction
New Missed Lines
%

/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/ServiceCollectionExtensions.cs
1
93.55%

Totals

Change from base Build 332211:
0.03%

Covered Lines:
25730

Relevant Lines:
32530

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll

@yingduyingdu What is this?


[nestjs-rxjs-metrics] has no exported member 'NestJSRxJSMetricsService'.

We need this to be exported

Implemented in the recent version


JetBrains: Sourcegraph Cody + Code Search error when determining Git URL in version 5.2.4819

Hi,
Since the release of version 5.2.4819 when trying to use the Sourcegraph -> Open Selection in Sourcegraph Web option in the IntelliJ context menu I'm getting the following error. I suspect it's related to https://github.com/sourcegraph/jetbrains/commit/dd24360f9cef3a49c7b836c07e1332a2e910b544 as that's where the specific error was introduced. Everything is working correctly if I downgrade to 5.2.2301.
Error determining repository info: Failed to convert git clone URL to codebase name for cloneURL: org-1111111@github.com:user/repo.git"

Note: I've obscured the full URL, but it's a private enterprise GitHub repo if that helps.

Thanks for reporting @lnewson someone will take a look :)

Hello @lnewson 👋
It looks like I am the author of the problematic commit 😅 I am sorry to read about your inconvenience 🙇 I am going to help you 👨🔧
I tried a private repo URL and version 5.2.7299 - it works fine for me.
Can you try switching to 5.2.7299? Does the issue occur to you when you use it?

Thanks for taking a look 👍 I tested the new version mentioned above and can confirm it now works. Looking at the changes, it looks like the fix was this commit: https://github.com/sourcegraph/cody/commit/65cbc12c00aed56c4013ef6c97736a82ac0dc294


feat: expose minimum width for lists

The value of the minWidth for the default list markers was hardcoded. I've exposed them but keeping the original computed properties as it is with the current default values

Nice :+1+


Update week 4 content to fix some formatting issues

Update week 4 content to fix some formatting issues

thanks @hkamel  :-)


Chisel stage

Related issue:

Type of change: other enhancement

Impact: API addition (no impact on existing code)

Development Phase: implementation
This PR provides a reimplementation of the Chisel Driver as a Stage. This involves three major additions/modifications:

Addition of a chisel3.stage package that implements ChiselStage
Addition of tests for chisel3.stage
Modification of chisel3.Driver to use ChiselStage with a compatibility layer

For a more exhaustive introduction to Stage/Phase, see freechipsproject/firrtl#1005.
Todo

[x] Add Scaladoc
[x] Deprecate ChiselExecutionResultView

This is an implicit object and can't be deprecated. Instead it's now private [chisel3]

[x] Note in documentation what is compatibility layer

Structure
This PR

Add expected annotations
Write the CLI
Add the xOptions class (which is not a case class)
Write an options view to construct your xOptions
Add methods to existing ExecutionOptions to reconstruct an AnnotationSeq
Write all new phases to reimplement Driver functionality:

chisel3.stage.phases.Checks
chisel3.stage.phases.Elaborate
chisel3.stage.phases.Convert
chisel3.stage.phases.Emitter
chisel3.stage.phases.AddImplicitOutputFile
chisel3.stage.phases.AddImplicitOutputAnnotationFile

Write ChiselStage
Write any necessary compatibility layer and/or re-use existing compatibility layers
Write the new Stage
Replace old Driver logic with new phases

Anecdotally, this process is non-linear. I did this by incrementally porting the old Driver in pieces and moving whatever functionality I could into it when I had it. Git's --squash and --fixup help a lot for keeping the history sane when you do rebase. Additionally, writing tests as you go is tedious, but likely necessary.
Most of the porting difficulty is (1) deciding, without constraints, what you want the new stage to do and (2) writing the compatibility layer that interfaces this with the old Driver.
There are several temptations here that I think should be avoided:

Opting to have the old Driver call an old, already ported, sub-Driver (e.g., have chisel3.Driver call firrtl.Driver). This causes the old Driver and the new Stage to use different code paths. While not insurmountable, this would seem to introduce the potential for subtle bugs between the two versions.
For the same reasons as above, no functionality should differ between the old Driver and the new stage excepting compatibility layer phases and a view to an execution result.

Most of difficulty in not yielding to these temptations is dealing with situations where the old Driver does not do things in a linear, pipe-like order. E.g., the old Chisel Driver would do elaboration and then continually refer back to the elaborated Chisel circuit. The stage doesn't need to do this as it's moving directly towards a CHIRRTL circuit or to run the FIRRTL compiler. However, the compatibility wrapper has to reconstruct what happened. This PR gets around this, kludgily, by viewing deleted annotations. This isn't really advised, but for a compatibility layer it's passable.
Depends on:

https://github.com/freechipsproject/firrtl/pull/1005.

Release Notes

Adds ChiselStage, a the Chisel Driver as a firrtl.options.Stage
The original Chisel Driver is converted to a compatibility layer around ChiselStage

Note: this is causing testers to fail on:

chisel3.iotesters.BlackBoxVerilogDeliverySpec
examples.AccumulatorBlackBoxPeekPokeTestVerilator

I am out today but will try and dig into this tonight

This looks like a test set-up error. It is failing because VCS is not present. I'll ask @ucbjrl about it this morning

Looking at this. There's an annoyance in that the old Driver.execute mutates the options and passes that to FIRRTL. This has the effect that running Driver.execute and then inspecting the options manager will differ with this PR as it stands (e.g., getAnnotations). I'm seeing about a fix to preserver backwards compatibility.

Following up on the previous comment: the specific issue stems from Driver.scala#L236. Inside chisel3.Driver.execute the input options manager is mutated and passed to firrtl.Driver.execute. FIRRTL does not (as far as I can tell) mutate the options manager. However, anything downstream that looks at the mutated options manager has a view of the options just before FIRRTL runs. This includes all input FIRRTL annotations which may be necessary for things like testers.
This is fixed by adding a couple of additional phases. In the new chisel3.Driver, a NoRunFirrtlAnnotation is added to disable ChiselStage running FirrtlStage. After ChiselStage a MutateOptionsManager(a: ExecutionOptionsManager with ...) runs to mutate the options manager. FirrtlStage is then possibly re-enabled. Then a new MaybeFirrtlStage runs that will run FirrtlStage if it's supposed to.
Corollary: mutable state is the root of all evil.
Addendum: if a Stage isn't working, it probably needs more Phases....


add :Z mount flag for temporal container

The Issue
When running under podman-compose and rootless podman on a Linux system with selinux enabled, the temporal container does not start because the dynamicconfig mount fails.  This leads to a "500" error page when accessing http://localhost:8080
Why?
When selinux is enabled on the host system, bind mounts need to be relabeled or the mount fails and the container with the mount will not start.
The Z flag modifies the selinux label so the podman process can access the bind mounted directory. The option has no effect when running without selinux enabled.  reference: https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
see also: https://docs.podman.io/en/latest/markdown/podman-run.1.html#volume-v-source-volume-host-dir-container-dir-options
There are other ways to enable the composed containers to run on an selinux-enabled host system with rootless podman; if you don't want to take on a change like this, it might help others to indicate the system setup options that will enable this application in the documentation.
Change was tested with docker 24.0.5 on Unbuntu 23.04 with selinux disabled, and Fedora 38 with podman 4.7.0 and podman-compose 1.0.6, and selinux enabled.  Both led to a usable page at http://localhost:8080, but I can't vouch for the resulting system working in all aspects.
(sorry, unable to create issues so this is how I've manged to do it)

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

Sorry, I think this is a bit too obscure. These samples are intended to get people started, I don't think that supporting selinux out of the box is within the scope.


Use 'make check-fdb' for running FDB-only tests on Jenkins

ooooh, you're right, I messed up there


SLING-11355: Sling Discovery Bundles: update to sling 48

@ashokmca07 - when merging multiple commits that logically belong together, please use Squash and merge and make sure that the title follows 'SLING-XXX: YYYY' pattern. Thanks!


feat: interactWrites from within the contracts

Add an option to change a state of a contract from within other contract code.
Proposed solution:

Write a new interaction for the "calling" contract.

perform dry-run with the new input
fetch a log of all inner write calls performed during this dry-run (probably with the use of https://github.com/redstone-finance/redstone-smartcontracts/issues/21)
for each registered inner write call - add a tag in the resulting interaction transaction:
'interactWrite': 'calleeTxId'

Eval state of the callee contract:

load all interactions (both "traditional" and the one with "interactWrite": "calleeTxId")
sort the transactions
for all the "interactWrite" transactions - load the calling contract and eval its state up to the given "interactWrite" transaction height - this effectively should cause the "innerWrite" to be called - and with the help of the state cache for the callee contract - update its current value.

implemented in https://github.com/redstone-finance/redstone-smartcontracts/pull/45


Fix update queue status failed.

Description
Fixed https://github.com/Azure/azure-sdk-for-java/issues/30880
The updated xml should have exact same order as what we get from service. Move MaxMessageSizeInKilobytes to the end of xml.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

I wonder do I need update the session record folder? if needed, is there a command or I just update manually?

API change check
API changes are not detected in this pull request.


Replace search

What does this PR do?
(Please set a descriptive PR title. Use this space for additional explanations.)
It removes the current search box and adds a Search Box widget offered by Inkeep. The new search box has AI Capabilities and have better results in general.
What does it look like?
General Search Box

Sidecar Search Box

Search regular results

Chat AI capabilities

Any background context you can provide?
We have been upset with the search results offered by our current implementation of ElasticSearch.
What is needed from the reviewers?
Check the style and appearance is good
Have you maintained the front matter?
yes

Plus: we need to document how this works, for example in the README. Or at least a link to the intranet where we will describe the Inkeep setup in private.

Good point, I will include it in README and also pìng WG-ai, I think we could add a new place in our intranet/handbook for documenting all AI initiatives

BTW I have checked the blog contents and change/releases are also indexed :)

I have just sent you an invite to review together tomorrow

Together with Marian, we found some inconsistencies in the search results. I elaborated a 10-point list to check if the search engine returns good results. Now after some fixes, it is working as expected

cc/ @marians


Passing environment variables to the workflow

I am not sure if this is a real issue or if I lack some GHA experience.
I have the following workflow
name: iOS Publish
on:
  pull_request:
  workflow_dispatch:

#  push:
#    branches:
#      - "main"

env:
  gitHubUserName: ${{ secrets.GH_USER_NAME }}
  gitHubAccessToken: ${{ secrets.GH_ACCESS_TOKEN }}

jobs:
  publishIOS:
    name: Publish iOS
    permissions:
      contents: write
      packages: write
    uses<EMAIL_ADDRESS>    with:
      jvmVersion: 17
      runsOn: ubuntu-20.04
      versionBaseProperty: LIBRARY_VERSION

The KKMBridge workflow launches a gradle task under the hood that executes some code in my underlying gradle configuration in the Android project. This project needs some env variables set by the GHA. In that case gitHubUserName and gitHubUserName.
Unfortunately, when setting the env variables in this workflow it seems to be not propagated down to the KMMBridge workflow. gitHubUserName and gitHubUserName are always null when the underlying gradle tasks in the Android project are executed.
Who has an idea of a potential fix?

The same here. Looks like GitHub workflows doesn't allow to pass env variables into reusable flows - link
I'm trying to manage it using gradle_params within the handling these parameters in settings.gradle.kts like:
workflow.yml
name: iOS Publish
on:
  workflow_dispatch:
    **secrets:
      gradle_params:
        required: true**
...
    uses<EMAIL_ADDRESS>    with:
      jvmVersion: 17
      versionBaseProperty: LIBRARY_VERSION
    **secrets:
      gradle_params: -PGIT_USER=${{ secrets.GIT_REPOS_ACCESS_USER}} -PGIT_USER_TOKEN=${{ secrets.GIT_REPOS_ACCESS_USER_TOKEN }}**

settings.gradle.kts
    props["gpr.user"] = extra["GIT_USER"]
    props["gpr.key"] = extra["GIT_USER_TOKEN"]

But without luck. I'm still getting 401 on git access attempt and still doesn't see my gradle parameters in list of arguments:

What did I miss?

The issue was resolved on our side. I will close it


Add writer_batch_size for ArrowBasedBuilder

This way we can control the size of the record_batches/row_groups of arrow/parquet files.
This can be useful for datasets-server to keep control of the row groups size which can affect random access performance for audio/image/video datasets

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Can you review this @mariosasko ? since Albert is off


CMake not correctly finding the configuration package for 3.7.0

What is the issue you have?
cmake find-package is not correctly finding the nlohmann_json package installed from vcpkg

Please describe the steps to reproduce the issue. Can you provide a small but working code example?

Run vcpkg search nlohmann-json
Response: vcpkg-2019.07>vcpkg search nlohmann-json
nlohmann-json        3.7.0            JSON for Modern C++

1a. Install vcpkg. vcpkg.exe install nlohmann-json

vcpkg installs to vcpkg-2019.07\packages\nlohmann-json_x86-windows

Use find_package in CMakeLists.txt in project
 # CMakeLists.txt
set(nlohmann_json_DIR ${PROJECT_SOURCE_DIR}/../vcpkg-2019.07/packages/nlohmann-
json_x86-windows/share/nlohmann_json)
find_package(nlohmann_json 3.7.0 REQUIRED)

What is the expected behavior?
CMake finds package.

And what is the actual behavior instead?

1> CMake Error at ${PROJECT_SOURCE_DIR}\CMakeLists.txt:17 (find_package):
1>   Could not find a configuration file for package "nlohmann_json" that is
1>   compatible with requested version "3.7.0".
1>
1>   The following configuration files were considered but not accepted:
1>
1>     ${PROJECT_SOURCE_DIR}/../vcpkg-2019.07/packages/nlohmann-json_x86-windows/share/nlohmann_json/nlohmann_jsonConfig.cmake, version: 3.7.0 (32bit)

Which compiler and operating system are you using? Is it a supported compiler?
Clang I think, on a Windows 10 machine x64
C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe

Did you use a released version of the library or the version from the develop branch?

Released version 3.7.0 - https://github.com/nlohmann/json/tree/v3.7.0

If you experience a compilation error: can you compile and run the unit tests?
No compilation steps were taken.

It returns the same thing for this in CMake, as well
set(CMAKE_PREFIX_PATH "${PROJECT_SOURCE_DIR}/../vcpkg-2019.07/packages/nlohmann-json_x86-windows/share/nlohmann_json;${CMAKE_PREFIX_PATH}")
nlohmann_json_DIR-NOTFOUND:
1>   By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
1>   project has asked CMake to find a package configuration file provided by
1>   "nlohmann_json", but CMake did not find one.
1>
1>   Could not find a package configuration file provided by "nlohmann_json"
1>   (requested version 3.7.0) with any of the following names:
1>
1>     nlohmann_jsonConfig.cmake
1>     nlohmann_json-config.cmake
1>
1>   Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
1>   "nlohmann_json_DIR" to a directory containing one of the above files.  If
1>   "nlohmann_json" provides a separate development package or SDK, be sure it
1>   has been installed.
1>

This is also included in my CMakeLists
cmake_minimum_required (VERSION 3.12)
project(FMSAirSDK VERSION 0.1 LANGUAGES CXX)

set_property(GLOBAL PROPERTY CXX_STANDARD 17)

if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
endif(MSVC)

This seems to be a vcpkg issue. Could you file your issue here: https://github.com/Microsoft/vcpkg/issues ?

Can this issue be closed?


React to drag gesture even when scrollable widget can still be scrolled down

Been trying to resolve this issue: https://github.com/fujidaiti/smooth_sheets/issues/84
Ended up with working solution without major changes to the plugin. I took a similar approach from Flutter Hero widget to look for a SheetDraggable at a pointer position when user starts to scroll. And if it finds such SheetDraggable with a alwaysDraggable parameter set to true, it would ignore the scrollable content offset.

Hi @shliama,
I've made some large chagnes to the core architecture of the package (published as v0.5.0) and now I'm going to refactor the modal sheet. This should fix some long-standing modal sheet related issues, including #84. I will keep this PR open until the refactoring is completed, but will close otherwise.
Anyway, thank you for taking the time to contribute to this repository!

I'm closing this PR as the issue was fixed in #138.


Selenide Proxy stopped working

With the new Chrome update selenide stopped working.
when I try using open("url") method, selenide opens browser but then it cannot reach url. It say no internat connection, check proxy...
Selenide version 3.9.3
Chrome Version 53.0.2785.116 (64-bit)
Platform MacOS X Sierra
Only rollback to selenide 3.8.1 helps

@kenshir007 Strange... I am using MacOS X El Captain, and last Chrome 53.0.2785.1 still works.

Need more feedback from Sierra users. I've tried
Configuration.fileDownload = Configuration.FileDownloadMode.HTTPGET;
and it helped.

@kenshir007 Please upgrade to Selenide 3.10.
It has fileDownload = HTTPGET by default.

Do you have it on Maven central? The latest I could find was 3.9.3

@kenshir007 Yes, sure, it's on maven central repo: http://search.maven.org/#search|ga|1|selenide

Oh, I see, thanks) I'll test it tomorrow

Sorry for long delay, the framework works fine. The only point is MacOS Sierra is now blocking all proxies by default. I've tested it with other apps using proxies.

Hi @andrey-ryoo
Am I right that there are no selenide issues now? let's close issue :)

Sure, now it works as charm


Leveling Chart with 4 co-ordinates

I am developing an android app for leveling measurement, for that i need to draw graph with four co-ordinates, and i need to fill diff colors on that axis according to values, please help me sort it out. I need like below image.

Sorry, but this does not sound like a 'crouton' issue.
This site is for developing, discussing, and troubleshooting 'crouton' issues.

#262.


feat: update v2 frontend to use the new yveCRV -> 3Crv vault zap [WEB-467]

Important changes detected  (payment related code)

Found constant VYPER_ADDRESS in files app/components/BackscratcherClaim/index.js (-import { VYPER_ADDRESS, THREECRV_ADDRESS } from 'containers/Vaults/constants';), app/components/BackscratcherClaim/index.js (-  const vyperContract = useContract(VYPER_ADDRESS);)
Found constant THREECRV_ADDRESS in files app/components/BackscratcherClaim/index.js (-import { VYPER_ADDRESS, THREECRV_ADDRESS } from 'containers/Vaults/constants';), app/components/BackscratcherClaim/index.js (+import { THREECRV_ADDRESS, ZAP_V2_3CRV } from 'containers/Vaults/constants';), app/containers/App/saga.js (+    addresses: [THREECRV_ADDRESS],)
Found keyword cacheSend in files app/containers/Vaults/saga.js (+    yield call(zapv2ThreeCrvContract.methods.zap.cacheSend, {)
Found address 0x579422a1c774470ca623329c69f27cc3beb935a1 in files app/containers/Vaults/constants.js. This address was ⚠not found⚠ in any vaults from https://vaults.finance/all

Checked and deposits still work as well, @x48-crypto or @xgambitox please review the code sers


"Compressed" formatter is removing comments.

I've been troubleshooting this for a while, and everything is pointing to the "Compressed" formatter.
When I compile using "Compact", the comments remain, and if I change it to Crunched everything is minified and the comments are removed- totally expected. However, if I use Compressed, everything is minified and the comments are removed (just like Crunched). I've switched back and forth between Compact and Compressed and the comments are always removed when using Compressed.
Everything else is working fine.
I wish I had more information to share. I just updated to the latest version on this repo, but still get the same results.

Yes, crunched removes all comments. Compressed preserves comments with the bang symbol, i.e., /*! Comment */

Thanks that helped. I knew that's how Crunched worked, but I did not know I had to add the ! to my comments in Compressed. Thanks for the info.


Spreadsheets are all you need

Version 1.0 should be able to run the model in:
https://spreadsheets-are-all-you-need.ai/index.html
Link to the model:
https://github.com/ianand/spreadsheets-are-all-you-need/releases/tag/v0.6.0
Note that we don't need to parse xlsb, the xlsx equivalent is 1.3 Gb (vs the xlsb 1.2Gb)
Major roadblock right now are the array formulas
Link to HN discussions:
https://news.ycombinator.com/item?id=39700256
Related to:
https://github.com/ianand/spreadsheets-are-all-you-need/issues/2

(following)


concept list underlying the study

Since our objective was to determine whether the languages purported to be Kho-Bwa languages derived from a common ancestor language, we started from the Leipzig-Jakarta 100 items list (Haspelmath and Tadmor 2009)

This is a quote (page 30) from the original paper. It explains the whereabouts of the wordlist. The authors are aware of the concepticon, as they quote the sentence before.

This is postponed until their paper is published (or, at least, accepted).

I mean, I have the paper here.

Looks published to me: https://escholarship.org/uc/item/4t27h5fg

Yes, totally. @tresoldi, is the list in concepticon now?

The list is in concepticon now, so we should update lexibank code. @chrzyki or @tresoldi who can look into that?

Will take care of this.

Done in #16


Spyder 5.1.5 crashes when starting - KeyError 'workspace' in projects\plugin.py

Problem Description
When I attempt to open Spyder it crashes.  I attempted creating a new conda environment and installing from scratch.  Same issue.
I've recently started actively using projects, whereas I never did before.  I wonder if that has something to do with it?
Paste Traceback/Error Below (if applicable)
(spydertest) C:\Users\LynchSe>spyder
link image0 hasn't been detected!
Traceback (most recent call last):
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\app\start.py", line 237, in main
    mainwindow.main(options, args)
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\app\mainwindow.py", line 1992, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\app\utils.py", line 292, in create_window
    main.post_visible_setup()
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\app\mainwindow.py", line 1222, in post_visible_setup
    self.projects.reopen_last_project()
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\plugins\projects\plugin.py", line 578, in reopen_last_project
    self.open_project(path=current_project_path,
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\plugins\projects\plugin.py", line 433, in open_project
    project_type_class = self._load_project_type_class(path)
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\site-packages\spyder\plugins\projects\plugin.py", line 865, in _load_project_type_class
    project_type_id = config[WORKSPACE].get(
  File "C:\Users\LynchSe\Miniconda3\envs\spydertest\lib\configparser.py", line 963, in __getitem__
    raise KeyError(key)
KeyError: 'workspace'

Versions

Spyder version: 5.1.5
Python version: 3.9.7
Qt version: 5.9.7
PyQt version:  5.9.2
Operating System name/version:  Windows 10 Enterprise

I discovered and used the spyder --reset command and that seems to have fixed the issue on all of my conda environments.  Let me know if there is any useful info I can provide.  Otherwise feel free to close.  Thanks!

Hey @selahlynch, thanks for reporting. That was what I was about to suggest you to run. Glad you find it by yourself!


Multiple transclusions changed in 0.12.0-rc2

Hi !
I was trying to port my app to vue.js 0.12.0-rc2 and I have some unexpected behaviors with components and transclusion.
Multiple content insertion points and selectors
In Vue 0.11:
When you have multiple content insertion point with selectors and one without, elements matched by selectors are removed from selector-less content:
http://jsfiddle.net/noirbizarre/zm2cfgpf/1/
In Vue 0.12:
Component matched by other selectors are not removed from selector-less content:
https://jsfiddle.net/noirbizarre/ae3aec5j/1/
Star operator
In Vue 0.11:
It was possible to use the star operator.
http://jsfiddle.net/noirbizarre/ehucvuc0/2/
In Vue 0.12:
Not anymore
http://jsfiddle.net/noirbizarre/ouyLnkpj/1/
:not() operator
In Vue 0.11:
It was possible to use the negation operator :not().
https://jsfiddle.net/noirbizarre/gmyfkktd/4/
In Vue 0.12:
Not anymore.
http://jsfiddle.net/noirbizarre/bjv1zfpq/1/
For the last 2 points (operators behavior), it seems to only match the first element in 0.12.0-rc2.

Thanks for reporting the issue! Will fix asap.

Thanks, it works great now!


Remove unused limitFn in GroupByQuery

Removes the unused limitFn in GroupByQuery, as noted here: https://github.com/druid-io/druid/pull/3873#pullrequestreview-68144435

This field is assigned in constructor, and there is non-trivial logic to compute the value for it.

@jon-wei this block and field that you removed in this PR were added just in #3873. Don't we add a bug or regression here? I couldn't answer this question because I don't know what #3873 is about and why this field was added.

Looks like that block was reintroduced by #3873 as part of a bad merge that restored some changes made by https://github.com/druid-io/druid/pull/4131/files#diff-7564ae1186b5d71c461ade89580058d3.
The limitFn and postProcFn it set were not being used by anything so the block should be removed entirely.
The equivalent logic is now in GroupByQuery.makePostProcessingFn() and this block in GroupByStrategyV2:
    // Don't apply limit here for inner results, that will be pushed down to the BufferHashGrouper
    if (query.getContextBoolean(CTX_KEY_OUTERMOST, true)) {
      return query.postProcess(rowSequence);
    } else {
      return rowSequence;
    }


Update dependencies

Looks like Prettier added a good bit of noise to this PR.  I'm going to put in another PR without Prettier.
Changes in this PR:

Updated the dependencies
Updated the tests to use functional components
Updated README.md to use functional components
Updated snapshots as there was a slight difference in how jest rendered (removed new line)
Also updated snapshots as an undefined prop will no longer render

Closing in preference of #44


changed links from .md to .html

Also there is a reference to database.html which doesn't exist.

does not work unfortunately due to the link being generated, better fixed in 2.0 docs.


RexRay should ignore volumes user by other hosts if preempt not enabled

Summary
I'm using rexray and having a problem if 2 instances in the same AZ launched one mounts the EBS volume and other goes into the crash loop with the error: error while mounting volume '': VolumeDriver.Mount: docker-legacy: Mount: my-test-volume: failed: resource not found
Bug Reports
This section is for issues that relate to discovered problems or bugs.
Version
Latest, installed as docker plugin
Expected Behavior
The second volume with the same name created and mounted to the second instance.
Actual Behavior
One instance mounts the volume and second failing with the error while mounting volume '': VolumeDriver.Mount: docker-legacy: Mount: my-test-volume: failed: resource not found
Steps To Reproduce
Launch two instances in the same az and try mounting two volumes with the same name.

@Trane9991 Got any solution for this?


Fix indentation inconsistencies and remove extra spaces at end of line

@yikjin
Can you allow edits from maintainers? Then I can resolve these merge conflicts and get this PR merged.


'DeepLab' object has no attribute 'module'

I simply tried running 'python train.py' with all arguments as default and after one epoch it gives an error
Traceback (most recent call last):
File "train.py", line 303, in
main()
File "train.py", line 298, in main
trainer.validation(epoch)
File "train.py", line 173, in validation
'state_dict': self.model.module.state_dict(),
File "~/torch/nn/modules/module.py", line 535, in getattr
type(self).name, name))
AttributeError: 'DeepLab' object has no attribute 'module'

hi I meet the same question, could you provide the solution to the issue? Thanks a lot!

Downgrade the version of your PyTorch to the one mentioned in the repository.

Thanks for replying me. I have checked the version of the PyTorch, it is 0.4.1, just be the same in the repository

This solved my error. I can't say why it isn't solving yours.
Maybe you could check if you're running it on CUDA or not. Verify the CUDA version too.
If you're using anaconda, just create a new environment.

Have you solved this?

@duwangzhe hi，have you solved this problem?thanks

Same problem

Same problem
change 'state_dict': self.model.module.state_dict() to 'state_dict': self.model.state_dict()
it work for me

Same problem
change 'state_dict': self.model.module.state_dict() to 'state_dict': self.model.state_dict()
it work for me

Thanks， it work for me too


Add a "Job cleanup option"

Both for internal and external rendering (in advanced options)

What would this do exactly?

Remove textures and rib files after the render.  Not a huge issue, but some people like it.

I can work on this one if you're okay with it.

Yep.  That would be great!
On Mon, Aug 1, 2016 at 1:04 PM, Jon D<EMAIL_ADDRESS>wrote:

I can work on this one if you're okay with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/313#issuecomment-236691240,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABzffPmuMWZ3edSo7rmaZEts0GE-O8Glks5qblFrgaJpZM4JTA74
.

--
<EMAIL_ADDRESS>508-274-8700

First question: Self contained operator action or a step in the rendering process?  Self contained operator would be the easiest but I could see an advantage in making it a render stage.  Only problem I see is how to get that to work with an internal animation render being that each frame is a fresh launch of the render process.

part of the rendering process.  Normally in Tractor there is a "chaser command".
For internal rendering you could make it call some procedure after the image is final.

How is this for a solution:
For spooling: Add a task to the end of each frame that deletes the .rib and per frame archive.  At the end of the render task a post command runs that removes the texture, shader and archive directories.  If denoising is used, commands will be run to remove all the .variance files and non-denoised base images.
Internal rendering might take a little longer to figure out.  Brian, do you know of anywhere that shows what the Blender internal 'render' and 'render animation' buttons actually do in between the time they are pressed and Renderman is called?

So I tried to get the cleanup command to work last night and I was able to get it to work but the Windows 10 laptop i was on just didn't want to dance with the commands I was sending it.  So I had a thought: instead of directly issuing the command from LocalQueue, would it make sense to dynamically generate a Python 'cleanup' script to delete the necessary files and then have LocalQueue call that for the cleanup routine?  That way I wouldn't need to keep track of multiple cmd syntax's (Linux, Mac, Windows, etc...)

Honestly, I wouldn't say this is a huge priority if you have something
you'd rather work on.
On Wed, Aug 3, 2016 at 6:49 AM, Jon D<EMAIL_ADDRESS>wrote:

So I tried to get the cleanup command to work last night and I was able to
get it to work but the Windows 10 laptop i was on just didn't want to dance
with the commands I was sending it. So I had a thought: instead of directly
issuing the command from LocalQueue, would it make sense to dynamically
generate a Python 'cleanup' script to delete the necessary files and then
have LocalQueue call that for the cleanup routine? That way I wouldn't need
to keep track of multiple cmd syntax's (Linux, Mac, Windows, etc...)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/313#issuecomment-237237285,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABzffDWJsknIZZIt4yb67dhY6p2GjiqHks5qcJx8gaJpZM4JTA74
.

--
<EMAIL_ADDRESS>508-274-8700

Meh, I really don't have anything else I'm itching to tackle.  I'm slowly working on the parameter/tooltip cleanup but that's low priority too.  That and watching the forums for bug reports......
This one is going into areas I haven't played in yet so I was just brainstorming on the best way to do it since you're a more seasoned programmer than I am.

Ok.  Well yes I'd think having some sort of cleanup script would make sense in that case.


Building packages for custom NIX_STORE_DIR fails

Issue description
I am unable to build nix-store to a custom location. It builds up several packages fine but fails while shrinking RPATHs or ELF executables and libraries.
Steps to reproduce
Get all the dependency and build custom nix in a docker container with ubuntu:16.04 and run a nix-env -iA nixpkgs.nix with -v `pwd/nix:$NIX_STORE_DIR in the container. I am not sure if the issue is because I am trying to build this via a docker container or something else is screwed up.
This is repeatable irrespective of the channels I am using 16.09/17.03 or latest nixpkgs.
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

Nix version: (run nix-env --version)
nix-env (Nix) 1.11.9

Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
17.09pre106045.7369fd0b51

==============================================
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /home/scratch/royadav/opt/nix/store/8armd0rx7kdmalqpvcx0zhxvdjdh6a42-gnutar-1.29
shrinking /home/scratch/royadav/opt/nix/store/8armd0rx7kdmalqpvcx0zhxvdjdh6a42-gnutar-1.29/bin/tar
shrinking /home/scratch/royadav/opt/nix/store/8armd0rx7kdmalqpvcx0zhxvdjdh6a42-gnutar-1.29/libexec/rmt
gzipping man pages under /home/scratch/royadav/opt/nix/store/8armd0rx7kdmalqpvcx0zhxvdjdh6a42-gnutar-1.29/share/man/
stripping (with flags -S) in /home/scratch/royadav/opt/nix/store/8armd0rx7kdmalqpvcx0zhxvdjdh6a42-gnutar-1.29/libexec  /home/scratch/royadav/opt/nix/store/8arm
d0rx7kdmalqpvcx0zhxvdjdh6a42-gnutar-1.29/bin
shrinking RPATHs of ELF executables and libraries in /home/scratch/royadav/opt/nix/store/5nb9v5zrp9dndd6lzw7n9vxr5qzpd212-gnutar-1.29-info
error (ignored): getting status of ‘/tmp/nix-build-gnutar-1.29.drv-0/tar-1.29/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/
confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdi
r3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/con
fdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/
confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdi
r3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/con
fdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/
confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdi
r3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/con
fdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/
confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdi
r3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3’: File name too long

It was an issue with building nix inside a docker container. However, it builds fine in lxc container or chroot.


Add yes in Dart

Hello. I implemented yes in Dart and created a PR: https://github.com/mubaris/yes/pull/56.

@patolar Thanks


RSA encryption: accept null plaintext

Accept null buffers for a zero-length plaintext in RSA encryption and decryption.
The Mbed TLS documentation does not explicitly state that buffers must be non-null even if their size is 0, but a lot of code assumes it. PSA explicitly states that a null pointer is ok when the buffer size is 0. This pull request has a limited scope: to add support for null pointers where the PSA code requires it, which turns out to be only for RSA encryption and decryption.
I didn't add a changelog entry because this doesn't change the promised behavior of the library. At this stage, it's only a matter of internal behavior.
Precursor to PSA (asymmetric encryption).

retest

I've rebased on the latest development branch so that this can go through CI.

pkcs1_v15-suite is failing in CI

I fixed the bug which was due to incomplete input for rnd_buffer_rand, causing a fallback to rand(), which worked on my machine and all our Linux test platforms because they have the same rand(), but not on FreeBSD which has a different rand(). I wonder why there wasn't a Windows failure — or was there and did we miss it with the CI instabilities?

"but a lot of code assumes it" implies explicitly supporting this would be a good candidate for a backport to 2.7.

The library change (d6feef7523beb9019cd0aca77a03ffa8b2b2a474) has already been merged via #2395. The test changes still need to go in. I'll rebase this PR to be on top of current development and to have only the test changes.

Rebased on top of development, without the commit that was already there. Previous history at https://github.com/gilles-peskine-arm/mbedtls/commits/rsa-null_plaintext-2


Add Get-GitHubRepoVersion to return the version number only from a GitHub repo

Add a privation function - Get-GitHubRepoVersion to return the version number only from a GitHub repo. There are some uses for returning only the version number from a target GitHub repository where binaries are not added to the release by the maintain and are instead hosted elsewhere.
Get-GitHubRepoVersion would provide an easy way to find the latest version number while constructing download URLs from other locations.

Added -ReturnVersionOnly parameter in e224f1a4042994d296c9150dad5cd5f2cca59b84.


FE: No option for Discord login (?)

I could be being stupid, but I can't find an option on the new site to login via Discord, which is currently where all of my mints etc are - given the history of minting being done though the Discord bot, this could be effectively locking out a large number of people.
#1484 is blocking me from logging in via the bot.

Might have to go back to the old site (https://dashboard.webaverse.com/)

That works - minting has resulted in something odd? In the media preview there's a video of someone using rave gloves? I'm trying to mint a VRM here, no idea why that's coming up:

Tested with another file (JPEG) and a random VRM has popped up. I assume the preview's doing something weird...


Consider adding a preserve option

https://github.com/postcss/postcss-custom-properties#preserve

I've noticed that when you combine this plugin with postcss-custom-properties and add preserve: true, you get double CSS Custom Properties, but nothing preserved, which triggers the error found here: https://github.com/pascalduez/postcss-apply/blob/master/src/visitor.js#L57
No preserve option set in postcss-custom-properties
new webpack.LoaderOptionsPlugin({
        options: {
          postcss: function (webpack) {
            return [
              cssApply,
              customProperties({
                variables: colorPalettes, // JS object from file
                warnings: false
              }),
              autoprefixer,
            ]
          }
        }

preserve: true option set in postcss-custom-properties
new webpack.LoaderOptionsPlugin({
        options: {
          postcss: function (webpack) {
            return [
              cssApply,
              customProperties({
                variables: colorPalettes,
+               preserve: true,
                warnings: false
              }),
              autoprefixer,
            ]
          }
        }

I'll try to add more unit tests with postcss-custom-properties options.
When reporting, please provides simple cases/samples/tests reproducing the issue. Without any Webpack, Storybook and such. This is not a proper way to report bugs.

Available from version 0.5.0 on.


Add build step for docs deployment

Updates the travis config to deploy the docs site on merges into master

Codecov Report

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

@@          Coverage Diff          @@
##           master   #251   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          36     36
  Lines         423    423
=====================================
  Hits          423    423

Continue to review full report at Codecov.

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


[Question] Aggregation/Removal of Credential Issuers

This is probably a basic question about the way Coconut works, and I'm guessing this is a proper channel to ask. If not, I'd appreciate any pointers to other means for discussion.
My understanding is that a Coconut system presents a set of advantages as long as the list of "authorities" is fixed. That is, if new entities are aggregated to (or existing ones are removed from) the issuers' list, all keys have to be re-calculated. My precise question is: what are the implications of this re-calculation? Does this mean that older proofs lose validity (cannot be verified anymore)? Could anyone explain the disadvantages of this "variability" with regard to the list of issuers? Also, are there known ways to mitigate these disadvantages? Are there considered cases where variability of the authority set is expected and Coconut can still work as a fitting crypto-system for that scenario?
I'm still trying to understand this scheme, so any pointers in favor of helping me comprehend it further on this regard are highly appreciated.
Thanks.

Thanks a lot for the detailed answer. I'll definitely get back to you with any ideas that arise with regard to this limitation, since it seems to me that solving the problem of authority set variability would allow applicability for a wide spectrum of use cases . I'm still in the process of actually understanding the whole scheme, though.
Again, thanks for the reply and the blog post link. 👍


Proper placement of clear button

Simply removing the top property should be able to fix the position.
Seems to be missing completely in Firefox (Mac)

This has been fixed in master https://github.com/JosephusPaye/keen-ui/commit/c74f97c59386df3615b293338710bc23674d7d56 yesterday and will in the next release.


Nativescript-Angular Android BackgroundGeolocation.on('location' does not fire in emulator

Your Environment
Plugin version: "nativescript-background-geolocation-lt": "^1.5.0",
Platform: Android
OS version: macOs
Device manufacturer / model: Android simulator Platform 7.1.1,  Api level 25, CPU/ABI Google APIs Intel Atom (x86)
Nativescript version (tns info): 2.5.2
Plugin config:
BackgroundGeolocation.configure({
license: 'xxxx',
debug: false,
desiredAccuracy: 0,
stationaryRadius: 25,
// distanceFilter: 50,
activityRecognitionInterval: 10000,
// url: 'http://localhost:8080/locations',
autoSync: true
Expected Behavior
Your plain Nativescript demo app works well in Android emulator and onLocation method works and fires location change.
On real device Angular code is fired up and location is marked, but for the testing sake it's really important that it works in the standard android emulator
Actual Behavior
with Angular on Android emulator, on('location') method does not seems fire up. I added a console log inside the method call and it never fired.
Steps to Reproduce
       BackgroundGeolocation.on('location', (location, taskId) => {
       console.log('location params:', JSON.stringify(location));
      // IF YOU DON'T, iOS WILL KILL YOUR APP
        BackgroundGeolocation.finish(taskId);
    }, function (errorCode) {
        console.warn("- Location error: ", errorCode);
         });

Context

Debug logs

The plugin triggers tracking mode with accelerometer based motion-detection API.
There is no accelerometer in emulator.
You have to manually trigger tracking with method #changePace.

It's a bit strange, cause on iOS simulator it worked ok anyway
Solved as following:

it seems onLocationchange in Android emulator returns is_moving:false, so it fires once and then stops forever
Putting  BackgroundGeolocation.changePace(true); inside BackgroundGeolocation.on('location', (location, taskId) fixes the problem and it's possible to track location in emulators with playing gpx files.


changed digest to only send new cases

@miltontony @bruskiza ready for review

@codiebeulaine where are the migrations coming from

@miltontony I have no idea, i just ran makemigrations and migrations were made so i added them

The migrations look fine, so we're good on that front. They come from here

:+1:


resolveValue can erroneously treat nested models as new

https://github.com/hjdivad/ember-m3/blob/8b994cbc197d899c90ea98a3abfec1b489598c7a/addon/resolve-attribute-util.js#L119-L131 calls recordData.getServerAttr to check which of two cases a nested model falls under

it was part of the original payload or
it was recently created (eg pushed into a tracked array as an unresolved value)

However this design assumes that the property being resolved matches 1:1 the name of a key in the payload, which is not necessarily the case.
cc @igorT

@igorT is this still an issue?


Add tests

Deno has native testing support. Could we add some tests with mock data just to ensure that the parsing and encoding/decoding functionality works as expected?

Tests would definitely be nice, especially around my SSE decoding.

Yeah sounds good, a big thing for testing is testing is costly so keeping it to a minimum while testing everything would be nice

To reduce duplication of effort, and diverging from whatever convention and preference you may have in mind, I'd prefer if you guys add the basic tests and I'll add to it with the PRs that I'll be making. 🙏


Add save-to-cubox extension

Description

Save url or memo to your cubox service
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi
I have used useForm instead and add a metadata image.
Also handle error gracefully.

Looks really good, the last placeholder and we're about to be ready 🙂


Wrong links on run issues

See here: http://lab.kraken.ci/runs/964/issues
the links are like that:
https://https///github.com/Kraken-CI/kraken/blob/master/kraken/server/management.py#L639

And with fixed /// they point to non-existent files


/usr/bin/env: ‘bash\r’: No such file or directory

/usr/bin/env: ‘bash\r’: No such file or directory
how do I fix this?
bad interpreter: /bin/bash^M: no such file or directory
when trying to run any bash script. like ./golang

You must use LF endline on Shell Script.
Please chage encoding and retry it.