Added the "plugins" folder to the Package Content section.

Added the plugins/ folder to the Package Content section, in the Installation page. So the output looks like:

dist/: Compiled files.

css/: Compiled CSS files. Includes minified and unminified files.
js/: Concatenated JavaScript files. Includes minified and unminified files.

plugins/: Standalone JavaScript plugins.

@abdullahsalem Is this folder already added to the https://github.com/zurb/foundation-zurb-template ?
How is it intended to be used?

Oh - I see it's connected to https://github.com/zurb/foundation-sites/pull/8862 - got it!


Could not lock /prometheus/DIRTY, Prometheus already running?

Hello,
I am having some trouble configuring Prometheus. I currently seem to keep running into this problem:
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
  build user:       julius@julius-thinkpad
  build date:       20150727-17:56:51
  go version:       1.4.2
time="2015-09-08T05:40:04Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" file=main.go line=173
time="2015-09-08T05:40:04Z" level=info msg="Loading series map and head chunks..." file=storage.go line=263
time="2015-09-08T05:40:04Z" level=info msg="0 series loaded." file=storage.go line=268
time="2015-09-08T05:40:04Z" level=info msg="Starting target manager..." file=targetmanager.go line=75
time="2015-09-08T05:40:04Z" level=info msg="Listening on :9090" file=web.go line=186
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
  build user:       julius@julius-thinkpad
  build date:       20150727-17:56:51
  go version:       1.4.2
time="2015-09-08T05:40:05Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" file=main.go line=173
time="2015-09-08T05:40:05Z" level=error msg="Could not lock /prometheus/DIRTY, Prometheus already running?" file=persistence.go line=178
time="2015-09-08T05:40:05Z" level=error msg="Error opening memory series storage: resource temporarily unavailable" file=main.go line=116
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
  build user:       julius@julius-thinkpad
  build date:       20150727-17:56:51
  go version:       1.4.2
time="2015-09-08T05:40:06Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" file=main.go line=173
time="2015-09-08T05:40:06Z" level=error msg="Could not lock /prometheus/DIRTY, Prometheus already running?" file=persistence.go line=178
time="2015-09-08T05:40:06Z" level=error msg="Error opening memory series storage: resource temporarily unavailable" file=main.go line=116
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
  build user:       julius@julius-thinkpad
  build date:       20150727-17:56:51
  go version:       1.4.2
time="2015-09-08T05:40:07Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" file=main.go line=173
time="2015-09-08T05:40:07Z" level=error msg="Could not lock /prometheus/DIRTY, Prometheus already running?" file=persistence.go line=178
time="2015-09-08T05:40:07Z" level=error msg="Error opening memory series storage: resource temporarily unavailable" file=main.go line=116
prometheus, version 0.15.1 (branch: master, revision: 64349aa)
  build user:       julius@julius-thinkpad
  build date:       20150727-17:56:51
  go version:       1.4.2

When I use the example configuration from the Getting Started guide, everything works fine:
global:
  scrape_interval:     15s # By default, scrape targets every 15 seconds.
  evaluation_interval: 15s # By default, scrape targets every 15 seconds.
  # scrape_timeout is set to the global default (10s).

  # Attach these extra labels to all timeseries collected by this Prometheus instance.
  labels:
    monitor: 'codelab-monitor'

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # Override the global default and scrape targets from this job every 5 seconds.
    scrape_interval: 5s
    scrape_timeout: 10s

    target_groups:
      - targets: ['localhost:9090']

However, it seems that if i change this file in ANYWAY, for example, remove the # Override the global defaults and scrape targets from this job every 5 seconds. line, the logs start reporting this DIRTY issue.
In fact, even removing the blank lines like this configuration:
global:
  scrape_interval:     15s # By default, scrape targets every 15 seconds.
  evaluation_interval: 15s # By default, scrape targets every 15 seconds.
  # scrape_timeout is set to the global default (10s).

  # Attach these extra labels to all timeseries collected by this Prometheus instance.
  labels:
    monitor: 'codelab-monitor'

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'
    # Override the global default and scrape targets from this job every 5 seconds.
    scrape_interval: 5s
    scrape_timeout: 10s
    target_groups:
      - targets: ['localhost:9090']

ends up throwing the same error.
I am running Prometheus in a docker container, incase that matters.
Any idea what is going on?

Looks like Prometheus cannot write into the directory you have configured as storage location (configured by flag -storage.local.path). Why changing the config changes that, is a mystery to me. Perhaps Docker somehow changes write access if you change something in your container?

The problem was related to how I was building my docker image from my Dockerfile. Using the RUN command, I created the /prometheus folder which i then extracted the tar.gz file into. I then moved the items into their appropriate locations in /bin/ and /etc/prometheus. After the RUN command, I set VOLUME ["/prometheus"].
I did some rearranging, by setting VOLUME ["/prometheus"] before the run command, and also using a different folder to extract the tar.gz contents into: /tmp/prometheus/
After this, everything was fine.

Glad to hear. :)


Add split phase sensors of the LV5048 (PI41)

hello Sebastian,
do you think its possible to add a sensor to my slit phase inverter to monitor both sides ?
I will like to be able to monitor
grid voltage phase A
grid voltage phase B
grid current phase A
grid current phase B
ac output voltage phase A
ac output voltage phase B
the inverter uses QPIGS protocol
with your guideness I can log whatever info you need
thank you
73 de KP4MI
Miguel

please let me know if this log is of some use:
logs_mppsolar-inverter-0_logs.txt
thanks,
Miguel
73 de KP4MI

Hello Sebastian,
have you had some time to look at this?
thanks
best regards,
Miguel

no news on this one?
thanks
Miguel

Hi Miguel! I hope you are fine. I've extended the protocol test by some commands of your split phase converter:
https://github.com/syssi/esphome-pipsolar/commit/261dc2c58c9b5c5aad122dffa667ae9524d7fb13
Could you flash the YAML and provide some logs? Thanks in advance!

should I just clean the build and flash the same YAML file or is there
needed to ne added to the yaml?
thanks
Miguel
On Fri, Apr 14, 2023, 8:08 AM Sebastian Muszynski @.***>
wrote:

Hi Miguel! I hope you are fine. I've extended the protocol test by some
commands of your split phase converter:
261dc2c
https://github.com/syssi/esphome-pipsolar/commit/261dc2c58c9b5c5aad122dffa667ae9524d7fb13
Could you flash the YAML and provide some logs? Thanks in advance!
—
Reply to this email directly, view it on GitHub
https://github.com/syssi/esphome-pipsolar/issues/31#issuecomment-1508407340,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFIETR35OC4UJ4GDF2URT7TXBE45FANCNFSM6AAAAAAQY3DSUA
.
You are receiving this because you authored the thread.Message ID:
@.***>

You can just flash the YAML but you have to change the tx_pin/rx_pin probably. If it doesn't work out of the box please provide your current/working YAML. I will provide a drop-in replacement just for testing.

logs:
logs_mppsolar-inverter-0_logs.txt
current (test) yaml:
esp8266-test-protocols.txt
my (original) yaml:
mppsolar-inverter-0.txt

It looks like I messed up the timing of the procotol test YAML. I've pushed an update. Could you try to most recent version of the protocol test? The one with a 1 second delay between the commands instead of 2 seconds:
https://github.com/syssi/esphome-pipsolar/blob/main/tests/esp8266-test-protocols.yaml

most recent version logs:
logs_mppsolar-inverter-0_logs (1).txt
same failure. :(

logger:
  baud_rate: 0
  level: DEBUG

logs_mppsolar-inverter-0_logs.txt
we got something now

Perfect! Please flash your production setup again. You have retrieved all required informations the extend the pipsolar component.
[14:44:03][I][main:491]: Testing PI41 split phase / multiple strings commands...
[14:44:03][D][uart_debug:158]: >>> "QPIGS2h-\r"
[14:44:03][D][uart_debug:158]: <<< "(121.7 60.0 120.2 59.9 0384 0282 012 0000 000.0 54.70 0000010\xE0A\r"
[14:44:04][D][uart_debug:158]: >>> "QP2GS0\x14\x05\r"
[14:44:04][D][uart_debug:158]: <<< "(11<PHONE_NUMBER>3555 B 00 121.8 60.00 120.1 59.96 0360 0262 012 54.7 000 065 000.0 00 00000010\v\"\r"
[14:44:05][D][uart_debug:158]: >>> "QP2GS1\x04$\r"
[14:44:05][D][uart_debug:158]: <<< "(00<PHONE_NUMBER>0000 P 00 000.0 00.00 000.0 00.00 0000 0000 000 00.0 000 000 000.0 00 00000000\xAF-\r"

great!! do we need to create new sensors to read both phases?
logs from my production setup with your changes:
logs_mppsolar-inverter-0_logs (1).txt

Your production YAML has the same GPIO conflict. Please disable the serial logging here too and provide another log:
logger:
  baud_rate: 0
  level: DEBUG

ok see attached:
logs_mppsolar-inverter-0_logs.txt

This looks much better.

what will be the next step to add the sensors for both phases?
I was looking at the cpp and py files and looks very complicated.( to me )
or theres another way where not that much code editing will be needed?
73 de KP4MI

Some (de)coding is required. ;-)

coffee time !!

hello Syssi
is there a way to send individual commands and see their response like POP00, POP01  ect, for debuggin or to experient? idk if possible, how can be done using esphome as a serial port and a console software.

Some (de)coding is required. ;-)

hello syssi, while waiting (if this ever happends lol).
can you explain me how the output component works with an example?
I will like to create a switch or a selector for charger_source_priority
output:
  - platform: pipsolar
    pipsolar_id: inverter0
    battery_recharge_voltage:
      id: inverter0_charger_source_priority

on_...:
  then:
  - output

but honestly dont know how to do it,
can you help me with the yaml code
thanks
Miguel

Perfect! Please flash your production setup again. You have retrieved all required informations the extend the pipsolar component.
[14:44:03][I][main:491]: Testing PI41 split phase / multiple strings commands...
[14:44:03][D][uart_debug:158]: >>> "QPIGS2h-\r"
[14:44:03][D][uart_debug:158]: <<< "(121.7 60.0 120.2 59.9 0384 0282 012 0000 000.0 54.70 0000010\xE0A\r"
[14:44:04][D][uart_debug:158]: >>> "QP2GS0\x14\x05\r"
[14:44:04][D][uart_debug:158]: <<< "(11<PHONE_NUMBER>3555 B 00 121.8 60.00 120.1 59.96 0360 0262 012 54.7 000 065 000.0 00 00000010\v\"\r"
[14:44:05][D][uart_debug:158]: >>> "QP2GS1\x04$\r"
[14:44:05][D][uart_debug:158]: <<< "(00<PHONE_NUMBER>0000 P 00 000.0 00.00 000.0 00.00 0000 0000 000 00.0 000 000 000.0 00 00000000\xAF-\r"

i dont u desrstand much but I know there are some QPIGS2 commands in your code for pv2.
can you tell me what files deal with the sensors so I can try to make a version witb both QPIGS and QPIGS2 sensors for my split phase unit.
i know pipsolar.cpp is one of them. if i know what other files are involve i can try to modify them to add the sensors from the other phase of.my inverter (QPIGS2 sensors).
ill be using pip8048 as my base  branch. all i need is a list of the files that needed to be modify and i start my trial and error from there
73 de KP4MI
thanks
Miguel


Ability to override internal types

At the moment we do not allow overriding default types. But we had several issues with such request (#353, #301 and others), so I guess it makes sense to allow it.

Use GraphQL::overrideInternalTypes(array $types) before any type definitions (or introspection calls). But note that this is just an escape hatch until we find a better way to do this.


Feature Request: OPSEC Threat Modeling

Describe what problem your feature request solves:
There is no OPSEC based threat modeling unless its in context SDLC
Describe the solution you'd like:
I would like an option to use Threat-Dragon to create OPSEC or Operation Security based threat model
Additional context:
Most threat models are defined in terms of software developers life cycle or IT. OPSEC applies to IT and all domains especially physical. I could find no OPSEC threat models and think this could easily be added to Threat-Dragon and increase the user baser. The ability to easily create OPSEC threat models and display them especially for the physical domain has a lot of value. See an good example here: https://old.reddit.com/r/opsec/comments/eh6uvc/want_to_learn_opsec_as_a_total_beginner_start_here/

yes, certainly sounds interesting - can you take this on @PowerPress ?
I will assign it to you, but please decline it if you do not have the time to do it

I apologize I will have to decline the assignment
I'm not sure how to officially decline it


Fix relative keystore paths on android exporter with custom build

If you use a relative path for the release and debug keystores in an Android exporter with 'custom build' enabled, godot will pass those relative paths to gradlew, which interprets them as being relative to res://android/build, but godot's export window itself thinks those paths are relative to res://. This means godot's UI will say you cannot export, but if you run godot --export, it will actually succeed, OR godot will think the paths are correct, but then gradle will fail to find the keystores.
This pull request converts relative paths to absolute paths before sending them to gradlew.
cherry picked to 3.x:
https://github.com/godotengine/godot/pull/56676
Tested in our build system.

Thanks!


Add step to doc: make pl executable

Sorry for being a pain.
https://wiki.zimbra.com/wiki/Monitoring_Zimbra_Collaboration_-_InfluxDB,_Telegraf_and_Grafana
After downloading the file, do not forget to make it executable
chmod +rwxr+xr+x zimbra_pflogsumm.pl

Fixed it! Thanks!


Fix Quorum Deadlink issue-9214

Proposed changes
Fixes: https://github.com/docker/docker.github.io/issues/9214
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 7134d06e7efa78cb7a1e10ace4c986622bcc7bdf
https://deploy-preview-9243--docsdocker.netlify.com


Make code pip-installable

A lot of the documentation is about how to configure the code to be run. Making the code installable with pip would greatly decrease complexity and make python users directly able to use your code.
Would you be willing to accept a PR for this? It would involve changing the repository to the typical src/ layout, in which there's a folder src/ckg/ where all of the python code goes. Then, a setup.cfg file and setup.py file could be added so you could do the following:
git clone https://github.com/MannLabs/CKG.git
cd CKG
pip install .

This would also put the requirements.txt information into setup.cfg. Ultimately it would simplify https://ckg.readthedocs.io/en/latest/intro/getting-started-with-build.html as well since some of this could be done with python module execution

Dear @cthoyt,
Thank you also for this proposal. It does make total sense to make CKG pip installable. It is in the toDo list and it would of course be great if you could contribute! A PR would be very much appreciated!

CKG python libraries can now be installed by running:
python setup.py install

You can follow the instructions here


Delete duplicated content

As title, delete duplicated content.

@chenrujun, the repository is in transition to the new Landing Zone Accelerator pattern. This content will be adjusted through a merge from a different branch shortly.


RELATED: RAIL-4372 Fix removal of TypeScript files

JIRA: RAIL-4372

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/398/ : SUCCESS in 56s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-oss-check/308/ : SUCCESS in 6s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-merge-compliance-check/164/ : SUCCESS in 20s
https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/399/ : SUCCESS in 53s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-fossa-scanning-zuul-el7/129/ : SUCCESS in 47s (non-voting)


Add DLNA support

Add DLNA support to work with the LG, Samsung, Chromecast.
Using Allcast, Avia, Plex

Our current DLNA implementation supports different devices, such as LG TVs, Sonos, and Xbox.


pyston: set zip_safe to False if it's unspecified

the setuptools check does not work currently for pyston
because we don't use cpythons bytecode.
Therefore setting zip_safe to False looks like the safest option for now.
See:
https://github.com/dropbox/pyston/issues/1184

It looks like there is a can_scan() function that was meant for this purpose, maybe it makes sense to do the edit there?  otherwise lgtm


Update json-and-xml-functors.md to reflect Documentation note for quotes in json functor

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
Original ticket - https://harness.atlassian.net/browse/PIE-7455
What Type of PR is This?

[ ] Issue
[ ] Feature
[*] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[*] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-984

Preview environment: https://hdh.pr.harness.io/pr-984


Idle after running script

Description
What steps will reproduce the problem?

Unclear; left computer unattended while running script with long compute time; found this dialog on return and script appears to have finished running satisfactorily.
Traceback
  File "/usr/local/lib/python3.6/site-packages/spyder/utils/introspection/plugin_client.py", line 171, in _on_msg_received
    resp = self.socket.recv_pyobj(flags=zmq.NOBLOCK)
  File "/usr/local/lib/python3.6/site-packages/zmq/sugar/socket.py", line 624, in recv_pyobj
    return self._deserialize(msg, pickle.loads)
  File "/usr/local/lib/python3.6/site-packages/zmq/sugar/socket.py", line 491, in _deserialize
    return load(recvd)
_pickle.UnpicklingError: invalid load key, '\x00'.

 This should be fixed by restarting Spyder.
In any case, we're replacing our code completion architecture in Spyder 4 (from which this error is coming from) so we're going to fix it right now.


cannot read contentId of undefined

Summary
I can't read contentId and crashing the component inside the community
I can't pass in input at the apex methods the variable of contentId because it's undefined
Steps To Reproduce:

This is step 1.
This is step 2. All steps should start with '1.'

Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot or code snippets.

Please provide a detailed description as per the issue template. Otherwise it's hard to identify where you experience it.

@catenaprotocol Can you give me more details, or can I close the issue as you resolved it?


Add Image and PDF uploads

This looks great.  I successfully an image and a pdf locally.  I only have one small suggestion, and that is to delete two remaining links I found to the now deleted image:edit and document:edit views.  They are in app/views/images/show.html.erb lines 4 and 5, and app/views/documents/show.html.erb lines 4 and 5.
Great job getting this code done in such a short period of time!

Also, it looks like this needs to be rebased to develop.

Aha, thanks for catching that.  Making the changes now.  Thanks for your kind words!  I'll rebase it after making the changes.

@AudreyAltman: It's rebased and squashed

:dancer:


Set up the multi-active-gw branch

This sets up CODEOWNERS so that the multi-active-gateway developers
can merge PRs to this branch independently.
It also updates the branch check to enforce use of the multi-active-gw
branch.
See https://github.com/submariner-io/submariner/issues/1731 for
details.
Depends on https://github.com/submariner-io/shipyard/pull/761
Depends on https://github.com/submariner-io/shipyard/pull/759
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

This seems ready to merge?


terminal resize during file recovery

What steps will reproduce the problem?
1. open a file with vim
2. in a new terminal, open the same file with another vim instance
3. resize your terminal

What is the expected output? What do you see instead?
I expect the text to reformat while the terminal resizes. Instead, the text
gets garbled and never formats properly again. In some cases, the output
remains affected after dismissing the prompt, during editing. In either case,
the problem can sometimes be fixed by resizing the terminal window once again
while editing.

What version of the product are you using? On what operating system?

$;vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov 16 2010 17:05:25)
Included patches: 1-56
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
+mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse
+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
+path_extra +perl +persistent_undo +postscript +printer +profile +python
-python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
 -xterm_clipboard -xterm_save
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim73"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -D_FORTIFY_SOURCE=1
Linking: gcc   -L.  -rdynamic -Wl,-export-dynamic  -Wl,--enable-new-dtags
-Wl,-rpath,/usr/lib64/perl5/CORE   -L/usr/local/lib -Wl,--as-needed -o vim
 -lm -lnsl  -lselinux  -lncurses -lacl -lattr -lgpm -ldl
-Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE  -fstack-protector
-L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread
-lc -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm
-Xlinker -export-dynamic   -lruby -lpthread -lrt -ldl -lcrypt -lm

Fedora 14, XFCE window manager, and xfce4-terminal

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 7 Jun 2011 at 7:35

the dialog is resized, however the Attention message seems to be lost. But I don't see garbeled text. Assuming this has been fixed since then.


Software License?

I do not see a license anywhere.  Do you plan to add a software license to this project or is it missing one deliberately?

The Unlicense seems good enough.  This is mostly just a modification of a lot of other peoples work so i don't feel that I should apply license to it.  Hopefully others can benefit from it.


Add typehint to Module.scope

What does this PR do?
Small but useful change that adds typehint information to Module.scope. Currently editors and static analyzers don't provide any useful information about self.scope. Users should be able to better autocompletion when referencing scope now.

Codecov Report

Merging #2106 (1aefc4b) into main (dee9073) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2106   +/-   ##
=======================================
  Coverage   74.91%   74.91%
=======================================
  Files          59       59
  Lines        5042     5042
=======================================
  Hits         3777     3777
  Misses       1265     1265

Impacted Files
Coverage Δ

flax/linen/module.py
94.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Error: Invalid value for  attribute x="NaN" when redrawing bar chart with some data points removed

The following code with dimple 2.1.6:
var svg = dimple.newSvg("body", 1200, 800);

var data = [
  {x: "a", y: 1},
  {x: "b", y: 2}
];

// Create a new chart object based on this data and svg
var myChart = new dimple.chart(svg, data);
myChart.addCategoryAxis("x", "x");
myChart.addMeasureAxis("y", "y");
myChart.addSeries(null, dimple.plot.bar);
myChart.draw();
setTimeout(function () {
  myChart.data = data.slice(0, 1);
  myChart.draw(); // throws errors
}, 1000);

throws Error: Invalid value for <rect> attribute x="NaN" on the second call to draw(). I'm fairly new to dimple -- is my code breaking some assumption and thus causes dimple to throw errors?

Sam issue here in most recent version of dimple.
I'm getting a stream of data points via socketIO and want to plot the last 100 only.
So as soon as my data array has >100 entries I do a dataArray.shift() to remove the oldest element.
The chart throws the errors above and messes up its display. Only the right half of the chart seems to be updating, the left half is frozen.


Added additional documentation on APIs

Can be viewed here: https://github.com/GoogleCloudPlatform/ai-on-gke/blob/rueth-saxml-httpserver-docs/saxml-on-gke/httpserver/README.md

@vivianrwu  could you take a look at this?

I can add the types to the descriptions, but in JSON there is just Number and not "sub types" of int or float.


Add goreleaser github action

This partly fixes #60 Create Compiled Arlon CLI for Linux and the Build Infrastructure
goreleaser allows the Arlon team to publish releases on GitHub. The configuration is YAML based and feature rich.

@cre8minus1 , @bcle We can release a binary for Arlon CLI for Windows too using goreleaser. We have excluded it for now since it has not been tested on Windows.

Haven't tried it yet.
On Fri, Aug 26, 2022, 21:56 Shaunak Joshi @.***> wrote:

@.**** commented on this pull request.
In .github/workflows/goreleaser.yaml
https://github.com/arlonproj/arlon/pull/174#discussion_r956210052:

 - '*'

+jobs:

goreleaser:
environment: arlon
runs-on: ubuntu-latest
steps:

 -

   name: Checkout

   uses<EMAIL_ADDRESS>

   with:

     fetch-depth: 0

 -

   name: Set up Go

   uses<EMAIL_ADDRESS>

   with:

     go-version: 1.17

Can we use different go-versions in goreleaser yaml for different branches
or will that lead to lot of code duplication ?
—
Reply to this email directly, view it on GitHub
https://github.com/arlonproj/arlon/pull/174#discussion_r956210052, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNJ3UXBDZN74UGTTMFJMT3V3DV2PANCNFSM57WUN4NA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add bedrock.util.delay API.

@mattcollier, is there a reason why we need this in bedrock vs. as a separate library?

@dlongley both delay (sleep) and uuid are commonly used functions.  I see bedrock as a curated collection of helpers.  Of course it's easier to manage dependencies if they are in 50 different modules.  So, for instance, we've recently started using uuid-random which is superior to the uuid dependency we've been using.  If we had already been using bedrock.util.uuid then we would be able to silently replace that dependency in all the places.

I have mixed feelings about this, but will approve. Your point about managing dependencies is good -- but at the same time, we don't want to create a monolith that needs to be updated in order for other modules to get updates. We both want to decentralize the ability the upgrade and centralize "default upgrades".

Pardon, this fell off my radar earlier.  I do have management concerns about a "curated collection of helpers" that is a dependency of countless other packages at this point.  If any of those exported helpers have a major semver type of change, then we have to also bump bedrock itself.  A major bedrock version bump is so difficult at this point that we specifically don't make bedrock changes because of it.  I'm afraid of the longer term consequences of adding to the problem.  Perhaps an improved design should be discussed in another issue.

@davidlehn, I share your concerns. Please open another issue for it.


SignatureDoesNotMatch

I am having the above error when refreshRoleCredentials method is being called.
either directly we call it or it being called when we use callApi method.
folowing is the request that is being generated:
{   method: 'POST',   url: 'https://sts.amazonaws.com',   body: 'Action=AssumeRole&DurationSeconds=3600&RoleArn=arn%3Aaws%3Aiam%3A%3A849291919351%3Arole%2FSellingPartnerAPI&RoleSessionName=SPAPISession&Version=2011-06-15',   headers: {     Authorization: 'AWS4-HMAC-SHA256 Credential=AKIA4LPN6H7337K4MSQ2/20220804/us-east-1/sts/aws4_request, SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=1a8fe572c8b33c9e2d08af74805c2b602dbae2abebcefa917035f985c6ea98a0',     'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8',     Host: 'sts.amazonaws.com',     'user-agent': 'amazon-sp-api/0.7.9 (Language=Node.js/v14.12.0; Platform=Darwin/20.04)',     'X-Amz-Content-Sha256': '0f23fbe70f689e9b56bd4798c2c90e95f27c9bef845f512004d4c152e9a763de',     'X-Amz-Date': '20220804T112604Z'   } }
error i get in reply is following
{   ErrorResponse: {     Error: {       Type: 'Sender',       Code: 'SignatureDoesNotMatch',       Message: 'The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.'     },     RequestId: 'c525f9c4-765d-45a8-a233-1ada7781f2ac'   } }
my config is following:
`new SellingPartnerAPI({
access_token: credentials.accessToken,
credentials: {
AWS_ACCESS_KEY_ID: environment.amazon.keyId,
AWS_SECRET_ACCESS_KEY: environment.amazon.userSecret,
AWS_SELLING_PARTNER_ROLE: environment.amazon.role,
SELLING_PARTNER_APP_CLIENT_ID: environment.amazon.clientId || 'amzn1.application-oa2-client.0416471fa9d4464a9b5c997f80ad806d',
SELLING_PARTNER_APP_CLIENT_SECRET: environment.amazon.clientSecret || '40c2774170fbea1f16f739fd6e333dec928b77c4020c957b81568d96bb026b58',
},
options: {
auto_request_throttled: true,
auto_request_tokens: true,
debug_log: true,
only_grantless_operations: false,
use_sandbox: true,
user_agent: 'amazon-sp-api/0.7.9 (Language=Node.js/v14.12.0; Platform=Darwin/20.04)',
},
refresh_token: credentials.refreshToken,
region: 'eu',
role_credentials: {
  },
})`

Any idea what could be the issue.

Hi @spsinghats2,
hard to tell whats wrong. You could try to completely remove access_token, role_credentials and use_sandbox from the config and try again. And also maybe try to remove the credentials as well and provide them directly as environment variables.

@amz-tools thx for helping, removing them resolved the error, not sure but removing access_token and adding env directly worked.
1 more issue though,
{
method: 'POST',
url: 'https://sellingpartnerapi-eu.amazon.com/feeds/2020-09-04/documents',
body: '{"contentType":"text/xml; charset=UTF-8"}',
headers: {
Authorization: 'AWS4-HMAC-SHA256 Credential=ASIA4LPN6H73YMRSYHAV/20220808/eu-west-1/execute-api/aws4_request, SignedHeaders=host;user-agent;x-amz-access-token;x-amz-date, Signature=cc35dbb1172529a89df860adc9478cdcf122b518c0101b5c5d8b892c215e3f5d',
'Content-Type': 'application/json; charset=utf-8',
host: 'sellingpartnerapi-eu.amazon.com',
'user-agent': 'amazon-sp-api/0.7.9 (Language=Node.js/v14.12.0; Platform=Darwin/20.04)',
'x-amz-access-token': 'SOMETHING***********',
'x-amz-security-token': 'SOMETHING**********',
'x-amz-date': '20220808T131306Z'
}
}
I am getting error:
{
body: '{\n' +
'  "errors": [\n' +
'    {\n' +
'      "message": "Access to requested resource is denied.",\n' +
'     "code": "Unauthorized",\n' +
'     "details": ""\n' +
'    }\n' +
'  ]\n' +
'}',
chunks: [
<Buffer 7b 0a 20 20 22 65 72 72 6f 72 73 22 3a 20 5b 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 22 6d 65 73 73 61 67 65 22 3a 20 22 41 63 63 65 73 73 20 74 6f 20 ... 91 more bytes>
],
statusCode: 403,
headers: {
date: 'Mon, 08 Aug 2022 13:13:07 GMT',
'content-type': 'application/json',
'content-length': '141',
connection: 'close',
'x-amzn-requestid': 'c9a64605-9264-455a-bfc1-d662809ec5e2',
'x-amzn-errortype': 'AccessDeniedException',
'x-amz-apigw-id': 'Wi7LgF-QjoEF0tw='
}
}
when i use the postman with same requst object I get:
{
"errors": [
{
"message": "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\n\nThe Canonical String for this request should have been\n'POST\n/feeds/2020-09-04/documents\n\nhost:sandbox.sellingpartnerapi-eu.amazon.com\nuser-agent:amazon-sp-api/0.7.9 (Language=Node.js/v14.12.0; Platform=Darwin/20.04)\nx-amz-access-token:SOMETHING****\nx-amz-date:20220808T120805Z\n\nhost;user-agent;x-amz-access-token;x-amz-date\nb65f054c48ac862679857366981192b9efefdbd1e83c0db6c2c3bd9f1f1f2f07'\n\nThe String-to-Sign should have been\n'AWS4-HMAC-SHA256\n20220808T120805Z\n20220808/eu-west-1/execute-api/aws4_request\n8c5fae8b899a9fe8a54296ea444cede1e000bfc931c374a45d384eebf5d32438'\n",
"code": "InvalidSignature"
}
]
}
I have searched as I can but everything seems to be fine

@spsinghats2, are you sure authentication is now working? Is sellers.getMarketplaceParticipations working? Is it doesn't expect any params its a good test to check out if the connection is working via the module.

No I am getting exactly same error in sellers.getMarketplaceParticipations in this.
do you think it has something to do with IAM users permissions?
or the token i generated?

@spsinghats2, yes there seems to be a problem with your authentication somewhere.

@amz-tools I actually have a similar problem with signature mismatch for SOME of the calls. FBA Inventory does not seem to work for me for example.
I always hated this signature. Especially the MWS one.
PITA.
Loaded credentials from file (/home/nothinman/.amzspapi/credentials)
CustomError: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.The Canonical String for this request should have been'GET/fba/inventory/v1/summariesMarketplaceIds=A1PA6795UKMFR9&granularityId=A1PA6795UKMFR9&granularityType=Marketplacehost:sellingpartnerapi-eu.amazon.comuser-agent:amazon-sp-api/0.7.10 (Language=Node.js/v12.22.9; Platform=Linux/5.15.0-43-generic)


Spark 2.2 support

A couple of things:
I am using https://hub.docker.com/u/kubespark/ for spark-2.2-with-k8 images. Let me know if there are equivalent gcr images which we prefer to use and I can move to those.
I have added a placeholder for "spark 2.2 operator image" as discussed in manifest/spark-operator.yaml which we can replace with  a gcr image once created.

LGTM. Will merge once build is green. Thanks for the PR again!


Style issue [ Beta Filamentphp Docs ]

Package
filament/filament
Package Version
v3.0
Laravel Version
9.19
Livewire Version
No response
PHP Version
v8.1
Problem description
Hey there,
There is an style issue in bottom section.
Beta Filamentphp Docs
Thanks a lot for new updates.
Expected behavior
i think the issue is missing div or something like that.
Steps to reproduce
Just go to bottom section of the page.
Reproduction repository
https://beta.filamentphp.com/docs/3.x/widgets/charts/
Relevant log output
No response

I don't know if this the right place to publish the issue.

We're aware of the issue and should be fixed on the next release.

We're aware of the issue and should be fixed on the next release.

Okey,thanks.


Cannot run inference - after conversion from keras model to tflite

Hello,
I have a segmentation model taking input of size (480, 640, 3) with values in range from 0 to 1 and produces output of size (480, 640, 1).
The conversion from keras model file to tflite went pretty fine. However, when I'm calling run_inference with flattened numpy array, it always raises RuntimeError: external/org_tensorflow/tensorflow/lite/core/subgraph.cc:1044 required_bytes != bytes (3686400 != 921600.
If I try to retype the input image to let's say uint32, other exception appears: TypeError: Cannot cast array data from dtype('uint32') to dtype('uint8') according to the rule 'safe'.
Does anyone experienced same issue and could help?

Hello, that usually means that the model still has float input which our API doesn't support for the python interface yet.
Can you upload the model here?

resnetsmall.zip
Here is the original keras model.

Do you have the cpu tflite model?

Yes, here it is
resnetsmall.hdf5.zip

What do you mean by "cpu"? Is there any option to convert the model to tflite cpu vs gpu?

The tflite model after converting should be a CPU model before you compile it to an edgetpu model. Only edgetpu model can be run with our api

Is it really hdf5 ? Here is the code I use for converting the model
def convert(path):
    custom_objects = {
        'mean_iou': models.mean_iou
    }

    converter = tf.lite.TFLiteConverter.from_keras_model_file(
        path,
        custom_objects=custom_objects
    )
    tflite_model = converter.convert()

    with open('{}.tflite'.format(path), 'wb') as f:
        f.write(tflite_model)

@Adman I see, it is in deed .hdf5.tflite, the hdf5 part confused me, sorry about that (I was still not in the office this morning when I saw the zip file, just wanted to respond earlier).
Any how, as I suspected, the model is not quantized and also not compiled for the edgetpu, please go through the full post training quantization process instead of just converting the model. As of now it is still a float cpu model:

Then after you have a fully quantized model, pass it through the edgetpu compiler

@Namburger Thanks for clarification. I managed to run the quantization based on that example, but I had to use newest tensorflow. However, when I tried to run edgetpu compiler, I got this message
Edge TPU Compiler version 14.1.317412892
Invalid model: trained_models/model.hdf5.tflite
Model not quantized

The code that I used for converting this time looks as follows:
    custom_objects = {
        'mean_iou': models.mean_iou
    }
    model = tf.keras.models.load_model(path, custom_objects=custom_objects)

    converter = tf.lite.TFLiteConverter.from_keras_model(
        model,
        #custom_objects=custom_objects
    )
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
    converter.inference_input_type = tf.int8  # or tf.uint8
    converter.inference_output_type = tf.int8  # or tf.uint8

    def representative_dataset_gen():
        num_calibration_steps = 50

        data = train_generator(1,
                               train_dir,
                               'image',
                               'masks',
                               img_target_size=IMG_TARGET_SIZE,
                               aug=False)

        inp = []
        for i, j in enumerate(data):
            if i == num_calibration_steps:
                break
            inp.append(j[0].astype(np.float32))

        for i in range(num_calibration_steps):
            # Get sample input data as a numpy array in a method of your choosing.
            yield [inp[i]]

    converter.representative_dataset = representative_dataset_gen
    tflite_model = converter.convert()

    with open('{}.tflite'.format(path), 'wb') as f:
        f.write(tflite_model)

Hello, what tensorflow version are you using?
For tf >= 2.3*, the input size isn't static, we'll start documenting this soon, but can you add this line before instantiating the converter?
model.input.set_shape((1,) + model.input.shape[1:]) # this line

converter = tf.lite.TFLiteConverter.from_keras_model(
        model,
    )

Hello, thanks for helpful advices. It started working, but compiling the tflite model raises that it does not recognize RESIZE_NEAREST_NEIGHBOR operation. I found this issue https://github.com/google-coral/edgetpu/issues/152 and based on that I downgraded tf version to 2.1, which solved the problem. The only thing which is problematic is prediction, which always returns zeros for all the pixels in the picture (semantic segmentation).

Feel free to reopen if this issue still persists.


[a11y]:Text for icons should not include information about variations on an icon in their title

Package
carbon-components
Browser
Chrome
Operating System
MacOS
Package version
carbondesignsystem.com
Automated testing tool and ruleset
n/a
Assistive technology
n/a
Description
There are variations in icons in the Carbon icon library that should not have the variation added as part of the accessible name.
The words include:

^ "filled" (to distinguish between a filled and unfilled version of the same icon

^ "outlined" (to similarly distinguish between a filled and outlined version of an icon)

^ "alt" (to identify an alternative version of the same icon)

^ "solid" (basically when only a symbol in the icon is filled)

^ "1" and other numbering, to designate multiple variations in an icon

^ "inverted" (where the shape has been flipped)

For example, there are 55 icons in Carbon that are variations on an icon that contain the word "alt" (to designate that they are alternative versions)
While this is a useful label in the context of a list of icons in the icon library, it is meaningless from an accessible alternative text perspective. Unfortunately, in every case, the visible icon label in the list of icons is also added as the title of the svg icon.

The solution to this will be to remove these words from the title name, where the implementation allows the title to be detected as the accessible name (i.e., not hidden, role is given as img -- see note below)
The exception to this is where the filled state may contain meaning. This is very rare -- and in the case where the fill is used to contain meaning, the alt would likely be better to reflect the meaning, than the visual state. For instance, in the following images, stars and thumbs up icons are both filled and unfilled. These are often used to indicate selection. A better alt would be  "star unselected" and "star selected". It's also possible that when they are used this way, the element's state is controlled programmatically (for instance up and down chevrons to indicate expanded and collapsed) and the SVG title is is superfluous.

Important note: the icons in this library have been implemented in a peculiar way:

they have been given an aria-hidden="true"
they have not been given a role="image"

As a result, they are not identified by assistive technologies. However, my assumption is that when implemented, the icons will not be aria-hidden, and that they will be assigned a role of image, and the title value of the SVG will be accessible to most combinations of AT and browser (although the behaviour may vary)
If my assumption is wrong, and these icons are always implemented aria-hidden (or without a role of img) then we have a different problem, that is actually potentially a much larger failure.
WCAG 2.1 Violation
1.1.1 Non-text Content
CodeSandbox example
https://www.carbondesignsystem.com/guidelines/icons/library/
Steps to reproduce

Go to https://www.carbondesignsystem.com/guidelines/icons/library/
Do a search for " alt"
Inspect the code to validate the svg title contains "alt"

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems

As discussed, I think we will isolate this issue to uses of icon-only buttons for now, rather than focus on how the titles are produced on the icon library page, which have no bearing on the accessible name. I will add guidance to the carbondesignsystem.com component page for button.


"Memory stream is not expandable" exception

I'm trying to extract MemoryStreamIsNotExpandable.zip with the following code:
using (Stream stream = File.OpenRead(sourceArchiveFileName))
{
    using (IReader reader = ReaderFactory.Open(stream))
    {
        while (reader.MoveToNextEntry())
        {
           ...
        }
    }
}

But got "Memory stream is not expandable" exception after reading of big.png file at while (reader.MoveToNextEntry()) line. This file received from standard Mac compress utility.
With the reason of this error and how can we resolve it?

Looks like that's a streaming zip and the rewindable buffer can't handle a MemoryStream with a given buffer.  Not sure why I hadn't seen this until now.  Made a PR

Is there a plan to Merge this pull request and release a new build?


Bbox supervision signal for unknown class

Are ground-truth bounding boxes for unknown class utilized as supervision signal during training?

@liuchang8am
@JosephKJ @salman-h-khan
I have the same problem.How does the unknown class participate in network training if the unknown class tag is not used in the training process?
Looking forward to your answer!

@LoveIsAGame: Energy based models have the implicit capability to learn an energy manifold with low energy values for known known data only. Hence an unknown instance at validation/test time will have low energy as seen from Figure 3. Kindly refer to Sec 4.3 for more details.

@liuchang8am @JosephKJ @salman-h-khan
I still don't quite understand.We use the program to find the unknown object, but there is no GT of the position object, how do we do the linear regression of the unknown object.
They simply recognize the presence of an unknown object, but they don't know its authenticity.I don't know if this is correct?

Can you point out where the energy based models is? Thanks!

@LoveIsAGame Hi！Same question about how to localize unknown instances. Are you solved?


fix: parse options with numerical values as int

fixes #222

@mattseymour 👋🏼 Can I get you to have a look at this?

If this can not be generalised we could have an index of options that require conversion to int.

Amazing, I've been waiting for this fix!

Nice one, I am going to start building a v2.1.0 release now.


Sprite Flipping & Sizing Issue when Preserve Aspect Ratio is enabled

Quick question @atteneder , can you test this .basis file loaded as a sprite with your sprite flipping logic and let me know what you see? I'm expecting it to match this png version, but the results I'm seeing are a bit strange (flipped horizontally, larger scale).
If I force the IsXFlipped attribute to true, the basis sprite is the same size as the .png loaded version on the right, but is still not flipped on the horizontal (not facing the right).

Hi @DerrickBarra
I tried loading with KtxUnity 0.9.0 and this script.
I looked identical to the PNG put on an Image component (mario facing right). Maybe look at my script and compare to yours.
hth

@atteneder Sorry for the weekend delay. So my original code was a modified version of your Image Sprite loading logic, but just in case I copied the logic over to what is basically a duplicate of the same class you linked to (just with some KTX define symbol checks), and the sprite is still loading on my Windows PC flipped and larger than the .png version.
Are you testing on a Mac? I'm going to make an Android or WebGL build next to see if the flipping works differently on those exports. Don't know why it would, but it can't hurt to elimiate those possibilities.

@atteneder So I ran another test with new .basis files just to confirm the bug can be recreated.
Mario NoFlip [default basisU configuration, no flip]

Mario yflip [-yflip command added to basisU]

@atteneder Hey bud, anything you want me to try on this bug?

@DerrickBarra The script counter-acts the flipping by setting negative size values on the Sprite. Those negative values confuse the Image component (or break its Sprite placement calculations) and I couldn't find any other ordinary way of teaching either Sprite or Image to simply flip it.
You have to bite the dust and do the RectTransform position calculations yourself. Here's a simple example (to be added at the end of ApplyTexture);
float scale = 0.5f; // Set this to whatever size you need it - best make it a serialized class field
var rt = GetComponent<RectTransform>();
rt.sizeDelta = new Vector2(texture.width*scale, texture.height*scale);

hth

@atteneder I recommend the documentation make note of this incompatibility with the Unity Image preserveAspect attribute. You can point to the possible solutions (pre-flipping your textures, or as a backup modifying the rectTransform to deal with the scaling.)
For our team's use, it'll be best to just pre-flip the textures in basisu or toktx to ensure we don't need to deal with the changes to our UI prefab hierarchies. Thanks!


Set secret, basePath and data.path from environment variables

I think this will help when using cerebro in container images or with an environment file in systemd

In my opinion, it's very useful for container user and k8s user.


Cannot find .cfg file (Instances)

I updated to the new version of Arkmanager, and it gives me this error:
arkmanager install
Running command 'install' for instance 'main'
Error: config file /home/steam/.config/arkmanager/instances/main.cfg does not exist
The file does exist in that directory and it's readable.  But for some reason, Arkmanager cannot find it.  Any help would really be appreciated.  Thanks.

same for me
Error: config file /etc/arkmanager/instances/main.cfg does not exist
main.cfg is existing ;)
Version is
Version: 1.5 Channel: master Commit: 5e8b53b
Thx For help

The solution of @klightspeed is working... just tried it by manually updating the arkmanager file.

yes It Works, thx. :)

I can't get it to work
defaultinstance="main" is in arkmanager.cfg
Error: config file /etc/arkmanager/instances/main.cfg does not exist
main.cfg is there with arkserverroot="/home/steam/ARK" :/

How do you apply the patch? Sorry, I'm fairly new to Ubuntu and GitHub...

open the arkmanager executable
sudo nano /usr/local/bin/arkmanager
press STRG+w
Enter or past this into the search line:
if [ -a "$configfile" ]; then
change -a  to -z
the line must now look so:
if [ -z "$configfile" ]; then
exit (STRG+x) and save the file.
Thats all

Thanks dragnod0 for the quick and detailed response! This got my much further now.
However, I don't believe my system has enough disk space to actually install the steamcmd ARK files...
I ran the bash script located here (http://www.kpheasey.com/2015/07/03/ark-survival-evolved-private-dedicated-server-setup-beginners-guide/#comments) but I don't see the directory /home/steam/ark; all I see is /home/steam/steamcmd.
I ran the command "./steamcmd.sh +login anonymous +force_install_dir /home/steam/ark +app_update 376030 validate +quit" to try to install the tools, but it failed with the following errors:

Loading Steam API...applicationmanager.cpp (3091) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
applicationmanager.cpp (3091) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
applicationmanager.cpp (3242) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
Created shared memory when not owner SteamController_Shared_mem
OK.
Connecting anonymously to Steam Public...Logged in OK
Waiting for license info...OK
applicationmanager.cpp (3242) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) validating, progress: 92.35<PHONE_NUMBER>5 /<PHONE_NUMBER>9)
Error! App '376030' state is 0x202 after update job.

Any I have approximately 10GB of free space on this digital ocean droplet, but isn't the install close to 20GB?
Thanks again for all of the help!

For the ARK server you need ~18 GB free disk space (say steam)
you can simplie install the server with arkmanager install

thx to @dragnod0 and @klightspeed. Working now again


Dev Server Documentation: CLI --config option

Feature to document
Documentation is missing for --config CLI option usage in devServer docs:
webpack-dev-server [--config webpack.config.js]
Author(s)
/cc @evilebottnawi @hiroppy
Additional information

[x] I am willing to work on this issue and submit a pull request.

Looking forward to PR @Loonride

I think better avoid this documentation due we drop our CLI in favor webpack-cli in next release(s)

wow, amazing that you'd note this before PR is up! @Loonride did you catch that?

@EugeneHlushko I did not start working on PR yet if that's what your asking.
@evilebottnawi Good point. Will we just be updating the current dev server docs to use webpack-cli serve instead of webpack-dev-server on CLI, or will we be moving dev server CLI docs somewhere else?

@Loonride i think we update documentation and for CLI and for webpack-dev-server for better DX

this is not worked on, there fore noone is assigned. @evilebottnawi can you mention this issue in related PR when there is one so we know when docs need update

@EugeneHlushko yep :+1:


DM-70 See an overview of all samples within a project

Many thanks for contributing to this project!
PR Checklist
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).

[ ] This comment contains a description of changes (with reason)
[ ] Referenced issue is linked
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] Documentation in docs is updated
[ ] CHANGELOG.rst is updated

Description of changes
Please state what you've changed and how it might affect the user.
Technical details
Please state any technical details such as limitations, reasons for additional dependencies, benchmarks etc. here.
Additional context
Add any other context or screenshots here.

@KochTobi this can be reviewed now, can it?


IsKnife() and  GetCSWeaponData() not working!

I have made an aimbot for csgosimple but i only want it to run when im not holding a knife.
g_LocalPlayer->m_hActiveWeapon()->IsKnife() should return true when i am holding a knife but it doesent.
I believe this has something to do with GetCSWeaponData(). The signature may be outdated.
The weapon option on esp also doesent work which again leads me to believe that GetCSWeaponData() is outdated

try g_LocalPlayer->m_hActiveWeapon().Get()->IsKnife()


Add Animations to UI

What does this PR do?
This PR adds gif animations to user interface
Description Of Task To Be Completed
User sees an arrow that bounces to indicate he/she should click
User sees a spinning gif besides the upload button on click
Any Backstory?
N/A
Screenshots
N/A
Relevant Pivotal Tracker Stories
Add GIF animations to UI

Coverage remained the same at 98.352% when pulling fcfa4b27bb3e5f8610c118492d876b1284c140f0 on feature/141513651/add-animations into 4dac5f946fb6fe2f9fcef6abf6986646487fcb24 on development.


Handling decimal data types

closes #1120, closes #612

@AdityaHegde, do you have a small reproduction that I can use to test the DECIMAL type?

I was manually casting columns to decimal while testing. It broke before my changes.


Use macros to implement traits for Vec and VecView.

Reduce duplicated code by implementing traits for Vec and VecView using macros.
Also add inline to functions that redirect to VecView.

@rust-embedded/libs, please review.


Improve test coverage

Also, make the exception handling for global key listeners slightly more
robust.

@Hixie


Post Video not Rendering Correctly

When the user post a video it is stored in the firestore and returned back to the site to be displayed.

The bug is that the video is being stored in the database as and image.
When firebase returns the video to the site as an image, it is not being displayed in the <ReactPlayer> on line 78 of src/components/Main.jsx.

The firebase const for the articles collection are in src/actions/index.jsx

The src/components/PostModal.jsx needs a button that opens users file explorer and allows user to upload video files only.
Please verify that the video will be stored in the collection as a video.
Post a video to make sure it is rendering.

Note: .gif are stored an an image
Link for free videos: https://coverr.co/stock-video-footage

I hadn't stopped to read this issue, but looking at the rendering of the video post I saw that the url is going to an img tag.

hey i spent some time digging through the archives but every time i try to upload a video it just won't create the post. I'll stop while I try to figure out why before filling the db with random videos.

I'll did thru my old compressed files and send you a code snip-it. I was not working right then but maybe you can put the put them together and get it working.

@Ronnie018 will you update your main and tell me what you think of the new logo. It is a bit small in the nav but it was the best coloring I could do.  It's not quite right thou...

postModal.txt
Take a look at this. maybe it will help?

Im looking it now, it was suposed to have an video upload input or external links only?

I was supposed to have a file upload like the image does. The image was only supposed to accept  image files and the video was only supposed to accept video files except you click on them and the image would show you a new button in the center, you click that and the file explorer opened, if you clicked the video a text box opened in the center and everything I tested did not render. Also the image would display in the center under the text box before you submitted the post. I tried to correct it and what we currently have is the best I could do.  I wanted it to open the file explorer on the first click and accept the video or image depending on what you clicked. Then the upload should have been displayed in the center.
But I settled for the video was uploaded and called back from firebase. I thought it was my firewall causing the broken image but after some feedback I learned that it was a bug.

Maybe with the original code you can fix it better then I was able to. Also, the original code would not accept a text only message and I fixed that in the actions files.

I think my largest error was making it into one button so now it does not know that the file is a video and storing it as an image

I'll give you a penny for your thoughts!

I think of something, I don't know if it would work but I can try. Let's see if you agree with me:
What if it was just one media entry, and the file type was defined based on the selected file extension, like .mov or .jpg (since the user can only choose one media per post).

after the file selection step we go to the part where we send the post, the video must be stored in the "videoLink" state if I'm not mistaken, and later in the video key of the payload object which in turn will be sent to the postArticleAPI action where must fall in the "else if (payload.video)" statement; at this moment the file must already be saved; in this stream I must have missed something yesterday when trying to use the postArticleAPI to save the post with a video.

Another possibility if I was sure the files are being uploaded would be to change the payload from:
{
       image: sharedImage,
       video: videoLink,
       user: props.user,
       description: editorText,
       timestamp: firebase.firestore.Timestamp.now(),
}

to:
{
       file: {
              data,
              type: [can be video or image],
       }
       user: props.user,
       description: editorText,
       timestamp: firebase.firestore.Timestamp.now(),
}

and use the "type" attribute to define what will be rendered.

and use the "type" attribute to define what will be rendered.

or just a generic file and check the type from the blob metadata

The files are coming back to the site. If you right click on the broken image and open in a new tab the video will play in the newtab. But yes that is the bug the videos are being saved in the image.state. If it gets saved as the video.state I think the rest of the code is working fine.

 { assetArea === "image" ? (
          <UploadImage>
          <input type="file"
          accept="image/gif, image/png, image/jpeg, image/png"
          name="image"
          id="file"
          onChange= {handleChange}
           />

Select an image to share

             {shareImage && }
             </UploadImage>
           ):(
           assetArea === "media" && (
             <> <input type="text"
             placeholder="Please input a video link"
             value={videoLink}
             onChange={(e) => setVideoLink(e.target.value)} />
             {videoLink &&(<ReactPlayer width={"auto"} url={videoLink} />
              )}
             </>))
           }
'''

The files are coming back to the site. If you right click on the broken image and open in a new tab the video will play in the newtab. But yes that is the bug the videos are being saved in the image.state. If it gets saved as the video.state I think the rest of the code is working fine.

I noticed that your video was playing when I used the link directly, I tried to play the video by uploading a new post, but I couldn't.

    <AttachAssets>
         <AssetButton onClick={() => switchAssetArea("image")} >

         </AssetButton>
         <AssetButton onClick={() => switchAssetArea("media")}>

         </AssetButton>
    </AttachAssets>

The bug is in these 2 snipits is I remember correctly
Would you like me to try to upload another video?

assetArea === "media" && (
             <> <input type="text"
             placeholder="Please input a video link"
             value={videoLink}

This does not state the accepted file types like the images does and I wanted it to open a file explorer not a link https

assetArea === "media" && (
             <> <input type="text"
             placeholder="Please input a video link"
             value={videoLink}

This does not state the accepted file types like the images does and I wanted it to open a file explorer not a link https

para fazer abrir o explorador voce pode mudar o atributo type para file

assetArea === "media" && (
             <> <input type="text"
             placeholder="Please input a video link"
             value={videoLink}

This does not state the accepted file types like the images does and I wanted it to open a file explorer not a link https

to open the file explorer the type attribute must be file

I was having google translate this
Are you saying you can not upload a video file with this code

I was having google translate this Are you saying you can not upload a video file with this code

sorry i forgot to translate it before to send, i deleted this one.

I tried to copy the image section:
<input type="file"
  accept="image/gif, image/png, image/jpeg, image/png"
  name="image"
  id="file"
  onChange= {handleChange}

and change the accept to videos types but I don't know what I did wrong and stack exchange was not very helpful

sorry i forgot to translate it before to send, i deleted this one.

I don't mind looking it up once in a while. It's kinda fun. I don't know what it will say.

Someday something might stick and I wont have to ask google

Someday something might stick and I wont have to ask google

lol good to know

I tried to copy the image section:

you did it right now?

No this is what I originally did when I worked on this bug

I think this code would work if it that the right accept="image/gif, image/png, image/jpeg, image/png" for videos

 I just want the file explorer to open from these buttons not the redirects to the button that popped up in the center of the post modal

I just want the file explorer to open from these buttons not the redirects to the button that popped up in the center of the post modal

I just want the file explorer to open from these buttons not the redirects to the button that popped up in the center of the post modal

I did something similar with the old modal, the problem came after

I did something similar with the old modal, the problem came after

I was just thinking, do you want to try the live share feature  of code spaces and see if we can put our heads together on this?

https://prod.liveshare.vsengsaas.visualstudio.com/join?9C30AB98B2F2735ADDECD713B5BAA9B2056D

I was just thinking, do you want to try the live share feature of code spaces and see if we can put our heads together on this?

Yeah why not

can you see my editor and chat

can you see my editor and chat

yup

have you stated the server?

would you mind sending me a screenshot so I have an ides of what you can see

thats my screen right now

sorry i got booted from the code space

The firewall booted me and I might be in trouble tomorrow

whats the deal with this firewall?

Hey, but no problem we can try this another time if you want

go to the fearlesstech page and click on teams meet me in that room

Hey, im getting there on the ui

oh cool beans, Thank you

oh cool beans, Thank you

Hey, it took me the day but i did it, there are other problems that can come up, but there it is

I appreciate it. I'm sorry for being late today. I'm really feeling like dirt and I've been sleeping since I said good night last night. But hey we have 3 new potential contributors. That's exciting. It's up to you if you would like to give that guy access to your figma because I know it is a free plan. I looked for a better plan in the github student pack  but I did not see one.

I appreciate it. I'm sorry for being late today. I'm really feeling like dirt and I've been sleeping since I said good night last night. But hey we have 3 new potential contributors. That's exciting. It's up to you if you would like to give that guy access to your figma because I know it is a free plan. I looked for a better plan in the github student pack but I did not see one.

I saw it, its awesome, As long as there's room in my figma, anyone can join, I really just don't know how much space it has. I had visitors and couldn't help much today, but I'm going back to work on the network page now.
Are you better today? how was the meeting?

:blush: I am starting to feel better not 100% yet but better. Thank you. The meeting went well. Brian is grate and Hale showed up while I was meeting with him so she got to meet him to. Some of his IT will be contacting me with in the next few days. I guess the lady that offered the coding classes used to work with him and sung my praises so I sent her a thank you email and told her about the repo. My meeting with Brian was cut short because of some issues with the firewall but he's going to reschedule with me.

Excuse me: the lady that offered the coding classes to me (taught me to print hello world) used to work with him.

Ah, that's good.


Rez env strips double dash in command

Hi,
I want to pass arguments to a Blender Python script through the command line as described here.
I should be able to do this using Rez:
$ rez env blender -- blender -b --python script.py -- -s "test"

It works when running it in a new Rez shell but not when running the command directly with double dash.
Environment

Windows 10
Rez 2.111.2
Rez Python 3.7.7

To Reproduce
# test.py
import sys

if __name__ == "__main__":
    print(sys.argv)

Running the command:
$ rez env python -- python test.py -- -s "test"

Expected behavior
Should print the following:
['test.py', '--', '-s', 'test']

Actual behavior
Instead it strips out the arguments after the -- (double dashes):
['test.py']

Hi @johhnry, I think you can just do rez env python -- python test.py -s "test" and it'll work. When I test locally it works as expected:
[jcmorin@arch01 /tmp]$ rez-env python -- python test.py -s "asd"
['test.py', '-s', 'asd']

Or do you have a specific reason to need the second --?

Hi  @JeanChristopheMorinPerso,
The specific reason to use -- is passing arguments to a Blender python script like I described earlier:
$ rez env blender -- blender -b --python script.py -- -s "test"

Since if I pass them after the --python script.py, they will be parsed as Blender arguments. (Blender ignore all arguments after the -- so it's convenient to pass them here)

What platform / shell are you using? If i am not mistaken -- is a shell feature. Can you maybe escape it?

I know that we do control -- in Rez. Not sure if it works I cmd though, but I am under the impression it works in PowerShell...

@instinct-vfx
I am using Powershell in Windows Terminal but it also does the same behavior in cmd:
# In a Rez resolved shell (cmd)
$ blender -b --python test.py -- -s "test"
['blender', '-b', '--python', 'test.py', '--', '-s', 'test']

# In cmd
$ rez env blender -- blender -b --python test.py -- -s "test"
['blender', '-b', '--python', 'test.py']

@instinct-vfx
I am using Powershell in Windows Terminal but it also does the same behavior in cmd:
# In a Rez resolved shell (cmd)
$ blender -b --python test.py -- -s "test"
['blender', '-b', '--python', 'test.py', '--', '-s', 'test']

# In cmd
$ rez env blender -- blender -b --python test.py -- -s "test"
['blender', '-b', '--python', 'test.py']

I am using Powershell in Windows Terminal but it also does the same behavior in cmd:
# In a Rez resolved shell (cmd)
$ blender -b --python test.py -- -s "test"
['blender', '-b', '--python', 'test.py', '--', '-s', 'test']

# In cmd
$ rez env blender -- blender -b --python test.py -- -s "test"
['blender', '-b', '--python', 'test.py']

Yes, I expect the behavior to be the same. -- is handled by the program, not the OS.

I ran into this with nested rez env commands, for example
$ rez env python -- rez env python -- python3

..which I would expect to execute the python3 command, however it just runs the second rez env command without arguments(?)
As I understand, it should function the same as either of these two options:
$ rez env python
> $ rez env python
>> $ python 3

or
$ rez env python -c 'rez env python -c "python"'

I have run into the same issue and had posted about it on Slack, adding the link here for posterity.
https://academysoftwarefdn.slack.com/archives/C0321B828FM/p1694028568579839

Ran into this issue again today, using the Rez integration in Deadline.
I tried to submit a command line job which ran something like rez env example_pkg -- example
However, the included-by-default Rez event plugin for Deadline essentially does
rez env $packages_from_submission etc -- $user_command

So, with $user_command is the above example command, what will be executed is:
rez env $packages_from_submission etc -- rez env example_pkg -- example

which of course triggers this bug (resulting in the task executing an interactive shell and getting stuck forever)

Had a recent discussion over on Blender issues Blender issues which turned out to be this bug. In short, when trying to use the graphics cards to render via command line one must execute a command line similar to
blender.exe .\my.blend -x 1 --background -E CYCLES --render-anim --frame-start 1 --frame-end 2 -- --cycles-device OPTIX

What ends up executing when in a Rez context
blender.exe .\my.blend -x 1 --background -E CYCLES --render-anim --frame-start 1 --frame-end 2

That's not really a bug though, is it. -- is used to indicate the end of options. See also https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02

Guideline 10: The first -- argument that is not an option-argument should be accepted as a delimiter indicating the end of options. Any following arguments should be treated as operands, even if they begin with the '-' character.

Can you maybe escape it or use -c instead of --?
I guess this was done "by design" though it likely does not really propagate well to non-linux platforms.

There is a definite bug as rez just swallows them in certain situations. I
thought I had a PR for this but maybe I never put it through it's been a
while.
On Tue, Dec 24, 2024, 02:31 Thorsten Kaufmann @.***>
wrote:

That's not really a bug though, is it. -- is used to indicate the end of
options. See also
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02
Guideline 10: The first -- argument that is not an option-argument should
be accepted as a delimiter indicating the end of options. Any following
arguments should be treated as operands, even if they begin with the '-'
character.
Can you maybe escape it or use -c instead of --?
I guess this was done "by design" though it likely does not really
propagate well to non-linux platforms.
—
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/rez/issues/1462#issuecomment-2560962250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJAV5EIJN2NMNLLVRH6YM32HEZZXAVCNFSM6AAAAABUDIUOM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQHE3DEMRVGA
.
You are receiving this because you commented.Message ID:
@.***>


Error [ValidationError]: Unable to fetch parameters [/accelerator/network/vpc/Shared-Workloads/id] from parameter store for this account

Describe the bug
When we add new accounts through the accounts-config.yaml we experience an error in the Network_Associations step. Here we get the following error message.
❌ AWSAccelerator-NetworkAssociationsStack-885652720545-eu-west-1 failed: Error [ValidationError]: Unable to fetch parameters [/accelerator/network/vpc/Shared-Workloads/id] from parameter store for this account.
at Request.extractError (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/protocol/query.js:50:29)
at Request.callListeners (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/request.js:686:14)
at Request.transition (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/request.js:688:12)
at Request.callListeners (/codebuild/output/src437/src/s3/00/source/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'ValidationError',
time: 2023-06-16T13:13:00.585Z,
requestId: 'e9fc6af1-b7fc-41d7-aff7-452b9a07f99c',
statusCode: 400,
retryable: false,
retryDelay:<PHONE_NUMBER>361567
}
To Reproduce

Install LZA with control tower
Add new account to Workloads OU

Expected behavior
I would have expected the pipeline to execute without errors
Please complete the following information about the solution:

[ ] Version: [e.g. v1.4.1]

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version v5.0.0". If the description does not contain the version information, you can look at the mappings section of the template:
Mappings:
  SourceCode:
    General:
      S3Bucket: "solutions"
      KeyPrefix: "video-on-demand-on-aws/v5.0.0"

[ ] Region: [eu-west-1]
[ ] Was the solution modified from the version published on this repository? No
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[ ] Have you checked your service quotas for the sevices this solution uses? Yes
[ ] Were there any errors in the CloudWatch Logs? Unaware

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
We have tried to follow the advise from the issue https://github.com/awslabs/landing-zone-accelerator-on-aws/issues/177 but when we log in to the workloads account as root, we can not modify parameters in Parameter Store.
We get stopped by a service control policy and get the error that we do not have access to ssm:DescribeParameters

Hi @FlemmingBehrend , thank you for your patience on this issue. This behavior was fixed in our latest release v1.4.2, please update your LZA deployment to version 1.4.2 in order to resolve the behavior. I'll be closing this issue now that the fix has been released, thank you again for bringing this to our attention.


storage: refine DeltaMergeStore

What problem does this PR solve?
Issue Number: ref #6233
Problem Summary:
What is changed and how it works?
storage: refine DeltaMergeStore

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/retest


Azure Web Apps Deploy action doesn't ask for content read permission

Hi,
when setting up a brand new .net 8 deployment straight from the Azure portal, I encountered the following error at the "Checkout GitHub Action" step:
Fetching the repository
  "C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +[REDACTED]:refs/remotes/origin/main
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/lucasbfr/[REDACTED]' not found
  The process 'C:\Program Files\Git\bin\git.exe' failed with exit code 128

This is caused by a missing permission. The ones created by Azure are
    permissions:       id-token: write #This is required for requesting the JWT
However,
      contents: read #attempt to read the private repo
is required to be able to read a (I guess non public) repository.
The previous version of this script worked, probably because it was not setting any permission and contents: read is the default overridden by the new version.

Also created at https://github.com/actions/starter-workflows/issues/2467 (which is probably a better place?). You can probably close this if that's the case


WIP master <- develop

Merge the develop branch into the master branch and deploy

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/187c4858-4ca8-4d5a-87cc-0a834a69a84e/artifacts/0/index.html

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/40d4777b-5b64-42fb-9f12-64c1520baef2/artifacts/0/index.html

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/ca01adc3-49b2-45c9-bf3b-a9bb141f09c8/artifacts/0/index.html

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/1236b215-2ef7-4689-9b1c-27dc548dd086/artifacts/0/index.html

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/4ed9ad2e-0261-4fb8-b39a-94bfe345b767/artifacts/0/index.html


fix: Add simple corrections to the WSL2 article

Description
I noticed two small issues with the article about WSL2. Here is the fix for them.
Related

https://github.com/espressif/developer-portal/pull/149

@jakub-kocka @pedrominatel PTAL

Thanks @dobairoland, LGTM.
After @jakub-kocka approval, I'll proceed with the merge.

Thanks, @dobairoland. LGTM!
You can freely proceed @pedrominatel.


Predicate leaper [WIP]

This PR introduces treefrog::filters::{PrefixFilter, ValueFilter}, each of which implement Leaper. The first is constructed from a fn(&Tuple) -> bool and the second from a fn(&Tuple, &Val) -> bool. Each of them do the very simple action you would expect, the first one ruling out extensions based on prefix  and the second filtering values down using the predicate.

Seems like a handi concept, though I'm not sure that I have a use for it yet =)

I just remembered that measuring wallclock is for suckers. Here is the perf stat data for the clap-rs run.
Before this branch
 Performance counter stats for 'cargo +nightly run -q --release -- -a DatafrogOpt inputs/clap-rs/app-parser-{{impl}}-add_defaults/':

          4,025.17 msec task-clock:u              #    1.000 CPUs utilized
                 0      context-switches:u        #    0.000 K/sec
                 0      cpu-migrations:u          #    0.000 K/sec
            59,305      page-faults:u             # 14734.161 M/sec
    15,758,451,927      cycles:u                  # 3915143.336 GHz
    23,096,903,211      instructions:u            #    1.47  insn per cycle
     5,605,560,844      branches:u                #<PHONE_NUMBER>.975 M/sec
       183,745,828      branch-misses:u           #    3.28% of all branches

       4.025395892 seconds time elapsed

       3.921707000 seconds user
       0.091707000 seconds sys

After this branch
Trial 3
--------------------------------------------------
Directory: inputs/clap-rs/app-parser-{{impl}}-add_defaults/
Time: 3.089s

 Performance counter stats for 'cargo +nightly run -q --release -- -a DatafrogOpt inputs/clap-rs/app-parser-{{impl}}-add_defaults/':

          3,457.01 msec task-clock:u              #    1.000 CPUs utilized
                 0      context-switches:u        #    0.000 K/sec
                 0      cpu-migrations:u          #    0.000 K/sec
            67,908      page-faults:u             # 19643.622 M/sec
    14,628,191,302      cycles:u                  # 4231469.859 GHz
    23,038,912,035      instructions:u            #    1.57  insn per cycle
     5,589,209,698      branches:u                #<PHONE_NUMBER>.114 M/sec
       184,352,921      branch-misses:u           #    3.30% of all branches

       3.456541405 seconds time elapsed

       3.328974000 seconds user
       0.117606000 seconds sys


Feat(web): add Home page

The sonarcloud alert was on a generated file which is now ignored, but the scanner has not run again.


Is logged duration (very) inaccurate?

I've been using this module for a while. Thanks for the work on it!
However, based on my logging, I have a concern that the duration reported is quite inaccurate. For example, sometimes I see output such as:
{"date":"2020-07-17T20:40:57.000Z","duration":24.854344,"type":"MarkSweepCompact","forced":true,"flags":64}

However, my own measurement of the previous tick suggests it took something like 150ms rather than 25ms (I am taking into account other stuff going on in the tick, so that's not the issue here). I a difference like this pretty consistently.
Is it possible the duration reported is wrong somehow?
If it's relevant, I'm running Node v12.18.2.
Thanks!

I really haven't used Node.js for anything substantial in many years, so I have no idea about the state of this code, and unfortunately I don't really have the time or desire to look into it. @orgads did some maintenance as recently as a year ago, but I don't know if they're still active either. If someone more actively involved with Node wants to be a maintainer, I'm happy to let them take over.


support for windows key

Will there be any support for the windows key?

From what I can see, "command" as a modifier simulates the window key on windows. I'll will have to get back on this.

That is correct! If this isn't working, please reopen this issue.


how to set textcolor of item ?

Hi, I have added two delegate methods.

Hi, I have added two delegate methods in latest version. As below:

(UIColor *)colorOfSlideItemsTitle:(HHSlideView *)slideView;
(UIColor *)colorOfHighlightedSlideItemsTitle:(HHSlideView *)slideView;

These methods can solve the problem.
Thanks for advice! ~

nice man !! what about the swipe gesture ?
On Wed, Apr 5, 2017 at 9:41 AM, Herbert77<EMAIL_ADDRESS>wrote:

Hi, I have added two delegate methods in latest version. As below:

(UIColor *)colorOfSlideItemsTitle:(HHSlideView *)slideView;
(UIColor *)colorOfHighlightedSlideItemsTitle:(HHSlideView
*)slideView;

These methods can solve the problem.
Thanks for advice! ~
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Herbert77/HHSlideView/issues/2#issuecomment-291726202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXYuTZQeGIztjCW7lGugCVt53YpRGcqzks5rsv9hgaJpZM4MyYQG
.

You can swipe the contentView to change slideItems.  ；）

Well ok thanks man
On Thursday, April 6, 2017, Herbert77<EMAIL_ADDRESS>wrote:

You can swipe the contentView to change slideItems. ；）
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Herbert77/HHSlideView/issues/2#issuecomment-292116806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXYuTfGOcjNdDqRxkKMyy0LUhCgJL722ks5rtK4PgaJpZM4MyYQG
.

You are welcome.  O(∩_∩)O~~


Bugfix: Form Serialization Crash

Fixes an issue where when our caching optimization fails and it crashes the app
http://manage.dimagi.com/default.asp?161629#898010

@ctsims yeah, that makes sense. Thanks for the clarification!


unable to start after shutdown

Hi Anton,
Can you help me debug this startup issue? I stopped traccar and mysql to reboot system. Now I'm unable to start traccar. Below is the log from wrapper file. It looks to be a database issue, any suggestions on how to fix this so traccar can start?
WARNING|wrapper|Service traccar|17-11-07 12:43:04|YAJSW: yajsw-stable-12.09
...
FINEST|1132/0|Service traccar|17-11-07 12:43:09|	at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
FINEST|1132/0|Service traccar|17-11-07 12:43:09|	at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
FINEST|1132/0|Service traccar|17-11-07 12:43:09|	at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
INFO|wrapper|Service traccar|17-11-07 12:43:10|waitpid 1132 59136
INFO|wrapper|Service traccar|17-11-07 12:43:10|exit code posix process: 59136 application: 0

Have you tried searching for an answer?
https://www.traccar.org/forums/topic/how-to-fix-a-cycle-in-groups/

Thanks Anton...I'll do my due diligence with the search next time.
Regards,


changed cov_starts to cov_ends

as discussed by email, I did a run of coolpuppy with some trace in the location I changed the code and it seemed to work fine. But disclaimer: more testing is needed probably by someone who knows the code better than me ofcourse.

Thank you Martin!


Internal error: instance member did not have expected internal form

type MyType =
    | En
    | It
    | Fr
    override this.ToString() = toString this
    static member fromString s = fromString<MyType> s

produce errors:
internal error: e.data[i] is null (Failure)
internal error: GetInstanceMemberThisVariable: instance member did not have expected internal form (Failure)

link
F# compiler, Fable on desktop, and interestingly also try.fsharp.org is behaving as expected: link

Hi @jindraivanek! Thanks for the report. The error is indeed weird but could you please put the whole compilable code (with the missing toString and fromString methods)? Right now is difficult to isolate the problem because when I comment one of the two last lines I get other errors.

Hi @alfonsogarciacaro! I did some more digging, and I minimized repro to:
type T() =
  member __.M = foo

T can be also union or record.

by defining foo (making code compilable) error disappear
if part of bigger file, all code from start of type is highlighted as error link

And now really strange thing: if I changed foo to x it works, moreover pattern what names make it bomb is quite unclear
produce internal error:

foo
strange
toString
aoo
boo
coo
loo
noo
ooo (but oo and oooo works!)
poo
soo
aaa
nnn
rrr

not produce internal error:

x
xxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
realllylongnamerealllylongnamerealllylongnamerealllylongname
fo
any [a-z]oo not mentioned above
any triple of same char not mentioned above

WAT? 😲
Only pattern that seems to hold is that any 1 or 2 character name works.
Now I am really curious what could produce this strange behavior. :)

Hmm, interesting. Thanks a lot for investigating the issue @jindraivanek! Now I'm curious to know what causes this behavior too :wink: @ncave Does this ring any bell?

Wow, it's incredible that you could pinpoint such a weird issue so quickly @ncave! Thanks to your detailed information I could easily add a fix to Fable (hopefully that's the right one). I'll publish a new version of the REPL to see if it's solved. Thank you!

@alfonsogarciacaro Without testing your solution (which I'm sure works for KeyValuePair), is it possible to make it apply to all struct (Value types) (not just KeyValuePair)? Cause they all have the same issue.

I need to check. I guess we could call the constructor without arguments but I'm not sure if the fields would be initialized properly (for example, int fields to 0).
I'll move this issue to Fable repo so I don't forget :+1:

Thanks @ncave for great explanation!

The issue is fixed now in the REPL (please remember to clear the browser cache if you still see it). Than you both!


New feature to run external processes in package context

A new field "InPackageContext" is introduced to run spanned process by the external in the current package context. When set to true, all the processes in the process tree spanned by the executable will run in the same package context.

Awesome job.  I remember this was an issue when I was in India.  Great job figuring out a solution.

See if can improve the readability of code and document?
A:  Review comments are incorporated to increase code and document readability. Also, I have added an example as suggested by you in readme to illustrate this feature.
Also are not sending the attribute list in createProcess detour? to pass the same behavior to all the difference create Process call from other processes?
A: No, we are including prevent break away attribute when launching psfLauncher which then applies to every process in the process tree.


An API to check if the application is using apple accelerate or not

I think there should be some kind of documentation on accelerate usage and some API code to check whether the compiled executable is using accelerate or not.
I have been able to enable and compile it on my M1-Max, but my colleagues are having trouble while running on M2-Ultra with 192 GB RAM. Only benchmarks cannot be the way to verify if the application is running on accelerate or not.
Is it possible ?

Actually there is already an api for this: candle_core::utils::has_accelerate().

Thanks Laurent.